lab5: отчёт и доказательства итогового прогона 5

This commit is contained in:
2026-11-09 18:20:45 +03:00
parent 1289df31b1
commit 66a4b5ca63
48 changed files with 1450 additions and 17 deletions
+22
View File
@@ -0,0 +1,22 @@
{
"scenario": "broker-restart",
"result": {
"attachment_id": "41928433-0d5c-4179-a23e-1e962bded4e2",
"queue_before_restart": {
"attachment.dead": 0,
"attachment.process": 0
},
"queue_after_restart": {
"attachment.dead": 0,
"attachment.process": 1
},
"outbox_publish_attempts": 1,
"invariants": {
"status": "ready",
"published_version": 1,
"objects_per_version": {
"1": 3
}
}
}
}
+17
View File
@@ -0,0 +1,17 @@
{
"scenario": "crash-commit",
"result": {
"attachment_id": "b79d51ac-bd5f-4ebf-b7b2-0372638e289f",
"job_id": "9679d789-9782-4965-847b-88ae26653ecc",
"worker_restarts": 1,
"attempt": 1,
"redelivery_acked_as_noop": true,
"invariants": {
"status": "ready",
"published_version": 1,
"objects_per_version": {
"1": 3
}
}
}
}
+34
View File
@@ -0,0 +1,34 @@
{
"scenario": "crash-effect",
"result": {
"attachment_id": "6a4a5622-45fb-4af7-9603-d310130fb69e",
"job_id": "8c912c85-5398-4aae-881b-ddc9c3789d15",
"worker_restarts": 1,
"attempt": 2,
"seconds_to_ready": 19.6,
"events": "enqueued,claimed,lease_expired_requeued,claimed,done",
"invariants": {
"status": "ready",
"published_version": 1,
"objects_per_version": {
"1": 3
}
},
"variants": {
"thumbnail": [
256,
160
],
"crop": [
128,
128
],
"optimized": [
320,
200
],
"optimized_bytes": 2462,
"original_bytes": 111817
}
}
}
+42
View File
@@ -0,0 +1,42 @@
{
"scenario": "demo",
"result": {
"attachment_id": "3e265d26-04d0-40ad-9626-1a0fc6e4f9fd",
"job_id": "52e255df-61a1-46a1-a90c-e00184ef8a59",
"job_state": "done",
"attempt": 1,
"timeline": [
"worker stopped",
"upload 202 queued id=3e265d26-04d0-40ad-9626-1a0fc6e4f9fd",
"message 201 with queued attachment",
"content 409, other messages OK",
"api and rabbitmq restarted (volumes kept), outbox published=1",
"rabbitmq queues after restart: {'attachment.dead': 0, 'attachment.process': 1}",
"worker started → ready in 2.4 s"
],
"variants": {
"thumbnail": [
256,
160
],
"crop": [
128,
128
],
"optimized": [
320,
200
],
"optimized_bytes": 2462,
"original_bytes": 111817
},
"invariants": {
"status": "ready",
"published_version": 1,
"objects_per_version": {
"1": 3
}
},
"events": "enqueued,claimed,done"
}
}
+36
View File
@@ -0,0 +1,36 @@
{
"scenario": "failed-replay",
"result": {
"attachment_id": "a778211f-1990-469c-8134-16dc71b7932b",
"failed_error_code": "checksum_mismatch",
"content_while_failed": 409,
"attach_failed_to_message": 409,
"registry_listed": true,
"replay": {
"attachment_id": "a778211f-1990-469c-8134-16dc71b7932b",
"command": "replay",
"error": "",
"job_id": "473811d7-02f9-4994-9acb-d67d396b9453",
"ok": true,
"version": 1
},
"replay_after_success": {
"attachment_id": "a778211f-1990-469c-8134-16dc71b7932b",
"command": "replay",
"error": "conflict: job is done, only failed jobs can be replayed",
"job_id": "473811d7-02f9-4994-9acb-d67d396b9453",
"ok": false,
"version": 1
},
"final_status": "ready",
"events": "enqueued,claimed,failed,replay,claimed,done,replay_refused",
"dlq_messages": 1,
"invariants": {
"status": "ready",
"published_version": 1,
"objects_per_version": {
"1": 3
}
}
}
}
+30
View File
@@ -0,0 +1,30 @@
{
"scenario": "limits",
"result": {
"image": "6000x6000 PNG (119755 bytes)",
"parallel_uploads": 3,
"seconds_all_ready": 5.4,
"worker_anon_memory_max_mib": 570.3,
"worker_memory_peak_incl_page_cache_mib": 576.4,
"oom_kill_events": 0,
"go_memlimit": "560MiB",
"oom_events": 0,
"worker_memory_limit_mib": 768.0,
"pixel_budget": 60000000,
"decoded_rgba_per_image_mib": 137.3,
"variant_sizes": {
"thumbnail": [
256,
256
],
"crop": [
128,
128
],
"optimized": [
1280,
1280
]
}
}
}
+25
View File
@@ -0,0 +1,25 @@
{
"scenario": "outbox-gap",
"result": {
"relay_down_then_up": {
"attachment_id": "adff70ba-9cda-450a-88a2-9c7827ed4022",
"unpublished_while_relay_down": 1,
"then": "ready"
},
"relay_crash_after_confirm": {
"attachment_id": "c55e34c1-e4b8-4b6d-b48b-9038a1a920c9",
"relay_restarts": 1,
"outbox_publish_attempts": 1,
"worker_saw_message_twice": true,
"job_attempt": 1,
"invariants": {
"status": "ready",
"published_version": 1,
"objects_per_version": {
"1": 3
}
}
},
"events": "enqueued,claimed,done"
}
}
+17
View File
@@ -0,0 +1,17 @@
{
"scenario": "transient",
"result": {
"attachment_id": "13448df8-cb13-4b9a-9227-73182d6c84bc",
"attempts": 3,
"final_status": "ready",
"retry_details": "processing_failed; next_attempt=2 in 1.553s | processing_failed; next_attempt=3 in 2.758s",
"events": "enqueued,claimed,retry_scheduled,claimed,retry_scheduled,claimed,done",
"invariants": {
"status": "ready",
"published_version": 1,
"objects_per_version": {
"1": 3
}
}
}
}
+10
View File
@@ -0,0 +1,10 @@
worker-1 | {"time":"2026-11-09T15:15:46.619759171Z","level":"INFO","msg":"worker starting","owner":"18d147720c4c:1","concurrency":2,"lease":60000000000}
worker-1 | {"time":"2026-11-09T15:16:10.212884822Z","level":"INFO","msg":"worker starting","owner":"18d147720c4c:1","concurrency":2,"lease":60000000000}
worker-1 | {"time":"2026-11-09T15:16:18.342232549Z","level":"INFO","msg":"worker starting","owner":"18d147720c4c:1","concurrency":2,"lease":60000000000}
worker-1 | {"time":"2026-11-09T15:16:18.87701229Z","level":"WARN","msg":"attempt failed","job_id":"db189a01-f03c-4451-bde1-232b101fc886","attachment_id":"13448df8-cb13-4b9a-9227-73182d6c84bc","version":1,"attempt":1,"code":"processing_failed","final":false,"backoff":1552880322}
worker-1 | {"time":"2026-11-09T15:16:20.857991266Z","level":"WARN","msg":"attempt failed","job_id":"db189a01-f03c-4451-bde1-232b101fc886","attachment_id":"13448df8-cb13-4b9a-9227-73182d6c84bc","version":1,"attempt":2,"code":"processing_failed","final":false,"backoff":2758454067}
worker-1 | {"time":"2026-11-09T15:16:31.988478744Z","level":"INFO","msg":"worker starting","owner":"18d147720c4c:1","concurrency":2,"lease":60000000000}
worker-1 | {"time":"2026-11-09T15:16:32.017138291Z","level":"WARN","msg":"attempt failed","job_id":"473811d7-02f9-4994-9acb-d67d396b9453","attachment_id":"a778211f-1990-469c-8134-16dc71b7932b","version":1,"attempt":1,"code":"checksum_mismatch","final":true,"backoff":1371991185}
worker-1 | {"time":"2026-11-09T15:16:34.957981424Z","level":"ERROR","msg":"invalid job message, dead-lettering","err":null}
worker-1 | {"time":"2026-11-09T15:16:45.821308891Z","level":"INFO","msg":"worker starting","owner":"18d147720c4c:1","concurrency":2,"lease":60000000000}
relay-1 | {"time":"2026-11-09T15:15:21.358127392Z","level":"WARN","msg":"expired leases requeued","jobs":1}