Skip to content

Add kbuild job with coverage enabled and run tests using this kernel #1131

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
13 changes: 13 additions & 0 deletions config/jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1315,6 +1315,19 @@ jobs:
- '!android'
- '!chromiumos'

kbuild-gcc-12-x86-coverage:
<<: *kbuild-gcc-12-x86-job
params:
<<: *kbuild-gcc-12-x86-params
fragments:
- 'coverage'
- 'kselftest'
- 'lab-setup'
- 'x86-board'
rules:
tree:
- 'kernelci'

kbuild-gcc-12-x86-kselftest:
<<: *kbuild-gcc-12-x86-job
params:
Expand Down
57 changes: 56 additions & 1 deletion config/scheduler-chromeos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,12 @@ _anchors:
<<: *test-job-x86-event
name: kbuild-gcc-12-x86-chromeos-daily-amd

test-job-x86-coverage: &test-job-x86-coverage
<<: *test-job-x86
event:
<<: *test-job-x86-event
name: kbuild-gcc-12-x86-coverage

test-job-x86-intel: &test-job-x86-intel
<<: *test-job-x86
platforms: *intel-platforms
Expand Down Expand Up @@ -440,18 +446,37 @@ scheduler:
- hp-11A-G6-EE-grunt
- hp-x360-12b-ca0010nr-n4020-octopus

- job: ltp-crypto
<<: *test-job-x86-coverage
platforms:
- asus-C523NA-A20057-coral
- hp-11A-G6-EE-grunt
- hp-x360-12b-ca0010nr-n4020-octopus

- job: ltp-fcntl-locktests
<<: *test-job-x86
platforms:
- asus-C433TA-AJ0005-rammus
- asus-C523NA-A20057-coral
- hp-11A-G6-EE-grunt

- job: ltp-fcntl-locktests
<<: *test-job-x86-coverage
platforms:
- asus-C433TA-AJ0005-rammus
- asus-C523NA-A20057-coral
- hp-11A-G6-EE-grunt

- job: ltp-ima
<<: *test-job-x86
platforms:
- asus-C523NA-A20057-coral

- job: ltp-ima
<<: *test-job-x86-coverage
platforms:
- asus-C523NA-A20057-coral

- job: ltp-ipc
<<: *test-job-x86
platforms:
Expand All @@ -460,28 +485,58 @@ scheduler:
- hp-11A-G6-EE-grunt
- hp-x360-12b-ca0010nr-n4020-octopus

- job: ltp-ipc
<<: *test-job-x86-coverage
platforms:
- acer-cp514-2h-1130g7-volteer
- asus-C436FA-Flip-hatch
- hp-11A-G6-EE-grunt
- hp-x360-12b-ca0010nr-n4020-octopus

- job: ltp-mm
<<: *test-job-x86
platforms:
- asus-C436FA-Flip-hatch
- hp-11A-G6-EE-grunt
- hp-x360-12b-ca0010nr-n4020-octopus

- job: ltp-mm
<<: *test-job-x86-coverage
platforms:
- asus-C436FA-Flip-hatch
- hp-11A-G6-EE-grunt
- hp-x360-12b-ca0010nr-n4020-octopus

- job: ltp-pty
<<: *test-job-x86
platforms:
- asus-C433TA-AJ0005-rammus
- asus-C523NA-A20057-coral
- hp-11A-G6-EE-grunt

- job: ltp-timers
- job: ltp-pty
<<: *test-job-x86-coverage
platforms:
- asus-C433TA-AJ0005-rammus
- asus-C523NA-A20057-coral
- hp-11A-G6-EE-grunt

- job: ltp-timers
<<: *test-job-x86
platforms:
- asus-C433TA-AJ0005-rammus
- asus-C436FA-Flip-hatch
- asus-C523NA-A20057-coral
- hp-11A-G6-EE-grunt

- job: ltp-timers
<<: *test-job-x86-coverage
platforms:
- asus-C433TA-AJ0005-rammus
- asus-C436FA-Flip-hatch
- asus-C523NA-A20057-coral
- hp-11A-G6-EE-grunt

# Some of this tests running too long, must be max 30 min
- job: tast-decoder-chromestack-arm64-mediatek
<<: *test-job-chromeos-mediatek
Expand Down
3 changes: 3 additions & 0 deletions config/scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,9 @@ scheduler:
- job: kbuild-gcc-12-x86-build-only
<<: *build-k8s-all

- job: kbuild-gcc-12-x86-coverage
<<: *build-k8s-all

- job: kbuild-gcc-12-x86-kcidebug
<<: *build-k8s-all

Expand Down