[
https://issues.apache.org/jira/browse/HADOOP-17433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17249141#comment-17249141
]
Steve Loughran commented on HADOOP-17433:
-----------------------------------------
{code}
[ERROR] Tests run: 26, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
139.128 s <<< FAILURE! - in org.apache.hadoop.fs.s3a.auth.ITestAssumeRole
[ERROR]
testAssumeRoleRestrictedPolicyFS(org.apache.hadoop.fs.s3a.auth.ITestAssumeRole)
Time elapsed: 4.473 s <<< FAILURE!
java.lang.AssertionError: : S3AFileStatus{path=s3a://stevel-london/;
isDirectory=true; modification_time=0; access_time=0; owner=stevel;
group=stevel; permission=rwxrwxrwx; isSymlink=false; hasAcl=false;
isEncrypted=true; isErasureCoded=false} isEmptyDirectory=UNKNOWN eTag=null
versionId=null
at
org.apache.hadoop.test.LambdaTestUtils.intercept(LambdaTestUtils.java:499)
at
org.apache.hadoop.fs.s3a.auth.RoleTestUtils.forbidden(RoleTestUtils.java:198)
at
org.apache.hadoop.fs.s3a.auth.RoleTestUtils.forbidden(RoleTestUtils.java:181)
at
org.apache.hadoop.fs.s3a.auth.ITestAssumeRole.testAssumeRoleRestrictedPolicyFS(ITestAssumeRole.java:397)
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:50)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
at
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
at
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
{code}
> Skipping network I/O in S3A getFileStatus(/) breaks ITestAssumeRole
> -------------------------------------------------------------------
>
> Key: HADOOP-17433
> URL: https://issues.apache.org/jira/browse/HADOOP-17433
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/s3, test
> Affects Versions: 3.3.0
> Reporter: Steve Loughran
> Assignee: Mukund Thakur
> Priority: Minor
>
> Test failure in ITestAssumeRole.testAssumeRoleRestrictedPolicyFS if the test
> bucket is unguarded. I've been playing with my bucket settings so this
> probably didn't surface before.
> test arguments -Dparallel-tests -DtestsThreadCount=4 -Dmarkers=keep
> -Dfs.s3a.directory.marker.audit=true
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]