Skip to content

qa/suites: remove centos restriction from valgrind yamls - #66193

Merged
batrick merged 1 commit into
ceph:mainfrom
athanatos:sjust/wip-fix-valgrind-centos
Nov 12, 2025
Merged

batrick merged 1 commit into
ceph:mainfrom
athanatos:sjust/wip-fix-valgrind-centos

Conversation

@athanatos

Copy link
Copy Markdown
Contributor

http://tracker.ceph.com/issues/20360 and
http://tracker.ceph.com/issues/18126 were quite some time ago. It's causing trouble now because it only overrides the os_type bit leaving the os_version alone causing teuthology to look for centos 10 (centos + rocky 10).

Show available Jenkins commands

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

@idryomov

Copy link
Copy Markdown
Contributor

@athanatos
athanatos force-pushed the sjust/wip-fix-valgrind-centos branch from 5746ca2 to 53c2197 Compare November 11, 2025 14:58
Comment on lines -1 to -3
# see http://tracker.ceph.com/issues/20360 and http://tracker.ceph.com/issues/18126
os_type: centos

@batrick batrick Nov 11, 2025 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Would be better as:

teuthology:
  postmerge:
    - if yaml.os_type ~= 'rocky' then reject() end

And perhaps update the comment to reference the PRs Ilya mentioned.

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.

The entire rados/verify subsuite remains restricted to CentOS Stream by centos_latest.yaml symlink one level up, so this PR is basically a no-op that has the side effect of allowing to easily swap that symlink for e.g. Rocky. That seems to be the intent -- it's just the title of the PR that is misleading.

The change that you are proposing would do something else.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think this PR only makes sense with Sam's other changes which converts rados:verify to rocky:

https://github.com/ceph/ceph-ci/blob/wip-rocky10-branch-of-the-day-2025-11-10-1762829866/qa/suites/rados/verify/rpm_latest.yaml

But the larger issue is that the valgrind yaml still can only be used, at this time, with an rpm distro. So the correct way to indicate that is to only construct jobs only with an rpm os_type, and reject all others. Changing os_type is wrong and confusing (which broke some rados tests I imagine while Sam was validating his branch). But simply removing os_type: centos is wrong too because others may link to the yaml and become surprised why it doesn't work on e.g. ubuntu.

@idryomov idryomov Nov 11, 2025 •

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.

But the larger issue is that the valgrind yaml still can only be used, at this time, with an rpm distro.

Here is my stab at changing that: #66205. I only changed the RBD suite there, but if there is consensus on the suppression I can tack on a similar change for the RADOS suite.

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.

But simply removing os_type: centos is wrong too because others may link to the yaml and become surprised why it doesn't work on e.g. ubuntu.

I wouldn't agree with the assumption that every yaml snippet is to be reusable and allowed to be linked from random places. If the entire (sub)suite is constrained to a particular distro, IMO every snippet in that (sub)suite can assume that and e.g. specify package names only for that distro, use commands and services specific to that distro, etc.

@batrick batrick left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

There are others that need adjusted too, especially in cephfs:

~/ceph$ find qa -type l -printf '%p: %l\n'  |  grep centos
qa/cephfs/mount/kclient/overrides/distro/stock/centos_9.stream.yaml: .qa/distros/all/centos_9.stream.yaml
qa/distros/all/centos_7.yaml: centos_7.6.yaml
qa/distros/all/centos_8.yaml: centos_8.stream.yaml
qa/distros/single-container-host.yaml: container-hosts/centos_9.stream.yaml
qa/distros/supported-container-hosts/centos_9.stream.yaml: ../container-hosts/centos_9.stream.yaml
qa/distros/supported-container-hosts/centos_9.stream_runc.yaml: ../container-hosts/centos_9.stream_runc.yaml
qa/suites/fs/upgrade/featureful_client/old_client/centos_9.stream.yaml: .qa/distros/podman/centos_9.stream.yaml
qa/suites/fs/upgrade/featureful_client/upgraded_client/centos_9.stream.yaml: .qa/distros/podman/centos_9.stream.yaml
qa/suites/fs/upgrade/mds_upgrade_sequence/centos_9.stream.yaml: .qa/distros/podman/centos_9.stream.yaml
qa/suites/fs/upgrade/nofs/centos_9.stream.yaml: .qa/distros/podman/centos_9.stream.yaml
qa/suites/fs/upgrade/upgraded_client/centos_9.stream.yaml: .qa/distros/podman/centos_9.stream.yaml
qa/suites/fs/workload/0-centos_9.stream.yaml: .qa/distros/podman/centos_9.stream.yaml
qa/suites/rados/thrash-old-clients/0-distro$/centos_9.stream.yaml: .qa/distros/podman/centos_9.stream.yaml
qa/suites/orch/cephadm/mgr-nfs-upgrade/0-centos_9.stream.yaml: .qa/distros/podman/centos_9.stream.yaml
qa/suites/orch/cephadm/workunits/task/test_iscsi_container/centos_9.stream.yaml: .qa/distros/podman/centos_9.stream.yaml
qa/suites/orch/cephadm/smoke-small/0-distro/centos_9.stream_runc.yaml: .qa/distros/container-hosts/centos_9.stream_runc.yaml

@athanatos

Copy link
Copy Markdown
Contributor Author

@batrick That can be a follow up PR (perhaps you could handle the ones in cephfs?) This one actually prevents the suite from scheduling at all.

@batrick

batrick commented Nov 11, 2025

Copy link
Copy Markdown
Member

@batrick That can be a follow up PR (perhaps you could handle the ones in cephfs?) This one actually prevents the suite from scheduling at all.

Fine with me.

@athanatos
athanatos marked this pull request as ready for review November 12, 2025 00:08
@athanatos
athanatos requested a review from a team as a code owner November 12, 2025 00:08
@batrick

batrick commented Nov 12, 2025

Copy link
Copy Markdown
Member

@batrick That can be a follow up PR (perhaps you could handle the ones in cephfs?) This one actually prevents the suite from scheduling at all.

Fine with me.

@athanatos fyi #66055 (comment)

@batrick

batrick commented Nov 12, 2025

Copy link
Copy Markdown
Member

@batrick That can be a follow up PR (perhaps you could handle the ones in cephfs?) This one actually prevents the suite from scheduling at all.

Fine with me.

@athanatos fyi #66055 (comment)

cc @vshankar

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.

4 participants