Status Update
Comments
ga...@gmail.com <ga...@gmail.com> #2
wo...@gmail.com <wo...@gmail.com> #3
[Deleted User] <[Deleted User]> #4
Android Studio 3.6 RC 1
Build #AI-192.7142.36.36.6071332, built on December 13, 2019
Runtime version: 1.8.0_212-release-1586-b4-5784211 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.15.2
GC: ParNew, ConcurrentMarkSweep
Memory: 1237M
Cores: 16
Registry: ide.new.welcome.screen.force=true, ide.tooltip.initialDelay=600
Non-Bundled Plugins: IdeaVIM, org.jetbrains.kotlin, com.squareup.sqldelight
vi...@google.com <vi...@google.com>
ar...@google.com <ar...@google.com> #5
Any additional info any of you have to help us repro this would be useful. Such as:
- Is this happening to Java as well as Kotlin tests?
- How did you start the test run exactly? Through clicking the run button at the top bar, or the run button in the gutter next to the test class/method name, or through context menu in the project view?
- Please attach idea.log of when this reproes for you.
Thanks!
ga...@gmail.com <ga...@gmail.com> #6
2) I changed the expected value for the first assert in testSubscribeNotCalledForNoop from 1 to 2
3) I reran the tests with control + r. Tests passed
4) I reran them again and they correctly failed (because I changed the assert)
I also ran YourKit. Out of the last 2 runs, the 2nd to last ran with out of date sources and incorrectly passed. The last run incorrectly failed.
ar...@google.com <ar...@google.com> #7
ga...@gmail.com <ga...@gmail.com> #8
ar...@google.com <ar...@google.com> #9
This seems to be an issue where the Gradle plugin does not see up to date sources, maybe due to VFS freshness. Jerome, anyone in Build team can help take a look?
je...@google.com <je...@google.com>
ga...@google.com <ga...@google.com> #10
"> Task :mvrx:compileDebugUnitTestSources UP-TO-DATE"
This means that the file state did not change on disk (AGP&Gradle do not use Intellij VFS).
ga...@google.com <ga...@google.com> #11
Raluca, should we always invoke "myDocumentManager.saveAllDocuments()"?
ra...@google.com <ra...@google.com> #12
I think so, yes. It used to be the case, before Change I3b29b1a3bfc. And also, looking at IntelliJ's own handling of Gradle-based projects (ExternalSystemUtil), their incantation before calling Gradle is:
TransactionGuard.getInstance().assertWriteSafeContext(ModalityState.defaultModalityState());
ApplicationManager.getApplication().invokeAndWait(FileDocumentManager.getInstance()::saveAllDocuments);
ga...@google.com <ga...@google.com> #13
sm...@google.com <sm...@google.com>
ga...@gmail.com <ga...@gmail.com> #14
sm...@google.com <sm...@google.com> #15
sa...@google.com <sa...@google.com> #16
ga...@gmail.com <ga...@gmail.com> #17
gr...@gmail.com <gr...@gmail.com> #18
sm...@google.com <sm...@google.com> #19
ms...@vivino.com <ms...@vivino.com> #20
je...@google.com <je...@google.com> #21
#20, can you provide more details with steps and a reproducable test project maybe ?
vi...@gmail.com <vi...@gmail.com> #22
wi...@gmail.com <wi...@gmail.com> #23
Android Studio Chipmunk | 2021.2.1 Patch 1
Build #AI-212.5712.43.2112.8609683, built on May 19, 2022
Runtime version: 11.0.12+0-b1504.28-7817840 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.5
GC: G1 Young Generation, G1 Old Generation
Memory: 2560M
Cores: 8
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: org.jetbrains.kotlin (212-1.7.10-release-333-AS5457.46)
mr...@gmail.com <mr...@gmail.com> #24
I am with you.
Build: AI-212.5712.43.2112.8609683, 202205181650,
AI-212.5712.43.2112.8609683, JRE 11.0.12+0-b1504.28-7817840x64 JetBrains s.r.o., OS Linux(amd64) v5.15.0-46-generic, screens 2560.0x1440.0
AS: Chipmunk | 2021.2.1 Patch 1; Kotlin plugin: 212-1.7.10-release-333-AS5457.46; Android Gradle Plugin: 7.2.1; Gradle: 7.3.3; Gradle JDK: version 11.0.12; NDK: from local.properties: (not specified), latest from SDK: (not found); LLDB: pinned revision 3.1 not found, latest from SDK: (package not found); CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: (not found)Source: send_feedback_icon
sm...@google.com <sm...@google.com>
ga...@google.com <ga...@google.com> #25
Thank you all for recent reports. The root cause of this particular issue is fixed, to reporters in #20, #22, #23, #24, can you please file a new bug with idea.log, repro steps, or any other useful information that will help us debug this?
vv...@gmail.com <vv...@gmail.com> #26
Android Studio Chipmunk | 2021.2.1 Patch 1
Build #AI-212.5712.43.2112.8609683, built on May 18, 2022
Runtime version: 11.0.12+0-b1504.28-7817840 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.4
GC: G1 Young Generation, G1 Old Generation
Memory: 6144M
Cores: 12
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: com.robohorse.robopojogenerator (2.3.5), org.jetbrains.kotlin (212-1.7.0-release-281-AS5457.46)
pe...@gmail.com <pe...@gmail.com> #27
Cleaning project. Run "Run TestCase with Coverage..." -> Project out of date. Hide coverage or recompile only options to choose between.
Android Studio Chipmunk | 2021.2.1 Patch 2
Build #AI-212.5712.43.2112.8815526, built on July 10, 2022
Runtime version: 11.0.12+0-b1504.28-7817840 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.5.1
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 10
Registry: external.system.auto.import.disabled=true, ide.instant.shutdown=false
ga...@google.com <ga...@google.com> #28
Re #27: You are probably hitting
Description
It also appears as if it is happening to other people as well
I am on 4.0 Canary 8 but others seem to have the issue on Canary 9 as well as 3.6rc1.
If it helps I was encountering this running MvRx tests