[ 
https://issues.apache.org/jira/browse/HDDS-3294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17126460#comment-17126460
 ] 

Siyao Meng commented on HDDS-3294:
----------------------------------

Note this test class is disabled (ignored) now.

> Flaky test 
> TestContainerStateMachineFailureOnRead#testReadStateMachineFailureClosesPipeline
> -------------------------------------------------------------------------------------------
>
>                 Key: HDDS-3294
>                 URL: https://issues.apache.org/jira/browse/HDDS-3294
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: test
>            Reporter: Siyao Meng
>            Priority: Major
>              Labels: TriagePending, flaky-test, ozone-flaky-test
>         Attachments: 
> org.apache.hadoop.ozone.client.rpc.TestContainerStateMachineFailureOnRead-output.txt,
>  org.apache.hadoop.ozone.client.rpc.TestContainerStateMachineFailureOnRead.txt
>
>
> Shows up in a PR: https://github.com/apache/hadoop-ozone/runs/540133363
> {code:title=log}
> [INFO] Running 
> org.apache.hadoop.ozone.client.rpc.TestContainerStateMachineFailureOnRead
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 49.766 s <<< FAILURE! - in 
> org.apache.hadoop.ozone.client.rpc.TestContainerStateMachineFailureOnRead
> [ERROR] 
> testReadStateMachineFailureClosesPipeline(org.apache.hadoop.ozone.client.rpc.TestContainerStateMachineFailureOnRead)
>   Time elapsed: 49.623 s  <<< ERROR!
> java.lang.NullPointerException
>       at 
> org.apache.hadoop.ozone.client.rpc.TestContainerStateMachineFailureOnRead.testReadStateMachineFailureClosesPipeline(TestContainerStateMachineFailureOnRead.java:204)
>       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:47)
>       at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>       at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
>       at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>       at 
> org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
> {code}
> {code:title=Location of NPE at 
> TestContainerStateMachineFailureOnRead.java:204}
>     // delete the container dir from leader
>     FileUtil.fullyDelete(new File(
>         leaderDn.get().getDatanodeStateMachine()
>             .getContainer().getContainerSet()
>             
> .getContainer(omKeyLocationInfo.getContainerID()).getContainerData() <-- this 
> line
>             .getContainerPath()));
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org

Reply via email to