Skip to content

qa/d4n: Import valkey as redis - #68193

Merged
ivancich merged 3 commits into
ceph:mainfrom
samarahu:d4n-suite-rocky-linux-fix
Aug 13, 2026
Merged

ivancich merged 3 commits into
ceph:mainfrom
samarahu:d4n-suite-rocky-linux-fix

Conversation

@samarahu

@samarahu samarahu commented Apr 2, 2026 •

Copy link
Copy Markdown
Contributor

https://tracker.ceph.com/issues/75711

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.

@samarahu
samarahu requested a review from a team as a code owner April 2, 2026 21:29
@github-actions github-actions Bot added the tests label Apr 2, 2026
@cbodley cbodley added the rgw label Apr 9, 2026
@samarahu
samarahu force-pushed the d4n-suite-rocky-linux-fix branch 3 times, most recently from cf66da6 to 2ce7f8c Compare April 9, 2026 22:40
@anrao19

anrao19 commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

FYI, pr testing is in progress...
Tracker created for same is : https://tracker.ceph.com/issues/76011

@ivancich

Copy link
Copy Markdown
Member

In a slack comment to me @samarahu offered the following:

Valkey is not an available package in standard Debian repos, as evident by this Teuthology failure: https://pulpito.ceph.com/suriarte-2026-04-09_21:21:10-rgw:d4n-d4n-suite-rocky-linux-fix-distro-default-trial/

I found one option for installing it but I'm not sure how to best translate this into the suite's code: https://www.percona.com/blog/new-valkey-packages-by-percona/ (edited)

@ivancich

Copy link
Copy Markdown
Member

@samarahu, the challenge seems to be going through a different set of install steps based on whether the it's an RPM or DEB based system. I see that there are two shell scripts invoked for the test -- run-d4n.sh and test_d4n.sh. run-d4n.sh even does some python installs. So one easier approach would be to put any needed shell install commands in either or both of those .sh files.

You can use the existence of files such as /etc/debian_version, /etc/rocky-release, /etc/fedora-release, and /etc/redhat-release to determine which version you're running on. Similar code can be found at https://github.com/ceph/java_s3tests/blob/master/bootstrap.sh .

@samarahu

Copy link
Copy Markdown
Contributor Author

@samarahu, the challenge seems to be going through a different set of install steps based on whether the it's an RPM or DEB based system. I see that there are two shell scripts invoked for the test -- run-d4n.sh and test_d4n.sh. run-d4n.sh even does some python installs. So one easier approach would be to put any needed shell install commands in either or both of those .sh files.

You can use the existence of files such as /etc/debian_version, /etc/rocky-release, /etc/fedora-release, and /etc/redhat-release to determine which version you're running on. Similar code can be found at https://github.com/ceph/java_s3tests/blob/master/bootstrap.sh .

I was looking into doing this but the issue is the existence of a task called redis.py which runs before run-d4n.sh to start up the redis server and then closes it down at the end of the suite. As a result, redis must already be installed before that task begins. Perhaps I can check for the existence of /etc/debian_version in the redis.py task itself and complete the installation there?

@samarahu
samarahu force-pushed the d4n-suite-rocky-linux-fix branch from 9cfc676 to 555e8ca Compare April 14, 2026 20:37
Comment thread qa/tasks/redis.py Resolved
@samarahu
samarahu force-pushed the d4n-suite-rocky-linux-fix branch from 555e8ca to 791a680 Compare April 15, 2026 17:28
@samarahu

Copy link
Copy Markdown
Contributor Author

@samarahu
samarahu force-pushed the d4n-suite-rocky-linux-fix branch 4 times, most recently from 01e4d2d to 6e0f653 Compare April 16, 2026 21:22
@ivancich

Copy link
Copy Markdown
Member

This PR during testing produced: "Unable to locate package valkey" when this command was issued:

sudo DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install s3cmd valkey

Teuthology log: https://qa-proxy.ceph.com/teuthology/anuchaithra-2026-04-14_14:03:19-rgw-wip-anrao11-testing-2026-04-14-1205-distro-default-trial/151584/teuthology.log

