{ "date_utc": "2026-11-25T14:42:04.183312+00:00", "checks": [ { "name": "init", "command": [ "python3", "-m", "scripts.init_local" ], "exit_code": 0, "duration_seconds": 1.848, "result": "PASS" }, { "name": "contract", "command": [ "python3", "scripts/check_contract.py" ], "exit_code": 0, "duration_seconds": 0.241, "result": "PASS" }, { "name": "openapi", "command": [ "python3", "scripts/validate_openapi.py" ], "exit_code": 0, "duration_seconds": 1.842, "result": "PASS" }, { "name": "compose", "command": [ "docker", "compose", "--env-file", ".env", "config", "--quiet" ], "exit_code": 0, "duration_seconds": 0.269, "result": "PASS" }, { "name": "openbao", "command": [ "docker", "compose", "--env-file", ".env", "up", "-d", "--no-build", "--pull", "never", "openbao" ], "exit_code": 0, "duration_seconds": 10.737, "result": "PASS" }, { "name": "bootstrap", "command": [ "python3", "-m", "scripts.bootstrap_bao", "--port", "28200" ], "exit_code": 0, "duration_seconds": 1.329, "result": "PASS" }, { "name": "startup", "command": [ "docker", "compose", "--env-file", ".env", "up", "-d", "--no-build", "--pull", "never" ], "exit_code": 0, "duration_seconds": 31.953, "result": "PASS" }, { "name": "readiness", "command": [ "docker", "compose", "--env-file", ".env", "up", "-d", "--no-deps", "--wait", "--wait-timeout", "240", "nginx", "grafana" ], "exit_code": 0, "duration_seconds": 25.369, "result": "PASS" }, { "name": "test-database", "command": [ "docker", "compose", "--env-file", ".env", "exec", "-T", "postgres", "sh", "-ec", "createdb -U \"$POSTGRES_USER\" \"${POSTGRES_DB}_test\"" ], "exit_code": 0, "duration_seconds": 0.661, "result": "PASS" }, { "name": "regression", "command": [ "python3", "-m", "pytest", "-q" ], "exit_code": 0, "duration_seconds": 120.31, "result": "PASS", "summary": "208 passed in 115.11s (0:01:55)" }, { "name": "api", "command": [ "python3", "tests/smoke.py", "--base-url", "https://localhost:28080" ], "exit_code": 0, "duration_seconds": 3.159, "result": "PASS", "summary": [ "PASS: lab7 public API scenario; infrastructure and grading evidence remain separate." ] }, { "name": "observability", "command": [ "python3", "-m", "scripts.check_observability", "--base-url", "https://localhost:28080", "--grafana-url", "https://localhost:23000", "--incidents", "--restart-telemetry" ], "exit_code": 0, "duration_seconds": 302.685, "result": "PASS", "summary": [ "PASS: telemetry, dashboard, privacy, correlations; alerts and outage recovery verified" ] }, { "name": "persistence", "command": [ "python3", "tests/resilience.py", "--mode", "persistence", "--action-script", "scripts/restart.sh", "--base-url", "https://localhost:28080" ], "exit_code": 0, "duration_seconds": 42.621, "result": "PASS", "summary": [ "Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.", "PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence." ] }, { "name": "external-tls", "command": [ "python3", "tests/security.py", "--base-url", "https://localhost:28080" ], "exit_code": 0, "duration_seconds": 0.504, "result": "PASS", "summary": [ "PASS: trusted HTTPS works; untrusted CA rejected. This does NOT verify internal mTLS, OpenBao or hardening." ] }, { "name": "security", "command": [ "python3", "-m", "scripts.check_security", "--base-url", "https://localhost:28080", "--bao-port", "28200" ], "exit_code": 0, "duration_seconds": 19.178, "result": "PASS", "summary": [ "PASS: ограничения контейнеров, роли PostgreSQL и префиксы S3", "PASS: mTLS allow/deny на всех API-репликах", "PASS: TLS-зависимости, mTLS identity и ACL RabbitMQ/Collector", "PASS: OpenBao cert roles, KV allow/deny, TTL", "PASS: login burst 25 за 0.34 с, 10 проверок на 2 репликах, 15 ограничений", "PASS: hostname, ACL, logout, expiry, 429/Retry-After, 413", "PASS: Argon2id, медиана 34.3 мс, 24 проверки на 2 потоках за 1.01 с, CPU 36.6 мс/проверку, пиковый RSS 83.9 MiB" ] }, { "name": "lifecycle", "command": [ "python3", "-m", "scripts.check_lifecycle", "--base-url", "https://localhost:28080", "--bao-port", "28200" ], "exit_code": 0, "duration_seconds": 12.176, "result": "PASS", "summary": [ "PASS: короткоживущий токен теряет доступ после TTL", "OpenBao распечатан", "PASS: при seal текущий API готов, новая выдача запрещена", "PASS: пароль PostgreSQL и клиентский сертификат worker заменены без сборки", "PASS: старый leaf и токен отозваны, worker обработал вложение с новым паролем" ] }, { "name": "failover", "command": [ "python3", "tests/resilience.py", "--mode", "failover", "--action-script", "scripts/stop-one.sh", "--base-url", "https://localhost:28080" ], "exit_code": 0, "duration_seconds": 19.117, "result": "PASS", "summary": [ "Executing explicit failover hook; hook output suppressed to avoid leaking secrets.", "{\"observed_instances_before\": 2, \"successful_writes\": 108, \"failed_attempts\": 5, \"first_recovery_seconds\": 2.572}", "PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence." ] }, { "name": "scan", "command": [ "python3", "-m", "scripts.scan_security" ], "exit_code": 0, "duration_seconds": 131.467, "result": "PASS", "summary": [ "Результаты Trivy сохранены в evidence/security-scan.json" ] } ], "profile": { "single_stack": true, "load_duration_seconds": 10, "load_requests_per_second": 10, "load_concurrency": 2 }, "result": "PASS", "cleanup": { "project": "messenger-lab7-test", "remaining": { "containers": [], "networks": [], "volumes": [] }, "result": "PASS" }, "finished_at_utc": "2026-11-25T14:54:22.290789+00:00" }