forked from mtusi2026/mtusi2026lab5
112 lines
4.2 KiB
JSON
112 lines
4.2 KiB
JSON
{
|
|
"persistence": {
|
|
"status": "PASS",
|
|
"before": {
|
|
"postgres": {
|
|
"id": "52dc31d0bffdf348ef3e53c9d2828152997e4c75416af7b19fe837c4102b683a",
|
|
"started_at": "2026-11-02T13:57:41.143467097Z"
|
|
},
|
|
"redis": {
|
|
"id": "ade5ef52cec5df789f052224c1b54a3cdb087fc4aa8193e496252052558076f1",
|
|
"started_at": "2026-11-02T13:57:41.19192493Z"
|
|
},
|
|
"s3": {
|
|
"id": "380e323fa3e1c06dca1f45faa9cc747b0a10779dd83865c764b64bd033f19af5",
|
|
"started_at": "2026-11-02T14:02:09.541073263Z"
|
|
},
|
|
"broker": {
|
|
"id": "19e7320d3b1318079de372520e4596155ecb1e0e0c3c8e186b17701eee32d9b0",
|
|
"started_at": "2026-11-02T14:00:51.091309254Z"
|
|
},
|
|
"api1": {
|
|
"id": "cfb68d8c5736a1804823e8ef1f5f70c3a9fda18d1e60ee8b6770187ca3eab92c",
|
|
"started_at": "2026-11-02T14:00:51.126274796Z"
|
|
},
|
|
"api2": {
|
|
"id": "615dd320898997f574ae62ab70aa552558af0d397ecb9119d049a89adc15c7cc",
|
|
"started_at": "2026-11-02T14:00:51.059763046Z"
|
|
},
|
|
"dispatcher": {
|
|
"id": "a9fdb7fdc7894bfb5d2d9e84541d0e7c0ef7f90daf3f813e8cc1bc14f8d3a996",
|
|
"started_at": "2026-11-02T14:00:54.751197006Z"
|
|
},
|
|
"worker": {
|
|
"id": "e15232a06d7ba3d9651f8e06a4970f019bcf17b320fcbd75808b0a8a5f552e50",
|
|
"started_at": "2026-11-02T14:02:12.627305167Z"
|
|
},
|
|
"cleanup": {
|
|
"id": "57020b4bfd31c96021c84fc1bd45f0d707a86a9893e407d3e54be347a8fa2585",
|
|
"started_at": "2026-11-02T14:00:34.065026385Z"
|
|
},
|
|
"nginx": {
|
|
"id": "c6d8af4081cad86a95d921fcfc0e2551f08ac6dd3121f82eb373d6e06243a744",
|
|
"started_at": "2026-11-02T13:57:51.356519046Z"
|
|
}
|
|
},
|
|
"after": {
|
|
"postgres": {
|
|
"id": "52dc31d0bffdf348ef3e53c9d2828152997e4c75416af7b19fe837c4102b683a",
|
|
"started_at": "2026-11-02T14:02:16.780510585Z"
|
|
},
|
|
"redis": {
|
|
"id": "ade5ef52cec5df789f052224c1b54a3cdb087fc4aa8193e496252052558076f1",
|
|
"started_at": "2026-11-02T14:02:16.852362044Z"
|
|
},
|
|
"s3": {
|
|
"id": "380e323fa3e1c06dca1f45faa9cc747b0a10779dd83865c764b64bd033f19af5",
|
|
"started_at": "2026-11-02T14:02:16.759127877Z"
|
|
},
|
|
"broker": {
|
|
"id": "19e7320d3b1318079de372520e4596155ecb1e0e0c3c8e186b17701eee32d9b0",
|
|
"started_at": "2026-11-02T14:02:16.819876127Z"
|
|
},
|
|
"api1": {
|
|
"id": "cfb68d8c5736a1804823e8ef1f5f70c3a9fda18d1e60ee8b6770187ca3eab92c",
|
|
"started_at": "2026-11-02T14:02:20.787831545Z"
|
|
},
|
|
"api2": {
|
|
"id": "615dd320898997f574ae62ab70aa552558af0d397ecb9119d049a89adc15c7cc",
|
|
"started_at": "2026-11-02T14:02:20.762466754Z"
|
|
},
|
|
"dispatcher": {
|
|
"id": "a9fdb7fdc7894bfb5d2d9e84541d0e7c0ef7f90daf3f813e8cc1bc14f8d3a996",
|
|
"started_at": "2026-11-02T14:02:20.621504045Z"
|
|
},
|
|
"worker": {
|
|
"id": "e15232a06d7ba3d9651f8e06a4970f019bcf17b320fcbd75808b0a8a5f552e50",
|
|
"started_at": "2026-11-02T14:02:21.417775004Z"
|
|
},
|
|
"cleanup": {
|
|
"id": "57020b4bfd31c96021c84fc1bd45f0d707a86a9893e407d3e54be347a8fa2585",
|
|
"started_at": "2026-11-02T14:02:20.651516837Z"
|
|
},
|
|
"nginx": {
|
|
"id": "c6d8af4081cad86a95d921fcfc0e2551f08ac6dd3121f82eb373d6e06243a744",
|
|
"started_at": "2026-11-02T14:02:27.213374173Z"
|
|
}
|
|
}
|
|
},
|
|
"failover": [
|
|
{
|
|
"status": "PASS",
|
|
"stopped_service": "api1",
|
|
"confirmed_messages": 68,
|
|
"transient_failures": 0,
|
|
"first_survivor_seconds": 0.838,
|
|
"original_preserved": true
|
|
},
|
|
{
|
|
"status": "PASS",
|
|
"stopped_service": "api2",
|
|
"confirmed_messages": 67,
|
|
"transient_failures": 1,
|
|
"first_survivor_seconds": 0.845,
|
|
"original_preserved": true
|
|
}
|
|
],
|
|
"public_failover": {
|
|
"status": "PASS",
|
|
"output": "python3 tests/resilience.py --mode failover --action-script \"scripts/stop-one.sh\" --base-url \"http://localhost:18085\" \nExecuting explicit failover hook; hook output suppressed to avoid leaking secrets.\n{\"observed_instances_before\": 2, \"successful_writes\": 132, \"failed_attempts\": 0, \"first_recovery_seconds\": 0.835}\nPASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence."
|
|
}
|
|
}
|