runs/drivers: a run driven again after a restart cuts an open test check's shards anew: running shards run on for nobody, ended ones are run again, and a check with two failed shards was told pass #86
Open
opened 2026-11-16 07:10:21 +00:00 by xemmerling
·
0 comments
No Branch/Tag specified
main
sim/session-home
speed/session-home-main
overbook-reland
overbook-demand
speed/sources
speed/end-cost
speed/session-home
speed/storage
speed/delivery
overbook
roots-hotfix
privileged-vm
image-store
sandbox-bump
found-by-package
mac-node
dev/schema-step-order
t-join-release
t-work-booking
t-ahead-deadlock-wip
t-hotfix-9ae
t-width-work
t-id-token-renew
t-claim-unkept
t-resume-live
t-run-record
t-all-lockfiles
t-relay-offset
t-blame-event
t-freer-links
t-load-tests
t-jobserver2
t-starved-timeout
t-client-pack
t-offline-config
t-test-plan
t-told-resume2
t-jobserver
t-told-resume
t-outbound2
t-crash-open-bench
t-told-once
guest-never-below-given
admit-page-cache-active
pooled-admission
driver-give-back
no-sizes
one-driver-per-check
archive/vm-root-share
archive/build-out-kept
archive/cargo-perf
archive/virtiofs-readdir-alloc
archive/vm-outputs-stream
archive/stable-verify-priority
archive/agents-1
archive/stack-parallel
archive/cpu-admission
archive/narrow-from-every-log
archive/old-t
archive/worker-store-gc
archive/failing-builds-kept
archive/vm-cargo-home
archive/lifecycle
archive/bench-own-cores
archive/place-test-binaries-nocopy
archive/vm-net-upload-stall
archive/booking-current-use
archive/archive-dep-out-dirs
archive/any-arch-shards
archive/prepare-stall-progress-ns20
archive/s2
archive/next-set-20
archive/store-full-waits
archive/fetch-caps-by-node
archive/vm-step-phases
archive/arm-only-for-arm
archive/deploy-all-workers
archive/lifecycle-staging
archive/lifecycle-1-wire
archive/fast-gate
archive/cargo-key-narrow
archive/log-leads-followup
archive/gate-limit
archive/prepare-stall-vm-bytes
archive/lifecycle-2-ends
archive/cache-hits-bind
archive/failing-reused
archive/oci-archive-direct
archive/prepare-stall-progress
archive/test-quarantine
archive/crash-safe-on-18
archive/build-script-etxtbsy
archive/old-release
archive/next-set-19c
archive/wait-reasons
archive/cache-put-best-effort
archive/hang-not-t-time
archive/shard-test-results
archive/vm-carry-on-17
archive/check-test-filter
archive/artifact-path-beneath
archive/stall-room-xfs
archive/build-dir-no-recopy
archive/cache-hits-link
archive/outputs-no-follow-on-copy
archive/outputs-no-follow
archive/next-set-19
archive/hang-detect
archive/stable-verify-stable-plan
archive/freer-target-only
archive/lease-pricing-narrow
archive/vm-outputs-once
archive/queue-place-starved
archive/publish-reads
archive/disk-warning-scratch
archive/outputs-no-copy
archive/wd-probe-3min
archive/watchdog-on-d65
archive/log-leads-with-excerpt
archive/queue-place
archive/prep-watchdog-progress
archive/cache-put-stack-room
archive/cache-put-stack
archive/place-by-pace
archive/nested-sync-helper
archive/next-set-18y
archive/archive-bins-by-env-19
archive/next-set-18
archive/disk-want-held
archive/young-booking-back
archive/flaky-tests-1027b
archive/next-set-17
archive/prep-start-at-close
archive/unpack-error-on-17
archive/server-memory-high
archive/vm-start-held
archive/vm-carry-on-14
archive/space-trim-registry-room
archive/file-cache-ns16
archive/unpack-error-final
archive/crash-safe-worker
archive/server-space-trim
archive/status-big-runs
archive/nested-tmp-volatile
archive/publish-refresh
archive/gc-cache-quiet-reads
archive/next-set-16
archive/vm14-proof
archive/csw-node-kill
archive/unpack-link
archive/vm-tests-15
archive/seccomp-allow-field
archive/flaky-tests-1027-ns15
archive/shard-fail-fast
archive/server-node-check
archive/live-log-restart
archive/unpack-no-orphans
archive/flaky-tests-1027
archive/fetch-share-images
archive/fetch-images-red4
archive/forget-cached
archive/put-file-once-ns15
archive/recheck-rank-15
archive/fetch-images-red3
archive/unpack-no-orphans-red2
archive/fetch-io-pass-followups
archive/sandbox-no-fallback-ns15
archive/unpack-no-orphans-red
archive/archive-bins-by-env-ns15
archive/ns15-proof
archive/next-set-15
archive/archive-bins-by-env
archive/vm-guest-panic-15
archive/sandbox-no-fallback
archive/recheck-rank
archive/placement-ahead-bound
archive/carry-keeps-listing
archive/registry-parallel-pull
archive/sandbox-tests-15
archive/attempt-log-live-15
archive/follow-progress-16
archive/follow-progress-15
archive/ns15-archive-base
archive/fetch-io-max-on-13
archive/fetch-images-red2
archive/transient-build-fail-15
archive/test-ended-early-15
archive/archive-keep-cleanup
archive/main-merge-14
archive/sandbox-clone3-fallback
archive/vm-carry-on-13
archive/fetch-io-sweep-15
archive/vm-root-disk-fixes
archive/vm-guest-panic
archive/follow-progress-14
archive/archive-keep-on-demand
archive/vm-exit-unseen
archive/file-cache-share
archive/bwrap-root-userns
archive/transient-build-fail
archive/fetch-io-max
archive/file-cache-guard-11
archive/fetch-io-sweep
archive/archive-build-dir-skip
archive/next-set-14
archive/wrapper-one-read
archive/archive-tmp-links
archive/attempt-log-live
archive/fetch-share-and-order
archive/vm-hang-io-wait
archive/vm-carry-fixes
archive/image-cancel
archive/test-ended-early
archive/sim-on-train3-bundle
archive/hits-layer-wip
archive/t-old-putfile
archive/archive-links
archive/stall-on-13
archive/carried-prep-completes
archive/put-file-once
archive/preview-14
archive/follow-progress
archive/gc-reads-dont-protect
archive/admission-replay-people
archive/people-pickup
archive/gc-pass-visible
archive/hits-layer
archive/own-build-priced
archive/compact-stamps-followup
archive/prepare-timing
archive/sim-on-train3
archive/next-set-13
archive/next-set-12b
archive/sim-on-next-set-12
archive/deploy-doc-no-kill
archive/next-set-12
archive/attempt-logs-real
archive/sim-tests-green
archive/shard-label-index
archive/young-booking
archive/next-set-11
archive/data-dir-config-env
archive/vm-sync-not-host-store
archive/attempt-logs
archive/wrapper-ro
archive/tests-wait-on-events
archive/blame-git-optional-needs
archive/job-file-headroom-impl
archive/next-set-10
archive/blame-verdict-fresh-parent
archive/compact-touched-stamps
archive/interactive-incremental-off
archive/follow-lost-lines-counted
archive/evict-test
archive/next-set-trial
archive/keys-cover-output-bytes
archive/file-cache-guard
archive/blame-after-parent
archive/test-filter-matching-nothing-fails
archive/s1-on-d96
archive/draining-node-queues
archive/tprev-checks-prod-next
archive/s1-dead
archive/follow-live-run
archive/guard-stopped-setup-text
archive/io-error-cause
archive/source-layer-whole
archive/clippy-groups
archive/worker-silence-grace
archive/price-touched
archive/prod-next
archive/batch1
archive/s1-on-prod-next
archive/vmcache/sandbox-copyup-pin
archive/s1-xfs-store
archive/warm-script-builds
archive/vmcache/setup-tag-digest
archive/vmcache/setup-should-fixes
archive/vmcache/setup-any-arch
archive/guard-livelock
archive/host-budget
archive/wire-format-test
archive/admission-replay
archive/switch-safe
archive/stall-window
archive/upgrade-carries-preparing
archive/static-init
archive/switch-proof-b
archive/carry-tokens
archive/seals-together
archive/switch-safe-storage
archive/switch-safe-worker
archive/batch-b-prev
archive/vmcache/batch-b
archive/carry-vm-helpers
archive/small-llvm-args-failed-log
archive/batch-a
archive/stall-hotfix
archive/prev-pacing
archive/u-try-wip
archive/u-try
archive/u-try-wip2
archive/flatten-verify
archive/poll-free
archive/flatten-tiers
archive/hotfix-cross
archive/pool-stall
archive/disk-pacing
archive/u-builds-from-graph
archive/mac-idle
archive/ship-direct
archive/vmcache/shards
archive/soft-margin
archive/behind-no-target
archive/filtered-binaries
archive/vmcache/setup-layers
archive/direct-off-prev
archive/probe-budget
archive/vm-helper-exit
archive/jobs-soft-bound
archive/vmcache/vm-disks
archive/vmcache/failure-outputs
archive/narrowed-not-verdict
archive/scratch-direct-off
archive/handover-holds
archive/memory-lines
archive/drain-destroys
archive/pool-size
archive/drain-own-frees
archive/test-schema-drop
archive/deploy-disk
archive/deploy-disk-lines
archive/clone-aware-freeing
archive/absolute-headroom
archive/zfs-pool-size
archive/u-int5
archive/u-load
archive/u-warn
archive/u-steer
archive/revert-stall-once
archive/guard-headroom
archive/u-int3
archive/u-readsets
archive/u-hermetic
archive/mem-virtio
archive/u-buildjobs
archive/u-waits
archive/u-three
archive/u-zfs-stall
archive/u-config
archive/u-lean
archive/u-e2e
archive/u-integrate2
archive/u-jobenv
archive/u-cache-blobs
archive/u-observe2
archive/u-sched-nospread
archive/u-node-bound
archive/u-sched-oom
archive/u-review-store
archive/u-observe
archive/u-review-engine
archive/u-review-srv
archive/u-review-node
archive/u-review-sched
archive/preempt-measured
archive/u-integrate
archive/u-eng
archive/lock-off-runtime
archive/u-vm
archive/u-gone
archive/u-offline
archive/ready-starve
archive/u-notices
archive/heads-never-superseded
archive/u-learn
archive/int
archive/u-graph
archive/u-umount
archive/supersede-followed
archive/preparing-booking
archive/u-xdev
archive/u-env
archive/u-poll
archive/u-wrap
archive/u-room
archive/u-wrap-try
archive/u-fixed
archive/unstall
archive/u-fix3
archive/u-cwd
archive/resume-supersedes
archive/server-heap
archive/u-harness
archive/u-macos
archive/u-node
archive/u-eng2
archive/u-leader
archive/u-cutover
archive/u-cache
archive/u-sched
archive/u-engine
archive/chore/agpl-license
archive/note-x86-disk-room
archive/pass-cost
archive/prod-defects
archive/clippy-false-greens
archive/t-pace-variance-prototype
archive/outputs-reattach
archive/fix-retry-needs
archive/no-supersede-uncached
archive/fix/promoted-view-mtime
archive/rb-merge
archive/ft-sched
archive/ft-node
archive/ft-engine
archive/fx-sim
archive/fx2-mem
archive/fx2-store
archive/fx2-ci
archive/fx-work
archive/fx-ci
archive/fx-sched
archive/fx-req
archive/fx-store
archive/fx-cache
archive/rb-storage
archive/rb-scheduling
archive/rb-sweep
archive/rb-tracking
archive/rb-workers
archive/rb-client
archive/rb-profiles
archive/rebuild
archive/batch-deploy
archive/fix-roll
archive/work
archive/fix-busy
archive/fix-perf
archive/fix-suite
archive/fix-spread
archive/fix-sig
archive/fix-wait
archive/fix-init
archive/sizing
archive/fix-drift
archive/delivery
archive/fix-snap
archive/fix-own
archive/fix-rollout
archive/fix-hang
archive/fix-tree
archive/images
archive/fill
archive/sched-gate-preparing-after
archive/takeover-sim
archive/image-d244b22
archive/image-ce8a09e
archive/image-c9ff4f7
archive/image-489bec9
archive/image-7e07ffb
archive/image-583ea93
archive/image-8e1cd2c
archive/image-fbf0a9c
archive/image-6924e11
archive/image-29cabc3
archive/image-97ebb0e
archive/image-d0e23ac
archive/image-319fce9
archive/image-4f689e1
archive/image-feacbcd
archive/image-d5d9446
archive/image-6b86940
archive/fix/dedup-priority-promotion
archive/image-a5b0fe3
archive/image-462afb1
archive/image-f39d42c
archive/image-6e71fb4
archive/image-0c62329
archive/resources
archive/image-112b6a6
archive/image-8b06530
archive/image-5ae7cd8
archive/fmt-fix-in-t-toml
archive/image-arm64
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
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#86
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found at the 06:52Z promote of
bcf50c33(old server stopping from 06:52:02Z), by counting CI checks of one run that still had a job from before the restart running when a job of the same check started after it. Nothing changed by me. The same count at tonight's other restarts: 52 at 03:19Z, 0 at 04:56Z and 05:55Z, 3 here.What happened
From
t.job_historyandt.jobs, jobs of the check on either side of the restart:The third check at 07:10Z, ended jobs by side (side, jobs, pass, fail, CPU min, first start, last end) and jobs still in
t.jobs:Three things are in it.
an end taken in job=j584-2078 …for each.passafter it, on the second cut's nine jobs.Reading of the code (origin/main)
a run driven again keeps the checks it told run=rb8fad7f7ea kept=1290 of=1291. The one check left untold is driven from its start (docs/spec.md:1776, "drives only the checks it left untold").src/drivers/cargo/mod.rs:1483-1507: a binary's cut is made at drive time fromtest_timesandfixed_costsas the database holds them then. The first drive's ended shards had written new times and fixed costs, and a failed test's time is never counted, so the second drive cuts another way.taking_left,Jobs::take_left). A run's own shards that a restarted server found open get no such ask, soJobs::resume(docs/spec.md:842-844, "the one way a restarted server's run follows a job it found open") is never reached for them. I have not traced where such a followed job is held until its end.A possible shape
A check's cut is made once for a run: kept with the run when it is first made, or rebuilt from the shards still out as
taking_leftdoes. A run driven again then asks for the same shards: the running ones are followed, and the ended ones are answered from what the first drive kept, or run again as the same shards. Which of these, and whether a failed shard's failure should survive the restart, is a design choice I would like your word on before anything is built. Tonight had seven restarts, and every test check open at one of them pays this.Again at the next restart (07:56Z, the promote of
b5c5b140)The same count, three checks in two head runs; ended jobs by side of the restart:
tilolang-tilois the plain case: thirteen shards, every one passed (the last at 07:57:16Z, 36 s after the restart), and fifteen other shards run from 07:57:11Z for 16 CPU minutes to say the same.a run driven again keeps the checks it toldfor 22 runs; these two kept 1,290 of 1,291 and 1,282 of 1,291.So it happens at every restart with a test check open, and it is not a matter of load. I am having the code read for the smallest change that makes a run driven again ask for the shards its first drive cut, and will put the proposal here before anything is built.
What the code does, and a proposal (read 08:20Z on
95b08710; nothing built)Read, not run:
run()resumes everyFollowedas a task of its own (src/runs/run.rs:949-980), seeding the flight with the job's own key, which for a shard is its shard key (Carried::keys,src/jobs/carried.rs:61-72). The run driven again settles the binary's run key, which nobody seeded, getsOwn, cuts again (src/drivers/cargo/mod.rs:1506-1525) and asks each shard throughJobs::runandtake_left, which looks only ats.left(src/jobs/follow.rs:198-210). A found job is never there. A binary that ran whole is different: its action key is the run key, so the drive joins it. Only cuts into several shards break.keys::shard_key,src/jobs/keys.rs:352-354), so another cut is other keys.src/drivers/actions.rs:167,mod.rs:1771-1792); a shard's row is deleted as it is concluded (run.rs:2979-2981); until the binary is recorded the shards' results live only inrun_shards' localended(mod.rs:1740-1751). So a restart forgets every ended shard, failed ones too, and the first drive's ends have meanwhile rewrittentest_samplesandfixed_costs, the next cut's inputs (failed tests become shards of their own,shards.rs:43-52).docs/spec.mddescribe this as not happening: 864-875 says of left shards that cutting afresh would make keys "others than the left ones', which would run on for nobody", and 1798-1802 says a failing family's shards each conclude what they computed "so that the drive again finds those answers". The first holds for a stopped run's shards only; the second holds for no shard.Proposal, in two parts.
A. A run's found shards are its cut, as a stopped run's left shards are. In
run()theFollowedwithcarries.part_of()set are set aside by that key instead of resumed at once;shards_ofbuilds the cut from theirRun { tests }withtaking_left's own logic (tests in no found shard are cut afresh), andrun_shardsresumes the found job for a shard whose key matches instead of asking a new one. Everything it needs is in the rows today. Points to watch: the binary's run key is not held across the gap (adopted_byholdsa.key, nota.claim()), so another run of the trust could claim the binary first; found shards that match nothing (another archive, a check already told) must still be resumed or given up; a test with several shards open across a takeover does not exist yet (a_stopped_runs_shards_pass_together_to_the_run_waiting_on_their_binary,src/drivers/cargo/tests.rs:3131, withh.reopen(2)in place of the stop is the template).B. A shard's row stays until its binary is recorded. Then an ended shard comes back at a takeover as an end left behind and A replays it: no rerun, and a failed shard stays failed. This is the part that carries most of what production showed (most shards had ended before each restart), and it is the part that changes things you set down: the
jobstable's rule ("deleted in the transaction that records its results"), cleanup at a stop, and what a takeover reads (restore_tests.rs:419checks that it reads no ends).A alone stops the shards running side by side; A with B stops the work being done again and keeps the failures. Reusing
take_leftby putting found shards intos.leftlooks smaller and is not safe (a handed row is never resent; dropping theFollowedgives the job up).I would build A and B together on a branch, with the shard test above and a production-size take-over run, and not land B without your word, since it is your table and your restore path. If you are already on this, say so and I leave it.
Again at the 03:29Z restart on 11-17 (the promote of
a98a041d), and what I am buildingHead run rd9c95fa2a9 (asked 02:26:38Z) had told 1,290 of its 1,291 checks and stood on
test/tilo-sessionalone.failat 03:32:44Z, for nobodya run driven again keeps the checks it told run=rd9c95fa2a9 kept=1290 of=1291; 27 passed, 4 failed; the long shard was asked again as j595-286 and started from nothing at 03:33:36ZThe head's last answer was three minutes from done at the restart and would have told it at 03:32:44Z, 66 minutes after its ask. It is still open at 03:47Z, 81 minutes, with the long shard about 36 minutes from its second end. At that start the server drove 21 runs again with 2,365 open checks between them, and asked 396
test/*and 148test-x86_64/*CI jobs in the first 90 seconds.My own after-restart count (a job of a check from before the restart still running when a job of the same check starts after it) read 0 here: the long shard ended 49 seconds before the new shards started, in line behind the wave. So the count undercounts; the jobs' history shows it.
There have been three restarts in waves tonight (23:29Z, 00:59Z, 03:29Z), and this issue has had no answer in 19 hours, so I am deciding from the data, as I said I would: I am building part A now (a run's found shards are its cut and are followed, as a stopped run's left shards are), on a branch, with the several-shards-open take-over test and the production-size take-over run, and will land it when both pass. It touches neither the
jobstable's rule nor what a takeover reads. Part B stays unbuilt until you say (a shard's row kept until its binary is recorded): your table, your restore path. With A alone this head would have been told at about 03:37Z: the long shard followed to its end, the thirty ended two-minute shards run again. If you are on this already or want another shape, say so here and I stop.04:30Z 11-17: part A is written and not ready
Branch
dev/found-shards-are-the-cut, commite61b411d(runs/run.rs, drivers/mod.rs, drivers/cargo/mod.rs, jobs/follow.rs, three tests, docs/spec.md; no schema, protocol, scheduler or key change). A run driven again sets each found shard of a check it still drives aside under its binary's run key, claims that key again before the shard's hold inAdoptinggoes, cuts the binary withtaking_leftfrom the found shards, and follows the found job where the cut asks for the same shard. A followed shard now holds its binary's run key inAdopting(Carried::claim), not its own key.On t-testing:
e61b411d(run r50d28b4129)a_shard_found_open_that_the_cut_takes_none_of_is_followed_for_nobodytimes out at 180 s, no outpute61b411dona98a041d(run re59f225bea)two_hundred_and_fifty_tilo_sized_runs_resumed_at_a_takeoverone61b411d(run r06c0090bc8,t cargoon testing)The timeout is the case of a found shard the new cut takes none of, which is where a hang would be a head that never ends, so nothing lands. It is back with the developer: is it the code waiting where it must not (the check's task awaits the stray job), or the test. The production-size test has no run with several shards open, so its pass says only that the old path is unharmed at size.
05:50Z 11-17: part A is on main,
8e5df150(not promoted)The timeout was the test's, not the code's. The test records an aarch64 node before the restart so that the run's key changes and the found shard matches nothing; its arch=any family then also asks for an aarch64 unit graph, and the test had started a resolver for x86_64 alone. Whenever the aarch64 node polled first, the drive waited for a resolver before it cut anything and the check stood queued ("a unit graph waits for a resolver arch=aarch64 resolvers=0"). Reproduced locally: 3 hangs in 15 runs before, none in 30 runs and a 20-iteration stress run after. The test now answers that graph, and the found-shard tests' waits give up after two minutes saying what they waited for.
Two commits on your
74c7c3d3:0abd8ed3(the change as described above) and8e5df150(the test's fix, two more tests; its only change outside tests isadopted_keyspulled out ofFollowed::adopted_by, same behaviour). No schema, protocol, key, scheduler or admission change.On t-testing:
74c7c3d3(run r4244d8b0c3)two_hundred_and_fifty_tilo_sized_runs_resumed_at_a_takeover, both commits on08ccf2a2(t cargoon testing;74c7c3d3changes test set-up only)Still shown by no test: another run settling the binary's run key in the gap between the lead and the first run's drive.
another_run_asking_for_a_binary_whose_shards_were_found_open_joins_their_runpasses on main too, because its asks come after that drive started. The claim is seeded before the shard's hold inAdoptinggoes, which is what closes the gap by construction; a test that forces the interleaving is owed.It acts at a restart. After the first one on a build with it I read
t.job_historyby run and check for the open test checks: shards asked again for tests a found shard was already running should be gone. Part B (a shard's rows kept until its binary is recorded) is not built and waits for your word.06:31Z 11-17: seen on real restarts
f9cb88e3, server pod deleted 06:31:46Z (run rfbf9191bc7)a98a041d(your upgrade proof had put it there; run r1b69ab706f)cache_unreachablef9cb88e3at 06:30:31Ztest/chat(8 followed) andtest/tilo-session-client(4 followed, two binaries' cuts)Production's count is small because 34 of the 40 open heads ended at that start for another reason (issue 95, the
left_alongread). Two of the jobs given up there weretest/tilo-session-clientshards set aside for a run whose drive then failed: the guard gave them up, as it does for any followed job whose run's drive ends in an error.Part A does what it says on a real server. Part B is the one job in the first row: a shard that ended before the restart is asked again while its binary is not recorded.
11-17, part B's size at each of today's five starts (this replaces my 12:24Z paragraph, which counted only jobs started in the first three minutes and so undercounted). For every test binary whose shards the new server found open, from its log ("shards found open are its cut", "a shard found open is followed") and
t.job_history:c6a21463c6a21463f9cb88e3eae869f78986e6648986e6648986e6648986e6648986e6642868c3f2Part A held at every start: each shard found open was followed and none of its tests was asked again (79 shards followed in all). Part B's case, shards that had ended before the restart and are run again because their binary was not yet recorded: 80 jobs and 72 minutes of running over the five starts, 46 jobs and 50 minutes at my 12:06Z promote alone. Where a re-run shard had failed before it failed again (r1d0b179470, r41a5e3c9b3), so no verdict changed today. A binary all of whose shards had ended, with none open, leaves no log line and is not in this table, so the true figure is at least this.
14:35Z 11-17 (production
f5147065, your promote): the sixth start, and a tighter way to count. One head, rc96a909826, had eight test binaries with open shards. Per check, fromt.job_history:A job started after the restart is a re-run only if its shard had ended before; a shard of the cut that had not started yet is run for the first time. So the count of re-runs is at most the smaller of "ended before" and "started after": 31 jobs here, not the 59 started. By the same rule the 12:42Z row above is at most 21 re-runs, not 24 (37 of that cut's 40 shards had started before the restart); the other rows stand. Today's six starts then re-ran at most 108 ended shards. The start itself was clean: no run ended, no statement cancelled, 79 jobs re-attached, no job ended as an error by 14:51Z.
18:30Z 11-17 (production
2885a521, your promote): the seventh start. The start ended no run and erred no job. Seven CI checks had jobs on both sides of it; per check, fromt.job_history, counted as at 14:35Z:At most 88 ended shards were run again at this start, the most of the day's seven (at most 196 in all). Part A held again: 39 jobs were running at the start and none of them erred.
23:32Z 11-17 (production
7710cc0d, your promote): the eighth start. The start ended no run with an error and erred no job; the worker re-attached 117 jobs. Thirty CI and probe checks in nine runs had jobs on both sides of it; fromt.job_history, counted at 00:05Z, 33 minutes after:At most 63 ended shards were run again at this start (per check the smaller of the two counts, summed), which makes at most 259 over the day's eight starts. The window is longer than the 11 minutes of the row above, so more of the 154 are first runs. Part A held again: 49 jobs were running at the start and none erred.
01:21Z 11-18 (production
ab189001, your promote): the ninth start. Counted at 01:52Z, half an hour after: one check in one run had jobs on both sides of it (test/tilo-cli: 1 job ended before the restart, none running at it, 2 started after), so at most 1 ended shard was run again, the fewest of any start read here; no check was given a second job while its first still ran. Part A held for 54 of the 55 jobs that ran across it; the one that erred is not this fault but the crate refusal across the worker's upgrade (#63, j605-532).03:29Z 11-18 (production
7d7c6593, your promote): the tenth start. Counted at 04:00Z, half an hour after: five checks in three runs had jobs on both sides of it.At most 78 ended shards were run again. No check was given a second job while its first still ran. No job erred across the restart for this; the five that erred around it are the set-up stall of #84.
05:05:22Z 11-18, the start of
85866e52(read 05:36Z, same statement): 3 pairs of a run and a check of class ci or probe had a job ended before the start and one started after it, re-runs at most 22. The rows so far: 18:30Z at most 88, 23:32Z at most 63, 01:21Z at most 1, 03:29Z at most 78, 05:05Z at most 22. No check of a run was given a second job beside a first that still ran. 12 heads were asked in the half hour after and 9 judged.07:32:33Z and 08:17:41Z 11-18, the starts of
06f61244andd748ed8d(same statement, each read half an hour after): 07:32Z: 0 pairs, 0 re-runs, the first restart with none. 08:17Z: 1 pair, at most 1 re-run. The rows so far: 18:30Z at most 88, 23:32Z at most 63, 01:21Z at most 1, 03:29Z at most 78, 05:05Z at most 22, 07:32Z 0, 08:17Z at most 1. At neither start was a check of a run given a second job beside a first that still ran. The 08:17Z start came during a stop of head runs (issue 102), so few CI jobs ran across it.