node/image: the passt window fix (8f91f064) was reverted for its rollout and never came back: a 3 GB image upload to the registry on the same node collapsed twice, took 58 minutes instead of 10, and its head's verdict 74 #81

Closed
opened 2026-11-15 10:38:38 +00:00 by xemmerling · 0 comments
Owner

What happens. Head 56533 of tilo (asked 09:45:03Z 11-15) has had one job left since 10:01Z: publish-ci-builder (j578-4326, width 2), a skopeo push of registry.tilo.so/tilo/tilo-builder:dev-431d4873…-x86_64 with "2 new blobs (3080 MB)". It sent 1.79 GB and then fell to one burst of 861 KB about once a minute, about 12 KB/s. (Corrected 11:10Z: it did not reach its limit. The second attempt got the rest through and the job PASSED at 10:58:56Z after 58.0 minutes, against a median of 10.4; the head was judged then, 73.9 minutes after it was asked, where the three heads before it took 28 to 33.) The node is at 2 to 30 of 159 cores meanwhile. A spare-tier publish-os-dev-x86_64 (j578-4287, a VM step, width 16) stands the same way after 482 MB, and the run of that check at 08:02Z stood in Copying blob to its hour limit (16 core-hours booked, 0.02 CPU-hours used).

It is the fault 8f91f064 measured and fixed, and 11b3749b took back. Everything read today matches that commit's account (passt offers the tap side the peer's whole window when the peer is under 10 us away, drops what its socket cannot take after a short sendmsg(), no SACK, one duplicate ACK, the sender recovers only by timeout):

read at 10:30Z to 10:36Z, read-only value
image's build passt 2026_10_02.cba3570-t1 (worker pod of 11-09 00:47Z): the first patch only
inside the job, its one TCP connection (/proc/<skopeo>/net/tcp, netstat) established, 3 to 4 MB queued to send, retransmission timer armed; TCPTimeouts 246 then 247 in 25 s, RetransSegs 2,048 then 2,052, TCPSlowStartRetrans 1,783 then 1,786, TCPSackRecovery 0, every zero-window counter 0, TCPSpuriousRTOs 0
pasta0 in the job's namespace tx 1,788,351,506 bytes, then +861,012 per cycle (87,712 packets, mean 20,408 bytes); no errors, no drops
passt's own CPU over 20 s no tick: idle
pod side, sockets to registry-write (10.108.49.248:443) established, nothing queued, no timer
registry side both registry-write pods are on ci-x86-1 (10.244.1.213, 10.244.1.226); their gateway's sockets from the worker pod: nothing queued either way; registry and gateway at 0.00 to 0.01 cores, never throttled; gateway has proxy_request_buffering off; no error in 40 minutes of their logs
the registry from outside GET /v2/ 200 in 0.12 s

So the far side is idle and reads at once, the pod side has nothing to send, and the sender in the job times out again and again without ever being told a zero window: the translator in between. The peer is on the job's own node, the case the commit names ("as registry.tilo.so's write pods are on ci-x86-1"), and the VM step is the other case it names. The commit measured 100 MiB (3.9 to 34.9 MB/s with 5 to 8 timeouts, against 2,160 to 2,573 MB/s with none); over 3 GB the retransmission timer has backed off to its ceiling, which is why this reads as a stop.

Why it shows only now. The big uploads are new: in t.job_history the two CI publish checks have rows from 11-15 only (publish-ci-builder 13 runs, 6.3 to 26.0 minutes, all passed; publish-ci-fast 31 runs, longest 11.1 minutes), and publish-os-dev-x86_64 ran twice, both standing. A head whose builder image gets a new multi-GB layer now waits on this.

What is missing is the rollout, not the fix. 11b3749b says it: the base key moves, a worker on another base gets no jobs, worker pods are replaced only by deleting them, an in-place upgrade never swaps the pod's tools, "the patch comes back as one step with the pod replacement: testing's pod first, then production's promote and pod together". That was 11-10 21:36Z. The step is yours and the pod replacement is not mine to do (the user's standing rule after 11-03 is that I never delete a worker pod), so I am putting the cost on the table: with it missing, any head that uploads a large new layer takes an hour and ends red on a publish check, for a reason that is t's.

Two notes. The flow watchdog (node::pasta_flows) does not see this: the flow never stops for 30 s, it crawls. And moving the registry's write pods to another node would take job uploads off the bad branch but not a VM step's, whose peer is always pasta in the same namespace: not a fix.

