node/prepare: a shard's input was in no store 2 min 44 s after its run's build ended: head check told error and never asked again (input_lost at 18:14:09Z 11-17, the first in 72 h) #99

Open
opened 2026-11-17 18:26:09 +00:00 by xemmerling · 0 comments
Owner

What was seen. On production (f5147065) at 18:14:09Z on 2026-11-17 job j603-24744 ended error | input_lost, one second after its start and before it was launched: "blob 9a65703ff0991eab0ba47f5c61e59ef07a0d7f97978caccc51cbd7ca800823d2 of the job's inputs is in no store that should hold it: rule 2 violated on t-worker-ci-x86-1". It is the first job with this cause in 72 hours.

The job. One of four shards of test/tilo-console in CI head run r5e6d682621 (asked 17:53:28Z). The run's own builds had just ended on the same node: test-x86_64 (j603-23392) at 18:03:13Z and test (j603-23393) at 18:11:24Z, both pass. The other three shards (j603-24743, j603-24745, j603-24742) started within thirteen seconds of it and passed. By Cause::rerun an input lost is never asked again (src/proto/worker.rs:406), so the check was told error at 18:14:46Z with three of its four shards passed, and the head carries one error of t's own.

What the blob is not. The error is the form without an archive (PlaceError::Missing in the node's preparation, src/node/prepare.rs:592-608). I looked for the hash and did not find it: in the manifests of the run's two test archives in the server's store (b3e1b696… stored 18:03:13Z, 85a38f89… stored 18:11:23Z; neither names it), in t.blob_refs, in t.unit_graphs (blob, metadata, paths), in the run's t.run_outputs, under the held blobs of any standing cache entry (both byte orders of its first eight bytes), nor as a file in the server's store. The job's directory was gone, so I could not read its spec. I do not know which input it was.

What was going on around it.

  • The node's freer ran a pass every 10 to 45 seconds with the volume 35 to 39 GB short of its keep line: 18:13:16Z (freed 24, 36.8 GB), 18:13:59Z (freed 21, 99.8 GB), 18:14:12Z (freed 21, 34.5 GB).
  • The server's store collection reported the volume short of 15% free and the compiler cache dropping entries for it each minute (50 such warnings since the 14:35Z start).
  • Cache entries dropped by the server because a store no longer holds a blob of theirs, per half hour from its log:
half hour from "its node lacks" "its archive lacks"
16:30Z 2,015 53
17:00Z 1,638 490
17:30Z 1,259 131
18:00Z (to 18:23Z) 1,647 682

Why I file it. The cause's own text says an open run's pin from placement until the run ends is the one way a blob stays, so by t's rule a blob an open run's shard needed was let go, and nothing says which or by whom. Your f8b3e7ff (a pass says what it freed was used for, and how long after freeing it was had again) is on testing and may answer exactly this at the next case; this issue gives it one case with its times. Two things to weigh, both yours: whether a lost input without an archive should be asked again once (three sibling shards had what they needed seconds apart), and whether the error should name the kind of input it was.

22:10Z 11-17 (production 2885a521): 24 more, in the form t recovers from, and what your new line counts

The case. Probe run r56d5a7cc5d (asked 21:06:31Z) had all 24 shards of test/tilo-workspace-host end error | input_lost between 22:10:10Z and 22:10:12Z: "the test build's archive 64269212c370e4a0… is gone from the store that kept it (blob 587074079906bb9d… of it is in no store): its build runs again". The run built no test archive of its own in the two hours before, so the archive was another run's, taken as a hit. The check stands queued again in the run (one ask, place 109 at 22:19Z), as the rule for an archive says. So this one costs a test build and the probe's time, not a verdict; the 18:14Z one, without an archive, cost a head a verdict. The worker's log names neither the archive nor the blob at any time since 18:30Z, and no cache entry or open run names the archive now.

What the store itself says since f8b3e7ff went live ("blobs the store took in again after its freer freed them, and how long after", first line 18:35:58Z; summed from the worker's log, with the freer's own passes beside it):

half hour from freer passes items freed GB freed, as the freer counts blobs taken in again mean minutes after they were freed
18:30Z 80 1,554 1,931 31,087 6.6
19:00Z 78 3,089 3,155 75,990 15.3
19:30Z 116 3,095 2,738 95,584 20.5
20:00Z 79 3,823 2,848 67,507 11.8
20:30Z 48 2,592 2,879 110,654 28.1
21:00Z 52 2,229 2,487 113,839 38.4
21:30Z 25 1,936 1,955 77,389 19.2
22:00Z (to 22:17Z) 67 1,260 2,512 116,118 15.8

In under four hours the node's store took in again 688,168 blobs it had freed, 21.7 minutes after freeing them on average. The line does not say whether a blob came back by a fetch or by the work being done again, nor which kind it was; the two input_lost events are where a blob that was freed could not come back at all. I read the table as: the freer's "least worth" is, hundreds of thousands of times an hour, something a job wants within the half hour.

What the 22:10Z loss cost, read at 23:54Z. The check's build was asked again at 22:10:12Z, waited 17.7 minutes for room, ran as j604-26764 from 22:27:54Z to 22:28:56Z and passed: 62 s on the clock, 4.1 s of CPU, so the units came from the cache and only the archive was made again. The check's shards have not run again since: the run's one ask for test/tilo-workspace-host stands queued at place 3,558 of 3,834 (probe asks hold places 3,323 to 3,834, behind all of CI's, and CI itself was held back by people's jobs from 23:00Z, #97). The probe run, asked 21:06:31Z, is still open 2 h 48 min later. So in its recoverable form the loss costs almost no cores; it costs the check its place in the queue twice, and under load that is hours.

Seen from the server at the 23:32:19Z start (7710cc0d): 130 cache entries were dropped in its first minute for a blob that was gone: "a cache entry names a blob its node lacks: it goes, and its key misses" 65 with trust main and 47 with trust pool, "its archive lacks" 18.

How the 22:10Z case ended. Probe run r56d5a7cc5d finished at 01:00:30Z, 3 h 54 min after it was asked and 2 h 50 min after the loss: the check's 24 shards ran again between 00:55Z and 01:00Z (21 passed, 3 failed on their own tests), and the run told its one check failed. So the answer was right in the end, and the loss delayed it by most of three hours: 18 minutes for the build's second place in the queue and the rest for the shards' second place, behind CI during the night's wave.

02:46Z 11-18: a baseline before your next promote, which re-keys every compile once (f97af0ee, keys::kind::COMPILER v2). On production (ab189001) the node ran these many compiles per ten minutes, counted as slot ends in the worker's log (hits do not show): 01:40Z 5,535; 01:50Z 5,032; 02:00Z 7,318; 02:10Z 3,413; 02:20Z 6,144; 02:30Z 3,873. Free disk on the node 1,263 GB at 02:43Z. A second generation of entries beside the first is what this issue's table measures the cost of: the store taking in again what its freer freed (688,168 blobs in the four hours to 22:17Z on 11-17, 21.7 minutes after freeing on average), and twice a job's input in no store. I will read the same counts through the promote and add them here: compiles per ten minutes, free disk, the freer's passes and "took in again" lines, and input_lost ends.

04:01Z 11-18: through the promote of 7d7c6593 (03:29:31Z), the same counts. Compiles per ten minutes: 03:00Z 8,174; 03:10Z 5,916; 03:20Z 2,824 (the set-up stall of #84 and the restart); 03:30Z 12,893; 03:40Z 4,620; 03:50Z 7,960. So the re-keying showed as one ten-minute span at about two and a half times the rate before, then the usual band; your narrower heads ask fewer compiles at the same time, so the two cannot be told apart here. Free disk stayed at 1,253 to 1,255 GB from 03:42Z to 03:56Z. In the half hour from 03:30Z the freer made 11 passes (804 GB by its count) and the store took in again 39,407 blobs it had freed, against 67,507 to 116,118 a half hour the evening before. No job ended input_lost since 22:10Z on 11-17. Your 2de68dab (a pass frees blobs by punching their extents out of their packs) is on main and not on production; I read the same line after it goes live.

05:36Z 11-18: the freer that punches blobs out of packs is live (2de68dab, on production in 85866e52 since 05:05:22Z)

The node's store by Prometheus, the half hour before the start against the half hour after it (sum(increase(...[30m])) at 05:05Z and at 05:36Z):

04:35Z to 05:05Z 05:06Z to 05:36Z
placed for jobs (t_node_store_place_bytes_total) 850 GB 791 GB
had again after freeing (t_node_store_had_again_bytes_total) 78.3 GB 12.7 GB
share of the placed bytes 9.2% 1.6%
blobs had again 76,428 37,811
deleted (t_node_store_deleted_bytes_total) 3,208 GB 3,863 GB

So the bytes a job fetched again after the node's own freer freed them fell to a sixth with the same load (6,400 to 6,800 compiles in ten minutes before and after). The blobs had again halved only: what is still taken in again is small. The worker's log has 38 passes in the half hour, the largest asking for 280 GB, and the volume's lowest free reading was 1,054 GB at 05:12:40Z against the 1,319 GB it keeps (my 40 s readings on the node; the freer's own lines saw 1,119 GB): after the start it fell 265 GB in five minutes and was back above 1,100 GB a minute later. No job ended input_lost and no line names a lost input since the start.

Not read yet: a full hour, and an hour with a wave of people's jobs. I read both and add them here.

06:07Z 11-18: the first full hour on the new freer (05:06Z to 06:06Z against 04:05Z to 05:05Z)

the hour before the first hour
placed for jobs 1,463 GB 1,783 GB
had again after freeing 251.7 GB 40.0 GB
share of the placed bytes 17.2% 2.2%
blobs had again 204,524 90,532
deleted 6,824 GB 7,917 GB

More was placed and a sixth as much came back from the server. The volume's lowest free reading by ten minutes after the first dip: 1,279, 1,286, 1,282, 1,296, 1,276 GB by the freer's lines (1,182 to 1,207 GB by my readings between passes); before the start my readings' lows were 1,188 to 1,228 GB. No job ended input_lost; the hour's two ends of t's own are a metadata_replaced (issue 63) and a VM step at its memory limit whose second run passed. Jobs ended in the hour: people 515 with 60 CPU hours, probes 452 with 59, CI 1,389 with 37, so this was no wave of people's jobs; that hour is still owed.

07:17Z 11-18: the owed hour with a wave of people's jobs (06:15Z to 07:15Z)

People's jobs used 73 CPU hours in this hour (60 in the hour before; 968 jobs ended against 515). The node's store over it: placed for jobs 1,918 GB, had again after freeing 25.8 GB, which is 1.3% of the placed bytes (2.2% in the first hour on the new freer, 17.2% in the hour before it); blobs had again 70,064; deleted 9,141 GB. The volume's lowest free reading by ten minutes: 1,207, 1,217, 1,198, 1,191, 1,223, 1,181, 1,204, 1,226 GB. No job ended input_lost and none ended with any cause of t's own in the hour.

With that, what this issue set out to show is answered for the hours read: on the freer that punches blobs out of packs a job's inputs are no longer what the node freed a minute before. I leave it open for a day of readings and close it then unless a lost input comes.

**What was seen.** On production (f5147065) at 18:14:09Z on 2026-11-17 job j603-24744 ended `error | input_lost`, one second after its start and before it was launched: "blob 9a65703ff0991eab0ba47f5c61e59ef07a0d7f97978caccc51cbd7ca800823d2 of the job's inputs is in no store that should hold it: rule 2 violated on t-worker-ci-x86-1". It is the first job with this cause in 72 hours. **The job.** One of four shards of `test/tilo-console` in CI head run r5e6d682621 (asked 17:53:28Z). The run's own builds had just ended on the same node: `test-x86_64` (j603-23392) at 18:03:13Z and `test` (j603-23393) at 18:11:24Z, both pass. The other three shards (j603-24743, j603-24745, j603-24742) started within thirteen seconds of it and passed. By `Cause::rerun` an input lost is never asked again (`src/proto/worker.rs:406`), so the check was told `error` at 18:14:46Z with three of its four shards passed, and the head carries one error of t's own. **What the blob is not.** The error is the form without an archive (`PlaceError::Missing` in the node's preparation, `src/node/prepare.rs:592-608`). I looked for the hash and did not find it: in the manifests of the run's two test archives in the server's store (b3e1b696… stored 18:03:13Z, 85a38f89… stored 18:11:23Z; neither names it), in `t.blob_refs`, in `t.unit_graphs` (blob, metadata, paths), in the run's `t.run_outputs`, under the held blobs of any standing cache entry (both byte orders of its first eight bytes), nor as a file in the server's store. The job's directory was gone, so I could not read its spec. I do not know which input it was. **What was going on around it.** - The node's freer ran a pass every 10 to 45 seconds with the volume 35 to 39 GB short of its keep line: 18:13:16Z (freed 24, 36.8 GB), 18:13:59Z (freed 21, 99.8 GB), 18:14:12Z (freed 21, 34.5 GB). - The server's store collection reported the volume short of 15% free and the compiler cache dropping entries for it each minute (50 such warnings since the 14:35Z start). - Cache entries dropped by the server because a store no longer holds a blob of theirs, per half hour from its log: | half hour from | "its node lacks" | "its archive lacks" | |---|---|---| | 16:30Z | 2,015 | 53 | | 17:00Z | 1,638 | 490 | | 17:30Z | 1,259 | 131 | | 18:00Z (to 18:23Z) | 1,647 | 682 | **Why I file it.** The cause's own text says an open run's pin from placement until the run ends is the one way a blob stays, so by t's rule a blob an open run's shard needed was let go, and nothing says which or by whom. Your f8b3e7ff (a pass says what it freed was used for, and how long after freeing it was had again) is on testing and may answer exactly this at the next case; this issue gives it one case with its times. Two things to weigh, both yours: whether a lost input without an archive should be asked again once (three sibling shards had what they needed seconds apart), and whether the error should name the kind of input it was. ## 22:10Z 11-17 (production 2885a521): 24 more, in the form t recovers from, and what your new line counts **The case.** Probe run r56d5a7cc5d (asked 21:06:31Z) had all 24 shards of `test/tilo-workspace-host` end `error | input_lost` between 22:10:10Z and 22:10:12Z: "the test build's archive 64269212c370e4a0… is gone from the store that kept it (blob 587074079906bb9d… of it is in no store): its build runs again". The run built no test archive of its own in the two hours before, so the archive was another run's, taken as a hit. The check stands queued again in the run (one ask, place 109 at 22:19Z), as the rule for an archive says. So this one costs a test build and the probe's time, not a verdict; the 18:14Z one, without an archive, cost a head a verdict. The worker's log names neither the archive nor the blob at any time since 18:30Z, and no cache entry or open run names the archive now. **What the store itself says since f8b3e7ff went live** ("blobs the store took in again after its freer freed them, and how long after", first line 18:35:58Z; summed from the worker's log, with the freer's own passes beside it): | half hour from | freer passes | items freed | GB freed, as the freer counts | blobs taken in again | mean minutes after they were freed | |---|---|---|---|---|---| | 18:30Z | 80 | 1,554 | 1,931 | 31,087 | 6.6 | | 19:00Z | 78 | 3,089 | 3,155 | 75,990 | 15.3 | | 19:30Z | 116 | 3,095 | 2,738 | 95,584 | 20.5 | | 20:00Z | 79 | 3,823 | 2,848 | 67,507 | 11.8 | | 20:30Z | 48 | 2,592 | 2,879 | 110,654 | 28.1 | | 21:00Z | 52 | 2,229 | 2,487 | 113,839 | 38.4 | | 21:30Z | 25 | 1,936 | 1,955 | 77,389 | 19.2 | | 22:00Z (to 22:17Z) | 67 | 1,260 | 2,512 | 116,118 | 15.8 | In under four hours the node's store took in again 688,168 blobs it had freed, 21.7 minutes after freeing them on average. The line does not say whether a blob came back by a fetch or by the work being done again, nor which kind it was; the two `input_lost` events are where a blob that was freed could not come back at all. I read the table as: the freer's "least worth" is, hundreds of thousands of times an hour, something a job wants within the half hour. **What the 22:10Z loss cost, read at 23:54Z.** The check's build was asked again at 22:10:12Z, waited 17.7 minutes for room, ran as j604-26764 from 22:27:54Z to 22:28:56Z and passed: 62 s on the clock, 4.1 s of CPU, so the units came from the cache and only the archive was made again. The check's shards have not run again since: the run's one ask for `test/tilo-workspace-host` stands queued at place 3,558 of 3,834 (probe asks hold places 3,323 to 3,834, behind all of CI's, and CI itself was held back by people's jobs from 23:00Z, #97). The probe run, asked 21:06:31Z, is still open 2 h 48 min later. So in its recoverable form the loss costs almost no cores; it costs the check its place in the queue twice, and under load that is hours. **Seen from the server at the 23:32:19Z start (7710cc0d):** 130 cache entries were dropped in its first minute for a blob that was gone: "a cache entry names a blob its node lacks: it goes, and its key misses" 65 with trust main and 47 with trust pool, "its archive lacks" 18. **How the 22:10Z case ended.** Probe run r56d5a7cc5d finished at 01:00:30Z, 3 h 54 min after it was asked and 2 h 50 min after the loss: the check's 24 shards ran again between 00:55Z and 01:00Z (21 passed, 3 failed on their own tests), and the run told its one check failed. So the answer was right in the end, and the loss delayed it by most of three hours: 18 minutes for the build's second place in the queue and the rest for the shards' second place, behind CI during the night's wave. **02:46Z 11-18: a baseline before your next promote, which re-keys every compile once (f97af0ee, `keys::kind::COMPILER` v2).** On production (ab189001) the node ran these many compiles per ten minutes, counted as slot ends in the worker's log (hits do not show): 01:40Z 5,535; 01:50Z 5,032; 02:00Z 7,318; 02:10Z 3,413; 02:20Z 6,144; 02:30Z 3,873. Free disk on the node 1,263 GB at 02:43Z. A second generation of entries beside the first is what this issue's table measures the cost of: the store taking in again what its freer freed (688,168 blobs in the four hours to 22:17Z on 11-17, 21.7 minutes after freeing on average), and twice a job's input in no store. I will read the same counts through the promote and add them here: compiles per ten minutes, free disk, the freer's passes and "took in again" lines, and `input_lost` ends. **04:01Z 11-18: through the promote of 7d7c6593 (03:29:31Z), the same counts.** Compiles per ten minutes: 03:00Z 8,174; 03:10Z 5,916; 03:20Z 2,824 (the set-up stall of #84 and the restart); 03:30Z 12,893; 03:40Z 4,620; 03:50Z 7,960. So the re-keying showed as one ten-minute span at about two and a half times the rate before, then the usual band; your narrower heads ask fewer compiles at the same time, so the two cannot be told apart here. Free disk stayed at 1,253 to 1,255 GB from 03:42Z to 03:56Z. In the half hour from 03:30Z the freer made 11 passes (804 GB by its count) and the store took in again 39,407 blobs it had freed, against 67,507 to 116,118 a half hour the evening before. No job ended `input_lost` since 22:10Z on 11-17. Your 2de68dab (a pass frees blobs by punching their extents out of their packs) is on main and not on production; I read the same line after it goes live. ## 05:36Z 11-18: the freer that punches blobs out of packs is live (2de68dab, on production in 85866e52 since 05:05:22Z) The node's store by Prometheus, the half hour before the start against the half hour after it (`sum(increase(...[30m]))` at 05:05Z and at 05:36Z): | | 04:35Z to 05:05Z | 05:06Z to 05:36Z | |---|---|---| | placed for jobs (`t_node_store_place_bytes_total`) | 850 GB | 791 GB | | had again after freeing (`t_node_store_had_again_bytes_total`) | 78.3 GB | 12.7 GB | | share of the placed bytes | 9.2% | 1.6% | | blobs had again | 76,428 | 37,811 | | deleted (`t_node_store_deleted_bytes_total`) | 3,208 GB | 3,863 GB | So the bytes a job fetched again after the node's own freer freed them fell to a sixth with the same load (6,400 to 6,800 compiles in ten minutes before and after). The blobs had again halved only: what is still taken in again is small. The worker's log has 38 passes in the half hour, the largest asking for 280 GB, and the volume's lowest free reading was 1,054 GB at 05:12:40Z against the 1,319 GB it keeps (my 40 s readings on the node; the freer's own lines saw 1,119 GB): after the start it fell 265 GB in five minutes and was back above 1,100 GB a minute later. No job ended `input_lost` and no line names a lost input since the start. Not read yet: a full hour, and an hour with a wave of people's jobs. I read both and add them here. ## 06:07Z 11-18: the first full hour on the new freer (05:06Z to 06:06Z against 04:05Z to 05:05Z) | | the hour before | the first hour | |---|---|---| | placed for jobs | 1,463 GB | 1,783 GB | | had again after freeing | 251.7 GB | 40.0 GB | | share of the placed bytes | 17.2% | 2.2% | | blobs had again | 204,524 | 90,532 | | deleted | 6,824 GB | 7,917 GB | More was placed and a sixth as much came back from the server. The volume's lowest free reading by ten minutes after the first dip: 1,279, 1,286, 1,282, 1,296, 1,276 GB by the freer's lines (1,182 to 1,207 GB by my readings between passes); before the start my readings' lows were 1,188 to 1,228 GB. No job ended `input_lost`; the hour's two ends of t's own are a `metadata_replaced` (issue 63) and a VM step at its memory limit whose second run passed. Jobs ended in the hour: people 515 with 60 CPU hours, probes 452 with 59, CI 1,389 with 37, so this was no wave of people's jobs; that hour is still owed. ## 07:17Z 11-18: the owed hour with a wave of people's jobs (06:15Z to 07:15Z) People's jobs used 73 CPU hours in this hour (60 in the hour before; 968 jobs ended against 515). The node's store over it: placed for jobs 1,918 GB, had again after freeing 25.8 GB, which is 1.3% of the placed bytes (2.2% in the first hour on the new freer, 17.2% in the hour before it); blobs had again 70,064; deleted 9,141 GB. The volume's lowest free reading by ten minutes: 1,207, 1,217, 1,198, 1,191, 1,223, 1,181, 1,204, 1,226 GB. No job ended `input_lost` and none ended with any cause of t's own in the hour. With that, what this issue set out to show is answered for the hours read: on the freer that punches blobs out of packs a job's inputs are no longer what the node freed a minute before. I leave it open for a day of readings and close it then unless a lost input comes.
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#99
No description provided.