Job definition file - 13007 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 sound 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
133
- test:
134
timeout:
135
minutes: 4
136
definitions:
137
- repository:
138
metadata:
139
format: Lava-Test Test Definition 1.0
140
name: veth
141
description: "server installation"
142
run:
143
steps:
144
- ip link add veth0 type veth peer name veth1
145
- sleep 2
146
- ip addr add 10.1.0.1/24 dev veth0
147
- ip addr add 10.1.0.2/24 dev veth1
148
from: inline
149
name: vetj
150
path: inline/veth.yaml
151
152
153
- test:
154
timeout:
155
minutes: 4
156
definitions:
157
- repository:
158
metadata:
159
format: Lava-Test Test Definition 1.0
160
name: sound
161
description: "sound"
162
run:
163
steps:
164
- ls -R /dev/snd/
165
- ls alh /sys/class/sound/
166
- dmesg
167
- journalctl -b
168
from: inline
169
name: snd
170
path: inline/snd.yaml
171
172
- test:
173
timeout:
174
minutes: 10
175
definitions:
176
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
177
from: git
178
path: test-suites/short-smoke/pyagl-nohw-oneshot.yaml
179
name: pyagl-tests