Files
mtusi2026lab2/evidence/verification.json
T

61 lines
3.3 KiB
JSON

{
"timestamp_utc": "2026-10-22T10:24:03.697760+00:00",
"host": "Windows-11-10.0.26200-SP0",
"base_url": "http://127.0.0.1:8080",
"checks": [
{
"command": "scripts/check_contract.py",
"exit_code": 0,
"seconds": 0.106,
"stdout": "PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.",
"stderr": ""
},
{
"command": "tests/smoke.py --base-url http://127.0.0.1:8080",
"exit_code": 0,
"seconds": 0.829,
"stdout": "PASS: lab2 public API scenario; infrastructure and grading evidence remain separate.",
"stderr": ""
},
{
"command": "tests/resilience.py --mode persistence --action-script scripts/restart.cmd --base-url http://127.0.0.1:8080",
"exit_code": 0,
"seconds": 5.869,
"stdout": "Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.\nPASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.",
"stderr": ""
},
{
"command": "student-tests/integration.py",
"exit_code": 0,
"seconds": 19.568,
"stdout": "PASS: races, rollback, KDF, cache hit/loss/outage, DB outage, migration replay, expiry, logout",
"stderr": ""
},
{
"command": "student-tests/research.py",
"exit_code": 0,
"seconds": 27.163,
"stdout": "PASS: 100000 messages, two indexes/read-write measurements, backup restored to new database with matching content\n{\"read_middle_ms\": {\"chat_only\": 8.986, \"keyset\": 0.097}, \"restore_seconds\": 0.779}",
"stderr": ""
},
{
"command": "tests/load.py --base-url http://127.0.0.1:8080 --duration 30 --concurrency 4 --output evidence/load.json",
"exit_code": 0,
"seconds": 30.647,
"stdout": "{\n \"lab\": 2,\n \"workload\": \"closed-loop POST messages; no automatic retries\",\n \"requested_duration_seconds\": 30.0,\n \"elapsed_seconds\": 30.135,\n \"concurrency\": 4,\n \"successful_requests\": 15594,\n \"failed_requests\": 0,\n \"error_ratio\": 0.0,\n \"successful_rps\": 517.47,\n \"successful_latency_ms\": {\n \"p50\": 4.73,\n \"p95\": 24.602,\n \"p99\": 29.299\n },\n \"note\": \"Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead.\"\n}",
"stderr": ""
}
],
"restart_before": [
"\"/mtusi-lab2-api-1\" \"848d079a208b3cfc9983752a913cf731e723739703108ebc5e46f8a47c2cca8d\" \"2026-10-22T10:23:03.052015698Z\" \"running\"",
"\"/mtusi-lab2-postgres-1\" \"1543f104c8a8e6c5f198f5b942014c0e5ef95bf627210975c01d7f36b76cc7be\" \"2026-10-22T10:22:46.693936115Z\" \"running\"",
"\"/mtusi-lab2-redis-1\" \"1e84e689b4244d86e68d64e517d57a2548955aa2739db83146c3d302833bb853\" \"2026-10-22T10:22:46.359922669Z\" \"running\""
],
"restart_after": [
"\"/mtusi-lab2-api-1\" \"848d079a208b3cfc9983752a913cf731e723739703108ebc5e46f8a47c2cca8d\" \"2026-10-22T10:24:10.361747033Z\" \"running\"",
"\"/mtusi-lab2-postgres-1\" \"1543f104c8a8e6c5f198f5b942014c0e5ef95bf627210975c01d7f36b76cc7be\" \"2026-10-22T10:24:06.279071946Z\" \"running\"",
"\"/mtusi-lab2-redis-1\" \"1e84e689b4244d86e68d64e517d57a2548955aa2739db83146c3d302833bb853\" \"2026-10-22T10:24:06.140891322Z\" \"running\""
],
"restart_scope_verified": true
}