Files
mtusi2026lab5/evidence/criteria/runs/20261105T195905.012798Z/durable-upload.md
T

852 lines
29 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Устойчивый приём до 202
Результат: **PASS**. Запуск: `20261105T195905.012798Z`.
Код: [src/backend/repositories/jobs.go](../../../../src/backend/repositories/jobs.go).
## startup
Команда: `docker compose --project-name highload-lab5 --env-file .env -f compose.yml up -d --build --wait`
Exit code: 0; время: 64.599 с.
[Полный вывод](startup.txt)
````text
Image highload-lab5-worker Building
Image highload-lab5-s3 Building
Image highload-lab5-migrate Building
Image highload-lab5-api Building
Image highload-lab5-dispatcher Building
Image highload-lab5-frontend Building
Image highload-lab5-upload-cleanup Building
Image highload-lab5-s3-bootstrap Building
#1 [internal] load local bake definitions
#1 reading from stdin 4.07kB done
#1 DONE 0.0s
#2 [worker internal] load build definition from Dockerfile
#2 transferring dockerfile: 869B 0.0s done
#2 DONE 0.1s
#3 [s3 internal] load build definition from minio.Dockerfile
#3 transferring dockerfile: 1.01kB 0.0s done
#3 DONE 0.2s
#4 [worker internal] load metadata for docker.io/library/debian:12.15-slim
#4 ...
#5 [frontend internal] load build definition from Dockerfile
#5 transferring dockerfile: 181B 0.0s done
#5 DONE 0.2s
#4 [s3 internal] load metadata for docker.io/library/debian:12.15-slim
#4 DONE 0.4s
#6 [migrate internal] load metadata for docker.io/library/golang:1.22.2-bookworm
#6 DONE 0.4s
#7 [frontend internal] load metadata for docker.io/library/node:22-bookworm-slim
#7 DONE 0.4s
#8 [upload-cleanup internal] load .dockerignore
#8 transferring context: 268B 0.0s done
#8 DONE 0.0s
#9 [frontend internal] load .dockerignore
#9 transferring context: 58B 0.0s done
#9 DONE 0.1s
#10 [upload-cleanup internal] load build context
#10 DONE 0.0s
#11 [upload-cleanup builder 1/7] FROM docker.io/library/golang:1.22.2-bookworm@sha256:d0902bacefdde1cf45528c098d14e55d78c107def8a22d148eabd71582d7a99f
#11 resolve docker.io/library/golang:1.22.2-bookworm@sha256:d0902bacefdde1cf45528c098d14e55d78c107def8a22d148eabd71582d7a99f
#11 resolve docker.io/library/golang:1.22.2-bookworm@sha256:d0902bacefdde1cf45528c098d14e55d78c107def8a22d148eabd71582d7a99f 0.0s done
#11 DONE 0.1s
#12 [frontend 1/5] FROM docker.io/library/node:22-bookworm-slim@sha256:43ac6c60b8f89723f746e8a92ce91abd5017e627ce1ddfe4238355d3a30b772c
#12 resolve docker.io/library/node:22-bookworm-slim@sha256:43ac6c60b8f89723f746e8a92ce91abd5017e627ce1ddfe4238355d3a30b772c 0.0s done
#12 DONE 0.1s
#13 [s3-bootstrap stage-1 1/4] FROM docker.io/library/debian:12.15-slim@sha256:88200866dfff7ea7f5cbcb6ec7c8a701889efe6fe859fe64d6990e4b07ea4171
#13 resolve docker.io/library/debian:12.15-slim@sha256:88200866dfff7ea7f5cbcb6ec7c8a701889efe6fe859fe64d6990e4b07ea4171 0.0s done
#13 DONE 0.1s
#14 [frontend internal] load build context
#14 transferring context: 571B 0.1s done
#14 DONE 0.1s
#15 [frontend 4/5] RUN npm ci
#15 CACHED
#16 [frontend 3/5] COPY package.json package-lock.json ./
#16 CACHED
#17 [frontend 2/5] WORKDIR /app
#17 CACHED
#18 [frontend 5/5] COPY . .
#18 CACHED
#19 [frontend] exporting to image
#19 exporting layers done
#19 exporting manifest sha256:b4e0c622731cdb1864e7562d4572eb5c5e8b061738667702dcc8d2c1b176c6a9 done
#19 exporting config sha256:3babc134ec13b2340335fa71a2ddefb5a8de315b9248c555f92e9774792c5659 done
#19 exporting attestation manifest sha256:d6482c596f57d21e6951dfd39b798f076ed6e8ccd9a04a0f643db74fab150f62 0.0s done
#19 exporting manifest list sha256:ffaaa67db5e74f77c02e5a538712a18c7d94ddc5a62076b8a9413a75b52cd96b 0.0s done
#19 naming to docker.io/library/highload-lab5-frontend:latest done
#19 unpacking to docker.io/library/highload-lab5-frontend:latest 0.0s done
#19 DONE 0.2s
#10 [migrate internal] load build context
#10 ...
#20 [frontend] resolving provenance for metadata file
#20 DONE 0.0s
#10 [migrate internal] load build context
#10 ...
#13 [s3 stage-1 1/4] FROM docker.io/library/debian:12.15-slim@sha256:88200866dfff7ea7f5cbcb6ec7c8a701889efe6fe859fe64d6990e4b07ea4171
#13 resolve docker.io/library/debian:12.15-slim@sha256:88200866dfff7ea7f5cbcb6ec7c8a701889efe6fe859fe64d6990e4b07ea4171 0.0s done
#13 DONE 0.1s
#21 [s3 internal] load metadata for docker.io/library/golang:1.24.2-bookworm
#21 DONE 1.1s
#22 [s3 internal] load .dockerignore
#22 transferring context: 2B 0.0s done
#22 DONE 0.0s
#10 [migrate internal] load build context
#10 transferring context: 5.91kB 0.7s done
#10 DONE 0.7s
#23 [s3 builder 1/4] FROM docker.io/library/golang:1.24.2-bookworm@sha256:79390b5e5af9ee6e7b1173ee3eac7fadf6751a545297672916b59bfa0ecf6f71
#23 resolve docker.io/library/golang:1.24.2-bookworm@sha256:79390b5e5af9ee6e7b1173ee3eac7fadf6751a545297672916b59bfa0ecf6f71 0.0s done
#23 DONE 0.0s
#24 [s3 builder 3/4] RUN git init . && git remote add origin https://github.com/minio/minio.git && git fetch --depth 1 origin 0d7408fc9969caf07de6a8c3a84f9fbb10a6739e && git checkout --detach FETCH_HEAD
#24 CACHED
#25 [s3 builder 4/4] RUN CGO_ENABLED=0 go build -trimpath -ldflags="-s -w -X github.com/minio/minio/cmd.Version=2025-04-22T22:12:26Z -X github.com/minio/minio/cmd.ReleaseTag=RELEASE.2025-04-22T22-12-26Z -X github.com/minio/minio/cmd.CommitID=0d7408fc9969caf07de6a8c3a84f9fbb10a6739e" -o /out/minio .
#25 CACHED
#26 [s3 builder 2/4] WORKDIR /source
#26 CACHED
#27 [s3 stage-1 2/3] RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl && rm -rf /var/lib/apt/lists/* && groupadd --system storage && useradd --system --gid storage storage && mkdir /data && chown storage:storage /data
#27 CACHED
#28 [s3 stage-1 3/3] COPY --from=builder /out/minio /usr/local/bin/minio
#28 CACHED
#29 [migrate builder 2/7] RUN apt-get update && apt-get install -y --no-install-recommends webp && rm -rf /var/lib/apt/lists/*
#29 CACHED
#30 [migrate builder 7/7] RUN CGO_ENABLED=0 GOOS=linux go build -trimpath -ldflags="-s -w" -o /out/[REDACTED] ./backend
#30 CACHED
#31 [migrate stage-1 3/4] WORKDIR /app
#31 CACHED
#32 [migrate builder 5/7] RUN go mod download
#32 CACHED
#33 [migrate builder 4/7] COPY go.mod go.sum ./
#33 CACHED
#34 [migrate stage-1 2/4] RUN apt-get update && apt-get install -y --no-install-recommends webp && rm -rf /var/lib/apt/lists/* && groupadd --system app && useradd --system --gid app --no-create-home app
#34 CACHED
#35 [migrate builder 6/7] COPY backend ./backend
#35 CACHED
#36 [migrate builder 3/7] WORKDIR /src
#36 CACHED
#37 [s3-bootstrap stage-1 4/4] COPY --from=builder /out/[REDACTED] ./[REDACTED]
#37 CACHED
#38 [s3] exporting to image
#38 exporting layers done
#38 exporting manifest sha256:d1e840275605bbc5f7ca26346064191484a717d4dc3b6a854a16bc5a9568249c done
#38 exporting config sha256:4d1cceac663be9aee8a5596fb9925e9c0a2e6e00b63547da71160a518be44f0d done
#38 exporting attestation manifest sha256:7e84787e9b456c1f80d3afe8dafd577fa578bf63e0f9593226273ce9eacf2d9b 0.0s done
#38 exporting manifest list sha256:338bff9d50be806557498a2ccb668c5a0a416570a71319385a79e92049443c07 0.1s done
#38 naming to docker.io/library/highload-lab5-s3:latest
#38 naming to docker.io/library/highload-lab5-s3:latest 0.0s done
#38 unpacking to docker.io/library/highload-lab5-s3:latest
#38 unpacking to docker.io/library/highload-lab5-s3:latest 0.1s done
#38 DONE 0.5s
#39 [worker] exporting to image
#39 exporting layers done
#39 exporting manifest sha256:cf7cf73631f1d0a5a25afb7129209fa9399b8bbc6f1367aeb6e42cec05dc9483 0.1s done
#39 exporting config sha256:b36bf2b3650174d60a10c6ad199d1fde36141f1bdf5ef67c09e492496dff1f1f 0.1s done
#39 exporting attestation manifest sha256:c86c934051a15fbb1a7031f37fef3bd54a791be33957f9717f53529c4230f1d0 0.2s done
#39 exporting manifest list sha256:38e303e47c7ba88a755dbaf0abcbd1eb0182e00bcca1aca66634bf8efed1ec9f
#39 exporting manifest list sha256:38e303e47c7ba88a755dbaf0abcbd1eb0182e00bcca1aca66634bf8efed1ec9f 0.1s done
#39 naming to docker.io/library/highload-lab5-worker:latest
#39 naming to docker.io/library/highload-lab5-worker:latest 0.0s done
#39 unpacking to docker.io/library/highload-lab5-worker:latest 0.0s done
#39 DONE 0.8s
#40 [s3-bootstrap] exporting to image
#40 exporting layers done
#40 exporting manifest sha256:f319024632c6ad5ca4d5b4dac5674fc8921be9339f5de386942b6214665e7664 0.1s done
#40 exporting config sha256:a72c435a4e25bb335b47dc58f456108dfc46b28e60e96a5cf6540d80ed59f7b8 0.1s done
#40 exporting attestation manifest sha256:abea9be0a502700f60f2f508eb9c343eec58c177370abaee5ac53ea8943771e7 0.2s done
#40 exporting manifest list sha256:79ef7f3371714dcf10c85eeeeae1d57d9027de67dc819f59baffc4bed1a6ee09 0.1s done
#40 naming to docker.io/library/highload-lab5-s3-bootstrap:latest 0.0s done
#40 unpacking to docker.io/library/highload-lab5-s3-bootstrap:latest 0.0s done
#40 DONE 0.8s
#41 [dispatcher] exporting to image
#41 exporting layers done
#41 exporting manifest sha256:bfdd81e07d1cc137c3ce6d0777e9d6452d58a30c098e9a70b14bffc9e2237519 0.1s done
#41 exporting config sha256:84061bfc1fc38f60b683d04abdc006ed0c236002228b6ee1815e74c347db0ee1 0.1s done
#41 exporting attestation manifest sha256:ee04c1c38a448074de45f918ff964408be95a86a696601f6a95884bd4d548f0f 0.2s done
#41 exporting manifest list sha256:beb365003057e895e7e74a054f3318561578f6bb3c5654c1e24dce098673cb5a 0.1s done
#41 naming to docker.io/library/highload-lab5-dispatcher:latest 0.0s done
#41 unpacking to docker.io/library/highload-lab5-dispatcher:latest 0.0s done
#41 DONE 0.8s
#42 [migrate] exporting to image
#42 exporting layers done
#42 exporting manifest sha256:233bdaed13d575160da47ad9cbaaed3166c5170aec3210b366e707663ba3ef16 0.1s done
#42 exporting config sha256:65349f42d03a23c69768f9cb49f18ca6fb32c70270bad876ad080bcb6f27d4c7 0.1s done
#42 exporting attestation manifest sha256:56443b028cfa8aa23d016c2425214efeae5bbbe5775d311730fbe8eda4e67b43 0.2s done
#42 exporting manifest list sha256:7463772f11d383993bfa8c236a94cce2041760959f37ce50b95c8d2aa6aa89ae 0.1s done
#42 naming to docker.io/library/highload-lab5-migrate:latest 0.0s done
#42 unpacking to docker.io/library/highload-lab5-migrate:latest 0.0s done
#42 DONE 0.8s
#43 [api] exporting to image
#43 exporting layers done
#43 exporting manifest sha256:47b7e293f718614b87199540988e2f103d1f6019ea2dd025ce15a54ac3dea12e 0.1s done
#43 exporting config sha256:0a88cc4d39b2b62fe839ef90e4522301218e0d2318910f4cda3d23db25b97fa0 0.1s done
#43 exporting attestation manifest sha256:d1de9033c84940b29d6719674c417ffe41bfb7c4450f0501973401050fe0bfd5 0.2s done
#43 exporting manifest list sha256:149cea8cc916606dbab7db83dd50fc20817fe0169c08f59911a74e7207f8e1b4 0.1s done
#43 naming to docker.io/library/highload-lab5-api:latest 0.0s done
#43 unpacking to docker.io/library/highload-lab5-api:latest 0.0s done
#43 DONE 0.8s
#44 [upload-cleanup] exporting to image
#44 exporting layers done
#44 exporting manifest sha256:ce535db22854efbb79b8d1cd7316fb509d7d7e3b869dbc5ba974ccdb3b9209f1 0.1s done
#44 exporting config sha256:af768ece665a7dfd5374d7d662db0265798fde4691f459851f428816fe1f1eb6 0.1s done
#44 exporting attestation manifest sha256:eb4aa62a9b83c183a193611f4a523d4d2c94e0df06e496fda3ad58ae5cdfdb4e 0.2s done
#44 exporting manifest list sha256:d554daf7d5a2101d684a5b6467461aac07912fa191ab869235e4e10535d1bce4 0.1s done
#44 naming to docker.io/library/highload-lab5-upload-cleanup:latest 0.0s done
#44 unpacking to docker.io/library/highload-lab5-upload-cleanup:latest 0.0s done
#44 DONE 0.8s
#45 [s3] resolving provenance for metadata file
#45 ...
#46 [api] resolving provenance for metadata file
#46 DONE 0.2s
#47 [worker] resolving provenance for metadata file
#47 DONE 0.1s
#45 [s3] resolving provenance for metadata file
#45 DONE 0.7s
#48 [dispatcher] resolving provenance for metadata file
#48 DONE 0.3s
#49 [s3-bootstrap] resolving provenance for metadata file
#49 DONE 0.2s
#50 [migrate] resolving provenance for metadata file
#50 DONE 0.2s
#51 [upload-cleanup] resolving provenance for metadata file
#51 DONE 0.0s
Image highload-lab5-s3-bootstrap Built
Image highload-lab5-upload-cleanup Built
Image highload-lab5-api Built
Image highload-lab5-frontend Built
Image highload-lab5-worker Built
Image highload-lab5-dispatcher Built
Image highload-lab5-migrate Built
Image highload-lab5-s3 Built
Container highload-lab5-s3-bootstrap-1 Recreate
Container highload-lab5-broker-1 Recreate
Container highload-lab5-migrate-1 Recreate
Container highload-lab5-migrate-1 Recreated
Container highload-lab5-s3-bootstrap-1 Recreated
Container highload-lab5-api-1 Recreate
Container highload-lab5-api-2 Recreate
Container highload-lab5-upload-cleanup-1 Recreate
Container highload-lab5-broker-1 Recreated
Container highload-lab5-dispatcher-1 Recreate
Container highload-lab5-worker-1 Recreate
Container highload-lab5-upload-cleanup-1 Recreated
Container highload-lab5-api-1 Recreated
Container highload-lab5-api-2 Recreated
Container highload-lab5-dispatcher-1 Recreated
Container highload-lab5-worker-1 Recreated
Container highload-lab5-s3-1 Starting
Container highload-lab5-redis-1 Starting
Container highload-lab5-db-1 Starting
Container highload-lab5-broker-1 Starting
Container highload-lab5-s3-1 Started
Container highload-lab5-s3-1 Waiting
Container highload-lab5-redis-1 Started
Container highload-lab5-db-1 Started
Container highload-lab5-db-1 Waiting
Container highload-lab5-broker-1 Started
Container highload-lab5-s3-1 Healthy
Container highload-lab5-s3-bootstrap-1 Starting
Container highload-lab5-s3-bootstrap-1 Started
Container highload-lab5-db-1 Healthy
Container highload-lab5-migrate-1 Starting
Container highload-lab5-migrate-1 Started
Container highload-lab5-s3-bootstrap-1 Waiting
Container highload-lab5-migrate-1 Waiting
Container highload-lab5-migrate-1 Waiting
Container highload-lab5-migrate-1 Waiting
Container highload-lab5-db-1 Waiting
Container highload-lab5-redis-1 Waiting
Container highload-lab5-broker-1 Waiting
Container highload-lab5-migrate-1 Waiting
Container highload-lab5-s3-bootstrap-1 Waiting
Container highload-lab5-s3-bootstrap-1 Waiting
Container highload-lab5-broker-1 Waiting
Container highload-lab5-redis-1 Healthy
Container highload-lab5-s3-bootstrap-1 Exited
Container highload-lab5-s3-bootstrap-1 Exited
Container highload-lab5-db-1 Healthy
Container highload-lab5-s3-bootstrap-1 Exited
Container highload-lab5-migrate-1 Exited
Container highload-lab5-migrate-1 Exited
Container highload-lab5-api-2 Starting
Container highload-lab5-migrate-1 Exited
Container highload-lab5-migrate-1 Exited
Container highload-lab5-upload-cleanup-1 Starting
Container highload-lab5-api-2 Started
Container highload-lab5-api-1 Starting
Container highload-lab5-upload-cleanup-1 Started
Container highload-lab5-api-1 Started
Container highload-lab5-api-2 Waiting
Container highload-lab5-api-1 Waiting
Container highload-lab5-api-2 Healthy
Container highload-lab5-api-1 Healthy
Container highload-lab5-haproxy-1 Starting
Container highload-lab5-haproxy-1 Started
Container highload-lab5-haproxy-1 Waiting
Container highload-lab5-haproxy-1 Healthy
Container highload-lab5-frontend-1 Starting
Container highload-lab5-frontend-1 Started
Container highload-lab5-broker-1 Healthy
Container highload-lab5-worker-1 Starting
Container highload-lab5-broker-1 Healthy
Container highload-lab5-dispatcher-1 Starting
Container highload-lab5-worker-1 Started
Container highload-lab5-dispatcher-1 Started
Container highload-lab5-db-1 Waiting
Container highload-lab5-redis-1 Waiting
Container highload-lab5-broker-1 Waiting
Container highload-lab5-worker-1 Waiting
Container highload-lab5-upload-cleanup-1 Waiting
Container highload-lab5-api-2 Waiting
Container highload-lab5-api-1 Waiting
Container highload-lab5-s3-bootstrap-1 Waiting
Container highload-lab5-haproxy-1 Waiting
Container highload-lab5-migrate-1 Waiting
Container highload-lab5-dispatcher-1 Waiting
Container highload-lab5-s3-1 Waiting
Container highload-lab5-frontend-1 Waiting
Container highload-lab5-haproxy-1 Healthy
Container highload-lab5-migrate-1 Exited
Container highload-lab5-broker-1 Healthy
Container highload-lab5-redis-1 Healthy
Container highload-lab5-frontend-1 Healthy
Container highload-lab5-dispatcher-1 Healthy
Container highload-lab5-worker-1 Healthy
Container highload-lab5-upload-cleanup-1 Healthy
Container highload-lab5-db-1 Healthy
Container highload-lab5-s3-1 Healthy
Container highload-lab5-s3-bootstrap-1 Exited
Container highload-lab5-api-2 Healthy
Container highload-lab5-api-1 Healthy
````
## grade3
Команда: `/usr/bin/python3 scripts/check_async_grade3.py`
Exit code: 0; время: 130.92 с.
[Полный вывод](grade3.txt)
````text
PASS: worker-off upload, broker/API restart, ready recovery, three duplicates, bounded retry.
````
## restore
Команда: `docker compose --project-name highload-lab5 --env-file .env -f compose.yml up -d --wait`
Exit code: 0; время: 9.144 с.
[Полный вывод](restore.txt)
````text
Container highload-lab5-frontend-1 Running
Container highload-lab5-broker-1 Running
Container highload-lab5-worker-1 Running
Container highload-lab5-redis-1 Running
Container highload-lab5-dispatcher-1 Running
Container highload-lab5-db-1 Running
Container highload-lab5-s3-1 Running
Container highload-lab5-api-2 Running
Container highload-lab5-upload-cleanup-1 Running
Container highload-lab5-haproxy-1 Running
Container highload-lab5-s3-1 Waiting
Container highload-lab5-db-1 Waiting
Container highload-lab5-s3-1 Healthy
Container highload-lab5-s3-bootstrap-1 Starting
Container highload-lab5-db-1 Healthy
Container highload-lab5-migrate-1 Starting
Container highload-lab5-s3-bootstrap-1 Started
Container highload-lab5-migrate-1 Started
Container highload-lab5-migrate-1 Waiting
Container highload-lab5-s3-bootstrap-1 Waiting
Container highload-lab5-broker-1 Waiting
Container highload-lab5-migrate-1 Waiting
Container highload-lab5-s3-bootstrap-1 Waiting
Container highload-lab5-migrate-1 Waiting
Container highload-lab5-broker-1 Waiting
Container highload-lab5-db-1 Waiting
Container highload-lab5-redis-1 Waiting
Container highload-lab5-s3-bootstrap-1 Waiting
Container highload-lab5-migrate-1 Waiting
Container highload-lab5-db-1 Healthy
Container highload-lab5-migrate-1 Exited
Container highload-lab5-migrate-1 Exited
Container highload-lab5-migrate-1 Exited
Container highload-lab5-redis-1 Healthy
Container highload-lab5-broker-1 Healthy
Container highload-lab5-migrate-1 Exited
Container highload-lab5-broker-1 Healthy
Container highload-lab5-s3-bootstrap-1 Exited
Container highload-lab5-api-1 Starting
Container highload-lab5-s3-bootstrap-1 Exited
Container highload-lab5-s3-bootstrap-1 Exited
Container highload-lab5-api-1 Started
Container highload-lab5-api-2 Waiting
Container highload-lab5-api-1 Waiting
Container highload-lab5-api-2 Healthy
Container highload-lab5-api-1 Healthy
Container highload-lab5-haproxy-1 Waiting
Container highload-lab5-haproxy-1 Healthy
Container highload-lab5-frontend-1 Waiting
Container highload-lab5-db-1 Waiting
Container highload-lab5-s3-bootstrap-1 Waiting
Container highload-lab5-migrate-1 Waiting
Container highload-lab5-s3-1 Waiting
Container highload-lab5-broker-1 Waiting
Container highload-lab5-worker-1 Waiting
Container highload-lab5-api-2 Waiting
Container highload-lab5-api-1 Waiting
Container highload-lab5-redis-1 Waiting
Container highload-lab5-upload-cleanup-1 Waiting
Container highload-lab5-dispatcher-1 Waiting
Container highload-lab5-haproxy-1 Waiting
Container highload-lab5-upload-cleanup-1 Healthy
Container highload-lab5-frontend-1 Healthy
Container highload-lab5-migrate-1 Exited
Container highload-lab5-db-1 Healthy
Container highload-lab5-broker-1 Healthy
Container highload-lab5-haproxy-1 Healthy
Container highload-lab5-redis-1 Healthy
Container highload-lab5-s3-bootstrap-1 Exited
Container highload-lab5-s3-1 Healthy
Container highload-lab5-dispatcher-1 Healthy
Container highload-lab5-worker-1 Healthy
Container highload-lab5-api-2 Healthy
Container highload-lab5-api-1 Healthy
````
## final-inventory
Команда: `/usr/bin/python3 /mnt/c/projects/Highload-systems/mtusi2026lab5-fork/scripts/generate_evidence.py --probe inventory`
Exit code: 0; время: 0.791 с.
[Полный вывод](final-inventory.txt)
````text
[
{
"id": "445d95f46622d282f22746b9d7f95349f87203ae39ccf38a38bc4b2b05cdf6f9",
"service": "api",
"image": "sha256:149cea8cc916606dbab7db83dd50fc20817fe0169c08f59911a74e7207f8e1b4",
"status": "running",
"started": "2026-11-05T20:08:56.773733904Z",
"oom": false,
"memory": 536870912,
"nano_cpus": 500000000,
"health": "healthy",
"mounts": [
{
"type": "bind",
"target": "/run/secrets/broker_url",
"name": null
},
{
"type": "bind",
"target": "/run/secrets/cache_url",
"name": null
},
{
"type": "bind",
"target": "/run/secrets/database_url",
"name": null
},
{
"type": "bind",
"target": "/run/secrets/s3_access_key_id",
"name": null
},
{
"type": "bind",
"target": "/run/secrets/s3_secret_access_key",
"name": null
}
]
},
{
"id": "e5c63dbda3e9d4d1f70be2964912287a001c145580f1afe01b418fe1f202ae71",
"service": "api",
"image": "sha256:149cea8cc916606dbab7db83dd50fc20817fe0169c08f59911a74e7207f8e1b4",
"status": "running",
"started": "2026-11-05T20:08:28.901649025Z",
"oom": false,
"memory": 536870912,
"nano_cpus": 500000000,
"health": "healthy",
"mounts": [
{
"type": "bind",
"target": "/run/secrets/broker_url",
"name": null
},
{
"type": "bind",
"target": "/run/secrets/cache_url",
"name": null
},
{
"type": "bind",
"target": "/run/secrets/database_url",
"name": null
},
{
"type": "bind",
"target": "/run/secrets/s3_access_key_id",
"name": null
},
{
"type": "bind",
"target": "/run/secrets/s3_secret_access_key",
"name": null
}
]
},
{
"id": "bc92b1ba8d74ac525636cd8b89443b0bf7541e3469a521959242c5d6b26c6f1e",
"service": "broker",
"image": "sha256:6431bbd0f22df99ace800138399367d7d6181442dfff09feb2795e15d4bd4b7a",
"status": "running",
"started": "2026-11-05T20:08:00.559608745Z",
"oom": false,
"memory": 536870912,
"nano_cpus": 500000000,
"health": "healthy",
"mounts": [
{
"type": "bind",
"target": "/run/secrets/broker_password",
"name": null
},
{
"type": "bind",
"target": "/run/secrets/broker_user",
"name": null
},
{
"type": "volume",
"target": "/var/lib/rabbitmq",
"name": "highload-lab5_rabbitmq_data"
}
]
},
{
"id": "f4a171ac1b1dabd85a39f6a8238ab7c956f0f93033f250473c0f20d6296b8071",
"service": "db",
"image": "sha256:38471f330eb885e04de130b768d6db4e10469e2311879c7e5c699f6d2d8a1c74",
"status": "running",
"started": "2026-11-05T20:07:59.269705928Z",
"oom": false,
"memory": 536870912,
"nano_cpus": 1000000000,
"health": "healthy",
"mounts": [
{
"type": "volume",
"target": "/var/lib/postgresql/data",
"name": "highload-lab5_postgres_data"
}
]
},
{
"id": "5d61bfdb800611d24818255e3f5d73f6e9298751f3215403af1b1e94101c7811",
"service": "dispatcher",
"image": "sha256:beb365003057e895e7e74a054f3318561578f6bb3c5654c1e24dce098673cb5a",
"status": "running",
"started": "2026-11-05T20:08:28.371512595Z",
"oom": false,
"memory": 134217728,
"nano_cpus": 250000000,
"health": null,
"mounts": [
{
"type": "bind",
"target": "/run/secrets/broker_url",
"name": null
},
{
"type": "bind",
"target": "/run/secrets/cache_url",
"name": null
},
{
"type": "bind",
"target": "/run/secrets/database_url",
"name": null
},
{
"type": "bind",
"target": "/run/secrets/s3_access_key_id",
"name": null
},
{
"type": "bind",
"target": "/run/secrets/s3_secret_access_key",
"name": null
}
]
},
{
"id": "aa7d89f14176b14ffa79ba8028559b87d7b459972993ffa501ca58d0c9dabc1c",
"service": "frontend",
"image": "sha256:a72eeee827aa837f9c6ed403e03fd31333ef8812302114e54497db01f4e20267",
"status": "running",
"started": "2026-11-05T19:59:58.7897928Z",
"oom": false,
"memory": 536870912,
"nano_cpus": 500000000,
"health": "healthy",
"mounts": [
{
"type": "bind",
"target": "/app",
"name": null
},
{
"type": "volume",
"target": "/app/node_modules",
"name": "e540205aca165c4190107cc53c993d4a34f8e19b22713a1308085765187c09b2"
}
]
},
{
"id": "28cac097166ca3754901ad5f84979d7662d1802ebbc42c6e1ecc3f07d00ac805",
"service": "haproxy",
"image": "sha256:5d97434a423c2533cfeb42874d45cf6d69a840b60334582dfbfd5008e94c80be",
"status": "running",
"started": "2026-11-05T19:59:55.39586346Z",
"oom": false,
"memory": 134217728,
"nano_cpus": 500000000,
"health": "healthy",
"mounts": [
{
"type": "bind",
"target": "/usr/local/etc/haproxy/haproxy.cfg",
"name": null
}
]
},
{
"id": "675e1299d220f18e1e28b006230b7bdcbaaf452a4f011b294690cc0f707a00ba",
"service": "migrate",
"image": "sha256:7463772f11d383993bfa8c236a94cce2041760959f37ce50b95c8d2aa6aa89ae",
"status": "exited",
"started": "2026-11-05T20:08:55.741273933Z",
"oom": false,
"memory": 134217728,
"nano_cpus": 500000000,
"health": "unhealthy",
"mounts": [
{
"type": "bind",
"target": "/run/secrets/database_url",
"name": null
}
]
},
{
"id": "871d12c2a01f079bf422c1d34ded972929ee0cd2ea59886470131b40cf526a09",
"service": "redis",
"image": "sha256:c6eabf748fc7a61dbb5a705c78bcf3d6377b1127a97d0ce965c11c44ba46896f",
"status": "running",
"started": "2026-11-05T20:07:59.186994777Z",
"oom": false,
"memory": 134217728,
"nano_cpus": 250000000,
"health": "healthy",
"mounts": [
{
"type": "volume",
"target": "/data",
"name": "highload-lab5_redis_data"
}
]
},
{
"id": "da1af7b42c55695ed50ec2c43457ad054139871494aa9f32448d031594caba66",
"service": "s3",
"image": "sha256:0f021ce7ef7226beee253f40702b236d98a7288587b351507a37859dc8bec44f",
"status": "running",
"started": "2026-11-05T20:07:59.479213753Z",
"oom": false,
"memory": 536870912,
"nano_cpus": 1000000000,
"health": "healthy",
"mounts": [
{
"type": "volume",
"target": "/data",
"name": "highload-lab5_s3_data"
},
{
"type": "bind",
"target": "/run/secrets/s3_access_key_id",
"name": null
},
{
"type": "bind",
"target": "/run/secrets/s3_secret_access_key",
"name": null
}
]
},
{
"id": "2a33ef13f98876df7812f90550bb6c5bb4ca3e787907aaa690f4afc1549a5dbd",
"service": "s3-bootstrap",
"image": "sha256:79ef7f3371714dcf10c85eeeeae1d57d9027de67dc819f59baffc4bed1a6ee09",
"status": "exited",
"started": "2026-11-05T20:08:55.387075683Z",
"oom": false,
"memory": 134217728,
"nano_cpus": 500000000,
"health": "unhealthy",
"mounts": [
{
"type": "bind",
"target": "/run/secrets/s3_access_key_id",
"name": null
},
{
"type": "bind",
"target": "/run/secrets/s3_root_access_key_id",
"name": null
},
{
"type": "bind",
"target": "/run/secrets/s3_root_secret_access_key",
"name": null
},
{
"type": "bind",
"target": "/run/secrets/s3_secret_access_key",
"name": null
}
]
},
{
"id": "713f3a5becf53ebbda08f07d19c73766cdafd9bc9cfcbaf694c96f4570857d65",
"service": "upload-cleanup",
"image": "sha256:d554daf7d5a2101d684a5b6467461aac07912fa191ab869235e4e10535d1bce4",
"status": "running",
"started": "2026-11-05T20:08:28.541815029Z",
"oom": false,
"memory": 134217728,
"nano_cpus": 250000000,
"health": null,
"mounts": [
{
"type": "bind",
"target": "/run/secrets/database_url",
"name": null
},
{
"type": "bind",
"target": "/run/secrets/s3_access_key_id",
"name": null
},
{
"type": "bind",
"target": "/run/secrets/s3_secret_access_key",
"name": null
}
]
},
{
"id": "f2e69fdce3287d85a2b1b08ddaced68f9a39139bb59fd6145008367195b2d81e",
"service": "worker",
"image": "sha256:38e303e47c7ba88a755dbaf0abcbd1eb0182e00bcca1aca66634bf8efed1ec9f",
"status": "running",
"started": "2026-11-05T20:08:28.217909645Z",
"oom": false,
"memory": 536870912,
"nano_cpus": 1000000000,
"health": null,
"mounts": [
{
"type": "bind",
"target": "/run/secrets/broker_url",
"name": null
},
{
"type": "bind",
"target": "/run/secrets/cache_url",
"name": null
},
{
"type": "bind",
"target": "/run/secrets/database_url",
"name": null
},
{
"type": "bind",
"target": "/run/secrets/s3_access_key_id",
"name": null
},
{
"type": "bind",
"target": "/run/secrets/s3_secret_access_key",
"name": null
}
]
}
]
````