[ 
https://issues.apache.org/jira/browse/HADOOP-18385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17578710#comment-17578710
 ] 

ASF GitHub Bot commented on HADOOP-18385:
-----------------------------------------

ashutoshcipher opened a new pull request, #4736:
URL: https://github.com/apache/hadoop/pull/4736

   ### Description of PR
   
   ITestS3ACannedACLs failure; fixed by adding in a span
   
   JIRA - HADOOP-18385
   
   
   ### How was this patch tested?
   
   Ran integration test in `us-west-2` region
   
   ```
   [INFO] -------------------------------------------------------
   [INFO]  T E S T S
   [INFO] -------------------------------------------------------
   [INFO] Running org.apache.hadoop.fs.s3a.ITestS3ACannedACLs
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
15.005 s - in org.apache.hadoop.fs.s3a.ITestS3ACannedACLs
   [INFO] 
   [INFO] Results:
   [INFO] 
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
   [INFO] 
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time: 31.160 s
   [INFO] Finished at: 2022-08-11T23:31:25+01:00
   [INFO] 
------------------------------------------------------------------------
   
   ```
   
   
   
   
   ### For code changes:
   
   - [X] Does the title or this PR starts with the corresponding JIRA issue id 
(e.g. 'HADOOP-17799. Your PR title ...')?
   - [X] Object storage: have the integration tests been executed and the 
endpoint declared according to the connector-specific documentation?
   - [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?
   - [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, 
`NOTICE-binary` files?
   
   




> ITestS3ACannedACLs failure; not in a span
> -----------------------------------------
>
>                 Key: HADOOP-18385
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18385
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3, test
>            Reporter: Steve Loughran
>            Priority: Major
>
> seen in a test of the prefetcn feature branch, but it looks more like this 
> has been lurking for a long time, or just that some code change has moved the 
> api call out of a span.
> {code}
> [INFO] Running org.apache.hadoop.fs.s3a.ITestS3ACannedACLs
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.592 
> s <<< FAILURE! - in org.apache.hadoop.fs.s3a.ITestS3ACannedACLs
> [ERROR] 
> testCreatedObjectsHaveACLs(org.apache.hadoop.fs.s3a.ITestS3ACannedACLs)  Time 
> elapsed: 0.591 s  <<< ERROR!
> org.apache.hadoop.fs.s3a.audit.AuditFailureException: 
> dbb71c86-e022-4b76-99cf-c1f64dd21389-00013058 unaudited operation executing a 
> request outside an audit span 
> {com.amazonaws.services.s3.model.GetObjectAclRequest size=0, mutating=true}
>         at 
> org.apache.hadoop.fs.s3a.ITestS3ACannedACLs.assertObjectHasLoggingGrant(ITestS3ACannedACLs.java:94)
>         at 
> org.apache.hadoop.fs.s3a.ITestS3ACannedACLs.testCreatedObjectsHaveACLs(ITestS3ACannedACLs.java:69)
> {code}
> fix is trivial: do the operation within a span



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to