Job definition file - 29838 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-28195-1
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/28195/1/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/28195/1/qemuarm
27
job.kernel_image: zImage
28
job.dtb_url: None
29
job.initrd_url: http://download.automotivelinux.org/AGL/upload/ci/28195/1/qemuarm/agl-demo-platform-qemuarm.ext4.xz
30
git.url: https://gerrit.automotivelinux.org/gerrit/#/c/28195/1
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-28195-1
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-735689"]
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: http://download.automotivelinux.org/AGL/upload/ci/28195/1/qemuarm/zImage
93
rootvd:
94
image_arg: '-drive format=raw,file={rootvd}'
95
url: http://download.automotivelinux.org/AGL/upload/ci/28195/1/qemuarm/agl-demo-platform-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: ci-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: ci-smoke-tests-basic
158
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
159
from: git
160
history: False
161
path: test-suites/short-smoke/service-check.yaml
162
name: ci-service-check
163
parameters:
164
BUILD_TAGS: ""
165
DEVICE_TAGS: ""
166
167
- test:
168
timeout:
169
minutes: 25
170
definitions:
171
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
172
from: git
173
path: test-suites/short-smoke/screenshooter.yaml
174
name: screenshooter
175
- test:
176
timeout:
177
minutes: 15
178
definitions:
179
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
180
from: git
181
history: False
182
path: test-suites/short-smoke/dumpjournal.yaml
183
name: ci-dumpjournal