Добавить результаты проверок и отчёт

This commit is contained in:
gera
2026-10-23 01:00:01 +03:00
parent cdd20c667f
commit adf6c4da5c
9 changed files with 183 additions and 15 deletions
+2
View File
@@ -0,0 +1,2 @@
{"observed_instances_before": 2, "successful_writes": 145, "failed_attempts": 0, "first_recovery_seconds": 3.416}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
+5
View File
@@ -0,0 +1,5 @@
{"observed_instances_before": 2, "successful_writes": 145, "failed_attempts": 0, "first_recovery_seconds": 3.415}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
mtusi2026lab3-api-5 Up About a minute (healthy)
mtusi2026lab3-api-6 Exited (0) 11 seconds ago
mtusi2026lab2-api-1 Exited (128) 2 days ago
+71
View File
@@ -0,0 +1,71 @@
{
"baseline": {
"window_seconds": 6,
"successful_requests": 5971,
"failed_attempts": 0,
"successful_rps": 995.2,
"last_error_offset_seconds": null,
"instances": [
"10d7197fe55d",
"f6ed4d4ee4a9"
]
},
"replicas": [
{
"stopped_replica": "10d7197fe55d",
"during_failure": {
"window_seconds": 15.29,
"successful_requests": 14488,
"failed_attempts": 0,
"successful_rps": 947.6,
"last_error_offset_seconds": null,
"instances": [
"10d7197fe55d",
"f6ed4d4ee4a9"
]
},
"seen_stopped_replica_after_stop": false,
"stop_command_seconds": 3.29,
"restore_seconds": 5.74,
"after_restore": {
"window_seconds": 7.0,
"successful_requests": 6921,
"failed_attempts": 0,
"successful_rps": 988.7,
"last_error_offset_seconds": null,
"instances": [
"10d7197fe55d",
"f6ed4d4ee4a9"
]
}
},
{
"stopped_replica": "f6ed4d4ee4a9",
"during_failure": {
"window_seconds": 15.31,
"successful_requests": 14713,
"failed_attempts": 0,
"successful_rps": 961.2,
"last_error_offset_seconds": null,
"instances": [
"10d7197fe55d",
"f6ed4d4ee4a9"
]
},
"seen_stopped_replica_after_stop": false,
"stop_command_seconds": 3.31,
"restore_seconds": 5.72,
"after_restore": {
"window_seconds": 7.0,
"successful_requests": 6900,
"failed_attempts": 0,
"successful_rps": 985.7,
"last_error_offset_seconds": null,
"instances": [
"10d7197fe55d",
"f6ed4d4ee4a9"
]
}
}
]
}
+1
View File
@@ -0,0 +1 @@
PASS: 32 parallel requests, 1 message, 2 instances
+5
View File
@@ -0,0 +1,5 @@
mtusi2026lab3-api-5 65.68MiB / 128MiB 0.07%
mtusi2026lab3-api-6 3.09MiB / 128MiB 0.08%
mtusi2026lab3-lb-1 19.93MiB / 128MiB 0.09%
mtusi2026lab3-valkey-1 4.043MiB / 128MiB 0.21%
mtusi2026lab3-postgres-1 179.9MiB / 512MiB 0.15%
+2
View File
@@ -0,0 +1,2 @@
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
+24
View File
@@ -0,0 +1,24 @@
{
"old_replicas": [
"226c5e9378fa",
"abdb789868c1"
],
"new_replicas": [
"e3aafe78ed80",
"400d26a30e0c"
],
"update_window": {
"window_seconds": 13.7,
"successful_requests": 13478,
"failed_attempts": 4,
"successful_rps": 983.8,
"last_error_offset_seconds": 11.23,
"instances": [
"226c5e9378fa",
"400d26a30e0c",
"abdb789868c1",
"e3aafe78ed80"
]
},
"old_replicas_served_after_update": []
}
+2
View File
@@ -0,0 +1,2 @@
python3 tests/smoke.py --base-url "http://localhost:8080"
PASS: lab3 public API scenario; infrastructure and grading evidence remain separate.