forked from mtusi2026/mtusi2026lab5
74 lines
1.8 KiB
JSON
74 lines
1.8 KiB
JSON
{
|
|
"scenario": "worker-down",
|
|
"result": "PASS",
|
|
"started_at": "2026-11-11T23:23:18Z",
|
|
"attachment_id": "4ebdeb92-a3d0-467d-b8cf-e7e7d45306c2",
|
|
"message_id": "f0e4acb4-49b4-4c27-b726-911937e01552",
|
|
"upload_status": 202,
|
|
"upload_ms_worker_down": 99,
|
|
"queue_before_restart": {
|
|
"ready": 1,
|
|
"unacked": 0,
|
|
"consumers": 0
|
|
},
|
|
"job_before_restart": {
|
|
"job_id": "a56aa984-d3eb-4716-a47d-f246d752426c",
|
|
"status": "queued",
|
|
"attempt": 1,
|
|
"max_attempts": 5,
|
|
"error_code": "",
|
|
"variant_rows": 0,
|
|
"outbox_rows": 1,
|
|
"outbox_unpublished": 0,
|
|
"staging_removed": false
|
|
},
|
|
"queue_after_api_and_broker_restart": {
|
|
"ready": 1,
|
|
"unacked": 0,
|
|
"consumers": 0
|
|
},
|
|
"status_after_restart_before_worker": "queued",
|
|
"seconds_to_ready_after_worker_start": 0.34,
|
|
"statuses_seen": [
|
|
"processing",
|
|
"ready"
|
|
],
|
|
"steps": [
|
|
"docker compose stop worker",
|
|
"upload -> 202 queued",
|
|
"message with queued attachment -> 201",
|
|
"content while queued -> 409",
|
|
"plain text message -> 201",
|
|
"docker compose restart api rabbitmq (volumes kept)",
|
|
"docker compose start worker"
|
|
],
|
|
"ready_check": {
|
|
"variants": {
|
|
"thumbnail": "image/jpeg 256x160 5620B",
|
|
"crop": "image/jpeg 128x128 2440B",
|
|
"optimized": "image/webp 320x200 2462B"
|
|
},
|
|
"thumbnail_real_jpeg_size": [
|
|
256,
|
|
160
|
|
],
|
|
"original_sha256_ok": true
|
|
},
|
|
"job_after": {
|
|
"job_id": "a56aa984-d3eb-4716-a47d-f246d752426c",
|
|
"status": "ready",
|
|
"attempt": 1,
|
|
"max_attempts": 5,
|
|
"error_code": "",
|
|
"variant_rows": 3,
|
|
"outbox_rows": 1,
|
|
"outbox_unpublished": 0,
|
|
"staging_removed": true
|
|
},
|
|
"s3": {
|
|
"variants_objects": 3,
|
|
"final_original": 1,
|
|
"staging_objects": 0
|
|
}
|
|
}
|