Job definition file - 13042 download

Name
rpi4-corelab-01 (reports)
Requested type
bcm2711-rpi-4-b (reports)
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
47
job_name: AGL-gerrit-25309-5
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
protocols:
64
lava-xnbd:
65
port: auto
66
67
context:
68
console_device: ttyS0
69
extra_kernel_args: "8250.nr_uarts=1 cma=64M rw fstab=no"
70
71
actions:
72
73
- deploy:
74
timeout:
75
minutes: 90
76
to: nbd
77
os: oe
78
failure_retry: 2
79
protocols:
80
lava-xnbd:
81
- action: nbd-deploy
82
request: set_port
83
kernel:
84
url: http://download.automotivelinux.org/AGL/upload/ci/25309/5/raspberrypi4/Image
85
type: image
86
initrd:
87
url: http://download.automotivelinux.org/AGL/upload/ci/25309/5/raspberrypi4/initramfs-netboot-image-raspberrypi4-64.ext4.gz
88
allow_modify: false
89
nbdroot:
90
url: http://download.automotivelinux.org/AGL/upload/ci/25309/5/raspberrypi4/agl-demo-platform-raspberrypi4-64.ext4.xz
91
compression: xz
92
dtb:
93
url: http://download.automotivelinux.org/AGL/upload/ci/25309/5/raspberrypi4/bcm2711-rpi-4-b.dtb
94
95
96
97
- boot:
98
timeout:
99
minutes: 20
100
method: u-boot
101
prompts:
102
- "root@raspberrypi4-64:~"
103
- "raspberrypi4-64:~#"
104
- '/ #'
105
auto_login:
106
login_prompt: "login:"
107
username: root
108
commands:
109
- setenv autoload no
110
- setenv initrd_high 0xffffffff
111
- setenv fdt_high 0xffffffff
112
- dhcp
113
- setenv serverip {SERVER_IP}
114
- tftp 0x00080000 {KERNEL}
115
- tftp 0x02700000 {RAMDISK}
116
- setenv initrd_size ${filesize}
117
- tftp 0x02400000 {DTB}
118
- 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'
119
- fdt addr 0x02400000
120
- fdt boardsetup
121
- fdt resize
122
- fdt set audio status okay
123
- fdt set sound status okay
124
- fdt set i2s status okay
125
- booti 0x00080000 0x02700000:${initrd_size} 0x02400000
126
transfer_overlay:
127
download_command: wget
128
unpack_command: tar -C / -xvpf
129
130
131
- test:
132
timeout:
133
minutes: 4
134
definitions:
135
- repository:
136
metadata:
137
format: Lava-Test Test Definition 1.0
138
name: veth
139
description: "server installation"
140
run:
141
steps:
142
- ip link add veth0 type veth peer name veth1
143
- sleep 2
144
- ip addr add 10.1.0.1/24 dev veth0
145
- ip addr add 10.1.0.2/24 dev veth1
146
- ip route
147
- ping -c 4 ix.de
148
from: inline
149
name: veth
150
path: inline/veth.yaml
151
152
153
- test:
154
timeout:
155
minutes: 20
156
definitions:
157
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
158
from: git
159
path: test-suites/short-smoke/pyagl-nohw-oneshot.yaml
160
name: pyagl-tests