From 1f85eb40edbec65ad60e175fa947376e4c0d4264 Mon Sep 17 00:00:00 2001 From: andrlos <80903703+andrlos@users.noreply.github.com> Date: Wed, 4 Mar 2026 17:40:04 +0100 Subject: [PATCH 1/3] Update parallel_install_test.sh skipping test if it should run on jdk25 or newer --- parallel_install_test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parallel_install_test.sh b/parallel_install_test.sh index 4f9cba1..94020aa 100755 --- a/parallel_install_test.sh +++ b/parallel_install_test.sh @@ -61,7 +61,7 @@ function run_parallel_test { RUNNING=false -if [[ ( x${BUILD_OS_NAME} == xel && ${BUILD_OS_VERSION} > 6 ) || x${BUILD_OS_NAME} == xf ]]; then +if [[ ${JDK_VERSION} -lt 25 ]]; then RUNNING=true fi @@ -86,7 +86,7 @@ fi echo "" > $TMPRESULTS/parallel_install_log.txt let "PASSED+=1" -echo "Appending dummy test, so there is at elast one test always running in suite" >> $TMPRESULTS/parallel_install_log.txt +echo "Appending dummy test, so there is at least one test always running in suite" >> $TMPRESULTS/parallel_install_log.txt TEST=$(printXmlTest "tps" "dummyTestToPrventTotalFailure" "0" "" "") BODY+="$TEST " # new line to improve clarity, also is used in TPS/tesultsToJtregs.sh From cec46f369a51cb2b64856b279c33c94fabf2363e Mon Sep 17 00:00:00 2001 From: andrlos <80903703+andrlos@users.noreply.github.com> Date: Wed, 4 Mar 2026 17:42:14 +0100 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 724ed16..90cd887 100755 --- a/README.md +++ b/README.md @@ -5,6 +5,6 @@ Parallel Install Test for rpms For testing parallel install ability of legacy RH builds. ## How to run -User needs to first export BUILD_OS_VERSION (number) and BUILD_OS_NAME (el or f) for the test to work. +User needs to first export BUILD_OS_VERSION (number), BUILD_OS_NAME (el or f) and JDK_VERSION (just the numeric value of major version) for the test to work. Execution requires two arguments for two folders of rpms we want to install. The get installed in the order of the arguments. Running the test should then be just a simple execution of the shell script. User can also influence where the produced logs will be stored by exporting TMPRESULTS variable. From 9bd44ffec3adfd8eb3e95dd27c6db57277cc0b79 Mon Sep 17 00:00:00 2001 From: andrlos <80903703+andrlos@users.noreply.github.com> Date: Wed, 4 Mar 2026 18:59:22 +0100 Subject: [PATCH 3/3] Update parallel_install_test.sh more strict condition, my initiall understanding was wrong --- parallel_install_test.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/parallel_install_test.sh b/parallel_install_test.sh index 94020aa..ebe4bcf 100755 --- a/parallel_install_test.sh +++ b/parallel_install_test.sh @@ -61,10 +61,21 @@ function run_parallel_test { RUNNING=false -if [[ ${JDK_VERSION} -lt 25 ]]; then +# parallel install is on el7-9 +if [[ x${BUILD_OS_NAME} == xel && ${BUILD_OS_VERSION} -gt 6 && ${BUILD_OS_VERSION} -lt 10 ]]; then RUNNING=true fi +# not on el10 for ojdk21 +if [[ ${BUILD_OS_VERSION} -ge 10 && ${JDK_VERSION} -ge 21 ]]; then + RUNNING=false +fi + +# not on ojdk25 at all +if [[ ${JDK_VERSION} -ge 25 ]]; then + RUNNING=false +fi + FAILED=0 PASSED=0 IGNORED=0