- LAVA
- Scheduler
- Jobs
- 28951
- Definition
Job definition file - 28951
download
metadata:
git.branch: master
git.commit: agl-commit
image.type: AGL-ci
job.arch: arm64
job.name: AGL-gerrit-28017-2
kernel.tree: AGL-yocto
kernel.version: AGL-kernel-version
kernel.defconfig_base: defconfig
kernel.defconfig: defconfig+CONFIG_AGL=y
kernel.endian: little
platform.mach: arm64
platform.name: qemu
platform.dtb: None
git.url: http://download.automotivelinux.org/AGL/upload/ci/28017/2/qemuarm64/
git.describe: master
test.plan: agl-testplan
test.plan_variant: agl-testplan
device.type: qemu
job.build_environment: AGL-yocto
job.file_server_resource: AGL/upload/ci/28017/2/qemuarm64
job.kernel_image: Image
job.dtb_url: None
job.initrd_url: http://download.automotivelinux.org/AGL/upload/ci/28017/2/qemuarm64/agl-demo-platform-qemuarm64.ext4.xz
git.url: https://gerrit.automotivelinux.org/gerrit/#/c/28017/2
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-28017-2
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: aarch64
cpu: cortex-a57
machine: virt
memory: 4096
model: model=virtio
guestfs_interface: virtio
extra_options: ["-smp 2 -soundhw hda -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-330300"]
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/28017/2/qemuarm64/Image
rootvd:
image_arg: '-drive format=raw,file={rootvd}'
url: http://download.automotivelinux.org/AGL/upload/ci/28017/2/qemuarm64/agl-demo-platform-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/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: 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-28017-2
kernel.version: AGL-kernel-version
kernel.defconfig_base: defconfig
kernel.defconfig: defconfig+CONFIG_AGL=y
git.url: http://download.automotivelinux.org/AGL/upload/ci/28017/2/qemuarm64/
test.plan_variant: agl-testplan
job.build_environment: AGL-yocto
job.file_server_resource: AGL/upload/ci/28017/2/qemuarm64
job.initrd_url: http://download.automotivelinux.org/AGL/upload/ci/28017/2/qemuarm64/agl-demo-platform-qemuarm64.ext4.xz
git.url: https://gerrit.automotivelinux.org/gerrit/#/c/28017/2
- 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
job_name: AGL-gerrit-28017-2
guestfs_interface: virtio
extra_options: ["-smp 2 -soundhw hda -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-330300"]
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/28017/2/qemuarm64/Image
image_arg: '-drive format=raw,file={rootvd}'
url: http://download.automotivelinux.org/AGL/upload/ci/28017/2/qemuarm64/agl-demo-platform-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/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: 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