- LAVA
- Scheduler
- Jobs
- 27738
- Definition
Job definition file - 27738
download
metadata:
git.branch: agl-branch
git.commit: agl-commit
image.type: AGL-release
job.arch: arm
job.name: AGL-gerrit--
kernel.tree: AGL-yocto
kernel.version: AGL-kernel-version
kernel.defconfig_base: defconfig
kernel.defconfig: defconfig+CONFIG_AGL=y
kernel.endian: little
platform.mach: arm
platform.name: qemu
platform.dtb: None
git.url: https://download.automotivelinux.org/AGL/upload/ci/marlin/13.0.2/qemuarm/deploy/images/qemuarm//
git.describe: agl-branch
test.plan: agl-testplan
test.plan_variant: agl-testplan
device.type: qemu
job.build_environment: AGL-yocto
job.file_server_resource: AGL/upload/ci/marlin/13.0.2/qemuarm/deploy/images/qemuarm/
job.kernel_image: zImage
job.dtb_url: None
job.initrd_url: https://download.automotivelinux.org/AGL/upload/ci/marlin/13.0.2/qemuarm/deploy/images/qemuarm//agl-demo-platform-crosssdk-qemuarm.ext4.xz
notify:
criteria:
status: finished
callbacks:
- 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
- url: http://kernelci.dev.baylibre.com:8081/callback/lava/test?lab_name=lab-agl-core&status={STATUS}&status_string={STATUS_STRING}
method: POST
dataset: all
token: lab-agl-core-callback-baylibre
content-type: json
device_type: qemu
job_name: AGL-gerrit--
timeouts:
job:
minutes: 150
action:
minutes: 30
connection:
minutes: 15
connections:
lava-test-shell:
minutes: 15
priority: medium
visibility: public
context:
no_kvm: false
arch: arm
cpu: cortex-a15
machine: virt-2.11
memory: 4096
model: model=virtio
guestfs_interface: virtio
extra_options: ["-smp 2 -device intel-hda -device hda-duplex -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-602394"]
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 systemd.log_color=false mem=4096M vmalloc=192M memblock=debug cma=160M "'
url: https://download.automotivelinux.org/AGL/upload/ci/marlin/13.0.2/qemuarm/deploy/images/qemuarm//zImage
rootvd:
image_arg: '-drive format=raw,file={rootvd}'
url: https://download.automotivelinux.org/AGL/upload/ci/marlin/13.0.2/qemuarm/deploy/images/qemuarm//agl-demo-platform-crosssdk-qemuarm.ext4.xz
compression: xz
- boot:
timeout:
minutes: 20
method: qemu
docker:
image: kernelci/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/user/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
# need to reload user-session and system daemon
- su - agl-driver -c 'export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1001/bus" ; systemctl --user daemon-reload'
- systemctl daemon-reload
- systemctl restart [email protected]
- sleep 20
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
kernel.version: AGL-kernel-version
kernel.defconfig_base: defconfig
kernel.defconfig: defconfig+CONFIG_AGL=y
git.url: https://download.automotivelinux.org/AGL/upload/ci/marlin/13.0.2/qemuarm/deploy/images/qemuarm//
test.plan_variant: agl-testplan
job.build_environment: AGL-yocto
job.file_server_resource: AGL/upload/ci/marlin/13.0.2/qemuarm/deploy/images/qemuarm/
job.initrd_url: https://download.automotivelinux.org/AGL/upload/ci/marlin/13.0.2/qemuarm/deploy/images/qemuarm//agl-demo-platform-crosssdk-qemuarm.ext4.xz
- 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: http://kernelci.dev.baylibre.com:8081/callback/lava/test?lab_name=lab-agl-core&status={STATUS}&status_string={STATUS_STRING}
token: lab-agl-core-callback-baylibre
guestfs_interface: virtio
extra_options: ["-smp 2 -device intel-hda -device hda-duplex -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-602394"]
image_arg: '-kernel {kernel} -append "console=ttyAMA0,115200 root=/dev/vda verbose systemd.log_color=false mem=4096M vmalloc=192M memblock=debug cma=160M "'
url: https://download.automotivelinux.org/AGL/upload/ci/marlin/13.0.2/qemuarm/deploy/images/qemuarm//zImage
image_arg: '-drive format=raw,file={rootvd}'
url: https://download.automotivelinux.org/AGL/upload/ci/marlin/13.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/user/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
# need to reload user-session and system daemon
- su - agl-driver -c 'export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1001/bus" ; systemctl --user daemon-reload'
- 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