Job definition file - 29572 download

Name
qemu-corelab-01 (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/needlefish/14.0.2/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/needlefish/14.0.2/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/needlefish/14.0.2/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
device_type: qemu
50
51
job_name: AGL-gerrit--
52
53
timeouts:
54
job:
55
minutes: 150
56
action:
57
minutes: 30
58
connection:
59
minutes: 15
60
connections:
61
lava-test-shell:
62
minutes: 15
63
64
priority: medium
65
visibility: public
66
67
context:
68
no_kvm: false
69
arch: arm
70
cpu: cortex-a15
71
machine: virt-2.11
72
memory: 2048
73
model: model=virtio
74
guestfs_interface: virtio
75
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-931209"]
76
77
actions:
78
79
- deploy:
80
timeout:
81
minutes: 90
82
to: tmpfs
83
os: oe
84
failure_retry: 2
85
protocols:
86
lava-xnbd:
87
- action: nbd-deploy
88
request: set_port
89
images:
90
kernel:
91
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 "'
92
url: https://download.automotivelinux.org/AGL/upload/ci/needlefish/14.0.2/qemuarm/deploy/images/qemuarm//zImage
93
rootvd:
94
image_arg: '-drive format=raw,file={rootvd}'
95
url: https://download.automotivelinux.org/AGL/upload/ci/needlefish/14.0.2/qemuarm/deploy/images/qemuarm//agl-demo-platform-crosssdk-qemuarm.ext4.xz
96
compression: xz
97
98
99
100
- boot:
101
timeout:
102
minutes: 20
103
method: qemu
104
docker:
105
image: kernelci/qemu
106
binary: qemu-system-arm
107
prompts:
108
- "root@qemuarm:~"
109
- "qemuarm:~#"
110
- '/ #'
111
112
auto_login:
113
login_prompt: "login:"
114
username: root
115
media: tmpfs
116
transfer_overlay:
117
download_command: wget
118
unpack_command: tar -C / -xvpf
119
- test:
120
failure_retry: 3
121
definitions:
122
- repository:
123
metadata:
124
format: Lava-Test Test Definition 1.0
125
name: fixup-weston-watchdog
126
description: "extend watchdog on virtual"
127
run:
128
steps:
129
# disable the watchdog - for slow systems
130
- sed -i -e "s#WatchdogSec=20#WatchdogSec=0#g" /usr/lib/systemd/user/agl-compositor.service
131
# disable the coredumps - for slow systems
132
- echo "kernel.core_pattern=/dev/null" > /etc/sysctl.d/50-coredump.conf
133
- sysctl -p /etc/sysctl.d/50-coredump.conf
134
# need to reload user-session and system daemon
135
- su - agl-driver -c 'export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1001/bus" ; systemctl --user daemon-reload'
136
- systemctl daemon-reload
137
- systemctl restart [email protected]
138
- sleep 20
139
from: inline
140
name: fixup-weston-watchdog
141
path: inline/fixup-weston-watchdog.yaml
142
143
144
- test:
145
timeout:
146
minutes: 15
147
definitions:
148
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
149
from: git
150
history: False
151
path: test-suites/short-smoke/busybox.yaml
152
name: release-busybox
153
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
154
from: git
155
history: False
156
path: test-suites/short-smoke/smoke-tests-basic.yaml
157
name: release-smoke-tests-basic
158
159
- test:
160
timeout:
161
minutes: 90
162
definitions:
163
- repository: https://git.linaro.org/qa/test-definitions.git
164
from: git
165
history: False
166
path: automated/linux/ptest/ptest.yaml
167
name: release-linaro-ptest
168
parameters:
169
TESTS: "dbus-test glib-2.0 lua"
170
- test:
171
timeout:
172
minutes: 25
173
definitions:
174
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
175
from: git
176
path: test-suites/short-smoke/screenshooter.yaml
177
name: screenshooter
178
- test:
179
timeout:
180
minutes: 15
181
definitions:
182
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
183
from: git
184
history: False
185
path: test-suites/short-smoke/dumpjournal.yaml
186
name: ci-dumpjournal