[
https://issues.apache.org/jira/browse/HDDS-16513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18117910#comment-18117910
]
Ivan Andika edited comment on HDDS-16513 at 9/22/26 6:37 AM:
-------------------------------------------------------------
Possible test race
* The test samples the global {{OMMetrics.numGetFileStatus}} counter
* {{TrashOzoneFileSystem}} concurrently increments that same counter
So the GetFileStatus metrics increased by one more than expected and it failed
the test.
was (Author: JIRAUSER298977):
Possible test race
* The test samples the global {{OMMetrics.numGetFileStatus}} counter
* {{TrashOzoneFileSystem}} concurrently increments that same counter at
> Intermittent failure in testGetFileStatusUsesSingleOmRpc
> --------------------------------------------------------
>
> Key: HDDS-16513
> URL: https://issues.apache.org/jira/browse/HDDS-16513
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: test
> Reporter: Attila Doroszlai
> Assignee: Andrey Yarovoy
> Priority: Major
>
> {code:title=https://github.com/apache/ozone/actions/runs/35428242277/job/105859368060#step:13:5773}
> [ERROR] Tests run: 64, Failures: 1, Errors: 0, Skipped: 1, Time elapsed:
> 51.18 s <<< FAILURE! -- in org.apache.hadoop.fs.ozone.TestOFS
> [ERROR] org.apache.hadoop.fs.ozone.TestOFS.testGetFileStatusUsesSingleOmRpc
> -- Time elapsed: 0.028 s <<< FAILURE!
> org.opentest4j.AssertionFailedError: expected: <500> but was: <501>
> at
> org.apache.hadoop.fs.ozone.AbstractRootedOzoneFileSystemTest.testGetFileStatusUsesSingleOmRpc(AbstractRootedOzoneFileSystemTest.java:1858)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]