Record levels 3 and 4 again on the final code

Every level 3 and level 4 file in evidence was taken on e00eb6c, before
track 1 rewrote the message write into one statement under the chat
lock. The runs are repeated on a02d442: smoke, stack, storage, both
failovers (the second after one shifting request), persistence, hooks,
the lab 2 fault tests, limits and injected violations, 20 same-key races,
three detection runs, failover-each under k6 and both rolling updates.
All pass. checks.txt adds the real output of make check, make validate
and make lint, and student-tests.txt includes the new access order test.

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-29 23:24:11 +03:00
co-authored by Claude Opus 5.5
parent a02d442085
commit e722cb357d
63 changed files with 7990 additions and 7490 deletions
+7 -7
View File
@@ -1,5 +1,5 @@
17:01:24 migrate once before the first replacement
{"reason":"up to date","event":"migration.completed","level":"info","ts":"2026-10-28T17:01:24.982557Z"}
20:20:24 migrate once before the first replacement
{"reason":"up to date","event":"migration.completed","level":"info","ts":"2026-10-29T20:20:24.867238Z"}
Container mtusi2026lab3-api-1 Running
Container mtusi2026lab3-api-2 Running
Container mtusi2026lab3-api-3 Creating
@@ -7,12 +7,12 @@
Container mtusi2026lab3-api-3 Starting
Container mtusi2026lab3-api-3 Started
Container mtusi2026lab3-api-3 Waiting
Container mtusi2026lab3-api-2 Waiting
Container mtusi2026lab3-api-1 Waiting
Container mtusi2026lab3-api-2 Waiting
Container mtusi2026lab3-api-3 Healthy
Container mtusi2026lab3-api-2 Healthy
Container mtusi2026lab3-api-1 Healthy
17:01:27 replace 7a4c320f9b13 image=cbd83541c3e5 -> 28af1eaa77c8 image=13e52dc26774
Container mtusi2026lab3-api-2 Healthy
20:20:27 replace ccc86545188a image=5f974f99897f -> 87223df83cf4 image=0c4bf76a598b
Container mtusi2026lab3-api-2 Running
Container mtusi2026lab3-api-3 Running
Container mtusi2026lab3-api-4 Creating
@@ -25,5 +25,5 @@
Container mtusi2026lab3-api-4 Healthy
Container mtusi2026lab3-api-3 Healthy
Container mtusi2026lab3-api-2 Healthy
17:01:31 replace 00548d9b229e image=cbd83541c3e5 -> f3f2f7801b56 image=13e52dc26774
17:01:31 done: 2 replicas replaced
20:20:29 replace bae7f079e7a6 image=5f974f99897f -> 3103fc43b2e6 image=0c4bf76a598b
20:20:30 done: 2 replicas replaced
+2 -2
View File
@@ -1,2 +1,2 @@
time="2026-10-28T17:00:59Z" level=info msg=LOAD-START source=console
measure: 9000 requests, failed ratio 0
time="2026-10-29T20:19:58Z" level=info msg=LOAD-START source=console
measure: 8998 requests, failed ratio 0
+287 -287
View File
@@ -1,294 +1,28 @@
{
"metrics": {
"http_req_duration{scenario:measure}": {
"type": "trend",
"contains": "time",
"values": {
"p(90)": 3.1322913,
"p(95)": 3.4010535500000003,
"p(99)": 5.193993249999999,
"max": 505.477417,
"avg": 3.453344209333336,
"min": 1.0105,
"med": 2.4411465000000003
}
},
"iteration_duration": {
"values": {
"p(90)": 3.25575,
"p(95)": 3.549833,
"p(99)": 5.436542,
"max": 505.569667,
"avg": 3.4618407749225035,
"min": 1.011083,
"med": 2.544833
},
"type": "trend",
"contains": "time"
},
"http_reqs{scenario:measure}": {
"type": "counter",
"contains": "default",
"values": {
"count": 9000,
"rate": 89.56211577313219
}
},
"http_req_waiting": {
"contains": "time",
"values": {
"p(90)": 3.088625,
"p(95)": 3.4003954999999997,
"p(99)": 5.426020999999999,
"max": 505.430667,
"avg": 3.3401909016018263,
"min": 0.955208,
"med": 2.394167
},
"type": "trend"
},
"data_sent": {
"type": "counter",
"contains": "data",
"values": {
"count": 2930946,
"rate": 29166.85833075541
}
},
"dropped_iterations{scenario:measure}": {
"values": {
"count": 1,
"rate": 0.009951346197014687
},
"type": "counter",
"contains": "default"
},
"dropped_iterations": {
"contains": "default",
"values": {
"count": 1,
"rate": 0.009951346197014687
},
"type": "counter"
},
"iterations": {
"type": "counter",
"contains": "default",
"values": {
"count": 10001,
"rate": 99.52341331634389
}
},
"http_req_duration{scenario:measure,name:post_message}": {
"type": "trend",
"contains": "time",
"values": {
"avg": 3.5837394056486134,
"min": 1.047208,
"med": 2.474209,
"p(90)": 3.1399334000000003,
"p(95)": 3.3924048,
"p(99)": 5.216426739999998,
"max": 505.477417
}
},
"data_received": {
"type": "counter",
"contains": "data",
"values": {
"count": 24696511,
"rate": 245763.5308193814
}
},
"vus_max": {
"contains": "default",
"values": {
"max": 21,
"value": 21,
"min": 20
},
"type": "gauge"
},
"iterations{scenario:measure}": {
"values": {
"rate": 89.56211577313219,
"count": 9000
},
"type": "counter",
"contains": "default"
},
"http_req_sending": {
"type": "trend",
"contains": "time",
"values": {
"p(99)": 0.07410399999999999,
"max": 0.44875,
"avg": 0.018128176997313703,
"min": 0.001958,
"med": 0.016209,
"p(90)": 0.021917,
"p(95)": 0.02972899999999998
}
},
"http_reqs": {
"type": "counter",
"contains": "default",
"values": {
"count": 10051,
"rate": 100.02098062619463
}
},
"http_req_connecting": {
"type": "trend",
"contains": "time",
"values": {
"min": 0,
"med": 0,
"p(90)": 0,
"p(95)": 0,
"p(99)": 0,
"max": 0.300042,
"avg": 0.0003657015222365933
}
},
"http_req_duration{scenario:measure,name:get_history}": {
"contains": "time",
"values": {
"p(99)": 5.059531159999999,
"max": 504.407417,
"avg": 2.9233247929093955,
"min": 1.0105,
"med": 2.328833,
"p(90)": 3.0485334,
"p(95)": 3.4437255999999996
},
"type": "trend"
},
"http_req_failed{scenario:measure}": {
"values": {
"passes": 0,
"fails": 9000,
"rate": 0
},
"type": "rate",
"contains": "default"
},
"http_req_receiving": {
"type": "trend",
"contains": "time",
"values": {
"max": 2.285666,
"avg": 0.029886806486916724,
"min": 0.008875,
"med": 0.026833,
"p(90)": 0.041709,
"p(95)": 0.052542,
"p(99)": 0.09135399999999999
}
},
"http_req_duration{expected_response:true}": {
"type": "trend",
"contains": "time",
"values": {
"max": 505.477417,
"avg": 3.3882058850860473,
"min": 0.975791,
"med": 2.443,
"p(90)": 3.14625,
"p(95)": 3.465979,
"p(99)": 5.5215204999999985
}
},
"vus": {
"type": "gauge",
"contains": "default",
"values": {
"value": 1,
"min": 0,
"max": 5
}
},
"http_req_failed": {
"contains": "default",
"values": {
"rate": 0,
"passes": 0,
"fails": 10051
},
"type": "rate"
},
"checks": {
"type": "rate",
"contains": "default",
"values": {
"rate": 1,
"passes": 10001,
"fails": 0
}
},
"http_req_tls_handshaking": {
"type": "trend",
"contains": "time",
"values": {
"avg": 0,
"min": 0,
"med": 0,
"p(90)": 0,
"p(95)": 0,
"p(99)": 0,
"max": 0
}
},
"http_req_blocked": {
"type": "trend",
"contains": "time",
"values": {
"med": 0.001916,
"p(90)": 0.002833,
"p(95)": 0.0035,
"p(99)": 0.012811999999999997,
"max": 0.495583,
"avg": 0.002694060988956286,
"min": 0.000542
}
},
"http_req_duration": {
"type": "trend",
"contains": "time",
"values": {
"max": 505.477417,
"avg": 3.3882058850860473,
"min": 0.975791,
"med": 2.443,
"p(90)": 3.14625,
"p(95)": 3.465979,
"p(99)": 5.5215204999999985
}
}
},
"root_group": {
"checks": [
{
"name": "message 201",
"path": "::message 201",
"id": "6445aff337e1ade0bc10402fbac79882",
"passes": 8024,
"fails": 0
},
{
"name": "history 200",
"path": "::history 200",
"id": "fe27b3b8edd292c7f2170a6357b087d0",
"passes": 1977,
"fails": 0
}
],
"name": "",
"path": "",
"id": "d41d8cd98f00b204e9800998ecf8427e",
"groups": []
"groups": [],
"checks": [
{
"fails": 0,
"name": "message 201",
"path": "::message 201",
"id": "6445aff337e1ade0bc10402fbac79882",
"passes": 8012
},
{
"passes": 1987,
"fails": 0,
"name": "history 200",
"path": "::history 200",
"id": "fe27b3b8edd292c7f2170a6357b087d0"
}
]
},
"options": {
"noColor": false,
"summaryTrendStats": [
"avg",
"min",
@@ -298,12 +32,278 @@
"p(99)",
"max"
],
"summaryTimeUnit": "",
"noColor": false
"summaryTimeUnit": ""
},
"state": {
"isStdOutTTY": false,
"isStdErrTTY": false,
"testRunDurationMs": 100488.916796
"testRunDurationMs": 100590.65563
},
"metrics": {
"dropped_iterations": {
"values": {
"rate": 0.029823843787586218,
"count": 3
},
"type": "counter",
"contains": "default"
},
"http_req_receiving": {
"values": {
"avg": 0.04096463150562239,
"min": 0.01275,
"med": 0.037917,
"p(90)": 0.059708,
"p(95)": 0.07038339999999996,
"p(99)": 0.10271683999999996,
"max": 0.744084
},
"type": "trend",
"contains": "time"
},
"vus": {
"type": "gauge",
"contains": "default",
"values": {
"value": 0,
"min": 0,
"max": 9
}
},
"iterations{scenario:measure}": {
"values": {
"count": 8998,
"rate": 89.4516488002336
},
"type": "counter",
"contains": "default"
},
"http_req_duration": {
"type": "trend",
"contains": "time",
"values": {
"avg": 3.5812033033137887,
"min": 1.232083,
"med": 2.230416,
"p(90)": 3.0824914,
"p(95)": 3.7021417999999993,
"p(99)": 6.11112016,
"max": 505.711583
}
},
"http_req_duration{scenario:measure,name:post_message}": {
"type": "trend",
"contains": "time",
"values": {
"p(95)": 3.6289576999999995,
"p(99)": 4.888887499999998,
"max": 505.540334,
"avg": 3.688452420241589,
"min": 1.232083,
"med": 2.218584,
"p(90)": 3.0294586000000003
}
},
"http_req_duration{scenario:measure}": {
"type": "trend",
"contains": "time",
"values": {
"med": 2.2210834999999998,
"p(90)": 3.0495911,
"p(95)": 3.6662562999999997,
"p(99)": 4.90862176,
"max": 505.711583,
"avg": 3.6661573660813787,
"min": 1.232083
}
},
"checks": {
"contains": "default",
"values": {
"rate": 1,
"passes": 9999,
"fails": 0
},
"type": "rate"
},
"http_req_sending": {
"type": "trend",
"contains": "time",
"values": {
"p(99)": 0.06210815999999998,
"max": 1.103375,
"avg": 0.020594145188575986,
"min": 0.002666,
"med": 0.018417,
"p(90)": 0.028375,
"p(95)": 0.034292
}
},
"http_req_failed": {
"type": "rate",
"contains": "default",
"values": {
"rate": 0,
"passes": 0,
"fails": 10049
}
},
"dropped_iterations{scenario:measure}": {
"type": "counter",
"contains": "default",
"values": {
"rate": 0.029823843787586218,
"count": 3
}
},
"data_received": {
"type": "counter",
"contains": "data",
"values": {
"count": 24746029,
"rate": 246007.23441969277
}
},
"http_req_connecting": {
"type": "trend",
"contains": "time",
"values": {
"max": 0.377417,
"avg": 0.0004840280624937805,
"min": 0,
"med": 0,
"p(90)": 0,
"p(95)": 0,
"p(99)": 0
}
},
"http_req_waiting": {
"type": "trend",
"contains": "time",
"values": {
"p(95)": 3.6165577999999994,
"p(99)": 5.9755985199999975,
"max": 505.659709,
"avg": 3.5196445266195573,
"min": 1.202416,
"med": 2.169958,
"p(90)": 2.9979750000000003
}
},
"iteration_duration": {
"type": "trend",
"contains": "time",
"values": {
"max": 505.793667,
"avg": 3.6945822105210575,
"min": 1.328375,
"med": 2.377209,
"p(90)": 3.249317,
"p(95)": 3.8660374999999974,
"p(99)": 5.104881659999999
}
},
"iterations": {
"type": "counter",
"contains": "default",
"values": {
"rate": 99.40287134402486,
"count": 9999
}
},
"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
}
},
"http_req_failed{scenario:measure}": {
"type": "rate",
"contains": "default",
"values": {
"rate": 0,
"passes": 0,
"fails": 8998
}
},
"http_req_blocked": {
"type": "trend",
"contains": "time",
"values": {
"med": 0.003125,
"p(90)": 0.004967200000000009,
"p(95)": 0.0061665999999999995,
"p(99)": 0.012066679999999982,
"max": 0.624959,
"avg": 0.004207106179719306,
"min": 0.000959
}
},
"http_reqs": {
"type": "counter",
"contains": "default",
"values": {
"count": 10049,
"rate": 99.8999354071513
}
},
"http_req_duration{expected_response:true}": {
"values": {
"avg": 3.5812033033137887,
"min": 1.232083,
"med": 2.230416,
"p(90)": 3.0824914,
"p(95)": 3.7021417999999993,
"p(99)": 6.11112016,
"max": 505.711583
},
"type": "trend",
"contains": "time"
},
"data_sent": {
"type": "counter",
"contains": "data",
"values": {
"count": 2929060,
"rate": 29118.60929482243
}
},
"http_req_duration{scenario:measure,name:get_history}": {
"type": "trend",
"contains": "time",
"values": {
"max": 505.711583,
"avg": 3.5766914746518017,
"min": 1.234459,
"med": 2.234209,
"p(90)": 3.1878002000000003,
"p(95)": 3.7361625999999997,
"p(99)": 4.984469959999999
}
},
"vus_max": {
"type": "gauge",
"contains": "default",
"values": {
"value": 23,
"min": 20,
"max": 23
}
},
"http_reqs{scenario:measure}": {
"type": "counter",
"contains": "default",
"values": {
"rate": 89.4516488002336,
"count": 8998
}
}
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+16 -16
View File
@@ -4,43 +4,43 @@
"scripts/rolling-update.sh"
],
"action_exit": 0,
"action_seconds": 7.695,
"action_seconds": 6.442,
"action_finished_before_load_end": true,
"lb_up_before": 2,
"lb_up_min": 2,
"detection_seconds": null,
"rejoin_seconds": null,
"probe": {
"attempts": 897,
"attempts": 928,
"failed_attempts": 0,
"first_failure_s": null,
"recovery_s": 0.0,
"instances_before": {
"00548d9b229e": 116,
"7a4c320f9b13": 113
"bae7f079e7a6": 127,
"ccc86545188a": 111
},
"instances_during_outage": {},
"instances_after": {
"f3f2f7801b56": 305,
"28af1eaa77c8": 298
"3103fc43b2e6": 334,
"87223df83cf4": 301
}
},
"lb_counters": {
"wretr": 2,
"wredis": 54,
"wretr": 0,
"wredis": 87,
"econ": 0,
"eresp": 2,
"eresp": 0,
"hrsp_5xx": 0
},
"k6": {
"requests": 9000,
"rps": 100.0,
"ok_rps": 100.0,
"requests": 8998,
"rps": 99.98,
"ok_rps": 99.98,
"failed_ratio": 0,
"dropped_iterations": 1,
"p50_ms": 2.44,
"p95_ms": 3.4,
"p99_ms": 5.19,
"dropped_iterations": 3,
"p50_ms": 2.22,
"p95_ms": 3.67,
"p99_ms": 4.91,
"exit": 0,
"rate": 100
},