]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/cephfs: override testing kernel with -k option
authorPatrick Donnelly <pdonnell@ibm.com>
Thu, 17 Oct 2024 19:39:33 +0000 (15:39 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Mon, 21 Oct 2024 16:16:36 +0000 (12:16 -0400)
commit4b084c608c1c347ad0e2c40c57ddc29d1498df39
tree8212e37069f48c88cd325fa16e08f8009d36a520
parent4b542157008d69fefd24ac9a59426d015a6df1aa
qa/cephfs: override testing kernel with -k option

Normally, the fs suite overrides the kernel branch whenever the kernel client
is used, according to the matrix of configs. This prevents easily testing a new
kernel with the -k option to teuthology-suite. So, using the base config passed
to the script, detect if an alternate testing kernel is desired and use that
instead.

The scheduler still needs to do some work:

    $ teuthology-suite ... --verbose -k wip-pdonnell-i66704 --filter k-testing
    ...
    2024-10-18 00:29:43,875.875 DEBUG:teuthology.suite.merge:base kernel {'branch': 'wip-pdonnell-i66704', 'kdb': 1, 'sha1': '745cacd8f31e50d7f3b6039bbd8c9a8dfc07bf03', 'flavor': 'default'}
    2024-10-18 00:29:43,875.875 DEBUG:teuthology.suite.merge:overriding testing kernel with {'branch': 'wip-pdonnell-i66704', 'kdb': 1, 'sha1': '745cacd8f31e50d7f3b6039bbd8c9a8dfc07bf03', 'flavor': 'default'}

vs.

    $ teuthology-suite ... --verbose --filter k-testing
    ...
    2024-10-17 20:04:52,265.265 DEBUG:teuthology.suite.merge:base kernel {'branch': 'distro', 'kdb': 1, 'sha1': 'distro'}

Which will only select jobs using the "testing" kernel.

See-also: https://github.com/ceph/teuthology/pull/2008
Fixes: https://tracker.ceph.com/issues/68603
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
qa/cephfs/begin/3-kernel.yaml [new file with mode: 0644]
qa/cephfs/mount/kclient/overrides/distro/testing/k-testing.yaml
qa/suites/fs/upgrade/featureful_client/old_client/kernel.yaml [new symlink]
qa/suites/fs/upgrade/featureful_client/upgraded_client/kernel.yaml [new symlink]
qa/suites/fs/upgrade/mds_upgrade_sequence/kernel.yaml [new symlink]
qa/suites/fs/upgrade/nofs/kernel.yaml [new symlink]
qa/suites/fs/upgrade/upgraded_client/kernel.yaml [new symlink]
qa/suites/fs/workload/begin/3-kernel.yaml [new symlink]