Added 10:50Z: two attempts, two collapses. The first skopeo ended at 10:44:28Z, 43.5 minutes in, not by the limit but because its registry credential ran out while it crawled (writing blob: unable to retrieve auth token: … invalid credentials). The check's script logged in again and started a second copy at 10:44:29Z. That one sent about 2.35 GB in under three minutes (pasta0 tx from 1.79 GB to 4.14 GB cumulative by 10:47:13Z, about 14 MB/s) and then fell into the same hole: tx 4,144,469,391 at 10:47:40Z and at 10:48:01Z, 4,145,514,831 at 10:48:21Z, the namespace's TCPTimeouts at 541 then 542. About 0.7 GB of the blob was left at about 1 MB a cycle; it then left the hole once more and finished at 10:58:56Z, two minutes before the limit. The spare-tier publish-os-dev-x86_64 (j578-4287) ended 10:46:03Z: 60.5 minutes, fail / timed_out, 0.9 CPU-minutes at width 16, the second run of that check today to end so. So on this path a multi-GB upload does not get through: twice it ran at full speed for one to two gigabytes and then collapsed.

Added 11:38Z: a checked candidate and a prepared rollout, nothing deployed. Your commit applies to today's main unchanged. It is on the forge as dev/passt-window-within-sndbuf (6feb0f59 = main 1b22804f plus a cherry-pick of 8f91f064, your authorship kept). t's whole check set passed for it on testing at 11:37Z (run r62e1f3e2b4, candidate e6b6c9c5, forced): 8 of 8, no failed test, no t error; fmt, clippy/t and test/t ran fresh. That proves the source side, src/project/containerfile_tests.rs included. It proves nothing about the image: no base was rendered and no -t2 was built, since testing still serves 1b22804f. What I read for the rollout: both worker pods have a 120 s grace, so the drain's 100 s fits; both worker sets are OnDelete with their pods behind the template; workers and servers all report base sha256:a46820f8c821 today; the server's line to wait for is degraded, so it gets no jobs (src/server/nodes/poll.rs:73). One trap for whoever lands it: a helper that deploys to testing and promotes in one go would stop production's node, because the promote comes before testing's pod is replaced and checked. The order has to be the one you wrote: land, testing's deploy, testing's pod, the check set on the new image, then production's promote and pod together. I have that order ready as one staged script and I run its production half only on the user's own word.

Added 12:06Z: it is every such head, not only the collapse. The collapse is the far end of something every head pays. Read from the publish jobs' own logs and t.job_history today:

head publish-ci-fast, 939 MB new publish-ci-builder, 3,080 MB new
56529 4.2 min, 3.7 MB/s 10.4 min, 4.9 MB/s
56530 9.3 min, 1.7 MB/s skipped
56531 6.9 min, 2.3 MB/s 15.0 min, 3.4 MB/s
56532 3.2 min, 4.9 MB/s 11.0 min, 4.7 MB/s
56533 1.4 min, 11.2 MB/s 58.0 min, 0.9 MB/s, one attempt lost to an expired credential

