Repository navigation
Description
Problem
ASIC Testbench PR #119 cannot complete its existing 225-second task payloads on ci-fleet even when application assertions themselves take seconds. Investigate classic-builder and runner filesystem latency under the supported shared-fleet workload. This issue records consumer evidence; CPU pressure, storage pressure, cache behavior and the host-level cause are not yet verified.
Consumer: https://github.com/RandomDevelopment/asic-testbench/issues/118
PR: https://github.com/RandomDevelopment/asic-testbench/pull/119
Exact tested head: 04df04cf55e8640dfd99a7d3cbb84991ff6a075e
Full CI run: https://github.com/RandomDevelopment/asic-testbench/actions/runs/38795110132
The helper migration and separate producer approvals are complete enough for task execution. Planning passed. No host configuration, credentials or deployment changes were made during this investigation.
Retained evidence
All three sampled failures ran on ci-fleet-rd-ci-fleet-02-* runners on 2026-10-15. Times below are UTC.
- Container proxy-recovery shard, job https://github.com/RandomDevelopment/asic-testbench/actions/runs/38795110132/job/116634336401, runner suffix
4958e2a9, 19:46:08 through 19:50:13. Cached dependency installation completed quickly. RuntimeCOPY . .began at 19:46:16 and the next Docker instruction appeared at 19:47:54. The test image did not finish until 19:49:35. Its 132 unit tests passed in 2.025 seconds, but the guard invocation took 211 seconds including build/cleanup. The proxy image finished at 19:49:48, leaving insufficient time for startup and proxy-recovery assertions. Outer metadata records task exit 137, cleanup exit 0, duration 236 seconds and clean source. The fallback reaper verified cleanup after an interrupted canonical cleanup. This is not accepted successful proxy-recovery evidence. - Concurrent lifecycle/database shard, job https://github.com/RandomDevelopment/asic-testbench/actions/runs/38795110132/job/116634336439, runner suffix
d19dca78, 19:46:10 through 19:50:15. Both test images reachedCOPY . .at about 19:46:25 and the next instruction at 19:48:17. Image metadata instructions also stalled: ENTRYPOINT at 19:48:25, then CMD at 19:49:10. Both images finished around 19:49:40. Unit guards each passed 132 tests in about 2.5 seconds; databases became healthy around 19:49:57. The payload timed out at about 19:50:02. Metadata records task exit 124, cleanup exit 0, duration 235 seconds and clean source. Each nested database result has exit 143 and successful cleanup. Cancellation is not the expected outcome for this shard, so it remains failed. - Repository-contract shard 4, job https://github.com/RandomDevelopment/asic-testbench/actions/runs/38795110132/job/116634336384, runner suffix
7a0df16c, 19:50:06 through 19:51:19. A pure fake-subprocess regressiontest_lifecycle_waits_for_both_database_probes_after_failureexceeded its ten-second process wait. The fake children perform an immediate failure and a one-second sleep plus marker write; they never use Docker or a database. The shard ran 94 tests in 36.642 seconds and failed this regression. Metadata records task exit 1, cleanup exit 0, duration 64 seconds and clean source. The same regression passed in the complete 377-test local run and has also passed other hosted attempts, but its repeated hosted timeout deserves investigation rather than assumed success.
Artifacts retained locally from this run include results-containers-3-1 ID 12001894209 and results-lifecycle-2-1 ID 12002522459, plus the repository-shard result and logs. GitHub artifact retention is seven days. Full logs include instruction timestamps; no live host utilization samples were available. A read-only SSH attempt from the development workspace could not resolve the rd-ci-fleet-02 hostname, so no host-level diagnosis was performed.
Investigation and acceptance
- Reproduce with the existing supported consumer workload and capture timestamped build phases, runner/host CPU, memory and I/O pressure, Docker storage latency/cache state and relevant engine versions. Separate queue delay from payload execution time.
- Determine whether repeated concurrent classic builds, filesystem/metadata contention, host capacity, maintenance, or a consumer build-layout defect causes the stalls. The job logs alone do not establish which one is responsible.
- Propose the smallest fix in its owning repository. Preserve unique project ownership, parent-image safety, resource isolation and scoped cleanup. Do not infer that an image conflict permits force-removing unrelated resources.
- Verify complete exact-head task/JUnit coverage and cleanup under the same workload within the existing five-minute jobs, 225-second payload, 35-second fallback cleanup and both five-second termination graces. Do not treat a warm-cache rerun as proof that cold or concurrently scheduled supported work is reliable.
- Keep ASIC Testbench's canonical 23-shard plan and existing capacity policy. Do not hide this by increasing job timeouts, weakening required evidence, or adding consumer repository concurrency caps.
- Update operational/performance documentation for any actual change. This evidence-only issue changes no current documented contract. Any host configuration, maintenance, deployment or capacity change needs its own explicit authorization.
Related: #50 owns utilization telemetry; #111 owns bounded image/build-cache retention. Neither currently owns investigation of the observed multi-minute build/metadata stalls. Browser application-image reuse remains separately tracked in ASIC Testbench PR #114 and is not duplicated here.
Additional image-removal evidence
Browser shard https://github.com/RandomDevelopment/asic-testbench/actions/runs/38795110132/job/116634336527 at the same exact head 04df04cf55e8640dfd99a7d3cbb84991ff6a075e, runner ci-fleet-rd-ci-fleet-02-77bde77a, ran 2026-10-15 19:55:12 through 19:59:20 UTC. All four Playwright tests passed in 33.6 seconds, finishing at 19:58:21.518. Its 132 unit guards also passed. Teardown removed containers, volumes and the network by 19:58:33.940. The last canonical cleanup message was Removing owned image tag ...-test:latest at 19:58:34.717. The task then hit the payload deadline; outer metadata records task exit 124, cleanup exit 0, duration 238 seconds, clean source, run 38795110132 attempt 1. Artifact results-browser-1-1 ID 12002553042 retains the logs, reports and result metadata.
This demonstrates that application assertions can finish successfully while Docker image operations still consume the remaining task budget. The task remains failed because complete canonical execution did not finish within the payload deadline. It does not establish the host-level cause or authorize relaxing the deadline. Investigate image-removal latency alongside build/source-copy and image-metadata latency.
Runtime container shard https://github.com/RandomDevelopment/asic-testbench/actions/runs/38795110132/job/116634336470, runner ci-fleet-rd-ci-fleet-02-b40c2b83, 2026-10-15 19:58:26 through 20:02:31 UTC, shows the same image-removal problem after runtime checks completed. Its 132 unit guards, proxy/public URL checks, six replay-agent reads and continuous queue-worker timeout probe passed. Worker and scheduler commands completed before teardown began at 20:01:24. The scheduler was removed by 20:01:34 and database resources by 20:01:35. The final canonical message was removal of the project-owned miner-agent image at 20:01:37.844; the task later exited 124. Exact-head result metadata records cleanup exit 0, duration 236 seconds, clean source, run 38795110132 attempt 1. The fallback reaper passed, but this remains unsuccessful task evidence because canonical execution exceeded its payload budget. No runtime assertion failure was reported.
Full unchanged-head retry reproduced the stalls
A complete second attempt of run 38795110132 at unchanged head 04df04cf55e8640dfd99a7d3cbb84991ff6a075e reproduced both container runtime and concurrent lifecycle failures. No overlapping ASIC Testbench validation run was intentionally launched with it, and no project timeout, concurrency cap, image isolation or evidence rule changed. This does not prove other fleet workloads were absent.
- Runtime container shard https://github.com/RandomDevelopment/asic-testbench/actions/runs/38795110132/job/116645898141, runner
ci-fleet-rd-ci-fleet-02-668aa476, 20:11:22 through 20:15:21 UTC. The build context was only 507.6 kB. SourceCOPY . .began at 20:11:31.357 and reportedUsing cacheat 20:12:35.724. A cached permissions-layer check then took until 20:13:23.508; cached ENTRYPOINT lookup took about 26 seconds. The unique project-label instruction began at 20:13:50.154 and the next instruction appeared at 20:14:43.342. The guard's 132 tests passed, but its entire invocation took 210 seconds. Runtime startup was cancelled before its assertions completed. Outer metadata records task exit 124, cleanup exit 0, duration 229 seconds, clean source and run attempt 2. Canonical container metadata records cancellation exit 143 and cleanup exit 0. - Concurrent lifecycle shard https://github.com/RandomDevelopment/asic-testbench/actions/runs/38795110132/job/116645898145, runner
ci-fleet-rd-ci-fleet-02-9baa514c, 20:11:22 through 20:15:19 UTC. BothCOPY . .cache lookups began about 20:11:32 and completed withUsing cacheabout 20:13:50, roughly 138 seconds later. Project-label steps then took about 53 seconds. Both unit guards passed; the database probes reported passing results, but canonical task completion exceeded the deadline. Outer metadata records task exit 124, cleanup exit 0, duration 228 seconds, clean source and attempt 2. One available nested database result records exit 0, cleanup exit 0 and duration 223 seconds; the other nested result is absent, so complete canonical evidence remains unavailable.
These observations rule out a simple dependency-install cache miss as the explanation. They do not establish which Docker/cache/filesystem or host mechanism causes the latency. Existing current-attempt evidence is retained, and the already-failing retry is being stopped to avoid consuming the shared pool with repeated validation. ASIC Testbench PR #119 remains unmerged. Resolving #139 needs live fleet diagnostics through an authorized access path; the development workspace's direct hostname lookup previously failed. Host changes remain outside the consumer issue's authorized scope.
Controller 01 retry separated the fleet and artifact-storage failures
The owner reported that controller 02 had crashed and requested retry on the other machine. This is an owner report, not an independently collected host crash diagnosis. In run 38795110132 attempt 4 at unchanged head 04df04cf55e8640dfd99a7d3cbb84991ff6a075e, all 23 Run isolated task shard steps completed successfully. All 23 subsequent artifact-upload steps failed with GitHub's artifact-storage quota error. That account restriction is separate from the Docker latency investigated here and prevents complete gate acceptance despite successful payload steps.
Sample controller-01 evidence on 2026-10-16: syntax job 117061657073, cancellation lifecycle job 117061657089, policy job 117061657246, database shard 2 job 117061657014 and runtime container shard job 117061657098. Each task step passed and only upload failed. Database shard 6 job 117061657202 likewise passed its 49 selected tests and failed upload. These records show the consumer payloads can finish on the other controller without changing source, task budgets, concurrency policy or isolation. They do not prove controller 02 recovered or establish its crash cause. Keep this fleet investigation open for controller-02 diagnostics; artifact storage is being handled separately for ASIC Testbench PR #119.
Controller 01 observations during authorized recovery on 2026-10-22
The primary adopter running engine 312d22d712d5a5e87bdb14796bf2c40f33d53f92 recovered network admission and disk headroom through bounded, separately authorized cleanup. Its same-engine configuration reconciliation then succeeded and a later automatic cycle returned CHECK_OK. Two subsequent jobs completed successfully: Nickfost plan at 08:04:05 UTC and ASIC commit validation at 08:04:08 UTC.
However, Nickfost cleanup proof and isolation proof failed on actual primary runners around 08:02 UTC. The cleanup log reports a timeout waiting for its disposable test container at 08:00:00, with cold dependency installation output and task exit 143 after 181 seconds. The proof's source waits at most 120 one-second iterations for the container before aborting. These are failed lifecycle proofs, not successful application acceptance. No deadline or routing change was made to conceal them.
At 08:02:14 UTC the controller also reported an intermittent /info timeout during network-headroom inspection. At approximately 08:03 UTC a raw host docker info query exceeded its 12-second client bound, while container inventory still responded. The socket proxy reported healthy and held three shared maintenance locks; a shared-lock count alone does not prove a leaked lock or proxy deadlock. Further runner creation succeeded at 08:03:13 and 08:04:08. A short live sample around 08:04 showed I/O pressure full avg60=3.11 and zero swap, with CPU mostly idle during two one-second intervals. These limited samples do not establish the underlying daemon, cache, storage or proxy mechanism.
The legacy image store contained 23,312 records before cleanup, and broad image queries had exceeded 15- and 45-second bounds. Bounded image cleanup reclaimed about 8.74 GB net; disk use was 78% after the normal controller/runner rebuild. The count is not byte accounting, and this evidence does not establish that metadata volume caused the latency. Retain the existing performance investigation and #111 retention work; do not assume the primary shares the secondary VM's clock failure. No extra proxy or Docker restart was performed in response to these post-restoration latency observations, and active jobs were preserved.
Pinned-source review separates admission latency from maintenance locks. GET /info bypasses the proxy's shared mutation gate, and the socket WRITE flock is the expected singleton server guard. Three mutation SH holders therefore do not establish global serialization or explain /info delay. Scale-up combines /info and network listing under one ten-second deadline before acquiring its creation SH lock. Meanwhile admitted mutation forwarding detaches caller cancellation and can retain its SH lock through an unbounded response drain. Proxy health tests a separate backend ping and removal markers, so a healthy proxy report does not establish progress of those operations. These source limitations warrant progress/latency evidence and safe cancellation/uncertainty handling in the durable investigation; they do not prove the live request identities or daemon cause. No post-restoration restart was attempted while active or uncertain work remained.
Activity
[-]Investigate classic-builder stalls exceeding consumer payload deadlines[/-][+]Investigate Docker build and image-operation stalls exceeding consumer deadlines[/+]Nickfost commentedon Oct 16, 2026
Additional primary-controller evidence, 2026-10-16 UTC:
Three real TF2 retry jobs were admitted on the primary at 15:39:16–15:39:19, matching its reviewed MAX=3. This is separate from the secondary VM investigation.
ci-fleet-rd-ci-fleet-01-bbc71772. Checkout and the source-copy policy check passed. The isolated task ran from 15:40:25 until 15:44:04 and exited 124 while the classic image build was still progressing. At 15:43:45 it reachedRUN npm ci; npm installed 62 packages in 12 seconds and finished at 15:43:59. This sample does not establish a dependency download stall or its underlying cause.The active primary engine remains
312d22d712d5a5e87bdb14796bf2c40f33d53f92, and the bounded image/cache prevention rollout in #111 remains separate. This evidence does not establish that primary and secondary share the same cause. Private host diagnostics are retained in the operational recovery record; no host addresses, credentials or raw environment are attached.