Record levels 3 and 4 again after the lab 2 carry over

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
This commit is contained in:
Artyom
2026-10-30 02:53:12 +03:00
co-authored by Claude Opus 5.5
parent b1c80ee544
commit f5fea5c59c
62 changed files with 8057 additions and 8019 deletions
+5 -5
View File
@@ -1,5 +1,5 @@
20:22:06 migrate once before the first replacement
{"reason":"up to date","event":"migration.completed","level":"info","ts":"2026-10-29T20:22:07.446510Z"}
23:51:28 migrate once before the first replacement
{"reason":"up to date","event":"migration.completed","level":"info","ts":"2026-10-29T23:51:29.300225Z"}
Container mtusi2026lab3-api-3 Running
Container mtusi2026lab3-api-4 Running
Container mtusi2026lab3-api-5 Creating
@@ -12,7 +12,7 @@
Container mtusi2026lab3-api-5 Healthy
Container mtusi2026lab3-api-4 Healthy
Container mtusi2026lab3-api-3 Healthy
20:22:10 replace 87223df83cf4 image=0c4bf76a598b -> f6195843816a image=c442e2c3fb04
23:51:31 replace c84bddf582a8 image=cb0dac56ff0b -> 89953d9764bd image=c23101d9a13d
Container mtusi2026lab3-api-4 Running
Container mtusi2026lab3-api-5 Running
Container mtusi2026lab3-api-6 Creating
@@ -25,5 +25,5 @@
Container mtusi2026lab3-api-6 Healthy
Container mtusi2026lab3-api-5 Healthy
Container mtusi2026lab3-api-4 Healthy
20:22:15 replace 3103fc43b2e6 image=0c4bf76a598b -> 0d01b29fece8 image=c442e2c3fb04
20:22:18 done: 2 replicas replaced
23:51:37 replace 225f56282b82 image=cb0dac56ff0b -> 1f35898d8b4e image=c23101d9a13d
23:51:40 done: 2 replicas replaced
+1 -1
View File
@@ -1,2 +1,2 @@
time="2026-10-29T20:21:41Z" level=info msg=LOAD-START source=console
time="2026-10-29T23:51:03Z" level=info msg=LOAD-START source=console
measure: 9001 requests, failed ratio 0
+248 -248
View File
@@ -1,26 +1,4 @@
{
"root_group": {
"id": "d41d8cd98f00b204e9800998ecf8427e",
"groups": [],
"checks": [
{
"passes": 8032,
"fails": 0,
"name": "message 201",
"path": "::message 201",
"id": "6445aff337e1ade0bc10402fbac79882"
},
{
"fails": 0,
"name": "history 200",
"path": "::history 200",
"id": "fe27b3b8edd292c7f2170a6357b087d0",
"passes": 1970
}
],
"name": "",
"path": ""
},
"options": {
"summaryTrendStats": [
"avg",
@@ -37,35 +15,36 @@
"state": {
"isStdOutTTY": false,
"isStdErrTTY": false,
"testRunDurationMs": 100650.453422
"testRunDurationMs": 100634.875366
},
"metrics": {
"http_req_failed": {
"type": "rate",
"contains": "default",
"http_req_duration{expected_response:true}": {
"type": "trend",
"contains": "time",
"values": {
"passes": 0,
"fails": 10052,
"rate": 0
"med": 1.91925,
"p(90)": 2.909917,
"p(95)": 3.3839584999999985,
"p(99)": 6.050853999999995,
"max": 38.408167,
"avg": 2.1417379187145684,
"min": 0.987541
}
},
"http_reqs{scenario:measure}": {
"type": "counter",
"contains": "default",
"http_req_tls_handshaking": {
"type": "trend",
"contains": "time",
"values": {
"count": 9001,
"rate": 89.42831049415399
"p(99)": 0,
"max": 0,
"avg": 0,
"min": 0,
"med": 0,
"p(90)": 0,
"p(95)": 0
}
},
"http_reqs": {
"values": {
"rate": 99.87038963306698,
"count": 10052
},
"type": "counter",
"contains": "default"
},
"dropped_iterations": {
"dropped_iterations{scenario:measure}": {
"type": "counter",
"contains": "default",
"values": {
@@ -73,6 +52,186 @@
"rate": 0
}
},
"http_reqs": {
"type": "counter",
"contains": "default",
"values": {
"count": 10051,
"rate": 99.87591243538004
}
},
"http_req_receiving": {
"contains": "time",
"values": {
"p(95)": 0.0607085,
"p(99)": 0.09464599999999997,
"max": 1.598709,
"avg": 0.03376226345637239,
"min": 0.01025,
"med": 0.03,
"p(90)": 0.049792
},
"type": "trend"
},
"iterations": {
"type": "counter",
"contains": "default",
"values": {
"count": 10001,
"rate": 99.3790667860149
}
},
"http_reqs{scenario:measure}": {
"type": "counter",
"contains": "default",
"values": {
"rate": 89.44215379871214,
"count": 9001
}
},
"http_req_failed": {
"type": "rate",
"contains": "default",
"values": {
"rate": 0,
"passes": 0,
"fails": 10051
}
},
"http_req_waiting": {
"values": {
"p(90)": 2.841791,
"p(95)": 3.312916499999999,
"p(99)": 5.971687499999999,
"max": 38.337625,
"avg": 2.090384783703111,
"min": 0.961333,
"med": 1.86825
},
"type": "trend",
"contains": "time"
},
"vus": {
"type": "gauge",
"contains": "default",
"values": {
"value": 1,
"min": 0,
"max": 1
}
},
"http_req_duration{scenario:measure,name:get_history}": {
"type": "trend",
"contains": "time",
"values": {
"avg": 2.174970813688212,
"min": 1.103042,
"med": 1.970833,
"p(90)": 2.957042,
"p(95)": 3.34025,
"p(99)": 5.460608,
"max": 38.408167
}
},
"data_sent": {
"type": "counter",
"contains": "data",
"values": {
"count": 2922755,
"rate": 29043.162118204076
}
},
"http_req_blocked": {
"contains": "time",
"values": {
"max": 0.844375,
"avg": 0.003448670779026882,
"min": 0.000833,
"med": 0.002584,
"p(90)": 0.004125,
"p(95)": 0.004958,
"p(99)": 0.008041
},
"type": "trend"
},
"iteration_duration": {
"type": "trend",
"contains": "time",
"values": {
"p(99)": 5.120458,
"max": 38.544417,
"avg": 2.213861171482851,
"min": 1.044125,
"med": 2.037458,
"p(90)": 3.030125,
"p(95)": 3.503292
}
},
"http_req_connecting": {
"type": "trend",
"contains": "time",
"values": {
"max": 0.322167,
"avg": 0.00039240742214705006,
"min": 0,
"med": 0,
"p(90)": 0,
"p(95)": 0,
"p(99)": 0
}
},
"http_req_sending": {
"contains": "time",
"values": {
"min": 0.003334,
"med": 0.015875,
"p(90)": 0.023417,
"p(95)": 0.028667,
"p(99)": 0.05558349999999993,
"max": 0.310083,
"avg": 0.017590871555069176
},
"type": "trend"
},
"data_received": {
"type": "counter",
"contains": "data",
"values": {
"count": 25309203,
"rate": 251495.34798898196
}
},
"http_req_duration": {
"type": "trend",
"contains": "time",
"values": {
"p(99)": 6.050853999999995,
"max": 38.408167,
"avg": 2.1417379187145684,
"min": 0.987541,
"med": 1.91925,
"p(90)": 2.909917,
"p(95)": 3.3839584999999985
}
},
"checks": {
"type": "rate",
"contains": "default",
"values": {
"fails": 0,
"rate": 1,
"passes": 10001
}
},
"vus_max": {
"contains": "default",
"values": {
"value": 20,
"min": 20,
"max": 20
},
"type": "gauge"
},
"http_req_failed{scenario:measure}": {
"type": "rate",
"contains": "default",
@@ -82,209 +241,15 @@
"fails": 9001
}
},
"data_sent": {
"type": "counter",
"contains": "data",
"values": {
"count": 2932015,
"rate": 29130.668569438607
}
},
"iteration_duration": {
"type": "trend",
"contains": "time",
"values": {
"p(90)": 3.2905836000000006,
"p(95)": 3.84820595,
"p(99)": 4.689035499999999,
"max": 28.790375,
"avg": 2.487488263947214,
"min": 1.3425,
"med": 2.3229794999999998
}
},
"iterations{scenario:measure}": {
"type": "counter",
"contains": "default",
"values": {
"count": 9001,
"rate": 89.42831049415399
"rate": 89.44215379871214
}
},
"http_req_sending": {
"type": "trend",
"contains": "time",
"values": {
"med": 0.018833,
"p(90)": 0.03,
"p(95)": 0.035459,
"p(99)": 0.06660191999999998,
"max": 0.776334,
"avg": 0.02164238718662957,
"min": 0.00375
}
},
"vus": {
"type": "gauge",
"contains": "default",
"values": {
"value": 0,
"min": 0,
"max": 1
}
},
"vus_max": {
"type": "gauge",
"contains": "default",
"values": {
"value": 20,
"min": 20,
"max": 20
}
},
"http_req_duration{scenario:measure,name:get_history}": {
"contains": "time",
"values": {
"avg": 2.4698714440067606,
"min": 1.357,
"med": 2.27275,
"p(90)": 3.2691584000000002,
"p(95)": 3.7952749999999984,
"p(99)": 4.59716008,
"max": 28.653
},
"type": "trend"
},
"http_req_duration": {
"type": "trend",
"contains": "time",
"values": {
"avg": 2.3822691281337214,
"min": 1.249709,
"med": 2.1752705,
"p(90)": 3.113159,
"p(95)": 3.6461874999999995,
"p(99)": 4.665391749999999,
"max": 38.420417
}
},
"http_req_tls_handshaking": {
"values": {
"min": 0,
"med": 0,
"p(90)": 0,
"p(95)": 0,
"p(99)": 0,
"max": 0,
"avg": 0
},
"type": "trend",
"contains": "time"
},
"http_req_duration{expected_response:true}": {
"values": {
"p(99)": 4.665391749999999,
"max": 38.420417,
"avg": 2.3822691281337214,
"min": 1.249709,
"med": 2.1752705,
"p(90)": 3.113159,
"p(95)": 3.6461874999999995
},
"type": "trend",
"contains": "time"
},
"checks": {
"type": "rate",
"contains": "default",
"values": {
"rate": 1,
"passes": 10002,
"fails": 0
}
},
"iterations": {
"type": "counter",
"contains": "default",
"values": {
"count": 10002,
"rate": 99.37362088240509
}
},
"http_req_blocked": {
"type": "trend",
"contains": "time",
"values": {
"avg": 0.004204573517707841,
"min": 0.000875,
"med": 0.003125,
"p(90)": 0.005209,
"p(95)": 0.006417,
"p(99)": 0.013395579999999995,
"max": 0.701
}
},
"http_req_waiting": {
"type": "trend",
"contains": "time",
"values": {
"p(95)": 3.565166999999999,
"p(99)": 4.57224666,
"max": 38.358416,
"avg": 2.320458224631917,
"min": 1.218792,
"med": 2.1154995,
"p(90)": 3.0364545
}
},
"data_received": {
"contains": "data",
"values": {
"count": 24622374,
"rate": 244632.5194061976
},
"type": "counter"
},
"http_req_duration{scenario:measure}": {
"type": "trend",
"contains": "time",
"values": {
"avg": 2.3322351554271825,
"min": 1.249709,
"med": 2.174875,
"p(90)": 3.075041,
"p(95)": 3.599333,
"p(99)": 4.406667,
"max": 28.653
}
},
"http_req_receiving": {
"type": "trend",
"contains": "time",
"values": {
"p(95)": 0.070958,
"p(99)": 0.099458,
"max": 0.551833,
"avg": 0.040168516315161,
"min": 0.008458,
"med": 0.036708,
"p(90)": 0.059583
}
},
"http_req_connecting": {
"values": {
"avg": 0.00041667081177875046,
"min": 0,
"med": 0,
"p(90)": 0,
"p(95)": 0,
"p(99)": 0,
"max": 0.29625
},
"type": "trend",
"contains": "time"
},
"dropped_iterations{scenario:measure}": {
"dropped_iterations": {
"type": "counter",
"contains": "default",
"values": {
@@ -292,18 +257,53 @@
"rate": 0
}
},
"http_req_duration{scenario:measure,name:post_message}": {
"http_req_duration{scenario:measure}": {
"values": {
"p(99)": 4.497875,
"max": 38.408167,
"avg": 2.0711908151316614,
"min": 0.987541,
"med": 1.914375,
"p(90)": 2.832917,
"p(95)": 3.232084
},
"type": "trend",
"contains": "time"
},
"http_req_duration{scenario:measure,name:post_message}": {
"contains": "time",
"values": {
"avg": 2.298378609911404,
"min": 1.249709,
"med": 2.1532495000000003,
"p(90)": 3.0290249,
"p(95)": 3.5583624999999994,
"p(99)": 4.36453732,
"max": 13.149083
}
"p(90)": 2.7975375,
"p(95)": 3.2080624999999996,
"p(99)": 4.3749014699999975,
"max": 12.926959,
"avg": 2.0445066004189947,
"min": 0.987541,
"med": 1.8989165
},
"type": "trend"
}
},
"root_group": {
"name": "",
"path": "",
"id": "d41d8cd98f00b204e9800998ecf8427e",
"groups": [],
"checks": [
{
"fails": 0,
"name": "message 201",
"path": "::message 201",
"id": "6445aff337e1ade0bc10402fbac79882",
"passes": 7955
},
{
"name": "history 200",
"path": "::history 200",
"id": "fe27b3b8edd292c7f2170a6357b087d0",
"passes": 2046,
"fails": 0
}
]
}
}
+937 -931
View File
File diff suppressed because it is too large Load Diff
+942 -933
View File
File diff suppressed because it is too large Load Diff
+9 -9
View File
@@ -4,25 +4,25 @@
"scripts/rolling-update.sh"
],
"action_exit": 0,
"action_seconds": 11.542,
"action_seconds": 12.01,
"action_finished_before_load_end": true,
"lb_up_before": 2,
"lb_up_min": 2,
"detection_seconds": null,
"rejoin_seconds": null,
"probe": {
"attempts": 933,
"attempts": 942,
"failed_attempts": 0,
"first_failure_s": null,
"recovery_s": 0.0,
"instances_before": {
"87223df83cf4": 119,
"3103fc43b2e6": 120
"225f56282b82": 113,
"c84bddf582a8": 129
},
"instances_during_outage": {},
"instances_after": {
"0d01b29fece8": 280,
"f6195843816a": 308
"89953d9764bd": 309,
"1f35898d8b4e": 280
}
},
"lb_counters": {
@@ -38,9 +38,9 @@
"ok_rps": 100.01,
"failed_ratio": 0,
"dropped_iterations": 0,
"p50_ms": 2.17,
"p95_ms": 3.6,
"p99_ms": 4.41,
"p50_ms": 1.91,
"p95_ms": 3.23,
"p99_ms": 4.5,
"exit": 0,
"rate": 100
},