forked from mtusi2026/mtusi2026lab5
209 lines
4.4 KiB
JSON
209 lines
4.4 KiB
JSON
{
|
|
"scenario": "lease expiry of a frozen worker and fencing of its late result",
|
|
"date_utc": "2026-11-13T13:59:30+00:00",
|
|
"steps": [
|
|
{
|
|
"t": 7.38,
|
|
"utc": "13:58:53.350",
|
|
"step": "workers recreated",
|
|
"env": {
|
|
"WORKER_FAULT_INJECTION": "1",
|
|
"JOB_LEASE_SECONDS": "10",
|
|
"FAULT_SLOW_SECONDS": "25"
|
|
},
|
|
"workers": [
|
|
"3c4ac216bda3",
|
|
"39a586ee07d0"
|
|
]
|
|
},
|
|
{
|
|
"t": 8.17,
|
|
"utc": "13:58:54.136",
|
|
"step": "claimed",
|
|
"attachment_id": "853b9368-075d-433e-aaf5-1c018dd46b6c",
|
|
"lease_owner": "39a586ee07d0:84ac209d",
|
|
"lease_until": "2026-11-13T13:59:03.380939Z"
|
|
},
|
|
{
|
|
"t": 17.01,
|
|
"utc": "13:59:02.977",
|
|
"step": "long-running job keeps its lease (heartbeat)",
|
|
"lease_until": "2026-11-13T13:59:10.077947Z",
|
|
"status": "processing"
|
|
},
|
|
{
|
|
"t": 17.17,
|
|
"utc": "13:59:03.142",
|
|
"step": "owner container paused (frozen, no heartbeat)",
|
|
"container": "39a586ee07d0"
|
|
},
|
|
{
|
|
"t": 43.13,
|
|
"utc": "13:59:29.103",
|
|
"step": "lease expired -> requeued -> other worker finished",
|
|
"seconds_after_pause": 25.1,
|
|
"new_owner": "3c4ac216bda3:3f11a69c",
|
|
"events": [
|
|
"enqueued",
|
|
"claimed",
|
|
"lease_expired",
|
|
"requeued_after_lease",
|
|
"claimed",
|
|
"busy_ignored",
|
|
"ready",
|
|
"staging_deleted"
|
|
]
|
|
},
|
|
{
|
|
"t": 43.18,
|
|
"utc": "13:59:29.152",
|
|
"step": "owner container unpaused"
|
|
},
|
|
{
|
|
"t": 44.04,
|
|
"utc": "13:59:30.005",
|
|
"step": "late worker fenced, result unchanged",
|
|
"events": [
|
|
"enqueued",
|
|
"claimed",
|
|
"lease_expired",
|
|
"requeued_after_lease",
|
|
"claimed",
|
|
"busy_ignored",
|
|
"ready",
|
|
"staging_deleted",
|
|
"aborted_lease_lost"
|
|
],
|
|
"invariants": {
|
|
"variants": [
|
|
"crop",
|
|
"optimized",
|
|
"thumbnail"
|
|
],
|
|
"variants_ok": true,
|
|
"final_objects": 4,
|
|
"final_objects_ok": true,
|
|
"staging_left": false,
|
|
"job_status": "ready",
|
|
"attempt": 2
|
|
}
|
|
}
|
|
],
|
|
"attachment_id": "853b9368-075d-433e-aaf5-1c018dd46b6c",
|
|
"paused_container": "39a586ee07d0",
|
|
"events": [
|
|
{
|
|
"job_id": "a8e26f22-aedd-4404-b4bd-74cbda19a2d7",
|
|
"at": "2026-11-13T13:58:53.369257Z",
|
|
"event": "enqueued",
|
|
"attempt": 1,
|
|
"actor": "api",
|
|
"detail": null
|
|
},
|
|
{
|
|
"job_id": "a8e26f22-aedd-4404-b4bd-74cbda19a2d7",
|
|
"at": "2026-11-13T13:58:53.384267Z",
|
|
"event": "claimed",
|
|
"attempt": 1,
|
|
"actor": "39a586ee07d0:84ac209d",
|
|
"detail": {
|
|
"redelivered_message_attempt": 1
|
|
}
|
|
},
|
|
{
|
|
"job_id": "a8e26f22-aedd-4404-b4bd-74cbda19a2d7",
|
|
"at": "2026-11-13T13:59:13.472919Z",
|
|
"event": "lease_expired",
|
|
"attempt": 1,
|
|
"actor": "reaper:e3d84e7b1100:1b42ad54",
|
|
"detail": {
|
|
"lease_owner": "39a586ee07d0:84ac209d"
|
|
}
|
|
},
|
|
{
|
|
"job_id": "a8e26f22-aedd-4404-b4bd-74cbda19a2d7",
|
|
"at": "2026-11-13T13:59:13.479987Z",
|
|
"event": "requeued_after_lease",
|
|
"attempt": 1,
|
|
"actor": "reaper:e3d84e7b1100:1b42ad54",
|
|
"detail": {
|
|
"error_code": "lease_expired",
|
|
"next_attempt": 2,
|
|
"delay_seconds": 1.87
|
|
}
|
|
},
|
|
{
|
|
"job_id": "a8e26f22-aedd-4404-b4bd-74cbda19a2d7",
|
|
"at": "2026-11-13T13:59:28.041721Z",
|
|
"event": "claimed",
|
|
"attempt": 2,
|
|
"actor": "3c4ac216bda3:3f11a69c",
|
|
"detail": {
|
|
"redelivered_message_attempt": 1
|
|
}
|
|
},
|
|
{
|
|
"job_id": "a8e26f22-aedd-4404-b4bd-74cbda19a2d7",
|
|
"at": "2026-11-13T13:59:28.042827Z",
|
|
"event": "busy_ignored",
|
|
"attempt": 2,
|
|
"actor": "3c4ac216bda3:3f11a69c",
|
|
"detail": {
|
|
"lease_owner": "3c4ac216bda3:3f11a69c"
|
|
}
|
|
},
|
|
{
|
|
"job_id": "a8e26f22-aedd-4404-b4bd-74cbda19a2d7",
|
|
"at": "2026-11-13T13:59:28.181171Z",
|
|
"event": "ready",
|
|
"attempt": 2,
|
|
"actor": "3c4ac216bda3:3f11a69c",
|
|
"detail": {
|
|
"variants": {
|
|
"crop": [
|
|
128,
|
|
128
|
|
],
|
|
"optimized": [
|
|
320,
|
|
200
|
|
],
|
|
"thumbnail": [
|
|
256,
|
|
160
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"job_id": "a8e26f22-aedd-4404-b4bd-74cbda19a2d7",
|
|
"at": "2026-11-13T13:59:28.182433Z",
|
|
"event": "staging_deleted",
|
|
"attempt": 2,
|
|
"actor": "3c4ac216bda3:3f11a69c",
|
|
"detail": null
|
|
},
|
|
{
|
|
"job_id": "a8e26f22-aedd-4404-b4bd-74cbda19a2d7",
|
|
"at": "2026-11-13T13:59:29.145023Z",
|
|
"event": "aborted_lease_lost",
|
|
"attempt": 1,
|
|
"actor": "39a586ee07d0:84ac209d",
|
|
"detail": null
|
|
}
|
|
],
|
|
"invariants": {
|
|
"variants": [
|
|
"crop",
|
|
"optimized",
|
|
"thumbnail"
|
|
],
|
|
"variants_ok": true,
|
|
"final_objects": 4,
|
|
"final_objects_ok": true,
|
|
"staging_left": false,
|
|
"job_status": "ready",
|
|
"attempt": 2
|
|
}
|
|
}
|