You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Mukul Kumar Singh (Jira)" <ji...@apache.org> on 2021/05/11 15:12:00 UTC

[jira] [Commented] (HDDS-5215) Acceptance test: Secure S3 put-object test need to check ozone.om.enable.filesystem.paths setting

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

Mukul Kumar Singh commented on HDDS-5215:
-----------------------------------------

cc [~rakeshr], we hd seen something similar with HDDS-2939.

> Acceptance test: Secure S3 put-object test need to check ozone.om.enable.filesystem.paths setting
> -------------------------------------------------------------------------------------------------
>
>                 Key: HDDS-5215
>                 URL: https://issues.apache.org/jira/browse/HDDS-5215
>             Project: Apache Ozone
>          Issue Type: Test
>          Components: S3
>    Affects Versions: 1.2.0
>            Reporter: George Huang
>            Assignee: George Huang
>            Priority: Minor
>
> In Apache ozone.om.enable.filesystem.paths is set to false where we do not normalize paths, so the test expects the path to be not normalized in the list. So the test would fail when the setting is set to true:
> Secure S3 put-object test | FAIL |
> '{
> "Contents": [
> { "LastModified": "2021-04-28T04:37:22.787Z", "ETag": "2021-04-28T04:37:22.787Z", "StorageClass": "STANDARD", "Key": "tmp1/", "Size": 0 }
> ,
> {
> "LastModified": "2021-04-28T04:37:22.787Z",
> "ETag": "2021-04-28T04:37:22.787Z",
> "StorageClass": "STANDARD",
> "Key": "tmp1/tmp2/",
> "Size": 0
> },
> {
> "LastModified": "2021-04-28T04:37:24.548Z",
> "ETag": "2021-04-28T04:37:24.548Z",
> "StorageClass": "STANDARD",
> [ Message content over the limit has been removed. ]
> "StorageClass": "STANDARD",
> "Key": "tmp3/",
> "Size": 0
> },
> {
> "LastModified": "2021-04-28T04:37:26.001Z",
> "ETag": "2021-04-28T04:37:26.001Z",
> "StorageClass": "STANDARD",
> "Key": "tmp3/tmp4/",
> "Size": 0
> },
> {
> "LastModified": "2021-04-28T04:37:26.103Z",
> "ETag": "2021-04-28T04:37:26.103Z",
> "StorageClass": "STANDARD",
> "Key": "tmp3/tmp4/NOTICE.txt",
> "Size": 17539
> }
> ]
> }' does not contain 'tmp3//tmp4/NOTICE.txt'
> ------------------------------------------------------------------------------
> Secure S3 test Failure | PASS |
> ------------------------------------------------------------------------------
> Security.Ozone-Secure-S3 :: Smoke test to start cluster with docke... | FAIL |
> 3 tests, 2 passed, 1 failed
> To fix this, we can check the setting *ozone.om.enable.filesystem.paths* and verify accordingly - whether or not expecting path normalization.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org