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.
testFileExistsButItCannotBeRead: junit.framework.AssertionFailedError: Failed as No result produced with text: state: 10 thread: Thread[Default RequestProcessor,1,system] blocked state: 5 thread: Thread[Default RequestProcessor,1,system] not blocked state: 83 thread: Thread[Default RequestProcessor,1,system] not blocked state: 85 thread: Thread[Default RequestProcessor,1,system] blocked state: 5 thread: Thread[Default RequestProcessor,1,system] not blocked state: 83 thread: Thread[Default RequestProcessor,1,system] not blocked state: 85 thread: Thread[Default RequestProcessor,1,system] blocked state: 5 thread: Thread[Default RequestProcessor,1,system] not blocked state: 83 thread: Thread[Default RequestProcessor,1,system] not blocked state: 85 thread: Thread[Default RequestProcessor,1,system] blocked state: 5 thread: Thread[Default RequestProcessor,1,system] not blocked state: 83 thread: Thread[Default RequestProcessor,1,system] not blocked state: 85 thread: Thread[Default RequestProcessor,1,system] blocked state: 20 thread: Thread[Default RequestProcessor,1,system] not blocked state: 0 thread: Thread[Default RequestProcessor,1,system] not blocked state: 5 thread: Thread[Default RequestProcessor,1,system] not blocked state: 28 thread: Thread[Default RequestProcessor,1,system] not blocked state: 65 thread: Thread[CLI Requests Server,1,system] not blocked state: 30 thread: Thread[Default RequestProcessor,1,system] not blocked state: 32 thread: Thread[Default RequestProcessor,1,system] not blocked state: 65 thread: Thread[CLI Requests Server,1,system] not blocked state: 33 thread: Thread[Default RequestProcessor,1,system] not blocked state: 83 thread: Thread[Default RequestProcessor,1,system] not blocked state: 70 thread: Thread[CLI Handler Thread Handler: 1,1,system] not blocked state: 90 thread: Thread[CLI Handler Thread Handler: 1,1,system] not blocked state: 93 thread: Thread[CLI Handler Thread Handler: 1,1,system] not blocked state: 85 thread: Thread[Default RequestProcessor,1,system] blocked at junit.framework.Assert.fail(Assert.java:47) at org.netbeans.CLIHandlerTest$InitializeRunner.resultFile(CLIHandlerTest.java:637) at org.netbeans.CLIHandlerTest.testFileExistsButItCannotBeRead(CLIHandlerTest.java:99) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:154) at org.netbeans.CLIHandlerTest.runTest(CLIHandlerTest.java:68) at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:135) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at org.netbeans.junit.NbTestCase.run(NbTestCase.java:122) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:167) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:118) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:41)
Created attachment 24108 [details] Diff between successful and unsuccessful run
Created attachment 24109 [details] The diff of successful and failed run with -U50
I improved the log: CLIHandlerTest.java new revision: 1.15 However the problem is that there was an access to "state 33" which means that there was an SocketException, I am not sure why and what exception it was, but maybe the machine was misconfigured, so let's wait for another failure.
new failure even with better log testFileExistsButItCannotBeRead: junit.framework.AssertionFailedError: Failed as No result produced with text: state: 10 thread: Thread[InitializeRunner blocks on 10,1,system] blocked state: 5 thread: Thread[InitializeRunner blocks on 85,1,system] not blocked state: 83 thread: Thread[InitializeRunner blocks on 85,1,system] not blocked state: 85 thread: Thread[InitializeRunner blocks on 85,1,system] blocked state: 5 thread: Thread[InitializeRunner blocks on 85,1,system] not blocked state: 83 thread: Thread[InitializeRunner blocks on 85,1,system] not blocked state: 85 thread: Thread[InitializeRunner blocks on 85,1,system] blocked state: 5 thread: Thread[InitializeRunner blocks on 85,1,system] not blocked state: 83 thread: Thread[InitializeRunner blocks on 85,1,system] not blocked state: 85 thread: Thread[InitializeRunner blocks on 85,1,system] blocked state: 5 thread: Thread[InitializeRunner blocks on 85,1,system] not blocked state: 83 thread: Thread[InitializeRunner blocks on 85,1,system] not blocked state: 85 thread: Thread[InitializeRunner blocks on 85,1,system] blocked state: 20 thread: Thread[InitializeRunner blocks on 10,1,system] not blocked state: 0 thread: Thread[InitializeRunner blocks on 10,1,system] not blocked state: 65 thread: Thread[CLI Requests Server,1,system] not blocked state: 5 thread: Thread[InitializeRunner blocks on 85,1,system] not blocked state: 28 thread: Thread[InitializeRunner blocks on 85,1,system] not blocked state: 30 thread: Thread[InitializeRunner blocks on 85,1,system] not blocked state: 32 thread: Thread[InitializeRunner blocks on 85,1,system] not blocked state: 65 thread: Thread[CLI Requests Server,1,system] not blocked state: 33 thread: Thread[InitializeRunner blocks on 85,1,system] not blocked state: 83 thread: Thread[InitializeRunner blocks on 85,1,system] not blocked state: 70 thread: Thread[CLI Handler Thread Handler: 1,1,system] not blocked state: 90 thread: Thread[CLI Handler Thread Handler: 1,1,system] not blocked state: 93 thread: Thread[CLI Handler Thread Handler: 1,1,system] not blocked state: 85 thread: Thread[InitializeRunner blocks on 85,1,system] blocked
#62678: Fixing the test, currently the port number has been modified and not the key for connecting. However I am not sure if this helps to stop the failures, as the failure probably occured sooner than the port started to be stored in the file. Members: CLIHandlerTest.java:1.1->1.2
Marking this issue as VERIFIED since the issue reporter == issue owner.