You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siyao Meng (Jira)" <ji...@apache.org> on 2020/04/03 15:23:00 UTC

[jira] [Comment Edited] (HDDS-3294) Flaky test TestContainerStateMachineFailureOnRead#testReadStateMachineFailureClosesPipeline

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

Siyao Meng edited comment on HDDS-3294 at 4/3/20, 3:22 PM:
-----------------------------------------------------------

Thanks [~elek]. I believe the intermittent NPE might be related to insufficient wait/check in the test code. Haven't looked thoroughly into it.


was (Author: smeng):
Thanks [~elek]. I believe the intermittent NPE might be related to insufficient wait/check in the test code. Haven't looked throughly into it.

> Flaky test TestContainerStateMachineFailureOnRead#testReadStateMachineFailureClosesPipeline
> -------------------------------------------------------------------------------------------
>
>                 Key: HDDS-3294
>                 URL: https://issues.apache.org/jira/browse/HDDS-3294
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Siyao Meng
>            Priority: Major
>         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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org