java.lang.Exception

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • test OnExitTest.test2(): failure java.lang.AssertionError: spawned process should have been in children expected [true] but found [false] at org.testng.Assert.fail(Assert.java:94) at org.testng.Assert.failNotEquals(Assert.java:494) at org.testng.Assert.assertTrue(Assert.java:42) at OnExitTest.lambda$test2$4(OnExitTest.java:152) at java.util.concurrent.ConcurrentHashMap.forEach(ConcurrentHashMap.java:1609) at OnExitTest.test2(OnExitTest.java:151) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:520) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84) at org.testng.internal.Invoker.invokeMethod(Invoker.java:714) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111) at org.testng.TestRunner.privateRun(TestRunner.java:767) at org.testng.TestRunner.run(TestRunner.java:617) at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) at org.testng.SuiteRunner.run(SuiteRunner.java:240) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) at org.testng.TestNG.run(TestNG.java:1057) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:220) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:184) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:520) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(Thread.java:804) =============================================== java/lang/ProcessHandle/OnExitTest.java Total tests run: 2, Failures: 1, Skips: 0 =============================================== ----------System.err:(19/1010)---------- Error occurred during initialization of VM java.lang.NoClassDefFoundError: java/lang/System$2 at java.lang.System.setJavaLangAccess(System.java:1872) at java.lang.System.initializeSystemClass(System.java:1861) java.lang.Exception: failures: 1 at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:223) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:184) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:520) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(Thread.java:804) JavaTest Message: Test threw exception: java.lang.Exception: failures: 1 JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.Exception: failures: 1
    via by Harsha Wardhana B,
  • jdk/jshell/T8146368/JShellToolTest8146368.java Observed this test failed once at solaris-x64: #section:testng ----------messages:(3/179)---------- command: testng -Duser.language=ja JShellToolTest8146368 reason: User specified action: run testng/othervm -Duser.language=ja JShellToolTest8146368 elapsed time (seconds): 4.195 ----------System.out:(51/3045)---------- [TestNG] Running: jdk/jshell/T8146368/JShellToolTest8146368.java config ReplToolTesting.setUp(): success test JShellToolTest8146368.test(): failure java.lang.AssertionError: Expected empty error output, got: ERROR: transport error 202: send failed: Broken pipe expected [true] but found [false] at org.testng.Assert.fail(Assert.java:94) at org.testng.Assert.failNotEquals(Assert.java:494) at org.testng.Assert.assertTrue(Assert.java:42) at ReplToolTesting.testRaw(ReplToolTesting.java:267) at ReplToolTesting.test(ReplToolTesting.java:210) at ReplToolTesting.test(ReplToolTesting.java:198) at ReplToolTesting.test(ReplToolTesting.java:194) at ReplToolTesting.test(ReplToolTesting.java:190) at JShellToolTest8146368.test(JShellToolTest8146368.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84) at org.testng.internal.Invoker.invokeMethod(Invoker.java:714) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111) at org.testng.TestRunner.privateRun(TestRunner.java:767) at org.testng.TestRunner.run(TestRunner.java:617) at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) at org.testng.SuiteRunner.run(SuiteRunner.java:240) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) at org.testng.TestNG.run(TestNG.java:1057) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:220) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:184) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-ea/Thread.java:804) =============================================== jdk/jshell/T8146368/JShellToolTest8146368.java Total tests run: 1, Failures: 1, Skips: 0 =============================================== ----------System.err:(14/872)---------- java.lang.Exception: failures: 1 at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:223) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:184) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-ea/Thread.java:804) JavaTest Message: Test threw exception: java.lang.Exception: failures: 1 JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.Exception: failures: 1
    via by Amy Lu,
  • This has been observed on different platforms for times. java/net/httpclient/http2/ErrorTest.java is a new test introduced by fix of JDK-8157105. But it looks probably the hang issue was not fully resolved. The test still failed with timeout when handshake error happens ----------System.out:(36/2519)---------- [TestNG] Running: java/net/httpclient/http2/ErrorTest.java test ErrorTest.test(): failure org.testng.internal.thread.ThreadTimeoutException: Method org.testng.internal.TestNGMethod.test() didn't finish within the time-out 5000 at jdk.internal.misc.Unsafe.park(java.base@9-ea/Native Method) at java.util.concurrent.locks.LockSupport.park(java.base@9-ea/LockSupport.java:190) at java.util.concurrent.CompletableFuture$Signaller.block(java.base@9-ea/CompletableFuture.java:1747) at java.util.concurrent.ForkJoinPool.managedBlock(java.base@9-ea/ForkJoinPool.java:3443) at java.util.concurrent.CompletableFuture.waitingGet(java.base@9-ea/CompletableFuture.java:1776) at java.util.concurrent.CompletableFuture.join(java.base@9-ea/CompletableFuture.java:1986) at java.net.http.Stream.getResponse(java.httpclient@9-ea/Stream.java:420) at java.net.http.Exchange.responseImpl0(java.httpclient@9-ea/Exchange.java:147) at java.net.http.Exchange.responseImpl(java.httpclient@9-ea/Exchange.java:127) at java.net.http.Exchange.response(java.httpclient@9-ea/Exchange.java:84) at java.net.http.MultiExchange.response(java.httpclient@9-ea/MultiExchange.java:98) at java.net.http.HttpRequestImpl.response(java.httpclient@9-ea/HttpRequestImpl.java:212) at ErrorTest.test(ErrorTest.java:114) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84) at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:46) at org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:37) at java.util.concurrent.Executors$RunnableAdapter.call(java.base@9-ea/Executors.java:514) at java.util.concurrent.FutureTask.run(java.base@9-ea/FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9-ea/ThreadPoolExecutor.java:1158) at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9-ea/ThreadPoolExecutor.java:632) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) =============================================== java/net/httpclient/http2/ErrorTest.java Total tests run: 1, Failures: 1, Skips: 0 =============================================== ----------System.err:(82/6253)---------- Request to https://127.0.0.1:50021/bar/ May 28, 2016 6:31:10 PM java.net.http.AsyncSSLDelegate logParams INFO: SSL: SSLParameters: May 28, 2016 6:31:10 PM java.net.http.AsyncSSLDelegate logParams INFO: SSL: cipher: TLS_KRB5_WITH_3DES_EDE_CBC_SHA May 28, 2016 6:31:10 PM java.net.http.AsyncSSLDelegate logParams INFO: SSL: application protocol: h2 New connection from 18c922ea[SSL_NULL_WITH_NULL_NULL: Socket[addr=/127.0.0.1,port=50022,localport=50021]] TestServer: start exception: javax.net.ssl.SSLHandshakeException: no cipher suites in common javax.net.ssl.SSLHandshakeException: no cipher suites in common at sun.security.ssl.Alerts.getSSLException(java.base@9-ea/Alerts.java:198) at sun.security.ssl.SSLSocketImpl.fatal(java.base@9-ea/SSLSocketImpl.java:1960) at sun.security.ssl.Handshaker.fatalSE(java.base@9-ea/Handshaker.java:309) at sun.security.ssl.Handshaker.fatalSE(java.base@9-ea/Handshaker.java:299) at sun.security.ssl.ServerHandshaker.chooseCipherSuite(java.base@9-ea/ServerHandshaker.java:1183) at sun.security.ssl.ServerHandshaker.clientHello(java.base@9-ea/ServerHandshaker.java:799) at sun.security.ssl.ServerHandshaker.processMessage(java.base@9-ea/ServerHandshaker.java:236) at sun.security.ssl.Handshaker.processLoop(java.base@9-ea/Handshaker.java:1003) at sun.security.ssl.Handshaker.processRecord(java.base@9-ea/Handshaker.java:937) at sun.security.ssl.SSLSocketImpl.processInputRecord(java.base@9-ea/SSLSocketImpl.java:1130) at sun.security.ssl.SSLSocketImpl.readRecord(java.base@9-ea/SSLSocketImpl.java:1067) at sun.security.ssl.SSLSocketImpl.readRecord(java.base@9-ea/SSLSocketImpl.java:966) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(java.base@9-ea/SSLSocketImpl.java:1393) at sun.security.ssl.SSLSocketImpl.bytesInCompletePacket(java.base@9-ea/SSLSocketImpl.java:900) at sun.security.ssl.AppInputStream.read(java.base@9-ea/AppInputStream.java:144) at java.io.BufferedInputStream.fill(java.base@9-ea/BufferedInputStream.java:246) at java.io.BufferedInputStream.read1(java.base@9-ea/BufferedInputStream.java:286) at java.io.BufferedInputStream.read(java.base@9-ea/BufferedInputStream.java:345) at java.io.InputStream.readNBytes(java.base@9-ea/InputStream.java:309) at java.net.http.Http2TestServerConnection.readPreface(java.httpclient@9-ea/Http2TestServerConnection.java:104) at java.net.http.Http2TestServerConnection.run(java.httpclient@9-ea/Http2TestServerConnection.java:158) at java.net.http.Http2TestServer.lambda$start$1(java.httpclient@9-ea/Http2TestServer.java:148) at java.util.concurrent.Executors$RunnableAdapter.call(java.base@9-ea/Executors.java:514) at java.util.concurrent.FutureTask.run(java.base@9-ea/FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9-ea/ThreadPoolExecutor.java:1158) at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9-ea/ThreadPoolExecutor.java:632) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) May 28, 2016 6:31:10 PM java.net.http.PlainHttpConnection close INFO: ERROR: Closing: PlainHttpConnection: HttpConnection: java.nio.channels.SocketChannel[connected local=/127.0.0.1:50022 remote=/127.0.0.1:50021] May 28, 2016 6:31:11 PM java.net.http.Http2Connection shutdown INFO: ERROR: java.io.IOException: Connection aborted at java.net.http.PlainHttpConnection.shutdown(java.httpclient@9-ea/PlainHttpConnection.java:231) at java.net.http.PlainHttpConnection.asyncRead(java.httpclient@9-ea/PlainHttpConnection.java:252) at java.net.http.PlainHttpConnection$ReadEvent.handle(java.httpclient@9-ea/PlainHttpConnection.java:332) at java.net.http.HttpClientImpl$SelectorManager.handleEvent(java.httpclient@9-ea/HttpClientImpl.java:331) at java.net.http.HttpClientImpl$SelectorManager.run(java.httpclient@9-ea/HttpClientImpl.java:301) May 28, 2016 6:31:11 PM java.net.http.Http2Connection shutdown INFO: ERROR: javax.net.ssl.SSLException: Received fatal alert: handshake_failure at sun.security.ssl.Alerts.getSSLException(java.base@9-ea/Alerts.java:214) at sun.security.ssl.SSLEngineImpl.fatal(java.base@9-ea/SSLEngineImpl.java:1711) at sun.security.ssl.SSLEngineImpl.fatal(java.base@9-ea/SSLEngineImpl.java:1679) at sun.security.ssl.SSLEngineImpl.recvAlert(java.base@9-ea/SSLEngineImpl.java:1852) at sun.security.ssl.SSLEngineImpl.processInputRecord(java.base@9-ea/SSLEngineImpl.java:1118) at sun.security.ssl.SSLEngineImpl.readRecord(java.base@9-ea/SSLEngineImpl.java:998) at sun.security.ssl.SSLEngineImpl.readNetRecord(java.base@9-ea/SSLEngineImpl.java:895) at sun.security.ssl.SSLEngineImpl.unwrap(java.base@9-ea/SSLEngineImpl.java:673) at javax.net.ssl.SSLEngine.unwrap(java.base@9-ea/SSLEngine.java:624) at java.net.http.AsyncSSLDelegate.unwrapBuffer(java.httpclient@9-ea/AsyncSSLDelegate.java:422) at java.net.http.AsyncSSLDelegate.handshakeReceiveAndUnWrap(java.httpclient@9-ea/AsyncSSLDelegate.java:368) at java.net.http.AsyncSSLDelegate.doHandshakeImpl(java.httpclient@9-ea/AsyncSSLDelegate.java:272) at java.net.http.AsyncSSLDelegate.lambda$doHandshake$0(java.httpclient@9-ea/AsyncSSLDelegate.java:230) at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9-ea/ThreadPoolExecutor.java:1158) at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9-ea/ThreadPoolExecutor.java:632) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) java.lang.Exception: failures: 1 at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:223) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:184) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-ea/Thread.java:843)
    via by Felix Yang,
  • JDK9 b120, atr. Fails on all platforms. Very similar to JDK-8144509 but a bit different. [TestNG] Running: java/lang/invoke/AccessControlTest.java loaders = [jdk.internal.loader.ClassLoaders$AppClassLoader@483bf400, java.lang.invoke.MethodHandles$LookupHelper$1@2d209079] filled in 32 cases from 9 original cases in 3 rounds String/public/loader#0 => AccessControlTest fail accessClass ex=null test test.java.lang.invoke.AccessControlTest.test(): failure java.lang.AssertionError: expected [true] but found [false] at org.testng.Assert.fail(Assert.java:94) at org.testng.Assert.failNotEquals(Assert.java:494) at org.testng.Assert.assertEquals(Assert.java:123) at org.testng.Assert.assertEquals(Assert.java:286) at org.testng.Assert.assertEquals(Assert.java:296) at test.java.lang.invoke.AccessControlTest.testOneAccess(AccessControlTest.java:468) at test.java.lang.invoke.AccessControlTest.test(AccessControlTest.java:421) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84) at org.testng.internal.Invoker.invokeMethod(Invoker.java:714) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111) at org.testng.TestRunner.privateRun(TestRunner.java:767) at org.testng.TestRunner.run(TestRunner.java:617) at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) at org.testng.SuiteRunner.run(SuiteRunner.java:240) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) at org.testng.TestNG.run(TestNG.java:1057) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:220) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:184) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) =============================================== java/lang/invoke/AccessControlTest.java Total tests run: 1, Failures: 1, Skips: 0 =============================================== ----------System.err:(14/899)---------- java.lang.Exception: failures: 1 at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:223) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:184) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) JavaTest Message: Test threw exception: java.lang.Exception: failures: 1 JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.Exception: failures: 1 ----------rerun:(37/2832)*----------
    via by Dmitry Fazunenko,
  • There is a fix in JDK-8150337. But observed an intermittent failure again. It looks to be rare. Please refer to the test output: ----------messages:(3/136)---------- command: testng SunMiscSignalTest reason: User specified action: run testng/othervm SunMiscSignalTest elapsed time (seconds): 1.432 ----------System.out:(114/6883)---------- [TestNG] Running: sun/misc/SunMiscSignalTest.java -Xrs: false config SunMiscSignalTest.setup(): success test SunMiscSignalTest.cannotHandleSIGDFL(): success test SunMiscSignalTest.cannotHandleSIGIGN(): success test SunMiscSignalTest.checkLastHandler(): success oldHandler: java.lang.Terminator$1@7baea0f0 sun.misc.handle sig: INT, num: 2 test SunMiscSignalTest.isDaemonThread(): failure java.lang.AssertionError: raising s.m.Signal did not get a callback; expected [true] but found [false] at org.testng.Assert.fail(Assert.java:94) at org.testng.Assert.failNotEquals(Assert.java:494) at org.testng.Assert.assertEquals(Assert.java:123) at org.testng.Assert.assertEquals(Assert.java:286) at SunMiscSignalTest.isDaemonThread(SunMiscSignalTest.java:333) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:520) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84) at org.testng.internal.Invoker.invokeMethod(Invoker.java:714) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111) at org.testng.TestRunner.privateRun(TestRunner.java:767) at org.testng.TestRunner.run(TestRunner.java:617) at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) at org.testng.SuiteRunner.run(SuiteRunner.java:240) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) at org.testng.TestNG.run(TestNG.java:1057) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:163) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:147) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:520) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92) at java.lang.Thread.run(Thread.java:804) test SunMiscSignalTest.nullSignal(): success test SunMiscSignalTest.testEquals("INT", YES, YES, YES, YES): success test SunMiscSignalTest.testEquals("TERM", YES, YES, YES, YES): success test SunMiscSignalTest.testEquals("ABRT", YES, YES, YES, YES): success test SunMiscSignalTest.testEquals("HUP", NO, NO, NO, NO): success test SunMiscSignalTest.testEquals("QUIT", NO, NO, NO, NO): success test SunMiscSignalTest.testEquals("BUS", NO, NO, NO, NO): success test SunMiscSignalTest.testEquals("USR1", NO, NO, NO, NO): success test SunMiscSignalTest.testEquals("USR2", NO, NO, NO, NO): success test SunMiscSignalTest.testEquals("PIPE", NO, NO, NO, NO): success test SunMiscSignalTest.testEquals("ALRM", NO, NO, NO, NO): success test SunMiscSignalTest.testEquals("CHLD", NO, NO, NO, NO): success test SunMiscSignalTest.testEquals("CONT", NO, NO, NO, NO): success test SunMiscSignalTest.testEquals("TSTP", NO, NO, NO, NO): success test SunMiscSignalTest.testEquals("TTIN", NO, NO, NO, NO): success test SunMiscSignalTest.testEquals("TTOU", NO, NO, NO, NO): success test SunMiscSignalTest.testEquals("URG", NO, NO, NO, NO): success test SunMiscSignalTest.testEquals("XCPU", NO, NO, NO, NO): success test SunMiscSignalTest.testEquals("XFSZ", NO, NO, NO, NO): success test SunMiscSignalTest.testEquals("VTALRM", NO, NO, NO, NO): success test SunMiscSignalTest.testEquals("PROF", NO, NO, NO, NO): success test SunMiscSignalTest.testEquals("WINCH", NO, NO, NO, NO): success test SunMiscSignalTest.testEquals("IO", NO, NO, NO, NO): success test SunMiscSignalTest.testEquals("SYS", NO, NO, NO, NO): success oldHandler: Handler: sem: 0, wasDaemon: true IAE message: Unhandled signal: SIGINT test SunMiscSignalTest.testRaiseNoConsumer(): success oldHandler: Handler: sem: 0, wasDaemon: true sun.misc.handle sig: INT, num: 2 test SunMiscSignalTest.testSunMisc("INT", YES, YES, YES, YES): success oldHandler: java.lang.Terminator$1@7baea0f0 sun.misc.handle sig: TERM, num: 15 test SunMiscSignalTest.testSunMisc("TERM", YES, YES, YES, YES): success oldHandler: SIG_DFL sun.misc.handle sig: ABRT, num: 22 test SunMiscSignalTest.testSunMisc("ABRT", YES, YES, YES, YES): success test SunMiscSignalTest.testSunMisc("HUP", NO, NO, NO, NO): success test SunMiscSignalTest.testSunMisc("QUIT", NO, NO, NO, NO): success test SunMiscSignalTest.testSunMisc("BUS", NO, NO, NO, NO): success test SunMiscSignalTest.testSunMisc("USR1", NO, NO, NO, NO): success test SunMiscSignalTest.testSunMisc("USR2", NO, NO, NO, NO): success test SunMiscSignalTest.testSunMisc("PIPE", NO, NO, NO, NO): success test SunMiscSignalTest.testSunMisc("ALRM", NO, NO, NO, NO): success test SunMiscSignalTest.testSunMisc("CHLD", NO, NO, NO, NO): success test SunMiscSignalTest.testSunMisc("CONT", NO, NO, NO, NO): success test SunMiscSignalTest.testSunMisc("TSTP", NO, NO, NO, NO): success test SunMiscSignalTest.testSunMisc("TTIN", NO, NO, NO, NO): success test SunMiscSignalTest.testSunMisc("TTOU", NO, NO, NO, NO): success test SunMiscSignalTest.testSunMisc("URG", NO, NO, NO, NO): success test SunMiscSignalTest.testSunMisc("XCPU", NO, NO, NO, NO): success test SunMiscSignalTest.testSunMisc("XFSZ", NO, NO, NO, NO): success test SunMiscSignalTest.testSunMisc("VTALRM", NO, NO, NO, NO): success test SunMiscSignalTest.testSunMisc("PROF", NO, NO, NO, NO): success test SunMiscSignalTest.testSunMisc("WINCH", NO, NO, NO, NO): success test SunMiscSignalTest.testSunMisc("IO", NO, NO, NO, NO): success test SunMiscSignalTest.testSunMisc("SYS", NO, NO, NO, NO): success test SunMiscSignalTest.testSunMiscIAE(""): success test SunMiscSignalTest.testSunMiscIAE("I"): success test SunMiscSignalTest.testSunMiscIAE("SIG"): success test SunMiscSignalTest.testSunMiscIAE("SIGabc"): success test SunMiscSignalTest.testSunMiscIAE("SIGINT"): success test SunMiscSignalTest.testSunMiscIAE("abc"): success =============================================== sun/misc/SunMiscSignalTest.java Total tests run: 58, Failures: 1, Skips: 0 =============================================== ----------System.err:(14/810)---------- java.lang.Exception: failures: 1 at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:166) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:147) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:520) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92) at java.lang.Thread.run(Thread.java:804) JavaTest Message: Test threw exception: java.lang.Exception: failures: 1 JavaTest Message: shutting down test
    via by Felix Yang,
  • tools/jdeps/modules/GenModuleInfo.java (from langtools/test) Recently observed this test failed one time on linux (openonly build): ----------System.out:(72/5460)---------- [TestNG] Running: tools/jdeps/modules/GenModuleInfo.java config GenModuleInfo.compileAll(): success test GenModuleInfo.jdeps(): success test GenModuleInfo.test(): failure java.lang.Error: java.util.concurrent.ExecutionException: java.lang.ClassCastException: java.util.HashMap$Node (in module: java.base) cannot be cast to java.util.HashMap$TreeNode (in module: java.base) at com.sun.tools.jdeps.DependencyFinder$TaskExecutor.waitForTasksCompleted(jdk.jdeps@9-internal/DependencyFinder.java:361) at com.sun.tools.jdeps.DependencyFinder.findDependencies(jdk.jdeps@9-internal/DependencyFinder.java:182) at com.sun.tools.jdeps.ModuleInfoBuilder.run(jdk.jdeps@9-internal/ModuleInfoBuilder.java:85) at com.sun.tools.jdeps.JdepsTask.genModuleInfo(jdk.jdeps@9-internal/JdepsTask.java:623) at com.sun.tools.jdeps.JdepsTask.run(jdk.jdeps@9-internal/JdepsTask.java:445) at com.sun.tools.jdeps.JdepsTask.run(jdk.jdeps@9-internal/JdepsTask.java:409) at com.sun.tools.jdeps.Main.run(jdk.jdeps@9-internal/Main.java:63) at GenModuleInfo.jdeps(GenModuleInfo.java:199) at GenModuleInfo.test(GenModuleInfo.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84) at org.testng.internal.Invoker.invokeMethod(Invoker.java:714) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111) at org.testng.TestRunner.privateRun(TestRunner.java:767) at org.testng.TestRunner.run(TestRunner.java:617) at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) at org.testng.SuiteRunner.run(SuiteRunner.java:240) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) at org.testng.TestNG.run(TestNG.java:1057) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:220) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226) at java.lang.Thread.run(java.base@9-internal/Thread.java:804) Caused by: java.util.concurrent.ExecutionException: java.lang.ClassCastException: java.util.HashMap$Node (in module: java.base) cannot be cast to java.util.HashMap$TreeNode (in module: java.base) at java.util.concurrent.FutureTask.report(java.base@9-internal/FutureTask.java:123) at java.util.concurrent.FutureTask.get(java.base@9-internal/FutureTask.java:193) at com.sun.tools.jdeps.DependencyFinder$TaskExecutor.waitForTasksCompleted(jdk.jdeps@9-internal/DependencyFinder.java:358) ... 36 more Caused by: java.lang.ClassCastException: java.util.HashMap$Node (in module: java.base) cannot be cast to java.util.HashMap$TreeNode (in module: java.base) at java.util.HashMap$TreeNode.moveRootToFront(java.base@9-internal/HashMap.java:1879) at java.util.HashMap$TreeNode.treeify(java.base@9-internal/HashMap.java:1996) at java.util.HashMap.treeifyBin(java.base@9-internal/HashMap.java:771) at java.util.HashMap.putVal(java.base@9-internal/HashMap.java:643) at java.util.HashMap.put(java.base@9-internal/HashMap.java:611) at com.sun.tools.classfile.Dependencies$BasicDependencyFinder.getLocation(jdk.jdeps@9-internal/Dependencies.java:569) at com.sun.tools.classfile.Dependencies$BasicDependencyFinder$Visitor.<init>(jdk.jdeps@9-internal/Dependencies.java:581) at com.sun.tools.classfile.Dependencies$ClassDependencyFinder.findDependencies(jdk.jdeps@9-internal/Dependencies.java:471) at com.sun.tools.jdeps.DependencyFinder$TaskExecutor$1.call(jdk.jdeps@9-internal/DependencyFinder.java:310) at com.sun.tools.jdeps.DependencyFinder$TaskExecutor$1.call(jdk.jdeps@9-internal/DependencyFinder.java:287) at java.util.concurrent.FutureTask.run(java.base@9-internal/FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(java.base@9-internal/Executors.java:514) at java.util.concurrent.FutureTask.run(java.base@9-internal/FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9-internal/ThreadPoolExecutor.java:1158) at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9-internal/ThreadPoolExecutor.java:632) ... 1 more =============================================== tools/jdeps/modules/GenModuleInfo.java Total tests run: 2, Failures: 1, Skips: 0 =============================================== ----------System.err:(39/1960)---------- jdeps [-cp, libs/m1.jar, libs/m2.jar, libs/m3.jar, libs/unsupported.jar] m2.jar -> java.base m2.jar -> libs/m1.jar p2 (m2.jar) -> java.lang -> p1 m1.jar p2.internal (m2.jar) -> java.io -> java.lang m3.jar -> java.base m3.jar -> java.logging m3.jar -> java.sql m3.jar -> libs/m1.jar m3.jar -> libs/m2.jar p3 (m3.jar) -> java.lang -> java.sql -> java.util.logging -> p1 m1.jar -> p2 m2.jar -> p2.internal m2.jar unsupported.jar -> java.base q (unsupported.jar) -> java.lang -> jdk.internal.perf JDK internal API (java.base) jdeps [-genmoduleinfo, moduleinfosrc, libs/m1.jar, libs/m2.jar, libs/m3.jar, libs/unsupported.jar] java.lang.Exception: failures: 1 at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:223) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226) at java.lang.Thread.run(java.base@9-internal/Thread.java:804)
    via by Amy Lu,
  • java/util/ServiceLoader/modules/BasicTest.java fails on all platforms: ----------System.out:(47/2798)---------- [TestNG] Running: java/util/ServiceLoader/modules/BasicTest.java test BasicTest.testBootLayer(): failure java.lang.AssertionError: expected [true] but found [false] at org.testng.Assert.fail(Assert.java:94) at org.testng.Assert.failNotEquals(Assert.java:494) at org.testng.Assert.assertTrue(Assert.java:42) at org.testng.Assert.assertTrue(Assert.java:52) at BasicTest.testBootLayer(BasicTest.java:55) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84) at org.testng.internal.Invoker.invokeMethod(Invoker.java:714) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111) at org.testng.TestRunner.privateRun(TestRunner.java:767) at org.testng.TestRunner.run(TestRunner.java:617) at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) at org.testng.SuiteRunner.run(SuiteRunner.java:240) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) at org.testng.TestNG.run(TestNG.java:1057) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:220) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531) at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226) at java.lang.Thread.run(java.base@9-ea/Thread.java:804) test BasicTest.testEmptyLayer(): success test BasicTest.testNullLayer(): success test BasicTest.testNullService(): success =============================================== java/util/ServiceLoader/modules/BasicTest.java Total tests run: 4, Failures: 1, Skips: 0 =============================================== ----------System.err:(12/746)---------- java.lang.Exception: failures: 1 at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:223) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531) at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226) at java.lang.Thread.run(java.base@9-ea/Thread.java:804) JavaTest Message: Test threw exception: java.lang.Exception JavaTest Message: shutting down test
    via by Amy Lu,
  • jdk/modules/scenarios/overlappingpackages/OverlappingPackagesTest.java failed. test OverlappingPackagesTest.testOverlapWithBaseModule(): failure java.lang.AssertionError: expected [true] but found [false] at org.testng.Assert.fail(Assert.java:94) at org.testng.Assert.failNotEquals(Assert.java:494) at org.testng.Assert.assertTrue(Assert.java:42) at org.testng.Assert.assertTrue(Assert.java:52) at OverlappingPackagesTest.testOverlapWithBaseModule(OverlappingPackagesTest.java:106) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84) at org.testng.internal.Invoker.invokeMethod(Invoker.java:714) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111) at org.testng.TestRunner.privateRun(TestRunner.java:767) at org.testng.TestRunner.run(TestRunner.java:617) at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) at org.testng.SuiteRunner.run(SuiteRunner.java:240) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) at org.testng.TestNG.run(TestNG.java:1057) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:220) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531) at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) =============================================== jdk/modules/scenarios/overlappingpackages/OverlappingPackagesTest.java Total tests run: 3, Failures: 1, Skips: 0 =============================================== ----------System.err:(15/749)---------- java.lang.Exception: failures: 1 at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:223) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531) at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226) at java.lang.Thread.run(java.base@9-ea/Thread.java:843)
    via by Hamlin Li,
  • This test failed once with the following message: ----------System.out:(59/3293)---------- [TestNG] Running: jdk/jshell/UserInputTest.java config KullaTesting.setUp(): success test UserInputTest.testClose(): success config KullaTesting.tearDown(): success config KullaTesting.setUp(): success test UserInputTest.testException(): success config KullaTesting.tearDown(): success config KullaTesting.setUp(): success test UserInputTest.testReadInput(): failure java.lang.AssertionError: Expected execution value of: 67, but got: 66 expected [67] but found [66] at org.testng.Assert.fail(Assert.java:94) at org.testng.Assert.failNotEquals(Assert.java:496) at org.testng.Assert.assertEquals(Assert.java:125) at org.testng.Assert.assertEquals(Assert.java:178) at KullaTesting.checkEvents(KullaTesting.java:567) at KullaTesting.assertEval(KullaTesting.java:384) at KullaTesting.assertEval(KullaTesting.java:378) at KullaTesting.assertEval(KullaTesting.java:353) at UserInputTest.testReadInput(UserInputTest.java:44) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:537) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85) at org.testng.internal.Invoker.invokeMethod(Invoker.java:639) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108) at org.testng.TestRunner.privateRun(TestRunner.java:773) at org.testng.TestRunner.run(TestRunner.java:623) at org.testng.SuiteRunner.runTest(SuiteRunner.java:357) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310) at org.testng.SuiteRunner.run(SuiteRunner.java:259) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185) at org.testng.TestNG.runSuitesLocally(TestNG.java:1110) at org.testng.TestNG.run(TestNG.java:1018) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:220) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:537) at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226) at java.base/java.lang.Thread.run(Thread.java:844) config KullaTesting.tearDown(): success config KullaTesting.setUp(): success test UserInputTest.testScanner(): success config KullaTesting.tearDown(): success =============================================== jdk/jshell/UserInputTest.java Total tests run: 4, Failures: 1, Skips: 0 =============================================== ----------System.err:(12/721)---------- java.lang.Exception: failures: 1 at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:223) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:537) at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226) at java.base/java.lang.Thread.run(Thread.java:844) JavaTest Message: Test threw exception: java.lang.Exception JavaTest Message: shutting down test result: Failed. Execution failed: `main' threw exception: java.lang.Exception: failures: 1
    via by Frank Yuan,
  • Command line: [/export/home/aurora/CommonData/TEST_JAVA_HOME/bin/java -cp /export/home/aurora/sandbox/results/workDir/classes/0/closed/runtime/AppCDS/jigsaw/overridetests:/export/home/aurora/CommonData/j2se_jdk/hotspot/test/closed/runtime/AppCDS/jigsaw/overridetests:/export/home/aurora/sandbox/results/workDir/classes/0/testlibrary:/export/home/aurora/CommonData/j2se_jdk/hotspot/test/testlibrary:/export/home/aurora/sandbox/results/workDir/classes/0/closed/runtime/AppCDS:/export/home/aurora/CommonData/j2se_jdk/hotspot/test/closed/runtime/AppCDS:/export/home/aurora/CommonData/jtreg_dir/lib/testng.jar:/export/home/aurora/CommonData/jtreg_dir/lib/javatest.jar:/export/home/aurora/CommonData/jtreg_dir/lib/jtreg.jar -Xmixed -server -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+IgnoreUnrecognizedVMOptions -XX:-UseCompressedOops -XX:+UseParallelGC -XX:-UseBiasedLocking -showversion -XX:+UnlockCommercialFeatures -XX:SharedArchiveFile=/export/home/aurora/sandbox/results/workDir/closed/runtime/AppCDS/jigsaw/overridetests/OverrideTests/appcds-23h36m28s990.jsa -XX:+UseAppCDS -Xshare:dump -XX:+PrintSharedSpaces -cp "" -XX:ExtraSharedClassListFile=/export/home/aurora/sandbox/results/workDir/classes/0/closed/runtime/AppCDS/jigsaw/overridetests/OverrideTests-test.classlist ] [ELAPSED: 34 ms] [STDOUT] Error occurred during initialization of VM Cannot dump shared archive when UseCompressedOops or UseCompressedClassPointers is off. [STDERR] config OverrideTests.compileModulesAndDumpArchive(): failure java.lang.RuntimeException: 'Loading classes to share' missing from stdout/stderr at jdk.test.lib.OutputAnalyzer.shouldContain(OutputAnalyzer.java:138) at TestCommon.checkDump(TestCommon.java:162) at OverrideTests.compileModulesAndDumpArchive(OverrideTests.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84) at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138) at org.testng.TestRunner.beforeRun(TestRunner.java:641) at org.testng.TestRunner.run(TestRunner.java:609) at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) at org.testng.SuiteRunner.run(SuiteRunner.java:240) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) at org.testng.TestNG.run(TestNG.java:1057) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:220) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:184) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-internal/Thread.java:804) test OverrideTests.testAppClassOverriding(): skip test OverrideTests.testExtClassOverriding(): skip =============================================== closed/runtime/AppCDS/jigsaw/overridetests/OverrideTests.java Total tests run: 2, Failures: 0, Skips: 2 Configuration Failures: 1, Skips: 0 =============================================== ----------System.err:(20/1074)---------- stdout: [Error occurred during initialization of VM Cannot dump shared archive when UseCompressedOops or UseCompressedClassPointers is off. ]; stderr: [] exitValue = 1 java.lang.Exception: failures: 0 at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:223) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:184) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-internal/Thread.java:804) JavaTest Message: Test threw exception: java.lang.Exception: failures: 0 JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.Exception: failures: 0
    via by Harsha Wardhana B,
    • java.lang.Exception: failures: 1 at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:223) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:184)
    No Bugmate found.