You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ethan Rose (Jira)" <ji...@apache.org> on 2022/04/21 21:29:00 UTC
[jira] [Commented] (HDDS-6451) Intermittent failures testRenameToTrashEnabled
[ https://issues.apache.org/jira/browse/HDDS-6451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17526091#comment-17526091 ]
Ethan Rose commented on HDDS-6451:
----------------------------------
Is this a duplicate or related to HDDS-5819?
> Intermittent failures testRenameToTrashEnabled
> ----------------------------------------------
>
> Key: HDDS-6451
> URL: https://issues.apache.org/jira/browse/HDDS-6451
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: test
> Reporter: Rakesh Radhakrishnan
> Assignee: Sadanand Shenoy
> Priority: Major
>
> Following test is failing randomly. Anything {{waitFor}} helps to resolve this issue?
> [~sadanand_shenoy]
> *TestRootedOzoneFileSystem.java:1262*
> {code:java}
> // Wait until the TrashEmptier purges the keys
> GenericTestUtils.waitFor(() -> {
> try {
> return ofs.exists(trashPath) && ofs.exists(userTrashCurrent);
> } catch (IOException e) {
> LOG.error("Delete from Trash Failed", e);
> Assert.fail("Delete from Trash Failed");
> return false;
> }
> }, 1000, 180000);
> {code}
>
>
> {code:java}
> Error: testRenameToTrashEnabled[0] Time elapsed: 0.11 s <<< FAILURE!
> java.lang.AssertionError
> at org.junit.Assert.fail(Assert.java:87)
> at org.junit.Assert.assertTrue(Assert.java:42)
> at org.junit.Assert.assertTrue(Assert.java:53)
> at org.apache.hadoop.fs.ozone.TestRootedOzoneFileSystem.testRenameToTrashEnabled(TestRootedOzoneFileSystem.java:1262)
> 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:59)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288)
> at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.lang.Thread.run(Thread.java:750)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org