Repository navigation
Description
What happens
The test / build job fails with a compile step that produced no compiler output:
FAILED: [code=113] ci/meson/native/fastled.so.p/.._.._.._src_fl_build_third_party+.cpp.o
113 is zccache's exit code, not clang's. A real compile error prints a diagnostic and names a line; these print nothing. Reruns of the identical commit succeed.
Evidence that it is infrastructure
Across five occurrences on four PRs:
| PR | object that failed | change under test |
|---|---|---|
| #4112 | third_party+.cpp.o, then platforms+.cpp.o |
MP3 backend deletion |
| #4117 | third_party+.cpp.o, then platforms+.cpp.o |
CPU audit Python + CI files |
| #4131 | third_party+.cpp.o |
two Python files under ci/ |
Three independent signals:
- The failing object moves between runs of the same commit. A real compile error is deterministic; this is not.
- It fires on PRs that change no C++ at all. test(mp3): gate the CPU trend on simulated metrics, not timed ones (#4130) #4131 modifies
ci/codec_cpu/audit.pyand its test -- 141 insertions across two Python files -- and cannot affect a unity build ofsrc/third_party/**. - The runner is visibly unhealthy in the same job, every time:
zccache[info][Q]: daemon under load: queued, position 1 of 3 queued, 3 in flightSkipping combined AST ratchet — error: Failed to spawn: 'clang-tool-chain-query'Setup failed: [Errno 2] No such file or directory: '.cache/js-tools'
The pattern is a loaded or unhealthy zccache daemon returning 113 instead of compiling, with the surrounding toolchain also failing to spawn processes.
Why it matters beyond the lost minutes
Every occurrence costs a rerun, but the real cost is what it teaches. A failure that looks like a build break, on a PR that cannot have broken the build, trains reviewers to rerun red checks without reading them. That is exactly the habit that lets a genuine failure through -- and this repo has just had two real defects (#4127, #4130) that were only found because someone looked at a result rather than assuming it.
Suggested direction
I have not diagnosed the daemon itself; this is a report with evidence, not a fix.
- Make 113 self-identifying. fbuild already does this well elsewhere:
daemon did not become healthy after 3 spawn attempts (10s each). This is a daemon problem, not a defect in the code being built — no compilation was attempted.That message turns a five-minute investigation into a five-second one. zccache returning 113 with no output should say the same thing. - Retry once inside the build before failing the job, given the failure is transient by construction.
- Investigate the correlation with
clang-tool-chain-queryfailing to spawn in the same job. Both are process-spawn failures; a shared cause (fd exhaustion, memory pressure, PID limits on the runner) seems more likely than two independent flakes landing together every time.
Observed on ubuntu-24.04 runners, September 2026.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
zackees commentedon Sep 1, 2026
Two more occurrences, both on PRs that change no C++ that could reach the failing objects.
third_party+.cpp.oci/fl.stl+.cpp.oandthird_party+.cpp.oin the same runThat brings it to seven occurrences across five PRs, and the pattern holds in every one:
third_party+,platforms+,fl.stl+, sometimes two at onceFailed to spawn: 'clang-tool-chain-query'appears in the same job every single time, alongsidezccache daemon under loadand the missing.cache/js-toolsThe #4131 case is the cleanest control available: 141 lines of Python in
ci/, and a C++ unity build ofsrc/third_party/**failed. There is no mechanism by which that change could do it.The consistent co-occurrence of three separate process-spawn failures in one job continues to point at a shared cause on the runner rather than three independent flakes.
zackees commentedon Sep 1, 2026
Occurrence #8, on PR #4134 (run 33556362240, 2026-09-01T20:40Z).
Same signature as the rest:
FAILED: [code=113]with no compiler diagnostic, two objects in the same run —Immediately preceded by
zccache[info][Q]: daemon under load: queued, position 2 of 3 queued, 3 in flight, which is present in the earlier reports too and is the most consistent correlate so far — the failures cluster when the daemon reports a full queue.Also visible in the same job, and possibly unrelated:
error: Failed to spawn:clang-tool-chain-query``, which causes the combined AST ratchet to be skipped rather than fail.Re-running the failed job.
zackees commentedon Sep 3, 2026
Another occurrence, matching the reported pattern exactly.
PR #4123, job 100469403724, 2026-09-02. The change under test is documentation comments in a single header (
src/fl/task/task.h) — no code, noci/files. Both objects from the table failed in the same run:No compiler diagnostic on either, and the load signal is present in the surrounding lines:
This is a stronger version of signal #2 in the report: #4131 at least touched
ci/, whereas this PR changes only///comment text inside a header. The unity build ofsrc/third_party/**cannot be affected by it.Worth noting for anyone triaging red CI this week: there is currently a second, unrelated repo-wide failure that also produces red
test / build-adjacent jobs —running-process4.10.10 shippedcp311-cp311wheels instead ofcp310-abi3, so jobs on CPython 3.12 fall back to an sdist build that fails under soldr. #4141 pins around that. The two are easy to conflate; the 113 signature (no diagnostic, moves between objects) is the one that belongs to this issue.fix(ci): classify retries on the latest attempt; collect tests linked…
fix(ci): name and retry zccache exit-113 daemon failures (FastLED#4145)