Implement lab 3 level 4 failover and idempotency
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -0,0 +1,122 @@
|
||||
{
|
||||
"compose_lb_limits_ports_migration_layout": {
|
||||
"detail": "",
|
||||
"elapsed_seconds": 2.072,
|
||||
"status": "PASS"
|
||||
},
|
||||
"failover_0080d3d43aa4": {
|
||||
"detail": "",
|
||||
"elapsed_seconds": 34.004,
|
||||
"status": "PASS"
|
||||
},
|
||||
"failover_205a7b7445b3": {
|
||||
"detail": "",
|
||||
"elapsed_seconds": 34.2,
|
||||
"status": "PASS"
|
||||
},
|
||||
"health_live_ready": {
|
||||
"detail": "",
|
||||
"elapsed_seconds": 0.064,
|
||||
"status": "PASS"
|
||||
},
|
||||
"idempotency_access_rechecked_after_membership_change": {
|
||||
"detail": "hook revoke_access exited 1; inspect it locally",
|
||||
"elapsed_seconds": 2.382,
|
||||
"status": "FAIL"
|
||||
},
|
||||
"idempotency_after_client_timeout": {
|
||||
"detail": "",
|
||||
"elapsed_seconds": 1.222,
|
||||
"status": "PASS"
|
||||
},
|
||||
"idempotency_after_disconnected_client": {
|
||||
"detail": "",
|
||||
"elapsed_seconds": 0.854,
|
||||
"status": "PASS"
|
||||
},
|
||||
"idempotency_concurrent_cross_replica": {
|
||||
"detail": "",
|
||||
"elapsed_seconds": 0.286,
|
||||
"status": "PASS"
|
||||
},
|
||||
"idempotency_key_boundaries": {
|
||||
"detail": "",
|
||||
"elapsed_seconds": 0.059,
|
||||
"status": "PASS"
|
||||
},
|
||||
"idempotency_replay_across_replica": {
|
||||
"detail": "",
|
||||
"elapsed_seconds": 0.168,
|
||||
"status": "PASS"
|
||||
},
|
||||
"idempotency_replay_and_conflict": {
|
||||
"detail": "",
|
||||
"elapsed_seconds": 0.022,
|
||||
"status": "PASS"
|
||||
},
|
||||
"idempotency_session_and_foreign_access": {
|
||||
"detail": "",
|
||||
"elapsed_seconds": 0.836,
|
||||
"status": "PASS"
|
||||
},
|
||||
"idempotency_setup_and_suite": {
|
||||
"detail": "",
|
||||
"elapsed_seconds": 11.557,
|
||||
"status": "PASS"
|
||||
},
|
||||
"idempotency_survives_restart": {
|
||||
"detail": "",
|
||||
"elapsed_seconds": 4.488,
|
||||
"status": "PASS"
|
||||
},
|
||||
"idempotency_user_chat_scope": {
|
||||
"detail": "",
|
||||
"elapsed_seconds": 0.019,
|
||||
"status": "PASS"
|
||||
},
|
||||
"lb_excludes_unready_replica": {
|
||||
"detail": "",
|
||||
"elapsed_seconds": 13.552,
|
||||
"status": "PASS"
|
||||
},
|
||||
"lb_health_timing": {
|
||||
"detail": "",
|
||||
"elapsed_seconds": 0.18,
|
||||
"status": "PASS"
|
||||
},
|
||||
"migrations_started_once": {
|
||||
"detail": "configure hooks.migration_evidence to count actual migration starts",
|
||||
"elapsed_seconds": 0.0,
|
||||
"status": "PENDING_INFRA"
|
||||
},
|
||||
"public_lb_failover": {
|
||||
"detail": "",
|
||||
"elapsed_seconds": 71.278,
|
||||
"status": "PASS"
|
||||
},
|
||||
"public_make_test": {
|
||||
"detail": "",
|
||||
"elapsed_seconds": 3.519,
|
||||
"status": "PASS"
|
||||
},
|
||||
"public_make_test_failover_both_replicas": {
|
||||
"detail": "",
|
||||
"elapsed_seconds": 49.716,
|
||||
"status": "PASS"
|
||||
},
|
||||
"public_make_test_persistence": {
|
||||
"detail": "",
|
||||
"elapsed_seconds": 12.142,
|
||||
"status": "PASS"
|
||||
},
|
||||
"rolling_update_under_load": {
|
||||
"detail": "rolling update had request errors",
|
||||
"elapsed_seconds": 22.167,
|
||||
"status": "FAIL"
|
||||
},
|
||||
"sigterm_drains_and_stops_accepting": {
|
||||
"detail": "",
|
||||
"elapsed_seconds": 21.12,
|
||||
"status": "PASS"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
python3 tests/resilience.py --mode failover --action-script "/Users/olegromanovich/Library/Mobile Documents/com~apple~CloudDocs/Пары/Высоконагруженные приложения/HighLoad/scripts/stop-one.sh" --base-url "http://127.0.0.1:49160"
|
||||
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
|
||||
{"observed_instances_before": 2, "successful_writes": 107, "failed_attempts": 1, "first_recovery_seconds": 2.772}
|
||||
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
@@ -0,0 +1,4 @@
|
||||
python3 tests/resilience.py --mode failover --action-script "/Users/olegromanovich/Library/Mobile Documents/com~apple~CloudDocs/Пары/Высоконагруженные приложения/HighLoad/scripts/stop-one.sh" --base-url "http://127.0.0.1:49160"
|
||||
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
|
||||
{"observed_instances_before": 2, "successful_writes": 97, "failed_attempts": 1, "first_recovery_seconds": 4.667}
|
||||
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
@@ -0,0 +1,3 @@
|
||||
python3 tests/resilience.py --mode persistence --action-script "/Users/olegromanovich/Library/Mobile Documents/com~apple~CloudDocs/Пары/Высоконагруженные приложения/HighLoad/scripts/restart.sh" --base-url "http://127.0.0.1:49160"
|
||||
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
|
||||
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
@@ -0,0 +1,2 @@
|
||||
python3 tests/smoke.py --base-url "http://127.0.0.1:49160"
|
||||
PASS: lab3 public API scenario; infrastructure and grading evidence remain separate.
|
||||
Reference in New Issue
Block a user