Record level 4 evidence and fill in the report
evidence/level4.json: all 17 scenarios of levels 3 and 4 and the eight invariants pass on 0b85edf; evidence/operator.txt shows the failed registry, a replay to ready, a noop replay, an expired replay and the DLQ. Smoke, topology, level3, persistence, failover, lab 4 scenarios, limits, student tests and contract checks are refreshed on the same commit. REPORT.md describes the variants, worker limits, jitter, lease renewal, crash points, replay and retention, adds rows 4.1-4.4, the level 4 failure experiments and the updated limitations. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
0b85edfdea
commit
573220e12a
@@ -1,14 +1,14 @@
|
||||
date: 2026-10-28T22:23:58Z commit: fe26938
|
||||
date: 2026-10-29T00:36:33Z commit: 0b85edf
|
||||
$ make check
|
||||
python3 scripts/check_contract.py
|
||||
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
||||
$ make validate PYTHON=<venv с requirements-dev.txt>
|
||||
.venv-validate/bin/python scripts/validate_openapi.py
|
||||
<venv>/bin/python scripts/validate_openapi.py
|
||||
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
|
||||
$ make lint
|
||||
.venv/bin/ruff check src student-tests scripts/probe.py scripts/limits.py scripts/lab4_scenarios.py scripts/lab4_seed.py scripts/upload_memory.py scripts/make_images.py scripts/pipeline_suite.py scripts/pipeline_evidence.py
|
||||
All checks passed!
|
||||
.venv/bin/ruff format --check src student-tests scripts/probe.py scripts/limits.py scripts/lab4_scenarios.py scripts/lab4_seed.py scripts/upload_memory.py scripts/make_images.py scripts/pipeline_suite.py scripts/pipeline_evidence.py
|
||||
154 files already formatted
|
||||
159 files already formatted
|
||||
.venv/bin/ty check src student-tests
|
||||
All checks passed!
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
date: 2026-10-28T22:23:55Z commit: fe26938
|
||||
date: 2026-10-29T00:36:34Z commit: 0b85edf
|
||||
host: Apple M4 Max, 16 CPU, 48 GiB RAM, macOS 15.1
|
||||
docker: 28.3.2, VM: 16 CPU, 8217190400 bytes
|
||||
compose: 2.38.2-desktop.1
|
||||
@@ -55,3 +55,4 @@ process users (service uid command):
|
||||
valkey 999 valkey-server
|
||||
worker 10001 docker-init
|
||||
worker 10001 python
|
||||
worker limits: 2 CPU, memory.max 1024 MiB; render: WORKER_CONCURRENCY=2 processes, RLIMIT_AS 448 MiB, timeout 30 s, 100 tasks per process
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"ok": true,
|
||||
"scenario": "failover-upload",
|
||||
"upload_instance": "db66b246dcf8",
|
||||
"download_instance": "6f688eb249b1",
|
||||
"upload_instance": "70cfba801128",
|
||||
"download_instance": "095cb9cc85bd",
|
||||
"sha256_equal": true,
|
||||
"hook_seconds": 2.807,
|
||||
"download_ok_after_seconds": 2.873,
|
||||
"hook_seconds": 2.877,
|
||||
"download_ok_after_seconds": 2.886,
|
||||
"restored": true
|
||||
}
|
||||
|
||||
+26
-25
@@ -1,38 +1,39 @@
|
||||
date: 2026-10-28T22:22:11Z commit: fe26938
|
||||
date: 2026-10-29T00:33:32Z commit: 0b85edf
|
||||
== before: api replicas (hostname = X-Instance-Id), state, StartedAt, FinishedAt
|
||||
6f688eb249b1 running started=2026-10-28T22:22:05.423248042Z finished=2026-10-28T22:21:58.379410261Z
|
||||
db66b246dcf8 running started=2026-10-28T22:22:05.372051334Z finished=2026-10-28T22:21:58.358450386Z
|
||||
095cb9cc85bd running started=2026-10-29T00:33:12.427394173Z finished=2026-10-29T00:33:03.853644169Z
|
||||
70cfba801128 running started=2026-10-29T00:33:12.607365173Z finished=2026-10-29T00:33:03.666460502Z
|
||||
$ make test-failover ACTION_SCRIPT=scripts/stop-one.sh
|
||||
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "http://localhost:18085"
|
||||
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
|
||||
{"observed_instances_before": 2, "successful_writes": 134, "failed_attempts": 0, "first_recovery_seconds": 2.852}
|
||||
{"observed_instances_before": 2, "successful_writes": 133, "failed_attempts": 0, "first_recovery_seconds": 3.005}
|
||||
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
== after: api replicas
|
||||
6f688eb249b1 running started=2026-10-28T22:22:05.423248042Z finished=2026-10-28T22:21:58.379410261Z
|
||||
db66b246dcf8 exited started=2026-10-28T22:22:05.372051334Z finished=2026-10-28T22:22:15.636566713Z
|
||||
== stopped replica: db66b246dcf8; shutdown: signal, drain window with readiness 503, close, exit
|
||||
{"event":"Handling signal: term","level":"info","ts":"2026-10-28T22:22:13.137381Z"}
|
||||
{"event":"Draining for 2.0 s","level":"info","ts":"2026-10-28T22:22:13.153115Z"}
|
||||
{"event":"Draining for 2.0 s","level":"info","ts":"2026-10-28T22:22:13.199627Z"}
|
||||
{"method":"GET","route":"/health/ready","status":503,"request_id":"24da035dd1a4415c92593374018243cf","duration_ms":2.055,"event":"request.handled","level":"info","ts":"2026-10-28T22:22:13.995688Z"}
|
||||
{"method":"GET","route":"/health/ready","status":503,"request_id":"13aaefddf6b044158fbdafb4ebd4e8a8","duration_ms":0.714,"event":"request.handled","level":"info","ts":"2026-10-28T22:22:14.498227Z"}
|
||||
{"event":"Shutting down","level":"info","ts":"2026-10-28T22:22:15.159499Z"}
|
||||
{"event":"Shutting down","level":"info","ts":"2026-10-28T22:22:15.203678Z"}
|
||||
{"event":"service.stopped","level":"info","ts":"2026-10-28T22:22:15.265766Z"}
|
||||
{"event":"Finished server process [7]","level":"info","ts":"2026-10-28T22:22:15.266054Z"}
|
||||
{"event":"service.stopped","level":"info","ts":"2026-10-28T22:22:15.310366Z"}
|
||||
{"event":"Finished server process [8]","level":"info","ts":"2026-10-28T22:22:15.310673Z"}
|
||||
{"event":"Worker (pid:7) was sent SIGTERM!","level":"info","ts":"2026-10-28T22:22:15.365320Z"}
|
||||
{"event":"Worker (pid:8) was sent SIGTERM!","level":"info","ts":"2026-10-28T22:22:15.365493Z"}
|
||||
{"event":"Shutting down: Master","level":"info","ts":"2026-10-28T22:22:15.467387Z"}
|
||||
095cb9cc85bd running started=2026-10-29T00:33:12.427394173Z finished=2026-10-29T00:33:03.853644169Z
|
||||
70cfba801128 exited started=2026-10-29T00:33:12.607365173Z finished=2026-10-29T00:33:39.052027754Z
|
||||
== stopped replica: 70cfba801128; shutdown: signal, drain window with readiness 503, close, exit
|
||||
{"event":"Handling signal: term","level":"info","ts":"2026-10-29T00:33:36.479119Z"}
|
||||
{"event":"Draining for 2.0 s","level":"info","ts":"2026-10-29T00:33:36.486455Z"}
|
||||
{"event":"Draining for 2.0 s","level":"info","ts":"2026-10-29T00:33:36.558375Z"}
|
||||
{"method":"GET","route":"/health/ready","status":503,"request_id":"b3d9118f93b94471b698d536dda11072","duration_ms":0.772,"event":"request.handled","level":"info","ts":"2026-10-29T00:33:37.011026Z"}
|
||||
{"method":"GET","route":"/health/ready","status":503,"request_id":"3c1324def7e74f3484c4fbd242f7f70b","duration_ms":0.655,"event":"request.handled","level":"info","ts":"2026-10-29T00:33:37.515877Z"}
|
||||
{"method":"GET","route":"/health/ready","status":503,"request_id":"e56c9504272b45a89b7372020eb80d15","duration_ms":0.733,"event":"request.handled","level":"info","ts":"2026-10-29T00:33:37.588547Z"}
|
||||
{"event":"Shutting down","level":"info","ts":"2026-10-29T00:33:38.487910Z"}
|
||||
{"event":"Shutting down","level":"info","ts":"2026-10-29T00:33:38.560300Z"}
|
||||
{"event":"service.stopped","level":"info","ts":"2026-10-29T00:33:38.592638Z"}
|
||||
{"event":"Finished server process [13]","level":"info","ts":"2026-10-29T00:33:38.592934Z"}
|
||||
{"event":"Worker (pid:13) was sent SIGTERM!","level":"info","ts":"2026-10-29T00:33:38.624866Z"}
|
||||
{"event":"service.stopped","level":"info","ts":"2026-10-29T00:33:38.664775Z"}
|
||||
{"event":"Finished server process [14]","level":"info","ts":"2026-10-29T00:33:38.665027Z"}
|
||||
{"event":"Worker (pid:14) was sent SIGTERM!","level":"info","ts":"2026-10-29T00:33:38.725950Z"}
|
||||
{"event":"Shutting down: Master","level":"info","ts":"2026-10-29T00:33:38.834487Z"}
|
||||
$ scripts/restore.sh
|
||||
Container mtusi2026lab5-api-1 Running
|
||||
Container mtusi2026lab5-api-2 Starting
|
||||
Container mtusi2026lab5-api-2 Started
|
||||
Container mtusi2026lab5-api-2 Waiting
|
||||
Container mtusi2026lab5-api-1 Waiting
|
||||
Container mtusi2026lab5-api-2 Healthy
|
||||
Container mtusi2026lab5-api-2 Waiting
|
||||
Container mtusi2026lab5-api-1 Healthy
|
||||
Container mtusi2026lab5-api-2 Healthy
|
||||
== after restore
|
||||
6f688eb249b1 running started=2026-10-28T22:22:05.423248042Z finished=2026-10-28T22:21:58.379410261Z
|
||||
db66b246dcf8 running started=2026-10-28T22:22:28.448846553Z finished=2026-10-28T22:22:15.636566713Z
|
||||
095cb9cc85bd running started=2026-10-29T00:33:12.427394173Z finished=2026-10-29T00:33:03.853644169Z
|
||||
70cfba801128 running started=2026-10-29T00:33:51.687259594Z finished=2026-10-29T00:33:39.052027754Z
|
||||
|
||||
+33
-29
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"suite": "lab5-pipeline-idempotency",
|
||||
"started_at": "2026-10-28T22:20:16.079560Z",
|
||||
"started_at": "2026-10-29T00:21:40.224842Z",
|
||||
"config": {
|
||||
"base_url": "http://localhost:18085",
|
||||
"level": 3,
|
||||
@@ -71,7 +71,7 @@
|
||||
0
|
||||
],
|
||||
"attachments.process.dlq": [
|
||||
0,
|
||||
1,
|
||||
0
|
||||
]
|
||||
},
|
||||
@@ -92,11 +92,13 @@
|
||||
"name": "smoke_pipeline",
|
||||
"level": 3,
|
||||
"window": "upload, ready, variants match metadata",
|
||||
"seconds": 0.3,
|
||||
"seconds": 1.3,
|
||||
"result": "PASS",
|
||||
"observed": {
|
||||
"attachment_id": "01a18499-a3b4-71f7-9116-e01ab2e3927b",
|
||||
"attachment_id": "01a18508-c6f6-774b-ae60-24aa728ad62c",
|
||||
"variants": [
|
||||
"crop",
|
||||
"optimized",
|
||||
"thumbnail"
|
||||
]
|
||||
}
|
||||
@@ -105,31 +107,31 @@
|
||||
"name": "worker_down_broker_restart",
|
||||
"level": 3,
|
||||
"window": "worker down, API and broker restart",
|
||||
"seconds": 25.2,
|
||||
"seconds": 24.0,
|
||||
"result": "PASS",
|
||||
"observed": {
|
||||
"attachment_id": "01a18499-a689-742f-9c5c-bc6196e95b17",
|
||||
"attachment_id": "01a18508-cd97-737c-bb03-5409de83ff8e",
|
||||
"timeline": [
|
||||
{
|
||||
"at": "2026-10-28T22:20:24.579204Z",
|
||||
"at": "2026-10-29T00:21:49.075959Z",
|
||||
"step": "worker stopped"
|
||||
},
|
||||
{
|
||||
"at": "2026-10-28T22:20:24.595477Z",
|
||||
"at": "2026-10-29T00:21:49.095967Z",
|
||||
"step": "upload 202 queued",
|
||||
"attachment_id": "01a18499-a689-742f-9c5c-bc6196e95b17"
|
||||
"attachment_id": "01a18508-cd97-737c-bb03-5409de83ff8e"
|
||||
},
|
||||
{
|
||||
"at": "2026-10-28T22:20:24.599071Z",
|
||||
"at": "2026-10-29T00:21:49.099982Z",
|
||||
"step": "content 409 while queued"
|
||||
},
|
||||
{
|
||||
"at": "2026-10-28T22:20:24.619147Z",
|
||||
"at": "2026-10-29T00:21:49.138263Z",
|
||||
"step": "message with attachment 201, other messages work",
|
||||
"message_id": "01a18499-a698-7776-9a20-eacea53325fe"
|
||||
"message_id": "01a18508-cdad-708f-8324-18123e9c7758"
|
||||
},
|
||||
{
|
||||
"at": "2026-10-28T22:20:31.645448Z",
|
||||
"at": "2026-10-29T00:21:54.782528Z",
|
||||
"step": "job is in the broker queue",
|
||||
"queues": {
|
||||
"attachments.process": [
|
||||
@@ -137,17 +139,17 @@
|
||||
0
|
||||
],
|
||||
"attachments.process.dlq": [
|
||||
0,
|
||||
1,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"at": "2026-10-28T22:20:37.799903Z",
|
||||
"at": "2026-10-29T00:22:00.869187Z",
|
||||
"step": "API replicas and relay restarted"
|
||||
},
|
||||
{
|
||||
"at": "2026-10-28T22:20:46.499917Z",
|
||||
"at": "2026-10-29T00:22:09.698869Z",
|
||||
"step": "broker restarted with its volume, job survived",
|
||||
"queues": {
|
||||
"attachments.process": [
|
||||
@@ -155,19 +157,21 @@
|
||||
0
|
||||
],
|
||||
"attachments.process.dlq": [
|
||||
0,
|
||||
1,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"at": "2026-10-28T22:20:49.240721Z",
|
||||
"at": "2026-10-29T00:22:12.427256Z",
|
||||
"step": "worker started"
|
||||
},
|
||||
{
|
||||
"at": "2026-10-28T22:20:49.423263Z",
|
||||
"at": "2026-10-29T00:22:12.707560Z",
|
||||
"step": "ready",
|
||||
"variants": [
|
||||
"crop",
|
||||
"optimized",
|
||||
"thumbnail"
|
||||
]
|
||||
}
|
||||
@@ -178,10 +182,10 @@
|
||||
"name": "duplicate_after_ready",
|
||||
"level": 3,
|
||||
"window": "redelivery of a finished job",
|
||||
"seconds": 3.9,
|
||||
"seconds": 7.4,
|
||||
"result": "PASS",
|
||||
"observed": {
|
||||
"attachment_id": "01a1849a-0796-74ec-9ed8-4fdce40fa325",
|
||||
"attachment_id": "01a18509-29ee-7116-b3df-b04caf1c48e7",
|
||||
"events": [
|
||||
{
|
||||
"kind": "enqueued",
|
||||
@@ -206,7 +210,7 @@
|
||||
"name": "poison_image",
|
||||
"level": 3,
|
||||
"window": "permanent error without retries",
|
||||
"seconds": 0.1,
|
||||
"seconds": 0.0,
|
||||
"result": "PASS",
|
||||
"observed": {
|
||||
"rejected_by_api": 415
|
||||
@@ -216,13 +220,13 @@
|
||||
"name": "s3_outage_recovers",
|
||||
"level": 3,
|
||||
"window": "transient error with retry",
|
||||
"seconds": 13.8,
|
||||
"seconds": 11.6,
|
||||
"result": "PASS",
|
||||
"observed": {
|
||||
"attachment_id": "01a1849a-18c4-7330-b1d6-a596a0e473c1",
|
||||
"attachment_id": "01a18509-4892-72ec-8f31-ea07c55239c7",
|
||||
"jobs": [
|
||||
{
|
||||
"job_id": "01a1849a-18cf-7463-b86e-697e4a60189d",
|
||||
"job_id": "01a18509-4898-70c0-9198-8af96f5da78b",
|
||||
"pipeline_version": 1,
|
||||
"status": "done",
|
||||
"attempt": 2
|
||||
@@ -234,13 +238,13 @@
|
||||
"name": "retry_exhausted",
|
||||
"level": 3,
|
||||
"window": "transient error until JOB_MAX_ATTEMPTS",
|
||||
"seconds": 22.9,
|
||||
"seconds": 23.4,
|
||||
"result": "PASS",
|
||||
"observed": {
|
||||
"attachment_id": "01a1849a-5ba2-759c-8166-8c6061753c4b",
|
||||
"attachment_id": "01a18509-8268-718e-912d-c6718d5492e0",
|
||||
"jobs": [
|
||||
{
|
||||
"job_id": "01a1849a-5bba-75f8-99bc-cdcfe0dc84d8",
|
||||
"job_id": "01a18509-826e-7736-8d1e-ba66a970dc8e",
|
||||
"pipeline_version": 1,
|
||||
"status": "failed",
|
||||
"attempt": 5
|
||||
@@ -250,5 +254,5 @@
|
||||
}
|
||||
],
|
||||
"result": "PASS",
|
||||
"finished_at": "2026-10-28T22:21:35.933583Z"
|
||||
"finished_at": "2026-10-29T00:23:06.519678Z"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,923 @@
|
||||
{
|
||||
"suite": "lab5-pipeline-idempotency",
|
||||
"started_at": "2026-10-29T00:23:06.625217Z",
|
||||
"config": {
|
||||
"base_url": "http://localhost:18085",
|
||||
"level": 4,
|
||||
"only": "",
|
||||
"expect_variants": "thumbnail,crop,optimized",
|
||||
"max_attempts": 5,
|
||||
"stall_seconds": 15.0,
|
||||
"compose": "docker compose",
|
||||
"compose_faults": "docker compose -f compose.yaml -f infra/compose.faults.yaml"
|
||||
},
|
||||
"invariants": [
|
||||
{
|
||||
"id": "terminal",
|
||||
"statement": "every 202 reaches its expected terminal state",
|
||||
"result": "PASS",
|
||||
"details": {
|
||||
"accepted": 33
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "single_effect",
|
||||
"statement": "one variant set per (attachment_id, pipeline_version, variant)",
|
||||
"result": "PASS",
|
||||
"details": {
|
||||
"rows": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "no_ready_rollback",
|
||||
"statement": "ready never returns to queued or processing",
|
||||
"result": "PASS",
|
||||
"details": {
|
||||
"traced": 33
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "monotonic_publication",
|
||||
"statement": "published_version only moves forward",
|
||||
"result": "PASS",
|
||||
"details": {
|
||||
"sampled": 8
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "bytes_match_metadata",
|
||||
"statement": "sha256, size and real dimensions match served bytes",
|
||||
"result": "PASS",
|
||||
"details": {
|
||||
"verified": 28
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "bounded_attempts",
|
||||
"statement": "attempt <= JOB_MAX_ATTEMPTS",
|
||||
"result": "PASS",
|
||||
"details": {
|
||||
"rows": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "no_orphans",
|
||||
"statement": "no pending outbox, messages, dead letters, staging, objects",
|
||||
"result": "PASS",
|
||||
"details": {
|
||||
"queues": {
|
||||
"attachments.process": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"attachments.process.dlq": [
|
||||
2,
|
||||
0
|
||||
]
|
||||
},
|
||||
"s3": "SKIP: --s3-list is not set"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "no_lost_202",
|
||||
"statement": "every 202 is present in PostgreSQL and the API",
|
||||
"result": "PASS",
|
||||
"details": {
|
||||
"accepted": 33
|
||||
}
|
||||
}
|
||||
],
|
||||
"scenarios": [
|
||||
{
|
||||
"name": "smoke_pipeline",
|
||||
"level": 3,
|
||||
"window": "upload, ready, variants match metadata",
|
||||
"seconds": 2.3,
|
||||
"result": "PASS",
|
||||
"observed": {
|
||||
"attachment_id": "01a1850a-2a86-7412-ad79-91e2d1035be6",
|
||||
"variants": [
|
||||
"crop",
|
||||
"optimized",
|
||||
"thumbnail"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "worker_down_broker_restart",
|
||||
"level": 3,
|
||||
"window": "worker down, API and broker restart",
|
||||
"seconds": 22.9,
|
||||
"result": "PASS",
|
||||
"observed": {
|
||||
"attachment_id": "01a1850a-35f4-7738-ae88-adcd8221f85d",
|
||||
"timeline": [
|
||||
{
|
||||
"at": "2026-10-29T00:23:21.327338Z",
|
||||
"step": "worker stopped"
|
||||
},
|
||||
{
|
||||
"at": "2026-10-29T00:23:21.352082Z",
|
||||
"step": "upload 202 queued",
|
||||
"attachment_id": "01a1850a-35f4-7738-ae88-adcd8221f85d"
|
||||
},
|
||||
{
|
||||
"at": "2026-10-29T00:23:21.358202Z",
|
||||
"step": "content 409 while queued"
|
||||
},
|
||||
{
|
||||
"at": "2026-10-29T00:23:21.411091Z",
|
||||
"step": "message with attachment 201, other messages work",
|
||||
"message_id": "01a1850a-3612-709d-812a-314668261056"
|
||||
},
|
||||
{
|
||||
"at": "2026-10-29T00:23:24.139715Z",
|
||||
"step": "job is in the broker queue",
|
||||
"queues": {
|
||||
"attachments.process": [
|
||||
1,
|
||||
0
|
||||
],
|
||||
"attachments.process.dlq": [
|
||||
1,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"at": "2026-10-29T00:23:30.980552Z",
|
||||
"step": "API replicas and relay restarted"
|
||||
},
|
||||
{
|
||||
"at": "2026-10-29T00:23:40.688506Z",
|
||||
"step": "broker restarted with its volume, job survived",
|
||||
"queues": {
|
||||
"attachments.process": [
|
||||
1,
|
||||
0
|
||||
],
|
||||
"attachments.process.dlq": [
|
||||
1,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"at": "2026-10-29T00:23:43.386331Z",
|
||||
"step": "worker started"
|
||||
},
|
||||
{
|
||||
"at": "2026-10-29T00:23:43.590658Z",
|
||||
"step": "ready",
|
||||
"variants": [
|
||||
"crop",
|
||||
"optimized",
|
||||
"thumbnail"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "duplicate_after_ready",
|
||||
"level": 3,
|
||||
"window": "redelivery of a finished job",
|
||||
"seconds": 5.2,
|
||||
"result": "PASS",
|
||||
"observed": {
|
||||
"attachment_id": "01a1850a-8cee-7426-8784-3914f1216d71",
|
||||
"events": [
|
||||
{
|
||||
"kind": "enqueued",
|
||||
"attempt": 1
|
||||
},
|
||||
{
|
||||
"kind": "claimed",
|
||||
"attempt": 1
|
||||
},
|
||||
{
|
||||
"kind": "done",
|
||||
"attempt": 1
|
||||
},
|
||||
{
|
||||
"kind": "duplicate_noop",
|
||||
"attempt": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "poison_image",
|
||||
"level": 3,
|
||||
"window": "permanent error without retries",
|
||||
"seconds": 0.0,
|
||||
"result": "PASS",
|
||||
"observed": {
|
||||
"rejected_by_api": 415
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "s3_outage_recovers",
|
||||
"level": 3,
|
||||
"window": "transient error with retry",
|
||||
"seconds": 14.3,
|
||||
"result": "PASS",
|
||||
"observed": {
|
||||
"attachment_id": "01a1850a-a267-7089-8d90-45cb5c521022",
|
||||
"jobs": [
|
||||
{
|
||||
"job_id": "01a1850a-a26f-7791-88a6-29a9fa3d3aa4",
|
||||
"pipeline_version": 1,
|
||||
"status": "done",
|
||||
"attempt": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "retry_exhausted",
|
||||
"level": 3,
|
||||
"window": "transient error until JOB_MAX_ATTEMPTS",
|
||||
"seconds": 20.4,
|
||||
"result": "PASS",
|
||||
"observed": {
|
||||
"attachment_id": "01a1850a-e8d8-7122-ab63-13e85b328efe",
|
||||
"jobs": [
|
||||
{
|
||||
"job_id": "01a1850a-e911-75b4-a3aa-7fd609efefa6",
|
||||
"pipeline_version": 1,
|
||||
"status": "failed",
|
||||
"attempt": 5
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "image_matrix",
|
||||
"level": 4,
|
||||
"window": "limits and variants",
|
||||
"seconds": 12.6,
|
||||
"result": "PASS",
|
||||
"observed": {
|
||||
"images": [
|
||||
{
|
||||
"file": "png-rgb-320x200.png",
|
||||
"http": 202,
|
||||
"status": "ready",
|
||||
"error_code": null,
|
||||
"variants": [
|
||||
"crop",
|
||||
"optimized",
|
||||
"thumbnail"
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "png-rgba-300x300.png",
|
||||
"http": 202,
|
||||
"status": "ready",
|
||||
"error_code": null,
|
||||
"variants": [
|
||||
"crop",
|
||||
"optimized",
|
||||
"thumbnail"
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "png-palette-trns-200x100.png",
|
||||
"http": 202,
|
||||
"status": "ready",
|
||||
"error_code": null,
|
||||
"variants": [
|
||||
"crop",
|
||||
"optimized",
|
||||
"thumbnail"
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "png-gray-17x1000.png",
|
||||
"http": 202,
|
||||
"status": "ready",
|
||||
"error_code": null,
|
||||
"variants": [
|
||||
"crop",
|
||||
"optimized",
|
||||
"thumbnail"
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "png-gray-alpha-640x480.png",
|
||||
"http": 202,
|
||||
"status": "ready",
|
||||
"error_code": null,
|
||||
"variants": [
|
||||
"crop",
|
||||
"optimized",
|
||||
"thumbnail"
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "png-gray16-300x200.png",
|
||||
"http": 202,
|
||||
"status": "ready",
|
||||
"error_code": null,
|
||||
"variants": [
|
||||
"crop",
|
||||
"optimized",
|
||||
"thumbnail"
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "png-rgba16-64x64.png",
|
||||
"http": 202,
|
||||
"status": "ready",
|
||||
"error_code": null,
|
||||
"variants": [
|
||||
"crop",
|
||||
"optimized",
|
||||
"thumbnail"
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "png-1x1.png",
|
||||
"http": 202,
|
||||
"status": "ready",
|
||||
"error_code": null,
|
||||
"variants": [
|
||||
"crop",
|
||||
"optimized",
|
||||
"thumbnail"
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "png-wide-3000x2.png",
|
||||
"http": 202,
|
||||
"status": "ready",
|
||||
"error_code": null,
|
||||
"variants": [
|
||||
"crop",
|
||||
"optimized",
|
||||
"thumbnail"
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "png-small-50x30.png",
|
||||
"http": 202,
|
||||
"status": "ready",
|
||||
"error_code": null,
|
||||
"variants": [
|
||||
"crop",
|
||||
"optimized",
|
||||
"thumbnail"
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "jpeg-rgb-1000x750.jpg",
|
||||
"http": 202,
|
||||
"status": "ready",
|
||||
"error_code": null,
|
||||
"variants": [
|
||||
"crop",
|
||||
"optimized",
|
||||
"thumbnail"
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "jpeg-gray-801x601.jpg",
|
||||
"http": 202,
|
||||
"status": "ready",
|
||||
"error_code": null,
|
||||
"variants": [
|
||||
"crop",
|
||||
"optimized",
|
||||
"thumbnail"
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "jpeg-cmyk-400x300.jpg",
|
||||
"http": 202,
|
||||
"status": "ready",
|
||||
"error_code": null,
|
||||
"variants": [
|
||||
"crop",
|
||||
"optimized",
|
||||
"thumbnail"
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "jpeg-exif6-400x200.jpg",
|
||||
"http": 202,
|
||||
"status": "ready",
|
||||
"error_code": null,
|
||||
"variants": [
|
||||
"crop",
|
||||
"optimized",
|
||||
"thumbnail"
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "jpeg-exif3-300x200.jpg",
|
||||
"http": 202,
|
||||
"status": "ready",
|
||||
"error_code": null,
|
||||
"variants": [
|
||||
"crop",
|
||||
"optimized",
|
||||
"thumbnail"
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "jpeg-rgb-4000x3000.jpg",
|
||||
"http": 202,
|
||||
"status": "ready",
|
||||
"error_code": null,
|
||||
"variants": [
|
||||
"crop",
|
||||
"optimized",
|
||||
"thumbnail"
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "png-exactly-10mib.png",
|
||||
"http": 202,
|
||||
"status": "ready",
|
||||
"error_code": null,
|
||||
"variants": [
|
||||
"crop",
|
||||
"optimized",
|
||||
"thumbnail"
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "png-over-10mib.png",
|
||||
"http": "rejected"
|
||||
},
|
||||
{
|
||||
"file": "png-over-pixels-8001x5000.png",
|
||||
"http": "rejected"
|
||||
},
|
||||
{
|
||||
"file": "jpeg-over-pixels-10000x5000.jpg",
|
||||
"http": "rejected"
|
||||
},
|
||||
{
|
||||
"file": "png-truncated.png",
|
||||
"http": "rejected"
|
||||
},
|
||||
{
|
||||
"file": "png-corrupt-idat.png",
|
||||
"http": "rejected"
|
||||
},
|
||||
{
|
||||
"file": "jpeg-truncated.jpg",
|
||||
"http": "rejected"
|
||||
},
|
||||
{
|
||||
"file": "png-zero-width.png",
|
||||
"http": "rejected"
|
||||
},
|
||||
{
|
||||
"file": "not-an-image.png",
|
||||
"http": "rejected"
|
||||
},
|
||||
{
|
||||
"file": "gif-declared-as-png.png",
|
||||
"http": "rejected"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "crash_commit_publish",
|
||||
"level": 4,
|
||||
"window": "after COMMIT, before publish",
|
||||
"seconds": 17.5,
|
||||
"result": "PASS",
|
||||
"observed": {
|
||||
"attachment_id": "01a1850b-7437-7757-92f0-862b8e3e430c",
|
||||
"exit_code": 137,
|
||||
"after_crash": {
|
||||
"outbox_published": false,
|
||||
"status": "queued"
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"pipeline_version": 1,
|
||||
"name": "crop",
|
||||
"sha256": "97bf1400b30a28c19420a30161c944f57b5e7d613533b76afe6ab2531cba0143",
|
||||
"size_bytes": 1820,
|
||||
"object_key": "variants/01a1850b-7437-7757-92f0-862b8e3e430c/1/crop-97bf1400b30a28c1.jpg"
|
||||
},
|
||||
{
|
||||
"pipeline_version": 1,
|
||||
"name": "optimized",
|
||||
"sha256": "1090d84ed8411226010ae498b08e1b9e6d81c8eee02ee77143a0dc327b894beb",
|
||||
"size_bytes": 2462,
|
||||
"object_key": "variants/01a1850b-7437-7757-92f0-862b8e3e430c/1/optimized-1090d84ed8411226.webp"
|
||||
},
|
||||
{
|
||||
"pipeline_version": 1,
|
||||
"name": "thumbnail",
|
||||
"sha256": "7bc40bf315c8e18e907889b23514d978be213a44223d64b737290188ee808594",
|
||||
"size_bytes": 4679,
|
||||
"object_key": "variants/01a1850b-7437-7757-92f0-862b8e3e430c/1/thumbnail-7bc40bf315c8e18e.jpg"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "crash_publish_confirm",
|
||||
"level": 4,
|
||||
"window": "after publish, before confirm",
|
||||
"seconds": 15.7,
|
||||
"result": "PASS",
|
||||
"observed": {
|
||||
"attachment_id": "01a1850b-acca-750e-8e22-5af17f32c47d",
|
||||
"exit_code": 137,
|
||||
"after_crash": {
|
||||
"outbox_published": [
|
||||
false
|
||||
],
|
||||
"queues": {
|
||||
"attachments.process": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"attachments.process.dlq": [
|
||||
1,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"pipeline_version": 1,
|
||||
"name": "crop",
|
||||
"sha256": "97bf1400b30a28c19420a30161c944f57b5e7d613533b76afe6ab2531cba0143",
|
||||
"size_bytes": 1820,
|
||||
"object_key": "variants/01a1850b-acca-750e-8e22-5af17f32c47d/1/crop-97bf1400b30a28c1.jpg"
|
||||
},
|
||||
{
|
||||
"pipeline_version": 1,
|
||||
"name": "optimized",
|
||||
"sha256": "1090d84ed8411226010ae498b08e1b9e6d81c8eee02ee77143a0dc327b894beb",
|
||||
"size_bytes": 2462,
|
||||
"object_key": "variants/01a1850b-acca-750e-8e22-5af17f32c47d/1/optimized-1090d84ed8411226.webp"
|
||||
},
|
||||
{
|
||||
"pipeline_version": 1,
|
||||
"name": "thumbnail",
|
||||
"sha256": "7bc40bf315c8e18e907889b23514d978be213a44223d64b737290188ee808594",
|
||||
"size_bytes": 4679,
|
||||
"object_key": "variants/01a1850b-acca-750e-8e22-5af17f32c47d/1/thumbnail-7bc40bf315c8e18e.jpg"
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
"enqueued",
|
||||
"claimed",
|
||||
"done",
|
||||
"duplicate_noop"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "crash_after_s3_before_commit",
|
||||
"level": 4,
|
||||
"window": "after S3 write, before COMMIT",
|
||||
"seconds": 23.1,
|
||||
"result": "PASS",
|
||||
"observed": {
|
||||
"attachment_id": "01a1850b-f488-7792-be43-3371a5179dda",
|
||||
"exit_code": 137,
|
||||
"after_crash": {
|
||||
"status": "processing",
|
||||
"variant_rows": 0
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"pipeline_version": 1,
|
||||
"name": "crop",
|
||||
"sha256": "97bf1400b30a28c19420a30161c944f57b5e7d613533b76afe6ab2531cba0143",
|
||||
"size_bytes": 1820,
|
||||
"object_key": "variants/01a1850b-f488-7792-be43-3371a5179dda/1/crop-97bf1400b30a28c1.jpg"
|
||||
},
|
||||
{
|
||||
"pipeline_version": 1,
|
||||
"name": "optimized",
|
||||
"sha256": "1090d84ed8411226010ae498b08e1b9e6d81c8eee02ee77143a0dc327b894beb",
|
||||
"size_bytes": 2462,
|
||||
"object_key": "variants/01a1850b-f488-7792-be43-3371a5179dda/1/optimized-1090d84ed8411226.webp"
|
||||
},
|
||||
{
|
||||
"pipeline_version": 1,
|
||||
"name": "thumbnail",
|
||||
"sha256": "7bc40bf315c8e18e907889b23514d978be213a44223d64b737290188ee808594",
|
||||
"size_bytes": 4679,
|
||||
"object_key": "variants/01a1850b-f488-7792-be43-3371a5179dda/1/thumbnail-7bc40bf315c8e18e.jpg"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "crash_after_commit_before_ack",
|
||||
"level": 4,
|
||||
"window": "after COMMIT, before ack",
|
||||
"seconds": 17.5,
|
||||
"result": "PASS",
|
||||
"observed": {
|
||||
"attachment_id": "01a1850c-4e58-7510-a23a-f8ddb2214d77",
|
||||
"exit_code": 137,
|
||||
"after_crash": {
|
||||
"status": "ready",
|
||||
"variants": [
|
||||
{
|
||||
"pipeline_version": 1,
|
||||
"name": "crop",
|
||||
"sha256": "97bf1400b30a28c19420a30161c944f57b5e7d613533b76afe6ab2531cba0143",
|
||||
"size_bytes": 1820,
|
||||
"object_key": "variants/01a1850c-4e58-7510-a23a-f8ddb2214d77/1/crop-97bf1400b30a28c1.jpg"
|
||||
},
|
||||
{
|
||||
"pipeline_version": 1,
|
||||
"name": "optimized",
|
||||
"sha256": "1090d84ed8411226010ae498b08e1b9e6d81c8eee02ee77143a0dc327b894beb",
|
||||
"size_bytes": 2462,
|
||||
"object_key": "variants/01a1850c-4e58-7510-a23a-f8ddb2214d77/1/optimized-1090d84ed8411226.webp"
|
||||
},
|
||||
{
|
||||
"pipeline_version": 1,
|
||||
"name": "thumbnail",
|
||||
"sha256": "7bc40bf315c8e18e907889b23514d978be213a44223d64b737290188ee808594",
|
||||
"size_bytes": 4679,
|
||||
"object_key": "variants/01a1850c-4e58-7510-a23a-f8ddb2214d77/1/thumbnail-7bc40bf315c8e18e.jpg"
|
||||
}
|
||||
],
|
||||
"queues": {
|
||||
"attachments.process": [
|
||||
0,
|
||||
1
|
||||
],
|
||||
"attachments.process.dlq": [
|
||||
1,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"pipeline_version": 1,
|
||||
"name": "crop",
|
||||
"sha256": "97bf1400b30a28c19420a30161c944f57b5e7d613533b76afe6ab2531cba0143",
|
||||
"size_bytes": 1820,
|
||||
"object_key": "variants/01a1850c-4e58-7510-a23a-f8ddb2214d77/1/crop-97bf1400b30a28c1.jpg"
|
||||
},
|
||||
{
|
||||
"pipeline_version": 1,
|
||||
"name": "optimized",
|
||||
"sha256": "1090d84ed8411226010ae498b08e1b9e6d81c8eee02ee77143a0dc327b894beb",
|
||||
"size_bytes": 2462,
|
||||
"object_key": "variants/01a1850c-4e58-7510-a23a-f8ddb2214d77/1/optimized-1090d84ed8411226.webp"
|
||||
},
|
||||
{
|
||||
"pipeline_version": 1,
|
||||
"name": "thumbnail",
|
||||
"sha256": "7bc40bf315c8e18e907889b23514d978be213a44223d64b737290188ee808594",
|
||||
"size_bytes": 4679,
|
||||
"object_key": "variants/01a1850c-4e58-7510-a23a-f8ddb2214d77/1/thumbnail-7bc40bf315c8e18e.jpg"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "lease_expiry_fencing",
|
||||
"level": 4,
|
||||
"window": "stalled worker, lease expiry",
|
||||
"seconds": 40.0,
|
||||
"result": "PASS",
|
||||
"observed": {
|
||||
"attachment_id": "01a1850c-936d-7519-bba4-0322f1a3c0b8",
|
||||
"jobs": [
|
||||
{
|
||||
"job_id": "01a1850c-9377-74d0-a5d9-48ed6ed9d65c",
|
||||
"pipeline_version": 1,
|
||||
"status": "done",
|
||||
"attempt": 2
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"kind": "enqueued",
|
||||
"attempt": 1
|
||||
},
|
||||
{
|
||||
"kind": "claimed",
|
||||
"attempt": 1
|
||||
},
|
||||
{
|
||||
"kind": "lease_expired",
|
||||
"attempt": 2
|
||||
},
|
||||
{
|
||||
"kind": "claimed",
|
||||
"attempt": 2
|
||||
},
|
||||
{
|
||||
"kind": "done",
|
||||
"attempt": 2
|
||||
},
|
||||
{
|
||||
"kind": "fenced",
|
||||
"attempt": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "replay_failed",
|
||||
"level": 4,
|
||||
"window": "operator replay",
|
||||
"seconds": 44.6,
|
||||
"result": "PASS",
|
||||
"observed": {
|
||||
"attachment_id": "01a1850d-2be1-778f-8538-077b3e53d322",
|
||||
"replay": {
|
||||
"result": "replayed",
|
||||
"attachment_id": "01a1850d-2be1-778f-8538-077b3e53d322",
|
||||
"operator": "cli"
|
||||
},
|
||||
"replay_of_ready": {
|
||||
"result": "noop",
|
||||
"attachment_id": "01a1850d-2be1-778f-8538-077b3e53d322",
|
||||
"operator": "cli"
|
||||
},
|
||||
"events": [
|
||||
{
|
||||
"kind": "enqueued",
|
||||
"attempt": 1
|
||||
},
|
||||
{
|
||||
"kind": "claimed",
|
||||
"attempt": 1
|
||||
},
|
||||
{
|
||||
"kind": "retry_scheduled",
|
||||
"attempt": 2
|
||||
},
|
||||
{
|
||||
"kind": "claimed",
|
||||
"attempt": 2
|
||||
},
|
||||
{
|
||||
"kind": "retry_scheduled",
|
||||
"attempt": 3
|
||||
},
|
||||
{
|
||||
"kind": "claimed",
|
||||
"attempt": 3
|
||||
},
|
||||
{
|
||||
"kind": "retry_scheduled",
|
||||
"attempt": 4
|
||||
},
|
||||
{
|
||||
"kind": "claimed",
|
||||
"attempt": 4
|
||||
},
|
||||
{
|
||||
"kind": "retry_scheduled",
|
||||
"attempt": 5
|
||||
},
|
||||
{
|
||||
"kind": "claimed",
|
||||
"attempt": 5
|
||||
},
|
||||
{
|
||||
"kind": "failed",
|
||||
"attempt": 5
|
||||
},
|
||||
{
|
||||
"kind": "replayed",
|
||||
"attempt": 1
|
||||
},
|
||||
{
|
||||
"kind": "claimed",
|
||||
"attempt": 1
|
||||
},
|
||||
{
|
||||
"kind": "done",
|
||||
"attempt": 1
|
||||
},
|
||||
{
|
||||
"kind": "replay_noop",
|
||||
"attempt": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "malformed_message_dead_lettered",
|
||||
"level": 4,
|
||||
"window": "message that is not a job goes to the DLQ",
|
||||
"seconds": 7.3,
|
||||
"result": "PASS",
|
||||
"observed": {
|
||||
"dead_letters": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "worker_limits",
|
||||
"level": 4,
|
||||
"window": "render time and memory limits, 40 Mpx in the worker limit",
|
||||
"seconds": 27.8,
|
||||
"result": "PASS",
|
||||
"observed": {
|
||||
"image": {
|
||||
"file": "png-at-pixel-limit-8000x5000.png",
|
||||
"bytes": 116714,
|
||||
"pixels": 40000000
|
||||
},
|
||||
"render_timeout": {
|
||||
"seconds": 0.5,
|
||||
"attachment_id": "01a1850e-0649-7516-bedf-76fcced46675",
|
||||
"error_code": "processing_failed",
|
||||
"worker": "running"
|
||||
},
|
||||
"render_memory": {
|
||||
"mib": 200,
|
||||
"attachment_id": "01a1850e-2203-76ad-94a5-d96a067b88d6",
|
||||
"error_code": "processing_failed",
|
||||
"worker": "running"
|
||||
},
|
||||
"default_limits": {
|
||||
"attachment_id": "01a1850e-3e3d-75c8-b892-9a107c43d4b6",
|
||||
"variants": [
|
||||
"crop",
|
||||
"optimized",
|
||||
"thumbnail"
|
||||
],
|
||||
"memory_peak_mib": 378.8,
|
||||
"memory_max_mib": 1024.0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "retry_backoff_jitter",
|
||||
"level": 4,
|
||||
"window": "backoff with equal jitter between attempts",
|
||||
"seconds": 35.2,
|
||||
"result": "PASS",
|
||||
"observed": {
|
||||
"attachment_id": "01a1850e-85dc-7779-9d26-df88e9a5fe8b",
|
||||
"delays": [
|
||||
{
|
||||
"attempt": 2,
|
||||
"delay": 0.694765
|
||||
},
|
||||
{
|
||||
"attempt": 3,
|
||||
"delay": 1.738794
|
||||
},
|
||||
{
|
||||
"attempt": 4,
|
||||
"delay": 2.834139
|
||||
},
|
||||
{
|
||||
"attempt": 5,
|
||||
"delay": 7.550992
|
||||
}
|
||||
],
|
||||
"share_of_ceiling": [
|
||||
0.695,
|
||||
0.869,
|
||||
0.709,
|
||||
0.944
|
||||
],
|
||||
"jobs": [
|
||||
{
|
||||
"job_id": "01a1850e-8623-7161-af00-316420cb53db",
|
||||
"pipeline_version": 1,
|
||||
"status": "failed",
|
||||
"attempt": 5
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "failed_retention",
|
||||
"level": 4,
|
||||
"window": "failed staging kept until retention, then replay expires",
|
||||
"seconds": 41.8,
|
||||
"result": "PASS",
|
||||
"observed": {
|
||||
"attachment_id": "01a1850e-f5b0-731a-b6a5-e50c724f4f69",
|
||||
"staging_before": "kept",
|
||||
"replay": {
|
||||
"result": "expired",
|
||||
"attachment_id": "01a1850e-f5b0-731a-b6a5-e50c724f4f69",
|
||||
"operator": "cli"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"result": "PASS",
|
||||
"finished_at": "2026-10-29T00:29:20.963570Z"
|
||||
}
|
||||
+10
-10
@@ -1,4 +1,4 @@
|
||||
date: 2026-10-28T22:22:59Z
|
||||
date: 2026-10-29T00:34:02Z
|
||||
$ docker compose --profile bench --profile tools config --format json (declared)
|
||||
service cpus/mem ports secrets volumes networks ro
|
||||
-------- ---------- ------------------------------- ----------------------------------------------------------------------------------------------------------------------- ----------- ---------------------- -----
|
||||
@@ -13,19 +13,19 @@ s3 1/512MiB - s3_root_password,s3_root_
|
||||
s3-cli 0.5/64MiB - s3_access_key_id,s3_root_password,s3_root_user,s3_secret_access_key,s3_worker_access_key_id,s3_worker_secret_access_key - backend(internal) true
|
||||
s3-init 0.5/64MiB - s3_access_key_id,s3_root_password,s3_root_user,s3_secret_access_key,s3_worker_access_key_id,s3_worker_secret_access_key - backend(internal) true
|
||||
valkey 0.5/128MiB - valkey.conf valkeydata backend(internal) false
|
||||
worker 2/768MiB - broker_url_worker,database_url,s3_worker_access_key_id,s3_worker_secret_access_key - backend(internal) true
|
||||
worker 2/1024MiB - broker_url_worker,database_url,s3_worker_access_key_id,s3_worker_secret_access_key - backend(internal) true
|
||||
|
||||
$ docker inspect (running containers: hostname = X-Instance-Id, applied limits)
|
||||
service hostname cpus memory published
|
||||
-------- ------------ ---- ------- ---------------------------------------------------
|
||||
api 6f688eb249b1 1 512MiB
|
||||
api db66b246dcf8 1 512MiB
|
||||
api 095cb9cc85bd 1 512MiB
|
||||
api 70cfba801128 1 512MiB
|
||||
broker broker 1 512MiB 127.0.0.1:25672->15672/tcp
|
||||
lb d708a0029059 1 128MiB 127.0.0.1:18085->8080/tcp,127.0.0.1:25085->8404/tcp
|
||||
postgres e7a6e449eabf 2 1024MiB
|
||||
relay 0885d6359cd9 0.5 192MiB
|
||||
s3 b4c9e833e654 1 512MiB
|
||||
valkey 49888ec3e02e 0.5 128MiB
|
||||
worker 7ad814af7027 2 768MiB
|
||||
lb c0fb1baf1003 1 128MiB 127.0.0.1:18085->8080/tcp,127.0.0.1:25085->8404/tcp
|
||||
postgres 0a58a30d4f0f 2 1024MiB
|
||||
relay 36f8b7c0afb7 0.5 192MiB
|
||||
s3 bed02ee8e4fc 1 512MiB
|
||||
valkey 1d3e7af5a234 0.5 128MiB
|
||||
worker 56c0ce59c97a 2 1024MiB
|
||||
|
||||
PASS: limits, ports, secrets, volumes and networks match the policy
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
date: 2026-10-29T00:32:35Z commit: 0b85edf
|
||||
# ID — вложение, доведённое до failed retry_exhausted: pipeline_suite.py --only retry_exhausted
|
||||
$ make failed # реестр failed-заданий (последние 20), последняя строка — JSON; первые три записи
|
||||
[
|
||||
{
|
||||
"job_id": "01a18512-1b5f-75e8-afc5-4d8de5a1fd37",
|
||||
"attachment_id": "01a18512-1b35-7151-b14a-b65248339365",
|
||||
"pipeline_version": 1,
|
||||
"attempt": 5,
|
||||
"error_code": "retry_exhausted",
|
||||
"last_error": "Unavailable",
|
||||
"failed_at": "2026-10-29T00:32:12.404490+00:00"
|
||||
},
|
||||
{
|
||||
"job_id": "01a1850e-f5c8-74cf-bb11-17f5660ff7cb",
|
||||
"attachment_id": "01a1850e-f5b0-731a-b6a5-e50c724f4f69",
|
||||
"pipeline_version": 1,
|
||||
"attempt": 5,
|
||||
"error_code": "retry_exhausted",
|
||||
"last_error": "Unavailable",
|
||||
"failed_at": "2026-10-29T00:28:43.569198+00:00"
|
||||
},
|
||||
{
|
||||
"job_id": "01a1850e-8623-7161-af00-316420cb53db",
|
||||
"attachment_id": "01a1850e-85dc-7779-9d26-df88e9a5fe8b",
|
||||
"pipeline_version": 1,
|
||||
"attempt": 5,
|
||||
"error_code": "retry_exhausted",
|
||||
"last_error": "Unavailable",
|
||||
"failed_at": "2026-10-29T00:28:18.113299+00:00"
|
||||
}
|
||||
]
|
||||
... всего 13
|
||||
$ make replay ID=01a18512-1b35-7151-b14a-b65248339365
|
||||
{"result": "replayed", "attachment_id": "01a18512-1b35-7151-b14a-b65248339365", "operator": "cli"}
|
||||
$ psql: состояние вложения и задания через 6 с
|
||||
status | error_code | job_id | job_status | attempt | staging_removed
|
||||
--------+------------+--------------------------------------+------------+---------+-----------------
|
||||
ready | | 01a18512-1b5f-75e8-afc5-4d8de5a1fd37 | done | 1 | t
|
||||
(1 row)
|
||||
|
||||
$ make replay ID=01a18512-1b35-7151-b14a-b65248339365 # повтор для ready
|
||||
{"result": "noop", "attachment_id": "01a18512-1b35-7151-b14a-b65248339365", "operator": "cli"}
|
||||
$ psql: SELECT kind, attempt, detail FROM job_events WHERE attachment_id = ID ORDER BY id
|
||||
kind | attempt | detail
|
||||
-----------------+---------+------------------------------------------------------------------------------------------------------------
|
||||
enqueued | 1 | {}
|
||||
claimed | 1 | {}
|
||||
retry_scheduled | 2 | {"error": "Unavailable", "delay_seconds": 0.554707, "next_attempt_at": "2026-10-29T00:32:00.190332+00:00"}
|
||||
claimed | 2 | {}
|
||||
retry_scheduled | 3 | {"error": "Unavailable", "delay_seconds": 1.70871, "next_attempt_at": "2026-10-29T00:32:05.029872+00:00"}
|
||||
claimed | 3 | {}
|
||||
retry_scheduled | 4 | {"error": "Unavailable", "delay_seconds": 2.197943, "next_attempt_at": "2026-10-29T00:32:07.534942+00:00"}
|
||||
claimed | 4 | {}
|
||||
retry_scheduled | 5 | {"error": "Unavailable", "delay_seconds": 4.2547, "next_attempt_at": "2026-10-29T00:32:12.125315+00:00"}
|
||||
claimed | 5 | {}
|
||||
failed | 5 | {"error": "Unavailable", "error_code": "retry_exhausted"}
|
||||
replayed | 1 | {"operator": "cli", "error_code": "retry_exhausted"}
|
||||
claimed | 1 | {}
|
||||
done | 1 | {}
|
||||
replay_noop | 1 | {"result": "noop", "operator": "cli"}
|
||||
(15 rows)
|
||||
|
||||
$ make replay ID=01a1850a-e8d8-7122-ab63-13e85b328efe # failed, staging удалён по retention (сценарий failed_retention)
|
||||
{"result": "expired", "attachment_id": "01a1850a-e8d8-7122-ab63-13e85b328efe", "operator": "cli"}
|
||||
$ make dlq # DLQ без извлечения (ack_requeue_true)
|
||||
71 true attachments.dlx attachment.process.v1 1 content_type: "application/json",delivery_mode: 2,headers: {"x-death":[{"count":1,"exchange":"attachments","queue":"attachments.process","reason":"rejected","routing-keys":["attachment.process.v1"],"time":1793233047}],"x-delivery-count":2,"x-first-death-exchange":"attachments","x-first-death-queue":"attachments.process","x-first-death-reason":"rejected","x-last-death-exchange":"attachments","x-last-death-queue":"attachments.process","x-last-death-reason":"rejected"},message_id: "63d240e5-f57d-485b-9cc7-32b477a90248",type: "attachment.process.v1", {"schema_version": 2, "job_id": "63d240e5-f57d-485b-9cc7-32b477a90248"} string
|
||||
71 true attachments.dlx attachment.process.v1 0 content_type: "application/json",delivery_mode: 2,headers: {"x-death":[{"count":1,"exchange":"attachments","queue":"attachments.process","reason":"rejected","routing-keys":["attachment.process.v1"],"time":1793233636}],"x-delivery-count":1,"x-first-death-exchange":"attachments","x-first-death-queue":"attachments.process","x-first-death-reason":"rejected","x-last-death-exchange":"attachments","x-last-death-queue":"attachments.process","x-last-death-reason":"rejected"},message_id: "c9c23d22-98a8-40ab-a151-279a330433c9",type: "attachment.process.v1", {"schema_version": 2, "job_id": "c9c23d22-98a8-40ab-a151-279a330433c9"} string
|
||||
+23
-23
@@ -1,28 +1,28 @@
|
||||
date: 2026-10-28T22:21:54Z commit: fe26938
|
||||
date: 2026-10-29T00:32:58Z commit: 0b85edf
|
||||
== before: service hostname StartedAt status
|
||||
api 6f688eb249b1 2026-10-28T22:20:34.396543083Z running
|
||||
api db66b246dcf8 2026-10-28T22:20:34.521180916Z running
|
||||
broker broker 2026-10-28T22:20:39.316655877Z running
|
||||
lb d708a0029059 2026-10-28T22:19:55.27440126Z running
|
||||
migrate 38b5310e7c7c 2026-10-28T22:20:00.936185262Z exited
|
||||
postgres e7a6e449eabf 2026-10-28T22:19:55.32886151Z running
|
||||
relay 0885d6359cd9 2026-10-28T22:21:39.877494461Z running
|
||||
s3 b4c9e833e654 2026-10-28T22:21:01.413311013Z running
|
||||
s3-init 5ef24dcebc29 2026-10-28T22:20:00.938049221Z exited
|
||||
valkey 49888ec3e02e 2026-10-28T22:19:55.328408801Z running
|
||||
worker 7ad814af7027 2026-10-28T22:21:42.661373295Z running
|
||||
api 095cb9cc85bd 2026-10-29T00:23:26.937801097Z running
|
||||
api 70cfba801128 2026-10-29T00:23:26.872290805Z running
|
||||
broker broker 2026-10-29T00:23:33.239099711Z running
|
||||
lb c0fb1baf1003 2026-10-29T00:14:15.16099305Z running
|
||||
migrate cd1e567cebc2 2026-10-29T00:20:55.26042818Z exited
|
||||
postgres 0a58a30d4f0f 2026-10-29T00:14:15.17657905Z running
|
||||
relay 36f8b7c0afb7 2026-10-29T00:32:29.769448Z running
|
||||
s3 bed02ee8e4fc 2026-10-29T00:23:57.327718375Z running
|
||||
s3-init 0fd32e62264c 2026-10-29T00:20:55.264511638Z exited
|
||||
valkey 1d3e7af5a234 2026-10-29T00:14:15.175894758Z running
|
||||
worker 56c0ce59c97a 2026-10-29T00:32:29.771418417Z running
|
||||
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://localhost:18085"
|
||||
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
|
||||
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
== after: service hostname StartedAt status
|
||||
api 6f688eb249b1 2026-10-28T22:22:05.423248042Z running
|
||||
api db66b246dcf8 2026-10-28T22:22:05.372051334Z running
|
||||
broker broker 2026-10-28T22:21:59.97632722Z running
|
||||
lb d708a0029059 2026-10-28T22:22:00.29338672Z running
|
||||
migrate 38b5310e7c7c 2026-10-28T22:22:04.304560666Z exited
|
||||
postgres e7a6e449eabf 2026-10-28T22:21:58.878794886Z running
|
||||
relay 0885d6359cd9 2026-10-28T22:22:05.376045584Z running
|
||||
s3 b4c9e833e654 2026-10-28T22:21:58.777473761Z running
|
||||
s3-init 5ef24dcebc29 2026-10-28T22:22:04.305438708Z exited
|
||||
valkey 49888ec3e02e 2026-10-28T22:21:58.834801636Z running
|
||||
worker 7ad814af7027 2026-10-28T22:22:05.375153375Z running
|
||||
api 095cb9cc85bd 2026-10-29T00:33:12.427394173Z running
|
||||
api 70cfba801128 2026-10-29T00:33:12.607365173Z running
|
||||
broker broker 2026-10-29T00:33:05.74921692Z running
|
||||
lb c0fb1baf1003 2026-10-29T00:33:06.709645795Z running
|
||||
migrate cd1e567cebc2 2026-10-29T00:33:10.208706213Z exited
|
||||
postgres 0a58a30d4f0f 2026-10-29T00:33:04.711349336Z running
|
||||
relay 36f8b7c0afb7 2026-10-29T00:33:22.887360136Z running
|
||||
s3 bed02ee8e4fc 2026-10-29T00:33:04.671988127Z running
|
||||
s3-init 0fd32e62264c 2026-10-29T00:33:10.223091755Z exited
|
||||
valkey 1d3e7af5a234 2026-10-29T00:33:04.747377252Z running
|
||||
worker 56c0ce59c97a 2026-10-29T00:33:22.886019136Z running
|
||||
|
||||
+11
-11
@@ -1,33 +1,33 @@
|
||||
date: 2026-10-28T22:21:36Z
|
||||
$ docker compose stop -t 10 worker -> 0.5 s, exit code 0
|
||||
upload -> 202 status=queued id=01a1849a-c0cb-75cb-8da2-32e2345745c8
|
||||
date: 2026-10-29T00:21:17Z
|
||||
$ docker compose stop -t 10 worker -> 0.4 s, exit code 0
|
||||
upload -> 202 status=queued id=01a18508-5393-719b-bbd5-2265c6138ccd
|
||||
GET content?variant=original while worker is stopped -> 409
|
||||
GET content?variant=thumbnail while worker is stopped -> 409
|
||||
$ rabbitmqctl list_queues -p messenger name messages_ready messages_unacknowledged
|
||||
name messages_ready messages_unacknowledged
|
||||
attachments.process 1 0
|
||||
attachments.process.dlq 0 0
|
||||
attachments.process.dlq 1 0
|
||||
$ rabbitmqadmin get messages -q attachments.process -a ack_requeue_true
|
||||
+---------------+-------------+-------------+-----------------------+---------------+--------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------+
|
||||
| payload_bytes | redelivered | exchange | routing_key | message_count | properties | payload | payload_encoding |
|
||||
+---------------+-------------+-------------+-----------------------+---------------+--------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------+
|
||||
| 243 | false | attachments | attachment.process.v1 | 0 | app_id: "faststream-0.7.8" | {"type": "attachment.process.v1", "job_id": "01a1849a-c0d7-76df-9824-4555c4e9789b", "attempt": 1, "created_at": "2026-10-28T22:21:36.855941Z", "attachment_id": "01a1849a-c0cb-75cb-8da2-32e2345745c8", "schema_version": 1, "pipeline_version": 1} | string |
|
||||
| 243 | false | attachments | attachment.process.v1 | 0 | app_id: "faststream-0.7.8" | {"type": "attachment.process.v1", "job_id": "01a18508-539b-7426-8b71-492a7249adcc", "attempt": 1, "created_at": "2026-10-29T00:21:17.851856Z", "attachment_id": "01a18508-5393-719b-bbd5-2265c6138ccd", "schema_version": 1, "pipeline_version": 1} | string |
|
||||
| | | | | | content_type: "application/json" | | |
|
||||
| | | | | | correlation_id: "9a019e51-100d-4c50-ba7f-d75aa580dd18" | | |
|
||||
| | | | | | correlation_id: "dec88fb4-3a9e-460f-843e-3410a0e73d77" | | |
|
||||
| | | | | | delivery_mode: 2 | | |
|
||||
| | | | | | headers: {} | | |
|
||||
| | | | | | message_id: "01a1849a-c0d7-76df-9824-4555c4e9789b" | | |
|
||||
| | | | | | message_id: "01a18508-539b-7426-8b71-492a7249adcc" | | |
|
||||
| | | | | | priority: 0 | | |
|
||||
| | | | | | timestamp: 1793226097 | | |
|
||||
| | | | | | timestamp: 1793233278 | | |
|
||||
| | | | | | type: "attachment.process.v1" | | |
|
||||
| | | | | | | | |
|
||||
+---------------+-------------+-------------+-----------------------+---------------+--------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------+
|
||||
payload keys: ['attachment_id', 'attempt', 'created_at', 'job_id', 'pipeline_version', 'schema_version', 'type']
|
||||
$ docker compose stop -t 10 relay -> 0.5 s, exit code 0
|
||||
$ docker compose stop -t 10 relay -> 0.3 s, exit code 0
|
||||
$ docker compose up -d --no-deps --wait relay -> healthy
|
||||
$ docker compose up -d --no-deps --wait worker -> healthy
|
||||
after worker start -> status=ready variants=[('thumbnail', 256, 160)]
|
||||
after worker start -> status=ready variants=[('crop', 128, 128), ('optimized', 320, 200), ('thumbnail', 256, 160)]
|
||||
name messages_ready messages_unacknowledged
|
||||
attachments.process 0 0
|
||||
attachments.process.dlq 0 0
|
||||
attachments.process.dlq 1 0
|
||||
PASS: pipeline stand evidence
|
||||
|
||||
+11
-11
@@ -4,28 +4,28 @@
|
||||
"during_outage": {
|
||||
"upload": {
|
||||
"status": 503,
|
||||
"seconds": 4.511,
|
||||
"instance": "db66b246dcf8"
|
||||
"seconds": 3.902,
|
||||
"instance": "095cb9cc85bd"
|
||||
},
|
||||
"metadata": {
|
||||
"status": 200,
|
||||
"seconds": 0.004,
|
||||
"instance": "6f688eb249b1"
|
||||
"seconds": 0.005,
|
||||
"instance": "70cfba801128"
|
||||
},
|
||||
"download": {
|
||||
"status": 503,
|
||||
"seconds": 4.674,
|
||||
"instance": "db66b246dcf8"
|
||||
"seconds": 1.436,
|
||||
"instance": "095cb9cc85bd"
|
||||
},
|
||||
"text_message": {
|
||||
"status": 201,
|
||||
"seconds": 0.006,
|
||||
"instance": "6f688eb249b1"
|
||||
"seconds": 0.009,
|
||||
"instance": "70cfba801128"
|
||||
},
|
||||
"health_ready": {
|
||||
"status": 200,
|
||||
"seconds": 0.003,
|
||||
"instance": "db66b246dcf8"
|
||||
"seconds": 0.004,
|
||||
"instance": "095cb9cc85bd"
|
||||
}
|
||||
},
|
||||
"expected": {
|
||||
@@ -34,6 +34,6 @@
|
||||
"text_message": 201
|
||||
},
|
||||
"as_expected": true,
|
||||
"s3_back_healthy_seconds": 5.741,
|
||||
"s3_back_healthy_seconds": 5.745,
|
||||
"download_after_recovery": "sha256 equal"
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
== 2026-10-28T22:22:55Z S3 privacy and bootstrap checks
|
||||
== 2026-10-29T00:38:07Z S3 privacy and bootstrap checks
|
||||
PASS s3: опубликованные host-порты: нет
|
||||
PASS s3: консоль :9001 внутри контейнера: 000
|
||||
PASS s3-init: повторный запуск 1: 0
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
date: 2026-10-28T22:20:05Z commit: fe26938 BASE_URL=http://localhost:18085
|
||||
date: 2026-10-29T00:21:12Z commit: 0b85edf BASE_URL=http://localhost:18085
|
||||
$ make test
|
||||
python3 tests/smoke.py --base-url "http://localhost:18085"
|
||||
PASS: lab5 public API scenario; infrastructure and grading evidence remain separate.
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
date: 2026-10-28T22:24:03Z commit: fe26938
|
||||
date: 2026-10-29T00:34:05Z commit: 0b85edf
|
||||
$ make student-test
|
||||
.venv/bin/pytest
|
||||
........................................................................ [ 18%]
|
||||
........................................................................ [ 36%]
|
||||
........................................................................ [ 55%]
|
||||
........................................................................ [ 73%]
|
||||
........................................................................ [ 92%]
|
||||
.............................. [100%]
|
||||
390 passed, 15 deselected in 65.12s (0:01:05)
|
||||
........................................................................ [ 17%]
|
||||
........................................................................ [ 34%]
|
||||
........................................................................ [ 51%]
|
||||
........................................................................ [ 68%]
|
||||
........................................................................ [ 86%]
|
||||
....................................s..................... [100%]
|
||||
417 passed, 1 skipped, 15 deselected in 139.72s (0:02:19)
|
||||
|
||||
+12
-12
@@ -1,28 +1,28 @@
|
||||
date: 2026-10-28T22:20:06Z commit: fe26938
|
||||
date: 2026-10-29T00:21:14Z commit: 0b85edf
|
||||
$ rabbitmqctl list_queues -p messenger name type durable policy messages
|
||||
name type durable policy messages
|
||||
attachments.process quorum true attachments-process 0
|
||||
attachments.process.dlq quorum true attachments-dlq 0
|
||||
attachments.process.dlq quorum true attachments-dlq 1
|
||||
$ rabbitmqctl list_consumers -p messenger
|
||||
queue_name ack_required prefetch_count
|
||||
attachments.process true 2
|
||||
$ rabbitmqctl list_permissions -p messenger
|
||||
user configure write read
|
||||
messenger-worker ^$ ^$ ^attachments\.process$
|
||||
messenger-api ^$ ^attachments$ ^$
|
||||
messenger-ops .* .* .*
|
||||
messenger-api ^$ ^attachments$ ^$
|
||||
$ rabbitmqctl list_users
|
||||
user tags
|
||||
messenger-api []
|
||||
messenger-worker []
|
||||
messenger-ops [administrator]
|
||||
$ docker compose ps
|
||||
api Up 8 seconds (healthy)
|
||||
api Up 8 seconds (healthy)
|
||||
broker Up 14 seconds (healthy) 127.0.0.1:25672->15672/tcp
|
||||
lb Up 14 seconds (healthy) 127.0.0.1:18085->8080/tcp, 127.0.0.1:25085->8404/tcp
|
||||
postgres Up 14 seconds (healthy)
|
||||
relay Up 8 seconds (healthy)
|
||||
s3 Up 14 seconds (healthy)
|
||||
valkey Up 14 seconds (healthy)
|
||||
worker Up 8 seconds (healthy)
|
||||
api Up 19 seconds (healthy)
|
||||
api Up 19 seconds (healthy)
|
||||
broker Up 6 minutes (healthy) 127.0.0.1:25672->15672/tcp
|
||||
lb Up 7 minutes (healthy) 127.0.0.1:18085->8080/tcp, 127.0.0.1:25085->8404/tcp
|
||||
postgres Up 7 minutes (healthy)
|
||||
relay Up 19 seconds (healthy)
|
||||
s3 Up 6 minutes (healthy)
|
||||
valkey Up 7 minutes (healthy)
|
||||
worker Up 19 seconds (healthy)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
date: 2026-10-28T22:23:04Z commit: fe26938 BASE_URL=http://localhost:18085
|
||||
date: 2026-10-29T00:37:06Z commit: 0b85edf BASE_URL=http://localhost:18085
|
||||
============================= test session starts ==============================
|
||||
collected 5 items
|
||||
|
||||
@@ -38,20 +38,20 @@ filename=None: 400
|
||||
пустой текст без вложений: 400
|
||||
невалидный id вложения: 400
|
||||
variant=preview: 400
|
||||
строк вложений в чате: 2 (= ответов 202); ответов в журнале реплик: 54, из них 5xx: 0
|
||||
строк вложений в чате: 2 (= ответов 202); ответов в журнале реплик: 55, из них 5xx: 0
|
||||
.отказ COMMIT после записи объекта: 503 unavailable
|
||||
сразу после ответа: строка нет, объект HEAD 404
|
||||
журнал: audit.attachment_discarded reason=compensation
|
||||
.реплика 6f688eb249b1 убита между PUT и COMMIT, клиент получил 502
|
||||
реплика db66b246dcf8 убита между PUT и COMMIT, клиент получил 502
|
||||
.реплика 70cfba801128 убита между PUT и COMMIT, клиент получил 502
|
||||
реплика 095cb9cc85bd убита между PUT и COMMIT, клиент получил 502
|
||||
остаток после падения: строка pending, объект HEAD 200
|
||||
остаток после падения: строка pending, объект HEAD 200
|
||||
старше grace: строка убрана через 24.4 с, объект HEAD 404
|
||||
старше grace: строка убрана через 20.5 с, объект HEAD 404
|
||||
моложе grace: строка pending, объект HEAD 200
|
||||
тот же после сдвига: убран через 3.0 с, объект HEAD 404
|
||||
тот же после сдвига: убран через 3.8 с, объект HEAD 404
|
||||
готовое вложение в сообщении со сдвинутым created_at скачивается, SHA-256 совпадает
|
||||
.обрыв после 256 KiB из 5 MiB: статус в журнале реплики [400], намерение None
|
||||
.тело зависло после 1 KiB: 503 unavailable за 8.00 с
|
||||
.тело зависло после 1 KiB: 503 unavailable за 8.01 с
|
||||
.
|
||||
|
||||
============================== 5 passed in 48.80s ==============================
|
||||
============================== 5 passed in 59.43s ==============================
|
||||
|
||||
Reference in New Issue
Block a user