- LAVA
- Scheduler
- Jobs
- 33216
- Definition
Job definition file - 33216
download
device_type: qemu
job_name: AGL-gerrit--
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: arm
cpu: cortex-a15
machine: virt-2.11
memory: 2048
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-qemuarm-707026"]
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 earlyprintk systemd.log_color=false mem=2048M vmalloc=192M memblock=debug cma=160M "'
url: https://download.automotivelinux.org/AGL/upload/ci/pike/16.0.2/qemuarm/deploy/images/qemuarm//zImage
rootvd:
image_arg: '-drive format=raw,file={rootvd}'
url: https://download.automotivelinux.org/AGL/upload/ci/pike/16.0.2/qemuarm/deploy/images/qemuarm//agl-demo-platform-crosssdk-qemuarm.ext4.xz
compression: xz
- boot:
timeout:
minutes: 20
method: qemu
docker:
image: dl9pf/qemu
binary: qemu-system-arm
prompts:
- "root@qemuarm:~"
- "qemuarm:~#"
- '/ #'
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: release-busybox
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
from: git
history: False
path: test-suites/short-smoke/smoke-tests-basic.yaml
name: release-smoke-tests-basic
- test:
timeout:
minutes: 90
definitions:
- repository: https://git.linaro.org/qa/test-definitions.git
from: git
history: False
path: automated/linux/ptest/ptest.yaml
name: release-linaro-ptest
parameters:
TESTS: "dbus-test glib-2.0 lua"
- 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
# 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-qemuarm-707026"]
image_arg: '-kernel {kernel} -append "console=ttyAMA0,115200 root=/dev/vda verbose earlyprintk systemd.log_color=false mem=2048M vmalloc=192M memblock=debug cma=160M "'
url: https://download.automotivelinux.org/AGL/upload/ci/pike/16.0.2/qemuarm/deploy/images/qemuarm//zImage
image_arg: '-drive format=raw,file={rootvd}'
url: https://download.automotivelinux.org/AGL/upload/ci/pike/16.0.2/qemuarm/deploy/images/qemuarm//agl-demo-platform-crosssdk-qemuarm.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: release-smoke-tests-basic
- repository: https://git.linaro.org/qa/test-definitions.git
path: automated/linux/ptest/ptest.yaml
name: release-linaro-ptest
TESTS: "dbus-test glib-2.0 lua"
- 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