[ https://issues.apache.org/jira/browse/HDDS-2992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HDDS-2992: --------------------------------- Labels: pull-request-available (was: ) > Handle existing volume/bucket in contract tests > ----------------------------------------------- > > Key: HDDS-2992 > URL: https://issues.apache.org/jira/browse/HDDS-2992 > Project: Hadoop Distributed Data Store > Issue Type: Bug > Components: test > Reporter: Attila Doroszlai > Assignee: Attila Doroszlai > Priority: Minor > Labels: pull-request-available > > Contract tests use a random volume/bucket for each test case. Volume/bucket > creation fails if the same random number happens to be generated for another > test case in the same class. > {code:title=https://github.com/apache/hadoop-ozone/runs/432759893} > 2020-02-07T21:45:36.7489239Z [ERROR] Tests run: 18, Failures: 0, Errors: 1, > Skipped: 0, Time elapsed: 43.647 s <<< FAILURE! - in > org.apache.hadoop.fs.ozone.contract.ITestOzoneContractGetFileStatus > 2020-02-07T21:45:36.7492173Z [ERROR] > testListStatusNoDir(org.apache.hadoop.fs.ozone.contract.ITestOzoneContractGetFileStatus) > Time elapsed: 0.053 s <<< ERROR! > 2020-02-07T21:45:36.7493036Z VOLUME_ALREADY_EXISTS > org.apache.hadoop.ozone.om.exceptions.OMException: Volume already exists > ... > 2020-02-07T21:45:36.7776813Z at > org.apache.hadoop.ozone.TestDataUtil.createVolumeAndBucket(TestDataUtil.java:60) > 2020-02-07T21:45:36.7779898Z at > org.apache.hadoop.ozone.TestDataUtil.createVolumeAndBucket(TestDataUtil.java:93) > 2020-02-07T21:45:36.7780272Z at > org.apache.hadoop.fs.ozone.contract.OzoneContract.getTestFileSystem(OzoneContract.java:83) > 2020-02-07T21:45:36.7784467Z at > org.apache.hadoop.fs.contract.AbstractFSContractTestBase.setup(AbstractFSContractTestBase.java:181) > 2020-02-07T21:45:36.7784916Z at > org.apache.hadoop.fs.contract.AbstractContractGetFileStatusTest.setup(AbstractContractGetFileStatusTest.java:56) > {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