- LAVA
- Scheduler
- Jobs
- 36414
- Definition
Job definition file - 36414
download
device_type: qemu
job_name: AGL-gerrit-30281-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: 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-163797"]
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: http://download.automotivelinux.org/AGL/upload/ci/30281/1/qemuarm/zImage
rootvd:
image_arg: '-drive format=raw,file={rootvd}'
url: http://download.automotivelinux.org/AGL/upload/ci/30281/1/qemuarm/agl-ivi-demo-qt-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: 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-30281-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-qemuarm-163797"]
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: http://download.automotivelinux.org/AGL/upload/ci/30281/1/qemuarm/zImage
image_arg: '-drive format=raw,file={rootvd}'
url: http://download.automotivelinux.org/AGL/upload/ci/30281/1/qemuarm/agl-ivi-demo-qt-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: 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