ci: rasterstate Matter check on hearth and the multicast test fix #2

Merged
stephen merged 8 commits from plat-924-rs-matter-fork-ci into hearth 2026-11-23 19:52:00 +00:00
Owner

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.yml as the fork's check on PRs and pushes to hearth. It runs format and Clippy on the shared Linux pool with a pinned Rust toolchain, then the tests with the same rs-matter package 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_binding as a hang: process_groups retried 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_inet6 lists only lo), so the multicast join fails with No such device (os error 19); the --sysctl net.ipv6.conf.*.disable_ipv6=0 container 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 skips test_switch_binding by 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):

  • Skipping the test means a regression in switch binding is not caught by the fork CI until PLAT-941 is done.
  • In process_groups the join retry always picks the first unjoined address, so an address that keeps failing delays the others, and ChainedNetwork::join restarts 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.
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.yml` as the fork's check on PRs and pushes to `hearth`. It runs format and Clippy on the shared Linux pool with a pinned Rust toolchain, then the tests with the same `rs-matter` package 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_binding` as a hang: `process_groups` retried 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_inet6` lists only `lo`), so the multicast join fails with `No such device (os error 19)`; the `--sysctl net.ipv6.conf.*.disable_ipv6=0` container 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 skips `test_switch_binding` by 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): - Skipping the test means a regression in switch binding is not caught by the fork CI until PLAT-941 is done. - In `process_groups` the join retry always picks the first unjoined address, so an address that keeps failing delays the others, and `ChainedNetwork::join` restarts 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.
ci: add rasterstate Matter check on hearth
Some checks failed
Rasterstate CI / check (pull_request) Failing after 40s
e503b04290
ci: run Matter checks without a lockfile
Some checks failed
Rasterstate CI / check (pull_request) Failing after 2h9m33s
ac87a118fc
ci: expose hanging Matter test in bounded run
Some checks failed
Rasterstate CI / check (pull_request) Has been cancelled
74195650cf
ci: match upstream Matter test selection
Some checks failed
Rasterstate CI / check (pull_request) Has been cancelled
20a7dbf239
fix: yield between failed multicast join attempts
Some checks failed
Rasterstate CI / check (pull_request) Failing after 11m40s
fbb02557fd
Enable IPv6 multicast in rs-matter CI container
Some checks failed
Rasterstate CI / check (pull_request) Failing after 12m47s
fb8fd674db
ci: run every test binary, skip the IPv6 multicast test by name (PLAT-941)
All checks were successful
Rasterstate CI / check (pull_request) Successful in 12m27s
6d0e66e45d
cargo stopped at the first failing test binary, which hid every test after test_switch_binding. That test joins an IPv6
multicast group and a job container here has no IPv6 (only lo), so the join fails with ENODEV (run 529). It is skipped by
name until PLAT-941 gives job networks IPv6; upstream's own CI still runs it.
stephen merged commit 779272bce0 into hearth 2026-11-23 19:52:00 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
rasterstate/rs-matter!2
No description provided.