Job definition file - 31707 download

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

1
2
3
4
5
6
metadata:
7
git.branch: master
8
git.commit: agl-commit
9
image.type: AGL-ci
10
job.arch: arm
11
job.name: AGL-gerrit-28473-2
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: http://download.automotivelinux.org/AGL/upload/ci/28473/2/qemuarm/
21
git.describe: master
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/28473/2/qemuarm
27
job.kernel_image: zImage
28
job.dtb_url: None
29
job.initrd_url: http://download.automotivelinux.org/AGL/upload/ci/28473/2/qemuarm/agl-demo-platform-qemuarm.ext4.xz
30
git.url: https://gerrit.automotivelinux.org/gerrit/#/c/28473/2
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-28473-2
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-452311"]
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: http://download.automotivelinux.org/AGL/upload/ci/28473/2/qemuarm/zImage
97
rootvd:
98
image_arg: '-drive format=raw,file={rootvd}'
99
url: http://download.automotivelinux.org/AGL/upload/ci/28473/2/qemuarm/agl-demo-platform-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: ci-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: ci-smoke-tests-basic
162
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
163
from: git
164
history: False
165
path: test-suites/short-smoke/service-check.yaml
166
name: ci-service-check
167
parameters:
168
BUILD_TAGS: ""
169
DEVICE_TAGS: ""
170
171
- test:
172
timeout:
173
minutes: 25
174
definitions:
175
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
176
from: git
177
path: test-suites/short-smoke/screenshooter.yaml
178
name: screenshooter
179
- test:
180
timeout:
181
minutes: 15
182
definitions:
183
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
184
from: git
185
history: False
186
path: test-suites/short-smoke/dumpjournal.yaml
187
name: ci-dumpjournal