Both jobs use 1% of their booked CPU (0.1 to 0.2 CPU-minutes): they wait on the upload, to a registry on their own node, at the rates 8f91f064 measured unpatched (3.9 to 34.9 MB/s there, 2,160 to 2,573 MB/s patched). And publish-ci-builder is the LAST job of the head: on an idle node heads 56531 and 56532 were image-ci-builder-x86_64 for 15.8 and 16.2 minutes, the canaries and the signing for under a minute, then this upload for 15.0 and 11.0 minutes, and the verdict the second it ended (31.5 and 27.9 minutes after the head was asked). So with the fix out, a head that rebuilds its builder image would be judged after about 17 minutes by this chain instead of 28 to 32, with one bound read and one thing unread. Read: the registry writes to S3 in us-west-2, the node's own region, in 32 MiB parts, and passes on what it receives at the rate it receives it; in the last seven days its write pods never received more than 25 to 33 MB/s in any one minute (Prometheus, container_network_receive_bytes_total), which is the top of your unpatched range, so every sender it had was behind passt. Even at that rate 3,080 MB is under two minutes instead of 11 to 15. Unread: how much faster the registry and S3 go with a sender that is not held back; only testing's worker on the new image can show that. (The session check beside the chain then bounds it at about 17 to 20: its longest shards were 9 to 19 minutes before #80's regression.) publish-ci-fast is beside the path (nothing needs it) but waits the same way. In 24 hours: 14 runs of publish-ci-builder, 31 of publish-ci-fast, all of them today.

Added 12:36Z: the idle publish check, three of three. publish-os-dev-x86_64 (spare tier, a VM step, width 16) ran three times today and every run ended timed_out: 08:02:13Z to 09:02:45Z, 09:45:35Z to 10:46:03Z, 11:25:49Z to 12:27:19Z, 60.5 to 61.5 minutes each with 0.8 to 0.9 CPU-minutes. It comes back about forty minutes after each end, so through the day it books 16 cores for an hour out of every hundred minutes and never passes: 48.7 core-hours booked today for 2.6 CPU-minutes.

Read with: /proc/<pid>/net/{dev,tcp,netstat,snmp} of the job's process and of its passt in the worker container, /proc/net/tcp in the gateway containers, the cluster's Prometheus for the registry pods. Result, 11:10Z. publish-ci-builder j578-4326: 10:00:56Z to 10:58:56Z, 58.0 minutes, pass, 0.3 CPU-minutes; the server's result for it carries no network note. Head 56533: verdict at 10:58:56Z, 73.9 minutes after it was asked; 58 jobs, 1.4 CPU-hours, of which this one job is 58 minutes of standing. So the cost of the missing fix is not always a red check: it is an upload that takes six times its usual time when it does get through, a registry credential that runs out meanwhile, and an hour's limit when it does not (publish-os-dev-x86_64, twice today).

Added 18:30Z 11-15: the first head after eight idle hours. Run r3db05add7e, asked 17:50:18Z, judged 18:23:52Z, 33.6 minutes: image-ci-builder-x86_64 18.5 minutes, then publish-ci-builder 13.6 minutes as the head's last job; publish-ci-fast 5.2 minutes. The upload is again two fifths of the head's time to its verdict.

Added 19:50Z 11-15: the fault now fails heads. Two heads in a row ended red on publish-ci-builder at its one-hour limit, cause timed_out, with every other check done and the node at 0 to 4 of 159 cores booked:

head run asked judged to verdict publish-ci-builder
r18e22f97d2 18:20:04Z 19:43:52Z 83.8 min j578-6759, 18:43:50Z to 19:43:52Z, 60.0 min, 0.2 CPU-minutes, timed_out
rd11357319c 18:25:04Z 19:47:23Z 82.3 min j578-6766, 18:47:22Z to 19:47:23Z, 60.0 min, 0.2 CPU-minutes, timed_out

The two uploads ran side by side, with the idle publish-os-dev-x86_64 as a third. Read in the jobs' own network counters: at 19:13Z they had sent 1,967 and 2,592 MB and were sending 0 and 1.3 MB/s; at 19:29Z 2,707 and 4,147 MB, both at 0 MB/s. The second had by then sent more than the image holds (3,080 MB), so parts went again after failures. The registry's write pods took 0.3 to 5 MB/s from all three together from 18:43Z on and 0.3 to 0.6 MB/s in the minutes of collapse. Before them, today's three heads with one upload each were judged in 33.6, 40.7 and 32.0 minutes, the upload 13.6 minutes of the first.

Added 00:45Z 11-16: the user gave the word, the rollout is running. Please do not promote main until I write here that production's worker pod is replaced. At 00:37Z the user typed "replace the worker" in my session. The order I follow, all with ~/.cache/t-factory/rollout-passt-window-fix.sh:

  1. Candidate 8bd4b1f2 = main 49a83fb0 plus your commit, unchanged (same patch id as 8f91f064 and 6feb0f59). Its whole check set runs on testing now.
  2. During that check set I delete testing's worker pod once with test/t running, to see the drain give running jobs back and run them again before production's pod is touched.
  3. Fast-forward main to the candidate.
  4. Testing: deploy, replace testing's worker pod once its server calls it degraded for the base, check passt … -t2, whole check set on the new image.
  5. Production: promote, then delete t-worker-ci-x86-1-kz9cg as soon as the server logs the base mismatch. Its worker drains for 100 s and gives the rest back.

From step 3 until step 5 is done, main holds a commit that changes the image's base. A promote of main without the pod replacement leaves ci-x86-1 degraded and it gets no jobs. If you must promote in that window, delete the worker pod right after, or tell me here and I do it. I write the result here when production's new pod takes jobs.

Added 01:26Z 11-16: rolled out. Production's worker pod is replaced; main can be promoted as usual again. Production and testing serve 8bd4b1f2 (main), both servers and both workers are on base sha256:07112eb5bb32…, and both worker pods run passt 2026_10_02.cba3570-t2.

step, production time (UTC)
promote ended, server t-6bcdd4f7b4-9p4mv leads epoch 580 01:10:45
server: "degraded, so it gets no jobs: base a46820f8…, server's 07112eb5…" 01:10:47
t-worker-ci-x86-1-kz9cg deleted; its worker: "stopping: running jobs finish, jobs not started go back" with 51 jobs 01:11:10
"the pod's grace runs out: its running jobs go back, to run again elsewhere" with 37 jobs 01:12:50
the old worker stopped as asked, code 0 01:12:58
new pod t-worker-ci-x86-1-262fs: "the worker takes jobs" after 5.2 s (store open 4.8 s, 0 jobs to re-attach) 01:14:14

So job starts stood still for about four minutes. 14 jobs passed inside the drain's 100 s; 37 ended error | given_back (28 of CI, 9 of people) and their checks were asked again. In its first five minutes the new pod started 379 jobs; at 01:21Z the node read healthy with 159 of 159 cores booked and 153 used. No run that finished since 01:09Z carries an error.

Testing went first (01:05Z): same order, new pod ready 11 s after the delete, and an uncached batch of t's tests passed on it (run rc511570824, 16 jobs, each with a passt.avx2 of the new build). Before that I deleted testing's worker pod twice with 13 and 15 test/t jobs running: all finished inside the 100 s and their runs stayed green.

Two things for you:

  • t test --force served 8 of 8 checks from the cache 40 s after a run of the same inputs (runs rf9f59db5c5 and r233c752514 on testing, 23 ms and 2.4 s). Its help says "Run even what is cached". Is that meant?
  • Not shown yet: the upload itself. The first publish-ci-builder job on the new pod is still to come; I add its minutes here when it has run.

Added 01:55Z 11-16: after the rollout, and a correction. First head verdict on the new server and pod: r6b8e5514bf at 01:32:48Z, no error of t's. The 37 given-back jobs' checks ran again (32 later jobs passed, 11 were running at 01:26Z). The forge workflow is green on 8bd4b1f2 (fmt, clippy, test). No refused crate since the restart. Correction to the line above: publish-ci-builder no longer runs on every head (on = ["stable", "dispatch"] since tilo 04716b50d77), so the upload's speed will first show on publish-ci-fast (25 jobs in the six hours before the rollout: median 2.4 min, longest 14.9) and on the idle publish-os-dev-x86_64. None of them had ended on the new pod at 01:51Z. I add the figures when three have.

Added 04:11Z 11-16: the upload is fast on the new worker pod. The four publish-ci-fast jobs that have run on it, from each job's own log (push: … 2 new blobs (939 MB) … copied in N s):

run job ended (UTC) new blobs copied in rate the job
r5b83ee45e7 j580-7453 01:57:40 939 MB 16 s 59 MB/s 0.4 min
r3aa5da8c96 j582-4193 03:32:55 939 MB 17 s 55 MB/s 0.6 min
r6de3d83977 j582-6762 04:07:01 939 MB 16 s 59 MB/s 0.3 min
r1442d12b59 j582-6763 04:07:01 939 MB 16 s 59 MB/s 0.3 min

Before, with -t1: the same 939 MB went at 0.9 to 11 MB/s (five heads read on 11-15), and in the six hours before the rollout the check's 25 jobs took a median 2.4 minutes and up to 14.9. The last two above ran side by side and both held 59 MB/s. That is above the 25 to 33 MB/s the registry's write pods had ever received in a minute, so the registry was not the bound.

Not seen yet: an upload of several gigabytes (publish-os-dev-x86_64 on the idle tier, or publish-ci-builder on a stable candidate), which is where the collapse to a crawl showed. I leave this open until one has run and add its figures then.

Added 04:43Z 11-16: the multi-gigabyte upload passes too. Closing. publish-os-dev-x86_64 (the VM step on the idle tier, its guest behind passt) ran on the new worker pod as job j582-7548 of run r4987c9a513, 04:31:22Z to 04:39:49Z:

ended (UTC) job outcome minutes
11-15 09:02 j578-3694 timed_out 60.5
11-15 10:46 j578-4287 timed_out 60.5
11-15 12:27 j578-4461 timed_out 61.5
11-15 19:52 j578-6760 timed_out 67.1
11-16 04:39 j582-7548 pass 8.5

Its log lists 402 new blobs of 7,745 MB in all (138 present) over its pushes, and says tilo-ci:main-6fed94b-x86_64 copied in 238 s and tilo-vm:main-6fed94b-ci-x86_64: 215 new blobs (4608 MB), 66 present (1022 MB) … copied in 75 s, which is 61 MB/s for the second and about 25 MB/s over both, with no retry and no credential error in the log. Before, the same check stood in Copying blob after a few hundred megabytes until its hour ran out, four times of four.

So both shapes this issue named are shown on production's passt … -t2: the per-head 939 MB upload at 55 to 59 MB/s (table above) and the several-gigabyte upload from a VM step in minutes. Not seen: publish-ci-builder, which now runs only on stable candidates and dispatch; it takes the same path as publish-ci-fast.

**What happens.** Head 56533 of tilo (asked 09:45:03Z 11-15) has had one job left since 10:01Z: `publish-ci-builder` (j578-4326, width 2), a `skopeo` push of `registry.tilo.so/tilo/tilo-builder:dev-431d4873…-x86_64` with "2 new blobs (3080 MB)". It sent 1.79 GB and then fell to one burst of 861 KB about once a minute, about 12 KB/s. (Corrected 11:10Z: it did not reach its limit. The second attempt got the rest through and the job PASSED at 10:58:56Z after 58.0 minutes, against a median of 10.4; the head was judged then, 73.9 minutes after it was asked, where the three heads before it took 28 to 33.) The node is at 2 to 30 of 159 cores meanwhile. A spare-tier `publish-os-dev-x86_64` (j578-4287, a VM step, width 16) stands the same way after 482 MB, and the run of that check at 08:02Z stood in `Copying blob` to its hour limit (16 core-hours booked, 0.02 CPU-hours used). **It is the fault 8f91f064 measured and fixed, and 11b3749b took back.** Everything read today matches that commit's account (passt offers the tap side the peer's whole window when the peer is under 10 us away, drops what its socket cannot take after a short `sendmsg()`, no SACK, one duplicate ACK, the sender recovers only by timeout): | read at 10:30Z to 10:36Z, read-only | value | |---|---| | image's build | `passt 2026_10_02.cba3570-t1` (worker pod of 11-09 00:47Z): the first patch only | | inside the job, its one TCP connection (`/proc/<skopeo>/net/tcp`, `netstat`) | established, 3 to 4 MB queued to send, retransmission timer armed; `TCPTimeouts` 246 then 247 in 25 s, `RetransSegs` 2,048 then 2,052, `TCPSlowStartRetrans` 1,783 then 1,786, `TCPSackRecovery` 0, every zero-window counter 0, `TCPSpuriousRTOs` 0 | | `pasta0` in the job's namespace | tx 1,788,351,506 bytes, then +861,012 per cycle (87,712 packets, mean 20,408 bytes); no errors, no drops | | passt's own CPU over 20 s | no tick: idle | | pod side, sockets to `registry-write` (10.108.49.248:443) | established, nothing queued, no timer | | registry side | both `registry-write` pods are on ci-x86-1 (10.244.1.213, 10.244.1.226); their gateway's sockets from the worker pod: nothing queued either way; registry and gateway at 0.00 to 0.01 cores, never throttled; gateway has `proxy_request_buffering off`; no error in 40 minutes of their logs | | the registry from outside | `GET /v2/` 200 in 0.12 s | So the far side is idle and reads at once, the pod side has nothing to send, and the sender in the job times out again and again without ever being told a zero window: the translator in between. The peer is on the job's own node, the case the commit names ("as registry.tilo.so's write pods are on ci-x86-1"), and the VM step is the other case it names. The commit measured 100 MiB (3.9 to 34.9 MB/s with 5 to 8 timeouts, against 2,160 to 2,573 MB/s with none); over 3 GB the retransmission timer has backed off to its ceiling, which is why this reads as a stop. **Why it shows only now.** The big uploads are new: in `t.job_history` the two CI publish checks have rows from 11-15 only (`publish-ci-builder` 13 runs, 6.3 to 26.0 minutes, all passed; `publish-ci-fast` 31 runs, longest 11.1 minutes), and `publish-os-dev-x86_64` ran twice, both standing. A head whose builder image gets a new multi-GB layer now waits on this. **What is missing is the rollout, not the fix.** 11b3749b says it: the base key moves, a worker on another base gets no jobs, worker pods are replaced only by deleting them, an in-place upgrade never swaps the pod's tools, "the patch comes back as one step with the pod replacement: testing's pod first, then production's promote and pod together". That was 11-10 21:36Z. The step is yours and the pod replacement is not mine to do (the user's standing rule after 11-03 is that I never delete a worker pod), so I am putting the cost on the table: with it missing, any head that uploads a large new layer takes an hour and ends red on a publish check, for a reason that is t's. Two notes. The flow watchdog (`node::pasta_flows`) does not see this: the flow never stops for 30 s, it crawls. And moving the registry's write pods to another node would take job uploads off the bad branch but not a VM step's, whose peer is always pasta in the same namespace: not a fix. **Added 10:50Z: two attempts, two collapses.** The first `skopeo` ended at 10:44:28Z, 43.5 minutes in, not by the limit but because its registry credential ran out while it crawled (`writing blob: unable to retrieve auth token: … invalid credentials`). The check's script logged in again and started a second copy at 10:44:29Z. That one sent about 2.35 GB in under three minutes (`pasta0` tx from 1.79 GB to 4.14 GB cumulative by 10:47:13Z, about 14 MB/s) and then fell into the same hole: tx 4,144,469,391 at 10:47:40Z and at 10:48:01Z, 4,145,514,831 at 10:48:21Z, the namespace's `TCPTimeouts` at 541 then 542. About 0.7 GB of the blob was left at about 1 MB a cycle; it then left the hole once more and finished at 10:58:56Z, two minutes before the limit. The spare-tier `publish-os-dev-x86_64` (j578-4287) ended 10:46:03Z: 60.5 minutes, `fail` / `timed_out`, 0.9 CPU-minutes at width 16, the second run of that check today to end so. So on this path a multi-GB upload does not get through: twice it ran at full speed for one to two gigabytes and then collapsed. **Added 11:38Z: a checked candidate and a prepared rollout, nothing deployed.** Your commit applies to today's main unchanged. It is on the forge as `dev/passt-window-within-sndbuf` (6feb0f59 = main 1b22804f plus a cherry-pick of 8f91f064, your authorship kept). t's whole check set passed for it on testing at 11:37Z (run r62e1f3e2b4, candidate e6b6c9c5, forced): 8 of 8, no failed test, no t error; `fmt`, `clippy/t` and `test/t` ran fresh. That proves the source side, `src/project/containerfile_tests.rs` included. It proves nothing about the image: no base was rendered and no `-t2` was built, since testing still serves 1b22804f. What I read for the rollout: both worker pods have a 120 s grace, so the drain's 100 s fits; both worker sets are `OnDelete` with their pods behind the template; workers and servers all report base sha256:a46820f8c821 today; the server's line to wait for is `degraded, so it gets no jobs` (`src/server/nodes/poll.rs:73`). One trap for whoever lands it: a helper that deploys to testing and promotes in one go would stop production's node, because the promote comes before testing's pod is replaced and checked. The order has to be the one you wrote: land, testing's deploy, testing's pod, the check set on the new image, then production's promote and pod together. I have that order ready as one staged script and I run its production half only on the user's own word. **Added 12:06Z: it is every such head, not only the collapse.** The collapse is the far end of something every head pays. Read from the publish jobs' own logs and `t.job_history` today: | head | `publish-ci-fast`, 939 MB new | `publish-ci-builder`, 3,080 MB new | |---|---|---| | 56529 | 4.2 min, 3.7 MB/s | 10.4 min, 4.9 MB/s | | 56530 | 9.3 min, 1.7 MB/s | skipped | | 56531 | 6.9 min, 2.3 MB/s | 15.0 min, 3.4 MB/s | | 56532 | 3.2 min, 4.9 MB/s | 11.0 min, 4.7 MB/s | | 56533 | 1.4 min, 11.2 MB/s | 58.0 min, 0.9 MB/s, one attempt lost to an expired credential | Both jobs use 1% of their booked CPU (0.1 to 0.2 CPU-minutes): they wait on the upload, to a registry on their own node, at the rates 8f91f064 measured unpatched (3.9 to 34.9 MB/s there, 2,160 to 2,573 MB/s patched). And `publish-ci-builder` is the LAST job of the head: on an idle node heads 56531 and 56532 were `image-ci-builder-x86_64` for 15.8 and 16.2 minutes, the canaries and the signing for under a minute, then this upload for 15.0 and 11.0 minutes, and the verdict the second it ended (31.5 and 27.9 minutes after the head was asked). So with the fix out, a head that rebuilds its builder image would be judged after about 17 minutes by this chain instead of 28 to 32, with one bound read and one thing unread. Read: the registry writes to S3 in us-west-2, the node's own region, in 32 MiB parts, and passes on what it receives at the rate it receives it; in the last seven days its write pods never received more than 25 to 33 MB/s in any one minute (Prometheus, `container_network_receive_bytes_total`), which is the top of your unpatched range, so every sender it had was behind passt. Even at that rate 3,080 MB is under two minutes instead of 11 to 15. Unread: how much faster the registry and S3 go with a sender that is not held back; only testing's worker on the new image can show that. (The session check beside the chain then bounds it at about 17 to 20: its longest shards were 9 to 19 minutes before #80's regression.) `publish-ci-fast` is beside the path (nothing needs it) but waits the same way. In 24 hours: 14 runs of `publish-ci-builder`, 31 of `publish-ci-fast`, all of them today. **Added 12:36Z: the idle publish check, three of three.** `publish-os-dev-x86_64` (spare tier, a VM step, width 16) ran three times today and every run ended `timed_out`: 08:02:13Z to 09:02:45Z, 09:45:35Z to 10:46:03Z, 11:25:49Z to 12:27:19Z, 60.5 to 61.5 minutes each with 0.8 to 0.9 CPU-minutes. It comes back about forty minutes after each end, so through the day it books 16 cores for an hour out of every hundred minutes and never passes: 48.7 core-hours booked today for 2.6 CPU-minutes. Read with: `/proc/<pid>/net/{dev,tcp,netstat,snmp}` of the job's process and of its passt in the worker container, `/proc/net/tcp` in the gateway containers, the cluster's Prometheus for the registry pods. **Result, 11:10Z.** `publish-ci-builder` j578-4326: 10:00:56Z to 10:58:56Z, 58.0 minutes, `pass`, 0.3 CPU-minutes; the server's result for it carries no network note. Head 56533: verdict at 10:58:56Z, 73.9 minutes after it was asked; 58 jobs, 1.4 CPU-hours, of which this one job is 58 minutes of standing. So the cost of the missing fix is not always a red check: it is an upload that takes six times its usual time when it does get through, a registry credential that runs out meanwhile, and an hour's limit when it does not (`publish-os-dev-x86_64`, twice today). **Added 18:30Z 11-15: the first head after eight idle hours.** Run r3db05add7e, asked 17:50:18Z, judged 18:23:52Z, 33.6 minutes: `image-ci-builder-x86_64` 18.5 minutes, then `publish-ci-builder` 13.6 minutes as the head's last job; `publish-ci-fast` 5.2 minutes. The upload is again two fifths of the head's time to its verdict. **Added 19:50Z 11-15: the fault now fails heads.** Two heads in a row ended red on `publish-ci-builder` at its one-hour limit, cause `timed_out`, with every other check done and the node at 0 to 4 of 159 cores booked: | head run | asked | judged | to verdict | `publish-ci-builder` | |---|---|---|---|---| | r18e22f97d2 | 18:20:04Z | 19:43:52Z | 83.8 min | j578-6759, 18:43:50Z to 19:43:52Z, 60.0 min, 0.2 CPU-minutes, `timed_out` | | rd11357319c | 18:25:04Z | 19:47:23Z | 82.3 min | j578-6766, 18:47:22Z to 19:47:23Z, 60.0 min, 0.2 CPU-minutes, `timed_out` | The two uploads ran side by side, with the idle `publish-os-dev-x86_64` as a third. Read in the jobs' own network counters: at 19:13Z they had sent 1,967 and 2,592 MB and were sending 0 and 1.3 MB/s; at 19:29Z 2,707 and 4,147 MB, both at 0 MB/s. The second had by then sent more than the image holds (3,080 MB), so parts went again after failures. The registry's write pods took 0.3 to 5 MB/s from all three together from 18:43Z on and 0.3 to 0.6 MB/s in the minutes of collapse. Before them, today's three heads with one upload each were judged in 33.6, 40.7 and 32.0 minutes, the upload 13.6 minutes of the first. **Added 00:45Z 11-16: the user gave the word, the rollout is running. Please do not promote main until I write here that production's worker pod is replaced.** At 00:37Z the user typed "replace the worker" in my session. The order I follow, all with `~/.cache/t-factory/rollout-passt-window-fix.sh`: 1. Candidate 8bd4b1f2 = main 49a83fb0 plus your commit, unchanged (same patch id as 8f91f064 and 6feb0f59). Its whole check set runs on testing now. 2. During that check set I delete testing's worker pod once with `test/t` running, to see the drain give running jobs back and run them again before production's pod is touched. 3. Fast-forward main to the candidate. 4. Testing: deploy, replace testing's worker pod once its server calls it degraded for the base, check `passt … -t2`, whole check set on the new image. 5. Production: promote, then delete `t-worker-ci-x86-1-kz9cg` as soon as the server logs the base mismatch. Its worker drains for 100 s and gives the rest back. From step 3 until step 5 is done, main holds a commit that changes the image's base. A promote of main without the pod replacement leaves ci-x86-1 degraded and it gets no jobs. If you must promote in that window, delete the worker pod right after, or tell me here and I do it. I write the result here when production's new pod takes jobs. **Added 01:26Z 11-16: rolled out. Production's worker pod is replaced; main can be promoted as usual again.** Production and testing serve 8bd4b1f2 (main), both servers and both workers are on base `sha256:07112eb5bb32…`, and both worker pods run `passt 2026_10_02.cba3570-t2`. | step, production | time (UTC) | |---|---| | promote ended, server `t-6bcdd4f7b4-9p4mv` leads epoch 580 | 01:10:45 | | server: "degraded, so it gets no jobs: base a46820f8…, server's 07112eb5…" | 01:10:47 | | `t-worker-ci-x86-1-kz9cg` deleted; its worker: "stopping: running jobs finish, jobs not started go back" with 51 jobs | 01:11:10 | | "the pod's grace runs out: its running jobs go back, to run again elsewhere" with 37 jobs | 01:12:50 | | the old worker stopped as asked, code 0 | 01:12:58 | | new pod `t-worker-ci-x86-1-262fs`: "the worker takes jobs" after 5.2 s (store open 4.8 s, 0 jobs to re-attach) | 01:14:14 | So job starts stood still for about four minutes. 14 jobs passed inside the drain's 100 s; 37 ended `error | given_back` (28 of CI, 9 of people) and their checks were asked again. In its first five minutes the new pod started 379 jobs; at 01:21Z the node read healthy with 159 of 159 cores booked and 153 used. No run that finished since 01:09Z carries an error. Testing went first (01:05Z): same order, new pod ready 11 s after the delete, and an uncached batch of t's tests passed on it (run rc511570824, 16 jobs, each with a `passt.avx2` of the new build). Before that I deleted testing's worker pod twice with 13 and 15 `test/t` jobs running: all finished inside the 100 s and their runs stayed green. Two things for you: - `t test --force` served 8 of 8 checks from the cache 40 s after a run of the same inputs (runs rf9f59db5c5 and r233c752514 on testing, 23 ms and 2.4 s). Its help says "Run even what is cached". Is that meant? - Not shown yet: the upload itself. The first `publish-ci-builder` job on the new pod is still to come; I add its minutes here when it has run. **Added 01:55Z 11-16: after the rollout, and a correction.** First head verdict on the new server and pod: r6b8e5514bf at 01:32:48Z, no error of t's. The 37 given-back jobs' checks ran again (32 later jobs passed, 11 were running at 01:26Z). The forge workflow is green on 8bd4b1f2 (fmt, clippy, test). No refused crate since the restart. Correction to the line above: `publish-ci-builder` no longer runs on every head (`on = ["stable", "dispatch"]` since tilo 04716b50d77), so the upload's speed will first show on `publish-ci-fast` (25 jobs in the six hours before the rollout: median 2.4 min, longest 14.9) and on the idle `publish-os-dev-x86_64`. None of them had ended on the new pod at 01:51Z. I add the figures when three have. **Added 04:11Z 11-16: the upload is fast on the new worker pod.** The four `publish-ci-fast` jobs that have run on it, from each job's own log (`push: … 2 new blobs (939 MB) … copied in N s`): | run | job | ended (UTC) | new blobs | copied in | rate | the job | |---|---|---|---|---|---|---| | r5b83ee45e7 | j580-7453 | 01:57:40 | 939 MB | 16 s | 59 MB/s | 0.4 min | | r3aa5da8c96 | j582-4193 | 03:32:55 | 939 MB | 17 s | 55 MB/s | 0.6 min | | r6de3d83977 | j582-6762 | 04:07:01 | 939 MB | 16 s | 59 MB/s | 0.3 min | | r1442d12b59 | j582-6763 | 04:07:01 | 939 MB | 16 s | 59 MB/s | 0.3 min | Before, with `-t1`: the same 939 MB went at 0.9 to 11 MB/s (five heads read on 11-15), and in the six hours before the rollout the check's 25 jobs took a median 2.4 minutes and up to 14.9. The last two above ran side by side and both held 59 MB/s. That is above the 25 to 33 MB/s the registry's write pods had ever received in a minute, so the registry was not the bound. Not seen yet: an upload of several gigabytes (`publish-os-dev-x86_64` on the idle tier, or `publish-ci-builder` on a stable candidate), which is where the collapse to a crawl showed. I leave this open until one has run and add its figures then. **Added 04:43Z 11-16: the multi-gigabyte upload passes too. Closing.** `publish-os-dev-x86_64` (the VM step on the idle tier, its guest behind passt) ran on the new worker pod as job j582-7548 of run r4987c9a513, 04:31:22Z to 04:39:49Z: | ended (UTC) | job | outcome | minutes | |---|---|---|---| | 11-15 09:02 | j578-3694 | `timed_out` | 60.5 | | 11-15 10:46 | j578-4287 | `timed_out` | 60.5 | | 11-15 12:27 | j578-4461 | `timed_out` | 61.5 | | 11-15 19:52 | j578-6760 | `timed_out` | 67.1 | | 11-16 04:39 | j582-7548 | `pass` | 8.5 | Its log lists 402 new blobs of 7,745 MB in all (138 present) over its pushes, and says `tilo-ci:main-6fed94b-x86_64 copied in 238 s` and `tilo-vm:main-6fed94b-ci-x86_64: 215 new blobs (4608 MB), 66 present (1022 MB) … copied in 75 s`, which is 61 MB/s for the second and about 25 MB/s over both, with no retry and no credential error in the log. Before, the same check stood in `Copying blob` after a few hundred megabytes until its hour ran out, four times of four. So both shapes this issue named are shown on production's `passt … -t2`: the per-head 939 MB upload at 55 to 59 MB/s (table above) and the several-gigabyte upload from a VM step in minutes. Not seen: `publish-ci-builder`, which now runs only on stable candidates and dispatch; it takes the same path as `publish-ci-fast`.
xemmerling changed title from node/image: the passt window fix (8f91f064) was reverted for its rollout and never came back: a 3 GB image upload to the registry on the same node fell to 12 KB/s after 247 timeouts, and a head waits an hour on it to node/image: the passt window fix (8f91f064) was reverted for its rollout and never came back: a 3 GB image upload to the registry on the same node collapsed twice, took 58 minutes instead of 10, and its head's verdict 74 2026-11-15 11:10:46 +00:00
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#81
No description provided.