Tests not started in idea 12.1.1

Hi!
I'm runnig tests  using regexp filter and always some of them are not started.
For example in staus line I can see: 586 passed 160 not started.
Not started tests number are always different.
I'm using Linux OS and idea 12.1.1, such promblem reproduces on previous version of idea.

8 comments

Hello,

Could you provide a sample project and regexp?

Denis

0

Hi
regexp is like this: ru.my.company.*(?<!Local)Test
I can't reproduce problem on a sample project or on a smaller number of tests.
It looks like a problem with memory, but increasing Xmx for test running didn't help me.

0

Why do you think it's related to a memory problem?

Could you provide your idea.log (main menu | help | show log) when the problem occurs next time?

Denis

0

It is just guess. Such behaviour often related with memory probmlems.

log of two failed launches

2013-04-24 18:20:23,581 [18107148]   INFO - ij.compiler.impl.CompileDriver - COMPILATION STARTED (BUILD PROCESS)
2013-04-24 18:20:23,834 [18107401]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: /home/vbatygin/work/programs/idea-IU-129.239/lib/jna.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/oromatcher.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/asm4-all.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/jna-utils.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/nanoxml-2.2.3.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/jdom.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/jgoodies-forms.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/netty-3.6.2.Final.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/openapi.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/resources_en.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/log4j.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/protobuf-2.4.1.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/idea.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/ecj-4.2.1.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/picocontainer.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/annotations.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/util.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/trove4j.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/optimizedFileManager.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/idea_rt.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/javac2.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/jps-server.jar:/home/vbatygin/java7/jdk1.7.0_05/lib/tools.jar::/home/vbatygin/work/programs/idea-IU-129.239/plugins/ant/lib/ant-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/devkit/lib/jps/devkit-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/JavaEE/lib/jps/javaee-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/JavaEE/lib/jps/jpa-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/weblogicIntegration/lib/jps/weblogic-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/uiDesigner/lib/jps/ui-designer-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/IntelliLang/lib/intellilang-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/Groovy/lib/groovy-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/eclipse/lib/eclipse-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/eclipse/lib/common-eclipse-util.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/maven/lib/maven-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/maven/lib/maven3/plexus-utils-2.0.6.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/aspectj/lib/aspectj-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/flex/lib/flex-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/flex/lib/flex-shared.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/GWTStudio/lib/gwt-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/GoogleAppEngine/lib/google-app-engine-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/GoogleAppEngine/lib/appEngine-runtime.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/Grails/lib/grails-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/Grails/lib/grails-compiler-patch.jar:/home/vbatygin/.IntelliJIdea12/config/plugins/Scala/lib/scala-library.jar:/home/vbatygin/.IntelliJIdea12/config/plugins/Scala/lib/jps/nailgun.jar:/home/vbatygin/.IntelliJIdea12/config/plugins/Scala/lib/jps/scala-jps-plugin.jar:/home/vbatygin/.IntelliJIdea12/config/plugins/Scala/lib/jps/sbt-interface.jar:/home/vbatygin/.IntelliJIdea12/config/plugins/Scala/lib/jps/incremental-compiler.jar:/home/vbatygin/.IntelliJIdea12/config/plugins/Scala/lib/jps/jline.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/android/lib/jps/android-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/android/lib/android-common.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/android/lib/android-rt.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/android/lib/sdklib.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/android/lib/common.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/android/lib/jarutils.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/android/lib/androidprefs.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/android/lib/layoutlib_api.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/javaFX/lib/javaFX-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/javaFX/lib/common-javaFX-plugin.jar
2013-04-24 18:20:25,797 [18109364]   INFO - lij.compiler.impl.CompilerUtil -    COMPILATION FINISHED (BUILD PROCESS); Errors: 0; warnings: 0 took 2206 ms: 0 min 2sec
2013-04-24 18:21:48,992 [18192559]   INFO - ij.compiler.impl.CompileDriver - COMPILATION STARTED (BUILD PROCESS)
2013-04-24 18:21:49,321 [18192888]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: /home/vbatygin/work/programs/idea-IU-129.239/lib/jna.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/oromatcher.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/asm4-all.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/jna-utils.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/nanoxml-2.2.3.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/jdom.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/jgoodies-forms.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/netty-3.6.2.Final.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/openapi.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/resources_en.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/log4j.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/protobuf-2.4.1.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/idea.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/ecj-4.2.1.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/picocontainer.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/annotations.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/util.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/trove4j.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/optimizedFileManager.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/idea_rt.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/javac2.jar:/home/vbatygin/work/programs/idea-IU-129.239/lib/jps-server.jar:/home/vbatygin/java7/jdk1.7.0_05/lib/tools.jar::/home/vbatygin/work/programs/idea-IU-129.239/plugins/ant/lib/ant-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/devkit/lib/jps/devkit-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/JavaEE/lib/jps/javaee-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/JavaEE/lib/jps/jpa-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/weblogicIntegration/lib/jps/weblogic-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/uiDesigner/lib/jps/ui-designer-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/IntelliLang/lib/intellilang-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/Groovy/lib/groovy-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/eclipse/lib/eclipse-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/eclipse/lib/common-eclipse-util.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/maven/lib/maven-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/maven/lib/maven3/plexus-utils-2.0.6.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/aspectj/lib/aspectj-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/flex/lib/flex-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/flex/lib/flex-shared.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/GWTStudio/lib/gwt-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/GoogleAppEngine/lib/google-app-engine-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/GoogleAppEngine/lib/appEngine-runtime.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/Grails/lib/grails-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/Grails/lib/grails-compiler-patch.jar:/home/vbatygin/.IntelliJIdea12/config/plugins/Scala/lib/scala-library.jar:/home/vbatygin/.IntelliJIdea12/config/plugins/Scala/lib/jps/nailgun.jar:/home/vbatygin/.IntelliJIdea12/config/plugins/Scala/lib/jps/scala-jps-plugin.jar:/home/vbatygin/.IntelliJIdea12/config/plugins/Scala/lib/jps/sbt-interface.jar:/home/vbatygin/.IntelliJIdea12/config/plugins/Scala/lib/jps/incremental-compiler.jar:/home/vbatygin/.IntelliJIdea12/config/plugins/Scala/lib/jps/jline.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/android/lib/jps/android-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/android/lib/android-common.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/android/lib/android-rt.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/android/lib/sdklib.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/android/lib/common.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/android/lib/jarutils.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/android/lib/androidprefs.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/android/lib/layoutlib_api.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/javaFX/lib/javaFX-jps-plugin.jar:/home/vbatygin/work/programs/idea-IU-129.239/plugins/javaFX/lib/common-javaFX-plugin.jar
2013-04-24 18:21:51,185 [18194752]   INFO - lij.compiler.impl.CompilerUtil -    COMPILATION FINISHED (BUILD PROCESS); Errors: 0; warnings: 0 took 2129 ms: 0 min 2sec

Thanks,
Vladimir

Re: Tests not started in idea 12.1.1

0

That snippet just shows that compilation was started and then successfully finished. Could you submit the complete idea.log?

Another question - do you observe the problem if scala plugin is disabled?

Denis

0

I disabled scala plugin and restarted idea. The problem reproduced.
here is my full idea.log
https://gist.github.com/anonymous/73b2101bb80d3be460a6

0

Hi,

is it junit or testng tests? In case of junit what runner is used. If it is testng - do you use e.g. Parameterized tests, Factories? I suspect that it could be a syncronization issue, I've fixed one with junit tests but the fix should be already be available in 12.1.1. BTW do you have yellow nodes in tree view or all tests are marked as passed/failed? Thanks

0

Hi Anna.
It is junit tests. I'am using default runner. There are junit3 and junit4 tests.
I see yellow circles in the tree near not started tests.
I tried a debug configuration to run test and all tests passed but in run configuration they still freeze.

0

Please sign in to leave a comment.