- LAVA
- Scheduler
- Jobs
- 11
- Definition
Job definition file - 11
download
# Your first LAVA JOB definition for a dra7xx-evm board
device_type: dra7-evm
job_name: AGL-test
notify:
criteria:
status: finished
callback:
url: https://kernelci.automotivelinux.org:8081/callback/lava/test?lab_name=AGL-core-lab-1&status={STATUS}&status_string={STATUS_STRING}
method: POST
dataset: all
token: lab-agl-core-callback-LF
content-type: json
timeouts:
job:
minutes: 360
action:
minutes: 360
connection:
minutes: 10
priority: medium
visibility: public
# ACTION_BLOCK
actions:
- deploy:
timeout:
minutes: 15
to: nbd
dtb:
url: 'https://download.automotivelinux.org/AGL/release/eel/5.0.3/dra7xx-evm/deploy/images/dra7xx-evm/zImage-dra7-evm-lcd-lg.dtb'
kernel:
url: 'https://download.automotivelinux.org/AGL/release/eel/5.0.3/dra7xx-evm/deploy/images/dra7xx-evm/zImage'
initrd:
url: 'https://download.automotivelinux.org/AGL/release/eel/5.0.3/dra7xx-evm/deploy/images/dra7xx-evm/initramfs-netboot-image-dra7xx-evm.ext4.gz'
allow_modify: false
nbdroot:
url: 'https://download.automotivelinux.org/AGL/release/eel/5.0.3/dra7xx-evm/deploy/images/dra7xx-evm/agl-demo-platform-crosssdk-dra7xx-evm.ext4.xz'
compression: xz
os: debian
failure_retry: 2
# BOOT_BLOCK
- boot:
method: u-boot
commands: nbd
type: bootz
prompts: ["root@dra7xx-evm:~"]
auto_login:
login_prompt: "login:"
username: root
transfer_overlay:
download_command: wget
unpack_command: tar -C / -xvpf
protocols:
lava-xnbd:
- action: nbd-deploy
request: set_port
- test:
definitions:
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
from: git
path: test-suites/short-smoke/busybox.yaml
name: busybox
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
from: git
path: test-suites/short-smoke/smoke-tests-basic.yaml
name: smoke-tests-basic
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
from: git
path: test-suites/short-smoke/service-check.yaml
name: service-check
# Your first LAVA JOB definition for a dra7xx-evm board
url: https://kernelci.automotivelinux.org:8081/callback/lava/test?lab_name=AGL-core-lab-1&status={STATUS}&status_string={STATUS_STRING}
token: lab-agl-core-callback-LF
url: 'https://download.automotivelinux.org/AGL/release/eel/5.0.3/dra7xx-evm/deploy/images/dra7xx-evm/zImage-dra7-evm-lcd-lg.dtb'
url: 'https://download.automotivelinux.org/AGL/release/eel/5.0.3/dra7xx-evm/deploy/images/dra7xx-evm/zImage'
url: 'https://download.automotivelinux.org/AGL/release/eel/5.0.3/dra7xx-evm/deploy/images/dra7xx-evm/initramfs-netboot-image-dra7xx-evm.ext4.gz'
url: 'https://download.automotivelinux.org/AGL/release/eel/5.0.3/dra7xx-evm/deploy/images/dra7xx-evm/agl-demo-platform-crosssdk-dra7xx-evm.ext4.xz'
prompts: ["root@dra7xx-evm:~"]
unpack_command: tar -C / -xvpf
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
path: test-suites/short-smoke/busybox.yaml
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
path: test-suites/short-smoke/smoke-tests-basic.yaml
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
path: test-suites/short-smoke/service-check.yaml