Files
mtusi2026lab3/evidence/failover.json
T

81 lines
2.5 KiB
JSON

[
{
"attempt": 1,
"stdout": "python3 tests/resilience.py --mode failover --action-script \"scripts/stop-one.sh\" --base-url \"http://localhost:8080\" \nExecuting explicit failover hook; hook output suppressed to avoid leaking secrets.\n{\"observed_instances_before\": 2, \"successful_writes\": 127, \"failed_attempts\": 2, \"first_recovery_seconds\": 0.943}\nPASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.\n",
"stopped": [
"mtusi_lab3_solution-api-2"
],
"inventory_after": [
{
"name": "mtusi_lab3_solution-api-1",
"state": "running",
"id": "df99611f85a5"
},
{
"name": "mtusi_lab3_solution-api-2",
"state": "exited",
"id": "f18cd1dcf85a"
},
{
"name": "mtusi_lab3_solution-lb-1",
"state": "running",
"id": "65e8ba0676ab"
},
{
"name": "mtusi_lab3_solution-migrate-1",
"state": "exited",
"id": "407405e4541b"
},
{
"name": "mtusi_lab3_solution-postgres-1",
"state": "running",
"id": "c6fd4157c969"
},
{
"name": "mtusi_lab3_solution-redis-1",
"state": "running",
"id": "7f022c81e357"
}
]
},
{
"attempt": 2,
"stdout": "python3 tests/resilience.py --mode failover --action-script \"scripts/stop-one.sh\" --base-url \"http://localhost:8080\" \nExecuting explicit failover hook; hook output suppressed to avoid leaking secrets.\n{\"observed_instances_before\": 2, \"successful_writes\": 127, \"failed_attempts\": 2, \"first_recovery_seconds\": 0.94}\nPASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.\n",
"stopped": [
"mtusi_lab3_solution-api-1"
],
"inventory_after": [
{
"name": "mtusi_lab3_solution-api-1",
"state": "exited",
"id": "df99611f85a5"
},
{
"name": "mtusi_lab3_solution-api-2",
"state": "running",
"id": "f18cd1dcf85a"
},
{
"name": "mtusi_lab3_solution-lb-1",
"state": "running",
"id": "65e8ba0676ab"
},
{
"name": "mtusi_lab3_solution-migrate-1",
"state": "exited",
"id": "407405e4541b"
},
{
"name": "mtusi_lab3_solution-postgres-1",
"state": "running",
"id": "c6fd4157c969"
},
{
"name": "mtusi_lab3_solution-redis-1",
"state": "running",
"id": "7f022c81e357"
}
]
}
]