Repository navigation
hil-farm-setup: install iperf and pin agentrc at hil_root netns - #501
Merged
Merged
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 51 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Owner
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The farm cannot run tinyusb's network HIL tests (
device/net_lwip_webserver, hathach/tinyusb#3918) yet:/usr/local/sbin/hil_rootcomes fromfarm.toml'sagentrcpin, 12d1443, which predates thenetnsverb (hil_root: netns moves a board's USB network interface into a sandbox #486).iperf, which the test's client runs, is not in the farm's package list.Solution
farm.toml: theagentrcpin moves to 8ca6765, the hil_root: netns moves a board's USB network interface into a sandbox #486 merge, sosetup.sh updatereinstallshil_rootwithnetns. Between the two pins onlyhil_root.pychanged, by that verb alone.usb_recover.shandroot_port_cycle.pyare byte-identical, so every current caller of the rigs' root scripts keeps working.
farm.toml:iperf(iperf2) joins the apt packages. It has no maintainer scripts, debconf question or service.verify.sh: aniperf -vcheck beside the other per-tool checks.setup.sh installinstallsiperf, and that a host in service needsapt-get install iperfby hand, sinceupdateinstalls no packages. Both rigs already have iperf 2.2.1: ci.lan'swas installed by hand today, and tusb's owner already had it.
Full suite: 4900 passed, 128 skipped.
farm.py validatepasses forci.tomlandhfp.toml.hil_root.pyat 8ca6765is the file verified end to end on ci.lan's
stm32f407discorunningnet_lwip_webserver(#486).