- LAVA
- Scheduler
- Jobs
- 35776
- Definition
Job definition file - 35776
download
metadata:
image.type: 'kernel-ci'
image.url: https://github.com/montjoie/lava-healthchecks-binary/blob/master/stable/linux-5.4.y/v5.4.40/x86_64/x86_64_defconfig/gcc-8/
kernel.tree: stable
kernel.version: v5.4.40
kernel.endian: little
kernel.defconfig: x86_64_defconfig
kernel.defconfig_base: x86_64_defconfig
kernel.arch_defconfig: x86_64-x86_64_defconfig
platform.dtb: None
platform.dtb_short: None
platform.fastboot: false
platform.name: qemu_x86_64
platform.mach: qemu
test.plan: baseline
test.plan_variant: baseline_qemu
git.commit: f015b86259a520ad886523d9ec6fdb0ed80edc38
git.describe: v5.4.40
git.branch: linux-5.4.y
git.url: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
device.type: qemu_x86_64
job.arch: x86_64
job.name: stable-linux-5.4.y-v5.4.40-x86_64-x86_64_defconfig-gcc-8-no-dtb-qemu_x86_64-baseline_qemu
job.kernel_url: https://github.com/montjoie/lava-healthchecks-binary/blob/master/stable/linux-5.4.y/v5.4.40/x86_64/x86_64_defconfig/gcc-8/bzImage?raw=true
job.kernel_image: bzImage
job.modules_url: https://github.com/montjoie/lava-healthchecks-binary/blob/master/stable/linux-5.4.y/v5.4.40/x86_64/x86_64_defconfig/gcc-8/modules.tar.xz?raw=true
job.initrd_url: https://github.com/montjoie/lava-healthchecks-binary/blob/master/images/rootfs/buildroot/kci-2019.02-9-g25091c539382/x86/baseline/rootfs.cpio.gz?raw=true
job.nfsrootfs_url: None
job.dtb_url: None
job.file_server_resource: stable/linux-5.4.y/v5.4.40/x86_64/x86_64_defconfig/gcc-8
job.build_environment: gcc-8
device_type: qemu
context:
arch: x86_64
cpu: qemu64
guestfs_interface: ide
extra_kernel_args: "no_timer_check"
job_name: Health Check for qemu with v5.4.40
timeouts:
job:
minutes: 10
action:
minutes: 10
actions:
power-off:
seconds: 30
priority: medium
visibility: public
actions:
- deploy:
timeout:
minutes: 3
to: tmpfs
os: oe
images:
kernel:
image_arg: '-kernel {kernel} -append "console=ttyS0,115200 root=/dev/ram0 debug verbose console_msg_format=syslog"'
url: https://github.com/montjoie/lava-healthchecks-binary/blob/master/stable/linux-5.4.y/v5.4.40/x86_64/x86_64_defconfig/gcc-8/bzImage?raw=true
ramdisk:
image_arg: '-initrd {ramdisk}'
url: https://github.com/montjoie/lava-healthchecks-binary/blob/master/images/rootfs/buildroot/kci-2019.02-9-g25091c539382/x86/baseline/rootfs.cpio.gz?raw=true
- boot:
timeout:
minutes: 5
method: qemu
media: tmpfs
prompts:
- '/ #'
- test:
timeout:
minutes: 1
definitions:
- repository:
metadata:
format: Lava-Test Test Definition 1.0
name: baseline
description: "baseline test plan"
os:
- debian
scope:
- functional
environment:
- lava-test-shell
run:
steps:
- >
for level in warn err; do
dmesg --level=$level --notime -x -k > dmesg.$level
done
- >
for level in crit alert emerg; do
dmesg --level=$level --notime -x -k > dmesg.$level
test -s dmesg.$level && res=fail || res=pass
count=$(cat dmesg.$level | wc -l)
lava-test-case $level \
--result $res \
--measurement $count \
--units lines
done
- cat dmesg.emerg dmesg.alert dmesg.crit dmesg.err dmesg.warn
from: inline
name: dmesg
path: inline/dmesg.yaml
- test:
timeout:
minutes: 1
definitions:
- repository:
metadata:
format: Lava-Test Test Definition 1.0
name: baseline
description: "baseline test plan"
os:
- debian
scope:
- functional
environment:
- lava-test-shell
run:
steps:
- export PATH=/opt/bootrr/helpers:$PATH
- cd /opt/bootrr && sh helpers/bootrr-auto
lava-signal: kmsg
from: inline
name: bootrr
path: inline/bootrr.yaml
image.url: https://github.com/montjoie/lava-healthchecks-binary/blob/master/stable/linux-5.4.y/v5.4.40/x86_64/x86_64_defconfig/gcc-8/
kernel.defconfig: x86_64_defconfig
kernel.defconfig_base: x86_64_defconfig
kernel.arch_defconfig: x86_64-x86_64_defconfig
platform.name: qemu_x86_64
test.plan_variant: baseline_qemu
git.commit: f015b86259a520ad886523d9ec6fdb0ed80edc38
git.url: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
job.name: stable-linux-5.4.y-v5.4.40-x86_64-x86_64_defconfig-gcc-8-no-dtb-qemu_x86_64-baseline_qemu
job.kernel_url: https://github.com/montjoie/lava-healthchecks-binary/blob/master/stable/linux-5.4.y/v5.4.40/x86_64/x86_64_defconfig/gcc-8/bzImage?raw=true
job.kernel_image: bzImage
job.modules_url: https://github.com/montjoie/lava-healthchecks-binary/blob/master/stable/linux-5.4.y/v5.4.40/x86_64/x86_64_defconfig/gcc-8/modules.tar.xz?raw=true
job.initrd_url: https://github.com/montjoie/lava-healthchecks-binary/blob/master/images/rootfs/buildroot/kci-2019.02-9-g25091c539382/x86/baseline/rootfs.cpio.gz?raw=true
job.file_server_resource: stable/linux-5.4.y/v5.4.40/x86_64/x86_64_defconfig/gcc-8
job.build_environment: gcc-8
extra_kernel_args: "no_timer_check"
job_name: Health Check for qemu with v5.4.40
image_arg: '-kernel {kernel} -append "console=ttyS0,115200 root=/dev/ram0 debug verbose console_msg_format=syslog"'
url: https://github.com/montjoie/lava-healthchecks-binary/blob/master/stable/linux-5.4.y/v5.4.40/x86_64/x86_64_defconfig/gcc-8/bzImage?raw=true
image_arg: '-initrd {ramdisk}'
url: https://github.com/montjoie/lava-healthchecks-binary/blob/master/images/rootfs/buildroot/kci-2019.02-9-g25091c539382/x86/baseline/rootfs.cpio.gz?raw=true
format: Lava-Test Test Definition 1.0
description: "baseline test plan"
for level in warn err; do
dmesg --level=$level --notime -x -k > dmesg.$level
for level in crit alert emerg; do
dmesg --level=$level --notime -x -k > dmesg.$level
test -s dmesg.$level && res=fail || res=pass
count=$(cat dmesg.$level | wc -l)
- cat dmesg.emerg dmesg.alert dmesg.crit dmesg.err dmesg.warn
format: Lava-Test Test Definition 1.0
description: "baseline test plan"
- export PATH=/opt/bootrr/helpers:$PATH
- cd /opt/bootrr && sh helpers/bootrr-auto