Skip to content

Commit

Permalink
kver.jinja2: delete hack for kver failure
Browse files Browse the repository at this point in the history
The hack was added as a temporary fix for `kver`
job. As now the actual fix has been sent to the API,
drop the hack from the job template.

Signed-off-by: Jeny Sadadia <jeny.sadadia@collabora.com>
  • Loading branch information
Jeny Sadadia committed Feb 12, 2024
1 parent 8b50bf2 commit 76bae4f
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 96 deletions.
1 change: 1 addition & 0 deletions config/kernelci.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ verbose = true
poll_period = 0
startup_delay = 3
timeout = 60
force = 1

[tarball]
kdir = "/home/kernelci/data/src/linux"
Expand Down
162 changes: 69 additions & 93 deletions config/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,73 +169,73 @@ jobs:
# template: 'fstests.jinja2'
# image: 'kernelci/staging-kernelci'

baseline-arm64: *baseline-job
baseline-arm64-chromebook: *baseline-job
baseline-x86: *baseline-job
baseline-x86-board: *baseline-job
baseline-x86-board-staging: *baseline-job

kbuild-gcc-10-arm64:
<<: *kbuild-gcc-10-arm64-job

kbuild-gcc-10-arm64-chromebook:
<<: *kbuild-gcc-10-arm64-job
params:
<<: *kbuild-gcc-10-arm64-params
cross_compile_compat: 'arm-linux-gnueabihf-'
fragments: ['arm64-chromebook']

kbuild-gcc-10-arm:
<<: *kbuild-job
image: kernelci/staging-gcc-10:arm64-kselftest-kernelci
params:
arch: arm
compiler: gcc-10
cross_compile: 'arm-linux-gnueabihf-'
defconfig: defconfig

kbuild-gcc-10-i386:
<<: *kbuild-job
image: kernelci/staging-gcc-10:x86-kselftest-kernelci
params:
arch: i386
compiler: gcc-10
defconfig: i386_defconfig

kbuild-gcc-10-riscv:
<<: *kbuild-job
image: kernelci/staging-gcc-10:riscv64-kselftest-kernelci
params:
arch: riscv
compiler: gcc-10
cross_compile: 'riscv64-linux-gnu-'
defconfig: defconfig

kbuild-gcc-10-x86:
<<: *kbuild-gcc-10-x86-job

kbuild-gcc-10-x86-board:
<<: *kbuild-gcc-10-x86-job
params:
<<: *kbuild-gcc-10-x86-params
fragments: ['x86-board']

kbuild-gcc-10-x86-chromeos:
<<: *kbuild-gcc-10-x86-job
params:
<<: *kbuild-gcc-10-x86-params
defconfig: allnoconfig
fragments: ['x86-board','cros://chromeos-6.1/x86_64/chromeos-intel-pineview.flavour.config','CONFIG_MODULE_COMPRESS=n']

kunit: &kunit-job
template: kunit.jinja2
kind: test
image: kernelci/staging-gcc-10:x86-kunit-kernelci

kunit-x86_64:
<<: *kunit-job
params:
arch: x86_64
# baseline-arm64: *baseline-job
# baseline-arm64-chromebook: *baseline-job
# baseline-x86: *baseline-job
# baseline-x86-board: *baseline-job
# baseline-x86-board-staging: *baseline-job

# kbuild-gcc-10-arm64:
# <<: *kbuild-gcc-10-arm64-job

# kbuild-gcc-10-arm64-chromebook:
# <<: *kbuild-gcc-10-arm64-job
# params:
# <<: *kbuild-gcc-10-arm64-params
# cross_compile_compat: 'arm-linux-gnueabihf-'
# fragments: ['arm64-chromebook']

# kbuild-gcc-10-arm:
# <<: *kbuild-job
# image: kernelci/staging-gcc-10:arm64-kselftest-kernelci
# params:
# arch: arm
# compiler: gcc-10
# cross_compile: 'arm-linux-gnueabihf-'
# defconfig: defconfig

# kbuild-gcc-10-i386:
# <<: *kbuild-job
# image: kernelci/staging-gcc-10:x86-kselftest-kernelci
# params:
# arch: i386
# compiler: gcc-10
# defconfig: i386_defconfig

# kbuild-gcc-10-riscv:
# <<: *kbuild-job
# image: kernelci/staging-gcc-10:riscv64-kselftest-kernelci
# params:
# arch: riscv
# compiler: gcc-10
# cross_compile: 'riscv64-linux-gnu-'
# defconfig: defconfig

# kbuild-gcc-10-x86:
# <<: *kbuild-gcc-10-x86-job

# kbuild-gcc-10-x86-board:
# <<: *kbuild-gcc-10-x86-job
# params:
# <<: *kbuild-gcc-10-x86-params
# fragments: ['x86-board']

# kbuild-gcc-10-x86-chromeos:
# <<: *kbuild-gcc-10-x86-job
# params:
# <<: *kbuild-gcc-10-x86-params
# defconfig: allnoconfig
# fragments: ['x86-board','cros://chromeos-6.1/x86_64/chromeos-intel-pineview.flavour.config','CONFIG_MODULE_COMPRESS=n']

# kunit: &kunit-job
# template: kunit.jinja2
# kind: test
# image: kernelci/staging-gcc-10:x86-kunit-kernelci

# kunit-x86_64:
# <<: *kunit-job
# params:
# arch: x86_64

kver:
template: kver.jinja2
Expand Down Expand Up @@ -476,31 +476,7 @@ build_configs:
branch: 'master'
variants: *build-variants

stable-rc_4.19: &stable-rc
tree: stable-rc
branch: 'linux-4.19.y'
variants: *build-variants

stable-rc_5.4:
<<: *stable-rc
branch: 'linux-5.4.y'

stable-rc_5.10:
<<: *stable-rc
branch: 'linux-5.10.y'

stable-rc_5.15:
<<: *stable-rc
branch: 'linux-5.15.y'

stable-rc_6.1:
<<: *stable-rc
branch: 'linux-6.1.y'

stable-rc_6.6:
<<: *stable-rc
tree: stable-rc
branch: 'linux-6.6.y'

stable-rc_6.7:
<<: *stable-rc
branch: 'linux-6.7.y'
variants: *build-variants
6 changes: 3 additions & 3 deletions config/runtime/kver.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ class Job(BaseJob):
return False

return (
int(kver['version']) == mkver['VERSION'] and
int(kver['patchlevel']) == mkver['PATCHLEVEL'] and (
kver['version'] == mkver['VERSION'] and
kver['patchlevel'] == mkver['PATCHLEVEL'] and (
not mkver['SUBLEVEL'] or
int(kver['sublevel']) == mkver['SUBLEVEL']
kver['sublevel'] == mkver['SUBLEVEL']
) and (
not mkver['EXTRAVERSION'] or
kver['extra'].startswith(mkver['EXTRAVERSION'])
Expand Down

0 comments on commit 76bae4f

Please sign in to comment.