java.lang.AssertionError

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 public void org.openjdk.tests.java.util.stream.ToArrayOpTest.testStatefulOpPermutations(java.lang.String,java.util.stream.TestData$OfRef): failure java.lang.AssertionError: expected [true] but found [false] at org.testng.Assert.fail(Assert.java:89) at org.testng.Assert.failNotEquals(Assert.java:489) at org.testng.Assert.assertTrue(Assert.java:37) at org.testng.Assert.assertTrue(Assert.java:47) at org.openjdk.tests.java.util.stream.ToArrayOpTest.testStatefulOpPermutations(ToArrayOpTest.java:192) at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:491) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) at org.testng.internal.Invoker.invokeMethod(Invoker.java:715) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237) 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:51) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:85) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1197) at org.testng.TestNG.runSuitesLocally(TestNG.java:1122) at org.testng.TestNG.run(TestNG.java:1030) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:155) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:139) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:491) at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94) at java.lang.Thread.run(Thread.java:724)
    via by Niclas Adlertz,
  • test public void org.openjdk.tests.java.util.stream.ToArrayOpTest.testStatefulOpPermutations(java.lang.String,java.util.stream.TestData$OfRef): failure java.lang.AssertionError: expected [true] but found [false] at org.testng.Assert.fail(Assert.java:89) at org.testng.Assert.failNotEquals(Assert.java:489) at org.testng.Assert.assertTrue(Assert.java:37) at org.testng.Assert.assertTrue(Assert.java:47) at org.openjdk.tests.java.util.stream.ToArrayOpTest.testStatefulOpPermutations(ToArrayOpTest.java:192) at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:491) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) at org.testng.internal.Invoker.invokeMethod(Invoker.java:715) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237) 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:51) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:85) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1197) at org.testng.TestNG.runSuitesLocally(TestNG.java:1122) at org.testng.TestNG.run(TestNG.java:1030) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:155) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:139) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:491) at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94) at java.lang.Thread.run(Thread.java:724)
    via by Niclas Adlertz,
  • Intermittent test failures
    via GitHub by hansenc
    ,
  • Core connectivity not building
    via GitHub by kjrrp
    ,
  • {panel:title=TestSessionFailRetryLoop fails intermittently (needed some sleep due to new speed of KillSession)} Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 10.748 sec <<< FAILURE! - in org.apache.curator.TestSessionFailRetryLoop testBasic(org.apache.curator.TestSessionFailRetryLoop) Time elapsed: 0.182 sec <<< FAILURE! java.lang.AssertionError: null at org.testng.Assert.fail(Assert.java:94) at org.testng.Assert.fail(Assert.java:101) at org.apache.curator.TestSessionFailRetryLoop.testBasic(TestSessionFailRetryLoop.java:216) {panel} {panel:title=testKillSession (killed sessions go directly to LOST)} testKillSession(org.apache.curator.framework.imps.TestEnabledSessionExpiredState) Time elapsed: 0.097 sec <<< FAILURE! java.lang.AssertionError: expected [SUSPENDED] but found [LOST] 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:165) at org.apache.curator.framework.imps.TestEnabledSessionExpiredState.testKillSession(TestEnabledSessionExpiredState.java:127) {panel} {panel:title=TestFramework.teardown (ignore any shutdown errors)} Tests run: 173, Failures: 1, Errors: 0, Skipped: 171, Time elapsed: 2.676 sec <<< FAILURE! - in org.apache.curator.framework.imps.TestFramework teardown(org.apache.curator.framework.imps.TestFramework) Time elapsed: 0.023 sec <<< FAILURE! java.lang.NullPointerException: null at org.apache.zookeeper.server.ZooKeeperServerMain.shutdown(ZooKeeperServerMain.java:147) at org.apache.curator.test.TestingZooKeeperMain.close(TestingZooKeeperMain.java:122) at org.apache.curator.test.TestingZooKeeperServer.stop(TestingZooKeeperServer.java:110) at org.apache.curator.test.TestingZooKeeperServer.close(TestingZooKeeperServer.java:122) at org.apache.curator.test.TestingServer.close(TestingServer.java:183) at org.apache.curator.test.BaseClassForTests.teardown(BaseClassForTests.java:140) at org.apache.curator.framework.imps.TestFramework.teardown(TestFramework.java:71) {panel} {panel:title=TestEnabledSessionExpiredState.testKillSession} Failed tests: TestEnabledSessionExpiredState.testKillSession:127 expected [SUSPENDED] but found [LOST] TestFramework.teardown:71->BaseClassForTests.teardown:140 » NullPointer {panel} {panel:title=flappingTest (ChaosMonkeyCnxnFactory didn't know about create2 opcode)} Tests run: 6, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 79.297 sec <<< FAILURE! - in org.apache.curator.framework.recipes.leader.TestLeaderSelectorEdges flappingTest(org.apache.curator.framework.recipes.leader.TestLeaderSelectorEdges) Time elapsed: 10.278 sec <<< FAILURE! java.lang.AssertionError: Connection has not been lost 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.apache.curator.framework.recipes.leader.TestLeaderSelectorEdges.flappingTest(TestLeaderSelectorEdges.java:88) {panel} {panel:title=TestPersistentEphemeralNode (sleep a bit so that session can actually expire)} Tests run: 40, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 312.767 sec <<< FAILURE! - in org.apache.curator.framework.recipes.nodes.TestPersistentEphemeralNode testRecreatesNodeWhenSessionReconnectsMultipleTimes(org.apache.curator.framework.recipes.nodes.TestPersistentEphemeralNode) Time elapsed: 85.994 sec <<< 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 org.apache.curator.framework.recipes.nodes.TestPersistentEphemeralNode.testRecreatesNodeWhenSessionReconnectsMultipleTimes(TestPersistentEphemeralNode.java:382) {panel} {panel:title=testCallbackNotifyLeader (seems intermittent - watch it)} testCallbackNotifyLeader(org.apache.curator.framework.recipes.leader.TestLeaderLatch) Time elapsed: 0.053 sec <<< FAILURE! java.lang.AssertionError: expected [17] but found [16] 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:265) at org.testng.Assert.assertEquals(Assert.java:275) at org.apache.curator.framework.recipes.leader.TestLeaderLatch.testCallbackNotifyLeader(TestLeaderLatch.java:658) {panel}
    via by Jordan Zimmerman,
    • java.lang.AssertionError: expected [true] but found [false] at org.testng.Assert.fail(Assert.java:89) at org.testng.Assert.failNotEquals(Assert.java:489) at org.testng.Assert.assertTrue(Assert.java:37) at org.testng.Assert.assertTrue(Assert.java:47) at org.openjdk.tests.java.util.stream.ToArrayOpTest.testStatefulOpPermutations(ToArrayOpTest.java:192) at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:491) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) at org.testng.internal.Invoker.invokeMethod(Invoker.java:715) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237) 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:51) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:85) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1197) at org.testng.TestNG.runSuitesLocally(TestNG.java:1122) at org.testng.TestNG.run(TestNG.java:1030) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:155) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:139) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:491) at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94) at java.lang.Thread.run(Thread.java:724)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    arturgajowyarturgajowy
    101 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    13 more bugmates