Job definition file - 37653 download

Copy to clipboard

1
device_type: bcm2712-rpi-5-b
2
3
context:
4
extra_kernel_args: console_msg_format=syslog
5
6
job_name: Health Check for bcm2712-rpi-5-b
7
timeouts:
8
job:
9
minutes: 10
10
action:
11
minutes: 10
12
actions:
13
power-off:
14
seconds: 30
15
priority: medium
16
visibility: public
17
18
19
20
protocols:
21
lava-xnbd:
22
port: auto
23
24
25
26
actions:
27
- deploy:
28
timeout:
29
minutes: 10
30
to: nbd
31
protocols:
32
lava-xnbd:
33
- action: nbd-deploy
34
request: set_port
35
kernel:
36
url: http://download.automotivelinux.org/AGL/release/ricefish/18.0.2/raspberrypi5/deploy/images/raspberrypi5/Image
37
type: image
38
initrd:
39
url: http://download.automotivelinux.org/AGL/release/ricefish/18.0.2/raspberrypi5/deploy/images/raspberrypi5/initramfs-netboot-image-raspberrypi5-20241028040434.ext4.gz
40
compression: gz
41
nbdroot:
42
url: http://download.automotivelinux.org/AGL/release/ricefish/18.0.2/raspberrypi5/deploy/images/raspberrypi5/agl-ivi-demo-qt-raspberrypi5-20241028040434.ext4.xz
43
compression: xz
44
dtb:
45
url: http://download.automotivelinux.org/AGL/release/ricefish/18.0.2/raspberrypi5/deploy/images/raspberrypi5/bcm2712-rpi-5-b.dtb
46
os: oe
47
postprocess:
48
steps:
49
- export
50
51
52
- boot:
53
timeout:
54
minutes: 20
55
method: minimal
56
prompts:
57
- "raspberrypi5:~#"
58
- '/ #'
59
auto_login:
60
login_prompt: "login:"
61
username: root
62
commands: nbd
63
transfer_overlay:
64
download_command: wget
65
unpack_command: tar -C / -xvpf
66
- test:
67
timeout:
68
minutes: 1
69
definitions:
70
- repository:
71
metadata:
72
format: Lava-Test Test Definition 1.0
73
name: baseline
74
description: "baseline test plan"
75
os:
76
- debian
77
scope:
78
- functional
79
environment:
80
- lava-test-shell
81
run:
82
steps:
83
- >
84
for level in warn err; do
85
dmesg --level=$level --notime -x -k > dmesg.$level
86
done
87
- >
88
for level in crit alert emerg; do
89
dmesg --level=$level --notime -x -k > dmesg.$level
90
test -s dmesg.$level && res=fail || res=pass
91
count=$(cat dmesg.$level | wc -l)
92
lava-test-case $level \
93
--result $res \
94
--measurement $count \
95
--units lines
96
done
97
- cat dmesg.emerg dmesg.alert dmesg.crit dmesg.err dmesg.warn
98
from: inline
99
name: dmesg
100
path: inline/dmesg.yaml
101
102
- test:
103
timeout:
104
minutes: 1
105
definitions:
106
- repository:
107
metadata:
108
format: Lava-Test Test Definition 1.0
109
name: baseline
110
description: "baseline test plan"
111
os:
112
- debian
113
scope:
114
- functional
115
environment:
116
- lava-test-shell
117
run:
118
steps:
119
- export PATH=/opt/bootrr/helpers:$PATH
120
- cd /opt/bootrr && sh helpers/bootrr-auto
121
lava-signal: kmsg
122
from: inline
123
name: bootrr
124
path: inline/bootrr.yaml