{ "recorded_at": "2026-10-29T08:12:38.932550+00:00", "base_url": "http://127.0.0.1:18080", "checks": [ { "name": "contract", "command": [ "C:\\Program Files\\Python313\\python.exe", "-X", "utf8", "scripts/check_contract.py" ], "started": "2026-10-29T08:12:40.453037+00:00", "exit_code": 0, "status": "PASS", "summary": [ "PASS: offline skeleton structure, local refs and Python syntax; application NOT tested." ], "seconds": 17.364 }, { "name": "lint", "command": [ "pnpm.cmd", "lint" ], "started": "2026-10-29T08:12:57.817983+00:00", "exit_code": 0, "status": "PASS", "summary": [], "seconds": 14.84 }, { "name": "build", "command": [ "pnpm.cmd", "build" ], "started": "2026-10-29T08:13:12.661389+00:00", "exit_code": 0, "status": "PASS", "summary": [], "seconds": 49.585 }, { "name": "draining", "command": [ "node", "--test", "--test-reporter=tap", "test/draining.mjs" ], "started": "2026-10-29T08:14:02.255011+00:00", "exit_code": 0, "status": "PASS", "summary": [ "ok 1 - draining keeps liveness and dependencies alive until active HTTP work completes", "ok 2 - readiness already querying the DB cannot return 200 after draining begins", "# tests 2", "# pass 2", "# fail 0", "# cancelled 0" ], "seconds": 6.247 }, { "name": "nginx-readiness", "command": [ "docker", "run", "--rm", "--network", "none", "--entrypoint", "/bin/sh", "-v", "C:\\Users\\olpin\\Projects\\mtusi2026lab3-fork\\infra:/source:ro", "-v", "C:\\Users\\olpin\\Projects\\mtusi2026lab3-fork\\test\\nginx-readiness.sh:/test.sh:ro", "nginx:1.30.6-alpine", "/test.sh" ], "started": "2026-10-29T08:14:08.505206+00:00", "exit_code": 0, "status": "PASS", "summary": [ "PASS: admission, isolated failure, recovery, removal and re-admission; 3 reloads" ], "seconds": 4.894 }, { "name": "nginx-readiness-parallel", "command": [ "docker", "run", "--rm", "--network", "none", "--entrypoint", "/bin/sh", "-v", "C:\\Users\\olpin\\Projects\\mtusi2026lab3-fork\\infra:/source:ro", "-v", "C:\\Users\\olpin\\Projects\\mtusi2026lab3-fork\\test\\nginx-readiness-parallel.sh:/test.sh:ro", "nginx:1.30.6-alpine", "/test.sh" ], "started": "2026-10-29T08:14:13.401456+00:00", "exit_code": 0, "status": "PASS", "summary": [ "PASS: four concurrent probes admitted after two successful rounds" ], "seconds": 5.687 }, { "name": "smoke", "command": [ "C:\\Program Files\\Python313\\python.exe", "-X", "utf8", "tests/smoke.py", "--base-url", "http://127.0.0.1:18080" ], "started": "2026-10-29T08:14:19.093397+00:00", "exit_code": 0, "status": "PASS", "summary": [ "PASS: lab3 public API scenario; infrastructure and grading evidence remain separate." ], "seconds": 12.865 }, { "name": "idempotency", "command": [ "docker", "compose", "run", "--rm", "--no-deps", "-T", "-v", "C:\\Users\\olpin\\Projects\\mtusi2026lab3-fork\\test\\idempotency.mjs:/app/test/idempotency.mjs:ro", "api", "node", "--test", "test/idempotency.mjs" ], "started": "2026-10-29T08:14:31.959929+00:00", "exit_code": 0, "status": "PASS", "summary": [], "seconds": 23.077 }, { "name": "persistence", "command": [ "C:\\Program Files\\Python313\\python.exe", "-X", "utf8", "tests/resilience.py", "--mode", "persistence", "--action-script", "scripts/restart.cmd", "--base-url", "http://127.0.0.1:18080" ], "started": "2026-10-29T08:14:57.349615+00:00", "exit_code": 0, "status": "PASS", "summary": [ "PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence." ], "seconds": 59.507, "before": [ { "service": "api", "id": "60df529195b979ecaf89c5ae3f90943cfad886d46184958fe71d302f6d5381e7", "image": "sha256:61f1bfcd07cf183463d6ac162cf1aa23766f5cf2e0a0503dcbdeb0b762d764e6", "started_at": "2026-10-29T08:07:53.355689983Z", "status": "running", "health": "healthy", "exit_code": 0, "cpu": 1.0, "memory_mib": 512.0, "pool_max": "15", "command": [ "sh", "-c", "INSTANCE_ID=$(hostname) exec node dist/main.js" ], "ports": {}, "volumes": [] }, { "service": "api", "id": "8afa8e6966d507a01e9eb4fea4de4b0fde68d5ae2507e532b11ace78fb38d547", "image": "sha256:61f1bfcd07cf183463d6ac162cf1aa23766f5cf2e0a0503dcbdeb0b762d764e6", "started_at": "2026-10-29T08:07:51.843100289Z", "status": "running", "health": "healthy", "exit_code": 0, "cpu": 1.0, "memory_mib": 512.0, "pool_max": "15", "command": [ "sh", "-c", "INSTANCE_ID=$(hostname) exec node dist/main.js" ], "ports": {}, "volumes": [] }, { "service": "migrate", "id": "54712687d1545d3c3f31e0a7f2ea644d35c44b36506065018df8c486cdf33d3c", "image": "sha256:56e5b742612fa59b4e0bb09de668b4d6357e97d9811fe862f06f6bc3fa5aa858", "started_at": "2026-10-28T05:10:21.875696751Z", "status": "exited", "health": null, "exit_code": 0, "cpu": 1.0, "memory_mib": 512.0, "pool_max": null, "command": [ "pnpm", "db:deploy" ], "ports": {}, "volumes": [] }, { "service": "nginx", "id": "0891b089ad4712a7f9899383b09755ceda41793c5fecd8cba6ef07568a38aedb", "image": "sha256:47928bf67eb62a1863cb08d9ecb52d3e704304ba614eaee17884204677702951", "started_at": "2026-10-29T08:12:35.59321535Z", "status": "running", "health": null, "exit_code": 0, "cpu": 0.5, "memory_mib": 128.0, "pool_max": null, "command": null, "ports": { "80/tcp": [ { "HostIp": "127.0.0.1", "HostPort": "18080" } ] }, "volumes": [] }, { "service": "postgres", "id": "d9f3adf56ca819973772bd039136681490c66c49d4630dc5bd62ea37fadd69d3", "image": "sha256:f3bd19c606e442c3d7bdfa8002e03fe260a1023351e0ea4598032022b68dd6e3", "started_at": "2026-10-29T08:11:11.834517401Z", "status": "running", "health": "healthy", "exit_code": 0, "cpu": 1.0, "memory_mib": 512.0, "pool_max": null, "command": [ "postgres" ], "ports": {}, "volumes": [ { "name": "mtusi2026lab3-fork_postgres_data", "destination": "/var/lib/postgresql/data" } ] }, { "service": "redis", "id": "a2ece96bc2f0b98b2b0a805c4a2ef6fd1e634b81c568554f80d018493494c189", "image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08", "started_at": "2026-10-29T08:11:11.801812104Z", "status": "running", "health": "healthy", "exit_code": 0, "cpu": 0.5, "memory_mib": 256.0, "pool_max": null, "command": [ "redis-server", "--appendonly", "yes", "--appendfsync", "everysec" ], "ports": {}, "volumes": [ { "name": "mtusi2026lab3-fork_redis_data", "destination": "/data" } ] } ], "after": [ { "service": "api", "id": "60df529195b979ecaf89c5ae3f90943cfad886d46184958fe71d302f6d5381e7", "image": "sha256:61f1bfcd07cf183463d6ac162cf1aa23766f5cf2e0a0503dcbdeb0b762d764e6", "started_at": "2026-10-29T08:15:29.950263691Z", "status": "running", "health": "healthy", "exit_code": 0, "cpu": 1.0, "memory_mib": 512.0, "pool_max": "15", "command": [ "sh", "-c", "INSTANCE_ID=$(hostname) exec node dist/main.js" ], "ports": {}, "volumes": [] }, { "service": "api", "id": "8afa8e6966d507a01e9eb4fea4de4b0fde68d5ae2507e532b11ace78fb38d547", "image": "sha256:61f1bfcd07cf183463d6ac162cf1aa23766f5cf2e0a0503dcbdeb0b762d764e6", "started_at": "2026-10-29T08:15:29.152072589Z", "status": "running", "health": "healthy", "exit_code": 0, "cpu": 1.0, "memory_mib": 512.0, "pool_max": "15", "command": [ "sh", "-c", "INSTANCE_ID=$(hostname) exec node dist/main.js" ], "ports": {}, "volumes": [] }, { "service": "migrate", "id": "54712687d1545d3c3f31e0a7f2ea644d35c44b36506065018df8c486cdf33d3c", "image": "sha256:56e5b742612fa59b4e0bb09de668b4d6357e97d9811fe862f06f6bc3fa5aa858", "started_at": "2026-10-28T05:10:21.875696751Z", "status": "exited", "health": null, "exit_code": 0, "cpu": 1.0, "memory_mib": 512.0, "pool_max": null, "command": [ "pnpm", "db:deploy" ], "ports": {}, "volumes": [] }, { "service": "nginx", "id": "0891b089ad4712a7f9899383b09755ceda41793c5fecd8cba6ef07568a38aedb", "image": "sha256:47928bf67eb62a1863cb08d9ecb52d3e704304ba614eaee17884204677702951", "started_at": "2026-10-29T08:15:50.076114459Z", "status": "running", "health": null, "exit_code": 0, "cpu": 0.5, "memory_mib": 128.0, "pool_max": null, "command": null, "ports": { "80/tcp": [ { "HostIp": "127.0.0.1", "HostPort": "18080" } ] }, "volumes": [] }, { "service": "postgres", "id": "d9f3adf56ca819973772bd039136681490c66c49d4630dc5bd62ea37fadd69d3", "image": "sha256:f3bd19c606e442c3d7bdfa8002e03fe260a1023351e0ea4598032022b68dd6e3", "started_at": "2026-10-29T08:15:21.521775403Z", "status": "running", "health": "healthy", "exit_code": 0, "cpu": 1.0, "memory_mib": 512.0, "pool_max": null, "command": [ "postgres" ], "ports": {}, "volumes": [ { "name": "mtusi2026lab3-fork_postgres_data", "destination": "/var/lib/postgresql/data" } ] }, { "service": "redis", "id": "a2ece96bc2f0b98b2b0a805c4a2ef6fd1e634b81c568554f80d018493494c189", "image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08", "started_at": "2026-10-29T08:15:21.468775476Z", "status": "running", "health": "healthy", "exit_code": 0, "cpu": 0.5, "memory_mib": 256.0, "pool_max": null, "command": [ "redis-server", "--appendonly", "yes", "--appendfsync", "everysec" ], "ports": {}, "volumes": [ { "name": "mtusi2026lab3-fork_redis_data", "destination": "/data" } ] } ], "containers_restarted": true, "volumes_preserved": true }, { "name": "public-failover", "command": [ "C:\\Program Files\\Python313\\python.exe", "-X", "utf8", "tests/resilience.py", "--mode", "failover", "--action-script", "scripts/stop-one.cmd", "--base-url", "http://127.0.0.1:18080" ], "started": "2026-10-29T08:15:59.167346+00:00", "exit_code": 0, "status": "PASS", "summary": [ "PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence." ], "details": { "observed_instances_before": 2, "successful_writes": 73, "failed_attempts": 1, "first_recovery_seconds": 7.9 }, "seconds": 20.61 }, { "name": "grade4-resources", "command": [ "C:\\Program Files\\Python313\\python.exe", "-X", "utf8", "test/grade4.py", "--scenario", "resources", "--base-url", "http://127.0.0.1:18080", "--concurrency", "4", "--observe-seconds", "10", "--output", "C:\\Users\\olpin\\AppData\\Local\\Temp\\lab3-report-91qipz4e\\grade4-resources.json" ], "started": "2026-10-29T08:16:39.554411+00:00", "exit_code": 0, "status": "PASS", "summary": [ "PASS: grade 4 scenario" ], "details": { "scenario": "resources", "resources": { "api": [ { "instance": "60df529195b9", "cpus": 1.0, "memory_mib": 512 }, { "instance": "8afa8e6966d5", "cpus": 1.0, "memory_mib": 512 } ], "nginx": { "cpus": 0.5, "memory_mib": 128 }, "migrate": { "cpus": 1.0, "memory_mib": 512 }, "postgres": { "cpus": 1.0, "memory_mib": 512 }, "redis": { "cpus": 0.5, "memory_mib": 256 } }, "actions": [] }, "seconds": 6.753 }, { "name": "grade4-failover", "command": [ "C:\\Program Files\\Python313\\python.exe", "-X", "utf8", "test/grade4.py", "--scenario", "failover", "--base-url", "http://127.0.0.1:18080", "--concurrency", "4", "--observe-seconds", "10", "--output", "C:\\Users\\olpin\\AppData\\Local\\Temp\\lab3-report-91qipz4e\\grade4-failover.json" ], "started": "2026-10-29T08:16:46.310612+00:00", "exit_code": 0, "status": "PASS", "summary": [ "PASS: grade 4 scenario" ], "details": { "scenario": "failover", "resources": { "api": [ { "instance": "60df529195b9", "cpus": 1.0, "memory_mib": 512 }, { "instance": "8afa8e6966d5", "cpus": 1.0, "memory_mib": 512 } ], "nginx": { "cpus": 0.5, "memory_mib": 128 }, "migrate": { "cpus": 1.0, "memory_mib": 512 }, "postgres": { "cpus": 1.0, "memory_mib": 512 }, "redis": { "cpus": 0.5, "memory_mib": 256 } }, "actions": [ { "target": "60df529195b9", "action_seconds": 8.539, "window_seconds": 18.539, "traffic": { "read": { "successful": 393, "errors": 0, "successful_rps": 21.199, "first_survivor_seconds": 0.155, "first_success_after_action_seconds": 8.581 }, "write": { "successful": 266, "errors": 0, "successful_rps": 14.348, "first_survivor_seconds": 0.076, "first_success_after_action_seconds": 8.57 }, "last_target_response_seconds": 4.718 } }, { "target": "8afa8e6966d5", "action_seconds": 9.254, "window_seconds": 19.254, "traffic": { "read": { "successful": 377, "errors": 0, "successful_rps": 19.58, "first_survivor_seconds": 0.638, "first_success_after_action_seconds": 9.259 }, "write": { "successful": 253, "errors": 0, "successful_rps": 13.14, "first_survivor_seconds": 0.86, "first_success_after_action_seconds": 9.304 }, "last_target_response_seconds": 5.443 } } ], "confirmed_writes": 1001, "attempted_unique_writes": 1001, "migration_container_unchanged": true }, "seconds": 82.472 }, { "name": "grade4-rolling", "command": [ "C:\\Program Files\\Python313\\python.exe", "-X", "utf8", "test/grade4.py", "--scenario", "rolling", "--base-url", "http://127.0.0.1:18080", "--concurrency", "4", "--observe-seconds", "10", "--output", "C:\\Users\\olpin\\AppData\\Local\\Temp\\lab3-report-91qipz4e\\grade4-rolling.json" ], "started": "2026-10-29T08:18:08.803393+00:00", "exit_code": 0, "status": "PASS", "summary": [ "PASS: grade 4 scenario" ], "details": { "scenario": "rolling", "resources": { "api": [ { "instance": "60df529195b9", "cpus": 1.0, "memory_mib": 512 }, { "instance": "8afa8e6966d5", "cpus": 1.0, "memory_mib": 512 } ], "nginx": { "cpus": 0.5, "memory_mib": 128 }, "migrate": { "cpus": 1.0, "memory_mib": 512 }, "postgres": { "cpus": 1.0, "memory_mib": 512 }, "redis": { "cpus": 0.5, "memory_mib": 256 } }, "actions": [ { "target": "60df529195b9", "action_seconds": 31.297, "window_seconds": 41.299, "traffic": { "read": { "successful": 806, "errors": 0, "successful_rps": 19.516, "first_survivor_seconds": 0.051, "first_success_after_action_seconds": 31.306 }, "write": { "successful": 517, "errors": 2, "successful_rps": 12.519, "first_survivor_seconds": 0.034, "first_success_after_action_seconds": 31.341 } } }, { "target": "8afa8e6966d5", "action_seconds": 24.332, "window_seconds": 34.333, "traffic": { "read": { "successful": 641, "errors": 0, "successful_rps": 18.67, "first_survivor_seconds": 0.056, "first_success_after_action_seconds": 24.394 }, "write": { "successful": 418, "errors": 0, "successful_rps": 12.175, "first_survivor_seconds": 0.046, "first_success_after_action_seconds": 24.387 } } } ], "confirmed_writes": 1082, "attempted_unique_writes": 1082, "migration_container_unchanged": true }, "seconds": 101.15 }, { "name": "shutdown", "command": [ "C:\\Program Files\\Python313\\python.exe", "-X", "utf8", "test/check_shutdown.py", "--base-url", "http://127.0.0.1:18080" ], "started": "2026-10-29T08:24:42.449217+00:00", "exit_code": 0, "status": "PASS", "summary": [ "PASS: readiness 200 -> 503 -> closed; liveness 200; LB withdrawal before HTTP close" ], "details": { "stop_seconds": 9.963, "lb_withdrawn_seconds": 3.282, "lb_withdrawn_before_http_close": true, "readiness_sequence": [ 200, 503, "connection_error" ], "readiness_503_samples": 114, "liveness_200_while_draining": 114, "liveness_connection_errors_while_draining": 0, "exit_code": 143, "direct_ready_responses": { "before": { "200": 16 }, "stopping": { "200": 3, "503": 54 }, "withdrawn": { "503": 60, "connection_error": 39 }, "stopped": { "connection_error": 1 } } }, "seconds": 36.3, "previous_attempts": [ { "name": "shutdown", "command": [ "C:\\Program Files\\Python313\\python.exe", "-X", "utf8", "test/check_shutdown.py", "--base-url", "http://127.0.0.1:18080" ], "started": "2026-10-29T08:19:49.963220+00:00", "exit_code": 1, "status": "FAIL", "summary": [ "FAIL: liveness must remain 200 while readiness is 503" ], "seconds": 40.801 } ] }, { "name": "migration-compatibility", "command": [ "C:\\Program Files\\Python313\\python.exe", "-X", "utf8", "test/check_migration_compat.py" ], "started": "2026-10-29T08:20:32.968558+00:00", "exit_code": 0, "status": "PASS", "summary": [ "PASS: additive migration compatible with running lab2 API" ], "details": { "old_image": "mtusi2026lab2-fork-backend:latest", "new_image": "mtusi2026lab3-fork-api:latest", "migration_image": "mtusi2026lab3-fork-migrate:latest", "migration_seconds": 28.386, "old_writes_near_migration": 77, "old_write_errors": 0, "old_and_new_read_each_others_messages": true, "existing_session_accepted_by_new_api": true, "new_api_idempotent_replay": true, "temporary_database": true }, "seconds": 110.867 }, { "name": "final-smoke", "command": [ "C:\\Program Files\\Python313\\python.exe", "-X", "utf8", "tests/smoke.py", "--base-url", "http://127.0.0.1:18080" ], "started": "2026-10-29T08:25:18.751208+00:00", "exit_code": 0, "status": "PASS", "summary": [ "PASS: lab3 public API scenario; infrastructure and grading evidence remain separate." ], "seconds": 4.549, "previous_attempts": [ { "name": "final-smoke", "command": [ "C:\\Program Files\\Python313\\python.exe", "-X", "utf8", "tests/smoke.py", "--base-url", "http://127.0.0.1:18080" ], "started": "2026-10-29T08:22:23.841834+00:00", "exit_code": 0, "status": "PASS", "summary": [ "PASS: lab3 public API scenario; infrastructure and grading evidence remain separate." ], "seconds": 7.277 } ] } ], "initial": [ { "service": "api", "id": "60df529195b979ecaf89c5ae3f90943cfad886d46184958fe71d302f6d5381e7", "image": "sha256:61f1bfcd07cf183463d6ac162cf1aa23766f5cf2e0a0503dcbdeb0b762d764e6", "started_at": "2026-10-29T08:07:53.355689983Z", "status": "running", "health": "healthy", "exit_code": 0, "cpu": 1.0, "memory_mib": 512.0, "pool_max": "15", "command": [ "sh", "-c", "INSTANCE_ID=$(hostname) exec node dist/main.js" ], "ports": {}, "volumes": [] }, { "service": "api", "id": "8afa8e6966d507a01e9eb4fea4de4b0fde68d5ae2507e532b11ace78fb38d547", "image": "sha256:61f1bfcd07cf183463d6ac162cf1aa23766f5cf2e0a0503dcbdeb0b762d764e6", "started_at": "2026-10-29T08:07:51.843100289Z", "status": "running", "health": "healthy", "exit_code": 0, "cpu": 1.0, "memory_mib": 512.0, "pool_max": "15", "command": [ "sh", "-c", "INSTANCE_ID=$(hostname) exec node dist/main.js" ], "ports": {}, "volumes": [] }, { "service": "migrate", "id": "54712687d1545d3c3f31e0a7f2ea644d35c44b36506065018df8c486cdf33d3c", "image": "sha256:56e5b742612fa59b4e0bb09de668b4d6357e97d9811fe862f06f6bc3fa5aa858", "started_at": "2026-10-28T05:10:21.875696751Z", "status": "exited", "health": null, "exit_code": 0, "cpu": 1.0, "memory_mib": 512.0, "pool_max": null, "command": [ "pnpm", "db:deploy" ], "ports": {}, "volumes": [] }, { "service": "nginx", "id": "0891b089ad4712a7f9899383b09755ceda41793c5fecd8cba6ef07568a38aedb", "image": "sha256:47928bf67eb62a1863cb08d9ecb52d3e704304ba614eaee17884204677702951", "started_at": "2026-10-29T08:12:35.59321535Z", "status": "running", "health": null, "exit_code": 0, "cpu": 0.5, "memory_mib": 128.0, "pool_max": null, "command": null, "ports": { "80/tcp": [ { "HostIp": "127.0.0.1", "HostPort": "18080" } ] }, "volumes": [] }, { "service": "postgres", "id": "d9f3adf56ca819973772bd039136681490c66c49d4630dc5bd62ea37fadd69d3", "image": "sha256:f3bd19c606e442c3d7bdfa8002e03fe260a1023351e0ea4598032022b68dd6e3", "started_at": "2026-10-29T08:11:11.834517401Z", "status": "running", "health": "healthy", "exit_code": 0, "cpu": 1.0, "memory_mib": 512.0, "pool_max": null, "command": [ "postgres" ], "ports": {}, "volumes": [ { "name": "mtusi2026lab3-fork_postgres_data", "destination": "/var/lib/postgresql/data" } ] }, { "service": "redis", "id": "a2ece96bc2f0b98b2b0a805c4a2ef6fd1e634b81c568554f80d018493494c189", "image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08", "started_at": "2026-10-29T08:11:11.801812104Z", "status": "running", "health": "healthy", "exit_code": 0, "cpu": 0.5, "memory_mib": 256.0, "pool_max": null, "command": [ "redis-server", "--appendonly", "yes", "--appendfsync", "everysec" ], "ports": {}, "volumes": [ { "name": "mtusi2026lab3-fork_redis_data", "destination": "/data" } ] } ], "previous_validation": { "recorded_at": "2026-10-29T07:00:44.707076+00:00", "finished": "2026-10-29T07:14:07.844371+00:00", "api_images": [ "sha256:06d717266f9eb248c84149e88685ee0210b33bf314b5c1101f22316a0845bb77" ], "checks": [ { "name": "contract", "status": "PASS", "seconds": 46.752 }, { "name": "lint", "status": "PASS", "seconds": 37.916 }, { "name": "build", "status": "PASS", "seconds": 111.545 }, { "name": "smoke", "status": "PASS", "seconds": 5.633 }, { "name": "idempotency", "status": "PASS", "seconds": 29.348 }, { "name": "persistence", "status": "PASS", "seconds": 67.221, "previous_attempts": [ { "name": "persistence", "command": [ "C:\\Program Files\\Python313\\python.exe", "-X", "utf8", "tests/resilience.py", "--mode", "persistence", "--action-script", "scripts/restart.cmd", "--base-url", "http://127.0.0.1:18080" ], "started": "2026-10-29T07:04:39.453013+00:00", "exit_code": 1, "status": "FAIL", "summary": [ "FAIL: POST /api/v1/auth/sessions: connection/TLS failure (TimeoutError)" ], "seconds": 4.127, "before": [ { "service": "api", "id": "59513a0f1aa197641380462f8e38b5adaa6b357a47706ca491c928ed1165836f", "image": "sha256:06d717266f9eb248c84149e88685ee0210b33bf314b5c1101f22316a0845bb77", "started_at": "2026-10-29T06:07:59.836057453Z", "status": "running", "health": "healthy", "exit_code": 0, "cpu": 1.0, "memory_mib": 512.0, "pool_max": "15", "command": [ "sh", "-c", "INSTANCE_ID=$(hostname) exec node dist/main.js" ], "ports": {}, "volumes": [] }, { "service": "api", "id": "2b698ec1d9d8fb3ee4d76493516083373f3a70fec109ed5ea2d68c796e35c266", "image": "sha256:06d717266f9eb248c84149e88685ee0210b33bf314b5c1101f22316a0845bb77", "started_at": "2026-10-29T06:08:01.64283855Z", "status": "running", "health": "healthy", "exit_code": 0, "cpu": 1.0, "memory_mib": 512.0, "pool_max": "15", "command": [ "sh", "-c", "INSTANCE_ID=$(hostname) exec node dist/main.js" ], "ports": {}, "volumes": [] }, { "service": "migrate", "id": "54712687d1545d3c3f31e0a7f2ea644d35c44b36506065018df8c486cdf33d3c", "image": "sha256:56e5b742612fa59b4e0bb09de668b4d6357e97d9811fe862f06f6bc3fa5aa858", "started_at": "2026-10-28T05:10:21.875696751Z", "status": "exited", "health": null, "exit_code": 0, "cpu": 1.0, "memory_mib": 512.0, "pool_max": null, "command": [ "pnpm", "db:deploy" ], "ports": {}, "volumes": [] }, { "service": "nginx", "id": "0891b089ad4712a7f9899383b09755ceda41793c5fecd8cba6ef07568a38aedb", "image": "sha256:47928bf67eb62a1863cb08d9ecb52d3e704304ba614eaee17884204677702951", "started_at": "2026-10-28T06:10:10.779592253Z", "status": "running", "health": null, "exit_code": 0, "cpu": 0.5, "memory_mib": 128.0, "pool_max": null, "command": null, "ports": { "80/tcp": [ { "HostIp": "127.0.0.1", "HostPort": "18080" } ] }, "volumes": [] }, { "service": "postgres", "id": "d9f3adf56ca819973772bd039136681490c66c49d4630dc5bd62ea37fadd69d3", "image": "sha256:f3bd19c606e442c3d7bdfa8002e03fe260a1023351e0ea4598032022b68dd6e3", "started_at": "2026-10-28T14:36:47.68132306Z", "status": "running", "health": "healthy", "exit_code": 0, "cpu": 1.0, "memory_mib": 512.0, "pool_max": null, "command": [ "postgres" ], "ports": {}, "volumes": [ { "name": "mtusi2026lab3-fork_postgres_data", "destination": "/var/lib/postgresql/data" } ] }, { "service": "redis", "id": "a2ece96bc2f0b98b2b0a805c4a2ef6fd1e634b81c568554f80d018493494c189", "image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08", "started_at": "2026-10-28T05:10:13.154306946Z", "status": "running", "health": "healthy", "exit_code": 0, "cpu": 0.5, "memory_mib": 256.0, "pool_max": null, "command": [ "redis-server", "--appendonly", "yes", "--appendfsync", "everysec" ], "ports": {}, "volumes": [ { "name": "mtusi2026lab3-fork_redis_data", "destination": "/data" } ] } ], "after": [ { "service": "api", "id": "59513a0f1aa197641380462f8e38b5adaa6b357a47706ca491c928ed1165836f", "image": "sha256:06d717266f9eb248c84149e88685ee0210b33bf314b5c1101f22316a0845bb77", "started_at": "2026-10-29T06:07:59.836057453Z", "status": "running", "health": "healthy", "exit_code": 0, "cpu": 1.0, "memory_mib": 512.0, "pool_max": "15", "command": [ "sh", "-c", "INSTANCE_ID=$(hostname) exec node dist/main.js" ], "ports": {}, "volumes": [] }, { "service": "api", "id": "2b698ec1d9d8fb3ee4d76493516083373f3a70fec109ed5ea2d68c796e35c266", "image": "sha256:06d717266f9eb248c84149e88685ee0210b33bf314b5c1101f22316a0845bb77", "started_at": "2026-10-29T06:08:01.64283855Z", "status": "running", "health": "healthy", "exit_code": 0, "cpu": 1.0, "memory_mib": 512.0, "pool_max": "15", "command": [ "sh", "-c", "INSTANCE_ID=$(hostname) exec node dist/main.js" ], "ports": {}, "volumes": [] }, { "service": "migrate", "id": "54712687d1545d3c3f31e0a7f2ea644d35c44b36506065018df8c486cdf33d3c", "image": "sha256:56e5b742612fa59b4e0bb09de668b4d6357e97d9811fe862f06f6bc3fa5aa858", "started_at": "2026-10-28T05:10:21.875696751Z", "status": "exited", "health": null, "exit_code": 0, "cpu": 1.0, "memory_mib": 512.0, "pool_max": null, "command": [ "pnpm", "db:deploy" ], "ports": {}, "volumes": [] }, { "service": "nginx", "id": "0891b089ad4712a7f9899383b09755ceda41793c5fecd8cba6ef07568a38aedb", "image": "sha256:47928bf67eb62a1863cb08d9ecb52d3e704304ba614eaee17884204677702951", "started_at": "2026-10-28T06:10:10.779592253Z", "status": "running", "health": null, "exit_code": 0, "cpu": 0.5, "memory_mib": 128.0, "pool_max": null, "command": null, "ports": { "80/tcp": [ { "HostIp": "127.0.0.1", "HostPort": "18080" } ] }, "volumes": [] }, { "service": "postgres", "id": "d9f3adf56ca819973772bd039136681490c66c49d4630dc5bd62ea37fadd69d3", "image": "sha256:f3bd19c606e442c3d7bdfa8002e03fe260a1023351e0ea4598032022b68dd6e3", "started_at": "2026-10-28T14:36:47.68132306Z", "status": "running", "health": "healthy", "exit_code": 0, "cpu": 1.0, "memory_mib": 512.0, "pool_max": null, "command": [ "postgres" ], "ports": {}, "volumes": [ { "name": "mtusi2026lab3-fork_postgres_data", "destination": "/var/lib/postgresql/data" } ] }, { "service": "redis", "id": "a2ece96bc2f0b98b2b0a805c4a2ef6fd1e634b81c568554f80d018493494c189", "image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08", "started_at": "2026-10-28T05:10:13.154306946Z", "status": "running", "health": "healthy", "exit_code": 0, "cpu": 0.5, "memory_mib": 256.0, "pool_max": null, "command": [ "redis-server", "--appendonly", "yes", "--appendfsync", "everysec" ], "ports": {}, "volumes": [ { "name": "mtusi2026lab3-fork_redis_data", "destination": "/data" } ] } ], "containers_restarted": false, "volumes_preserved": true } ] }, { "name": "public-failover", "status": "PASS", "seconds": 21.481 }, { "name": "grade4-resources", "status": "PASS", "seconds": 5.274 }, { "name": "grade4-failover", "status": "PASS", "seconds": 84.687 }, { "name": "grade4-rolling", "status": "PASS", "seconds": 101.997 }, { "name": "shutdown", "status": "PASS", "seconds": 30.821 }, { "name": "migration-compatibility", "status": "PASS", "seconds": 109.738 }, { "name": "final-smoke", "status": "PASS", "seconds": 4.523, "previous_attempts": [ { "name": "final-smoke", "command": [ "C:\\Program Files\\Python313\\python.exe", "-X", "utf8", "tests/smoke.py", "--base-url", "http://127.0.0.1:18080" ], "started": "2026-10-29T07:11:04.242618+00:00", "exit_code": 0, "status": "PASS", "summary": [ "PASS: lab3 public API scenario; infrastructure and grading evidence remain separate." ], "seconds": 13.841 } ] } ] }, "source_sha256": { "src/main.ts": "03937f0187c2b14c763a63df55def5fda8254d5a07ebbc51a406e4c4219bb96b", "src/app.controller.ts": "c234b39a9ae914c1fdc47933f2e722920b1d20730ed827c7869f45f0af5fa7e6", "src/common/http/fastify-adapter.ts": "6fb2906d67c32f27d393e620a93b7acc693afe3a61a14d6557afaf5572b7a307", "infra/start-nginx.sh": "718dc03233bd837242216a37c77394c1b5952c49072ac15ddb2056f88d38b03a", "scripts/stop-one.sh": "9d1853a721fdc96654110c2843a9e6ffe6d8091336045294e089164649334a16", "scripts/restart.sh": "40d314e8310e8d1bad347a8a2d4d443e4e9e8daa3cf0f5cb67d52246cef8b338", "test/check_shutdown.py": "30a26b7b1fdb8a35ee9cfac135ee4883eb342a74fc79d2672c80e06f0c891732" }, "final": [ { "service": "api", "id": "d39b4687b5d9627707a20076abe3470ba614df7719e2300b540c3103a50ca0c7", "image": "sha256:61f1bfcd07cf183463d6ac162cf1aa23766f5cf2e0a0503dcbdeb0b762d764e6", "started_at": "2026-10-29T08:25:06.075178523Z", "status": "running", "health": "healthy", "exit_code": 0, "cpu": 1.0, "memory_mib": 512.0, "pool_max": "15", "command": [ "sh", "-c", "INSTANCE_ID=$(hostname) exec node dist/main.js" ], "ports": {}, "volumes": [] }, { "service": "api", "id": "0e7cb1e5ae362e9ee4303c22f3d798d0e1ebf732614d8d0d8ba5203a9dd9ca3b", "image": "sha256:61f1bfcd07cf183463d6ac162cf1aa23766f5cf2e0a0503dcbdeb0b762d764e6", "started_at": "2026-10-29T08:19:18.936985562Z", "status": "running", "health": "healthy", "exit_code": 0, "cpu": 1.0, "memory_mib": 512.0, "pool_max": "15", "command": [ "sh", "-c", "INSTANCE_ID=$(hostname) exec node dist/main.js" ], "ports": {}, "volumes": [] }, { "service": "migrate", "id": "54712687d1545d3c3f31e0a7f2ea644d35c44b36506065018df8c486cdf33d3c", "image": "sha256:56e5b742612fa59b4e0bb09de668b4d6357e97d9811fe862f06f6bc3fa5aa858", "started_at": "2026-10-28T05:10:21.875696751Z", "status": "exited", "health": null, "exit_code": 0, "cpu": 1.0, "memory_mib": 512.0, "pool_max": null, "command": [ "pnpm", "db:deploy" ], "ports": {}, "volumes": [] }, { "service": "nginx", "id": "0891b089ad4712a7f9899383b09755ceda41793c5fecd8cba6ef07568a38aedb", "image": "sha256:47928bf67eb62a1863cb08d9ecb52d3e704304ba614eaee17884204677702951", "started_at": "2026-10-29T08:15:50.076114459Z", "status": "running", "health": null, "exit_code": 0, "cpu": 0.5, "memory_mib": 128.0, "pool_max": null, "command": null, "ports": { "80/tcp": [ { "HostIp": "127.0.0.1", "HostPort": "18080" } ] }, "volumes": [] }, { "service": "postgres", "id": "d9f3adf56ca819973772bd039136681490c66c49d4630dc5bd62ea37fadd69d3", "image": "sha256:f3bd19c606e442c3d7bdfa8002e03fe260a1023351e0ea4598032022b68dd6e3", "started_at": "2026-10-29T08:15:21.521775403Z", "status": "running", "health": "healthy", "exit_code": 0, "cpu": 1.0, "memory_mib": 512.0, "pool_max": null, "command": [ "postgres" ], "ports": {}, "volumes": [ { "name": "mtusi2026lab3-fork_postgres_data", "destination": "/var/lib/postgresql/data" } ] }, { "service": "redis", "id": "a2ece96bc2f0b98b2b0a805c4a2ef6fd1e634b81c568554f80d018493494c189", "image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08", "started_at": "2026-10-29T08:15:21.468775476Z", "status": "running", "health": "healthy", "exit_code": 0, "cpu": 0.5, "memory_mib": 256.0, "pool_max": null, "command": [ "redis-server", "--appendonly", "yes", "--appendfsync", "everysec" ], "ports": {}, "volumes": [ { "name": "mtusi2026lab3-fork_redis_data", "destination": "/data" } ] } ], "all_executed_checks_pass": true, "finished": "2026-10-29T08:25:25.769451+00:00", "source_before_recheck_sha256": { "src/main.ts": "03937f0187c2b14c763a63df55def5fda8254d5a07ebbc51a406e4c4219bb96b", "src/app.controller.ts": "c234b39a9ae914c1fdc47933f2e722920b1d20730ed827c7869f45f0af5fa7e6", "src/common/http/fastify-adapter.ts": "6fb2906d67c32f27d393e620a93b7acc693afe3a61a14d6557afaf5572b7a307", "infra/start-nginx.sh": "718dc03233bd837242216a37c77394c1b5952c49072ac15ddb2056f88d38b03a", "scripts/stop-one.sh": "9d1853a721fdc96654110c2843a9e6ffe6d8091336045294e089164649334a16", "scripts/restart.sh": "40d314e8310e8d1bad347a8a2d4d443e4e9e8daa3cf0f5cb67d52246cef8b338", "test/check_shutdown.py": "ed4a9bb2ec76ceff1529c8b5ac2683bb8d65f3998b967beeb0dec565a9cd25fb" }, "recheck_started": "2026-10-29T08:24:42.421679+00:00", "post_cleanup": { "evidence_files": [ "checks.json", "improvements.png", "measurements.json", "scaling.csv", "scaling.png" ], "retained_runs": 54, "readme_count": 0, "local_document_links_valid": true, "draining_verified": true, "report_sha256": "002db8a1a3b5014e395e14b3c39bb0d01aea4eb67f183464c6deaf62183cab9d" } }