[
https://issues.apache.org/jira/browse/HADOOP-14548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16055026#comment-16055026
]
Aaron Fabbri commented on HADOOP-14548:
---------------------------------------
My failures from `mvn verify -Dparallel-tests -Ds3guard -Ddynamo` in
hadoop-tools/hadoop-aws:
{noformat}
Failed tests:
(1)
ITestS3NContractRootDir>AbstractContractRootDirectoryTest.testListEmptyRootDirectory:188->Assert.assertEquals:555->Assert.assertEquals:118->Assert.failNotEquals:743->Assert.fail:88
listStatus on empty root-directory returned a non-empty list expected:<0> but
was:<1>
(2)
ITestJets3tNativeS3FileSystemContract>NativeS3FileSystemContractBaseTest.testListStatusForRoot:71
Root directory is not empty; expected:<0> but was:<1>
(3)
ITestJets3tNativeS3FileSystemContract>FileSystemContractBaseTest.testListStatus:321
expected:<1> but was:<12>
Tests in error:
(4)
ITestS3AContractRootDir>AbstractContractRootDirectoryTest.testRmEmptyRootDirNonRecursive:116
» PathIO
(5)
ITestS3AEncryptionSSEC.testCreateFileThenMoveWithDifferentSSECKey:136->lambda$testCreateFileThenMoveWithDifferentSSECKey$14:147
(6)
ITestJets3tNativeS3FileSystemContract>FileSystemContractBaseTest.testLSRootDir:847->FileSystemContractBaseTest.assertListFilesFinds:865
» FileNotFound
{noformat}
#4 Happens because root was not empty. Wondering if S3N folder objects
caused the isEmptyDirectory() to be false?
[~mackrorysd] any thoughts on #5?
> S3Guard: issues running parallel tests w/ S3N
> ----------------------------------------------
>
> Key: HADOOP-14548
> URL: https://issues.apache.org/jira/browse/HADOOP-14548
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/s3
> Reporter: Aaron Fabbri
>
> In general, running S3Guard and parallel tests with S3A and S3N contract
> tests enabled is asking for trouble: S3Guard code assumes there are not
> other non-S3Guard clients modifying the bucket.
> Goal of this JIRA is to:
> - Discuss current failures running `mvn verify -Dparallel-tests -Ds3guard
> -Ddynamo` with S3A and S3N contract tests configured.
> - Identify any failures here that are worth looking into.
> - Document (or enforce) that people should not do this, or should expect
> failures if they do.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]