Job definition file - 28186 download

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