forked from mtusi2026/mtusi2026lab6
Реализована лабораторная 6 на оценку 4
This commit is contained in:
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"persistence": {
|
||||
"status": "PASS",
|
||||
"before": {
|
||||
"postgres": {
|
||||
"id": "06797da995bb6cc6fd69a2c251fd6204992b74dbcf630110c59172dde5fb401f",
|
||||
"started_at": "2026-11-08T15:44:15.618563595Z"
|
||||
},
|
||||
"redis": {
|
||||
"id": "e2f09b5ae65d8667339960a5649429b6e7abf22d5a20ca9de44846e2394aef6f",
|
||||
"started_at": "2026-11-08T15:30:58.770536504Z"
|
||||
},
|
||||
"s3": {
|
||||
"id": "0326a0c248bc89fa1630815b6824af8e03bf57029c88c297bcdf46c2cdc9deb2",
|
||||
"started_at": "2026-11-08T15:49:47.995548388Z"
|
||||
},
|
||||
"broker": {
|
||||
"id": "632478d263786461c5e7a9179bdc88c4e910712d58cf30ae2ba0efcc5317a1f3",
|
||||
"started_at": "2026-11-08T15:48:29.192814837Z"
|
||||
},
|
||||
"api1": {
|
||||
"id": "b2523eba3a14f02311e1a7dabc2b5e3a0459ce74dc22248559ae919bb33c96bd",
|
||||
"started_at": "2026-11-08T15:48:29.295995045Z"
|
||||
},
|
||||
"api2": {
|
||||
"id": "9c3bccf975647eaa0052335faeab360fc199b8aaddc6f1d437009b6a876a1c6f",
|
||||
"started_at": "2026-11-08T15:48:29.25367792Z"
|
||||
},
|
||||
"dispatcher": {
|
||||
"id": "d6579f5458efcd35d21d93efe9d64ee27661251275a73137b0cc690f2fc65133",
|
||||
"started_at": "2026-11-08T15:48:33.042620172Z"
|
||||
},
|
||||
"worker": {
|
||||
"id": "d5975de80120800bd179bad7284ebf92477094d11b14ae423c159b4d42930f5f",
|
||||
"started_at": "2026-11-08T15:49:50.782883Z"
|
||||
},
|
||||
"cleanup": {
|
||||
"id": "aef4f262490e1e616b6c83d8005a1d13286e1b7be5b0389a252315ad66814fdb",
|
||||
"started_at": "2026-11-08T15:37:02.146939838Z"
|
||||
},
|
||||
"nginx": {
|
||||
"id": "652643855d5b97cea36ab41ada3ebef618fd894c5a3e9d603759de32b040f65c",
|
||||
"started_at": "2026-11-08T15:31:08.673401883Z"
|
||||
},
|
||||
"otel-collector": {
|
||||
"id": "3fcb612ac0c6c3a701d25f66e63b2abfb123ad0390c55f5f2dd795a2f3aa8c2d",
|
||||
"started_at": "2026-11-08T15:37:11.526894135Z"
|
||||
},
|
||||
"prometheus": {
|
||||
"id": "a3bad0ed0a03b0d8edc3450830d449ccb6564dfbc3e913674804b82868a9e838",
|
||||
"started_at": "2026-11-08T15:37:11.547627051Z"
|
||||
},
|
||||
"loki": {
|
||||
"id": "6713f6f19668716725bd24a7c5e6c8ab6240d2455b2775b854802702f8d24826",
|
||||
"started_at": "2026-11-08T15:30:58.761601837Z"
|
||||
},
|
||||
"tempo": {
|
||||
"id": "63377b0fc325bad816738019c191e909751609ca9a5f4ed469896fc6112e0ed2",
|
||||
"started_at": "2026-11-08T15:45:47.664199012Z"
|
||||
},
|
||||
"grafana": {
|
||||
"id": "f25430cfedacb0b2a4935bb8a51b63568efffc491fe672b99d3acdd3d02dd6e1",
|
||||
"started_at": "2026-11-08T15:43:16.869937387Z"
|
||||
}
|
||||
},
|
||||
"after": {
|
||||
"postgres": {
|
||||
"id": "06797da995bb6cc6fd69a2c251fd6204992b74dbcf630110c59172dde5fb401f",
|
||||
"started_at": "2026-11-08T15:49:56.430728377Z"
|
||||
},
|
||||
"redis": {
|
||||
"id": "e2f09b5ae65d8667339960a5649429b6e7abf22d5a20ca9de44846e2394aef6f",
|
||||
"started_at": "2026-11-08T15:49:56.462037627Z"
|
||||
},
|
||||
"s3": {
|
||||
"id": "0326a0c248bc89fa1630815b6824af8e03bf57029c88c297bcdf46c2cdc9deb2",
|
||||
"started_at": "2026-11-08T15:49:56.369172627Z"
|
||||
},
|
||||
"broker": {
|
||||
"id": "632478d263786461c5e7a9179bdc88c4e910712d58cf30ae2ba0efcc5317a1f3",
|
||||
"started_at": "2026-11-08T15:49:56.495397377Z"
|
||||
},
|
||||
"api1": {
|
||||
"id": "b2523eba3a14f02311e1a7dabc2b5e3a0459ce74dc22248559ae919bb33c96bd",
|
||||
"started_at": "2026-11-08T15:50:00.454242921Z"
|
||||
},
|
||||
"api2": {
|
||||
"id": "9c3bccf975647eaa0052335faeab360fc199b8aaddc6f1d437009b6a876a1c6f",
|
||||
"started_at": "2026-11-08T15:50:00.410223588Z"
|
||||
},
|
||||
"dispatcher": {
|
||||
"id": "d6579f5458efcd35d21d93efe9d64ee27661251275a73137b0cc690f2fc65133",
|
||||
"started_at": "2026-11-08T15:50:00.216710712Z"
|
||||
},
|
||||
"worker": {
|
||||
"id": "d5975de80120800bd179bad7284ebf92477094d11b14ae423c159b4d42930f5f",
|
||||
"started_at": "2026-11-08T15:50:01.05319863Z"
|
||||
},
|
||||
"cleanup": {
|
||||
"id": "aef4f262490e1e616b6c83d8005a1d13286e1b7be5b0389a252315ad66814fdb",
|
||||
"started_at": "2026-11-08T15:50:00.312024754Z"
|
||||
},
|
||||
"nginx": {
|
||||
"id": "652643855d5b97cea36ab41ada3ebef618fd894c5a3e9d603759de32b040f65c",
|
||||
"started_at": "2026-11-08T15:50:06.843809007Z"
|
||||
},
|
||||
"otel-collector": {
|
||||
"id": "3fcb612ac0c6c3a701d25f66e63b2abfb123ad0390c55f5f2dd795a2f3aa8c2d",
|
||||
"started_at": "2026-11-08T15:50:06.749767799Z"
|
||||
},
|
||||
"prometheus": {
|
||||
"id": "a3bad0ed0a03b0d8edc3450830d449ccb6564dfbc3e913674804b82868a9e838",
|
||||
"started_at": "2026-11-08T15:50:06.911832507Z"
|
||||
},
|
||||
"loki": {
|
||||
"id": "6713f6f19668716725bd24a7c5e6c8ab6240d2455b2775b854802702f8d24826",
|
||||
"started_at": "2026-11-08T15:50:07.253593966Z"
|
||||
},
|
||||
"tempo": {
|
||||
"id": "63377b0fc325bad816738019c191e909751609ca9a5f4ed469896fc6112e0ed2",
|
||||
"started_at": "2026-11-08T15:50:07.025957216Z"
|
||||
},
|
||||
"grafana": {
|
||||
"id": "f25430cfedacb0b2a4935bb8a51b63568efffc491fe672b99d3acdd3d02dd6e1",
|
||||
"started_at": "2026-11-08T15:50:07.067742257Z"
|
||||
}
|
||||
}
|
||||
},
|
||||
"failover": [
|
||||
{
|
||||
"status": "PASS",
|
||||
"stopped_service": "api1",
|
||||
"confirmed_messages": 68,
|
||||
"transient_failures": 0,
|
||||
"first_survivor_seconds": 0.829,
|
||||
"original_preserved": true
|
||||
},
|
||||
{
|
||||
"status": "PASS",
|
||||
"stopped_service": "api2",
|
||||
"confirmed_messages": 69,
|
||||
"transient_failures": 0,
|
||||
"first_survivor_seconds": 0.727,
|
||||
"original_preserved": true
|
||||
}
|
||||
],
|
||||
"public_failover": {
|
||||
"status": "PASS",
|
||||
"output": "python3 tests/resilience.py --mode failover --action-script \"scripts/stop-one.sh\" --base-url \"http://localhost:18086\" \nExecuting explicit failover hook; hook output suppressed to avoid leaking secrets.\n{\"observed_instances_before\": 2, \"successful_writes\": 131, \"failed_attempts\": 0, \"first_recovery_seconds\": 1.059}\nPASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence."
|
||||
},
|
||||
"telemetry_history_preserved": true,
|
||||
"metric_history_before_restart": {
|
||||
"unix_time": 1794152996.911832,
|
||||
"http_counter_sum": 3161.0
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user