cargo/wrapper: a write refused for no space in the job's own target directory ends the job as cache_unreachable, not disk_full #109

Open
opened 2026-11-18 18:11:20 +00:00 by xemmerling · 0 comments
Owner

At 18:08:38Z the compile wrapper failed a job because its own write got "No space left on device", and the job's end was told cache_unreachable. The volume had about 500 GB free. A job that runs out of its own disk is meant to end disk_full and run again booked higher; this one runs again as booked.

The end

the compiler cache failed the job: refused: leaving the sysroot's crates out of
/target/debug/deps/snippets-818699ddff28c75f.d: No space left on device (os error 28)
on t-worker-ci-x86-1 job=j612-8348 check="test-x86_64/tilo-agent-session" cause="cache_unreachable"
  • Job j612-8348, people's, run r1c9c5ac7fb: started 17:58:58Z, ended 18:08:38Z after 568 s of running.
  • Production 31934c00, worker pod started 17:39:55Z.

Where it comes from

  • crates/t-cache/src/cargo/wrapper/compile.rs:245 (finish): when planned.dep_for_cargo(...) fails, the wrapper releases its claims and returns refused(...) with the error's text. The lines are from 46a0c02e.
  • src/proto/worker.rs:459-460: Cause::CacheUnreachable gives Rerun::Anywhere, Cause::DiskFull gives Rerun::DiskHigher.
  • src/proto/worker.rs:297: "XFS refuses a write past a project's limit whole", which is how a job at its own disk limit sees this error.

What the node was doing

  • Free disk on the node: 449 GB (18:04:45Z), 407 GB (18:05:29Z), 414 GB (18:06:13Z), 464 GB (18:06:56Z), 515 GB (18:07:40Z), 504 GB (18:08:23Z). Its floor is 440 GB.
  • What it lets jobs book above the floor (t_node_disk_ceiling_bytes) was 0 at 18:06Z and 18:07Z and 32 GB at 18:08Z (issue 107).
  • Four other jobs ended disk_full in the same episode, the last at 18:04:42Z, each "at its own disk limit, which t booked".

Read, and not read

  • Read: the server's line, the job's row, the code above, the disk readings.
  • Not read: how much this job held against its limit. Its directory was gone when my capture looked 30 s later, and the worker logged no disk-quota line for it. So that it was at its own limit, and not refused for another reason, is my inference from the volume's free space and the ceiling.
  • The check runs again: job j612-8842 was running at 18:10:47Z.

The question: an I/O error on a file in the job's own target directory is not the cache refusing the job. Should the wrapper pass "no space" on such a write through as the job's own failure, so the node judges it against the job's disk limit and the rerun is booked higher? The wrapper is yours; I commission nothing.

At 18:08:38Z the compile wrapper failed a job because its own write got "No space left on device", and the job's end was told `cache_unreachable`. The volume had about 500 GB free. A job that runs out of its own disk is meant to end `disk_full` and run again booked higher; this one runs again as booked. **The end** ``` the compiler cache failed the job: refused: leaving the sysroot's crates out of /target/debug/deps/snippets-818699ddff28c75f.d: No space left on device (os error 28) on t-worker-ci-x86-1 job=j612-8348 check="test-x86_64/tilo-agent-session" cause="cache_unreachable" ``` - Job j612-8348, people's, run r1c9c5ac7fb: started 17:58:58Z, ended 18:08:38Z after 568 s of running. - Production 31934c00, worker pod started 17:39:55Z. **Where it comes from** - `crates/t-cache/src/cargo/wrapper/compile.rs:245` (`finish`): when `planned.dep_for_cargo(...)` fails, the wrapper releases its claims and returns `refused(...)` with the error's text. The lines are from 46a0c02e. - `src/proto/worker.rs:459-460`: `Cause::CacheUnreachable` gives `Rerun::Anywhere`, `Cause::DiskFull` gives `Rerun::DiskHigher`. - `src/proto/worker.rs:297`: "XFS refuses a write past a project's limit whole", which is how a job at its own disk limit sees this error. **What the node was doing** - Free disk on the node: 449 GB (18:04:45Z), 407 GB (18:05:29Z), 414 GB (18:06:13Z), 464 GB (18:06:56Z), 515 GB (18:07:40Z), 504 GB (18:08:23Z). Its floor is 440 GB. - What it lets jobs book above the floor (`t_node_disk_ceiling_bytes`) was 0 at 18:06Z and 18:07Z and 32 GB at 18:08Z (issue 107). - Four other jobs ended `disk_full` in the same episode, the last at 18:04:42Z, each "at its own disk limit, which t booked". **Read, and not read** - Read: the server's line, the job's row, the code above, the disk readings. - Not read: how much this job held against its limit. Its directory was gone when my capture looked 30 s later, and the worker logged no disk-quota line for it. So that it was at its own limit, and not refused for another reason, is my inference from the volume's free space and the ceiling. - The check runs again: job j612-8842 was running at 18:10:47Z. **The question:** an I/O error on a file in the job's own target directory is not the cache refusing the job. Should the wrapper pass "no space" on such a write through as the job's own failure, so the node judges it against the job's disk limit and the rerun is booked higher? The wrapper is yours; I commission nothing.
Sign in to join this conversation.
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
tilo/t#109
No description provided.