forked from mtusi2026/mtusi2026lab3
412 lines
22 KiB
Plaintext
412 lines
22 KiB
Plaintext
Command: ./scripts/check-docker.sh; project: lab3-check-2418557caa
|
|
Docker: 29.0.1 aarch64 CPUs=10 RAM=8217448448
|
|
Local .env and secrets are ready; values are not printed
|
|
#1 [internal] load local bake definitions
|
|
#1 reading from stdin 1.05kB done
|
|
#1 DONE 0.0s
|
|
|
|
#2 [migrate internal] load build definition from Dockerfile
|
|
#2 transferring dockerfile: 733B done
|
|
#2 DONE 0.0s
|
|
|
|
#3 [migrate internal] load metadata for docker.io/library/python:3.11.15-slim-bookworm@sha256:d29f48a31a8b408ed19272ca1e7b10ebae13b240a27e862d3d4217c528e2e0c3
|
|
#3 DONE 0.0s
|
|
|
|
#4 [migrate internal] load .dockerignore
|
|
#4 transferring context: 167B done
|
|
#4 DONE 0.0s
|
|
|
|
#5 [api internal] load build context
|
|
#5 transferring context: 809B done
|
|
#5 DONE 0.0s
|
|
|
|
#6 [api 1/8] FROM docker.io/library/python:3.11.15-slim-bookworm@sha256:d29f48a31a8b408ed19272ca1e7b10ebae13b240a27e862d3d4217c528e2e0c3
|
|
#6 resolve docker.io/library/python:3.11.15-slim-bookworm@sha256:d29f48a31a8b408ed19272ca1e7b10ebae13b240a27e862d3d4217c528e2e0c3 0.0s done
|
|
#6 DONE 0.0s
|
|
|
|
#7 [api 6/8] COPY src/ ./src/
|
|
#7 CACHED
|
|
|
|
#8 [api 3/8] COPY requirements.txt .
|
|
#8 CACHED
|
|
|
|
#9 [api 7/8] COPY migrations/ ./migrations/
|
|
#9 CACHED
|
|
|
|
#10 [api 4/8] RUN python -m pip install --no-cache-dir -r requirements.txt && python -m pip check
|
|
#10 CACHED
|
|
|
|
#11 [api 2/8] WORKDIR /app
|
|
#11 CACHED
|
|
|
|
#12 [api 5/8] RUN groupadd --gid 10001 app && useradd --uid 10001 --gid app --no-create-home app
|
|
#12 CACHED
|
|
|
|
#13 [api 8/8] COPY research/ ./research/
|
|
#13 CACHED
|
|
|
|
#14 [api] exporting to image
|
|
#14 exporting layers done
|
|
#14 exporting manifest sha256:f5b0ba5ed30baa51240061b64983bd1e0be184515995717d9d42c0f303b28386 0.0s done
|
|
#14 exporting config sha256:ba8834f54a12be5f335a7d34fccbeb70b0c1b7f1535c33e1a8bf0510bedb4d72 done
|
|
#14 exporting attestation manifest sha256:fc530f9da54cb9b04d0e2eb260225df8d61746a14f47eca74e1035ba073c23a6 0.0s done
|
|
#14 exporting manifest list sha256:2af1c545ac849373a709167b3fda775bb89e3be8b0efd868844ed36ca154b1e6 done
|
|
#14 naming to docker.io/library/mtusi-messenger:lab3
|
|
#14 naming to docker.io/library/mtusi-messenger:lab3 done
|
|
#14 unpacking to docker.io/library/mtusi-messenger:lab3 done
|
|
#14 DONE 0.1s
|
|
|
|
#15 [migrate] exporting to image
|
|
#15 exporting layers done
|
|
#15 exporting manifest sha256:b9475efa88de4b71344df73089a66ddd577d05384dce92c62b755b04f74934cc 0.0s done
|
|
#15 exporting config sha256:18b572ee6ee932396009b6354f40403917b55bd3d69920671450baff5304f07f done
|
|
#15 exporting attestation manifest sha256:a9debc4af71e6876f412c529b350ec078d267c239bd643e509597224309139ed 0.0s done
|
|
#15 exporting manifest list sha256:5d4b6704cc0e11813a73dc8a21d040fd1fa0a7155e40e221bd7ff35297bd729f done
|
|
#15 naming to docker.io/library/mtusi-messenger:lab3 done
|
|
#15 unpacking to docker.io/library/mtusi-messenger:lab3 done
|
|
#15 DONE 0.1s
|
|
|
|
#16 [migrate] resolving provenance for metadata file
|
|
#16 DONE 0.0s
|
|
|
|
#17 [api] resolving provenance for metadata file
|
|
#17 DONE 0.0s
|
|
mtusi-messenger:lab3 Built
|
|
mtusi-messenger:lab3 Built
|
|
Network lab3-check-2418557caa_default Creating
|
|
Network lab3-check-2418557caa_default Created
|
|
Volume lab3-check-2418557caa_postgres_data Creating
|
|
Volume lab3-check-2418557caa_postgres_data Created
|
|
Volume lab3-check-2418557caa_valkey_data Creating
|
|
Volume lab3-check-2418557caa_valkey_data Created
|
|
Container lab3-check-2418557caa-valkey-1 Creating
|
|
Container lab3-check-2418557caa-postgres-1 Creating
|
|
Container lab3-check-2418557caa-valkey-1 Created
|
|
Container lab3-check-2418557caa-postgres-1 Created
|
|
Container lab3-check-2418557caa-migrate-1 Creating
|
|
Container lab3-check-2418557caa-migrate-1 Created
|
|
Container lab3-check-2418557caa-api-2 Creating
|
|
Container lab3-check-2418557caa-api-1 Creating
|
|
Container lab3-check-2418557caa-api-2 Created
|
|
Container lab3-check-2418557caa-api-1 Created
|
|
Container lab3-check-2418557caa-lb-1 Creating
|
|
Container lab3-check-2418557caa-lb-1 Created
|
|
Container lab3-check-2418557caa-valkey-1 Starting
|
|
Container lab3-check-2418557caa-postgres-1 Starting
|
|
Container lab3-check-2418557caa-postgres-1 Started
|
|
Container lab3-check-2418557caa-postgres-1 Waiting
|
|
Container lab3-check-2418557caa-valkey-1 Started
|
|
Container lab3-check-2418557caa-postgres-1 Healthy
|
|
Container lab3-check-2418557caa-migrate-1 Starting
|
|
Container lab3-check-2418557caa-migrate-1 Started
|
|
Container lab3-check-2418557caa-valkey-1 Waiting
|
|
Container lab3-check-2418557caa-migrate-1 Waiting
|
|
Container lab3-check-2418557caa-postgres-1 Waiting
|
|
Container lab3-check-2418557caa-valkey-1 Healthy
|
|
Container lab3-check-2418557caa-postgres-1 Healthy
|
|
Container lab3-check-2418557caa-migrate-1 Exited
|
|
Container lab3-check-2418557caa-api-1 Starting
|
|
Container lab3-check-2418557caa-api-1 Started
|
|
Container lab3-check-2418557caa-api-2 Starting
|
|
Container lab3-check-2418557caa-api-2 Started
|
|
Container lab3-check-2418557caa-api-1 Waiting
|
|
Container lab3-check-2418557caa-api-2 Waiting
|
|
Container lab3-check-2418557caa-api-1 Healthy
|
|
Container lab3-check-2418557caa-api-2 Healthy
|
|
Container lab3-check-2418557caa-lb-1 Starting
|
|
Container lab3-check-2418557caa-lb-1 Started
|
|
API ready through LB: 8e14050120c6, 998bd7b19b89
|
|
PASS: 2 real API containers, CPU/RAM limits, API non-root and no public ports; only LB published
|
|
Проверяем сервер: http://127.0.0.1:64150
|
|
/Users/vanek/Desktop/VNPlabs/VNPlab3/mtusi2026lab3/.venv/bin/python scripts/check_contract.py
|
|
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
|
/Users/vanek/Desktop/VNPlabs/VNPlab3/mtusi2026lab3/.venv/bin/python tests/smoke.py --base-url "http://127.0.0.1:64150"
|
|
PASS: lab3 public API scenario; infrastructure and grading evidence remain separate.
|
|
test_chat_access (test_api.ApiTests.test_chat_access) ... ok
|
|
test_chat_pagination_and_cursor_owner (test_api.ApiTests.test_chat_pagination_and_cursor_owner) ... ok
|
|
test_cursor_cannot_be_used_for_another_chat_or_changed (test_api.ApiTests.test_cursor_cannot_be_used_for_another_chat_or_changed) ... ok
|
|
test_default_page_size (test_api.ApiTests.test_default_page_size) ... ok
|
|
test_duplicate_username (test_api.ApiTests.test_duplicate_username) ... ok
|
|
test_framework_errors_and_request_ids (test_api.ApiTests.test_framework_errors_and_request_ids) ... ok
|
|
test_identification_and_authentication_order (test_api.ApiTests.test_identification_and_authentication_order) ... ok
|
|
test_invalid_chat_members (test_api.ApiTests.test_invalid_chat_members) ... ok
|
|
test_invalid_chat_title (test_api.ApiTests.test_invalid_chat_title) ... ok
|
|
test_invalid_limits_and_cursors (test_api.ApiTests.test_invalid_limits_and_cursors) ... ok
|
|
test_invalid_message_fields (test_api.ApiTests.test_invalid_message_fields) ... ok
|
|
test_invalid_user_fields (test_api.ApiTests.test_invalid_user_fields) ... ok
|
|
test_malformed_json_and_encoding (test_api.ApiTests.test_malformed_json_and_encoding) ... ok
|
|
test_message_pagination_and_changing_limit (test_api.ApiTests.test_message_pagination_and_changing_limit) ... ok
|
|
test_unicode_and_text_preservation (test_api.ApiTests.test_unicode_and_text_preservation) ... ok
|
|
test_wrong_content_type (test_api.ApiTests.test_wrong_content_type) ... ok
|
|
test_simultaneous_registration_of_one_username (test_concurrency.ConcurrencyTests.test_simultaneous_registration_of_one_username) ... ok
|
|
test_ten_clients_send_one_hundred_messages (test_concurrency.ConcurrencyTests.test_ten_clients_send_one_hundred_messages) ... ok
|
|
test_conflict_and_semantic_json_replay (test_idempotency.IdempotencyTests.test_conflict_and_semantic_json_replay) ... ok
|
|
test_key_format_and_missing_key (test_idempotency.IdempotencyTests.test_key_format_and_missing_key) ... ok
|
|
test_parallel_replay_across_replicas (test_idempotency.IdempotencyTests.test_parallel_replay_across_replicas) ... ok
|
|
test_replay_rechecks_session_and_access (test_idempotency.IdempotencyTests.test_replay_rechecks_session_and_access) ... ok
|
|
test_scope_is_user_and_chat (test_idempotency.IdempotencyTests.test_scope_is_user_and_chat) ... ok
|
|
test_logout_revokes_only_one_session (test_sessions.SessionTests.test_logout_revokes_only_one_session) ... ok
|
|
test_password_validation (test_sessions.SessionTests.test_password_validation) ... ok
|
|
test_sql_like_message_is_plain_text (test_sessions.SessionTests.test_sql_like_message_is_plain_text) ... ok
|
|
test_unicode_password_with_colon_and_private_response (test_sessions.SessionTests.test_unicode_password_with_colon_and_private_response) ... ok
|
|
test_wrong_password_and_basic_only_for_login (test_sessions.SessionTests.test_wrong_password_and_basic_only_for_login) ... ok
|
|
|
|
----------------------------------------------------------------------
|
|
Ran 28 tests in 6.931s
|
|
|
|
OK
|
|
PASS: 10 clients sent 100 messages; history contains exactly 100 unique messages.
|
|
Container lab3-check-2418557caa-postgres-1 Running
|
|
Container lab3-check-2418557caa-postgres-1 Running
|
|
PASS: migrations only in one-shot service; repeated execution preserves data
|
|
Container lab3-check-2418557caa-postgres-1 Paused
|
|
Container lab3-check-2418557caa-postgres-1 Unpaused
|
|
API ready through LB: 8e14050120c6, 998bd7b19b89
|
|
Container lab3-check-2418557caa-postgres-1 Paused
|
|
Container lab3-check-2418557caa-postgres-1 Unpaused
|
|
API ready through LB: 8e14050120c6, 998bd7b19b89
|
|
PASS: PostgreSQL pause: {"history_status": 503, "history_seconds": 2.008, "error_code": "unavailable", "api_instance": "8e14050120c6", "same_session_and_message_after_unpause": true, "active_query": {"status": 503, "code": "unavailable", "seconds": 2.002, "connection_closed": true}, "read_write_after_recovery": true}
|
|
/Users/vanek/Desktop/VNPlabs/VNPlab3/mtusi2026lab3/.venv/bin/python tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://127.0.0.1:64150"
|
|
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
|
|
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|
|
PASS: both API, LB, PostgreSQL, Valkey actually restarted; session and confirmed data preserved
|
|
PASS: SIGTERM with unfinished request: {"instance": "8e14050120c6", "unfinished_request": true, "shutdown_seconds": 5.454, "new_connections_refused_seconds": 0.161, "exit_code": 0, "oom_killed": false}
|
|
Container lab3-check-2418557caa-postgres-1 Waiting
|
|
Container lab3-check-2418557caa-postgres-1 Healthy
|
|
Container lab3-check-2418557caa-migrate-1 Starting
|
|
Container lab3-check-2418557caa-migrate-1 Started
|
|
Container lab3-check-2418557caa-migrate-1 Waiting
|
|
Container lab3-check-2418557caa-postgres-1 Waiting
|
|
Container lab3-check-2418557caa-valkey-1 Waiting
|
|
Container lab3-check-2418557caa-postgres-1 Healthy
|
|
Container lab3-check-2418557caa-valkey-1 Healthy
|
|
Container lab3-check-2418557caa-migrate-1 Exited
|
|
Container lab3-check-2418557caa-api-1 Starting
|
|
Container lab3-check-2418557caa-api-1 Started
|
|
API ready through LB: 8e14050120c6, 998bd7b19b89
|
|
Container lab3-check-2418557caa-valkey-1 Stopping
|
|
Container lab3-check-2418557caa-valkey-1 Stopped
|
|
PASS: valkey outage: API live=200, ready=503, LB ready=503
|
|
Container lab3-check-2418557caa-valkey-1 Starting
|
|
Container lab3-check-2418557caa-valkey-1 Started
|
|
API ready through LB: 8e14050120c6, 998bd7b19b89
|
|
Container lab3-check-2418557caa-postgres-1 Stopping
|
|
Container lab3-check-2418557caa-postgres-1 Stopped
|
|
PASS: postgres outage: API live=200, ready=503, LB ready=503
|
|
Container lab3-check-2418557caa-postgres-1 Starting
|
|
Container lab3-check-2418557caa-postgres-1 Started
|
|
API ready through LB: 8e14050120c6, 998bd7b19b89
|
|
/Users/vanek/Desktop/VNPlabs/VNPlab3/mtusi2026lab3/.venv/bin/python tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "http://127.0.0.1:64150"
|
|
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
|
|
{"observed_instances_before": 2, "successful_writes": 112, "failed_attempts": 1, "first_recovery_seconds": 2.459}
|
|
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
|
|
Container lab3-check-2418557caa-postgres-1 Waiting
|
|
Container lab3-check-2418557caa-postgres-1 Healthy
|
|
Container lab3-check-2418557caa-migrate-1 Starting
|
|
Container lab3-check-2418557caa-migrate-1 Started
|
|
Container lab3-check-2418557caa-migrate-1 Waiting
|
|
Container lab3-check-2418557caa-postgres-1 Waiting
|
|
Container lab3-check-2418557caa-valkey-1 Waiting
|
|
Container lab3-check-2418557caa-valkey-1 Healthy
|
|
Container lab3-check-2418557caa-postgres-1 Healthy
|
|
Container lab3-check-2418557caa-migrate-1 Exited
|
|
Container lab3-check-2418557caa-api-2 Starting
|
|
Container lab3-check-2418557caa-api-2 Started
|
|
API ready through LB: 8e14050120c6, 998bd7b19b89
|
|
Stopped API: 8e14050120c6 container=8e14050120c607ce540e41301256a08292ff7b832d7b32682871ad3c1facf560
|
|
{"label": "stop 8e14050120c6", "duration_seconds": 16.014, "successful_requests": 1452, "successful_writes": 726, "errors": 4, "successful_rps": 90.67, "first_success_after_action_seconds": {"POST": 0.033, "GET": 0.044}, "maximum_success_gap_seconds": {"POST": 2.009, "GET": 2.003}, "action_start_seconds": 1.001, "action_end_seconds": 1.722, "p50_ms": 9.064, "p95_ms": 20.562, "confirmed_data_preserved": true, "duplicate_messages": 0, "instances": ["8e14050120c6", "998bd7b19b89"]}
|
|
Container lab3-check-2418557caa-postgres-1 Waiting
|
|
Container lab3-check-2418557caa-postgres-1 Healthy
|
|
Container lab3-check-2418557caa-migrate-1 Starting
|
|
Container lab3-check-2418557caa-migrate-1 Started
|
|
Container lab3-check-2418557caa-migrate-1 Waiting
|
|
Container lab3-check-2418557caa-postgres-1 Waiting
|
|
Container lab3-check-2418557caa-valkey-1 Waiting
|
|
Container lab3-check-2418557caa-postgres-1 Healthy
|
|
Container lab3-check-2418557caa-valkey-1 Healthy
|
|
Container lab3-check-2418557caa-migrate-1 Exited
|
|
Container lab3-check-2418557caa-api-1 Starting
|
|
Container lab3-check-2418557caa-api-1 Started
|
|
API ready through LB: 8e14050120c6, 998bd7b19b89
|
|
Stopped API: 998bd7b19b89 container=998bd7b19b8910cbf3e823a15144b6bdbe42a64e15bb9ae602cdbc30a7e3e190
|
|
{"label": "stop 998bd7b19b89", "duration_seconds": 16.015, "successful_requests": 1504, "successful_writes": 751, "errors": 4, "successful_rps": 93.91, "first_success_after_action_seconds": {"POST": 0.015, "GET": 0.021}, "maximum_success_gap_seconds": {"POST": 1.968, "GET": 1.972}, "action_start_seconds": 1.011, "action_end_seconds": 1.701, "p50_ms": 8.418, "p95_ms": 16.635, "confirmed_data_preserved": true, "duplicate_messages": 0, "instances": ["8e14050120c6", "998bd7b19b89"]}
|
|
Container lab3-check-2418557caa-postgres-1 Waiting
|
|
Container lab3-check-2418557caa-postgres-1 Healthy
|
|
Container lab3-check-2418557caa-migrate-1 Starting
|
|
Container lab3-check-2418557caa-migrate-1 Started
|
|
Container lab3-check-2418557caa-migrate-1 Waiting
|
|
Container lab3-check-2418557caa-postgres-1 Waiting
|
|
Container lab3-check-2418557caa-valkey-1 Waiting
|
|
Container lab3-check-2418557caa-postgres-1 Healthy
|
|
Container lab3-check-2418557caa-valkey-1 Healthy
|
|
Container lab3-check-2418557caa-migrate-1 Exited
|
|
Container lab3-check-2418557caa-api-2 Starting
|
|
Container lab3-check-2418557caa-api-2 Started
|
|
API ready through LB: 8e14050120c6, 998bd7b19b89
|
|
Local .env and secrets are ready; values are not printed
|
|
#1 [internal] load local bake definitions
|
|
#1 reading from stdin 1.03kB done
|
|
#1 DONE 0.0s
|
|
|
|
#2 [internal] load build definition from Dockerfile
|
|
#2 transferring dockerfile: 733B done
|
|
#2 DONE 0.0s
|
|
|
|
#3 [internal] load metadata for docker.io/library/python:3.11.15-slim-bookworm@sha256:d29f48a31a8b408ed19272ca1e7b10ebae13b240a27e862d3d4217c528e2e0c3
|
|
#3 DONE 0.0s
|
|
|
|
#4 [internal] load .dockerignore
|
|
#4 transferring context: 167B done
|
|
#4 DONE 0.0s
|
|
|
|
#5 [internal] load build context
|
|
#5 transferring context: 809B done
|
|
#5 DONE 0.0s
|
|
|
|
#6 [1/8] FROM docker.io/library/python:3.11.15-slim-bookworm@sha256:d29f48a31a8b408ed19272ca1e7b10ebae13b240a27e862d3d4217c528e2e0c3
|
|
#6 resolve docker.io/library/python:3.11.15-slim-bookworm@sha256:d29f48a31a8b408ed19272ca1e7b10ebae13b240a27e862d3d4217c528e2e0c3 done
|
|
#6 DONE 0.0s
|
|
|
|
#7 [2/8] WORKDIR /app
|
|
#7 CACHED
|
|
|
|
#8 [7/8] COPY migrations/ ./migrations/
|
|
#8 CACHED
|
|
|
|
#9 [3/8] COPY requirements.txt .
|
|
#9 CACHED
|
|
|
|
#10 [5/8] RUN groupadd --gid 10001 app && useradd --uid 10001 --gid app --no-create-home app
|
|
#10 CACHED
|
|
|
|
#11 [4/8] RUN python -m pip install --no-cache-dir -r requirements.txt && python -m pip check
|
|
#11 CACHED
|
|
|
|
#12 [6/8] COPY src/ ./src/
|
|
#12 CACHED
|
|
|
|
#13 [8/8] COPY research/ ./research/
|
|
#13 CACHED
|
|
|
|
#14 exporting to image
|
|
#14 exporting layers done
|
|
#14 exporting manifest sha256:f5b0ba5ed30baa51240061b64983bd1e0be184515995717d9d42c0f303b28386 done
|
|
#14 exporting config sha256:ba8834f54a12be5f335a7d34fccbeb70b0c1b7f1535c33e1a8bf0510bedb4d72 done
|
|
#14 exporting attestation manifest sha256:4d6c5d31589d68559a42b790b99b4a58122d4f0ef087bacafbc8c14138d20153 0.0s done
|
|
#14 exporting manifest list sha256:fb863cfc900482faa092f947ff3814cc5dc7a270ffadc707e7fd0d1de642873a done
|
|
#14 naming to docker.io/library/mtusi-messenger:lab3 done
|
|
#14 unpacking to docker.io/library/mtusi-messenger:lab3 done
|
|
#14 DONE 0.1s
|
|
|
|
#15 resolving provenance for metadata file
|
|
#15 DONE 0.0s
|
|
mtusi-messenger:lab3 Built
|
|
Local .env and secrets are ready; values are not printed
|
|
Container lab3-check-2418557caa-postgres-1 Running
|
|
#1 [internal] load local bake definitions
|
|
#1 reading from stdin 576B done
|
|
#1 DONE 0.0s
|
|
|
|
#2 [internal] load build definition from Dockerfile
|
|
#2 transferring dockerfile: 733B done
|
|
#2 DONE 0.0s
|
|
|
|
#3 [internal] load metadata for docker.io/library/python:3.11.15-slim-bookworm@sha256:d29f48a31a8b408ed19272ca1e7b10ebae13b240a27e862d3d4217c528e2e0c3
|
|
#3 DONE 0.0s
|
|
|
|
#4 [internal] load .dockerignore
|
|
#4 transferring context: 167B done
|
|
#4 DONE 0.0s
|
|
|
|
#5 [internal] load build context
|
|
#5 transferring context: 809B done
|
|
#5 DONE 0.0s
|
|
|
|
#6 [1/8] FROM docker.io/library/python:3.11.15-slim-bookworm@sha256:d29f48a31a8b408ed19272ca1e7b10ebae13b240a27e862d3d4217c528e2e0c3
|
|
#6 resolve docker.io/library/python:3.11.15-slim-bookworm@sha256:d29f48a31a8b408ed19272ca1e7b10ebae13b240a27e862d3d4217c528e2e0c3 0.0s done
|
|
#6 DONE 0.0s
|
|
|
|
#7 [6/8] COPY src/ ./src/
|
|
#7 CACHED
|
|
|
|
#8 [5/8] RUN groupadd --gid 10001 app && useradd --uid 10001 --gid app --no-create-home app
|
|
#8 CACHED
|
|
|
|
#9 [7/8] COPY migrations/ ./migrations/
|
|
#9 CACHED
|
|
|
|
#10 [4/8] RUN python -m pip install --no-cache-dir -r requirements.txt && python -m pip check
|
|
#10 CACHED
|
|
|
|
#11 [2/8] WORKDIR /app
|
|
#11 CACHED
|
|
|
|
#12 [3/8] COPY requirements.txt .
|
|
#12 CACHED
|
|
|
|
#13 [8/8] COPY research/ ./research/
|
|
#13 CACHED
|
|
|
|
#14 exporting to image
|
|
#14 exporting layers done
|
|
#14 exporting manifest sha256:b9475efa88de4b71344df73089a66ddd577d05384dce92c62b755b04f74934cc done
|
|
#14 exporting config sha256:18b572ee6ee932396009b6354f40403917b55bd3d69920671450baff5304f07f done
|
|
#14 exporting attestation manifest sha256:82c4ebc3bd535d871d1e2415f644fa0c987421cbe6f7bd05afd95854da34e4bc done
|
|
#14 exporting manifest list sha256:6b3faf75764ac8f93967166e18995765c3c9899adae08c10b0df375a8a871db1 done
|
|
#14 naming to docker.io/library/mtusi-messenger:lab3 done
|
|
#14 unpacking to docker.io/library/mtusi-messenger:lab3 done
|
|
#14 DONE 0.1s
|
|
|
|
#15 resolving provenance for metadata file
|
|
#15 DONE 0.0s
|
|
Migrations: already applied
|
|
API ready through LB: 8e14050120c6, 998bd7b19b89
|
|
Replacing API: 8e14050120c6
|
|
Container lab3-check-2418557caa-api-2 Running
|
|
Container lab3-check-2418557caa-api-3 Creating
|
|
Container lab3-check-2418557caa-api-3 Created
|
|
Container lab3-check-2418557caa-api-3 Starting
|
|
Container lab3-check-2418557caa-api-3 Started
|
|
API ready through LB: 1dde8575f8f4, 998bd7b19b89
|
|
Replacing API: 998bd7b19b89
|
|
Container lab3-check-2418557caa-api-3 Running
|
|
Container lab3-check-2418557caa-api-4 Creating
|
|
Container lab3-check-2418557caa-api-4 Created
|
|
Container lab3-check-2418557caa-api-4 Starting
|
|
Container lab3-check-2418557caa-api-4 Started
|
|
API ready through LB: 1dde8575f8f4, 27f47ac686fc
|
|
PASS: all API containers replaced sequentially; stores and LB kept running
|
|
{"label": "sequential API replacement", "duration_seconds": 22.757, "successful_requests": 2072, "successful_writes": 1037, "errors": 8, "successful_rps": 91.05, "first_success_after_action_seconds": {"POST": 0.019, "GET": 0.025}, "maximum_success_gap_seconds": {"POST": 1.007, "GET": 1.074}, "action_start_seconds": 1.008, "action_end_seconds": 19.74, "p50_ms": 8.068, "p95_ms": 14.446, "confirmed_data_preserved": true, "duplicate_messages": 0, "instances": ["1dde8575f8f4", "27f47ac686fc", "8e14050120c6", "998bd7b19b89"]}
|
|
PASS: all lab3 grade-4 checks completed
|
|
Container lab3-check-2418557caa-lb-1 Stopping
|
|
Container lab3-check-2418557caa-lb-1 Stopped
|
|
Container lab3-check-2418557caa-lb-1 Removing
|
|
Container lab3-check-2418557caa-lb-1 Removed
|
|
Container lab3-check-2418557caa-api-4 Stopping
|
|
Container lab3-check-2418557caa-api-3 Stopping
|
|
Container lab3-check-2418557caa-api-3 Stopped
|
|
Container lab3-check-2418557caa-api-3 Removing
|
|
Container lab3-check-2418557caa-api-3 Removed
|
|
Container lab3-check-2418557caa-api-4 Stopped
|
|
Container lab3-check-2418557caa-api-4 Removing
|
|
Container lab3-check-2418557caa-api-4 Removed
|
|
Container lab3-check-2418557caa-migrate-1 Stopping
|
|
Container lab3-check-2418557caa-valkey-1 Stopping
|
|
Container lab3-check-2418557caa-migrate-1 Stopped
|
|
Container lab3-check-2418557caa-migrate-1 Removing
|
|
Container lab3-check-2418557caa-migrate-1 Removed
|
|
Container lab3-check-2418557caa-postgres-1 Stopping
|
|
Container lab3-check-2418557caa-valkey-1 Stopped
|
|
Container lab3-check-2418557caa-valkey-1 Removing
|
|
Container lab3-check-2418557caa-valkey-1 Removed
|
|
Container lab3-check-2418557caa-postgres-1 Stopped
|
|
Container lab3-check-2418557caa-postgres-1 Removing
|
|
Container lab3-check-2418557caa-postgres-1 Removed
|
|
Volume lab3-check-2418557caa_valkey_data Removing
|
|
Volume lab3-check-2418557caa_postgres_data Removing
|
|
Network lab3-check-2418557caa_default Removing
|
|
Volume lab3-check-2418557caa_valkey_data Removed
|
|
Volume lab3-check-2418557caa_postgres_data Removed
|
|
Network lab3-check-2418557caa_default Removed
|
|
Removed only temporary test containers and volumes: lab3-check-2418557caa
|