- LAVA
- Scheduler
- Jobs
- 35887
- Definition
Job definition file - 35887
download
device_type: qemu
job_name: AGL-gerrit-30168-1
timeouts:
job:
minutes: 150
action:
minutes: 30
connection:
minutes: 150
connections:
lava-test-shell:
minutes: 15
priority: medium
visibility: public
# context allows specific values to be overridden or included
context:
extra_kernel_args: systemd.mask=systemd-network-generator.service
context:
no_kvm: false
arch: aarch64
cpu: cortex-a57
machine: virt
memory: 4096
model: model=virtio
guestfs_interface: virtio
extra_options: ["-smp 2 -audiodev none,id=agl,out.channels=2,in.channels=1 -device ich9-intel-hda -device hda-micro,audiodev=agl -device usb-ehci -device virtio-rng-pci -device VGA,vgamem_mb=128,edid=on -device qemu-xhci -device usb-tablet -device usb-kbd -vnc unix:/tmp/vnc-AGL-qemuarm64-61408"]
actions:
- deploy:
timeout:
minutes: 90
to: tmpfs
os: oe
failure_retry: 2
protocols:
lava-xnbd:
- action: nbd-deploy
request: set_port
images:
kernel:
image_arg: '-kernel {kernel} -append "console=ttyAMA0,115200 root=/dev/vda verbose mem=4096M systemd.log_color=false "'
url: http://download.automotivelinux.org/AGL/upload/ci/30168/1/qemuarm64/Image
rootvd:
image_arg: '-drive format=raw,file={rootvd}'
url: http://download.automotivelinux.org/AGL/upload/ci/30168/1/qemuarm64/agl-ivi-demo-qt-qemuarm64.ext4.xz
compression: xz
- boot:
timeout:
minutes: 20
method: qemu
prompts:
- "root@qemuarm64:~"
- "qemuarm64:~#"
- '/ #'
auto_login:
login_prompt: "login:"
username: root
media: tmpfs
transfer_overlay:
download_command: wget
unpack_command: tar -C / -xvpf
- test:
failure_retry: 3
definitions:
- repository:
metadata:
format: Lava-Test Test Definition 1.0
name: fixup-weston-watchdog
description: "extend watchdog on virtual"
run:
steps:
# disable the watchdog - for slow systems
- sed -i -e "s#WatchdogSec=20#WatchdogSec=0#g" /usr/lib/systemd/system/agl-compositor.service
# disable the coredumps - for slow systems
- echo "kernel.core_pattern=/dev/null" > /etc/sysctl.d/50-coredump.conf
- sysctl -p /etc/sysctl.d/50-coredump.conf
- systemctl daemon-reload
- sleep 5
from: inline
name: fixup-weston-watchdog
path: inline/fixup-weston-watchdog.yaml
- test:
timeout:
minutes: 15
definitions:
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
from: git
history: False
path: test-suites/short-smoke/busybox.yaml
name: ci-busybox
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
from: git
history: False
path: test-suites/short-smoke/smoke-tests-basic.yaml
name: ci-smoke-tests-basic
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
from: git
history: False
path: test-suites/short-smoke/service-check.yaml
name: ci-service-check
parameters:
BUILD_TAGS: ""
DEVICE_TAGS: ""
- test:
timeout:
minutes: 25
definitions:
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
from: git
path: test-suites/short-smoke/screenshooter.yaml
name: screenshooter
- test:
timeout:
minutes: 15
definitions:
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
from: git
history: False
path: test-suites/short-smoke/dumpjournal.yaml
name: ci-dumpjournal
job_name: AGL-gerrit-30168-1
# context allows specific values to be overridden or included
extra_kernel_args: systemd.mask=systemd-network-generator.service
guestfs_interface: virtio
extra_options: ["-smp 2 -audiodev none,id=agl,out.channels=2,in.channels=1 -device ich9-intel-hda -device hda-micro,audiodev=agl -device usb-ehci -device virtio-rng-pci -device VGA,vgamem_mb=128,edid=on -device qemu-xhci -device usb-tablet -device usb-kbd -vnc unix:/tmp/vnc-AGL-qemuarm64-61408"]
image_arg: '-kernel {kernel} -append "console=ttyAMA0,115200 root=/dev/vda verbose mem=4096M systemd.log_color=false "'
url: http://download.automotivelinux.org/AGL/upload/ci/30168/1/qemuarm64/Image
image_arg: '-drive format=raw,file={rootvd}'
url: http://download.automotivelinux.org/AGL/upload/ci/30168/1/qemuarm64/agl-ivi-demo-qt-qemuarm64.ext4.xz
unpack_command: tar -C / -xvpf
format: Lava-Test Test Definition 1.0
name: fixup-weston-watchdog
description: "extend watchdog on virtual"
# disable the watchdog - for slow systems
- sed -i -e "s#WatchdogSec=20#WatchdogSec=0#g" /usr/lib/systemd/system/agl-compositor.service
# disable the coredumps - for slow systems
- echo "kernel.core_pattern=/dev/null" > /etc/sysctl.d/50-coredump.conf
- sysctl -p /etc/sysctl.d/50-coredump.conf
- systemctl daemon-reload
name: fixup-weston-watchdog
path: inline/fixup-weston-watchdog.yaml
- 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
name: ci-smoke-tests-basic
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
path: test-suites/short-smoke/service-check.yaml
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
path: test-suites/short-smoke/screenshooter.yaml
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
path: test-suites/short-smoke/dumpjournal.yaml