Repository navigation
umbrella: rgw: Unbreak Java Tests - #73834
Conversation
Maven Central (repo.maven.apache.org) rate-limits the test lab, and the java s3tests pull the AWS SDK and their one gradle plugin from it via mavenCentral() in the suite's build.gradle. Enough of those downloads fail that the rgw/verify suite loses a sizeable fraction of its jobs. Write a gradle init script into the test checkout and pass it with --init-script. It hooks repositories.all on every project, including buildscript repositories and pluginManagement, and rewrites any repository whose host is repo.maven.apache.org to the Google mirror of Maven Central. Since the hooks fire for repositories added later by build.gradle, this works regardless of what the test suite declares, and the mirror can be changed per client with a new 'maven-repo' task option. Verified locally with gradle 6.0.1 on JDK 8 against ceph-master of java_s3tests: without the script, 512 fetches from repo.maven.apache.org; with it, 0 from Apache and 514 from the mirror, build successful. Also give the task an explicit name so that a teuthology 'overrides' block keyed 's3tests-java' applies to it; previously the key would have had to be the lowercased class name, s3tests_java. Fixes: https://tracker.ceph.com/issues/82736 Assisted-by: Claude Fable 5.1 <[email protected]> Signed-off-by: Adam C. Emerson <[email protected]> (cherry picked from commit 754d071) Fixes: https://tracker.ceph.com/issues/82872 Signed-off-by: Adam C. Emerson <[email protected]>
The jcksum workunit is a Maven project, so the gradle init script this
script writes is never read. It was also broken three ways: the tilde
in "~/.gradle/init.gradle" is quoted so never expands and the script
creates a literal '~' directory in the working directory; a
pluginManagement {} block is only valid in settings.gradle, not an init
script; and the cleanup line removes $gradle_savings, a typo. The Maven
settings.xml mirror and MVNW_REPOURL are what actually redirect the
downloads, and they stay.
Fixes: https://tracker.ceph.com/issues/82736
Assisted-by: Claude Fable 5.1 <[email protected]>
Signed-off-by: Adam C. Emerson <[email protected]>
(cherry picked from commit 6f8544e)
Fixes: https://tracker.ceph.com/issues/82872
Signed-off-by: Adam C. Emerson <[email protected]>
|
This PR has been added to wip-anrao14-testing-2026-11-04-1136-umbrella. |
|
This PR has been added to wip-anrao13-testing-2026-11-04-1134-umbrella. |
|
This PR has been added to wip-anrao7-testing-2026-11-02-0650-umbrella. |
pr testing completed and approved by @ivancich , More details in : https://tracker.ceph.com/issues/82522 |
pr testing completed and approved by @ivancich , More details in : https://tracker.ceph.com/issues/82662 |
|
This PR has been removed from wip-anrao14-testing-2026-11-13-0754-umbrella. |
Original PR: #73573
Original tracker: https://tracker.ceph.com/issues/82736
Official backport tracker: https://tracker.ceph.com/issues/82872
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.