The carry over of the lab 2 fixes changed the request pipeline, logout,
the worker shutdown budget and the stop hooks, so every level 3 and 4
record is taken again on b1c80ee: checks, own tests, smoke, stack,
storage, failover of both replicas, persistence, hooks, the lab 2 stack
tests, limits and the injected violations, lb-check, three detection
runs, failover-each and both rolling updates under k6.
All of them pass: 243 own tests, 12 stack tests, no failed request under
k6 in failover-each and in both rolling updates.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
40 lines
3.1 KiB
Plaintext
40 lines
3.1 KiB
Plaintext
date: 2026-10-29T23:43:49Z commit: b1c80ee
|
|
== before: api replicas (hostname = X-Instance-Id), state, StartedAt, FinishedAt
|
|
286766bf2b32 running started=2026-10-29T23:43:39.158178679Z finished=0001-01-01T00:00:00Z
|
|
fa81adafcb69 running started=2026-10-29T23:43:39.090674429Z finished=0001-01-01T00:00:00Z
|
|
$ make test-failover ACTION_SCRIPT=scripts/stop-one.sh
|
|
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "http://127.0.0.1:18083"
|
|
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
|
|
{"observed_instances_before": 2, "successful_writes": 139, "failed_attempts": 0, "first_recovery_seconds": 2.639}
|
|
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
|
|
== after: api replicas
|
|
286766bf2b32 exited started=2026-10-29T23:43:39.158178679Z finished=2026-10-29T23:43:52.024916004Z
|
|
fa81adafcb69 running started=2026-10-29T23:43:39.090674429Z finished=0001-01-01T00:00:00Z
|
|
== stopped replica: 286766bf2b32; shutdown: signal, drain window with readiness 503, close, exit
|
|
{"event":"Handling signal: term","level":"info","ts":"2026-10-29T23:43:49.617159Z"}
|
|
{"event":"Draining for 2.0 s","level":"info","ts":"2026-10-29T23:43:49.672659Z"}
|
|
{"event":"Draining for 2.0 s","level":"info","ts":"2026-10-29T23:43:49.716939Z"}
|
|
{"method":"GET","route":"/health/ready","status":503,"request_id":"544aa3fd6a1842c9bb7b309f3f9e1022","duration_ms":0.346,"event":"request.handled","level":"info","ts":"2026-10-29T23:43:50.343893Z"}
|
|
{"method":"GET","route":"/health/ready","status":503,"request_id":"c3ffdaf835ee43f99e15261c6daa2509","duration_ms":0.241,"event":"request.handled","level":"info","ts":"2026-10-29T23:43:50.466790Z"}
|
|
{"method":"GET","route":"/health/ready","status":503,"request_id":"bae40f2979f741cc89c1c8b50bde43bd","duration_ms":0.295,"event":"request.handled","level":"info","ts":"2026-10-29T23:43:50.845919Z"}
|
|
{"event":"Shutting down","level":"info","ts":"2026-10-29T23:43:51.673360Z"}
|
|
{"event":"Shutting down","level":"info","ts":"2026-10-29T23:43:51.717342Z"}
|
|
{"event":"service.stopped","level":"info","ts":"2026-10-29T23:43:51.776477Z"}
|
|
{"event":"Finished server process [20]","level":"info","ts":"2026-10-29T23:43:51.776615Z"}
|
|
{"event":"service.stopped","level":"info","ts":"2026-10-29T23:43:51.820679Z"}
|
|
{"event":"Finished server process [13]","level":"info","ts":"2026-10-29T23:43:51.820809Z"}
|
|
{"event":"Worker (pid:13) was sent SIGTERM!","level":"info","ts":"2026-10-29T23:43:51.852336Z"}
|
|
{"event":"Worker (pid:20) was sent SIGTERM!","level":"info","ts":"2026-10-29T23:43:51.852411Z"}
|
|
{"event":"Shutting down: Master","level":"info","ts":"2026-10-29T23:43:51.953368Z"}
|
|
$ scripts/restore.sh
|
|
Container mtusi2026lab3-api-2 Running
|
|
Container mtusi2026lab3-api-1 Starting
|
|
Container mtusi2026lab3-api-1 Started
|
|
Container mtusi2026lab3-api-2 Waiting
|
|
Container mtusi2026lab3-api-1 Waiting
|
|
Container mtusi2026lab3-api-2 Healthy
|
|
Container mtusi2026lab3-api-1 Healthy
|
|
== after restore
|
|
286766bf2b32 running started=2026-10-29T23:44:05.033337427Z finished=2026-10-29T23:43:52.024916004Z
|
|
fa81adafcb69 running started=2026-10-29T23:43:39.090674429Z finished=0001-01-01T00:00:00Z
|