Toshihiko Uchida created HDFS-15888: ---------------------------------------
Summary: TestStandbyCheckpoints#testCheckpointBeforeNameNodeInitializationIsComplete fails intermittently Key: HDFS-15888 URL: https://issues.apache.org/jira/browse/HDFS-15888 Project: Hadoop HDFS Issue Type: Sub-task Reporter: Toshihiko Uchida This unit test failed in [https://github.com/apache/hadoop/pull/2585] due to an AssertionError. {code:java} [ERROR] testCheckpointBeforeNameNodeInitializationIsComplete(org.apache.hadoop.hdfs.server.namenode.ha.TestStandbyCheckpoints) Time elapsed: 108.763 s <<< FAILURE! java.lang.AssertionError: Expected non-empty /home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-2585/src/hadoop-hdfs-project/hadoop-hdfs/target/test/data/1/dfs/name-0-1/current/fsimage_0000000000000000012 at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.assertTrue(Assert.java:41) at org.apache.hadoop.hdfs.server.namenode.FSImageTestUtil.assertNNHasCheckpoints(FSImageTestUtil.java:515) at org.apache.hadoop.hdfs.server.namenode.ha.HATestUtil.waitForCheckpoint(HATestUtil.java:347) at org.apache.hadoop.hdfs.server.namenode.ha.TestStandbyCheckpoints.testCheckpointBeforeNameNodeInitializationIsComplete(TestStandbyCheckpoints.java:318) 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:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) {code} The reporter could reproduce the issue in his docker environment after running the test around five times, but the error happened at a different assertion. {code:java} [ERROR] testCheckpointBeforeNameNodeInitializationIsComplete(org.apache.hadoop.hdfs.server.namenode.ha.TestStandbyCheckpoints) Time elapsed: 16.696 s <<< FAILURE! java.lang.AssertionError: Expected exception not present in logs. at org.junit.Assert.fail(Assert.java:88) at org.apache.hadoop.hdfs.server.namenode.ha.TestStandbyCheckpoints.testCheckpointBeforeNameNodeInitializationIsComplete(TestStandbyCheckpoints.java:332) 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:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org