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 07fea7e1f5a HDDS-16359. Configure maven-resolver-transport-http retry
for CI (#11175)
07fea7e1f5a is described below
commit 07fea7e1f5a9af50072688a026bd9b69bbe0fea5
Author: rjgoyln <[email protected]>
AuthorDate: Tue Sep 15 03:19:28 2026 +0800
HDDS-16359. Configure maven-resolver-transport-http retry for CI (#11175)
---
.github/workflows/build-ratis.yml | 2 +-
.github/workflows/check.yml | 2 +-
.github/workflows/ci.yml | 3 ++-
.github/workflows/intermittent-test-check.yml | 2 +-
.github/workflows/populate-cache.yml | 2 +-
.github/workflows/repeat-acceptance.yml | 2 +-
6 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/build-ratis.yml
b/.github/workflows/build-ratis.yml
index 777ae1911ba..d7ec0a69fef 100644
--- a/.github/workflows/build-ratis.yml
+++ b/.github/workflows/build-ratis.yml
@@ -58,7 +58,7 @@ on:
description: "Arguments for building with Ratis"
value: ${{ jobs.summary.outputs.build-args }}
env:
- MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false
-Dmaven.wagon.http.retryHandler.class=standard
-Dmaven.wagon.http.retryHandler.count=3
+ MAVEN_OPTS: -Dhttp.keepAlive=false
-Daether.connector.http.retryHandler.count=10
permissions: { }
jobs:
ratis:
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index f193a60618a..e22574f6d67 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -137,7 +137,7 @@ on:
env:
HADOOP_IMAGE: ghcr.io/apache/hadoop
MAVEN_ARGS: --batch-mode --settings ${{ github.workspace
}}/dev-support/ci/maven-settings.xml
- MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false
-Dmaven.wagon.http.retryHandler.class=standard
-Dmaven.wagon.http.retryHandler.count=3
+ MAVEN_OPTS: -Dhttp.keepAlive=false
-Daether.connector.http.retryHandler.count=10
OZONE_IMAGE: ghcr.io/apache/ozone
OZONE_RUNNER_IMAGE: ghcr.io/apache/ozone-runner
OZONE_VOLUME_OWNER: 1000
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b946be50d4c..f06c1ed162d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -43,7 +43,8 @@ env:
TEST_JAVA_VERSION: 25 # JDK version used by CI build and tests; should match
the JDK version in apache/ozone-runner image
# MAVEN_ARGS and MAVEN_OPTS are duplicated in check.yml and
populate-cache.yml, please keep in sync
MAVEN_ARGS: --batch-mode --settings ${{ github.workspace
}}/dev-support/ci/maven-settings.xml
- MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false
-Dmaven.wagon.http.retryHandler.class=standard
-Dmaven.wagon.http.retryHandler.count=3
+ # Maven 3.9 downloads dependencies via maven-resolver-transport-http, which
reads aether.* and ignores maven.wagon.*
+ MAVEN_OPTS: -Dhttp.keepAlive=false
-Daether.connector.http.retryHandler.count=10
OZONE_WITH_COVERAGE: ${{ github.event_name == 'push' }}
permissions: { }
diff --git a/.github/workflows/intermittent-test-check.yml
b/.github/workflows/intermittent-test-check.yml
index 73af1deed22..cc3f39e8271 100644
--- a/.github/workflows/intermittent-test-check.yml
+++ b/.github/workflows/intermittent-test-check.yml
@@ -57,7 +57,7 @@ on:
default: '25'
required: true
env:
- MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false
-Dmaven.wagon.http.retryHandler.class=standard
-Dmaven.wagon.http.retryHandler.count=3
+ MAVEN_OPTS: -Dhttp.keepAlive=false
-Daether.connector.http.retryHandler.count=10
TEST_CLASS: ${{ github.event.inputs.test-class}}
TEST_METHOD: ${{ github.event.inputs.test-name }}
ITERATIONS: ${{ github.event.inputs.iterations }}
diff --git a/.github/workflows/populate-cache.yml
b/.github/workflows/populate-cache.yml
index 995fb5d5925..4bcf44afa16 100644
--- a/.github/workflows/populate-cache.yml
+++ b/.github/workflows/populate-cache.yml
@@ -38,7 +38,7 @@ env:
BUILD_ARGS: "-Pdist -Psrc -Dmaven.javadoc.skip=true -Drocks_tools_native"
TEST_JAVA_VERSION: 25 # JDK version used by CI build and tests; should match
the JDK version in apache/ozone-runner image
MAVEN_ARGS: --batch-mode --settings ${{ github.workspace
}}/dev-support/ci/maven-settings.xml
- MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false
-Dmaven.wagon.http.retryHandler.class=standard
-Dmaven.wagon.http.retryHandler.count=3
+ MAVEN_OPTS: -Dhttp.keepAlive=false
-Daether.connector.http.retryHandler.count=10
jobs:
build:
diff --git a/.github/workflows/repeat-acceptance.yml
b/.github/workflows/repeat-acceptance.yml
index 0bdb6060f1c..5a4ca229563 100644
--- a/.github/workflows/repeat-acceptance.yml
+++ b/.github/workflows/repeat-acceptance.yml
@@ -43,7 +43,7 @@ on:
default: false
required: true
env:
- MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false
-Dmaven.wagon.http.retryHandler.class=standard
-Dmaven.wagon.http.retryHandler.count=3
+ MAVEN_OPTS: -Dhttp.keepAlive=false
-Daether.connector.http.retryHandler.count=10
OZONE_ACCEPTANCE_SUITE: ${{ github.event.inputs.test-suite}}
OZONE_TEST_SELECTOR: ${{ github.event.inputs.test-filter }}
FAIL_FAST: ${{ github.event.inputs.fail-fast }}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]