Repository navigation
qa/rgw: fix s3 java tests by forcing gradle to run on Java 8 - #61010
Conversation
0591d5d to
b0c58d2
Compare
|
@cbodley This seems to solve the issue but it's currently very clunky. I'm thinking it'd be better just to use |
i love it if it works! have you tried running this against a ubuntu worker? i'm not familiar with the |
b0c58d2 to
d1a7883
Compare
Previously gradle would run using the default Java version. This looks for Java 8 using `alternatives` and sets JAVA_HOME to the corresponding directory prior to launching gradle. Signed-off-by: J. Eric Ivancich <[email protected]>
d1a7883 to
c87e9ef
Compare
So it works on both centos and ubuntu. See: https://pulpito.ceph.com/ivancich-2024-12-11_15:44:29-rgw-wip-eric-testing-1-distro-default-smithi/ |
9471825 to
1c29546
Compare
During testing sets JAVA_HOME to refer to the java interpreter for Java 8, so there aren't any issues with gradle.
Fixes: https://tracker.ceph.com/issues/69204
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 retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windowsjenkins test rook e2e