lab 3 done
This commit is contained in:
+12
-2
@@ -1,5 +1,15 @@
|
||||
# Доказательства
|
||||
|
||||
Храните небольшие обезличенные результаты: команды и stdout проверок, JSON/CSV агрегатов нагрузки, EXPLAIN, dashboard JSON, текст разбора отказа. Укажите дату, commit, аппаратные лимиты и профиль нагрузки.
|
||||
Актуальные результаты lab3 имеют префикс `swarm-`; остальные файлы перенесены из lab2 и являются историческими.
|
||||
|
||||
Не добавляйте .env, session tokens, cookies, приватные ключи, credentials, реальные сообщения, raw dumps и signed URLs. Для скриншотов скрывайте секреты. Большие логи/бинарные traces сохраняйте отдельно по правилам преподавателя; одного скриншота без методики недостаточно.
|
||||
- `swarm-smoke.txt`, `swarm-go-tests.txt`, `swarm-integration.txt`: API и Go/race/PostgreSQL.
|
||||
- `swarm-persistence.txt`, `swarm-before-restart.json`, `swarm-after-restart.json`: полный перезапуск и реальные task/container IDs.
|
||||
- `swarm-failover.txt`: публичная проверка остановки одной реплики.
|
||||
- `swarm-grade4.txt`, `swarm-grade4.json`: одинаковый ключ через разные реплики, последовательный отказ обеих исходных tasks, rolling update под нагрузкой, RPS/ошибки/восстановление и проверки подтверждений.
|
||||
- `swarm-deploy.txt`, `swarm-migrations.txt`: повторный deploy, отсутствие повторного применения миграций и версия схемы.
|
||||
- `swarm-task-history.json`: соответствие Task ID и Container ID; SIGKILL завершил остановленные tasks с 137, rolling update — с 0.
|
||||
- `swarm-environment.json`: CPU/RAM и версии проверенного Docker Engine.
|
||||
- `swarm-status.json`: образы, CPU/RAM, публикация портов, имена секретов (без содержимого), volumes и tasks.
|
||||
- `swarm-load.json`, `swarm-resources.json`: нагрузка, latency, ошибки, CPU/RAM и объём синтетических данных.
|
||||
|
||||
Команды и ограничения измерений — в [REPORT.md](../REPORT.md). Это фактические выводы одного локального прогона, не обещание производительности другой среды.
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
Checked a clean source snapshot (ignored local files excluded).
|
||||
python3 scripts/check_contract.py
|
||||
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
||||
@@ -0,0 +1 @@
|
||||
architecture=aarch64 CPUs=2 RAM_bytes=2053652480 Engine=29.5.2
|
||||
@@ -0,0 +1,223 @@
|
||||
Command: make test-integration PORT=8080
|
||||
Goose v3.27.1; Go race tests
|
||||
? gitflic.ru/akselbant/mtusi2026lab1-fork/cmd [no test files]
|
||||
? gitflic.ru/akselbant/mtusi2026lab1-fork/contracts [no test files]
|
||||
=== RUN TestTimestampFixedMicroseconds
|
||||
--- PASS: TestTimestampFixedMicroseconds (0.00s)
|
||||
PASS
|
||||
ok gitflic.ru/akselbant/mtusi2026lab1-fork/dto 1.015s
|
||||
=== RUN TestRejectsMalformedJSON
|
||||
2026/10/06 19:21:07 request_id=0441a033-226b-4263-a247-9380411a5214 method=POST path=/api/v1/users status=400 response_bytes=140 latency=128.901µs
|
||||
--- PASS: TestRejectsMalformedJSON (0.00s)
|
||||
=== RUN TestHidesForeignChat
|
||||
2026/10/06 19:21:08 request_id=a3224f89-b210-41ba-89d9-9ec909cf8a61 method=POST path=/api/v1/users status=201 response_bytes=141 latency=330.335243ms
|
||||
2026/10/06 19:21:08 request_id=e3e94884-5408-4fb5-9eff-f80ea954b7d4 method=POST path=/api/v1/auth/sessions status=201 response_bytes=269 latency=298.744996ms
|
||||
2026/10/06 19:21:08 request_id=bf12dd30-8fc7-40b2-bb8b-8e2cba874bde method=POST path=/api/v1/users status=201 response_bytes=147 latency=282.731024ms
|
||||
2026/10/06 19:21:08 request_id=6433a955-279e-45ed-a81e-8553ee4c1095 method=POST path=/api/v1/auth/sessions status=201 response_bytes=275 latency=282.634606ms
|
||||
2026/10/06 19:21:08 request_id=651524c9-39ee-4011-89e0-f95aec822c08 method=POST path=/api/v1/chats status=201 response_bytes=163 latency=150.186µs
|
||||
2026/10/06 19:21:08 request_id=f9005e92-40d8-4f1f-ba22-3c52b0ee8ea4 method=GET path=/api/v1/chats/:chat_id status=404 response_bytes=126 latency=50.27µs
|
||||
--- PASS: TestHidesForeignChat (1.20s)
|
||||
=== RUN TestRejectsEmptyMessage
|
||||
2026/10/06 19:21:09 request_id=a9fc1932-2fc6-4d11-a545-384a05871499 method=POST path=/api/v1/users status=201 response_bytes=157 latency=277.86131ms
|
||||
2026/10/06 19:21:09 request_id=998e1cde-edb2-4d22-855b-2b466fc53dcd method=POST path=/api/v1/auth/sessions status=201 response_bytes=285 latency=284.225421ms
|
||||
2026/10/06 19:21:09 request_id=cb48bfd6-0668-4d88-9025-d61d2d2990f2 method=POST path=/api/v1/chats status=201 response_bytes=163 latency=95.336µs
|
||||
2026/10/06 19:21:09 request_id=956e8be1-7a1b-4310-bdae-7972cc16fbad method=POST path=/api/v1/chats/:chat_id/messages status=400 response_bytes=172 latency=114.62µs
|
||||
--- PASS: TestRejectsEmptyMessage (0.57s)
|
||||
=== RUN TestRejectsDuplicateUsername
|
||||
2026/10/06 19:21:09 request_id=72777bcd-188c-48cc-a7de-0bc61725248f method=POST path=/api/v1/users status=201 response_bytes=149 latency=311.61798ms
|
||||
2026/10/06 19:21:10 request_id=5ab95a3a-07b9-40f2-809a-92d7d7483edf method=POST path=/api/v1/auth/sessions status=201 response_bytes=277 latency=279.947026ms
|
||||
2026/10/06 19:21:10 request_id=e0622122-976a-4bc5-b9a4-345376771661 method=POST path=/api/v1/users status=409 response_bytes=170 latency=281.430809ms
|
||||
--- PASS: TestRejectsDuplicateUsername (0.88s)
|
||||
=== RUN TestPaginatesMessagesAcrossMultiplePages
|
||||
2026/10/06 19:21:10 request_id=9d819d9f-35c6-4a50-808a-7087a4921e62 method=POST path=/api/v1/users status=201 response_bytes=151 latency=279.442201ms
|
||||
2026/10/06 19:21:10 request_id=c29bdacf-c029-46aa-a02c-f809b8c2e47c method=POST path=/api/v1/auth/sessions status=201 response_bytes=279 latency=276.345812ms
|
||||
2026/10/06 19:21:10 request_id=3c959364-365e-44a4-bf3b-74d715026fa6 method=POST path=/api/v1/chats status=201 response_bytes=163 latency=91.84µs
|
||||
2026/10/06 19:21:10 request_id=2bd14676-d7da-440f-ad34-a9979bde21c1 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=208 latency=105.751µs
|
||||
2026/10/06 19:21:10 request_id=763351c7-8da6-43ad-b55e-c8bd5162d054 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=208 latency=65.35µs
|
||||
2026/10/06 19:21:10 request_id=2927370f-7580-42c2-8f73-acfe4f924fec method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=208 latency=81.011µs
|
||||
2026/10/06 19:21:10 request_id=d94a3bfc-d62b-4930-8dcf-92d586ee6a98 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=208 latency=64.892µs
|
||||
2026/10/06 19:21:10 request_id=13c255b8-91ab-4f97-a48a-40c3b605f449 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=208 latency=79.469µs
|
||||
2026/10/06 19:21:10 request_id=b44c9e32-ccb6-49e0-bb39-ac3b57598de1 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=208 latency=72.764µs
|
||||
2026/10/06 19:21:10 request_id=2ef87637-534a-40db-88d8-5bf77545d51c method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=208 latency=63.475µs
|
||||
2026/10/06 19:21:10 request_id=fa13c54b-2f64-41b8-8438-086ec08ccdaa method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=685 latency=235.451µs
|
||||
2026/10/06 19:21:10 request_id=3a67f145-e4c2-4467-93c7-15e0d030a347 method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=685 latency=159.647µs
|
||||
2026/10/06 19:21:10 request_id=e9079767-40b1-439c-b4a9-8a6ef7bb2418 method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=685 latency=136.823µs
|
||||
2026/10/06 19:21:10 request_id=4415807d-e50f-4fff-9f40-62431fb58896 method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=239 latency=154.94µs
|
||||
--- PASS: TestPaginatesMessagesAcrossMultiplePages (0.57s)
|
||||
=== RUN TestConcurrentMessagesAreUnique
|
||||
2026/10/06 19:21:11 request_id=c7f3e148-b835-4e12-a05b-7b14a96afc47 method=POST path=/api/v1/users status=201 response_bytes=153 latency=316.770305ms
|
||||
2026/10/06 19:21:11 request_id=a3a54cc9-3a3a-48fb-80dd-825c5387cccc method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=276.768392ms
|
||||
2026/10/06 19:21:11 request_id=a472cedf-ed17-4bb8-9691-539dc74dc7fd method=POST path=/api/v1/users status=201 response_bytes=153 latency=287.071573ms
|
||||
2026/10/06 19:21:12 request_id=4b55614a-8e73-4829-b3b8-f0adc7dea8ee method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=287.734585ms
|
||||
2026/10/06 19:21:12 request_id=94245e8d-7b2e-4e15-b8df-e472f60d0cc5 method=POST path=/api/v1/users status=201 response_bytes=153 latency=297.341306ms
|
||||
2026/10/06 19:21:12 request_id=cc3bdcfe-4cd4-419d-a2a3-8ecd61c2a0a5 method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=310.821696ms
|
||||
2026/10/06 19:21:13 request_id=9cef771d-6d80-4998-be20-d35bdedad20e method=POST path=/api/v1/users status=201 response_bytes=153 latency=285.441241ms
|
||||
2026/10/06 19:21:13 request_id=f0cc7457-df88-4afb-885a-f6307c25ad01 method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=282.669521ms
|
||||
2026/10/06 19:21:13 request_id=881c0abc-72dd-4f9f-a0df-165d91cb0a0c method=POST path=/api/v1/users status=201 response_bytes=153 latency=276.330156ms
|
||||
2026/10/06 19:21:13 request_id=170c6bbe-f315-49e9-876b-abdf4c1cc01a method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=279.385439ms
|
||||
2026/10/06 19:21:14 request_id=0aeeb0eb-c4a6-4d50-a850-3cbf7b808827 method=POST path=/api/v1/users status=201 response_bytes=153 latency=317.071453ms
|
||||
2026/10/06 19:21:14 request_id=0503f41e-c68a-414b-ae08-3830b2a9f0e3 method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=283.199011ms
|
||||
2026/10/06 19:21:14 request_id=27c6a6b3-fb8d-4e2e-b315-9189fd9fb913 method=POST path=/api/v1/users status=201 response_bytes=153 latency=274.624402ms
|
||||
2026/10/06 19:21:15 request_id=60d5e268-cffb-4b41-9c2e-2273dbcb41dd method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=276.830342ms
|
||||
2026/10/06 19:21:15 request_id=182e1fdc-c1ea-4324-a48a-b9aa35d7196b method=POST path=/api/v1/users status=201 response_bytes=153 latency=280.103689ms
|
||||
2026/10/06 19:21:15 request_id=4eee9c0d-d346-4705-b2a7-98e01dd508c9 method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=309.351113ms
|
||||
2026/10/06 19:21:15 request_id=18bb0cb3-cdce-41b2-9c19-e4c787347fe4 method=POST path=/api/v1/users status=201 response_bytes=153 latency=281.188701ms
|
||||
2026/10/06 19:21:16 request_id=06a1834e-2d22-47c0-bda8-fec522218a6e method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=279.685237ms
|
||||
2026/10/06 19:21:16 request_id=311cd27d-9c40-4fff-934e-31f8704f0850 method=POST path=/api/v1/users status=201 response_bytes=153 latency=285.577178ms
|
||||
2026/10/06 19:21:16 request_id=0f05c096-ae0c-4d45-b2d2-798a8a8148bb method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=280.435076ms
|
||||
2026/10/06 19:21:16 request_id=b06753b1-0bef-4315-852e-09196ba32d8b method=POST path=/api/v1/chats status=201 response_bytes=514 latency=170.244µs
|
||||
2026/10/06 19:21:16 request_id=cab4660e-7247-4070-a104-155374f4a4ac method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=107.679µs
|
||||
2026/10/06 19:21:16 request_id=2eb5822c-a9a8-468d-9ee9-0a1427103e0b method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=99.848µs
|
||||
2026/10/06 19:21:16 request_id=df851a12-561b-43c4-aab5-c52c5b3e0e2c method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=83.018µs
|
||||
2026/10/06 19:21:16 request_id=ed803853-7e7e-4f02-860f-8b7b5572fcf6 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=78.395µs
|
||||
2026/10/06 19:21:16 request_id=baf94eab-e920-4b30-81f9-0220f59805e6 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=68.856µs
|
||||
2026/10/06 19:21:16 request_id=16ce0479-c801-4b8f-9337-a9d18bcee63f method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=85.893µs
|
||||
2026/10/06 19:21:16 request_id=2615c1cb-0f70-48bc-9acf-2ce937498d73 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=73.23µs
|
||||
2026/10/06 19:21:16 request_id=36ad82d0-c115-4470-9e03-e38808f12824 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=71.897µs
|
||||
2026/10/06 19:21:16 request_id=adf59f98-ec84-4009-bb50-ae43e0bcf324 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=79.561µs
|
||||
2026/10/06 19:21:16 request_id=55bfe8ac-2831-406a-aa6c-b8c3d4baed77 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=71.48µs
|
||||
2026/10/06 19:21:16 request_id=d518730c-0e14-41f4-95cb-26dc33044604 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=388.1µs
|
||||
2026/10/06 19:21:16 request_id=5c579f45-537c-4932-a180-ec4f15c9cf62 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=92.307µs
|
||||
2026/10/06 19:21:16 request_id=503877f3-1f49-4f78-97b6-13b8a515784e method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=82.852µs
|
||||
2026/10/06 19:21:16 request_id=e78c8851-6ebb-44bb-b3a4-0f467ddea2d3 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=66.148µs
|
||||
2026/10/06 19:21:16 request_id=26abe51e-6a5b-4de4-bff9-568119dea841 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=163.204µs
|
||||
2026/10/06 19:21:16 request_id=bb21674c-6667-4568-ae90-9bd11fd0f7aa method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=83.101µs
|
||||
2026/10/06 19:21:16 request_id=fca9b5db-5dd3-41e9-a009-d63bd99e390e method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=63.482µs
|
||||
2026/10/06 19:21:16 request_id=ea93e3ec-a4cd-4af2-8578-9af84efe8e06 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=68.106µs
|
||||
2026/10/06 19:21:16 request_id=6e8f78ab-b40f-48ba-a465-fc23e997e39e method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=165.62µs
|
||||
2026/10/06 19:21:16 request_id=b929f425-68d4-4972-ae17-eb4815e5d818 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=79.019µs
|
||||
2026/10/06 19:21:16 request_id=58d53db6-b621-42e7-abfd-bd05146d6f21 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=66.44µs
|
||||
2026/10/06 19:21:16 request_id=b6dda1b7-2bb7-4eff-b50b-7c25363ff30c method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=69.397µs
|
||||
2026/10/06 19:21:16 request_id=2a09a8fd-c2e4-4656-9326-b237f5c5977c method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=72.188µs
|
||||
2026/10/06 19:21:16 request_id=a67fc471-ce95-47db-aecc-42476f05c0b3 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=64.149µs
|
||||
2026/10/06 19:21:16 request_id=22393415-489e-4ce2-a48a-6495d2e393c3 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=98.098µs
|
||||
2026/10/06 19:21:16 request_id=2f3fa55a-3aa1-496c-b853-2e66bf8e9a76 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=137.295µs
|
||||
2026/10/06 19:21:16 request_id=62f9409c-da83-415a-af67-ba4e39caaa2d method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=65.649µs
|
||||
2026/10/06 19:21:16 request_id=a282dd3c-eac5-4780-9648-3d63b60127be method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=62.774µs
|
||||
2026/10/06 19:21:16 request_id=d64a3337-41bf-4a70-a4ac-3f064f44efe3 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=326.742µs
|
||||
2026/10/06 19:21:16 request_id=e0fb3964-01d6-4681-ae07-2434a344a637 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=69.48µs
|
||||
2026/10/06 19:21:16 request_id=9f0e2f1f-d4d6-45b0-b39e-d1057ffefd53 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=63.357µs
|
||||
2026/10/06 19:21:16 request_id=f0adaa9f-ca77-4578-ac3d-d807e44c643b method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=75.229µs
|
||||
2026/10/06 19:21:16 request_id=6b9fa169-a65d-447e-90b4-8cdd477c4db1 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=75.021µs
|
||||
2026/10/06 19:21:16 request_id=bb200fb7-109f-4f29-b425-ead35d43b9f5 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=196.778µs
|
||||
2026/10/06 19:21:16 request_id=7de12629-7c0f-4b4b-b179-f8b05a05e2a1 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=84.56µs
|
||||
2026/10/06 19:21:16 request_id=c44c137f-b047-46b7-9cea-6742247b9f9b method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=70.314µs
|
||||
2026/10/06 19:21:16 request_id=5be496b4-f4d4-4c81-8834-7ef1f354143b method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=105.095µs
|
||||
2026/10/06 19:21:16 request_id=5a0f5f0f-57e4-4be4-9648-20d164bfacb2 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=500.193µs
|
||||
2026/10/06 19:21:16 request_id=b0369f94-f269-4597-8f21-5b95b320c907 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=72.438µs
|
||||
2026/10/06 19:21:16 request_id=49270a3b-8c25-4b38-81ac-949b770db00d method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=263.718µs
|
||||
2026/10/06 19:21:16 request_id=20dc5273-e236-4665-8d5a-c18e0e0cf704 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=166.786µs
|
||||
2026/10/06 19:21:16 request_id=a0337f63-fb51-4d21-a2d3-e9fd9b66dfb0 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=135.503µs
|
||||
2026/10/06 19:21:16 request_id=7b6f7175-37f3-4ae6-acf0-153e000c42b8 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=123.049µs
|
||||
2026/10/06 19:21:16 request_id=f6ae7a25-2b42-4cbd-a81b-b4fc5e569b11 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=73.605µs
|
||||
2026/10/06 19:21:16 request_id=5d0e62aa-05cc-44ea-ae25-adda74263b28 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=94.141µs
|
||||
2026/10/06 19:21:16 request_id=6d9abca1-f328-4474-bcc0-2145cb473365 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=72.855µs
|
||||
2026/10/06 19:21:16 request_id=f1d6de04-092a-440e-a8b6-09f9294086c4 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=81.936µs
|
||||
2026/10/06 19:21:16 request_id=f456ab51-2d48-4698-970c-f33acbbd4773 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=67.356µs
|
||||
2026/10/06 19:21:16 request_id=716607c6-2fdc-4284-98e3-6e313d00bc61 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=67.314µs
|
||||
2026/10/06 19:21:16 request_id=412131fc-faac-454e-bfeb-0239b92c121f method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=85.726µs
|
||||
2026/10/06 19:21:16 request_id=4718c127-9794-4ad2-820e-6923267370a8 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=203.318µs
|
||||
2026/10/06 19:21:16 request_id=f2a442a4-a087-403e-8d3a-d137f8c92506 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=84.976µs
|
||||
2026/10/06 19:21:16 request_id=125a1d92-b797-4d3e-a43c-7abc31ab6ced method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=70.23µs
|
||||
2026/10/06 19:21:16 request_id=ebfff79b-7c13-4025-a0a7-84e3f161a58a method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=153.54µs
|
||||
2026/10/06 19:21:16 request_id=cf38fa2e-56c2-4c75-9dce-ea29535f92c1 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=131.755µs
|
||||
2026/10/06 19:21:16 request_id=014731e1-156c-4f7d-8045-5eec3d214d7b method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=143.793µs
|
||||
2026/10/06 19:21:16 request_id=5df4970c-56bd-44d7-984a-b851bd4e886d method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=73.813µs
|
||||
2026/10/06 19:21:16 request_id=269aef01-c4f9-493e-8546-74af19ac949f method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=90.35µs
|
||||
2026/10/06 19:21:16 request_id=7a6522cc-7ac7-44ba-a2c7-fe06c06efac8 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=85.726µs
|
||||
2026/10/06 19:21:16 request_id=c3ca99c2-0c5d-45d1-b0ac-c90c96072562 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=66.065µs
|
||||
2026/10/06 19:21:16 request_id=56f4b1c0-1610-4d17-be0d-d827b2646779 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=119.175µs
|
||||
2026/10/06 19:21:16 request_id=5369e115-0a39-423d-a4c3-911b5312847f method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=76.229µs
|
||||
2026/10/06 19:21:16 request_id=a23c450e-576f-4c20-a74a-45483327d88c method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=115.259µs
|
||||
2026/10/06 19:21:16 request_id=c288050a-bf02-4fbf-bf7a-d7f52ac8378f method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=86.851µs
|
||||
2026/10/06 19:21:16 request_id=5de59665-2ceb-4e7c-9e31-87c6ac9aa71c method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=94.557µs
|
||||
2026/10/06 19:21:16 request_id=b93979f5-b315-4187-a704-3279bcdc7d5f method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=107.845µs
|
||||
2026/10/06 19:21:16 request_id=6adfced1-f1da-4bcf-94d3-96d527d113d8 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=97.89µs
|
||||
2026/10/06 19:21:16 request_id=a89fd3cb-7360-4001-ba32-b622c8acac11 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=69.022µs
|
||||
2026/10/06 19:21:16 request_id=a39fde24-d1a3-4447-97d2-01bce7fe8979 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=74.771µs
|
||||
2026/10/06 19:21:16 request_id=b10fc69b-9d83-48cb-a8c5-a8b0bd08241b method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=93.89µs
|
||||
2026/10/06 19:21:16 request_id=848e41f5-252b-4bf3-b6c9-5e117e9a9166 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=81.227µs
|
||||
2026/10/06 19:21:16 request_id=d95a4100-40bc-468a-982c-45043938292c method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=69.897µs
|
||||
2026/10/06 19:21:16 request_id=790927d0-a008-478d-879d-f8dd3bd1e307 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=69.148µs
|
||||
2026/10/06 19:21:16 request_id=fef3c11b-473c-4029-8a04-ab91e34fcb05 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=62.066µs
|
||||
2026/10/06 19:21:16 request_id=172a30d2-7192-4340-b05a-1efa6753a205 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=61.816µs
|
||||
2026/10/06 19:21:16 request_id=b72f998c-76db-4f94-a648-7872dbb21aa2 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=85.601µs
|
||||
2026/10/06 19:21:16 request_id=18d3dd88-2424-41da-90ec-1c28a2068234 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=141.169µs
|
||||
2026/10/06 19:21:16 request_id=a73c93b2-5ba9-4106-aaa8-115eccb5ba4c method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=71.897µs
|
||||
2026/10/06 19:21:16 request_id=25b35e42-2780-4dbf-b678-3fe047767ab9 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=103.096µs
|
||||
2026/10/06 19:21:16 request_id=6700ff70-e182-41b8-94bf-bb98884d5cc0 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=74.854µs
|
||||
2026/10/06 19:21:16 request_id=3f69dfda-66aa-4e38-a14f-bd60637e5795 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=71.396µs
|
||||
2026/10/06 19:21:16 request_id=9ba1181d-c0ac-4eb6-a372-1056312ae6d5 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=66.815µs
|
||||
2026/10/06 19:21:16 request_id=26577b5f-ca86-4cfb-abd3-2960b003c6b8 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=67.647µs
|
||||
2026/10/06 19:21:16 request_id=ebfdbe7e-eb01-45a6-a5c3-3d57f15c8b29 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=94.682µs
|
||||
2026/10/06 19:21:16 request_id=99b59a51-7316-45de-81af-789d3578ccf4 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=64.982µs
|
||||
2026/10/06 19:21:16 request_id=a2405336-12b6-436c-b59b-fd9d0dadaf90 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=80.436µs
|
||||
2026/10/06 19:21:16 request_id=f410744f-17f5-4b9f-ba88-407a3d1f7cb6 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=118.759µs
|
||||
2026/10/06 19:21:16 request_id=660967af-2887-4231-8956-89d3dc80631a method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=74.688µs
|
||||
2026/10/06 19:21:16 request_id=b8a5b1e5-49fb-42bd-b20f-673073395516 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=84.101µs
|
||||
2026/10/06 19:21:16 request_id=ca1d617b-c8b3-4186-b9e1-2611a1b54cb6 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=67.273µs
|
||||
2026/10/06 19:21:16 request_id=1900187a-0eb9-4a92-b737-ad244582b2f7 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=64.607µs
|
||||
2026/10/06 19:21:16 request_id=4e9d7855-4162-4cbd-b74d-25e40a615423 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=63.315µs
|
||||
2026/10/06 19:21:16 request_id=18510d80-8a23-43aa-a8b1-df0a09ede963 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=65.19µs
|
||||
2026/10/06 19:21:16 request_id=85c580e6-bd0a-4f8e-9db6-da3f4bd77d88 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=65.44µs
|
||||
2026/10/06 19:21:16 request_id=248b2eb0-2ec8-4df5-9890-3965f013c9b9 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=61.024µs
|
||||
2026/10/06 19:21:16 request_id=834ec62e-6398-4ec6-80b1-2ae581ed34cc method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=62.191µs
|
||||
2026/10/06 19:21:16 request_id=c015940c-08f0-45c7-af18-bd7d4f8f6205 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=57.526µs
|
||||
2026/10/06 19:21:16 request_id=2ec696e9-c951-479d-a949-56c8b47f3579 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=79.603µs
|
||||
2026/10/06 19:21:16 request_id=14d620cc-f9d9-4bc0-a366-1757bcb523e6 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=66.398µs
|
||||
2026/10/06 19:21:16 request_id=ee6d1c5d-c70f-4e02-9ce6-cd379febfd39 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=73.604µs
|
||||
2026/10/06 19:21:16 request_id=b06e4c73-f928-4db1-95b5-ecb65561b8d6 method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=3992 latency=561.259µs
|
||||
2026/10/06 19:21:16 request_id=c658374a-4ad2-4fc3-b90d-a5eec1fab760 method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=3992 latency=592.751µs
|
||||
2026/10/06 19:21:16 request_id=040d5c1b-ebb8-4777-8281-f5f9a6e33e33 method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=3992 latency=532.143µs
|
||||
2026/10/06 19:21:16 request_id=7e8c90e6-9cc8-459a-898a-628797411b79 method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=3992 latency=545.681µs
|
||||
2026/10/06 19:21:16 request_id=82b2c0b8-34c9-495b-9cd0-cf048732e163 method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=3992 latency=410.426µs
|
||||
2026/10/06 19:21:16 request_id=9f4c48a4-b073-451d-ac6c-7f4bba303965 method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=3316 latency=303.831µs
|
||||
--- PASS: TestConcurrentMessagesAreUnique (5.82s)
|
||||
PASS
|
||||
ok gitflic.ru/akselbant/mtusi2026lab1-fork/internal/app/chat 10.086s
|
||||
? gitflic.ru/akselbant/mtusi2026lab1-fork/internal/config [no test files]
|
||||
? gitflic.ru/akselbant/mtusi2026lab1-fork/internal/pkg/domain [no test files]
|
||||
=== RUN TestUnicodeAndSalt
|
||||
--- PASS: TestUnicodeAndSalt (1.77s)
|
||||
PASS
|
||||
ok gitflic.ru/akselbant/mtusi2026lab1-fork/internal/pkg/password 2.805s
|
||||
? gitflic.ru/akselbant/mtusi2026lab1-fork/internal/pkg/repository [no test files]
|
||||
=== RUN TestIntegration
|
||||
storage_test.go:84: goose up: 2026/10/06 19:21:21 OK 001_initial.sql (12.05ms)
|
||||
2026/10/06 19:21:21 goose: successfully migrated database to version: 1
|
||||
storage_test.go:85: goose up: 2026/10/06 19:21:21 goose: no migrations to run. current version: 1
|
||||
=== RUN TestIntegration/registration_race
|
||||
storage_test.go:121: 12 concurrent INSERTs: 1 success, 11 unique conflicts
|
||||
=== RUN TestIntegration/rollback
|
||||
storage_test.go:139: failed second member INSERT left 0 chats and 0 members
|
||||
=== RUN TestIntegration/keyset_and_explain
|
||||
storage_test.go:186: EXPLAIN on 10,000 messages, cursor near the end (9,000):
|
||||
storage_test.go:192: Limit (cost=0.29..16.15 rows=51 width=142) (actual time=0.011..0.026 rows=51 loops=1)
|
||||
storage_test.go:192: Buffers: shared hit=5
|
||||
storage_test.go:192: -> Index Scan using messages_history_idx on messages m (cost=0.29..311.35 rows=1000 width=142) (actual time=0.011..0.023 rows=51 loops=1)
|
||||
storage_test.go:192: Index Cond: ((chat_id = '2cd3eb66-3ffd-4d6c-9c0c-c4f82aaabdc4'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.9+00'::timestamp with time zone, '00000000-0000-0000-0000-000000000000'::uuid)))
|
||||
storage_test.go:192: Buffers: shared hit=5
|
||||
storage_test.go:192: Planning Time: 0.047 ms
|
||||
storage_test.go:192: Execution Time: 0.044 ms
|
||||
storage_test.go:197: keyset traversal returned 10,000 distinct messages, including equal timestamps
|
||||
=== RUN TestIntegration/goose_legacy_and_down
|
||||
storage_test.go:211: goose up: 2026/10/06 19:21:21 OK 001_initial.sql (1.91ms)
|
||||
2026/10/06 19:21:21 goose: successfully migrated database to version: 1
|
||||
storage_test.go:212: goose up: 2026/10/06 19:21:21 goose: no migrations to run. current version: 1
|
||||
storage_test.go:219: adopted legacy schema: all 10,000 messages are unchanged
|
||||
storage_test.go:220: goose down: 2026/10/06 19:21:21 OK 001_initial.sql (10.84ms)
|
||||
storage_test.go:225: goose up: 2026/10/06 19:21:21 OK 001_initial.sql (11.27ms)
|
||||
2026/10/06 19:21:21 goose: successfully migrated database to version: 1
|
||||
storage_test.go:229: down and up succeeded in isolated schema
|
||||
--- PASS: TestIntegration (0.47s)
|
||||
--- PASS: TestIntegration/registration_race (0.03s)
|
||||
--- PASS: TestIntegration/rollback (0.00s)
|
||||
--- PASS: TestIntegration/keyset_and_explain (0.06s)
|
||||
--- PASS: TestIntegration/goose_legacy_and_down (0.10s)
|
||||
PASS
|
||||
ok gitflic.ru/akselbant/mtusi2026lab1-fork/internal/pkg/repository/postgres 1.491s
|
||||
? gitflic.ru/akselbant/mtusi2026lab1-fork/internal/pkg/session [no test files]
|
||||
=== RUN TestPasswordContract
|
||||
--- PASS: TestPasswordContract (0.00s)
|
||||
PASS
|
||||
ok gitflic.ru/akselbant/mtusi2026lab1-fork/internal/usecase/chat 1.012s
|
||||
@@ -0,0 +1,3 @@
|
||||
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://localhost:8080"
|
||||
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
|
||||
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
@@ -0,0 +1,3 @@
|
||||
PASS: switching the existing stack to goose preserved the existing session and confirmed message.
|
||||
migrations-1 | 2026/10/06 19:19:45 OK 001_initial.sql (11.47ms)
|
||||
migrations-1 | 2026/10/06 19:19:45 goose: successfully migrated database to version: 1
|
||||
@@ -0,0 +1,9 @@
|
||||
python3 tests/own/grade4.py
|
||||
PASS: wrong password, unknown user, Bearer-only access, X-User-Id ignored, logout
|
||||
PASS: 128-code-point Unicode password including colon; suffix verified
|
||||
PASS: HTTP registration race: one 201, seven 409
|
||||
PASS: redis outage bounded; live=200, ready=503, protected=503, anonymous=401; session recovered, logout retained
|
||||
PASS: postgres outage bounded; live=200, ready=503, protected=503, anonymous=401; session recovered, logout retained
|
||||
PASS: cursor and existing session survive API restart
|
||||
PASS: SESSION_TTL_SECONDS=2 expires; Redis restart does not revive expired session
|
||||
PASS: all grade-4 HTTP checks; normal TTL restored to 3600
|
||||
@@ -0,0 +1,208 @@
|
||||
Command: make test-integration PORT=8080
|
||||
Go 1.26.4 linux/arm64; go test -p=1 -race -count=1 -v ./...
|
||||
? gitflic.ru/akselbant/mtusi2026lab1-fork/cmd [no test files]
|
||||
? gitflic.ru/akselbant/mtusi2026lab1-fork/contracts [no test files]
|
||||
=== RUN TestTimestampFixedMicroseconds
|
||||
--- PASS: TestTimestampFixedMicroseconds (0.00s)
|
||||
PASS
|
||||
ok gitflic.ru/akselbant/mtusi2026lab1-fork/dto 1.013s
|
||||
=== RUN TestRejectsMalformedJSON
|
||||
2026/10/06 17:11:46 request_id=e8e4c5cb-9f29-4417-90c9-6c6bb7fbf87b method=POST path=/api/v1/users status=400 response_bytes=140 latency=124.462µs
|
||||
--- PASS: TestRejectsMalformedJSON (0.00s)
|
||||
=== RUN TestHidesForeignChat
|
||||
2026/10/06 17:11:46 request_id=59f8e8c9-bdf7-4ae9-b54e-a03228cfb388 method=POST path=/api/v1/users status=201 response_bytes=141 latency=279.803447ms
|
||||
2026/10/06 17:11:46 request_id=76453c2a-45f0-4d7e-b3c2-a7fb08b5e149 method=POST path=/api/v1/auth/sessions status=201 response_bytes=269 latency=277.437307ms
|
||||
2026/10/06 17:11:47 request_id=36e8af31-56ea-4032-8307-4e0ee0ac9f32 method=POST path=/api/v1/users status=201 response_bytes=147 latency=275.096835ms
|
||||
2026/10/06 17:11:47 request_id=359f9f08-2e2d-4ca5-b5fb-e8f6c028a613 method=POST path=/api/v1/auth/sessions status=201 response_bytes=275 latency=268.544894ms
|
||||
2026/10/06 17:11:47 request_id=870c9c2c-56d3-47e0-a609-e57f8c89a111 method=POST path=/api/v1/chats status=201 response_bytes=163 latency=145.171µs
|
||||
2026/10/06 17:11:47 request_id=80336c91-4039-4ccb-8a52-84c8425b91af method=GET path=/api/v1/chats/:chat_id status=404 response_bytes=126 latency=42.418µs
|
||||
--- PASS: TestHidesForeignChat (1.11s)
|
||||
=== RUN TestRejectsEmptyMessage
|
||||
2026/10/06 17:11:47 request_id=ca62f6b7-5d96-480c-99c6-606060bd3036 method=POST path=/api/v1/users status=201 response_bytes=157 latency=265.214939ms
|
||||
2026/10/06 17:11:47 request_id=743e15b0-26ff-4887-b5ec-b6b90c7b2af7 method=POST path=/api/v1/auth/sessions status=201 response_bytes=285 latency=274.81692ms
|
||||
2026/10/06 17:11:47 request_id=ad65e486-2554-4545-b231-7ba0339af859 method=POST path=/api/v1/chats status=201 response_bytes=163 latency=87.752µs
|
||||
2026/10/06 17:11:47 request_id=02390097-3490-4607-9542-20836f022f73 method=POST path=/api/v1/chats/:chat_id/messages status=400 response_bytes=172 latency=96.669µs
|
||||
--- PASS: TestRejectsEmptyMessage (0.54s)
|
||||
=== RUN TestRejectsDuplicateUsername
|
||||
2026/10/06 17:11:48 request_id=fd31a2dc-266f-4755-aa48-2eaae0ba62d6 method=POST path=/api/v1/users status=201 response_bytes=149 latency=264.826517ms
|
||||
2026/10/06 17:11:48 request_id=e91002ae-4e94-4eda-8cd5-5c0954a8ed29 method=POST path=/api/v1/auth/sessions status=201 response_bytes=277 latency=276.543262ms
|
||||
2026/10/06 17:11:48 request_id=ca219059-0e42-49ff-b178-455b4ca73ba2 method=POST path=/api/v1/users status=409 response_bytes=170 latency=264.399928ms
|
||||
--- PASS: TestRejectsDuplicateUsername (0.81s)
|
||||
=== RUN TestPaginatesMessagesAcrossMultiplePages
|
||||
2026/10/06 17:11:48 request_id=76e157d8-745c-48ca-aca8-50876bbaed94 method=POST path=/api/v1/users status=201 response_bytes=151 latency=265.669625ms
|
||||
2026/10/06 17:11:49 request_id=142854de-61a6-4dca-ac97-d051fc005f36 method=POST path=/api/v1/auth/sessions status=201 response_bytes=279 latency=277.875757ms
|
||||
2026/10/06 17:11:49 request_id=6fe0c262-da8f-4a93-8974-5c7eac622c48 method=POST path=/api/v1/chats status=201 response_bytes=163 latency=93.544µs
|
||||
2026/10/06 17:11:49 request_id=7b9bb503-672b-458b-a208-3368280d9b5d method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=208 latency=108.169µs
|
||||
2026/10/06 17:11:49 request_id=7795d082-8517-4111-bd1c-2c73107f8f99 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=208 latency=86.543µs
|
||||
2026/10/06 17:11:49 request_id=625b8a36-e94c-4cb8-80b7-ab61aef8d9d5 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=208 latency=71.294µs
|
||||
2026/10/06 17:11:49 request_id=aaf9c35f-c9db-42f3-b670-5c82101b39fe method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=208 latency=71.46µs
|
||||
2026/10/06 17:11:49 request_id=f1a49f33-6985-475d-a28c-155484a01609 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=208 latency=79.919µs
|
||||
2026/10/06 17:11:49 request_id=a69e732c-7059-4933-95ef-e508e282cc2b method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=208 latency=68.169µs
|
||||
2026/10/06 17:11:49 request_id=715a0198-b00b-48c4-bc53-e267037bf35a method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=208 latency=71.669µs
|
||||
2026/10/06 17:11:49 request_id=c5eb79fb-9fe3-41ac-b5d1-66a170eec00e method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=685 latency=253.048µs
|
||||
2026/10/06 17:11:49 request_id=05754f2f-26b7-4b6b-9926-0aa40c70076b method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=685 latency=148.711µs
|
||||
2026/10/06 17:11:49 request_id=25609aab-fb9a-44d0-be3e-c99e1056d5c5 method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=685 latency=136.462µs
|
||||
2026/10/06 17:11:49 request_id=e3f7546e-3e35-4c22-bf83-2eb9eee5f7d3 method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=239 latency=84.211µs
|
||||
--- PASS: TestPaginatesMessagesAcrossMultiplePages (0.55s)
|
||||
=== RUN TestConcurrentMessagesAreUnique
|
||||
2026/10/06 17:11:49 request_id=6af0ec62-1457-4017-a334-8b61a6dd8523 method=POST path=/api/v1/users status=201 response_bytes=153 latency=263.137073ms
|
||||
2026/10/06 17:11:49 request_id=40bdce31-ceb4-46bd-bb25-b101ecf89310 method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=272.859849ms
|
||||
2026/10/06 17:11:49 request_id=88d9f958-2a70-4cd3-bad7-d1f68158922f method=POST path=/api/v1/users status=201 response_bytes=153 latency=265.578006ms
|
||||
2026/10/06 17:11:50 request_id=dbefec27-8f9f-436c-9ff1-14b8befe470c method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=270.656678ms
|
||||
2026/10/06 17:11:50 request_id=94288b11-d077-4e75-b2e3-3cc66a1a9b73 method=POST path=/api/v1/users status=201 response_bytes=153 latency=270.490758ms
|
||||
2026/10/06 17:11:50 request_id=75e67e24-6021-46a2-8d39-c74fc75276a2 method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=281.818072ms
|
||||
2026/10/06 17:11:51 request_id=208e2c45-b1cc-44b6-a42b-38c849cc5cb4 method=POST path=/api/v1/users status=201 response_bytes=153 latency=270.711933ms
|
||||
2026/10/06 17:11:51 request_id=5c862fa9-3148-4c57-bd0f-5c546b75a97b method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=267.219479ms
|
||||
2026/10/06 17:11:51 request_id=d3ccd7ab-daf6-4e16-98b1-db63f6bc2521 method=POST path=/api/v1/users status=201 response_bytes=153 latency=267.147394ms
|
||||
2026/10/06 17:11:51 request_id=8ee10021-c90d-4489-97e7-6338e43876ef method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=274.15848ms
|
||||
2026/10/06 17:11:52 request_id=18bfdfa8-d107-4c10-82b8-8dd4ee0b8207 method=POST path=/api/v1/users status=201 response_bytes=153 latency=264.684298ms
|
||||
2026/10/06 17:11:52 request_id=cf129218-f444-4af0-870b-05b75bbb1495 method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=277.132935ms
|
||||
2026/10/06 17:11:52 request_id=45915a5a-a39b-46e0-abc2-e63df81acde5 method=POST path=/api/v1/users status=201 response_bytes=153 latency=267.330115ms
|
||||
2026/10/06 17:11:52 request_id=7e6942c3-081b-415b-b67b-91a7ca8f1d7b method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=266.56843ms
|
||||
2026/10/06 17:11:53 request_id=d1d60fa6-50ec-48d7-9062-e74946c1f573 method=POST path=/api/v1/users status=201 response_bytes=153 latency=265.348949ms
|
||||
2026/10/06 17:11:53 request_id=11c9cd05-8fb2-4f47-8219-5160e6654878 method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=268.274729ms
|
||||
2026/10/06 17:11:53 request_id=c4f12bba-e149-4e5f-80c9-ceab986465f5 method=POST path=/api/v1/users status=201 response_bytes=153 latency=273.191556ms
|
||||
2026/10/06 17:11:54 request_id=8a80001d-9ce6-4fc3-9175-51b0b38e2fa8 method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=282.344697ms
|
||||
2026/10/06 17:11:54 request_id=6b7f32c1-76ec-4e70-adf1-0be9971a568e method=POST path=/api/v1/users status=201 response_bytes=153 latency=269.452391ms
|
||||
2026/10/06 17:11:54 request_id=20347766-723a-456a-8248-1addc0f0ba33 method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=320.228994ms
|
||||
2026/10/06 17:11:54 request_id=65c95f19-d84f-480f-9fc7-9bf9714fec02 method=POST path=/api/v1/chats status=201 response_bytes=514 latency=185.922µs
|
||||
2026/10/06 17:11:54 request_id=a3bb82a2-58c9-4cc0-bcf6-53e5008afebf method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=137.128µs
|
||||
2026/10/06 17:11:54 request_id=52ca4f8b-0abc-46df-95b0-bc82286f4c71 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=119.169µs
|
||||
2026/10/06 17:11:54 request_id=d288240d-7bb6-4dd9-9f34-e2e96c580c5c method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=117.377µs
|
||||
2026/10/06 17:11:54 request_id=6373cde3-3649-4bec-906d-948dc0200ebe method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=128.337µs
|
||||
2026/10/06 17:11:54 request_id=92ad24c9-0420-4332-a057-4a9c1817c757 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=156.837µs
|
||||
2026/10/06 17:11:54 request_id=a04edc1d-986f-4b3c-a21f-ef1672d6284c method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=247.923µs
|
||||
2026/10/06 17:11:54 request_id=48824c02-bf42-47ac-b11b-7f18ef79ee6a method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=137.753µs
|
||||
2026/10/06 17:11:54 request_id=42c76b98-b7f4-4b91-a6ff-47839ae45474 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=94.544µs
|
||||
2026/10/06 17:11:54 request_id=9425866d-9655-4c71-bf27-1767f1db44fd method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=106.294µs
|
||||
2026/10/06 17:11:54 request_id=06805015-e5b9-4589-878d-181b6dd785da method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=84.544µs
|
||||
2026/10/06 17:11:54 request_id=bc858f79-d973-48ba-a883-73dabc9aa4af method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=76.335µs
|
||||
2026/10/06 17:11:54 request_id=0d713e11-b13b-4b44-89d9-ce5604adee7b method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=91.002µs
|
||||
2026/10/06 17:11:54 request_id=a691618a-47e4-4aed-947d-dad401e352f3 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=152.378µs
|
||||
2026/10/06 17:11:54 request_id=ccfb2f60-7a13-4e9a-b1cd-69f0d7ce51b0 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=103.336µs
|
||||
2026/10/06 17:11:54 request_id=36302370-157c-4d25-a61e-64b94c3b26f4 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=99.877µs
|
||||
2026/10/06 17:11:54 request_id=a29fd9fc-201a-48a9-a3f7-a45cc0a3f6cd method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=76.961µs
|
||||
2026/10/06 17:11:54 request_id=a448c1c3-a88d-4de5-a20e-add6d4b04254 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=87.169µs
|
||||
2026/10/06 17:11:54 request_id=7c1cdc74-3310-498f-9a4a-bd4a82b3a848 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=321.216µs
|
||||
2026/10/06 17:11:54 request_id=f9a116fa-1dc4-4918-a2a6-28445db70b76 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=109.128µs
|
||||
2026/10/06 17:11:54 request_id=4add97c2-9ff6-435f-8da8-946f174baf35 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=92.752µs
|
||||
2026/10/06 17:11:54 request_id=8725e62e-2dec-4dcb-bd7b-b0f0f1063f26 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=171.046µs
|
||||
2026/10/06 17:11:54 request_id=38dfbed6-1f66-4185-a739-a6b6014b0bf4 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=90.335µs
|
||||
2026/10/06 17:11:54 request_id=e681db73-fffe-42f5-a965-89c4eab1c9c7 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=98.253µs
|
||||
2026/10/06 17:11:54 request_id=6396166a-f0de-4275-a748-ee94704e7143 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=154.378µs
|
||||
2026/10/06 17:11:54 request_id=b6f24d9f-4c61-4cec-8189-a0f78d95ed6a method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=119.169µs
|
||||
2026/10/06 17:11:54 request_id=fa6ed21a-d363-40b7-947e-fc5f2d09671e method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=93.793µs
|
||||
2026/10/06 17:11:54 request_id=f1e07424-0a84-45a2-a9e2-fa8269dc30e1 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=115.42µs
|
||||
2026/10/06 17:11:54 request_id=8a69a804-d13b-420c-b116-9607897241d5 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=130.211µs
|
||||
2026/10/06 17:11:54 request_id=fb35a833-deb8-4b84-acef-e96c3d41e243 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=77.961µs
|
||||
2026/10/06 17:11:54 request_id=501bbc6d-db8e-4227-8e40-119357f0113f method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=103.377µs
|
||||
2026/10/06 17:11:54 request_id=8d6f6962-0ffc-4d3c-8da7-3ab412eb2403 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=77.794µs
|
||||
2026/10/06 17:11:54 request_id=25e8c17c-c570-4017-be2e-bfd34a9f2914 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=71.543µs
|
||||
2026/10/06 17:11:54 request_id=15e4bf7b-aba0-4260-bd35-8dfc9e3cf73c method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=92.044µs
|
||||
2026/10/06 17:11:54 request_id=9643a4c3-e680-4cc8-a11b-c2c9c3d01390 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=221.13µs
|
||||
2026/10/06 17:11:54 request_id=b595eab1-ccc0-4053-86e3-195354c25808 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=102.752µs
|
||||
2026/10/06 17:11:54 request_id=bf93fb32-5453-496c-8649-a50a6209c9dd method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=74.751µs
|
||||
2026/10/06 17:11:54 request_id=e53e255f-b83f-4397-a1b2-0113bb1b97c4 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=84.335µs
|
||||
2026/10/06 17:11:54 request_id=9e456f89-82b6-468d-9186-d7ec6efeb9ae method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=70.752µs
|
||||
2026/10/06 17:11:54 request_id=12156394-5251-4e84-8818-1255da679988 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=82.877µs
|
||||
2026/10/06 17:11:54 request_id=c31e88d2-66e7-41ec-b4c8-7e8da8d39b95 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=81.544µs
|
||||
2026/10/06 17:11:54 request_id=baeff5ed-e644-4f26-8510-5d8cd396eff4 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=172.212µs
|
||||
2026/10/06 17:11:54 request_id=052c42d3-fe16-4752-aeae-1ae44c6dc343 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=93.961µs
|
||||
2026/10/06 17:11:54 request_id=77d17d31-9435-4579-8cd5-5b158b1c0516 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=96.044µs
|
||||
2026/10/06 17:11:54 request_id=9b0408d1-7595-4574-996e-1bce95fb38d9 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=165.379µs
|
||||
2026/10/06 17:11:54 request_id=0d06a023-2ee3-4f79-b900-d6538bbd25e2 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=76.335µs
|
||||
2026/10/06 17:11:54 request_id=15cd3dea-8163-49d6-9680-cdb5e2b579c5 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=80.544µs
|
||||
2026/10/06 17:11:54 request_id=33558c8f-4736-4fe9-8c19-98eaab6a6af9 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=83.752µs
|
||||
2026/10/06 17:11:54 request_id=9c5c3195-6f95-4e81-901e-022b935e367b method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=72.835µs
|
||||
2026/10/06 17:11:54 request_id=78f77269-c519-4b88-9734-2735260561f2 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=479.553µs
|
||||
2026/10/06 17:11:54 request_id=aae08242-deff-4334-b5ed-ec23283e69b1 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=364.259µs
|
||||
2026/10/06 17:11:54 request_id=a53ea283-2125-4ee7-8bfb-fd81074a2def method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=332.549µs
|
||||
2026/10/06 17:11:54 request_id=060b42d9-8666-4b04-8473-7677adb2e047 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=469.345µs
|
||||
2026/10/06 17:11:54 request_id=c64e9c1f-5a28-4d84-b876-9e121dd91d0c method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=392.926µs
|
||||
2026/10/06 17:11:54 request_id=c69ff53d-f60a-410e-b1ca-3ece4f4a3fb1 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=1.854545ms
|
||||
2026/10/06 17:11:54 request_id=37b591e0-db2e-4c13-b780-c5b965f3a992 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=536.471µs
|
||||
2026/10/06 17:11:54 request_id=786349e2-75a0-49f5-ab17-050099850eb5 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=1.776043ms
|
||||
2026/10/06 17:11:54 request_id=e03250f7-1421-4b5b-ae20-1b7abd0f48fa method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=3.066699ms
|
||||
2026/10/06 17:11:54 request_id=b8240c72-52df-4930-80e4-a18909b0d0d2 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=2.881361ms
|
||||
2026/10/06 17:11:54 request_id=0580b9b3-96e9-431b-8891-95b0cebbfee9 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=177.796µs
|
||||
2026/10/06 17:11:54 request_id=08f73860-665e-495e-a519-16909f9f5cbb method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=3.113742ms
|
||||
2026/10/06 17:11:54 request_id=09ac1ec7-5759-4abc-a45c-05c731978b0b method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=3.30783ms
|
||||
2026/10/06 17:11:54 request_id=a73784b7-6e30-4cfa-aa2e-f51edc83d5a0 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=1.839045ms
|
||||
2026/10/06 17:11:54 request_id=91ff10f9-ebf4-495d-974c-c75a03d44e36 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=107.419µs
|
||||
2026/10/06 17:11:54 request_id=de529d6b-96d9-4629-a2b7-ead508a6fbeb method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=238.631µs
|
||||
2026/10/06 17:11:54 request_id=eabb36ab-882e-4020-905f-7eff28b1b64e method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=80.586µs
|
||||
2026/10/06 17:11:54 request_id=0c78dbfc-9262-4167-9830-beab61b92d83 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=77.752µs
|
||||
2026/10/06 17:11:54 request_id=82083f7f-a6ba-4251-9beb-6672b358d001 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=84.169µs
|
||||
2026/10/06 17:11:54 request_id=0798917d-7f68-43df-8012-d3592758615e method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=137.587µs
|
||||
2026/10/06 17:11:54 request_id=12388de4-e498-4b43-b452-3eddf22bb72c method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=76.169µs
|
||||
2026/10/06 17:11:54 request_id=cf93820f-2121-436b-8224-ba98b7ccb3e5 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=139.878µs
|
||||
2026/10/06 17:11:54 request_id=e981d9b3-1aa1-49e7-8f59-9088e067a752 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=80.085µs
|
||||
2026/10/06 17:11:54 request_id=ec1e6972-4109-4a64-aea7-bc739e358de7 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=142.67µs
|
||||
2026/10/06 17:11:54 request_id=d43133b2-5393-4e9d-8970-1621d5bd6516 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=143.296µs
|
||||
2026/10/06 17:11:54 request_id=77b37921-3954-4c9b-b338-1ca2128adb4b method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=87.628µs
|
||||
2026/10/06 17:11:54 request_id=50f3d8f8-167f-4bc6-9edc-4988f7adc463 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=183.296µs
|
||||
2026/10/06 17:11:54 request_id=06e465be-61bb-423b-b116-ad6c67060bca method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=90.669µs
|
||||
2026/10/06 17:11:54 request_id=ca62fba6-b8ff-41c3-9ec9-f945d90f8be2 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=75.377µs
|
||||
2026/10/06 17:11:54 request_id=45c86cde-f10b-4397-bb57-c991ab2a6afb method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=92.335µs
|
||||
2026/10/06 17:11:54 request_id=1ef6c336-3752-463f-9680-9985ea3839a5 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=83.502µs
|
||||
2026/10/06 17:11:54 request_id=00adcb49-041e-482b-b7d1-624d5af93e19 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=89.21µs
|
||||
2026/10/06 17:11:54 request_id=82bb2532-949a-4d96-9556-bbf806e909db method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=78.127µs
|
||||
2026/10/06 17:11:54 request_id=051999f5-8e23-44e8-9b6e-0d84594136e6 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=82.252µs
|
||||
2026/10/06 17:11:54 request_id=e2984eab-756e-4b2d-ad4d-21f91e6670fe method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=74.96µs
|
||||
2026/10/06 17:11:54 request_id=da5c6ffa-2949-44d7-9c7d-3226d4644b02 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=161.087µs
|
||||
2026/10/06 17:11:54 request_id=f4bfdf94-7888-42d9-987c-c5553c80e2a4 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=64.71µs
|
||||
2026/10/06 17:11:54 request_id=82f5f753-6324-4e02-81db-8d280db1a62d method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=94.127µs
|
||||
2026/10/06 17:11:54 request_id=6f6b00b8-cb66-4717-8807-45be0c9624a6 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=98.002µs
|
||||
2026/10/06 17:11:54 request_id=2830cee7-de53-4cd0-849f-d292ac297908 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=85.627µs
|
||||
2026/10/06 17:11:54 request_id=30afc48b-823d-400f-8683-01aafdb2f0cc method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=83.044µs
|
||||
2026/10/06 17:11:54 request_id=a3a47618-ef31-4e62-9dd7-157aa4660b7e method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=153.962µs
|
||||
2026/10/06 17:11:54 request_id=95fd0d00-462a-408e-8ed6-47b775feafd2 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=242.839µs
|
||||
2026/10/06 17:11:54 request_id=4f4d182b-f220-4679-990f-2f5700ae38b3 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=81.918µs
|
||||
2026/10/06 17:11:54 request_id=957a46c2-34d9-4c3d-9e07-22e426203752 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=94.793µs
|
||||
2026/10/06 17:11:54 request_id=3ba94dd6-4790-470e-b154-82568881bf71 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=79.877µs
|
||||
2026/10/06 17:11:54 request_id=e15e462b-0365-47e0-bf2b-70a6dba91071 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=79.919µs
|
||||
2026/10/06 17:11:54 request_id=f9bf4a10-59a1-4c97-bb5c-6675c489efe6 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=85.044µs
|
||||
2026/10/06 17:11:54 request_id=9f32f216-9b6c-4e31-9a66-0c093841c7cd method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=207.963µs
|
||||
2026/10/06 17:11:54 request_id=6d011e35-67c4-472c-b016-a96856287c97 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=155.587µs
|
||||
2026/10/06 17:11:54 request_id=d3cb8aec-2279-4e29-83e5-df900e3c38aa method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=91.336µs
|
||||
2026/10/06 17:11:54 request_id=ec0e1ceb-9320-48a9-b07f-559023446992 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=92.877µs
|
||||
2026/10/06 17:11:54 request_id=a702a45e-6259-4a4b-ac8d-f58e18584678 method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=3992 latency=624.723µs
|
||||
2026/10/06 17:11:54 request_id=d225891a-5a65-4fe9-8220-7c33910ec911 method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=3992 latency=682.683µs
|
||||
2026/10/06 17:11:54 request_id=74c04fdb-a93e-4694-8ed9-d6ed5b0fe9db method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=3992 latency=674.683µs
|
||||
2026/10/06 17:11:54 request_id=7781b280-fcbf-4444-a150-08ee0428d7ca method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=3992 latency=625.806µs
|
||||
2026/10/06 17:11:54 request_id=09eb9746-8eb9-4fb4-99cb-28f0c44837d7 method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=3992 latency=496.637µs
|
||||
2026/10/06 17:11:54 request_id=1030f7c9-a007-4fbb-bb3d-b72710684290 method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=3316 latency=387.759µs
|
||||
--- PASS: TestConcurrentMessagesAreUnique (5.52s)
|
||||
PASS
|
||||
ok gitflic.ru/akselbant/mtusi2026lab1-fork/internal/app/chat 9.600s
|
||||
? gitflic.ru/akselbant/mtusi2026lab1-fork/internal/config [no test files]
|
||||
? gitflic.ru/akselbant/mtusi2026lab1-fork/internal/pkg/domain [no test files]
|
||||
=== RUN TestUnicodeAndSalt
|
||||
--- PASS: TestUnicodeAndSalt (1.85s)
|
||||
PASS
|
||||
ok gitflic.ru/akselbant/mtusi2026lab1-fork/internal/pkg/password 2.888s
|
||||
? gitflic.ru/akselbant/mtusi2026lab1-fork/internal/pkg/repository [no test files]
|
||||
=== RUN TestIntegration
|
||||
=== RUN TestIntegration/registration_race
|
||||
storage_test.go:98: 12 concurrent INSERTs: 1 success, 11 unique conflicts
|
||||
=== RUN TestIntegration/rollback
|
||||
storage_test.go:116: failed second member INSERT left 0 chats and 0 members
|
||||
=== RUN TestIntegration/keyset_and_explain
|
||||
storage_test.go:163: EXPLAIN on 10,000 messages, cursor near the end (9,000):
|
||||
storage_test.go:169: Limit (cost=0.29..16.15 rows=51 width=142) (actual time=0.010..0.023 rows=51 loops=1)
|
||||
storage_test.go:169: Buffers: shared hit=5
|
||||
storage_test.go:169: -> Index Scan using messages_history_idx on messages m (cost=0.29..311.35 rows=1000 width=142) (actual time=0.009..0.020 rows=51 loops=1)
|
||||
storage_test.go:169: Index Cond: ((chat_id = 'cc3f7b83-6110-4ef9-91a7-948c2195b290'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.9+00'::timestamp with time zone, '00000000-0000-0000-0000-000000000000'::uuid)))
|
||||
storage_test.go:169: Buffers: shared hit=5
|
||||
storage_test.go:169: Planning Time: 0.029 ms
|
||||
storage_test.go:169: Execution Time: 0.035 ms
|
||||
storage_test.go:174: keyset traversal returned 10,000 distinct messages, including equal timestamps
|
||||
--- PASS: TestIntegration (0.31s)
|
||||
--- PASS: TestIntegration/registration_race (0.03s)
|
||||
--- PASS: TestIntegration/rollback (0.00s)
|
||||
--- PASS: TestIntegration/keyset_and_explain (0.06s)
|
||||
PASS
|
||||
ok gitflic.ru/akselbant/mtusi2026lab1-fork/internal/pkg/repository/postgres 1.314s
|
||||
? gitflic.ru/akselbant/mtusi2026lab1-fork/internal/pkg/session [no test files]
|
||||
? gitflic.ru/akselbant/mtusi2026lab1-fork/internal/usecase/chat [no test files]
|
||||
? gitflic.ru/akselbant/mtusi2026lab1-fork/migrations [no test files]
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"lab": 2,
|
||||
"workload": "closed-loop POST messages; no automatic retries",
|
||||
"requested_duration_seconds": 30.0,
|
||||
"elapsed_seconds": 30.016,
|
||||
"concurrency": 4,
|
||||
"successful_requests": 25398,
|
||||
"failed_requests": 0,
|
||||
"error_ratio": 0.0,
|
||||
"successful_rps": 846.152,
|
||||
"successful_latency_ms": {
|
||||
"p50": 4.419,
|
||||
"p95": 6.588,
|
||||
"p99": 10.795
|
||||
},
|
||||
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
./scripts/compose.sh run --rm migrations status
|
||||
Container mtusi2026lab2-postgres-1 Running
|
||||
Container mtusi2026lab2-postgres-1 Waiting
|
||||
Container mtusi2026lab2-postgres-1 Healthy
|
||||
Container mtusi2026lab2-migrations-run-d318a765b8c2 Creating
|
||||
Container mtusi2026lab2-migrations-run-d318a765b8c2 Created
|
||||
2026/10/06 19:20:08 Applied At Migration
|
||||
2026/10/06 19:20:08 =======================================
|
||||
2026/10/06 19:20:08 Tue Oct 6 19:19:45 2026 -- 001_initial.sql
|
||||
Container mtusi2026lab2-postgres-1 Running
|
||||
Container mtusi2026lab2-postgres-1 Waiting
|
||||
Container mtusi2026lab2-postgres-1 Healthy
|
||||
Container mtusi2026lab2-migrations-run-e28c525e3fa6 Creating
|
||||
Container mtusi2026lab2-migrations-run-e28c525e3fa6 Created
|
||||
2026/10/06 19:20:09 goose: no migrations to run. current version: 1
|
||||
@@ -0,0 +1,13 @@
|
||||
Before full restart:
|
||||
/mtusi2026lab2-api-1 started=2026-10-06T17:10:58.047419969Z image=mtusi-messenger:lab2
|
||||
/mtusi2026lab2-postgres-1 started=2026-10-06T17:08:11.606394684Z image=postgres:17.6-alpine3.22
|
||||
/mtusi2026lab2-redis-1 started=2026-10-06T17:08:23.717771608Z image=redis:7.4.5-alpine3.21
|
||||
|
||||
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://localhost:8080"
|
||||
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
|
||||
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
|
||||
After full restart:
|
||||
/mtusi2026lab2-api-1 started=2026-10-06T17:12:57.850873498Z image=mtusi-messenger:lab2
|
||||
/mtusi2026lab2-postgres-1 started=2026-10-06T17:12:55.217411712Z image=postgres:17.6-alpine3.22
|
||||
/mtusi2026lab2-redis-1 started=2026-10-06T17:12:55.216978118Z image=redis:7.4.5-alpine3.21
|
||||
@@ -0,0 +1,395 @@
|
||||
{
|
||||
"warmup_seconds": 3,
|
||||
"dataset_before": {
|
||||
"users": 25,
|
||||
"chats": 6,
|
||||
"messages": 2471
|
||||
},
|
||||
"dataset_after": {
|
||||
"users": 28,
|
||||
"chats": 7,
|
||||
"messages": 27869
|
||||
},
|
||||
"samples": [
|
||||
{
|
||||
"elapsed_sample": 0,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "32.14%",
|
||||
"Container": "a48895e0f6d1a0927a7f86f66eb96b10da08f9e23325419bcc2a8b5aaf3f3d16",
|
||||
"ID": "a48895e0f6d1",
|
||||
"MemPerc": "3.69%",
|
||||
"MemUsage": "9.441MiB / 256MiB",
|
||||
"Name": "mtusi2026lab2-api-1",
|
||||
"NetIO": "8.29MB / 7.53MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "1.02MB / 19.4MB",
|
||||
"CPUPerc": "23.57%",
|
||||
"Container": "77213fc2e88768555644a9ad27eddbf8359d1acd6972fe98939d435c2f37eefd",
|
||||
"ID": "77213fc2e887",
|
||||
"MemPerc": "5.89%",
|
||||
"MemUsage": "30.17MiB / 512MiB",
|
||||
"Name": "mtusi2026lab2-postgres-1",
|
||||
"NetIO": "3.15MB / 3.87MB",
|
||||
"PIDs": "10"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "2.47%",
|
||||
"Container": "364ece262ab0328d7a8d357c014853c28eae478d00f82755105b4961bf56823e",
|
||||
"ID": "364ece262ab0",
|
||||
"MemPerc": "2.64%",
|
||||
"MemUsage": "3.379MiB / 128MiB",
|
||||
"Name": "mtusi2026lab2-redis-1",
|
||||
"NetIO": "635kB / 669kB",
|
||||
"PIDs": "6"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"elapsed_sample": 1,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "98.3kB / 0B",
|
||||
"CPUPerc": "28.50%",
|
||||
"Container": "a48895e0f6d1a0927a7f86f66eb96b10da08f9e23325419bcc2a8b5aaf3f3d16",
|
||||
"ID": "a48895e0f6d1",
|
||||
"MemPerc": "3.94%",
|
||||
"MemUsage": "10.1MiB / 256MiB",
|
||||
"Name": "mtusi2026lab2-api-1",
|
||||
"NetIO": "13.8MB / 12.5MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "1.02MB / 36.6MB",
|
||||
"CPUPerc": "29.65%",
|
||||
"Container": "77213fc2e88768555644a9ad27eddbf8359d1acd6972fe98939d435c2f37eefd",
|
||||
"ID": "77213fc2e887",
|
||||
"MemPerc": "6.40%",
|
||||
"MemUsage": "32.76MiB / 512MiB",
|
||||
"Name": "mtusi2026lab2-postgres-1",
|
||||
"NetIO": "5.8MB / 7.13MB",
|
||||
"PIDs": "11"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "3.38%",
|
||||
"Container": "364ece262ab0328d7a8d357c014853c28eae478d00f82755105b4961bf56823e",
|
||||
"ID": "364ece262ab0",
|
||||
"MemPerc": "2.65%",
|
||||
"MemUsage": "3.387MiB / 128MiB",
|
||||
"Name": "mtusi2026lab2-redis-1",
|
||||
"NetIO": "1.05MB / 1.11MB",
|
||||
"PIDs": "6"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"elapsed_sample": 2,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "98.3kB / 0B",
|
||||
"CPUPerc": "29.97%",
|
||||
"Container": "a48895e0f6d1a0927a7f86f66eb96b10da08f9e23325419bcc2a8b5aaf3f3d16",
|
||||
"ID": "a48895e0f6d1",
|
||||
"MemPerc": "3.94%",
|
||||
"MemUsage": "10.1MiB / 256MiB",
|
||||
"Name": "mtusi2026lab2-api-1",
|
||||
"NetIO": "19.5MB / 17.7MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "1.02MB / 53.8MB",
|
||||
"CPUPerc": "32.22%",
|
||||
"Container": "77213fc2e88768555644a9ad27eddbf8359d1acd6972fe98939d435c2f37eefd",
|
||||
"ID": "77213fc2e887",
|
||||
"MemPerc": "6.56%",
|
||||
"MemUsage": "33.59MiB / 512MiB",
|
||||
"Name": "mtusi2026lab2-postgres-1",
|
||||
"NetIO": "8.51MB / 10.5MB",
|
||||
"PIDs": "11"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "2.50%",
|
||||
"Container": "364ece262ab0328d7a8d357c014853c28eae478d00f82755105b4961bf56823e",
|
||||
"ID": "364ece262ab0",
|
||||
"MemPerc": "2.65%",
|
||||
"MemUsage": "3.387MiB / 128MiB",
|
||||
"Name": "mtusi2026lab2-redis-1",
|
||||
"NetIO": "1.49MB / 1.57MB",
|
||||
"PIDs": "6"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"elapsed_sample": 3,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "500kB / 0B",
|
||||
"CPUPerc": "28.98%",
|
||||
"Container": "a48895e0f6d1a0927a7f86f66eb96b10da08f9e23325419bcc2a8b5aaf3f3d16",
|
||||
"ID": "a48895e0f6d1",
|
||||
"MemPerc": "4.11%",
|
||||
"MemUsage": "10.52MiB / 256MiB",
|
||||
"Name": "mtusi2026lab2-api-1",
|
||||
"NetIO": "25.1MB / 22.8MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "1.02MB / 77.3MB",
|
||||
"CPUPerc": "32.34%",
|
||||
"Container": "77213fc2e88768555644a9ad27eddbf8359d1acd6972fe98939d435c2f37eefd",
|
||||
"ID": "77213fc2e887",
|
||||
"MemPerc": "6.78%",
|
||||
"MemUsage": "34.71MiB / 512MiB",
|
||||
"Name": "mtusi2026lab2-postgres-1",
|
||||
"NetIO": "12.2MB / 15MB",
|
||||
"PIDs": "11"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "2.61%",
|
||||
"Container": "364ece262ab0328d7a8d357c014853c28eae478d00f82755105b4961bf56823e",
|
||||
"ID": "364ece262ab0",
|
||||
"MemPerc": "2.65%",
|
||||
"MemUsage": "3.387MiB / 128MiB",
|
||||
"Name": "mtusi2026lab2-redis-1",
|
||||
"NetIO": "1.77MB / 1.87MB",
|
||||
"PIDs": "6"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"elapsed_sample": 4,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "500kB / 0B",
|
||||
"CPUPerc": "29.96%",
|
||||
"Container": "a48895e0f6d1a0927a7f86f66eb96b10da08f9e23325419bcc2a8b5aaf3f3d16",
|
||||
"ID": "a48895e0f6d1",
|
||||
"MemPerc": "4.11%",
|
||||
"MemUsage": "10.52MiB / 256MiB",
|
||||
"Name": "mtusi2026lab2-api-1",
|
||||
"NetIO": "28.9MB / 26.2MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "1.02MB / 94.8MB",
|
||||
"CPUPerc": "33.06%",
|
||||
"Container": "77213fc2e88768555644a9ad27eddbf8359d1acd6972fe98939d435c2f37eefd",
|
||||
"ID": "77213fc2e887",
|
||||
"MemPerc": "6.99%",
|
||||
"MemUsage": "35.79MiB / 512MiB",
|
||||
"Name": "mtusi2026lab2-postgres-1",
|
||||
"NetIO": "14.8MB / 18.2MB",
|
||||
"PIDs": "11"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "2.57%",
|
||||
"Container": "364ece262ab0328d7a8d357c014853c28eae478d00f82755105b4961bf56823e",
|
||||
"ID": "364ece262ab0",
|
||||
"MemPerc": "2.64%",
|
||||
"MemUsage": "3.383MiB / 128MiB",
|
||||
"Name": "mtusi2026lab2-redis-1",
|
||||
"NetIO": "2.33MB / 2.46MB",
|
||||
"PIDs": "6"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"elapsed_sample": 5,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "500kB / 0B",
|
||||
"CPUPerc": "29.54%",
|
||||
"Container": "a48895e0f6d1a0927a7f86f66eb96b10da08f9e23325419bcc2a8b5aaf3f3d16",
|
||||
"ID": "a48895e0f6d1",
|
||||
"MemPerc": "4.11%",
|
||||
"MemUsage": "10.52MiB / 256MiB",
|
||||
"Name": "mtusi2026lab2-api-1",
|
||||
"NetIO": "35.9MB / 32.6MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "1.02MB / 106MB",
|
||||
"CPUPerc": "31.21%",
|
||||
"Container": "77213fc2e88768555644a9ad27eddbf8359d1acd6972fe98939d435c2f37eefd",
|
||||
"ID": "77213fc2e887",
|
||||
"MemPerc": "7.06%",
|
||||
"MemUsage": "36.17MiB / 512MiB",
|
||||
"Name": "mtusi2026lab2-postgres-1",
|
||||
"NetIO": "16.5MB / 20.3MB",
|
||||
"PIDs": "11"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "3.48%",
|
||||
"Container": "364ece262ab0328d7a8d357c014853c28eae478d00f82755105b4961bf56823e",
|
||||
"ID": "364ece262ab0",
|
||||
"MemPerc": "2.64%",
|
||||
"MemUsage": "3.383MiB / 128MiB",
|
||||
"Name": "mtusi2026lab2-redis-1",
|
||||
"NetIO": "2.73MB / 2.89MB",
|
||||
"PIDs": "6"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"elapsed_sample": 6,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "500kB / 0B",
|
||||
"CPUPerc": "30.77%",
|
||||
"Container": "a48895e0f6d1a0927a7f86f66eb96b10da08f9e23325419bcc2a8b5aaf3f3d16",
|
||||
"ID": "a48895e0f6d1",
|
||||
"MemPerc": "4.11%",
|
||||
"MemUsage": "10.52MiB / 256MiB",
|
||||
"Name": "mtusi2026lab2-api-1",
|
||||
"NetIO": "41MB / 37.3MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "1.02MB / 127MB",
|
||||
"CPUPerc": "32.01%",
|
||||
"Container": "77213fc2e88768555644a9ad27eddbf8359d1acd6972fe98939d435c2f37eefd",
|
||||
"ID": "77213fc2e887",
|
||||
"MemPerc": "7.24%",
|
||||
"MemUsage": "37.05MiB / 512MiB",
|
||||
"Name": "mtusi2026lab2-postgres-1",
|
||||
"NetIO": "19.8MB / 24.4MB",
|
||||
"PIDs": "11"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "3.42%",
|
||||
"Container": "364ece262ab0328d7a8d357c014853c28eae478d00f82755105b4961bf56823e",
|
||||
"ID": "364ece262ab0",
|
||||
"MemPerc": "2.64%",
|
||||
"MemUsage": "3.383MiB / 128MiB",
|
||||
"Name": "mtusi2026lab2-redis-1",
|
||||
"NetIO": "2.99MB / 3.17MB",
|
||||
"PIDs": "6"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"elapsed_sample": 7,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "500kB / 0B",
|
||||
"CPUPerc": "30.67%",
|
||||
"Container": "a48895e0f6d1a0927a7f86f66eb96b10da08f9e23325419bcc2a8b5aaf3f3d16",
|
||||
"ID": "a48895e0f6d1",
|
||||
"MemPerc": "4.11%",
|
||||
"MemUsage": "10.52MiB / 256MiB",
|
||||
"Name": "mtusi2026lab2-api-1",
|
||||
"NetIO": "44.4MB / 40.3MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "1.02MB / 142MB",
|
||||
"CPUPerc": "31.81%",
|
||||
"Container": "77213fc2e88768555644a9ad27eddbf8359d1acd6972fe98939d435c2f37eefd",
|
||||
"ID": "77213fc2e887",
|
||||
"MemPerc": "7.39%",
|
||||
"MemUsage": "37.85MiB / 512MiB",
|
||||
"Name": "mtusi2026lab2-postgres-1",
|
||||
"NetIO": "22.2MB / 27.3MB",
|
||||
"PIDs": "11"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "3.47%",
|
||||
"Container": "364ece262ab0328d7a8d357c014853c28eae478d00f82755105b4961bf56823e",
|
||||
"ID": "364ece262ab0",
|
||||
"MemPerc": "2.64%",
|
||||
"MemUsage": "3.383MiB / 128MiB",
|
||||
"Name": "mtusi2026lab2-redis-1",
|
||||
"NetIO": "3.49MB / 3.7MB",
|
||||
"PIDs": "6"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"elapsed_sample": 8,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "500kB / 0B",
|
||||
"CPUPerc": "29.70%",
|
||||
"Container": "a48895e0f6d1a0927a7f86f66eb96b10da08f9e23325419bcc2a8b5aaf3f3d16",
|
||||
"ID": "a48895e0f6d1",
|
||||
"MemPerc": "4.11%",
|
||||
"MemUsage": "10.52MiB / 256MiB",
|
||||
"Name": "mtusi2026lab2-api-1",
|
||||
"NetIO": "51.6MB / 46.8MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "1.02MB / 159MB",
|
||||
"CPUPerc": "31.18%",
|
||||
"Container": "77213fc2e88768555644a9ad27eddbf8359d1acd6972fe98939d435c2f37eefd",
|
||||
"ID": "77213fc2e887",
|
||||
"MemPerc": "7.60%",
|
||||
"MemUsage": "38.93MiB / 512MiB",
|
||||
"Name": "mtusi2026lab2-postgres-1",
|
||||
"NetIO": "24.9MB / 30.6MB",
|
||||
"PIDs": "11"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "3.53%",
|
||||
"Container": "364ece262ab0328d7a8d357c014853c28eae478d00f82755105b4961bf56823e",
|
||||
"ID": "364ece262ab0",
|
||||
"MemPerc": "2.64%",
|
||||
"MemUsage": "3.383MiB / 128MiB",
|
||||
"Name": "mtusi2026lab2-redis-1",
|
||||
"NetIO": "3.78MB / 4MB",
|
||||
"PIDs": "6"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"elapsed_sample": 9,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "631kB / 0B",
|
||||
"CPUPerc": "28.30%",
|
||||
"Container": "a48895e0f6d1a0927a7f86f66eb96b10da08f9e23325419bcc2a8b5aaf3f3d16",
|
||||
"ID": "a48895e0f6d1",
|
||||
"MemPerc": "4.16%",
|
||||
"MemUsage": "10.65MiB / 256MiB",
|
||||
"Name": "mtusi2026lab2-api-1",
|
||||
"NetIO": "57.1MB / 51.8MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "1.02MB / 176MB",
|
||||
"CPUPerc": "30.96%",
|
||||
"Container": "77213fc2e88768555644a9ad27eddbf8359d1acd6972fe98939d435c2f37eefd",
|
||||
"ID": "77213fc2e887",
|
||||
"MemPerc": "7.73%",
|
||||
"MemUsage": "39.58MiB / 512MiB",
|
||||
"Name": "mtusi2026lab2-postgres-1",
|
||||
"NetIO": "27.6MB / 33.9MB",
|
||||
"PIDs": "11"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "2.57%",
|
||||
"Container": "364ece262ab0328d7a8d357c014853c28eae478d00f82755105b4961bf56823e",
|
||||
"ID": "364ece262ab0",
|
||||
"MemPerc": "2.64%",
|
||||
"MemUsage": "3.383MiB / 128MiB",
|
||||
"Name": "mtusi2026lab2-redis-1",
|
||||
"NetIO": "4.2MB / 4.45MB",
|
||||
"PIDs": "6"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
python3 tests/smoke.py --base-url "http://localhost:8080"
|
||||
PASS: lab2 public API scenario; infrastructure and grading evidence remain separate.
|
||||
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"stack": "mtusi-lab3",
|
||||
"docker": "29.5.2",
|
||||
"services": {
|
||||
"lb": {
|
||||
"image": "haproxy:3.2.6-alpine",
|
||||
"limits": {
|
||||
"NanoCPUs": 500000000,
|
||||
"MemoryBytes": 134217728
|
||||
},
|
||||
"published_ports": [
|
||||
{
|
||||
"Protocol": "tcp",
|
||||
"TargetPort": 8080,
|
||||
"PublishedPort": 8080,
|
||||
"PublishMode": "host"
|
||||
}
|
||||
],
|
||||
"secret_names": [],
|
||||
"mounts": [],
|
||||
"tasks": [
|
||||
{
|
||||
"id": "sc5kejnbxewfi6kz9k12dg3do",
|
||||
"state": "running",
|
||||
"container": "b37490c46acb64d0a685937aa795c4dc733736dbec1a074be9d21cd94db66f41"
|
||||
}
|
||||
]
|
||||
},
|
||||
"api": {
|
||||
"image": "mtusi-messenger:lab3",
|
||||
"limits": {
|
||||
"NanoCPUs": 1000000000,
|
||||
"MemoryBytes": 268435456
|
||||
},
|
||||
"published_ports": [],
|
||||
"secret_names": [
|
||||
"mtusi-lab3_cursor_key",
|
||||
"mtusi-lab3_postgres_password"
|
||||
],
|
||||
"mounts": [],
|
||||
"tasks": [
|
||||
{
|
||||
"id": "2mrwnco0xusqe4w7jwn9onbg3",
|
||||
"state": "running",
|
||||
"container": "1dbf723cdf11cba2f2c241db72968e00f86fc706f6bac6d2b0f1448d40cad634"
|
||||
},
|
||||
{
|
||||
"id": "przrdxk01xpre5zjnehrwi2cd",
|
||||
"state": "running",
|
||||
"container": "f030084b6eb70d0fd7d0de6a7ce84f770f8d9bcdce4962fe5dcf93e0bc508b8a"
|
||||
}
|
||||
]
|
||||
},
|
||||
"postgres": {
|
||||
"image": "postgres:17.6-alpine3.22",
|
||||
"limits": {
|
||||
"NanoCPUs": 1000000000,
|
||||
"MemoryBytes": 536870912
|
||||
},
|
||||
"published_ports": [],
|
||||
"secret_names": [
|
||||
"mtusi-lab3_postgres_password"
|
||||
],
|
||||
"mounts": [
|
||||
{
|
||||
"Type": "volume",
|
||||
"Source": "mtusi-lab3_postgres_data",
|
||||
"Target": "/var/lib/postgresql/data",
|
||||
"VolumeOptions": {
|
||||
"Labels": {
|
||||
"com.docker.stack.namespace": "mtusi-lab3"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"tasks": [
|
||||
{
|
||||
"id": "2j4b949ieib9pijyi46u4cbc2",
|
||||
"state": "running",
|
||||
"container": "0714166a0ac92ca76b790e1f369ac54e4bfe9ead64ca84932ce7283be46ed513"
|
||||
}
|
||||
]
|
||||
},
|
||||
"redis": {
|
||||
"image": "redis:7.4.5-alpine3.21",
|
||||
"limits": {
|
||||
"NanoCPUs": 500000000,
|
||||
"MemoryBytes": 134217728
|
||||
},
|
||||
"published_ports": [],
|
||||
"secret_names": [],
|
||||
"mounts": [
|
||||
{
|
||||
"Type": "volume",
|
||||
"Source": "mtusi-lab3_redis_data",
|
||||
"Target": "/data",
|
||||
"VolumeOptions": {
|
||||
"Labels": {
|
||||
"com.docker.stack.namespace": "mtusi-lab3"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"tasks": [
|
||||
{
|
||||
"id": "z64v9apjenrycl2apz8ik1ytl",
|
||||
"state": "running",
|
||||
"container": "b39c87f1b35cffea64d0aefc9c7f80caa9f059f4a2da4ecf44933f8dac76df69"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"stack": "mtusi-lab3",
|
||||
"docker": "29.5.2",
|
||||
"services": {
|
||||
"lb": {
|
||||
"image": "haproxy:3.2.6-alpine",
|
||||
"limits": {
|
||||
"NanoCPUs": 500000000,
|
||||
"MemoryBytes": 134217728
|
||||
},
|
||||
"published_ports": [
|
||||
{
|
||||
"Protocol": "tcp",
|
||||
"TargetPort": 8080,
|
||||
"PublishedPort": 8080,
|
||||
"PublishMode": "host"
|
||||
}
|
||||
],
|
||||
"secret_names": [],
|
||||
"mounts": [],
|
||||
"tasks": [
|
||||
{
|
||||
"id": "il7ir1lkjvmq2nsy31vghl6tx",
|
||||
"state": "running",
|
||||
"container": "ea9c79e6c90548c847bcba27b0d7fc61c87e8b6c210315286261110031f82c6b"
|
||||
}
|
||||
]
|
||||
},
|
||||
"api": {
|
||||
"image": "mtusi-messenger:lab3",
|
||||
"limits": {
|
||||
"NanoCPUs": 1000000000,
|
||||
"MemoryBytes": 268435456
|
||||
},
|
||||
"published_ports": [],
|
||||
"secret_names": [
|
||||
"mtusi-lab3_cursor_key",
|
||||
"mtusi-lab3_postgres_password"
|
||||
],
|
||||
"mounts": [],
|
||||
"tasks": [
|
||||
{
|
||||
"id": "xuchr7a1onu09qkhy2da43fnk",
|
||||
"state": "running",
|
||||
"container": "3d65bcafce0cd37991fc084b72dddf1aaa37646a2bebda38f9e6c31dc1741fdf"
|
||||
},
|
||||
{
|
||||
"id": "r15teoyf6c4ralue4ujf0sta7",
|
||||
"state": "running",
|
||||
"container": "3b4acff3d549f199980c6bb0c3a0d3716ebb4d36b5d4c5932916f36ac2762e67"
|
||||
}
|
||||
]
|
||||
},
|
||||
"postgres": {
|
||||
"image": "postgres:17.6-alpine3.22",
|
||||
"limits": {
|
||||
"NanoCPUs": 1000000000,
|
||||
"MemoryBytes": 536870912
|
||||
},
|
||||
"published_ports": [],
|
||||
"secret_names": [
|
||||
"mtusi-lab3_postgres_password"
|
||||
],
|
||||
"mounts": [
|
||||
{
|
||||
"Type": "volume",
|
||||
"Source": "mtusi-lab3_postgres_data",
|
||||
"Target": "/var/lib/postgresql/data",
|
||||
"VolumeOptions": {
|
||||
"Labels": {
|
||||
"com.docker.stack.namespace": "mtusi-lab3"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"tasks": [
|
||||
{
|
||||
"id": "79uxegfkp21hpdelbzl1ietk2",
|
||||
"state": "running",
|
||||
"container": "33820656afacc4420df4621824f2815e78183d4a99a62e1e01e4ead45ff4e5b0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"redis": {
|
||||
"image": "redis:7.4.5-alpine3.21",
|
||||
"limits": {
|
||||
"NanoCPUs": 500000000,
|
||||
"MemoryBytes": 134217728
|
||||
},
|
||||
"published_ports": [],
|
||||
"secret_names": [],
|
||||
"mounts": [
|
||||
{
|
||||
"Type": "volume",
|
||||
"Source": "mtusi-lab3_redis_data",
|
||||
"Target": "/data",
|
||||
"VolumeOptions": {
|
||||
"Labels": {
|
||||
"com.docker.stack.namespace": "mtusi-lab3"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"tasks": [
|
||||
{
|
||||
"id": "jiw6nj1ncb4ic9eo31p776yfo",
|
||||
"state": "running",
|
||||
"container": "0853444b9380a667af95ad774d16448faf8dcb078ef1a6e7d9e3a6463706e130"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,159 @@
|
||||
python3 scripts/swarm.py up
|
||||
vphhh79vd5ti8501q6m9lzulj
|
||||
Local secrets are ready.
|
||||
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
|
||||
Install the buildx component to build images with BuildKit:
|
||||
https://docs.docker.com/go/buildx/
|
||||
|
||||
Sending build context to Docker daemon 287.2kB␍
|
||||
Step 1/33 : FROM golang:1.26.4-alpine3.23@sha256:18b460dd17542c2ba43299a633cf6ebfc1115101509531471d7cfce1019af083 AS goose-builder
|
||||
---> 18b460dd1754
|
||||
Step 2/33 : RUN GOBIN=/out CGO_ENABLED=0 go install -tags='no_clickhouse no_libsql no_mssql no_mysql no_sqlite3 no_vertica no_ydb no_spanner' github.com/pressly/goose/v3/cmd/goose@v3.27.1
|
||||
---> Using cache
|
||||
---> 7012ef857c0c
|
||||
Step 3/33 : FROM alpine:3.23@sha256:075c2c1a4068c1e251228ca2b0ea8b163f835ca5d66e758b93c7fc89b1995616 AS migrations
|
||||
---> 075c2c1a4068
|
||||
Step 4/33 : COPY --from=goose-builder /out/goose /usr/local/bin/goose
|
||||
---> Using cache
|
||||
---> 6a0ad52336c1
|
||||
Step 5/33 : COPY migrations /migrations
|
||||
---> Using cache
|
||||
---> bdaed88eb3c4
|
||||
Step 6/33 : COPY infra/migrate.sh /usr/local/bin/migrate
|
||||
---> Using cache
|
||||
---> 6b2f8363246f
|
||||
Step 7/33 : USER 10001:10001
|
||||
---> Using cache
|
||||
---> 0ee0b0a19ac2
|
||||
Step 8/33 : ENTRYPOINT ["/usr/local/bin/migrate"]
|
||||
---> Using cache
|
||||
---> 515a3a194eff
|
||||
Step 9/33 : CMD ["up"]
|
||||
---> Using cache
|
||||
---> 3fc9d5a8766e
|
||||
Step 10/33 : FROM golang:1.26.4-alpine3.23@sha256:18b460dd17542c2ba43299a633cf6ebfc1115101509531471d7cfce1019af083 AS builder
|
||||
---> 18b460dd1754
|
||||
Step 11/33 : WORKDIR /src
|
||||
---> Using cache
|
||||
---> 1ba013278a4a
|
||||
Step 12/33 : RUN apk add --no-cache gcc musl-dev
|
||||
---> Using cache
|
||||
---> a0ea65f0bded
|
||||
Step 13/33 : COPY go.mod go.sum ./
|
||||
---> Using cache
|
||||
---> ed7b32b46107
|
||||
Step 14/33 : RUN go mod download
|
||||
---> Using cache
|
||||
---> 560f057986fd
|
||||
Step 15/33 : COPY cmd ./cmd
|
||||
---> Using cache
|
||||
---> aeb0e605f035
|
||||
Step 16/33 : COPY contracts ./contracts
|
||||
---> Using cache
|
||||
---> 75214d501e9d
|
||||
Step 17/33 : COPY dto ./dto
|
||||
---> Using cache
|
||||
---> c9dde7a85632
|
||||
Step 18/33 : COPY internal ./internal
|
||||
---> Using cache
|
||||
---> 6801de5b6efd
|
||||
Step 19/33 : COPY migrations ./migrations
|
||||
---> Using cache
|
||||
---> 450891c612e5
|
||||
Step 20/33 : RUN CGO_ENABLED=0 GOOS=linux go build -trimpath -ldflags="-s -w" -o /out/messenger ./cmd
|
||||
---> Using cache
|
||||
---> a57984366043
|
||||
Step 21/33 : FROM builder AS tests
|
||||
---> a57984366043
|
||||
Step 22/33 : COPY --from=goose-builder /out/goose /usr/local/bin/goose
|
||||
---> Using cache
|
||||
---> 3a60e0d8435e
|
||||
Step 23/33 : ENV GOOSE_MIGRATION_DIR=/src/migrations
|
||||
---> Using cache
|
||||
---> b9fafb47c63f
|
||||
Step 24/33 : CMD ["go", "test", "-p=1", "-race", "-count=1", "-v", "./..."]
|
||||
---> Using cache
|
||||
---> 1e66016b355d
|
||||
Step 25/33 : FROM alpine:3.23@sha256:075c2c1a4068c1e251228ca2b0ea8b163f835ca5d66e758b93c7fc89b1995616
|
||||
---> 075c2c1a4068
|
||||
Step 26/33 : RUN addgroup -S messenger && adduser -S -D -H -u 10001 -G messenger messenger
|
||||
---> Using cache
|
||||
---> 33192b561bfc
|
||||
Step 27/33 : COPY --from=builder --chown=messenger:messenger /out/messenger /usr/local/bin/messenger
|
||||
---> be027a3bbafb
|
||||
Step 28/33 : ENV PORT=8080
|
||||
---> Running in 5c48db39543d
|
||||
---> Removed intermediate container 5c48db39543d
|
||||
---> 61a2336a2a37
|
||||
Step 29/33 : EXPOSE 8080
|
||||
---> Running in 515a1f448a98
|
||||
---> Removed intermediate container 515a1f448a98
|
||||
---> e3497378f9a7
|
||||
Step 30/33 : USER messenger:messenger
|
||||
---> Running in 3693350a51e8
|
||||
---> Removed intermediate container 3693350a51e8
|
||||
---> 1cec462a8508
|
||||
Step 31/33 : HEALTHCHECK --interval=10s --timeout=3s --start-period=3s --retries=3 CMD wget -q -O /dev/null "http://127.0.0.1:${PORT}/health/ready" || exit 1
|
||||
---> Running in 727f5423b346
|
||||
---> Removed intermediate container 727f5423b346
|
||||
---> 9b878104cc49
|
||||
Step 32/33 : STOPSIGNAL SIGTERM
|
||||
---> Running in 5f3e134fa48a
|
||||
---> Removed intermediate container 5f3e134fa48a
|
||||
---> 4f41abfa4818
|
||||
Step 33/33 : ENTRYPOINT ["/usr/local/bin/messenger"]
|
||||
---> Running in 6908a826696b
|
||||
---> Removed intermediate container 6908a826696b
|
||||
---> 955025e462af
|
||||
Successfully built 955025e462af
|
||||
Successfully tagged mtusi-messenger:lab3
|
||||
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
|
||||
Install the buildx component to build images with BuildKit:
|
||||
https://docs.docker.com/go/buildx/
|
||||
|
||||
Sending build context to Docker daemon 287.2kB␍
|
||||
Step 1/9 : FROM golang:1.26.4-alpine3.23@sha256:18b460dd17542c2ba43299a633cf6ebfc1115101509531471d7cfce1019af083 AS goose-builder
|
||||
---> 18b460dd1754
|
||||
Step 2/9 : RUN GOBIN=/out CGO_ENABLED=0 go install -tags='no_clickhouse no_libsql no_mssql no_mysql no_sqlite3 no_vertica no_ydb no_spanner' github.com/pressly/goose/v3/cmd/goose@v3.27.1
|
||||
---> Using cache
|
||||
---> 7012ef857c0c
|
||||
Step 3/9 : FROM alpine:3.23@sha256:075c2c1a4068c1e251228ca2b0ea8b163f835ca5d66e758b93c7fc89b1995616 AS migrations
|
||||
---> 075c2c1a4068
|
||||
Step 4/9 : COPY --from=goose-builder /out/goose /usr/local/bin/goose
|
||||
---> Using cache
|
||||
---> 6a0ad52336c1
|
||||
Step 5/9 : COPY migrations /migrations
|
||||
---> Using cache
|
||||
---> bdaed88eb3c4
|
||||
Step 6/9 : COPY infra/migrate.sh /usr/local/bin/migrate
|
||||
---> Using cache
|
||||
---> 6b2f8363246f
|
||||
Step 7/9 : USER 10001:10001
|
||||
---> Using cache
|
||||
---> 0ee0b0a19ac2
|
||||
Step 8/9 : ENTRYPOINT ["/usr/local/bin/migrate"]
|
||||
---> Using cache
|
||||
---> 515a3a194eff
|
||||
Step 9/9 : CMD ["up"]
|
||||
---> Using cache
|
||||
---> 3fc9d5a8766e
|
||||
Successfully built 3fc9d5a8766e
|
||||
Successfully tagged mtusi-migrations:lab3
|
||||
image mtusi-migrations:lab3 could not be accessed on a registry to record
|
||||
its digest. Each node will access mtusi-migrations:lab3 independently,
|
||||
possibly leading to different nodes running different
|
||||
versions of the image.
|
||||
|
||||
umivyx4q9w24x20xw71y2nlws
|
||||
mtusi-lab3_migrations.0.69m69g42sj5f@colima | 2026/10/19 17:44:49 goose: no migrations to run. current version: 2
|
||||
mtusi-lab3_migrations
|
||||
Since --detach=false was not specified, tasks will be created in the background.
|
||||
In a future release, --detach=false will become the default.
|
||||
Updating service mtusi-lab3_postgres (id: o9b8rwk8ndl1nkz1rsqz0tq9j)
|
||||
Updating service mtusi-lab3_redis (id: 42srgw3otiut6r8f0im8aeyoe)
|
||||
Updating service mtusi-lab3_api (id: r841hyfz1wcy4pfzokhub4x23)
|
||||
Updating service mtusi-lab3_lb (id: f94gv468hb0fr6110xxs4g167)
|
||||
mtusi-lab3_api scaled to 2
|
||||
mtusi-lab3_api
|
||||
PASS: rolling update completed
|
||||
PASS: Swarm stack ready at http://localhost:8080
|
||||
@@ -0,0 +1 @@
|
||||
{"cpus":2,"memory_bytes":2053644288,"architecture":"aarch64","os":"Ubuntu 24.04.4 LTS","kernel":"6.8.0-117-generic","engine":"29.5.2"}
|
||||
@@ -0,0 +1,4 @@
|
||||
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "http://localhost:8080"
|
||||
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
|
||||
{"observed_instances_before": 2, "successful_writes": 113, "failed_attempts": 2, "first_recovery_seconds": 1.913}
|
||||
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
@@ -0,0 +1,11 @@
|
||||
? gitflic.ru/akselbant/mtusi2026lab1-fork/cmd [no test files]
|
||||
? gitflic.ru/akselbant/mtusi2026lab1-fork/contracts [no test files]
|
||||
ok gitflic.ru/akselbant/mtusi2026lab1-fork/dto 1.452s
|
||||
ok gitflic.ru/akselbant/mtusi2026lab1-fork/internal/app/chat 10.198s
|
||||
? gitflic.ru/akselbant/mtusi2026lab1-fork/internal/config [no test files]
|
||||
? gitflic.ru/akselbant/mtusi2026lab1-fork/internal/pkg/domain [no test files]
|
||||
ok gitflic.ru/akselbant/mtusi2026lab1-fork/internal/pkg/password 3.741s
|
||||
? gitflic.ru/akselbant/mtusi2026lab1-fork/internal/pkg/repository [no test files]
|
||||
ok gitflic.ru/akselbant/mtusi2026lab1-fork/internal/pkg/repository/postgres 2.449s
|
||||
? gitflic.ru/akselbant/mtusi2026lab1-fork/internal/pkg/session [no test files]
|
||||
ok gitflic.ru/akselbant/mtusi2026lab1-fork/internal/usecase/chat 1.766s
|
||||
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"idempotency": {
|
||||
"parallel_requests": 16,
|
||||
"instances": [
|
||||
"ep3r706cscfisxuy3ekmgfpeo",
|
||||
"ybg5jlv6ecpf1s38yepk67a00"
|
||||
],
|
||||
"unique_message_ids": 1
|
||||
},
|
||||
"failovers": [
|
||||
{
|
||||
"action": "stop-one",
|
||||
"target": "ep3r706cscfisxuy3ekmgfpeo",
|
||||
"duration_seconds": 15.549,
|
||||
"successful_writes": 1181,
|
||||
"failed_attempts": 2,
|
||||
"successful_rps": 75.954,
|
||||
"first_recovery_seconds": 0.547,
|
||||
"max_success_gap_seconds": 0.136,
|
||||
"instances_before": [
|
||||
"ep3r706cscfisxuy3ekmgfpeo",
|
||||
"ybg5jlv6ecpf1s38yepk67a00"
|
||||
],
|
||||
"instances_after": [
|
||||
"kk0ti0wgqrsp5ht861ynqqbvz",
|
||||
"ybg5jlv6ecpf1s38yepk67a00"
|
||||
],
|
||||
"confirmed_messages_checked": 1335,
|
||||
"duplicate_bodies": 0
|
||||
},
|
||||
{
|
||||
"action": "stop-one",
|
||||
"target": "ybg5jlv6ecpf1s38yepk67a00",
|
||||
"duration_seconds": 15.47,
|
||||
"successful_writes": 1045,
|
||||
"failed_attempts": 7,
|
||||
"successful_rps": 67.552,
|
||||
"first_recovery_seconds": 1.314,
|
||||
"max_success_gap_seconds": 1.064,
|
||||
"instances_before": [
|
||||
"kk0ti0wgqrsp5ht861ynqqbvz",
|
||||
"ybg5jlv6ecpf1s38yepk67a00"
|
||||
],
|
||||
"instances_after": [
|
||||
"kckow0bugasmow5w19hp6c24g",
|
||||
"kk0ti0wgqrsp5ht861ynqqbvz"
|
||||
],
|
||||
"confirmed_messages_checked": 1212,
|
||||
"duplicate_bodies": 0
|
||||
}
|
||||
],
|
||||
"rolling_update": {
|
||||
"action": "update",
|
||||
"target": null,
|
||||
"duration_seconds": 43.729,
|
||||
"successful_writes": 3333,
|
||||
"failed_attempts": 0,
|
||||
"successful_rps": 76.22,
|
||||
"first_recovery_seconds": null,
|
||||
"max_success_gap_seconds": 0.084,
|
||||
"instances_before": [
|
||||
"kckow0bugasmow5w19hp6c24g",
|
||||
"kk0ti0wgqrsp5ht861ynqqbvz"
|
||||
],
|
||||
"instances_after": [
|
||||
"fmylw9crxw40164mjyrtp5umu",
|
||||
"u0j50pbkblnvcv98a2si54z2z"
|
||||
],
|
||||
"confirmed_messages_checked": 3498,
|
||||
"duplicate_bodies": 0
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
python3 tests/own/swarm_grade4.py
|
||||
PASS: shared-key race on two replicas; replay/conflict/scope/validation/access/logout
|
||||
{"action": "stop-one", "target": "ep3r706cscfisxuy3ekmgfpeo", "duration_seconds": 15.549, "successful_writes": 1181, "failed_attempts": 2, "successful_rps": 75.954, "first_recovery_seconds": 0.547, "max_success_gap_seconds": 0.136, "instances_before": ["ep3r706cscfisxuy3ekmgfpeo", "ybg5jlv6ecpf1s38yepk67a00"], "instances_after": ["kk0ti0wgqrsp5ht861ynqqbvz", "ybg5jlv6ecpf1s38yepk67a00"], "confirmed_messages_checked": 1335, "duplicate_bodies": 0}
|
||||
{"action": "stop-one", "target": "ybg5jlv6ecpf1s38yepk67a00", "duration_seconds": 15.47, "successful_writes": 1045, "failed_attempts": 7, "successful_rps": 67.552, "first_recovery_seconds": 1.314, "max_success_gap_seconds": 1.064, "instances_before": ["kk0ti0wgqrsp5ht861ynqqbvz", "ybg5jlv6ecpf1s38yepk67a00"], "instances_after": ["kckow0bugasmow5w19hp6c24g", "kk0ti0wgqrsp5ht861ynqqbvz"], "confirmed_messages_checked": 1212, "duplicate_bodies": 0}
|
||||
{"action": "update", "target": null, "duration_seconds": 43.729, "successful_writes": 3333, "failed_attempts": 0, "successful_rps": 76.22, "first_recovery_seconds": null, "max_success_gap_seconds": 0.084, "instances_before": ["kckow0bugasmow5w19hp6c24g", "kk0ti0wgqrsp5ht861ynqqbvz"], "instances_after": ["fmylw9crxw40164mjyrtp5umu", "u0j50pbkblnvcv98a2si54z2z"], "confirmed_messages_checked": 3498, "duplicate_bodies": 0}
|
||||
PASS: each original replica stopped and replaced; rolling update under load; confirmations and sessions preserved
|
||||
@@ -0,0 +1,310 @@
|
||||
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
|
||||
Install the buildx component to build images with BuildKit:
|
||||
https://docs.docker.com/go/buildx/
|
||||
|
||||
Sending build context to Docker daemon 288.3kB␍
|
||||
Step 1/24 : FROM golang:1.26.4-alpine3.23@sha256:18b460dd17542c2ba43299a633cf6ebfc1115101509531471d7cfce1019af083 AS goose-builder
|
||||
---> 18b460dd1754
|
||||
Step 2/24 : RUN GOBIN=/out CGO_ENABLED=0 go install -tags='no_clickhouse no_libsql no_mssql no_mysql no_sqlite3 no_vertica no_ydb no_spanner' github.com/pressly/goose/v3/cmd/goose@v3.27.1
|
||||
---> Using cache
|
||||
---> 7012ef857c0c
|
||||
Step 3/24 : FROM alpine:3.23@sha256:075c2c1a4068c1e251228ca2b0ea8b163f835ca5d66e758b93c7fc89b1995616 AS migrations
|
||||
---> 075c2c1a4068
|
||||
Step 4/24 : COPY --from=goose-builder /out/goose /usr/local/bin/goose
|
||||
---> Using cache
|
||||
---> 6a0ad52336c1
|
||||
Step 5/24 : COPY migrations /migrations
|
||||
---> Using cache
|
||||
---> bdaed88eb3c4
|
||||
Step 6/24 : COPY infra/migrate.sh /usr/local/bin/migrate
|
||||
---> Using cache
|
||||
---> 6b2f8363246f
|
||||
Step 7/24 : USER 10001:10001
|
||||
---> Using cache
|
||||
---> 0ee0b0a19ac2
|
||||
Step 8/24 : ENTRYPOINT ["/usr/local/bin/migrate"]
|
||||
---> Using cache
|
||||
---> 515a3a194eff
|
||||
Step 9/24 : CMD ["up"]
|
||||
---> Using cache
|
||||
---> 3fc9d5a8766e
|
||||
Step 10/24 : FROM golang:1.26.4-alpine3.23@sha256:18b460dd17542c2ba43299a633cf6ebfc1115101509531471d7cfce1019af083 AS builder
|
||||
---> 18b460dd1754
|
||||
Step 11/24 : WORKDIR /src
|
||||
---> Using cache
|
||||
---> 1ba013278a4a
|
||||
Step 12/24 : RUN apk add --no-cache gcc musl-dev
|
||||
---> Using cache
|
||||
---> a0ea65f0bded
|
||||
Step 13/24 : COPY go.mod go.sum ./
|
||||
---> Using cache
|
||||
---> ed7b32b46107
|
||||
Step 14/24 : RUN go mod download
|
||||
---> Using cache
|
||||
---> 560f057986fd
|
||||
Step 15/24 : COPY cmd ./cmd
|
||||
---> Using cache
|
||||
---> aeb0e605f035
|
||||
Step 16/24 : COPY contracts ./contracts
|
||||
---> Using cache
|
||||
---> 75214d501e9d
|
||||
Step 17/24 : COPY dto ./dto
|
||||
---> Using cache
|
||||
---> c9dde7a85632
|
||||
Step 18/24 : COPY internal ./internal
|
||||
---> 6801de5b6efd
|
||||
Step 19/24 : COPY migrations ./migrations
|
||||
---> 450891c612e5
|
||||
Step 20/24 : RUN CGO_ENABLED=0 GOOS=linux go build -trimpath -ldflags="-s -w" -o /out/messenger ./cmd
|
||||
---> Running in a4205487d1c9
|
||||
---> Removed intermediate container a4205487d1c9
|
||||
---> a57984366043
|
||||
Step 21/24 : FROM builder AS tests
|
||||
---> a57984366043
|
||||
Step 22/24 : COPY --from=goose-builder /out/goose /usr/local/bin/goose
|
||||
---> 3a60e0d8435e
|
||||
Step 23/24 : ENV GOOSE_MIGRATION_DIR=/src/migrations
|
||||
---> Running in 21de4b32fe57
|
||||
---> Removed intermediate container 21de4b32fe57
|
||||
---> b9fafb47c63f
|
||||
Step 24/24 : CMD ["go", "test", "-p=1", "-race", "-count=1", "-v", "./..."]
|
||||
---> Running in 53e6da83bacc
|
||||
---> Removed intermediate container 53e6da83bacc
|
||||
---> 1e66016b355d
|
||||
Successfully built 1e66016b355d
|
||||
Successfully tagged mtusi-messenger-tests:lab3
|
||||
image mtusi-messenger-tests:lab3 could not be accessed on a registry to record
|
||||
its digest. Each node will access mtusi-messenger-tests:lab3 independently,
|
||||
possibly leading to different nodes running different
|
||||
versions of the image.
|
||||
|
||||
hs24hbbq4gg8cvoqt87wgz209
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | ? gitflic.ru/akselbant/mtusi2026lab1-fork/cmd [no test files]
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | ? gitflic.ru/akselbant/mtusi2026lab1-fork/contracts [no test files]
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | === RUN TestTimestampFixedMicroseconds
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | --- PASS: TestTimestampFixedMicroseconds (0.00s)
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | PASS
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | ok gitflic.ru/akselbant/mtusi2026lab1-fork/dto 1.009s
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | === RUN TestRejectsMalformedJSON
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:37 request_id=f42fcd75-ab53-4c98-a76f-b87062f93673 method=POST path=/api/v1/users status=400 response_bytes=140 latency=107.122µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | --- PASS: TestRejectsMalformedJSON (0.00s)
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | === RUN TestHidesForeignChat
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:37 request_id=eb4f19f3-164c-4b39-bf95-9e96d3da51e4 method=POST path=/api/v1/users status=201 response_bytes=141 latency=277.987882ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:38 request_id=b4737599-f2ff-4b71-80bb-a05d6f375daa method=POST path=/api/v1/auth/sessions status=201 response_bytes=269 latency=277.502655ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:38 request_id=695e4404-c86c-4559-823c-bd39635332f3 method=POST path=/api/v1/users status=201 response_bytes=147 latency=283.536575ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:38 request_id=41cf9a7c-bc36-47ce-aaa5-14041cc5140b method=POST path=/api/v1/auth/sessions status=201 response_bytes=275 latency=289.417839ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:38 request_id=29c16d09-1ca2-4a0d-ace9-36d2e1eb085d method=POST path=/api/v1/chats status=201 response_bytes=163 latency=142.996µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:38 request_id=5dfaface-50ae-4a65-8537-f24c2d8dc369 method=GET path=/api/v1/chats/:chat_id status=404 response_bytes=126 latency=40.499µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | --- PASS: TestHidesForeignChat (1.13s)
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | === RUN TestRejectsEmptyMessage
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:39 request_id=bbb2e9cc-f368-4ccb-a82b-d03594791f5f method=POST path=/api/v1/users status=201 response_bytes=157 latency=274.846931ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:39 request_id=81e0f8d8-f612-47b9-9694-0a3a809f2ae1 method=POST path=/api/v1/auth/sessions status=201 response_bytes=285 latency=296.209338ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:39 request_id=b48c195c-8b16-4bf3-ac25-f251eae736fb method=POST path=/api/v1/chats status=201 response_bytes=163 latency=91.581µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:39 request_id=b9f326f6-45a0-4e50-85d6-11114419d3fd method=POST path=/api/v1/chats/:chat_id/messages status=400 response_bytes=172 latency=91.998µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | --- PASS: TestRejectsEmptyMessage (0.57s)
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | === RUN TestRejectsDuplicateUsername
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:39 request_id=50290216-3877-47ec-afe1-f984d5dccd3f method=POST path=/api/v1/users status=201 response_bytes=149 latency=268.608631ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:39 request_id=13dedafb-7939-49cf-a186-35af575be73b method=POST path=/api/v1/auth/sessions status=201 response_bytes=277 latency=270.355712ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:40 request_id=6fca6b81-3707-473d-80f9-33fa20efdb8e method=POST path=/api/v1/users status=409 response_bytes=170 latency=268.327094ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | --- PASS: TestRejectsDuplicateUsername (0.81s)
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | === RUN TestPaginatesMessagesAcrossMultiplePages
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:40 request_id=b8b8e44c-5d3c-4c44-b94e-fb9b4a69537b method=POST path=/api/v1/users status=201 response_bytes=151 latency=281.464638ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:40 request_id=79ceb951-7af1-47f9-a920-f79579453f7b method=POST path=/api/v1/auth/sessions status=201 response_bytes=279 latency=283.846577ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:40 request_id=740b071e-fc3f-46c3-bfca-fa2fcaeb5896 method=POST path=/api/v1/chats status=201 response_bytes=163 latency=94.415µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:40 request_id=d44a868d-3a1e-43a9-b603-b8b1a6ace884 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=208 latency=118.872µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:40 request_id=163a65ff-e079-4943-b8ed-194399309659 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=208 latency=78.331µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:40 request_id=129eefa0-2f5f-4aea-a2d0-4e0232d130b5 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=208 latency=76.414µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:40 request_id=cbe17eda-65f7-494c-aaaf-aa52fdb8f20e method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=208 latency=71.832µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:40 request_id=43e8c6d9-2867-42d9-b169-f54e9023095d method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=208 latency=76.498µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:40 request_id=0601f638-f733-4cfa-ac94-2b5184e1adfd method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=208 latency=78.415µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:40 request_id=889c4af7-7e3b-4ccf-8505-3c3cf62c8f1c method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=208 latency=103.331µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:40 request_id=8bfc83de-43b7-439e-9181-76bd01e24901 method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=685 latency=240.703µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:40 request_id=143c1a18-a056-4f29-bbd3-43af56717d41 method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=685 latency=161.079µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:40 request_id=74123f02-5a18-4980-ab3e-f96dcb5659dd method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=685 latency=139.205µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:40 request_id=e04d5f85-5fb9-4b55-b9fa-58d40c6b329c method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=239 latency=94.831µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | --- PASS: TestPaginatesMessagesAcrossMultiplePages (0.57s)
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | === RUN TestConcurrentMessagesAreUnique
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:40 request_id=7c3203c4-1805-4c51-bb2a-76be11dbf12f method=POST path=/api/v1/users status=201 response_bytes=153 latency=271.946755ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:41 request_id=85817aa7-37d6-4155-882f-1db973a8125b method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=280.285329ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:41 request_id=6fabc190-ae2d-4d24-b7de-4b755a2037e7 method=POST path=/api/v1/users status=201 response_bytes=153 latency=279.688145ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:41 request_id=364f8ea9-9b7f-4839-b83c-2e7b64b94f0f method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=270.431086ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:42 request_id=a3bee6de-e1df-4342-a1fb-a54b2b12ec3d method=POST path=/api/v1/users status=201 response_bytes=153 latency=267.951629ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:42 request_id=ba605c00-9c2f-482c-88dd-eb2174b1ab53 method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=275.501877ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:42 request_id=a6fcb550-77e6-4b25-b502-d0795a90142f method=POST path=/api/v1/users status=201 response_bytes=153 latency=298.942838ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:42 request_id=6d224726-dc69-4a44-8c72-52bc7c8be707 method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=273.863335ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:43 request_id=65fd6104-5b62-452b-b7bb-7ef171636854 method=POST path=/api/v1/users status=201 response_bytes=153 latency=277.741925ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:43 request_id=da0132b0-e434-4e16-a873-782198bff5d8 method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=277.802114ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:43 request_id=83c9a05d-d41a-44c3-8a93-ec8a9ef46a77 method=POST path=/api/v1/users status=201 response_bytes=153 latency=277.582287ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:44 request_id=b52191ee-e950-4504-b226-a50a4452a6c7 method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=272.129512ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:44 request_id=a90da11c-824c-47df-bd57-5053cf9b33c3 method=POST path=/api/v1/users status=201 response_bytes=153 latency=270.536625ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:44 request_id=17e93739-917e-45a5-be60-986eea397ed3 method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=312.453528ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:44 request_id=9c6f6ef7-24db-4aef-84f9-dd9b3866ae84 method=POST path=/api/v1/users status=201 response_bytes=153 latency=271.695097ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:45 request_id=388caac1-ee9a-48fa-b10e-7bc2ff7ac249 method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=278.701687ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:45 request_id=d8dfb24c-a17e-4e0a-8c91-14b56b2b7bde method=POST path=/api/v1/users status=201 response_bytes=153 latency=272.713573ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:45 request_id=05f35486-cb3a-45dd-a715-0b8105633ecc method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=273.231435ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:45 request_id=a95ff867-b7d0-436d-b522-46f3756078f4 method=POST path=/api/v1/users status=201 response_bytes=153 latency=269.331237ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=b9407b2c-8b7a-4e3a-83cd-9a063cd7d12f method=POST path=/api/v1/auth/sessions status=201 response_bytes=281 latency=271.402848ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=f79b5688-b36f-4c63-9fe8-695e13bdfd6d method=POST path=/api/v1/chats status=201 response_bytes=514 latency=145.955µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=df8b8867-fbf6-4b00-8562-4cb42868ce21 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=105.039µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=042a42d9-f067-4a4b-b760-5c11a4b12fad method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=87.623µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=c625bbc3-3982-44d3-80f3-e0e2fdf09a9b method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=84.207µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=5de00b16-05ee-4f62-8f0b-8df690cc82b5 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=83.123µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=5557a560-70cd-4873-b19c-f9dea223cba0 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=82.665µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=a3a4b807-9b35-4f69-b709-b768a48a9f43 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=84.373µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=52d28d81-9b27-427f-b29e-ae548ee43322 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=84.04µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=2f0f23f7-7745-4d03-bb31-3a2cd4cb2cfc method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=85.415µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=24d6028a-d9a8-410b-b1cb-504f8616c2ad method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=147.705µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=21eaf2f9-a7e0-4e6e-9cee-24823e1fd860 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=89.206µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=5fb73e2d-6fed-414b-95d1-5c8c2960258b method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=139.039µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=d3f38316-6fdb-4236-9e0f-265abb239f5c method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=89.206µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=396c264b-2d8f-4b9d-97ce-a972c9aea095 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=88.248µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=327356d1-a5ea-42fa-be31-49b37f4fe1a1 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=139.58µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=2ca2a4f6-6c9e-4aea-8e09-2ff705f143ac method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=109.998µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=83dcd37f-6273-4232-a720-e81582a3c8f4 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=107.122µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=f277b246-cf0f-436e-b218-2f41c2785b7a method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=90.914µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=2153f31d-521b-4813-8e34-e557e31040b9 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=144.163µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=19ab88ba-a465-4ccb-aa64-4b6604932eb6 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=84.706µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=f4ef96fd-2580-4a9c-957a-8f3b74d2314d method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=84.165µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=e4455d85-c096-4af5-a901-573b577933b4 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=96.164µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=574ec588-74b3-42e7-9144-7f0497b5ac79 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=104.081µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=ccb7b76e-ad4c-427d-9a27-254e50183481 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=82.373µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=5ad30c87-4c09-47b7-859e-1bc52f28d7fc method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=274.326µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=985cd530-9097-40f4-b558-1addd6ea5d60 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=85.498µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=25b9f01a-ac67-4cb2-8774-30e0230d5729 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=112.748µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=693e9b3a-deea-4f69-b0a1-c5ced95984a9 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=456.072µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=6822f4ff-d118-4182-9fd0-f102dd191967 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=1.166055ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=e9c4882d-92a5-4f62-93f2-ba22d21c6456 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=354.658µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=99d70132-2baa-4d8a-989c-e146bb530ae0 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=81.831µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=fa76dc0a-51bd-4496-8ff5-f3aa4f4d135c method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=118.747µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=309e05ef-a842-49c6-8c83-516e41db952f method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=102.331µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=437238e9-9a20-4af2-9937-19b14618192b method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=86.915µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=e1141b7f-5550-47d5-9dad-b7d300dcfae0 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=140.039µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=f6b9dbf7-488b-4ec2-86bd-3f6c550a985a method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=83.415µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=2db01d64-2568-4b7c-a8fe-4d0c89a5b392 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=101.08µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=9597d5f7-3b8a-40a4-93d3-2f400ab7319e method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=81.207µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=7f9eaddc-4b4f-4ef5-8dc0-2253474633da method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=91.164µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=f36ed3e5-ca5a-4e01-b6e5-c488a2b1ad45 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=95.789µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=ebadca0e-a733-4a3c-addc-c82177cae6fa method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=89.373µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=5ba43861-7887-4fe7-9c75-dd1d57ed7a8e method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=152.954µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=0d0dba4a-93ed-4e76-b4ca-6374f7270b03 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=80.998µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=8020b5c6-816b-4f0a-8307-53144c1f550c method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=85.415µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=af34ba0a-c58a-472d-b29a-18b902d86820 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=82.29µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=c3d0ddb9-ce15-4e8d-afa3-f0e03bc514b0 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=143.58µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=14c70220-622d-4f8d-b12e-43c17883e169 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=93.789µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=9487c985-0fee-4082-ab75-a33375c85d90 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=117.664µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=07701f9e-be14-4f65-922c-0ccc6babea9b method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=87.123µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=db24d62c-7391-4cf3-84fe-b8687fc2dbac method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=85.664µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=249ff000-462a-4410-ab7c-75f75fd7aa8f method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=110.456µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=050bd436-882a-444f-b463-d18239832556 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=99.623µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=9b2e0ed6-6722-4d56-a55f-4a22dae26a06 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=105.831µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=e00593c1-abc3-4f51-a679-6ccb443162bc method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=102.248µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=a335e2b4-1183-4f5e-9f9a-a7da981d5eb6 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=165.288µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=714a42c7-bc8e-4d98-9114-f4983de43811 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=154.454µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=0b62db2d-736f-458f-a7e7-f69568d1ca26 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=104.955µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=327b4651-7b1c-4cb6-9a08-b22f670c8e1a method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=485.989µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=9cdc9650-343d-4d9b-bbfb-1d1b1e817f24 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=84.165µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=0f70ad76-5e35-4d54-a059-42c20cac06c2 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=87.873µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=00d0913d-54d0-4517-8e25-e406e3581149 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=100.623µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=041f5463-fbd2-43bf-bd93-fc752a8077d0 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=82.29µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=2ffca9a9-068c-4ce2-8f0d-a2dcf6ca05fb method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=87.165µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=3e59097d-4b78-4314-86e0-20861acc84fd method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=126.58µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=539192d8-8588-477c-a383-63d832a91799 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=101.206µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=4df58fda-66c3-48da-84f4-1eb36022f07c method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=94.706µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=3f32a4c2-43c9-4e3d-85f7-14586dd9ff33 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=101.04µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=eccb4a5b-12fd-460d-a703-5f5e6187fc16 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=103.04µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=75ab6950-971b-42e5-98c8-bae54428dc05 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=98.956µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=50f75b50-de66-46f2-ab6c-1e61f668301b method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=87.457µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=a9ecc788-e9f6-4015-9852-fa6b97008c29 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=84.332µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=322504ea-48fc-4bff-8125-1b3bd86bae71 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=139.872µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=0eb18f51-a68d-4670-99c1-039647a96f33 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=101.039µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=8dcf0920-4346-4412-a14c-8fc7bc6ba0b4 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=84.665µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=a571c03a-599e-443a-b438-6f399ada4fca method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=83.373µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=2b669598-9444-494b-95df-e386a7e0fabc method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=84.164µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=db6c012b-5e4a-4d73-beba-a6ffcc91a88c method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=102.123µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=d5fae332-b4bb-4667-bd15-41f8d170ac76 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=398.491µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=c4decc3d-4c53-4bcb-bb97-b6f77059420d method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=208.787µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=c9fa1b51-3d22-4278-b52f-dbf2455b3af3 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=673.442µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=099b49a7-7711-4ea5-9a0c-35681fc9a567 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=205.328µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=0f74a910-e185-4d8b-9c04-58b13e80edbb method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=141.996µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=23835e5c-28b1-4d16-9a9c-feb19f8bd020 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=1.337511ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=7d39c5bf-0788-48b2-88b4-30fd7de5468d method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=1.043934ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=7ab9043f-ad5e-479f-8a76-7e5d6fc60f20 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=1.285512ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=2e5ebea8-89a1-4c91-90f8-52a9967eb004 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=1.213847ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=d9bc7128-c0e9-40a3-a7b0-15b7a370ea0e method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=168.329µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=ef020195-2fda-4111-89d1-dc7cd05782ed method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=81.79µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=7b5f03ac-5744-4001-b130-7ff8e8d1be19 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=126.663µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=6fa8ac1c-1033-47ef-925d-e331a920f9ad method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=90.831µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=c6afb4e4-73ac-484e-b1a7-c96d9b2a9167 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=91.998µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=c298771d-1219-42fa-812c-ccb72b6230c8 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=98.081µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=46230ced-ec6e-467c-bae1-f97269c9c497 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=97.748µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=651e746e-2ba8-4dfa-9da2-feeb7cc9728c method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=99.289µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=3942a9f6-b0f8-45a0-9952-62792b8dc4af method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=221.37µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=747383c1-aa2e-4cd3-97e4-c91c57ce33af method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=93.873µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=1f62ae9a-f37e-4444-82bf-5dc4a73c4197 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=104.747µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=b2d9c016-0c11-4f9d-9b67-5a6d580fd697 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=92.206µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=1d64c127-ff4c-43e5-bf3e-2d43146a35a8 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=200.996µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=523ab9ea-bb61-4f6f-a9bc-5975f7c11e88 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=103.706µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=c060e137-7ef6-4765-99b3-ac19fafbb950 method=POST path=/api/v1/chats/:chat_id/messages status=201 response_bytes=219 latency=103.415µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=ce72a901-34a7-437e-a7dc-2745a44eb9de method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=3992 latency=552.903µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=bfb77558-dc1b-4fbe-88ea-1032fe30b85b method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=3992 latency=539.195µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=222fb3ca-845f-4a45-94f2-0256a7e9d213 method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=3992 latency=508.279µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=e67f9d0a-f6f2-4099-ad93-869864c84bfb method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=3992 latency=489.113µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=14a747cc-8895-4b9f-a3f5-2f6cb1216cdc method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=3992 latency=431.157µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:46 request_id=72b01ca3-31db-4347-8952-0de449ddccc6 method=GET path=/api/v1/chats/:chat_id/messages status=200 response_bytes=3316 latency=328.368µs
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | --- PASS: TestConcurrentMessagesAreUnique (5.58s)
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | PASS
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | ok gitflic.ru/akselbant/mtusi2026lab1-fork/internal/app/chat 9.739s
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | ? gitflic.ru/akselbant/mtusi2026lab1-fork/internal/config [no test files]
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | ? gitflic.ru/akselbant/mtusi2026lab1-fork/internal/pkg/domain [no test files]
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | === RUN TestUnicodeAndSalt
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | --- PASS: TestUnicodeAndSalt (1.67s)
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | PASS
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | ok gitflic.ru/akselbant/mtusi2026lab1-fork/internal/pkg/password 2.705s
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | ? gitflic.ru/akselbant/mtusi2026lab1-fork/internal/pkg/repository [no test files]
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | === RUN TestIntegration
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | storage_test.go:84: goose up: 2026/10/19 17:45:50 OK 001_initial.sql (9.63ms)
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:50 OK 002_idempotency.sql (1.22ms)
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:50 goose: successfully migrated database to version: 2
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | storage_test.go:85: goose up: 2026/10/19 17:45:50 goose: no migrations to run. current version: 2
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | === RUN TestIntegration/registration_race
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | storage_test.go:121: 12 concurrent INSERTs: 1 success, 11 unique conflicts
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | === RUN TestIntegration/rollback
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | storage_test.go:139: failed second member INSERT left 0 chats and 0 members
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | === RUN TestIntegration/keyset_and_explain
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | storage_test.go:186: EXPLAIN on 10,000 messages, cursor near the end (9,000):
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | storage_test.go:192: Limit (cost=0.29..16.15 rows=51 width=142) (actual time=0.010..0.024 rows=51 loops=1)
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | storage_test.go:192: Buffers: shared hit=5
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | storage_test.go:192: -> Index Scan using messages_history_idx on messages m (cost=0.29..311.35 rows=1000 width=142) (actual time=0.010..0.020 rows=51 loops=1)
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | storage_test.go:192: Index Cond: ((chat_id = '12f69934-d581-498e-a458-4d07b2c24d35'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.9+00'::timestamp with time zone, '00000000-0000-0000-0000-000000000000'::uuid)))
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | storage_test.go:192: Buffers: shared hit=5
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | storage_test.go:192: Planning Time: 0.029 ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | storage_test.go:192: Execution Time: 0.035 ms
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | storage_test.go:197: keyset traversal returned 10,000 distinct messages, including equal timestamps
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | === RUN TestIntegration/idempotency_race
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | storage_test.go:247: 16 concurrent PostgreSQL requests: one effect, identical replay, changed body conflicts
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | === RUN TestIntegration/goose_legacy_and_down
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | storage_test.go:261: goose up: 2026/10/19 17:45:50 OK 001_initial.sql (1.55ms)
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:50 OK 002_idempotency.sql (983.39µs)
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:50 goose: successfully migrated database to version: 2
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | storage_test.go:262: goose up: 2026/10/19 17:45:50 goose: no migrations to run. current version: 2
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | storage_test.go:269: adopted legacy schema: all existing messages are unchanged
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | storage_test.go:270: goose reset: 2026/10/19 17:45:50 OK 002_idempotency.sql (2.45ms)
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:50 OK 001_initial.sql (6.95ms)
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | storage_test.go:275: goose up: 2026/10/19 17:45:50 OK 001_initial.sql (9.35ms)
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:50 OK 002_idempotency.sql (1.04ms)
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | 2026/10/19 17:45:50 goose: successfully migrated database to version: 2
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | storage_test.go:279: down and up succeeded in isolated schema
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | --- PASS: TestIntegration (0.42s)
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | --- PASS: TestIntegration/registration_race (0.03s)
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | --- PASS: TestIntegration/rollback (0.00s)
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | --- PASS: TestIntegration/keyset_and_explain (0.06s)
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | --- PASS: TestIntegration/idempotency_race (0.01s)
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | --- PASS: TestIntegration/goose_legacy_and_down (0.09s)
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | PASS
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | ok gitflic.ru/akselbant/mtusi2026lab1-fork/internal/pkg/repository/postgres 1.434s
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | ? gitflic.ru/akselbant/mtusi2026lab1-fork/internal/pkg/session [no test files]
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | === RUN TestPasswordContract
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | --- PASS: TestPasswordContract (0.00s)
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | PASS
|
||||
mtusi-lab3_tests.0.rf3z5moq54wx@colima | ok gitflic.ru/akselbant/mtusi2026lab1-fork/internal/usecase/chat 1.011s
|
||||
mtusi-lab3_tests
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"lab": 3,
|
||||
"workload": "closed-loop POST messages; no automatic retries",
|
||||
"requested_duration_seconds": 30.0,
|
||||
"elapsed_seconds": 30.015,
|
||||
"concurrency": 4,
|
||||
"successful_requests": 20229,
|
||||
"failed_requests": 0,
|
||||
"error_ratio": 0.0,
|
||||
"successful_rps": 673.966,
|
||||
"successful_latency_ms": {
|
||||
"p50": 5.606,
|
||||
"p95": 8.855,
|
||||
"p99": 11.532
|
||||
},
|
||||
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
python3 scripts/measure_load.py --base-url "http://localhost:8080"
|
||||
{
|
||||
"lab": 3,
|
||||
"workload": "closed-loop POST messages; no automatic retries",
|
||||
"requested_duration_seconds": 30.0,
|
||||
"elapsed_seconds": 30.015,
|
||||
"concurrency": 4,
|
||||
"successful_requests": 20229,
|
||||
"failed_requests": 0,
|
||||
"error_ratio": 0.0,
|
||||
"successful_rps": 673.966,
|
||||
"successful_latency_ms": {
|
||||
"p50": 5.606,
|
||||
"p95": 8.855,
|
||||
"p99": 11.532
|
||||
},
|
||||
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
||||
}
|
||||
|
||||
Resource samples and dataset counts: evidence/swarm-resources.json
|
||||
@@ -0,0 +1,12 @@
|
||||
python3 scripts/swarm.py migrate-status
|
||||
image mtusi-migrations:lab3 could not be accessed on a registry to record
|
||||
its digest. Each node will access mtusi-migrations:lab3 independently,
|
||||
possibly leading to different nodes running different
|
||||
versions of the image.
|
||||
|
||||
lleonnrbg0feqpcxurszeax6h
|
||||
mtusi-lab3_migrations.0.121mjg82zo1s@colima | 2026/10/19 17:50:42 Applied At Migration
|
||||
mtusi-lab3_migrations.0.121mjg82zo1s@colima | 2026/10/19 17:50:42 =======================================
|
||||
mtusi-lab3_migrations.0.121mjg82zo1s@colima | 2026/10/19 17:50:42 Mon Oct 19 17:39:55 2026 -- 001_initial.sql
|
||||
mtusi-lab3_migrations.0.121mjg82zo1s@colima | 2026/10/19 17:50:42 Mon Oct 19 17:39:55 2026 -- 002_idempotency.sql
|
||||
mtusi-lab3_migrations
|
||||
@@ -0,0 +1,3 @@
|
||||
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://localhost:8080"
|
||||
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
|
||||
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
@@ -0,0 +1,615 @@
|
||||
{
|
||||
"warmup_seconds": 3,
|
||||
"dataset_before": {
|
||||
"users": 36,
|
||||
"chats": 14,
|
||||
"messages": 14882
|
||||
},
|
||||
"dataset_after": {
|
||||
"users": 39,
|
||||
"chats": 15,
|
||||
"messages": 35111
|
||||
},
|
||||
"samples": [
|
||||
{
|
||||
"elapsed_sample": 0,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "65.5kB / 0B",
|
||||
"CPUPerc": "16.06%",
|
||||
"Container": "b879b7b472d8",
|
||||
"ID": "b879b7b472d8",
|
||||
"MemPerc": "27.80%",
|
||||
"MemUsage": "71.18MiB / 256MiB",
|
||||
"Name": "mtusi-lab3_api.1.ybg5jlv6ecpf1s38yepk67a00",
|
||||
"NetIO": "7.21MB / 6.91MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "15.42%",
|
||||
"Container": "58aabefc12fa",
|
||||
"ID": "58aabefc12fa",
|
||||
"MemPerc": "27.64%",
|
||||
"MemUsage": "70.76MiB / 256MiB",
|
||||
"Name": "mtusi-lab3_api.2.ep3r706cscfisxuy3ekmgfpeo",
|
||||
"NetIO": "8.51MB / 8.22MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "8.19kB / 0B",
|
||||
"CPUPerc": "8.79%",
|
||||
"Container": "b37490c46acb",
|
||||
"ID": "b37490c46acb",
|
||||
"MemPerc": "8.20%",
|
||||
"MemUsage": "10.5MiB / 128MiB",
|
||||
"Name": "mtusi-lab3_lb.1.sc5kejnbxewfi6kz9k12dg3do",
|
||||
"NetIO": "22.8MB / 22.3MB",
|
||||
"PIDs": "3"
|
||||
},
|
||||
{
|
||||
"BlockIO": "11.6MB / 43.8MB",
|
||||
"CPUPerc": "30.16%",
|
||||
"Container": "0714166a0ac9",
|
||||
"ID": "0714166a0ac9",
|
||||
"MemPerc": "8.84%",
|
||||
"MemUsage": "45.25MiB / 512MiB",
|
||||
"Name": "mtusi-lab3_postgres.1.2j4b949ieib9pijyi46u4cbc2",
|
||||
"NetIO": "12.3MB / 15.2MB",
|
||||
"PIDs": "12"
|
||||
},
|
||||
{
|
||||
"BlockIO": "3.41MB / 0B",
|
||||
"CPUPerc": "2.40%",
|
||||
"Container": "b39c87f1b35c",
|
||||
"ID": "b39c87f1b35c",
|
||||
"MemPerc": "5.21%",
|
||||
"MemUsage": "6.672MiB / 128MiB",
|
||||
"Name": "mtusi-lab3_redis.1.z64v9apjenrycl2apz8ik1ytl",
|
||||
"NetIO": "2.87MB / 2.71MB",
|
||||
"PIDs": "6"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"elapsed_sample": 1,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "65.5kB / 0B",
|
||||
"CPUPerc": "15.67%",
|
||||
"Container": "b879b7b472d8",
|
||||
"ID": "b879b7b472d8",
|
||||
"MemPerc": "3.33%",
|
||||
"MemUsage": "8.531MiB / 256MiB",
|
||||
"Name": "mtusi-lab3_api.1.ybg5jlv6ecpf1s38yepk67a00",
|
||||
"NetIO": "9.56MB / 9.04MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "16.08%",
|
||||
"Container": "58aabefc12fa",
|
||||
"ID": "58aabefc12fa",
|
||||
"MemPerc": "3.92%",
|
||||
"MemUsage": "10.04MiB / 256MiB",
|
||||
"Name": "mtusi-lab3_api.2.ep3r706cscfisxuy3ekmgfpeo",
|
||||
"NetIO": "10.9MB / 10.4MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "8.19kB / 0B",
|
||||
"CPUPerc": "11.62%",
|
||||
"Container": "b37490c46acb",
|
||||
"ID": "b37490c46acb",
|
||||
"MemPerc": "8.20%",
|
||||
"MemUsage": "10.49MiB / 128MiB",
|
||||
"Name": "mtusi-lab3_lb.1.sc5kejnbxewfi6kz9k12dg3do",
|
||||
"NetIO": "27.1MB / 26.5MB",
|
||||
"PIDs": "3"
|
||||
},
|
||||
{
|
||||
"BlockIO": "11.6MB / 59MB",
|
||||
"CPUPerc": "30.76%",
|
||||
"Container": "0714166a0ac9",
|
||||
"ID": "0714166a0ac9",
|
||||
"MemPerc": "9.02%",
|
||||
"MemUsage": "46.18MiB / 512MiB",
|
||||
"Name": "mtusi-lab3_postgres.1.2j4b949ieib9pijyi46u4cbc2",
|
||||
"NetIO": "14.5MB / 18MB",
|
||||
"PIDs": "12"
|
||||
},
|
||||
{
|
||||
"BlockIO": "3.41MB / 0B",
|
||||
"CPUPerc": "2.44%",
|
||||
"Container": "b39c87f1b35c",
|
||||
"ID": "b39c87f1b35c",
|
||||
"MemPerc": "5.21%",
|
||||
"MemUsage": "6.672MiB / 128MiB",
|
||||
"Name": "mtusi-lab3_redis.1.z64v9apjenrycl2apz8ik1ytl",
|
||||
"NetIO": "3.1MB / 2.95MB",
|
||||
"PIDs": "6"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"elapsed_sample": 2,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "65.5kB / 0B",
|
||||
"CPUPerc": "16.75%",
|
||||
"Container": "b879b7b472d8",
|
||||
"ID": "b879b7b472d8",
|
||||
"MemPerc": "3.30%",
|
||||
"MemUsage": "8.457MiB / 256MiB",
|
||||
"Name": "mtusi-lab3_api.1.ybg5jlv6ecpf1s38yepk67a00",
|
||||
"NetIO": "11.9MB / 11.2MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "15.76%",
|
||||
"Container": "58aabefc12fa",
|
||||
"ID": "58aabefc12fa",
|
||||
"MemPerc": "4.21%",
|
||||
"MemUsage": "10.78MiB / 256MiB",
|
||||
"Name": "mtusi-lab3_api.2.ep3r706cscfisxuy3ekmgfpeo",
|
||||
"NetIO": "13.2MB / 12.5MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "8.19kB / 0B",
|
||||
"CPUPerc": "12.22%",
|
||||
"Container": "b37490c46acb",
|
||||
"ID": "b37490c46acb",
|
||||
"MemPerc": "8.40%",
|
||||
"MemUsage": "10.76MiB / 128MiB",
|
||||
"Name": "mtusi-lab3_lb.1.sc5kejnbxewfi6kz9k12dg3do",
|
||||
"NetIO": "30.3MB / 29.7MB",
|
||||
"PIDs": "3"
|
||||
},
|
||||
{
|
||||
"BlockIO": "11.6MB / 74.5MB",
|
||||
"CPUPerc": "30.76%",
|
||||
"Container": "0714166a0ac9",
|
||||
"ID": "0714166a0ac9",
|
||||
"MemPerc": "9.23%",
|
||||
"MemUsage": "47.24MiB / 512MiB",
|
||||
"Name": "mtusi-lab3_postgres.1.2j4b949ieib9pijyi46u4cbc2",
|
||||
"NetIO": "16.8MB / 20.7MB",
|
||||
"PIDs": "12"
|
||||
},
|
||||
{
|
||||
"BlockIO": "3.41MB / 0B",
|
||||
"CPUPerc": "3.07%",
|
||||
"Container": "b39c87f1b35c",
|
||||
"ID": "b39c87f1b35c",
|
||||
"MemPerc": "5.21%",
|
||||
"MemUsage": "6.672MiB / 128MiB",
|
||||
"Name": "mtusi-lab3_redis.1.z64v9apjenrycl2apz8ik1ytl",
|
||||
"NetIO": "3.45MB / 3.32MB",
|
||||
"PIDs": "6"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"elapsed_sample": 3,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "65.5kB / 0B",
|
||||
"CPUPerc": "15.15%",
|
||||
"Container": "b879b7b472d8",
|
||||
"ID": "b879b7b472d8",
|
||||
"MemPerc": "3.20%",
|
||||
"MemUsage": "8.191MiB / 256MiB",
|
||||
"Name": "mtusi-lab3_api.1.ybg5jlv6ecpf1s38yepk67a00",
|
||||
"NetIO": "14.2MB / 13.3MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "16.45%",
|
||||
"Container": "58aabefc12fa",
|
||||
"ID": "58aabefc12fa",
|
||||
"MemPerc": "4.04%",
|
||||
"MemUsage": "10.34MiB / 256MiB",
|
||||
"Name": "mtusi-lab3_api.2.ep3r706cscfisxuy3ekmgfpeo",
|
||||
"NetIO": "15.5MB / 14.6MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "8.19kB / 0B",
|
||||
"CPUPerc": "11.81%",
|
||||
"Container": "b37490c46acb",
|
||||
"ID": "b37490c46acb",
|
||||
"MemPerc": "8.20%",
|
||||
"MemUsage": "10.5MiB / 128MiB",
|
||||
"Name": "mtusi-lab3_lb.1.sc5kejnbxewfi6kz9k12dg3do",
|
||||
"NetIO": "33.5MB / 32.8MB",
|
||||
"PIDs": "3"
|
||||
},
|
||||
{
|
||||
"BlockIO": "11.6MB / 88.6MB",
|
||||
"CPUPerc": "30.80%",
|
||||
"Container": "0714166a0ac9",
|
||||
"ID": "0714166a0ac9",
|
||||
"MemPerc": "9.37%",
|
||||
"MemUsage": "47.95MiB / 512MiB",
|
||||
"Name": "mtusi-lab3_postgres.1.2j4b949ieib9pijyi46u4cbc2",
|
||||
"NetIO": "18.4MB / 22.5MB",
|
||||
"PIDs": "12"
|
||||
},
|
||||
{
|
||||
"BlockIO": "3.41MB / 0B",
|
||||
"CPUPerc": "3.21%",
|
||||
"Container": "b39c87f1b35c",
|
||||
"ID": "b39c87f1b35c",
|
||||
"MemPerc": "5.21%",
|
||||
"MemUsage": "6.672MiB / 128MiB",
|
||||
"Name": "mtusi-lab3_redis.1.z64v9apjenrycl2apz8ik1ytl",
|
||||
"NetIO": "3.91MB / 3.81MB",
|
||||
"PIDs": "6"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"elapsed_sample": 4,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "65.5kB / 0B",
|
||||
"CPUPerc": "17.11%",
|
||||
"Container": "b879b7b472d8",
|
||||
"ID": "b879b7b472d8",
|
||||
"MemPerc": "3.15%",
|
||||
"MemUsage": "8.066MiB / 256MiB",
|
||||
"Name": "mtusi-lab3_api.1.ybg5jlv6ecpf1s38yepk67a00",
|
||||
"NetIO": "16.3MB / 15.2MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "16.27%",
|
||||
"Container": "58aabefc12fa",
|
||||
"ID": "58aabefc12fa",
|
||||
"MemPerc": "4.06%",
|
||||
"MemUsage": "10.4MiB / 256MiB",
|
||||
"Name": "mtusi-lab3_api.2.ep3r706cscfisxuy3ekmgfpeo",
|
||||
"NetIO": "17.6MB / 16.5MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "8.19kB / 0B",
|
||||
"CPUPerc": "12.40%",
|
||||
"Container": "b37490c46acb",
|
||||
"ID": "b37490c46acb",
|
||||
"MemPerc": "8.20%",
|
||||
"MemUsage": "10.5MiB / 128MiB",
|
||||
"Name": "mtusi-lab3_lb.1.sc5kejnbxewfi6kz9k12dg3do",
|
||||
"NetIO": "36.4MB / 35.6MB",
|
||||
"PIDs": "3"
|
||||
},
|
||||
{
|
||||
"BlockIO": "11.6MB / 107MB",
|
||||
"CPUPerc": "31.07%",
|
||||
"Container": "0714166a0ac9",
|
||||
"ID": "0714166a0ac9",
|
||||
"MemPerc": "9.62%",
|
||||
"MemUsage": "49.23MiB / 512MiB",
|
||||
"Name": "mtusi-lab3_postgres.1.2j4b949ieib9pijyi46u4cbc2",
|
||||
"NetIO": "21.2MB / 25.8MB",
|
||||
"PIDs": "12"
|
||||
},
|
||||
{
|
||||
"BlockIO": "3.41MB / 0B",
|
||||
"CPUPerc": "3.40%",
|
||||
"Container": "b39c87f1b35c",
|
||||
"ID": "b39c87f1b35c",
|
||||
"MemPerc": "5.21%",
|
||||
"MemUsage": "6.668MiB / 128MiB",
|
||||
"Name": "mtusi-lab3_redis.1.z64v9apjenrycl2apz8ik1ytl",
|
||||
"NetIO": "4.12MB / 4.03MB",
|
||||
"PIDs": "6"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"elapsed_sample": 5,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "65.5kB / 0B",
|
||||
"CPUPerc": "15.12%",
|
||||
"Container": "b879b7b472d8",
|
||||
"ID": "b879b7b472d8",
|
||||
"MemPerc": "3.56%",
|
||||
"MemUsage": "9.125MiB / 256MiB",
|
||||
"Name": "mtusi-lab3_api.1.ybg5jlv6ecpf1s38yepk67a00",
|
||||
"NetIO": "18.4MB / 17.1MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "17.11%",
|
||||
"Container": "58aabefc12fa",
|
||||
"ID": "58aabefc12fa",
|
||||
"MemPerc": "3.90%",
|
||||
"MemUsage": "9.98MiB / 256MiB",
|
||||
"Name": "mtusi-lab3_api.2.ep3r706cscfisxuy3ekmgfpeo",
|
||||
"NetIO": "19MB / 17.8MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "8.19kB / 0B",
|
||||
"CPUPerc": "15.52%",
|
||||
"Container": "b37490c46acb",
|
||||
"ID": "b37490c46acb",
|
||||
"MemPerc": "8.20%",
|
||||
"MemUsage": "10.49MiB / 128MiB",
|
||||
"Name": "mtusi-lab3_lb.1.sc5kejnbxewfi6kz9k12dg3do",
|
||||
"NetIO": "39.2MB / 38.4MB",
|
||||
"PIDs": "3"
|
||||
},
|
||||
{
|
||||
"BlockIO": "11.6MB / 121MB",
|
||||
"CPUPerc": "30.27%",
|
||||
"Container": "0714166a0ac9",
|
||||
"ID": "0714166a0ac9",
|
||||
"MemPerc": "9.77%",
|
||||
"MemUsage": "50.01MiB / 512MiB",
|
||||
"Name": "mtusi-lab3_postgres.1.2j4b949ieib9pijyi46u4cbc2",
|
||||
"NetIO": "23.2MB / 28.2MB",
|
||||
"PIDs": "12"
|
||||
},
|
||||
{
|
||||
"BlockIO": "3.41MB / 0B",
|
||||
"CPUPerc": "3.22%",
|
||||
"Container": "b39c87f1b35c",
|
||||
"ID": "b39c87f1b35c",
|
||||
"MemPerc": "5.21%",
|
||||
"MemUsage": "6.672MiB / 128MiB",
|
||||
"Name": "mtusi-lab3_redis.1.z64v9apjenrycl2apz8ik1ytl",
|
||||
"NetIO": "4.53MB / 4.47MB",
|
||||
"PIDs": "6"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"elapsed_sample": 6,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "65.5kB / 0B",
|
||||
"CPUPerc": "16.74%",
|
||||
"Container": "b879b7b472d8",
|
||||
"ID": "b879b7b472d8",
|
||||
"MemPerc": "3.57%",
|
||||
"MemUsage": "9.137MiB / 256MiB",
|
||||
"Name": "mtusi-lab3_api.1.ybg5jlv6ecpf1s38yepk67a00",
|
||||
"NetIO": "20.5MB / 18.9MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "15.74%",
|
||||
"Container": "58aabefc12fa",
|
||||
"ID": "58aabefc12fa",
|
||||
"MemPerc": "3.99%",
|
||||
"MemUsage": "10.22MiB / 256MiB",
|
||||
"Name": "mtusi-lab3_api.2.ep3r706cscfisxuy3ekmgfpeo",
|
||||
"NetIO": "21.8MB / 20.3MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "8.19kB / 0B",
|
||||
"CPUPerc": "12.18%",
|
||||
"Container": "b37490c46acb",
|
||||
"ID": "b37490c46acb",
|
||||
"MemPerc": "8.38%",
|
||||
"MemUsage": "10.72MiB / 128MiB",
|
||||
"Name": "mtusi-lab3_lb.1.sc5kejnbxewfi6kz9k12dg3do",
|
||||
"NetIO": "42.1MB / 41.2MB",
|
||||
"PIDs": "3"
|
||||
},
|
||||
{
|
||||
"BlockIO": "11.6MB / 135MB",
|
||||
"CPUPerc": "30.09%",
|
||||
"Container": "0714166a0ac9",
|
||||
"ID": "0714166a0ac9",
|
||||
"MemPerc": "9.97%",
|
||||
"MemUsage": "51.05MiB / 512MiB",
|
||||
"Name": "mtusi-lab3_postgres.1.2j4b949ieib9pijyi46u4cbc2",
|
||||
"NetIO": "25.2MB / 30.6MB",
|
||||
"PIDs": "12"
|
||||
},
|
||||
{
|
||||
"BlockIO": "3.41MB / 0B",
|
||||
"CPUPerc": "3.38%",
|
||||
"Container": "b39c87f1b35c",
|
||||
"ID": "b39c87f1b35c",
|
||||
"MemPerc": "5.21%",
|
||||
"MemUsage": "6.664MiB / 128MiB",
|
||||
"Name": "mtusi-lab3_redis.1.z64v9apjenrycl2apz8ik1ytl",
|
||||
"NetIO": "4.74MB / 4.69MB",
|
||||
"PIDs": "6"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"elapsed_sample": 7,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "65.5kB / 0B",
|
||||
"CPUPerc": "16.53%",
|
||||
"Container": "b879b7b472d8",
|
||||
"ID": "b879b7b472d8",
|
||||
"MemPerc": "3.56%",
|
||||
"MemUsage": "9.109MiB / 256MiB",
|
||||
"Name": "mtusi-lab3_api.1.ybg5jlv6ecpf1s38yepk67a00",
|
||||
"NetIO": "22.5MB / 20.8MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "16.88%",
|
||||
"Container": "58aabefc12fa",
|
||||
"ID": "58aabefc12fa",
|
||||
"MemPerc": "4.19%",
|
||||
"MemUsage": "10.74MiB / 256MiB",
|
||||
"Name": "mtusi-lab3_api.2.ep3r706cscfisxuy3ekmgfpeo",
|
||||
"NetIO": "23.8MB / 22.1MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "8.19kB / 0B",
|
||||
"CPUPerc": "12.66%",
|
||||
"Container": "b37490c46acb",
|
||||
"ID": "b37490c46acb",
|
||||
"MemPerc": "8.38%",
|
||||
"MemUsage": "10.73MiB / 128MiB",
|
||||
"Name": "mtusi-lab3_lb.1.sc5kejnbxewfi6kz9k12dg3do",
|
||||
"NetIO": "44.9MB / 44MB",
|
||||
"PIDs": "3"
|
||||
},
|
||||
{
|
||||
"BlockIO": "11.6MB / 144MB",
|
||||
"CPUPerc": "30.88%",
|
||||
"Container": "0714166a0ac9",
|
||||
"ID": "0714166a0ac9",
|
||||
"MemPerc": "10.03%",
|
||||
"MemUsage": "51.36MiB / 512MiB",
|
||||
"Name": "mtusi-lab3_postgres.1.2j4b949ieib9pijyi46u4cbc2",
|
||||
"NetIO": "26.6MB / 32.2MB",
|
||||
"PIDs": "12"
|
||||
},
|
||||
{
|
||||
"BlockIO": "3.41MB / 0B",
|
||||
"CPUPerc": "3.65%",
|
||||
"Container": "b39c87f1b35c",
|
||||
"ID": "b39c87f1b35c",
|
||||
"MemPerc": "5.21%",
|
||||
"MemUsage": "6.672MiB / 128MiB",
|
||||
"Name": "mtusi-lab3_redis.1.z64v9apjenrycl2apz8ik1ytl",
|
||||
"NetIO": "5.15MB / 5.12MB",
|
||||
"PIDs": "6"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"elapsed_sample": 8,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "65.5kB / 0B",
|
||||
"CPUPerc": "16.14%",
|
||||
"Container": "b879b7b472d8",
|
||||
"ID": "b879b7b472d8",
|
||||
"MemPerc": "3.56%",
|
||||
"MemUsage": "9.102MiB / 256MiB",
|
||||
"Name": "mtusi-lab3_api.1.ybg5jlv6ecpf1s38yepk67a00",
|
||||
"NetIO": "24.7MB / 22.7MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "242kB / 0B",
|
||||
"CPUPerc": "15.43%",
|
||||
"Container": "58aabefc12fa",
|
||||
"ID": "58aabefc12fa",
|
||||
"MemPerc": "4.22%",
|
||||
"MemUsage": "10.8MiB / 256MiB",
|
||||
"Name": "mtusi-lab3_api.2.ep3r706cscfisxuy3ekmgfpeo",
|
||||
"NetIO": "25.9MB / 24MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "8.19kB / 0B",
|
||||
"CPUPerc": "12.18%",
|
||||
"Container": "b37490c46acb",
|
||||
"ID": "b37490c46acb",
|
||||
"MemPerc": "8.19%",
|
||||
"MemUsage": "10.48MiB / 128MiB",
|
||||
"Name": "mtusi-lab3_lb.1.sc5kejnbxewfi6kz9k12dg3do",
|
||||
"NetIO": "47.7MB / 46.8MB",
|
||||
"PIDs": "3"
|
||||
},
|
||||
{
|
||||
"BlockIO": "11.6MB / 162MB",
|
||||
"CPUPerc": "30.27%",
|
||||
"Container": "0714166a0ac9",
|
||||
"ID": "0714166a0ac9",
|
||||
"MemPerc": "10.24%",
|
||||
"MemUsage": "52.45MiB / 512MiB",
|
||||
"Name": "mtusi-lab3_postgres.1.2j4b949ieib9pijyi46u4cbc2",
|
||||
"NetIO": "29.3MB / 35.5MB",
|
||||
"PIDs": "12"
|
||||
},
|
||||
{
|
||||
"BlockIO": "3.41MB / 0B",
|
||||
"CPUPerc": "3.34%",
|
||||
"Container": "b39c87f1b35c",
|
||||
"ID": "b39c87f1b35c",
|
||||
"MemPerc": "5.21%",
|
||||
"MemUsage": "6.672MiB / 128MiB",
|
||||
"Name": "mtusi-lab3_redis.1.z64v9apjenrycl2apz8ik1ytl",
|
||||
"NetIO": "5.35MB / 5.34MB",
|
||||
"PIDs": "6"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"elapsed_sample": 9,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "65.5kB / 0B",
|
||||
"CPUPerc": "15.13%",
|
||||
"Container": "b879b7b472d8",
|
||||
"ID": "b879b7b472d8",
|
||||
"MemPerc": "3.56%",
|
||||
"MemUsage": "9.113MiB / 256MiB",
|
||||
"Name": "mtusi-lab3_api.1.ybg5jlv6ecpf1s38yepk67a00",
|
||||
"NetIO": "27MB / 24.8MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "242kB / 0B",
|
||||
"CPUPerc": "16.23%",
|
||||
"Container": "58aabefc12fa",
|
||||
"ID": "58aabefc12fa",
|
||||
"MemPerc": "3.93%",
|
||||
"MemUsage": "10.07MiB / 256MiB",
|
||||
"Name": "mtusi-lab3_api.2.ep3r706cscfisxuy3ekmgfpeo",
|
||||
"NetIO": "28.3MB / 26.1MB",
|
||||
"PIDs": "9"
|
||||
},
|
||||
{
|
||||
"BlockIO": "8.19kB / 0B",
|
||||
"CPUPerc": "11.93%",
|
||||
"Container": "b37490c46acb",
|
||||
"ID": "b37490c46acb",
|
||||
"MemPerc": "8.19%",
|
||||
"MemUsage": "10.48MiB / 128MiB",
|
||||
"Name": "mtusi-lab3_lb.1.sc5kejnbxewfi6kz9k12dg3do",
|
||||
"NetIO": "50.9MB / 49.9MB",
|
||||
"PIDs": "3"
|
||||
},
|
||||
{
|
||||
"BlockIO": "11.6MB / 178MB",
|
||||
"CPUPerc": "31.60%",
|
||||
"Container": "0714166a0ac9",
|
||||
"ID": "0714166a0ac9",
|
||||
"MemPerc": "10.43%",
|
||||
"MemUsage": "53.41MiB / 512MiB",
|
||||
"Name": "mtusi-lab3_postgres.1.2j4b949ieib9pijyi46u4cbc2",
|
||||
"NetIO": "31.6MB / 38.1MB",
|
||||
"PIDs": "12"
|
||||
},
|
||||
{
|
||||
"BlockIO": "3.41MB / 0B",
|
||||
"CPUPerc": "2.40%",
|
||||
"Container": "b39c87f1b35c",
|
||||
"ID": "b39c87f1b35c",
|
||||
"MemPerc": "5.21%",
|
||||
"MemUsage": "6.672MiB / 128MiB",
|
||||
"Name": "mtusi-lab3_redis.1.z64v9apjenrycl2apz8ik1ytl",
|
||||
"NetIO": "5.69MB / 5.69MB",
|
||||
"PIDs": "6"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
PASS: lb containers replaced; mounts and secret names retained
|
||||
PASS: api containers replaced; mounts and secret names retained
|
||||
PASS: postgres containers replaced; mounts and secret names retained
|
||||
PASS: redis containers replaced; mounts and secret names retained
|
||||
@@ -0,0 +1,2 @@
|
||||
python3 tests/smoke.py --base-url "http://localhost:8080"
|
||||
PASS: lab3 public API scenario; infrastructure and grading evidence remain separate.
|
||||
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"stack": "mtusi-lab3",
|
||||
"docker": "29.5.2",
|
||||
"services": {
|
||||
"lb": {
|
||||
"image": "haproxy:3.2.6-alpine",
|
||||
"limits": {
|
||||
"NanoCPUs": 500000000,
|
||||
"MemoryBytes": 134217728
|
||||
},
|
||||
"published_ports": [
|
||||
{
|
||||
"Protocol": "tcp",
|
||||
"TargetPort": 8080,
|
||||
"PublishedPort": 8080,
|
||||
"PublishMode": "host"
|
||||
}
|
||||
],
|
||||
"secret_names": [],
|
||||
"mounts": [],
|
||||
"tasks": [
|
||||
{
|
||||
"id": "sc5kejnbxewfi6kz9k12dg3do",
|
||||
"state": "running",
|
||||
"container": "b37490c46acb64d0a685937aa795c4dc733736dbec1a074be9d21cd94db66f41"
|
||||
}
|
||||
]
|
||||
},
|
||||
"api": {
|
||||
"image": "mtusi-messenger:lab3",
|
||||
"limits": {
|
||||
"NanoCPUs": 1000000000,
|
||||
"MemoryBytes": 268435456
|
||||
},
|
||||
"published_ports": [],
|
||||
"secret_names": [
|
||||
"mtusi-lab3_cursor_key",
|
||||
"mtusi-lab3_postgres_password"
|
||||
],
|
||||
"mounts": [],
|
||||
"tasks": [
|
||||
{
|
||||
"id": "u0j50pbkblnvcv98a2si54z2z",
|
||||
"state": "running",
|
||||
"container": "97e29f159b4ea7a73541b784601fb6e6a1a8424f41c29afd610d48098cb80039"
|
||||
},
|
||||
{
|
||||
"id": "fmylw9crxw40164mjyrtp5umu",
|
||||
"state": "running",
|
||||
"container": "9ad9fca4a9047d1c31db3e473b8c275c87f734dcd654269a35bc11cd32cff02d"
|
||||
}
|
||||
]
|
||||
},
|
||||
"postgres": {
|
||||
"image": "postgres:17.6-alpine3.22",
|
||||
"limits": {
|
||||
"NanoCPUs": 1000000000,
|
||||
"MemoryBytes": 536870912
|
||||
},
|
||||
"published_ports": [],
|
||||
"secret_names": [
|
||||
"mtusi-lab3_postgres_password"
|
||||
],
|
||||
"mounts": [
|
||||
{
|
||||
"Type": "volume",
|
||||
"Source": "mtusi-lab3_postgres_data",
|
||||
"Target": "/var/lib/postgresql/data",
|
||||
"VolumeOptions": {
|
||||
"Labels": {
|
||||
"com.docker.stack.namespace": "mtusi-lab3"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"tasks": [
|
||||
{
|
||||
"id": "2j4b949ieib9pijyi46u4cbc2",
|
||||
"state": "running",
|
||||
"container": "0714166a0ac92ca76b790e1f369ac54e4bfe9ead64ca84932ce7283be46ed513"
|
||||
}
|
||||
]
|
||||
},
|
||||
"redis": {
|
||||
"image": "redis:7.4.5-alpine3.21",
|
||||
"limits": {
|
||||
"NanoCPUs": 500000000,
|
||||
"MemoryBytes": 134217728
|
||||
},
|
||||
"published_ports": [],
|
||||
"secret_names": [],
|
||||
"mounts": [
|
||||
{
|
||||
"Type": "volume",
|
||||
"Source": "mtusi-lab3_redis_data",
|
||||
"Target": "/data",
|
||||
"VolumeOptions": {
|
||||
"Labels": {
|
||||
"com.docker.stack.namespace": "mtusi-lab3"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"tasks": [
|
||||
{
|
||||
"id": "z64v9apjenrycl2apz8ik1ytl",
|
||||
"state": "running",
|
||||
"container": "b39c87f1b35cffea64d0aefc9c7f80caa9f059f4a2da4ecf44933f8dac76df69"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
[
|
||||
{
|
||||
"task_id": "ep3r706cscfisxuy3ekmgfpeo",
|
||||
"service_id": "r841hyfz1wcy4pfzokhub4x23",
|
||||
"desired_state": "shutdown",
|
||||
"state": "failed",
|
||||
"container_id": "58aabefc12fa7ea22fde63642f6fb7f43b7cf3f096918d464eb8d3e32cd6b3c8",
|
||||
"exit_code": 137
|
||||
},
|
||||
{
|
||||
"task_id": "fmylw9crxw40164mjyrtp5umu",
|
||||
"service_id": "r841hyfz1wcy4pfzokhub4x23",
|
||||
"desired_state": "running",
|
||||
"state": "running",
|
||||
"container_id": "9ad9fca4a9047d1c31db3e473b8c275c87f734dcd654269a35bc11cd32cff02d",
|
||||
"exit_code": 0
|
||||
},
|
||||
{
|
||||
"task_id": "kckow0bugasmow5w19hp6c24g",
|
||||
"service_id": "r841hyfz1wcy4pfzokhub4x23",
|
||||
"desired_state": "shutdown",
|
||||
"state": "shutdown",
|
||||
"container_id": "b068c8c5cd7513ec2da8e1ba21354df6c7b401c7f1dd8c0acd0925d24fa43d0d",
|
||||
"exit_code": 0
|
||||
},
|
||||
{
|
||||
"task_id": "kk0ti0wgqrsp5ht861ynqqbvz",
|
||||
"service_id": "r841hyfz1wcy4pfzokhub4x23",
|
||||
"desired_state": "shutdown",
|
||||
"state": "shutdown",
|
||||
"container_id": "a70f47fd33b394970e576144ab49bbf4618726e815a1123e073a831de8314e84",
|
||||
"exit_code": 0
|
||||
},
|
||||
{
|
||||
"task_id": "u0j50pbkblnvcv98a2si54z2z",
|
||||
"service_id": "r841hyfz1wcy4pfzokhub4x23",
|
||||
"desired_state": "running",
|
||||
"state": "running",
|
||||
"container_id": "97e29f159b4ea7a73541b784601fb6e6a1a8424f41c29afd610d48098cb80039",
|
||||
"exit_code": 0
|
||||
},
|
||||
{
|
||||
"task_id": "ybg5jlv6ecpf1s38yepk67a00",
|
||||
"service_id": "r841hyfz1wcy4pfzokhub4x23",
|
||||
"desired_state": "shutdown",
|
||||
"state": "failed",
|
||||
"container_id": "b879b7b472d8131ab3a5389f8ca2e6dafa21d791f360241f1fd4be4ab10e52f0",
|
||||
"exit_code": 137
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,6 @@
|
||||
/private/tmp/mtusi2026lab3-validation-20261019/bin/python scripts/check_contract.py
|
||||
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
||||
/private/tmp/mtusi2026lab3-validation-20261019/bin/python scripts/validate_openapi.py
|
||||
/private/tmp/mtusi2026lab3-validation-20261019/lib/python3.9/site-packages/urllib3/__init__.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
|
||||
warnings.warn(
|
||||
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
|
||||
@@ -0,0 +1,4 @@
|
||||
/tmp/mtusi-lab2-validation/bin/python scripts/validate_openapi.py
|
||||
/private/tmp/mtusi-lab2-validation/lib/python3.9/site-packages/urllib3/__init__.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
|
||||
warnings.warn(
|
||||
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
|
||||
Reference in New Issue
Block a user