Job definition file - 32542 download

Name
qemu-02 (reports)
Requested type
qemu (reports)
Copy to clipboard

1
2
3
4
metadata:
5
git.branch: master
6
git.commit: agl-commit
7
image.type: AGL-ci
8
job.arch: arm64
9
job.name: AGL-gerrit-28580-1
10
kernel.tree: AGL-yocto
11
kernel.version: AGL-kernel-version
12
kernel.defconfig_base: defconfig
13
kernel.defconfig: defconfig+CONFIG_AGL=y
14
kernel.endian: little
15
platform.mach: arm64
16
platform.name: qemu
17
platform.dtb: None
18
git.url: http://download.automotivelinux.org/AGL/upload/ci/28580/1/qemuarm64/
19
git.describe: master
20
test.plan: agl-testplan
21
test.plan_variant: agl-testplan
22
device.type: qemu
23
job.build_environment: AGL-yocto
24
job.file_server_resource: AGL/upload/ci/28580/1/qemuarm64
25
job.kernel_image: Image
26
job.dtb_url: None
27
job.initrd_url: http://download.automotivelinux.org/AGL/upload/ci/28580/1/qemuarm64/agl-demo-platform-qemuarm64.ext4.xz
28
git.url: https://gerrit.automotivelinux.org/gerrit/#/c/28580/1
29
30
31
notify:
32
criteria:
33
status: finished
34
callbacks:
35
- url: https://kernelci.automotivelinux.org:8081/callback/lava/test?lab_name=agl-core-lab-1&status={STATUS}&status_string={STATUS_STRING}
36
method: POST
37
dataset: all
38
token: lab-agl-core-callback-LF
39
content-type: json
40
- url: http://kernelci.dev.baylibre.com:8081/callback/lava/test?lab_name=lab-agl-core&status={STATUS}&status_string={STATUS_STRING}
41
method: POST
42
dataset: all
43
token: lab-agl-core-callback-baylibre
44
content-type: json
45
46
47
48
device_type: qemu
49
50
job_name: AGL-gerrit-28580-1
51
52
timeouts:
53
job:
54
minutes: 150
55
action:
56
minutes: 30
57
connection:
58
minutes: 15
59
connections:
60
lava-test-shell:
61
minutes: 15
62
63
priority: medium
64
visibility: public
65
66
# context allows specific values to be overridden or included
67
context:
68
extra_kernel_args: systemd.mask=systemd-network-generator.service
69
context:
70
no_kvm: false
71
arch: aarch64
72
cpu: cortex-a57
73
machine: virt
74
memory: 4096
75
model: model=virtio
76
guestfs_interface: virtio
77
extra_options: ["-audiodev alsa,id=lavaaudio,out.channels=2,in.channels=1 -smp 2 -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-583941"]
78
79
actions:
80
81
- deploy:
82
timeout:
83
minutes: 90
84
to: tmpfs
85
os: oe
86
failure_retry: 2
87
protocols:
88
lava-xnbd:
89
- action: nbd-deploy
90
request: set_port
91
images:
92
kernel:
93
image_arg: '-kernel {kernel} -append "console=ttyAMA0,115200 root=/dev/vda verbose mem=4096M systemd.log_color=false "'
94
url: http://download.automotivelinux.org/AGL/upload/ci/28580/1/qemuarm64/Image
95
rootvd:
96
image_arg: '-drive format=raw,file={rootvd}'
97
url: http://download.automotivelinux.org/AGL/upload/ci/28580/1/qemuarm64/agl-demo-platform-qemuarm64.ext4.xz
98
compression: xz
99
100
101
102
- boot:
103
timeout:
104
minutes: 20
105
method: qemu
106
prompts:
107
- "root@qemuarm64:~"
108
- "qemuarm64:~#"
109
- '/ #'
110
111
auto_login:
112
login_prompt: "login:"
113
username: root
114
media: tmpfs
115
transfer_overlay:
116
download_command: wget
117
unpack_command: tar -C / -xvpf
118
- test:
119
failure_retry: 3
120
definitions:
121
- repository:
122
metadata:
123
format: Lava-Test Test Definition 1.0
124
name: fixup-weston-watchdog
125
description: "extend watchdog on virtual"
126
run:
127
steps:
128
# disable the watchdog - for slow systems
129
- sed -i -e "s#WatchdogSec=20#WatchdogSec=0#g" /usr/lib/systemd/user/agl-compositor.service
130
# disable the coredumps - for slow systems
131
- echo "kernel.core_pattern=/dev/null" > /etc/sysctl.d/50-coredump.conf
132
- sysctl -p /etc/sysctl.d/50-coredump.conf
133
# need to reload user-session and system daemon
134
- su - agl-driver -c 'export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1001/bus" ; systemctl --user daemon-reload'
135
- systemctl daemon-reload
136
- systemctl restart [email protected]
137
- sleep 20
138
from: inline
139
name: fixup-weston-watchdog
140
path: inline/fixup-weston-watchdog.yaml
141
142
143
- test:
144
timeout:
145
minutes: 15
146
definitions:
147
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
148
from: git
149
history: False
150
path: test-suites/short-smoke/busybox.yaml
151
name: ci-busybox
152
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
153
from: git
154
history: False
155
path: test-suites/short-smoke/smoke-tests-basic.yaml
156
name: ci-smoke-tests-basic
157
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
158
from: git
159
history: False
160
path: test-suites/short-smoke/service-check.yaml
161
name: ci-service-check
162
parameters:
163
BUILD_TAGS: ""
164
DEVICE_TAGS: ""
165
166
- test:
167
timeout:
168
minutes: 25
169
definitions:
170
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
171
from: git
172
path: test-suites/short-smoke/screenshooter.yaml
173
name: screenshooter
174
- test:
175
timeout:
176
minutes: 15
177
definitions:
178
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
179
from: git
180
history: False
181
path: test-suites/short-smoke/dumpjournal.yaml
182
name: ci-dumpjournal