Skip to content

remove old kernel-ci and enhance reboot-limit

Luis Chamberlain kdevops 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest23 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/23fstests: remove CONFIG_KERNEL_CI supportworkflows/fstests/Makefile+0 -140 replies
2/23fstests: remove kernel-ci script symlinksscripts/workflows/fstests/run_kernel_ci.sh scripts/workflows/fstests/run_kernel_ci_kotd.sh+0 -20 replies
3/23blktests: remove CONFIG_KERNEL_CI supportscripts/workflows/blktests/run_kernel_ci.sh scripts/workflows/blktests/run_kernel_ci_kotd.sh workflows/blktests/Makefile+0 -150 replies
4/23gitr: remove CONFIG_KERNEL_CI supportscripts/workflows/gitr/run_kernel_ci.sh scripts/workflows/gitr/run_kernel_ci_kotd.sh workflows/gitr/Makefile+0 -210 replies
5/23ltp: remove CONFIG_KERNEL_CI supportscripts/workflows/ltp/run_kernel_ci.sh scripts/workflows/ltp/run_kernel_ci_kotd.sh workflows/ltp/Makefile+0 -210 replies
6/23nfstest: remove CONFIG_KERNEL_CI supportscripts/workflows/nfstest/run_kernel_ci.sh scripts/workflows/nfstest/run_kernel_ci_kotd.sh workflows/nfstest/Makefile+0 -210 replies
7/23pynfs: remove CONFIG_KERNEL_CI supportscripts/workflows/pynfs/run_kernel_ci.sh scripts/workflows/pynfs/run_kernel_ci_kotd.sh workflows/pynfs/Makefile+0 -280 replies
8/23reboot-limit: convert CONFIG_KERNEL_CI to internal loop featurescripts/workflows/demos/reboot-limit/run_kernel_ci.sh scripts/workflows/demos/reboot-limit/run_kernel_ci_kotd.sh scripts/workflows/demos/reboot-limit/run_loop.sh +3 more+85 -290 replies
9/23kconfig: remove CONFIG_KERNEL_CI infrastructuredefconfigs/kernel-testing docs/fstests.md kconfigs/Kconfig.kdevops +1 more+4 -1830 replies
10/23scripts: remove kernel-ci loop infrastructurescripts/workflows/blktests/run_loop.sh scripts/workflows/fstests/run_loop.sh scripts/workflows/generic/run_kernel_ci.sh +5 more+0 -8190 replies
11/23reboot-limit: simplify what gets selectedworkflows/demos/reboot-limit/Kconfig+0 -40 replies
12/23reboot-limit: add graph visualization support for resultsscripts/workflows/demos/reboot-limit/analyze_results.py scripts/workflows/demos/reboot-limit/generate_sample_data.py workflows/demos/reboot-limit/Makefile+388 -20 replies
13/23reboot-limit: save graphs in organized results/graphs directoryscripts/workflows/demos/reboot-limit/analyze_results.py workflows/demos/reboot-limit/Makefile+8 -30 replies
14/23docs: add comprehensive reboot-limit workflow documentationREADME.md defconfigs/reboot-limit docs/images/reboot_limit_example.png +1 more+272 -10 replies
15/23reboot-limit: add kexec-tools dependency installationplaybooks/roles/reboot-limit/tasks/install-deps/debian/main.yml playbooks/roles/reboot-limit/tasks/install-deps/main.yml playbooks/roles/reboot-limit/tasks/install-deps/redhat/main.yml +2 more+46 -00 replies
16/23reboot-limit: add A/B testing support targetsworkflows/demos/reboot-limit/Makefile+7 -10 replies
17/23reboot-limit: fix kexec and reboot connection handlingplaybooks/roles/reboot-limit/tasks/do-reboot.yml+126 -00 replies
18/23reboot-limit: add COUNT parameter to override reboot countworkflows/demos/reboot-limit/Makefile+8 -00 replies
19/23reboot-limit: fix wait_for tasks using wrong host referenceplaybooks/roles/reboot-limit/tasks/do-reboot.yml+4 -40 replies
20/23reboot-limit: use ansible reboot module for all reboot typesplaybooks/roles/reboot-limit/tasks/do-reboot.yml+12 -560 replies
21/23reboot-limit: fix COUNT parameter to properly override reboot countworkflows/demos/reboot-limit/Makefile+13 -80 replies
22/23reboot-limit: handle empty dev group gracefullyworkflows/demos/reboot-limit/Makefile+17 -120 replies
23/23reboot-limit: add kexec comparison featuredefconfigs/reboot-limit-compare defconfigs/reboot-limit-kexec playbooks/roles/gen_hosts/tasks/main.yml +9 more+828 -300 replies

Reviews trailers per patch

