Files
mtusi2026lab6-fork/evidence/evidence.txt
T
2026-11-21 00:02:11 +03:00

68 lines
4.3 KiB
Plaintext

thereal_alyoname@DESKTOP-8Q26HPT:/mnt/c/Users/User/Desktop/MTUCI/4_course/highload_apps/lab6/mtusi2026lab6-fork$
make check && make validate
python3 scripts/check_contract.py
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
python3 scripts/validate_openapi.py
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
thereal_alyoname@DESKTOP-8Q26HPT:/mnt/c/Users/User/Desktop/MTUCI/4_course/highload_apps/lab6/mtusi2026lab6-fork$
thereal_alyoname@DESKTOP-8Q26HPT:/mnt/c/Users/User/Desktop/MTUCI/4_course/highload_apps/lab6/mtusi2026lab6-fork$
docker compose --env-file .env config --quiet
thereal_alyoname@DESKTOP-8Q26HPT:/mnt/c/Users/User/Desktop/MTUCI/4_course/highload_apps/lab6/mtusi2026lab6-fork$
User@DESKTOP-8Q26HPT MINGW64 ~/Desktop/MTUCI/4_course/highload_apps/lab6/mtusi2026lab6-fork (solution/bvt2302-mironov)
$ docker compose --env-file .env up --build
[+] Running 28/28
✔ loki Pulled 41.0s
✔ prometheus Pulled 106.1s
✔ otel-collector Pulled 119.1s
✔ tempo Pulled 25.7s
✔ grafana Pulled 166.1s
[+] Building 87.0s (8/12) docker:desktop-linux
=> => resolve docker.io/library/python:3.12.11-slim-bookworm@sha256:519591d6871b7bc437060736b9f7 0.1s
=> CACHED [migrate 2/8] WORKDIR /app 0.0s
=> CACHED [migrate 3/8] RUN addgroup --system app && adduser --system --ingroup app app 0.0s
=> [migrate 4/8] COPY requirements.txt ./requirements.txt 0.0s
=> [migrate 5/8] RUN python -m pip install --no-cache-dir -r requirements.txt 81.5s
=> => # Downloading opentelemetry_semantic_conventions-0.66b1-py3-none-any.whl (206 kB)
=> => # Downloading opentelemetry_util_http-0.66b1-py3-none-any.whl (8.4 kB)
=> => # Downloading psycopg_binary-3.2.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4
=> => # .4 MB)
=> => # ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.4/4.4 MB 1.4 MB/s eta 0:00:00
=> => # Downloading botocore-1.40.76-py3-none-any.whl (14.2 MB)
thereal_alyoname@DESKTOP-8Q26HPT:/mnt/c/Users/User/Desktop/MTUCI/4_course/highload_apps/lab6/mtusi2026lab6-fork$
until curl -fs http://localhost:8080/health/ready; do sleep 2; done
{"status":"ok"}thereal_alyoname@DESKTOP-8Q26HPT:/mnt/c/Users/User/Desktop/MTUCI/4_course/highload_apps/lab6/mtusi2026lab6-fork$
thereal_alyoname@DESKTOP-8Q26HPT:/mnt/c/Users/User/Desktop/MTUCI/4_course/highload_apps/lab6/mtusi2026lab6-fork$
make test
python3 tests/smoke.py --base-url "http://localhost:8080"
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
thereal_alyoname@DESKTOP-8Q26HPT:/mnt/c/Users/User/Desktop/MTUCI/4_course/highload_apps/lab6/mtusi2026lab6-fork$
thereal_alyoname@DESKTOP-8Q26HPT:/mnt/c/Users/User/Desktop/MTUCI/4_course/highload_apps/lab6/mtusi2026lab6-fork$
python3 tests/load.py --duration 30 --concurrency 4 --output evidence/load.json
{
"lab": 6,
"workload": "closed-loop POST messages; no automatic retries",
"requested_duration_seconds": 30.0,
"elapsed_seconds": 30.078,
"concurrency": 4,
"successful_requests": 1278,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 42.49,
"successful_latency_ms": {
"p50": 69.861,
"p95": 236.929,
"p99": 397.268
},
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
}
thereal_alyoname@DESKTOP-8Q26HPT:/mnt/c/Users/User/Desktop/MTUCI/4_course/highload_apps/lab6/mtusi2026lab6-fork$