Container mtusi2026lab4-postgres-1 Paused Container mtusi2026lab4-postgres-1 Unpaused Container mtusi2026lab4-postgres-1 Stopping Container mtusi2026lab4-postgres-1 Stopped Container mtusi2026lab4-postgres-1 Starting Container mtusi2026lab4-postgres-1 Started Container mtusi2026lab4-redis-1 Stopping Container mtusi2026lab4-redis-1 Stopped Container mtusi2026lab4-redis-1 Starting Container mtusi2026lab4-redis-1 Started Container mtusi2026lab4-redis-1 Restarting Container mtusi2026lab4-s3-1 Restarting Container mtusi2026lab4-postgres-1 Restarting Container mtusi2026lab4-redis-1 Started Container mtusi2026lab4-postgres-1 Started Container mtusi2026lab4-s3-1 Started Container mtusi2026lab4-s3-1 Waiting Container mtusi2026lab4-s3-1 Healthy Container mtusi2026lab4-s3-gw-1 Restarting Container mtusi2026lab4-s3-gw-1 Started Container mtusi2026lab4-s3-gw-1 Restarting Container mtusi2026lab4-s3-gw-1 Started Container mtusi2026lab4-api-2 Restarting Container mtusi2026lab4-api-1 Restarting Container mtusi2026lab4-api-2 Started Container mtusi2026lab4-api-1 Started Container mtusi2026lab4-api-1 Running Container mtusi2026lab4-api-2 Running Container mtusi2026lab4-lb-1 Restarting Container mtusi2026lab4-lb-1 Started Container mtusi2026lab4-s3-1 Stopping Container mtusi2026lab4-s3-1 Stopped Container mtusi2026lab4-s3-1 Starting Container mtusi2026lab4-s3-1 Started Container mtusi2026lab4-s3-gw-1 Restarting Container mtusi2026lab4-s3-gw-1 Started OK test_images_unit.test_all_filter_types_accepted OK test_images_unit.test_corrupted_jpeg_rejected OK test_images_unit.test_corrupted_png_rejected OK test_images_unit.test_exactly_at_pixel_limit_accepted OK test_images_unit.test_foreign_formats_rejected OK test_images_unit.test_pixel_limit_detected_from_header_only OK test_images_unit.test_reviewer_corrupted_jpegs_structural_part OK test_images_unit.test_reviewer_corrupted_pngs_rejected OK test_images_unit.test_valid_jpegs_any_chunking OK test_images_unit.test_valid_pngs_any_chunking OK test_api.test_basic_on_business_rejected OK test_api.test_chat_requires_caller_member OK test_api.test_invalid_basic_encoding_is_401 OK test_api.test_login_rejects_json_body OK test_api.test_logout_revokes OK test_api.test_malformed_cursor_400 OK test_api.test_nul_in_text_roundtrip OK test_api.test_unknown_member_rolls_back OK test_api.test_unsupported_media_type OK test_api.test_username_conflict OK test_api.test_username_trailing_newline_400 OK test_api.test_whitespace_only_password_rejected OK test_api.test_wrong_password OK test_api.test_x_user_id_ignored OK test_concurrency.test_parallel_messages_unique OK test_concurrency.test_username_race_one_winner OK test_sessions.test_login_after_register SKIP expiry: SESSION_TTL_SECONDS=3600 (need <=5 for this test) OK test_sessions.test_session_expiry_if_short_ttl OK test_idempotency.test_empty_attachment_ids_equals_absent OK test_idempotency.test_invalid_key_format_400 OK test_idempotency.test_key_scoped_to_user_and_chat OK test_idempotency.test_missing_idempotency_key_400 OK test_idempotency.test_multiple_instance_ids_observed OK test_idempotency.test_parallel_same_key_one_message OK test_idempotency.test_replay_same_key_same_body OK test_idempotency.test_same_key_different_body_409 OK test_attachments.test_attachment_ids_validation_400 OK test_attachments.test_corrupted_images_415 OK test_attachments.test_dangerous_filenames_400_and_unicode_kept OK test_attachments.test_empty_body_and_variants OK test_attachments.test_exact_limit_png_through_lb_accepted OK test_attachments.test_filename_query_decoded_strictly_400 OK test_attachments.test_foreign_and_unknown_attachment_ids_404 OK test_attachments.test_interrupted_upload_does_not_break_service OK test_attachments.test_message_with_attachments_and_history OK test_attachments.test_mime_spoofing_415 OK test_attachments.test_near_limit_real_png_accepted OK test_attachments.test_outsider_and_unknown_get_404 OK test_attachments.test_parallel_uploads_distinct OK test_attachments.test_reviewer_corrupted_images_415 OK test_attachments.test_same_filename_distinct_objects OK test_attachments.test_too_large_413 OK test_attachments.test_too_many_pixels_413 OK test_attachments.test_upload_auth_and_chat_checks OK test_attachments.test_upload_roundtrip_png_and_jpeg_variants OK test_attachments_ops.test_bucket_private_and_api_key_least_privilege OK test_attachments_ops.test_interrupted_and_stalled_uploads_leave_nothing OK test_attachments_ops.test_no_original_kept_on_api_replicas OK test_attachments_ops.test_parallel_large_uploads_keep_s3_within_memory OK test_attachments_ops.test_s3_can_grow_volumes OK test_attachments_ops.test_s3_db_failure_compensation_and_reconcile in-flight upload: body sent over 5.0s across listener close -> 201, download via LB OK; back in LB in 2.6s OK test_shutdown.test_inflight_upload_finishes_after_listener_closed stop under load: 405 x 201, 0 errors, 58 served by stopping replica; docker stop 3.58s; back in LB in 2.5s OK test_shutdown.test_replica_stop_under_load_has_no_errors drain: 22 probes, ready 503 / users/me 200; exit 3.29s after SIGTERM; back in LB in 2.0s OK test_shutdown.test_sigterm_drains_readiness_but_keeps_serving postgres paused: 503 after 6.14s, 3.03s, 6.22s OK test_deps.test_postgres_pause_fails_fast OK test_deps.test_postgres_stop_returns_503 OK test_deps.test_redis_stop_returns_503_or_unready OK test_deps.test_restart_hook_restarts_api_and_stores s3 down: ready 503, upload 503 in 0.11s, download 503, metadata/messages OK OK test_deps.test_s3_stop_degrades_only_attachments Summary: 69 passed, 0 failed