Job definition file - 32546 download

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

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