Завершить уровень 4: проверить ошибки, ограничить память и автоматизировать сверку S3

This commit is contained in:
2026-10-30 17:47:29 +03:00
parent 4f85fb96a6
commit 9dded977a5
25 changed files with 1213 additions and 90 deletions
+1
View File
@@ -0,0 +1 @@
{"result": "PASS", "concurrent_retries": 16, "failure_after_s3_put": true, "interrupted_upload_no_object": true, "private_bucket": true, "restricted_credentials": true}
+1
View File
@@ -0,0 +1 @@
Private bucket and restricted application user ready
+5
View File
@@ -0,0 +1,5 @@
{
"Name": "13th Gen Intel(R) Core(TM) i5-1340P",
"NumberOfCores": 12,
"NumberOfLogicalProcessors": 16
}
+8
View File
@@ -0,0 +1,8 @@
{
"ServerVersion": "28.5.1",
"NCPU": 16,
"MemTotal": 8126664704,
"OSType": "linux",
"OperatingSystem": "Docker Desktop",
"Architecture": "x86_64"
}
+4
View File
@@ -0,0 +1,4 @@
{
"NumberOfLogicalProcessors": 16,
"TotalPhysicalMemory": 16778182656
}
+44
View File
@@ -0,0 +1,44 @@
{
"negative_suite": {
"result": "PASS",
"concurrent_retries": 16,
"failure_after_s3_put": true,
"interrupted_upload_no_object": true,
"private_bucket": true,
"restricted_credentials": true
},
"uploads": [
{
"size_bytes": 3151219,
"successful_rps_median": 16.729828936800814,
"p50_seconds_median": 0.4081998335022945,
"p95_seconds_median": 0.584588757907477,
"p99_seconds_median": 0.5914236595887633,
"errors": 0,
"attempts": 30,
"elapsed_seconds": 1.8537453600001754
},
{
"size_bytes": 9648062,
"successful_rps_median": 5.626450903085569,
"p50_seconds_median": 1.0610903210035758,
"p95_seconds_median": 1.7164175714497103,
"p99_seconds_median": 1.7635092142925715,
"errors": 0,
"attempts": 30,
"elapsed_seconds": 5.111771299998509
}
],
"kernel_memory_peak_mib": {
"68ab8db39c84": 167.9453125,
"a6106479affd": 156.98046875
},
"sampled_memory_max_mib": {
"lyakhonov-lab4-api-1": 157.2,
"lyakhonov-lab4-api-2": 149.2,
"lyakhonov-lab4-db-1": 40.3,
"lyakhonov-lab4-lb-1": 17.27,
"lyakhonov-lab4-s3-1": 312.1
},
"cleanup_mechanism": "src.reconcile, grace 3600 seconds, interval 300 seconds; explicit 5-second synthetic test in track evidence"
}
+4
View File
@@ -0,0 +1,4 @@
python scripts/check_contract.py
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
python tests/smoke.py --base-url "http://localhost:8084"
PASS: lab4 public API scenario; infrastructure and grading evidence remain separate.
+86 -86
View File
@@ -3,124 +3,64 @@
"each_uploading_replica_stopped": [
{
"stopped": {
"id": "24498cc4891a",
"hostname": "24498cc4891a",
"id": "550435eb1893",
"hostname": "550435eb1893",
"name": "lyakhonov-lab4-api-1",
"running": true,
"started_at": "2026-10-30T14:31:07.744742532Z",
"started_at": "2026-10-30T14:38:55.142398594Z",
"project": "lyakhonov-lab4"
},
"after": {
"id": "24498cc4891a",
"hostname": "24498cc4891a",
"id": "550435eb1893",
"hostname": "550435eb1893",
"name": "lyakhonov-lab4-api-1",
"running": false,
"started_at": "2026-10-30T14:31:07.744742532Z",
"started_at": "2026-10-30T14:38:55.142398594Z",
"project": "lyakhonov-lab4"
},
"download_instance": "950e5ae78851-f8e15971",
"download_instance": "5c0c5d76b6ee-fbcdf384",
"sha256": "99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75",
"recovery_seconds": 1.135
"recovery_seconds": 1.286
},
{
"stopped": {
"id": "950e5ae78851",
"hostname": "950e5ae78851",
"id": "5c0c5d76b6ee",
"hostname": "5c0c5d76b6ee",
"name": "lyakhonov-lab4-api-2",
"running": true,
"started_at": "2026-10-30T14:31:12.431277515Z",
"started_at": "2026-10-30T14:38:54.95782885Z",
"project": "lyakhonov-lab4"
},
"after": {
"id": "950e5ae78851",
"hostname": "950e5ae78851",
"id": "5c0c5d76b6ee",
"hostname": "5c0c5d76b6ee",
"name": "lyakhonov-lab4-api-2",
"running": false,
"started_at": "2026-10-30T14:31:12.431277515Z",
"started_at": "2026-10-30T14:38:54.95782885Z",
"project": "lyakhonov-lab4"
},
"download_instance": "24498cc4891a-5564fcf3",
"download_instance": "550435eb1893-4bee0210",
"sha256": "99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75",
"recovery_seconds": 1.096
"recovery_seconds": 1.406
}
],
"s3_503_seconds": 4.046069000149146,
"s3_503_seconds": 4.043458599830046,
"restart_before": {
"api": [
{
"id": "24498cc4891a",
"hostname": "24498cc4891a",
"id": "550435eb1893",
"hostname": "550435eb1893",
"name": "lyakhonov-lab4-api-1",
"running": true,
"started_at": "2026-10-30T14:31:55.001303564Z",
"started_at": "2026-10-30T14:40:54.440796232Z",
"project": "lyakhonov-lab4"
},
{
"id": "950e5ae78851",
"hostname": "950e5ae78851",
"id": "5c0c5d76b6ee",
"hostname": "5c0c5d76b6ee",
"name": "lyakhonov-lab4-api-2",
"running": true,
"started_at": "2026-10-30T14:31:59.649868974Z",
"project": "lyakhonov-lab4"
}
],
"db": [
{
"id": "10138b5c0bee",
"hostname": "10138b5c0bee",
"name": "lyakhonov-lab4-db-1",
"running": true,
"started_at": "2026-10-30T14:30:00.149637002Z",
"project": "lyakhonov-lab4"
}
],
"redis": [
{
"id": "68997bbba33b",
"hostname": "68997bbba33b",
"name": "lyakhonov-lab4-redis-1",
"running": true,
"started_at": "2026-10-30T14:30:00.082955484Z",
"project": "lyakhonov-lab4"
}
],
"s3": [
{
"id": "83df7acfb73f",
"hostname": "83df7acfb73f",
"name": "lyakhonov-lab4-s3-1",
"running": true,
"started_at": "2026-10-30T14:32:07.860463524Z",
"project": "lyakhonov-lab4"
}
],
"lb": [
{
"id": "e9682a892ad3",
"hostname": "e9682a892ad3",
"name": "lyakhonov-lab4-lb-1",
"running": true,
"started_at": "2026-10-30T14:29:59.993685266Z",
"project": "lyakhonov-lab4"
}
]
},
"restart_after": {
"api": [
{
"id": "24498cc4891a",
"hostname": "24498cc4891a",
"name": "lyakhonov-lab4-api-1",
"running": true,
"started_at": "2026-10-30T14:32:12.97023467Z",
"project": "lyakhonov-lab4"
},
{
"id": "950e5ae78851",
"hostname": "950e5ae78851",
"name": "lyakhonov-lab4-api-2",
"running": true,
"started_at": "2026-10-30T14:32:13.834829902Z",
"started_at": "2026-10-30T14:40:59.474039309Z",
"project": "lyakhonov-lab4"
}
],
@@ -146,11 +86,11 @@
],
"s3": [
{
"id": "83df7acfb73f",
"hostname": "83df7acfb73f",
"id": "8d6296c66f50",
"hostname": "8d6296c66f50",
"name": "lyakhonov-lab4-s3-1",
"running": true,
"started_at": "2026-10-30T14:32:12.440778626Z",
"started_at": "2026-10-30T14:41:07.545035588Z",
"project": "lyakhonov-lab4"
}
],
@@ -164,5 +104,65 @@
"project": "lyakhonov-lab4"
}
]
},
"restart_after": {
"api": [
{
"id": "550435eb1893",
"hostname": "550435eb1893",
"name": "lyakhonov-lab4-api-1",
"running": true,
"started_at": "2026-10-30T14:41:12.906035738Z",
"project": "lyakhonov-lab4"
},
{
"id": "5c0c5d76b6ee",
"hostname": "5c0c5d76b6ee",
"name": "lyakhonov-lab4-api-2",
"running": true,
"started_at": "2026-10-30T14:41:12.736844839Z",
"project": "lyakhonov-lab4"
}
],
"db": [
{
"id": "10138b5c0bee",
"hostname": "10138b5c0bee",
"name": "lyakhonov-lab4-db-1",
"running": true,
"started_at": "2026-10-30T14:41:12.415067466Z",
"project": "lyakhonov-lab4"
}
],
"redis": [
{
"id": "68997bbba33b",
"hostname": "68997bbba33b",
"name": "lyakhonov-lab4-redis-1",
"running": true,
"started_at": "2026-10-30T14:41:12.598940634Z",
"project": "lyakhonov-lab4"
}
],
"s3": [
{
"id": "8d6296c66f50",
"hostname": "8d6296c66f50",
"name": "lyakhonov-lab4-s3-1",
"running": true,
"started_at": "2026-10-30T14:41:12.309884842Z",
"project": "lyakhonov-lab4"
}
],
"lb": [
{
"id": "e9682a892ad3",
"hostname": "e9682a892ad3",
"name": "lyakhonov-lab4-lb-1",
"running": true,
"started_at": "2026-10-30T14:41:12.504270669Z",
"project": "lyakhonov-lab4"
}
]
}
}
+10
View File
@@ -0,0 +1,10 @@
{
"minio": {
"url": "https://github.com/minio/minio/archive/07c3a429bfed433e49018cb0f78a52145d4bedeb.tar.gz",
"sha256": "8819e3e7817e46b7b3798f8f200ead208562e571563c2e040352378031abe9f2"
},
"mc": {
"url": "https://github.com/minio/mc/archive/refs/tags/RELEASE.2025-04-16T18-13-26Z.tar.gz",
"sha256": "526ec538e7f83e4bfa631788129b08ec85898ca572ce0523ebf9a597946bea27"
}
}
+1
View File
@@ -0,0 +1 @@
{"result": "PASS", "profile": "closed-loop batch, 10 simultaneous uploads, 3 repeats per size, 1 warmup, all confirmed originals downloaded", "runs": [{"size_bytes": 3151219, "side": 1024, "repeat": 1, "concurrency": 10, "attempts": 10, "successes": 10, "errors": 0, "elapsed_seconds": 0.7838622859999305, "successful_rps": 12.75734293970215, "p50_seconds": 0.4336575634952169, "p95_seconds": 0.7340192681040206, "p99_seconds": 0.7722596784304188}, {"size_bytes": 3151219, "side": 1024, "repeat": 2, "concurrency": 10, "attempts": 10, "successes": 10, "errors": 0, "elapsed_seconds": 0.597734743001638, "successful_rps": 16.729828936800814, "p50_seconds": 0.4081998335022945, "p95_seconds": 0.584588757907477, "p99_seconds": 0.5914236595887633}, {"size_bytes": 3151219, "side": 1024, "repeat": 3, "concurrency": 10, "attempts": 10, "successes": 10, "errors": 0, "elapsed_seconds": 0.472148330998607, "successful_rps": 21.179784706322522, "p50_seconds": 0.2796381600055611, "p95_seconds": 0.4425103257497539, "p99_seconds": 0.4638570675504161}, {"size_bytes": 9648062, "side": 1792, "repeat": 1, "concurrency": 10, "attempts": 10, "successes": 10, "errors": 0, "elapsed_seconds": 1.5366208479972556, "successful_rps": 6.507786233040787, "p50_seconds": 1.0274780609979643, "p95_seconds": 1.4637623943453943, "p99_seconds": 1.5201743212681322}, {"size_bytes": 9648062, "side": 1792, "repeat": 2, "concurrency": 10, "attempts": 10, "successes": 10, "errors": 0, "elapsed_seconds": 1.7978311129991198, "successful_rps": 5.56225772693305, "p50_seconds": 1.1837765999953263, "p95_seconds": 1.746605640908092, "p99_seconds": 1.784828035391838}, {"size_bytes": 9648062, "side": 1792, "repeat": 3, "concurrency": 10, "attempts": 10, "successes": 10, "errors": 0, "elapsed_seconds": 1.7773193390021333, "successful_rps": 5.626450903085569, "p50_seconds": 1.0610903210035758, "p95_seconds": 1.7164175714497103, "p99_seconds": 1.7635092142925715}]}
+600
View File
@@ -0,0 +1,600 @@
{
"result": "PASS",
"profile": "closed-loop batch, 10 simultaneous uploads, 3 repeats per size, 1 warmup, all confirmed originals downloaded",
"runs": [
{
"size_bytes": 3151219,
"side": 1024,
"repeat": 1,
"concurrency": 10,
"attempts": 10,
"successes": 10,
"errors": 0,
"elapsed_seconds": 0.7838622859999305,
"successful_rps": 12.75734293970215,
"p50_seconds": 0.4336575634952169,
"p95_seconds": 0.7340192681040206,
"p99_seconds": 0.7722596784304188
},
{
"size_bytes": 3151219,
"side": 1024,
"repeat": 2,
"concurrency": 10,
"attempts": 10,
"successes": 10,
"errors": 0,
"elapsed_seconds": 0.597734743001638,
"successful_rps": 16.729828936800814,
"p50_seconds": 0.4081998335022945,
"p95_seconds": 0.584588757907477,
"p99_seconds": 0.5914236595887633
},
{
"size_bytes": 3151219,
"side": 1024,
"repeat": 3,
"concurrency": 10,
"attempts": 10,
"successes": 10,
"errors": 0,
"elapsed_seconds": 0.472148330998607,
"successful_rps": 21.179784706322522,
"p50_seconds": 0.2796381600055611,
"p95_seconds": 0.4425103257497539,
"p99_seconds": 0.4638570675504161
},
{
"size_bytes": 9648062,
"side": 1792,
"repeat": 1,
"concurrency": 10,
"attempts": 10,
"successes": 10,
"errors": 0,
"elapsed_seconds": 1.5366208479972556,
"successful_rps": 6.507786233040787,
"p50_seconds": 1.0274780609979643,
"p95_seconds": 1.4637623943453943,
"p99_seconds": 1.5201743212681322
},
{
"size_bytes": 9648062,
"side": 1792,
"repeat": 2,
"concurrency": 10,
"attempts": 10,
"successes": 10,
"errors": 0,
"elapsed_seconds": 1.7978311129991198,
"successful_rps": 5.56225772693305,
"p50_seconds": 1.1837765999953263,
"p95_seconds": 1.746605640908092,
"p99_seconds": 1.784828035391838
},
{
"size_bytes": 9648062,
"side": 1792,
"repeat": 3,
"concurrency": 10,
"attempts": 10,
"successes": 10,
"errors": 0,
"elapsed_seconds": 1.7773193390021333,
"successful_rps": 5.626450903085569,
"p50_seconds": 1.0610903210035758,
"p95_seconds": 1.7164175714497103,
"p99_seconds": 1.7635092142925715
}
],
"samples": [
{
"time": 1793371458.0681832,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "7.04%",
"Container": "68ab8db39c844427ad170edeb784590708e6fc3e69cd4abe43c05b8b6adce6d3",
"ID": "68ab8db39c84",
"MemPerc": "19.38%",
"MemUsage": "99.22MiB / 512MiB",
"Name": "lyakhonov-lab4-api-1",
"NetIO": "61.5kB / 61.2kB",
"PIDs": "11"
},
{
"BlockIO": "0B / 0B",
"CPUPerc": "8.49%",
"Container": "a6106479affd1937a2a56fae0888dc2c155b382a2e1325e94c99194491109dbb",
"ID": "a6106479affd",
"MemPerc": "19.54%",
"MemUsage": "100.1MiB / 512MiB",
"Name": "lyakhonov-lab4-api-2",
"NetIO": "3.22MB / 3.23MB",
"PIDs": "10"
},
{
"BlockIO": "0B / 2.65MB",
"CPUPerc": "2.09%",
"Container": "10138b5c0beefe8a15a6679fdad81ddac663eea21e8f63bf3ca03545c2558f20",
"ID": "10138b5c0bee",
"MemPerc": "5.18%",
"MemUsage": "26.52MiB / 512MiB",
"Name": "lyakhonov-lab4-db-1",
"NetIO": "662kB / 705kB",
"PIDs": "9"
},
{
"BlockIO": "741kB / 0B",
"CPUPerc": "0.18%",
"Container": "e9682a892ad30d5becf1fda8abbc16770aed81f261b0843f9cb047b5085baf76",
"ID": "e9682a892ad3",
"MemPerc": "10.57%",
"MemUsage": "13.52MiB / 128MiB",
"Name": "lyakhonov-lab4-lb-1",
"NetIO": "789MB / 789MB",
"PIDs": "17"
},
{
"BlockIO": "0B / 3.19MB",
"CPUPerc": "2.00%",
"Container": "a6482b44d70a2031a2563b1b72d955435125453a48e95087464775c918801941",
"ID": "a6482b44d70a",
"MemPerc": "39.63%",
"MemUsage": "304.4MiB / 768MiB",
"Name": "lyakhonov-lab4-s3-1",
"NetIO": "4.08MB / 798MB",
"PIDs": "21"
}
]
},
{
"time": 1793371461.407941,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "2.06%",
"Container": "68ab8db39c844427ad170edeb784590708e6fc3e69cd4abe43c05b8b6adce6d3",
"ID": "68ab8db39c84",
"MemPerc": "20.62%",
"MemUsage": "105.6MiB / 512MiB",
"Name": "lyakhonov-lab4-api-1",
"NetIO": "31.7MB / 31.7MB",
"PIDs": "14"
},
{
"BlockIO": "0B / 0B",
"CPUPerc": "0.88%",
"Container": "a6106479affd1937a2a56fae0888dc2c155b382a2e1325e94c99194491109dbb",
"ID": "a6106479affd",
"MemPerc": "20.64%",
"MemUsage": "105.7MiB / 512MiB",
"Name": "lyakhonov-lab4-api-2",
"NetIO": "34.9MB / 34.9MB",
"PIDs": "14"
},
{
"BlockIO": "0B / 2.74MB",
"CPUPerc": "0.14%",
"Container": "10138b5c0beefe8a15a6679fdad81ddac663eea21e8f63bf3ca03545c2558f20",
"ID": "10138b5c0bee",
"MemPerc": "6.84%",
"MemUsage": "35.02MiB / 512MiB",
"Name": "lyakhonov-lab4-db-1",
"NetIO": "705kB / 746kB",
"PIDs": "13"
},
{
"BlockIO": "741kB / 0B",
"CPUPerc": "0.21%",
"Container": "e9682a892ad30d5becf1fda8abbc16770aed81f261b0843f9cb047b5085baf76",
"ID": "e9682a892ad3",
"MemPerc": "10.60%",
"MemUsage": "13.57MiB / 128MiB",
"Name": "lyakhonov-lab4-lb-1",
"NetIO": "852MB / 853MB",
"PIDs": "17"
},
{
"BlockIO": "0B / 34.8MB",
"CPUPerc": "16.97%",
"Container": "a6482b44d70a2031a2563b1b72d955435125453a48e95087464775c918801941",
"ID": "a6482b44d70a",
"MemPerc": "39.90%",
"MemUsage": "306.5MiB / 768MiB",
"Name": "lyakhonov-lab4-s3-1",
"NetIO": "35.7MB / 830MB",
"PIDs": "21"
}
]
},
{
"time": 1793371464.4601676,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "8.26%",
"Container": "68ab8db39c844427ad170edeb784590708e6fc3e69cd4abe43c05b8b6adce6d3",
"ID": "68ab8db39c84",
"MemPerc": "21.66%",
"MemUsage": "110.9MiB / 512MiB",
"Name": "lyakhonov-lab4-api-1",
"NetIO": "63.5MB / 63.4MB",
"PIDs": "14"
},
{
"BlockIO": "0B / 0B",
"CPUPerc": "8.14%",
"Container": "a6106479affd1937a2a56fae0888dc2c155b382a2e1325e94c99194491109dbb",
"ID": "a6106479affd",
"MemPerc": "20.75%",
"MemUsage": "106.2MiB / 512MiB",
"Name": "lyakhonov-lab4-api-2",
"NetIO": "66.6MB / 66.6MB",
"PIDs": "14"
},
{
"BlockIO": "0B / 2.84MB",
"CPUPerc": "2.95%",
"Container": "10138b5c0beefe8a15a6679fdad81ddac663eea21e8f63bf3ca03545c2558f20",
"ID": "10138b5c0bee",
"MemPerc": "6.88%",
"MemUsage": "35.23MiB / 512MiB",
"Name": "lyakhonov-lab4-db-1",
"NetIO": "745kB / 784kB",
"PIDs": "13"
},
{
"BlockIO": "741kB / 0B",
"CPUPerc": "0.17%",
"Container": "e9682a892ad30d5becf1fda8abbc16770aed81f261b0843f9cb047b5085baf76",
"ID": "e9682a892ad3",
"MemPerc": "10.80%",
"MemUsage": "13.82MiB / 128MiB",
"Name": "lyakhonov-lab4-lb-1",
"NetIO": "916MB / 916MB",
"PIDs": "17"
},
{
"BlockIO": "0B / 66.4MB",
"CPUPerc": "0.94%",
"Container": "a6482b44d70a2031a2563b1b72d955435125453a48e95087464775c918801941",
"ID": "a6482b44d70a",
"MemPerc": "40.05%",
"MemUsage": "307.6MiB / 768MiB",
"Name": "lyakhonov-lab4-s3-1",
"NetIO": "67.4MB / 861MB",
"PIDs": "21"
}
]
},
{
"time": 1793371467.8057384,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "1.27%",
"Container": "68ab8db39c844427ad170edeb784590708e6fc3e69cd4abe43c05b8b6adce6d3",
"ID": "68ab8db39c84",
"MemPerc": "24.28%",
"MemUsage": "124.3MiB / 512MiB",
"Name": "lyakhonov-lab4-api-1",
"NetIO": "105MB / 105MB",
"PIDs": "14"
},
{
"BlockIO": "0B / 0B",
"CPUPerc": "1.05%",
"Container": "a6106479affd1937a2a56fae0888dc2c155b382a2e1325e94c99194491109dbb",
"ID": "a6106479affd",
"MemPerc": "21.76%",
"MemUsage": "111.4MiB / 512MiB",
"Name": "lyakhonov-lab4-api-2",
"NetIO": "98.3MB / 98.2MB",
"PIDs": "14"
},
{
"BlockIO": "0B / 2.94MB",
"CPUPerc": "0.38%",
"Container": "10138b5c0beefe8a15a6679fdad81ddac663eea21e8f63bf3ca03545c2558f20",
"ID": "10138b5c0bee",
"MemPerc": "7.74%",
"MemUsage": "39.62MiB / 512MiB",
"Name": "lyakhonov-lab4-db-1",
"NetIO": "786kB / 824kB",
"PIDs": "15"
},
{
"BlockIO": "741kB / 0B",
"CPUPerc": "3.99%",
"Container": "e9682a892ad30d5becf1fda8abbc16770aed81f261b0843f9cb047b5085baf76",
"ID": "e9682a892ad3",
"MemPerc": "10.54%",
"MemUsage": "13.5MiB / 128MiB",
"Name": "lyakhonov-lab4-lb-1",
"NetIO": "989MB / 989MB",
"PIDs": "17"
},
{
"BlockIO": "0B / 108MB",
"CPUPerc": "1.47%",
"Container": "a6482b44d70a2031a2563b1b72d955435125453a48e95087464775c918801941",
"ID": "a6482b44d70a",
"MemPerc": "40.25%",
"MemUsage": "309.1MiB / 768MiB",
"Name": "lyakhonov-lab4-s3-1",
"NetIO": "109MB / 893MB",
"PIDs": "21"
}
]
},
{
"time": 1793371471.140233,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "7.55%",
"Container": "68ab8db39c844427ad170edeb784590708e6fc3e69cd4abe43c05b8b6adce6d3",
"ID": "68ab8db39c84",
"MemPerc": "26.00%",
"MemUsage": "133.1MiB / 512MiB",
"Name": "lyakhonov-lab4-api-1",
"NetIO": "202MB / 202MB",
"PIDs": "14"
},
{
"BlockIO": "0B / 0B",
"CPUPerc": "7.05%",
"Container": "a6106479affd1937a2a56fae0888dc2c155b382a2e1325e94c99194491109dbb",
"ID": "a6106479affd",
"MemPerc": "25.00%",
"MemUsage": "128MiB / 512MiB",
"Name": "lyakhonov-lab4-api-2",
"NetIO": "195MB / 195MB",
"PIDs": "14"
},
{
"BlockIO": "0B / 3.03MB",
"CPUPerc": "0.17%",
"Container": "10138b5c0beefe8a15a6679fdad81ddac663eea21e8f63bf3ca03545c2558f20",
"ID": "10138b5c0bee",
"MemPerc": "7.79%",
"MemUsage": "39.86MiB / 512MiB",
"Name": "lyakhonov-lab4-db-1",
"NetIO": "828kB / 863kB",
"PIDs": "15"
},
{
"BlockIO": "741kB / 0B",
"CPUPerc": "10.84%",
"Container": "e9682a892ad30d5becf1fda8abbc16770aed81f261b0843f9cb047b5085baf76",
"ID": "e9682a892ad3",
"MemPerc": "10.60%",
"MemUsage": "13.57MiB / 128MiB",
"Name": "lyakhonov-lab4-lb-1",
"NetIO": "1.18GB / 1.18GB",
"PIDs": "17"
},
{
"BlockIO": "0B / 204MB",
"CPUPerc": "0.62%",
"Container": "a6482b44d70a2031a2563b1b72d955435125453a48e95087464775c918801941",
"ID": "a6482b44d70a",
"MemPerc": "40.63%",
"MemUsage": "312.1MiB / 768MiB",
"Name": "lyakhonov-lab4-s3-1",
"NetIO": "205MB / 990MB",
"PIDs": "21"
}
]
},
{
"time": 1793371474.203735,
"containers": [
{
"BlockIO": "283kB / 9.65MB",
"CPUPerc": "42.97%",
"Container": "68ab8db39c844427ad170edeb784590708e6fc3e69cd4abe43c05b8b6adce6d3",
"ID": "68ab8db39c84",
"MemPerc": "27.88%",
"MemUsage": "142.8MiB / 512MiB",
"Name": "lyakhonov-lab4-api-1",
"NetIO": "298MB / 298MB",
"PIDs": "14"
},
{
"BlockIO": "0B / 17.4MB",
"CPUPerc": "36.05%",
"Container": "a6106479affd1937a2a56fae0888dc2c155b382a2e1325e94c99194491109dbb",
"ID": "a6106479affd",
"MemPerc": "25.02%",
"MemUsage": "128.1MiB / 512MiB",
"Name": "lyakhonov-lab4-api-2",
"NetIO": "292MB / 292MB",
"PIDs": "14"
},
{
"BlockIO": "0B / 3.11MB",
"CPUPerc": "4.78%",
"Container": "10138b5c0beefe8a15a6679fdad81ddac663eea21e8f63bf3ca03545c2558f20",
"ID": "10138b5c0bee",
"MemPerc": "7.84%",
"MemUsage": "40.12MiB / 512MiB",
"Name": "lyakhonov-lab4-db-1",
"NetIO": "867kB / 900kB",
"PIDs": "15"
},
{
"BlockIO": "745kB / 0B",
"CPUPerc": "12.86%",
"Container": "e9682a892ad30d5becf1fda8abbc16770aed81f261b0843f9cb047b5085baf76",
"ID": "e9682a892ad3",
"MemPerc": "10.67%",
"MemUsage": "13.66MiB / 128MiB",
"Name": "lyakhonov-lab4-lb-1",
"NetIO": "1.38GB / 1.38GB",
"PIDs": "17"
},
{
"BlockIO": "0B / 301MB",
"CPUPerc": "27.30%",
"Container": "a6482b44d70a2031a2563b1b72d955435125453a48e95087464775c918801941",
"ID": "a6482b44d70a",
"MemPerc": "40.42%",
"MemUsage": "310.5MiB / 768MiB",
"Name": "lyakhonov-lab4-s3-1",
"NetIO": "302MB / 1.09GB",
"PIDs": "21"
}
]
},
{
"time": 1793371477.556512,
"containers": [
{
"BlockIO": "631kB / 15MB",
"CPUPerc": "49.68%",
"Container": "68ab8db39c844427ad170edeb784590708e6fc3e69cd4abe43c05b8b6adce6d3",
"ID": "68ab8db39c84",
"MemPerc": "30.71%",
"MemUsage": "157.2MiB / 512MiB",
"Name": "lyakhonov-lab4-api-1",
"NetIO": "343MB / 327MB",
"PIDs": "13"
},
{
"BlockIO": "77.8kB / 24.7MB",
"CPUPerc": "51.60%",
"Container": "a6106479affd1937a2a56fae0888dc2c155b382a2e1325e94c99194491109dbb",
"ID": "a6106479affd",
"MemPerc": "29.14%",
"MemUsage": "149.2MiB / 512MiB",
"Name": "lyakhonov-lab4-api-2",
"NetIO": "340MB / 331MB",
"PIDs": "16"
},
{
"BlockIO": "0B / 3.18MB",
"CPUPerc": "0.99%",
"Container": "10138b5c0beefe8a15a6679fdad81ddac663eea21e8f63bf3ca03545c2558f20",
"ID": "10138b5c0bee",
"MemPerc": "7.85%",
"MemUsage": "40.21MiB / 512MiB",
"Name": "lyakhonov-lab4-db-1",
"NetIO": "890kB / 920kB",
"PIDs": "15"
},
{
"BlockIO": "827kB / 4.1kB",
"CPUPerc": "7.90%",
"Container": "e9682a892ad30d5becf1fda8abbc16770aed81f261b0843f9cb047b5085baf76",
"ID": "e9682a892ad3",
"MemPerc": "13.49%",
"MemUsage": "17.27MiB / 128MiB",
"Name": "lyakhonov-lab4-lb-1",
"NetIO": "1.47GB / 1.47GB",
"PIDs": "17"
},
{
"BlockIO": "0B / 301MB",
"CPUPerc": "0.29%",
"Container": "a6482b44d70a2031a2563b1b72d955435125453a48e95087464775c918801941",
"ID": "a6482b44d70a",
"MemPerc": "36.71%",
"MemUsage": "281.9MiB / 768MiB",
"Name": "lyakhonov-lab4-s3-1",
"NetIO": "302MB / 1.09GB",
"PIDs": "21"
}
]
},
{
"time": 1793371480.9294415,
"containers": [
{
"BlockIO": "750kB / 15MB",
"CPUPerc": "13.86%",
"Container": "68ab8db39c844427ad170edeb784590708e6fc3e69cd4abe43c05b8b6adce6d3",
"ID": "68ab8db39c84",
"MemPerc": "27.79%",
"MemUsage": "142.3MiB / 512MiB",
"Name": "lyakhonov-lab4-api-1",
"NetIO": "395MB / 395MB",
"PIDs": "13"
},
{
"BlockIO": "77.8kB / 24.7MB",
"CPUPerc": "1.84%",
"Container": "a6106479affd1937a2a56fae0888dc2c155b382a2e1325e94c99194491109dbb",
"ID": "a6106479affd",
"MemPerc": "26.86%",
"MemUsage": "137.5MiB / 512MiB",
"Name": "lyakhonov-lab4-api-2",
"NetIO": "389MB / 389MB",
"PIDs": "14"
},
{
"BlockIO": "0B / 3.21MB",
"CPUPerc": "2.21%",
"Container": "10138b5c0beefe8a15a6679fdad81ddac663eea21e8f63bf3ca03545c2558f20",
"ID": "10138b5c0bee",
"MemPerc": "7.87%",
"MemUsage": "40.3MiB / 512MiB",
"Name": "lyakhonov-lab4-db-1",
"NetIO": "910kB / 942kB",
"PIDs": "15"
},
{
"BlockIO": "827kB / 4.1kB",
"CPUPerc": "0.51%",
"Container": "e9682a892ad30d5becf1fda8abbc16770aed81f261b0843f9cb047b5085baf76",
"ID": "e9682a892ad3",
"MemPerc": "10.84%",
"MemUsage": "13.88MiB / 128MiB",
"Name": "lyakhonov-lab4-lb-1",
"NetIO": "1.57GB / 1.57GB",
"PIDs": "17"
},
{
"BlockIO": "0B / 397MB",
"CPUPerc": "0.44%",
"Container": "a6482b44d70a2031a2563b1b72d955435125453a48e95087464775c918801941",
"ID": "a6482b44d70a",
"MemPerc": "37.20%",
"MemUsage": "285.7MiB / 768MiB",
"Name": "lyakhonov-lab4-s3-1",
"NetIO": "399MB / 1.18GB",
"PIDs": "21"
}
]
}
],
"cgroup_before": [
{
"id": "68ab8db39c84",
"memory.peak": "94355456",
"memory.current": "88948736",
"cpu.stat": "usage_usec 1520787\nuser_usec 1229926\nsystem_usec 290861\nnr_periods 100\nnr_throttled 20\nthrottled_usec 838500\nnr_bursts 0\nburst_usec 0"
},
{
"id": "a6106479affd",
"memory.peak": "94523392",
"memory.current": "89448448",
"cpu.stat": "usage_usec 1465401\nuser_usec 1200760\nsystem_usec 264641\nnr_periods 97\nnr_throttled 18\nthrottled_usec 858421\nnr_bursts 0\nburst_usec 0"
}
],
"cgroup_after": [
{
"id": "68ab8db39c84",
"memory.peak": "176103424",
"memory.current": "155086848",
"cpu.stat": "usage_usec 6981108\nuser_usec 5342601\nsystem_usec 1638507\nnr_periods 318\nnr_throttled 84\nthrottled_usec 4194115\nnr_bursts 0\nburst_usec 0"
},
{
"id": "a6106479affd",
"memory.peak": "164605952",
"memory.current": "150552576",
"cpu.stat": "usage_usec 6971952\nuser_usec 5392216\nsystem_usec 1579735\nnr_periods 304\nnr_throttled 84\nthrottled_usec 4096903\nnr_bursts 0\nburst_usec 0"
}
]
}
+2
View File
@@ -0,0 +1,2 @@
.venv/Scripts/python scripts/validate_openapi.py
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.