You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Sumit Agrawal (Jira)" <ji...@apache.org> on 2023/11/09 04:49:00 UTC
[jira] [Created] (HDDS-9656) TestOzoneFileSystemWithFSO.testRenameFile failure observed in PR
Sumit Agrawal created HDDS-9656:
-----------------------------------
Summary: TestOzoneFileSystemWithFSO.testRenameFile failure observed in PR
Key: HDDS-9656
URL: https://issues.apache.org/jira/browse/HDDS-9656
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Sumit Agrawal
Attachments: image-2023-11-09-10-17-02-663.png
Error: Tests run: 106, Failures: 1, Errors: 0, Skipped: 10, Time elapsed: 57.873 s <<< FAILURE! - in org.apache.hadoop.fs.ozone.TestOzoneFileSystemWithFSO
Error: TestOzoneFileSystemWithFSO.testRenameFile Time elapsed: 0.034 s <<< FAILURE!
java.lang.AssertionError: Renamed failed expected:<1> but was:<2>
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.apache.hadoop.fs.ozone.TestOzoneFileSystem.testRenameFile(TestOzoneFileSystem.java:1281)
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.RunAfters.evaluate(RunAfters.java:27)
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)
This failure is observed 2 times in PR.
Possible cause - member variable for cluster, ... are static to the test class, so in parallel run of 2 test class (another inherited) may cause conflict:
!image-2023-11-09-10-17-02-663.png|width=439,height=264!
This is used by two classes,
- org.apache.hadoop.fs.ozone.TestOzoneFileSystem
- org.apache.hadoop.fs.ozone.TestOzoneFileSystemWithFSO
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org