Record levels 3 and 4 again after the second review fixes

Every level 3 and 4 record is taken anew on e049c26 from a reset stand:
checks with the upstream diff of the contract, the public tests and the
task (empty) and of .github (only the own CI job), student tests with
the 503 answer to a request cancelled at shutdown, smoke, stack,
storage on the filled database, both failover runs with the
service.draining event, persistence, hooks, faults, limits, lb-check,
the new retry-check, three detection runs, failover-each and both
rolling updates with the database size, a docker stats snapshot and the
tag and id of every replaced image. The clean clone run executes the
launch block of the report verbatim and marks the observations made
between its steps.

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 05:59:38 +03:00
co-authored by Claude Opus 5.5
parent e049c265b8
commit 7f2deec511
67 changed files with 7841 additions and 7855 deletions
+13 -7
View File
@@ -1,5 +1,6 @@
23:49:46 migrate once before the first replacement
{"reason":"up to date","event":"migration.completed","level":"info","ts":"2026-10-29T23:49:47.138073Z"}
02:51:09 migrate once before the first replacement
02:51:09 database bytes,messages: 16037555,15139
{"reason":"up to date","event":"migration.completed","level":"info","ts":"2026-10-30T02:51:10.450477Z"}
Container mtusi2026lab3-api-1 Running
Container mtusi2026lab3-api-2 Running
Container mtusi2026lab3-api-3 Creating
@@ -7,12 +8,17 @@
Container mtusi2026lab3-api-3 Starting
Container mtusi2026lab3-api-3 Started
Container mtusi2026lab3-api-3 Waiting
Container mtusi2026lab3-api-1 Waiting
Container mtusi2026lab3-api-2 Waiting
Container mtusi2026lab3-api-1 Waiting
Container mtusi2026lab3-api-3 Healthy
Container mtusi2026lab3-api-1 Healthy
Container mtusi2026lab3-api-2 Healthy
23:49:49 replace e2d392075b96 image=84c47c47ad8a -> c84bddf582a8 image=cb0dac56ff0b
Container mtusi2026lab3-api-1 Healthy
mtusi2026lab3-api-1 cpu=19.95% mem=144.9MiB / 512MiB
mtusi2026lab3-api-2 cpu=20.90% mem=144.9MiB / 512MiB
mtusi2026lab3-lb-1 cpu=2.66% mem=20.86MiB / 128MiB
mtusi2026lab3-postgres-1 cpu=5.25% mem=71.67MiB / 1GiB
mtusi2026lab3-valkey-1 cpu=0.48% mem=13.11MiB / 128MiB
02:51:12 replace 3e741644dba4 image=mtusi-messenger:8d28d45@75eeba4b5bfd -> 6c2a02267340 image=mtusi-messenger:mtusi2026lab3@c69a721bc974
Container mtusi2026lab3-api-2 Running
Container mtusi2026lab3-api-3 Running
Container mtusi2026lab3-api-4 Creating
@@ -25,5 +31,5 @@
Container mtusi2026lab3-api-4 Healthy
Container mtusi2026lab3-api-3 Healthy
Container mtusi2026lab3-api-2 Healthy
23:49:52 replace bc58bf60e518 image=84c47c47ad8a -> 225f56282b82 image=cb0dac56ff0b
23:49:52 done: 2 replicas replaced
02:51:16 replace 3e62ff0322c6 image=mtusi-messenger:8d28d45@75eeba4b5bfd -> 158dfc1bd95d image=mtusi-messenger:mtusi2026lab3@c69a721bc974
02:51:17 done: 2 replicas replaced
+1 -1
View File
@@ -1,2 +1,2 @@
time="2026-10-29T23:49:20Z" level=info msg=LOAD-START source=console
time="2026-10-30T02:50:44Z" level=info msg=LOAD-START source=console
measure: 8996 requests, failed ratio 0
+282 -282
View File
@@ -1,276 +1,4 @@
{
"state": {
"isStdOutTTY": false,
"isStdErrTTY": false,
"testRunDurationMs": 100874.730963
},
"metrics": {
"vus": {
"type": "gauge",
"contains": "default",
"values": {
"value": 0,
"min": 0,
"max": 12
}
},
"iterations{scenario:measure}": {
"contains": "default",
"values": {
"count": 8996,
"rate": 89.17991566490181
},
"type": "counter"
},
"http_req_duration{scenario:measure,name:get_history}": {
"type": "trend",
"contains": "time",
"values": {
"p(99)": 10.810374999999999,
"max": 506.553417,
"avg": 3.4162380623179915,
"min": 1.148667,
"med": 2.184792,
"p(90)": 4.6460088,
"p(95)": 5.96221659999999
}
},
"http_req_connecting": {
"type": "trend",
"contains": "time",
"values": {
"avg": 0.0009374853190006968,
"min": 0,
"med": 0,
"p(90)": 0,
"p(95)": 0,
"p(99)": 0,
"max": 2.104541
}
},
"http_req_blocked": {
"type": "trend",
"contains": "time",
"values": {
"avg": 0.004537697223051537,
"min": 0.00075,
"med": 0.002875,
"p(90)": 0.004791,
"p(95)": 0.005708,
"p(99)": 0.012730679999999996,
"max": 2.150584
}
},
"http_req_duration": {
"type": "trend",
"contains": "time",
"values": {
"p(99)": 16.943507679999996,
"max": 506.934292,
"avg": 4.0993488849407616,
"min": 1.07975,
"med": 2.217625,
"p(90)": 5.204008400000002,
"p(95)": 7.153895499999999
}
},
"http_req_duration{scenario:measure,name:post_message}": {
"type": "trend",
"contains": "time",
"values": {
"avg": 4.280711416265974,
"min": 1.07975,
"med": 2.173167,
"p(90)": 5.1596664,
"p(95)": 7.02031309999999,
"p(99)": 16.865270259999996,
"max": 506.934292
}
},
"http_req_failed{scenario:measure}": {
"type": "rate",
"contains": "default",
"values": {
"fails": 8996,
"rate": 0,
"passes": 0
}
},
"data_sent": {
"type": "counter",
"contains": "data",
"values": {
"count": 2934813,
"rate": 29093.638931998386
}
},
"data_received": {
"type": "counter",
"contains": "data",
"values": {
"count": 24234460,
"rate": 240243.11905118235
}
},
"http_req_sending": {
"type": "trend",
"contains": "time",
"values": {
"med": 0.016042,
"p(90)": 0.024333,
"p(95)": 0.031208,
"p(99)": 0.077917,
"max": 1.474458,
"avg": 0.01933352154872103,
"min": 0.003084
}
},
"dropped_iterations{scenario:measure}": {
"type": "counter",
"contains": "default",
"values": {
"count": 5,
"rate": 0.04956642711477424
}
},
"http_reqs{scenario:measure}": {
"contains": "default",
"values": {
"count": 8996,
"rate": 89.17991566490181
},
"type": "counter"
},
"http_req_duration{expected_response:true}": {
"contains": "time",
"values": {
"p(90)": 5.204008400000002,
"p(95)": 7.153895499999999,
"p(99)": 16.943507679999996,
"max": 506.934292,
"avg": 4.0993488849407616,
"min": 1.07975,
"med": 2.217625
},
"type": "trend"
},
"http_req_receiving": {
"type": "trend",
"contains": "time",
"values": {
"p(95)": 0.076542,
"p(99)": 0.1354425,
"max": 3.474125,
"avg": 0.04115558783716541,
"min": 0.005292,
"med": 0.034959,
"p(90)": 0.061042
}
},
"http_req_duration{scenario:measure}": {
"values": {
"p(90)": 5.0467085,
"p(95)": 6.8923024999999996,
"p(99)": 15.4118399,
"max": 506.934292,
"avg": 4.115715779457533,
"min": 1.07975,
"med": 2.1758755
},
"type": "trend",
"contains": "time"
},
"http_req_tls_handshaking": {
"type": "trend",
"contains": "time",
"values": {
"p(95)": 0,
"p(99)": 0,
"max": 0,
"avg": 0,
"min": 0,
"med": 0,
"p(90)": 0
}
},
"vus_max": {
"values": {
"value": 25,
"min": 20,
"max": 25
},
"type": "gauge",
"contains": "default"
},
"http_reqs": {
"type": "counter",
"contains": "default",
"values": {
"count": 10047,
"rate": 99.59877864442736
}
},
"dropped_iterations": {
"type": "counter",
"contains": "default",
"values": {
"count": 5,
"rate": 0.04956642711477424
}
},
"checks": {
"type": "rate",
"contains": "default",
"values": {
"rate": 1,
"passes": 9997,
"fails": 0
}
},
"http_req_failed": {
"type": "rate",
"contains": "default",
"values": {
"rate": 0,
"passes": 0,
"fails": 10047
}
},
"iteration_duration": {
"type": "trend",
"contains": "time",
"values": {
"p(90)": 5.282500000000001,
"p(95)": 7.103508999999998,
"p(99)": 15.10760636,
"max": 507.033459,
"avg": 4.177039797039128,
"min": 1.136084,
"med": 2.350125
}
},
"iterations": {
"values": {
"count": 9997,
"rate": 99.10311437327961
},
"type": "counter",
"contains": "default"
},
"http_req_waiting": {
"type": "trend",
"contains": "time",
"values": {
"avg": 4.038859775554884,
"min": 1.055209,
"med": 2.161666,
"p(90)": 5.118991200000001,
"p(95)": 7.076970699999999,
"p(99)": 16.83238567999999,
"max": 506.875876
}
}
},
"root_group": {
"name": "",
"path": "",
@@ -278,18 +6,18 @@
"groups": [],
"checks": [
{
"name": "message 201",
"path": "::message 201",
"id": "6445aff337e1ade0bc10402fbac79882",
"passes": 8063,
"fails": 0
},
{
"name": "history 200",
"path": "::history 200",
"id": "fe27b3b8edd292c7f2170a6357b087d0",
"passes": 1934,
"fails": 0
"passes": 2025,
"fails": 0,
"name": "history 200"
},
{
"id": "6445aff337e1ade0bc10402fbac79882",
"passes": 7972,
"fails": 0,
"name": "message 201",
"path": "::message 201"
}
]
},
@@ -305,5 +33,277 @@
],
"summaryTimeUnit": "",
"noColor": false
},
"state": {
"isStdOutTTY": false,
"isStdErrTTY": false,
"testRunDurationMs": 100536.118408
},
"metrics": {
"http_req_tls_handshaking": {
"type": "trend",
"contains": "time",
"values": {
"med": 0,
"p(90)": 0,
"p(95)": 0,
"p(99)": 0,
"max": 0,
"avg": 0,
"min": 0
}
},
"checks": {
"type": "rate",
"contains": "default",
"values": {
"rate": 1,
"passes": 9997,
"fails": 0
}
},
"http_req_failed": {
"contains": "default",
"values": {
"rate": 0,
"passes": 0,
"fails": 10047
},
"type": "rate"
},
"data_sent": {
"type": "counter",
"contains": "data",
"values": {
"count": 2924036,
"rate": 29084.43300082018
}
},
"iterations": {
"type": "counter",
"contains": "default",
"values": {
"count": 9997,
"rate": 99.43690047222378
}
},
"http_req_failed{scenario:measure}": {
"type": "rate",
"contains": "default",
"values": {
"rate": 0,
"passes": 0,
"fails": 8996
}
},
"iterations{scenario:measure}": {
"type": "counter",
"contains": "default",
"values": {
"count": 8996,
"rate": 89.48027974873713
}
},
"http_req_duration{scenario:measure,name:get_history}": {
"values": {
"p(99)": 6.954994759999992,
"max": 504.015792,
"avg": 3.0482905051940916,
"min": 0.990042,
"med": 1.490542,
"p(90)": 2.1491834,
"p(95)": 2.7643331999999994
},
"type": "trend",
"contains": "time"
},
"http_req_receiving": {
"type": "trend",
"contains": "time",
"values": {
"p(95)": 0.04544569999999998,
"p(99)": 0.07339217999999996,
"max": 0.904875,
"avg": 0.024761768985766895,
"min": 0.007292,
"med": 0.021333,
"p(90)": 0.037458399999999996
}
},
"vus_max": {
"type": "gauge",
"contains": "default",
"values": {
"value": 25,
"min": 20,
"max": 25
}
},
"http_reqs": {
"type": "counter",
"contains": "default",
"values": {
"count": 10047,
"rate": 99.93423417469563
}
},
"http_req_connecting": {
"type": "trend",
"contains": "time",
"values": {
"max": 0.424459,
"avg": 0.00045999651637304665,
"min": 0,
"med": 0,
"p(90)": 0,
"p(95)": 0,
"p(99)": 0
}
},
"http_req_sending": {
"type": "trend",
"contains": "time",
"values": {
"med": 0.010667,
"p(90)": 0.01572540000000001,
"p(95)": 0.01925,
"p(99)": 0.04798395999999999,
"max": 0.715042,
"avg": 0.012423745993829055,
"min": 0.001917
}
},
"http_req_duration": {
"type": "trend",
"contains": "time",
"values": {
"avg": 2.8894621974718784,
"min": 0.891584,
"med": 1.481583,
"p(90)": 2.2351168,
"p(95)": 2.943450099999998,
"p(99)": 9.369177679999998,
"max": 506.304125
}
},
"http_reqs{scenario:measure}": {
"type": "counter",
"contains": "default",
"values": {
"count": 8996,
"rate": 89.48027974873713
}
},
"http_req_duration{scenario:measure}": {
"type": "trend",
"contains": "time",
"values": {
"p(90)": 2.1691255000000003,
"p(95)": 2.7820417499999976,
"p(99)": 5.988716649999999,
"max": 506.304125,
"avg": 2.9473552137616696,
"min": 0.891584,
"med": 1.468729
}
},
"http_req_waiting": {
"type": "trend",
"contains": "time",
"values": {
"avg": 2.8522766824922727,
"min": 0.869917,
"med": 1.447125,
"p(90)": 2.1879166000000003,
"p(95)": 2.8952456,
"p(99)": 9.305861139999994,
"max": 506.264292
}
},
"iteration_duration": {
"values": {
"p(95)": 2.961742199999998,
"p(99)": 7.183348639999999,
"max": 506.406875,
"avg": 2.934752488946681,
"min": 0.944167,
"med": 1.558959,
"p(90)": 2.3227586000000002
},
"type": "trend",
"contains": "time"
},
"dropped_iterations{scenario:measure}": {
"type": "counter",
"contains": "default",
"values": {
"count": 5,
"rate": 0.04973337024718604
}
},
"http_req_duration{expected_response:true}": {
"type": "trend",
"contains": "time",
"values": {
"p(99)": 9.369177679999998,
"max": 506.304125,
"avg": 2.8894621974718784,
"min": 0.891584,
"med": 1.481583,
"p(90)": 2.2351168,
"p(95)": 2.943450099999998
}
},
"data_received": {
"type": "counter",
"contains": "data",
"values": {
"count": 25183904,
"rate": 250496.08438031792
}
},
"vus": {
"type": "gauge",
"contains": "default",
"values": {
"value": 0,
"min": 0,
"max": 8
}
},
"http_req_duration{scenario:measure,name:post_message}": {
"type": "trend",
"contains": "time",
"values": {
"max": 506.304125,
"avg": 2.9215967865215493,
"min": 0.891584,
"med": 1.461417,
"p(90)": 2.1887166000000002,
"p(95)": 2.7914587999999996,
"p(99)": 5.747117719999982
}
},
"dropped_iterations": {
"values": {
"count": 5,
"rate": 0.04973337024718604
},
"type": "counter",
"contains": "default"
},
"http_req_blocked": {
"type": "trend",
"contains": "time",
"values": {
"max": 0.944292,
"avg": 0.0025697045884342812,
"min": 0.0005,
"med": 0.001667,
"p(90)": 0.002709,
"p(95)": 0.00325,
"p(99)": 0.00525
}
}
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+10 -10
View File
@@ -4,30 +4,30 @@
"scripts/rolling-update.sh"
],
"action_exit": 0,
"action_seconds": 7.062,
"action_seconds": 7.451,
"action_finished_before_load_end": true,
"lb_up_before": 2,
"lb_up_min": 2,
"detection_seconds": null,
"rejoin_seconds": null,
"probe": {
"attempts": 934,
"attempts": 913,
"failed_attempts": 0,
"first_failure_s": null,
"recovery_s": 0.0,
"instances_before": {
"e2d392075b96": 127,
"bc58bf60e518": 113
"3e62ff0322c6": 113,
"3e741644dba4": 121
},
"instances_during_outage": {},
"instances_after": {
"c84bddf582a8": 328,
"225f56282b82": 301
"158dfc1bd95d": 279,
"6c2a02267340": 334
}
},
"lb_counters": {
"wretr": 0,
"wredis": 55,
"wredis": 56,
"econ": 0,
"eresp": 0,
"hrsp_5xx": 0
@@ -38,9 +38,9 @@
"ok_rps": 99.96,
"failed_ratio": 0,
"dropped_iterations": 5,
"p50_ms": 2.18,
"p95_ms": 6.89,
"p99_ms": 15.41,
"p50_ms": 1.47,
"p95_ms": 2.78,
"p99_ms": 5.99,
"exit": 0,
"rate": 100
},