Cloning into '/Users/ssmayorova/Documents/Учеба/Высоконагруженные приложения/lab5/build/lab5-clean-7668fd68/repo'... done. Local configuration ready; no secrets printed. Image mtusi-messenger:lab5 Building #1 [internal] load local bake definitions #1 reading from stdin 721B done #1 DONE 0.0s #2 [internal] load build definition from Dockerfile #2 transferring dockerfile: 739B done #2 DONE 0.0s #3 [internal] load metadata for docker.io/library/python:3.12.8-slim-bookworm@sha256:2199a62885a12290dc9c5be3ca0681d367576ab7bf037da120e564723292a2f0 #3 DONE 1.1s #4 [internal] load .dockerignore #4 transferring context: 203B done #4 DONE 0.0s #5 [internal] load build context #5 transferring context: 73.48kB done #5 DONE 0.0s #6 [1/7] FROM docker.io/library/python:3.12.8-slim-bookworm@sha256:2199a62885a12290dc9c5be3ca0681d367576ab7bf037da120e564723292a2f0 #6 resolve docker.io/library/python:3.12.8-slim-bookworm@sha256:2199a62885a12290dc9c5be3ca0681d367576ab7bf037da120e564723292a2f0 done #6 DONE 0.0s #7 [3/7] RUN groupadd --gid 10001 app && useradd --uid 10001 --gid app --no-create-home app #7 CACHED #8 [4/7] COPY requirements.txt ./ #8 CACHED #9 [5/7] RUN pip install --no-cache-dir -r requirements.txt #9 CACHED #10 [6/7] COPY src/ ./src/ #10 CACHED #11 [2/7] WORKDIR /app #11 CACHED #12 [7/7] COPY migrations/ ./migrations/ #12 CACHED #13 resolving provenance for metadata file #13 DONE 0.0s #14 exporting to image #14 exporting layers done #14 exporting manifest sha256:e06ce20ee092cb4997cdd7c8020b9659af43ac04b1b2dcbed69ea0ce95100049 done #14 exporting config sha256:6b11dd9f29f79206ad928a7577a62cc834ad7502c3231f032e29534c803d81b3 done #14 exporting attestation manifest sha256:861ed44d72400f7f11a9e27680aa5ff785a038924413c6784a4976384aabc2b5 done #14 exporting manifest list sha256:8dd5aba56cbd0954c950d890bda5b57986bd0fd89535e5d140387bacbb97e65d done #14 naming to docker.io/library/mtusi-messenger:lab5 done #14 unpacking to docker.io/library/mtusi-messenger:lab5 done #14 DONE 0.0s Image mtusi-messenger:lab5 Built Network lab5-clean-7668fd68_storage Creating Network lab5-clean-7668fd68_storage Created Network lab5-clean-7668fd68_edge Creating Network lab5-clean-7668fd68_edge Created Network lab5-clean-7668fd68_backend Creating Network lab5-clean-7668fd68_backend Created Volume lab5-clean-7668fd68_broker_data Creating Volume lab5-clean-7668fd68_broker_data Created Volume lab5-clean-7668fd68_postgres_data Creating Volume lab5-clean-7668fd68_postgres_data Created Volume lab5-clean-7668fd68_s3_data Creating Volume lab5-clean-7668fd68_s3_data Created Container lab5-clean-7668fd68-postgres-1 Creating Container lab5-clean-7668fd68-redis-1 Creating Container lab5-clean-7668fd68-broker-1 Creating Container lab5-clean-7668fd68-s3-store-1 Creating Container lab5-clean-7668fd68-broker-1 Created Container lab5-clean-7668fd68-postgres-1 Created Container lab5-clean-7668fd68-migrate-1 Creating Container lab5-clean-7668fd68-redis-1 Created Container lab5-clean-7668fd68-s3-store-1 Created Container lab5-clean-7668fd68-s3-1 Creating Container lab5-clean-7668fd68-migrate-1 Created Container lab5-clean-7668fd68-dispatcher-1 Creating Container lab5-clean-7668fd68-s3-1 Created Container lab5-clean-7668fd68-bucket-bootstrap-1 Creating Container lab5-clean-7668fd68-dispatcher-1 Created Container lab5-clean-7668fd68-bucket-bootstrap-1 Created Container lab5-clean-7668fd68-worker-1 Creating Container lab5-clean-7668fd68-api-2 Creating Container lab5-clean-7668fd68-api-1 Creating Container lab5-clean-7668fd68-api-1 Created Container lab5-clean-7668fd68-api-2 Created Container lab5-clean-7668fd68-worker-1 Created Container lab5-clean-7668fd68-lb-1 Creating Container lab5-clean-7668fd68-lb-1 Created Container lab5-clean-7668fd68-postgres-1 Starting Container lab5-clean-7668fd68-s3-store-1 Starting Container lab5-clean-7668fd68-broker-1 Starting Container lab5-clean-7668fd68-redis-1 Starting Container lab5-clean-7668fd68-redis-1 Started Container lab5-clean-7668fd68-broker-1 Started Container lab5-clean-7668fd68-postgres-1 Started Container lab5-clean-7668fd68-postgres-1 Waiting Container lab5-clean-7668fd68-s3-store-1 Started Container lab5-clean-7668fd68-s3-store-1 Waiting Container lab5-clean-7668fd68-postgres-1 Healthy Container lab5-clean-7668fd68-migrate-1 Starting Container lab5-clean-7668fd68-migrate-1 Started Container lab5-clean-7668fd68-broker-1 Waiting Container lab5-clean-7668fd68-migrate-1 Waiting Container lab5-clean-7668fd68-broker-1 Healthy Container lab5-clean-7668fd68-migrate-1 Exited Container lab5-clean-7668fd68-dispatcher-1 Starting Container lab5-clean-7668fd68-dispatcher-1 Started Container lab5-clean-7668fd68-s3-store-1 Healthy Container lab5-clean-7668fd68-s3-1 Starting Container lab5-clean-7668fd68-s3-1 Started Container lab5-clean-7668fd68-s3-1 Waiting Container lab5-clean-7668fd68-s3-1 Healthy Container lab5-clean-7668fd68-bucket-bootstrap-1 Starting Container lab5-clean-7668fd68-bucket-bootstrap-1 Started Container lab5-clean-7668fd68-migrate-1 Waiting Container lab5-clean-7668fd68-bucket-bootstrap-1 Waiting Container lab5-clean-7668fd68-broker-1 Waiting Container lab5-clean-7668fd68-bucket-bootstrap-1 Waiting Container lab5-clean-7668fd68-migrate-1 Waiting Container lab5-clean-7668fd68-redis-1 Waiting Container lab5-clean-7668fd68-bucket-bootstrap-1 Exited Container lab5-clean-7668fd68-redis-1 Healthy Container lab5-clean-7668fd68-bucket-bootstrap-1 Exited Container lab5-clean-7668fd68-migrate-1 Exited Container lab5-clean-7668fd68-api-2 Starting Container lab5-clean-7668fd68-migrate-1 Exited Container lab5-clean-7668fd68-broker-1 Healthy Container lab5-clean-7668fd68-worker-1 Starting Container lab5-clean-7668fd68-worker-1 Started Container lab5-clean-7668fd68-api-2 Started Container lab5-clean-7668fd68-api-1 Starting Container lab5-clean-7668fd68-api-1 Started Container lab5-clean-7668fd68-api-2 Waiting Container lab5-clean-7668fd68-api-1 Waiting Container lab5-clean-7668fd68-api-2 Healthy Container lab5-clean-7668fd68-api-1 Healthy Container lab5-clean-7668fd68-lb-1 Starting Container lab5-clean-7668fd68-lb-1 Started Container lab5-clean-7668fd68-lb-1 Waiting Container lab5-clean-7668fd68-dispatcher-1 Waiting Container lab5-clean-7668fd68-redis-1 Waiting Container lab5-clean-7668fd68-broker-1 Waiting Container lab5-clean-7668fd68-postgres-1 Waiting Container lab5-clean-7668fd68-api-2 Waiting Container lab5-clean-7668fd68-api-1 Waiting Container lab5-clean-7668fd68-bucket-bootstrap-1 Waiting Container lab5-clean-7668fd68-worker-1 Waiting Container lab5-clean-7668fd68-s3-store-1 Waiting Container lab5-clean-7668fd68-migrate-1 Waiting Container lab5-clean-7668fd68-s3-1 Waiting Container lab5-clean-7668fd68-broker-1 Healthy Container lab5-clean-7668fd68-s3-1 Healthy Container lab5-clean-7668fd68-bucket-bootstrap-1 Exited Container lab5-clean-7668fd68-dispatcher-1 Healthy Container lab5-clean-7668fd68-migrate-1 Exited Container lab5-clean-7668fd68-api-2 Healthy Container lab5-clean-7668fd68-api-1 Healthy Container lab5-clean-7668fd68-redis-1 Healthy Container lab5-clean-7668fd68-postgres-1 Healthy Container lab5-clean-7668fd68-s3-store-1 Healthy Container lab5-clean-7668fd68-worker-1 Healthy Container lab5-clean-7668fd68-lb-1 Healthy Ready through load balancer. python3 scripts/check_contract.py PASS: offline skeleton structure, local refs and Python syntax; application NOT tested. python3 tests/smoke.py --base-url "http://127.0.0.1:18092" PASS: lab5 public API scenario; infrastructure and grading evidence remain separate. BASE_URL="http://127.0.0.1:18092" python3 -m unittest discover -s student-tests -p 'test_*.py' -v test_concurrent_messages_and_pagination (test_api.APIContract) ... ok test_cursor_scope_and_validation (test_api.APIContract) ... ok test_foreign_chat (test_api.APIContract) ... ok test_idempotency_concurrent_replicas (test_api.APIContract) ... ok test_idempotency_conflicting_race (test_api.APIContract) ... ok test_idempotency_invalid_keys (test_api.APIContract) ... ok test_idempotency_scope (test_api.APIContract) ... ok test_idempotency_semantic_body (test_api.APIContract) ... ok test_invalid_chat_creation (test_api.APIContract) ... ok test_malformed_json_and_extra_fields (test_api.APIContract) ... ok test_protocol_error_headers (test_api.APIContract) ... ok test_registration_race (test_api.APIContract) ... ok test_unicode_limits (test_api.APIContract) ... ok test_unicode_nul_round_trip (test_api.APIContract) ... ok test_unicode_password_basic_and_logout (test_api.APIContract) ... ok test_async_variants_and_replay (test_images.Images) ... ok test_mime_bytes_pixels_and_filename (test_images.Images) ... ok test_private_and_cross_chat (test_images.Images) ... ok ---------------------------------------------------------------------- Ran 18 tests in 5.131s OK Container lab5-clean-7668fd68-worker-1 Stopping Container lab5-clean-7668fd68-dispatcher-1 Stopping Container lab5-clean-7668fd68-dispatcher-1 Stopped Container lab5-clean-7668fd68-worker-1 Stopped Container lab5-clean-7668fd68-api-2 Starting Container lab5-clean-7668fd68-api-2 Started Container lab5-clean-7668fd68-api-1 Starting Container lab5-clean-7668fd68-api-1 Started Container lab5-clean-7668fd68-api-2 Waiting Container lab5-clean-7668fd68-api-1 Waiting Container lab5-clean-7668fd68-api-2 Healthy Container lab5-clean-7668fd68-api-1 Healthy Container lab5-clean-7668fd68-dispatcher-1 Starting Container lab5-clean-7668fd68-dispatcher-1 Started Container lab5-clean-7668fd68-dispatcher-1 Stopping Container lab5-clean-7668fd68-dispatcher-1 Stopped Container lab5-clean-7668fd68-broker-1 Restarting Container lab5-clean-7668fd68-broker-1 Started Container lab5-clean-7668fd68-broker-1 Running Container lab5-clean-7668fd68-broker-1 Waiting Container lab5-clean-7668fd68-broker-1 Healthy Container lab5-clean-7668fd68-dispatcher-1 Starting Container lab5-clean-7668fd68-worker-1 Starting Container lab5-clean-7668fd68-dispatcher-1 Started Container lab5-clean-7668fd68-worker-1 Started Container lab5-clean-7668fd68-worker-1 Running Container lab5-clean-7668fd68-dispatcher-1 Running { "killed_api_containers": [ "c6bf17afaf48a316d3bd139d819ef527551f14f3677ef898c0a2c8c4698d5d11", "6384b285c9055f141caa6f03f2e5cfd69e1d3a4f65a3db4b9af949b03215ca56" ], "stream_entries_before_after_broker_restart": [ 1, 1 ], "attachment_id": "c087ac91-80ee-4954-a2c1-4c7f01787cd4", "original_sha256": "99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75", "status": "ready", "variants": [ "thumbnail", "crop", "optimized" ], "old_bearer_survived": true, "message_attachment_retained": true, "before": [ { "container": "c6bf17afaf48a316d3bd139d819ef527551f14f3677ef898c0a2c8c4698d5d11", "name": "/lab5-clean-7668fd68-api-1", "service": "api", "image": "mtusi-messenger:lab5", "user": "10001:10001", "running": true, "started_at": "2026-10-27T15:14:34.797245354Z", "exit_code": 0, "oom_killed": false, "memory_limit": 268435456, "nano_cpus": 1000000000, "ports": { "8080/tcp": null }, "mounts": [ { "type": "bind", "destination": "/run/secrets/s3_api_key", "name": null }, { "type": "bind", "destination": "/run/secrets/s3_api_secret", "name": null }, { "type": "bind", "destination": "/run/secrets/database_url", "name": null }, { "type": "bind", "destination": "/run/secrets/cache_url", "name": null } ] }, { "container": "6384b285c9055f141caa6f03f2e5cfd69e1d3a4f65a3db4b9af949b03215ca56", "name": "/lab5-clean-7668fd68-api-2", "service": "api", "image": "mtusi-messenger:lab5", "user": "10001:10001", "running": true, "started_at": "2026-10-27T15:14:34.73913582Z", "exit_code": 0, "oom_killed": false, "memory_limit": 268435456, "nano_cpus": 1000000000, "ports": { "8080/tcp": null }, "mounts": [ { "type": "bind", "destination": "/run/secrets/s3_api_key", "name": null }, { "type": "bind", "destination": "/run/secrets/s3_api_secret", "name": null }, { "type": "bind", "destination": "/run/secrets/database_url", "name": null }, { "type": "bind", "destination": "/run/secrets/cache_url", "name": null } ] }, { "container": "5567835c3bab8e2f4b997cb67968c2155a0922fe19240cd60c73e5e090b2760a", "name": "/lab5-clean-7668fd68-broker-1", "service": "broker", "image": "redis:7.4.1-bookworm@sha256:bb142a9c18ac18a16713c1491d779697b4e107c22a97266616099d288237ef47", "user": "", "running": true, "started_at": "2026-10-27T15:14:26.927126872Z", "exit_code": 0, "oom_killed": false, "memory_limit": 201326592, "nano_cpus": 500000000, "ports": { "6379/tcp": null }, "mounts": [ { "type": "volume", "destination": "/data", "name": "lab5-clean-7668fd68_broker_data" } ] }, { "container": "65eed1838fce2bcb378be8d14628313d7c14fead8280bb63d211015767a70cd5", "name": "/lab5-clean-7668fd68-bucket-bootstrap-1", "service": "bucket-bootstrap", "image": "mtusi-messenger:lab5", "user": "10001:10001", "running": false, "started_at": "2026-10-27T15:14:34.154321143Z", "exit_code": 0, "oom_killed": false, "memory_limit": 268435456, "nano_cpus": 1000000000, "ports": {}, "mounts": [ { "type": "bind", "destination": "/run/secrets/s3_admin_key", "name": null }, { "type": "bind", "destination": "/run/secrets/s3_admin_secret", "name": null } ] }, { "container": "c506b79db3e60b71e314e78e4abda0256838675bb9e9daba579efbb5b8f2e744", "name": "/lab5-clean-7668fd68-dispatcher-1", "service": "dispatcher", "image": "mtusi-messenger:lab5", "user": "10001:10001", "running": true, "started_at": "2026-10-27T15:14:30.132057402Z", "exit_code": 0, "oom_killed": false, "memory_limit": 268435456, "nano_cpus": 1000000000, "ports": { "8080/tcp": null }, "mounts": [ { "type": "bind", "destination": "/run/secrets/database_url", "name": null }, { "type": "bind", "destination": "/run/secrets/broker_url", "name": null } ] }, { "container": "791d5c6b17a6fbf020c38648a40d7c0fc0ae2db9cedd11aecb85b604da9fc6c6", "name": "/lab5-clean-7668fd68-lb-1", "service": "lb", "image": "haproxy:3.0.5-alpine@sha256:43a2591a6a62a41dd22edb4452880e9c70de489fbd7c54ffb52d035cccbfe949", "user": "haproxy", "running": true, "started_at": "2026-10-27T15:14:40.374957025Z", "exit_code": 0, "oom_killed": false, "memory_limit": 67108864, "nano_cpus": 500000000, "ports": { "8080/tcp": [ { "HostIp": "127.0.0.1", "HostPort": "18092" } ] }, "mounts": [ { "type": "bind", "destination": "/usr/local/etc/haproxy/haproxy.cfg", "name": null } ] }, { "container": "7378d8f662313d4f5475dc6b6be1f82e9e60736564a5d94c4e939a75ea87d9f4", "name": "/lab5-clean-7668fd68-migrate-1", "service": "migrate", "image": "mtusi-messenger:lab5", "user": "10001:10001", "running": false, "started_at": "2026-10-27T15:14:29.547624841Z", "exit_code": 0, "oom_killed": false, "memory_limit": 268435456, "nano_cpus": 1000000000, "ports": {}, "mounts": [ { "type": "bind", "destination": "/run/secrets/s3_api_secret", "name": null }, { "type": "bind", "destination": "/run/secrets/database_url", "name": null }, { "type": "bind", "destination": "/run/secrets/cache_url", "name": null }, { "type": "bind", "destination": "/run/secrets/s3_api_key", "name": null } ] }, { "container": "12dd22014a45a0658b2fa3c5117723c471c2f0c438a245e381fd7904eee04080", "name": "/lab5-clean-7668fd68-postgres-1", "service": "postgres", "image": "postgres:17.2-bookworm@sha256:3267c505060a0052e5aa6e5175a7b41ab6b04da2f8c4540fc6e98a37210aa2d3", "user": "", "running": true, "started_at": "2026-10-27T15:14:26.926579904Z", "exit_code": 0, "oom_killed": false, "memory_limit": 536870912, "nano_cpus": 1000000000, "ports": { "5432/tcp": null }, "mounts": [ { "type": "bind", "destination": "/run/secrets/postgres_password", "name": null }, { "type": "volume", "destination": "/var/lib/postgresql/data", "name": "lab5-clean-7668fd68_postgres_data" } ] }, { "container": "e5bcddc6ef40108e9af7bce37e209ea1524097dab06b232bf9126a0e0d41e303", "name": "/lab5-clean-7668fd68-redis-1", "service": "redis", "image": "redis:7.4.1-bookworm@sha256:bb142a9c18ac18a16713c1491d779697b4e107c22a97266616099d288237ef47", "user": "", "running": true, "started_at": "2026-10-27T15:14:26.926291214Z", "exit_code": 0, "oom_killed": false, "memory_limit": 67108864, "nano_cpus": 250000000, "ports": { "6379/tcp": null }, "mounts": [ { "type": "volume", "destination": "/data", "name": "310d1b7f9d4700a40971a9d27e5c49bfc7f3d818af445ccf985fc3ca5bab4a5b" } ] }, { "container": "35e9daaeef21c5bfc0cfa46bfe9054b23236c1ad76e62bab70b8602d44e82c00", "name": "/lab5-clean-7668fd68-s3-1", "service": "s3", "image": "chrislusf/seaweedfs:4.51@sha256:f7a49e3f3972ebed5be2ed4befa4a0c68eb7bdddba6e692d42729ceb545134b8", "user": "", "running": true, "started_at": "2026-10-27T15:14:31.546652936Z", "exit_code": 0, "oom_killed": false, "memory_limit": 536870912, "nano_cpus": 500000000, "ports": { "18080/tcp": null, "18888/tcp": null, "19333/tcp": null, "7333/tcp": null, "8080/tcp": null, "8333/tcp": null, "8888/tcp": null, "9333/tcp": null }, "mounts": [ { "type": "bind", "destination": "/run/secrets/s3_config", "name": null }, { "type": "volume", "destination": "/data", "name": "a9677d401ea04710c1220e23073bd3d05c5f6955399379842d5357a3f6d8a5c4" } ] }, { "container": "0847dd77bc06ba2fe81753689f8f46ff09b0dd1a6851d8109762c9552bb10f98", "name": "/lab5-clean-7668fd68-s3-store-1", "service": "s3-store", "image": "chrislusf/seaweedfs:4.51@sha256:f7a49e3f3972ebed5be2ed4befa4a0c68eb7bdddba6e692d42729ceb545134b8", "user": "", "running": true, "started_at": "2026-10-27T15:14:26.925042463Z", "exit_code": 0, "oom_killed": false, "memory_limit": 536870912, "nano_cpus": 1000000000, "ports": { "18080/tcp": null, "18888/tcp": null, "19333/tcp": null, "7333/tcp": null, "8080/tcp": null, "8333/tcp": null, "8888/tcp": null, "9333/tcp": null }, "mounts": [ { "type": "volume", "destination": "/data", "name": "lab5-clean-7668fd68_s3_data" } ] }, { "container": "e3343c9d17d09d716d03066cbac7bc24030fa1061164c7efc75eda9413954c0b", "name": "/lab5-clean-7668fd68-worker-1", "service": "worker", "image": "mtusi-messenger:lab5", "user": "10001:10001", "running": true, "started_at": "2026-10-27T15:14:34.738831925Z", "exit_code": 0, "oom_killed": false, "memory_limit": 805306368, "nano_cpus": 1000000000, "ports": { "8080/tcp": null }, "mounts": [ { "type": "bind", "destination": "/run/secrets/database_url", "name": null }, { "type": "bind", "destination": "/run/secrets/broker_url", "name": null }, { "type": "bind", "destination": "/run/secrets/s3_worker_key", "name": null }, { "type": "bind", "destination": "/run/secrets/s3_worker_secret", "name": null } ] } ], "after": [ { "container": "c6bf17afaf48a316d3bd139d819ef527551f14f3677ef898c0a2c8c4698d5d11", "name": "/lab5-clean-7668fd68-api-1", "service": "api", "image": "mtusi-messenger:lab5", "user": "10001:10001", "running": true, "started_at": "2026-10-27T15:14:50.908562499Z", "exit_code": 0, "oom_killed": false, "memory_limit": 268435456, "nano_cpus": 1000000000, "ports": { "8080/tcp": null }, "mounts": [ { "type": "bind", "destination": "/run/secrets/s3_api_key", "name": null }, { "type": "bind", "destination": "/run/secrets/s3_api_secret", "name": null }, { "type": "bind", "destination": "/run/secrets/database_url", "name": null }, { "type": "bind", "destination": "/run/secrets/cache_url", "name": null } ] }, { "container": "6384b285c9055f141caa6f03f2e5cfd69e1d3a4f65a3db4b9af949b03215ca56", "name": "/lab5-clean-7668fd68-api-2", "service": "api", "image": "mtusi-messenger:lab5", "user": "10001:10001", "running": true, "started_at": "2026-10-27T15:14:50.859526761Z", "exit_code": 0, "oom_killed": false, "memory_limit": 268435456, "nano_cpus": 1000000000, "ports": { "8080/tcp": null }, "mounts": [ { "type": "bind", "destination": "/run/secrets/s3_api_key", "name": null }, { "type": "bind", "destination": "/run/secrets/s3_api_secret", "name": null }, { "type": "bind", "destination": "/run/secrets/database_url", "name": null }, { "type": "bind", "destination": "/run/secrets/cache_url", "name": null } ] }, { "container": "5567835c3bab8e2f4b997cb67968c2155a0922fe19240cd60c73e5e090b2760a", "name": "/lab5-clean-7668fd68-broker-1", "service": "broker", "image": "redis:7.4.1-bookworm@sha256:bb142a9c18ac18a16713c1491d779697b4e107c22a97266616099d288237ef47", "user": "", "running": true, "started_at": "2026-10-27T15:14:59.65492626Z", "exit_code": 0, "oom_killed": false, "memory_limit": 201326592, "nano_cpus": 500000000, "ports": { "6379/tcp": null }, "mounts": [ { "type": "volume", "destination": "/data", "name": "lab5-clean-7668fd68_broker_data" } ] }, { "container": "65eed1838fce2bcb378be8d14628313d7c14fead8280bb63d211015767a70cd5", "name": "/lab5-clean-7668fd68-bucket-bootstrap-1", "service": "bucket-bootstrap", "image": "mtusi-messenger:lab5", "user": "10001:10001", "running": false, "started_at": "2026-10-27T15:14:34.154321143Z", "exit_code": 0, "oom_killed": false, "memory_limit": 268435456, "nano_cpus": 1000000000, "ports": {}, "mounts": [ { "type": "bind", "destination": "/run/secrets/s3_admin_key", "name": null }, { "type": "bind", "destination": "/run/secrets/s3_admin_secret", "name": null } ] }, { "container": "c506b79db3e60b71e314e78e4abda0256838675bb9e9daba579efbb5b8f2e744", "name": "/lab5-clean-7668fd68-dispatcher-1", "service": "dispatcher", "image": "mtusi-messenger:lab5", "user": "10001:10001", "running": true, "started_at": "2026-10-27T15:15:02.066887519Z", "exit_code": 0, "oom_killed": false, "memory_limit": 268435456, "nano_cpus": 1000000000, "ports": { "8080/tcp": null }, "mounts": [ { "type": "bind", "destination": "/run/secrets/database_url", "name": null }, { "type": "bind", "destination": "/run/secrets/broker_url", "name": null } ] }, { "container": "791d5c6b17a6fbf020c38648a40d7c0fc0ae2db9cedd11aecb85b604da9fc6c6", "name": "/lab5-clean-7668fd68-lb-1", "service": "lb", "image": "haproxy:3.0.5-alpine@sha256:43a2591a6a62a41dd22edb4452880e9c70de489fbd7c54ffb52d035cccbfe949", "user": "haproxy", "running": true, "started_at": "2026-10-27T15:14:40.374957025Z", "exit_code": 0, "oom_killed": false, "memory_limit": 67108864, "nano_cpus": 500000000, "ports": { "8080/tcp": [ { "HostIp": "127.0.0.1", "HostPort": "18092" } ] }, "mounts": [ { "type": "bind", "destination": "/usr/local/etc/haproxy/haproxy.cfg", "name": null } ] }, { "container": "7378d8f662313d4f5475dc6b6be1f82e9e60736564a5d94c4e939a75ea87d9f4", "name": "/lab5-clean-7668fd68-migrate-1", "service": "migrate", "image": "mtusi-messenger:lab5", "user": "10001:10001", "running": false, "started_at": "2026-10-27T15:14:29.547624841Z", "exit_code": 0, "oom_killed": false, "memory_limit": 268435456, "nano_cpus": 1000000000, "ports": {}, "mounts": [ { "type": "bind", "destination": "/run/secrets/s3_api_key", "name": null }, { "type": "bind", "destination": "/run/secrets/s3_api_secret", "name": null }, { "type": "bind", "destination": "/run/secrets/database_url", "name": null }, { "type": "bind", "destination": "/run/secrets/cache_url", "name": null } ] }, { "container": "12dd22014a45a0658b2fa3c5117723c471c2f0c438a245e381fd7904eee04080", "name": "/lab5-clean-7668fd68-postgres-1", "service": "postgres", "image": "postgres:17.2-bookworm@sha256:3267c505060a0052e5aa6e5175a7b41ab6b04da2f8c4540fc6e98a37210aa2d3", "user": "", "running": true, "started_at": "2026-10-27T15:14:26.926579904Z", "exit_code": 0, "oom_killed": false, "memory_limit": 536870912, "nano_cpus": 1000000000, "ports": { "5432/tcp": null }, "mounts": [ { "type": "volume", "destination": "/var/lib/postgresql/data", "name": "lab5-clean-7668fd68_postgres_data" }, { "type": "bind", "destination": "/run/secrets/postgres_password", "name": null } ] }, { "container": "e5bcddc6ef40108e9af7bce37e209ea1524097dab06b232bf9126a0e0d41e303", "name": "/lab5-clean-7668fd68-redis-1", "service": "redis", "image": "redis:7.4.1-bookworm@sha256:bb142a9c18ac18a16713c1491d779697b4e107c22a97266616099d288237ef47", "user": "", "running": true, "started_at": "2026-10-27T15:14:26.926291214Z", "exit_code": 0, "oom_killed": false, "memory_limit": 67108864, "nano_cpus": 250000000, "ports": { "6379/tcp": null }, "mounts": [ { "type": "volume", "destination": "/data", "name": "310d1b7f9d4700a40971a9d27e5c49bfc7f3d818af445ccf985fc3ca5bab4a5b" } ] }, { "container": "35e9daaeef21c5bfc0cfa46bfe9054b23236c1ad76e62bab70b8602d44e82c00", "name": "/lab5-clean-7668fd68-s3-1", "service": "s3", "image": "chrislusf/seaweedfs:4.51@sha256:f7a49e3f3972ebed5be2ed4befa4a0c68eb7bdddba6e692d42729ceb545134b8", "user": "", "running": true, "started_at": "2026-10-27T15:14:31.546652936Z", "exit_code": 0, "oom_killed": false, "memory_limit": 536870912, "nano_cpus": 500000000, "ports": { "18080/tcp": null, "18888/tcp": null, "19333/tcp": null, "7333/tcp": null, "8080/tcp": null, "8333/tcp": null, "8888/tcp": null, "9333/tcp": null }, "mounts": [ { "type": "bind", "destination": "/run/secrets/s3_config", "name": null }, { "type": "volume", "destination": "/data", "name": "a9677d401ea04710c1220e23073bd3d05c5f6955399379842d5357a3f6d8a5c4" } ] }, { "container": "0847dd77bc06ba2fe81753689f8f46ff09b0dd1a6851d8109762c9552bb10f98", "name": "/lab5-clean-7668fd68-s3-store-1", "service": "s3-store", "image": "chrislusf/seaweedfs:4.51@sha256:f7a49e3f3972ebed5be2ed4befa4a0c68eb7bdddba6e692d42729ceb545134b8", "user": "", "running": true, "started_at": "2026-10-27T15:14:26.925042463Z", "exit_code": 0, "oom_killed": false, "memory_limit": 536870912, "nano_cpus": 1000000000, "ports": { "18080/tcp": null, "18888/tcp": null, "19333/tcp": null, "7333/tcp": null, "8080/tcp": null, "8333/tcp": null, "8888/tcp": null, "9333/tcp": null }, "mounts": [ { "type": "volume", "destination": "/data", "name": "lab5-clean-7668fd68_s3_data" } ] }, { "container": "e3343c9d17d09d716d03066cbac7bc24030fa1061164c7efc75eda9413954c0b", "name": "/lab5-clean-7668fd68-worker-1", "service": "worker", "image": "mtusi-messenger:lab5", "user": "10001:10001", "running": true, "started_at": "2026-10-27T15:15:02.065936755Z", "exit_code": 0, "oom_killed": false, "memory_limit": 805306368, "nano_cpus": 1000000000, "ports": { "8080/tcp": null }, "mounts": [ { "type": "bind", "destination": "/run/secrets/database_url", "name": null }, { "type": "bind", "destination": "/run/secrets/broker_url", "name": null }, { "type": "bind", "destination": "/run/secrets/s3_worker_key", "name": null }, { "type": "bind", "destination": "/run/secrets/s3_worker_secret", "name": null } ] } ] } python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://127.0.0.1:18092" Executing explicit persistence hook; hook output suppressed to avoid leaking secrets. PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence. Container lab5-clean-7668fd68-worker-1 Stopping Container lab5-clean-7668fd68-dispatcher-1 Stopping Container lab5-clean-7668fd68-lb-1 Stopping Container lab5-clean-7668fd68-dispatcher-1 Stopped Container lab5-clean-7668fd68-dispatcher-1 Removing Container lab5-clean-7668fd68-dispatcher-1 Removed Container lab5-clean-7668fd68-lb-1 Stopped Container lab5-clean-7668fd68-lb-1 Removing Container lab5-clean-7668fd68-lb-1 Removed Container lab5-clean-7668fd68-api-1 Stopping Container lab5-clean-7668fd68-api-2 Stopping Container lab5-clean-7668fd68-api-2 Stopped Container lab5-clean-7668fd68-api-2 Removing Container lab5-clean-7668fd68-api-2 Removed Container lab5-clean-7668fd68-api-1 Stopped Container lab5-clean-7668fd68-api-1 Removing Container lab5-clean-7668fd68-worker-1 Stopped Container lab5-clean-7668fd68-worker-1 Removing Container lab5-clean-7668fd68-api-1 Removed Container lab5-clean-7668fd68-redis-1 Stopping Container lab5-clean-7668fd68-worker-1 Removed Container lab5-clean-7668fd68-broker-1 Stopping Container lab5-clean-7668fd68-bucket-bootstrap-1 Stopping Container lab5-clean-7668fd68-migrate-1 Stopping Container lab5-clean-7668fd68-bucket-bootstrap-1 Stopped Container lab5-clean-7668fd68-bucket-bootstrap-1 Removing Container lab5-clean-7668fd68-migrate-1 Stopped Container lab5-clean-7668fd68-migrate-1 Removing Container lab5-clean-7668fd68-bucket-bootstrap-1 Removed Container lab5-clean-7668fd68-s3-1 Stopping Container lab5-clean-7668fd68-migrate-1 Removed Container lab5-clean-7668fd68-postgres-1 Stopping Container lab5-clean-7668fd68-postgres-1 Stopped Container lab5-clean-7668fd68-postgres-1 Removing Container lab5-clean-7668fd68-postgres-1 Removed Container lab5-clean-7668fd68-s3-1 Stopped Container lab5-clean-7668fd68-s3-1 Removing Container lab5-clean-7668fd68-s3-1 Removed Container lab5-clean-7668fd68-s3-store-1 Stopping Container lab5-clean-7668fd68-redis-1 Stopped Container lab5-clean-7668fd68-redis-1 Removing Container lab5-clean-7668fd68-redis-1 Removed Container lab5-clean-7668fd68-broker-1 Stopped Container lab5-clean-7668fd68-broker-1 Removing Container lab5-clean-7668fd68-broker-1 Removed Container lab5-clean-7668fd68-s3-store-1 Stopped Container lab5-clean-7668fd68-s3-store-1 Removing Container lab5-clean-7668fd68-s3-store-1 Removed Volume lab5-clean-7668fd68_broker_data Removing Volume lab5-clean-7668fd68_s3_data Removing Volume lab5-clean-7668fd68_postgres_data Removing Network lab5-clean-7668fd68_edge Removing Network lab5-clean-7668fd68_storage Removing Network lab5-clean-7668fd68_backend Removing Volume lab5-clean-7668fd68_broker_data Removed Volume lab5-clean-7668fd68_postgres_data Removed Volume lab5-clean-7668fd68_s3_data Removed Network lab5-clean-7668fd68_storage Removed Network lab5-clean-7668fd68_edge Removed Network lab5-clean-7668fd68_backend Removed PASS: clean clone, new secrets, empty PostgreSQL/S3/broker volumes; 18 own tests, API SIGKILL and broker restart with queued work; full persistence.