ЛР 3 — БПИ2304 — Кирюпина — на 3

This commit is contained in:
SashaKirupina
2026-11-12 18:27:32 +03:00
parent 0ab3a341aa
commit 4b8abdf073
36 changed files with 1782 additions and 28 deletions
+524
View File
@@ -0,0 +1,524 @@
Image haproxy:3.0.12-alpine Pulling
4f4fb700ef54 Pulling fs layer 0B
014e56e61396 Pulling fs layer 0B
36b2d67b2251 Pulling fs layer 0B
b471f8e34c0c Pulling fs layer 0B
ca8574a1f7ef Pulling fs layer 0B
073a9f62df9f Pulling fs layer 0B
ddff05df3548 Download complete 0B
2979ead73fb0 Download complete 0B
4f4fb700ef54 Download complete 0B
36b2d67b2251 Downloading 1.049MB
36b2d67b2251 Downloading 1.049MB
36b2d67b2251 Downloading 1.049MB
36b2d67b2251 Downloading 1.049MB
36b2d67b2251 Downloading 1.049MB
36b2d67b2251 Downloading 1.049MB
36b2d67b2251 Downloading 1.049MB
b471f8e34c0c Download complete 0B
36b2d67b2251 Downloading 1.049MB
36b2d67b2251 Downloading 1.049MB
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 1.049MB
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 1.049MB
073a9f62df9f Download complete 0B
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 1.049MB
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 1.049MB
36b2d67b2251 Downloading 1.049MB
014e56e61396 Downloading 1.049MB
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 1.049MB
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 1.049MB
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 1.049MB
ca8574a1f7ef Download complete 0B
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 1.049MB
36b2d67b2251 Downloading 1.049MB
014e56e61396 Downloading 1.049MB
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 1.049MB
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 1.049MB
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 1.049MB
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 1.049MB
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 1.049MB
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 1.049MB
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 1.049MB
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 1.049MB
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 2.097MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 1.049MB
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 2.097MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 1.049MB
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 2.097MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 1.049MB
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 1.049MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 2.097MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 2.097MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 2.097MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 3.146MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 2.097MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 2.097MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 3.146MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 3.146MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 3.146MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 3.146MB
36b2d67b2251 Downloading 3.146MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 3.146MB
014e56e61396 Downloading 3.146MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 3.146MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 3.146MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 3.146MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 3.146MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 3.146MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 3.146MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 3.146MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 3.146MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 3.146MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 3.146MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 3.146MB
36b2d67b2251 Downloading 3.146MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 3.146MB
014e56e61396 Downloading 3.146MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 3.146MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 3.146MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 3.146MB
36b2d67b2251 Downloading 3.146MB
014e56e61396 Downloading 3.146MB
36b2d67b2251 Downloading 4.194MB
014e56e61396 Download complete 0B
36b2d67b2251 Downloading 4.194MB
014e56e61396 Extracting 1B
36b2d67b2251 Downloading 4.194MB
b471f8e34c0c Extracting 1B
014e56e61396 Pull complete 0B
36b2d67b2251 Downloading 4.194MB
b471f8e34c0c Extracting 1B
36b2d67b2251 Downloading 4.194MB
b471f8e34c0c Pull complete 0B
ca8574a1f7ef Pull complete 0B
36b2d67b2251 Downloading 4.194MB
36b2d67b2251 Downloading 4.194MB
36b2d67b2251 Downloading 4.194MB
36b2d67b2251 Downloading 4.194MB
36b2d67b2251 Downloading 4.194MB
36b2d67b2251 Downloading 4.194MB
36b2d67b2251 Downloading 4.194MB
36b2d67b2251 Downloading 4.194MB
36b2d67b2251 Downloading 4.194MB
36b2d67b2251 Downloading 4.194MB
36b2d67b2251 Downloading 4.194MB
36b2d67b2251 Downloading 4.194MB
36b2d67b2251 Downloading 4.194MB
36b2d67b2251 Downloading 4.194MB
36b2d67b2251 Downloading 4.194MB
36b2d67b2251 Downloading 4.194MB
36b2d67b2251 Downloading 4.194MB
36b2d67b2251 Downloading 4.194MB
36b2d67b2251 Downloading 4.194MB
36b2d67b2251 Downloading 4.194MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 5.243MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 6.291MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 7.34MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 8.389MB
36b2d67b2251 Downloading 9.437MB
36b2d67b2251 Downloading 9.437MB
36b2d67b2251 Downloading 9.437MB
36b2d67b2251 Downloading 9.437MB
36b2d67b2251 Downloading 9.437MB
36b2d67b2251 Download complete 0B
36b2d67b2251 Extracting 1B
073a9f62df9f Pull complete 0B
36b2d67b2251 Pull complete 0B
4f4fb700ef54 Pull complete 0B
Image haproxy:3.0.12-alpine Pulled
Image mtusi-messenger:lab3 Building
Image mtusi-messenger:lab3 Building
Image mtusi-messenger:lab3 Building
#1 [internal] load local bake definitions
#1 reading from stdin 1.77kB 0.0s done
#1 DONE 0.0s
#2 [migrate internal] load build definition from Dockerfile
#2 transferring dockerfile: 292B 0.0s done
#2 DONE 0.0s
#3 [migrate internal] load metadata for docker.io/library/node:22.20.0-alpine
#3 ...
#4 [auth] library/node:pull token for registry-1.docker.io
#4 DONE 0.0s
#3 [migrate internal] load metadata for docker.io/library/node:22.20.0-alpine
#3 DONE 6.2s
#5 [migrate internal] load .dockerignore
#5 transferring context: 196B done
#5 DONE 0.0s
#6 [api2 1/6] FROM docker.io/library/node:22.20.0-alpine@sha256:dbcedd8aeab47fbc0f4dd4bffa55b7c3c729a707875968d467aaaea42d6225af
#6 resolve docker.io/library/node:22.20.0-alpine@sha256:dbcedd8aeab47fbc0f4dd4bffa55b7c3c729a707875968d467aaaea42d6225af 0.0s done
#6 DONE 0.0s
#7 [migrate internal] load build context
#7 transferring context: 25.18kB 0.0s done
#7 DONE 0.1s
#8 [api2 2/6] WORKDIR /app
#8 CACHED
#8 [migrate 2/6] WORKDIR /app
#8 CACHED
#9 [migrate 3/6] COPY package.json package-lock.json ./
#9 DONE 0.1s
#10 [api1 4/6] RUN npm ci --omit=dev --ignore-scripts
#10 13.31 npm notice This endpoint is being retired. Use the bulk advisory endpoint instead. See the following docs for more info: https://api-docs.npmjs.com/#tag/Audit
#10 21.29
#10 21.29 added 14 packages in 21s
#10 21.29 npm notice
#10 21.29 npm notice New major version of npm available! 10.9.3 -> 12.2.2
#10 21.29 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.2.2
#10 21.29 npm notice To update run: npm install -g npm@12.2.2
#10 21.29 npm notice
#10 DONE 21.4s
#11 [migrate 5/6] COPY src/ ./src/
#11 DONE 0.1s
#11 [api1 5/6] COPY src/ ./src/
#11 DONE 0.1s
#12 [api1 6/6] COPY migrations/ ./migrations/
#12 DONE 0.0s
#13 [migrate] exporting to image
#13 exporting layers
#13 exporting layers 0.3s done
#13 exporting manifest sha256:880c37fd35d6cacd17e882a3db0cfb54baf855ab8bb286b8b909890b468d1009 0.0s done
#13 exporting config sha256:3481b13645a046cdb9fa7cf46c6b94d6cb4450fafc4b165db9944025357fa7a6 0.0s done
#13 exporting attestation manifest sha256:f2d286f830b220ed525b550431da8ed55097ca4e421d9d5cfc7f6e4d8c871e0e
#13 exporting attestation manifest sha256:f2d286f830b220ed525b550431da8ed55097ca4e421d9d5cfc7f6e4d8c871e0e 0.1s done
#13 exporting manifest list sha256:c5e764dc81ca25932f37377bf3f8658c16bc4ccad145f9c2feff0ff781821d40 0.0s done
#13 naming to docker.io/library/mtusi-messenger:lab3
#13 naming to docker.io/library/mtusi-messenger:lab3 0.0s done
#13 unpacking to docker.io/library/mtusi-messenger:lab3
#13 unpacking to docker.io/library/mtusi-messenger:lab3 0.3s done
#13 DONE 0.8s
#14 [api1] exporting to image
#14 exporting layers 0.3s done
#14 exporting manifest sha256:5faf207f69dbdaf55f7cc85f0ffe5a5c86c5e1115c851ccb78702997bdadd712 0.0s done
#14 exporting config sha256:2fb8c7dc0aba453b6f559e1c4cb17c84e5f45bb631b7e5e4941599cc9d50a991 0.0s done
#14 exporting attestation manifest sha256:63da079de8f0e8dfa1fd05d3c829fb57872f7e25e299b1a0befb3cdac12fc0fb 0.0s done
#14 exporting manifest list sha256:53942ae151825fbe86cc409053b95bbdfcbb04bd1348d77b165e2e350712cf1b 0.0s done
#14 naming to docker.io/library/mtusi-messenger:lab3 0.0s done
#14 unpacking to docker.io/library/mtusi-messenger:lab3 0.3s done
#14 DONE 0.8s
#15 [api2] exporting to image
#15 exporting layers 0.3s done
#15 exporting manifest sha256:e35152b49a06faaec3cd1aadfc290bfc9e8e599ace186f4418874732f8ed0f17 0.0s done
#15 exporting config sha256:86d8988d253aea9d1a741e2397356f1ca2b7547865e726acaa31837342f861c4 0.0s done
#15 exporting attestation manifest sha256:1aefc8c735afb16a68aa72fb26f426f96797185d09330bb1a8baa970c7cac520 0.1s done
#15 exporting manifest list sha256:1ade29bf01319978b3cac27e72a637f673fd6461bf8b8e5d0204baf5ceb06ecb 0.0s done
#15 naming to docker.io/library/mtusi-messenger:lab3 done
#15 unpacking to docker.io/library/mtusi-messenger:lab3 0.3s done
#15 DONE 0.8s
#16 [api1] resolving provenance for metadata file
#16 DONE 0.1s
#17 [api2] resolving provenance for metadata file
#17 DONE 0.1s
#18 [migrate] resolving provenance for metadata file
#18 DONE 0.0s
Image mtusi-messenger:lab3 Built
Image mtusi-messenger:lab3 Built
Image mtusi-messenger:lab3 Built
Network mtusi-lab3_default Creating
Volume mtusi-lab3_pgdata Creating
Volume mtusi-lab3_pgdata Creating
Network mtusi-lab3_default Creating
Volume mtusi-lab3_pgdata Created
Volume mtusi-lab3_pgdata Created
Network mtusi-lab3_default Created
Network mtusi-lab3_default Created
Container mtusi-lab3-db-1 Creating
Container mtusi-lab3-db-1 Created
Container mtusi-lab3-migrate-1 Creating
Container mtusi-lab3-migrate-1 Created
Container mtusi-lab3-api2-1 Creating
Container mtusi-lab3-api1-1 Creating
Container mtusi-lab3-api1-1 Created
Container mtusi-lab3-api2-1 Created
Container mtusi-lab3-lb-1 Creating
Container mtusi-lab3-lb-1 Created
Container mtusi-lab3-db-1 Starting
Container mtusi-lab3-db-1 Started
Container mtusi-lab3-db-1 Waiting
Container mtusi-lab3-db-1 Healthy
Container mtusi-lab3-migrate-1 Starting
Container mtusi-lab3-migrate-1 Started
Container mtusi-lab3-migrate-1 Waiting
Container mtusi-lab3-migrate-1 Waiting
Container mtusi-lab3-migrate-1 Exited
Container mtusi-lab3-migrate-1 Exited
Container mtusi-lab3-api2-1 Starting
Container mtusi-lab3-api1-1 Starting
Container mtusi-lab3-api2-1 Started
Container mtusi-lab3-api1-1 Started
Container mtusi-lab3-api1-1 Waiting
Container mtusi-lab3-api2-1 Waiting
Container mtusi-lab3-api2-1 Healthy
Container mtusi-lab3-api1-1 Healthy
Container mtusi-lab3-lb-1 Starting
Container mtusi-lab3-lb-1 Started
Container mtusi-lab3-lb-1 Waiting
Container mtusi-lab3-db-1 Waiting
Container mtusi-lab3-migrate-1 Waiting
Container mtusi-lab3-api1-1 Waiting
Container mtusi-lab3-api2-1 Waiting
Container mtusi-lab3-api1-1 Healthy
Container mtusi-lab3-db-1 Healthy
Container mtusi-lab3-api2-1 Healthy
Container mtusi-lab3-migrate-1 Exited
Container mtusi-lab3-lb-1 Healthy
+1
View File
@@ -0,0 +1 @@
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
+6
View File
@@ -0,0 +1,6 @@
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
mtusi-lab3-api1-1 mtusi-messenger:lab3 "docker-entrypoint.s…" api1 6 minutes ago Up 12 seconds (healthy) 8080/tcp
mtusi-lab3-api2-1 mtusi-messenger:lab3 "docker-entrypoint.s…" api2 6 minutes ago Up 2 seconds (healthy) 8080/tcp
mtusi-lab3-db-1 postgres:17.6-alpine "docker-entrypoint.s…" db 6 minutes ago Up 27 seconds (healthy) 5432/tcp
mtusi-lab3-lb-1 haproxy:3.0.12-alpine "docker-entrypoint.s…" lb 6 minutes ago Up 19 seconds 127.0.0.1:8080->8080/tcp
mtusi-lab3-migrate-1 mtusi-messenger:lab3 "docker-entrypoint.s…" migrate 6 minutes ago Exited (0) 6 minutes ago
+1
View File
@@ -0,0 +1 @@
PASS: public tests and contracts match the original archive.
+3
View File
@@ -0,0 +1,3 @@
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 8, "failed_attempts": 0, "first_recovery_seconds": 4.14}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
+1
View File
@@ -0,0 +1 @@
PASS: haproxy -c -f /usr/local/etc/haproxy/haproxy.cfg exited 0.
+2
View File
@@ -0,0 +1,2 @@
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
+74
View File
@@ -0,0 +1,74 @@
{
"before": [
{
"service": "api1",
"container": "7a544460999be0a492d470d5405eb7de664a6ba0d7c7e5f5b87380656b472f3f",
"running": true,
"started_at": "2026-11-12T15:02:57.540112271Z",
"finished_at": "2026-11-12T15:02:39.424279829Z",
"volumes": []
},
{
"service": "api2",
"container": "a48a69ce0119685403c3d0089606a65d50a0b6f60485f8e961c408887fb1ed9c",
"running": true,
"started_at": "2026-11-12T15:00:46.864284509Z",
"finished_at": "2026-11-12T15:00:41.716504689Z",
"volumes": []
},
{
"service": "db",
"container": "7d39044be1430f97c6720e95ecd4b6034b61eb0108e2b7b6629228bdbff7b484",
"running": true,
"started_at": "2026-11-12T15:00:42.702643922Z",
"finished_at": "2026-11-12T15:00:42.068900714Z",
"volumes": [
"mtusi-lab3_pgdata"
]
},
{
"service": "lb",
"container": "f5840cdd4baf2941b8a5ea95a7d957a455d7384ae052499e1b9ad4ba12f3558a",
"running": true,
"started_at": "2026-11-12T15:00:49.93880892Z",
"finished_at": "2026-11-12T15:00:41.399576651Z",
"volumes": []
}
],
"after": [
{
"service": "api1",
"container": "7a544460999be0a492d470d5405eb7de664a6ba0d7c7e5f5b87380656b472f3f",
"running": true,
"started_at": "2026-11-12T15:03:07.279571304Z",
"finished_at": "2026-11-12T15:03:02.323870408Z",
"volumes": []
},
{
"service": "api2",
"container": "a48a69ce0119685403c3d0089606a65d50a0b6f60485f8e961c408887fb1ed9c",
"running": true,
"started_at": "2026-11-12T15:03:07.44111824Z",
"finished_at": "2026-11-12T15:03:02.326250394Z",
"volumes": []
},
{
"service": "db",
"container": "7d39044be1430f97c6720e95ecd4b6034b61eb0108e2b7b6629228bdbff7b484",
"running": true,
"started_at": "2026-11-12T15:03:03.311328241Z",
"finished_at": "2026-11-12T15:03:02.656514582Z",
"volumes": [
"mtusi-lab3_pgdata"
]
},
{
"service": "lb",
"container": "f5840cdd4baf2941b8a5ea95a7d957a455d7384ae052499e1b9ad4ba12f3558a",
"running": true,
"started_at": "2026-11-12T15:03:10.519232292Z",
"finished_at": "2026-11-12T15:03:01.984133405Z",
"volumes": []
}
]
}
+1
View File
@@ -0,0 +1 @@
PASS: lab3 public API scenario; infrastructure and grading evidence remain separate.
+76
View File
@@ -0,0 +1,76 @@
{
"target_instance": "21af9ca5-df7b-4c67-80fa-ab17dca13711",
"selected_service": "api1",
"before": [
{
"service": "api1",
"container": "7a544460999be0a492d470d5405eb7de664a6ba0d7c7e5f5b87380656b472f3f",
"running": true,
"started_at": "2026-11-12T15:03:07.279571304Z",
"finished_at": "2026-11-12T15:03:02.323870408Z",
"volumes": []
},
{
"service": "api2",
"container": "a48a69ce0119685403c3d0089606a65d50a0b6f60485f8e961c408887fb1ed9c",
"running": true,
"started_at": "2026-11-12T15:03:07.44111824Z",
"finished_at": "2026-11-12T15:03:02.326250394Z",
"volumes": []
},
{
"service": "db",
"container": "7d39044be1430f97c6720e95ecd4b6034b61eb0108e2b7b6629228bdbff7b484",
"running": true,
"started_at": "2026-11-12T15:03:03.311328241Z",
"finished_at": "2026-11-12T15:03:02.656514582Z",
"volumes": [
"mtusi-lab3_pgdata"
]
},
{
"service": "lb",
"container": "f5840cdd4baf2941b8a5ea95a7d957a455d7384ae052499e1b9ad4ba12f3558a",
"running": true,
"started_at": "2026-11-12T15:03:10.519232292Z",
"finished_at": "2026-11-12T15:03:01.984133405Z",
"volumes": []
}
],
"after": [
{
"service": "api1",
"container": "7a544460999be0a492d470d5405eb7de664a6ba0d7c7e5f5b87380656b472f3f",
"running": false,
"started_at": "2026-11-12T15:03:07.279571304Z",
"finished_at": "2026-11-12T15:03:13.382026213Z",
"volumes": []
},
{
"service": "api2",
"container": "a48a69ce0119685403c3d0089606a65d50a0b6f60485f8e961c408887fb1ed9c",
"running": true,
"started_at": "2026-11-12T15:03:07.44111824Z",
"finished_at": "2026-11-12T15:03:02.326250394Z",
"volumes": []
},
{
"service": "db",
"container": "7d39044be1430f97c6720e95ecd4b6034b61eb0108e2b7b6629228bdbff7b484",
"running": true,
"started_at": "2026-11-12T15:03:03.311328241Z",
"finished_at": "2026-11-12T15:03:02.656514582Z",
"volumes": [
"mtusi-lab3_pgdata"
]
},
{
"service": "lb",
"container": "f5840cdd4baf2941b8a5ea95a7d957a455d7384ae052499e1b9ad4ba12f3558a",
"running": true,
"started_at": "2026-11-12T15:03:10.519232292Z",
"finished_at": "2026-11-12T15:03:01.984133405Z",
"volumes": []
}
]
}
+76
View File
@@ -0,0 +1,76 @@
{
"target_instance": "f50c3850-ddde-4ce7-99a1-5ebc59143608",
"selected_service": "api2",
"before": [
{
"service": "api1",
"container": "7a544460999be0a492d470d5405eb7de664a6ba0d7c7e5f5b87380656b472f3f",
"running": true,
"started_at": "2026-11-12T15:03:17.945077862Z",
"finished_at": "2026-11-12T15:03:13.382026213Z",
"volumes": []
},
{
"service": "api2",
"container": "a48a69ce0119685403c3d0089606a65d50a0b6f60485f8e961c408887fb1ed9c",
"running": true,
"started_at": "2026-11-12T15:03:07.44111824Z",
"finished_at": "2026-11-12T15:03:02.326250394Z",
"volumes": []
},
{
"service": "db",
"container": "7d39044be1430f97c6720e95ecd4b6034b61eb0108e2b7b6629228bdbff7b484",
"running": true,
"started_at": "2026-11-12T15:03:03.311328241Z",
"finished_at": "2026-11-12T15:03:02.656514582Z",
"volumes": [
"mtusi-lab3_pgdata"
]
},
{
"service": "lb",
"container": "f5840cdd4baf2941b8a5ea95a7d957a455d7384ae052499e1b9ad4ba12f3558a",
"running": true,
"started_at": "2026-11-12T15:03:10.519232292Z",
"finished_at": "2026-11-12T15:03:01.984133405Z",
"volumes": []
}
],
"after": [
{
"service": "api1",
"container": "7a544460999be0a492d470d5405eb7de664a6ba0d7c7e5f5b87380656b472f3f",
"running": true,
"started_at": "2026-11-12T15:03:17.945077862Z",
"finished_at": "2026-11-12T15:03:13.382026213Z",
"volumes": []
},
{
"service": "api2",
"container": "a48a69ce0119685403c3d0089606a65d50a0b6f60485f8e961c408887fb1ed9c",
"running": false,
"started_at": "2026-11-12T15:03:07.44111824Z",
"finished_at": "2026-11-12T15:03:22.913342968Z",
"volumes": []
},
{
"service": "db",
"container": "7d39044be1430f97c6720e95ecd4b6034b61eb0108e2b7b6629228bdbff7b484",
"running": true,
"started_at": "2026-11-12T15:03:03.311328241Z",
"finished_at": "2026-11-12T15:03:02.656514582Z",
"volumes": [
"mtusi-lab3_pgdata"
]
},
{
"service": "lb",
"container": "f5840cdd4baf2941b8a5ea95a7d957a455d7384ae052499e1b9ad4ba12f3558a",
"running": true,
"started_at": "2026-11-12T15:03:10.519232292Z",
"finished_at": "2026-11-12T15:03:01.984133405Z",
"volumes": []
}
]
}
+1
View File
@@ -0,0 +1 @@
PASS: migrations repeat without data changes; 24-hour retention; conflict inserts no duplicate; expired key may be reused without deleting old message; FK failure leaves no idempotency result.
+6
View File
@@ -0,0 +1,6 @@
PASS: one session on 2 replicas; 16 concurrent same-key requests across both yield 1 message; changed payload=409; user/chat scope isolated; invalid request does not consume key.
PASS: full restart preserves session, signed cursor and idempotency response.
{"stopped":"api1","recovery_ms":5496,"transient_failures":3,"confirmed_messages_preserved":true}
{"stopped":"api2","recovery_ms":5930,"transient_failures":3,"confirmed_messages_preserved":true}
PASS: either replica can stop; surviving replica reads, writes and replays without duplicates. Both replicas restored.
PASS: replay after logout cannot bypass authentication.