None of the 23 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChuck Lever
SeriesR-b
1/23
2/23
3/23
4/23
5/23
6/23
7/23
8/23
9/23
10/23
11/23
12/23
13/23
14/23
15/23
16/23
17/23
18/23
19/23
20/23
21/23
22/23
23/23

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/23] remove old kernel-ci and enhance reboot-limit

The CONFIG_KERNEL_CI thing was used back in the hay day before we adopted fstests SOAK_DURATION. Although CONFIG_KERNEL_CI proved useful to test fstests in a loop -- the only reasonable way to scale is to just embrace SOAK_DURATION and extend any twitches we need within fstests.

However only one workflow uses CONFIG_KERNEL_CI still. So move that functionality directly into the reboot-limit workflow which uses it. While at it, as a drive by, let's enhance the reboot limit workflow with kexec and also graphing capabilities allowing us to do A/B testing for reboots and kexec regression testings.

The rationale for this work si to help fix any misunderatandings on what kdevops's kernel CI support consists of, and CONFIG_KERNEL_CI certainly was not it. It's evolved now to just the kdevops kernel-ci repo and the the .ci/ symlinks, along with optional kernel-kpd trees for subsystems.

Luis Chamberlain (23):
fstests: remove CONFIG_KERNEL_CI support
fstests: remove kernel-ci script symlinks
blktests: remove CONFIG_KERNEL_CI support
gitr: remove CONFIG_KERNEL_CI support
ltp: remove CONFIG_KERNEL_CI support
nfstest: remove CONFIG_KERNEL_CI support
pynfs: remove CONFIG_KERNEL_CI support
reboot-limit: convert CONFIG_KERNEL_CI to internal loop feature
kconfig: remove CONFIG_KERNEL_CI infrastructure
scripts: remove kernel-ci loop infrastructure
reboot-limit: simplify what gets selected
reboot-limit: add graph visualization support for results
reboot-limit: save graphs in organized results/graphs directory
docs: add comprehensive reboot-limit workflow documentation
reboot-limit: add kexec-tools dependency installation
reboot-limit: add A/B testing support targets
reboot-limit: fix kexec and reboot connection handling
reboot-limit: add COUNT parameter to override reboot count
reboot-limit: fix wait_for tasks using wrong host reference
reboot-limit: use ansible reboot module for all reboot types
reboot-limit: fix COUNT parameter to properly override reboot count
reboot-limit: handle empty dev group gracefully
reboot-limit: add kexec comparison feature

 README.md                                     |  19 +-
 defconfigs/kernel-testing                     |   1 -
 defconfigs/reboot-limit                       |  31 +
 defconfigs/reboot-limit-compare               |  36 ++
 defconfigs/reboot-limit-kexec                 |  32 +
 docs/fstests.md                               |  13 +-
 docs/images/reboot_limit_example.png          | Bin 0 -> 735262 bytes
 docs/reboot-limit.md                          | 223 +++++++
 kconfigs/Kconfig.kdevops                      |   3 -
 kconfigs/Kconfig.kernel-ci                    | 170 -----
 playbooks/roles/gen_hosts/tasks/main.yml      |  13 +
 playbooks/roles/gen_hosts/templates/hosts.j2  |  55 +-
 playbooks/roles/gen_nodes/tasks/main.yml      |  32 +
 .../reboot-limit/tasks/do-reboot-compare.yml  | 126 ++++
 .../roles/reboot-limit/tasks/do-reboot.yml    |  98 ++-
 .../reboot-limit/tasks/handle-reboot-data.yml |  94 +++
 .../tasks/install-deps/debian/main.yml        |  10 +
 .../reboot-limit/tasks/install-deps/main.yml  |  12 +
 .../tasks/install-deps/redhat/main.yml        |  10 +
 .../tasks/install-deps/suse/main.yml          |  10 +
 playbooks/roles/reboot-limit/tasks/main.yml   |  88 ++-
 scripts/workflows/blktests/run_kernel_ci.sh   |   1 -
 .../workflows/blktests/run_kernel_ci_kotd.sh  |   1 -
 scripts/workflows/blktests/run_loop.sh        |  66 --
 .../demos/reboot-limit/analyze_results.py     | 609 ++++++++++++++++++
 .../reboot-limit/generate_sample_data.py      |  73 +++
 .../demos/reboot-limit/run_kernel_ci.sh       |   1 -
 .../demos/reboot-limit/run_kernel_ci_kotd.sh  |   1 -
 .../workflows/demos/reboot-limit/run_loop.sh  |  23 +-
 .../demos/reboot-limit/run_loop_kotd.sh       |  25 +
 scripts/workflows/fstests/run_kernel_ci.sh    |   1 -
 .../workflows/fstests/run_kernel_ci_kotd.sh   |   1 -
 scripts/workflows/fstests/run_loop.sh         |  98 ---
 scripts/workflows/generic/run_kernel_ci.sh    | 295 ---------
 scripts/workflows/gitr/run_kernel_ci.sh       |   1 -
 scripts/workflows/gitr/run_kernel_ci_kotd.sh  |   1 -
 scripts/workflows/gitr/run_loop.sh            |  58 --
 scripts/workflows/kotd/run_kernel_ci_kotd.sh  | 107 ---
 scripts/workflows/ltp/run_kernel_ci.sh        |   1 -
 scripts/workflows/ltp/run_kernel_ci_kotd.sh   |   1 -
 scripts/workflows/ltp/run_loop.sh             |  58 --
 scripts/workflows/nfstest/run_kernel_ci.sh    |   1 -
 .../workflows/nfstest/run_kernel_ci_kotd.sh   |   1 -
 scripts/workflows/nfstest/run_loop.sh         |  58 --
 scripts/workflows/pynfs/run_kernel_ci.sh      |   1 -
 scripts/workflows/pynfs/run_kernel_ci_kotd.sh |   1 -
 scripts/workflows/pynfs/run_loop.sh           |  79 ---
 workflows/blktests/Makefile                   |  13 -
 workflows/demos/reboot-limit/Kconfig          |  64 +-
 workflows/demos/reboot-limit/Makefile         | 117 +++-
 workflows/fstests/Makefile                    |  14 -
 workflows/gitr/Makefile                       |  19 -
 workflows/ltp/Makefile                        |  19 -
 workflows/nfstest/Makefile                    |  19 -
 workflows/pynfs/Makefile                      |  26 -
 55 files changed, 1737 insertions(+), 1193 deletions(-)
 create mode 100644 defconfigs/reboot-limit
 create mode 100644 defconfigs/reboot-limit-compare
 create mode 100644 defconfigs/reboot-limit-kexec
 create mode 100644 docs/images/reboot_limit_example.png
 create mode 100644 docs/reboot-limit.md
 delete mode 100644 kconfigs/Kconfig.kernel-ci
 create mode 100644 playbooks/roles/reboot-limit/tasks/do-reboot-compare.yml
 create mode 100644 playbooks/roles/reboot-limit/tasks/handle-reboot-data.yml
 create mode 100644 playbooks/roles/reboot-limit/tasks/install-deps/debian/main.yml
 create mode 100644 playbooks/roles/reboot-limit/tasks/install-deps/main.yml
 create mode 100644 playbooks/roles/reboot-limit/tasks/install-deps/redhat/main.yml
 create mode 100644 playbooks/roles/reboot-limit/tasks/install-deps/suse/main.yml
 delete mode 120000 scripts/workflows/blktests/run_kernel_ci.sh
 delete mode 120000 scripts/workflows/blktests/run_kernel_ci_kotd.sh
 delete mode 100755 scripts/workflows/blktests/run_loop.sh
 create mode 100755 scripts/workflows/demos/reboot-limit/analyze_results.py
 create mode 100755 scripts/workflows/demos/reboot-limit/generate_sample_data.py
 delete mode 120000 scripts/workflows/demos/reboot-limit/run_kernel_ci.sh
 delete mode 120000 scripts/workflows/demos/reboot-limit/run_kernel_ci_kotd.sh
 create mode 100755 scripts/workflows/demos/reboot-limit/run_loop_kotd.sh
 delete mode 120000 scripts/workflows/fstests/run_kernel_ci.sh
 delete mode 120000 scripts/workflows/fstests/run_kernel_ci_kotd.sh
 delete mode 100755 scripts/workflows/fstests/run_loop.sh
 delete mode 100755 scripts/workflows/generic/run_kernel_ci.sh
 delete mode 120000 scripts/workflows/gitr/run_kernel_ci.sh
 delete mode 120000 scripts/workflows/gitr/run_kernel_ci_kotd.sh
 delete mode 100755 scripts/workflows/gitr/run_loop.sh
 delete mode 100755 scripts/workflows/kotd/run_kernel_ci_kotd.sh
 delete mode 120000 scripts/workflows/ltp/run_kernel_ci.sh
 delete mode 120000 scripts/workflows/ltp/run_kernel_ci_kotd.sh
 delete mode 100755 scripts/workflows/ltp/run_loop.sh
 delete mode 120000 scripts/workflows/nfstest/run_kernel_ci.sh
 delete mode 120000 scripts/workflows/nfstest/run_kernel_ci_kotd.sh
 delete mode 100755 scripts/workflows/nfstest/run_loop.sh
 delete mode 120000 scripts/workflows/pynfs/run_kernel_ci.sh
 delete mode 120000 scripts/workflows/pynfs/run_kernel_ci_kotd.sh
 delete mode 100755 scripts/workflows/pynfs/run_loop.sh
Signature · 1 line
2.47.2