ci: rasterstate Matter check on hearth and the multicast test fix #2
Loading…
Reference in a new issue
No description provided.
Delete branch "plat-924-rs-matter-fork-ci"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of PLAT-924, rs-matter only. Follow-up to #1 (the guard); this branch carries that commit too and rebases to the rest once #1 merges.
Add
rasterstate-ci.ymlas the fork's check on PRs and pushes tohearth. It runs format and Clippy on the shared Linux pool with a pinned Rust toolchain, then the tests with the samers-matterpackage and rustcrypto/os feature set as upstream CI, one test thread, named output, and a 20 minute step limit.Run 521 identified
binding::test_switch_bindingas a hang:process_groupsretried a failing IPv6 multicast join without yielding, starving the test's 60 second timeout. A 100 ms delay between failed joins keeps the retry behavior and lets the existing timeout fail the test with its name and cause.Run 529 then showed the real cause. The job container on hel-forge-01 has no IPv6 (its
/proc/net/if_inet6lists onlylo), so the multicast join fails withNo such device (os error 19); the--sysctl net.ipv6.conf.*.disable_ipv6=0container option cannot help, because the Docker job network has no IPv6 subnet. Giving job networks IPv6 is a host-wide runner change, tracked in PLAT-941 (Low, not being done while hel-forge-01 is loaded).So, per the lead: the test step now runs with
--no-fail-fast(cargo otherwise stops at the first failing test binary and hides every test after it) and skipstest_switch_bindingby name, with the reason in a workflow comment. Upstream's own CI still runs it. Any further test the run shows failing for the same reason is skipped the same way and listed on PLAT-941. Remove the skips when PLAT-941 lands.Known, from the self-review (reviews/self/rs-matter-6d0e66e.md, BLOCKING 3, all accepted):
process_groupsthe join retry always picks the first unjoined address, so an address that keeps failing delays the others, andChainedNetwork::joinrestarts from its first adapter on a partial failure. Both are how the loop already worked before the 100 ms delay (which only stops it from starving the executor); they are not changed here.