Skip to content

Commit d980f3a

Browse files
committed
docs: zarhus-tests: expand documentation, add information on ZPB
Signed-off-by: Michał Iwanicki <michal.iwanicki@3mdeb.com>
1 parent 7e9aa7e commit d980f3a

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

docs/zarhus-tests.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ robot -v boot_dts_from_ipxe_shell:True \
117117
-v dts_ipxe_link:https://boot.dasharo.com/dts/dts-rc.ipxe
118118
```
119119

120+
Be patient when running tests, especially when testing ZPB as Suite Setup can
121+
take a while. It installs and prepares Zarhus OS
122+
120123
### Future improvements
121124

122125
Make each test start from the same state. As of now, each tests might modify
@@ -133,6 +136,8 @@ On hardware, it might be unreasonable to flash/clone Zarhus OS for every test
133136
134137
### QEMU
135138
139+
Zarhus Provisioning Box tests don't support QEMU. For Zarhus OS:
140+
136141
1. Run QEMU
137142

138143
```sh
@@ -162,7 +167,29 @@ On hardware, it might be unreasonable to flash/clone Zarhus OS for every test
162167
163168
### Hardware
164169
165-
TODO: not yet supported or tested.
170+
#### Zarhus OS
171+
172+
Example test run that succeeded:
173+
174+
```sh
175+
robot -L TRACE -b cmd_logs.txt -v rte_ip:192.168.10.168 -v config:odroid-h4-plus -v snipeit:no \
176+
-v boot_dts_from_ipxe_shell:True \
177+
-v dts_ipxe_link:https://boot.dasharo.com/dts/dts-rc.ipxe \
178+
-v features:encryption,otab \
179+
-v zarhus_wic_gz_file:../zarhus-base-image-genericx86-64.rootfs.wic.gz \
180+
-v target_device:nvme0n1 -t "ZHS001*" zarhus-x86/zarhus.robot
181+
```
182+
183+
#### Zarhus Provisioning Box
184+
185+
Example command:
186+
187+
```sh
188+
robot -L TRACE -b cmd_logs.txt -v rte_ip:192.168.10.168 -v config:odroid-h4-plus -v snipeit:no -v boot_dts_from_ipxe_shell:True \
189+
-v dts_ipxe_link:https://boot.dasharo.com/dts/dts-rc.ipxe \
190+
-v zarhus_bootstrap_file:../yocto/zarhus-dtrpb/bootstrap.img \
191+
zarhus-x86/zarhus-provisioning-preparation.robot
192+
```
166193
167194
### Test Variables
168195
@@ -189,3 +216,8 @@ tests you want to run.
189216
be used to flash Zarhus OS to.
190217
- `zarhus_swu_file` - path to `.swu` file, used for otab updates, needed by some
191218
update tests.
219+
220+
### ZPB variables
221+
222+
- `zarhus_bootstrap_file` - path do bootstrap image (uncompressed) that'll be
223+
flashed directly to USB

0 commit comments

Comments
 (0)