Skip to content

Define fault injection job #1151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions config/jobs-chromeos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,23 @@ _anchors:
- next
- collabora-chromeos-kernel

fault-injection-cros-kernel: &fault-injection-cros-kernel-job
template: generic.jinja2
kind: job
params: &fault-injection-cros-kernel-job-params
test_method: fault-injection
test_name: suspend-resume
test_command: 'rtcwake -m mem -s 15'
boot_commands: nfs
nfsroot: 'https://storage.kernelci.org/images/rootfs/debian/bookworm-fault-injection/20250520.0/{debarch}/'
extra_kernel_args: "lsm=capability,landlock,yama,loadpin,safesetid,selinux,bpf"
rules:
tree:
- chromiumos
branch:
- 'chromiumos:chromeos-6.6'
kcidb_test_suite: kernelci_fault_injection

watchdog-reset: &watchdog-reset-job
template: generic.jinja2
kind: job
Expand Down Expand Up @@ -515,6 +532,8 @@ jobs:
baseline-nfs-x86-amd-cros-kernel: *baseline-nfs-cros-kernel-job
baseline-nfs-x86-intel-cros-kernel: *baseline-nfs-cros-kernel-job

fault-injection-x86-intel-cros-kernel: *fault-injection-cros-kernel-job

kbuild-clang-17-arm64-chromeos-daily-mediatek:
<<: *kbuild-clang-17-arm64-chromeos-job
params:
Expand Down Expand Up @@ -651,6 +670,24 @@ jobs:
tree:
- 'chromiumos'

kbuild-gcc-12-x86-chromeos-daily-intel-fault-injection:
<<: *kbuild-gcc-12-x86-chromeos-job
params:
<<: *kbuild-gcc-12-x86-chromeos-intel-params
frequency: 1d
fragments:
- lab-setup
- x86-board
- fault-injection
- CONFIG_MODULE_COMPRESS=n
- CONFIG_MODULE_COMPRESS_NONE=y
rules:
<<: *kbuild-gcc-12-x86-chromeos-rules
tree:
- 'chromiumos'
branch:
- 'chromiumos:chromeos-6.6'

kselftest-acpi:
template: generic.jinja2
kind: job
Expand Down
9 changes: 9 additions & 0 deletions config/scheduler-chromeos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,15 @@ scheduler:
- acer-chromebox-cxi5-brask
- acer-n20q11-r856ltn-p1s2-nissa

- job: kbuild-gcc-12-x86-chromeos-daily-intel-fault-injection
<<: *build-k8s-all

- job: fault-injection-x86-intel-cros-kernel
<<: *test-job-x86-intel-cros-kernel
event:
<<: *test-job-x86-event
name: kbuild-gcc-12-x86-chromeos-daily-intel-fault-injection

- job: kbuild-clang-17-arm64-chromeos-daily-mediatek
<<: *build-k8s-all

Expand Down