Files
mtusi2026lab2/evidence/clean-clone.json
T

118 lines
4.6 KiB
JSON

{
"date": "2026-11-07T05:26:38.162144+00:00",
"source_commit": "8e3e16a8a6ea07f6a2b8615045735f812299e3d1",
"fresh_secrets_environment_and_volumes": true,
"command": "python scripts/verify_clean.py",
"fixed_host_port_for_restart": 49287,
"static_checks": ".venv/bin/python scripts/check_contract.py\nPASS: offline skeleton structure, local refs and Python syntax; application NOT tested.\n.venv/bin/python scripts/validate_openapi.py\nPASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.\n<home>/.local/bin/uv run --locked ruff format src student-tests research scripts/bootstrap.py scripts/stand.py scripts/verify_*.py\n26 files left unchanged\n<home>/.local/bin/uv run --locked ruff check src student-tests research scripts/bootstrap.py scripts/stand.py scripts/verify_*.py\nAll checks passed!",
"internal_store_ports_not_published": true,
"smoke": "python3 tests/smoke.py --base-url \"http://127.0.0.1:49287\" \nPASS: lab2 public API scenario; infrastructure and grading evidence remain separate.",
"http_tests": "........................................................................ [ 93%]\n..... [100%]\n77 passed in 86.00s (0:01:25)",
"public_persistence": "python3 tests/resilience.py --mode persistence --action-script \"scripts/restart.sh\" --base-url \"http://127.0.0.1:49287\" \nExecuting explicit persistence hook; hook output suppressed to avoid leaking secrets.\nPASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.",
"verify_lifecycle": {
"date": "2026-11-07T05:28:29.159541+00:00",
"commit": "8e3e16a8a6ea07f6a2b8615045735f812299e3d1",
"command": "python -m scripts.verify_lifecycle",
"runtime_source_hashes_match": true,
"image_revision": "8e3e16a8a6ea07f6a2b8615045735f812299e3d1",
"persistence": {
"absolute_expiry_unchanged": true,
"same_token": true,
"same_message": true,
"before": {
"api": {
"container": "4cc53c6190ac",
"pid": 89123,
"started_at": "2026-11-07T05:28:24.620912381Z"
},
"postgres": {
"container": "910b02e40597",
"pid": 88965,
"started_at": "2026-11-07T05:28:24.260037964Z"
},
"cache": {
"container": "d47529714a4a",
"pid": 88983,
"started_at": "2026-11-07T05:28:24.279300006Z"
}
},
"after": {
"api": {
"container": "4cc53c6190ac",
"pid": 89990,
"started_at": "2026-11-07T05:28:30.971012968Z"
},
"postgres": {
"container": "910b02e40597",
"pid": 89812,
"started_at": "2026-11-07T05:28:30.640581301Z"
},
"cache": {
"container": "d47529714a4a",
"pid": 89865,
"started_at": "2026-11-07T05:28:30.700865926Z"
}
},
"seconds": 5.304535000002943
},
"migration_repeat": "PASS",
"bootstrap_preserves_secrets": true,
"credential_storage": {
"argon2id": true,
"digest_bytes": 32,
"raw_password_and_token_absent_in_dump": true
},
"cache_hits": 20,
"cache_stopped": {
"status": 200,
"seconds": 0.013735125001403503
},
"cache_flush_preserves_truth": true,
"postgres_pause": {
"cache_card_present_before_failure": true,
"status": 503,
"seconds": 4.019069417001447,
"cached_identity_not_trusted": true
},
"postgres_stop": {
"cache_card_present_before_failure": true,
"status": 503,
"seconds": 0.005429041993920691,
"cached_identity_not_trusted": true
},
"chat_transaction_rollback": {
"injected_failure_status": 500,
"remaining_chat_rows": 0
},
"expiry": {
"ttl_seconds": 2,
"status_after_expiry": 401
},
"logout_after_cache_hit": "PASS",
"result": "PASS"
},
"verify_pool": {
"date": "2026-11-07T05:29:04.541663+00:00",
"commit": "8e3e16a8a6ea07f6a2b8615045735f812299e3d1",
"command": "python -m scripts.verify_pool",
"pool_size": 1,
"blocked_insert_observed_in_pg_stat_activity": true,
"pool_wait_seconds": 1.0053121249948163,
"pool_timeout_status": 503,
"statement_timeout_status": 503,
"failed_write_rolled_back": true,
"write_after_recovery": 201,
"result": "PASS"
},
"applied_migration_checksum_guard": "PASS",
"research_repeated": {
"result": "PASS",
"messages": 101110,
"plans": 90,
"restored_snapshot_equal": true
},
"fsck": "",
"checks_completed": true,
"result": "PASS"
}