Repository navigation
qa/suites: remove centos restriction from valgrind yamls - #66193
Conversation
Yeah, these no longer apply but valgrind jobs still need to be restricted to CentOS Stream or possibly Rocky. The most recent attempt to lift that restriction got abandoned: #61689, #61687. |
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). Signed-off-by: Samuel Just <[email protected]>
5746ca2 to
53c2197
Compare
| # see http://tracker.ceph.com/issues/20360 and http://tracker.ceph.com/issues/18126 | ||
| os_type: centos | ||
|
|
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
I think this PR only makes sense with Sam's other changes which converts rados:verify to rocky:
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
left a comment
There was a problem hiding this comment.
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
|
@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. |
|
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
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.