- LAVA
- Scheduler
- Jobs
- 37653
- Definition
Job definition file - 37653
download
device_type: bcm2712-rpi-5-b
context:
extra_kernel_args: console_msg_format=syslog
job_name: Health Check for bcm2712-rpi-5-b
timeouts:
job:
minutes: 10
action:
minutes: 10
actions:
power-off:
seconds: 30
priority: medium
visibility: public
protocols:
lava-xnbd:
port: auto
actions:
- deploy:
timeout:
minutes: 10
to: nbd
protocols:
lava-xnbd:
- action: nbd-deploy
request: set_port
kernel:
url: http://download.automotivelinux.org/AGL/release/ricefish/18.0.2/raspberrypi5/deploy/images/raspberrypi5/Image
type: image
initrd:
url: http://download.automotivelinux.org/AGL/release/ricefish/18.0.2/raspberrypi5/deploy/images/raspberrypi5/initramfs-netboot-image-raspberrypi5-20241028040434.ext4.gz
compression: gz
nbdroot:
url: http://download.automotivelinux.org/AGL/release/ricefish/18.0.2/raspberrypi5/deploy/images/raspberrypi5/agl-ivi-demo-qt-raspberrypi5-20241028040434.ext4.xz
compression: xz
dtb:
url: http://download.automotivelinux.org/AGL/release/ricefish/18.0.2/raspberrypi5/deploy/images/raspberrypi5/bcm2712-rpi-5-b.dtb
os: oe
postprocess:
steps:
- export
- boot:
timeout:
minutes: 20
method: minimal
prompts:
- "raspberrypi5:~#"
- '/ #'
auto_login:
login_prompt: "login:"
username: root
commands: nbd
transfer_overlay:
download_command: wget
unpack_command: tar -C / -xvpf
- 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
device_type: bcm2712-rpi-5-b
extra_kernel_args: console_msg_format=syslog
job_name: Health Check for bcm2712-rpi-5-b
url: http://download.automotivelinux.org/AGL/release/ricefish/18.0.2/raspberrypi5/deploy/images/raspberrypi5/Image
url: http://download.automotivelinux.org/AGL/release/ricefish/18.0.2/raspberrypi5/deploy/images/raspberrypi5/initramfs-netboot-image-raspberrypi5-20241028040434.ext4.gz
url: http://download.automotivelinux.org/AGL/release/ricefish/18.0.2/raspberrypi5/deploy/images/raspberrypi5/agl-ivi-demo-qt-raspberrypi5-20241028040434.ext4.xz
url: http://download.automotivelinux.org/AGL/release/ricefish/18.0.2/raspberrypi5/deploy/images/raspberrypi5/bcm2712-rpi-5-b.dtb
unpack_command: tar -C / -xvpf
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