[ 
https://issues.apache.org/jira/browse/HDDS-1966?focusedWorklogId=294755&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-294755
 ]

ASF GitHub Bot logged work on HDDS-1966:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 14/Aug/19 13:45
            Start Date: 14/Aug/19 13:45
    Worklog Time Spent: 10m 
      Work Description: adoroszlai commented on pull request #1295: HDDS-1966. 
Wrong expected key ACL in acceptance test
URL: https://github.com/apache/hadoop/pull/1295
 
 
   ## What changes were proposed in this pull request?
   
   Acceptance test [fails at ACL 
checks](https://elek.github.io/ozone-ci/trunk/trunk-nightly-wxhxr/acceptance/smokeresult/log.html#s1-s16-s2-t4-k2):
   
   ```
   [ {
     "type" : "USER",
     "name" : "testuser/[email protected]",
     "aclScope" : "ACCESS",
     "aclList" : [ "ALL" ]
   }, {
     "type" : "GROUP",
     "name" : "root",
     "aclScope" : "ACCESS",
     "aclList" : [ "ALL" ]
   }, {
     "type" : "GROUP",
     "name" : "superuser1",
     "aclScope" : "ACCESS",
     "aclList" : [ "ALL" ]
   }, {
     "type" : "USER",
     "name" : "superuser1",
     "aclScope" : "ACCESS",
     "aclList" : [ "READ", "WRITE", "READ_ACL", "WRITE_ACL" ]
   } ]' does not match '"type" : "GROUP",
   .*"name" : "superuser1*",
   .*"aclScope" : "ACCESS",
   .*"aclList" : . "READ", "WRITE", "READ_ACL", "WRITE_ACL"'
   ```
   
   The test [sets user 
ACL](https://github.com/apache/hadoop/blob/0e4b757955ae8da1651b870c12458e3344c0b613/hadoop-ozone/dist/src/main/smoketest/basic/ozone-shell.robot#L123),
 but [checks group 
ACL](https://github.com/apache/hadoop/blob/0e4b757955ae8da1651b870c12458e3344c0b613/hadoop-ozone/dist/src/main/smoketest/basic/ozone-shell.robot#L125).
  I think this passed previously due to a bug that was 
[fixed](https://github.com/apache/hadoop/pull/1234/files#diff-2d061b57a9838854d07da9e0eca64f31)
 by [HDDS-1917](https://issues.apache.org/jira/browse/HDDS-1917).
   
   https://issues.apache.org/jira/browse/HDDS-1966
   
   ## How was this patch tested?
   
   Ran `ozonesecure` acceptance test, verified that key ACL checks were passing.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 294755)
            Time Spent: 10m
    Remaining Estimate: 0h

> Wrong expected key ACL in acceptance test
> -----------------------------------------
>
>                 Key: HDDS-1966
>                 URL: https://issues.apache.org/jira/browse/HDDS-1966
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.4.1
>            Reporter: Doroszlai, Attila
>            Assignee: Doroszlai, Attila
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Acceptance test fails at ACL checks:
> {code:title=https://elek.github.io/ozone-ci/trunk/trunk-nightly-wxhxr/acceptance/smokeresult/log.html#s1-s16-s2-t4-k2}
> [ {
>   "type" : "USER",
>   "name" : "testuser/[email protected]",
>   "aclScope" : "ACCESS",
>   "aclList" : [ "ALL" ]
> }, {
>   "type" : "GROUP",
>   "name" : "root",
>   "aclScope" : "ACCESS",
>   "aclList" : [ "ALL" ]
> }, {
>   "type" : "GROUP",
>   "name" : "superuser1",
>   "aclScope" : "ACCESS",
>   "aclList" : [ "ALL" ]
> }, {
>   "type" : "USER",
>   "name" : "superuser1",
>   "aclScope" : "ACCESS",
>   "aclList" : [ "READ", "WRITE", "READ_ACL", "WRITE_ACL" ]
> } ]' does not match '"type" : "GROUP",
> .*"name" : "superuser1*",
> .*"aclScope" : "ACCESS",
> .*"aclList" : . "READ", "WRITE", "READ_ACL", "WRITE_ACL"'
> {code}
> The test [sets user 
> ACL|https://github.com/apache/hadoop/blob/0e4b757955ae8da1651b870c12458e3344c0b613/hadoop-ozone/dist/src/main/smoketest/basic/ozone-shell.robot#L123],
>  but [checks group 
> ACL|https://github.com/apache/hadoop/blob/0e4b757955ae8da1651b870c12458e3344c0b613/hadoop-ozone/dist/src/main/smoketest/basic/ozone-shell.robot#L125].
>   I think this passed previously due to a bug that was 
> [fixed|https://github.com/apache/hadoop/pull/1234/files#diff-2d061b57a9838854d07da9e0eca64f31]
>  by HDDS-1917.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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

Reply via email to