java.lang.Exception: failures: 1

JDK Bug System | Dmitry Fazunenko | 6 months ago
  1. 0

    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

    JDK Bug System | 9 months ago | Harsha Wardhana B
    java.lang.Exception: failures: 1
  2. 0

    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

    JDK Bug System | 8 months ago | Amy Lu
    java.lang.Exception: failures: 1
  3. 0

    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)

    JDK Bug System | 6 months ago | Felix Yang
    java.lang.Exception: failures: 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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)*----------

    JDK Bug System | 6 months ago | Dmitry Fazunenko
    java.lang.Exception: failures: 1
  6. 0

    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

    JDK Bug System | 9 months ago | Felix Yang
    java.lang.Exception: failures: 1

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.Exception

      failures: 1

      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main()
    2. com.sun.javatest
      TestNGAction$TestNGRunner.main
      1. com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:223)
      2. com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:184)
      2 frames