Job definition file - 31168 download

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

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