This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Is it possible to get more information about not finished tests? My tests randomly failed by message: [printSummary] TestBag 'Monitor tests' in module profiler/libs/jfluid has encountered an unexpected failure : Some suites did not finish correctly: [printSummary] Report URL: file:/space/test4u2/testrun/results/index.html but there is not any exception, error log or anything. Status of the test is unknown.
Look at 'Logs from build scripts'. Your test probably killed VM, called System.exit() or something like that. I think it is impossible to detect and report such behaviour.
The log contains only messages of the test without teardown log: ... [jvmTestRunner] STATUS: set status FINISHED jvm_execution: report: [getResultsDirs] Getting fresh testrun and testbag directories ... But there is not messgaes about finish of test or jvm: ... [jvmTestRunner] - test suite com.sun.tools.profiler.tests.jfluid.memory.BasicTest passed: 9 test(s) [jvmTestRunner] - time elapsed: 97.549 seconds [jvmTestRunner] VM finished ... The test does not call System.exit nor other kill command. It only start other JVM which call System.exit but other tests in the suite do the same. Is it possible to use Runtime.addShutdownHook in tests executors to inform about exiting tests?
Maybe we can use Runtime.addShutdownHook somehow.
verified