ЛР5: устойчивый versioned pipeline изображений, outbox и доказательства отказов
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
Image mtusi-vasilev:lab5 Building
|
||||
#1 [internal] load local bake definitions
|
||||
#1 reading from stdin 1.78kB done
|
||||
#1 DONE 0.0s
|
||||
|
||||
#2 [internal] load build definition from Dockerfile
|
||||
#2 transferring dockerfile: 1.07kB done
|
||||
#2 DONE 0.0s
|
||||
|
||||
#3 [internal] load metadata for ghcr.io/astral-sh/uv:0.11.7
|
||||
#3 DONE 0.0s
|
||||
|
||||
#4 [internal] load metadata for docker.io/library/python:3.12-slim@sha256:646fb0bca3dd3ea1bcc6feb72c17ed16eed6e10cffc732fcc1478bd3e7f02d7b
|
||||
#4 DONE 0.0s
|
||||
|
||||
#5 [internal] load .dockerignore
|
||||
#5 transferring context: 109B done
|
||||
#5 DONE 0.0s
|
||||
|
||||
#6 [internal] load build context
|
||||
#6 transferring context: 24.07kB done
|
||||
#6 DONE 0.0s
|
||||
|
||||
#7 FROM ghcr.io/astral-sh/uv:0.11.7@sha256:240fb85ab0f263ef12f492d8476aa3a2e4e1e333f7d67fbdd923d00a506a516a
|
||||
#7 resolve ghcr.io/astral-sh/uv:0.11.7@sha256:240fb85ab0f263ef12f492d8476aa3a2e4e1e333f7d67fbdd923d00a506a516a done
|
||||
#7 DONE 0.0s
|
||||
|
||||
#8 [build 1/5] FROM docker.io/library/python:3.12-slim@sha256:646fb0bca3dd3ea1bcc6feb72c17ed16eed6e10cffc732fcc1478bd3e7f02d7b
|
||||
#8 resolve docker.io/library/python:3.12-slim@sha256:646fb0bca3dd3ea1bcc6feb72c17ed16eed6e10cffc732fcc1478bd3e7f02d7b done
|
||||
#8 DONE 0.0s
|
||||
|
||||
#9 [build 4/5] COPY pyproject.toml uv.lock ./
|
||||
#9 CACHED
|
||||
|
||||
#10 [stage-1 3/6] WORKDIR /app
|
||||
#10 CACHED
|
||||
|
||||
#11 [build 5/5] RUN uv sync --locked --no-dev --no-install-project --python /usr/local/bin/python
|
||||
#11 CACHED
|
||||
|
||||
#12 [stage-1 2/6] RUN apt-get update && apt-get install -y --no-install-recommends libjpeg-turbo-progs=1:2.1.5-4 && rm -rf /var/lib/apt/lists/*
|
||||
#12 CACHED
|
||||
|
||||
#13 [build 3/5] WORKDIR /app
|
||||
#13 CACHED
|
||||
|
||||
#14 [build 2/5] COPY --from=ghcr.io/astral-sh/uv:0.11.7 /uv /usr/local/bin/uv
|
||||
#14 CACHED
|
||||
|
||||
#15 [stage-1 4/6] COPY --from=build /app/.venv /app/.venv
|
||||
#15 CACHED
|
||||
|
||||
#16 [stage-1 5/6] COPY src ./src
|
||||
#16 DONE 0.0s
|
||||
|
||||
#17 [stage-1 6/6] COPY migrations ./migrations
|
||||
#17 DONE 0.0s
|
||||
|
||||
#18 exporting to image
|
||||
#18 exporting layers 0.0s done
|
||||
#18 exporting manifest sha256:62c665a067445aca735351c1e1975b7cf4b1dd4c8d09737605db0380a0b510c3 done
|
||||
#18 exporting config sha256:7f52416ad049b18c3eab983d6154a34eacd1697e165e5f9355fde825bee0895c done
|
||||
#18 exporting attestation manifest sha256:e792f00e29e67d9501ac73eea2b11cd31e2bd191720ad66812c044872ea401fd done
|
||||
#18 exporting manifest list sha256:b86715a3c1574317b326d4f70c092bd713596995353c5ebbbeb5d69a12f35633 done
|
||||
#18 naming to docker.io/library/mtusi-vasilev:lab5 done
|
||||
#18 unpacking to docker.io/library/mtusi-vasilev:lab5 0.0s done
|
||||
#18 DONE 0.1s
|
||||
|
||||
#19 resolving provenance for metadata file
|
||||
#19 DONE 0.0s
|
||||
Image mtusi-vasilev:lab5 Built
|
||||
@@ -0,0 +1,4 @@
|
||||
.venv/bin/python scripts/check_contract.py
|
||||
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
||||
.venv/bin/python scripts/validate_openapi.py
|
||||
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
|
||||
@@ -0,0 +1 @@
|
||||
PASS: backoff, reordered deliveries and both real cleanup/replay interleavings
|
||||
@@ -0,0 +1,114 @@
|
||||
{
|
||||
"scenarios": [
|
||||
{
|
||||
"name": "transient_retry_backoff_and_jitter",
|
||||
"attachment_id": "3c819120-fb7c-45cc-9679-10ba0cacc003",
|
||||
"attempts": 3,
|
||||
"observed_delays_seconds": [
|
||||
1.256841,
|
||||
2.218222
|
||||
],
|
||||
"audit": [
|
||||
{
|
||||
"event": "accepted",
|
||||
"attempt": 0,
|
||||
"created_at": "2026-11-06T15:24:22.695787+00:00"
|
||||
},
|
||||
{
|
||||
"event": "claimed",
|
||||
"attempt": 1,
|
||||
"created_at": "2026-11-06T15:24:25.424362+00:00"
|
||||
},
|
||||
{
|
||||
"event": "retry_scheduled",
|
||||
"attempt": 1,
|
||||
"created_at": "2026-11-06T15:24:25.427909+00:00"
|
||||
},
|
||||
{
|
||||
"event": "claimed",
|
||||
"attempt": 2,
|
||||
"created_at": "2026-11-06T15:24:26.68475+00:00"
|
||||
},
|
||||
{
|
||||
"event": "retry_scheduled",
|
||||
"attempt": 2,
|
||||
"created_at": "2026-11-06T15:24:26.686074+00:00"
|
||||
},
|
||||
{
|
||||
"event": "claimed",
|
||||
"attempt": 3,
|
||||
"created_at": "2026-11-06T15:24:28.904296+00:00"
|
||||
},
|
||||
{
|
||||
"event": "published",
|
||||
"attempt": 3,
|
||||
"created_at": "2026-11-06T15:24:29.140377+00:00"
|
||||
}
|
||||
],
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"name": "broker_reorder_v2_v1_v2_no_regression",
|
||||
"attachment_id": "3c819120-fb7c-45cc-9679-10ba0cacc003",
|
||||
"hashes": {
|
||||
"original": "99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75",
|
||||
"thumbnail": "b8e59b0cad429b1c49c27c4a1c79e52bfc23e2fab7c7238d18d5addd4df4b546",
|
||||
"crop": "fae35500205a78065cf7d589f121cc909b017e2a4cde882177e24f5608fb4c1f",
|
||||
"optimized": "0bb5b26524335872b2dfe977e2e364101870bfa4e223f4383ab00c34f6771735"
|
||||
},
|
||||
"publications": [
|
||||
{
|
||||
"pipeline_version": 1,
|
||||
"n": 1
|
||||
},
|
||||
{
|
||||
"pipeline_version": 2,
|
||||
"n": 1
|
||||
}
|
||||
],
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"name": "six_poison_deliveries_rejected_without_worker_crash",
|
||||
"attachment_id": "003a05f4-deb7-4253-b1d3-e3e678b64805",
|
||||
"worker_before": {
|
||||
"container_id": "de14445337ceb4b4e8df21155fc0c17a1546a04b891972bd8cdd53cdd7fe9e5c",
|
||||
"service": "worker",
|
||||
"restart_count": 0,
|
||||
"status": "running",
|
||||
"exit_code": 0,
|
||||
"started_at": "2026-11-06T15:24:24.553835426Z"
|
||||
},
|
||||
"worker_after": {
|
||||
"container_id": "de14445337ceb4b4e8df21155fc0c17a1546a04b891972bd8cdd53cdd7fe9e5c",
|
||||
"service": "worker",
|
||||
"restart_count": 0,
|
||||
"status": "running",
|
||||
"exit_code": 0,
|
||||
"started_at": "2026-11-06T15:24:24.553835426Z"
|
||||
},
|
||||
"safe_log_events": 6,
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"name": "eight_day_old_queued_metadata_never_expires_staging",
|
||||
"attachment_id": "0fa10c93-7835-4078-9c4c-22045a840609",
|
||||
"age_simulated_in_database": true,
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"name": "cleanup_paused_before_delete_blocks_concurrent_replay",
|
||||
"attachment_id": "66f6976c-1152-4b19-8274-ec25090d58c5",
|
||||
"while_locked_status": 503,
|
||||
"after_source_expiry_status": 409,
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"name": "replay_holds_lock_cleanup_cannot_delete_then_ready",
|
||||
"attachment_id": "c84c5f9b-007c-45c0-b0c1-be9700968c04",
|
||||
"cleanup_while_locked_status": 503,
|
||||
"passed": true
|
||||
}
|
||||
],
|
||||
"passed": true
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"actual_api_container_ids": [
|
||||
"729c793b10a01c019709df678dabd596cf9d9362a3811f54df233e9bbe25357c",
|
||||
"b24a5a2a95a3c64b68d8f861a6de046bcdcc41efcc589df180b4345e085abab3"
|
||||
],
|
||||
"covered_container_ids": [
|
||||
"729c793b10a01c019709df678dabd596cf9d9362a3811f54df233e9bbe25357c",
|
||||
"b24a5a2a95a3c64b68d8f861a6de046bcdcc41efcc589df180b4345e085abab3"
|
||||
],
|
||||
"attempts": [
|
||||
{
|
||||
"stopped": {
|
||||
"stopped_container": "b24a5a2a95a3c64b68d8f861a6de046bcdcc41efcc589df180b4345e085abab3",
|
||||
"instance_id": "e643457b-dc41-4725-858c-6ca632094981"
|
||||
},
|
||||
"summary": [
|
||||
{
|
||||
"observed_instances_before": 2,
|
||||
"successful_writes": 125,
|
||||
"failed_attempts": 3,
|
||||
"first_recovery_seconds": 2.231
|
||||
}
|
||||
],
|
||||
"stdout": "Executing explicit failover hook; hook output suppressed to avoid leaking secrets.\n{\"observed_instances_before\": 2, \"successful_writes\": 125, \"failed_attempts\": 3, \"first_recovery_seconds\": 2.231}\nPASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.\n"
|
||||
},
|
||||
{
|
||||
"stopped": {
|
||||
"stopped_container": "b24a5a2a95a3c64b68d8f861a6de046bcdcc41efcc589df180b4345e085abab3",
|
||||
"instance_id": "ed9ecde0-355e-419d-bdbd-691bac7c2b8c"
|
||||
},
|
||||
"summary": [
|
||||
{
|
||||
"observed_instances_before": 2,
|
||||
"successful_writes": 119,
|
||||
"failed_attempts": 3,
|
||||
"first_recovery_seconds": 0.81
|
||||
}
|
||||
],
|
||||
"stdout": "Executing explicit failover hook; hook output suppressed to avoid leaking secrets.\n{\"observed_instances_before\": 2, \"successful_writes\": 119, \"failed_attempts\": 3, \"first_recovery_seconds\": 0.81}\nPASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.\n"
|
||||
},
|
||||
{
|
||||
"stopped": {
|
||||
"stopped_container": "729c793b10a01c019709df678dabd596cf9d9362a3811f54df233e9bbe25357c",
|
||||
"instance_id": "c8c69b4d-dab6-4135-9cae-03cd1ba67264"
|
||||
},
|
||||
"summary": [
|
||||
{
|
||||
"observed_instances_before": 2,
|
||||
"successful_writes": 124,
|
||||
"failed_attempts": 4,
|
||||
"first_recovery_seconds": 1.549
|
||||
}
|
||||
],
|
||||
"stdout": "Executing explicit failover hook; hook output suppressed to avoid leaking secrets.\n{\"observed_instances_before\": 2, \"successful_writes\": 124, \"failed_attempts\": 4, \"first_recovery_seconds\": 1.549}\nPASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.\n"
|
||||
}
|
||||
],
|
||||
"passed": true
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"image_id": "sha256:0bc8d41c5d3b3e581946d7440e7cc0156b97edf8e114b70331d494ab5603613b",
|
||||
"source_sha256": {
|
||||
"__init__.py": "9a72a49106367ca514cc6147d0e727e62c4d33fefd61572d209a5c9494551a2c",
|
||||
"__main__.py": "ba9a59ad44ee8884cd65cf88d5ea15cbd7051b10f7c729043ddd44ca2f34defe",
|
||||
"app.py": "d280627620ad481354ebe86a3308ab44e16d39e1715ce7fa69085ff67b60105f",
|
||||
"attachments.py": "43013d5bd9ade4dac1dd832167061a352bda67afa5ee2cacf8da634fc3599ec0",
|
||||
"config.py": "e4d4aaf674ede8b5abdc361f77c7793ee94d8d7856030c28834eb7c95291b193",
|
||||
"domain.py": "33086cb229083ecee3bcee09f143b4bc09e48896a0c497bd9902e738e2e6b1af",
|
||||
"image_pipeline.py": "3dcca5590704f1f9e8eca71dc28097930eac62701cf479aa8b7e3c71ca9b3551",
|
||||
"jobctl.py": "41098fe1088960f6e62a3e3b6bd63e8b7f048b4561d82a994cf64574b939215d",
|
||||
"jobs.py": "b8ae69a3807532f3dd1ec71006034e4a2644f5c16a46a50107d371feb701c84f",
|
||||
"migrate.py": "eb5cad7ac6abe38dd40b2db307d298b297abe9543b3928c36bab8ef06283664e",
|
||||
"models.py": "c43769d2d4ba0369129a86bf80364a626ab91442f9b9020e6bc904e363a39665",
|
||||
"postgres.py": "3fa443fae1dd078a01bc3e7403297a4e76f3dd06ec884f3518f95a1f80ffaa52",
|
||||
"storage.py": "70b0fb157b285b674a7388a2bfe5c5a7feb8149a9266ac7ad035961d769008a5",
|
||||
"storage_bootstrap.py": "b29a2a1f8864ec3425a7499b1752688f69d8f402f3881957e790ed4522d35589",
|
||||
"worker.py": "c07b2bdb3e20c5574ffa521bc702f10819294ec6a041300650e492461af5bc78"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
PASS: accepted_202_worker_absent_api_broker_restart
|
||||
PASS: api_crash_after_commit_before_publish
|
||||
PASS: dispatcher_crash_after_broker_acceptance
|
||||
PASS: worker_crash_before_effect
|
||||
PASS: worker_crash_after_effect
|
||||
PASS: worker_crash_after_result_commit
|
||||
PASS: 20_concurrent_duplicate_deliveries
|
||||
PASS: queued_reprocess_version2_uses_staging
|
||||
PASS: stale_version1_after_version2_publish_rejected
|
||||
PASS: failed_replay_before_cleanup_preserves_source_and_results
|
||||
PASS: cleanup_before_replay_safe_refusal
|
||||
PASS: all real fault scenarios; report evidence/fault-study.json
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,413 @@
|
||||
{
|
||||
"lab": 5,
|
||||
"base_url": "http://127.0.0.1:8085",
|
||||
"tests": [
|
||||
{
|
||||
"case": "message rejects wrong types/extra {'text': None}",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0031
|
||||
},
|
||||
{
|
||||
"case": "message rejects wrong types/extra {'text': 123}",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0024
|
||||
},
|
||||
{
|
||||
"case": "message rejects wrong types/extra {'text': True}",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0031
|
||||
},
|
||||
{
|
||||
"case": "message rejects wrong types/extra {'text': []}",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.003
|
||||
},
|
||||
{
|
||||
"case": "message rejects wrong types/extra {'text': 'x', 'TEXT': 'y'}",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0032
|
||||
},
|
||||
{
|
||||
"case": "message rejects wrong types/extra {'Text': 'x'}",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0032
|
||||
},
|
||||
{
|
||||
"case": "message rejects wrong types/extra {'text': 'x', 'attachment_ids': None}",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.003
|
||||
},
|
||||
{
|
||||
"case": "message rejects wrong types/extra {'text': 'x', 'attachment_ids': {}}",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0027
|
||||
},
|
||||
{
|
||||
"case": "message rejects wrong types/extra {}",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0031
|
||||
},
|
||||
{
|
||||
"case": "invalid idempotency key ''",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0031
|
||||
},
|
||||
{
|
||||
"case": "invalid idempotency key 'contains space'",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0026
|
||||
},
|
||||
{
|
||||
"case": "invalid idempotency key 'xxxxxxxxxxxxxxxxxxxx'",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0022
|
||||
},
|
||||
{
|
||||
"case": "invalid idempotency key 'bad/key'",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0022
|
||||
},
|
||||
{
|
||||
"case": "missing idempotency key",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.003
|
||||
},
|
||||
{
|
||||
"case": "malformed UTF8/JSON b'{bad'",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0018
|
||||
},
|
||||
{
|
||||
"case": "malformed UTF8/JSON b'\\xff'",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0016
|
||||
},
|
||||
{
|
||||
"case": "malformed UTF8/JSON b'{\"text\":\"x\"}{}'",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0017
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats?limit=",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0026
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats?limit=0",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0021
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats?limit=101",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.002
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats?limit=abc",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0018
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats?limit=1&limit=2",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.002
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats?cursor=",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.002
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats?cursor=W10",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0018
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats?cursor=bnVsbA",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0019
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats/4885a289-1561-4e0a-9f4e-65a3e9e8a616/messages?limit=",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0019
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats/4885a289-1561-4e0a-9f4e-65a3e9e8a616/messages?limit=0",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0019
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats/4885a289-1561-4e0a-9f4e-65a3e9e8a616/messages?limit=101",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0019
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats/4885a289-1561-4e0a-9f4e-65a3e9e8a616/messages?limit=abc",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0019
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats/4885a289-1561-4e0a-9f4e-65a3e9e8a616/messages?limit=1&limit=2",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0018
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats/4885a289-1561-4e0a-9f4e-65a3e9e8a616/messages?cursor=",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0018
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats/4885a289-1561-4e0a-9f4e-65a3e9e8a616/messages?cursor=W10",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0019
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats/4885a289-1561-4e0a-9f4e-65a3e9e8a616/messages?cursor=bnVsbA",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0023
|
||||
},
|
||||
{
|
||||
"case": "typed cursor (2, None)",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0019
|
||||
},
|
||||
{
|
||||
"case": "typed cursor (2, 1)",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0018
|
||||
},
|
||||
{
|
||||
"case": "typed cursor (2, '2026-13-01T00:00:00Z')",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.002
|
||||
},
|
||||
{
|
||||
"case": "typed cursor (3, False)",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0019
|
||||
},
|
||||
{
|
||||
"case": "typed cursor (3, [])",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0016
|
||||
},
|
||||
{
|
||||
"case": "typed cursor (3, {})",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0015
|
||||
},
|
||||
{
|
||||
"case": "typed cursor (3, 'not-a-uuid')",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0023
|
||||
},
|
||||
{
|
||||
"case": "invalid UUID path",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0018
|
||||
},
|
||||
{
|
||||
"case": "member UUID []",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.002
|
||||
},
|
||||
{
|
||||
"case": "member UUID {}",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0022
|
||||
},
|
||||
{
|
||||
"case": "member UUID 123",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0022
|
||||
},
|
||||
{
|
||||
"case": "member UUID False",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0022
|
||||
},
|
||||
{
|
||||
"case": "unknown member400",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0038
|
||||
},
|
||||
{
|
||||
"case": "login rejects body b'{bad'",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0014
|
||||
},
|
||||
{
|
||||
"case": "login rejects body b'{}'",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0012
|
||||
},
|
||||
{
|
||||
"case": "login rejects body b'null'",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0012
|
||||
},
|
||||
{
|
||||
"case": "login rejects body b' '",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0011
|
||||
},
|
||||
{
|
||||
"case": "nonASCII Bearer401",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0017
|
||||
},
|
||||
{
|
||||
"case": "username trailing whitespace",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0017
|
||||
},
|
||||
{
|
||||
"case": "username trailing whitespace",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0019
|
||||
},
|
||||
{
|
||||
"case": "blank password400",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0014
|
||||
},
|
||||
{
|
||||
"case": "UTF8 colon128 password and NUL display name",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.172
|
||||
},
|
||||
{
|
||||
"case": "omitted attachment_ids equals [] and conflict",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.01
|
||||
},
|
||||
{
|
||||
"case": "32 concurrent same key all201 same message",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0507
|
||||
},
|
||||
{
|
||||
"case": "key scope user and chat",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0156
|
||||
},
|
||||
{
|
||||
"case": "outsider cannot send",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0029
|
||||
},
|
||||
{
|
||||
"case": "NUL message exact post replay history",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.009
|
||||
},
|
||||
{
|
||||
"case": "logout visible through all replicas",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.1771
|
||||
},
|
||||
{
|
||||
"case": "image rejects header only",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0032
|
||||
},
|
||||
{
|
||||
"case": "image rejects bad IDAT",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.003
|
||||
},
|
||||
{
|
||||
"case": "image rejects invalid filter",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0038
|
||||
},
|
||||
{
|
||||
"case": "image rejects empty JPEG scan",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0034
|
||||
},
|
||||
{
|
||||
"case": "image rejects MIME mismatch",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0037
|
||||
},
|
||||
{
|
||||
"case": "valid real JPEG accepted",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0241
|
||||
},
|
||||
{
|
||||
"case": "half JPEG entropy with EOI rejected",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.009
|
||||
},
|
||||
{
|
||||
"case": "JPEG SOS unknown component rejected",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0052
|
||||
},
|
||||
{
|
||||
"case": "PNG invalid palette257 rejected",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0037
|
||||
},
|
||||
{
|
||||
"case": "filename '../x.png'",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0036
|
||||
},
|
||||
{
|
||||
"case": "filename 'a\\\\b.png'",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0024
|
||||
},
|
||||
{
|
||||
"case": "filename 'a\\x00b.png'",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0024
|
||||
},
|
||||
{
|
||||
"case": "filename 'a\\x7fb.png'",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0026
|
||||
},
|
||||
{
|
||||
"case": "filename 'a\\x85b.png'",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0026
|
||||
},
|
||||
{
|
||||
"case": "filename ' '",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0025
|
||||
},
|
||||
{
|
||||
"case": "filename missing",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0026
|
||||
},
|
||||
{
|
||||
"case": "pixel bomb413",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0047
|
||||
},
|
||||
{
|
||||
"case": "too many bytes413",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0349
|
||||
},
|
||||
{
|
||||
"case": "attachment order ACL original checksum",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0766
|
||||
},
|
||||
{
|
||||
"case": "exact10MiB allowed through LB",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.1754
|
||||
}
|
||||
],
|
||||
"passed": 81,
|
||||
"failed": 0
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"stopped_container": "729c793b10a01c019709df678dabd596cf9d9362a3811f54df233e9bbe25357c", "instance_id": "c8c69b4d-dab6-4135-9cae-03cd1ba67264"}
|
||||
@@ -0,0 +1,35 @@
|
||||
Container mtusi-vasilev-lab5-api-1 Stopping
|
||||
Container mtusi-vasilev-lab5-api-2 Stopping
|
||||
Container mtusi-vasilev-lab5-api-1 Stopped
|
||||
Container mtusi-vasilev-lab5-api-2 Stopped
|
||||
Container mtusi-vasilev-lab5-postgres-1 Waiting
|
||||
Container mtusi-vasilev-lab5-storage-1 Waiting
|
||||
Container mtusi-vasilev-lab5-postgres-1 Healthy
|
||||
Container mtusi-vasilev-lab5-migrate-1 Starting
|
||||
Container mtusi-vasilev-lab5-storage-1 Healthy
|
||||
Container mtusi-vasilev-lab5-s3-bootstrap-1 Starting
|
||||
Container mtusi-vasilev-lab5-migrate-1 Started
|
||||
Container mtusi-vasilev-lab5-s3-bootstrap-1 Started
|
||||
Container mtusi-vasilev-lab5-migrate-1 Waiting
|
||||
Container mtusi-vasilev-lab5-cache-1 Waiting
|
||||
Container mtusi-vasilev-lab5-s3-bootstrap-1 Waiting
|
||||
Container mtusi-vasilev-lab5-cache-1 Healthy
|
||||
Container mtusi-vasilev-lab5-migrate-1 Exited
|
||||
Container mtusi-vasilev-lab5-s3-bootstrap-1 Exited
|
||||
Container mtusi-vasilev-lab5-api-2 Starting
|
||||
Container mtusi-vasilev-lab5-api-2 Started
|
||||
Container mtusi-vasilev-lab5-api-1 Starting
|
||||
Container mtusi-vasilev-lab5-api-1 Started
|
||||
{
|
||||
"status": 503,
|
||||
"body": {
|
||||
"error": {
|
||||
"code": "unavailable",
|
||||
"message": "No ready API",
|
||||
"request_id": "dc391a8c-fc99-48b5-804c-f395d64ba732"
|
||||
}
|
||||
},
|
||||
"request_id": "dc391a8c-fc99-48b5-804c-f395d64ba732",
|
||||
"instance_id": null,
|
||||
"recovered_existing_session": true
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"status": 503,
|
||||
"body": {
|
||||
"error": {
|
||||
"code": "unavailable",
|
||||
"message": "No ready API",
|
||||
"request_id": "dc391a8c-fc99-48b5-804c-f395d64ba732"
|
||||
}
|
||||
},
|
||||
"request_id": "dc391a8c-fc99-48b5-804c-f395d64ba732",
|
||||
"instance_id": null,
|
||||
"recovered_existing_session": true
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
All checks passed!
|
||||
26 files already formatted
|
||||
@@ -0,0 +1,2 @@
|
||||
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
|
||||
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
@@ -0,0 +1,250 @@
|
||||
{
|
||||
"before": [
|
||||
{
|
||||
"id": "b24a5a2a95a3c64b68d8f861a6de046bcdcc41efcc589df180b4345e085abab3",
|
||||
"service": "api",
|
||||
"started_at": "2026-11-06T15:20:42.762143108Z",
|
||||
"status": "running",
|
||||
"mounts": []
|
||||
},
|
||||
{
|
||||
"id": "729c793b10a01c019709df678dabd596cf9d9362a3811f54df233e9bbe25357c",
|
||||
"service": "api",
|
||||
"started_at": "2026-11-06T15:20:42.860872451Z",
|
||||
"status": "running",
|
||||
"mounts": []
|
||||
},
|
||||
{
|
||||
"id": "800399009f63f2c3d233a1fc1dd5fd49a9c9e207f9b03d3b0a8527ef160e763c",
|
||||
"service": "broker",
|
||||
"started_at": "2026-11-06T15:18:59.306587038Z",
|
||||
"status": "running",
|
||||
"mounts": [
|
||||
{
|
||||
"type": "volume",
|
||||
"name": "mtusi-vasilev-lab5_broker_data",
|
||||
"destination": "/data"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "c1cd6bf42993fb26434de167816886150fb67be679839142d686980c8ca3d154",
|
||||
"service": "cache",
|
||||
"started_at": "2026-11-06T15:14:27.386330338Z",
|
||||
"status": "running",
|
||||
"mounts": [
|
||||
{
|
||||
"type": "volume",
|
||||
"name": "c42fc60e30044c4418a82934b447dda8167e93d2088a913a954b2319ac3e2aa8",
|
||||
"destination": "/data"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "b4ce2641ade36c89cb677d623770b5a96dabfee276281d6b1d145359bc2ca2b0",
|
||||
"service": "dispatcher",
|
||||
"started_at": "2026-11-06T15:20:42.725918935Z",
|
||||
"status": "running",
|
||||
"mounts": []
|
||||
},
|
||||
{
|
||||
"id": "595b44c6a4b4bd010ceaa908d20e5599b3e4c9cf68d245638b51823b4b231def",
|
||||
"service": "lb",
|
||||
"started_at": "2026-11-06T15:14:37.431019995Z",
|
||||
"status": "running",
|
||||
"mounts": []
|
||||
},
|
||||
{
|
||||
"id": "e790e5271eab867697783a28cbb591e5288f6cb36c8ad3c139f8bdaa3fd07f98",
|
||||
"service": "migrate",
|
||||
"started_at": "2026-11-06T15:20:41.626256209Z",
|
||||
"status": "exited",
|
||||
"mounts": []
|
||||
},
|
||||
{
|
||||
"id": "6f66cf289071e115c3ff80ed2df6dd12bf3f4790f63432799f3e325206d922c9",
|
||||
"service": "postgres",
|
||||
"started_at": "2026-11-06T15:14:27.388300134Z",
|
||||
"status": "running",
|
||||
"mounts": [
|
||||
{
|
||||
"type": "volume",
|
||||
"name": "mtusi-vasilev-lab5_postgres_data",
|
||||
"destination": "/var/lib/postgresql/data"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "7db917df416297914473b8113d3d76b6c600f902629c9be06fc6794f8464cb69",
|
||||
"service": "s3",
|
||||
"started_at": "2026-11-06T15:14:29.997922851Z",
|
||||
"status": "running",
|
||||
"mounts": [
|
||||
{
|
||||
"type": "volume",
|
||||
"name": "834c130f2feea74229bdf67df7b510af34ea74d971af486b369b8a1ff08c5861",
|
||||
"destination": "/data"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "6ee7e07e025b75dc56d2dae4594d5daf7914e0eaaa59c046423f7db1f807cd81",
|
||||
"service": "s3-bootstrap",
|
||||
"started_at": "2026-11-06T15:20:41.625767458Z",
|
||||
"status": "exited",
|
||||
"mounts": []
|
||||
},
|
||||
{
|
||||
"id": "816d10505691f668d61a9c918d1b4804c0b908eb33439293de6d28a4af3ea912",
|
||||
"service": "storage",
|
||||
"started_at": "2026-11-06T15:14:27.387194267Z",
|
||||
"status": "running",
|
||||
"mounts": [
|
||||
{
|
||||
"type": "volume",
|
||||
"name": "mtusi-vasilev-lab5_s3_data",
|
||||
"destination": "/data"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "3d86b51e6e7c19710a0078cdf1155192e425a2e374c4cc9838b6e4bc557b2dfc",
|
||||
"service": "worker",
|
||||
"started_at": "2026-11-06T15:20:42.773658907Z",
|
||||
"status": "running",
|
||||
"mounts": []
|
||||
}
|
||||
],
|
||||
"after": [
|
||||
{
|
||||
"id": "b24a5a2a95a3c64b68d8f861a6de046bcdcc41efcc589df180b4345e085abab3",
|
||||
"service": "api",
|
||||
"started_at": "2026-11-06T15:20:51.74816132Z",
|
||||
"status": "running",
|
||||
"mounts": []
|
||||
},
|
||||
{
|
||||
"id": "729c793b10a01c019709df678dabd596cf9d9362a3811f54df233e9bbe25357c",
|
||||
"service": "api",
|
||||
"started_at": "2026-11-06T15:20:51.301040763Z",
|
||||
"status": "running",
|
||||
"mounts": []
|
||||
},
|
||||
{
|
||||
"id": "800399009f63f2c3d233a1fc1dd5fd49a9c9e207f9b03d3b0a8527ef160e763c",
|
||||
"service": "broker",
|
||||
"started_at": "2026-11-06T15:20:50.830331654Z",
|
||||
"status": "running",
|
||||
"mounts": [
|
||||
{
|
||||
"type": "volume",
|
||||
"name": "mtusi-vasilev-lab5_broker_data",
|
||||
"destination": "/data"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "c1cd6bf42993fb26434de167816886150fb67be679839142d686980c8ca3d154",
|
||||
"service": "cache",
|
||||
"started_at": "2026-11-06T15:20:50.79532288Z",
|
||||
"status": "running",
|
||||
"mounts": [
|
||||
{
|
||||
"type": "volume",
|
||||
"name": "c42fc60e30044c4418a82934b447dda8167e93d2088a913a954b2319ac3e2aa8",
|
||||
"destination": "/data"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "b4ce2641ade36c89cb677d623770b5a96dabfee276281d6b1d145359bc2ca2b0",
|
||||
"service": "dispatcher",
|
||||
"started_at": "2026-11-06T15:20:51.030565527Z",
|
||||
"status": "running",
|
||||
"mounts": []
|
||||
},
|
||||
{
|
||||
"id": "595b44c6a4b4bd010ceaa908d20e5599b3e4c9cf68d245638b51823b4b231def",
|
||||
"service": "lb",
|
||||
"started_at": "2026-11-06T15:20:50.707153082Z",
|
||||
"status": "running",
|
||||
"mounts": []
|
||||
},
|
||||
{
|
||||
"id": "e790e5271eab867697783a28cbb591e5288f6cb36c8ad3c139f8bdaa3fd07f98",
|
||||
"service": "migrate",
|
||||
"started_at": "2026-11-06T15:20:53.142982825Z",
|
||||
"status": "exited",
|
||||
"mounts": []
|
||||
},
|
||||
{
|
||||
"id": "6f66cf289071e115c3ff80ed2df6dd12bf3f4790f63432799f3e325206d922c9",
|
||||
"service": "postgres",
|
||||
"started_at": "2026-11-06T15:20:50.649897979Z",
|
||||
"status": "running",
|
||||
"mounts": [
|
||||
{
|
||||
"type": "volume",
|
||||
"name": "mtusi-vasilev-lab5_postgres_data",
|
||||
"destination": "/var/lib/postgresql/data"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "7db917df416297914473b8113d3d76b6c600f902629c9be06fc6794f8464cb69",
|
||||
"service": "s3",
|
||||
"started_at": "2026-11-06T15:20:50.80089192Z",
|
||||
"status": "running",
|
||||
"mounts": [
|
||||
{
|
||||
"type": "volume",
|
||||
"name": "834c130f2feea74229bdf67df7b510af34ea74d971af486b369b8a1ff08c5861",
|
||||
"destination": "/data"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "6ee7e07e025b75dc56d2dae4594d5daf7914e0eaaa59c046423f7db1f807cd81",
|
||||
"service": "s3-bootstrap",
|
||||
"started_at": "2026-11-06T15:20:53.143413289Z",
|
||||
"status": "exited",
|
||||
"mounts": []
|
||||
},
|
||||
{
|
||||
"id": "816d10505691f668d61a9c918d1b4804c0b908eb33439293de6d28a4af3ea912",
|
||||
"service": "storage",
|
||||
"started_at": "2026-11-06T15:20:50.661030684Z",
|
||||
"status": "running",
|
||||
"mounts": [
|
||||
{
|
||||
"type": "volume",
|
||||
"name": "mtusi-vasilev-lab5_s3_data",
|
||||
"destination": "/data"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "3d86b51e6e7c19710a0078cdf1155192e425a2e374c4cc9838b6e4bc557b2dfc",
|
||||
"service": "worker",
|
||||
"started_at": "2026-11-06T15:20:51.529707828Z",
|
||||
"status": "running",
|
||||
"mounts": []
|
||||
}
|
||||
],
|
||||
"restarted_services": [
|
||||
"api",
|
||||
"api",
|
||||
"broker",
|
||||
"cache",
|
||||
"dispatcher",
|
||||
"lb",
|
||||
"migrate",
|
||||
"postgres",
|
||||
"s3",
|
||||
"s3-bootstrap",
|
||||
"storage",
|
||||
"worker"
|
||||
],
|
||||
"volumes_unchanged": true,
|
||||
"passed": true
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"cases": [
|
||||
{
|
||||
"mode": "RGB",
|
||||
"pixels": 40000000,
|
||||
"size_bytes": 126351,
|
||||
"attachment_id": "179489ef-46ba-4535-97c1-4a9a6b21a744",
|
||||
"seconds_to_ready": 1.8,
|
||||
"status": "ready"
|
||||
},
|
||||
{
|
||||
"mode": "RGBA",
|
||||
"pixels": 40000000,
|
||||
"size_bytes": 167472,
|
||||
"attachment_id": "5cb068f4-9df0-4ea4-b21d-e9539ef58d2c",
|
||||
"seconds_to_ready": 1.98,
|
||||
"status": "ready"
|
||||
}
|
||||
],
|
||||
"worker_memory_limit": 939524096,
|
||||
"worker_oom_killed": false,
|
||||
"passed": true,
|
||||
"limits": "Child RLIMIT_AS=700MiB, RLIMIT_CPU=15s, wall timeout=20s; this is not a peak RSS measurement."
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"cases": [
|
||||
{
|
||||
"mode": "RGB",
|
||||
"pixels": 40000000,
|
||||
"size_bytes": 126351,
|
||||
"attachment_id": "179489ef-46ba-4535-97c1-4a9a6b21a744",
|
||||
"seconds_to_ready": 1.8,
|
||||
"status": "ready"
|
||||
},
|
||||
{
|
||||
"mode": "RGBA",
|
||||
"pixels": 40000000,
|
||||
"size_bytes": 167472,
|
||||
"attachment_id": "5cb068f4-9df0-4ea4-b21d-e9539ef58d2c",
|
||||
"seconds_to_ready": 1.98,
|
||||
"status": "ready"
|
||||
}
|
||||
],
|
||||
"worker_memory_limit": 939524096,
|
||||
"worker_oom_killed": false,
|
||||
"passed": true,
|
||||
"limits": "Child RLIMIT_AS=700MiB, RLIMIT_CPU=15s, wall timeout=20s; this is not a peak RSS measurement."
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"runtime_container_id": "4961615b0453633520b59c21a2916e5d469d7d04ed02061e9c01eb93a89ba939",
|
||||
"runtime_source_sha256": {
|
||||
"__init__.py": "9a72a49106367ca514cc6147d0e727e62c4d33fefd61572d209a5c9494551a2c",
|
||||
"__main__.py": "ba9a59ad44ee8884cd65cf88d5ea15cbd7051b10f7c729043ddd44ca2f34defe",
|
||||
"app.py": "d280627620ad481354ebe86a3308ab44e16d39e1715ce7fa69085ff67b60105f",
|
||||
"attachments.py": "43013d5bd9ade4dac1dd832167061a352bda67afa5ee2cacf8da634fc3599ec0",
|
||||
"config.py": "e4d4aaf674ede8b5abdc361f77c7793ee94d8d7856030c28834eb7c95291b193",
|
||||
"domain.py": "7bf6f177ab5bdeea09b303dc886160335d348f64f47912b9bba45355db378bef",
|
||||
"image_pipeline.py": "3dcca5590704f1f9e8eca71dc28097930eac62701cf479aa8b7e3c71ca9b3551",
|
||||
"jobctl.py": "41098fe1088960f6e62a3e3b6bd63e8b7f048b4561d82a994cf64574b939215d",
|
||||
"jobs.py": "b8ae69a3807532f3dd1ec71006034e4a2644f5c16a46a50107d371feb701c84f",
|
||||
"migrate.py": "eb5cad7ac6abe38dd40b2db307d298b297abe9543b3928c36bab8ef06283664e",
|
||||
"models.py": "c43769d2d4ba0369129a86bf80364a626ab91442f9b9020e6bc904e363a39665",
|
||||
"postgres.py": "3fa443fae1dd078a01bc3e7403297a4e76f3dd06ec884f3518f95a1f80ffaa52",
|
||||
"storage.py": "70b0fb157b285b674a7388a2bfe5c5a7feb8149a9266ac7ad035961d769008a5",
|
||||
"storage_bootstrap.py": "b29a2a1f8864ec3425a7499b1752688f69d8f402f3881957e790ed4522d35589",
|
||||
"worker.py": "c07b2bdb3e20c5574ffa521bc702f10819294ec6a041300650e492461af5bc78"
|
||||
},
|
||||
"fault_image_id": "sha256:0bc8d41c5d3b3e581946d7440e7cc0156b97edf8e114b70331d494ab5603613b",
|
||||
"changed_after_fault_image": [
|
||||
"domain.py"
|
||||
],
|
||||
"pipeline_modules_identical": true,
|
||||
"explanation": "Only shared cursor parsing was tightened after fault tests; complete final HTTP suite checks it. All pipeline/outbox/storage modules are byte-identical.",
|
||||
"passed": true
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
python3 tests/smoke.py --base-url "http://127.0.0.1:8085"
|
||||
PASS: lab5 public API scenario; infrastructure and grading evidence remain separate.
|
||||
@@ -0,0 +1 @@
|
||||
PASS: full restart and failover of both physical API replicas
|
||||
@@ -0,0 +1,78 @@
|
||||
Container mtusi-vasilev-lab5-cache-1 Running
|
||||
Container mtusi-vasilev-lab5-broker-1 Running
|
||||
Container mtusi-vasilev-lab5-storage-1 Running
|
||||
Container mtusi-vasilev-lab5-s3-1 Running
|
||||
Container mtusi-vasilev-lab5-lb-1 Running
|
||||
Container mtusi-vasilev-lab5-postgres-1 Running
|
||||
Container mtusi-vasilev-lab5-migrate-1 Recreate
|
||||
Container mtusi-vasilev-lab5-s3-bootstrap-1 Recreate
|
||||
Container mtusi-vasilev-lab5-migrate-1 Recreated
|
||||
Container mtusi-vasilev-lab5-dispatcher-1 Recreate
|
||||
Container mtusi-vasilev-lab5-s3-bootstrap-1 Recreated
|
||||
Container mtusi-vasilev-lab5-worker-1 Recreate
|
||||
Container mtusi-vasilev-lab5-api-1 Recreate
|
||||
Container mtusi-vasilev-lab5-api-2 Recreate
|
||||
Container mtusi-vasilev-lab5-dispatcher-1 Recreated
|
||||
Container mtusi-vasilev-lab5-api-1 Recreated
|
||||
Container mtusi-vasilev-lab5-worker-1 Recreated
|
||||
Container mtusi-vasilev-lab5-api-2 Recreated
|
||||
Container mtusi-vasilev-lab5-postgres-1 Waiting
|
||||
Container mtusi-vasilev-lab5-storage-1 Waiting
|
||||
Container mtusi-vasilev-lab5-storage-1 Healthy
|
||||
Container mtusi-vasilev-lab5-postgres-1 Healthy
|
||||
Container mtusi-vasilev-lab5-s3-bootstrap-1 Starting
|
||||
Container mtusi-vasilev-lab5-migrate-1 Starting
|
||||
Container mtusi-vasilev-lab5-s3-bootstrap-1 Started
|
||||
Container mtusi-vasilev-lab5-migrate-1 Started
|
||||
Container mtusi-vasilev-lab5-migrate-1 Waiting
|
||||
Container mtusi-vasilev-lab5-broker-1 Waiting
|
||||
Container mtusi-vasilev-lab5-migrate-1 Waiting
|
||||
Container mtusi-vasilev-lab5-broker-1 Waiting
|
||||
Container mtusi-vasilev-lab5-s3-bootstrap-1 Waiting
|
||||
Container mtusi-vasilev-lab5-s3-bootstrap-1 Waiting
|
||||
Container mtusi-vasilev-lab5-migrate-1 Waiting
|
||||
Container mtusi-vasilev-lab5-cache-1 Waiting
|
||||
Container mtusi-vasilev-lab5-cache-1 Healthy
|
||||
Container mtusi-vasilev-lab5-broker-1 Healthy
|
||||
Container mtusi-vasilev-lab5-broker-1 Healthy
|
||||
Container mtusi-vasilev-lab5-migrate-1 Exited
|
||||
Container mtusi-vasilev-lab5-migrate-1 Exited
|
||||
Container mtusi-vasilev-lab5-dispatcher-1 Starting
|
||||
Container mtusi-vasilev-lab5-migrate-1 Exited
|
||||
Container mtusi-vasilev-lab5-dispatcher-1 Started
|
||||
Container mtusi-vasilev-lab5-s3-bootstrap-1 Exited
|
||||
Container mtusi-vasilev-lab5-s3-bootstrap-1 Exited
|
||||
Container mtusi-vasilev-lab5-worker-1 Starting
|
||||
Container mtusi-vasilev-lab5-api-1 Starting
|
||||
Container mtusi-vasilev-lab5-worker-1 Started
|
||||
Container mtusi-vasilev-lab5-api-1 Started
|
||||
Container mtusi-vasilev-lab5-api-2 Starting
|
||||
Container mtusi-vasilev-lab5-api-2 Started
|
||||
Container mtusi-vasilev-lab5-api-1 Waiting
|
||||
Container mtusi-vasilev-lab5-api-2 Waiting
|
||||
Container mtusi-vasilev-lab5-api-1 Healthy
|
||||
Container mtusi-vasilev-lab5-api-2 Healthy
|
||||
Container mtusi-vasilev-lab5-broker-1 Waiting
|
||||
Container mtusi-vasilev-lab5-migrate-1 Waiting
|
||||
Container mtusi-vasilev-lab5-postgres-1 Waiting
|
||||
Container mtusi-vasilev-lab5-worker-1 Waiting
|
||||
Container mtusi-vasilev-lab5-storage-1 Waiting
|
||||
Container mtusi-vasilev-lab5-s3-bootstrap-1 Waiting
|
||||
Container mtusi-vasilev-lab5-dispatcher-1 Waiting
|
||||
Container mtusi-vasilev-lab5-s3-1 Waiting
|
||||
Container mtusi-vasilev-lab5-lb-1 Waiting
|
||||
Container mtusi-vasilev-lab5-cache-1 Waiting
|
||||
Container mtusi-vasilev-lab5-api-1 Waiting
|
||||
Container mtusi-vasilev-lab5-api-2 Waiting
|
||||
Container mtusi-vasilev-lab5-postgres-1 Healthy
|
||||
Container mtusi-vasilev-lab5-dispatcher-1 Healthy
|
||||
Container mtusi-vasilev-lab5-s3-bootstrap-1 Exited
|
||||
Container mtusi-vasilev-lab5-lb-1 Healthy
|
||||
Container mtusi-vasilev-lab5-broker-1 Healthy
|
||||
Container mtusi-vasilev-lab5-worker-1 Healthy
|
||||
Container mtusi-vasilev-lab5-s3-1 Healthy
|
||||
Container mtusi-vasilev-lab5-storage-1 Healthy
|
||||
Container mtusi-vasilev-lab5-migrate-1 Exited
|
||||
Container mtusi-vasilev-lab5-cache-1 Healthy
|
||||
Container mtusi-vasilev-lab5-api-1 Healthy
|
||||
Container mtusi-vasilev-lab5-api-2 Healthy
|
||||
@@ -0,0 +1,3 @@
|
||||
........................................................................ [ 54%]
|
||||
............................................................. [100%]
|
||||
133 passed in 35.94s
|
||||
Reference in New Issue
Block a user