public inbox for kdevops@lists.linux.dev
 help / color / mirror / Atom feed
From: Luis Chamberlain <mcgrof@kernel.org>
To: Chuck Lever <cel@kernel.org>, Daniel Gomez <da.gomez@kruces.com>,
	kdevops@lists.linux.dev
Cc: Luis Chamberlain <mcgrof@kernel.org>
Subject: [PATCH 00/23] remove old kernel-ci and enhance reboot-limit
Date: Mon, 11 Aug 2025 15:24:27 -0700	[thread overview]
Message-ID: <20250811222452.2213071-1-mcgrof@kernel.org> (raw)

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

-- 
2.47.2


             reply	other threads:[~2025-08-11 22:24 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-11 22:24 Luis Chamberlain [this message]
2025-08-11 22:24 ` [PATCH 01/23] fstests: remove CONFIG_KERNEL_CI support Luis Chamberlain
2025-08-11 22:24 ` [PATCH 02/23] fstests: remove kernel-ci script symlinks Luis Chamberlain
2025-08-11 22:24 ` [PATCH 03/23] blktests: remove CONFIG_KERNEL_CI support Luis Chamberlain
2025-08-11 22:24 ` [PATCH 04/23] gitr: " Luis Chamberlain
2025-08-11 22:24 ` [PATCH 05/23] ltp: " Luis Chamberlain
2025-08-11 22:24 ` [PATCH 06/23] nfstest: " Luis Chamberlain
2025-08-11 22:24 ` [PATCH 07/23] pynfs: " Luis Chamberlain
2025-08-11 22:24 ` [PATCH 08/23] reboot-limit: convert CONFIG_KERNEL_CI to internal loop feature Luis Chamberlain
2025-08-11 22:24 ` [PATCH 09/23] kconfig: remove CONFIG_KERNEL_CI infrastructure Luis Chamberlain
2025-08-11 22:24 ` [PATCH 10/23] scripts: remove kernel-ci loop infrastructure Luis Chamberlain
2025-08-11 22:24 ` [PATCH 11/23] reboot-limit: simplify what gets selected Luis Chamberlain
2025-08-11 22:24 ` [PATCH 12/23] reboot-limit: add graph visualization support for results Luis Chamberlain
2025-08-11 22:24 ` [PATCH 13/23] reboot-limit: save graphs in organized results/graphs directory Luis Chamberlain
2025-08-11 22:24 ` [PATCH 14/23] docs: add comprehensive reboot-limit workflow documentation Luis Chamberlain
2025-08-11 22:24 ` [PATCH 15/23] reboot-limit: add kexec-tools dependency installation Luis Chamberlain
2025-08-11 22:24 ` [PATCH 16/23] reboot-limit: add A/B testing support targets Luis Chamberlain
2025-08-11 22:24 ` [PATCH 17/23] reboot-limit: fix kexec and reboot connection handling Luis Chamberlain
2025-08-11 22:24 ` [PATCH 18/23] reboot-limit: add COUNT parameter to override reboot count Luis Chamberlain
2025-08-11 22:24 ` [PATCH 19/23] reboot-limit: fix wait_for tasks using wrong host reference Luis Chamberlain
2025-08-11 22:24 ` [PATCH 20/23] reboot-limit: use ansible reboot module for all reboot types Luis Chamberlain
2025-08-11 22:24 ` [PATCH 21/23] reboot-limit: fix COUNT parameter to properly override reboot count Luis Chamberlain
2025-08-11 22:24 ` [PATCH 22/23] reboot-limit: handle empty dev group gracefully Luis Chamberlain
2025-08-11 22:24 ` [PATCH 23/23] reboot-limit: add kexec comparison feature Luis Chamberlain
2025-08-12 15:06 ` [PATCH 00/23] remove old kernel-ci and enhance reboot-limit Chuck Lever
2025-08-13  1:28   ` Luis Chamberlain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250811222452.2213071-1-mcgrof@kernel.org \
    --to=mcgrof@kernel.org \
    --cc=cel@kernel.org \
    --cc=da.gomez@kruces.com \
    --cc=kdevops@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox