Files
mtusi2026lab5/evidence/sqlalchemy-2026-11-06/grade3/upload-failover.txt
T

49 lines
1.7 KiB
Plaintext

date: 2026-11-06T06:24:32Z commit: 24a51744f521aa585e50a931d0a0219d2e960197
environment: {"COMPOSE_PROJECT_NAME": "mtusi2026lab5", "COMPOSE_FILE": "compose.yaml", "LB_HTTP_PORT": "18085", "LB_STATS_PORT": "25085", "BASE_URL": "http://127.0.0.1:18085", "NO_PROXY": "localhost,127.0.0.1,::1", "API_IMAGE": "mtusi-messenger:lab5-sqlalchemy"}
$ python3 scripts/lab4_scenarios.py failover-upload --restore --output evidence/sqlalchemy-2026-11-06/grade3/upload-failover.json
{
"ok": true,
"date": "2026-11-06T06:24:32Z",
"commit": "24a51744f521aa585e50a931d0a0219d2e960197",
"scenario": "failover-upload",
"upload_instance": "3bf90c220136",
"download_instance": "6bd46345a6dc",
"sha256_equal": true,
"hook_seconds": 2.786,
"download_ok_after_seconds": 2.792,
"replicas_at_download": [
{
"hostname": "6bd46345a6dc",
"status": "running",
"exit_code": "0",
"started_at": "2026-11-06T06:23:40.589066048Z",
"finished_at": "2026-11-06T06:23:40.500729381Z"
},
{
"hostname": "3bf90c220136",
"status": "exited",
"exit_code": "0",
"started_at": "2026-11-06T06:23:40.499634298Z",
"finished_at": "2026-11-06T06:24:35.851252087Z"
}
],
"restored": true,
"replicas_after_restore": [
{
"hostname": "6bd46345a6dc",
"status": "running",
"exit_code": "0",
"started_at": "2026-11-06T06:23:40.589066048Z",
"finished_at": "2026-11-06T06:23:40.500729381Z"
},
{
"hostname": "3bf90c220136",
"status": "running",
"exit_code": "0",
"started_at": "2026-11-06T06:24:36.218028629Z",
"finished_at": "2026-11-06T06:24:35.851252087Z"
}
]
}
exit_code: 0 elapsed_seconds: 5.867