44 lines
2.3 KiB
Plaintext
44 lines
2.3 KiB
Plaintext
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
|
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
|
|
labkos_two-api-1 labkos-two-api:lab2 "python -m messenger" api 9 seconds ago Up 7 seconds (healthy) 127.0.0.1:8080->8080/tcp
|
|
labkos_two-migrate-1 labkos-two-api:lab2 "python -m messenger…" migrate 2 minutes ago Exited (0) 2 minutes ago
|
|
labkos_two-postgres-1 postgres:17.6-bookworm "docker-entrypoint.s…" postgres 2 minutes ago Up About a minute (healthy) 5432/tcp
|
|
labkos_two-redis-1 redis:7.4.6-bookworm "docker-entrypoint.s…" redis 2 minutes ago Up About a minute (healthy) 6379/tcp
|
|
Applied: 001_initial
|
|
Schema is up to date
|
|
PASS: lab2 public API scenario; infrastructure and grading evidence remain separate.
|
|
Before full restart (UTC)
|
|
/labkos_two-api-1 2026-11-05T22:42:13.724276004Z
|
|
/labkos_two-postgres-1 2026-11-05T22:40:53.482741183Z
|
|
/labkos_two-redis-1 2026-11-05T22:40:51.310589866Z
|
|
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 full restart (UTC)
|
|
/labkos_two-api-1 2026-11-05T22:42:39.6528577Z
|
|
/labkos_two-postgres-1 2026-11-05T22:42:39.378949085Z
|
|
/labkos_two-redis-1 2026-11-05T22:42:39.28935528Z
|
|
appendonly
|
|
yes
|
|
appendfsync
|
|
always
|
|
synchronous_commit
|
|
--------------------
|
|
on
|
|
(1 row)
|
|
|
|
fsync
|
|
-------
|
|
on
|
|
(1 row)
|
|
|
|
PASS registration race (6 concurrent attempts): [201, 409, 409, 409, 409, 409]
|
|
PASS Basic login with a Unicode password containing a colon
|
|
PASS rollback: HTTP 400 and zero rows for rejected chat in PostgreSQL
|
|
PASS wrong password=401, logout=204, revoked token=401
|
|
PASS Redis session key has TTL (3597s left)
|
|
PASS redis outage: live=200 ready=503 Bearer=503 (2.012s) anonymous=401; same token after start (0.060s from docker compose start return)
|
|
PASS Redis restart did not revive revoked session
|
|
PASS postgres outage: live=200 ready=503 Bearer=503 (2.011s) anonymous=401; same token after start (0.088s from docker compose start return)
|
|
PASS 2s expiry: same token 200 before deadline and 401 after deadline
|
|
PASS manual PowerShell login, chat, message and history from REPORT.md
|