This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 4d74c48c85e HDDS-16818. Drop some duplicate acceptance test
combinations (#11761)
4d74c48c85e is described below
commit 4d74c48c85e6da682b156e9290d1af6c61788a79
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Tue Oct 27 06:53:09 2026 +0100
HDDS-16818. Drop some duplicate acceptance test combinations (#11761)
---
hadoop-ozone/dist/src/main/compose/common/ec-test.sh | 6 +++++-
.../dist/src/main/compose/ozone-ha/test-haproxy-s3g.sh | 11 +++++------
hadoop-ozone/dist/src/main/compose/ozone-ha/test.sh | 10 ----------
hadoop-ozone/dist/src/main/compose/ozone/test-ec.sh | 6 ++++--
hadoop-ozone/dist/src/main/compose/ozone/test.sh | 4 ----
.../dist/src/main/compose/ozonesecure-ha/test-haproxy-s3g.sh | 10 ++++------
hadoop-ozone/dist/src/main/compose/ozonesecure-ha/test.sh | 7 -------
hadoop-ozone/dist/src/main/compose/ozonesecure/test-vault.sh | 5 ++++-
hadoop-ozone/dist/src/main/compose/ozonesecure/test.sh | 7 -------
9 files changed, 22 insertions(+), 44 deletions(-)
diff --git a/hadoop-ozone/dist/src/main/compose/common/ec-test.sh
b/hadoop-ozone/dist/src/main/compose/common/ec-test.sh
index 2e3552fc969..e6ed475be07 100755
--- a/hadoop-ozone/dist/src/main/compose/common/ec-test.sh
+++ b/hadoop-ozone/dist/src/main/compose/common/ec-test.sh
@@ -17,7 +17,11 @@
start_docker_env 5
-execute_robot_test scm -v BUCKET:erasure s3
+# some S3 tests are independent of the bucket type, only need to be run once,
in ozonesecure-ha/test-haproxy-s3g.sh
+exclude="--exclude no-bucket-type"
+bucket=erasure
+layout=FILE_SYSTEM_OPTIMIZED
+execute_robot_test scm -v BUCKET:${bucket} -v BUCKET_LAYOUT:${layout} -N
s3-${layout}-${bucket} ${exclude} s3
execute_robot_test scm ec/rewrite.robot
diff --git a/hadoop-ozone/dist/src/main/compose/ozone-ha/test-haproxy-s3g.sh
b/hadoop-ozone/dist/src/main/compose/ozone-ha/test-haproxy-s3g.sh
index 83c1c364a23..6c50afdaf99 100755
--- a/hadoop-ozone/dist/src/main/compose/ozone-ha/test-haproxy-s3g.sh
+++ b/hadoop-ozone/dist/src/main/compose/ozone-ha/test-haproxy-s3g.sh
@@ -30,9 +30,8 @@ source "$COMPOSE_DIR/../testlib.sh"
start_docker_env
-exclude=""
-for bucket in generated; do
- execute_robot_test ${SCM} -v BUCKET:${bucket} -N s3-${bucket} ${exclude} s3
- # some tests are independent of the bucket type, only need to be run once
- exclude="--exclude no-bucket-type"
-done
+# some S3 tests are independent of the bucket type, only need to be run once,
in ozonesecure-ha/test-haproxy-s3g.sh
+exclude="--exclude no-bucket-type"
+bucket=generated
+layout=LEGACY
+execute_robot_test ${SCM} -v BUCKET:${bucket} -v BUCKET_LAYOUT:${layout} -N
s3-${layout}-${bucket} ${exclude} s3
diff --git a/hadoop-ozone/dist/src/main/compose/ozone-ha/test.sh
b/hadoop-ozone/dist/src/main/compose/ozone-ha/test.sh
index c27f14e579a..138f5df61b8 100755
--- a/hadoop-ozone/dist/src/main/compose/ozone-ha/test.sh
+++ b/hadoop-ozone/dist/src/main/compose/ozone-ha/test.sh
@@ -37,16 +37,6 @@ execute_robot_test ${SCM} basic/links.robot
execute_robot_test ${SCM} -v SCHEME:ofs -v BUCKET_TYPE:link -N
ozonefs-ofs-link ozonefs/ozonefs.robot
-exclude=""
-for bucket in generated; do
- for layout in OBJECT_STORE LEGACY FILE_SYSTEM_OPTIMIZED; do
- execute_robot_test ${SCM} -v BUCKET:${bucket} -v BUCKET_LAYOUT:${layout}
-N s3-${layout}-${bucket} ${exclude} s3
- # some tests are independent of the bucket type, only need to be run once
- exclude="--exclude no-bucket-type"
- done
-done
-
-execute_robot_test ${SCM} freon
execute_robot_test ${SCM} -v USERNAME:httpfs httpfs
execute_robot_test ${SCM} omha/om-roles.robot
diff --git a/hadoop-ozone/dist/src/main/compose/ozone/test-ec.sh
b/hadoop-ozone/dist/src/main/compose/ozone/test-ec.sh
index ca850cec194..3a7da8b5253 100755
--- a/hadoop-ozone/dist/src/main/compose/ozone/test-ec.sh
+++ b/hadoop-ozone/dist/src/main/compose/ozone/test-ec.sh
@@ -28,5 +28,7 @@ export OZONE_REPLICATION_FACTOR=3
# shellcheck source=/dev/null
source "$COMPOSE_DIR/../testlib.sh"
-# shellcheck source=/dev/null
-source "$COMPOSE_DIR/../common/ec-test.sh"
+start_docker_env 5
+
+prefix=${RANDOM}
+execute_robot_test scm -v PREFIX:${prefix} ec/basic.robot
diff --git a/hadoop-ozone/dist/src/main/compose/ozone/test.sh
b/hadoop-ozone/dist/src/main/compose/ozone/test.sh
index e4e27ede99d..5cba50f17c2 100755
--- a/hadoop-ozone/dist/src/main/compose/ozone/test.sh
+++ b/hadoop-ozone/dist/src/main/compose/ozone/test.sh
@@ -34,8 +34,6 @@ start_docker_env
execute_robot_test scm lib
execute_robot_test scm ozone-lib
-execute_robot_test scm basic
-
execute_robot_test scm gdpr
execute_robot_test scm security/ozone-secure-token.robot
@@ -45,8 +43,6 @@ execute_robot_test scm prometheus
execute_robot_test scm om-ratis
-execute_robot_test scm freon
-
execute_robot_test scm cli
execute_robot_test scm admincli
diff --git
a/hadoop-ozone/dist/src/main/compose/ozonesecure-ha/test-haproxy-s3g.sh
b/hadoop-ozone/dist/src/main/compose/ozonesecure-ha/test-haproxy-s3g.sh
index 23d56b22e93..62abec55ac4 100644
--- a/hadoop-ozone/dist/src/main/compose/ozonesecure-ha/test-haproxy-s3g.sh
+++ b/hadoop-ozone/dist/src/main/compose/ozonesecure-ha/test-haproxy-s3g.sh
@@ -36,9 +36,7 @@ start_docker_env
execute_command_in_container kms hadoop key create ${OZONE_BUCKET_KEY_NAME}
-exclude=""
-for bucket in encrypted; do
- execute_robot_test recon -v BUCKET:${bucket} -N s3-${bucket} ${exclude} s3
- # some tests are independent of the bucket type, only need to be run once
- exclude="--exclude no-bucket-type"
-done
+# some S3 tests are independent of the bucket type, only need to be run once:
here (i.e. no exclusions)
+bucket=encrypted
+layout=OBJECT_STORE
+execute_robot_test recon -v BUCKET:${bucket} -v BUCKET_LAYOUT:${layout} -N
s3-${layout}-${bucket} s3
diff --git a/hadoop-ozone/dist/src/main/compose/ozonesecure-ha/test.sh
b/hadoop-ozone/dist/src/main/compose/ozonesecure-ha/test.sh
index 250c66860f8..ecb5a308ef1 100755
--- a/hadoop-ozone/dist/src/main/compose/ozonesecure-ha/test.sh
+++ b/hadoop-ozone/dist/src/main/compose/ozonesecure-ha/test.sh
@@ -46,12 +46,5 @@ execute_robot_test s3g -v SCHEME:o3fs -v BUCKET_TYPE:link -N
ozonefs-o3fs-link o
execute_robot_test s3g basic/links.robot
-exclude=""
-for bucket in link; do
- execute_robot_test s3g -v BUCKET:${bucket} -N s3-${bucket} ${exclude} s3
- # some tests are independent of the bucket type, only need to be run once
- exclude="--exclude no-bucket-type"
-done
-
# Run Fault Injection tests at the end
execute_robot_test s3g ozone-fi/byteman_faults_sample.robot
diff --git a/hadoop-ozone/dist/src/main/compose/ozonesecure/test-vault.sh
b/hadoop-ozone/dist/src/main/compose/ozonesecure/test-vault.sh
index 1c6cc374053..5dad959d253 100755
--- a/hadoop-ozone/dist/src/main/compose/ozonesecure/test-vault.sh
+++ b/hadoop-ozone/dist/src/main/compose/ozonesecure/test-vault.sh
@@ -30,4 +30,7 @@ export COMPOSE_FILE=docker-compose.yaml:vault.yaml
start_docker_env
-execute_robot_test scm s3
+# some S3 tests are independent of the bucket type, only need to be run once,
in ozonesecure-ha/test-haproxy-s3g.sh
+exclude="--exclude no-bucket-type"
+bucket=link
+execute_robot_test scm -v BUCKET:${bucket} -N s3-${bucket} ${exclude} s3
diff --git a/hadoop-ozone/dist/src/main/compose/ozonesecure/test.sh
b/hadoop-ozone/dist/src/main/compose/ozonesecure/test.sh
index 26983aebea6..f4388df4a60 100755
--- a/hadoop-ozone/dist/src/main/compose/ozonesecure/test.sh
+++ b/hadoop-ozone/dist/src/main/compose/ozonesecure/test.sh
@@ -43,13 +43,6 @@ execute_robot_test scm repair/bucket-encryption.robot
execute_robot_test scm -v SCHEME:ofs -v BUCKET_TYPE:bucket -N
ozonefs-ofs-bucket ozonefs/ozonefs.robot
-exclude=""
-for bucket in encrypted; do
- execute_robot_test s3g -v BUCKET:${bucket} -N s3-${bucket} ${exclude} s3
- # some tests are independent of the bucket type, only need to be run once
- exclude="--exclude no-bucket-type"
-done
-
#expects 4 pipelines, should be run before
#admincli which creates STANDALONE pipeline
execute_robot_test scm recon
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]