Job definition file - 31975 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: arm64
11
job.name: AGL-gerrit-28534-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: arm64
18
platform.name: qemu
19
platform.dtb: None
20
git.url: http://download.automotivelinux.org/AGL/upload/ci/28534/1/qemuarm64/
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/28534/1/qemuarm64
27
job.kernel_image: Image
28
job.dtb_url: None
29
job.initrd_url: http://download.automotivelinux.org/AGL/upload/ci/28534/1/qemuarm64/agl-demo-platform-qemuarm64.ext4.xz
30
git.url: https://gerrit.automotivelinux.org/gerrit/#/c/28534/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
50
device_type: qemu
51
52
job_name: AGL-gerrit-28534-1
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: aarch64
74
cpu: cortex-a57
75
machine: virt
76
memory: 4096
77
model: model=virtio
78
guestfs_interface: virtio
79
extra_options: ["-smp 2 -soundhw hda -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-490114"]
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 mem=4096M systemd.log_color=false "'
96
url: http://download.automotivelinux.org/AGL/upload/ci/28534/1/qemuarm64/Image
97
rootvd:
98
image_arg: '-drive format=raw,file={rootvd}'
99
url: http://download.automotivelinux.org/AGL/upload/ci/28534/1/qemuarm64/agl-demo-platform-qemuarm64.ext4.xz
100
compression: xz
101
102
103
104
- boot:
105
timeout:
106
minutes: 20
107
method: qemu
108
prompts:
109
- "root@qemuarm64:~"
110
- "qemuarm64:~#"
111
- '/ #'
112
113
auto_login:
114
login_prompt: "login:"
115
username: root
116
media: tmpfs
117
transfer_overlay:
118
download_command: wget
119
unpack_command: tar -C / -xvpf
120
- test:
121
failure_retry: 3
122
definitions:
123
- repository:
124
metadata:
125
format: Lava-Test Test Definition 1.0
126
name: fixup-weston-watchdog
127
description: "extend watchdog on virtual"
128
run:
129
steps:
130
# disable the watchdog - for slow systems
131
- sed -i -e "s#WatchdogSec=20#WatchdogSec=0#g" /usr/lib/systemd/user/agl-compositor.service
132
# disable the coredumps - for slow systems
133
- echo "kernel.core_pattern=/dev/null" > /etc/sysctl.d/50-coredump.conf
134
- sysctl -p /etc/sysctl.d/50-coredump.conf
135
# need to reload user-session and system daemon
136
- su - agl-driver -c 'export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1001/bus" ; systemctl --user daemon-reload'
137
- systemctl daemon-reload
138
- systemctl restart [email protected]
139
- sleep 20
140
from: inline
141
name: fixup-weston-watchdog
142
path: inline/fixup-weston-watchdog.yaml
143
144
145
- test:
146
timeout:
147
minutes: 15
148
definitions:
149
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
150
from: git
151
history: False
152
path: test-suites/short-smoke/busybox.yaml
153
name: ci-busybox
154
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
155
from: git
156
history: False
157
path: test-suites/short-smoke/smoke-tests-basic.yaml
158
name: ci-smoke-tests-basic
159
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
160
from: git
161
history: False
162
path: test-suites/short-smoke/service-check.yaml
163
name: ci-service-check
164
parameters:
165
BUILD_TAGS: ""
166
DEVICE_TAGS: ""
167
168
- test:
169
timeout:
170
minutes: 25
171
definitions:
172
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
173
from: git
174
path: test-suites/short-smoke/screenshooter.yaml
175
name: screenshooter
176
- test:
177
timeout:
178
minutes: 15
179
definitions:
180
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
181
from: git
182
history: False
183
path: test-suites/short-smoke/dumpjournal.yaml
184
name: ci-dumpjournal