You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "adoroszlai (via GitHub)" <gi...@apache.org> on 2023/09/12 19:13:07 UTC

[GitHub] [ozone] adoroszlai opened a new pull request, #5282: HDDS-8013. Freon S3 bucket creation test should use unique prefix

adoroszlai opened a new pull request, #5282:
URL: https://github.com/apache/ozone/pull/5282

   ## What changes were proposed in this pull request?
   
   S3 smoketests are executed with various bucket types (normal, link, encrypted, EC). Freon bucket creation test should use a unique prefix for each, because using the same prefix for all tests prevents testing actual bucket creation.
   
   Actually, Freon S3 bucket creation test is independent of the bucket type being used, so we should tag `s3/freon.robot` as such.
   
   https://issues.apache.org/jira/browse/HDDS-8013
   
   ## How was this patch tested?
   
   CI:
   https://github.com/adoroszlai/hadoop-ozone/actions/runs/4872190259


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [ozone] adoroszlai merged pull request #5282: HDDS-8013. Freon S3 bucket creation test should use unique prefix

Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai merged PR #5282:
URL: https://github.com/apache/ozone/pull/5282


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [ozone] adoroszlai commented on pull request #5282: HDDS-8013. Freon S3 bucket creation test should use unique prefix

Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai commented on PR #5282:
URL: https://github.com/apache/ozone/pull/5282#issuecomment-1719512017

   Thanks @kerneltime, @Xushaohong for the review.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [ozone] Xushaohong commented on a diff in pull request #5282: HDDS-8013. Freon S3 bucket creation test should use unique prefix

Posted by "Xushaohong (via GitHub)" <gi...@apache.org>.
Xushaohong commented on code in PR #5282:
URL: https://github.com/apache/ozone/pull/5282#discussion_r1323905196


##########
hadoop-ozone/dist/src/main/smoketest/s3/freon.robot:
##########
@@ -41,4 +43,4 @@ Freon S3BG
 *** Test Cases ***
 Run Freon S3BG
     [Setup]    Setup aws credentials
-    Freon S3BG
\ No newline at end of file
+    Freon S3BG   s3bg-${BUCKET}

Review Comment:
   Hi @adoroszlai,  not understanding here what is the extra arg ```s3bg-${BUCKET}``` used for.
   Seems the s3bg -p ${prefix} appointed the fixed prefix which is ```s3bg```



-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [ozone] adoroszlai commented on a diff in pull request #5282: HDDS-8013. Freon S3 bucket creation test should use unique prefix

Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai commented on code in PR #5282:
URL: https://github.com/apache/ozone/pull/5282#discussion_r1324099802


##########
hadoop-ozone/dist/src/main/smoketest/s3/freon.robot:
##########
@@ -41,4 +43,4 @@ Freon S3BG
 *** Test Cases ***
 Run Freon S3BG
     [Setup]    Setup aws credentials
-    Freon S3BG
\ No newline at end of file
+    Freon S3BG   s3bg-${BUCKET}

Review Comment:
   Robot keyword arguments can be specified as positional or named.  So `s3bg-${BUCKET}` is for the first parameter, `prefix`.
   
   ```
   ozone-ec.xml
   2907:<msg timestamp="20230912 19:41:21.443" level="INFO">Running command 'ozone freon s3bg -e http://s3g:9878 -t 10 -n 100 -p s3bg-erasure  2&gt;&amp;1'.</msg>
   
   ozone-ha.xml
   14246:<msg timestamp="20230912 19:53:20.319" level="INFO">Running command 'ozone freon s3bg -e http://s3g:9878 -t 10 -n 100 -p s3bg-bucket-ozone-test-2251842976  2&gt;&amp;1'.</msg>
   
   ozone-s3-haproxy.xml
   2921:<msg timestamp="20230912 19:55:39.308" level="INFO">Running command 'ozone freon s3bg -e http://s3g:9878 -t 10 -n 100 -p s3bg-bucket-ozone-test-7696293952  2&gt;&amp;1'.</msg>
   
   ozonesecure-ha.xml
   21939:<msg timestamp="20230912 20:04:05.210" level="INFO">Running command 'ozone freon s3bg -e http://s3g:9878 -t 10 -n 100 -p s3bg-encrypted  2&gt;&amp;1'.</msg>
   
   ozonesecure-vault.xml
   3364:<msg timestamp="20230912 19:45:28.638" level="INFO">Running command 'ozone freon s3bg -e http://s3g:9878 -t 10 -n 100 -p s3bg-bucket-ozone-test-9555341792  2&gt;&amp;1'.</msg>
   ```



-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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