Skip to content

umbrella: rgw: Unbreak Java Tests - #73834

Merged
batrick merged 2 commits into
ceph:umbrellafrom
adamemerson:wip-82736-umbrella
Nov 19, 2026
Merged

batrick merged 2 commits into
ceph:umbrellafrom
adamemerson:wip-82736-umbrella

Conversation

@adamemerson

@adamemerson adamemerson commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

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 x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

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]>
@adamemerson
adamemerson requested a review from a team as a code owner November 12, 2026 19:26
@github-actions github-actions Bot added this to the umbrella milestone Nov 12, 2026
@adamemerson adamemerson modified the milestones: umbrella, v19.2.8 Nov 12, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Nov 12, 2026
@adamemerson adamemerson removed the releng-audit-fail Release engineering: failed backport verification audit. label Nov 12, 2026
@github-actions github-actions Bot added the releng-audit-pass Release engineering: passed backport verification audit. label Nov 12, 2026
@anrao19

anrao19 commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-anrao14-testing-2026-11-04-1136-umbrella.

@anrao19

anrao19 commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-anrao13-testing-2026-11-04-1134-umbrella.

@anrao19

anrao19 commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-anrao7-testing-2026-11-02-0650-umbrella.

@anrao19

anrao19 commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

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
@adamemerson , if no further testing is needed then this can be merged

@anrao19

anrao19 commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-anrao13-testing-2026-11-04-1134-umbrella.

pr testing completed and approved by @ivancich , More details in : https://tracker.ceph.com/issues/82662
@adamemerson , if no further testing is needed then this can be merged

@batrick batrick modified the milestones: v19.2.8, v21.2.1 Nov 19, 2026
@batrick
batrick merged commit 3bc28ae into ceph:umbrella Nov 19, 2026
33 of 34 checks passed
@anrao19

anrao19 commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

This PR has been removed from wip-anrao14-testing-2026-11-13-0754-umbrella.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge releng-audit-pass Release engineering: passed backport verification audit. rgw TESTED tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants