Skip to content

hw-matlab.yml: pass --skip-boot to adi-lg-matlab run#206

Merged
tfcollins merged 1 commit into
masterfrom
workflow-add-skip-boot
May 23, 2026
Merged

hw-matlab.yml: pass --skip-boot to adi-lg-matlab run#206
tfcollins merged 1 commit into
masterfrom
workflow-add-skip-boot

Conversation

@tfcollins

Copy link
Copy Markdown
Collaborator

Make the HW matrix shards actually reach MATLAB. Today they fail at strategy instantiation because the lab's coordinator places are tagged `boot-strategy=BootZynq7000JTAGRecovery`, whose env-yaml template doesn't yet expose the consumer-supplied kernel/uboot/initramfs/bitstream paths needed for a real `strategy.transition()`.

`--skip-boot` (added in tfcollins/labgrid-plugins#33, merged) makes the launcher acquire the place and resolve the `NetworkService` URI without trying to transition the strategy. The toolbox's `test/HardwareTests.m` already honours `IIO_URI` and `CheckDevice` gracefully `assumeFail`s when libIIO can't reach the address — so the full pipeline (acquire → resolve URI → MATLAB launch → JUnit → release) is exercised, and when the lab eventually supplies the recovery inputs the boards will report real test outcomes.

Drop the flag once the lab template carries the recovery inputs (or the lab retags places with a boot-strategy that has plug-and-play inputs, like `BootFPGASoC` for SD-Mux setups).

The lab's coordinator places are tagged with
boot-strategy=BootZynq7000JTAGRecovery, whose template does not yet
expose the consumer-supplied kernel/uboot/initramfs/bitstream paths a
real transition needs. Without --skip-boot, the matrix shard fails at
get_driver(boot_strategy) / strategy.transition() before MATLAB ever
starts.

With --skip-boot the shard still acquires the place and resolves the
booted board's NetworkService URI into IIO_URI; the toolbox's
test/HardwareTests.m CheckDevice gracefully reports
'No device found' when the board is not reachable. The full launcher
pipeline (acquire, resolve, MATLAB launch, JUnit, release) is
exercised. Drop the flag once the lab template carries the recovery
inputs.

Needs tfcollins/labgrid-plugins#33 (now merged); @v2 ref includes the
--skip-boot flag.
@tfcollins tfcollins merged commit a903813 into master May 23, 2026
17 checks passed
@tfcollins tfcollins deleted the workflow-add-skip-boot branch May 23, 2026 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant