Job definition file - 13005 download

Copy to clipboard

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