Job definition file - 13004 download

Copy to clipboard

1
2
metadata:
3
git.branch: master
4
git.commit: F310f0990-L91d9c0ad
5
image.type: AGL-ci
6
job.arch: arm64
7
job.name: AGL-gerrit-25309-5
8
kernel.tree: AGL-yocto
9
kernel.version: change-25309-5
10
kernel.defconfig_base: defconfig
11
kernel.defconfig: AGL-raspberrypi4-F310f0990-L91d9c0ad
12
kernel.endian: little
13
platform.mach: broadcom
14
platform.name: bcm2711-rpi-4-b
15
platform.dtb: bcm2711-rpi-4-b.dtb
16
git.url: http://download.automotivelinux.org/AGL/upload/ci/25309/5/raspberrypi4/
17
git.describe: master
18
test.plan: agl-testplan
19
test.plan_variant: agl-testplan
20
device.type: bcm2711-rpi-4-b
21
job.build_environment: AGL-yocto
22
job.file_server_resource: AGL/upload/ci/25309/5/raspberrypi4
23
job.kernel_image: Image
24
job.dtb_url: http://download.automotivelinux.org/AGL/upload/ci/25309/5/raspberrypi4/bcm2711-rpi-4-b.dtb
25
job.initrd_url: http://download.automotivelinux.org/AGL/upload/ci/25309/5/raspberrypi4/initramfs-netboot-image-raspberrypi4-64.ext4.gz
26
git.url: https://gerrit.automotivelinux.org/gerrit/#/c/25309/5
27
28
29
notify:
30
criteria:
31
status: finished
32
callbacks:
33
- url: https://kernelci.automotivelinux.org:8081/callback/lava/test?lab_name=agl-core-lab-1&status={STATUS}&status_string={STATUS_STRING}
34
method: POST
35
dataset: all
36
token: lab-agl-core-callback-LF
37
content-type: json
38
- url: http://kernelci.dev.baylibre.com:8081/callback/lava/test?lab_name=lab-agl-core&status={STATUS}&status_string={STATUS_STRING}
39
method: POST
40
dataset: all
41
token: lab-agl-core-callback-baylibre
42
content-type: json
43
44
45
46
device_type: bcm2711-rpi-4-b
47
tags:
48
- baylibre
49
50
job_name: AGL-gerrit-25309-5
51
52
timeouts:
53
job:
54
minutes: 150
55
action:
56
minutes: 30
57
connection:
58
minutes: 15
59
connections:
60
lava-test-shell:
61
minutes: 15
62
63
priority: medium
64
visibility: public
65
66
protocols:
67
lava-xnbd:
68
port: auto
69
70
context:
71
console_device: ttyS0
72
extra_kernel_args: "8250.nr_uarts=1 cma=64M rw fstab=no"
73
74
actions:
75
76
- deploy:
77
timeout:
78
minutes: 90
79
to: nbd
80
os: oe
81
failure_retry: 2
82
protocols:
83
lava-xnbd:
84
- action: nbd-deploy
85
request: set_port
86
kernel:
87
url: http://download.automotivelinux.org/AGL/upload/ci/25309/5/raspberrypi4/Image
88
type: image
89
initrd:
90
url: http://download.automotivelinux.org/AGL/upload/ci/25309/5/raspberrypi4/initramfs-netboot-image-raspberrypi4-64.ext4.gz
91
allow_modify: false
92
nbdroot:
93
url: http://download.automotivelinux.org/AGL/upload/ci/25309/5/raspberrypi4/agl-demo-platform-raspberrypi4-64.ext4.xz
94
compression: xz
95
dtb:
96
url: http://download.automotivelinux.org/AGL/upload/ci/25309/5/raspberrypi4/bcm2711-rpi-4-b.dtb
97
98
99
100
- boot:
101
timeout:
102
minutes: 20
103
method: u-boot
104
prompts:
105
- "root@raspberrypi4-64:~"
106
- "raspberrypi4-64:~#"
107
- '/ #'
108
auto_login:
109
login_prompt: "login:"
110
username: root
111
commands:
112
- setenv autoload no
113
- setenv initrd_high 0xffffffff
114
- setenv fdt_high 0xffffffff
115
- dhcp
116
- setenv serverip {SERVER_IP}
117
- tftp 0x00080000 {KERNEL}
118
- tftp 0x02700000 {RAMDISK}
119
- setenv initrd_size ${filesize}
120
- tftp 0x02400000 {DTB}
121
- setenv bootargs 'console=ttyS0,115200n8 rw nbd.server={NBDSERVERIP} nbd.port={NBDSERVERPORT} root=/dev/ram0 ramdisk_size=16384 rootdelay=7 8250.nr_uarts=1 cma=64M rw fstab=no ip=dhcp verbose earlyprintk systemd.log_color=false ${extraargs} rw'
122
- fdt addr ${fdtaddr}
123
- fdt boardsetup
124
- fdt resize
125
- fdt set audio status enabled
126
- fdt set i2s status enabled
127
- booti 0x00080000 0x02700000:${initrd_size} 0x02400000
128
transfer_overlay:
129
download_command: wget
130
unpack_command: tar -C / -xvpf
131
132
- test:
133
timeout:
134
minutes: 15
135
definitions:
136
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
137
from: git
138
history: False
139
path: test-suites/short-smoke/busybox.yaml
140
name: ci-busybox
141
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
142
from: git
143
history: False
144
path: test-suites/short-smoke/smoke-tests-basic.yaml
145
name: ci-smoke-tests-basic
146
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
147
from: git
148
history: False
149
path: test-suites/short-smoke/service-check.yaml
150
name: ci-service-check
151
parameters:
152
BUILD_TAGS: ""
153
DEVICE_TAGS: "baylibre"
154
155
- test:
156
timeout:
157
minutes: 4
158
definitions:
159
- repository:
160
metadata:
161
format: Lava-Test Test Definition 1.0
162
name: veth
163
description: "server installation"
164
run:
165
steps:
166
- ip link add veth0 type veth peer name veth1
167
- sleep 2
168
- ip addr add 10.1.0.1/24 dev veth0
169
- ip addr add 10.1.0.2/24 dev veth1
170
from: inline
171
name: vetj
172
path: inline/veth.yaml
173
174
175
176
- test:
177
timeout:
178
minutes: 60
179
definitions:
180
- repository: https://git.linaro.org/qa/test-definitions.git
181
from: git
182
history: False
183
path: automated/linux/ptest/ptest.yaml
184
name: ci-linaro-ptest
185
parameters:
186
TESTS: "xmlsec1 libxml2 lua"
187
- test:
188
timeout:
189
minutes: 10
190
definitions:
191
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
192
from: git
193
path: test-suites/short-smoke/pyagl-nohw-oneshot.yaml
194
name: pyagl-tests