Files
mtusi2026lab2/evidence/levels-3-4/summary.json
T

280 lines
7.2 KiB
JSON

{
"run_id": "20261106T104316Z-ed3f45",
"started_utc": "2026-11-06T10:43:16.282804Z",
"project": "lab2-verify-20261106t104316z-ed3f45",
"port": 18084,
"commit": "711754bbcd6e47a7b83d7f5c922f5f37f6bc0764",
"dirty": true,
"checks": [
{
"name": "fresh_build_and_start",
"status": "PASS",
"duration_seconds": 35.497,
"details": {
"new_project": "lab2-verify-20261106t104316z-ed3f45",
"initial_volumes": [
"lab2-verify-20261106t104316z-ed3f45_postgres_data",
"lab2-verify-20261106t104316z-ed3f45_redis_data"
]
}
},
{
"name": "public_check_and_smoke",
"status": "PASS",
"duration_seconds": 1.398,
"details": {
"check_exit": 0,
"smoke_exit": 0,
"covers": [
"wrong password",
"Basic rejected on private API",
"X-User-Id rejected/ignored",
"logout and revoked token",
"chat access and pagination"
]
}
},
{
"name": "schema_kdf_and_session_randomness",
"status": "PASS",
"duration_seconds": 0.873,
"details": {
"version": 5,
"fk_count": 4,
"password_kdf": "argon2id",
"password_profile": "m=65536,t=3,p=4",
"nonce_bytes": 32
}
},
{
"name": "configuration_compatibility",
"status": "PASS",
"duration_seconds": 4.543,
"details": {
"lifetime_seconds": {
"default": 3600,
"legacy": 86400,
"primary": 2
},
"invalid_configurations_rejected": 5
}
},
{
"name": "contract_validation_edges",
"status": "PASS",
"duration_seconds": 0.396,
"details": {
"cases": 14,
"invalid_uuid_status": 400,
"unknown_fields_status": 400,
"malformed_json_status": 400,
"unsupported_media_status": 415
}
},
{
"name": "repeat_migrations",
"status": "PASS",
"duration_seconds": 0.877,
"details": {
"before": {
"users": 6,
"chats": 2,
"members": 4,
"messages": 3,
"sessions": 9,
"version": 5
},
"after": {
"users": 6,
"chats": 2,
"members": 4,
"messages": 3,
"sessions": 9,
"version": 5
}
}
},
{
"name": "full_persistence",
"status": "PASS",
"duration_seconds": 25.771,
"details": {
"before": {
"api": "3da7e505efac4433644f050c577a9109c248ccf36699cd86a6694e1ccf3f5ba1",
"postgres": "f6f91429ae056a2acd9b39a463a03939743ef2934105f1e6454d84d40ac73eb2",
"redis": "ec0f4389e65b6ddaeb1b6b539016869fdde04bb00e7abea0820e304dfec6fe45"
},
"after": {
"api": "32585ed5f526683f83a7bea7d2b48b949561b7c61dc43a1159602ac36bf35c85",
"postgres": "d34a7cf3d4cfe8243132c7490df4333cf69b1d58819703a2eab8316b4a7b4854",
"redis": "7461556daa96d8a9857ec466ff6940dab06d7d204ee976f385e74638351543d8"
},
"volumes_preserved": [
"lab2-verify-20261106t104316z-ed3f45_postgres_data",
"lab2-verify-20261106t104316z-ed3f45_redis_data"
],
"previous_session_valid": true
}
},
{
"name": "username_registration_race",
"status": "PASS",
"duration_seconds": 0.264,
"details": {
"concurrency": 8,
"created": 1,
"conflicts": 7,
"rows": 1
}
},
{
"name": "chat_creation_rollback",
"status": "PASS",
"duration_seconds": 0.317,
"details": {
"before": {
"users": 10,
"chats": 3,
"members": 6,
"messages": 4,
"sessions": 12,
"version": 5
},
"after": {
"users": 10,
"chats": 3,
"members": 6,
"messages": 4,
"sessions": 12,
"version": 5
},
"failed_step": "member INSERT FK after chat INSERT",
"http_status": 400
}
},
{
"name": "history_20000_and_explain",
"status": "PASS",
"duration_seconds": 10.792,
"details": {
"messages": 20001,
"page_size": 100,
"plans": {
"first": {
"execution_ms": 0.04,
"returned": 101,
"nodes": [
"Limit",
"Index Scan"
]
},
"deep": {
"execution_ms": 0.082,
"returned": 101,
"nodes": [
"Limit",
"Index Scan"
]
}
}
}
},
{
"name": "session_expiry_seconds",
"status": "PASS",
"duration_seconds": 2.896,
"details": {
"session_ttl_seconds": 2,
"legacy_jwt_refresh": "24h",
"before": 200,
"after": 401,
"wait_seconds": 1.327
}
},
{
"name": "additional_authentication",
"status": "PASS",
"duration_seconds": 0.004,
"details": {
"forged_signature": 401,
"unknown_username": 401
}
},
{
"name": "redis_cache_and_failure",
"status": "PASS",
"duration_seconds": 1.697,
"details": {
"cold_sql": 1,
"warm_cache": true,
"outsider_status": 404,
"outage_ms": 62.898,
"startup_without_redis": true,
"recovered": true
}
},
{
"name": "postgres_failure_and_recovery",
"status": "PASS",
"duration_seconds": 0.552,
"details": {
"valid_session_status": 503,
"anonymous_status": 401,
"invalid_token_status": 401,
"ready": 503,
"live": 200,
"outage_ms": 2.511,
"readiness_ms": 10.516,
"previous_session_recovered": true
}
},
{
"name": "pool_limit_and_sql_deadline",
"status": "PASS",
"duration_seconds": 3.628,
"details": {
"test_limit": 2,
"observed_peak": 2,
"requests": 8,
"status": 503,
"durations_ms": [
2006.399,
2006.609,
2006.508,
2007.084,
2006.816,
2005.983,
2007.255,
2008.694
],
"restored_limit": 10,
"query_timeout_ms": 2000,
"connect_timeout_ms": 500
}
},
{
"name": "tracked_secrets_and_contract_audit",
"status": "PASS",
"duration_seconds": 0.078,
"details": {
"private_paths_tracked": 0,
"jwt_or_private_key_findings": 0,
"readme_contract_tests_unchanged": true,
"scope": "current tracked tree; complete Git history is not certified"
}
}
],
"scope": "isolated Compose; original stack is not restarted",
"docker": "29.7.2",
"resources": "linux/aarch64 CPUs=14 memory_bytes=8320954368",
"image": "sha256:0effe11ab9f4d860b5b79d6096ff95325336c752c0d5ca335878ec89baf4f269",
"service_source_sha256": "11bd17ca0b86a6db845ec7c2954c91fd8a870e1999ca45d708a546f0f863fb0e",
"success": true,
"retained_volumes": [
"lab2-verify-20261106t104316z-ed3f45_postgres_data",
"lab2-verify-20261106t104316z-ed3f45_redis_data"
],
"isolated_stack_stopped": true,
"ended_utc": "2026-11-06T10:44:52.582387Z"
}