Job definition file - 35792 download

Name
qemu-03 (reports)
Requested type
qemu (reports)
Copy to clipboard

1
2
3
metadata:
4
image.type: 'kernel-ci'
5
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/
6
kernel.tree: stable
7
kernel.version: v5.4.40
8
kernel.endian: little
9
kernel.defconfig: x86_64_defconfig
10
kernel.defconfig_base: x86_64_defconfig
11
kernel.arch_defconfig: x86_64-x86_64_defconfig
12
platform.dtb: None
13
platform.dtb_short: None
14
platform.fastboot: false
15
platform.name: qemu_x86_64
16
platform.mach: qemu
17
test.plan: baseline
18
test.plan_variant: baseline_qemu
19
git.commit: f015b86259a520ad886523d9ec6fdb0ed80edc38
20
git.describe: v5.4.40
21
git.branch: linux-5.4.y
22
git.url: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
23
device.type: qemu_x86_64
24
job.arch: x86_64
25
job.name: stable-linux-5.4.y-v5.4.40-x86_64-x86_64_defconfig-gcc-8-no-dtb-qemu_x86_64-baseline_qemu
26
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
27
job.kernel_image: bzImage
28
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
29
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
30
job.nfsrootfs_url: None
31
job.dtb_url: None
32
job.file_server_resource: stable/linux-5.4.y/v5.4.40/x86_64/x86_64_defconfig/gcc-8
33
job.build_environment: gcc-8
34
35
36
37
device_type: qemu
38
39
40
context:
41
arch: x86_64
42
cpu: qemu64
43
guestfs_interface: ide
44
extra_kernel_args: "no_timer_check"
45
46
47
48
job_name: Health Check for qemu with v5.4.40
49
timeouts:
50
job:
51
minutes: 10
52
action:
53
minutes: 10
54
actions:
55
power-off:
56
seconds: 30
57
priority: medium
58
visibility: public
59
60
61
62
63
64
actions:
65
- deploy:
66
timeout:
67
minutes: 3
68
to: tmpfs
69
os: oe
70
images:
71
kernel:
72
image_arg: '-kernel {kernel} -append "console=ttyS0,115200 root=/dev/ram0 debug verbose console_msg_format=syslog"'
73
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
74
ramdisk:
75
image_arg: '-initrd {ramdisk}'
76
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
77
78
- boot:
79
timeout:
80
minutes: 5
81
method: qemu
82
media: tmpfs
83
prompts:
84
- '/ #'
85
86
87
- test:
88
timeout:
89
minutes: 1
90
definitions:
91
- repository:
92
metadata:
93
format: Lava-Test Test Definition 1.0
94
name: baseline
95
description: "baseline test plan"
96
os:
97
- debian
98
scope:
99
- functional
100
environment:
101
- lava-test-shell
102
run:
103
steps:
104
- >
105
for level in warn err; do
106
dmesg --level=$level --notime -x -k > dmesg.$level
107
done
108
- >
109
for level in crit alert emerg; do
110
dmesg --level=$level --notime -x -k > dmesg.$level
111
test -s dmesg.$level && res=fail || res=pass
112
count=$(cat dmesg.$level | wc -l)
113
lava-test-case $level \
114
--result $res \
115
--measurement $count \
116
--units lines
117
done
118
- cat dmesg.emerg dmesg.alert dmesg.crit dmesg.err dmesg.warn
119
from: inline
120
name: dmesg
121
path: inline/dmesg.yaml
122
123
- test:
124
timeout:
125
minutes: 1
126
definitions:
127
- repository:
128
metadata:
129
format: Lava-Test Test Definition 1.0
130
name: baseline
131
description: "baseline test plan"
132
os:
133
- debian
134
scope:
135
- functional
136
environment:
137
- lava-test-shell
138
run:
139
steps:
140
- export PATH=/opt/bootrr/helpers:$PATH
141
- cd /opt/bootrr && sh helpers/bootrr-auto
142
lava-signal: kmsg
143
from: inline
144
name: bootrr
145
path: inline/bootrr.yaml