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 72564485fbf HDDS-16935. Distinguish CI checks and splits in Develocity 
(#11492)
72564485fbf is described below

commit 72564485fbfd897b9e07ad384827a9ecb5b0a2d8
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Sat Oct 17 18:26:58 2026 +0200

    HDDS-16935. Distinguish CI checks and splits in Develocity (#11492)
---
 hadoop-ozone/dev-support/checks/_build.sh             | 1 +
 hadoop-ozone/dev-support/checks/checkstyle.sh         | 5 ++++-
 hadoop-ozone/dev-support/checks/errorprone.sh         | 6 +++++-
 hadoop-ozone/dev-support/checks/findbugs.sh           | 6 +++++-
 hadoop-ozone/dev-support/checks/integration.sh        | 9 ++++++---
 hadoop-ozone/dev-support/checks/javadoc.sh            | 5 ++++-
 hadoop-ozone/dev-support/checks/junit.sh              | 4 +++-
 hadoop-ozone/dev-support/checks/license.sh            | 5 ++++-
 hadoop-ozone/dev-support/checks/pmd.sh                | 6 +++++-
 hadoop-ozone/dev-support/checks/rat.sh                | 5 ++++-
 hadoop-ozone/dist/src/main/compose/common/s3a-test.sh | 1 +
 11 files changed, 42 insertions(+), 11 deletions(-)

diff --git a/hadoop-ozone/dev-support/checks/_build.sh 
b/hadoop-ozone/dev-support/checks/_build.sh
index fa2ff3224ca..daf771803d2 100755
--- a/hadoop-ozone/dev-support/checks/_build.sh
+++ b/hadoop-ozone/dev-support/checks/_build.sh
@@ -28,6 +28,7 @@ REPORT_DIR=${OUTPUT_DIR:-"${BASE_DIR}/target/${CHECK}"}
 REPORT_FILE="$REPORT_DIR/summary.txt"
 
 MAVEN_OPTIONS='-V -B -DskipTests -DskipDocs --no-transfer-progress'
+MAVEN_OPTIONS="${MAVEN_OPTIONS} -Dscan.value.check=${CHECK}"
 
 if [[ "${OZONE_WITH_COVERAGE}" == "true" ]]; then
   MAVEN_OPTIONS="${MAVEN_OPTIONS} -Pcoverage"
diff --git a/hadoop-ozone/dev-support/checks/checkstyle.sh 
b/hadoop-ozone/dev-support/checks/checkstyle.sh
index 836132c6c0a..ed9894e9d08 100755
--- a/hadoop-ozone/dev-support/checks/checkstyle.sh
+++ b/hadoop-ozone/dev-support/checks/checkstyle.sh
@@ -19,12 +19,15 @@
 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
 cd "$DIR/../../.." || exit 1
 
+CHECK=checkstyle
+
 BASE_DIR="$(pwd -P)"
-REPORT_DIR=${OUTPUT_DIR:-"$DIR/../../../target/checkstyle"}
+REPORT_DIR=${OUTPUT_DIR:-"${BASE_DIR}/target/${CHECK}"}
 mkdir -p "$REPORT_DIR"
 REPORT_FILE="$REPORT_DIR/summary.txt"
 
 MAVEN_OPTIONS='-B -fae -DskipDocs -DskipRecon 
-Dcheckstyle.failOnViolation=false --no-transfer-progress'
+MAVEN_OPTIONS="${MAVEN_OPTIONS} -Dscan.value.check=${CHECK}"
 
 declare -i rc
 mvn ${MAVEN_OPTIONS} checkstyle:check > "${REPORT_DIR}/output.log"
diff --git a/hadoop-ozone/dev-support/checks/errorprone.sh 
b/hadoop-ozone/dev-support/checks/errorprone.sh
index e8b8654f659..68c2873dd8f 100755
--- a/hadoop-ozone/dev-support/checks/errorprone.sh
+++ b/hadoop-ozone/dev-support/checks/errorprone.sh
@@ -21,12 +21,16 @@ set -u -o pipefail
 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
 cd "$DIR/../../.." || exit 1
 
-REPORT_DIR=${OUTPUT_DIR:-"$DIR/../../../target/errorprone"}
+CHECK=errorprone
+
+BASE_DIR="$(pwd -P)"
+REPORT_DIR=${OUTPUT_DIR:-"${BASE_DIR}/target/${CHECK}"}
 REPORT_FILE="$REPORT_DIR/summary.txt"
 DIAGNOSTIC_FILE="$REPORT_DIR/diagnostics.txt"
 OUTPUT_LOG=$(mktemp)
 
 MAVEN_OPTIONS='-B -fae --no-transfer-progress -Perrorprone -DskipDocs 
-DskipRecon -DskipShade -DskipTests'
+MAVEN_OPTIONS="${MAVEN_OPTIONS} -Dscan.value.check=${CHECK}"
 MAVEN_DIAGNOSTIC_PATTERN='^\[(ERROR|WARNING)\] .*:\[[0-9]+,[0-9]+\] \[[^]]+\]'
 JAVAC_DIAGNOSTIC_PATTERN='^.*:[0-9]+: (error|warning): \[[^]]+\]'
 MAVEN_ERROR_PATTERN='^\[ERROR\] .*:\[[0-9]+,[0-9]+\] \[[^]]+\]'
diff --git a/hadoop-ozone/dev-support/checks/findbugs.sh 
b/hadoop-ozone/dev-support/checks/findbugs.sh
index f7643846811..5614dafc74d 100755
--- a/hadoop-ozone/dev-support/checks/findbugs.sh
+++ b/hadoop-ozone/dev-support/checks/findbugs.sh
@@ -23,7 +23,10 @@ cd "$DIR/../../.." || exit 1
 
 : ${OZONE_WITH_COVERAGE:="false"}
 
-REPORT_DIR=${OUTPUT_DIR:-"$DIR/../../../target/findbugs"}
+CHECK=findbugs
+
+BASE_DIR="$(pwd -P)"
+REPORT_DIR=${OUTPUT_DIR:-"${BASE_DIR}/target/${CHECK}"}
 mkdir -p "$REPORT_DIR"
 REPORT_FILE="$REPORT_DIR/summary.txt"
 
@@ -31,6 +34,7 @@ source "${DIR}/_lib.sh"
 source "${DIR}/install/spotbugs.sh"
 
 MAVEN_OPTIONS='-B -fae -DskipDocs -DskipRecon -DskipShade 
--no-transfer-progress'
+MAVEN_OPTIONS="${MAVEN_OPTIONS} -Dscan.value.check=${CHECK}"
 
 if [[ "${OZONE_WITH_COVERAGE}" != "true" ]]; then
   MAVEN_OPTIONS="${MAVEN_OPTIONS} -Djacoco.skip"
diff --git a/hadoop-ozone/dev-support/checks/integration.sh 
b/hadoop-ozone/dev-support/checks/integration.sh
index c85ceffd1c1..2ed8dcc5b2b 100755
--- a/hadoop-ozone/dev-support/checks/integration.sh
+++ b/hadoop-ozone/dev-support/checks/integration.sh
@@ -21,14 +21,15 @@ PHASE=test
 
 args=""
 
-if [[ "$@" =~ "-Ptest-" ]]; then
-  if [[ "$@" =~ "-Ptest-flaky" ]]; then
+if [[ "$@" =~ -Ptest-([a-z]+) ]]; then
+  split="${BASH_REMATCH[1]}"
+  if [[ "${split}" == "flaky" ]]; then
     args="$args -Dsurefire.rerunFailingTestsCount=5 
-Dsurefire.fork.timeout=3600"
     # tests may pass on re-run, so we cannot rely on output for status
     ERROR_PATTERN=""
   fi
 
-  if [[ "$@" =~ "-Ptest-filesystem" ]]; then
+  if [[ "${split}" == "filesystem" ]]; then
     if [[ "${CI:-}" == "true" ]]; then
       args="$args -DskipShade --activate-profiles CI"
     else
@@ -38,6 +39,8 @@ if [[ "$@" =~ "-Ptest-" ]]; then
   else
     args="$args -DskipShade"
   fi
+
+  args="$args -Dscan.value.testset=${split}"
 fi
 
 source "${DIR}/junit.sh" $args "$@"
diff --git a/hadoop-ozone/dev-support/checks/javadoc.sh 
b/hadoop-ozone/dev-support/checks/javadoc.sh
index 90a877aa291..d4c2ac981b3 100755
--- a/hadoop-ozone/dev-support/checks/javadoc.sh
+++ b/hadoop-ozone/dev-support/checks/javadoc.sh
@@ -19,11 +19,14 @@ set -u -o pipefail
 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
 cd "$DIR/../../.." || exit 1
 
+CHECK=javadoc
+
 BASE_DIR="$(pwd -P)"
-REPORT_DIR=${OUTPUT_DIR:-"${BASE_DIR}/target/javadoc"}
+REPORT_DIR=${OUTPUT_DIR:-"${BASE_DIR}/target/${CHECK}"}
 REPORT_FILE="$REPORT_DIR/summary.txt"
 
 MAVEN_OPTIONS="-B -fae -Djacoco.skip -DskipDocs -DskipRecon -DskipShade 
--no-transfer-progress ${MAVEN_OPTIONS:-}"
+MAVEN_OPTIONS="${MAVEN_OPTIONS} -Dscan.value.check=${CHECK}"
 
 log=$(mktemp)
 mvn ${MAVEN_OPTIONS} clean javadoc:aggregate "$@" | tee "${log}"
diff --git a/hadoop-ozone/dev-support/checks/junit.sh 
b/hadoop-ozone/dev-support/checks/junit.sh
index 42042bcfff6..d4db951d9d4 100755
--- a/hadoop-ozone/dev-support/checks/junit.sh
+++ b/hadoop-ozone/dev-support/checks/junit.sh
@@ -37,6 +37,7 @@ fi
 
 export MAVEN_OPTS="-Xmx4096m ${MAVEN_OPTS:-}"
 MAVEN_OPTIONS="-B -V -DskipDocs -DskipRecon -Dnative.lib.tmp.dir=/tmp 
--no-transfer-progress"
+MAVEN_OPTIONS="${MAVEN_OPTIONS} -Dscan.value.check=${CHECK}"
 
 if [[ "${OZONE_WITH_COVERAGE}" != "true" ]]; then
   MAVEN_OPTIONS="${MAVEN_OPTIONS} -Djacoco.skip"
@@ -78,7 +79,8 @@ if [[ ${ITERATIONS} -gt 1 ]] || [[ ${CHECK} == "flaky" ]]; 
then
   MAVEN_OPTIONS="${MAVEN_OPTIONS} -Ddevelocity.cache.remote.enabled=false"
 fi
 
-REPORT_DIR=${OUTPUT_DIR:-"$DIR/../../../target/${CHECK}"}
+BASE_DIR="$(pwd -P)"
+REPORT_DIR=${OUTPUT_DIR:-"${BASE_DIR}/target/${CHECK}"}
 REPORT_FILE="${REPORT_DIR}/summary.txt"
 mkdir -p "$REPORT_DIR"
 
diff --git a/hadoop-ozone/dev-support/checks/license.sh 
b/hadoop-ozone/dev-support/checks/license.sh
index 60a8dfeefff..0214676ff1b 100755
--- a/hadoop-ozone/dev-support/checks/license.sh
+++ b/hadoop-ozone/dev-support/checks/license.sh
@@ -34,7 +34,10 @@ set -euo pipefail
 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
 cd "$DIR/../../.." || exit 1
 
-REPORT_DIR=${OUTPUT_DIR:-"$DIR/../../../target/license"}
+CHECK=license
+
+BASE_DIR="$(pwd -P)"
+REPORT_DIR=${OUTPUT_DIR:-"${BASE_DIR}/target/${CHECK}"}
 mkdir -p "$REPORT_DIR"
 REPORT_FILE="${REPORT_DIR}/summary.txt"
 
diff --git a/hadoop-ozone/dev-support/checks/pmd.sh 
b/hadoop-ozone/dev-support/checks/pmd.sh
index 6f0afae7ce5..bdd89803f6a 100755
--- a/hadoop-ozone/dev-support/checks/pmd.sh
+++ b/hadoop-ozone/dev-support/checks/pmd.sh
@@ -21,12 +21,16 @@ set -u -o pipefail
 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
 cd "$DIR/../../.." || exit 1
 
-REPORT_DIR=${OUTPUT_DIR:-"$DIR/../../../target/pmd"}
+CHECK=pmd
+
+BASE_DIR="$(pwd -P)"
+REPORT_DIR=${OUTPUT_DIR:-"${BASE_DIR}/target/${CHECK}"}
 mkdir -p "$REPORT_DIR"
 
 REPORT_FILE="$REPORT_DIR/summary.txt"
 
 MAVEN_OPTIONS='-B -fae --no-transfer-progress -Dpmd.failOnViolation=false 
-Dpmd.printFailingErrors -DskipDocs -DskipRecon -DskipShade'
+MAVEN_OPTIONS="${MAVEN_OPTIONS} -Dscan.value.check=${CHECK}"
 
 declare -i rc
 
diff --git a/hadoop-ozone/dev-support/checks/rat.sh 
b/hadoop-ozone/dev-support/checks/rat.sh
index 1a9932e1e15..44d642edc86 100755
--- a/hadoop-ozone/dev-support/checks/rat.sh
+++ b/hadoop-ozone/dev-support/checks/rat.sh
@@ -19,7 +19,10 @@
 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
 cd "$DIR/../../.." || exit 1
 
-REPORT_DIR=${OUTPUT_DIR:-"$DIR/../../../target/rat"}
+CHECK=rat
+
+BASE_DIR="$(pwd -P)"
+REPORT_DIR=${OUTPUT_DIR:-"${BASE_DIR}/target/${CHECK}"}
 mkdir -p "$REPORT_DIR"
 
 REPORT_FILE="$REPORT_DIR/summary.txt"
diff --git a/hadoop-ozone/dist/src/main/compose/common/s3a-test.sh 
b/hadoop-ozone/dist/src/main/compose/common/s3a-test.sh
index 35ec5f68ed4..7c5cd6df9d7 100644
--- a/hadoop-ozone/dist/src/main/compose/common/s3a-test.sh
+++ b/hadoop-ozone/dist/src/main/compose/common/s3a-test.sh
@@ -100,6 +100,7 @@ EOF
   # - ITestS3AContractRename: HDDS-10665
   mvn ${MAVEN_ARGS:-} --fail-never --show-version \
     -Dtest='ITestS3AContract*, ITestS3ACommitterMRJob, 
!ITestS3AContractBulkDelete, 
!ITestS3AContractCreate#testOverwrite*EmptyDirectory[*], 
!ITestS3AContractDistCp, !ITestS3AContractMkdirWithCreatePerf, 
!ITestS3AContractRename' \
+    -Dscan.value.testset=s3a \
     clean test
 
   local target="${RESULT_DIR}/junit/${bucket}/target"


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

Reply via email to