Files
mtusi2026lab3/evidence/public-checks.txt
T

67 lines
5.9 KiB
Plaintext

PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
bruh_lab3-api-3 bruh-lab3-api:local "python -m messenger" api 2 minutes ago Up 2 minutes (healthy) 8080/tcp
bruh_lab3-api-4 bruh-lab3-api:local "python -m messenger" api 2 minutes ago Up 2 minutes (healthy) 8080/tcp
bruh_lab3-lb-1 haproxy:3.2.12-alpine "docker-entrypoint.s…" lb 5 seconds ago Up 3 seconds (healthy) 127.0.0.1:8081->8080/tcp
bruh_lab3-migrate-1 sha256:3482b32c94c1065cb1df310ccc35f5a0594ca577ecb0e3dd492e5842a624799f "python -m messenger…" migrate 10 minutes ago Exited (0) 6 minutes ago
bruh_lab3-postgres-1 postgres:17.6-bookworm "docker-entrypoint.s…" postgres 10 minutes ago Up 6 minutes (healthy) 5432/tcp
bruh_lab3-redis-1 redis:7.4.6-bookworm "docker-entrypoint.s…" redis 10 minutes ago Up 6 minutes (healthy) 6379/tcp
Applied: 001_initial, 002_message_requests
Schema is up to date
Schema is up to date
PASS: lab3 public API scenario; infrastructure and grading evidence remain separate.
Before restart (UTC)
/bruh_lab3-api-3 2026-11-05T23:38:49.72159878Z
/bruh_lab3-api-4 2026-11-05T23:38:54.359920283Z
/bruh_lab3-lb-1 2026-11-05T23:41:37.623541111Z
/bruh_lab3-postgres-1 2026-11-05T23:34:57.792671441Z
/bruh_lab3-redis-1 2026-11-05T23:34:57.877487028Z
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
After restart (UTC)
/bruh_lab3-api-3 2026-11-05T23:41:55.159614054Z
/bruh_lab3-api-4 2026-11-05T23:41:55.083328192Z
/bruh_lab3-lb-1 2026-11-05T23:41:54.760199725Z
/bruh_lab3-postgres-1 2026-11-05T23:41:54.520560824Z
/bruh_lab3-redis-1 2026-11-05T23:41:54.610324316Z
Before public failover
/bruh_lab3-api-3 120f4ffe45f4 running
/bruh_lab3-api-4 2c9c28e81f35 running
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 126, "failed_attempts": 2, "first_recovery_seconds": 2.024}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
After public failover
/bruh_lab3-api-3 120f4ffe45f4 running
/bruh_lab3-api-4 2c9c28e81f35 exited
After rolling replacement
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
bruh_lab3-api-5 bruh-lab3-api:local "python -m messenger" api 8 seconds ago Up 7 seconds (healthy) 8080/tcp
bruh_lab3-api-6 bruh-lab3-api:local "python -m messenger" api 4 seconds ago Up 3 seconds (health: starting) 8080/tcp
bruh_lab3-lb-1 haproxy:3.2.12-alpine "docker-entrypoint.s…" lb About a minute ago Up About a minute (healthy) 127.0.0.1:8081->8080/tcp
bruh_lab3-migrate-1 sha256:3482b32c94c1065cb1df310ccc35f5a0594ca577ecb0e3dd492e5842a624799f "python -m messenger…" migrate 11 minutes ago Exited (0) 7 minutes ago
bruh_lab3-postgres-1 postgres:17.6-bookworm "docker-entrypoint.s…" postgres 11 minutes ago Up About a minute (healthy) 5432/tcp
bruh_lab3-redis-1 redis:7.4.6-bookworm "docker-entrypoint.s…" redis 11 minutes ago Up About a minute (healthy) 6379/tcp
/bruh_lab3-api-5 cpus=1000000000 mem_bytes=402653184 published_ports={}
/bruh_lab3-api-6 cpus=1000000000 mem_bytes=402653184 published_ports={}
/bruh_lab3-lb-1 cpus=500000000 mem_bytes=100663296 published_ports={"8080/tcp":[{"HostIp":"127.0.0.1","HostPort":"8081"}]}
/bruh_lab3-migrate-1 cpus=500000000 mem_bytes=134217728 published_ports={}
/bruh_lab3-postgres-1 cpus=1000000000 mem_bytes=536870912 published_ports={}
/bruh_lab3-redis-1 cpus=500000000 mem_bytes=134217728 published_ports={}
bruh_lab3-api-5 30.36% 28.82MiB / 384MiB
bruh_lab3-api-6 28.16% 28.39MiB / 384MiB
bruh_lab3-lb-1 2.09% 76.11MiB / 96MiB
bruh_lab3-postgres-1 5.40% 31.93MiB / 512MiB
bruh_lab3-redis-1 0.42% 4.422MiB / 128MiB
Engine 29.3.1, CPUs 12, RAM 8011964416 B, OS Docker Desktop (containerized)
Docker Compose version v5.1.1
PASS: lab3 public API scenario; infrastructure and grading evidence remain separate.
Final ready aliases through HAProxy
x-instance-id: 1fc578fde21a
x-instance-id: 6143df6729b7
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
bruh_lab3-api-5 bruh-lab3-api:local "python -m messenger" api About a minute ago Up About a minute (healthy) 8080/tcp
bruh_lab3-api-6 bruh-lab3-api:local "python -m messenger" api About a minute ago Up About a minute (healthy) 8080/tcp
bruh_lab3-lb-1 haproxy:3.2.12-alpine "docker-entrypoint.s…" lb 2 minutes ago Up 2 minutes (healthy) 127.0.0.1:8081->8080/tcp
bruh_lab3-postgres-1 postgres:17.6-bookworm "docker-entrypoint.s…" postgres 12 minutes ago Up 2 minutes (healthy) 5432/tcp
bruh_lab3-redis-1 redis:7.4.6-bookworm "docker-entrypoint.s…" redis 12 minutes ago Up 2 minutes (healthy) 6379/tcp