Job definition file - 10983 download

Copy to clipboard

1
2
3
4
metadata:
5
image.type: 'kernel-ci'
6
image.url: https://github.com/montjoie/lava-healthchecks-binary/blob/master/mainline/master/v5.5-rc6/arm64/defconfig/gcc-8/
7
kernel.tree: mainline
8
kernel.version: v5.5-rc6
9
kernel.endian: little
10
kernel.defconfig: defconfig
11
kernel.defconfig_base: defconfig
12
kernel.arch_defconfig: arm64-defconfig
13
platform.dtb: broadcom/bcm2711-rpi-4-b.dtb
14
platform.dtb_short: bcm2711-rpi-4-b.dtb
15
platform.fastboot: false
16
platform.name: bcm2711-rpi-4-b
17
platform.mach: broadcom
18
test.plan: baseline
19
test.plan_variant: baseline
20
git.commit: b3a987b0264d3ddbb24293ebff10eddfc472f653
21
git.describe: v5.5-rc6
22
git.branch: master
23
git.url: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
24
device.type: bcm2711-rpi-4-b
25
job.arch: arm64
26
job.name: mainline-master-v5.5-rc6-arm64-defconfig-gcc-8-bcm2711-rpi-4-b.dtb-bcm2711-rpi-4-b-baseline
27
job.kernel_url: https://github.com/montjoie/lava-healthchecks-binary/blob/master/mainline/master/v5.5-rc6/arm64/defconfig/gcc-8/Image?raw=true
28
job.kernel_image: Image
29
job.modules_url: https://github.com/montjoie/lava-healthchecks-binary/blob/master/mainline/master/v5.5-rc6/arm64/defconfig/gcc-8/modules.tar.xz?raw=true
30
job.initrd_url: https://github.com/montjoie/lava-healthchecks-binary/blob/master/images/rootfs/buildroot/kci-2019.02-8-gd700ebb99e8f/arm64/baseline/rootfs.cpio.gz?raw=true
31
job.nfsrootfs_url: None
32
job.dtb_url: https://github.com/montjoie/lava-healthchecks-binary/blob/master/mainline/master/v5.5-rc6/arm64/defconfig/gcc-8/dtbs/broadcom/bcm2711-rpi-4-b.dtb?raw=true
33
job.file_server_resource: mainline/master/v5.5-rc6/arm64/defconfig/gcc-8
34
job.build_environment: gcc-8
35
36
37
38
39
40
41
42
device_type: bcm2711-rpi-4-b
43
44
45
context:
46
extra_kernel_args: console_msg_format=syslog
47
48
49
50
job_name: Health Check for bcm2711-rpi-4-b with v5.5-rc6
51
timeouts:
52
job:
53
minutes: 10
54
action:
55
minutes: 10
56
actions:
57
power-off:
58
seconds: 30
59
priority: medium
60
visibility: public
61
62
63
64
65
66
67
actions:
68
- deploy:
69
timeout:
70
minutes: 10
71
to: tftp
72
kernel:
73
url: https://github.com/montjoie/lava-healthchecks-binary/blob/master/mainline/master/v5.5-rc6/arm64/defconfig/gcc-8/Image?raw=true
74
type: image
75
ramdisk:
76
url: https://github.com/montjoie/lava-healthchecks-binary/blob/master/images/rootfs/buildroot/kci-2019.02-8-gd700ebb99e8f/arm64/baseline/rootfs.cpio.gz?raw=true
77
compression: gz
78
modules:
79
url: https://github.com/montjoie/lava-healthchecks-binary/blob/master/mainline/master/v5.5-rc6/arm64/defconfig/gcc-8/modules.tar.xz?raw=true
80
compression: xz
81
dtb:
82
url: https://github.com/montjoie/lava-healthchecks-binary/blob/master/mainline/master/v5.5-rc6/arm64/defconfig/gcc-8/dtbs/broadcom/bcm2711-rpi-4-b.dtb?raw=true
83
os: oe
84
85
86
- boot:
87
timeout:
88
minutes: 5
89
method: u-boot
90
commands: ramdisk
91
prompts:
92
- '/ #'
93
94
95
- test:
96
timeout:
97
minutes: 1
98
definitions:
99
- repository:
100
metadata:
101
format: Lava-Test Test Definition 1.0
102
name: baseline
103
description: "baseline test plan"
104
os:
105
- debian
106
scope:
107
- functional
108
environment:
109
- lava-test-shell
110
run:
111
steps:
112
- >
113
for level in warn err; do
114
dmesg --level=$level --notime -x -k > dmesg.$level
115
done
116
- >
117
for level in crit alert emerg; do
118
dmesg --level=$level --notime -x -k > dmesg.$level
119
test -s dmesg.$level && res=fail || res=pass
120
count=$(cat dmesg.$level | wc -l)
121
lava-test-case $level \
122
--result $res \
123
--measurement $count \
124
--units lines
125
done
126
- cat dmesg.emerg dmesg.alert dmesg.crit dmesg.err dmesg.warn
127
from: inline
128
name: dmesg
129
path: inline/dmesg.yaml
130
131
- test:
132
timeout:
133
minutes: 1
134
definitions:
135
- repository:
136
metadata:
137
format: Lava-Test Test Definition 1.0
138
name: baseline
139
description: "baseline test plan"
140
os:
141
- debian
142
scope:
143
- functional
144
environment:
145
- lava-test-shell
146
run:
147
steps:
148
- export PATH=/opt/bootrr/helpers:$PATH
149
- cd /opt/bootrr && sh helpers/bootrr-auto
150
lava-signal: kmsg
151
from: inline
152
name: bootrr
153
path: inline/bootrr.yaml