Repository navigation
rgw/tests: add os-specific java 1.7 install commands to keycloak task - #67578
Conversation
|
@cbodley I wanted to follow up on our previous conversation. When I just removed the rpm subsection of |
|
The code handles the keycloak task on both rocky and ubuntu as can be seen in these two narrow runs:
|
|
Here's a full run with this PR's suite against the latest main build: |
Add commands to keycloak task specific for rocky, rhel, centos, and ubuntu. Also, clean-up installed package(s) after test is run. This is necessary as rocky can't install the same package(s) that the other os types currently can. Signed-off-by: J. Eric Ivancich <[email protected]>
5535398 to
ee71039
Compare
|
The above test failed on one job r |
| if os_type in ['rocky']: | ||
| toxvenv_sh(ctx, remote, ['sudo', 'dnf', 'install', '-y', 'adoptium-temurin-java-repository']) | ||
| toxvenv_sh(ctx, remote, ['sudo', 'dnf', 'config-manager', '--set-enabled', 'adoptium-temurin-java-repository']) | ||
| toxvenv_sh(ctx, remote, ['sudo', 'dnf', 'install', '-y', 'temurin-17-jdk']) |
There was a problem hiding this comment.
if this is specific to epel 10, it might break if/when we add rocky 9. but if it works for now, lets take it
There was a problem hiding this comment.
I just tested that sequence of commands in a rocky 9 container, and it worked.
|
make check is failing for me now with: which I think is caused by ee71039 |
|
FWIW I also agree with the linter there: |
|
Why didn't this get detected earlier? Boo, |
|
@phlogistonjohn @ivancich and @cbodley , FWIW, i created #67626 to address this test failure. |
This happened at least twice in the last couple of weeks and has popped up before as well. IMO we need to go back to running |
…7-openjdk-headless qa/tasks/keycloak.py already installs it per-os. See: #67578 Fixes: https://tracker.ceph.com/issues/76353 Signed-off-by: Matan Breizman <[email protected]>
Add commands to keycloak task specific for rocky, rhel, centos, and ubuntu. Also, clean-up installed package(s) after test is run.
This is necessary as rocky can't install the same package(s) that the other os types currently can.
Fixes: https://tracker.ceph.com/issues/73679
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.