Выполнить лабораторную 4: S3-вложения и согласованность хранилищ
This commit is contained in:
+20
-3
@@ -1,5 +1,22 @@
|
||||
# Доказательства
|
||||
# Доказательства lab4
|
||||
|
||||
Храните небольшие обезличенные результаты: команды и stdout проверок, JSON/CSV агрегатов нагрузки, EXPLAIN, dashboard JSON, текст разбора отказа. Укажите дату, commit, аппаратные лимиты и профиль нагрузки.
|
||||
Проверки от 6 ноября 2026 года. Отдельный проект mtusi-lab4, публичный LB localhost:8084. Все данные синтетические, пароли/токены не сохранены.
|
||||
|
||||
Не добавляйте .env, session tokens, cookies, приватные ключи, credentials, реальные сообщения, raw dumps и signed URLs. Для скриншотов скрывайте секреты. Большие логи/бинарные traces сохраняйте отдельно по правилам преподавателя; одного скриншота без методики недостаточно.
|
||||
- check.txt, validate.txt: структура и OpenAPI.
|
||||
- smoke.txt: публичный сценарий lab4, checksum и ACL.
|
||||
- idempotency.txt, cache-consistency.txt: сохранённые свойства lab3.
|
||||
- uploads-negative.json: 21 негативная/граничная проверка, включая прерванную передачу.
|
||||
- private-storage.json: anonymous 403, запрещённые S3 admin-операции, префикс и console.
|
||||
- attachment-failover.json/.txt: реальная остановка именно uploader, download другой API, checksum, snapshot.
|
||||
- failover.txt, after-public-failover.json: публичный failover с повтором ключа и проверкой оригинала.
|
||||
- persistence.txt, before-persistence.json, after-persistence.json: прежняя сессия/оригинал и реальный restart API×2/DB/Valkey/MinIO/LB/reconciler.
|
||||
- final-containers.json: здоровые процессы, image IDs, лимиты/порты/volumes без environment.
|
||||
- dependency-outages.json/.txt, dependency-outages-compose.txt: реальные stop/start MinIO и DB, контролируемые 503 и восстановление.
|
||||
- reconciliation.json: трек 2, real crash exit 86, dry/apply/repeat, fresh/used/lock protection, восстановление и стоимость обхода.
|
||||
- research-consistency.txt, research-consistency-compose.txt: ход запуска исследования и восстановление штатного worker.
|
||||
- scan-cost-summary.json/.csv/.png/.svg: агрегаты трёх повторов каждой группы и график стоимости.
|
||||
- upload-memory.json/.txt/.png/.svg: два размера, concurrency 10, 40 uploads, индивидуальные задержки и cgroup traces с шагом 50ms.
|
||||
- s3-bootstrap.txt, versions.txt, migrations.txt: реальные bootstrap, версии и однократные SQL-версии.
|
||||
- build.txt: сборка образа.
|
||||
|
||||
Графики восстанавливаются scripts/plot_research.py, описание — scripts/summarize_research.py. Методика и ограничения: ../RESEARCH.md; запуск и рубрика: ../REPORT.md.
|
||||
|
||||
@@ -0,0 +1,150 @@
|
||||
[
|
||||
{
|
||||
"name": "/mtusi-lab4-api-1",
|
||||
"id": "f73f3d296d3ed0ac7395f526fec915a7b0a0833957d27ed1f2de5d28ea8f89a7",
|
||||
"hostname": "f73f3d296d3e",
|
||||
"service": "api",
|
||||
"image_id": "sha256:eb36496d11ab7325efa30097c8964754a9f326cdb2e3a5a4b0ce73d3c3ca517d",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:33:15.559505564Z",
|
||||
"health": "starting",
|
||||
"nano_cpus": 2000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-api-2",
|
||||
"id": "e2b4291a5ae676735910d3c89e3ec9f81a2c72c316fc1c18595e4a8099d0df45",
|
||||
"hostname": "e2b4291a5ae6",
|
||||
"service": "api",
|
||||
"image_id": "sha256:eb36496d11ab7325efa30097c8964754a9f326cdb2e3a5a4b0ce73d3c3ca517d",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:33:15.560857437Z",
|
||||
"health": "starting",
|
||||
"nano_cpus": 2000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-db-1",
|
||||
"id": "fd19a37a2f105c1fed35c9497a060fba08e0c7a149ba100fa1501928dee2e47d",
|
||||
"hostname": "fd19a37a2f10",
|
||||
"service": "db",
|
||||
"image_id": "sha256:b4fc54c57484e6077fad42c66fc44a6f5e7f5892b1a92fa48e910938bf5ce0ad",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:33:15.285275581Z",
|
||||
"health": "starting",
|
||||
"nano_cpus": 1000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {},
|
||||
"volumes": [
|
||||
{
|
||||
"name": "mtusi-lab4_postgres_data",
|
||||
"destination": "/var/lib/postgresql/data"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-lb-1",
|
||||
"id": "c0e590462a151fe77dcb24e7916cf35144561a992dc2bba9fc245d254081c183",
|
||||
"hostname": "c0e590462a15",
|
||||
"service": "lb",
|
||||
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:33:15.278929955Z",
|
||||
"health": null,
|
||||
"nano_cpus": 250000000,
|
||||
"memory_bytes": 67108864,
|
||||
"published_ports": {
|
||||
"8080/tcp": [
|
||||
{
|
||||
"HostIp": "",
|
||||
"HostPort": "8084"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-migrate-1",
|
||||
"id": "89f12c68b068d1aa7d398325407a0fc2bd9e8e3f3e63d8bb56f218617e4f440e",
|
||||
"hostname": "89f12c68b068",
|
||||
"service": "migrate",
|
||||
"image_id": "sha256:04c4a7c063087f247f2b71bebca9af01532751b7972abca830f0ec6b810fb864",
|
||||
"status": "exited",
|
||||
"started_at": "2026-11-06T16:33:09.510610693Z",
|
||||
"health": null,
|
||||
"nano_cpus": 2000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-reconciler-1",
|
||||
"id": "10543b9482036875de4048b2df74b850a98d958890dcfd5f9684980857525315",
|
||||
"hostname": "10543b948203",
|
||||
"service": "reconciler",
|
||||
"image_id": "sha256:eb36496d11ab7325efa30097c8964754a9f326cdb2e3a5a4b0ce73d3c3ca517d",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:33:15.730144813Z",
|
||||
"health": null,
|
||||
"nano_cpus": 250000000,
|
||||
"memory_bytes": 268435456,
|
||||
"published_ports": {},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-s3-1",
|
||||
"id": "41fe288f948ed63d950da39c42d23942703cb8e713f3110f3a0bb18b60508aac",
|
||||
"hostname": "41fe288f948e",
|
||||
"service": "s3",
|
||||
"image_id": "sha256:8f08aee614800a237906bd48114d733e5ac5bfac4ccdf731f141b0e880d7a253",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:33:15.276760526Z",
|
||||
"health": null,
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 805306368,
|
||||
"published_ports": {},
|
||||
"volumes": [
|
||||
{
|
||||
"name": "mtusi-lab4_s3_data",
|
||||
"destination": "/data"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-s3-init-1",
|
||||
"id": "1bac3f8b21417eca4cec0a8cfd779e7d804d8ef66ad830d7d0c60ed5c0fed9c1",
|
||||
"hostname": "1bac3f8b2141",
|
||||
"service": "s3-init",
|
||||
"image_id": "sha256:5dee113ef037d349ac22ab6c20193ade5c4701e2a38e3777fa1c1bec1c063ad1",
|
||||
"status": "exited",
|
||||
"started_at": "2026-11-06T16:33:09.037626611Z",
|
||||
"health": null,
|
||||
"nano_cpus": 1000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-valkey-1",
|
||||
"id": "541af4b35c71939abfb80f67d4404eb23458551317324a09a5237bbe470e9625",
|
||||
"hostname": "541af4b35c71",
|
||||
"service": "valkey",
|
||||
"image_id": "sha256:7b2072cf1b86d58fee110f4da8dc3b0e1444b22ab64f58d7f61e822e0761f866",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:33:15.237666389Z",
|
||||
"health": null,
|
||||
"nano_cpus": 250000000,
|
||||
"memory_bytes": 134217728,
|
||||
"published_ports": {},
|
||||
"volumes": [
|
||||
{
|
||||
"name": "mtusi-lab4_valkey_data",
|
||||
"destination": "/data"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,150 @@
|
||||
[
|
||||
{
|
||||
"name": "/mtusi-lab4-api-1",
|
||||
"id": "f73f3d296d3ed0ac7395f526fec915a7b0a0833957d27ed1f2de5d28ea8f89a7",
|
||||
"hostname": "f73f3d296d3e",
|
||||
"service": "api",
|
||||
"image_id": "sha256:eb36496d11ab7325efa30097c8964754a9f326cdb2e3a5a4b0ce73d3c3ca517d",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:30:37.647258568Z",
|
||||
"health": "healthy",
|
||||
"nano_cpus": 2000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-api-2",
|
||||
"id": "e2b4291a5ae676735910d3c89e3ec9f81a2c72c316fc1c18595e4a8099d0df45",
|
||||
"hostname": "e2b4291a5ae6",
|
||||
"service": "api",
|
||||
"image_id": "sha256:eb36496d11ab7325efa30097c8964754a9f326cdb2e3a5a4b0ce73d3c3ca517d",
|
||||
"status": "exited",
|
||||
"started_at": "2026-11-06T16:32:49.678956524Z",
|
||||
"health": "unhealthy",
|
||||
"nano_cpus": 2000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-db-1",
|
||||
"id": "fd19a37a2f105c1fed35c9497a060fba08e0c7a149ba100fa1501928dee2e47d",
|
||||
"hostname": "fd19a37a2f10",
|
||||
"service": "db",
|
||||
"image_id": "sha256:b4fc54c57484e6077fad42c66fc44a6f5e7f5892b1a92fa48e910938bf5ce0ad",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:27:54.939507016Z",
|
||||
"health": "healthy",
|
||||
"nano_cpus": 1000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {},
|
||||
"volumes": [
|
||||
{
|
||||
"name": "mtusi-lab4_postgres_data",
|
||||
"destination": "/var/lib/postgresql/data"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-lb-1",
|
||||
"id": "c0e590462a151fe77dcb24e7916cf35144561a992dc2bba9fc245d254081c183",
|
||||
"hostname": "c0e590462a15",
|
||||
"service": "lb",
|
||||
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:11:29.096381472Z",
|
||||
"health": null,
|
||||
"nano_cpus": 250000000,
|
||||
"memory_bytes": 67108864,
|
||||
"published_ports": {
|
||||
"8080/tcp": [
|
||||
{
|
||||
"HostIp": "",
|
||||
"HostPort": "8084"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-migrate-1",
|
||||
"id": "89f12c68b068d1aa7d398325407a0fc2bd9e8e3f3e63d8bb56f218617e4f440e",
|
||||
"hostname": "89f12c68b068",
|
||||
"service": "migrate",
|
||||
"image_id": "sha256:04c4a7c063087f247f2b71bebca9af01532751b7972abca830f0ec6b810fb864",
|
||||
"status": "exited",
|
||||
"started_at": "2026-11-06T16:32:48.463254232Z",
|
||||
"health": null,
|
||||
"nano_cpus": 2000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-reconciler-1",
|
||||
"id": "10543b9482036875de4048b2df74b850a98d958890dcfd5f9684980857525315",
|
||||
"hostname": "10543b948203",
|
||||
"service": "reconciler",
|
||||
"image_id": "sha256:eb36496d11ab7325efa30097c8964754a9f326cdb2e3a5a4b0ce73d3c3ca517d",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:32:44.14731806Z",
|
||||
"health": null,
|
||||
"nano_cpus": 250000000,
|
||||
"memory_bytes": 268435456,
|
||||
"published_ports": {},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-s3-1",
|
||||
"id": "41fe288f948ed63d950da39c42d23942703cb8e713f3110f3a0bb18b60508aac",
|
||||
"hostname": "41fe288f948e",
|
||||
"service": "s3",
|
||||
"image_id": "sha256:8f08aee614800a237906bd48114d733e5ac5bfac4ccdf731f141b0e880d7a253",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:27:51.143991324Z",
|
||||
"health": null,
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 805306368,
|
||||
"published_ports": {},
|
||||
"volumes": [
|
||||
{
|
||||
"name": "mtusi-lab4_s3_data",
|
||||
"destination": "/data"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-s3-init-1",
|
||||
"id": "1bac3f8b21417eca4cec0a8cfd779e7d804d8ef66ad830d7d0c60ed5c0fed9c1",
|
||||
"hostname": "1bac3f8b2141",
|
||||
"service": "s3-init",
|
||||
"image_id": "sha256:5dee113ef037d349ac22ab6c20193ade5c4701e2a38e3777fa1c1bec1c063ad1",
|
||||
"status": "exited",
|
||||
"started_at": "2026-11-06T16:32:47.713300078Z",
|
||||
"health": null,
|
||||
"nano_cpus": 1000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-valkey-1",
|
||||
"id": "541af4b35c71939abfb80f67d4404eb23458551317324a09a5237bbe470e9625",
|
||||
"hostname": "541af4b35c71",
|
||||
"service": "valkey",
|
||||
"image_id": "sha256:7b2072cf1b86d58fee110f4da8dc3b0e1444b22ab64f58d7f61e822e0761f866",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:10:03.402515174Z",
|
||||
"health": null,
|
||||
"nano_cpus": 250000000,
|
||||
"memory_bytes": 134217728,
|
||||
"published_ports": {},
|
||||
"volumes": [
|
||||
{
|
||||
"name": "mtusi-lab4_valkey_data",
|
||||
"destination": "/data"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,163 @@
|
||||
{
|
||||
"status": "PASS",
|
||||
"uploader_instance": "e2b4291a5ae6",
|
||||
"download_instance": "f73f3d296d3e",
|
||||
"observed_instances_before": [
|
||||
"e2b4291a5ae6",
|
||||
"f73f3d296d3e"
|
||||
],
|
||||
"failed_attempts": 3,
|
||||
"first_download_write_recovery_seconds": 2.159,
|
||||
"sha256": "99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75",
|
||||
"same_bytes": true,
|
||||
"containers_after_stop": [
|
||||
{
|
||||
"name": "/mtusi-lab4-api-1",
|
||||
"id": "f73f3d296d3ed0ac7395f526fec915a7b0a0833957d27ed1f2de5d28ea8f89a7",
|
||||
"hostname": "f73f3d296d3e",
|
||||
"service": "api",
|
||||
"image_id": "sha256:eb36496d11ab7325efa30097c8964754a9f326cdb2e3a5a4b0ce73d3c3ca517d",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:30:37.647258568Z",
|
||||
"health": "healthy",
|
||||
"nano_cpus": 2000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-api-2",
|
||||
"id": "e2b4291a5ae676735910d3c89e3ec9f81a2c72c316fc1c18595e4a8099d0df45",
|
||||
"hostname": "e2b4291a5ae6",
|
||||
"service": "api",
|
||||
"image_id": "sha256:eb36496d11ab7325efa30097c8964754a9f326cdb2e3a5a4b0ce73d3c3ca517d",
|
||||
"status": "exited",
|
||||
"started_at": "2026-11-06T16:30:37.478730767Z",
|
||||
"health": "unhealthy",
|
||||
"nano_cpus": 2000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-db-1",
|
||||
"id": "fd19a37a2f105c1fed35c9497a060fba08e0c7a149ba100fa1501928dee2e47d",
|
||||
"hostname": "fd19a37a2f10",
|
||||
"service": "db",
|
||||
"image_id": "sha256:b4fc54c57484e6077fad42c66fc44a6f5e7f5892b1a92fa48e910938bf5ce0ad",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:27:54.939507016Z",
|
||||
"health": "healthy",
|
||||
"nano_cpus": 1000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {},
|
||||
"volumes": [
|
||||
{
|
||||
"name": "mtusi-lab4_postgres_data",
|
||||
"destination": "/var/lib/postgresql/data"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-lb-1",
|
||||
"id": "c0e590462a151fe77dcb24e7916cf35144561a992dc2bba9fc245d254081c183",
|
||||
"hostname": "c0e590462a15",
|
||||
"service": "lb",
|
||||
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:11:29.096381472Z",
|
||||
"health": null,
|
||||
"nano_cpus": 250000000,
|
||||
"memory_bytes": 67108864,
|
||||
"published_ports": {
|
||||
"8080/tcp": [
|
||||
{
|
||||
"HostIp": "",
|
||||
"HostPort": "8084"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-migrate-1",
|
||||
"id": "89f12c68b068d1aa7d398325407a0fc2bd9e8e3f3e63d8bb56f218617e4f440e",
|
||||
"hostname": "89f12c68b068",
|
||||
"service": "migrate",
|
||||
"image_id": "sha256:04c4a7c063087f247f2b71bebca9af01532751b7972abca830f0ec6b810fb864",
|
||||
"status": "exited",
|
||||
"started_at": "2026-11-06T16:32:43.014505315Z",
|
||||
"health": null,
|
||||
"nano_cpus": 2000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-reconciler-1",
|
||||
"id": "10543b9482036875de4048b2df74b850a98d958890dcfd5f9684980857525315",
|
||||
"hostname": "10543b948203",
|
||||
"service": "reconciler",
|
||||
"image_id": "sha256:eb36496d11ab7325efa30097c8964754a9f326cdb2e3a5a4b0ce73d3c3ca517d",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:32:44.14731806Z",
|
||||
"health": null,
|
||||
"nano_cpus": 250000000,
|
||||
"memory_bytes": 268435456,
|
||||
"published_ports": {},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-s3-1",
|
||||
"id": "41fe288f948ed63d950da39c42d23942703cb8e713f3110f3a0bb18b60508aac",
|
||||
"hostname": "41fe288f948e",
|
||||
"service": "s3",
|
||||
"image_id": "sha256:8f08aee614800a237906bd48114d733e5ac5bfac4ccdf731f141b0e880d7a253",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:27:51.143991324Z",
|
||||
"health": null,
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 805306368,
|
||||
"published_ports": {},
|
||||
"volumes": [
|
||||
{
|
||||
"name": "mtusi-lab4_s3_data",
|
||||
"destination": "/data"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-s3-init-1",
|
||||
"id": "1bac3f8b21417eca4cec0a8cfd779e7d804d8ef66ad830d7d0c60ed5c0fed9c1",
|
||||
"hostname": "1bac3f8b2141",
|
||||
"service": "s3-init",
|
||||
"image_id": "sha256:5dee113ef037d349ac22ab6c20193ade5c4701e2a38e3777fa1c1bec1c063ad1",
|
||||
"status": "exited",
|
||||
"started_at": "2026-11-06T16:32:42.519564804Z",
|
||||
"health": null,
|
||||
"nano_cpus": 1000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-valkey-1",
|
||||
"id": "541af4b35c71939abfb80f67d4404eb23458551317324a09a5237bbe470e9625",
|
||||
"hostname": "541af4b35c71",
|
||||
"service": "valkey",
|
||||
"image_id": "sha256:7b2072cf1b86d58fee110f4da8dc3b0e1444b22ab64f58d7f61e822e0761f866",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:10:03.402515174Z",
|
||||
"health": null,
|
||||
"nano_cpus": 250000000,
|
||||
"memory_bytes": 134217728,
|
||||
"published_ports": {},
|
||||
"volumes": [
|
||||
{
|
||||
"name": "mtusi-lab4_valkey_data",
|
||||
"destination": "/data"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"status": "PASS",
|
||||
"uploader_instance": "e2b4291a5ae6",
|
||||
"download_instance": "f73f3d296d3e",
|
||||
"observed_instances_before": [
|
||||
"e2b4291a5ae6",
|
||||
"f73f3d296d3e"
|
||||
],
|
||||
"failed_attempts": 3,
|
||||
"first_download_write_recovery_seconds": 2.159,
|
||||
"sha256": "99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75",
|
||||
"same_bytes": true
|
||||
}
|
||||
@@ -0,0 +1,150 @@
|
||||
[
|
||||
{
|
||||
"name": "/mtusi-lab4-api-1",
|
||||
"id": "f73f3d296d3ed0ac7395f526fec915a7b0a0833957d27ed1f2de5d28ea8f89a7",
|
||||
"hostname": "f73f3d296d3e",
|
||||
"service": "api",
|
||||
"image_id": "sha256:eb36496d11ab7325efa30097c8964754a9f326cdb2e3a5a4b0ce73d3c3ca517d",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:30:37.647258568Z",
|
||||
"health": "healthy",
|
||||
"nano_cpus": 2000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-api-2",
|
||||
"id": "e2b4291a5ae676735910d3c89e3ec9f81a2c72c316fc1c18595e4a8099d0df45",
|
||||
"hostname": "e2b4291a5ae6",
|
||||
"service": "api",
|
||||
"image_id": "sha256:eb36496d11ab7325efa30097c8964754a9f326cdb2e3a5a4b0ce73d3c3ca517d",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:33:10.693734728Z",
|
||||
"health": "healthy",
|
||||
"nano_cpus": 2000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-db-1",
|
||||
"id": "fd19a37a2f105c1fed35c9497a060fba08e0c7a149ba100fa1501928dee2e47d",
|
||||
"hostname": "fd19a37a2f10",
|
||||
"service": "db",
|
||||
"image_id": "sha256:b4fc54c57484e6077fad42c66fc44a6f5e7f5892b1a92fa48e910938bf5ce0ad",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:27:54.939507016Z",
|
||||
"health": "healthy",
|
||||
"nano_cpus": 1000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {},
|
||||
"volumes": [
|
||||
{
|
||||
"name": "mtusi-lab4_postgres_data",
|
||||
"destination": "/var/lib/postgresql/data"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-lb-1",
|
||||
"id": "c0e590462a151fe77dcb24e7916cf35144561a992dc2bba9fc245d254081c183",
|
||||
"hostname": "c0e590462a15",
|
||||
"service": "lb",
|
||||
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:11:29.096381472Z",
|
||||
"health": null,
|
||||
"nano_cpus": 250000000,
|
||||
"memory_bytes": 67108864,
|
||||
"published_ports": {
|
||||
"8080/tcp": [
|
||||
{
|
||||
"HostIp": "",
|
||||
"HostPort": "8084"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-migrate-1",
|
||||
"id": "89f12c68b068d1aa7d398325407a0fc2bd9e8e3f3e63d8bb56f218617e4f440e",
|
||||
"hostname": "89f12c68b068",
|
||||
"service": "migrate",
|
||||
"image_id": "sha256:04c4a7c063087f247f2b71bebca9af01532751b7972abca830f0ec6b810fb864",
|
||||
"status": "exited",
|
||||
"started_at": "2026-11-06T16:33:09.510610693Z",
|
||||
"health": null,
|
||||
"nano_cpus": 2000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-reconciler-1",
|
||||
"id": "10543b9482036875de4048b2df74b850a98d958890dcfd5f9684980857525315",
|
||||
"hostname": "10543b948203",
|
||||
"service": "reconciler",
|
||||
"image_id": "sha256:eb36496d11ab7325efa30097c8964754a9f326cdb2e3a5a4b0ce73d3c3ca517d",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:32:44.14731806Z",
|
||||
"health": null,
|
||||
"nano_cpus": 250000000,
|
||||
"memory_bytes": 268435456,
|
||||
"published_ports": {},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-s3-1",
|
||||
"id": "41fe288f948ed63d950da39c42d23942703cb8e713f3110f3a0bb18b60508aac",
|
||||
"hostname": "41fe288f948e",
|
||||
"service": "s3",
|
||||
"image_id": "sha256:8f08aee614800a237906bd48114d733e5ac5bfac4ccdf731f141b0e880d7a253",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:27:51.143991324Z",
|
||||
"health": null,
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 805306368,
|
||||
"published_ports": {},
|
||||
"volumes": [
|
||||
{
|
||||
"name": "mtusi-lab4_s3_data",
|
||||
"destination": "/data"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-s3-init-1",
|
||||
"id": "1bac3f8b21417eca4cec0a8cfd779e7d804d8ef66ad830d7d0c60ed5c0fed9c1",
|
||||
"hostname": "1bac3f8b2141",
|
||||
"service": "s3-init",
|
||||
"image_id": "sha256:5dee113ef037d349ac22ab6c20193ade5c4701e2a38e3777fa1c1bec1c063ad1",
|
||||
"status": "exited",
|
||||
"started_at": "2026-11-06T16:33:09.037626611Z",
|
||||
"health": null,
|
||||
"nano_cpus": 1000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-valkey-1",
|
||||
"id": "541af4b35c71939abfb80f67d4404eb23458551317324a09a5237bbe470e9625",
|
||||
"hostname": "541af4b35c71",
|
||||
"service": "valkey",
|
||||
"image_id": "sha256:7b2072cf1b86d58fee110f4da8dc3b0e1444b22ab64f58d7f61e822e0761f866",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:10:03.402515174Z",
|
||||
"health": null,
|
||||
"nano_cpus": 250000000,
|
||||
"memory_bytes": 134217728,
|
||||
"published_ports": {},
|
||||
"volumes": [
|
||||
{
|
||||
"name": "mtusi-lab4_valkey_data",
|
||||
"destination": "/data"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,61 @@
|
||||
Compose can now delegate builds to bake for better performance.
|
||||
To do so, set COMPOSE_BAKE=true.
|
||||
#0 building with "colima" instance using docker driver
|
||||
|
||||
#1 [api internal] load build definition from Dockerfile
|
||||
#1 transferring dockerfile: 744B done
|
||||
#1 DONE 0.0s
|
||||
|
||||
#2 [api auth] library/python:pull token for registry-1.docker.io
|
||||
#2 DONE 0.0s
|
||||
|
||||
#3 [api internal] load metadata for docker.io/library/python:3.11.11-slim
|
||||
#3 DONE 0.9s
|
||||
|
||||
#4 [api internal] load .dockerignore
|
||||
#4 transferring context: 233B done
|
||||
#4 DONE 0.0s
|
||||
|
||||
#5 [api 1/10] FROM docker.io/library/python:3.11.11-slim@sha256:081075da77b2b55c23c088251026fb69a7b2bf92471e491ff5fd75c192fd38e5
|
||||
#5 DONE 0.0s
|
||||
|
||||
#6 [api internal] load build context
|
||||
#6 transferring context: 55.27kB 0.0s done
|
||||
#6 DONE 0.0s
|
||||
|
||||
#7 [api 2/10] WORKDIR /app
|
||||
#7 CACHED
|
||||
|
||||
#8 [api 3/10] COPY requirements.txt /app/requirements.txt
|
||||
#8 CACHED
|
||||
|
||||
#9 [api 4/10] RUN pip install --no-cache-dir -r /app/requirements.txt
|
||||
#9 CACHED
|
||||
|
||||
#10 [api 5/10] COPY app.py attachments.py reconcile.py migrate.py /app/
|
||||
#10 DONE 0.0s
|
||||
|
||||
#11 [api 6/10] COPY migrations /app/migrations
|
||||
#11 DONE 0.0s
|
||||
|
||||
#12 [api 7/10] COPY scripts /app/scripts
|
||||
#12 DONE 0.0s
|
||||
|
||||
#13 [api 8/10] COPY tests /app/tests
|
||||
#13 DONE 0.0s
|
||||
|
||||
#14 [api 9/10] COPY contracts /app/contracts
|
||||
#14 DONE 0.0s
|
||||
|
||||
#15 [api 10/10] COPY lab.json /app/lab.json
|
||||
#15 DONE 0.0s
|
||||
|
||||
#16 [api] exporting to image
|
||||
#16 exporting layers 0.0s done
|
||||
#16 writing image sha256:eb36496d11ab7325efa30097c8964754a9f326cdb2e3a5a4b0ce73d3c3ca517d done
|
||||
#16 naming to docker.io/library/mtusi-lab4-api:local done
|
||||
#16 DONE 0.0s
|
||||
|
||||
#17 [api] resolving provenance for metadata file
|
||||
#17 DONE 0.0s
|
||||
api Built
|
||||
@@ -0,0 +1,12 @@
|
||||
./scripts/compose.sh exec -T -e BASE_URL=http://lb:8080 -e CACHE_URL=redis://valkey:6379/0 api python - < tests/cache_consistency.py
|
||||
cache_key_exists=True
|
||||
ttl_seconds=3599
|
||||
avg_latency_ms=1.53
|
||||
p95_latency_ms=1.68
|
||||
stale_cache_rejected=True
|
||||
forged_identity_rejected=True
|
||||
concurrent_identity_checks=8/8
|
||||
malformed_cache_recovers=True
|
||||
repopulated_revoked_cache_rejected=True
|
||||
short_ttl_recovers_from_db=True
|
||||
logout_revokes_cache=True
|
||||
@@ -0,0 +1,2 @@
|
||||
python3 scripts/check_contract.py
|
||||
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
||||
@@ -0,0 +1,8 @@
|
||||
Container mtusi-lab4-s3-1 Stopping
|
||||
Container mtusi-lab4-s3-1 Stopped
|
||||
Container mtusi-lab4-s3-1 Starting
|
||||
Container mtusi-lab4-s3-1 Started
|
||||
Container mtusi-lab4-db-1 Stopping
|
||||
Container mtusi-lab4-db-1 Stopped
|
||||
Container mtusi-lab4-db-1 Starting
|
||||
Container mtusi-lab4-db-1 Started
|
||||
@@ -0,0 +1,19 @@
|
||||
[
|
||||
{
|
||||
"dependency": "s3",
|
||||
"readiness": 503,
|
||||
"metadata_available": true,
|
||||
"download": 503,
|
||||
"upload": 503,
|
||||
"status": "PASS",
|
||||
"confirmed_original_preserved": true
|
||||
},
|
||||
{
|
||||
"dependency": "db",
|
||||
"readiness": 503,
|
||||
"upload": 503,
|
||||
"no_new_s3_objects": true,
|
||||
"status": "PASS",
|
||||
"confirmed_original_preserved": true
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,19 @@
|
||||
[
|
||||
{
|
||||
"dependency": "s3",
|
||||
"readiness": 503,
|
||||
"metadata_available": true,
|
||||
"download": 503,
|
||||
"upload": 503,
|
||||
"status": "PASS",
|
||||
"confirmed_original_preserved": true
|
||||
},
|
||||
{
|
||||
"dependency": "db",
|
||||
"readiness": 503,
|
||||
"upload": 503,
|
||||
"no_new_s3_objects": true,
|
||||
"status": "PASS",
|
||||
"confirmed_original_preserved": true
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,4 @@
|
||||
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "http://localhost:8084"
|
||||
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
|
||||
{"observed_instances_before": 2, "successful_writes": 111, "failed_attempts": 3, "first_recovery_seconds": 1.846}
|
||||
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
@@ -0,0 +1,150 @@
|
||||
[
|
||||
{
|
||||
"name": "/mtusi-lab4-api-1",
|
||||
"id": "f73f3d296d3ed0ac7395f526fec915a7b0a0833957d27ed1f2de5d28ea8f89a7",
|
||||
"hostname": "f73f3d296d3e",
|
||||
"service": "api",
|
||||
"image_id": "sha256:eb36496d11ab7325efa30097c8964754a9f326cdb2e3a5a4b0ce73d3c3ca517d",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:33:15.559505564Z",
|
||||
"health": "healthy",
|
||||
"nano_cpus": 2000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-api-2",
|
||||
"id": "e2b4291a5ae676735910d3c89e3ec9f81a2c72c316fc1c18595e4a8099d0df45",
|
||||
"hostname": "e2b4291a5ae6",
|
||||
"service": "api",
|
||||
"image_id": "sha256:eb36496d11ab7325efa30097c8964754a9f326cdb2e3a5a4b0ce73d3c3ca517d",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:33:15.560857437Z",
|
||||
"health": "healthy",
|
||||
"nano_cpus": 2000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-db-1",
|
||||
"id": "fd19a37a2f105c1fed35c9497a060fba08e0c7a149ba100fa1501928dee2e47d",
|
||||
"hostname": "fd19a37a2f10",
|
||||
"service": "db",
|
||||
"image_id": "sha256:b4fc54c57484e6077fad42c66fc44a6f5e7f5892b1a92fa48e910938bf5ce0ad",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:33:15.285275581Z",
|
||||
"health": "healthy",
|
||||
"nano_cpus": 1000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {},
|
||||
"volumes": [
|
||||
{
|
||||
"name": "mtusi-lab4_postgres_data",
|
||||
"destination": "/var/lib/postgresql/data"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-lb-1",
|
||||
"id": "c0e590462a151fe77dcb24e7916cf35144561a992dc2bba9fc245d254081c183",
|
||||
"hostname": "c0e590462a15",
|
||||
"service": "lb",
|
||||
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:33:15.278929955Z",
|
||||
"health": null,
|
||||
"nano_cpus": 250000000,
|
||||
"memory_bytes": 67108864,
|
||||
"published_ports": {
|
||||
"8080/tcp": [
|
||||
{
|
||||
"HostIp": "",
|
||||
"HostPort": "8084"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-migrate-1",
|
||||
"id": "89f12c68b068d1aa7d398325407a0fc2bd9e8e3f3e63d8bb56f218617e4f440e",
|
||||
"hostname": "89f12c68b068",
|
||||
"service": "migrate",
|
||||
"image_id": "sha256:04c4a7c063087f247f2b71bebca9af01532751b7972abca830f0ec6b810fb864",
|
||||
"status": "exited",
|
||||
"started_at": "2026-11-06T16:40:26.717903684Z",
|
||||
"health": null,
|
||||
"nano_cpus": 2000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-reconciler-1",
|
||||
"id": "10543b9482036875de4048b2df74b850a98d958890dcfd5f9684980857525315",
|
||||
"hostname": "10543b948203",
|
||||
"service": "reconciler",
|
||||
"image_id": "sha256:eb36496d11ab7325efa30097c8964754a9f326cdb2e3a5a4b0ce73d3c3ca517d",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:40:27.887585144Z",
|
||||
"health": null,
|
||||
"nano_cpus": 250000000,
|
||||
"memory_bytes": 268435456,
|
||||
"published_ports": {},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-s3-1",
|
||||
"id": "41fe288f948ed63d950da39c42d23942703cb8e713f3110f3a0bb18b60508aac",
|
||||
"hostname": "41fe288f948e",
|
||||
"service": "s3",
|
||||
"image_id": "sha256:8f08aee614800a237906bd48114d733e5ac5bfac4ccdf731f141b0e880d7a253",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:33:15.276760526Z",
|
||||
"health": null,
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 805306368,
|
||||
"published_ports": {},
|
||||
"volumes": [
|
||||
{
|
||||
"name": "mtusi-lab4_s3_data",
|
||||
"destination": "/data"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-s3-init-1",
|
||||
"id": "1bac3f8b21417eca4cec0a8cfd779e7d804d8ef66ad830d7d0c60ed5c0fed9c1",
|
||||
"hostname": "1bac3f8b2141",
|
||||
"service": "s3-init",
|
||||
"image_id": "sha256:5dee113ef037d349ac22ab6c20193ade5c4701e2a38e3777fa1c1bec1c063ad1",
|
||||
"status": "exited",
|
||||
"started_at": "2026-11-06T16:40:26.207356505Z",
|
||||
"health": null,
|
||||
"nano_cpus": 1000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {},
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"name": "/mtusi-lab4-valkey-1",
|
||||
"id": "541af4b35c71939abfb80f67d4404eb23458551317324a09a5237bbe470e9625",
|
||||
"hostname": "541af4b35c71",
|
||||
"service": "valkey",
|
||||
"image_id": "sha256:7b2072cf1b86d58fee110f4da8dc3b0e1444b22ab64f58d7f61e822e0761f866",
|
||||
"status": "running",
|
||||
"started_at": "2026-11-06T16:33:15.237666389Z",
|
||||
"health": null,
|
||||
"nano_cpus": 250000000,
|
||||
"memory_bytes": 134217728,
|
||||
"published_ports": {},
|
||||
"volumes": [
|
||||
{
|
||||
"name": "mtusi-lab4_valkey_data",
|
||||
"destination": "/data"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,2 @@
|
||||
python3 tests/idempotency_concurrent.py --base-url "http://localhost:8084"
|
||||
{"parallel_requests": 16, "observed_instances": ["e2b4291a5ae6", "f73f3d296d3e"], "unique_messages": 1, "conflict": 409, "semantic_replay": true, "user_scope": true}
|
||||
@@ -0,0 +1,7 @@
|
||||
version | applied_at
|
||||
--------------------+-------------------------------
|
||||
001_initial_schema | 2026-11-06 16:10:07.12842+00
|
||||
002_idempotency | 2026-11-06 16:10:07.154748+00
|
||||
003_attachments | 2026-11-06 16:10:07.177593+00
|
||||
(3 rows)
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://localhost:8084"
|
||||
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,16 @@
|
||||
{
|
||||
"status": "PASS",
|
||||
"anonymous_bucket_and_object_status": [
|
||||
403,
|
||||
403
|
||||
],
|
||||
"application_admin_operations_denied": [
|
||||
"create_bucket",
|
||||
"get_bucket_policy",
|
||||
"write_outside_prefix"
|
||||
],
|
||||
"visible_bucket_names": [
|
||||
"messenger-attachments"
|
||||
],
|
||||
"console_reachable": false
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,14 @@
|
||||
Container mtusi-lab4-reconciler-1 Stopping
|
||||
Container mtusi-lab4-reconciler-1 Stopped
|
||||
Container mtusi-lab4-s3-init-1 Starting
|
||||
Container mtusi-lab4-db-1 Waiting
|
||||
Container mtusi-lab4-s3-init-1 Started
|
||||
Container mtusi-lab4-db-1 Healthy
|
||||
Container mtusi-lab4-migrate-1 Starting
|
||||
Container mtusi-lab4-migrate-1 Started
|
||||
Container mtusi-lab4-migrate-1 Waiting
|
||||
Container mtusi-lab4-s3-init-1 Waiting
|
||||
Container mtusi-lab4-s3-init-1 Exited
|
||||
Container mtusi-lab4-migrate-1 Exited
|
||||
Container mtusi-lab4-reconciler-1 Starting
|
||||
Container mtusi-lab4-reconciler-1 Started
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,106 @@
|
||||
{
|
||||
"scan_cost": [
|
||||
{
|
||||
"extra_orphans": 0,
|
||||
"objects_scanned": 65,
|
||||
"metadata_scanned": 65,
|
||||
"repeats": 3,
|
||||
"mean_ms": 160.59,
|
||||
"min_ms": 151.176,
|
||||
"max_ms": 172.625,
|
||||
"stdev_ms": 10.962,
|
||||
"list_calls": 1,
|
||||
"head_calls": 130
|
||||
},
|
||||
{
|
||||
"extra_orphans": 50,
|
||||
"objects_scanned": 115,
|
||||
"metadata_scanned": 65,
|
||||
"repeats": 3,
|
||||
"mean_ms": 259.99,
|
||||
"min_ms": 219.672,
|
||||
"max_ms": 331.819,
|
||||
"stdev_ms": 62.361,
|
||||
"list_calls": 1,
|
||||
"head_calls": 180
|
||||
},
|
||||
{
|
||||
"extra_orphans": 200,
|
||||
"objects_scanned": 265,
|
||||
"metadata_scanned": 65,
|
||||
"repeats": 3,
|
||||
"mean_ms": 579.413,
|
||||
"min_ms": 460.906,
|
||||
"max_ms": 687.121,
|
||||
"stdev_ms": 113.494,
|
||||
"list_calls": 2,
|
||||
"head_calls": 330
|
||||
}
|
||||
],
|
||||
"upload_phases": [
|
||||
{
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"size_bytes": 787271,
|
||||
"concurrency": 10,
|
||||
"rounds": 2,
|
||||
"successful_uploads": 20,
|
||||
"errors": 0,
|
||||
"started_unix": 1793982275.5182576,
|
||||
"finished_unix": 1793982276.575706,
|
||||
"elapsed_seconds": 1.057448,
|
||||
"successful_rps": 18.913,
|
||||
"latency_ms": {
|
||||
"p50": 102.767,
|
||||
"p95": 176.198,
|
||||
"p99": 183.16
|
||||
},
|
||||
"observed_instances": [
|
||||
"2b11729802cd",
|
||||
"3586879492e3"
|
||||
],
|
||||
"api_memory": [
|
||||
{
|
||||
"container_id": "2b11729802cd7e23d8d5e26cfa9cb67478160c297bbce439c6e547b9fa3a8295",
|
||||
"sampled_peak_mib": 91.094
|
||||
},
|
||||
{
|
||||
"container_id": "3586879492e3830cc482e782e50c24b3a31757d2f7d9274786b4e6731650764a",
|
||||
"sampled_peak_mib": 91.312
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"width": 1536,
|
||||
"height": 1536,
|
||||
"size_bytes": 7081758,
|
||||
"concurrency": 10,
|
||||
"rounds": 2,
|
||||
"successful_uploads": 20,
|
||||
"errors": 0,
|
||||
"started_unix": 1793982276.6054053,
|
||||
"finished_unix": 1793982278.9907844,
|
||||
"elapsed_seconds": 2.385379,
|
||||
"successful_rps": 8.384,
|
||||
"latency_ms": {
|
||||
"p50": 617.87,
|
||||
"p95": 832.535,
|
||||
"p99": 896.355
|
||||
},
|
||||
"observed_instances": [
|
||||
"2b11729802cd",
|
||||
"3586879492e3"
|
||||
],
|
||||
"api_memory": [
|
||||
{
|
||||
"container_id": "2b11729802cd7e23d8d5e26cfa9cb67478160c297bbce439c6e547b9fa3a8295",
|
||||
"sampled_peak_mib": 124.629
|
||||
},
|
||||
{
|
||||
"container_id": "3586879492e3830cc482e782e50c24b3a31757d2f7d9274786b4e6731650764a",
|
||||
"sampled_peak_mib": 146.086
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
s3-init-1 | PASS: private bucket and restricted application principal configured
|
||||
s3-init-1 | PASS: private bucket and restricted application principal configured
|
||||
s3-init-1 | PASS: private bucket and restricted application principal configured
|
||||
s3-init-1 | PASS: private bucket and restricted application principal configured
|
||||
s3-init-1 | PASS: private bucket and restricted application principal configured
|
||||
s3-init-1 | PASS: private bucket and restricted application principal configured
|
||||
@@ -0,0 +1,38 @@
|
||||
[
|
||||
{
|
||||
"extra_orphans": 0,
|
||||
"objects_scanned": 65,
|
||||
"metadata_scanned": 65,
|
||||
"repeats": 3,
|
||||
"mean_ms": 160.59,
|
||||
"min_ms": 151.176,
|
||||
"max_ms": 172.625,
|
||||
"stdev_ms": 10.962,
|
||||
"list_calls": 1,
|
||||
"head_calls": 130
|
||||
},
|
||||
{
|
||||
"extra_orphans": 50,
|
||||
"objects_scanned": 115,
|
||||
"metadata_scanned": 65,
|
||||
"repeats": 3,
|
||||
"mean_ms": 259.99,
|
||||
"min_ms": 219.672,
|
||||
"max_ms": 331.819,
|
||||
"stdev_ms": 62.361,
|
||||
"list_calls": 1,
|
||||
"head_calls": 180
|
||||
},
|
||||
{
|
||||
"extra_orphans": 200,
|
||||
"objects_scanned": 265,
|
||||
"metadata_scanned": 65,
|
||||
"repeats": 3,
|
||||
"mean_ms": 579.413,
|
||||
"min_ms": 460.906,
|
||||
"max_ms": 687.121,
|
||||
"stdev_ms": 113.494,
|
||||
"list_calls": 2,
|
||||
"head_calls": 330
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,4 @@
|
||||
extra_orphans,objects_scanned,metadata_scanned,repeats,mean_ms,min_ms,max_ms,stdev_ms,list_calls,head_calls
|
||||
0,65,65,3,160.59,151.176,172.625,10.962,1,130
|
||||
50,115,65,3,259.99,219.672,331.819,62.361,1,180
|
||||
200,265,65,3,579.413,460.906,687.121,113.494,2,330
|
||||
|
Binary file not shown.
|
After Width: | Height: | Size: 59 KiB |
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 39 KiB |
@@ -0,0 +1,2 @@
|
||||
python3 tests/smoke.py --base-url "http://localhost:8084"
|
||||
PASS: lab4 public API scenario; infrastructure and grading evidence remain separate.
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
After Width: | Height: | Size: 64 KiB |
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 48 KiB |
@@ -0,0 +1,273 @@
|
||||
{
|
||||
"status": "PASS",
|
||||
"phases": [
|
||||
{
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"size_bytes": 787271,
|
||||
"concurrency": 10,
|
||||
"rounds": 2,
|
||||
"successful_uploads": 20,
|
||||
"errors": 0,
|
||||
"started_unix": 1793982275.5182576,
|
||||
"finished_unix": 1793982276.575706,
|
||||
"elapsed_seconds": 1.057448,
|
||||
"successful_rps": 18.913,
|
||||
"latency_ms": {
|
||||
"p50": 102.767,
|
||||
"p95": 176.198,
|
||||
"p99": 183.16
|
||||
},
|
||||
"observed_instances": [
|
||||
"2b11729802cd",
|
||||
"3586879492e3"
|
||||
],
|
||||
"individual_requests": [
|
||||
{
|
||||
"elapsed_ms": 165.792,
|
||||
"instance": "3586879492e3",
|
||||
"id": "c2fdfeae-4fc7-4f18-aeea-15128a1ce778"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 115.745,
|
||||
"instance": "3586879492e3",
|
||||
"id": "dc2ffcd1-c0da-4d7d-bc54-fdf79d0e0c4b"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 152.416,
|
||||
"instance": "2b11729802cd",
|
||||
"id": "66a9427e-5c56-4616-b382-eecbf164f2a6"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 120.246,
|
||||
"instance": "3586879492e3",
|
||||
"id": "5fc86549-532d-4893-8adc-526480c8ca4a"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 183.16,
|
||||
"instance": "3586879492e3",
|
||||
"id": "f3103a13-e41d-4b7f-8101-be01e7d0b551"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 165.525,
|
||||
"instance": "3586879492e3",
|
||||
"id": "184a079f-1cf1-4486-a217-7d47f5159fc6"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 176.198,
|
||||
"instance": "2b11729802cd",
|
||||
"id": "123bb8c5-a739-460e-8048-0b74e021b1c4"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 98.997,
|
||||
"instance": "2b11729802cd",
|
||||
"id": "184c5689-8653-4598-9f22-66e833f44874"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 116.418,
|
||||
"instance": "2b11729802cd",
|
||||
"id": "84805db4-100b-4e73-b055-d5aeb1b08a20"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 152.617,
|
||||
"instance": "2b11729802cd",
|
||||
"id": "d7f12011-df5e-47ad-aff5-4048a834f21c"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 54.057,
|
||||
"instance": "2b11729802cd",
|
||||
"id": "175665e6-6045-420e-bcd4-b5666d5fcf7c"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 87.786,
|
||||
"instance": "3586879492e3",
|
||||
"id": "d1ef2b99-f69f-4622-a0ac-d4f45eb0da37"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 54.613,
|
||||
"instance": "2b11729802cd",
|
||||
"id": "4527cc17-d539-4e95-9ba7-cd0aec7b19ca"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 87.082,
|
||||
"instance": "3586879492e3",
|
||||
"id": "d3d16d58-61f0-4b3f-a205-6d696fa0cff6"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 102.767,
|
||||
"instance": "3586879492e3",
|
||||
"id": "690f4dbc-203a-4269-a0d6-f6089e1f80a7"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 53.332,
|
||||
"instance": "3586879492e3",
|
||||
"id": "c530cf03-e4f9-4476-b029-3210f1b79a07"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 85.73,
|
||||
"instance": "2b11729802cd",
|
||||
"id": "a401af64-d3eb-4c57-86b3-b0760aa8c140"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 54.686,
|
||||
"instance": "3586879492e3",
|
||||
"id": "294ed5d9-cbfd-4903-abfb-e576e497ef58"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 86.839,
|
||||
"instance": "2b11729802cd",
|
||||
"id": "9379c6d1-4be6-4984-80ed-3601463a6a7c"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 103.509,
|
||||
"instance": "2b11729802cd",
|
||||
"id": "bd49733e-f9cc-49b8-a2c5-7dfde60239d7"
|
||||
}
|
||||
],
|
||||
"api_memory": [
|
||||
{
|
||||
"container_id": "2b11729802cd7e23d8d5e26cfa9cb67478160c297bbce439c6e547b9fa3a8295",
|
||||
"sampled_peak_mib": 91.094
|
||||
},
|
||||
{
|
||||
"container_id": "3586879492e3830cc482e782e50c24b3a31757d2f7d9274786b4e6731650764a",
|
||||
"sampled_peak_mib": 91.312
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"width": 1536,
|
||||
"height": 1536,
|
||||
"size_bytes": 7081758,
|
||||
"concurrency": 10,
|
||||
"rounds": 2,
|
||||
"successful_uploads": 20,
|
||||
"errors": 0,
|
||||
"started_unix": 1793982276.6054053,
|
||||
"finished_unix": 1793982278.9907844,
|
||||
"elapsed_seconds": 2.385379,
|
||||
"successful_rps": 8.384,
|
||||
"latency_ms": {
|
||||
"p50": 617.87,
|
||||
"p95": 832.535,
|
||||
"p99": 896.355
|
||||
},
|
||||
"observed_instances": [
|
||||
"2b11729802cd",
|
||||
"3586879492e3"
|
||||
],
|
||||
"individual_requests": [
|
||||
{
|
||||
"elapsed_ms": 716.744,
|
||||
"instance": "2b11729802cd",
|
||||
"id": "de25dd86-bbff-4c73-b43b-b1a32ae54b58"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 519.935,
|
||||
"instance": "2b11729802cd",
|
||||
"id": "5e31a195-4588-4217-a6b7-f60e8fc354d3"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 113.752,
|
||||
"instance": "3586879492e3",
|
||||
"id": "3c2d016c-49b7-4389-828c-3b13142ae128"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 701.82,
|
||||
"instance": "2b11729802cd",
|
||||
"id": "b279556b-3662-4649-a63d-c3299cae9790"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 162.629,
|
||||
"instance": "3586879492e3",
|
||||
"id": "6f35eee0-b44c-4d8e-b9d7-941e969351c0"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 617.87,
|
||||
"instance": "3586879492e3",
|
||||
"id": "017476ec-3d6c-4a7f-9b2f-02d07308a308"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 609.742,
|
||||
"instance": "3586879492e3",
|
||||
"id": "beaf2bf4-e19a-403e-a034-d2a839b0723e"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 609.077,
|
||||
"instance": "2b11729802cd",
|
||||
"id": "265535f4-faf6-4b2e-b5ea-2c8707dc7c44"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 439.875,
|
||||
"instance": "3586879492e3",
|
||||
"id": "fa001db4-f120-463d-8f42-7043a28331a1"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 313.432,
|
||||
"instance": "2b11729802cd",
|
||||
"id": "bcb008ae-7734-4d5c-8056-f1196f785fed"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 832.535,
|
||||
"instance": "2b11729802cd",
|
||||
"id": "b06dbcf2-7db6-4466-a7b4-0e63c36a1fdc"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 896.355,
|
||||
"instance": "2b11729802cd",
|
||||
"id": "85880399-b7c2-47a9-b3f5-5d6d184f5050"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 827.618,
|
||||
"instance": "2b11729802cd",
|
||||
"id": "5bdce531-4c9f-45a6-a165-8efb291a2abb"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 519.467,
|
||||
"instance": "3586879492e3",
|
||||
"id": "7e8eaf86-9280-4422-b7fe-ff8ab6113f92"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 648.035,
|
||||
"instance": "3586879492e3",
|
||||
"id": "a2fc1c26-501f-40c6-8aac-65879c7afd90"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 627.053,
|
||||
"instance": "2b11729802cd",
|
||||
"id": "4e4f37a1-9dd5-4406-b0d3-50d92b3e38ae"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 421.265,
|
||||
"instance": "3586879492e3",
|
||||
"id": "be19fd8f-a481-4355-9392-4910191643ae"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 622.325,
|
||||
"instance": "2b11729802cd",
|
||||
"id": "bbc868dd-3437-455a-ae4b-3d893012f4c9"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 827.438,
|
||||
"instance": "3586879492e3",
|
||||
"id": "65a55f03-8eae-483f-badd-da0c71fbe96d"
|
||||
},
|
||||
{
|
||||
"elapsed_ms": 642.219,
|
||||
"instance": "3586879492e3",
|
||||
"id": "27e56e81-322a-47c7-892d-52484b4caa3d"
|
||||
}
|
||||
],
|
||||
"api_memory": [
|
||||
{
|
||||
"container_id": "2b11729802cd7e23d8d5e26cfa9cb67478160c297bbce439c6e547b9fa3a8295",
|
||||
"sampled_peak_mib": 124.629
|
||||
},
|
||||
{
|
||||
"container_id": "3586879492e3830cc482e782e50c24b3a31757d2f7d9274786b4e6731650764a",
|
||||
"sampled_peak_mib": 146.086
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
{
|
||||
"status": "PASS",
|
||||
"cases": [
|
||||
{
|
||||
"case": "corrupt_png",
|
||||
"status": 415
|
||||
},
|
||||
{
|
||||
"case": "truncated_png",
|
||||
"status": 415
|
||||
},
|
||||
{
|
||||
"case": "mime_spoof",
|
||||
"status": 415
|
||||
},
|
||||
{
|
||||
"case": "unsupported_mime",
|
||||
"status": 415
|
||||
},
|
||||
{
|
||||
"case": "empty_payload",
|
||||
"status": 415
|
||||
},
|
||||
{
|
||||
"case": "unsafe_filename",
|
||||
"status": 400
|
||||
},
|
||||
{
|
||||
"case": "unsafe_filename",
|
||||
"status": 400
|
||||
},
|
||||
{
|
||||
"case": "unsafe_filename",
|
||||
"status": 400
|
||||
},
|
||||
{
|
||||
"case": "unsafe_filename",
|
||||
"status": 400
|
||||
},
|
||||
{
|
||||
"case": "unsafe_filename",
|
||||
"status": 400
|
||||
},
|
||||
{
|
||||
"case": "unsafe_filename",
|
||||
"status": 400
|
||||
},
|
||||
{
|
||||
"case": "foreign_chat_upload",
|
||||
"status": 404
|
||||
},
|
||||
{
|
||||
"case": "unauthenticated_upload",
|
||||
"status": 401
|
||||
},
|
||||
{
|
||||
"case": "over_40_million_pixels",
|
||||
"status": 413
|
||||
},
|
||||
{
|
||||
"case": "oversized_content_length_before_body",
|
||||
"status": 413
|
||||
},
|
||||
{
|
||||
"case": "chunked_oversize",
|
||||
"status": 413
|
||||
},
|
||||
{
|
||||
"case": "foreign_attachment_metadata_and_bytes",
|
||||
"status": 404
|
||||
},
|
||||
{
|
||||
"case": "cross_chat_and_unknown_attachment",
|
||||
"status": 404
|
||||
},
|
||||
{
|
||||
"case": "attachment_idempotency_and_conflict",
|
||||
"status": "201/409"
|
||||
},
|
||||
{
|
||||
"case": "truncated_jpeg",
|
||||
"status": 415
|
||||
},
|
||||
{
|
||||
"case": "interrupted_http_body",
|
||||
"metadata_or_object_added": false
|
||||
}
|
||||
],
|
||||
"count": 21
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
.venv/bin/python scripts/validate_openapi.py
|
||||
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"Python": "3.11.11",
|
||||
"fastapi": "0.115.0",
|
||||
"uvicorn": "0.30.6",
|
||||
"psycopg": "3.3.6",
|
||||
"boto3": "1.42.0",
|
||||
"botocore": "1.41.6",
|
||||
"Pillow": "13.0.0",
|
||||
"redis": "5.1.0"
|
||||
}
|
||||
minio version RELEASE.2025-09-07T16-13-09Z (commit-id=07c3a429bfed433e49018cb0f78a52145d4bedeb)
|
||||
Runtime: go1.24.6 linux/arm64
|
||||
License: GNU AGPLv3 - https://www.gnu.org/licenses/agpl-3.0.html
|
||||
Copyright: 2015-2025 MinIO, Inc.
|
||||
Reference in New Issue
Block a user