forked from mtusi2026/mtusi2026lab7
171 lines
4.2 KiB
JSON
171 lines
4.2 KiB
JSON
{
|
|
"date_utc": "2026-11-21T13:08:31.144600+00:00",
|
|
"checks": [
|
|
{
|
|
"name": "contract",
|
|
"command": [
|
|
"/home/gytall/Projects/HLA/mtusi2026lab6-fork/.venv/bin/python",
|
|
"scripts/check_contract.py"
|
|
],
|
|
"exit_code": 0,
|
|
"duration_seconds": 0.209,
|
|
"result": "PASS"
|
|
},
|
|
{
|
|
"name": "openapi",
|
|
"command": [
|
|
"/home/gytall/Projects/HLA/mtusi2026lab6-fork/.venv/bin/python",
|
|
"scripts/validate_openapi.py"
|
|
],
|
|
"exit_code": 0,
|
|
"duration_seconds": 2.868,
|
|
"result": "PASS"
|
|
},
|
|
{
|
|
"name": "compose",
|
|
"command": [
|
|
"docker",
|
|
"compose",
|
|
"--env-file",
|
|
".env",
|
|
"config",
|
|
"--quiet"
|
|
],
|
|
"exit_code": 0,
|
|
"duration_seconds": 0.327,
|
|
"result": "PASS"
|
|
},
|
|
{
|
|
"name": "startup",
|
|
"command": [
|
|
"make",
|
|
"--no-print-directory",
|
|
"test-stand-up"
|
|
],
|
|
"exit_code": 0,
|
|
"duration_seconds": 67.291,
|
|
"result": "PASS"
|
|
},
|
|
{
|
|
"name": "regression",
|
|
"command": [
|
|
"make",
|
|
"--no-print-directory",
|
|
"test-unit",
|
|
"OTEL_ENABLED=false"
|
|
],
|
|
"exit_code": 0,
|
|
"duration_seconds": 92.962,
|
|
"result": "PASS",
|
|
"summary": "206 passed in 90.40s (0:01:30)"
|
|
},
|
|
{
|
|
"name": "api",
|
|
"command": [
|
|
"/home/gytall/Projects/HLA/mtusi2026lab6-fork/.venv/bin/python",
|
|
"tests/smoke.py",
|
|
"--base-url",
|
|
"https://localhost:28080"
|
|
],
|
|
"exit_code": 0,
|
|
"duration_seconds": 2.211,
|
|
"result": "PASS"
|
|
},
|
|
{
|
|
"name": "observability",
|
|
"command": [
|
|
"/home/gytall/Projects/HLA/mtusi2026lab6-fork/.venv/bin/python",
|
|
"-m",
|
|
"scripts.check_observability",
|
|
"--base-url",
|
|
"https://localhost:28080",
|
|
"--grafana-url",
|
|
"https://localhost:23000",
|
|
"--incidents",
|
|
"--restart-telemetry"
|
|
],
|
|
"exit_code": 0,
|
|
"duration_seconds": 283.806,
|
|
"result": "PASS"
|
|
},
|
|
{
|
|
"name": "persistence",
|
|
"command": [
|
|
"/home/gytall/Projects/HLA/mtusi2026lab6-fork/.venv/bin/python",
|
|
"tests/resilience.py",
|
|
"--mode",
|
|
"persistence",
|
|
"--action-script",
|
|
"scripts/restart.sh",
|
|
"--base-url",
|
|
"https://localhost:28080"
|
|
],
|
|
"exit_code": 0,
|
|
"duration_seconds": 39.793,
|
|
"result": "PASS"
|
|
},
|
|
{
|
|
"name": "external-tls",
|
|
"command": [
|
|
"/home/gytall/Projects/HLA/mtusi2026lab6-fork/.venv/bin/python",
|
|
"tests/security.py",
|
|
"--base-url",
|
|
"https://localhost:28080"
|
|
],
|
|
"exit_code": 0,
|
|
"duration_seconds": 0.194,
|
|
"result": "PASS"
|
|
},
|
|
{
|
|
"name": "security",
|
|
"command": [
|
|
"/home/gytall/Projects/HLA/mtusi2026lab6-fork/.venv/bin/python",
|
|
"-m",
|
|
"scripts.check_security",
|
|
"--base-url",
|
|
"https://localhost:28080",
|
|
"--bao-port",
|
|
"28200"
|
|
],
|
|
"exit_code": 0,
|
|
"duration_seconds": 14.192,
|
|
"result": "PASS",
|
|
"summary": [
|
|
"PASS: ограничения контейнеров, роли PostgreSQL и префиксы S3",
|
|
"PASS: mTLS allow/deny на всех API-репликах",
|
|
"PASS: OpenBao cert roles, KV allow/deny, TTL",
|
|
"PASS: hostname, ACL, logout, expiry, 429/Retry-After, 413",
|
|
"PASS: Argon2id, медиана проверки 39.1 мс (15 попыток)"
|
|
]
|
|
},
|
|
{
|
|
"name": "failover",
|
|
"command": [
|
|
"/home/gytall/Projects/HLA/mtusi2026lab6-fork/.venv/bin/python",
|
|
"tests/resilience.py",
|
|
"--mode",
|
|
"failover",
|
|
"--action-script",
|
|
"scripts/stop-one.sh",
|
|
"--base-url",
|
|
"https://localhost:28080"
|
|
],
|
|
"exit_code": 0,
|
|
"duration_seconds": 18.433,
|
|
"result": "PASS"
|
|
}
|
|
],
|
|
"profile": {
|
|
"single_stack": true,
|
|
"load_duration_seconds": 10,
|
|
"load_requests_per_second": 10,
|
|
"load_concurrency": 2
|
|
},
|
|
"result": "PASS",
|
|
"cleanup": {
|
|
"project": "messenger-lab7-test",
|
|
"result": "DEFERRED"
|
|
},
|
|
"finished_at_utc": "2026-11-21T13:17:13.431181+00:00"
|
|
}
|