Full teuthology run: https://pulpito.ceph.com/anuchaithra-2026-04-14_14:03:19-rgw-wip-anrao11-testing-2026-04-14-1205-distro-default-trial/

@ivancich ivancich removed the needs-qa label Apr 16, 2026
@ivancich

Copy link
Copy Markdown
Member

Since this failed QA I've removed the needs-qa label, so the issue may be resolved.

@samarahu
samarahu force-pushed the d4n-suite-rocky-linux-fix branch from 6e0f653 to ad8ebaf Compare April 17, 2026 13:03
@samarahu
samarahu force-pushed the d4n-suite-rocky-linux-fix branch 3 times, most recently from 723c49c to 73f0370 Compare April 20, 2026 21:33
@ivancich

Copy link
Copy Markdown
Member

@samarahu Is there anything you need from me here? I see that you reached out to @adamemerson. How are you doing in tracking down the core dump?

@samarahu

Copy link
Copy Markdown
Contributor Author

@ivancich I posted about the coredump in the D4N slack channel and was provided with some additional suggestions on producing a readable one, as well as what might be causing it. I still wasn't able to read any information from the backtrace with those suggestions but I'm rerunning the suite with a code change that I hope will allow the job to exit normally. If this also does not work, I will reach out to Adam again and perhaps consult Claude/Bob.

@samarahu
samarahu force-pushed the d4n-suite-rocky-linux-fix branch from 2fc6508 to 2aa7dcc Compare July 24, 2026 13:38
@samarahu
samarahu requested a review from a team as a code owner July 24, 2026 13:38
@samarahu
samarahu force-pushed the d4n-suite-rocky-linux-fix branch 2 times, most recently from 10ded4f to 271747d Compare July 28, 2026 13:14
@samarahu

Copy link
Copy Markdown
Contributor Author

@samarahu

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@samarahu

Copy link
Copy Markdown
Contributor Author

jenkins test make check arm64

@cbodley

cbodley commented Jul 30, 2026

Copy link
Copy Markdown
Contributor
flake8: install_deps /ceph/qa> python -I -m pip install flake8
flake8: commands[0] /ceph/qa> flake8 --select=F,E9 --exclude=venv,.tox
./tasks/redis.py:3:1: F401 'io.BytesIO' imported but unused
./tasks/redis.py:7:1: F401 'teuthology.orchestra.run' imported but unused
flake8: exit 1 (16.66 seconds) /ceph/qa> flake8 --select=F,E9 --exclude=venv,.tox pid=45818
flake8: FAIL ✖ in 30.74 seconds

@samarahu
samarahu force-pushed the d4n-suite-rocky-linux-fix branch from 271747d to 5ed7bf7 Compare July 30, 2026 16:17
Signed-off-by: Samarah Uriarte <[email protected]>
@samarahu
samarahu force-pushed the d4n-suite-rocky-linux-fix branch from 5ed7bf7 to 00c6217 Compare July 30, 2026 18:50
@samarahu

Copy link
Copy Markdown
Contributor Author

@ivancich Is there anything left for me to do for this PR before merging?

@adamemerson

Copy link
Copy Markdown
Contributor

@anrao19 Please prioritize QAing this.

@samarahu

Copy link
Copy Markdown
Contributor Author

@anrao19 Hello, did this PR pass QA? If testing is still in progress, is there a way I can track the status myself?

@ivancich

Copy link
Copy Markdown
Member

@samarahu It looks like the first test hit the broken build issue (my fault). I've asked @anrao19 to re-run. You can follow along here:

https://tracker.ceph.com/issues/79061

@anrao19

anrao19 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

@samarahu It looks like the first test hit the broken build issue (my fault). I've asked @anrao19 to re-run. You can follow along here:

https://tracker.ceph.com/issues/79061

pr testing completed and approved by @ivancich, more details on : https://tracker.ceph.com/issues/79061.
@samarahu , if no further testing is needed then pr can be merged

@ivancich
ivancich merged commit 1c21110 into ceph:main Aug 13, 2026
6 checks passed

@cbodley cbodley Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as i pointed out in #71451 (review), this pr should not have to touched qa/distros/supported-random-distro. this change removed all of ceph's test coverage against ubuntu 22

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants