Details
Description
The test scenario sometimes fails.
Time: 55.485 There was 1 failure: 1) testReadDataFrameAtSnapshot(org.apache.kudu.spark.kudu.DefaultSourceTest) java.lang.AssertionError: expected:<100> but was:<99> at org.junit.Assert.fail(Assert.java:89) at org.junit.Assert.failNotEquals(Assert.java:835) at org.junit.Assert.assertEquals(Assert.java:647) at org.junit.Assert.assertEquals(Assert.java:633) at org.apache.kudu.spark.kudu.DefaultSourceTest.testReadDataFrameAtSnapshot(DefaultSourceTest.scala:784) FAILURES!!! Tests run: 30, Failures: 1
The full log is attached (RELEASE build); the relevant stack trace looks like the following:
23:53:48.683 [ERROR - main] (RetryRule.java:219) org.apache.kudu.spark.kudu.DefaultSourceTest.testReadDataFrameAtSnapshot: failed attempt 1 java.lang.AssertionError: expected:<100> but was:<99> at org.junit.Assert.fail(Assert.java:89) ~[junit-4.13.jar:4.13] at org.junit.Assert.failNotEquals(Assert.java:835) ~[junit-4.13.jar:4.13] at org.junit.Assert.assertEquals(Assert.java:647) ~[junit-4.13.jar:4.13] at org.junit.Assert.assertEquals(Assert.java:633) ~[junit-4.13.jar:4.13] at org.apache.kudu.spark.kudu.DefaultSourceTest.testReadDataFrameAtSnapshot(DefaultSourceTest.scala:784) ~[test/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_141] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_141] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_141] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_141] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) ~[junit-4.13.jar:4.13] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) ~[junit-4.13.jar:4.13] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) ~[junit-4.13.jar:4.13] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) ~[junit-4.13.jar:4.13] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) ~[junit-4.13.jar:4.13] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) ~[junit-4.13.jar:4.13] at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) ~[junit-4.13.jar:4.13] at org.apache.kudu.test.junit.RetryRule$RetryStatement.doOneAttempt(RetryRule.java:217) [kudu-test-utils-1.13.0-SNAPSHOT.jar:1.13.0-SNAPSHOT] at org.apache.kudu.test.junit.RetryRule$RetryStatement.evaluate(RetryRule.java:234) [kudu-test-utils-1.13.0-SNAPSHOT.jar:1.13.0-SNAPSHOT] at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) [junit-4.13.jar:4.13] at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) [junit-4.13.jar:4.13] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) [junit-4.13.jar:4.13] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) [junit-4.13.jar:4.13] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) [junit-4.13.jar:4.13] at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) [junit-4.13.jar:4.13] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) [junit-4.13.jar:4.13] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) [junit-4.13.jar:4.13] at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) [junit-4.13.jar:4.13] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) [junit-4.13.jar:4.13] at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) [junit-4.13.jar:4.13] at org.junit.runners.ParentRunner.run(ParentRunner.java:413) [junit-4.13.jar:4.13] at org.junit.runners.Suite.runChild(Suite.java:128) [junit-4.13.jar:4.13] at org.junit.runners.Suite.runChild(Suite.java:27) [junit-4.13.jar:4.13] at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) [junit-4.13.jar:4.13] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) [junit-4.13.jar:4.13] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) [junit-4.13.jar:4.13] at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) [junit-4.13.jar:4.13] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) [junit-4.13.jar:4.13] at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) [junit-4.13.jar:4.13] at org.junit.runners.ParentRunner.run(ParentRunner.java:413) [junit-4.13.jar:4.13] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [junit-4.13.jar:4.13] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [junit-4.13.jar:4.13] at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) [junit-4.13.jar:4.13] at org.junit.runner.JUnitCore.main(JUnitCore.java:36) [junit-4.13.jar:4.13] 23:53:48.684 [ERROR - main] (RetryRule.java:241) org.apache.kudu.spark.kudu.DefaultSourceTest.testReadDataFrameAtSnapshot: giving up after 1 attempts