ci: back to 10-way per leg - 16 turned the suite's latency tripwires into red mains #2016

Closed
jaylouisw wants to merge 1 commit from ci/1118-1821 into main
Owner

Baseline (main, 8b8348e9 in place since 16:42:53): Test (Node 18/20/22) legs green in ~39 s of suite each at 16-way, but in the 80 minutes after that change merged every red test leg sampled was a wall-clock tripwire inside test/, and main went red four times on them:

  • task 16773 (main, 17:09:42) state payload 113.9 ms of a 60 ms budget
  • task 16821 (main, 17:45:12) warm filter 39.48 ms of a 25 ms ceiling
  • task 16924 (main, 18:08:50) warm filter 28.81 ms of 25
  • task 16933 (main, 18:09:40) state payload 130.7 ms of 60

plus PR legs 16900/16901 (#2011, 106.8/71.9 ms), 16829 (#2005, 83.8 ms), 16952 (#2015, 80.0 ms). In the ~400 legs of the eight hours before it, two such legs.

Cause: 16 was benchmarked with three legs and nothing else. The queue overlaps five or six legs (tasks 16900-16907; 16923-16936 also overlap the Docker build) -> 80-96 node processes on this host's 40 cores / 31 GB, no swap.

Change: PF_TEST_CONCURRENCY 16 -> 10, the value in place before 8b8348e9 and through the eight quiet hours above.

After - run 6544 on this branch (tasks 16976-16983, 18:33:20Z): all five jobs green, Arm auto-merge succeeded. Legs at 10-way: 16978 Node 18 56 s, 16979 Node 20 50 s, 16980 Node 22 53 s, against 16942/16943/16944 (59/50/55 s) at 16-way on #2014 - flat, because the storm legs were sharing the host in both. The suite itself: 16978 346 suite(s) in 45.4 s - 12005 assertions passed, 0 failed, against 16943 346 suite(s) in 38.8 s - 12005 assertions passed, 0 failed at 16-way. Same 346 suites, same 12005 assertions, same three Node versions; the 6.6 s is the price and nothing is skipped, retried or weakened.

Still red / not fixed by this: the tripwires are load-sensitive by construction and belong in test/ (state-payload-shape prints 64-66 ms of 60 on ordinary runs, 130 ms under a storm, against a "few milliseconds" nominal). 10 does not cure it - the same suites fired on 2026-11-17 00:00-05:00Z with 10 in place - it halves what this file adds to the contention. A test-side fix (more reps, or a ratio/allocation gate rather than wall clock) is outside this stream.

**Baseline (main, 8b8348e9 in place since 16:42:53)**: `Test (Node 18/20/22)` legs green in ~39 s of suite each at 16-way, but in the 80 minutes after that change merged every red test leg sampled was a wall-clock tripwire inside `test/`, and `main` went red four times on them: - task 16773 (main, 17:09:42) state payload 113.9 ms of a 60 ms budget - task 16821 (main, 17:45:12) warm filter 39.48 ms of a 25 ms ceiling - task 16924 (main, 18:08:50) warm filter 28.81 ms of 25 - task 16933 (main, 18:09:40) state payload 130.7 ms of 60 plus PR legs 16900/16901 (#2011, 106.8/71.9 ms), 16829 (#2005, 83.8 ms), 16952 (#2015, 80.0 ms). In the ~400 legs of the eight hours before it, two such legs. Cause: 16 was benchmarked with three legs and nothing else. The queue overlaps five or six legs (tasks 16900-16907; 16923-16936 also overlap the Docker build) -> 80-96 node processes on this host's 40 cores / 31 GB, no swap. **Change**: `PF_TEST_CONCURRENCY` 16 -> 10, the value in place before 8b8348e9 and through the eight quiet hours above. **After - run 6544 on this branch** (tasks 16976-16983, 18:33:20Z): all five jobs green, `Arm auto-merge` succeeded. Legs at 10-way: 16978 Node 18 56 s, 16979 Node 20 50 s, 16980 Node 22 53 s, against 16942/16943/16944 (59/50/55 s) at 16-way on #2014 - flat, because the storm legs were sharing the host in both. The suite itself: 16978 `346 suite(s) in 45.4 s - 12005 assertions passed, 0 failed`, against 16943 `346 suite(s) in 38.8 s - 12005 assertions passed, 0 failed` at 16-way. Same 346 suites, same 12005 assertions, same three Node versions; the 6.6 s is the price and nothing is skipped, retried or weakened. Still red / not fixed by this: the tripwires are load-sensitive by construction and belong in `test/` (`state-payload-shape` prints 64-66 ms of 60 on ordinary runs, 130 ms under a storm, against a "few milliseconds" nominal). 10 does not cure it - the same suites fired on 2026-11-17 00:00-05:00Z with 10 in place - it halves what this file adds to the contention. A test-side fix (more reps, or a ratio/allocation gate rather than wall clock) is outside this stream.
ci: back to 10-way per leg - 16 turned the suite's latency tripwires into red mains
All checks were successful
CI / Classify the change (pull_request) Successful in 6s
PR rebase / Rebase onto main and arm auto-merge (pull_request) Successful in 6s
CI / Server smoke test (pull_request) Successful in 8s
CI / Docker build (pull_request) Successful in 20s
CI / Test (Node 20) (pull_request) Successful in 50s
CI / Test (Node 22) (pull_request) Successful in 53s
CI / Test (Node 18) (pull_request) Successful in 56s
CI / Arm auto-merge (pull_request) Successful in 17s
8f35e0be68
8b8348e9 measured 16 against three legs and nothing else. In the real queue five
or six legs overlap (tasks 16900-16907, 16923-16936), i.e. 80-96 node processes on
this host's 40 cores / 31 GB with no swap. In the 80 minutes after it merged, every
red test leg sampled was one of two wall-clock tripwires inside test/
(state-payload-shape's 60 ms payload budget, palette-search-keys' 25 ms ceiling) and
main went red four times: 16773, 16821, 16924, 16933. Over the ~400 legs in the eight
hours before, two.

Same 344 suites and 11933 assertions in every leg; costs the 4.7 s/leg that measured.
forgejo-actions force-pushed ci/1118-1821 from 8f35e0be68
All checks were successful
CI / Classify the change (pull_request) Successful in 6s
PR rebase / Rebase onto main and arm auto-merge (pull_request) Successful in 6s
CI / Server smoke test (pull_request) Successful in 8s
CI / Docker build (pull_request) Successful in 20s
CI / Test (Node 20) (pull_request) Successful in 50s
CI / Test (Node 22) (pull_request) Successful in 53s
CI / Test (Node 18) (pull_request) Successful in 56s
CI / Arm auto-merge (pull_request) Successful in 17s
to 67d236623e 2026-11-18 18:33:28 +00:00
Compare
forgejo-actions force-pushed ci/1118-1821 from 67d236623e to cecfe7615a
All checks were successful
CI / Classify the change (pull_request) Successful in 6s
PR rebase / Rebase onto main and arm auto-merge (pull_request) Successful in 5s
CI / Server smoke test (pull_request) Successful in 7s
CI / Docker build (pull_request) Successful in 20s
CI / Test (Node 20) (pull_request) Successful in 53s
CI / Test (Node 22) (pull_request) Successful in 55s
CI / Test (Node 18) (pull_request) Successful in 58s
CI / Arm auto-merge (pull_request) Successful in 1m26s
2026-11-18 18:35:45 +00:00
Compare
jaylouisw closed this pull request 2026-11-18 18:41:08 +00:00
All checks were successful
CI / Classify the change (pull_request) Successful in 6s
PR rebase / Rebase onto main and arm auto-merge (pull_request) Successful in 5s
CI / Server smoke test (pull_request) Successful in 7s
CI / Docker build (pull_request) Successful in 20s
CI / Test (Node 20) (pull_request) Successful in 53s
CI / Test (Node 22) (pull_request) Successful in 55s
CI / Test (Node 18) (pull_request) Successful in 58s
CI / Arm auto-merge (pull_request) Successful in 1m26s

Pull request closed

Sign in to join this conversation.
No description provided.