Help

Device dictionary download

Hostname
qemu-corelab-02
Device type
qemu
Extends
qemu
1
{% extends 'qemu.jinja2' %}
1
2
3
constants:
4
5
# POSIX os (not AOSP)
6
posix:
7
lava_test_sh_cmd: /bin/sh
8
lava_test_results_dir: /lava-%s
9
lava_test_shell_file: ~/.bashrc
10
11
# bootloader specific
12
barebox:
13
interrupt-prompt: 'Hit m for menu or any other key to stop autoboot'
14
interrupt-character: '
15
'
16
final-message: 'Starting kernel'
17
error-messages:
18
- '### ERROR ### Please RESET the board ###'
19
- 'ERROR: .*'
20
- '.*: Out of memory'
21
u-boot:
22
interrupt-prompt: 'Hit any key to stop autoboot'
23
interrupt-character: ' '
24
interrupt_ctrl_list: []
25
interrupt-newline: True
26
final-message: 'Starting kernel'
27
error-messages:
28
- 'Resetting CPU'
29
- 'Must RESET board to recover'
30
- 'TIMEOUT'
31
- 'Retry count exceeded'
32
- 'Retry time exceeded; starting again'
33
- 'ERROR: The remote end did not respond in time.'
34
- 'File not found'
35
- 'Bad Linux ARM64 Image magic!'
36
- 'Wrong Ramdisk Image Format'
37
- 'Ramdisk image is corrupt or invalid'
38
- 'ERROR: Failed to allocate'
39
- 'TFTP error: trying to overwrite reserved memory'
40
- 'Bad Linux RISCV Image magic!'
41
- 'Wrong Image Format for boot'
42
- 'ERROR: Did not find a cmdline Flattened Device Tree'
43
- 'ERROR: RD image overlaps OS image'
44
dfu-download: 'DOWNLOAD \.\.\. OK\r\nCtrl\+C to exit \.\.\.'
45
grub:
46
interrupt-prompt: 'for a command-line'
47
interrupt-character: 'c'
48
interrupt-newline: False
49
error-messages:
50
- "error: missing (.*) symbol."
51
grub-efi:
52
interrupt-prompt: 'for a command-line'
53
interrupt-character: 'c'
54
error-messages:
55
- 'Undefined OpCode Exception PC at'
56
- 'Synchronous Exception at'
57
- "error: missing (.*) symbol."
58
ipxe:
59
interrupt-prompt: 'Press Ctrl-B for the iPXE command line'
60
interrupt_ctrl_list: ['b']
61
error-messages:
62
- 'No configuration methods succeeded'
63
- 'Connection timed out'
64
depthcharge:
65
final-message: 'Starting kernel'
66
error-messages:
67
- 'Tftp failed.'
68
- 'Dhcp release failed.'
69
- 'No space left for ramdisk'
70
- 'TFTP failed for ramdisk.'
71
- 'Dhcp release failed.'
72
- 'Out of space adding TFTP server IP to the command line.'
73
- 'No network device.'
74
- 'Error code \d+( \([\w\s]+\))?\r\n'
75
# OS shutdown message
76
# Override: set as the shutdown-message parameter of an Action.
77
# SHUTDOWN_MESSAGE
78
shutdown-message: 'The system is going down for reboot NOW'
79
80
# Kernel starting message
81
kernel-start-message: 'Linux version [0-9]'
82
83
# Default shell prompt for AutoLogin
84
# DEFAULT_SHELL_PROMPT
85
default-shell-prompt: 'lava-test: # '
86
87
# pexpect.spawn maxread
88
# SPAWN_MAXREAD - in bytes, quoted as a string
89
# 1 to turn off buffering, pexpect default is 2000
90
# maximum may be limited by platform issues to 4092
91
# avoid setting searchwindowsize:
92
# Data before searchwindowsize point is preserved, but not searched.
93
spawn_maxread: '4092'
94
95
# Set the failure retry to default or override it
96
failure_retry: 1
97
# Override boot_retry
98
boot_retry:
99
parameters:
100
# interfaces or device_ip or device_mac
101
102
pass: # sata_uuid_sd_uuid_usb_uuid
103
104
105
106
available_architectures:
107
- arm64
108
- arm
109
- aarch64
110
- amd64
111
- x86_64
112
- hppa
113
- i386
114
- mips
115
- mipsel
116
- mips64
117
- nios2
118
- ppc
119
- ppc64
120
- riscv64
121
- sparc
122
- sparc64
123
- alpha
124
- cris
125
- lm32
126
- m68k
127
- microblaze
128
- microblazeel
129
- moxie
130
- or32
131
- s390x
132
- sh4
133
- sh4eb
134
- tricore
135
- unicore32
136
- xtensa
137
- xtensaeb
138
139
actions:
140
deploy:
141
connections:
142
serial:
143
lxc:
144
methods:
145
nfs:
146
lxc:
147
image:
148
parameters:
149
guest:
150
size: 512 # in Mb
151
interface: ide
152
driveid: lavatest
153
boot:
154
connections:
155
serial:
156
ssh:
157
lxc:
158
methods:
159
minimal:
160
qemu:
161
parameters:
162
command:
163
qemu-system-
164
# used by installers to relate to the empty target device
165
boot_options:
166
{root: /dev/sda1, console: ttyS0,115200}
167
options:
168
- -cpu host
169
- -enable-kvm
170
- -nographic
171
- -net nic,model=virtio,macaddr=52:54:00:12:34:58 -net user
172
- -m 512
173
- -monitor none
174
qemu-nfs:
175
parameters:
176
command:
177
qemu-system-
178
# used by installers to relate to the empty target device
179
boot_options:
180
{root: /dev/sda1, console: ttyS0,115200}
181
options:
182
- -cpu host
183
- -enable-kvm
184
- -nographic
185
- -net nic,model=virtio,macaddr=52:54:00:12:34:58 -net user
186
- -m 512
187
- -monitor none
188
189
append:
190
console: ttyAMA0
191
root: /dev/nfs
192
nfsrootargs: nfsroot={NFS_SERVER_IP}:{NFSROOTFS},tcp,hard
193
ipargs: ip=dhcp
194
timeouts:
195
actions:
196
apply-overlay-image:
197
minutes: 2
198
dd-image:
199
minutes: 10
200
download-retry:
201
minutes: 5
202
http-download:
203
minutes: 5
204
lava-test-shell:
205
minutes: 3
206
nfs-deploy:
207
minutes: 10
208
power-off:
209
seconds: 10
210
bootloader-commands:
211
minutes: 3
212
bootloader-interrupt:
213
seconds: 30
214
u-boot-interrupt:
215
seconds: 30
216
umount-retry:
217
seconds: 45
218
auto-login-action:
219
minutes: 2
220
bootloader-action:
221
minutes: 3
222
uboot-action:
223
minutes: 3
224
uboot-commands:
225
minutes: 3
226
bootloader-retry:
227
minutes: 3
228
boot-qemu-image:
229
minutes: 2
230
boot-image-retry:
231
minutes: 2
232
flash-uboot-ums:
233
minutes: 20
234
musca-deploy:
235
minutes: 3
236
musca-boot:
237
minutes: 1
238
unmount-musca-usbmsd:
239
seconds: 30
240
pdu-reboot:
241
seconds: 30
242
reset-device:
243
seconds: 30
244
connections:
245
dd-image:
246
minutes: 10
247
uboot-commands:
248
seconds: 30
249
bootloader-commands:
250
seconds: 30
251
auto-login-action:
252
minutes: 2
253
bootloader-interrupt:
254
seconds: 30
255
u-boot-interrupt:
256
seconds: 30
257
lava-test-shell:
258
seconds: 10
259
lava-docker-test-shell:
260
seconds: 10