node compare.mjs --migrate --seed 71 failed once in the gates workflow on a pull that changes nothing of blobs or of how a move is marked (at://did:plc:bcgltzqazw5tb6k2g3ttenbj/space/dev.knotless.space/spec-pds/did:plc:bcgltzqazw5tb6k2g3ttenbj/dev.knotless.pull/3n235dxzxoxd2, at 7ff97d0), and passed when the workflow was run again on the same commit, and here on a Mac.
What it said
step 60 (seed 71): pds serve on a data directory whose blobs are moving differs: spec/BLOBS.md, "Moving them"
request: { "blobs": "bucket" }
reference: "exit 1, with why on standard error and nothing on standard output"
server: { "code": null, "signal": "SIGKILL", "stdout": "{...\"msg\":\"start\"...}", "stderr": "" }
So after pds migrate-blobs was killed, pds serve on that data directory started and served until the harness killed it 20 s later: the data directory was not marked as moving.
What may be wrong
Not established. harness/checks/migrate.mjs (moveTo) kills the move at a random moment within 600 ms of its first request to the store, and takes a kill for a move left unfinished. pds serve refuses a marked data directory before it logs anything (blobstore::check_dir, in run), so the mark was gone, or never made, when it started. Either the move had finished and taken its mark off before the kill landed, with the process not yet exited (a small move, the store answering 100 ms late: a few requests fit in 600 ms), which would be the check's fault; or a kill can leave the move unmarked with work undone, which would be the server's.
What would settle it
The check telling the two apart: after a kill, whether the blobs are all where the move was taking them (then nothing is unfinished, and a served data directory is right), before it holds pds serve to a refusal.
node compare.mjs --migrate --seed 71failed once in thegatesworkflow on a pull that changes nothing of blobs or of how a move is marked (at://did:plc:bcgltzqazw5tb6k2g3ttenbj/space/dev.knotless.space/spec-pds/did:plc:bcgltzqazw5tb6k2g3ttenbj/dev.knotless.pull/3n235dxzxoxd2, at7ff97d0), and passed when the workflow was run again on the same commit, and here on a Mac.What it said
So after
pds migrate-blobswas killed,pds serveon that data directory started and served until the harness killed it 20 s later: the data directory was not marked as moving.What may be wrong
Not established.
harness/checks/migrate.mjs(moveTo) kills the move at a random moment within 600 ms of its first request to the store, and takes a kill for a move left unfinished.pds serverefuses a marked data directory before it logs anything (blobstore::check_dir, inrun), so the mark was gone, or never made, when it started. Either the move had finished and taken its mark off before the kill landed, with the process not yet exited (a small move, the store answering 100 ms late: a few requests fit in 600 ms), which would be the check's fault; or a kill can leave the move unmarked with work undone, which would be the server's.What would settle it
The check telling the two apart: after a kill, whether the blobs are all where the move was taking them (then nothing is unfinished, and a served data directory is right), before it holds
pds serveto a refusal.