UTC 2026-11-13T10:54:55.166348+00:00 COMMAND C:\Python312\python.exe scripts/check_contract.py PASS: offline skeleton structure, local refs and Python syntax; application NOT tested. COMMAND C:\Python312\python.exe tests/smoke.py --base-url http://127.0.0.1:18084 PASS: lab4 public API scenario; infrastructure and grading evidence remain separate. COMMAND C:\Python312\python.exe -m unittest discover -s student-tests -v test_access_before_payload_validation (test_api.API.test_access_before_payload_validation) ... ok test_bad_credentials_and_schemes (test_api.API.test_bad_credentials_and_schemes) ... ok test_chat_atomic_invalid_members (test_api.API.test_chat_atomic_invalid_members) ... ok test_concurrent_messages_and_keyset (test_api.API.test_concurrent_messages_and_keyset) ... ok test_cursor_scope_and_tampering (test_api.API.test_cursor_scope_and_tampering) ... ok test_json_and_sender_validation (test_api.API.test_json_and_sender_validation) ... ok test_logout_only_revokes_current_session (test_api.API.test_logout_only_revokes_current_session) ... ok test_registration_validation (test_api.API.test_registration_validation) ... ok test_unicode_password_with_colon_and_max_length (test_api.API.test_unicode_password_with_colon_and_max_length) ... ok test_username_race (test_api.API.test_username_race) ... ok test_acl_before_image_validation (test_attachments.Attachments.test_acl_before_image_validation) ... ok test_attachment_scope_and_idempotency (test_attachments.Attachments.test_attachment_scope_and_idempotency) ... ok test_byte_limit_before_reading_body (test_attachments.Attachments.test_byte_limit_before_reading_body) ... ok test_exactly_40_million_pixels_accepted (test_attachments.Attachments.test_exactly_40_million_pixels_accepted) ... ok test_filename (test_attachments.Attachments.test_filename) ... ok test_image_validation (test_attachments.Attachments.test_image_validation) ... ok test_jpeg_original_and_truncation (test_attachments.Attachments.test_jpeg_original_and_truncation) ... ok test_maximum_byte_size_accepted (test_attachments.Attachments.test_maximum_byte_size_accepted) ... ok test_original_and_message_shared_with_member (test_attachments.Attachments.test_original_and_message_shared_with_member) ... ok test_conflicting_bodies_race (test_idempotency.Idempotency.test_conflicting_bodies_race) ... ok test_invalid_keys_and_no_cached_error (test_idempotency.Idempotency.test_invalid_keys_and_no_cached_error) ... ok test_key_scope_and_access (test_idempotency.Idempotency.test_key_scope_and_access) ... ok test_same_key_concurrent_across_replicas (test_idempotency.Idempotency.test_same_key_concurrent_across_replicas) ... PASS: concurrent_retries=12 observed_replicas=2 committed_messages=1 ok ---------------------------------------------------------------------- Ran 23 tests in 32.470s OK COMMAND docker compose --env-file .env exec -T api1 python -m pip freeze WARNING: The directory '/home/messenger/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag. boto3==1.40.61 botocore==1.40.76 jmespath==1.1.0 pillow==12.0.0 psycopg==3.2.6 psycopg-binary==3.2.6 psycopg-pool==3.2.6 python-dateutil==2.9.0.post0 s3transfer==0.14.0 six==1.17.0 typing_extensions==4.16.0 urllib3==2.8.0 COMMAND docker compose --env-file .env ps NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS mtusi2026lab4-api1-1 mtusi2026lab4-api:local "python -m src.server" api1 About a minute ago Up About a minute (healthy) 8080/tcp mtusi2026lab4-api2-1 mtusi2026lab4-api:local "python -m src.server" api2 About a minute ago Up About a minute (healthy) 8080/tcp mtusi2026lab4-lb-1 haproxy:3.0.11-alpine "docker-entrypoint.s…" lb 7 minutes ago Up 5 minutes 127.0.0.1:18084->8080/tcp mtusi2026lab4-postgres-1 postgres:16.10-bookworm "docker-entrypoint.s…" postgres 7 minutes ago Up 5 minutes (healthy) 5432/tcp mtusi2026lab4-s3-1 chrislusf/seaweedfs:3.85 "/entrypoint.sh serv…" s3 7 minutes ago Up 4 minutes 7333/tcp, 8080/tcp, 8333/tcp, 8888/tcp, 9333/tcp, 18080/tcp, 18888/tcp, 19333/tcp COMMAND git -c safe.directory=C:/Users/marks/Desktop/vp/mtusi2026lab4 diff --exit-code -- README.md COURSE.md contracts tests PASS: final source, smoke, all 23 student tests, runtime dependencies and unchanged public contract/tests