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
+5 -5
View File
@@ -1,5 +1,5 @@
17:03:06 migrate once before the first replacement
{"reason":"up to date","event":"migration.completed","level":"info","ts":"2026-10-28T17:03:07.198467Z"}
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"}
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
17:03:09 replace 28af1eaa77c8 image=13e52dc26774 -> 239278da12b2 image=9d621745fe6b
20:22:10 replace 87223df83cf4 image=0c4bf76a598b -> f6195843816a image=c442e2c3fb04
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
17:03:15 replace f3f2f7801b56 image=13e52dc26774 -> 58b4bb97f5db image=9d621745fe6b
17:03:18 done: 2 replicas replaced
20:22:15 replace 3103fc43b2e6 image=0c4bf76a598b -> 0d01b29fece8 image=c442e2c3fb04
20:22:18 done: 2 replicas replaced
+1 -1
View File
@@ -1,2 +1,2 @@
time="2026-10-28T17:02:41Z" level=info msg=LOAD-START source=console
time="2026-10-29T20:21:41Z" level=info msg=LOAD-START source=console
measure: 9001 requests, failed ratio 0
+239 -239
View File
@@ -1,25 +1,25 @@
{
"root_group": {
"name": "",
"path": "",
"id": "d41d8cd98f00b204e9800998ecf8427e",
"groups": [],
"checks": [
{
"passes": 8032,
"fails": 0,
"name": "message 201",
"path": "::message 201",
"id": "6445aff337e1ade0bc10402fbac79882",
"passes": 8011,
"fails": 0
"id": "6445aff337e1ade0bc10402fbac79882"
},
{
"fails": 0,
"name": "history 200",
"path": "::history 200",
"id": "fe27b3b8edd292c7f2170a6357b087d0",
"passes": 1991,
"fails": 0
"passes": 1970
}
]
],
"name": "",
"path": ""
},
"options": {
"summaryTrendStats": [
@@ -37,257 +37,42 @@
"state": {
"isStdOutTTY": false,
"isStdErrTTY": false,
"testRunDurationMs": 100517.995699
"testRunDurationMs": 100650.453422
},
"metrics": {
"http_req_duration{scenario:measure,name:post_message}": {
"contains": "time",
"values": {
"min": 1.047,
"med": 2.479375,
"p(90)": 3.189667,
"p(95)": 3.528,
"p(99)": 5.010616199999999,
"max": 34.016209,
"avg": 2.5117758226007587
},
"type": "trend"
},
"http_req_failed": {
"type": "rate",
"contains": "default",
"values": {
"rate": 0,
"passes": 0,
"fails": 10052
}
},
"http_req_waiting": {
"type": "trend",
"contains": "time",
"values": {
"p(95)": 3.46374535,
"p(99)": 5.3474348299999965,
"max": 37.816292,
"avg": 2.467581968165534,
"min": 0.921375,
"med": 2.3897294999999996,
"p(90)": 3.1171042
}
},
"dropped_iterations": {
"contains": "default",
"values": {
"count": 0,
"rate": 0
},
"type": "counter"
},
"http_req_duration{scenario:measure,name:get_history}": {
"type": "trend",
"contains": "time",
"values": {
"avg": 2.393597505617978,
"min": 1.0205,
"med": 2.3533955,
"p(90)": 3.094084,
"p(95)": 3.4177839499999996,
"p(99)": 4.954887389999999,
"max": 34.899875
}
},
"http_req_duration{scenario:measure}": {
"type": "trend",
"contains": "time",
"values": {
"min": 1.0205,
"med": 2.446709,
"p(90)": 3.171334,
"p(95)": 3.494916,
"p(99)": 5.012416,
"max": 34.899875,
"avg": 2.48840537440285
}
},
"iterations": {
"contains": "default",
"values": {
"count": 10002,
"rate": 99.50457060396306
},
"type": "counter"
},
"iterations{scenario:measure}": {
"type": "counter",
"contains": "default",
"values": {
"count": 9001,
"rate": 89.54615476967321
}
},
"http_req_receiving": {
"type": "trend",
"contains": "time",
"values": {
"p(99)": 0.09522858,
"max": 0.414042,
"avg": 0.03010926104257849,
"min": 0.00975,
"med": 0.026917,
"p(90)": 0.042287800000000014,
"p(95)": 0.0535
}
},
"http_req_duration": {
"type": "trend",
"contains": "time",
"values": {
"med": 2.4403125,
"p(90)": 3.1764834,
"p(95)": 3.5353623499999984,
"p(99)": 5.448676919999996,
"max": 37.870792,
"avg": 2.515697025964987,
"min": 0.941792
}
},
"iteration_duration": {
"values": {
"p(90)": 3.2874497,
"p(95)": 3.6300624999999993,
"p(99)": 5.31617759,
"max": 34.996916,
"avg": 2.583033877824437,
"min": 0.980167,
"med": 2.5414795
},
"type": "trend",
"contains": "time"
},
"vus_max": {
"type": "gauge",
"contains": "default",
"values": {
"value": 20,
"min": 20,
"max": 20
}
},
"http_req_connecting": {
"type": "trend",
"contains": "time",
"values": {
"p(95)": 0,
"p(99)": 0,
"max": 0.318417,
"avg": 0.0003617108038201353,
"min": 0,
"med": 0,
"p(90)": 0
}
},
"http_req_tls_handshaking": {
"type": "trend",
"contains": "time",
"values": {
"p(90)": 0,
"p(95)": 0,
"p(99)": 0,
"max": 0,
"avg": 0,
"min": 0,
"med": 0
}
},
"http_req_sending": {
"type": "trend",
"contains": "time",
"values": {
"avg": 0.01800579675686432,
"min": 0.002708,
"med": 0.016041,
"p(90)": 0.021667,
"p(95)": 0.028875,
"p(99)": 0.07724749999999998,
"max": 0.4805
}
},
"checks": {
"type": "rate",
"contains": "default",
"values": {
"rate": 1,
"passes": 10002,
"fails": 0
}
},
"vus": {
"type": "gauge",
"contains": "default",
"values": {
"max": 1,
"value": 0,
"min": 0
}
},
"dropped_iterations{scenario:measure}": {
"type": "counter",
"contains": "default",
"values": {
"count": 0,
"fails": 10052,
"rate": 0
}
},
"http_req_blocked": {
"contains": "time",
"values": {
"max": 0.609875,
"avg": 0.0027873373458017765,
"min": 0.000667,
"med": 0.001917,
"p(90)": 0.002958,
"p(95)": 0.0037084499999999994,
"p(99)": 0.013042
},
"type": "trend"
},
"http_reqs{scenario:measure}": {
"type": "counter",
"contains": "default",
"values": {
"count": 9001,
"rate": 89.54615476967321
"rate": 89.42831049415399
}
},
"http_reqs": {
"values": {
"rate": 99.87038963306698,
"count": 10052
},
"type": "counter",
"contains": "default"
},
"dropped_iterations": {
"type": "counter",
"contains": "default",
"values": {
"count": 10052,
"rate": 100.00199397230921
"count": 0,
"rate": 0
}
},
"http_req_duration{expected_response:true}": {
"type": "trend",
"contains": "time",
"values": {
"med": 2.4403125,
"p(90)": 3.1764834,
"p(95)": 3.5353623499999984,
"p(99)": 5.448676919999996,
"max": 37.870792,
"avg": 2.515697025964987,
"min": 0.941792
}
},
"data_sent": {
"values": {
"count": 2929568,
"rate": 29144.711647181648
},
"type": "counter",
"contains": "data"
},
"http_req_failed{scenario:measure}": {
"type": "rate",
"contains": "default",
@@ -297,12 +82,227 @@
"fails": 9001
}
},
"data_received": {
"data_sent": {
"type": "counter",
"contains": "data",
"values": {
"count": 24805536,
"rate": 246777.0654150317
"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
}
},
"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}": {
"type": "counter",
"contains": "default",
"values": {
"count": 0,
"rate": 0
}
},
"http_req_duration{scenario:measure,name:post_message}": {
"type": "trend",
"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
}
}
}
+942 -909
View File
File diff suppressed because it is too large Load Diff
+933 -904
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.782,
"action_seconds": 11.542,
"action_finished_before_load_end": true,
"lb_up_before": 2,
"lb_up_min": 2,
"detection_seconds": null,
"rejoin_seconds": null,
"probe": {
"attempts": 904,
"attempts": 933,
"failed_attempts": 0,
"first_failure_s": null,
"recovery_s": 0.0,
"instances_before": {
"f3f2f7801b56": 114,
"28af1eaa77c8": 117
"87223df83cf4": 119,
"3103fc43b2e6": 120
},
"instances_during_outage": {},
"instances_after": {
"58b4bb97f5db": 314,
"239278da12b2": 254
"0d01b29fece8": 280,
"f6195843816a": 308
}
},
"lb_counters": {
@@ -38,9 +38,9 @@
"ok_rps": 100.01,
"failed_ratio": 0,
"dropped_iterations": 0,
"p50_ms": 2.45,
"p95_ms": 3.49,
"p99_ms": 5.01,
"p50_ms": 2.17,
"p95_ms": 3.6,
"p99_ms": 4.41,
"exit": 0,
"rate": 100
},