Author SHA1 Message Date
kittsune f7e3e72056 lab6 2026-10-30 21:38:40 +03:00
149 changed files with 417010 additions and 29 deletions
+2
View File
@@ -18,3 +18,5 @@ __pycache__
node_modules
evidence
.DS_Store
.secrets
+30 -14
View File
@@ -1,18 +1,34 @@
## Лабораторная 6
Автор / группа: TODO
Целевая оценка (3/4/5): TODO
Трек 5, если заявлен: TODO
Автор / группа: Максим Шептунов, БВТ2301, kittsune.
Целевая оценка: 5. Трек 2 — SLO и обнаружение инцидентов.
Что реализовано и что перенесено: TODO
Команды запуска из чистого clone: TODO
Результаты проверок и ссылка на REPORT.md: TODO
Ограничения / известные ошибки: TODO
Источники и использование ИИ: TODO
К рабочему мессенджеру lab5 добавлены ручной OTel SDK API/worker,
durable W3C trace context через outbox/Redis Streams, Collector,
Prometheus/Loki/Tempo, Grafana provisioning с dashboard и multiwindow burn alerts.
API остаётся совместимым. Конфиги, ограничения и инструкции — [REPORT.md](../REPORT.md).
- [ ] Весь обязательный минимум текущей и предыдущих работ сохранён с объявленными переходами.
- [ ] Контракт и публичные тесты не ослаблены.
- [ ] make check и make test выполнены; приложен реальный вывод.
- [ ] Сценарии отказов/безопасности своего уровня воспроизведены.
- [ ] Все секреты и приватные ключи находятся вне Git; отчёт не содержит tokens.
- [ ] README задания сохранён, REPORT.md содержит инструкцию именно моего решения.
Запуск в WSL: venv и requirements-dev/requirements-experiment,
make setup, make start, make ready. API localhost:8086, Grafana localhost:3006.
Полный порядок и safe shutdown — REPORT.md. Secrets генерируются локально.
Проверки: check/validate, публичный smoke/persistence/API failover,
собственные API/гонки/идемпотентность/rollback/files/variants, два SLO-повтора,
Tempo outage и отдельный verified retry. Audit evidence: 31/31 PASS.
4 317 client requests, 0 budget-page samples на baseline/коротких всплесках.
Реальные stdout/JSON/PNG/SVG — evidence; первоначальные ошибки сохранены.
Ограничения: один host и одиночные stateful backends, короткие учебные SLO-окна,
два controlled repetitions. Потери telemetry измерены и не объявляются нулевыми.
После основной серии увеличены лимиты Tempo для надёжного чтения; эти этапы
в отчёте разделены. Исходники lab5 не изменены; старые Docker-данные удалены
только по отдельной просьбе пользователя. Commit/push/PR ещё не выполнены.
Источники и помощь Codex перечислены в REPORT.md.
- [x] Обязательный минимум сохранён.
- [x] Контракт и публичные tests не ослаблены.
- [x] make check / validate / test выполнены.
- [x] Отказы уровня 4 и трек 2 воспроизведены с raw evidence.
- [x] Secrets находятся вне Git; их literal scan пройден.
- [x] README задания сохранён, REPORT.md содержит запуск и runbook.
+2
View File
@@ -30,3 +30,5 @@ coverage/
.vscode/
# Keep small, sanitized evidence summaries in evidence/ under version control.
# Inspect git diff --cached: ignore rules are not a secret scanner.
.secrets/
+30
View File
@@ -0,0 +1,30 @@
FROM python:3.12.10-slim-bookworm
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
APP_HOST=0.0.0.0 \
APP_PORT=8080
WORKDIR /app
COPY requirements.txt requirements.runtime.lock ./
RUN pip install --no-cache-dir --requirement requirements.runtime.lock \
&& groupadd --system --gid 10001 app \
&& useradd --system --uid 10001 --gid app --home-dir /nonexistent --shell /usr/sbin/nologin app
COPY --chown=app:app src ./src
COPY --chown=app:app migrations ./migrations
COPY --chown=app:app scripts ./scripts
COPY --chown=app:app student-tests ./student-tests
COPY --chown=app:app tests ./tests
COPY --chown=app:app contracts ./contracts
COPY --chown=app:app lab.json ./lab.json
RUN mkdir -p evidence && chown app:app evidence
USER 10001:10001
EXPOSE 8080
HEALTHCHECK --interval=10s --timeout=3s --start-period=3s --retries=3 \
CMD ["python", "/app/scripts/healthcheck.py"]
CMD ["sh", "-c", "exec uvicorn src.main:app --host \"${APP_HOST}\" --port \"${APP_PORT}\" --workers 1 --timeout-graceful-shutdown 8"]
+28 -1
View File
@@ -1,5 +1,5 @@
PYTHON ?= python3
BASE_URL ?= http://localhost:8080
BASE_URL ?= http://localhost:8086
CA_FILE ?=
ACTION_SCRIPT ?=
TLS_ARGS = $(if $(CA_FILE),--ca-file "$(CA_FILE)",)
@@ -28,3 +28,30 @@ test-persistence:
test-failover:
@test -n "$(ACTION_SCRIPT)" || (echo "Set ACTION_SCRIPT to your implemented executable stop-one hook"; exit 2)
$(PYTHON) tests/resilience.py --mode failover --action-script "$(ACTION_SCRIPT)" --base-url "$(BASE_URL)" $(TLS_ARGS)
setup:
bash scripts/setup.sh
start:
bash scripts/start.sh
ready:
BASE_URL="$(BASE_URL)" $(PYTHON) scripts/stack.py wait --count 2
student-checks:
$(PYTHON) student-tests/test_api.py --base-url "$(BASE_URL)"
$(PYTHON) student-tests/checks.py --base-url "$(BASE_URL)"
$(PYTHON) student-tests/idempotency.py --base-url "$(BASE_URL)"
docker compose exec -T api python student-tests/database.py
test-files:
$(PYTHON) student-tests/attachments.py --base-url "$(BASE_URL)"
test-variants:
$(PYTHON) student-tests/variants.py --base-url "$(BASE_URL)"
observability:
$(PYTHON) scripts/observe_experiment.py
$(PYTHON) scripts/retry_trace.py
$(PYTHON) scripts/recover_observations.py
stop:
docker compose down
test-dependencies:
BASE_URL="$(BASE_URL)" $(PYTHON) student-tests/dependencies.py
.PHONY: setup start ready student-checks test-files test-variants observability stop test-dependencies
+505 -14
View File
@@ -1,37 +1,528 @@
# Отчёт — лабораторная 6
- Автор, группа: TODO
- Целевая оценка; выбранный трек 5, если нужен: TODO
- Commit/PR: TODO после публикации
- Использованные источники, библиотеки и помощь ИИ: TODO
- Автор, группа: Максим Шептунов, БВТ2301
- Целевая оценка; выбранный трек 5, если нужен: 5; трек 2 — SLO и обнаружение инцидентов.
- Commit/PR: TODO.
- Использованные источники, библиотеки и помощь ИИ: [задание и skeleton](https://gitea.privcloud.tech/kittsune/mtusi2026lab6), собственная реализация lab5; Python, FastAPI, psycopg, Pillow, OpenTelemetry (версии ниже); [OTel Python instrumentation](https://opentelemetry.io/docs/languages/python/instrumentation/), [Collector resiliency](https://opentelemetry.io/docs/collector/resiliency/), [Loki OTLP ingestion](https://grafana.com/docs/loki/latest/send-data/otel/), [Prometheus histograms](https://prometheus.io/docs/practices/histograms/), [Google SRE: Alerting on SLOs](https://sre.google/workbook/alerting-on-slos/), [Collector 0.123.0 file storage](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/v0.123.0/extension/storage/filestorage/config.go). ИИ использован для анализа skeleton, переноса, инструментации, конфигурации, исследовательских scripts, диагностики и подготовки отчёта. Измерения получены реальным запуском.
## Запуск из чистого clone
TODO: версии runtime/образов, prerequisites, команды создания локальных secrets/.env, build, миграций, запуска, ожидания готовности, тестов и остановки. Указать необходимые действия оператора. Не вставлять секреты. Отдельно указать безопасную остановку и команду намеренного удаления учебных данных.
WSL Ubuntu 22.04, Python 3.10+, Docker Desktop с WSL integration,
Compose v2. Все команды — в `~/visotka/mtusi2026lab6`.
Нужны свободные локальные порты и минимум 2 GiB свободного места на C: во время опыта.
```bash
python3 -m venv .venv
.venv/bin/pip install -r requirements-dev.txt -r requirements-experiment.txt
chmod +x scripts/*.sh
make setup
docker compose config --quiet
make start
make ready PYTHON=.venv/bin/python
make check validate test PYTHON=.venv/bin/python
make student-checks test-files test-variants PYTHON=.venv/bin/python
make test-persistence ACTION_SCRIPT=scripts/restart.sh PYTHON=.venv/bin/python
make test-failover ACTION_SCRIPT=scripts/stop-one.sh PYTHON=.venv/bin/python
bash scripts/restore-api.sh
make ready PYTHON=.venv/bin/python
make observability PYTHON=.venv/bin/python
.venv/bin/python scripts/audit_observability.py
.venv/bin/python scripts/plot_observability.py
```
Отказы запускать последовательно. Эксперимент по умолчанию делает два повтора;
данные и логи создаются в evidence. Генератор остановит свой стенд, если свободного
места на C: станет меньше 2 GiB. Повторная серия заменяет одноимённые evidence:
нужные предыдущие результаты следует предварительно сохранить отдельно.
`make setup` создаёт локальные случайные credentials в `.secrets/` и настройки
`.env`, существующие пароли сохраняет. Secrets не печатаются и не входят в Git.
Grafana: пользователь `admin`, пароль оператор читает локально из
`.secrets/grafana_password`. В evidence его нет.
API через LB — http://localhost:8086, Grafana — http://localhost:3006/d/lab6.
Только на loopback доступны query API Prometheus:9096, Loki:3106, Tempo:3206.
API-реплики, PostgreSQL, Redis, MinIO и OTLP наружу не опубликованы.
Порт 8086 выбран для сосуществования с предыдущими лабами; tests используют BASE_URL.
При старте `migrate` применяет версионированные миграции, `s3-bootstrap` создаёт
приватный bucket и ограниченную policy. Exit 0 этих сервисов штатный.
LB ждёт readiness обеих API. Readiness требует PostgreSQL и S3, cache имеет fallback.
Worker/Collector/Grafana не являются критической зависимостью записи сообщений.
Безопасная остановка: `docker compose down` без `-v`.
Намеренный сброс данных **только этого проекта**: `docker compose down --volumes`.
При проверках lab6 сброс не выполнялся. После аварийной остановки пользователь
отдельно разрешил удалить Docker-данные предыдущих лабораторных и уплотнить
Docker VHD; исходники прежних работ и volumes lab6 сохранены.
**Версии runtime и образов**
Приложение: Python 3.12.10, FastAPI 0.115.12, psycopg 3.2.9, Pillow 12.0.0.
OTel API/SDK/HTTP exporter 1.38.0, semantic conventions package 0.59b0.
Полный runtime закреплён в requirements.runtime.lock, Dockerfile устанавливает его.
| Компонент | Закреплённая версия |
| --- | --- |
| API/worker/dispatcher/reconciler | mtusi2026lab6-app:1, сборка Dockerfile |
| PostgreSQL | postgres:16.9-bookworm |
| cache и broker | redis:7.4.3-bookworm, разные процессы/volumes |
| HAProxy | haproxy:3.0.11-bookworm |
| MinIO / mc | RELEASE.2025-04-22T22-12-26Z / RELEASE.2025-04-16T18-13-26Z, SHA-256 в Compose |
| Collector contrib | 0.123.0 |
| Prometheus / Loki / Tempo | v3.2.1 / 3.4.2 / 2.7.2 |
| Grafana | 11.6.0-ubuntu |
## Архитектура и решения
TODO: схема процессов/хранилищ, источник истины, транзакционные границы, ограничения. Что перенесено из lab5, что изменено в этой работе. Соответствие переменных из .env.example реальной конфигурации.
Основа skeleton: `470d9d6f1e4fe4f594e37c2ba59550ee5ca54fc1`; локальный HEAD совпадал с origin при начале работы.
Из собственной lab5 перенесены две API за HAProxy, PostgreSQL/сессии, cache
fallback, общая идемпотентность и cursor, приватный S3, durable staging,
transactional outbox, Redis Streams с AOF, dispatcher/worker, lease/fencing,
reconciler и три варианта изображения. Перенесены операторские scripts и
собственные student-tests. Контракты, публичные tests и README взяты из lab6
без ослабления. Lab5 не редактировалась; исходные хеши — lab5_baseline.json.
Добавлены ручная OTel-инструментация, миграция 005 с traceparent/tracestate,
Collector и хранилища трёх сигналов, Grafana provisioning/dashboard,
SLO recording/alert rules и исследовательские scripts.
Собственная проверка миграций из lab5 ожидала четыре файла; теперь она проверяет
точный набор пяти имён. Это student-tests, а не публичные tests skeleton.
```mermaid
flowchart LR
C[HTTP clients] --> LB[HAProxy]
LB --> A[API x2]
A --> PG[(PostgreSQL: sessions / metadata / jobs / outbox)]
A --> S3[(Private MinIO)]
D[Dispatcher] --> PG
D --> B[(Redis Streams + AOF)]
B --> W[Worker]
W --> PG
W --> S3
A -->|OTLP HTTP| O[Collector]
D -->|OTLP HTTP| O
W -->|OTLP HTTP| O
O --> P[(Prometheus)]
O --> L[(Loki)]
O --> T[(Tempo)]
G[Grafana] --> P
G --> L
G --> T
```
PostgreSQL — источник истины для пользователей, сессий, сообщений, jobs/outbox.
S3 хранит bytes. Broker доставляет at-least-once; cache не хранит единственную
копию сессии. Upload отвечает 202 queued после полного durable staging и
COMMIT attachment/job/outbox. Resize выполняется отдельным worker.
Ready означает сохранение original/thumbnail/crop/optimized и публикацию метаданных.
Ack — после устойчивого результата. Сохранены защита от дублей, advisory lock,
lease token и условная публикация текущей pipeline version; это не exactly-once delivery.
Prometheus хранит метрики и исполняет rules, Loki хранит структурные логи,
Tempo — traces, Grafana запрашивает эти источники. Collector принимает/пакетирует/
экспортирует OTLP и не заменяет долговременную БД. У backend и Grafana отдельные
persistent volumes; у Collector — ограниченные persistent exporter queues.
Retention Prometheus/Loki/Tempo — 48 часов. Docker logging ограничен по размеру.
**Соответствие .env.example реальной конфигурации**
APP_HOST=0.0.0.0 внутри контейнера;
APP_PORT в локальном .env задаёт порт LB (8086), внутренний порт API — 8080.
APP_ENV/OTEL_RESOURCE_ATTRIBUTES реализованы явным deployment.environment.name=lab.
API_REPLICAS — фиксированный scale:2; SESSION_STORE=postgres,
SESSION_TTL_SECONDS=3600. CACHE_URL задаётся внутренним адресом cache без
публичного порта; setting поддерживает также суффикс _FILE.
IDEMPOTENCY_TTL_SECONDS в интерфейсе — фиксированные 24 часа контракта.
S3_ENDPOINT/REGION/BUCKET и *_FILE подключены через Compose/secrets.
Лимиты upload 10 MiB/40 млн pixels сохранены. BROKER_URL_FILE указывает
отдельный durable broker. WORKER_CONCURRENCY=1, JOB_MAX_ATTEMPTS=5,
JOB_TIMEOUT_SECONDS=30, JOB_LEASE_SECONDS=15, retention staging=86400.
OTLP HTTP/protobuf endpoint — http://collector:4318, service.name различается
по процессам. Отправка трёх сигналов включена по умолчанию.
**Инструментация и приватность**
src/telemetry.py использует OTel SDK. ASGI SERVER span охватывает HTTP;
DB spans — pool.acquire/execute/commit; S3 CLIENT spans — операции storage;
PRODUCER span — фактический XADD; CONSUMER — фактическая попытка worker.
Ошибки получают status ERROR и имя класса, без SQL/exception message/stack trace.
Первый enqueue сохраняет W3C traceparent/tracestate в jobs в той же транзакции.
Dispatcher извлекает контекст, открывает producer span и инжектирует carrier
в JSON поля сообщения Streams `job`. Consumer извлекает carrier перед
обработкой и является дочерним span producer. При retry job_id и исходный
HTTP context сохраняются, попытки получают отдельные producer/consumer spans
в одном trace. Это работает и после перезапуска API/dispatcher.
X-Trace-Id — диагностическое расширение. X-Request-Id остаётся отдельным
идентификатором запроса и связывает ответ/ошибку со структурным логом.
Resource: service.name=messenger-api / messenger-worker / messenger-dispatcher /
messenger-reconciler; service.version=6.0.0; service.instance.id=hostname
контейнера; deployment.environment.name=lab.
Логи содержат timestamp, severity, service.name, event, trace_id, span_id,
а HTTP log — request_id. Для синтетических данных в traces/logs допустимы
технические job/request IDs, необходимые для корреляции.
Metric labels ограничены method/route template/status_class либо
job_type/outcome и низкокардинальными ресурсами.
Нет user_id/chat_id/message_id/attachment_id/request_id/raw URL/filename/text.
Не экспортируются Authorization, session token/password, message body,
object keys, signed URL и image bytes. Исключения не записывают SQL.
Генератор до сохранения выгрузок проверяет отсутствие своего synthetic
token/password/body в Loki logs и Tempo traces.
**Сигналы и dashboard**
Provisioning: infra/otel/grafana/provisioning; импортируемый JSON:
infra/otel/grafana/dashboards/lab6.json. В Grafana автоматически создаются
Prometheus/Loki/Tempo и dashboard из 16 панелей, включая переход log → trace.
Конфиги backend/Collector/rules лежат в infra/otel.
| Сигнал | Реальная серия Prometheus | Единица и семантика |
| --- | --- | --- |
| HTTP requests | app_http_requests_total | завершённые бизнес-запросы |
| HTTP duration | app_http_duration_seconds_bucket/count/sum | секунды |
| Jobs outcome | jobs_processed_total | попытки: ready/retry/failed/error/ignored |
| Job duration | job_duration_seconds_bucket | секунды попытки, без ожидания backlog |
| Time to ready | attachment_ready_seconds_bucket | создание durable job → ready COMMIT, секунды |
| Queue depth | queue_depth | durable queued+processing, включая outbox и retry |
| Oldest age | queue_oldest_age_seconds | возраст самой старой unfinished job |
| Pool | db_pool_used / db_pool_waiting | занятые соединения / ожидающие клиенты |
| Saturation | worker_busy / worker_capacity | занятые consumer slots / capacity |
| Process CPU/RAM | process_cpu_seconds / process_memory_bytes | накопленное CPU время / RSS high water в байтах |
| Ready cohorts | ready_deadline_jobs_total / ready_deadline_missed_total | durable абсолютные DB counters |
| Validity | queue_probe_ok_ratio | 1 — свежий DB probe, 0 — last-known queue значения |
Depth не равен XLEN: Streams содержит подтверждённую историю.
При probe=0 нельзя считать последнее значение очереди свежим.
RAM приложения — high water; текущую память/CPU контейнера показывает Docker stats.
Список фактических имён — evidence/metric_names.json.
RPS: `sum(rate(app_http_requests_total[1m]))`.
5xx ratio: 5xx / все завершённые бизнес-запросы, health исключён.
Неверный пароль/другие 4xx не входят в numerator.
Это SLI HTTP handler; сетевые ошибки до API и ответы самого LB в него не входят.
Клиентский генератор считает такие ошибки отдельно.
Percentile агрегируется по buckets всех реплик:
```promql
histogram_quantile(0.95,
sum by(le)(rate(app_http_duration_seconds_bucket[1m])))
```
Аналогично p50/p99. Средние p95 реплик не усредняются.
Buckets в секундах: .005, .01, .025, .05, .1, .25, .5, 1, 2, 5, 10, 30,
60, 120, +Inf. Клиентские p50/p95/p99 вычислены по raw successful HTTP latency;
они отличаются от bucket interpolation и не включают ошибки.
**SLI/SLO и alerts**
Локальные SLO в rolling window 5 минут:
**99% business HTTP без 5xx** и **99% durable uploads ready не позднее 10s**.
Tiny fixture при свободном worker обрабатывается значительно быстрее 10s;
это учебный бюджет, не production SLA. Контрактный smoke budget 60s отдельный.
Гистограмма только завершённых файлов скрывает зависшие задания.
Поэтому ready SLI использует когорты jobs с возрастом минимум 10s.
Missed = status != ready либо persisted ready timestamp позже created_at+10s.
Dispatcher читает абсолютные счётчики из PostgreSQL; rate этих counters
в окне даёт долю пропущенных deadline. Позднее ready не делает нарушение успешным.
Queued/failed тоже учитываются.
Начало измерения — jobs.created_at внутри acceptance-транзакции; поэтому
включён короткий остаток до её COMMIT. Передача HTTP и staging до создания job
в эту метрику не входят. Клиентское observed-ready после 202 — отдельная верхняя
оценка с polling; её нельзя приравнивать к точному ready COMMIT. В серии не выполнялись административные
replay/version changes когорт; для production лучше отдельная неизменяемая
таблица SLI и определённый retention.
Burn rate = bad_ratio / 0.01.
Rules в infra/otel/recording.yaml и alerts.yaml:
| Alert | Условие | for |
| --- | --- | --- |
| APIHighErrorRate | 5xx ratio >5% за 30s | 10s |
| QueueLagGrowing | oldest >15s и depth >0 | 10s |
| APIErrorBudgetBurnFast | burn >14.4 в 30s **и** 2m | 10s |
| APIErrorBudgetBurnSlow | burn >6 в 1m **и** 5m | 20s |
| ReadyErrorBudgetBurn | burn >14.4 в 30s **и** 2m, новая cohort ненулевая | 10s |
SDK metrics export / Prometheus scrape / rules evaluation — по 5s.
Firing/pending сохраняются из /api/v1/alerts. Resolved — отсутствие alert
после подтверждённого firing; внешняя доставка не требуется.
У rules есть описания и ссылка на runbook ниже.
Окна сокращены для ноутбука. 14.4/6 — параметры локального опыта;
они не означают те же доли бюджета, что при 30-дневном production SLO.
## Доказательства критериев
Статическая проверка контракта отделена от запуска работающего стенда. Итоговый аудит evidence: 31/31 PASS. Для каждого заявленного критерия ниже указаны команда или сценарий, наблюдение и сохранённые доказательства.
| Критерий README | Команда/сценарий | Наблюдаемый результат | Файл доказательства |
| --- | --- | --- | --- |
| Публичный smoke | make test | TODO | TODO |
| Остальные пункты уровня 3 | TODO | TODO | TODO |
| Все пункты уровня 4, если заявлен | TODO | TODO | TODO |
| Выбранный трек 5, если заявлен | TODO | TODO | TODO |
| Публичный smoke | `make test PYTHON=.venv/bin/python` | PASS: публичный API-сценарий при включённой телеметрии | [final_runtime_checks.txt](evidence/final_runtime_checks.txt) |
| Остальные пункты уровня 3 | `make start ready observability PYTHON=.venv/bin/python`; аудит сигналов и provisioning, подробности ниже | API/worker и три хранилища работают; 16 панелей; связаны реальные логи и traces | [observability_audit.json](evidence/observability_audit.json), [grafana_provisioning.json](evidence/grafana_provisioning.json) |
| Все пункты уровня 4, если заявлен | `make observability PYTHON=.venv/bin/python`; fault/retry сценарии и аудит, подробности ниже | Контекст через broker, retry до ready, histogram/queue/pool, firing/resolved; приложение работает без Tempo при ограниченной памяти | [observability_audit.json](evidence/observability_audit.json), [retry_trace_result.json](evidence/retry_trace_result.json), [backend_outage.json](evidence/backend_outage.json) |
| Выбранный трек 5, если заявлен | `make observability PYTHON=.venv/bin/python`; трек 2, два повтора | 1085.2s; краткие всплески без budget page; длительные отказы обнаружены и разрешены; времена приведены далее | [slo_result.json](evidence/slo_result.json), [slo_events.json](evidence/slo_events.json), [slo_samples.json](evidence/slo_samples.json) |
| Контракт и static | `make check validate PYTHON=.venv/bin/python` | make check validate: PASS; приложение проверяется отдельно | [static_final.txt](evidence/static_final.txt) |
| Бизнес-минимум lab5 при OTLP | `make ready test PYTHON=.venv/bin/python` | make ready test: PASS, две API | [resumed_smoke.txt](evidence/resumed_smoke.txt), [experiment_containers.json](evidence/experiment_containers.json) |
| API и concurrency | `make student-checks PYTHON=.venv/bin/python` | student-checks: race, 100 unique writes, idempotency, rollback, migrations | [student_final_retry.txt](evidence/student_final_retry.txt) |
| Файлы/ACL/варианты | `make test-files test-variants PYTHON=.venv/bin/python` | PNG/JPEG, bytes/pixels, EXIF/alpha/WebP: PASS | [files_variants.txt](evidence/files_variants.txt) |
| Сохранность | `make test-persistence ACTION_SCRIPT=scripts/restart.sh PYTHON=.venv/bin/python` | PASS: прежняя сессия и подтверждённые данные сохранены; реально перезапущены PostgreSQL, cache, S3, broker, Collector, Prometheus, Loki, Tempo и Grafana (9 процессов) | [persistence_final.txt](evidence/persistence_final.txt), [final_persistence_scope.json](evidence/final_persistence_scope.json) |
| API failover | `make test-failover ACTION_SCRIPT=scripts/stop-one.sh PYTHON=.venv/bin/python` | 104 successful writes, 5 transient attempts, recovery 3.535s | [failover.txt](evidence/failover.txt), [last_stop.json](evidence/last_stop.json) |
| Три сигнала API/worker | `make observability PYTHON=.venv/bin/python; затем scripts/audit_observability.py` | OTLP metrics, Loki logs, Tempo traces с реальными duration/outcome | [signals_worker_1.json](evidence/signals_worker_1.json), [signals_db_1.json](evidence/signals_db_1.json), [metric_names.json](evidence/metric_names.json) |
| Dashboard/provisioning | `make start; затем Grafana API /api/search и /api/datasources (сценарий observe_experiment.py)` | 16 panels, 3 реальных datasource, provisioned=true через Grafana API | [grafana_provisioning.json](evidence/grafana_provisioning.json), [infra/otel/grafana/dashboards/lab6.json](infra/otel/grafana/dashboards/lab6.json) |
| Низкая cardinality и приватность | `.venv/bin/python scripts/audit_observability.py; локальный source/secrets audit` | allowlist labels, synthetic secret/body scan, локальные secrets вне Git | [observability_audit.json](evidence/observability_audit.json), [source_audit.json](evidence/source_audit.json) |
| Request-log-trace | `make observability PYTHON=.venv/bin/python; затем scripts/audit_observability.py` | request_id в логе; API/worker logs одного trace; producer/consumer parent graph | [signals_worker_1.json](evidence/signals_worker_1.json), [signals_worker_2.json](evidence/signals_worker_2.json) |
| Реальный retry API → broker → worker → S3/DB | `.venv/bin/python scripts/retry_trace.py; затем scripts/audit_observability.py` | S3 подтверждён stopped до durable retry; затем attempts>=2/ready/checksum | [retry_trace_result.json](evidence/retry_trace_result.json), [signals_retry.json](evidence/signals_retry.json) |
| Все метрики уровня 4 | `make observability PYTHON=.venv/bin/python; Prometheus API и Grafana dashboard` | HTTP p50/95/99, jobs, queue/age, pool/saturation/CPU/RAM, ready histogram/cohorts | [metric_names.json](evidence/metric_names.json), [slo_samples.json](evidence/slo_samples.json), [infra/otel/grafana/dashboards/lab6.json](infra/otel/grafana/dashboards/lab6.json) |
| SLO/rules/runbook | `make observability PYTHON=.venv/bin/python; опрос Prometheus /api/v1/alerts` | 99% / 5m; multiwindow burn; firing и resolved для worker/DB в обоих повторах | [slo_result.json](evidence/slo_result.json), [slo_events.json](evidence/slo_events.json), [slo_samples.json](evidence/slo_samples.json) |
| Backend outage и bounded buffers | `make observability PYTHON=.venv/bin/python; stop/start Tempo на 35s и Docker stats` | сообщения и upload работают без Tempo, failed export наблюдаем, memory ниже лимита | [backend_outage.json](evidence/backend_outage.json), [backend_memory.json](evidence/backend_memory.json) |
| Трек 2 | `make observability PYTHON=.venv/bin/python; затем scripts/plot_observability.py` | short/sustained faults ×2; detection/recovery/false pages, raw и графики | [slo_result.json](evidence/slo_result.json), [slo_requests.json](evidence/slo_requests.json), [slo_timeline.png](evidence/slo_timeline.png) |
| Сохранены предыдущие исходники | `Сравнение SHA-256 с исходным snapshot lab5; git diff публичных tests/contracts` | 131 baseline file lab5 без изменений, public tests/contracts без diff | [source_audit.json](evidence/source_audit.json) |
TODO: добавить отдельную строку для каждого заявленного критерия. PASS без команды и наблюдения не является доказательством. Проверка инфраструктурного hook требует подтверждения, какие реальные процессы/хранилища перезапущены.
Финальная проверка после исправления Tempo: повторный persistence сохранил
прежнюю сессию и confirmed data; final_persistence_scope.json подтверждает
перезапуск всех девяти storage/telemetry процессов. Затем повторены smoke,
собственные API/concurrency/idempotency/rollback/files/variants —
final_runtime_checks.txt. Host/container pip check — без конфликтов.
Отдельный свежий GET подтвердил точное совпадение X-Request-Id/X-Trace-Id
с сохранённым структурным логом и Tempo trace: http_correlation.json.
После всех проверок стенд остановлен с сохранением volumes для экономии RAM;
для просмотра Grafana снова выполнить make start и make ready.
## Эксперименты и отказы
TODO: гипотеза, hardware/лимиты, версии, объём данных, профиль нагрузки, concurrency/arrival rate, длительность/прогрев, повторы, успешные RPS, ошибки, p50/p95/p99, CPU/RAM. Сохранить raw summary без tokens и объяснить ограничения измерения.
Измеренная серия проведена 29 октября 2026.
Серия завершена: **PASS**, два повтора, 1085.2s. Отдельный audit: **PASS**, 31 проверок evidence.
Окружение измеренной серии: 12th Gen Intel(R) Core(TM) i5-1240P, 16 CPU, Docker RAM 8187715584 bytes, Server 28.0.1, Compose 2.33.1, host Python 3.10.12.
Фактическое окружение серии — evidence/environment.json, IDs и лимиты —
experiment_containers.json. API: 1 CPU/512 MiB на реплику, pool max 8;
worker: 1 CPU/768 MiB, concurrency 1; Collector: 0.5 CPU/256 MiB;
Grafana: 0.5 CPU/512 MiB. Docker stats сохраняется на протяжении опыта.
**Гипотеза и методика**
Гипотеза: пятисекундная блокировка не вызывает budget page, длительная
DB деградация вызывает burn alerts, а остановка worker видна по queue age
и ready SLI при исправном HTTP. Проверяются и firing, и resolved.
Команда: `make observability PYTHON=.venv/bin/python`.
Два последовательных повтора, без других одновременных fault tests.
Генератор — fixed arrival 4 POST/s, до 32 in-flight, без retry; synthetic messages.
При достижении cap фиксируется skipped arrival. Прогрев — 120s.
Сохраняются status/latency/phase/trace ID запросов, без токенов и тела.
Для latency/detection/recovery используются монотонные часы, UTC — для корреляции.
Каждый повтор:
1. ACCESS EXCLUSIVE lock messages на 5s, recovery 70s.
2. Stop worker, четыре PNG uploads, ожидание 40s.
3. Возобновить worker, дождаться всех ready, recovery 50s. В серии есть
номинальная stop S3 / start worker / 6s / start S3 фаза, но Compose
запускает S3 как зависимость worker; эта фаза не засчитывается как retry proof.
Реальный retry проверяется отдельным scripts/retry_trace.py после серии:
запускается только физический контейнер worker, S3 остаётся остановленным
до подтверждённого durable retry_scheduled, затем S3 восстанавливается.
Проверяются attempts>=2, ready/checksum и повторные consumer spans одного trace.
4. DB lock на 65s, recovery 85s.
Lock — отдельная PostgreSQL транзакция с pg_sleep и COMMIT.
Health SELECT 1 остаётся рабочим: HAProxy не скрывает обе API.
API имеет lock_timeout=2s и statement_timeout=3s. В данном опыте первым
срабатывает lock_timeout: наблюдаем LockNotAvailable и 503 примерно через 2s.
Инжектор проверяет реальный pg_locks; диагностика ниже использует только signals.
После двух повторов останавливается Tempo на 35s; сообщения и новый upload
должны сохранять работу. Backend запускается, recovery 25s.
SDK очереди по 512 spans/log records, batch 64, OTLP timeout 1s.
Collector: memory limiter 160 MiB + spike 32 MiB, batch max 256,
persistent queues по 32 batches, один exporter consumer, retries максимум 10s.
После исчерпания retry возможна потеря telemetry; бизнес-транзакции не откатываются.
Примерно каждые 3s плюс время Docker stats сохраняются alerts, метрики,
CPU/RAM и свободное место C:. Итоги: slo_result.json, raw requests/samples/
events/uploads, Loki/Tempo выгрузки signals_worker_*.json / signals_db_*.json,
backend_outage.json. Audit проверяет evidence отдельно от статуса выполнения.
Первоначальная аварийно прерванная серия сохранена в interrupted_2026-10-29
и не считается завершённым экспериментом.
| Воздействие | Что ожидаем | Что наблюдали | Время восстановления / потеря данных |
| --- | --- | --- | --- |
| TODO | TODO | TODO | TODO |
| DB lock на 5s, два повтора | Краткий всплеск не вызывает budget page | По 12 HTTP ошибок; budget alerts не переходили в firing; во втором повторе сработал отдельный warning APIHighErrorRate | Warning resolved через 45.51s после снятия lock; потеря подтверждённых данных не наблюдалась |
| Остановка worker на 40s, два повтора | HTTP работает, очередь и ready SLI обнаруживают задержку | По четыре uploads в очереди; QueueLagGrowing и ReadyErrorBudgetBurn firing, затем ready и queue=0 | QueueLagGrowing resolved через 10.99s / 4.94s после восстановления; все originals проверены по checksum |
| DB lock на 65s, два повтора | Ошибки API и multiwindow burn firing | LockNotAvailable около 2s и HTTP503; Fast detection 46.65s / 45.67s, Slow 52.93s / 58.25s | Fast resolved 40.49s / 40.58s, Slow 77.98s / 71.99s после снятия lock; потеря подтверждённых данных не наблюдалась |
| Остановка Tempo на 35s | Запись сообщений и обработка upload работают; буферы ограничены | 191/191 message writes успешны, upload ready; failed-export spans +333; Collector 80.38–82.89 MiB | Проверка после 25s ожидания восстановления; отдельное точное время восстановления backend не измерялось; потери telemetry есть, бизнес-данные сохранены |
| Реальный S3 outage до durable retry | Задание повторяется после восстановления S3 | Job ready на третьей попытке после двух durable retry events; одна цепочка trace до S3/DB | После восстановления S3 checksum совпал; отдельное время восстановления не измерялось |
| Перезапуск девяти storage/telemetry процессов | Сохраняются сессия, данные и история | Финальный public persistence PASS; фактический scope 9/9 в final_persistence_scope.json | Подтверждённые данные и прежняя сессия сохранены; отдельное время восстановления не измерялось |
| Остановка одной API-реплики | Другая принимает запросы через LB | 104 успешных writes и 5 transient attempts | Recovery 3.535s; подтверждённые данные и сессия сохранены |
**HTTP-нагрузка**
| Фаза | Запросов | Успехов | Ошибок | successful RPS | p50 / p95 / p99, ms (только успехи) |
| --- | ---: | ---: | ---: | ---: | --- |
| 1_db_degraded | 280 | 12 | 268 | 0.172 | 423.97 / 1922.56 / 1922.56 |
| 1_db_recovery | 351 | 351 | 0 | 4.011 | 12.84 / 19.11 / 20.65 |
| 1_s3_retry | 27 | 27 | 0 | 4.147 | 10.84 / 19.10 / 21.14 |
| 1_short_recovery | 280 | 280 | 0 | 4.014 | 11.93 / 18.75 / 28.63 |
| 1_short_spike | 24 | 12 | 12 | 2.082 | 419.27 / 1918.57 / 1918.57 |
| 1_worker_recovery | 227 | 227 | 0 | 4.017 | 12.44 / 18.07 / 20.40 |
| 1_worker_stopped | 209 | 209 | 0 | 4.018 | 12.28 / 19.03 / 23.41 |
| 2_db_degraded | 277 | 12 | 265 | 0.174 | 392.86 / 1890.57 / 1890.57 |
| 2_db_recovery | 726 | 726 | 0 | 4.005 | 10.35 / 16.92 / 19.52 |
| 2_s3_retry | 26 | 26 | 0 | 4.154 | 9.98 / 16.88 / 17.41 |
| 2_short_recovery | 280 | 280 | 0 | 4.013 | 13.18 / 20.33 / 31.31 |
| 2_short_spike | 29 | 17 | 12 | 2.425 | 1226.53 / 3229.82 / 3229.82 |
| 2_worker_recovery | 561 | 561 | 0 | 4.006 | 11.04 / 17.90 / 21.33 |
| 2_worker_stopped | 210 | 210 | 0 | 4.018 | 10.61 / 18.25 / 21.84 |
| backend_down | 191 | 191 | 0 | 4.020 | 12.37 / 19.53 / 22.79 |
| backend_recovery | 136 | 136 | 0 | 4.029 | 11.83 / 18.95 / 20.01 |
| baseline | 482 | 482 | 0 | 4.008 | 10.84 / 17.79 / 356.42 |
| setup | 1 | 1 | 0 | 54.706 | 18.28 / 18.28 / 18.28 |
**Обнаружение и разрешение alerts**
| Инцидент | Alert | Detection, s | Resolved относительно восстановления, s |
| --- | --- | ---: | ---: |
| 1_short_spike | APIHighErrorRate | не firing | — |
| 1_short_spike | APIErrorBudgetBurnFast | не firing | — |
| 1_short_spike | APIErrorBudgetBurnSlow | не firing | — |
| 1_worker_stopped | QueueLagGrowing | 38.93 | 10.99 |
| 1_worker_stopped | ReadyErrorBudgetBurn | 38.93 | -1.49 |
| 1_db_degraded | APIHighErrorRate | 27.86 | 46.75 |
| 1_db_degraded | APIErrorBudgetBurnFast | 46.65 | 40.49 |
| 1_db_degraded | APIErrorBudgetBurnSlow | 52.93 | 77.98 |
| 2_short_spike | APIHighErrorRate | 32.75 | 45.51 |
| 2_short_spike | APIErrorBudgetBurnFast | не firing | — |
| 2_short_spike | APIErrorBudgetBurnSlow | не firing | — |
| 2_worker_stopped | QueueLagGrowing | 38.28 | 4.94 |
| 2_worker_stopped | ReadyErrorBudgetBurn | 38.28 | 4.94 |
| 2_db_degraded | APIHighErrorRate | 33.11 | 46.90 |
| 2_db_degraded | APIErrorBudgetBurnFast | 45.67 | 40.58 |
| 2_db_degraded | APIErrorBudgetBurnSlow | 58.25 | 71.99 |
Ложных firing samples budget alerts на baseline/коротких всплесках: **0**. Это ограниченный результат двух controlled repetitions, не оценка вероятности ложного page в production. APIHighErrorRate — отдельный warning, его срабатывание на реальный короткий 5xx burst не считается ложным budget page.
ReadyErrorBudgetBurn может разрешиться раньше полного drain (отрицательное время в таблице): после единичной когорты нет новых missed deadlines в коротком окне. Продолжающийся backlog при этом покрывает QueueLagGrowing. Отрицательное число сохранено, а не заменено нулём.
Во время Tempo outage финальные failed-export spans выросли на **333**; Collector memory по Docker stats: 80.38–82.89 MiB при лимите 256 MiB. Все baseline/backend-down message writes успешны, upload достиг ready с проверенным original checksum. Это bounded outage experiment, не доказательство отсутствия утечки при неограниченном времени.
Отдельный verified-retry test: job ready после **3** attempts, durable retry events **2**. Условие недоступности S3 проверено по состоянию физического контейнера; ошибочный consumer/s3.get и успешный повтор находятся в одном trace.
Максимальная суммарная память контейнеров в sample: **1533.2 MiB**, суммарный CPU — **1.841 cores** (100% Docker CPU = одно логическое ядро). Минимум свободного C: **5.50 GiB**. Подробные peaks по процессам — resource_summary.json; пики разных контейнеров не следует суммировать как синхронный максимум.
DB traces показывают INSERT/LockNotAvailable около 2s, затем HTTP503. Это подтверждает lock contention по наблюдениям без SQL текста. Worker incident: API продолжает запись, producer есть, consumer отсутствует до восстановления, oldest растёт, затем consumer/ready и queue=0. Root cause локализуется по трём сигналам.
Гипотеза подтверждена для двух указанных профилей: короткие всплески не создают budget page, длительная DB деградация и остановка worker обнаружены. Trade-off: slow alert сбрасывается позже первого успешного запроса; cohort ready burn не заменяет backlog alert.
![SLO timeline](evidence/slo_timeline.png)
![Successful client latency](evidence/successful_latency.png)
**Runbook: очередь растёт, сообщения работают**
1. В dashboard сравнить API RPS/5xx и queue depth/oldest. При queue probe=1
ненулевой backlog и растущий oldest — свежие данные PostgreSQL.
2. Найти upload в Loki по request_id, перейти по trace_id в Tempo.
Server/DB COMMIT/producer при отсутствии consumer и ready локализуют
задержку после publish, в обработке worker.
3. Проверить новые jobs outcome/duration и worker logs. Отсутствие попыток
при поступающих публикациях указывает на неработающий consumer.
Нулевой busy сам по себе не доказывает жизнь процесса: последний
sample может ещё оставаться в Collector.
4. После восстановления появляются consumer/attachment_ready logs,
очередь уходит в 0, QueueLagGrowing resolved. Ready SLI некоторое время
сохраняет пропущенные deadline — это ожидаемое поведение.
5. Если consumer ERROR и длинный/ошибочный s3.get при нормальном DB,
причина попытки — storage. Найти следующий producer/consumer того же job
в том же trace, проверить eventual ready и checksum оригинала.
**Runbook: 503 и длинные запросы API**
1. Подтвердить 5xx, а не ошибки ввода 4xx, проверить обе API и HTTP histogram.
2. В Loki найти http_request status=503, взять request_id/trace_id.
В Tempo сравнить длительность SERVER и дочернего db.execute.
3. db.execute INSERT с ERROR/LockNotAvailable примерно на 2s локализует причину
в ожидании PostgreSQL lock, а не в CPU handler. Pool used/waiting показывает занятость.
Отсутствие сравнимого медленного S3 участка отделяет storage incident.
По безопасным spans виден класс lock contention, но без SQL нельзя назвать
конкретную таблицу/держателя lock. Эти детали известны методике и pg_locks.
4. После снятия причины DB spans снова короткие, сообщения возвращают 201.
Fast/slow alerts разрешаются после окон, а не сразу с первым успешным /live.
Проверить сохранённый resolved и успешные записи после воздействия.
**Runbook: Tempo недоступно**
1. При продолжающихся успешных сообщениях/upload проверить exporter failed spans,
accepted/sent, queue size/capacity и Collector RSS.
2. Очереди/timeout/memory limiter ограничивают буферизацию. После retry timeout
часть spans теряется. Failed exports и недоступные trace IDs фиксируются.
3. Accepted минус sent включает in-flight и не является точным числом
потерянных HTTP-запросов; один запрос создаёт много spans.
4. Восстановить backend, проверить новые traces и drain очереди.
Не увеличивать queues без ограничений, не удалять volumes.
**Дополнительные наблюдения и границы измерения**
Второй широкий capture получил Tempo query timeouts с клиентским deadline 8s.
По Docker stats Tempo занимал около 239 MiB из лимита 256 MiB; исходные лимиты —
0.5 CPU/256 MiB. Наблюдались и отказы exporter до намеренного outage.
После серии Tempo переведён на 1 CPU/512 MiB, volume сохранён.
Повторные чтения ограничены диапазоном времени, deadline до 60s;
выбранные сохранённые traces читаются примерно за доли секунды.
Независимый вклад CPU, RAM и ограничения диапазона не измерялся.
Полная двухповторная серия с новым лимитом не повторялась:
таблицы выше относятся к исходному snapshot ресурсов, финальный Compose —
к исправленной конфигурации. Корректировка подтверждена чтением данных и
финальным smoke, а не заявлением улучшенного throughput.
Исходные timeout captures и неудачный audit сохранены в initial_captures/
и initial_observability_audit.*. Повторная реальная выгрузка — capture_recovery.*.
Для DB второго повтора выбран первый доступный error trace из упорядоченных
реальных 503 requests; это диагностический пример, не случайная выборка
для оценки процента потерянных spans. Последние три error trace отсутствуют:
потери telemetry не объявляются нулевыми и не восстанавливаются вымышленными spans.
API logs для корреляции дополнительно запрошены по конкретным trace IDs,
поскольку широкая выдача limit=1000 не гарантирует попадание нужного upload.
До намеренного Tempo outage send_failed_spans уже был ненулевым;
в backend_outage.json отдельно сохранены before/during/after.
Разность during-before относится к контролируемому outage.
Есть также enqueue_failed и accepted/sent в slo_samples.json:
счётчики отказов и разность потоков нельзя без анализа in-flight/повторов
называть количеством потерянных запросов. Измерение обнаруживает ограничения
малого telemetry backend, а не обещает без потерь обработать любую нагрузку.
Successful RPS пересчитан из raw monotonic интервалов запросов; исходная
сводка с wall-clock знаменателем сохранена в slo_result_wallclock_rates.json.
Статусы и исходные latency/status observations при этом не менялись.
Фаза setup очень короткая; её RPS не является оценкой производительности.
Предыдущие regression/persistence/failover evidence получены до обновления
Docker Server; завершённая SLO-серия и финальные проверки — на Server28.0.1.
## Ограничения и следующие шаги
TODO: какие отказы выдерживаются и какие нет; что не реализовано; где учебное упрощение; какое улучшение подтверждено, а какое пока гипотеза.
Один host, PostgreSQL, LB, broker, S3 и Collector остаются SPOF.
Это не throughput benchmark и не production SLA. Малый synthetic dataset,
фиксированная интенсивность и два повтора не дают статистической оценки
ложных alerts на разнообразном реальном трафике. HTTP errors и percentiles
успехов разделены, сетевой SLI ограничен клиентским генератором.
Потеря диска/host не проверялась. App jobs/outbox/Streams retention —
учебное ограничение перенесённой lab5; end-to-end SLI cohort рассчитан
для контролируемых переходов серии, не для произвольного администрирования.
Memory snapshots ниже лимита показывают поведение в ограниченном опыте,
а не доказывают отсутствие утечки при любом времени/трафике.
OTLP внутри локальной Docker сети без TLS; scope lab7 не заявлен.
Первоначальный запуск потребовал восстановления зависшего WSL с разрешения
пользователя. Исправлены каталог compaction WAL у Collector, чтение Grafana
secret и Alpine image exit 139 переходом на Ubuntu variant. Первоначальные
ошибки сохранены, они не считаются PASS. Аварийно прерванная серия отделена
от завершённой; старые показатели lab5 не переименованы в результаты lab6.
Подтверждены работа приложения при ограниченном outage Tempo, восстановление после остановки worker/S3, сохранность при перезапуске и обнаружение двух заданных профилей деградации. Это не подтверждает устойчивость к потере host, диска или единственного экземпляра БД/broker/S3.
Следующие шаги: повторить полную серию с финальными лимитами Tempo 1 CPU/512 MiB и отдельно оценить вклад CPU, RAM и диапазона query; расширить выборку нагрузки и повторов; хранить неизменяемый журнал ready-cohorts для SLI вне управляемого эксперимента. Чтение сохранённых traces после исправления проверено, улучшение throughput и снижение потерь при длительной нагрузке остаются гипотезами. HA хранилищ, OTLP TLS и production retention в этой работе не реализованы.
+498
View File
@@ -0,0 +1,498 @@
services:
db:
image: postgres:16.9-bookworm
environment:
POSTGRES_DB: messenger
POSTGRES_USER: messenger
POSTGRES_PASSWORD_FILE: /run/secrets/db_password
secrets:
- db_password
volumes:
- postgres_data:/var/lib/postgresql/data
cpus: 1.0
mem_limit: 512m
healthcheck:
test:
- CMD-SHELL
- pg_isready -U messenger -d messenger
interval: 2s
timeout: 3s
retries: 30
logging:
driver: json-file
options:
max-size: 5m
max-file: '2'
cache:
image: redis:7.4.3-bookworm
command:
- redis-server
- --appendonly
- 'yes'
- --appendfsync
- everysec
volumes:
- redis_data:/data
cpus: 0.5
mem_limit: 128m
healthcheck:
test:
- CMD
- redis-cli
- ping
interval: 2s
timeout: 3s
retries: 30
logging:
driver: json-file
options:
max-size: 5m
max-file: '2'
migrate:
build: .
command:
- python
- -m
- src.migrate
environment:
DATABASE_URL_FILE: /run/secrets/database_url
secrets:
- database_url
cpus: 0.5
mem_limit: 128m
depends_on:
db:
condition: service_healthy
healthcheck:
disable: true
image: mtusi2026lab6-app:1
logging:
driver: json-file
options:
max-size: 5m
max-file: '2'
s3:
image: mtusi2026lab6-minio:2025-04-22
build:
context: .
dockerfile: infra/s3.Dockerfile
args:
COMPONENT: minio
RELEASE: RELEASE.2025-04-22T22-12-26Z
SHA256: 53e2a2cb16c5366ea6fbbc479c19ddb4c6a0948273e752f740fb1fbf27bb817c
command:
- server
- /data
- --address
- :9000
- --console-address
- 127.0.0.1:9001
environment:
MINIO_ROOT_USER_FILE: /run/secrets/s3_root_user
MINIO_ROOT_PASSWORD_FILE: /run/secrets/s3_root_password
MINIO_BROWSER: 'off'
secrets:
- s3_root_user
- s3_root_password
volumes:
- s3_data:/data
cpus: 1.0
mem_limit: 512m
healthcheck:
test:
- CMD
- python
- -c
- import urllib.request; urllib.request.urlopen("http://localhost:9000/minio/health/live",timeout=2)
interval: 2s
timeout: 3s
retries: 30
logging:
driver: json-file
options:
max-size: 5m
max-file: '2'
s3-bootstrap:
image: mtusi2026lab6-mc:2025-04-16
build:
context: .
dockerfile: infra/s3.Dockerfile
args:
COMPONENT: mc
RELEASE: RELEASE.2025-04-16T18-13-26Z
SHA256: ac90da87a35641be5a0ac75d49de5161ddb47d629b5ba01261b0ae9e00aea15f
entrypoint:
- /bin/sh
- /bootstrap.sh
volumes:
- ./scripts/bootstrap_s3.sh:/bootstrap.sh:ro
- ./infra:/policies:ro
secrets:
- s3_root_user
- s3_root_password
- s3_access_key_id
- s3_secret_access_key
environment:
S3_ENDPOINT: http://s3:9000
depends_on:
s3:
condition: service_healthy
cpus: 0.5
mem_limit: 128m
logging:
driver: json-file
options:
max-size: 5m
max-file: '2'
api:
build: .
scale: 2
environment:
DATABASE_URL_FILE: /run/secrets/database_url
CACHE_URL: redis://cache:6379/0
SESSION_TTL_SECONDS: ${SESSION_TTL_SECONDS:-3600}
DB_POOL_MAX: ${DB_POOL_MAX:-8}
S3_ENDPOINT: http://s3:9000
S3_BUCKET: messenger-attachments
S3_REGION: us-east-1
S3_ACCESS_KEY_ID_FILE: /run/secrets/s3_access_key_id
S3_SECRET_ACCESS_KEY_FILE: /run/secrets/s3_secret_access_key
MAX_UPLOAD_BYTES: '10485760'
MAX_IMAGE_PIXELS: '40000000'
MAX_PENDING_JOBS: ${MAX_PENDING_JOBS:-1000}
OTEL_SERVICE_NAME: messenger-api
OTEL_EXPORTER_OTLP_ENDPOINT: http://collector:4318
TELEMETRY_ENABLED: '1'
secrets:
- database_url
- s3_access_key_id
- s3_secret_access_key
dns_opt:
- timeout:1
- attempts:1
cpus: ${API_CPU:-1.0}
mem_limit: ${API_MEMORY:-512m}
stop_grace_period: 10s
depends_on:
migrate:
condition: service_completed_successfully
cache:
condition: service_healthy
s3-bootstrap:
condition: service_completed_successfully
healthcheck:
test:
- CMD
- python
- /app/scripts/healthcheck.py
interval: 2s
timeout: 4s
retries: 30
image: mtusi2026lab6-app:1
logging:
driver: json-file
options:
max-size: 5m
max-file: '2'
reconciler:
build: .
command:
- python
- -m
- src.cleanup
- --apply
- --loop
environment:
DATABASE_URL_FILE: /run/secrets/database_url
S3_ENDPOINT: http://s3:9000
S3_BUCKET: messenger-attachments
S3_ACCESS_KEY_ID_FILE: /run/secrets/s3_access_key_id
S3_SECRET_ACCESS_KEY_FILE: /run/secrets/s3_secret_access_key
BROKER_URL_FILE: /run/secrets/broker_url
JOB_MAX_ATTEMPTS: ${JOB_MAX_ATTEMPTS:-5}
JOB_TIMEOUT_SECONDS: ${JOB_TIMEOUT_SECONDS:-30}
JOB_LEASE_SECONDS: ${JOB_LEASE_SECONDS:-15}
STAGING_RETENTION_SECONDS: ${STAGING_RETENTION_SECONDS:-86400}
ALLOW_FAULT_INJECTION: ${ALLOW_FAULT_INJECTION:-0}
OTEL_SERVICE_NAME: messenger-reconciler
OTEL_EXPORTER_OTLP_ENDPOINT: http://collector:4318
TELEMETRY_ENABLED: '1'
secrets:
- database_url
- s3_access_key_id
- s3_secret_access_key
- broker_url
cpus: 0.5
mem_limit: 256m
depends_on:
migrate:
condition: service_completed_successfully
s3-bootstrap:
condition: service_completed_successfully
healthcheck:
disable: true
image: mtusi2026lab6-app:1
logging:
driver: json-file
options:
max-size: 5m
max-file: '2'
dns_opt:
- timeout:1
- attempts:1
lb:
image: haproxy:3.0.11-bookworm
ports:
- 127.0.0.1:${APP_PORT:-8080}:8080
volumes:
- ./infra/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
cpus: 0.5
mem_limit: 128m
depends_on:
api:
condition: service_healthy
logging:
driver: json-file
options:
max-size: 5m
max-file: '2'
broker:
image: redis:7.4.3-bookworm
entrypoint:
- /bin/sh
- /broker.sh
volumes:
- broker_data:/data
- ./infra/broker-entrypoint.sh:/broker.sh:ro
secrets:
- broker_password
cpus: 0.5
mem_limit: 256m
healthcheck:
test:
- CMD-SHELL
- REDISCLI_AUTH="$$(cat /run/secrets/broker_password)" redis-cli ping
interval: 2s
timeout: 3s
retries: 30
logging:
driver: json-file
options:
max-size: 5m
max-file: '2'
dispatcher:
image: mtusi2026lab6-app:1
build: .
command:
- python
- -m
- src.dispatcher
environment:
DATABASE_URL_FILE: /run/secrets/database_url
S3_ENDPOINT: http://s3:9000
S3_BUCKET: messenger-attachments
S3_ACCESS_KEY_ID_FILE: /run/secrets/s3_access_key_id
S3_SECRET_ACCESS_KEY_FILE: /run/secrets/s3_secret_access_key
BROKER_URL_FILE: /run/secrets/broker_url
JOB_MAX_ATTEMPTS: ${JOB_MAX_ATTEMPTS:-5}
JOB_TIMEOUT_SECONDS: ${JOB_TIMEOUT_SECONDS:-30}
JOB_LEASE_SECONDS: ${JOB_LEASE_SECONDS:-15}
STAGING_RETENTION_SECONDS: ${STAGING_RETENTION_SECONDS:-86400}
ALLOW_FAULT_INJECTION: ${ALLOW_FAULT_INJECTION:-0}
OTEL_SERVICE_NAME: messenger-dispatcher
OTEL_EXPORTER_OTLP_ENDPOINT: http://collector:4318
TELEMETRY_ENABLED: '1'
secrets:
- database_url
- s3_access_key_id
- s3_secret_access_key
- broker_url
cpus: 0.5
mem_limit: 256m
depends_on:
migrate:
condition: service_completed_successfully
s3-bootstrap:
condition: service_completed_successfully
broker:
condition: service_healthy
restart: on-failure
healthcheck:
disable: true
logging:
driver: json-file
options:
max-size: 5m
max-file: '2'
dns_opt:
- timeout:1
- attempts:1
worker:
image: mtusi2026lab6-app:1
build: .
command:
- python
- -m
- src.worker
environment:
DATABASE_URL_FILE: /run/secrets/database_url
S3_ENDPOINT: http://s3:9000
S3_BUCKET: messenger-attachments
S3_ACCESS_KEY_ID_FILE: /run/secrets/s3_access_key_id
S3_SECRET_ACCESS_KEY_FILE: /run/secrets/s3_secret_access_key
BROKER_URL_FILE: /run/secrets/broker_url
JOB_MAX_ATTEMPTS: ${JOB_MAX_ATTEMPTS:-5}
JOB_TIMEOUT_SECONDS: ${JOB_TIMEOUT_SECONDS:-30}
JOB_LEASE_SECONDS: ${JOB_LEASE_SECONDS:-15}
STAGING_RETENTION_SECONDS: ${STAGING_RETENTION_SECONDS:-86400}
ALLOW_FAULT_INJECTION: ${ALLOW_FAULT_INJECTION:-0}
WORKER_CONCURRENCY: ${WORKER_CONCURRENCY:-1}
WORKER_IMAGE_MEMORY_MIB: '512'
OTEL_SERVICE_NAME: messenger-worker
OTEL_EXPORTER_OTLP_ENDPOINT: http://collector:4318
TELEMETRY_ENABLED: '1'
secrets:
- database_url
- s3_access_key_id
- s3_secret_access_key
- broker_url
cpus: 1.0
mem_limit: 768m
stop_grace_period: 5s
depends_on:
migrate:
condition: service_completed_successfully
s3-bootstrap:
condition: service_completed_successfully
broker:
condition: service_healthy
restart: on-failure
healthcheck:
disable: true
logging:
driver: json-file
options:
max-size: 5m
max-file: '2'
dns_opt:
- timeout:1
- attempts:1
collector:
image: otel/opentelemetry-collector-contrib:0.123.0
command:
- --config=/etc/otel/config.yaml
volumes:
- ./infra/otel/collector.yaml:/etc/otel/config.yaml:ro
- collector_data:/var/lib/otel
cpus: 0.5
mem_limit: 256m
restart: unless-stopped
logging:
driver: json-file
options:
max-size: 5m
max-file: '2'
user: 0:0
prometheus:
image: prom/prometheus:v3.2.1
command:
- --config.file=/etc/prometheus/prometheus.yaml
- --storage.tsdb.path=/prometheus
- --storage.tsdb.retention.time=2d
- --web.enable-lifecycle
volumes:
- ./infra/otel/prometheus.yaml:/etc/prometheus/prometheus.yaml:ro
- prometheus_data:/prometheus
- ./infra/otel/alerts.yaml:/etc/prometheus/alerts.yaml:ro
- ./infra/otel/recording.yaml:/etc/prometheus/recording.yaml:ro
cpus: 0.5
mem_limit: 256m
restart: unless-stopped
logging:
driver: json-file
options:
max-size: 5m
max-file: '2'
ports:
- 127.0.0.1:9096:9090
loki:
image: grafana/loki:3.4.2
command:
- -config.file=/etc/loki/config.yaml
volumes:
- ./infra/otel/loki.yaml:/etc/loki/config.yaml:ro
- loki_data:/loki
cpus: 0.5
mem_limit: 384m
restart: unless-stopped
logging:
driver: json-file
options:
max-size: 5m
max-file: '2'
ports:
- 127.0.0.1:3106:3100
tempo:
image: grafana/tempo:2.7.2
command:
- -config.file=/etc/tempo/config.yaml
volumes:
- ./infra/otel/tempo.yaml:/etc/tempo/config.yaml:ro
- tempo_data:/var/tempo
cpus: 1.0
mem_limit: 512m
restart: unless-stopped
logging:
driver: json-file
options:
max-size: 5m
max-file: '2'
ports:
- 127.0.0.1:3206:3200
user: 0:0
grafana:
image: grafana/grafana:11.6.0-ubuntu
ports:
- 127.0.0.1:3006:3000
environment:
GF_SECURITY_ADMIN_USER: admin
GF_SECURITY_ADMIN_PASSWORD__FILE: /run/secrets/grafana_password
GF_USERS_ALLOW_SIGN_UP: 'false'
secrets:
- grafana_password
volumes:
- grafana_data:/var/lib/grafana
- ./infra/otel/grafana/provisioning:/etc/grafana/provisioning:ro
- ./infra/otel/grafana/dashboards:/var/lib/grafana/dashboards:ro
cpus: 0.5
mem_limit: 512m
restart: unless-stopped
volumes:
postgres_data: null
redis_data: null
s3_data: null
broker_data: null
collector_data: null
prometheus_data: null
loki_data: null
tempo_data: null
grafana_data: null
secrets:
db_password:
file: .secrets/db_password
database_url:
file: .secrets/database_url
s3_root_user:
file: .secrets/s3_root_user
s3_root_password:
file: .secrets/s3_root_password
s3_access_key_id:
file: .secrets/s3_access_key_id
s3_secret_access_key:
file: .secrets/s3_secret_access_key
broker_password:
file: .secrets/broker_password
broker_url:
file: .secrets/broker_url
grafana_password:
file: .secrets/grafana_password
+262
View File
@@ -0,0 +1,262 @@
[
{
"id": "38a8c9fd5dbcf2e6e50717e2137094943330c7b2611881741c8e74c95c880a60",
"name": "mtusi2026lab6-api-1",
"hostname": "38a8c9fd5dbc",
"service": "api",
"running": true,
"started_at": "2026-10-29T18:48:05.558183808Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "25a285a81fa9530813f5a4441653e6fad51f572d99617a2e93169ef4df7c7ef5",
"name": "mtusi2026lab6-api-2",
"hostname": "25a285a81fa9",
"service": "api",
"running": true,
"started_at": "2026-10-29T18:48:05.952889369Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "a94f8452c1400e2f018947d6760f108c41adb74ea505e0fc28162276c7f736bd",
"name": "mtusi2026lab6-broker-1",
"hostname": "a94f8452c140",
"service": "broker",
"running": true,
"started_at": "2026-10-29T18:46:38.894695634Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"6379/tcp": null
}
},
{
"id": "1190598f4c70c6099515ff0903e6fabd265c1de430305fa83ba5ac5fc96292d4",
"name": "mtusi2026lab6-cache-1",
"hostname": "1190598f4c70",
"service": "cache",
"running": true,
"started_at": "2026-10-29T18:46:38.894840668Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {
"6379/tcp": null
}
},
{
"id": "287df894d94d1cd4b905b70d4179426e956fc0d07d0daa25645cc93cdd352b94",
"name": "mtusi2026lab6-collector-1",
"hostname": "287df894d94d",
"service": "collector",
"running": true,
"started_at": "2026-10-29T18:46:58.4710042Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"4317/tcp": null,
"4318/tcp": null,
"55678/tcp": null,
"55679/tcp": null
}
},
{
"id": "958a8746045d9329fd5482352bc40ac2b415a1dcee44a6fbe9f83db6014e0d5b",
"name": "mtusi2026lab6-db-1",
"hostname": "958a8746045d",
"service": "db",
"running": true,
"started_at": "2026-10-29T18:46:38.898566793Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {
"5432/tcp": null
}
},
{
"id": "b90d156addc4be40253d42dfcfc89e79f538fc5746fd54f2e08b79506a32d349",
"name": "mtusi2026lab6-dispatcher-1",
"hostname": "b90d156addc4",
"service": "dispatcher",
"running": true,
"started_at": "2026-10-29T18:48:05.392696544Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "70efe4a6c26b77b68e40d53f337cf86c3f8b29a63317da34dcd03a714fafa4ad",
"name": "mtusi2026lab6-grafana-1",
"hostname": "70efe4a6c26b",
"service": "grafana",
"running": true,
"started_at": "2026-10-29T18:46:58.792254671Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 536870912,
"published_ports": {
"3000/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3006"
}
]
}
},
{
"id": "387bb481536811f17c264814069afd3a507cfb82a1be7a0958073e4297e27b12",
"name": "mtusi2026lab6-lb-1",
"hostname": "387bb4815368",
"service": "lb",
"running": true,
"started_at": "2026-10-29T18:46:59.277812858Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {
"8080/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8086"
}
]
}
},
{
"id": "505595f249be1db0bc114feb1be30fefedc7432b792f34b710bcc60c701c6e3a",
"name": "mtusi2026lab6-loki-1",
"hostname": "505595f249be",
"service": "loki",
"running": true,
"started_at": "2026-10-29T18:46:59.201437679Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 402653184,
"published_ports": {
"3100/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3106"
}
]
}
},
{
"id": "4ce0b8ac6fd8776f6ecb9d3a118f0351042bd00c396428f01d828c71c8adebe6",
"name": "mtusi2026lab6-migrate-1",
"hostname": "4ce0b8ac6fd8",
"service": "migrate",
"running": false,
"started_at": "2026-10-29T18:41:12.371813465Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {}
},
{
"id": "cc243b53ea3b584b815f4db401f5ceb2f4fc417a9f216d9e1ac78c8fcac6c03a",
"name": "mtusi2026lab6-prometheus-1",
"hostname": "cc243b53ea3b",
"service": "prometheus",
"running": true,
"started_at": "2026-10-29T18:46:59.100728882Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"9090/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "9096"
}
]
}
},
{
"id": "824044c8f26cd2d75e88c0e24c6f559ee7a87d918f7542c59c626dc4b9173c18",
"name": "mtusi2026lab6-reconciler-1",
"hostname": "824044c8f26c",
"service": "reconciler",
"running": true,
"started_at": "2026-10-29T18:48:05.566146136Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "71cb280598144c175634d699c70704b26d29cd3f87495fc57cb3823508204719",
"name": "mtusi2026lab6-s3-1",
"hostname": "71cb28059814",
"service": "s3",
"running": true,
"started_at": "2026-10-29T18:46:38.896181674Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {}
},
{
"id": "ba7d30c0238219f5934d97e2e950a257c6b6161987dc64fd80c68fb514400e51",
"name": "mtusi2026lab6-s3-bootstrap-1",
"hostname": "ba7d30c02382",
"service": "s3-bootstrap",
"running": false,
"started_at": "2026-10-29T18:41:10.002175496Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {}
},
{
"id": "7225c0225f542d177df36ae3312074c69f7b46de442bec54f84d2ecbb7d06a4c",
"name": "mtusi2026lab6-tempo-1",
"hostname": "7225c0225f54",
"service": "tempo",
"running": true,
"started_at": "2026-10-29T18:46:58.797514406Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"3200/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3206"
}
]
}
},
{
"id": "8413f83c9a5ec97b1f1b8922d7b0ac7e8dd268ce26487c7b4bf5b807dbf3027d",
"name": "mtusi2026lab6-worker-1",
"hostname": "8413f83c9a5e",
"service": "worker",
"running": true,
"started_at": "2026-10-29T18:48:05.324820362Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 805306368,
"published_ports": {
"8080/tcp": null
}
}
]
+8
View File
@@ -0,0 +1,8 @@
{
"samples": 8,
"min_bytes": 84284538.88,
"max_bytes": 86916464.64,
"first_bytes": 86905978.88,
"last_bytes": 84295024.64,
"limit_bytes": 268435456
}
+97
View File
@@ -0,0 +1,97 @@
{
"before": {
"sum(otelcol_exporter_send_failed_spans_total)": [
{
"metric": {},
"value": [
1793302329.746,
"2765"
]
}
],
"sum(otelcol_exporter_sent_spans_total)": [
{
"metric": {},
"value": [
1793302329.747,
"45680"
]
}
],
"sum(otelcol_receiver_accepted_spans_total)": [
{
"metric": {},
"value": [
1793302329.748,
"69576"
]
}
]
},
"during": {
"sum(otelcol_exporter_send_failed_spans_total)": [
{
"metric": {},
"value": [
1793302375.104,
"3098"
]
}
],
"sum(otelcol_exporter_sent_spans_total)": [
{
"metric": {},
"value": [
1793302375.107,
"45680"
]
}
],
"sum(otelcol_receiver_accepted_spans_total)": [
{
"metric": {},
"value": [
1793302375.109,
"72719"
]
}
]
},
"after_recovery": {
"sum(otelcol_exporter_send_failed_spans_total)": [
{
"metric": {},
"value": [
1793302399.288,
"3236"
]
}
],
"sum(otelcol_exporter_sent_spans_total)": [
{
"metric": {},
"value": [
1793302399.29,
"48852"
]
}
],
"sum(otelcol_receiver_accepted_spans_total)": [
{
"metric": {},
"value": [
1793302399.291,
"74755"
]
}
]
},
"upload": {
"id": "4217f518-0975-4f9b-8cb7-81f4d0903b3f",
"trace_id": "d7705447361a456e79fcd477960c7766",
"accepted_at": 1793302341.1111865,
"phase": "backend_down",
"ready_at": 1793302341.638412,
"elapsed_to_observed_ready": 0.5272254943847656
}
}
+262
View File
@@ -0,0 +1,262 @@
[
{
"id": "eea0a4050b7911f95b3f37a04ff4d5351d7faba84a06920acf950d2d24db9c0b",
"name": "mtusi2026lab6-api-1",
"hostname": "eea0a4050b79",
"service": "api",
"running": true,
"started_at": "2026-10-29T18:41:17.523258377Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "480790c5049244d5dc27135902d3605d8b7729f242f34d962565c92bab9c8ce0",
"name": "mtusi2026lab6-api-2",
"hostname": "480790c50492",
"service": "api",
"running": true,
"started_at": "2026-10-29T18:41:18.85982601Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "a94f8452c1400e2f018947d6760f108c41adb74ea505e0fc28162276c7f736bd",
"name": "mtusi2026lab6-broker-1",
"hostname": "a94f8452c140",
"service": "broker",
"running": true,
"started_at": "2026-10-29T18:41:06.856618532Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"6379/tcp": null
}
},
{
"id": "1190598f4c70c6099515ff0903e6fabd265c1de430305fa83ba5ac5fc96292d4",
"name": "mtusi2026lab6-cache-1",
"hostname": "1190598f4c70",
"service": "cache",
"running": true,
"started_at": "2026-10-29T18:41:06.497289544Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {
"6379/tcp": null
}
},
{
"id": "287df894d94d1cd4b905b70d4179426e956fc0d07d0daa25645cc93cdd352b94",
"name": "mtusi2026lab6-collector-1",
"hostname": "287df894d94d",
"service": "collector",
"running": true,
"started_at": "2026-10-29T18:42:53.740946588Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"4317/tcp": null,
"4318/tcp": null,
"55678/tcp": null,
"55679/tcp": null
}
},
{
"id": "958a8746045d9329fd5482352bc40ac2b415a1dcee44a6fbe9f83db6014e0d5b",
"name": "mtusi2026lab6-db-1",
"hostname": "958a8746045d",
"service": "db",
"running": true,
"started_at": "2026-10-29T18:41:06.686214682Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {
"5432/tcp": null
}
},
{
"id": "7c24aee4c504b41d076364adf6342bf7bb7e0efa976c91d9a343dc439ba655b0",
"name": "mtusi2026lab6-dispatcher-1",
"hostname": "7c24aee4c504",
"service": "dispatcher",
"running": true,
"started_at": "2026-10-29T18:41:18.519553186Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "70efe4a6c26b77b68e40d53f337cf86c3f8b29a63317da34dcd03a714fafa4ad",
"name": "mtusi2026lab6-grafana-1",
"hostname": "70efe4a6c26b",
"service": "grafana",
"running": true,
"started_at": "2026-10-29T18:45:21.178828346Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 536870912,
"published_ports": {
"3000/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3006"
}
]
}
},
{
"id": "1a371af6bdcbbe4f719543a2aec1b6d2eef8876c7fa3334149690ab1599de834",
"name": "mtusi2026lab6-lb-1",
"hostname": "1a371af6bdcb",
"service": "lb",
"running": true,
"started_at": "2026-10-29T18:41:26.015502079Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {
"8080/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8086"
}
]
}
},
{
"id": "505595f249be1db0bc114feb1be30fefedc7432b792f34b710bcc60c701c6e3a",
"name": "mtusi2026lab6-loki-1",
"hostname": "505595f249be",
"service": "loki",
"running": true,
"started_at": "2026-10-29T18:41:07.090189589Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 402653184,
"published_ports": {
"3100/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3106"
}
]
}
},
{
"id": "4ce0b8ac6fd8776f6ecb9d3a118f0351042bd00c396428f01d828c71c8adebe6",
"name": "mtusi2026lab6-migrate-1",
"hostname": "4ce0b8ac6fd8",
"service": "migrate",
"running": false,
"started_at": "2026-10-29T18:41:12.371813465Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {}
},
{
"id": "cc243b53ea3b584b815f4db401f5ceb2f4fc417a9f216d9e1ac78c8fcac6c03a",
"name": "mtusi2026lab6-prometheus-1",
"hostname": "cc243b53ea3b",
"service": "prometheus",
"running": true,
"started_at": "2026-10-29T18:41:07.709646816Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"9090/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "9096"
}
]
}
},
{
"id": "d6aa4877617c95bfb55494daf168976d2c27a4ecb62a96964eb655023ec05ffb",
"name": "mtusi2026lab6-reconciler-1",
"hostname": "d6aa4877617c",
"service": "reconciler",
"running": true,
"started_at": "2026-10-29T18:41:18.3767024Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "71cb280598144c175634d699c70704b26d29cd3f87495fc57cb3823508204719",
"name": "mtusi2026lab6-s3-1",
"hostname": "71cb28059814",
"service": "s3",
"running": true,
"started_at": "2026-10-29T18:41:06.850285295Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {}
},
{
"id": "ba7d30c0238219f5934d97e2e950a257c6b6161987dc64fd80c68fb514400e51",
"name": "mtusi2026lab6-s3-bootstrap-1",
"hostname": "ba7d30c02382",
"service": "s3-bootstrap",
"running": false,
"started_at": "2026-10-29T18:41:10.002175496Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {}
},
{
"id": "7225c0225f542d177df36ae3312074c69f7b46de442bec54f84d2ecbb7d06a4c",
"name": "mtusi2026lab6-tempo-1",
"hostname": "7225c0225f54",
"service": "tempo",
"running": true,
"started_at": "2026-10-29T18:41:07.714699752Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"3200/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3206"
}
]
}
},
{
"id": "879aa51a0548bc2e1de2bbe5b396d401301e6e96205d4d275f823b726097a2d4",
"name": "mtusi2026lab6-worker-1",
"hostname": "879aa51a0548",
"service": "worker",
"running": true,
"started_at": "2026-10-29T18:41:18.839447718Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 805306368,
"published_ports": {
"8080/tcp": null
}
}
]
+682
View File
@@ -0,0 +1,682 @@
prometheus Pulling
collector Pulling
grafana Pulling
tempo Pulling
loki Pulling
9fa9226be034 Pulling fs layer
1617e25568b2 Pulling fs layer
3488d0e317d1 Pulling fs layer
e0d996230080 Pulling fs layer
5805cfa1a34e Pulling fs layer
c8c5fe18afab Pulling fs layer
34c169812ca7 Pulling fs layer
f5d2fa6280ad Pulling fs layer
0ff6b3eeee94 Pulling fs layer
4a3afe08a0ac Pulling fs layer
c8c5fe18afab Waiting
34c169812ca7 Waiting
f5d2fa6280ad Waiting
0ff6b3eeee94 Waiting
4a3afe08a0ac Waiting
e0d996230080 Waiting
5805cfa1a34e Waiting
38f4a9ccb8d6 Pulling fs layer
2e4cf50eeb92 Pulling fs layer
d44d440ac96b Pulling fs layer
0f8b424aa0b9 Pulling fs layer
d557676654e5 Pulling fs layer
d82bc7a76a83 Pulling fs layer
d858cbc252ad Pulling fs layer
1069fc2daed1 Pulling fs layer
b40161cd83fc Pulling fs layer
3f4e2c586348 Pulling fs layer
80a8c047508a Pulling fs layer
38f4a9ccb8d6 Waiting
2e4cf50eeb92 Waiting
1069fc2daed1 Waiting
d44d440ac96b Waiting
0f8b424aa0b9 Waiting
d82bc7a76a83 Waiting
d858cbc252ad Waiting
b40161cd83fc Waiting
3f4e2c586348 Waiting
d557676654e5 Waiting
5391af8231d5 Pulling fs layer
380288218376 Pulling fs layer
1d91cb518276 Pulling fs layer
80a8c047508a Waiting
e85d29cd1ed2 Pulling fs layer
5391af8231d5 Waiting
380288218376 Waiting
b1d8ed633678 Pulling fs layer
1d91cb518276 Waiting
b1d8ed633678 Waiting
e85d29cd1ed2 Waiting
f18232174bc9 Pulling fs layer
09c933ff567d Pulling fs layer
4132acee8a50 Pulling fs layer
aede6b7d834a Pulling fs layer
d99b47ecdbcf Pulling fs layer
f18232174bc9 Waiting
09c933ff567d Waiting
4132acee8a50 Waiting
aede6b7d834a Waiting
d99b47ecdbcf Waiting
6bbeea405980 Pulling fs layer
b3bf60c8c824 Pulling fs layer
2f6df36b11f5 Pulling fs layer
6bbeea405980 Waiting
b3bf60c8c824 Waiting
2f6df36b11f5 Waiting
f18232174bc9 Pulling fs layer
70ca445a67c2 Pulling fs layer
bbb8b5218cfb Pulling fs layer
2a08a00fe446 Pulling fs layer
5b32a5607528 Pulling fs layer
c0a27b1e2168 Pulling fs layer
ce185550173e Pulling fs layer
daf4bae1c5dd Pulling fs layer
b9d78c8c657a Pulling fs layer
babadc1b811e Pulling fs layer
bbb8b5218cfb Waiting
2a08a00fe446 Waiting
5b32a5607528 Waiting
c0a27b1e2168 Waiting
ce185550173e Waiting
daf4bae1c5dd Waiting
b9d78c8c657a Waiting
babadc1b811e Waiting
f18232174bc9 Waiting
70ca445a67c2 Waiting
1617e25568b2 Downloading [=> ] 15.74kB/480.9kB
1617e25568b2 Download complete
3488d0e317d1 Downloading [> ] 537.8kB/60.46MB
3488d0e317d1 Downloading [=> ] 1.616MB/60.46MB
3488d0e317d1 Downloading [===> ] 4.285MB/60.46MB
3488d0e317d1 Downloading [=====> ] 6.401MB/60.46MB
3488d0e317d1 Downloading [======> ] 7.998MB/60.46MB
9fa9226be034 Downloading [=> ] 15.74kB/783kB
9fa9226be034 Downloading [====================> ] 327kB/783kB
3488d0e317d1 Downloading [=======> ] 8.526MB/60.46MB
9fa9226be034 Downloading [==================================================>] 783kB/783kB
9fa9226be034 Download complete
9fa9226be034 Extracting [==> ] 32.77kB/783kB
9fa9226be034 Extracting [==================================================>] 783kB/783kB
9fa9226be034 Extracting [==================================================>] 783kB/783kB
3488d0e317d1 Downloading [=========> ] 11.19MB/60.46MB
3488d0e317d1 Downloading [============> ] 14.92MB/60.46MB
9fa9226be034 Pull complete
1617e25568b2 Extracting [===> ] 32.77kB/480.9kB
3488d0e317d1 Downloading [==============> ] 18.1MB/60.46MB
1617e25568b2 Extracting [=====================================> ] 360.4kB/480.9kB
3488d0e317d1 Downloading [================> ] 19.7MB/60.46MB
1617e25568b2 Extracting [===============================================> ] 458.8kB/480.9kB
3488d0e317d1 Downloading [==================> ] 22.86MB/60.46MB
e0d996230080 Downloading [> ] 539.3kB/54.96MB
1617e25568b2 Extracting [==================================================>] 480.9kB/480.9kB
3488d0e317d1 Downloading [====================> ] 24.98MB/60.46MB
e0d996230080 Downloading [=> ] 2.132MB/54.96MB
1617e25568b2 Extracting [==================================================>] 480.9kB/480.9kB
3488d0e317d1 Downloading [=====================> ] 25.51MB/60.46MB
e0d996230080 Downloading [===> ] 3.729MB/54.96MB
3488d0e317d1 Downloading [======================> ] 27.65MB/60.46MB
e0d996230080 Downloading [=====> ] 5.846MB/54.96MB
3488d0e317d1 Downloading [========================> ] 29.77MB/60.46MB
e0d996230080 Downloading [=======> ] 7.97MB/54.96MB
1617e25568b2 Pull complete
3488d0e317d1 Downloading [==========================> ] 31.9MB/60.46MB
e0d996230080 Downloading [=========> ] 10.08MB/54.96MB
e0d996230080 Downloading [===========> ] 12.73MB/54.96MB
3488d0e317d1 Downloading [===========================> ] 33.5MB/60.46MB
e0d996230080 Downloading [==============> ] 16.43MB/54.96MB
3488d0e317d1 Downloading [============================> ] 34.03MB/60.46MB
e0d996230080 Downloading [=================> ] 19.62MB/54.96MB
3488d0e317d1 Downloading [=============================> ] 36.16MB/60.46MB
e0d996230080 Downloading [===================> ] 21.75MB/54.96MB
3488d0e317d1 Downloading [===============================> ] 38.29MB/60.46MB
e0d996230080 Downloading [=====================> ] 23.89MB/54.96MB
3488d0e317d1 Downloading [=================================> ] 40.42MB/60.46MB
e0d996230080 Downloading [========================> ] 26.53MB/54.96MB
3488d0e317d1 Downloading [===================================> ] 42.54MB/60.46MB
e0d996230080 Downloading [==========================> ] 28.66MB/54.96MB
3488d0e317d1 Downloading [=====================================> ] 45.18MB/60.46MB
e0d996230080 Downloading [============================> ] 31.3MB/54.96MB
3488d0e317d1 Downloading [=======================================> ] 47.29MB/60.46MB
e0d996230080 Downloading [==============================> ] 33.41MB/54.96MB
3488d0e317d1 Downloading [========================================> ] 49.42MB/60.46MB
e0d996230080 Downloading [================================> ] 35.53MB/54.96MB
3488d0e317d1 Downloading [===========================================> ] 52.06MB/60.46MB
e0d996230080 Downloading [==================================> ] 38.17MB/54.96MB
3488d0e317d1 Downloading [============================================> ] 54.19MB/60.46MB
e0d996230080 Downloading [====================================> ] 40.3MB/54.96MB
3488d0e317d1 Downloading [==============================================> ] 56.31MB/60.46MB
e0d996230080 Downloading [======================================> ] 42.42MB/54.96MB
3488d0e317d1 Downloading [================================================> ] 58.44MB/60.46MB
e0d996230080 Downloading [=========================================> ] 45.07MB/54.96MB
3488d0e317d1 Download complete
3488d0e317d1 Extracting [> ] 557.1kB/60.46MB
5805cfa1a34e Downloading [==================================================>] 605B/605B
5805cfa1a34e Verifying Checksum
5805cfa1a34e Download complete
e0d996230080 Downloading [===========================================> ] 47.73MB/54.96MB
3488d0e317d1 Extracting [===> ] 4.456MB/60.46MB
e0d996230080 Downloading [==============================================> ] 51.45MB/54.96MB
3488d0e317d1 Extracting [=====> ] 6.685MB/60.46MB
e0d996230080 Downloading [=================================================> ] 54.65MB/54.96MB
e0d996230080 Verifying Checksum
e0d996230080 Download complete
3488d0e317d1 Extracting [========> ] 10.03MB/60.46MB
3488d0e317d1 Extracting [===========> ] 13.93MB/60.46MB
3488d0e317d1 Extracting [==============> ] 17.27MB/60.46MB
34c169812ca7 Downloading [==================================================>] 1.44kB/1.44kB
34c169812ca7 Verifying Checksum
34c169812ca7 Download complete
3488d0e317d1 Extracting [===================> ] 23.4MB/60.46MB
c8c5fe18afab Downloading [===========================================> ] 3.502kB/4.023kB
c8c5fe18afab Downloading [==================================================>] 4.023kB/4.023kB
c8c5fe18afab Download complete
3488d0e317d1 Extracting [=====================> ] 26.18MB/60.46MB
3488d0e317d1 Extracting [========================> ] 30.08MB/60.46MB
f5d2fa6280ad Downloading [==> ] 3.5kB/79.77kB
f5d2fa6280ad Downloading [==================================================>] 79.77kB/79.77kB
f5d2fa6280ad Download complete
3488d0e317d1 Extracting [============================> ] 33.98MB/60.46MB
3488d0e317d1 Extracting [====================================> ] 44.01MB/60.46MB
3488d0e317d1 Extracting [============================================> ] 54.03MB/60.46MB
0ff6b3eeee94 Downloading [==================================================>] 100B/100B
0ff6b3eeee94 Download complete
3488d0e317d1 Extracting [=================================================> ] 60.16MB/60.46MB
3488d0e317d1 Extracting [==================================================>] 60.46MB/60.46MB
3488d0e317d1 Pull complete
e0d996230080 Extracting [> ] 557.1kB/54.96MB
38f4a9ccb8d6 Downloading [==> ] 3.5kB/84.66kB
38f4a9ccb8d6 Downloading [==================================================>] 84.66kB/84.66kB
38f4a9ccb8d6 Download complete
38f4a9ccb8d6 Extracting [===================> ] 32.77kB/84.66kB
38f4a9ccb8d6 Extracting [==================================================>] 84.66kB/84.66kB
38f4a9ccb8d6 Extracting [==================================================>] 84.66kB/84.66kB
4a3afe08a0ac Downloading [==================================================>] 658B/658B
4a3afe08a0ac Verifying Checksum
4a3afe08a0ac Download complete
e0d996230080 Extracting [===> ] 3.899MB/54.96MB
38f4a9ccb8d6 Pull complete
e0d996230080 Extracting [======> ] 7.242MB/54.96MB
e0d996230080 Extracting [=========> ] 10.03MB/54.96MB
e0d996230080 Extracting [===========> ] 12.81MB/54.96MB
e0d996230080 Extracting [==============> ] 15.6MB/54.96MB
e0d996230080 Extracting [=================> ] 18.94MB/54.96MB
2e4cf50eeb92 Downloading [=============> ] 3.5kB/12.58kB
2e4cf50eeb92 Download complete
2e4cf50eeb92 Extracting [==================================================>] 12.58kB/12.58kB
2e4cf50eeb92 Extracting [==================================================>] 12.58kB/12.58kB
0f8b424aa0b9 Downloading [==================================================>] 75B/75B
0f8b424aa0b9 Verifying Checksum
0f8b424aa0b9 Download complete
2e4cf50eeb92 Pull complete
e0d996230080 Extracting [==================> ] 20.05MB/54.96MB
e0d996230080 Extracting [======================> ] 24.51MB/54.96MB
e0d996230080 Extracting [========================> ] 27.3MB/54.96MB
e0d996230080 Extracting [==================================> ] 37.88MB/54.96MB
e0d996230080 Extracting [===========================================> ] 47.91MB/54.96MB
d557676654e5 Downloading [==================================================>] 193B/193B
d557676654e5 Verifying Checksum
d557676654e5 Download complete
e0d996230080 Extracting [=================================================> ] 54.59MB/54.96MB
e0d996230080 Extracting [==================================================>] 54.96MB/54.96MB
e0d996230080 Pull complete
5805cfa1a34e Extracting [==================================================>] 605B/605B
5805cfa1a34e Extracting [==================================================>] 605B/605B
d82bc7a76a83 Downloading [==================================================>] 130B/130B
d82bc7a76a83 Verifying Checksum
d82bc7a76a83 Download complete
5805cfa1a34e Pull complete
c8c5fe18afab Extracting [==================================================>] 4.023kB/4.023kB
c8c5fe18afab Extracting [==================================================>] 4.023kB/4.023kB
c8c5fe18afab Pull complete
34c169812ca7 Extracting [==================================================>] 1.44kB/1.44kB
34c169812ca7 Extracting [==================================================>] 1.44kB/1.44kB
34c169812ca7 Pull complete
f5d2fa6280ad Extracting [====================> ] 32.77kB/79.77kB
f5d2fa6280ad Extracting [==================================================>] 79.77kB/79.77kB
f5d2fa6280ad Extracting [==================================================>] 79.77kB/79.77kB
f5d2fa6280ad Pull complete
0ff6b3eeee94 Extracting [==================================================>] 100B/100B
0ff6b3eeee94 Extracting [==================================================>] 100B/100B
0ff6b3eeee94 Pull complete
4a3afe08a0ac Extracting [==================================================>] 658B/658B
4a3afe08a0ac Extracting [==================================================>] 658B/658B
4a3afe08a0ac Pull complete
prometheus Pulled
d858cbc252ad Downloading [==================================================>] 173B/173B
d858cbc252ad Verifying Checksum
d858cbc252ad Download complete
1069fc2daed1 Downloading [==================================================>] 97B/97B
1069fc2daed1 Verifying Checksum
1069fc2daed1 Download complete
d44d440ac96b Downloading [=> ] 15.74kB/453.9kB
d44d440ac96b Download complete
d44d440ac96b Extracting [===> ] 32.77kB/453.9kB
d44d440ac96b Extracting [====================================> ] 327.7kB/453.9kB
d44d440ac96b Extracting [===========================================> ] 393.2kB/453.9kB
d44d440ac96b Extracting [==================================================>] 453.9kB/453.9kB
d44d440ac96b Extracting [==================================================>] 453.9kB/453.9kB
b40161cd83fc Download complete
3f4e2c586348 Downloading [==================================================>] 326B/326B
3f4e2c586348 Verifying Checksum
3f4e2c586348 Download complete
80a8c047508a Downloading [=> ] 3.477kB/129.1kB
80a8c047508a Downloading [==================================================>] 129.1kB/129.1kB
80a8c047508a Verifying Checksum
80a8c047508a Download complete
d44d440ac96b Pull complete
0f8b424aa0b9 Extracting [==================================================>] 75B/75B
0f8b424aa0b9 Extracting [==================================================>] 75B/75B
0f8b424aa0b9 Pull complete
d557676654e5 Extracting [==================================================>] 193B/193B
d557676654e5 Extracting [==================================================>] 193B/193B
d557676654e5 Pull complete
d82bc7a76a83 Extracting [==================================================>] 130B/130B
d82bc7a76a83 Extracting [==================================================>] 130B/130B
d82bc7a76a83 Pull complete
d858cbc252ad Extracting [==================================================>] 173B/173B
d858cbc252ad Extracting [==================================================>] 173B/173B
d858cbc252ad Pull complete
1069fc2daed1 Extracting [==================================================>] 97B/97B
1069fc2daed1 Extracting [==================================================>] 97B/97B
1069fc2daed1 Pull complete
b40161cd83fc Extracting [==================================================>] 382B/382B
b40161cd83fc Extracting [==================================================>] 382B/382B
b40161cd83fc Pull complete
3f4e2c586348 Extracting [==================================================>] 326B/326B
3f4e2c586348 Extracting [==================================================>] 326B/326B
3f4e2c586348 Pull complete
80a8c047508a Extracting [============> ] 32.77kB/129.1kB
80a8c047508a Extracting [==================================================>] 129.1kB/129.1kB
80a8c047508a Extracting [==================================================>] 129.1kB/129.1kB
80a8c047508a Pull complete
5391af8231d5 Downloading [=> ] 15.74kB/758.9kB
5391af8231d5 Verifying Checksum
5391af8231d5 Download complete
5391af8231d5 Extracting [==> ] 32.77kB/758.9kB
380288218376 Downloading [> ] 343.4kB/33.92MB
5391af8231d5 Extracting [==================================================>] 758.9kB/758.9kB
380288218376 Downloading [====> ] 3.096MB/33.92MB
380288218376 Downloading [=========> ] 6.537MB/33.92MB
5391af8231d5 Pull complete
380288218376 Downloading [==============> ] 9.977MB/33.92MB
380288218376 Downloading [===================> ] 13.42MB/33.92MB
380288218376 Downloading [========================> ] 16.51MB/33.92MB
380288218376 Downloading [============================> ] 19.27MB/33.92MB
1d91cb518276 Downloading [==================================================>] 787B/787B
1d91cb518276 Download complete
380288218376 Downloading [================================> ] 22.36MB/33.92MB
380288218376 Downloading [=====================================> ] 25.46MB/33.92MB
380288218376 Downloading [==========================================> ] 28.56MB/33.92MB
380288218376 Downloading [==============================================> ] 31.31MB/33.92MB
380288218376 Verifying Checksum
380288218376 Download complete
380288218376 Extracting [> ] 360.4kB/33.92MB
e85d29cd1ed2 Downloading [==================================================>] 381B/381B
e85d29cd1ed2 Download complete
380288218376 Extracting [=======> ] 5.407MB/33.92MB
380288218376 Extracting [==============> ] 10.09MB/33.92MB
b1d8ed633678 Download complete
380288218376 Extracting [====================> ] 13.7MB/33.92MB
380288218376 Extracting [===========================> ] 18.38MB/33.92MB
380288218376 Extracting [================================> ] 22.35MB/33.92MB
f18232174bc9 Downloading [> ] 48.51kB/3.642MB
f18232174bc9 Downloading [> ] 48.51kB/3.642MB
380288218376 Extracting [==================================> ] 23.43MB/33.92MB
09c933ff567d Downloading [> ] 32.77kB/2.777MB
f18232174bc9 Downloading [====================================> ] 2.654MB/3.642MB
f18232174bc9 Downloading [====================================> ] 2.654MB/3.642MB
f18232174bc9 Verifying Checksum
f18232174bc9 Download complete
f18232174bc9 Verifying Checksum
f18232174bc9 Extracting [> ] 65.54kB/3.642MB
f18232174bc9 Extracting [> ] 65.54kB/3.642MB
380288218376 Extracting [======================================> ] 26.31MB/33.92MB
09c933ff567d Downloading [=============================> ] 1.632MB/2.777MB
09c933ff567d Downloading [==================================================>] 2.777MB/2.777MB
09c933ff567d Download complete
380288218376 Extracting [==============================================> ] 31.36MB/33.92MB
f18232174bc9 Extracting [============> ] 917.5kB/3.642MB
f18232174bc9 Extracting [============> ] 917.5kB/3.642MB
380288218376 Extracting [==================================================>] 33.92MB/33.92MB
380288218376 Pull complete
1d91cb518276 Extracting [==================================================>] 787B/787B
1d91cb518276 Extracting [==================================================>] 787B/787B
f18232174bc9 Extracting [=================================> ] 2.425MB/3.642MB
f18232174bc9 Extracting [=================================> ] 2.425MB/3.642MB
1d91cb518276 Pull complete
e85d29cd1ed2 Extracting [==================================================>] 381B/381B
e85d29cd1ed2 Extracting [==================================================>] 381B/381B
f18232174bc9 Extracting [==================================================>] 3.642MB/3.642MB
f18232174bc9 Extracting [==================================================>] 3.642MB/3.642MB
f18232174bc9 Extracting [==================================================>] 3.642MB/3.642MB
f18232174bc9 Extracting [==================================================>] 3.642MB/3.642MB
4132acee8a50 Downloading [> ] 506.6kB/49.29MB
e85d29cd1ed2 Pull complete
b1d8ed633678 Extracting [==================================================>] 890B/890B
b1d8ed633678 Extracting [==================================================>] 890B/890B
b1d8ed633678 Pull complete
f18232174bc9 Pull complete
f18232174bc9 Pull complete
09c933ff567d Extracting [> ] 32.77kB/2.777MB
4132acee8a50 Downloading [===> ] 3.493MB/49.29MB
loki Pulled
4132acee8a50 Downloading [======> ] 5.974MB/49.29MB
09c933ff567d Extracting [====> ] 229.4kB/2.777MB
4132acee8a50 Downloading [=========> ] 8.977MB/49.29MB
09c933ff567d Extracting [=======> ] 393.2kB/2.777MB
4132acee8a50 Downloading [============> ] 11.96MB/49.29MB
09c933ff567d Extracting [==========> ] 557.1kB/2.777MB
aede6b7d834a Downloading [==================================================>] 948B/948B
aede6b7d834a Verifying Checksum
09c933ff567d Extracting [==================================================>] 2.777MB/2.777MB
aede6b7d834a Download complete
09c933ff567d Pull complete
4132acee8a50 Downloading [===============> ] 14.95MB/49.29MB
d99b47ecdbcf Downloading [==================================================>] 125B/125B
d99b47ecdbcf Download complete
4132acee8a50 Downloading [==================> ] 17.92MB/49.29MB
4132acee8a50 Downloading [=====================> ] 20.91MB/49.29MB
4132acee8a50 Downloading [========================> ] 23.89MB/49.29MB
4132acee8a50 Downloading [===========================> ] 26.86MB/49.29MB
4132acee8a50 Downloading [==============================> ] 30.34MB/49.29MB
4132acee8a50 Downloading [==================================> ] 33.82MB/49.29MB
6bbeea405980 Downloading [======> ] 16.38kB/128.3kB
6bbeea405980 Verifying Checksum
6bbeea405980 Download complete
6bbeea405980 Extracting [============> ] 32.77kB/128.3kB
6bbeea405980 Extracting [==================================================>] 128.3kB/128.3kB
4132acee8a50 Downloading [=====================================> ] 36.81MB/49.29MB
6bbeea405980 Pull complete
4132acee8a50 Downloading [========================================> ] 40.32MB/49.29MB
4132acee8a50 Downloading [============================================> ] 43.83MB/49.29MB
b3bf60c8c824 Downloading [> ] 526.3kB/86.08MB
4132acee8a50 Downloading [===============================================> ] 46.85MB/49.29MB
4132acee8a50 Downloading [=================================================> ] 48.85MB/49.29MB
b3bf60c8c824 Downloading [=> ] 2.65MB/86.08MB
4132acee8a50 Verifying Checksum
4132acee8a50 Download complete
4132acee8a50 Extracting [> ] 524.3kB/49.29MB
b3bf60c8c824 Downloading [===> ] 5.822MB/86.08MB
4132acee8a50 Extracting [====> ] 4.719MB/49.29MB
b3bf60c8c824 Downloading [=====> ] 8.982MB/86.08MB
4132acee8a50 Extracting [=========> ] 8.913MB/49.29MB
b3bf60c8c824 Downloading [=======> ] 12.15MB/86.08MB
2f6df36b11f5 Downloading [==================================================>] 730B/730B
2f6df36b11f5 Verifying Checksum
2f6df36b11f5 Download complete
4132acee8a50 Extracting [=============> ] 13.11MB/49.29MB
b3bf60c8c824 Downloading [========> ] 15.32MB/86.08MB
4132acee8a50 Extracting [=================> ] 16.78MB/49.29MB
b3bf60c8c824 Downloading [==========> ] 18.5MB/86.08MB
4132acee8a50 Extracting [===================> ] 19.4MB/49.29MB
b3bf60c8c824 Downloading [============> ] 22.2MB/86.08MB
4132acee8a50 Extracting [========================> ] 24.12MB/49.29MB
b3bf60c8c824 Downloading [==============> ] 25.38MB/86.08MB
4132acee8a50 Extracting [==============================> ] 29.88MB/49.29MB
b3bf60c8c824 Downloading [================> ] 28.57MB/86.08MB
4132acee8a50 Extracting [=========================================> ] 40.89MB/49.29MB
b3bf60c8c824 Downloading [==================> ] 31.76MB/86.08MB
4132acee8a50 Extracting [=================================================> ] 48.76MB/49.29MB
b3bf60c8c824 Downloading [====================> ] 34.95MB/86.08MB
4132acee8a50 Extracting [==================================================>] 49.29MB/49.29MB
4132acee8a50 Pull complete
aede6b7d834a Extracting [==================================================>] 948B/948B
aede6b7d834a Extracting [==================================================>] 948B/948B
bbb8b5218cfb Downloading [> ] 48.51kB/3.522MB
aede6b7d834a Pull complete
d99b47ecdbcf Extracting [==================================================>] 125B/125B
d99b47ecdbcf Extracting [==================================================>] 125B/125B
b3bf60c8c824 Downloading [======================> ] 38.12MB/86.08MB
d99b47ecdbcf Pull complete
bbb8b5218cfb Downloading [===========================> ] 1.916MB/3.522MB
tempo Pulled
b3bf60c8c824 Downloading [=======================> ] 40.23MB/86.08MB
bbb8b5218cfb Verifying Checksum
bbb8b5218cfb Download complete
b3bf60c8c824 Downloading [========================> ] 42.88MB/86.08MB
b3bf60c8c824 Downloading [==========================> ] 46.04MB/86.08MB
b3bf60c8c824 Downloading [============================> ] 49.23MB/86.08MB
b3bf60c8c824 Downloading [==============================> ] 52.93MB/86.08MB
b3bf60c8c824 Downloading [================================> ] 56.11MB/86.08MB
b3bf60c8c824 Downloading [==================================> ] 58.76MB/86.08MB
b3bf60c8c824 Downloading [===================================> ] 61.4MB/86.08MB
2a08a00fe446 Downloading [> ] 97.67kB/8.735MB
b3bf60c8c824 Downloading [=====================================> ] 64.07MB/86.08MB
b3bf60c8c824 Downloading [=======================================> ] 67.76MB/86.08MB
2a08a00fe446 Downloading [=====> ] 884.1kB/8.735MB
b3bf60c8c824 Downloading [=========================================> ] 70.94MB/86.08MB
70ca445a67c2 Downloading [==================================================>] 139B/139B
70ca445a67c2 Verifying Checksum
70ca445a67c2 Download complete
70ca445a67c2 Extracting [==================================================>] 139B/139B
70ca445a67c2 Extracting [==================================================>] 139B/139B
2a08a00fe446 Downloading [================> ] 2.85MB/8.735MB
70ca445a67c2 Pull complete
bbb8b5218cfb Extracting [> ] 65.54kB/3.522MB
b3bf60c8c824 Downloading [==========================================> ] 73.06MB/86.08MB
2a08a00fe446 Downloading [=========================> ] 4.521MB/8.735MB
b3bf60c8c824 Downloading [===========================================> ] 75.18MB/86.08MB
2a08a00fe446 Downloading [====================================> ] 6.389MB/8.735MB
bbb8b5218cfb Extracting [=========> ] 655.4kB/3.522MB
b3bf60c8c824 Downloading [============================================> ] 77.31MB/86.08MB
2a08a00fe446 Downloading [================================================> ] 8.552MB/8.735MB
2a08a00fe446 Verifying Checksum
2a08a00fe446 Download complete
bbb8b5218cfb Extracting [==============> ] 1.049MB/3.522MB
b3bf60c8c824 Downloading [==============================================> ] 80.49MB/86.08MB
bbb8b5218cfb Extracting [==================================================>] 3.522MB/3.522MB
b3bf60c8c824 Downloading [================================================> ] 84.21MB/86.08MB
bbb8b5218cfb Extracting [==================================================>] 3.522MB/3.522MB
b3bf60c8c824 Verifying Checksum
b3bf60c8c824 Download complete
b3bf60c8c824 Extracting [> ] 557.1kB/86.08MB
b3bf60c8c824 Extracting [===> ] 5.571MB/86.08MB
bbb8b5218cfb Pull complete
2a08a00fe446 Extracting [> ] 98.3kB/8.735MB
b3bf60c8c824 Extracting [=====> ] 10.03MB/86.08MB
2a08a00fe446 Extracting [=======================> ] 4.129MB/8.735MB
5b32a5607528 Downloading [===> ] 3.5kB/54.68kB
b3bf60c8c824 Extracting [=======> ] 13.37MB/86.08MB
c0a27b1e2168 Downloading [======> ] 3.5kB/27.2kB
c0a27b1e2168 Downloading [==================================================>] 27.2kB/27.2kB
c0a27b1e2168 Verifying Checksum
5b32a5607528 Downloading [==================================================>] 54.68kB/54.68kB
c0a27b1e2168 Download complete
5b32a5607528 Download complete
2a08a00fe446 Extracting [============================================> ] 7.766MB/8.735MB
2a08a00fe446 Extracting [==================================================>] 8.735MB/8.735MB
b3bf60c8c824 Extracting [=========> ] 16.15MB/86.08MB
2a08a00fe446 Pull complete
5b32a5607528 Extracting [=============================> ] 32.77kB/54.68kB
5b32a5607528 Extracting [==================================================>] 54.68kB/54.68kB
5b32a5607528 Pull complete
c0a27b1e2168 Extracting [==================================================>] 27.2kB/27.2kB
c0a27b1e2168 Extracting [==================================================>] 27.2kB/27.2kB
b3bf60c8c824 Extracting [===========> ] 20.05MB/86.08MB
c0a27b1e2168 Pull complete
b3bf60c8c824 Extracting [=============> ] 23.4MB/86.08MB
b3bf60c8c824 Extracting [===============> ] 26.18MB/86.08MB
ce185550173e Downloading [> ] 534kB/101.6MB
ce185550173e Downloading [=> ] 3.7MB/101.6MB
b3bf60c8c824 Extracting [================> ] 28.97MB/86.08MB
ce185550173e Downloading [===> ] 6.847MB/101.6MB
b3bf60c8c824 Extracting [==================> ] 31.75MB/86.08MB
ce185550173e Downloading [====> ] 9.476MB/101.6MB
b3bf60c8c824 Extracting [====================> ] 35.09MB/86.08MB
b3bf60c8c824 Extracting [=====================> ] 37.32MB/86.08MB
b9d78c8c657a Downloading [==============> ] 3.5kB/11.92kB
b9d78c8c657a Downloading [==================================================>] 11.92kB/11.92kB
b9d78c8c657a Verifying Checksum
b9d78c8c657a Download complete
b3bf60c8c824 Extracting [=======================> ] 40.11MB/86.08MB
ce185550173e Downloading [=====> ] 12.1MB/101.6MB
b3bf60c8c824 Extracting [========================> ] 42.34MB/86.08MB
ce185550173e Downloading [=======> ] 15.26MB/101.6MB
b3bf60c8c824 Extracting [=========================> ] 44.56MB/86.08MB
ce185550173e Downloading [=========> ] 18.44MB/101.6MB
b3bf60c8c824 Extracting [===========================> ] 46.79MB/86.08MB
ce185550173e Downloading [==========> ] 21.08MB/101.6MB
b3bf60c8c824 Extracting [============================> ] 49.02MB/86.08MB
ce185550173e Downloading [===========> ] 23.72MB/101.6MB
b3bf60c8c824 Extracting [==============================> ] 52.92MB/86.08MB
ce185550173e Downloading [=============> ] 26.9MB/101.6MB
b3bf60c8c824 Extracting [================================> ] 55.15MB/86.08MB
daf4bae1c5dd Downloading [> ] 540kB/63.48MB
ce185550173e Downloading [==============> ] 30.08MB/101.6MB
b3bf60c8c824 Extracting [================================> ] 56.26MB/86.08MB
ce185550173e Downloading [===============> ] 32.23MB/101.6MB
b3bf60c8c824 Extracting [=================================> ] 58.49MB/86.08MB
daf4bae1c5dd Downloading [=> ] 2.162MB/63.48MB
ce185550173e Downloading [=================> ] 35.42MB/101.6MB
daf4bae1c5dd Downloading [==> ] 3.784MB/63.48MB
ce185550173e Downloading [==================> ] 37.54MB/101.6MB
b3bf60c8c824 Extracting [==================================> ] 60.16MB/86.08MB
daf4bae1c5dd Downloading [====> ] 5.947MB/63.48MB
ce185550173e Downloading [===================> ] 39.67MB/101.6MB
daf4bae1c5dd Downloading [=====> ] 7.569MB/63.48MB
ce185550173e Downloading [====================> ] 41.82MB/101.6MB
b3bf60c8c824 Extracting [===================================> ] 61.28MB/86.08MB
daf4bae1c5dd Downloading [=======> ] 9.731MB/63.48MB
ce185550173e Downloading [=====================> ] 43.93MB/101.6MB
b3bf60c8c824 Extracting [====================================> ] 62.39MB/86.08MB
daf4bae1c5dd Downloading [========> ] 11.35MB/63.48MB
ce185550173e Downloading [======================> ] 46.04MB/101.6MB
b3bf60c8c824 Extracting [======================================> ] 66.29MB/86.08MB
b3bf60c8c824 Extracting [========================================> ] 70.19MB/86.08MB
ce185550173e Downloading [=======================> ] 48.69MB/101.6MB
daf4bae1c5dd Downloading [==========> ] 12.98MB/63.48MB
b3bf60c8c824 Extracting [===========================================> ] 74.09MB/86.08MB
ce185550173e Downloading [=========================> ] 50.81MB/101.6MB
daf4bae1c5dd Downloading [===========> ] 14.06MB/63.48MB
b3bf60c8c824 Extracting [=============================================> ] 77.99MB/86.08MB
ce185550173e Downloading [==========================> ] 52.92MB/101.6MB
daf4bae1c5dd Downloading [============> ] 16.22MB/63.48MB
b3bf60c8c824 Extracting [==============================================> ] 80.22MB/86.08MB
ce185550173e Downloading [===========================> ] 55.05MB/101.6MB
daf4bae1c5dd Downloading [==============> ] 18.38MB/63.48MB
b3bf60c8c824 Extracting [================================================> ] 83MB/86.08MB
ce185550173e Downloading [============================> ] 57.16MB/101.6MB
daf4bae1c5dd Downloading [================> ] 20.54MB/63.48MB
b3bf60c8c824 Extracting [=================================================> ] 85.23MB/86.08MB
ce185550173e Downloading [=============================> ] 59.29MB/101.6MB
b3bf60c8c824 Extracting [==================================================>] 86.08MB/86.08MB
daf4bae1c5dd Downloading [=================> ] 22.71MB/63.48MB
b3bf60c8c824 Pull complete
2f6df36b11f5 Extracting [==================================================>] 730B/730B
2f6df36b11f5 Extracting [==================================================>] 730B/730B
2f6df36b11f5 Pull complete
ce185550173e Downloading [==============================> ] 61.42MB/101.6MB
daf4bae1c5dd Downloading [===================> ] 24.87MB/63.48MB
collector Pulled
ce185550173e Downloading [===============================> ] 63.54MB/101.6MB
daf4bae1c5dd Downloading [=====================> ] 27.03MB/63.48MB
ce185550173e Downloading [================================> ] 65.67MB/101.6MB
daf4bae1c5dd Downloading [======================> ] 28.65MB/63.48MB
ce185550173e Downloading [=================================> ] 67.79MB/101.6MB
daf4bae1c5dd Downloading [========================> ] 30.82MB/63.48MB
ce185550173e Downloading [==================================> ] 69.93MB/101.6MB
daf4bae1c5dd Downloading [=========================> ] 32.98MB/63.48MB
ce185550173e Downloading [===================================> ] 72.05MB/101.6MB
daf4bae1c5dd Downloading [===========================> ] 34.6MB/63.48MB
ce185550173e Downloading [====================================> ] 74.17MB/101.6MB
daf4bae1c5dd Downloading [============================> ] 36.22MB/63.48MB
ce185550173e Downloading [=====================================> ] 76.3MB/101.6MB
daf4bae1c5dd Downloading [=============================> ] 37.85MB/63.48MB
ce185550173e Downloading [======================================> ] 78.43MB/101.6MB
daf4bae1c5dd Downloading [===============================> ] 40.01MB/63.48MB
ce185550173e Downloading [=======================================> ] 80.55MB/101.6MB
daf4bae1c5dd Downloading [=================================> ] 42.17MB/63.48MB
babadc1b811e Downloading [==================================================>] 1.228kB/1.228kB
babadc1b811e Verifying Checksum
babadc1b811e Download complete
ce185550173e Downloading [========================================> ] 82.66MB/101.6MB
daf4bae1c5dd Downloading [==================================> ] 44.33MB/63.48MB
ce185550173e Downloading [=========================================> ] 84.78MB/101.6MB
daf4bae1c5dd Downloading [====================================> ] 46.5MB/63.48MB
ce185550173e Downloading [==========================================> ] 86.9MB/101.6MB
daf4bae1c5dd Downloading [======================================> ] 48.66MB/63.48MB
ce185550173e Downloading [===========================================> ] 89.01MB/101.6MB
daf4bae1c5dd Downloading [========================================> ] 50.82MB/63.48MB
ce185550173e Downloading [============================================> ] 91.15MB/101.6MB
daf4bae1c5dd Downloading [=========================================> ] 52.99MB/63.48MB
ce185550173e Downloading [=============================================> ] 93.28MB/101.6MB
daf4bae1c5dd Downloading [===========================================> ] 55.15MB/63.48MB
ce185550173e Downloading [==============================================> ] 95.4MB/101.6MB
daf4bae1c5dd Downloading [=============================================> ] 57.31MB/63.48MB
ce185550173e Downloading [===============================================> ] 97.52MB/101.6MB
daf4bae1c5dd Downloading [==============================================> ] 59.47MB/63.48MB
ce185550173e Downloading [=================================================> ] 99.65MB/101.6MB
daf4bae1c5dd Downloading [================================================> ] 61.64MB/63.48MB
ce185550173e Download complete
daf4bae1c5dd Verifying Checksum
daf4bae1c5dd Download complete
ce185550173e Extracting [> ] 557.1kB/101.6MB
ce185550173e Extracting [=> ] 3.899MB/101.6MB
ce185550173e Extracting [===> ] 6.685MB/101.6MB
ce185550173e Extracting [====> ] 10.03MB/101.6MB
ce185550173e Extracting [======> ] 13.37MB/101.6MB
ce185550173e Extracting [=======> ] 15.6MB/101.6MB
ce185550173e Extracting [========> ] 16.71MB/101.6MB
ce185550173e Extracting [=========> ] 19.5MB/101.6MB
ce185550173e Extracting [============> ] 25.62MB/101.6MB
ce185550173e Extracting [===============> ] 32.31MB/101.6MB
ce185550173e Extracting [==================> ] 37.32MB/101.6MB
ce185550173e Extracting [=====================> ] 44.01MB/101.6MB
ce185550173e Extracting [========================> ] 50.69MB/101.6MB
ce185550173e Extracting [============================> ] 57.38MB/101.6MB
ce185550173e Extracting [==============================> ] 62.95MB/101.6MB
ce185550173e Extracting [=================================> ] 69.07MB/101.6MB
ce185550173e Extracting [=====================================> ] 75.2MB/101.6MB
ce185550173e Extracting [========================================> ] 81.89MB/101.6MB
ce185550173e Extracting [============================================> ] 90.24MB/101.6MB
ce185550173e Extracting [===============================================> ] 96.93MB/101.6MB
ce185550173e Extracting [================================================> ] 98.6MB/101.6MB
ce185550173e Extracting [=================================================> ] 101.4MB/101.6MB
ce185550173e Extracting [==================================================>] 101.6MB/101.6MB
ce185550173e Pull complete
daf4bae1c5dd Extracting [> ] 557.1kB/63.48MB
daf4bae1c5dd Extracting [> ] 1.114MB/63.48MB
daf4bae1c5dd Extracting [=> ] 1.671MB/63.48MB
daf4bae1c5dd Extracting [=> ] 2.228MB/63.48MB
daf4bae1c5dd Extracting [==> ] 2.785MB/63.48MB
daf4bae1c5dd Extracting [===> ] 3.899MB/63.48MB
daf4bae1c5dd Extracting [===> ] 4.456MB/63.48MB
daf4bae1c5dd Extracting [===> ] 5.014MB/63.48MB
daf4bae1c5dd Extracting [======> ] 7.799MB/63.48MB
daf4bae1c5dd Extracting [=======> ] 10.03MB/63.48MB
daf4bae1c5dd Extracting [==========> ] 13.93MB/63.48MB
daf4bae1c5dd Extracting [==============> ] 17.83MB/63.48MB
daf4bae1c5dd Extracting [==============> ] 18.38MB/63.48MB
daf4bae1c5dd Extracting [=================> ] 22.28MB/63.48MB
daf4bae1c5dd Extracting [====================> ] 26.18MB/63.48MB
daf4bae1c5dd Extracting [=======================> ] 29.52MB/63.48MB
daf4bae1c5dd Extracting [=========================> ] 32.87MB/63.48MB
daf4bae1c5dd Extracting [============================> ] 36.21MB/63.48MB
daf4bae1c5dd Extracting [================================> ] 40.67MB/63.48MB
daf4bae1c5dd Extracting [===================================> ] 44.56MB/63.48MB
daf4bae1c5dd Extracting [======================================> ] 49.02MB/63.48MB
daf4bae1c5dd Extracting [========================================> ] 51.25MB/63.48MB
daf4bae1c5dd Extracting [===========================================> ] 55.15MB/63.48MB
daf4bae1c5dd Extracting [===============================================> ] 60.16MB/63.48MB
daf4bae1c5dd Extracting [===============================================> ] 60.72MB/63.48MB
daf4bae1c5dd Extracting [==================================================>] 63.48MB/63.48MB
daf4bae1c5dd Extracting [==================================================>] 63.48MB/63.48MB
daf4bae1c5dd Pull complete
b9d78c8c657a Extracting [==================================================>] 11.92kB/11.92kB
b9d78c8c657a Extracting [==================================================>] 11.92kB/11.92kB
b9d78c8c657a Pull complete
babadc1b811e Extracting [==================================================>] 1.228kB/1.228kB
babadc1b811e Extracting [==================================================>] 1.228kB/1.228kB
babadc1b811e Pull complete
grafana Pulled
#0 building with "default" instance using docker driver
#1 [s3 internal] load build definition from s3.Dockerfile
#1 transferring dockerfile:
#1 transferring dockerfile: 922B 0.0s done
+515
View File
@@ -0,0 +1,515 @@
#0 building with "default" instance using docker driver
#1 [migrate internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.04kB done
#1 DONE 0.0s
#2 [s3 internal] load build definition from s3.Dockerfile
#2 transferring dockerfile: 922B done
#2 DONE 0.0s
#3 [s3] resolve image config for docker-image://docker.io/docker/dockerfile:1.7.0
#3 DONE 2.2s
#4 [migrate internal] load metadata for docker.io/library/python:3.12.10-slim-bookworm
#4 ...
#5 [s3] docker-image://docker.io/docker/dockerfile:1.7.0@sha256:dbbd5e059e8a07ff7ea6233b213b36aa516b4c53c645f1817a4dd18b83cbea56
#5 CACHED
#4 [migrate internal] load metadata for docker.io/library/python:3.12.10-slim-bookworm
#4 DONE 2.4s
#6 [migrate internal] load .dockerignore
#6 transferring context: 206B done
#6 DONE 0.0s
#7 [migrate 1/12] FROM docker.io/library/python:3.12.10-slim-bookworm@sha256:fd95fa221297a88e1cf49c55ec1828edd7c5a428187e67b5d1805692d11588db
#7 DONE 0.0s
#8 [migrate internal] load build context
#8 transferring context: 507.15kB 0.0s done
#8 DONE 0.0s
#9 [migrate 2/12] WORKDIR /app
#9 CACHED
#10 [migrate 3/12] COPY requirements.txt .
#10 DONE 0.0s
#4 [s3 internal] load metadata for docker.io/library/python:3.12.10-slim-bookworm
#4 DONE 2.7s
#11 [migrate 4/12] RUN pip install --no-cache-dir --requirement requirements.txt && groupadd --system --gid 10001 app && useradd --system --uid 10001 --gid app --home-dir /nonexistent --shell /usr/sbin/nologin app
#11 ...
#7 [s3 1/12] FROM docker.io/library/python:3.12.10-slim-bookworm@sha256:fd95fa221297a88e1cf49c55ec1828edd7c5a428187e67b5d1805692d11588db
#7 DONE 0.0s
#12 [s3 internal] load .dockerignore
#12 transferring context: 206B done
#12 DONE 0.0s
#13 [s3 internal] load build context
#13 transferring context: 241B done
#13 DONE 0.0s
#14 [s3 2/3] RUN python - <<'PY'
#14 CACHED
#15 [s3 3/3] COPY infra/minio-entrypoint.sh /entrypoint.sh
#15 CACHED
#16 [s3] exporting to image
#16 exporting layers done
#16 writing image sha256:9fc633ca6f4e90f575eb751eb863492f0f7fc60963ee85d24a74c44ad7deee90 done
#16 naming to docker.io/library/mtusi2026lab6-minio:2025-04-22 done
#16 DONE 0.0s
#11 [migrate 4/12] RUN pip install --no-cache-dir --requirement requirements.txt && groupadd --system --gid 10001 app && useradd --system --uid 10001 --gid app --home-dir /nonexistent --shell /usr/sbin/nologin app
#11 ...
#17 [s3-bootstrap internal] load build definition from s3.Dockerfile
#17 transferring dockerfile: 922B done
#17 DONE 0.0s
#3 [s3-bootstrap] resolve image config for docker-image://docker.io/docker/dockerfile:1.7.0
#3 DONE 2.6s
#11 [migrate 4/12] RUN pip install --no-cache-dir --requirement requirements.txt && groupadd --system --gid 10001 app && useradd --system --uid 10001 --gid app --home-dir /nonexistent --shell /usr/sbin/nologin app
#11 ...
#5 [s3-bootstrap] docker-image://docker.io/docker/dockerfile:1.7.0@sha256:dbbd5e059e8a07ff7ea6233b213b36aa516b4c53c645f1817a4dd18b83cbea56
#5 CACHED
#4 [s3-bootstrap internal] load metadata for docker.io/library/python:3.12.10-slim-bookworm
#4 DONE 3.1s
#11 [migrate 4/12] RUN pip install --no-cache-dir --requirement requirements.txt && groupadd --system --gid 10001 app && useradd --system --uid 10001 --gid app --home-dir /nonexistent --shell /usr/sbin/nologin app
#11 ...
#7 [s3-bootstrap 1/12] FROM docker.io/library/python:3.12.10-slim-bookworm@sha256:fd95fa221297a88e1cf49c55ec1828edd7c5a428187e67b5d1805692d11588db
#7 DONE 0.0s
#18 [s3-bootstrap internal] load .dockerignore
#18 transferring context: 206B done
#18 DONE 0.0s
#19 [s3-bootstrap internal] load build context
#19 transferring context: 72B done
#19 DONE 0.0s
#20 [s3-bootstrap 2/3] RUN python - <<'PY'
#20 CACHED
#21 [s3-bootstrap 3/3] COPY infra/minio-entrypoint.sh /entrypoint.sh
#21 CACHED
#22 [s3-bootstrap] exporting to image
#22 exporting layers done
#22 writing image sha256:e06abf6290282c4a696adef88450266f777c7c81d482308664996154190860e5 done
#22 naming to docker.io/library/mtusi2026lab6-mc:2025-04-16 done
#22 DONE 0.0s
#11 [migrate 4/12] RUN pip install --no-cache-dir --requirement requirements.txt && groupadd --system --gid 10001 app && useradd --system --uid 10001 --gid app --home-dir /nonexistent --shell /usr/sbin/nologin app
#11 3.456 Collecting annotated-types==0.8.0 (from -r requirements.txt (line 1))
#11 4.204 Downloading annotated_types-0.8.0-py3-none-any.whl.metadata (15 kB)
#11 4.388 Collecting anyio==4.15.1 (from -r requirements.txt (line 2))
#11 4.524 Downloading anyio-4.15.1-py3-none-any.whl.metadata (4.7 kB)
#11 4.658 Collecting click==8.5.0 (from -r requirements.txt (line 3))
#11 4.742 Downloading click-8.5.0-py3-none-any.whl.metadata (2.6 kB)
#11 5.015 Collecting fastapi==0.115.12 (from -r requirements.txt (line 4))
#11 5.087 Downloading fastapi-0.115.12-py3-none-any.whl.metadata (27 kB)
#11 5.266 Collecting h11==0.16.0 (from -r requirements.txt (line 5))
#11 5.361 Downloading h11-0.16.0-py3-none-any.whl.metadata (8.3 kB)
#11 5.467 Collecting idna==3.20 (from -r requirements.txt (line 6))
#11 5.541 Downloading idna-3.20-py3-none-any.whl.metadata (7.2 kB)
#11 5.927 Collecting pydantic==2.11.5 (from -r requirements.txt (line 7))
#11 6.004 Downloading pydantic-2.11.5-py3-none-any.whl.metadata (67 kB)
#11 7.403 Collecting pydantic_core==2.33.2 (from -r requirements.txt (line 8))
#11 7.493 Downloading pydantic_core-2.33.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.8 kB)
#11 7.632 Collecting starlette==0.46.2 (from -r requirements.txt (line 9))
#11 7.725 Downloading starlette-0.46.2-py3-none-any.whl.metadata (6.2 kB)
#11 7.819 Collecting typing-inspection==0.4.4 (from -r requirements.txt (line 10))
#11 7.897 Downloading typing_inspection-0.4.4-py3-none-any.whl.metadata (2.6 kB)
#11 8.003 Collecting typing_extensions==4.16.0 (from -r requirements.txt (line 11))
#11 8.082 Downloading typing_extensions-4.16.0-py3-none-any.whl.metadata (3.3 kB)
#11 8.211 Collecting uvicorn==0.34.2 (from -r requirements.txt (line 12))
#11 8.294 Downloading uvicorn-0.34.2-py3-none-any.whl.metadata (6.5 kB)
#11 8.441 Collecting psycopg==3.2.9 (from psycopg[binary]==3.2.9->-r requirements.txt (line 13))
#11 8.524 Downloading psycopg-3.2.9-py3-none-any.whl.metadata (4.5 kB)
#11 8.633 Collecting psycopg-pool==3.3.3 (from -r requirements.txt (line 14))
#11 8.724 Downloading psycopg_pool-3.3.3-py3-none-any.whl.metadata (2.8 kB)
#11 8.849 Collecting redis==5.2.1 (from -r requirements.txt (line 15))
#11 8.938 Downloading redis-5.2.1-py3-none-any.whl.metadata (9.1 kB)
#11 9.057 Collecting argon2-cffi==23.1.0 (from -r requirements.txt (line 16))
#11 9.141 Downloading argon2_cffi-23.1.0-py3-none-any.whl.metadata (5.2 kB)
#11 9.727 Collecting boto3==1.40.18 (from -r requirements.txt (line 17))
#11 9.819 Downloading boto3-1.40.18-py3-none-any.whl.metadata (6.7 kB)
#11 10.20 Collecting Pillow==12.0.0 (from -r requirements.txt (line 18))
#11 10.29 Downloading pillow-12.0.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (8.8 kB)
#11 10.41 Collecting opentelemetry-api==1.38.0 (from -r requirements.txt (line 19))
#11 10.49 Downloading opentelemetry_api-1.38.0-py3-none-any.whl.metadata (1.5 kB)
#11 10.59 Collecting opentelemetry-sdk==1.38.0 (from -r requirements.txt (line 20))
#11 10.66 Downloading opentelemetry_sdk-1.38.0-py3-none-any.whl.metadata (1.5 kB)
#11 10.76 Collecting opentelemetry-exporter-otlp-proto-http==1.38.0 (from -r requirements.txt (line 21))
#11 10.86 Downloading opentelemetry_exporter_otlp_proto_http-1.38.0-py3-none-any.whl.metadata (2.3 kB)
#11 11.17 Collecting argon2-cffi-bindings (from argon2-cffi==23.1.0->-r requirements.txt (line 16))
#11 11.24 Downloading argon2_cffi_bindings-26.1.0-cp310-abi3-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.metadata (7.5 kB)
#11 12.04 Collecting botocore<1.41.0,>=1.40.18 (from boto3==1.40.18->-r requirements.txt (line 17))
#11 12.11 Downloading botocore-1.40.76-py3-none-any.whl.metadata (5.9 kB)
#11 12.21 Collecting jmespath<2.0.0,>=0.7.1 (from boto3==1.40.18->-r requirements.txt (line 17))
#11 12.29 Downloading jmespath-1.1.0-py3-none-any.whl.metadata (7.6 kB)
#11 12.41 Collecting s3transfer<0.14.0,>=0.13.0 (from boto3==1.40.18->-r requirements.txt (line 17))
#11 12.50 Downloading s3transfer-0.13.1-py3-none-any.whl.metadata (1.7 kB)
#11 12.87 Collecting importlib-metadata<8.8.0,>=6.0 (from opentelemetry-api==1.38.0->-r requirements.txt (line 19))
#11 12.99 Downloading importlib_metadata-8.7.1-py3-none-any.whl.metadata (4.7 kB)
#11 13.17 Collecting opentelemetry-semantic-conventions==0.59b0 (from opentelemetry-sdk==1.38.0->-r requirements.txt (line 20))
#11 13.49 Downloading opentelemetry_semantic_conventions-0.59b0-py3-none-any.whl.metadata (2.4 kB)
#11 13.63 Collecting googleapis-common-protos~=1.52 (from opentelemetry-exporter-otlp-proto-http==1.38.0->-r requirements.txt (line 21))
#11 13.71 Downloading googleapis_common_protos-1.76.0-py3-none-any.whl.metadata (8.5 kB)
#11 13.85 Collecting opentelemetry-exporter-otlp-proto-common==1.38.0 (from opentelemetry-exporter-otlp-proto-http==1.38.0->-r requirements.txt (line 21))
#11 13.93 Downloading opentelemetry_exporter_otlp_proto_common-1.38.0-py3-none-any.whl.metadata (1.8 kB)
#11 14.04 Collecting opentelemetry-proto==1.38.0 (from opentelemetry-exporter-otlp-proto-http==1.38.0->-r requirements.txt (line 21))
#11 14.14 Downloading opentelemetry_proto-1.38.0-py3-none-any.whl.metadata (2.3 kB)
#11 14.34 Collecting requests~=2.7 (from opentelemetry-exporter-otlp-proto-http==1.38.0->-r requirements.txt (line 21))
#11 14.42 Downloading requests-2.34.2-py3-none-any.whl.metadata (4.8 kB)
#11 14.91 Collecting psycopg-binary==3.2.9 (from psycopg[binary]==3.2.9->-r requirements.txt (line 13))
#11 15.00 Downloading psycopg_binary-3.2.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.9 kB)
#11 15.37 Collecting protobuf<7.0,>=5.0 (from opentelemetry-proto==1.38.0->opentelemetry-exporter-otlp-proto-http==1.38.0->-r requirements.txt (line 21))
#11 15.44 Downloading protobuf-6.33.6-cp39-abi3-manylinux2014_x86_64.whl.metadata (593 bytes)
#11 15.62 Collecting python-dateutil<3.0.0,>=2.1 (from botocore<1.41.0,>=1.40.18->boto3==1.40.18->-r requirements.txt (line 17))
#11 15.88 Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
#11 16.39 Collecting urllib3!=2.2.0,<3,>=1.25.4 (from botocore<1.41.0,>=1.40.18->boto3==1.40.18->-r requirements.txt (line 17))
#11 16.47 Downloading urllib3-2.8.0-py3-none-any.whl.metadata (7.4 kB)
#11 16.65 Collecting zipp>=3.20 (from importlib-metadata<8.8.0,>=6.0->opentelemetry-api==1.38.0->-r requirements.txt (line 19))
#11 16.74 Downloading zipp-4.1.2-py3-none-any.whl.metadata (3.6 kB)
#11 17.07 Collecting charset_normalizer<4,>=2 (from requests~=2.7->opentelemetry-exporter-otlp-proto-http==1.38.0->-r requirements.txt (line 21))
#11 17.15 Downloading charset_normalizer-3.5.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (46 kB)
#11 17.43 Collecting certifi>=2023.5.7 (from requests~=2.7->opentelemetry-exporter-otlp-proto-http==1.38.0->-r requirements.txt (line 21))
#11 17.50 Downloading certifi-2026.10.23-py3-none-any.whl.metadata (2.5 kB)
#11 18.00 Collecting cffi>=1.0.1 (from argon2-cffi-bindings->argon2-cffi==23.1.0->-r requirements.txt (line 16))
#11 18.07 Downloading cffi-2.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (2.5 kB)
#11 18.16 Collecting pycparser (from cffi>=1.0.1->argon2-cffi-bindings->argon2-cffi==23.1.0->-r requirements.txt (line 16))
#11 18.23 Downloading pycparser-3.12-py3-none-any.whl.metadata (9.7 kB)
#11 18.38 Collecting six>=1.5 (from python-dateutil<3.0.0,>=2.1->botocore<1.41.0,>=1.40.18->boto3==1.40.18->-r requirements.txt (line 17))
#11 18.48 Downloading six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
#11 18.59 Downloading annotated_types-0.8.0-py3-none-any.whl (13 kB)
#11 18.71 Downloading anyio-4.15.1-py3-none-any.whl (132 kB)
#11 19.03 Downloading click-8.5.0-py3-none-any.whl (125 kB)
#11 19.32 Downloading fastapi-0.115.12-py3-none-any.whl (95 kB)
#11 19.55 Downloading h11-0.16.0-py3-none-any.whl (37 kB)
#11 19.68 Downloading idna-3.20-py3-none-any.whl (69 kB)
#11 19.84 Downloading pydantic-2.11.5-py3-none-any.whl (444 kB)
#11 20.53 Downloading pydantic_core-2.33.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB)
#11 21.86 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 1.7 MB/s eta 0:00:00
#11 21.95 Downloading starlette-0.46.2-py3-none-any.whl (72 kB)
#11 21.95 Downloading typing_inspection-0.4.4-py3-none-any.whl (14 kB)
#11 20.78 Downloading typing_extensions-4.16.0-py3-none-any.whl (45 kB)
#11 20.87 Downloading uvicorn-0.34.2-py3-none-any.whl (62 kB)
#11 21.00 Downloading psycopg-3.2.9-py3-none-any.whl (202 kB)
#11 21.15 Downloading psycopg_pool-3.3.3-py3-none-any.whl (40 kB)
#11 21.23 Downloading redis-5.2.1-py3-none-any.whl (261 kB)
#11 21.42 Downloading argon2_cffi-23.1.0-py3-none-any.whl (15 kB)
#11 21.50 Downloading boto3-1.40.18-py3-none-any.whl (140 kB)
#11 21.63 Downloading pillow-12.0.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (7.0 MB)
#11 23.47 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.0/7.0 MB 3.9 MB/s eta 0:00:00
#11 23.54 Downloading opentelemetry_api-1.38.0-py3-none-any.whl (65 kB)
#11 23.62 Downloading opentelemetry_sdk-1.38.0-py3-none-any.whl (132 kB)
#11 23.72 Downloading opentelemetry_exporter_otlp_proto_http-1.38.0-py3-none-any.whl (19 kB)
#11 23.79 Downloading opentelemetry_exporter_otlp_proto_common-1.38.0-py3-none-any.whl (18 kB)
#11 23.86 Downloading opentelemetry_proto-1.38.0-py3-none-any.whl (72 kB)
#11 23.96 Downloading opentelemetry_semantic_conventions-0.59b0-py3-none-any.whl (207 kB)
#11 24.07 Downloading psycopg_binary-3.2.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.4 MB)
#11 24.74 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.4/4.4 MB 6.7 MB/s eta 0:00:00
#11 24.84 Downloading botocore-1.40.76-py3-none-any.whl (14.2 MB)
#11 26.28 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.2/14.2 MB 9.8 MB/s eta 0:00:00
#11 26.36 Downloading googleapis_common_protos-1.76.0-py3-none-any.whl (307 kB)
#11 26.51 Downloading importlib_metadata-8.7.1-py3-none-any.whl (27 kB)
#11 26.58 Downloading jmespath-1.1.0-py3-none-any.whl (20 kB)
#11 26.66 Downloading requests-2.34.2-py3-none-any.whl (73 kB)
#11 26.75 Downloading s3transfer-0.13.1-py3-none-any.whl (85 kB)
#11 26.85 Downloading argon2_cffi_bindings-26.1.0-cp310-abi3-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (26 kB)
#11 26.93 Downloading certifi-2026.10.23-py3-none-any.whl (135 kB)
#11 27.03 Downloading cffi-2.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (221 kB)
#11 27.15 Downloading charset_normalizer-3.5.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (257 kB)
#11 27.26 Downloading protobuf-6.33.6-cp39-abi3-manylinux2014_x86_64.whl (323 kB)
#11 27.38 Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
#11 27.48 Downloading urllib3-2.8.0-py3-none-any.whl (135 kB)
#11 27.66 Downloading zipp-4.1.2-py3-none-any.whl (10 kB)
#11 27.82 Downloading six-1.17.0-py2.py3-none-any.whl (11 kB)
#11 27.92 Downloading pycparser-3.12-py3-none-any.whl (62 kB)
#11 28.17 Installing collected packages: zipp, urllib3, typing_extensions, six, redis, pycparser, psycopg-binary, protobuf, Pillow, jmespath, idna, h11, click, charset_normalizer, certifi, annotated-types, uvicorn, typing-inspection, requests, python-dateutil, pydantic_core, psycopg-pool, psycopg, opentelemetry-proto, importlib-metadata, googleapis-common-protos, cffi, anyio, starlette, pydantic, opentelemetry-exporter-otlp-proto-common, opentelemetry-api, botocore, argon2-cffi-bindings, s3transfer, opentelemetry-semantic-conventions, fastapi, argon2-cffi, opentelemetry-sdk, boto3, opentelemetry-exporter-otlp-proto-http
#11 33.53 Successfully installed Pillow-12.0.0 annotated-types-0.8.0 anyio-4.15.1 argon2-cffi-23.1.0 argon2-cffi-bindings-26.1.0 boto3-1.40.18 botocore-1.40.76 certifi-2026.10.23 cffi-2.1.1 charset_normalizer-3.5.2 click-8.5.0 fastapi-0.115.12 googleapis-common-protos-1.76.0 h11-0.16.0 idna-3.20 importlib-metadata-8.7.1 jmespath-1.1.0 opentelemetry-api-1.38.0 opentelemetry-exporter-otlp-proto-common-1.38.0 opentelemetry-exporter-otlp-proto-http-1.38.0 opentelemetry-proto-1.38.0 opentelemetry-sdk-1.38.0 opentelemetry-semantic-conventions-0.59b0 protobuf-6.33.6 psycopg-3.2.9 psycopg-binary-3.2.9 psycopg-pool-3.3.3 pycparser-3.12 pydantic-2.11.5 pydantic_core-2.33.2 python-dateutil-2.9.0.post0 redis-5.2.1 requests-2.34.2 s3transfer-0.13.1 six-1.17.0 starlette-0.46.2 typing-inspection-0.4.4 typing_extensions-4.16.0 urllib3-2.8.0 uvicorn-0.34.2 zipp-4.1.2
#11 33.53 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
#11 34.85
#11 34.85 [notice] A new release of pip is available: 25.0.1 -> 26.2.2
#11 34.85 [notice] To update, run: pip install --upgrade pip
#11 35.27 useradd warning: app's uid 10001 is greater than SYS_UID_MAX 999
#11 DONE 35.4s
#23 [migrate 5/12] COPY --chown=app:app src ./src
#23 DONE 0.1s
#24 [migrate 6/12] COPY --chown=app:app migrations ./migrations
#24 DONE 0.0s
#25 [migrate 7/12] COPY --chown=app:app scripts ./scripts
#25 DONE 0.1s
#26 [migrate 8/12] COPY --chown=app:app student-tests ./student-tests
#26 DONE 0.1s
#27 [migrate 9/12] COPY --chown=app:app tests ./tests
#27 DONE 0.1s
#28 [migrate 10/12] COPY --chown=app:app contracts ./contracts
#28 DONE 0.1s
#29 [migrate 11/12] COPY --chown=app:app lab.json ./lab.json
#29 DONE 0.1s
#30 [migrate 12/12] RUN mkdir -p evidence && chown app:app evidence
#30 DONE 0.3s
#31 [migrate] exporting to image
#31 exporting layers
#31 exporting layers 1.0s done
#31 writing image sha256:272b43f5538f2a63bb7bb00a1251ce9a48fae4db7801c4ca394c59d321cfd4a4 done
#31 naming to docker.io/library/mtusi2026lab6-app:1 done
#31 DONE 1.1s
#32 [reconciler internal] load build definition from Dockerfile
#32 transferring dockerfile: 1.04kB done
#32 DONE 0.0s
#33 [dispatcher internal] load build definition from Dockerfile
#33 transferring dockerfile: 1.04kB done
#33 DONE 0.0s
#4 [dispatcher internal] load metadata for docker.io/library/python:3.12.10-slim-bookworm
#4 ...
#34 [api internal] load build definition from Dockerfile
#34 transferring dockerfile: 1.04kB done
#34 DONE 0.0s
#35 [worker internal] load build definition from Dockerfile
#35 transferring dockerfile: 1.04kB done
#35 DONE 0.0s
#4 [worker internal] load metadata for docker.io/library/python:3.12.10-slim-bookworm
#4 DONE 3.6s
#36 [worker internal] load .dockerignore
#36 transferring context: 206B done
#36 DONE 0.0s
#37 [api internal] load .dockerignore
#37 transferring context: 206B done
#37 DONE 0.0s
#38 [dispatcher internal] load .dockerignore
#38 transferring context: 206B done
#38 DONE 0.1s
#7 [dispatcher 1/12] FROM docker.io/library/python:3.12.10-slim-bookworm@sha256:fd95fa221297a88e1cf49c55ec1828edd7c5a428187e67b5d1805692d11588db
#7 DONE 0.0s
#39 [reconciler internal] load .dockerignore
#39 transferring context: 206B done
#39 DONE 0.1s
#40 [api internal] load build context
#40 transferring context: 3.78kB done
#40 DONE 0.0s
#41 [api 8/12] COPY --chown=app:app student-tests ./student-tests
#41 CACHED
#42 [api 3/12] COPY requirements.txt .
#42 CACHED
#43 [api 7/12] COPY --chown=app:app scripts ./scripts
#43 CACHED
#44 [api 4/12] RUN pip install --no-cache-dir --requirement requirements.txt && groupadd --system --gid 10001 app && useradd --system --uid 10001 --gid app --home-dir /nonexistent --shell /usr/sbin/nologin app
#44 CACHED
#45 [api 6/12] COPY --chown=app:app migrations ./migrations
#45 CACHED
#46 [api 11/12] COPY --chown=app:app lab.json ./lab.json
#46 CACHED
#9 [api 2/12] WORKDIR /app
#9 CACHED
#47 [api 5/12] COPY --chown=app:app src ./src
#47 CACHED
#48 [api 10/12] COPY --chown=app:app contracts ./contracts
#48 CACHED
#49 [api 9/12] COPY --chown=app:app tests ./tests
#49 CACHED
#50 [api 12/12] RUN mkdir -p evidence && chown app:app evidence
#50 CACHED
#51 [reconciler internal] load build context
#51 transferring context: 507.15kB 0.0s done
#51 DONE 0.1s
#52 [worker internal] load build context
#52 transferring context: 584.37kB 0.0s done
#52 DONE 0.1s
#50 [reconciler 12/12] RUN mkdir -p evidence && chown app:app evidence
#50 CACHED
#53 [dispatcher internal] load build context
#53 transferring context: 507.15kB 0.0s done
#53 DONE 0.1s
#54 [api] exporting to image
#54 exporting layers done
#54 writing image sha256:499a4886dab27b72cd7a60fe15d461ef6aa4e9d85c01dd4d531c94d2ba055bef done
#54 naming to docker.io/library/mtusi2026lab6-app:1 done
#54 DONE 0.0s
#55 [reconciler] exporting to image
#55 exporting layers done
#55 writing image sha256:e716a12777f3c7564f3a1192bf1c36b197e89865e40a15c4dda7553054199d2a done
#55 naming to docker.io/library/mtusi2026lab6-app:1 0.0s done
#55 DONE 0.1s
#56 [worker] exporting to image
#56 exporting layers done
#56 writing image sha256:9e20b192b2d8c0371c085a6941682851c4af5479be3ebe9ef2d175f782ed7fb3 done
#56 naming to docker.io/library/mtusi2026lab6-app:1 0.0s done
#56 DONE 0.1s
#57 [dispatcher] exporting to image
#57 exporting layers done
#57 writing image sha256:f7342d4da8782b178a6f3c6ee8da296a3db96227d468a77ecd641d894ddaa838 done
#57 naming to docker.io/library/mtusi2026lab6-app:1 0.0s done
#57 DONE 0.1s
Network mtusi2026lab6_default Creating
Network mtusi2026lab6_default Created
Volume "mtusi2026lab6_redis_data" Creating
Volume "mtusi2026lab6_redis_data" Created
Volume "mtusi2026lab6_collector_data" Creating
Volume "mtusi2026lab6_collector_data" Created
Volume "mtusi2026lab6_s3_data" Creating
Volume "mtusi2026lab6_s3_data" Created
Volume "mtusi2026lab6_loki_data" Creating
Volume "mtusi2026lab6_loki_data" Created
Volume "mtusi2026lab6_broker_data" Creating
Volume "mtusi2026lab6_broker_data" Created
Volume "mtusi2026lab6_grafana_data" Creating
Volume "mtusi2026lab6_grafana_data" Created
Volume "mtusi2026lab6_postgres_data" Creating
Volume "mtusi2026lab6_postgres_data" Created
Volume "mtusi2026lab6_prometheus_data" Creating
Volume "mtusi2026lab6_prometheus_data" Created
Volume "mtusi2026lab6_tempo_data" Creating
Volume "mtusi2026lab6_tempo_data" Created
Container mtusi2026lab6-cache-1 Creating
Container mtusi2026lab6-loki-1 Creating
Container mtusi2026lab6-db-1 Creating
Container mtusi2026lab6-tempo-1 Creating
Container mtusi2026lab6-broker-1 Creating
Container mtusi2026lab6-collector-1 Creating
Container mtusi2026lab6-s3-1 Creating
Container mtusi2026lab6-grafana-1 Creating
Container mtusi2026lab6-prometheus-1 Creating
Container mtusi2026lab6-cache-1 Created
Container mtusi2026lab6-broker-1 Created
Container mtusi2026lab6-tempo-1 Created
Container mtusi2026lab6-collector-1 Created
Container mtusi2026lab6-s3-1 Created
Container mtusi2026lab6-s3-bootstrap-1 Creating
Container mtusi2026lab6-loki-1 Created
Container mtusi2026lab6-db-1 Created
Container mtusi2026lab6-migrate-1 Creating
Container mtusi2026lab6-prometheus-1 Created
Container mtusi2026lab6-grafana-1 Created
Container mtusi2026lab6-migrate-1 Created
Container mtusi2026lab6-s3-bootstrap-1 Created
Container mtusi2026lab6-reconciler-1 Creating
Container mtusi2026lab6-api-2 Creating
Container mtusi2026lab6-dispatcher-1 Creating
Container mtusi2026lab6-worker-1 Creating
Container mtusi2026lab6-api-1 Creating
Container mtusi2026lab6-api-2 Created
Container mtusi2026lab6-worker-1 Created
Container mtusi2026lab6-reconciler-1 Created
Container mtusi2026lab6-dispatcher-1 Created
Container mtusi2026lab6-api-1 Created
Container mtusi2026lab6-lb-1 Creating
Container mtusi2026lab6-lb-1 Created
Container mtusi2026lab6-cache-1 Starting
Container mtusi2026lab6-tempo-1 Starting
Container mtusi2026lab6-grafana-1 Starting
Container mtusi2026lab6-collector-1 Starting
Container mtusi2026lab6-s3-1 Starting
Container mtusi2026lab6-broker-1 Starting
Container mtusi2026lab6-db-1 Starting
Container mtusi2026lab6-loki-1 Starting
Container mtusi2026lab6-prometheus-1 Starting
Container mtusi2026lab6-cache-1 Started
Container mtusi2026lab6-db-1 Started
Container mtusi2026lab6-db-1 Waiting
Container mtusi2026lab6-s3-1 Started
Container mtusi2026lab6-s3-1 Waiting
Container mtusi2026lab6-broker-1 Started
Container mtusi2026lab6-collector-1 Started
Container mtusi2026lab6-loki-1 Started
Container mtusi2026lab6-prometheus-1 Started
Container mtusi2026lab6-grafana-1 Started
Container mtusi2026lab6-tempo-1 Started
Container mtusi2026lab6-s3-1 Healthy
Container mtusi2026lab6-s3-bootstrap-1 Starting
Container mtusi2026lab6-s3-bootstrap-1 Started
Container mtusi2026lab6-db-1 Healthy
Container mtusi2026lab6-migrate-1 Starting
Container mtusi2026lab6-migrate-1 Started
Container mtusi2026lab6-migrate-1 Waiting
Container mtusi2026lab6-s3-bootstrap-1 Waiting
Container mtusi2026lab6-migrate-1 Waiting
Container mtusi2026lab6-cache-1 Waiting
Container mtusi2026lab6-s3-bootstrap-1 Waiting
Container mtusi2026lab6-s3-bootstrap-1 Waiting
Container mtusi2026lab6-broker-1 Waiting
Container mtusi2026lab6-migrate-1 Waiting
Container mtusi2026lab6-s3-bootstrap-1 Waiting
Container mtusi2026lab6-broker-1 Waiting
Container mtusi2026lab6-migrate-1 Waiting
Container mtusi2026lab6-cache-1 Healthy
Container mtusi2026lab6-broker-1 Healthy
Container mtusi2026lab6-broker-1 Healthy
Container mtusi2026lab6-s3-bootstrap-1 Exited
Container mtusi2026lab6-s3-bootstrap-1 Exited
Container mtusi2026lab6-s3-bootstrap-1 Exited
Container mtusi2026lab6-s3-bootstrap-1 Exited
Container mtusi2026lab6-migrate-1 Exited
Container mtusi2026lab6-reconciler-1 Starting
Container mtusi2026lab6-migrate-1 Exited
Container mtusi2026lab6-api-1 Starting
Container mtusi2026lab6-migrate-1 Exited
Container mtusi2026lab6-worker-1 Starting
Container mtusi2026lab6-migrate-1 Exited
Container mtusi2026lab6-dispatcher-1 Starting
Container mtusi2026lab6-api-1 Started
Container mtusi2026lab6-api-2 Starting
Container mtusi2026lab6-reconciler-1 Started
Container mtusi2026lab6-dispatcher-1 Started
Container mtusi2026lab6-worker-1 Started
Container mtusi2026lab6-api-2 Started
Container mtusi2026lab6-api-1 Waiting
Container mtusi2026lab6-api-2 Waiting
Container mtusi2026lab6-api-1 Healthy
Container mtusi2026lab6-api-2 Healthy
Container mtusi2026lab6-lb-1 Starting
Container mtusi2026lab6-lb-1 Started
File diff suppressed because it is too large Load Diff
+40
View File
@@ -0,0 +1,40 @@
[
{
"file": "signals_db_2.json",
"trace_id": "0d146535b8729984a5e7c94661021ca7",
"status": "HTTPError",
"seconds": 0.014788648999910947,
"start": 1793302095.316111,
"end": 1793302217.3253295
},
{
"file": "signals_db_2.json",
"trace_id": "f89e507ec0cbd936e7159ea48eeb7f85",
"status": "HTTPError",
"seconds": 0.0071572549998109025,
"start": 1793302094.8156905,
"end": 1793302216.825704
},
{
"file": "signals_db_2.json",
"trace_id": "8514f366e79c49864ebbdb261d8edb02",
"status": "HTTPError",
"seconds": 0.003498561000014888,
"start": 1793302095.065879,
"end": 1793302217.0775874
},
{
"file": "signals_db_2.json",
"trace_id": "3c3d93d199b3c825845d12a311d0a710",
"status": "HTTPError",
"seconds": 0.011983215999862296,
"selection": "ordered diagnostic sample from real 503 requests"
},
{
"file": "signals_db_2.json",
"trace_id": "f4aa29f13092da86388f9c674d0dd974",
"status": "retrieved",
"seconds": 0.7287563919999229,
"selection": "ordered diagnostic sample from real 503 requests"
}
]
+40
View File
@@ -0,0 +1,40 @@
[
{
"file": "signals_db_2.json",
"trace_id": "0d146535b8729984a5e7c94661021ca7",
"status": "HTTPError",
"seconds": 0.014788648999910947,
"start": 1793302095.316111,
"end": 1793302217.3253295
},
{
"file": "signals_db_2.json",
"trace_id": "f89e507ec0cbd936e7159ea48eeb7f85",
"status": "HTTPError",
"seconds": 0.0071572549998109025,
"start": 1793302094.8156905,
"end": 1793302216.825704
},
{
"file": "signals_db_2.json",
"trace_id": "8514f366e79c49864ebbdb261d8edb02",
"status": "HTTPError",
"seconds": 0.003498561000014888,
"start": 1793302095.065879,
"end": 1793302217.0775874
},
{
"file": "signals_db_2.json",
"trace_id": "3c3d93d199b3c825845d12a311d0a710",
"status": "HTTPError",
"seconds": 0.011983215999862296,
"selection": "ordered diagnostic sample from real 503 requests"
},
{
"file": "signals_db_2.json",
"trace_id": "f4aa29f13092da86388f9c674d0dd974",
"status": "retrieved",
"seconds": 0.7287563919999229,
"selection": "ordered diagnostic sample from real 503 requests"
}
]
+206
View File
@@ -0,0 +1,206 @@
[
{
"id": "1cd3223fc5a5344dbdf7bc82fb9af726988ef146112ac22261f176edf0affbe6",
"name": "mtusi2026lab6-api-1",
"hostname": "1cd3223fc5a5",
"service": "api",
"running": false,
"started_at": "2026-10-29T19:42:57.452859024Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {}
},
{
"id": "1efed7a489918611df0877f661466c32791174fe259261a8a5946998520dd015",
"name": "mtusi2026lab6-api-2",
"hostname": "1efed7a48991",
"service": "api",
"running": false,
"started_at": "2026-10-29T19:42:57.605931748Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {}
},
{
"id": "1e1414ff92ee83b0b17a11bda99718646a543a2cd31fd61ccbb036b882ca34c2",
"name": "mtusi2026lab6-broker-1",
"hostname": "1e1414ff92ee",
"service": "broker",
"running": false,
"started_at": "2026-10-29T19:42:49.136995712Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {}
},
{
"id": "f4947f23dc592f37e6af23dd39c948f551a1d46f7def79b1de37d7cf637c9bb2",
"name": "mtusi2026lab6-cache-1",
"hostname": "f4947f23dc59",
"service": "cache",
"running": false,
"started_at": "2026-10-29T19:42:49.139702822Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {}
},
{
"id": "28ec65febfe18b692c36113c9ff35bc3dccd6ca9f2c7aef40c5b412fdeb27914",
"name": "mtusi2026lab6-collector-1",
"hostname": "28ec65febfe1",
"service": "collector",
"running": false,
"started_at": "2026-10-29T19:43:04.053029726Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {}
},
{
"id": "a41b85165e20423b8c3a448323fbb2b3b5a9fbd03a5851d271b179fd52f08abd",
"name": "mtusi2026lab6-db-1",
"hostname": "a41b85165e20",
"service": "db",
"running": false,
"started_at": "2026-10-29T19:42:49.130366106Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {}
},
{
"id": "be8c4326ecb7270f007c9a679a04df55b3fd7ec6fd68ab6d616a4683ae7e97bd",
"name": "mtusi2026lab6-dispatcher-1",
"hostname": "be8c4326ecb7",
"service": "dispatcher",
"running": false,
"started_at": "2026-10-29T19:43:04.068040494Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {}
},
{
"id": "6d67a641d80d0d6e996bf02339b7730800d093fde8a9aa8982549741129f1d5b",
"name": "mtusi2026lab6-grafana-1",
"hostname": "6d67a641d80d",
"service": "grafana",
"running": false,
"started_at": "2026-10-29T19:43:04.056670951Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 536870912,
"published_ports": {}
},
{
"id": "fe1b6d126574a11bd5165d875f00d922fd4937ed994b8080f3dbdb6ad7079f53",
"name": "mtusi2026lab6-lb-1",
"hostname": "fe1b6d126574",
"service": "lb",
"running": false,
"started_at": "2026-10-29T19:43:04.06572146Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {}
},
{
"id": "98c095f8e41a5215504f06c98134e3668da895ca4f4471b0e21198025c9b1766",
"name": "mtusi2026lab6-loki-1",
"hostname": "98c095f8e41a",
"service": "loki",
"running": false,
"started_at": "2026-10-29T19:43:04.033908564Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 402653184,
"published_ports": {}
},
{
"id": "4db497770f15bee3ba875000258cce49ee7f62b49925ef4c943ba06a3e060992",
"name": "mtusi2026lab6-migrate-1",
"hostname": "4db497770f15",
"service": "migrate",
"running": false,
"started_at": "2026-10-29T19:33:31.015373821Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {}
},
{
"id": "b0641a463c6d2c55f5d9c38c8a490112136c6e6452867b40765c700978e82c24",
"name": "mtusi2026lab6-prometheus-1",
"hostname": "b0641a463c6d",
"service": "prometheus",
"running": false,
"started_at": "2026-10-29T19:43:04.062694775Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {}
},
{
"id": "036504e7505ca5b7fc4ef2326e488dca4300b0001794a35943524517191fafaf",
"name": "mtusi2026lab6-reconciler-1",
"hostname": "036504e7505c",
"service": "reconciler",
"running": false,
"started_at": "2026-10-29T19:43:04.028550541Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {}
},
{
"id": "e50f9ecae24deec5826872f1d4547fa7c6b5f471e92b85dba558d67e44fa3785",
"name": "mtusi2026lab6-s3-1",
"hostname": "e50f9ecae24d",
"service": "s3",
"running": false,
"started_at": "2026-10-29T19:42:49.135253949Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {}
},
{
"id": "db45785871932c5e94466682403adcb34a4cb90fc9f8f9195c643621c1a1d4a4",
"name": "mtusi2026lab6-s3-bootstrap-1",
"hostname": "db4578587193",
"service": "s3-bootstrap",
"running": false,
"started_at": "2026-10-29T19:33:31.016863704Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {}
},
{
"id": "2e7f82fb201ce89f8c2e23559d3166d1abcf0b27422e8fefa26aa9f8a1a5b4dc",
"name": "mtusi2026lab6-tempo-1",
"hostname": "2e7f82fb201c",
"service": "tempo",
"running": false,
"started_at": "2026-10-29T19:43:04.060910394Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {}
},
{
"id": "3eaa92ec5b603aec9bf196f4c8999a2ca8955fc198c55bab37cf6216f77bf8f0",
"name": "mtusi2026lab6-worker-1",
"hostname": "3eaa92ec5b60",
"service": "worker",
"running": false,
"started_at": "2026-10-29T19:43:04.046033979Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 805306368,
"published_ports": {}
}
]
+30
View File
@@ -0,0 +1,30 @@
{
"status": "COMPLETED",
"user_authorized_old_docker_data_deletion": true,
"deleted_old_containers": 13,
"deleted_old_volumes": 14,
"deleted_images": [
"mtusi2026lab5-app:1",
"mtusi2026lab5-minio:2025-04-22",
"mtusi2026lab5-mc:2025-04-16",
"grafana/grafana:11.6.0"
],
"preserved": [
"all lab source folders",
"lab6 containers/images/volumes",
"unrelated synapse volumes"
],
"docker_images_gb_before": 3.171,
"docker_images_gb_after": 2.439,
"docker_volumes_gb_before": 3.223,
"docker_volumes_gb_after": 2.079,
"windows_c_free_gib_before_compaction": 4.84,
"docker_vhd_gib_before": 14.78,
"docker_vhd_before_bytes": 15869149184,
"docker_vhd_after_bytes": 13917749248,
"windows_c_free_after_bytes": 7147507712,
"docker_vhd_reclaimed_bytes": 1951399936,
"diskpart_exit": 0,
"docker_desktop": "stopped",
"lab6_research": "interrupted; do not auto resume"
}
+10
View File
@@ -0,0 +1,10 @@
{
"cpu_model": "12th Gen Intel(R) Core(TM) i5-1240P",
"host_cpus": 16,
"python": "3.10.12",
"kernel": "5.15.146.1-microsoft-standard-WSL2",
"docker_server": "28.0.1",
"docker_cpus": 16,
"docker_memory": 8187715584,
"compose": "2.33.1"
}
+262
View File
@@ -0,0 +1,262 @@
[
{
"id": "c099415dc69312823bb928caf0d78ccc5c4943273a22550f4ce35175332509a2",
"name": "mtusi2026lab6-api-1",
"hostname": "c099415dc693",
"service": "api",
"running": true,
"started_at": "2026-10-29T19:14:52.368063596Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "3201e68e8041917bd93cf8b7798f4c5ff162666d31f69903fd6103bca1bd17e7",
"name": "mtusi2026lab6-api-2",
"hostname": "3201e68e8041",
"service": "api",
"running": true,
"started_at": "2026-10-29T19:14:52.047820817Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "1e1414ff92ee83b0b17a11bda99718646a543a2cd31fd61ccbb036b882ca34c2",
"name": "mtusi2026lab6-broker-1",
"hostname": "1e1414ff92ee",
"service": "broker",
"running": true,
"started_at": "2026-10-29T19:14:46.493653035Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"6379/tcp": null
}
},
{
"id": "f4947f23dc592f37e6af23dd39c948f551a1d46f7def79b1de37d7cf637c9bb2",
"name": "mtusi2026lab6-cache-1",
"hostname": "f4947f23dc59",
"service": "cache",
"running": true,
"started_at": "2026-10-29T19:14:46.455221291Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {
"6379/tcp": null
}
},
{
"id": "28ec65febfe18b692c36113c9ff35bc3dccd6ca9f2c7aef40c5b412fdeb27914",
"name": "mtusi2026lab6-collector-1",
"hostname": "28ec65febfe1",
"service": "collector",
"running": true,
"started_at": "2026-10-29T19:14:46.495580191Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"4317/tcp": null,
"4318/tcp": null,
"55678/tcp": null,
"55679/tcp": null
}
},
{
"id": "a41b85165e20423b8c3a448323fbb2b3b5a9fbd03a5851d271b179fd52f08abd",
"name": "mtusi2026lab6-db-1",
"hostname": "a41b85165e20",
"service": "db",
"running": true,
"started_at": "2026-10-29T19:14:46.477789727Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {
"5432/tcp": null
}
},
{
"id": "83c02624e160f35d52dbf7be93b155d75aa3fffbaf58b68b06c030127a160611",
"name": "mtusi2026lab6-dispatcher-1",
"hostname": "83c02624e160",
"service": "dispatcher",
"running": true,
"started_at": "2026-10-29T19:14:52.046005657Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "6d67a641d80d0d6e996bf02339b7730800d093fde8a9aa8982549741129f1d5b",
"name": "mtusi2026lab6-grafana-1",
"hostname": "6d67a641d80d",
"service": "grafana",
"running": true,
"started_at": "2026-10-29T19:14:46.489995909Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 536870912,
"published_ports": {
"3000/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3006"
}
]
}
},
{
"id": "fe1b6d126574a11bd5165d875f00d922fd4937ed994b8080f3dbdb6ad7079f53",
"name": "mtusi2026lab6-lb-1",
"hostname": "fe1b6d126574",
"service": "lb",
"running": true,
"started_at": "2026-10-29T19:14:58.05511593Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {
"8080/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8086"
}
]
}
},
{
"id": "98c095f8e41a5215504f06c98134e3668da895ca4f4471b0e21198025c9b1766",
"name": "mtusi2026lab6-loki-1",
"hostname": "98c095f8e41a",
"service": "loki",
"running": true,
"started_at": "2026-10-29T19:14:46.491863796Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 402653184,
"published_ports": {
"3100/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3106"
}
]
}
},
{
"id": "4db497770f15bee3ba875000258cce49ee7f62b49925ef4c943ba06a3e060992",
"name": "mtusi2026lab6-migrate-1",
"hostname": "4db497770f15",
"service": "migrate",
"running": false,
"started_at": "2026-10-29T19:14:49.661131703Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {}
},
{
"id": "b0641a463c6d2c55f5d9c38c8a490112136c6e6452867b40765c700978e82c24",
"name": "mtusi2026lab6-prometheus-1",
"hostname": "b0641a463c6d",
"service": "prometheus",
"running": true,
"started_at": "2026-10-29T19:14:46.499173411Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"9090/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "9096"
}
]
}
},
{
"id": "b4cddfa6660f27abe829c8148b8941808e34a4d370544ef9b664856a467c45cc",
"name": "mtusi2026lab6-reconciler-1",
"hostname": "b4cddfa6660f",
"service": "reconciler",
"running": true,
"started_at": "2026-10-29T19:14:52.035394364Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "e50f9ecae24deec5826872f1d4547fa7c6b5f471e92b85dba558d67e44fa3785",
"name": "mtusi2026lab6-s3-1",
"hostname": "e50f9ecae24d",
"service": "s3",
"running": true,
"started_at": "2026-10-29T19:14:46.497226461Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {}
},
{
"id": "db45785871932c5e94466682403adcb34a4cb90fc9f8f9195c643621c1a1d4a4",
"name": "mtusi2026lab6-s3-bootstrap-1",
"hostname": "db4578587193",
"service": "s3-bootstrap",
"running": false,
"started_at": "2026-10-29T19:14:49.655242067Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {}
},
{
"id": "fdb4216a236bdd93e24820c0af39bda4ea7fc47c186f99ecf02c0d133e94170b",
"name": "mtusi2026lab6-tempo-1",
"hostname": "fdb4216a236b",
"service": "tempo",
"running": true,
"started_at": "2026-10-29T19:14:46.465761225Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"3200/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3206"
}
]
}
},
{
"id": "9614aa4c34ef1c49c92f200dd45a6c345f929d0f448588770299f9d10ce90e79",
"name": "mtusi2026lab6-worker-1",
"hostname": "9614aa4c34ef",
"service": "worker",
"running": true,
"started_at": "2026-10-29T19:14:52.041215351Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 805306368,
"published_ports": {
"8080/tcp": null
}
}
]
+4
View File
@@ -0,0 +1,4 @@
.venv/bin/python tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "http://localhost:8086"
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 104, "failed_attempts": 5, "first_recovery_seconds": 3.535}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
+4
View File
@@ -0,0 +1,4 @@
.venv/bin/python student-tests/attachments.py --base-url "http://localhost:8086"
PASS: PNG/JPEG, bytes/pixels limits, filename/MIME, ACL, attachment message replay
.venv/bin/python student-tests/variants.py --base-url "http://localhost:8086"
PASS: thumbnail/crop/WebP bytes, sizes, EXIF orientation, white alpha, no upscaling, ACL
+262
View File
@@ -0,0 +1,262 @@
[
{
"id": "1cd3223fc5a5344dbdf7bc82fb9af726988ef146112ac22261f176edf0affbe6",
"name": "mtusi2026lab6-api-1",
"hostname": "1cd3223fc5a5",
"service": "api",
"running": true,
"started_at": "2026-10-29T19:42:57.452859024Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "1efed7a489918611df0877f661466c32791174fe259261a8a5946998520dd015",
"name": "mtusi2026lab6-api-2",
"hostname": "1efed7a48991",
"service": "api",
"running": true,
"started_at": "2026-10-29T19:42:57.605931748Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "1e1414ff92ee83b0b17a11bda99718646a543a2cd31fd61ccbb036b882ca34c2",
"name": "mtusi2026lab6-broker-1",
"hostname": "1e1414ff92ee",
"service": "broker",
"running": true,
"started_at": "2026-10-29T19:42:49.136995712Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"6379/tcp": null
}
},
{
"id": "f4947f23dc592f37e6af23dd39c948f551a1d46f7def79b1de37d7cf637c9bb2",
"name": "mtusi2026lab6-cache-1",
"hostname": "f4947f23dc59",
"service": "cache",
"running": true,
"started_at": "2026-10-29T19:42:49.139702822Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {
"6379/tcp": null
}
},
{
"id": "28ec65febfe18b692c36113c9ff35bc3dccd6ca9f2c7aef40c5b412fdeb27914",
"name": "mtusi2026lab6-collector-1",
"hostname": "28ec65febfe1",
"service": "collector",
"running": true,
"started_at": "2026-10-29T19:43:04.053029726Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"4317/tcp": null,
"4318/tcp": null,
"55678/tcp": null,
"55679/tcp": null
}
},
{
"id": "a41b85165e20423b8c3a448323fbb2b3b5a9fbd03a5851d271b179fd52f08abd",
"name": "mtusi2026lab6-db-1",
"hostname": "a41b85165e20",
"service": "db",
"running": true,
"started_at": "2026-10-29T19:42:49.130366106Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {
"5432/tcp": null
}
},
{
"id": "be8c4326ecb7270f007c9a679a04df55b3fd7ec6fd68ab6d616a4683ae7e97bd",
"name": "mtusi2026lab6-dispatcher-1",
"hostname": "be8c4326ecb7",
"service": "dispatcher",
"running": true,
"started_at": "2026-10-29T19:43:04.068040494Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "6d67a641d80d0d6e996bf02339b7730800d093fde8a9aa8982549741129f1d5b",
"name": "mtusi2026lab6-grafana-1",
"hostname": "6d67a641d80d",
"service": "grafana",
"running": true,
"started_at": "2026-10-29T19:43:04.056670951Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 536870912,
"published_ports": {
"3000/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3006"
}
]
}
},
{
"id": "fe1b6d126574a11bd5165d875f00d922fd4937ed994b8080f3dbdb6ad7079f53",
"name": "mtusi2026lab6-lb-1",
"hostname": "fe1b6d126574",
"service": "lb",
"running": true,
"started_at": "2026-10-29T19:43:04.06572146Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {
"8080/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8086"
}
]
}
},
{
"id": "98c095f8e41a5215504f06c98134e3668da895ca4f4471b0e21198025c9b1766",
"name": "mtusi2026lab6-loki-1",
"hostname": "98c095f8e41a",
"service": "loki",
"running": true,
"started_at": "2026-10-29T19:43:04.033908564Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 402653184,
"published_ports": {
"3100/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3106"
}
]
}
},
{
"id": "4db497770f15bee3ba875000258cce49ee7f62b49925ef4c943ba06a3e060992",
"name": "mtusi2026lab6-migrate-1",
"hostname": "4db497770f15",
"service": "migrate",
"running": false,
"started_at": "2026-10-29T19:33:31.015373821Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {}
},
{
"id": "b0641a463c6d2c55f5d9c38c8a490112136c6e6452867b40765c700978e82c24",
"name": "mtusi2026lab6-prometheus-1",
"hostname": "b0641a463c6d",
"service": "prometheus",
"running": true,
"started_at": "2026-10-29T19:43:04.062694775Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"9090/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "9096"
}
]
}
},
{
"id": "036504e7505ca5b7fc4ef2326e488dca4300b0001794a35943524517191fafaf",
"name": "mtusi2026lab6-reconciler-1",
"hostname": "036504e7505c",
"service": "reconciler",
"running": true,
"started_at": "2026-10-29T19:43:04.028550541Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "e50f9ecae24deec5826872f1d4547fa7c6b5f471e92b85dba558d67e44fa3785",
"name": "mtusi2026lab6-s3-1",
"hostname": "e50f9ecae24d",
"service": "s3",
"running": true,
"started_at": "2026-10-29T19:42:49.135253949Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {}
},
{
"id": "db45785871932c5e94466682403adcb34a4cb90fc9f8f9195c643621c1a1d4a4",
"name": "mtusi2026lab6-s3-bootstrap-1",
"hostname": "db4578587193",
"service": "s3-bootstrap",
"running": false,
"started_at": "2026-10-29T19:33:31.016863704Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {}
},
{
"id": "2e7f82fb201ce89f8c2e23559d3166d1abcf0b27422e8fefa26aa9f8a1a5b4dc",
"name": "mtusi2026lab6-tempo-1",
"hostname": "2e7f82fb201c",
"service": "tempo",
"running": true,
"started_at": "2026-10-29T19:43:04.060910394Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {
"3200/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3206"
}
]
}
},
{
"id": "3eaa92ec5b603aec9bf196f4c8999a2ca8955fc198c55bab37cf6216f77bf8f0",
"name": "mtusi2026lab6-worker-1",
"hostname": "3eaa92ec5b60",
"service": "worker",
"running": true,
"started_at": "2026-10-29T19:43:04.046033979Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 805306368,
"published_ports": {
"8080/tcp": null
}
}
]
+12
View File
@@ -0,0 +1,12 @@
{
"status": "PASS",
"lab5_files_verified": 131,
"lab5_changed_files": [],
"public_changes": [],
"literal_secret_leaks": [],
"pip_dependencies_ok": true,
"observability_checks_passed": 31,
"observability_checks_total": 31,
"all_lab6_containers_stopped": true,
"commit_push_pr_performed": false
}
+262
View File
@@ -0,0 +1,262 @@
[
{
"id": "c099415dc69312823bb928caf0d78ccc5c4943273a22550f4ce35175332509a2",
"name": "mtusi2026lab6-api-1",
"hostname": "c099415dc693",
"service": "api",
"running": true,
"started_at": "2026-10-29T19:14:52.368063596Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "3201e68e8041917bd93cf8b7798f4c5ff162666d31f69903fd6103bca1bd17e7",
"name": "mtusi2026lab6-api-2",
"hostname": "3201e68e8041",
"service": "api",
"running": true,
"started_at": "2026-10-29T19:14:52.047820817Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "1e1414ff92ee83b0b17a11bda99718646a543a2cd31fd61ccbb036b882ca34c2",
"name": "mtusi2026lab6-broker-1",
"hostname": "1e1414ff92ee",
"service": "broker",
"running": true,
"started_at": "2026-10-29T19:14:46.493653035Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"6379/tcp": null
}
},
{
"id": "f4947f23dc592f37e6af23dd39c948f551a1d46f7def79b1de37d7cf637c9bb2",
"name": "mtusi2026lab6-cache-1",
"hostname": "f4947f23dc59",
"service": "cache",
"running": true,
"started_at": "2026-10-29T19:14:46.455221291Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {
"6379/tcp": null
}
},
{
"id": "28ec65febfe18b692c36113c9ff35bc3dccd6ca9f2c7aef40c5b412fdeb27914",
"name": "mtusi2026lab6-collector-1",
"hostname": "28ec65febfe1",
"service": "collector",
"running": true,
"started_at": "2026-10-29T19:14:46.495580191Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"4317/tcp": null,
"4318/tcp": null,
"55678/tcp": null,
"55679/tcp": null
}
},
{
"id": "a41b85165e20423b8c3a448323fbb2b3b5a9fbd03a5851d271b179fd52f08abd",
"name": "mtusi2026lab6-db-1",
"hostname": "a41b85165e20",
"service": "db",
"running": true,
"started_at": "2026-10-29T19:14:46.477789727Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {
"5432/tcp": null
}
},
{
"id": "83c02624e160f35d52dbf7be93b155d75aa3fffbaf58b68b06c030127a160611",
"name": "mtusi2026lab6-dispatcher-1",
"hostname": "83c02624e160",
"service": "dispatcher",
"running": true,
"started_at": "2026-10-29T19:14:52.046005657Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "6d67a641d80d0d6e996bf02339b7730800d093fde8a9aa8982549741129f1d5b",
"name": "mtusi2026lab6-grafana-1",
"hostname": "6d67a641d80d",
"service": "grafana",
"running": true,
"started_at": "2026-10-29T19:14:46.489995909Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 536870912,
"published_ports": {
"3000/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3006"
}
]
}
},
{
"id": "fe1b6d126574a11bd5165d875f00d922fd4937ed994b8080f3dbdb6ad7079f53",
"name": "mtusi2026lab6-lb-1",
"hostname": "fe1b6d126574",
"service": "lb",
"running": true,
"started_at": "2026-10-29T19:14:58.05511593Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {
"8080/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8086"
}
]
}
},
{
"id": "98c095f8e41a5215504f06c98134e3668da895ca4f4471b0e21198025c9b1766",
"name": "mtusi2026lab6-loki-1",
"hostname": "98c095f8e41a",
"service": "loki",
"running": true,
"started_at": "2026-10-29T19:14:46.491863796Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 402653184,
"published_ports": {
"3100/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3106"
}
]
}
},
{
"id": "4db497770f15bee3ba875000258cce49ee7f62b49925ef4c943ba06a3e060992",
"name": "mtusi2026lab6-migrate-1",
"hostname": "4db497770f15",
"service": "migrate",
"running": false,
"started_at": "2026-10-29T19:33:31.015373821Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {}
},
{
"id": "b0641a463c6d2c55f5d9c38c8a490112136c6e6452867b40765c700978e82c24",
"name": "mtusi2026lab6-prometheus-1",
"hostname": "b0641a463c6d",
"service": "prometheus",
"running": true,
"started_at": "2026-10-29T19:14:46.499173411Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"9090/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "9096"
}
]
}
},
{
"id": "b4cddfa6660f27abe829c8148b8941808e34a4d370544ef9b664856a467c45cc",
"name": "mtusi2026lab6-reconciler-1",
"hostname": "b4cddfa6660f",
"service": "reconciler",
"running": true,
"started_at": "2026-10-29T19:14:52.035394364Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "e50f9ecae24deec5826872f1d4547fa7c6b5f471e92b85dba558d67e44fa3785",
"name": "mtusi2026lab6-s3-1",
"hostname": "e50f9ecae24d",
"service": "s3",
"running": true,
"started_at": "2026-10-29T19:34:43.896765574Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {}
},
{
"id": "db45785871932c5e94466682403adcb34a4cb90fc9f8f9195c643621c1a1d4a4",
"name": "mtusi2026lab6-s3-bootstrap-1",
"hostname": "db4578587193",
"service": "s3-bootstrap",
"running": false,
"started_at": "2026-10-29T19:33:31.016863704Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {}
},
{
"id": "2e7f82fb201ce89f8c2e23559d3166d1abcf0b27422e8fefa26aa9f8a1a5b4dc",
"name": "mtusi2026lab6-tempo-1",
"hostname": "2e7f82fb201c",
"service": "tempo",
"running": true,
"started_at": "2026-10-29T19:38:52.234448564Z",
"restart_count": 1,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {
"3200/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3206"
}
]
}
},
{
"id": "9614aa4c34ef1c49c92f200dd45a6c345f929d0f448588770299f9d10ce90e79",
"name": "mtusi2026lab6-worker-1",
"hostname": "9614aa4c34ef",
"service": "worker",
"running": true,
"started_at": "2026-10-29T19:34:38.98341278Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 805306368,
"published_ports": {
"8080/tcp": null
}
}
]
+47
View File
@@ -0,0 +1,47 @@
{
"db": {
"before": "2026-10-29T19:14:46.477789727Z",
"after": "2026-10-29T19:42:49.130366106Z",
"restarted": true
},
"cache": {
"before": "2026-10-29T19:14:46.455221291Z",
"after": "2026-10-29T19:42:49.139702822Z",
"restarted": true
},
"s3": {
"before": "2026-10-29T19:34:43.896765574Z",
"after": "2026-10-29T19:42:49.135253949Z",
"restarted": true
},
"broker": {
"before": "2026-10-29T19:14:46.493653035Z",
"after": "2026-10-29T19:42:49.136995712Z",
"restarted": true
},
"collector": {
"before": "2026-10-29T19:14:46.495580191Z",
"after": "2026-10-29T19:43:04.053029726Z",
"restarted": true
},
"prometheus": {
"before": "2026-10-29T19:14:46.499173411Z",
"after": "2026-10-29T19:43:04.062694775Z",
"restarted": true
},
"loki": {
"before": "2026-10-29T19:14:46.491863796Z",
"after": "2026-10-29T19:43:04.033908564Z",
"restarted": true
},
"tempo": {
"before": "2026-10-29T19:38:52.234448564Z",
"after": "2026-10-29T19:43:04.060910394Z",
"restarted": true
},
"grafana": {
"before": "2026-10-29T19:14:46.489995909Z",
"after": "2026-10-29T19:43:04.056670951Z",
"restarted": true
}
}
+18
View File
@@ -0,0 +1,18 @@
BASE_URL="http://localhost:8086" .venv/bin/python scripts/stack.py wait --count 2
API ready: 1cd3223fc5a5:c619c2ca, 1efed7a48991:9f46f7f5
.venv/bin/python tests/smoke.py --base-url "http://localhost:8086"
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
.venv/bin/python student-tests/test_api.py --base-url "http://localhost:8086"
PASS: malformed JSON/media type, duplicate username, blank message, outsider access, pagination
PASS: 10 clients created exactly 100 unique messages
.venv/bin/python student-tests/checks.py --base-url "http://localhost:8086"
PASS: registration race, invalid input, cursor scope/types on two API, read-after-write, logout
.venv/bin/python student-tests/idempotency.py --base-url "http://localhost:8086"
PASS: shared idempotency, scope, conflict and auth on replay
docker compose exec -T api python student-tests/database.py
PASS: rollback of chat + members; migration reapplied twice
PASS: persisted key expiry, atomic message/result rollback
.venv/bin/python student-tests/attachments.py --base-url "http://localhost:8086"
PASS: PNG/JPEG, bytes/pixels limits, filename/MIME, ACL, attachment message replay
.venv/bin/python student-tests/variants.py --base-url "http://localhost:8086"
PASS: thumbnail/crop/WebP bytes, sizes, EXIF orientation, white alpha, no upscaling, ACL
+34
View File
@@ -0,0 +1,34 @@
Container mtusi2026lab6-dispatcher-1 Stopping
Container mtusi2026lab6-worker-1 Stopping
Container mtusi2026lab6-collector-1 Stopping
Container mtusi2026lab6-loki-1 Stopping
Container mtusi2026lab6-lb-1 Stopping
Container mtusi2026lab6-grafana-1 Stopping
Container mtusi2026lab6-reconciler-1 Stopping
Container mtusi2026lab6-tempo-1 Stopping
Container mtusi2026lab6-prometheus-1 Stopping
Container mtusi2026lab6-collector-1 Stopped
Container mtusi2026lab6-grafana-1 Stopped
Container mtusi2026lab6-prometheus-1 Stopped
Container mtusi2026lab6-tempo-1 Stopped
Container mtusi2026lab6-lb-1 Stopped
Container mtusi2026lab6-api-2 Stopping
Container mtusi2026lab6-api-1 Stopping
Container mtusi2026lab6-loki-1 Stopped
Container mtusi2026lab6-worker-1 Stopped
Container mtusi2026lab6-api-1 Stopped
Container mtusi2026lab6-api-2 Stopped
Container mtusi2026lab6-cache-1 Stopping
Container mtusi2026lab6-cache-1 Stopped
Container mtusi2026lab6-reconciler-1 Stopped
Container mtusi2026lab6-dispatcher-1 Stopped
Container mtusi2026lab6-broker-1 Stopping
Container mtusi2026lab6-migrate-1 Stopping
Container mtusi2026lab6-s3-bootstrap-1 Stopping
Container mtusi2026lab6-s3-bootstrap-1 Stopped
Container mtusi2026lab6-s3-1 Stopping
Container mtusi2026lab6-migrate-1 Stopped
Container mtusi2026lab6-db-1 Stopping
Container mtusi2026lab6-s3-1 Stopped
Container mtusi2026lab6-broker-1 Stopped
Container mtusi2026lab6-db-1 Stopped
+276
View File
@@ -0,0 +1,276 @@
grafana Pulling
8f84a9f2102e Pulling fs layer
814f1e161275 Pulling fs layer
02d05d170da9 Pulling fs layer
4f4fb700ef54 Pulling fs layer
405f99327e2f Pulling fs layer
08aa708a94db Pulling fs layer
f0d451bc739e Pulling fs layer
20aa554e2ae2 Pulling fs layer
459ee85658c6 Pulling fs layer
babadc1b811e Pulling fs layer
4f4fb700ef54 Waiting
405f99327e2f Waiting
08aa708a94db Waiting
f0d451bc739e Waiting
20aa554e2ae2 Waiting
459ee85658c6 Waiting
babadc1b811e Waiting
8f84a9f2102e Downloading [> ] 310.6kB/30.44MB
8f84a9f2102e Downloading [==> ] 1.245MB/30.44MB
8f84a9f2102e Downloading [===> ] 1.867MB/30.44MB
8f84a9f2102e Downloading [====> ] 2.49MB/30.44MB
8f84a9f2102e Downloading [=====> ] 3.112MB/30.44MB
8f84a9f2102e Downloading [======> ] 3.735MB/30.44MB
8f84a9f2102e Downloading [=======> ] 4.357MB/30.44MB
8f84a9f2102e Downloading [========> ] 4.98MB/30.44MB
8f84a9f2102e Downloading [=========> ] 5.603MB/30.44MB
8f84a9f2102e Downloading [==========> ] 6.225MB/30.44MB
8f84a9f2102e Downloading [===========> ] 6.848MB/30.44MB
8f84a9f2102e Downloading [============> ] 7.47MB/30.44MB
8f84a9f2102e Downloading [=============> ] 8.093MB/30.44MB
8f84a9f2102e Downloading [==============> ] 8.716MB/30.44MB
8f84a9f2102e Downloading [===============> ] 9.338MB/30.44MB
8f84a9f2102e Downloading [================> ] 9.961MB/30.44MB
814f1e161275 Download complete
8f84a9f2102e Downloading [=================> ] 10.58MB/30.44MB
8f84a9f2102e Downloading [==================> ] 11.52MB/30.44MB
8f84a9f2102e Downloading [===================> ] 12.14MB/30.44MB
8f84a9f2102e Downloading [====================> ] 12.76MB/30.44MB
8f84a9f2102e Downloading [=====================> ] 13.39MB/30.44MB
8f84a9f2102e Downloading [=======================> ] 14.01MB/30.44MB
8f84a9f2102e Downloading [========================> ] 14.63MB/30.44MB
8f84a9f2102e Downloading [=========================> ] 15.25MB/30.44MB
8f84a9f2102e Downloading [==========================> ] 15.88MB/30.44MB
8f84a9f2102e Downloading [===========================> ] 16.5MB/30.44MB
8f84a9f2102e Downloading [============================> ] 17.43MB/30.44MB
8f84a9f2102e Downloading [===============================> ] 18.99MB/30.44MB
8f84a9f2102e Downloading [=================================> ] 20.23MB/30.44MB
8f84a9f2102e Downloading [=====================================> ] 23.04MB/30.44MB
8f84a9f2102e Downloading [=========================================> ] 25.21MB/30.44MB
02d05d170da9 Downloading [> ] 49.15kB/4.172MB
8f84a9f2102e Downloading [==============================================> ] 28.02MB/30.44MB
02d05d170da9 Downloading [================> ] 1.375MB/4.172MB
8f84a9f2102e Downloading [================================================> ] 29.57MB/30.44MB
02d05d170da9 Downloading [========================================> ] 3.393MB/4.172MB
8f84a9f2102e Verifying Checksum
8f84a9f2102e Download complete
02d05d170da9 Verifying Checksum
02d05d170da9 Download complete
4f4fb700ef54 Downloading [==================================================>] 32B/32B
4f4fb700ef54 Verifying Checksum
4f4fb700ef54 Download complete
8f84a9f2102e Extracting [> ] 327.7kB/30.44MB
8f84a9f2102e Extracting [=====> ] 3.277MB/30.44MB
8f84a9f2102e Extracting [==========> ] 6.226MB/30.44MB
8f84a9f2102e Extracting [=============> ] 8.192MB/30.44MB
8f84a9f2102e Extracting [===============> ] 9.503MB/30.44MB
8f84a9f2102e Extracting [==================> ] 11.47MB/30.44MB
405f99327e2f Downloading [==============> ] 16.38kB/54.67kB
405f99327e2f Downloading [==================================================>] 54.67kB/54.67kB
405f99327e2f Verifying Checksum
405f99327e2f Download complete
08aa708a94db Downloading [=============================> ] 16.38kB/27.89kB
08aa708a94db Downloading [==================================================>] 27.89kB/27.89kB
08aa708a94db Download complete
f0d451bc739e Downloading [> ] 539.3kB/101.6MB
8f84a9f2102e Extracting [==========================> ] 16.38MB/30.44MB
f0d451bc739e Downloading [=> ] 2.144MB/101.6MB
8f84a9f2102e Extracting [==============================> ] 18.35MB/30.44MB
f0d451bc739e Downloading [==> ] 4.258MB/101.6MB
8f84a9f2102e Extracting [=================================> ] 20.64MB/30.44MB
8f84a9f2102e Extracting [=====================================> ] 22.94MB/30.44MB
f0d451bc739e Downloading [===> ] 6.899MB/101.6MB
f0d451bc739e Downloading [====> ] 9.556MB/101.6MB
8f84a9f2102e Extracting [==========================================> ] 25.89MB/30.44MB
f0d451bc739e Downloading [======> ] 12.21MB/101.6MB
f0d451bc739e Downloading [=======> ] 14.87MB/101.6MB
f0d451bc739e Downloading [========> ] 18.04MB/101.6MB
f0d451bc739e Downloading [=========> ] 20.16MB/101.6MB
f0d451bc739e Downloading [===========> ] 22.82MB/101.6MB
f0d451bc739e Downloading [============> ] 24.41MB/101.6MB
8f84a9f2102e Extracting [===========================================> ] 26.54MB/30.44MB
f0d451bc739e Downloading [=============> ] 27.6MB/101.6MB
8f84a9f2102e Extracting [=============================================> ] 27.53MB/30.44MB
f0d451bc739e Downloading [==============> ] 30.24MB/101.6MB
8f84a9f2102e Extracting [===============================================> ] 28.84MB/30.44MB
f0d451bc739e Downloading [================> ] 32.89MB/101.6MB
f0d451bc739e Downloading [=================> ] 35.02MB/101.6MB
8f84a9f2102e Extracting [===============================================> ] 29.16MB/30.44MB
f0d451bc739e Downloading [==================> ] 37.15MB/101.6MB
f0d451bc739e Downloading [===================> ] 39.8MB/101.6MB
8f84a9f2102e Extracting [================================================> ] 29.49MB/30.44MB
f0d451bc739e Downloading [=====================> ] 42.98MB/101.6MB
f0d451bc739e Downloading [======================> ] 45.63MB/101.6MB
f0d451bc739e Downloading [=======================> ] 47.74MB/101.6MB
8f84a9f2102e Extracting [=================================================> ] 30.15MB/30.44MB
f0d451bc739e Downloading [=========================> ] 50.93MB/101.6MB
f0d451bc739e Downloading [==========================> ] 53.06MB/101.6MB
f0d451bc739e Downloading [===========================> ] 55.71MB/101.6MB
8f84a9f2102e Extracting [==================================================>] 30.44MB/30.44MB
f0d451bc739e Downloading [============================> ] 58.89MB/101.6MB
8f84a9f2102e Pull complete
814f1e161275 Extracting [==================================================>] 140B/140B
814f1e161275 Extracting [==================================================>] 140B/140B
f0d451bc739e Downloading [==============================> ] 61.54MB/101.6MB
814f1e161275 Pull complete
02d05d170da9 Extracting [> ] 65.54kB/4.172MB
f0d451bc739e Downloading [===============================> ] 64.2MB/101.6MB
02d05d170da9 Extracting [===> ] 262.1kB/4.172MB
f0d451bc739e Downloading [=================================> ] 67.39MB/101.6MB
02d05d170da9 Extracting [============================> ] 2.359MB/4.172MB
f0d451bc739e Downloading [==================================> ] 70.04MB/101.6MB
02d05d170da9 Extracting [==================================> ] 2.884MB/4.172MB
f0d451bc739e Downloading [====================================> ] 73.24MB/101.6MB
f0d451bc739e Downloading [=====================================> ] 75.36MB/101.6MB
02d05d170da9 Extracting [====================================> ] 3.08MB/4.172MB
f0d451bc739e Downloading [======================================> ] 77.48MB/101.6MB
f0d451bc739e Downloading [=======================================> ] 80.13MB/101.6MB
02d05d170da9 Extracting [=====================================> ] 3.146MB/4.172MB
f0d451bc739e Downloading [========================================> ] 82.83MB/101.6MB
02d05d170da9 Extracting [======================================> ] 3.211MB/4.172MB
f0d451bc739e Downloading [==========================================> ] 86.02MB/101.6MB
02d05d170da9 Extracting [=======================================> ] 3.277MB/4.172MB
f0d451bc739e Downloading [===========================================> ] 89.19MB/101.6MB
f0d451bc739e Downloading [=============================================> ] 91.85MB/101.6MB
f0d451bc739e Downloading [==============================================> ] 93.98MB/101.6MB
02d05d170da9 Extracting [========================================> ] 3.342MB/4.172MB
f0d451bc739e Downloading [===============================================> ] 96.65MB/101.6MB
02d05d170da9 Extracting [========================================> ] 3.408MB/4.172MB
f0d451bc739e Downloading [================================================> ] 99.3MB/101.6MB
459ee85658c6 Downloading [==============> ] 3.501kB/11.93kB
459ee85658c6 Download complete
20aa554e2ae2 Downloading [> ] 531.1kB/63.48MB
f0d451bc739e Downloading [=================================================> ] 101.4MB/101.6MB
f0d451bc739e Verifying Checksum
f0d451bc739e Download complete
20aa554e2ae2 Downloading [=> ] 2.122MB/63.48MB
02d05d170da9 Extracting [=========================================> ] 3.473MB/4.172MB
20aa554e2ae2 Downloading [===> ] 4.778MB/63.48MB
02d05d170da9 Extracting [==================================================>] 4.172MB/4.172MB
02d05d170da9 Extracting [==================================================>] 4.172MB/4.172MB
20aa554e2ae2 Downloading [======> ] 7.938MB/63.48MB
02d05d170da9 Pull complete
4f4fb700ef54 Extracting [==================================================>] 32B/32B
4f4fb700ef54 Extracting [==================================================>] 32B/32B
20aa554e2ae2 Downloading [=======> ] 10.05MB/63.48MB
4f4fb700ef54 Pull complete
405f99327e2f Extracting [=============================> ] 32.77kB/54.67kB
405f99327e2f Extracting [==================================================>] 54.67kB/54.67kB
405f99327e2f Pull complete
08aa708a94db Extracting [==================================================>] 27.89kB/27.89kB
08aa708a94db Extracting [==================================================>] 27.89kB/27.89kB
20aa554e2ae2 Downloading [==========> ] 13.21MB/63.48MB
08aa708a94db Pull complete
f0d451bc739e Extracting [> ] 557.1kB/101.6MB
20aa554e2ae2 Downloading [============> ] 15.87MB/63.48MB
f0d451bc739e Extracting [=> ] 2.785MB/101.6MB
20aa554e2ae2 Downloading [==============> ] 18.51MB/63.48MB
f0d451bc739e Extracting [==> ] 5.014MB/101.6MB
20aa554e2ae2 Downloading [================> ] 20.64MB/63.48MB
f0d451bc739e Extracting [===> ] 7.799MB/101.6MB
20aa554e2ae2 Downloading [==================> ] 23.29MB/63.48MB
f0d451bc739e Extracting [====> ] 10.03MB/101.6MB
20aa554e2ae2 Downloading [====================> ] 25.95MB/63.48MB
f0d451bc739e Extracting [======> ] 13.37MB/101.6MB
20aa554e2ae2 Downloading [======================> ] 29.14MB/63.48MB
20aa554e2ae2 Downloading [=========================> ] 31.8MB/63.48MB
f0d451bc739e Extracting [=======> ] 15.6MB/101.6MB
20aa554e2ae2 Downloading [===========================> ] 34.46MB/63.48MB
f0d451bc739e Extracting [=======> ] 16.15MB/101.6MB
20aa554e2ae2 Downloading [============================> ] 36.59MB/63.48MB
f0d451bc739e Extracting [========> ] 16.71MB/101.6MB
20aa554e2ae2 Downloading [===============================> ] 39.79MB/63.48MB
f0d451bc739e Extracting [=========> ] 18.38MB/101.6MB
f0d451bc739e Extracting [===========> ] 23.4MB/101.6MB
20aa554e2ae2 Downloading [=================================> ] 42.98MB/63.48MB
f0d451bc739e Extracting [=============> ] 27.3MB/101.6MB
20aa554e2ae2 Downloading [===================================> ] 45.62MB/63.48MB
20aa554e2ae2 Downloading [======================================> ] 48.27MB/63.48MB
f0d451bc739e Extracting [===============> ] 32.31MB/101.6MB
20aa554e2ae2 Downloading [========================================> ] 51.45MB/63.48MB
f0d451bc739e Extracting [=================> ] 35.09MB/101.6MB
20aa554e2ae2 Downloading [===========================================> ] 54.62MB/63.48MB
f0d451bc739e Extracting [==================> ] 37.88MB/101.6MB
20aa554e2ae2 Downloading [=============================================> ] 57.29MB/63.48MB
f0d451bc739e Extracting [====================> ] 41.22MB/101.6MB
20aa554e2ae2 Downloading [===============================================> ] 59.94MB/63.48MB
f0d451bc739e Extracting [=====================> ] 44.56MB/101.6MB
20aa554e2ae2 Downloading [=================================================> ] 62.61MB/63.48MB
f0d451bc739e Extracting [=======================> ] 46.79MB/101.6MB
20aa554e2ae2 Verifying Checksum
20aa554e2ae2 Download complete
babadc1b811e Downloading [==================================================>] 1.228kB/1.228kB
babadc1b811e Verifying Checksum
babadc1b811e Download complete
f0d451bc739e Extracting [========================> ] 50.14MB/101.6MB
f0d451bc739e Extracting [==========================> ] 54.03MB/101.6MB
f0d451bc739e Extracting [===========================> ] 56.26MB/101.6MB
f0d451bc739e Extracting [============================> ] 58.49MB/101.6MB
f0d451bc739e Extracting [==============================> ] 61.83MB/101.6MB
f0d451bc739e Extracting [================================> ] 66.29MB/101.6MB
f0d451bc739e Extracting [==================================> ] 69.63MB/101.6MB
f0d451bc739e Extracting [===================================> ] 71.3MB/101.6MB
f0d451bc739e Extracting [====================================> ] 74.09MB/101.6MB
f0d451bc739e Extracting [======================================> ] 77.43MB/101.6MB
f0d451bc739e Extracting [=======================================> ] 80.77MB/101.6MB
f0d451bc739e Extracting [==========================================> ] 86.9MB/101.6MB
f0d451bc739e Extracting [=============================================> ] 93.03MB/101.6MB
f0d451bc739e Extracting [===============================================> ] 96.93MB/101.6MB
f0d451bc739e Extracting [================================================> ] 98.04MB/101.6MB
f0d451bc739e Extracting [================================================> ] 99.16MB/101.6MB
f0d451bc739e Extracting [=================================================> ] 100.8MB/101.6MB
f0d451bc739e Extracting [==================================================>] 101.6MB/101.6MB
f0d451bc739e Pull complete
20aa554e2ae2 Extracting [> ] 557.1kB/63.48MB
20aa554e2ae2 Extracting [> ] 1.114MB/63.48MB
20aa554e2ae2 Extracting [=> ] 1.671MB/63.48MB
20aa554e2ae2 Extracting [=> ] 2.228MB/63.48MB
20aa554e2ae2 Extracting [==> ] 2.785MB/63.48MB
20aa554e2ae2 Extracting [===> ] 3.899MB/63.48MB
20aa554e2ae2 Extracting [===> ] 4.456MB/63.48MB
20aa554e2ae2 Extracting [===> ] 5.014MB/63.48MB
20aa554e2ae2 Extracting [=====> ] 7.242MB/63.48MB
20aa554e2ae2 Extracting [======> ] 7.799MB/63.48MB
20aa554e2ae2 Extracting [=======> ] 9.47MB/63.48MB
20aa554e2ae2 Extracting [=======> ] 10.03MB/63.48MB
20aa554e2ae2 Extracting [==========> ] 12.81MB/63.48MB
20aa554e2ae2 Extracting [==========> ] 13.93MB/63.48MB
20aa554e2ae2 Extracting [============> ] 16.15MB/63.48MB
20aa554e2ae2 Extracting [==============> ] 17.83MB/63.48MB
20aa554e2ae2 Extracting [==============> ] 18.38MB/63.48MB
20aa554e2ae2 Extracting [================> ] 20.61MB/63.48MB
20aa554e2ae2 Extracting [==================> ] 23.4MB/63.48MB
20aa554e2ae2 Extracting [====================> ] 25.62MB/63.48MB
20aa554e2ae2 Extracting [=====================> ] 27.3MB/63.48MB
20aa554e2ae2 Extracting [======================> ] 28.97MB/63.48MB
20aa554e2ae2 Extracting [========================> ] 30.64MB/63.48MB
20aa554e2ae2 Extracting [==========================> ] 33.42MB/63.48MB
20aa554e2ae2 Extracting [============================> ] 35.65MB/63.48MB
20aa554e2ae2 Extracting [=============================> ] 37.32MB/63.48MB
20aa554e2ae2 Extracting [===============================> ] 39.55MB/63.48MB
20aa554e2ae2 Extracting [=================================> ] 42.89MB/63.48MB
20aa554e2ae2 Extracting [===================================> ] 45.68MB/63.48MB
20aa554e2ae2 Extracting [======================================> ] 48.46MB/63.48MB
20aa554e2ae2 Extracting [=======================================> ] 49.58MB/63.48MB
20aa554e2ae2 Extracting [=======================================> ] 50.69MB/63.48MB
20aa554e2ae2 Extracting [========================================> ] 51.25MB/63.48MB
20aa554e2ae2 Extracting [=========================================> ] 52.92MB/63.48MB
20aa554e2ae2 Extracting [===========================================> ] 55.15MB/63.48MB
20aa554e2ae2 Extracting [============================================> ] 56.82MB/63.48MB
20aa554e2ae2 Extracting [===============================================> ] 60.16MB/63.48MB
20aa554e2ae2 Extracting [===============================================> ] 60.72MB/63.48MB
20aa554e2ae2 Extracting [==================================================>] 63.48MB/63.48MB
20aa554e2ae2 Extracting [==================================================>] 63.48MB/63.48MB
20aa554e2ae2 Pull complete
459ee85658c6 Extracting [==================================================>] 11.93kB/11.93kB
459ee85658c6 Extracting [==================================================>] 11.93kB/11.93kB
459ee85658c6 Pull complete
babadc1b811e Extracting [==================================================>] 1.228kB/1.228kB
babadc1b811e Extracting [==================================================>] 1.228kB/1.228kB
babadc1b811e Pull complete
grafana Pulled
Container mtusi2026lab6-grafana-1 Recreate
Container mtusi2026lab6-grafana-1 Recreated
Container mtusi2026lab6-grafana-1 Starting
Container mtusi2026lab6-grafana-1 Started
+28
View File
@@ -0,0 +1,28 @@
{
"dashboard": {
"uid": "lab6",
"title": "Lab6 \u2014 Messenger observations",
"panels": 16,
"provisioned": true
},
"datasources": [
{
"name": "Loki",
"uid": "loki",
"type": "loki",
"url": "http://loki:3100"
},
{
"name": "Prometheus",
"uid": "prometheus",
"type": "prometheus",
"url": "http://prometheus:9090"
},
{
"name": "Tempo",
"uid": "tempo",
"type": "tempo",
"url": "http://tempo:3200"
}
]
}
+1
View File
@@ -0,0 +1 @@
No broken requirements found.
+187
View File
@@ -0,0 +1,187 @@
{
"status": "PASS",
"request_id": "620c940a-ad91-4213-987d-b9f9c82e33b1",
"trace_id": "6033ea9415bdaf4e9b463b1017ec7766",
"logs": [
{
"timestamp": "2026-10-29T19:44:41.631044+00:00",
"severity": "INFO",
"service.name": "messenger-api",
"event": "http_request",
"trace_id": "6033ea9415bdaf4e9b463b1017ec7766",
"span_id": "4b4fef09a7a4b526",
"request_id": "620c940a-ad91-4213-987d-b9f9c82e33b1",
"method": "GET",
"route": "/api/v1/users/me",
"status": 200,
"duration_seconds": 0.00416
}
],
"trace": {
"batches": [
{
"resource": {
"attributes": [
{
"key": "telemetry.sdk.language",
"value": {
"stringValue": "python"
}
},
{
"key": "telemetry.sdk.name",
"value": {
"stringValue": "opentelemetry"
}
},
{
"key": "telemetry.sdk.version",
"value": {
"stringValue": "1.38.0"
}
},
{
"key": "service.name",
"value": {
"stringValue": "messenger-api"
}
},
{
"key": "service.version",
"value": {
"stringValue": "6.0.0"
}
},
{
"key": "service.instance.id",
"value": {
"stringValue": "1efed7a48991"
}
},
{
"key": "deployment.environment.name",
"value": {
"stringValue": "lab"
}
}
]
},
"scopeSpans": [
{
"scope": {
"name": "messenger.manual",
"version": "6.0.0"
},
"spans": [
{
"traceId": "YDPqlBW9r06bRjsQF+x3Zg==",
"spanId": "9txHdM7pksc=",
"parentSpanId": "S0/vCaektSY=",
"flags": 256,
"name": "db.pool.acquire",
"kind": "SPAN_KIND_INTERNAL",
"startTimeUnixNano": "1793303081627420879",
"endTimeUnixNano": "1793303081627453481",
"attributes": [
{
"key": "db_system",
"value": {
"stringValue": "postgresql"
}
}
],
"status": {}
},
{
"traceId": "YDPqlBW9r06bRjsQF+x3Zg==",
"spanId": "D4NzgQeR+oM=",
"parentSpanId": "S0/vCaektSY=",
"flags": 256,
"name": "db.execute",
"kind": "SPAN_KIND_INTERNAL",
"startTimeUnixNano": "1793303081627512491",
"endTimeUnixNano": "1793303081628073344",
"attributes": [
{
"key": "db_system",
"value": {
"stringValue": "postgresql"
}
},
{
"key": "db_operation",
"value": {
"stringValue": "SELECT"
}
}
],
"status": {}
},
{
"traceId": "YDPqlBW9r06bRjsQF+x3Zg==",
"spanId": "Zu2X35zLSRQ=",
"parentSpanId": "S0/vCaektSY=",
"flags": 256,
"name": "db.execute",
"kind": "SPAN_KIND_INTERNAL",
"startTimeUnixNano": "1793303081628361496",
"endTimeUnixNano": "1793303081628715667",
"attributes": [
{
"key": "db_system",
"value": {
"stringValue": "postgresql"
}
},
{
"key": "db_operation",
"value": {
"stringValue": "SELECT"
}
}
],
"status": {}
},
{
"traceId": "YDPqlBW9r06bRjsQF+x3Zg==",
"spanId": "S0/vCaektSY=",
"flags": 256,
"name": "GET /api/v1/users/me",
"kind": "SPAN_KIND_SERVER",
"startTimeUnixNano": "1793303081626857741",
"endTimeUnixNano": "1793303081631269820",
"attributes": [
{
"key": "method",
"value": {
"stringValue": "GET"
}
},
{
"key": "route",
"value": {
"stringValue": "/api/v1/users/me"
}
},
{
"key": "status_class",
"value": {
"stringValue": "2xx"
}
},
{
"key": "http.response.status_code",
"value": {
"intValue": "200"
}
}
],
"status": {}
}
]
}
]
}
]
}
}
+9
View File
@@ -0,0 +1,9 @@
{
"status": "PASS",
"concurrent_requests": 32,
"observed_instances": 2,
"messages_after_race": 1,
"conflict": 409,
"invalid_key": 400,
"logout": 401
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+36
View File
@@ -0,0 +1,36 @@
{
"status": "FAIL",
"checks": {
"experiment_completed": true,
"two_repetitions": true,
"short_spikes_do_not_page": true,
"1_QueueLagGrowing_firing_and_resolved": true,
"1_ReadyErrorBudgetBurn_firing_and_resolved": true,
"1_APIHighErrorRate_firing_and_resolved": true,
"1_APIErrorBudgetBurnFast_firing_and_resolved": true,
"1_APIErrorBudgetBurnSlow_firing_and_resolved": true,
"1_upload_producer_consumer_db_s3_chain": true,
"1_api_and_worker_logs": true,
"1_correlated_http_worker_logs": true,
"1_db_error_trace": true,
"2_QueueLagGrowing_firing_and_resolved": true,
"2_ReadyErrorBudgetBurn_firing_and_resolved": true,
"2_APIHighErrorRate_firing_and_resolved": true,
"2_APIErrorBudgetBurnFast_firing_and_resolved": true,
"2_APIErrorBudgetBurnSlow_firing_and_resolved": true,
"2_upload_producer_consumer_db_s3_chain": true,
"2_api_and_worker_logs": true,
"2_correlated_http_worker_logs": false,
"2_db_error_trace": false,
"verified_retry_job_ready": true,
"real_retry_in_same_trace": true,
"baseline_and_backend_messages_succeed": true,
"backend_failed_exports_observed": true,
"backend_resource_samples": true,
"collector_memory_below_256_MiB": true,
"all_signal_metrics_exist": true,
"no_forbidden_metric_labels": true,
"dashboard_has_real_queries": true,
"grafana_healthy": true
}
}
+41
View File
@@ -0,0 +1,41 @@
FAIL: 2_correlated_http_worker_logs
FAIL: 2_db_error_trace
{
"experiment_completed": true,
"two_repetitions": true,
"short_spikes_do_not_page": true,
"1_QueueLagGrowing_firing_and_resolved": true,
"1_ReadyErrorBudgetBurn_firing_and_resolved": true,
"1_APIHighErrorRate_firing_and_resolved": true,
"1_APIErrorBudgetBurnFast_firing_and_resolved": true,
"1_APIErrorBudgetBurnSlow_firing_and_resolved": true,
"1_upload_producer_consumer_db_s3_chain": true,
"1_api_and_worker_logs": true,
"1_correlated_http_worker_logs": true,
"1_db_error_trace": true,
"2_QueueLagGrowing_firing_and_resolved": true,
"2_ReadyErrorBudgetBurn_firing_and_resolved": true,
"2_APIHighErrorRate_firing_and_resolved": true,
"2_APIErrorBudgetBurnFast_firing_and_resolved": true,
"2_APIErrorBudgetBurnSlow_firing_and_resolved": true,
"2_upload_producer_consumer_db_s3_chain": true,
"2_api_and_worker_logs": true,
"2_correlated_http_worker_logs": false,
"2_db_error_trace": false,
"verified_retry_job_ready": true,
"real_retry_in_same_trace": true,
"baseline_and_backend_messages_succeed": true,
"backend_failed_exports_observed": true,
"backend_resource_samples": true,
"collector_memory_below_256_MiB": true,
"all_signal_metrics_exist": true,
"no_forbidden_metric_labels": true,
"dashboard_has_real_queries": true,
"grafana_healthy": true
}
Traceback (most recent call last):
File "/home/kitsune/visotka/mtusi2026lab6/scripts/audit_observability.py", line 96, in <module>
if __name__=='__main__':main()
File "/home/kitsune/visotka/mtusi2026lab6/scripts/audit_observability.py", line 93, in main
assert all(checks.values()),'Evidence criteria incomplete'
AssertionError: Evidence criteria incomplete
+43
View File
@@ -0,0 +1,43 @@
Collecting PyYAML==6.0.2
Downloading PyYAML-6.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (751 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 751.2/751.2 KB 2.2 MB/s eta 0:00:00
Collecting openapi-spec-validator==0.7.2
Using cached openapi_spec_validator-0.7.2-py3-none-any.whl (39 kB)
Collecting lazy-object-proxy<2.0.0,>=1.7.1
Using cached lazy_object_proxy-1.12.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (67 kB)
Collecting openapi-schema-validator<0.7.0,>=0.6.0
Using cached openapi_schema_validator-0.6.3-py3-none-any.whl (8.8 kB)
Collecting jsonschema<5.0.0,>=4.18.0
Using cached jsonschema-4.26.0-py3-none-any.whl (90 kB)
Collecting jsonschema-path<0.4.0,>=0.3.1
Using cached jsonschema_path-0.3.4-py3-none-any.whl (14 kB)
Collecting jsonschema-specifications>=2023.03.6
Using cached jsonschema_specifications-2025.9.1-py3-none-any.whl (18 kB)
Collecting referencing>=0.28.4
Using cached referencing-0.37.0-py3-none-any.whl (26 kB)
Collecting rpds-py>=0.25.0
Using cached rpds_py-0.30.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (390 kB)
Collecting attrs>=22.2.0
Using cached attrs-26.1.0-py3-none-any.whl (67 kB)
Collecting pathable<0.5.0,>=0.4.1
Using cached pathable-0.4.4-py3-none-any.whl (9.6 kB)
Collecting referencing>=0.28.4
Using cached referencing-0.36.2-py3-none-any.whl (26 kB)
Collecting requests<3.0.0,>=2.31.0
Using cached requests-2.34.2-py3-none-any.whl (73 kB)
Collecting rfc3339-validator
Using cached rfc3339_validator-0.1.4-py2.py3-none-any.whl (3.5 kB)
Collecting typing-extensions>=4.4.0
Using cached typing_extensions-4.16.0-py3-none-any.whl (45 kB)
Collecting certifi>=2023.5.7
Using cached certifi-2026.10.23-py3-none-any.whl (135 kB)
Collecting charset_normalizer<4,>=2
Using cached charset_normalizer-3.5.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (271 kB)
Collecting idna<4,>=2.5
Using cached idna-3.20-py3-none-any.whl (69 kB)
Collecting urllib3<3,>=1.26
Using cached urllib3-2.8.0-py3-none-any.whl (135 kB)
Collecting six
Using cached six-1.17.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: urllib3, typing-extensions, six, rpds-py, PyYAML, pathable, lazy-object-proxy, idna, charset_normalizer, certifi, attrs, rfc3339-validator, requests, referencing, jsonschema-specifications, jsonschema-path, jsonschema, openapi-schema-validator, openapi-spec-validator
Successfully installed PyYAML-6.0.2 attrs-26.1.0 certifi-2026.10.23 charset_normalizer-3.5.2 idna-3.20 jsonschema-4.26.0 jsonschema-path-0.3.4 jsonschema-specifications-2025.9.1 lazy-object-proxy-1.12.0 openapi-schema-validator-0.6.3 openapi-spec-validator-0.7.2 pathable-0.4.4 referencing-0.36.2 requests-2.34.2 rfc3339-validator-0.1.4 rpds-py-0.30.0 six-1.17.0 typing-extensions-4.16.0 urllib3-2.8.0
+4
View File
@@ -0,0 +1,4 @@
Collecting Pillow==12.0.0
Using cached pillow-12.0.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (7.0 MB)
Installing collected packages: Pillow
Successfully installed Pillow-12.0.0
+27
View File
@@ -0,0 +1,27 @@
Collecting matplotlib==3.10.7
Downloading matplotlib-3.10.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (8.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.7/8.7 MB 4.7 MB/s eta 0:00:00
Collecting packaging>=20.0
Using cached packaging-26.3-py3-none-any.whl (129 kB)
Collecting pyparsing>=3
Using cached pyparsing-3.3.3-py3-none-any.whl (126 kB)
Collecting fonttools>=4.22.0
Using cached fonttools-4.65.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (5.3 MB)
Collecting numpy>=1.23
Using cached numpy-2.2.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.8 MB)
Collecting contourpy>=1.0.1
Using cached contourpy-1.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (325 kB)
Collecting python-dateutil>=2.7
Downloading python_dateutil-3.0.0-py2.py3-none-any.whl (94 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.7/94.7 KB 668.8 kB/s eta 0:00:00
Requirement already satisfied: pillow>=8 in ./.venv/lib/python3.10/site-packages (from matplotlib==3.10.7) (12.0.0)
Collecting kiwisolver>=1.3.1
Using cached kiwisolver-1.5.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.6 MB)
Collecting cycler>=0.10
Using cached cycler-0.12.1-py3-none-any.whl (8.3 kB)
Collecting tzdata
Downloading tzdata-2026.6-py2.py3-none-any.whl (348 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 348.2/348.2 KB 2.7 MB/s eta 0:00:00
Requirement already satisfied: six>=1.6 in ./.venv/lib/python3.10/site-packages (from python-dateutil>=2.7->matplotlib==3.10.7) (1.17.0)
Installing collected packages: tzdata, pyparsing, packaging, numpy, kiwisolver, fonttools, cycler, python-dateutil, contourpy, matplotlib
Successfully installed contourpy-1.3.2 cycler-0.12.1 fonttools-4.65.0 kiwisolver-1.5.1 matplotlib-3.10.7 numpy-2.2.6 packaging-26.3 pyparsing-3.3.3 python-dateutil-3.0.0 tzdata-2026.6
@@ -0,0 +1,63 @@
[
{
"time": 1793299770.1836607,
"name": "phase_started",
"phase": "baseline",
"duration": 120
},
{
"time": 1793299884.7691934,
"name": "db_lock_requested",
"phase": "1_short_spike",
"seconds": 5
},
{
"time": 1793299885.6986258,
"name": "db_lock_acquired",
"phase": "1_short_spike"
},
{
"time": 1793299890.2849925,
"name": "db_lock_released",
"phase": "1_short_spike"
},
{
"time": 1793299890.2881305,
"name": "phase_started",
"phase": "1_short_recovery",
"duration": 70
},
{
"time": 1793299961.1975312,
"name": "worker_stopped",
"phase": "1_worker_stopped"
},
{
"time": 1793299961.5443513,
"name": "phase_started",
"phase": "1_worker_stopped",
"duration": 40
},
{
"time": 1793300010.1831088,
"name": "worker_started_s3_down",
"phase": "1_worker_stopped"
},
{
"time": 1793300010.1839957,
"name": "phase_started",
"phase": "1_s3_retry",
"duration": 6
},
{
"time": 1793300016.4087987,
"name": "s3_restored",
"phase": "1_s3_retry"
},
{
"time": 1793300016.5751853,
"name": "phase_started",
"phase": "1_worker_recovery",
"duration": 50
}
]
@@ -0,0 +1,11 @@
{"time": 1793299770.1836607, "name": "phase_started", "phase": "baseline", "duration": 120}
{"time": 1793299884.7691934, "name": "db_lock_requested", "phase": "1_short_spike", "seconds": 5}
{"time": 1793299885.6986258, "name": "db_lock_acquired", "phase": "1_short_spike"}
{"time": 1793299890.2849925, "name": "db_lock_released", "phase": "1_short_spike"}
{"time": 1793299890.2881305, "name": "phase_started", "phase": "1_short_recovery", "duration": 70}
{"time": 1793299961.1975312, "name": "worker_stopped", "phase": "1_worker_stopped"}
{"time": 1793299961.5443513, "name": "phase_started", "phase": "1_worker_stopped", "duration": 40}
{"time": 1793300010.1831088, "name": "worker_started_s3_down", "phase": "1_worker_stopped"}
{"time": 1793300010.1839957, "name": "phase_started", "phase": "1_s3_retry", "duration": 6}
{"time": 1793300016.4087987, "name": "s3_restored", "phase": "1_s3_retry"}
{"time": 1793300016.5751853, "name": "phase_started", "phase": "1_worker_recovery", "duration": 50}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,34 @@
[
{
"id": "2cae910f-2838-41e7-9f10-208fbe2572c7",
"trace_id": "f215698d1df8d9ccc4b4162645e50711",
"accepted_at": 1793299883.6702657,
"phase": "baseline",
"ready_at": 1793299884.768435,
"elapsed_to_observed_ready": 1.0981693267822266
},
{
"id": "003f692f-1538-472d-a2df-42b2cef72836",
"trace_id": "388124d41355190fedb401b5ce0445e0",
"accepted_at": 1793299961.3120816,
"phase": "1_worker_stopped"
},
{
"id": "a66c5f21-428a-4eb2-b809-70c08421de5c",
"trace_id": "028369c8f6490c43c5580cd2d5c71b66",
"accepted_at": 1793299961.3885794,
"phase": "1_worker_stopped"
},
{
"id": "ea9e4935-c579-4225-b120-4b087e675908",
"trace_id": "21046991f8d465e4d384a99e779e7cf5",
"accepted_at": 1793299961.4838247,
"phase": "1_worker_stopped"
},
{
"id": "ad46a635-ec17-4bf6-b272-a5e11245e318",
"trace_id": "5464e56b7c72a40992acb889853352f5",
"accepted_at": 1793299961.5440574,
"phase": "1_worker_stopped"
}
]
+6
View File
@@ -0,0 +1,6 @@
{
"status": "INTERRUPTED",
"reason": "User emergency stop: C drive full",
"experiment_processes_stopped": [],
"final_grade_5_verified": false
}
+133
View File
@@ -0,0 +1,133 @@
{
".dockerignore": "71afb8ddc323fe374627a88d2deee2f5a0884fff22e189fae15e177b697cbf15",
".env.example": "bf057714d05158b66620099ec06b5d81430fd3ed371fabaac47143b5fd4c3a3a",
"requirements-experiment.txt": "2fb67a89f878a64338707b683cfa2718066c7003c1d217571fddc3bcf6cf248d",
"Dockerfile": "2175056462afbbb4b7e151d3964a5bedb634179c6379ea697965990d4c1b1d6a",
"MAINTAINERS.md": "2ac3103bc622557ab5e550d716dbdb62bcccf8fc4c0eb410bcbfe5a9f127e7ff",
"README.md": "0651974eebbd4f34a04cd7c06df167cf61ae686cc67ceb2ac977a115ad70b866",
"COURSE.md": "c34d53cd082d194aa4b58f504c4e0348d25b6afec3d6a9c0963dd01c9c81e971",
"CODEX_HANDOFF.md": "15c91c9962a5f8934e50a43e653a7eb8b8d800d5232bb468a4e5977b91984742",
"requirements.txt": "9b40543e16b2ceb6f360f9b44e0e6116612409f0dc2171336f6e5193784096f2",
"lab.json": "69c44ec7761e238c6a2d25f121a33328f2bbf7592a9348d85f84312d782ed70c",
".gitignore": "2bc1f5348c51163b0129f487e7645ac216984cd640c96e57765a5689d12ff185",
"compose.example.yaml": "2ae5ec12669a2b4281cddc94a2d1725de1993ce093aea32c290fa026749163cc",
"Makefile": "40b7ba8fc98b9ff825b822cca90d26f64972afd8fdf584e4a42517aa676faaea",
".env": "9a2b9641c1702756325fa82faed0a49a8d39aee665da83d2790f334ee069da66",
"compose.yaml": "4f3c20a51deb89b2f47e7fb1ad55fb63544e257e21e45510d5c3ef5025369dd0",
"Dockerfile.example": "fd7ac9491c0c3c663b083c41a762fb38bc2d212fa4a2ed3e6a0702af72108709",
"requirements-dev.txt": "4cefdb67007caf026d1613be7c519c01b4c8343db7c4f4b618677e01cf113525",
"CONTRIBUTING.md": "2c01dd698cc9653dece49a94c9fd3f58d36e84764aaa643b46e26d7e599dc12e",
"AGENTS.md": "93ad9e09e02c43be6d072ff170bed917781c635b1518e3e506c226ddc6e022f9",
"REPORT.md": "db192efbc91a6dab666bfa457912d7fcc0a3f27bd75d9a8392d9def8eb5d6f75",
"student-tests/attachments.py": "de246749aa9c0b0756b41b13261b9be60fc15694c973ffcc56d225a056154b54",
"student-tests/checks.py": "8e16fab0154d6a54b5cadccda0e11f61934649c9a25bc93391dde83f01f117f2",
"student-tests/idempotency.py": "38138aac31ecb4e079ccfef7e80d25708c2880b85d29bf4892db352648339227",
"student-tests/test_api.py": "12d508338c3941f2e3d8c38ebf892dbd2001dd4a8f697889779bf82a50d19afc",
"student-tests/variants.py": "c26e3e2f7e6561c1d8b1ff22e4324a88554a68117701b962c531f0a20d0d6033",
"student-tests/dependencies.py": "e20003ebc5d79d45c72b7fdab88af6f0144803be20a533ce18fe59ffb07f84be",
"student-tests/file_failover.py": "27e5e5fc9127b5ca6de14b9c4a0ce834c7f276bc19a0d15e3087c83d1cb790da",
"student-tests/database.py": "14f80257579d93eaacca66f147d7f9c8b8ddba28a40805498d62fd8de81db15c",
"student-tests/pipeline_scenario.py": "e285901923c0fd108c3bc074aae209e1781f66e0834507c085c8a22b134f6c9e",
".github/pull_request_template.md": "7cfeabfbcb19f34d85ed99cbcd6797977d6d722e65f7533e859147d5ab4d5e9b",
".github/workflows/contracts.yml": "a45d7932ef14130aff8020bce79f043cccaf9692d697088a754d309a03f7d3e8",
"infra/minio-entrypoint.sh": "079c38c01f8baff3d255ddd70ff525d69946b9e66400b79fb9e2d2a557ac2c6f",
"infra/README.md": "0e804fa51debba4c38d3cc84abf4704897665e0335b272060363f03aadd6354f",
"infra/broker-entrypoint.sh": "e7a29626f215f9199a45c301985b676f73b1f91890d29180bf56a89c070733a1",
"infra/s3-api-policy.json": "4b79c59c7382549687a991a4a7a62075ba81e5cefd6dde21dea11b3aeb572d8d",
"infra/s3.Dockerfile": "cceecb966442d136131bdfb2703fd0a39c2e5de5a3900215b6096921895ae59e",
"infra/haproxy.cfg": "4eb8f27be92259b953ca0913d4f6c3b19d799ee9d942d9b0b5d52414238c2928",
"tests/README.md": "e0bfa7e196797f6a5bf6e44d8ad2ffeb82651927ff5d8484eb1c2dda1ec7dec5",
"tests/client.py": "8d50976fc7c7bbb81e88a152f613c61ab25eaf53dba33c6a9dfab19f868d546d",
"tests/load.py": "6d3511ea719c7a7e841083e73d435c86dcbfd9f4e5c2a07d62eb9614b01d9933",
"tests/resilience.py": "1f96663a174b3978d24eff66f2741f5f8c9b788d3242261d37a972720c52788b",
"tests/smoke.py": "52ac38eb343ff7d43e7543588e1da58ca06c9fce74b2b0d0bf0e4982bc23c1db",
"tests/image_probe.py": "a9a4f89181c8e0fda6ce42e1a1af32fb42d8e3ae519e314207127c9b9b448b13",
"tests/fixtures/README.md": "c001783760b4f87a7a8441a7ba55f5d080ff48e1397d3581d72a88d7691f96c2",
"tests/fixtures/sample.png": "99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75",
"migrations/004_pipeline.sql": "a15c99d4694cd145945266958c1965faafb9622d7affcc5cb3dab038d3b8c433",
"migrations/003_attachments.sql": "84001a7e94a33686183567c0457da1439ea40301f04af779346631b9929a8e49",
"migrations/001_initial.sql": "814839110b8834101ebd5d550bb51eacb07f5f2f65d7793dba4cda88205f6d82",
"migrations/002_idempotency.sql": "6f72982e63569ca6d636c8beb44d44c54d9592683bb87ce2e242fdb042cf63d3",
"examples/requests.http": "8c086fd540092b3e31a945a416632bcda6c4bea39253f86b076f791b362cf5e4",
"scripts/test_expiry.sh": "9a096da92d60b375f546cfab76fff2286295d66bd6260b786fb4b80ffab79fc2",
"scripts/check_contract.py": "7c4402c2a6ab80d3b4676e1866d6ecc87b6daea14c080bcb9be9a7e8b959d671",
"scripts/restart.sh": "37aeef4ea585da7fd43edd6a43ed8d2c9f6319ba6c8a0a428825eae68deb9cc8",
"scripts/stop-one.sh": "4d7e902cbf1c8d111e8d48945b04321df4a9d8abf5e8dbabcf3d52c33b574140",
"scripts/setup.sh": "3e041e0c0fe572f2b804dfd3a0aa89dbd0674a8418f81837cbf7491fecabdaf1",
"scripts/bootstrap_s3.sh": "d06d640ab17d695940fa55958ff65b6f30ba9f8b50228dd1b3f9c4d235f346a3",
"scripts/wait_ready.py": "d7c404f21b503d8e04a10fe3e29fd452886d3accab973e90367b2b5f886afbba",
"scripts/experiment.py": "6d390875fa3baa18195363636578a7aba0a2229e0fb545ff04ac032d6cb2cf0d",
"scripts/restart.example.sh": "0328246ba75defbced992104e986fde973f63e3830d83251eced5953263e944b",
"scripts/stop-one.example.sh": "1bcf34394520b89d95b7605ec56675be799eea920e83cfbba306d5dc0a6d9811",
"scripts/healthcheck.py": "56c1b9fc69db54bc8a2f1007646aaca275e72ce77504f31197e3f6f80db0a7ae",
"scripts/start.sh": "94fb978aa4434eace455272cf4c9f26147c1d531d5798eeb31d3ef236dcdd196",
"scripts/validate_openapi.py": "4e981acbfc10dac58817bf922d5896e996798551fedc1b2385130e1cddb13d54",
"scripts/stack.py": "93bf01404108fa58e873e7c74d0618b292a0e3bd50ac8a0f4f62b66de1695a16",
"scripts/restore-api.sh": "9de80d6c805abc23e267474975a207023e3057b4b01896a3b9b5b1e3b3f656df",
"contracts/attachment-states.md": "cf0519e137410e4b34ab632aadb8ad8a381d4b73033e27b354c58eeacbdf86d6",
"contracts/examples.json": "381cc18c03789e935b391d007fb5843964be9cfd9f7530cb6b1996ed4a1c4c37",
"contracts/jobs.schema.json": "9ccf9b11466c0c3a26a941520ac5ff543241fc4935e3a6eebb01ef303779b10d",
"contracts/README.md": "72df27a559f88ffa3fd8c3c79d3c32f6db2c5986a0602677c51994c434a3fc4f",
"contracts/openapi.json": "62b6e1d43ca0c6115e9c6ad0ffa9be0835e8fdf9ae664d2fea3c258ef745d56d",
"contracts/infrastructure.json": "6d4ca861b160118cef8764ae0ca292ac924b541963ccc7be4857eddbef6d77d8",
"evidence/local_persistence_failed_initial.txt": "cd4623db51d78ecd7cabc046293d5e68fc8cb210f89b7f76b9bf7fecc9a01566",
"evidence/idempotency.json": "fc8f3da7cadc8e3097a8a7d8ea76db1b79aed6a98a1f043aafa380c87bdf79f9",
"evidence/local_restart_fixed.txt": "034fb1484f2ddc0137daa67fc32cf73e72d631a9608331f7b59e6386a2f33329",
"evidence/containers_after_restart.json": "6a3817a1cd06f01f768c5fddb5b946ff84708b37e80563d05d20403c7cd0f2ae",
"evidence/containers_persistence_failed.json": "a5556688007da54dc2dd688d3fad079d46e741cc89a8ccca5338aa3c1e955682",
"evidence/local_restore_api_1.txt": "8b6c619f9aa9ccba7fbfca7002839a9c17bfdcb6e6e06dd7a8738a6703f00273",
"evidence/local_install.txt": "a40f537a5f5d9f3191a8df42a62163f690222e6ba00248f1c780a25a2f2e1665",
"evidence/README.md": "78e4bfd738d034597d15d8846accd8a8a5dc738a23a3d15f243f3992bd530cc3",
"evidence/local_check.txt": "5f42d25d7cd8c1d2fb31ccf28a2872fbb91d38ed094024181e5ace9671667ee6",
"evidence/local_start.txt": "00e831c64a461f9b833cfeb725a54083dc6eda69e6c54f410697a28919186182",
"evidence/containers_before_retry.json": "bbcf3de00d338b17837ba979ffd7749d4ef8242e50cec06b570caa009ce481c7",
"evidence/broker_runtime.json": "37241be0e5a25c192bdc9db1655fd6a846c4d38cb3402fb177b5c371cb5d9b5d",
"evidence/attachment_failover.json": "37c47c919fa44f643886eadf00e8f0a62291ef6ebd834352a04304529f9418da",
"evidence/local_files.txt": "9c4a57680d8d936bac8ff32c0f4faf95fa0c7c7eea87647c99593853748425a6",
"evidence/dependencies.json": "f37cd41452fe43f3c1583a5762f72dbb08449073a547874825918645ed46cb0a",
"evidence/container_pip_check.txt": "36ddee8d84b98db0c0466e2c9670684a02465466310c5b4285621e607e6cabef",
"evidence/runtime_versions.json": "6367bbe255f172603ee85a58a6a38921a74f2f3696e7742ec5f7fd7f31a166c8",
"evidence/pipeline_raw.json": "643791e669f8a6ade3fbe3d08e48c7813b7fc5a24593aefc0c25cc48990d3fed",
"evidence/local_pip_check.txt": "9261363b733079a641c2e4cc9bc46ffa1d8336945a87f807b6cf68847dbc9b09",
"evidence/local_experiment.txt": "29600d6c8955da8de7cdb237dbe36492288cbee7345427dd8933f1ad132d59b4",
"evidence/local_final_smoke.txt": "973e434b1c5b82af6c13150a1a1d0d34599cd9febc6f2ff97cccc562fbec861f",
"evidence/local_persistence_failed_stopped_stack.txt": "7109b898c3ed5be7d5681261224652f77a8f4056092b1505ea922edf9a8e5d0b",
"evidence/local_file_failover.txt": "069d30a86560522444f6dad27272e6fe19a12bd4251b0982d9df9336e37cc54e",
"evidence/local_dependencies.txt": "c6c8263416ffa870407fc4aab21bda03cb95308fd1000cba5cfafce048cc5309",
"evidence/local_student_checks.txt": "a0454efe6f66f8625f22eecdaee64226072e9786fe336425d36a4180f17854c9",
"evidence/pipeline_summary.json": "e8ee378c751cb49cbf0b5c90ca17a76075e2eeb64240808c10f5b4904c6121b7",
"evidence/local_restart_diagnostic.txt": "087cdd99b9bde7d187055e94772f6fc42bcba341e10f7ddd67eb56cd7c24199c",
"evidence/containers_before.json": "7b4a6cfdd68966b7d78087c2f5147fe0e9c29d475b29ad323e64c1b4ab13b30e",
"evidence/local_smoke.txt": "973e434b1c5b82af6c13150a1a1d0d34599cd9febc6f2ff97cccc562fbec861f",
"evidence/broker_restart_diagnostic.txt": "58d548943d81c70ba2378291962c2a492386eaf539e87255ca38b75b597e5101",
"evidence/local_final_ready.txt": "7a62726cd1cbffeceb2b1147ae2a1afb00c3b5007ee105d5e8036697e286cee0",
"evidence/local_failover_additional_1.txt": "226c141055b21912b66b0596308cf83246cec80143488b0202560b8bd2a2906d",
"evidence/import_comparison.json": "1cfbadf7c187cab3a696a5f0754f7c969f3501a3fc777fd05779f80e2511504e",
"evidence/local_setup.txt": "81f5a8e9a78e919cbd9b47a30fee3459f84bfb7d377675dcae023009bbd32c17",
"evidence/local_ready.txt": "eda507d8e166eb22f16153d9a8cc89fa65d665638a59e42bbcd2b8f2b2c4902a",
"evidence/local_failover.txt": "8a6b2809bfbcb01f7a5ccd9d36cccb7414c3ab516d791e7f62c92147e3a33a9a",
"evidence/containers_final.json": "97b5e927347254311ecd0f137fd5e09adbb550392b26e1b672245a2e6087b7f4",
"evidence/pipeline_environment.json": "b5c50da3995835c24e73bae2a73a67a6a781b0325dae0df42aeefddddc348d11",
"evidence/persistence_scope.json": "53170741dc05924acf3cda2dd7acaeecae1e66883953a574d85a3e0b95f39a2f",
"evidence/local_persistence.txt": "421f26c087183b5bbdb5354f6ae0ecdd0bc4d5223f9eb79c9edb6ac8f5667867",
"evidence/api_failover_additional_1.json": "89d7c597e28cc6c8740a3b5bc81590b060c58e2787e7747558759d62174df169",
"evidence/local_environment.json": "887fb6f0a57c95ba977a8add9175bc376d7d94d92b22662a1996b6a4d89c5eca",
"evidence/local_expiry.txt": "0ea6f5defc007845b029845e8dd4b8c3bacf76440eb5cf42ecbd36a141e8ae26",
"evidence/local_validate.txt": "f24067579f28563041574bd364263c3de3c8c3188b6915fb8ce9b30d26118b27",
"evidence/final_audit.json": "389a752ed7db6409af32dedb3d3581d381cad1d92f7b9c109eb98a7943f7a8e2",
"evidence/last_stop.json": "89d7c597e28cc6c8740a3b5bc81590b060c58e2787e7747558759d62174df169",
"src/attachments.py": "9ff7f83700eaf9f238aa9f8ee80ec7bb7dd959c0f646d5f9dc770e7cfae7e8d6",
"src/main.py": "93a35a38599cd079ed64db1836e80fa4d4cd59dba3fab09ad66e2854ad8bc62f",
"src/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"src/storage.py": "e202a06bbdccc91179d856cda96ad18b728c24a732878880d67ddccaa1f7212d",
"src/dispatcher.py": "5834e37fb0d9a7ab524904b68a5e5eb43023d5217fd4c5263c80199308d5c5f1",
"src/config.py": "e6efd7661c5eb7ac0227e2c08fa4d6dc55a3f567558478b33d406baf3bae1502",
"src/errors.py": "b8262a4acbe0478e72aea0b3629ac7a2d29cdc6844c5a6b91fdac92a93898869",
"src/image_pipeline.py": "a178056908165e5e5cf6ebaa0c6570c7678de540301f404423cc8bd750258a0e",
"src/migrate.py": "4dc5966309f3021d2e0438d299aee993556b204db27d888f7eed94d100a7d26f",
"src/jobs.py": "f14fd1a35410be845cedceec06f8e806e59d21a8131990aa6231343e9bb8bb19",
"src/worker.py": "9d34c46dd80c71d45c1b9f91c1806bcd345487a3dea27bf0762464c517efd460",
"src/broker.py": "0ad22341b5e23cdb939a871cf45f33301eea732e5afee31858fe8582df02f8d1",
"src/faults.py": "614bb5875045fce27fe04b0072948082c8c895aa37223839d9ab442b2ba6811f",
"src/cleanup.py": "8c1953c509e621997eaf9bc840bade221448da42915b31032284ef6c5f6cf504"
}
+526
View File
@@ -0,0 +1,526 @@
{
"target": "38a8c9fd5dbc:a346cff6",
"stopped_container": "38a8c9fd5dbcf2e6e50717e2137094943330c7b2611881741c8e74c95c880a60",
"before": [
{
"id": "38a8c9fd5dbcf2e6e50717e2137094943330c7b2611881741c8e74c95c880a60",
"name": "mtusi2026lab6-api-1",
"hostname": "38a8c9fd5dbc",
"service": "api",
"running": true,
"started_at": "2026-10-29T18:48:05.558183808Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "25a285a81fa9530813f5a4441653e6fad51f572d99617a2e93169ef4df7c7ef5",
"name": "mtusi2026lab6-api-2",
"hostname": "25a285a81fa9",
"service": "api",
"running": true,
"started_at": "2026-10-29T18:48:05.952889369Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "a94f8452c1400e2f018947d6760f108c41adb74ea505e0fc28162276c7f736bd",
"name": "mtusi2026lab6-broker-1",
"hostname": "a94f8452c140",
"service": "broker",
"running": true,
"started_at": "2026-10-29T18:46:38.894695634Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"6379/tcp": null
}
},
{
"id": "1190598f4c70c6099515ff0903e6fabd265c1de430305fa83ba5ac5fc96292d4",
"name": "mtusi2026lab6-cache-1",
"hostname": "1190598f4c70",
"service": "cache",
"running": true,
"started_at": "2026-10-29T18:46:38.894840668Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {
"6379/tcp": null
}
},
{
"id": "287df894d94d1cd4b905b70d4179426e956fc0d07d0daa25645cc93cdd352b94",
"name": "mtusi2026lab6-collector-1",
"hostname": "287df894d94d",
"service": "collector",
"running": true,
"started_at": "2026-10-29T18:46:58.4710042Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"4317/tcp": null,
"4318/tcp": null,
"55678/tcp": null,
"55679/tcp": null
}
},
{
"id": "958a8746045d9329fd5482352bc40ac2b415a1dcee44a6fbe9f83db6014e0d5b",
"name": "mtusi2026lab6-db-1",
"hostname": "958a8746045d",
"service": "db",
"running": true,
"started_at": "2026-10-29T18:46:38.898566793Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {
"5432/tcp": null
}
},
{
"id": "b90d156addc4be40253d42dfcfc89e79f538fc5746fd54f2e08b79506a32d349",
"name": "mtusi2026lab6-dispatcher-1",
"hostname": "b90d156addc4",
"service": "dispatcher",
"running": true,
"started_at": "2026-10-29T18:48:05.392696544Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "70efe4a6c26b77b68e40d53f337cf86c3f8b29a63317da34dcd03a714fafa4ad",
"name": "mtusi2026lab6-grafana-1",
"hostname": "70efe4a6c26b",
"service": "grafana",
"running": true,
"started_at": "2026-10-29T18:46:58.792254671Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 536870912,
"published_ports": {
"3000/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3006"
}
]
}
},
{
"id": "387bb481536811f17c264814069afd3a507cfb82a1be7a0958073e4297e27b12",
"name": "mtusi2026lab6-lb-1",
"hostname": "387bb4815368",
"service": "lb",
"running": true,
"started_at": "2026-10-29T18:46:59.277812858Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {
"8080/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8086"
}
]
}
},
{
"id": "505595f249be1db0bc114feb1be30fefedc7432b792f34b710bcc60c701c6e3a",
"name": "mtusi2026lab6-loki-1",
"hostname": "505595f249be",
"service": "loki",
"running": true,
"started_at": "2026-10-29T18:46:59.201437679Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 402653184,
"published_ports": {
"3100/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3106"
}
]
}
},
{
"id": "4ce0b8ac6fd8776f6ecb9d3a118f0351042bd00c396428f01d828c71c8adebe6",
"name": "mtusi2026lab6-migrate-1",
"hostname": "4ce0b8ac6fd8",
"service": "migrate",
"running": false,
"started_at": "2026-10-29T18:41:12.371813465Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {}
},
{
"id": "cc243b53ea3b584b815f4db401f5ceb2f4fc417a9f216d9e1ac78c8fcac6c03a",
"name": "mtusi2026lab6-prometheus-1",
"hostname": "cc243b53ea3b",
"service": "prometheus",
"running": true,
"started_at": "2026-10-29T18:46:59.100728882Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"9090/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "9096"
}
]
}
},
{
"id": "824044c8f26cd2d75e88c0e24c6f559ee7a87d918f7542c59c626dc4b9173c18",
"name": "mtusi2026lab6-reconciler-1",
"hostname": "824044c8f26c",
"service": "reconciler",
"running": true,
"started_at": "2026-10-29T18:48:05.566146136Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "71cb280598144c175634d699c70704b26d29cd3f87495fc57cb3823508204719",
"name": "mtusi2026lab6-s3-1",
"hostname": "71cb28059814",
"service": "s3",
"running": true,
"started_at": "2026-10-29T18:46:38.896181674Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {}
},
{
"id": "ba7d30c0238219f5934d97e2e950a257c6b6161987dc64fd80c68fb514400e51",
"name": "mtusi2026lab6-s3-bootstrap-1",
"hostname": "ba7d30c02382",
"service": "s3-bootstrap",
"running": false,
"started_at": "2026-10-29T18:41:10.002175496Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {}
},
{
"id": "7225c0225f542d177df36ae3312074c69f7b46de442bec54f84d2ecbb7d06a4c",
"name": "mtusi2026lab6-tempo-1",
"hostname": "7225c0225f54",
"service": "tempo",
"running": true,
"started_at": "2026-10-29T18:46:58.797514406Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"3200/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3206"
}
]
}
},
{
"id": "8413f83c9a5ec97b1f1b8922d7b0ac7e8dd268ce26487c7b4bf5b807dbf3027d",
"name": "mtusi2026lab6-worker-1",
"hostname": "8413f83c9a5e",
"service": "worker",
"running": true,
"started_at": "2026-10-29T18:48:05.324820362Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 805306368,
"published_ports": {
"8080/tcp": null
}
}
],
"after": [
{
"id": "38a8c9fd5dbcf2e6e50717e2137094943330c7b2611881741c8e74c95c880a60",
"name": "mtusi2026lab6-api-1",
"hostname": "38a8c9fd5dbc",
"service": "api",
"running": false,
"started_at": "2026-10-29T18:48:05.558183808Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {}
},
{
"id": "25a285a81fa9530813f5a4441653e6fad51f572d99617a2e93169ef4df7c7ef5",
"name": "mtusi2026lab6-api-2",
"hostname": "25a285a81fa9",
"service": "api",
"running": true,
"started_at": "2026-10-29T18:48:05.952889369Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "a94f8452c1400e2f018947d6760f108c41adb74ea505e0fc28162276c7f736bd",
"name": "mtusi2026lab6-broker-1",
"hostname": "a94f8452c140",
"service": "broker",
"running": true,
"started_at": "2026-10-29T18:46:38.894695634Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"6379/tcp": null
}
},
{
"id": "1190598f4c70c6099515ff0903e6fabd265c1de430305fa83ba5ac5fc96292d4",
"name": "mtusi2026lab6-cache-1",
"hostname": "1190598f4c70",
"service": "cache",
"running": true,
"started_at": "2026-10-29T18:46:38.894840668Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {
"6379/tcp": null
}
},
{
"id": "287df894d94d1cd4b905b70d4179426e956fc0d07d0daa25645cc93cdd352b94",
"name": "mtusi2026lab6-collector-1",
"hostname": "287df894d94d",
"service": "collector",
"running": true,
"started_at": "2026-10-29T18:46:58.4710042Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"4317/tcp": null,
"4318/tcp": null,
"55678/tcp": null,
"55679/tcp": null
}
},
{
"id": "958a8746045d9329fd5482352bc40ac2b415a1dcee44a6fbe9f83db6014e0d5b",
"name": "mtusi2026lab6-db-1",
"hostname": "958a8746045d",
"service": "db",
"running": true,
"started_at": "2026-10-29T18:46:38.898566793Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {
"5432/tcp": null
}
},
{
"id": "b90d156addc4be40253d42dfcfc89e79f538fc5746fd54f2e08b79506a32d349",
"name": "mtusi2026lab6-dispatcher-1",
"hostname": "b90d156addc4",
"service": "dispatcher",
"running": true,
"started_at": "2026-10-29T18:48:05.392696544Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "70efe4a6c26b77b68e40d53f337cf86c3f8b29a63317da34dcd03a714fafa4ad",
"name": "mtusi2026lab6-grafana-1",
"hostname": "70efe4a6c26b",
"service": "grafana",
"running": true,
"started_at": "2026-10-29T18:46:58.792254671Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 536870912,
"published_ports": {
"3000/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3006"
}
]
}
},
{
"id": "387bb481536811f17c264814069afd3a507cfb82a1be7a0958073e4297e27b12",
"name": "mtusi2026lab6-lb-1",
"hostname": "387bb4815368",
"service": "lb",
"running": true,
"started_at": "2026-10-29T18:46:59.277812858Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {
"8080/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8086"
}
]
}
},
{
"id": "505595f249be1db0bc114feb1be30fefedc7432b792f34b710bcc60c701c6e3a",
"name": "mtusi2026lab6-loki-1",
"hostname": "505595f249be",
"service": "loki",
"running": true,
"started_at": "2026-10-29T18:46:59.201437679Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 402653184,
"published_ports": {
"3100/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3106"
}
]
}
},
{
"id": "4ce0b8ac6fd8776f6ecb9d3a118f0351042bd00c396428f01d828c71c8adebe6",
"name": "mtusi2026lab6-migrate-1",
"hostname": "4ce0b8ac6fd8",
"service": "migrate",
"running": false,
"started_at": "2026-10-29T18:41:12.371813465Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {}
},
{
"id": "cc243b53ea3b584b815f4db401f5ceb2f4fc417a9f216d9e1ac78c8fcac6c03a",
"name": "mtusi2026lab6-prometheus-1",
"hostname": "cc243b53ea3b",
"service": "prometheus",
"running": true,
"started_at": "2026-10-29T18:46:59.100728882Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"9090/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "9096"
}
]
}
},
{
"id": "824044c8f26cd2d75e88c0e24c6f559ee7a87d918f7542c59c626dc4b9173c18",
"name": "mtusi2026lab6-reconciler-1",
"hostname": "824044c8f26c",
"service": "reconciler",
"running": true,
"started_at": "2026-10-29T18:48:05.566146136Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"8080/tcp": null
}
},
{
"id": "71cb280598144c175634d699c70704b26d29cd3f87495fc57cb3823508204719",
"name": "mtusi2026lab6-s3-1",
"hostname": "71cb28059814",
"service": "s3",
"running": true,
"started_at": "2026-10-29T18:46:38.896181674Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 536870912,
"published_ports": {}
},
{
"id": "ba7d30c0238219f5934d97e2e950a257c6b6161987dc64fd80c68fb514400e51",
"name": "mtusi2026lab6-s3-bootstrap-1",
"hostname": "ba7d30c02382",
"service": "s3-bootstrap",
"running": false,
"started_at": "2026-10-29T18:41:10.002175496Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 134217728,
"published_ports": {}
},
{
"id": "7225c0225f542d177df36ae3312074c69f7b46de442bec54f84d2ecbb7d06a4c",
"name": "mtusi2026lab6-tempo-1",
"hostname": "7225c0225f54",
"service": "tempo",
"running": true,
"started_at": "2026-10-29T18:46:58.797514406Z",
"restart_count": 0,
"cpu_limit": 0.5,
"memory_limit_bytes": 268435456,
"published_ports": {
"3200/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3206"
}
]
}
},
{
"id": "8413f83c9a5ec97b1f1b8922d7b0ac7e8dd268ce26487c7b4bf5b807dbf3027d",
"name": "mtusi2026lab6-worker-1",
"hostname": "8413f83c9a5e",
"service": "worker",
"running": true,
"started_at": "2026-10-29T18:48:05.324820362Z",
"restart_count": 0,
"cpu_limit": 1.0,
"memory_limit_bytes": 805306368,
"published_ports": {
"8080/tcp": null
}
}
]
}
+24
View File
@@ -0,0 +1,24 @@
[
"app_http_duration_seconds_bucket",
"app_http_duration_seconds_count",
"app_http_duration_seconds_sum",
"app_http_requests_total",
"attachment_ready_seconds_bucket",
"attachment_ready_seconds_count",
"attachment_ready_seconds_sum",
"db_pool_used",
"db_pool_waiting",
"job_duration_seconds_bucket",
"job_duration_seconds_count",
"job_duration_seconds_sum",
"jobs_processed_total",
"process_cpu_seconds",
"process_memory_bytes",
"queue_depth",
"queue_oldest_age_seconds",
"queue_probe_ok_ratio",
"ready_deadline_jobs_total",
"ready_deadline_missed_total",
"worker_busy",
"worker_capacity"
]
+36
View File
@@ -0,0 +1,36 @@
{
"status": "PASS",
"checks": {
"experiment_completed": true,
"two_repetitions": true,
"short_spikes_do_not_page": true,
"1_QueueLagGrowing_firing_and_resolved": true,
"1_ReadyErrorBudgetBurn_firing_and_resolved": true,
"1_APIHighErrorRate_firing_and_resolved": true,
"1_APIErrorBudgetBurnFast_firing_and_resolved": true,
"1_APIErrorBudgetBurnSlow_firing_and_resolved": true,
"1_upload_producer_consumer_db_s3_chain": true,
"1_api_and_worker_logs": true,
"1_correlated_http_worker_logs": true,
"1_db_error_trace": true,
"2_QueueLagGrowing_firing_and_resolved": true,
"2_ReadyErrorBudgetBurn_firing_and_resolved": true,
"2_APIHighErrorRate_firing_and_resolved": true,
"2_APIErrorBudgetBurnFast_firing_and_resolved": true,
"2_APIErrorBudgetBurnSlow_firing_and_resolved": true,
"2_upload_producer_consumer_db_s3_chain": true,
"2_api_and_worker_logs": true,
"2_correlated_http_worker_logs": true,
"2_db_error_trace": true,
"verified_retry_job_ready": true,
"real_retry_in_same_trace": true,
"baseline_and_backend_messages_succeed": true,
"backend_failed_exports_observed": true,
"backend_resource_samples": true,
"collector_memory_below_256_MiB": true,
"all_signal_metrics_exist": true,
"no_forbidden_metric_labels": true,
"dashboard_has_real_queries": true,
"grafana_healthy": true
}
}
+33
View File
@@ -0,0 +1,33 @@
{
"experiment_completed": true,
"two_repetitions": true,
"short_spikes_do_not_page": true,
"1_QueueLagGrowing_firing_and_resolved": true,
"1_ReadyErrorBudgetBurn_firing_and_resolved": true,
"1_APIHighErrorRate_firing_and_resolved": true,
"1_APIErrorBudgetBurnFast_firing_and_resolved": true,
"1_APIErrorBudgetBurnSlow_firing_and_resolved": true,
"1_upload_producer_consumer_db_s3_chain": true,
"1_api_and_worker_logs": true,
"1_correlated_http_worker_logs": true,
"1_db_error_trace": true,
"2_QueueLagGrowing_firing_and_resolved": true,
"2_ReadyErrorBudgetBurn_firing_and_resolved": true,
"2_APIHighErrorRate_firing_and_resolved": true,
"2_APIErrorBudgetBurnFast_firing_and_resolved": true,
"2_APIErrorBudgetBurnSlow_firing_and_resolved": true,
"2_upload_producer_consumer_db_s3_chain": true,
"2_api_and_worker_logs": true,
"2_correlated_http_worker_logs": true,
"2_db_error_trace": true,
"verified_retry_job_ready": true,
"real_retry_in_same_trace": true,
"baseline_and_backend_messages_succeed": true,
"backend_failed_exports_observed": true,
"backend_resource_samples": true,
"collector_memory_below_256_MiB": true,
"all_signal_metrics_exist": true,
"no_forbidden_metric_labels": true,
"dashboard_has_real_queries": true,
"grafana_healthy": true
}
+3
View File
@@ -0,0 +1,3 @@
.venv/bin/python tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://localhost:8086"
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
+3
View File
@@ -0,0 +1,3 @@
.venv/bin/python tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://localhost:8086"
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
+56
View File
@@ -0,0 +1,56 @@
{
"db": {
"before": "2026-10-29T18:41:06.686214682Z",
"after": "2026-10-29T18:46:38.898566793Z",
"restarted": true,
"same_container": true
},
"cache": {
"before": "2026-10-29T18:41:06.497289544Z",
"after": "2026-10-29T18:46:38.894840668Z",
"restarted": true,
"same_container": true
},
"s3": {
"before": "2026-10-29T18:41:06.850285295Z",
"after": "2026-10-29T18:46:38.896181674Z",
"restarted": true,
"same_container": true
},
"broker": {
"before": "2026-10-29T18:41:06.856618532Z",
"after": "2026-10-29T18:46:38.894695634Z",
"restarted": true,
"same_container": true
},
"collector": {
"before": "2026-10-29T18:42:53.740946588Z",
"after": "2026-10-29T18:46:58.4710042Z",
"restarted": true,
"same_container": true
},
"prometheus": {
"before": "2026-10-29T18:41:07.709646816Z",
"after": "2026-10-29T18:46:59.100728882Z",
"restarted": true,
"same_container": true
},
"loki": {
"before": "2026-10-29T18:41:07.090189589Z",
"after": "2026-10-29T18:46:59.201437679Z",
"restarted": true,
"same_container": true
},
"tempo": {
"before": "2026-10-29T18:41:07.714699752Z",
"after": "2026-10-29T18:46:58.797514406Z",
"restarted": true,
"same_container": true
},
"grafana": {
"before": "2026-10-29T18:45:21.178828346Z",
"after": "2026-10-29T18:46:58.792254671Z",
"restarted": true,
"same_container": true
}
}
+1
View File
@@ -0,0 +1 @@
Saved slo_timeline.png/.svg and successful_latency.png from real evidence
+59
View File
@@ -0,0 +1,59 @@
#0 building with "default" instance using docker driver
#1 [api internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.04kB done
#1 DONE 0.0s
#2 [api internal] load metadata for docker.io/library/python:3.12.10-slim-bookworm
#2 DONE 1.4s
#3 [api internal] load .dockerignore
#3 transferring context: 206B done
#3 DONE 0.0s
#4 [api 1/12] FROM docker.io/library/python:3.12.10-slim-bookworm@sha256:fd95fa221297a88e1cf49c55ec1828edd7c5a428187e67b5d1805692d11588db
#4 DONE 0.0s
#5 [api internal] load build context
#5 transferring context: 21.62kB 0.0s done
#5 DONE 0.0s
#6 [api 2/12] WORKDIR /app
#6 CACHED
#7 [api 3/12] COPY requirements.txt .
#7 CACHED
#8 [api 4/12] RUN pip install --no-cache-dir --requirement requirements.txt && groupadd --system --gid 10001 app && useradd --system --uid 10001 --gid app --home-dir /nonexistent --shell /usr/sbin/nologin app
#8 CACHED
#9 [api 5/12] COPY --chown=app:app src ./src
#9 CACHED
#10 [api 6/12] COPY --chown=app:app migrations ./migrations
#10 CACHED
#11 [api 7/12] COPY --chown=app:app scripts ./scripts
#11 DONE 0.1s
#12 [api 8/12] COPY --chown=app:app student-tests ./student-tests
#12 DONE 0.1s
#13 [api 9/12] COPY --chown=app:app tests ./tests
#13 DONE 0.1s
#14 [api 10/12] COPY --chown=app:app contracts ./contracts
#14 DONE 0.1s
#15 [api 11/12] COPY --chown=app:app lab.json ./lab.json
#15 DONE 0.1s
#16 [api 12/12] RUN mkdir -p evidence && chown app:app evidence
#16 DONE 0.4s
#17 [api] exporting to image
#17 exporting layers
#17 exporting layers 0.2s done
#17 writing image sha256:9c37be85165beee64b8217bc091b8b6708d6d3eae6a5236205f07a2d511325d8 done
#17 naming to docker.io/library/mtusi2026lab6-app:1 0.0s done
#17 DONE 0.2s
+71
View File
@@ -0,0 +1,71 @@
{
"per_container": {
"mtusi2026lab6-lb-1": {
"peak_mib": 21.77,
"peak_cpu_cores": 0.0138
},
"mtusi2026lab6-api-2": {
"peak_mib": 119.8,
"peak_cpu_cores": 0.3169
},
"mtusi2026lab6-worker-1": {
"peak_mib": 84.46,
"peak_cpu_cores": 0.9120999999999999
},
"mtusi2026lab6-reconciler-1": {
"peak_mib": 62.73,
"peak_cpu_cores": 0.0141
},
"mtusi2026lab6-api-1": {
"peak_mib": 136.8,
"peak_cpu_cores": 0.31739999999999996
},
"mtusi2026lab6-dispatcher-1": {
"peak_mib": 46.04,
"peak_cpu_cores": 0.053399999999999996
},
"mtusi2026lab6-grafana-1": {
"peak_mib": 93.23,
"peak_cpu_cores": 0.0322
},
"mtusi2026lab6-broker-1": {
"peak_mib": 15.18,
"peak_cpu_cores": 0.0298
},
"mtusi2026lab6-tempo-1": {
"peak_mib": 255.6,
"peak_cpu_cores": 0.5506
},
"mtusi2026lab6-collector-1": {
"peak_mib": 87.13,
"peak_cpu_cores": 0.0554
},
"mtusi2026lab6-prometheus-1": {
"peak_mib": 43.7,
"peak_cpu_cores": 0.0097
},
"mtusi2026lab6-db-1": {
"peak_mib": 115.7,
"peak_cpu_cores": 0.09480000000000001
},
"mtusi2026lab6-cache-1": {
"peak_mib": 10.61,
"peak_cpu_cores": 0.032799999999999996
},
"mtusi2026lab6-s3-1": {
"peak_mib": 455.2,
"peak_cpu_cores": 0.1509
},
"mtusi2026lab6-loki-1": {
"peak_mib": 148.2,
"peak_cpu_cores": 0.1592
},
"--": {
"peak_mib": 0,
"peak_cpu_cores": 0
}
},
"peak_total_ram_mib": 1533.2410000000002,
"peak_total_cpu_cores": 1.8405999999999998,
"min_windows_c_free_gib": 5.501575469970703
}
+808
View File
@@ -0,0 +1,808 @@
grafana Pulling
8f84a9f2102e Pulling fs layer
814f1e161275 Pulling fs layer
02d05d170da9 Pulling fs layer
4f4fb700ef54 Pulling fs layer
405f99327e2f Pulling fs layer
08aa708a94db Pulling fs layer
f0d451bc739e Pulling fs layer
20aa554e2ae2 Pulling fs layer
459ee85658c6 Pulling fs layer
babadc1b811e Pulling fs layer
405f99327e2f Waiting
08aa708a94db Waiting
f0d451bc739e Waiting
20aa554e2ae2 Waiting
459ee85658c6 Waiting
babadc1b811e Waiting
4f4fb700ef54 Waiting
8f84a9f2102e Downloading [> ] 310.6kB/30.44MB
814f1e161275 Downloading [==================================================>] 140B/140B
814f1e161275 Verifying Checksum
814f1e161275 Download complete
8f84a9f2102e Downloading [======> ] 3.735MB/30.44MB
02d05d170da9 Downloading [> ] 49.15kB/4.172MB
8f84a9f2102e Downloading [==========> ] 6.537MB/30.44MB
02d05d170da9 Downloading [=> ] 146.1kB/4.172MB
8f84a9f2102e Downloading [==================> ] 11.52MB/30.44MB
8f84a9f2102e Downloading [=========================> ] 15.56MB/30.44MB
02d05d170da9 Downloading [====> ] 342.7kB/4.172MB
8f84a9f2102e Downloading [================================> ] 19.92MB/30.44MB
8f84a9f2102e Downloading [=====================================> ] 22.72MB/30.44MB
02d05d170da9 Downloading [====> ] 391.9kB/4.172MB
8f84a9f2102e Verifying Checksum
8f84a9f2102e Download complete
8f84a9f2102e Extracting [> ] 327.7kB/30.44MB
02d05d170da9 Downloading [===========> ] 975.3kB/4.172MB
8f84a9f2102e Extracting [=========> ] 5.571MB/30.44MB
4f4fb700ef54 Downloading [==================================================>] 32B/32B
4f4fb700ef54 Verifying Checksum
4f4fb700ef54 Download complete
8f84a9f2102e Extracting [=============> ] 8.52MB/30.44MB
02d05d170da9 Downloading [==============> ] 1.172MB/4.172MB
8f84a9f2102e Extracting [===================> ] 11.8MB/30.44MB
02d05d170da9 Downloading [==================> ] 1.516MB/4.172MB
8f84a9f2102e Extracting [===============================> ] 19.33MB/30.44MB
02d05d170da9 Downloading [====================> ] 1.713MB/4.172MB
8f84a9f2102e Extracting [==========================================> ] 25.89MB/30.44MB
02d05d170da9 Downloading [======================> ] 1.909MB/4.172MB
8f84a9f2102e Extracting [===========================================> ] 26.54MB/30.44MB
02d05d170da9 Downloading [=========================> ] 2.106MB/4.172MB
8f84a9f2102e Extracting [===============================================> ] 28.84MB/30.44MB
02d05d170da9 Downloading [===========================> ] 2.305MB/4.172MB
02d05d170da9 Downloading [=============================> ] 2.495MB/4.172MB
8f84a9f2102e Extracting [=================================================> ] 30.15MB/30.44MB
02d05d170da9 Downloading [================================> ] 2.692MB/4.172MB
8f84a9f2102e Extracting [==================================================>] 30.44MB/30.44MB
8f84a9f2102e Pull complete
814f1e161275 Extracting [==================================================>] 140B/140B
814f1e161275 Extracting [==================================================>] 140B/140B
814f1e161275 Pull complete
02d05d170da9 Downloading [===================================> ] 2.931MB/4.172MB
02d05d170da9 Downloading [======================================> ] 3.215MB/4.172MB
02d05d170da9 Downloading [=========================================> ] 3.457MB/4.172MB
02d05d170da9 Downloading [===========================================> ] 3.655MB/4.172MB
02d05d170da9 Downloading [==============================================> ] 3.899MB/4.172MB
02d05d170da9 Downloading [=================================================> ] 4.099MB/4.172MB
02d05d170da9 Download complete
02d05d170da9 Extracting [> ] 65.54kB/4.172MB
02d05d170da9 Extracting [=================================> ] 2.818MB/4.172MB
02d05d170da9 Extracting [=====================================> ] 3.146MB/4.172MB
02d05d170da9 Extracting [========================================> ] 3.342MB/4.172MB
405f99327e2f Downloading [===> ] 3.501kB/54.67kB
405f99327e2f Downloading [==================================================>] 54.67kB/54.67kB
405f99327e2f Verifying Checksum
405f99327e2f Download complete
08aa708a94db Downloading [=============================> ] 16.38kB/27.89kB
08aa708a94db Downloading [==================================================>] 27.89kB/27.89kB
08aa708a94db Verifying Checksum
08aa708a94db Download complete
02d05d170da9 Extracting [==========================================> ] 3.539MB/4.172MB
02d05d170da9 Extracting [==================================================>] 4.172MB/4.172MB
02d05d170da9 Extracting [==================================================>] 4.172MB/4.172MB
02d05d170da9 Pull complete
4f4fb700ef54 Extracting [==================================================>] 32B/32B
4f4fb700ef54 Extracting [==================================================>] 32B/32B
4f4fb700ef54 Pull complete
405f99327e2f Extracting [=============================> ] 32.77kB/54.67kB
405f99327e2f Extracting [==================================================>] 54.67kB/54.67kB
405f99327e2f Pull complete
08aa708a94db Extracting [==================================================>] 27.89kB/27.89kB
08aa708a94db Extracting [==================================================>] 27.89kB/27.89kB
08aa708a94db Pull complete
f0d451bc739e Downloading [> ] 538.9kB/101.6MB
f0d451bc739e Downloading [> ] 1.073MB/101.6MB
459ee85658c6 Downloading [==============> ] 3.501kB/11.93kB
459ee85658c6 Downloading [==================================================>] 11.93kB/11.93kB
459ee85658c6 Verifying Checksum
459ee85658c6 Download complete
f0d451bc739e Downloading [> ] 1.614MB/101.6MB
f0d451bc739e Downloading [=> ] 2.139MB/101.6MB
f0d451bc739e Downloading [=> ] 2.673MB/101.6MB
f0d451bc739e Downloading [=> ] 3.203MB/101.6MB
f0d451bc739e Downloading [=> ] 3.734MB/101.6MB
f0d451bc739e Downloading [==> ] 4.262MB/101.6MB
f0d451bc739e Downloading [==> ] 4.79MB/101.6MB
f0d451bc739e Downloading [==> ] 5.328MB/101.6MB
f0d451bc739e Downloading [==> ] 5.857MB/101.6MB
f0d451bc739e Downloading [===> ] 6.385MB/101.6MB
f0d451bc739e Downloading [===> ] 6.913MB/101.6MB
f0d451bc739e Downloading [===> ] 7.441MB/101.6MB
f0d451bc739e Downloading [===> ] 7.969MB/101.6MB
f0d451bc739e Downloading [====> ] 8.498MB/101.6MB
f0d451bc739e Downloading [====> ] 9.039MB/101.6MB
f0d451bc739e Downloading [====> ] 10.12MB/101.6MB
f0d451bc739e Downloading [=====> ] 11.18MB/101.6MB
f0d451bc739e Downloading [======> ] 12.23MB/101.6MB
babadc1b811e Downloading [==================================================>] 1.228kB/1.228kB
babadc1b811e Verifying Checksum
babadc1b811e Download complete
f0d451bc739e Downloading [======> ] 13.29MB/101.6MB
f0d451bc739e Downloading [=======> ] 14.35MB/101.6MB
f0d451bc739e Downloading [=======> ] 15.41MB/101.6MB
f0d451bc739e Downloading [========> ] 16.46MB/101.6MB
f0d451bc739e Downloading [========> ] 17.52MB/101.6MB
f0d451bc739e Downloading [=========> ] 18.58MB/101.6MB
f0d451bc739e Downloading [=========> ] 19.64MB/101.6MB
f0d451bc739e Downloading [==========> ] 20.7MB/101.6MB
f0d451bc739e Downloading [==========> ] 21.76MB/101.6MB
f0d451bc739e Downloading [===========> ] 23.34MB/101.6MB
f0d451bc739e Downloading [============> ] 24.94MB/101.6MB
f0d451bc739e Downloading [=============> ] 26.54MB/101.6MB
f0d451bc739e Downloading [=============> ] 28.13MB/101.6MB
20aa554e2ae2 Downloading [> ] 529.9kB/63.48MB
f0d451bc739e Downloading [==============> ] 29.18MB/101.6MB
f0d451bc739e Downloading [==============> ] 30.24MB/101.6MB
20aa554e2ae2 Downloading [=> ] 1.61MB/63.48MB
20aa554e2ae2 Downloading [==> ] 2.688MB/63.48MB
f0d451bc739e Downloading [===============> ] 31.3MB/101.6MB
20aa554e2ae2 Downloading [==> ] 3.763MB/63.48MB
f0d451bc739e Downloading [===============> ] 31.84MB/101.6MB
20aa554e2ae2 Downloading [===> ] 4.825MB/63.48MB
f0d451bc739e Downloading [================> ] 32.91MB/101.6MB
20aa554e2ae2 Downloading [====> ] 5.353MB/63.48MB
f0d451bc739e Downloading [================> ] 34.49MB/101.6MB
f0d451bc739e Downloading [=================> ] 35.55MB/101.6MB
20aa554e2ae2 Downloading [=====> ] 6.939MB/63.48MB
20aa554e2ae2 Downloading [======> ] 7.994MB/63.48MB
f0d451bc739e Downloading [==================> ] 36.6MB/101.6MB
f0d451bc739e Downloading [==================> ] 37.67MB/101.6MB
20aa554e2ae2 Downloading [=======> ] 9.049MB/63.48MB
f0d451bc739e Downloading [===================> ] 38.73MB/101.6MB
20aa554e2ae2 Downloading [=======> ] 10.1MB/63.48MB
f0d451bc739e Downloading [====================> ] 40.85MB/101.6MB
20aa554e2ae2 Downloading [========> ] 10.64MB/63.48MB
20aa554e2ae2 Downloading [=========> ] 11.72MB/63.48MB
f0d451bc739e Downloading [====================> ] 42.44MB/101.6MB
20aa554e2ae2 Downloading [==========> ] 12.79MB/63.48MB
f0d451bc739e Downloading [=====================> ] 44.02MB/101.6MB
20aa554e2ae2 Downloading [===========> ] 14.38MB/63.48MB
f0d451bc739e Downloading [======================> ] 45.62MB/101.6MB
20aa554e2ae2 Downloading [============> ] 15.97MB/63.48MB
20aa554e2ae2 Downloading [==============> ] 18.1MB/63.48MB
f0d451bc739e Downloading [=======================> ] 47.22MB/101.6MB
f0d451bc739e Downloading [=======================> ] 47.75MB/101.6MB
20aa554e2ae2 Downloading [===============> ] 19.7MB/63.48MB
20aa554e2ae2 Downloading [================> ] 20.75MB/63.48MB
f0d451bc739e Downloading [========================> ] 49.34MB/101.6MB
f0d451bc739e Downloading [========================> ] 50.41MB/101.6MB
20aa554e2ae2 Downloading [=================> ] 22.35MB/63.48MB
f0d451bc739e Downloading [=========================> ] 51.48MB/101.6MB
20aa554e2ae2 Downloading [==================> ] 23.96MB/63.48MB
f0d451bc739e Downloading [==========================> ] 53.09MB/101.6MB
20aa554e2ae2 Downloading [====================> ] 25.57MB/63.48MB
f0d451bc739e Downloading [===========================> ] 55.2MB/101.6MB
20aa554e2ae2 Downloading [=====================> ] 27.16MB/63.48MB
f0d451bc739e Downloading [============================> ] 57.33MB/101.6MB
20aa554e2ae2 Downloading [======================> ] 28.76MB/63.48MB
20aa554e2ae2 Downloading [========================> ] 30.89MB/63.48MB
f0d451bc739e Downloading [============================> ] 58.92MB/101.6MB
20aa554e2ae2 Downloading [=========================> ] 32.49MB/63.48MB
f0d451bc739e Downloading [==============================> ] 61.58MB/101.6MB
20aa554e2ae2 Downloading [==========================> ] 34.09MB/63.48MB
f0d451bc739e Downloading [===============================> ] 63.7MB/101.6MB
20aa554e2ae2 Downloading [============================> ] 36.75MB/63.48MB
f0d451bc739e Downloading [================================> ] 65.29MB/101.6MB
20aa554e2ae2 Downloading [===============================> ] 39.42MB/63.48MB
f0d451bc739e Downloading [================================> ] 66.9MB/101.6MB
20aa554e2ae2 Downloading [================================> ] 41.04MB/63.48MB
f0d451bc739e Downloading [==================================> ] 69.56MB/101.6MB
20aa554e2ae2 Downloading [=================================> ] 42.11MB/63.48MB
f0d451bc739e Downloading [==================================> ] 70.1MB/101.6MB
20aa554e2ae2 Downloading [===================================> ] 45.29MB/63.48MB
f0d451bc739e Downloading [====================================> ] 73.3MB/101.6MB
20aa554e2ae2 Downloading [=====================================> ] 47.43MB/63.48MB
f0d451bc739e Downloading [=====================================> ] 75.44MB/101.6MB
f0d451bc739e Downloading [======================================> ] 78.11MB/101.6MB
20aa554e2ae2 Downloading [======================================> ] 49.02MB/63.48MB
20aa554e2ae2 Downloading [========================================> ] 51.14MB/63.48MB
f0d451bc739e Downloading [=======================================> ] 80.26MB/101.6MB
20aa554e2ae2 Downloading [==========================================> ] 53.8MB/63.48MB
f0d451bc739e Downloading [========================================> ] 82.39MB/101.6MB
20aa554e2ae2 Downloading [============================================> ] 56.48MB/63.48MB
f0d451bc739e Downloading [=========================================> ] 84.53MB/101.6MB
20aa554e2ae2 Downloading [==============================================> ] 59.14MB/63.48MB
f0d451bc739e Downloading [==========================================> ] 86.67MB/101.6MB
20aa554e2ae2 Downloading [=================================================> ] 62.35MB/63.48MB
20aa554e2ae2 Verifying Checksum
20aa554e2ae2 Download complete
f0d451bc739e Downloading [===========================================> ] 88.8MB/101.6MB
f0d451bc739e Downloading [============================================> ] 90.96MB/101.6MB
f0d451bc739e Downloading [==============================================> ] 94.68MB/101.6MB
f0d451bc739e Downloading [================================================> ] 98.93MB/101.6MB
f0d451bc739e Verifying Checksum
f0d451bc739e Download complete
f0d451bc739e Extracting [> ] 557.1kB/101.6MB
f0d451bc739e Extracting [==> ] 5.014MB/101.6MB
f0d451bc739e Extracting [====> ] 10.03MB/101.6MB
f0d451bc739e Extracting [=======> ] 15.04MB/101.6MB
f0d451bc739e Extracting [========> ] 16.71MB/101.6MB
f0d451bc739e Extracting [==========> ] 22.28MB/101.6MB
f0d451bc739e Extracting [===============> ] 31.2MB/101.6MB
f0d451bc739e Extracting [=================> ] 36.21MB/101.6MB
f0d451bc739e Extracting [=====================> ] 42.89MB/101.6MB
f0d451bc739e Extracting [========================> ] 50.14MB/101.6MB
f0d451bc739e Extracting [===========================> ] 56.82MB/101.6MB
f0d451bc739e Extracting [==============================> ] 61.83MB/101.6MB
f0d451bc739e Extracting [=================================> ] 68.52MB/101.6MB
f0d451bc739e Extracting [====================================> ] 74.09MB/101.6MB
f0d451bc739e Extracting [=======================================> ] 80.22MB/101.6MB
f0d451bc739e Extracting [===========================================> ] 89.13MB/101.6MB
f0d451bc739e Extracting [===============================================> ] 96.37MB/101.6MB
f0d451bc739e Extracting [================================================> ] 98.6MB/101.6MB
f0d451bc739e Extracting [=================================================> ] 100.8MB/101.6MB
f0d451bc739e Extracting [==================================================>] 101.6MB/101.6MB
f0d451bc739e Pull complete
20aa554e2ae2 Extracting [> ] 557.1kB/63.48MB
20aa554e2ae2 Extracting [> ] 1.114MB/63.48MB
20aa554e2ae2 Extracting [=> ] 1.671MB/63.48MB
20aa554e2ae2 Extracting [=> ] 2.228MB/63.48MB
20aa554e2ae2 Extracting [==> ] 2.785MB/63.48MB
20aa554e2ae2 Extracting [===> ] 3.899MB/63.48MB
20aa554e2ae2 Extracting [===> ] 4.456MB/63.48MB
20aa554e2ae2 Extracting [===> ] 5.014MB/63.48MB
20aa554e2ae2 Extracting [======> ] 7.799MB/63.48MB
20aa554e2ae2 Extracting [=======> ] 10.03MB/63.48MB
20aa554e2ae2 Extracting [==========> ] 13.93MB/63.48MB
20aa554e2ae2 Extracting [==============> ] 17.83MB/63.48MB
20aa554e2ae2 Extracting [==============> ] 18.38MB/63.48MB
20aa554e2ae2 Extracting [=================> ] 22.28MB/63.48MB
20aa554e2ae2 Extracting [====================> ] 26.18MB/63.48MB
20aa554e2ae2 Extracting [=======================> ] 29.52MB/63.48MB
20aa554e2ae2 Extracting [==========================> ] 33.42MB/63.48MB
20aa554e2ae2 Extracting [=============================> ] 37.88MB/63.48MB
20aa554e2ae2 Extracting [=================================> ] 42.89MB/63.48MB
20aa554e2ae2 Extracting [=====================================> ] 47.91MB/63.48MB
20aa554e2ae2 Extracting [=======================================> ] 50.69MB/63.48MB
20aa554e2ae2 Extracting [==========================================> ] 54.03MB/63.48MB
20aa554e2ae2 Extracting [===============================================> ] 60.16MB/63.48MB
20aa554e2ae2 Extracting [===============================================> ] 60.72MB/63.48MB
20aa554e2ae2 Extracting [==================================================>] 63.48MB/63.48MB
20aa554e2ae2 Extracting [==================================================>] 63.48MB/63.48MB
20aa554e2ae2 Pull complete
459ee85658c6 Extracting [==================================================>] 11.93kB/11.93kB
459ee85658c6 Extracting [==================================================>] 11.93kB/11.93kB
459ee85658c6 Pull complete
babadc1b811e Extracting [==================================================>] 1.228kB/1.228kB
babadc1b811e Extracting [==================================================>] 1.228kB/1.228kB
babadc1b811e Pull complete
grafana Pulled
Compose now can delegate build to bake for better performances
Just set COMPOSE_BAKE=true
#0 building with "default" instance using docker driver
#1 [s3 internal] load build definition from s3.Dockerfile
#1 transferring dockerfile: 922B done
#1 DONE 0.0s
#2 [migrate internal] load build definition from Dockerfile
#2 transferring dockerfile: 1.07kB done
#2 DONE 0.0s
#3 [migrate internal] load metadata for docker.io/library/python:3.12.10-slim-bookworm
#3 DONE 1.1s
#4 [s3] resolve image config for docker-image://docker.io/docker/dockerfile:1.7.0
#4 DONE 1.2s
#5 [migrate internal] load .dockerignore
#5 transferring context: 206B done
#5 DONE 0.0s
#6 [migrate 1/12] FROM docker.io/library/python:3.12.10-slim-bookworm@sha256:fd95fa221297a88e1cf49c55ec1828edd7c5a428187e67b5d1805692d11588db
#6 DONE 0.0s
#7 [migrate 2/12] WORKDIR /app
#7 CACHED
#8 [s3] docker-image://docker.io/docker/dockerfile:1.7.0@sha256:dbbd5e059e8a07ff7ea6233b213b36aa516b4c53c645f1817a4dd18b83cbea56
#8 CACHED
#9 [migrate internal] load build context
#9 transferring context: 634.59kB 0.0s done
#9 DONE 0.0s
#10 [migrate 3/12] COPY requirements.txt requirements.runtime.lock ./
#10 DONE 0.4s
#11 [migrate 4/12] RUN pip install --no-cache-dir --requirement requirements.runtime.lock && groupadd --system --gid 10001 app && useradd --system --uid 10001 --gid app --home-dir /nonexistent --shell /usr/sbin/nologin app
#11 ...
#3 [s3 internal] load metadata for docker.io/library/python:3.12.10-slim-bookworm
#3 DONE 1.4s
#6 [s3 1/12] FROM docker.io/library/python:3.12.10-slim-bookworm@sha256:fd95fa221297a88e1cf49c55ec1828edd7c5a428187e67b5d1805692d11588db
#6 DONE 0.0s
#12 [s3 internal] load .dockerignore
#12 transferring context: 206B done
#12 DONE 0.0s
#13 [s3 internal] load build context
#13 transferring context: 241B done
#13 DONE 0.0s
#14 [s3 2/3] RUN python - <<'PY'
#14 CACHED
#15 [s3 3/3] COPY infra/minio-entrypoint.sh /entrypoint.sh
#15 CACHED
#16 [s3] exporting to image
#16 exporting layers done
#16 writing image sha256:209c845ec398c713649c4e1e9bc0d0c323a369d2367ef6840f1d8d8de52d983e done
#16 naming to docker.io/library/mtusi2026lab6-minio:2025-04-22 done
#16 DONE 0.0s
#17 [s3] resolving provenance for metadata file
#17 DONE 0.0s
#11 [migrate 4/12] RUN pip install --no-cache-dir --requirement requirements.runtime.lock && groupadd --system --gid 10001 app && useradd --system --uid 10001 --gid app --home-dir /nonexistent --shell /usr/sbin/nologin app
#11 ...
#18 [s3-bootstrap internal] load build definition from s3.Dockerfile
#18 transferring dockerfile: 922B done
#18 DONE 0.0s
#4 [s3-bootstrap] resolve image config for docker-image://docker.io/docker/dockerfile:1.7.0
#4 DONE 1.5s
#11 [migrate 4/12] RUN pip install --no-cache-dir --requirement requirements.runtime.lock && groupadd --system --gid 10001 app && useradd --system --uid 10001 --gid app --home-dir /nonexistent --shell /usr/sbin/nologin app
#11 ...
#8 [s3-bootstrap] docker-image://docker.io/docker/dockerfile:1.7.0@sha256:dbbd5e059e8a07ff7ea6233b213b36aa516b4c53c645f1817a4dd18b83cbea56
#8 CACHED
#3 [s3-bootstrap internal] load metadata for docker.io/library/python:3.12.10-slim-bookworm
#3 DONE 1.7s
#11 [migrate 4/12] RUN pip install --no-cache-dir --requirement requirements.runtime.lock && groupadd --system --gid 10001 app && useradd --system --uid 10001 --gid app --home-dir /nonexistent --shell /usr/sbin/nologin app
#11 ...
#6 [s3-bootstrap 1/12] FROM docker.io/library/python:3.12.10-slim-bookworm@sha256:fd95fa221297a88e1cf49c55ec1828edd7c5a428187e67b5d1805692d11588db
#6 DONE 0.0s
#19 [s3-bootstrap internal] load .dockerignore
#19 transferring context: 206B done
#19 DONE 0.0s
#20 [s3-bootstrap internal] load build context
#20 transferring context: 72B done
#20 DONE 0.0s
#21 [s3-bootstrap 2/3] RUN python - <<'PY'
#21 CACHED
#22 [s3-bootstrap 3/3] COPY infra/minio-entrypoint.sh /entrypoint.sh
#22 CACHED
#23 [s3-bootstrap] exporting to image
#23 exporting layers done
#23 writing image sha256:1281ec19264c88b40efa975036d3b5957c4ed92bb3dff1d25cb8cdf5e679792a done
#23 naming to docker.io/library/mtusi2026lab6-mc:2025-04-16 done
#23 DONE 0.0s
#24 [s3-bootstrap] resolving provenance for metadata file
#24 DONE 0.0s
#11 [migrate 4/12] RUN pip install --no-cache-dir --requirement requirements.runtime.lock && groupadd --system --gid 10001 app && useradd --system --uid 10001 --gid app --home-dir /nonexistent --shell /usr/sbin/nologin app
#11 1.738 Collecting annotated-types==0.8.0 (from -r requirements.runtime.lock (line 1))
#11 1.958 Downloading annotated_types-0.8.0-py3-none-any.whl.metadata (15 kB)
#11 2.040 Collecting anyio==4.15.1 (from -r requirements.runtime.lock (line 2))
#11 2.108 Downloading anyio-4.15.1-py3-none-any.whl.metadata (4.7 kB)
#11 2.191 Collecting argon2-cffi==23.1.0 (from -r requirements.runtime.lock (line 3))
#11 2.269 Downloading argon2_cffi-23.1.0-py3-none-any.whl.metadata (5.2 kB)
#11 2.348 Collecting argon2-cffi-bindings==26.1.0 (from -r requirements.runtime.lock (line 4))
#11 2.419 Downloading argon2_cffi_bindings-26.1.0-cp310-abi3-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.metadata (7.5 kB)
#11 2.862 Collecting boto3==1.40.18 (from -r requirements.runtime.lock (line 5))
#11 2.948 Downloading boto3-1.40.18-py3-none-any.whl.metadata (6.7 kB)
#11 3.224 Collecting botocore==1.40.76 (from -r requirements.runtime.lock (line 6))
#11 3.308 Downloading botocore-1.40.76-py3-none-any.whl.metadata (5.9 kB)
#11 3.398 Collecting certifi==2026.10.23 (from -r requirements.runtime.lock (line 7))
#11 3.477 Downloading certifi-2026.10.23-py3-none-any.whl.metadata (2.5 kB)
#11 3.621 Collecting cffi==2.1.1 (from -r requirements.runtime.lock (line 8))
#11 3.695 Downloading cffi-2.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (2.5 kB)
#11 3.826 Collecting charset-normalizer==3.5.2 (from -r requirements.runtime.lock (line 9))
#11 3.904 Downloading charset_normalizer-3.5.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (46 kB)
#11 3.995 Collecting click==8.5.0 (from -r requirements.runtime.lock (line 10))
#11 4.068 Downloading click-8.5.0-py3-none-any.whl.metadata (2.6 kB)
#11 4.167 Collecting fastapi==0.115.12 (from -r requirements.runtime.lock (line 11))
#11 4.242 Downloading fastapi-0.115.12-py3-none-any.whl.metadata (27 kB)
#11 4.322 Collecting googleapis-common-protos==1.76.0 (from -r requirements.runtime.lock (line 12))
#11 4.410 Downloading googleapis_common_protos-1.76.0-py3-none-any.whl.metadata (8.5 kB)
#11 4.479 Collecting h11==0.16.0 (from -r requirements.runtime.lock (line 13))
#11 4.557 Downloading h11-0.16.0-py3-none-any.whl.metadata (8.3 kB)
#11 4.634 Collecting idna==3.20 (from -r requirements.runtime.lock (line 14))
#11 4.721 Downloading idna-3.20-py3-none-any.whl.metadata (7.2 kB)
#11 4.809 Collecting importlib_metadata==8.7.1 (from -r requirements.runtime.lock (line 15))
#11 4.902 Downloading importlib_metadata-8.7.1-py3-none-any.whl.metadata (4.7 kB)
#11 4.986 Collecting jmespath==1.1.0 (from -r requirements.runtime.lock (line 16))
#11 5.109 Downloading jmespath-1.1.0-py3-none-any.whl.metadata (7.6 kB)
#11 5.188 Collecting opentelemetry-api==1.38.0 (from -r requirements.runtime.lock (line 17))
#11 5.288 Downloading opentelemetry_api-1.38.0-py3-none-any.whl.metadata (1.5 kB)
#11 5.365 Collecting opentelemetry-exporter-otlp-proto-common==1.38.0 (from -r requirements.runtime.lock (line 18))
#11 5.447 Downloading opentelemetry_exporter_otlp_proto_common-1.38.0-py3-none-any.whl.metadata (1.8 kB)
#11 5.524 Collecting opentelemetry-exporter-otlp-proto-http==1.38.0 (from -r requirements.runtime.lock (line 19))
#11 5.619 Downloading opentelemetry_exporter_otlp_proto_http-1.38.0-py3-none-any.whl.metadata (2.3 kB)
#11 5.699 Collecting opentelemetry-proto==1.38.0 (from -r requirements.runtime.lock (line 20))
#11 5.790 Downloading opentelemetry_proto-1.38.0-py3-none-any.whl.metadata (2.3 kB)
#11 5.870 Collecting opentelemetry-sdk==1.38.0 (from -r requirements.runtime.lock (line 21))
#11 5.952 Downloading opentelemetry_sdk-1.38.0-py3-none-any.whl.metadata (1.5 kB)
#11 6.035 Collecting opentelemetry-semantic-conventions==0.59b0 (from -r requirements.runtime.lock (line 22))
#11 6.121 Downloading opentelemetry_semantic_conventions-0.59b0-py3-none-any.whl.metadata (2.4 kB)
#11 6.281 Collecting pillow==12.0.0 (from -r requirements.runtime.lock (line 23))
#11 6.360 Downloading pillow-12.0.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (8.8 kB)
#11 6.539 Collecting protobuf==6.33.6 (from -r requirements.runtime.lock (line 24))
#11 6.613 Downloading protobuf-6.33.6-cp39-abi3-manylinux2014_x86_64.whl.metadata (593 bytes)
#11 6.696 Collecting psycopg==3.2.9 (from -r requirements.runtime.lock (line 25))
#11 6.782 Downloading psycopg-3.2.9-py3-none-any.whl.metadata (4.5 kB)
#11 6.943 Collecting psycopg-binary==3.2.9 (from -r requirements.runtime.lock (line 26))
#11 7.019 Downloading psycopg_binary-3.2.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.9 kB)
#11 7.094 Collecting psycopg-pool==3.3.3 (from -r requirements.runtime.lock (line 27))
#11 7.166 Downloading psycopg_pool-3.3.3-py3-none-any.whl.metadata (2.8 kB)
#11 7.242 Collecting pycparser==3.12 (from -r requirements.runtime.lock (line 28))
#11 7.315 Downloading pycparser-3.12-py3-none-any.whl.metadata (9.7 kB)
#11 7.449 Collecting pydantic==2.11.5 (from -r requirements.runtime.lock (line 29))
#11 7.529 Downloading pydantic-2.11.5-py3-none-any.whl.metadata (67 kB)
#11 8.018 Collecting pydantic_core==2.33.2 (from -r requirements.runtime.lock (line 30))
#11 8.109 Downloading pydantic_core-2.33.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.8 kB)
#11 8.186 Collecting python-dateutil==2.9.0.post0 (from -r requirements.runtime.lock (line 31))
#11 8.264 Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
#11 8.352 Collecting redis==5.2.1 (from -r requirements.runtime.lock (line 32))
#11 8.429 Downloading redis-5.2.1-py3-none-any.whl.metadata (9.1 kB)
#11 8.513 Collecting requests==2.34.2 (from -r requirements.runtime.lock (line 33))
#11 8.597 Downloading requests-2.34.2-py3-none-any.whl.metadata (4.8 kB)
#11 8.702 Collecting s3transfer==0.13.1 (from -r requirements.runtime.lock (line 34))
#11 8.797 Downloading s3transfer-0.13.1-py3-none-any.whl.metadata (1.7 kB)
#11 8.880 Collecting six==1.17.0 (from -r requirements.runtime.lock (line 35))
#11 8.974 Downloading six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
#11 9.069 Collecting starlette==0.46.2 (from -r requirements.runtime.lock (line 36))
#11 9.169 Downloading starlette-0.46.2-py3-none-any.whl.metadata (6.2 kB)
#11 9.251 Collecting typing-inspection==0.4.4 (from -r requirements.runtime.lock (line 37))
#11 9.335 Downloading typing_inspection-0.4.4-py3-none-any.whl.metadata (2.6 kB)
#11 9.417 Collecting typing_extensions==4.16.0 (from -r requirements.runtime.lock (line 38))
#11 9.496 Downloading typing_extensions-4.16.0-py3-none-any.whl.metadata (3.3 kB)
#11 9.575 Collecting urllib3==2.8.0 (from -r requirements.runtime.lock (line 39))
#11 9.664 Downloading urllib3-2.8.0-py3-none-any.whl.metadata (7.4 kB)
#11 9.746 Collecting uvicorn==0.34.2 (from -r requirements.runtime.lock (line 40))
#11 9.834 Downloading uvicorn-0.34.2-py3-none-any.whl.metadata (6.5 kB)
#11 9.909 Collecting zipp==4.1.2 (from -r requirements.runtime.lock (line 41))
#11 9.989 Downloading zipp-4.1.2-py3-none-any.whl.metadata (3.6 kB)
#11 9.153 Downloading annotated_types-0.8.0-py3-none-any.whl (13 kB)
#11 9.237 Downloading anyio-4.15.1-py3-none-any.whl (132 kB)
#11 9.321 Downloading argon2_cffi-23.1.0-py3-none-any.whl (15 kB)
#11 9.395 Downloading argon2_cffi_bindings-26.1.0-cp310-abi3-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (26 kB)
#11 9.502 Downloading boto3-1.40.18-py3-none-any.whl (140 kB)
#11 9.593 Downloading botocore-1.40.76-py3-none-any.whl (14.2 MB)
#11 9.959 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.2/14.2 MB 38.3 MB/s eta 0:00:00
#11 10.04 Downloading certifi-2026.10.23-py3-none-any.whl (135 kB)
#11 10.13 Downloading cffi-2.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (221 kB)
#11 10.23 Downloading charset_normalizer-3.5.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (257 kB)
#11 10.32 Downloading click-8.5.0-py3-none-any.whl (125 kB)
#11 10.41 Downloading fastapi-0.115.12-py3-none-any.whl (95 kB)
#11 10.51 Downloading googleapis_common_protos-1.76.0-py3-none-any.whl (307 kB)
#11 10.61 Downloading h11-0.16.0-py3-none-any.whl (37 kB)
#11 10.69 Downloading idna-3.20-py3-none-any.whl (69 kB)
#11 10.77 Downloading importlib_metadata-8.7.1-py3-none-any.whl (27 kB)
#11 10.86 Downloading jmespath-1.1.0-py3-none-any.whl (20 kB)
#11 10.94 Downloading opentelemetry_api-1.38.0-py3-none-any.whl (65 kB)
#11 11.02 Downloading opentelemetry_exporter_otlp_proto_common-1.38.0-py3-none-any.whl (18 kB)
#11 11.09 Downloading opentelemetry_exporter_otlp_proto_http-1.38.0-py3-none-any.whl (19 kB)
#11 11.17 Downloading opentelemetry_proto-1.38.0-py3-none-any.whl (72 kB)
#11 11.25 Downloading opentelemetry_sdk-1.38.0-py3-none-any.whl (132 kB)
#11 11.34 Downloading opentelemetry_semantic_conventions-0.59b0-py3-none-any.whl (207 kB)
#11 11.57 Downloading pillow-12.0.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (7.0 MB)
#11 11.76 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.0/7.0 MB 37.9 MB/s eta 0:00:00
#11 11.84 Downloading protobuf-6.33.6-cp39-abi3-manylinux2014_x86_64.whl (323 kB)
#11 11.93 Downloading psycopg-3.2.9-py3-none-any.whl (202 kB)
#11 12.05 Downloading psycopg_binary-3.2.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.4 MB)
#11 12.17 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.4/4.4 MB 37.9 MB/s eta 0:00:00
#11 12.25 Downloading psycopg_pool-3.3.3-py3-none-any.whl (40 kB)
#11 12.33 Downloading pycparser-3.12-py3-none-any.whl (62 kB)
#11 12.41 Downloading pydantic-2.11.5-py3-none-any.whl (444 kB)
#11 12.51 Downloading pydantic_core-2.33.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB)
#11 12.57 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 37.1 MB/s eta 0:00:00
#11 12.64 Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
#11 12.73 Downloading redis-5.2.1-py3-none-any.whl (261 kB)
#11 12.82 Downloading requests-2.34.2-py3-none-any.whl (73 kB)
#11 12.91 Downloading s3transfer-0.13.1-py3-none-any.whl (85 kB)
#11 12.99 Downloading six-1.17.0-py2.py3-none-any.whl (11 kB)
#11 13.07 Downloading starlette-0.46.2-py3-none-any.whl (72 kB)
#11 13.23 Downloading typing_inspection-0.4.4-py3-none-any.whl (14 kB)
#11 13.34 Downloading typing_extensions-4.16.0-py3-none-any.whl (45 kB)
#11 13.49 Downloading urllib3-2.8.0-py3-none-any.whl (135 kB)
#11 13.79 Downloading uvicorn-0.34.2-py3-none-any.whl (62 kB)
#11 13.97 Downloading zipp-4.1.2-py3-none-any.whl (10 kB)
#11 14.08 Installing collected packages: zipp, urllib3, typing_extensions, six, redis, pycparser, psycopg-binary, protobuf, pillow, jmespath, idna, h11, click, charset-normalizer, certifi, annotated-types, uvicorn, typing-inspection, requests, python-dateutil, pydantic_core, psycopg-pool, psycopg, opentelemetry-proto, importlib_metadata, googleapis-common-protos, cffi, anyio, starlette, pydantic, opentelemetry-exporter-otlp-proto-common, opentelemetry-api, botocore, argon2-cffi-bindings, s3transfer, opentelemetry-semantic-conventions, fastapi, argon2-cffi, opentelemetry-sdk, boto3, opentelemetry-exporter-otlp-proto-http
#11 16.55 Successfully installed annotated-types-0.8.0 anyio-4.15.1 argon2-cffi-23.1.0 argon2-cffi-bindings-26.1.0 boto3-1.40.18 botocore-1.40.76 certifi-2026.10.23 cffi-2.1.1 charset-normalizer-3.5.2 click-8.5.0 fastapi-0.115.12 googleapis-common-protos-1.76.0 h11-0.16.0 idna-3.20 importlib_metadata-8.7.1 jmespath-1.1.0 opentelemetry-api-1.38.0 opentelemetry-exporter-otlp-proto-common-1.38.0 opentelemetry-exporter-otlp-proto-http-1.38.0 opentelemetry-proto-1.38.0 opentelemetry-sdk-1.38.0 opentelemetry-semantic-conventions-0.59b0 pillow-12.0.0 protobuf-6.33.6 psycopg-3.2.9 psycopg-binary-3.2.9 psycopg-pool-3.3.3 pycparser-3.12 pydantic-2.11.5 pydantic_core-2.33.2 python-dateutil-2.9.0.post0 redis-5.2.1 requests-2.34.2 s3transfer-0.13.1 six-1.17.0 starlette-0.46.2 typing-inspection-0.4.4 typing_extensions-4.16.0 urllib3-2.8.0 uvicorn-0.34.2 zipp-4.1.2
#11 16.55 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
#11 16.86
#11 16.86 [notice] A new release of pip is available: 25.0.1 -> 26.2.2
#11 16.86 [notice] To update, run: pip install --upgrade pip
#11 17.08 useradd warning: app's uid 10001 is greater than SYS_UID_MAX 999
#11 DONE 17.2s
#25 [migrate 5/12] COPY --chown=app:app src ./src
#25 DONE 0.0s
#26 [migrate 6/12] COPY --chown=app:app migrations ./migrations
#26 DONE 0.0s
#27 [migrate 7/12] COPY --chown=app:app scripts ./scripts
#27 DONE 0.0s
#28 [migrate 8/12] COPY --chown=app:app student-tests ./student-tests
#28 DONE 0.0s
#29 [migrate 9/12] COPY --chown=app:app tests ./tests
#29 DONE 0.0s
#30 [migrate 10/12] COPY --chown=app:app contracts ./contracts
#30 DONE 0.0s
#31 [migrate 11/12] COPY --chown=app:app lab.json ./lab.json
#31 DONE 0.0s
#32 [migrate 12/12] RUN mkdir -p evidence && chown app:app evidence
#32 DONE 0.3s
#33 [migrate] exporting to image
#33 exporting layers
#33 exporting layers 0.6s done
#33 writing image sha256:92f02e59d60c0a2f70ad1f20fd419183606794127c72a92b98428cd4b87566d7 done
#33 naming to docker.io/library/mtusi2026lab6-app:1 done
#33 DONE 0.6s
#34 [migrate] resolving provenance for metadata file
#34 DONE 0.0s
#35 [api internal] load build definition from Dockerfile
#35 transferring dockerfile: 1.07kB done
#35 DONE 0.0s
#36 [reconciler internal] load build definition from Dockerfile
#36 transferring dockerfile: 1.07kB done
#36 DONE 0.0s
#37 [dispatcher internal] load build definition from Dockerfile
#37 transferring dockerfile: 1.07kB done
#37 DONE 0.0s
#38 [worker internal] load build definition from Dockerfile
#38 transferring dockerfile: 1.07kB done
#38 DONE 0.0s
#3 [worker internal] load metadata for docker.io/library/python:3.12.10-slim-bookworm
#3 DONE 1.9s
#39 [worker internal] load .dockerignore
#39 transferring context: 206B done
#39 DONE 0.0s
#40 [api internal] load .dockerignore
#40 transferring context: 206B done
#40 DONE 0.0s
#6 [dispatcher 1/12] FROM docker.io/library/python:3.12.10-slim-bookworm@sha256:fd95fa221297a88e1cf49c55ec1828edd7c5a428187e67b5d1805692d11588db
#6 DONE 0.0s
#41 [reconciler internal] load .dockerignore
#41 transferring context: 206B done
#41 DONE 0.1s
#42 [dispatcher internal] load .dockerignore
#42 transferring context: 206B done
#42 DONE 0.1s
#43 [worker internal] load build context
#43 transferring context: 4.52kB done
#43 DONE 0.0s
#44 [api internal] load build context
#44 transferring context: 634.59kB 0.0s done
#44 DONE 0.0s
#45 [worker 10/12] COPY --chown=app:app contracts ./contracts
#45 CACHED
#46 [worker 3/12] COPY requirements.txt requirements.runtime.lock ./
#46 CACHED
#47 [worker 9/12] COPY --chown=app:app tests ./tests
#47 CACHED
#48 [worker 8/12] COPY --chown=app:app student-tests ./student-tests
#48 CACHED
#49 [worker 11/12] COPY --chown=app:app lab.json ./lab.json
#49 CACHED
#50 [worker 6/12] COPY --chown=app:app migrations ./migrations
#50 CACHED
#51 [worker 7/12] COPY --chown=app:app scripts ./scripts
#51 CACHED
#52 [worker 4/12] RUN pip install --no-cache-dir --requirement requirements.runtime.lock && groupadd --system --gid 10001 app && useradd --system --uid 10001 --gid app --home-dir /nonexistent --shell /usr/sbin/nologin app
#52 CACHED
#7 [worker 2/12] WORKDIR /app
#7 CACHED
#53 [worker 5/12] COPY --chown=app:app src ./src
#53 CACHED
#54 [worker 12/12] RUN mkdir -p evidence && chown app:app evidence
#54 CACHED
#55 [worker] exporting to image
#55 exporting layers done
#55 writing image sha256:f06c546434f0039798d02a173654a2d0d093a65b1632a8431bdc466b9106e66d done
#55 naming to docker.io/library/mtusi2026lab6-app:1 done
#55 DONE 0.0s
#54 [dispatcher 12/12] RUN mkdir -p evidence && chown app:app evidence
#54 CACHED
#56 [reconciler internal] load build context
#56 transferring context: 634.59kB 0.0s done
#56 DONE 0.0s
#57 [dispatcher internal] load build context
#57 transferring context: 634.59kB 0.0s done
#57 DONE 0.1s
#58 [api] exporting to image
#58 exporting layers done
#58 writing image sha256:1c07e01bdee71800e63755ae682ee1b5b528cf29a8fe4343e76b267aede38b87 done
#58 naming to docker.io/library/mtusi2026lab6-app:1 done
#58 DONE 0.0s
#59 [reconciler] exporting to image
#59 exporting layers done
#59 writing image sha256:79300e252e0be9b035aad2a4f8157b5e10271e8361efbf2df34bd4fd617adc9b done
#59 naming to docker.io/library/mtusi2026lab6-app:1 done
#59 DONE 0.0s
#60 [dispatcher] exporting to image
#60 exporting layers done
#60 writing image sha256:16dd74a17803c280d7f6978d0c35ab1393d682e45070cac4e7c84c5fd65c3473 done
#60 naming to docker.io/library/mtusi2026lab6-app:1 done
#60 DONE 0.0s
#61 [worker] resolving provenance for metadata file
#61 DONE 0.0s
#62 [reconciler] resolving provenance for metadata file
#62 DONE 0.0s
#63 [api] resolving provenance for metadata file
#63 DONE 0.0s
#64 [dispatcher] resolving provenance for metadata file
#64 DONE 0.0s
api Built
dispatcher Built
migrate Built
reconciler Built
s3 Built
s3-bootstrap Built
worker Built
Network mtusi2026lab6_default Creating
Network mtusi2026lab6_default Created
Volume "mtusi2026lab6_prometheus_data" Creating
Volume "mtusi2026lab6_prometheus_data" Created
Volume "mtusi2026lab6_s3_data" Creating
Volume "mtusi2026lab6_s3_data" Created
Volume "mtusi2026lab6_postgres_data" Creating
Volume "mtusi2026lab6_postgres_data" Created
Volume "mtusi2026lab6_tempo_data" Creating
Volume "mtusi2026lab6_tempo_data" Created
Volume "mtusi2026lab6_loki_data" Creating
Volume "mtusi2026lab6_loki_data" Created
Volume "mtusi2026lab6_redis_data" Creating
Volume "mtusi2026lab6_redis_data" Created
Volume "mtusi2026lab6_grafana_data" Creating
Volume "mtusi2026lab6_grafana_data" Created
Volume "mtusi2026lab6_collector_data" Creating
Volume "mtusi2026lab6_collector_data" Created
Volume "mtusi2026lab6_broker_data" Creating
Volume "mtusi2026lab6_broker_data" Created
Container mtusi2026lab6-tempo-1 Creating
Container mtusi2026lab6-prometheus-1 Creating
Container mtusi2026lab6-s3-1 Creating
Container mtusi2026lab6-db-1 Creating
Container mtusi2026lab6-broker-1 Creating
Container mtusi2026lab6-collector-1 Creating
Container mtusi2026lab6-loki-1 Creating
Container mtusi2026lab6-cache-1 Creating
Container mtusi2026lab6-grafana-1 Creating
Container mtusi2026lab6-s3-1 Created
Container mtusi2026lab6-prometheus-1 Created
Container mtusi2026lab6-broker-1 Created
Container mtusi2026lab6-s3-bootstrap-1 Creating
Container mtusi2026lab6-cache-1 Created
Container mtusi2026lab6-collector-1 Created
Container mtusi2026lab6-tempo-1 Created
Container mtusi2026lab6-grafana-1 Created
Container mtusi2026lab6-loki-1 Created
Container mtusi2026lab6-db-1 Created
Container mtusi2026lab6-migrate-1 Creating
Container mtusi2026lab6-s3-bootstrap-1 Created
Container mtusi2026lab6-migrate-1 Created
Container mtusi2026lab6-reconciler-1 Creating
Container mtusi2026lab6-api-2 Creating
Container mtusi2026lab6-worker-1 Creating
Container mtusi2026lab6-dispatcher-1 Creating
Container mtusi2026lab6-api-1 Creating
Container mtusi2026lab6-worker-1 Created
Container mtusi2026lab6-dispatcher-1 Created
Container mtusi2026lab6-api-1 Created
Container mtusi2026lab6-api-2 Created
Container mtusi2026lab6-lb-1 Creating
Container mtusi2026lab6-reconciler-1 Created
Container mtusi2026lab6-lb-1 Created
Container mtusi2026lab6-broker-1 Starting
Container mtusi2026lab6-prometheus-1 Starting
Container mtusi2026lab6-cache-1 Starting
Container mtusi2026lab6-s3-1 Starting
Container mtusi2026lab6-grafana-1 Starting
Container mtusi2026lab6-collector-1 Starting
Container mtusi2026lab6-db-1 Starting
Container mtusi2026lab6-tempo-1 Starting
Container mtusi2026lab6-loki-1 Starting
Container mtusi2026lab6-collector-1 Started
Container mtusi2026lab6-tempo-1 Started
Container mtusi2026lab6-prometheus-1 Started
Container mtusi2026lab6-broker-1 Started
Container mtusi2026lab6-loki-1 Started
Container mtusi2026lab6-cache-1 Started
Container mtusi2026lab6-grafana-1 Started
Container mtusi2026lab6-s3-1 Started
Container mtusi2026lab6-s3-1 Waiting
Container mtusi2026lab6-db-1 Started
Container mtusi2026lab6-db-1 Waiting
Container mtusi2026lab6-s3-1 Healthy
Container mtusi2026lab6-s3-bootstrap-1 Starting
Container mtusi2026lab6-db-1 Healthy
Container mtusi2026lab6-migrate-1 Starting
Container mtusi2026lab6-s3-bootstrap-1 Started
Container mtusi2026lab6-migrate-1 Started
Container mtusi2026lab6-broker-1 Waiting
Container mtusi2026lab6-migrate-1 Waiting
Container mtusi2026lab6-s3-bootstrap-1 Waiting
Container mtusi2026lab6-broker-1 Waiting
Container mtusi2026lab6-migrate-1 Waiting
Container mtusi2026lab6-s3-bootstrap-1 Waiting
Container mtusi2026lab6-s3-bootstrap-1 Waiting
Container mtusi2026lab6-migrate-1 Waiting
Container mtusi2026lab6-migrate-1 Waiting
Container mtusi2026lab6-cache-1 Waiting
Container mtusi2026lab6-s3-bootstrap-1 Waiting
Container mtusi2026lab6-cache-1 Healthy
Container mtusi2026lab6-broker-1 Healthy
Container mtusi2026lab6-broker-1 Healthy
Container mtusi2026lab6-migrate-1 Exited
Container mtusi2026lab6-migrate-1 Exited
Container mtusi2026lab6-migrate-1 Exited
Container mtusi2026lab6-migrate-1 Exited
Container mtusi2026lab6-s3-bootstrap-1 Exited
Container mtusi2026lab6-api-2 Starting
Container mtusi2026lab6-s3-bootstrap-1 Exited
Container mtusi2026lab6-reconciler-1 Starting
Container mtusi2026lab6-s3-bootstrap-1 Exited
Container mtusi2026lab6-dispatcher-1 Starting
Container mtusi2026lab6-s3-bootstrap-1 Exited
Container mtusi2026lab6-worker-1 Starting
Container mtusi2026lab6-reconciler-1 Started
Container mtusi2026lab6-dispatcher-1 Started
Container mtusi2026lab6-worker-1 Started
Container mtusi2026lab6-api-2 Started
Container mtusi2026lab6-api-1 Starting
Container mtusi2026lab6-api-1 Started
Container mtusi2026lab6-api-2 Waiting
Container mtusi2026lab6-api-1 Waiting
Container mtusi2026lab6-api-2 Healthy
Container mtusi2026lab6-api-1 Healthy
Container mtusi2026lab6-lb-1 Starting
Container mtusi2026lab6-lb-1 Started
+4
View File
@@ -0,0 +1,4 @@
.venv/bin/python scripts/stack.py wait --count 2
API ready: 3201e68e8041:cb2352c1, c099415dc693:1548b60f
.venv/bin/python tests/smoke.py --base-url "http://localhost:8086"
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
+1
View File
@@ -0,0 +1 @@
PASS: S3 truly stopped; durable retry event; same upload ready after >=2 attempts
+48
View File
@@ -0,0 +1,48 @@
{
"status": "PASS",
"before": [
{
"id": "e50f9ecae24deec5826872f1d4547fa7c6b5f471e92b85dba558d67e44fa3785",
"name": "/mtusi2026lab6-s3-1",
"running": true
},
{
"id": "9614aa4c34ef1c49c92f200dd45a6c345f929d0f448588770299f9d10ce90e79",
"name": "/mtusi2026lab6-worker-1",
"running": true
}
],
"snapshots": [
{
"time": 1793302479.9096494,
"status": "queued",
"attempts": 0,
"retry_events": 0
},
{
"time": 1793302480.8871036,
"status": "processing",
"attempts": 1,
"retry_events": 0
},
{
"time": 1793302481.9057717,
"status": "queued",
"attempts": 1,
"retry_events": 1
}
],
"upload": {
"id": "940f055d-03b4-4d5b-b4ed-0e264e580b9e",
"trace_id": "7dacaf5f9fe9507a2c5db9959b87b0d9",
"accepted_at": 1793302478.6703985,
"phase": "verified_retry",
"ready_at": 1793302486.5934691,
"elapsed_to_observed_ready": 7.923070669174194
},
"final_job": {
"status": "ready",
"attempts": 3,
"retry_events": 2
}
}
+1
View File
@@ -0,0 +1 @@
No broken requirements found.
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+229
View File
@@ -0,0 +1,229 @@
[
{
"time": 1793301377.059456,
"monotonic": 507.431437117,
"name": "phase_started",
"phase": "baseline",
"duration": 120
},
{
"time": 1793301493.511392,
"monotonic": 627.983235643,
"name": "db_lock_requested",
"phase": "1_short_spike",
"seconds": 5
},
{
"time": 1793301493.6601844,
"monotonic": 629.433581357,
"name": "db_lock_acquired",
"phase": "1_short_spike"
},
{
"time": 1793301498.1694515,
"monotonic": 633.942849163,
"name": "db_lock_released",
"phase": "1_short_spike"
},
{
"time": 1793301498.1698115,
"monotonic": 633.943208296,
"name": "phase_started",
"phase": "1_short_recovery",
"duration": 70
},
{
"time": 1793301571.5802257,
"monotonic": 710.011567087,
"name": "worker_stopped",
"phase": "1_worker_stopped"
},
{
"time": 1793301571.6840105,
"monotonic": 710.11535188,
"name": "phase_started",
"phase": "1_worker_stopped",
"duration": 40
},
{
"time": 1793301616.5838852,
"monotonic": 756.301199797,
"name": "worker_started_s3_down",
"phase": "1_worker_stopped"
},
{
"time": 1793301616.5842361,
"monotonic": 756.301550124,
"name": "phase_started",
"phase": "1_s3_retry",
"duration": 6
},
{
"time": 1793301621.9288232,
"monotonic": 762.940587486,
"name": "s3_restored",
"phase": "1_s3_retry"
},
{
"time": 1793301621.9922202,
"monotonic": 763.003984071,
"name": "worker_queue_drained",
"phase": "1_worker_recovery"
},
{
"time": 1793301621.9926095,
"monotonic": 763.004373704,
"name": "phase_started",
"phase": "1_worker_recovery",
"duration": 50
},
{
"time": 1793301677.5863068,
"monotonic": 819.862074318,
"name": "db_lock_requested",
"phase": "1_db_degraded",
"seconds": 65
},
{
"time": 1793301678.8068948,
"monotonic": 821.082661821,
"name": "db_lock_acquired",
"phase": "1_db_degraded"
},
{
"time": 1793301743.4448485,
"monotonic": 889.730136104,
"name": "db_lock_released",
"phase": "1_db_degraded"
},
{
"time": 1793301743.4453123,
"monotonic": 889.730599103,
"name": "phase_started",
"phase": "1_db_recovery",
"duration": 85
},
{
"time": 1793301828.4808974,
"monotonic": 977.552559293,
"name": "db_lock_requested",
"phase": "2_short_spike",
"seconds": 5
},
{
"time": 1793301829.681194,
"monotonic": 978.752855475,
"name": "db_lock_acquired",
"phase": "2_short_spike"
},
{
"time": 1793301834.31821,
"monotonic": 984.763539641,
"name": "db_lock_released",
"phase": "2_short_spike"
},
{
"time": 1793301834.3187037,
"monotonic": 984.764032661,
"name": "phase_started",
"phase": "2_short_recovery",
"duration": 70
},
{
"time": 1793301907.643404,
"monotonic": 1060.799665636,
"name": "worker_stopped",
"phase": "2_worker_stopped"
},
{
"time": 1793301907.7367895,
"monotonic": 1060.893050926,
"name": "phase_started",
"phase": "2_worker_stopped",
"duration": 40
},
{
"time": 1793301952.7704153,
"monotonic": 1107.268193499,
"name": "worker_started_s3_down",
"phase": "2_worker_stopped"
},
{
"time": 1793301952.7707746,
"monotonic": 1107.268552442,
"name": "phase_started",
"phase": "2_s3_retry",
"duration": 6
},
{
"time": 1793301957.7511244,
"monotonic": 1113.917405427,
"name": "s3_restored",
"phase": "2_s3_retry"
},
{
"time": 1793301957.8137043,
"monotonic": 1113.979984753,
"name": "worker_queue_drained",
"phase": "2_worker_recovery"
},
{
"time": 1793301957.8141387,
"monotonic": 1113.980419676,
"name": "phase_started",
"phase": "2_worker_recovery",
"duration": 50
},
{
"time": 1793302091.7271955,
"monotonic": 1253.949772839,
"name": "db_lock_requested",
"phase": "2_db_degraded",
"seconds": 65
},
{
"time": 1793302092.946901,
"monotonic": 1255.169478166,
"name": "db_lock_acquired",
"phase": "2_db_degraded"
},
{
"time": 1793302157.9514034,
"monotonic": 1323.316367872,
"name": "db_lock_released",
"phase": "2_db_degraded"
},
{
"time": 1793302157.9518974,
"monotonic": 1323.316861326,
"name": "phase_started",
"phase": "2_db_recovery",
"duration": 85
},
{
"time": 1793302341.0865552,
"monotonic": 1516.024922501,
"name": "tempo_stopped",
"phase": "backend_down"
},
{
"time": 1793302341.638421,
"monotonic": 1516.576788208,
"name": "phase_started",
"phase": "backend_down",
"duration": 35
},
{
"time": 1793302375.9867227,
"monotonic": 1552.463093587,
"name": "tempo_started",
"phase": "backend_down"
},
{
"time": 1793302375.987152,
"monotonic": 1552.463523107,
"name": "phase_started",
"phase": "backend_recovery",
"duration": 25
}
]
+35
View File
@@ -0,0 +1,35 @@
{"time": 1793301377.059456, "monotonic": 507.431437117, "name": "phase_started", "phase": "baseline", "duration": 120}
{"time": 1793301493.511392, "monotonic": 627.983235643, "name": "db_lock_requested", "phase": "1_short_spike", "seconds": 5}
{"time": 1793301493.6601844, "monotonic": 629.433581357, "name": "db_lock_acquired", "phase": "1_short_spike"}
{"time": 1793301498.1694515, "monotonic": 633.942849163, "name": "db_lock_released", "phase": "1_short_spike"}
{"time": 1793301498.1698115, "monotonic": 633.943208296, "name": "phase_started", "phase": "1_short_recovery", "duration": 70}
{"time": 1793301571.5802257, "monotonic": 710.011567087, "name": "worker_stopped", "phase": "1_worker_stopped"}
{"time": 1793301571.6840105, "monotonic": 710.11535188, "name": "phase_started", "phase": "1_worker_stopped", "duration": 40}
{"time": 1793301616.5838852, "monotonic": 756.301199797, "name": "worker_started_s3_down", "phase": "1_worker_stopped"}
{"time": 1793301616.5842361, "monotonic": 756.301550124, "name": "phase_started", "phase": "1_s3_retry", "duration": 6}
{"time": 1793301621.9288232, "monotonic": 762.940587486, "name": "s3_restored", "phase": "1_s3_retry"}
{"time": 1793301621.9922202, "monotonic": 763.003984071, "name": "worker_queue_drained", "phase": "1_worker_recovery"}
{"time": 1793301621.9926095, "monotonic": 763.004373704, "name": "phase_started", "phase": "1_worker_recovery", "duration": 50}
{"time": 1793301677.5863068, "monotonic": 819.862074318, "name": "db_lock_requested", "phase": "1_db_degraded", "seconds": 65}
{"time": 1793301678.8068948, "monotonic": 821.082661821, "name": "db_lock_acquired", "phase": "1_db_degraded"}
{"time": 1793301743.4448485, "monotonic": 889.730136104, "name": "db_lock_released", "phase": "1_db_degraded"}
{"time": 1793301743.4453123, "monotonic": 889.730599103, "name": "phase_started", "phase": "1_db_recovery", "duration": 85}
{"time": 1793301828.4808974, "monotonic": 977.552559293, "name": "db_lock_requested", "phase": "2_short_spike", "seconds": 5}
{"time": 1793301829.681194, "monotonic": 978.752855475, "name": "db_lock_acquired", "phase": "2_short_spike"}
{"time": 1793301834.31821, "monotonic": 984.763539641, "name": "db_lock_released", "phase": "2_short_spike"}
{"time": 1793301834.3187037, "monotonic": 984.764032661, "name": "phase_started", "phase": "2_short_recovery", "duration": 70}
{"time": 1793301907.643404, "monotonic": 1060.799665636, "name": "worker_stopped", "phase": "2_worker_stopped"}
{"time": 1793301907.7367895, "monotonic": 1060.893050926, "name": "phase_started", "phase": "2_worker_stopped", "duration": 40}
{"time": 1793301952.7704153, "monotonic": 1107.268193499, "name": "worker_started_s3_down", "phase": "2_worker_stopped"}
{"time": 1793301952.7707746, "monotonic": 1107.268552442, "name": "phase_started", "phase": "2_s3_retry", "duration": 6}
{"time": 1793301957.7511244, "monotonic": 1113.917405427, "name": "s3_restored", "phase": "2_s3_retry"}
{"time": 1793301957.8137043, "monotonic": 1113.979984753, "name": "worker_queue_drained", "phase": "2_worker_recovery"}
{"time": 1793301957.8141387, "monotonic": 1113.980419676, "name": "phase_started", "phase": "2_worker_recovery", "duration": 50}
{"time": 1793302091.7271955, "monotonic": 1253.949772839, "name": "db_lock_requested", "phase": "2_db_degraded", "seconds": 65}
{"time": 1793302092.946901, "monotonic": 1255.169478166, "name": "db_lock_acquired", "phase": "2_db_degraded"}
{"time": 1793302157.9514034, "monotonic": 1323.316367872, "name": "db_lock_released", "phase": "2_db_degraded"}
{"time": 1793302157.9518974, "monotonic": 1323.316861326, "name": "phase_started", "phase": "2_db_recovery", "duration": 85}
{"time": 1793302341.0865552, "monotonic": 1516.024922501, "name": "tempo_stopped", "phase": "backend_down"}
{"time": 1793302341.638421, "monotonic": 1516.576788208, "name": "phase_started", "phase": "backend_down", "duration": 35}
{"time": 1793302375.9867227, "monotonic": 1552.463093587, "name": "tempo_started", "phase": "backend_down"}
{"time": 1793302375.987152, "monotonic": 1552.463523107, "name": "phase_started", "phase": "backend_recovery", "duration": 25}
File diff suppressed because it is too large Load Diff
+325
View File
@@ -0,0 +1,325 @@
{
"status": "PASS",
"repetitions": 2,
"elapsed_seconds": 1085.164769038,
"aborted": null,
"workload": "4 arrival/s, max 32 in-flight, no retry; synthetic messages; 4 queued PNG per worker incident",
"phases": {
"1_db_degraded": {
"requests": 280,
"successes": 12,
"errors": 268,
"successful_rps": 0.1720071258492869,
"successful_latency_ms": {
"p50": 423.96563399995557,
"p95": 1922.5648099999262,
"p99": 1922.5648099999262
}
},
"1_db_recovery": {
"requests": 351,
"successes": 351,
"errors": 0,
"successful_rps": 4.011069171150287,
"successful_latency_ms": {
"p50": 12.838530999943032,
"p95": 19.110451999949873,
"p99": 20.64768399998229
}
},
"1_s3_retry": {
"requests": 27,
"successes": 27,
"errors": 0,
"successful_rps": 4.146885526104753,
"successful_latency_ms": {
"p50": 10.844754000004286,
"p95": 19.099724000056995,
"p99": 21.140407999951094
}
},
"1_short_recovery": {
"requests": 280,
"successes": 280,
"errors": 0,
"successful_rps": 4.013595810692689,
"successful_latency_ms": {
"p50": 11.932068000078289,
"p95": 18.75264000000243,
"p99": 28.63370299996859
}
},
"1_short_spike": {
"requests": 24,
"successes": 12,
"errors": 12,
"successful_rps": 2.0821277809866596,
"successful_latency_ms": {
"p50": 419.2660960000012,
"p95": 1918.569692999995,
"p99": 1918.569692999995
}
},
"1_worker_recovery": {
"requests": 227,
"successes": 227,
"errors": 0,
"successful_rps": 4.016999557059796,
"successful_latency_ms": {
"p50": 12.438038000027518,
"p95": 18.07353399999556,
"p99": 20.39629299997614
}
},
"1_worker_stopped": {
"requests": 209,
"successes": 209,
"errors": 0,
"successful_rps": 4.0183247814204295,
"successful_latency_ms": {
"p50": 12.277097000037429,
"p95": 19.03105099995628,
"p99": 23.40941899990412
}
},
"2_db_degraded": {
"requests": 277,
"successes": 12,
"errors": 265,
"successful_rps": 0.17386449042839297,
"successful_latency_ms": {
"p50": 392.86370499985424,
"p95": 1890.5722920001153,
"p99": 1890.5722920001153
}
},
"2_db_recovery": {
"requests": 726,
"successes": 726,
"errors": 0,
"successful_rps": 4.005259450108465,
"successful_latency_ms": {
"p50": 10.346080000090296,
"p95": 16.916486999889457,
"p99": 19.519378000040888
}
},
"2_s3_retry": {
"requests": 26,
"successes": 26,
"errors": 0,
"successful_rps": 4.153553897013768,
"successful_latency_ms": {
"p50": 9.984211000073628,
"p95": 16.88236500012863,
"p99": 17.405406000079893
}
},
"2_short_recovery": {
"requests": 280,
"successes": 280,
"errors": 0,
"successful_rps": 4.013173154826825,
"successful_latency_ms": {
"p50": 13.178180000068096,
"p95": 20.327769999994416,
"p99": 31.309326999917175
}
},
"2_short_spike": {
"requests": 29,
"successes": 17,
"errors": 12,
"successful_rps": 2.425279262340083,
"successful_latency_ms": {
"p50": 1226.5299299999697,
"p95": 3229.8192540000628,
"p99": 3229.8192540000628
}
},
"2_worker_recovery": {
"requests": 561,
"successes": 561,
"errors": 0,
"successful_rps": 4.00638816450377,
"successful_latency_ms": {
"p50": 11.041736999914065,
"p95": 17.895979000059015,
"p99": 21.327335000023595
}
},
"2_worker_stopped": {
"requests": 210,
"successes": 210,
"errors": 0,
"successful_rps": 4.0184066212905645,
"successful_latency_ms": {
"p50": 10.607188999983919,
"p95": 18.25448299996424,
"p99": 21.836432000100103
}
},
"backend_down": {
"requests": 191,
"successes": 191,
"errors": 0,
"successful_rps": 4.01975440763338,
"successful_latency_ms": {
"p50": 12.367052999934458,
"p95": 19.527249000020674,
"p99": 22.789995000039198
}
},
"backend_recovery": {
"requests": 136,
"successes": 136,
"errors": 0,
"successful_rps": 4.028559770561802,
"successful_latency_ms": {
"p50": 11.834196000108932,
"p95": 18.948111000099743,
"p99": 20.006471999977293
}
},
"baseline": {
"requests": 482,
"successes": 482,
"errors": 0,
"successful_rps": 4.007991993710629,
"successful_latency_ms": {
"p50": 10.83535899999788,
"p95": 17.793724999933147,
"p99": 356.4242570000715
}
},
"setup": {
"requests": 1,
"successes": 1,
"errors": 0,
"successful_rps": 54.70640277165679,
"successful_latency_ms": {
"p50": 18.279396000025372,
"p95": 18.279396000025372,
"p99": 18.279396000025372
}
}
},
"detections": [
{
"incident": "1_short_spike",
"alert": "APIHighErrorRate",
"detection_seconds": null,
"resolved_time": null,
"recovery_seconds": null
},
{
"incident": "1_short_spike",
"alert": "APIErrorBudgetBurnFast",
"detection_seconds": null,
"resolved_time": null,
"recovery_seconds": null
},
{
"incident": "1_short_spike",
"alert": "APIErrorBudgetBurnSlow",
"detection_seconds": null,
"resolved_time": null,
"recovery_seconds": null
},
{
"incident": "1_worker_stopped",
"alert": "QueueLagGrowing",
"detection_seconds": 38.934282448999966,
"resolved_time": 1793301632.98226,
"recovery_seconds": 10.99004104200003
},
{
"incident": "1_worker_stopped",
"alert": "ReadyErrorBudgetBurn",
"detection_seconds": 38.934282448999966,
"resolved_time": 1793301620.504224,
"recovery_seconds": -1.4879946739999923
},
{
"incident": "1_db_degraded",
"alert": "APIHighErrorRate",
"detection_seconds": 27.857853774999967,
"resolved_time": 1793301788.8642416,
"recovery_seconds": 46.74806381399992
},
{
"incident": "1_db_degraded",
"alert": "APIErrorBudgetBurnFast",
"detection_seconds": 46.645383068,
"resolved_time": 1793301782.6020117,
"recovery_seconds": 40.4858329839999
},
{
"incident": "1_db_degraded",
"alert": "APIErrorBudgetBurnSlow",
"detection_seconds": 52.93273040899999,
"resolved_time": 1793301818.6430032,
"recovery_seconds": 77.98452922799993
},
{
"incident": "2_short_spike",
"alert": "APIHighErrorRate",
"detection_seconds": 32.74775581899996,
"resolved_time": 1793301878.4314754,
"recovery_seconds": 45.50712787200007
},
{
"incident": "2_short_spike",
"alert": "APIErrorBudgetBurnFast",
"detection_seconds": null,
"resolved_time": null,
"recovery_seconds": null
},
{
"incident": "2_short_spike",
"alert": "APIErrorBudgetBurnSlow",
"detection_seconds": null,
"resolved_time": null,
"recovery_seconds": null
},
{
"incident": "2_worker_stopped",
"alert": "QueueLagGrowing",
"detection_seconds": 38.27619560799985,
"resolved_time": 1793301962.7531674,
"recovery_seconds": 4.939463897999985
},
{
"incident": "2_worker_stopped",
"alert": "ReadyErrorBudgetBurn",
"detection_seconds": 38.27619560799985,
"resolved_time": 1793301962.7531674,
"recovery_seconds": 4.939463897999985
},
{
"incident": "2_db_degraded",
"alert": "APIHighErrorRate",
"detection_seconds": 33.105955902000005,
"resolved_time": 1793302201.687385,
"recovery_seconds": 46.89577130299995
},
{
"incident": "2_db_degraded",
"alert": "APIErrorBudgetBurnFast",
"detection_seconds": 45.673067334999814,
"resolved_time": 1793302196.9618058,
"recovery_seconds": 40.58122227400008
},
{
"incident": "2_db_degraded",
"alert": "APIErrorBudgetBurnSlow",
"detection_seconds": 58.24621995799998,
"resolved_time": 1793302226.777689,
"recovery_seconds": 71.98607496299996
}
],
"false_page_samples": [],
"hypothesis": "A five-second DB lock does not page multiwindow burn; sustained DB lock and worker stop are detected and resolve.",
"note": "PASS means experiment executed; criterion assertions are checked separately by audit.",
"rate_calculation": "successful confirmations / monotonic interval from first phase request start to last completion; wall-clock-rate original preserved separately"
}
+324
View File
@@ -0,0 +1,324 @@
{
"status": "PASS",
"repetitions": 2,
"elapsed_seconds": 1085.164769038,
"aborted": null,
"workload": "4 arrival/s, max 32 in-flight, no retry; synthetic messages; 4 queued PNG per worker incident",
"phases": {
"1_db_degraded": {
"requests": 280,
"successes": 12,
"errors": 268,
"successful_rps": 0.17967778363197912,
"successful_latency_ms": {
"p50": 423.96563399995557,
"p95": 1922.5648099999262,
"p99": 1922.5648099999262
}
},
"1_db_recovery": {
"requests": 351,
"successes": 351,
"errors": 0,
"successful_rps": 4.142987773103938,
"successful_latency_ms": {
"p50": 12.838530999943032,
"p95": 19.110451999949873,
"p99": 20.64768399998229
}
},
"1_s3_retry": {
"requests": 27,
"successes": 27,
"errors": 0,
"successful_rps": 4.899158233703686,
"successful_latency_ms": {
"p50": 10.844754000004286,
"p95": 19.099724000056995,
"p99": 21.140407999951094
}
},
"1_short_recovery": {
"requests": 280,
"successes": 280,
"errors": 0,
"successful_rps": 4.172569487892483,
"successful_latency_ms": {
"p50": 11.932068000078289,
"p95": 18.75264000000243,
"p99": 28.63370299996859
}
},
"1_short_spike": {
"requests": 24,
"successes": 12,
"errors": 12,
"successful_rps": 2.1765404043570897,
"successful_latency_ms": {
"p50": 419.2660960000012,
"p95": 1918.569692999995,
"p99": 1918.569692999995
}
},
"1_worker_recovery": {
"requests": 227,
"successes": 227,
"errors": 0,
"successful_rps": 4.1089068689559145,
"successful_latency_ms": {
"p50": 12.438038000027518,
"p95": 18.07353399999556,
"p99": 20.39629299997614
}
},
"1_worker_stopped": {
"requests": 209,
"successes": 209,
"errors": 0,
"successful_rps": 4.120195328035094,
"successful_latency_ms": {
"p50": 12.277097000037429,
"p95": 19.03105099995628,
"p99": 23.40941899990412
}
},
"2_db_degraded": {
"requests": 277,
"successes": 12,
"errors": 265,
"successful_rps": 0.18215798616314902,
"successful_latency_ms": {
"p50": 392.86370499985424,
"p95": 1890.5722920001153,
"p99": 1890.5722920001153
}
},
"2_db_recovery": {
"requests": 726,
"successes": 726,
"errors": 0,
"successful_rps": 4.228594241506353,
"successful_latency_ms": {
"p50": 10.346080000090296,
"p95": 16.916486999889457,
"p99": 19.519378000040888
}
},
"2_s3_retry": {
"requests": 26,
"successes": 26,
"errors": 0,
"successful_rps": 5.663011764006972,
"successful_latency_ms": {
"p50": 9.984211000073628,
"p95": 16.88236500012863,
"p99": 17.405406000079893
}
},
"2_short_recovery": {
"requests": 280,
"successes": 280,
"errors": 0,
"successful_rps": 4.17540931845472,
"successful_latency_ms": {
"p50": 13.178180000068096,
"p95": 20.327769999994416,
"p99": 31.309326999917175
}
},
"2_short_spike": {
"requests": 29,
"successes": 17,
"errors": 12,
"successful_rps": 2.4354532961097837,
"successful_latency_ms": {
"p50": 1226.5299299999697,
"p95": 3229.8192540000628,
"p99": 3229.8192540000628
}
},
"2_worker_recovery": {
"requests": 561,
"successes": 561,
"errors": 0,
"successful_rps": 4.1875023168695495,
"successful_latency_ms": {
"p50": 11.041736999914065,
"p95": 17.895979000059015,
"p99": 21.327335000023595
}
},
"2_worker_stopped": {
"requests": 210,
"successes": 210,
"errors": 0,
"successful_rps": 4.124277982335029,
"successful_latency_ms": {
"p50": 10.607188999983919,
"p95": 18.25448299996424,
"p99": 21.836432000100103
}
},
"backend_down": {
"requests": 191,
"successes": 191,
"errors": 0,
"successful_rps": 4.154220535052954,
"successful_latency_ms": {
"p50": 12.367052999934458,
"p95": 19.527249000020674,
"p99": 22.789995000039198
}
},
"backend_recovery": {
"requests": 136,
"successes": 136,
"errors": 0,
"successful_rps": 4.242359987832464,
"successful_latency_ms": {
"p50": 11.834196000108932,
"p95": 18.948111000099743,
"p99": 20.006471999977293
}
},
"baseline": {
"requests": 482,
"successes": 482,
"errors": 0,
"successful_rps": 4.149454074669083,
"successful_latency_ms": {
"p50": 10.83535899999788,
"p95": 17.793724999933147,
"p99": 356.4242570000715
}
},
"setup": {
"requests": 1,
"successes": 1,
"errors": 0,
"successful_rps": 54.70664805853735,
"successful_latency_ms": {
"p50": 18.279396000025372,
"p95": 18.279396000025372,
"p99": 18.279396000025372
}
}
},
"detections": [
{
"incident": "1_short_spike",
"alert": "APIHighErrorRate",
"detection_seconds": null,
"resolved_time": null,
"recovery_seconds": null
},
{
"incident": "1_short_spike",
"alert": "APIErrorBudgetBurnFast",
"detection_seconds": null,
"resolved_time": null,
"recovery_seconds": null
},
{
"incident": "1_short_spike",
"alert": "APIErrorBudgetBurnSlow",
"detection_seconds": null,
"resolved_time": null,
"recovery_seconds": null
},
{
"incident": "1_worker_stopped",
"alert": "QueueLagGrowing",
"detection_seconds": 38.934282448999966,
"resolved_time": 1793301632.98226,
"recovery_seconds": 10.99004104200003
},
{
"incident": "1_worker_stopped",
"alert": "ReadyErrorBudgetBurn",
"detection_seconds": 38.934282448999966,
"resolved_time": 1793301620.504224,
"recovery_seconds": -1.4879946739999923
},
{
"incident": "1_db_degraded",
"alert": "APIHighErrorRate",
"detection_seconds": 27.857853774999967,
"resolved_time": 1793301788.8642416,
"recovery_seconds": 46.74806381399992
},
{
"incident": "1_db_degraded",
"alert": "APIErrorBudgetBurnFast",
"detection_seconds": 46.645383068,
"resolved_time": 1793301782.6020117,
"recovery_seconds": 40.4858329839999
},
{
"incident": "1_db_degraded",
"alert": "APIErrorBudgetBurnSlow",
"detection_seconds": 52.93273040899999,
"resolved_time": 1793301818.6430032,
"recovery_seconds": 77.98452922799993
},
{
"incident": "2_short_spike",
"alert": "APIHighErrorRate",
"detection_seconds": 32.74775581899996,
"resolved_time": 1793301878.4314754,
"recovery_seconds": 45.50712787200007
},
{
"incident": "2_short_spike",
"alert": "APIErrorBudgetBurnFast",
"detection_seconds": null,
"resolved_time": null,
"recovery_seconds": null
},
{
"incident": "2_short_spike",
"alert": "APIErrorBudgetBurnSlow",
"detection_seconds": null,
"resolved_time": null,
"recovery_seconds": null
},
{
"incident": "2_worker_stopped",
"alert": "QueueLagGrowing",
"detection_seconds": 38.27619560799985,
"resolved_time": 1793301962.7531674,
"recovery_seconds": 4.939463897999985
},
{
"incident": "2_worker_stopped",
"alert": "ReadyErrorBudgetBurn",
"detection_seconds": 38.27619560799985,
"resolved_time": 1793301962.7531674,
"recovery_seconds": 4.939463897999985
},
{
"incident": "2_db_degraded",
"alert": "APIHighErrorRate",
"detection_seconds": 33.105955902000005,
"resolved_time": 1793302201.687385,
"recovery_seconds": 46.89577130299995
},
{
"incident": "2_db_degraded",
"alert": "APIErrorBudgetBurnFast",
"detection_seconds": 45.673067334999814,
"resolved_time": 1793302196.9618058,
"recovery_seconds": 40.58122227400008
},
{
"incident": "2_db_degraded",
"alert": "APIErrorBudgetBurnSlow",
"detection_seconds": 58.24621995799998,
"resolved_time": 1793302226.777689,
"recovery_seconds": 71.98607496299996
}
],
"false_page_samples": [],
"hypothesis": "A five-second DB lock does not page multiwindow burn; sustained DB lock and worker stop are detected and resolve.",
"note": "PASS means experiment executed; criterion assertions are checked separately by audit."
}
File diff suppressed because it is too large Load Diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 198 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 120 KiB

+8
View File
@@ -0,0 +1,8 @@
[
{
"id": "940f055d-03b4-4d5b-b4ed-0e264e580b9e",
"trace_id": "7dacaf5f9fe9507a2c5db9959b87b0d9",
"accepted_at": 1793302478.6703985,
"phase": "verified_retry"
}
]
+4
View File
@@ -0,0 +1,4 @@
.venv/bin/python scripts/stack.py wait --count 2
API ready: 480790c50492:cf965e6f, eea0a4050b79:4ee43458
.venv/bin/python tests/smoke.py --base-url "http://localhost:8086"
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
+8
View File
@@ -0,0 +1,8 @@
{
"lab5_baseline_files": 131,
"lab5_changed_files": [],
"public_contract_test_changes": [],
"literal_local_secret_leaks": [],
"private_paths_ignored": true,
"status": "PASS"
}
+4
View File
@@ -0,0 +1,4 @@
.venv/bin/python scripts/check_contract.py
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
.venv/bin/python scripts/validate_openapi.py
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
+4
View File
@@ -0,0 +1,4 @@
.venv/bin/python scripts/check_contract.py
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
.venv/bin/python scripts/validate_openapi.py
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
+14
View File
@@ -0,0 +1,14 @@
.venv/bin/python student-tests/test_api.py --base-url "http://localhost:8086"
PASS: malformed JSON/media type, duplicate username, blank message, outsider access, pagination
PASS: 10 clients created exactly 100 unique messages
.venv/bin/python student-tests/checks.py --base-url "http://localhost:8086"
PASS: registration race, invalid input, cursor scope/types on two API, read-after-write, logout
.venv/bin/python student-tests/idempotency.py --base-url "http://localhost:8086"
PASS: shared idempotency, scope, conflict and auth on replay
docker compose exec -T api python student-tests/database.py
Traceback (most recent call last):
File "/app/student-tests/database.py", line 31, in <module>
assert db.execute('SELECT count(*) FROM schema_migrations').fetchone()[0] == 4
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
make: *** [Makefile:42: student-checks] Error 1
+12
View File
@@ -0,0 +1,12 @@
.venv/bin/python scripts/stack.py wait --count 2
API ready: 25a285a81fa9:88f0373a, 38a8c9fd5dbc:a346cff6
.venv/bin/python student-tests/test_api.py --base-url "http://localhost:8086"
PASS: malformed JSON/media type, duplicate username, blank message, outsider access, pagination
PASS: 10 clients created exactly 100 unique messages
.venv/bin/python student-tests/checks.py --base-url "http://localhost:8086"
PASS: registration race, invalid input, cursor scope/types on two API, read-after-write, logout
.venv/bin/python student-tests/idempotency.py --base-url "http://localhost:8086"
PASS: shared idempotency, scope, conflict and auth on replay
docker compose exec -T api python student-tests/database.py
PASS: rollback of chat + members; migration reapplied twice
PASS: persisted key expiry, atomic message/result rollback
+8
View File
@@ -0,0 +1,8 @@
.venv/bin/python student-tests/checks.py --base-url "http://localhost:8086"
PASS: registration race, invalid input, cursor scope/types on two API, read-after-write, logout
.venv/bin/python student-tests/attachments.py --base-url "http://localhost:8086"
Traceback (most recent call last):
File "/home/kitsune/visotka/mtusi2026lab6/student-tests/attachments.py", line 13, in <module>
from PIL import Image
ModuleNotFoundError: No module named 'PIL'
make: *** [Makefile:41: test-files] Error 1
Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

+4
View File
@@ -0,0 +1,4 @@
Container mtusi2026lab6-tempo-1 Recreate
Container mtusi2026lab6-tempo-1 Recreated
Container mtusi2026lab6-tempo-1 Starting
Container mtusi2026lab6-tempo-1 Started
+85
View File
@@ -0,0 +1,85 @@
{
"batches": [
{
"resource": {
"attributes": [
{
"key": "telemetry.sdk.language",
"value": {
"stringValue": "python"
}
},
{
"key": "telemetry.sdk.name",
"value": {
"stringValue": "opentelemetry"
}
},
{
"key": "telemetry.sdk.version",
"value": {
"stringValue": "1.38.0"
}
},
{
"key": "service.version",
"value": {
"stringValue": "6.0.0"
}
},
{
"key": "service.instance.id",
"value": {
"stringValue": "85bf902748bb"
}
},
{
"key": "deployment.environment.name",
"value": {
"stringValue": "lab"
}
},
{
"key": "service.name",
"value": {
"stringValue": "messenger-dispatcher"
}
}
]
},
"scopeSpans": [
{
"scope": {
"name": "messenger.manual",
"version": "6.0.0"
},
"spans": [
{
"traceId": "EdO29LFZfpqm/ZxkanGmLA==",
"spanId": "pjqZyQfrxp8=",
"name": "db.execute",
"kind": "SPAN_KIND_INTERNAL",
"startTimeUnixNano": "1793299683105154003",
"endTimeUnixNano": "1793299683108232491",
"attributes": [
{
"key": "db_system",
"value": {
"stringValue": "postgresql"
}
},
{
"key": "db_operation",
"value": {
"stringValue": "SELECT"
}
}
],
"status": {}
}
]
}
]
}
]
}
+24
View File
@@ -0,0 +1,24 @@
{
"traces": [
{
"traceID": "11d3b6f4b1597e9aa6fd9c646a71a62c",
"rootServiceName": "messenger-dispatcher",
"rootTraceName": "db.execute",
"startTimeUnixNano": "1793299683105154003",
"durationMs": 3
},
{
"traceID": "d8401a042cf6357becd19d02f4519d1",
"rootServiceName": "messenger-dispatcher",
"rootTraceName": "db.execute",
"startTimeUnixNano": "1793299677767043225",
"durationMs": 3
}
],
"metrics": {
"inspectedTraces": 64,
"inspectedBytes": "20758",
"completedJobs": 1,
"totalJobs": 1
}
}
+18
View File
@@ -0,0 +1,18 @@
#!/bin/sh
set -eu
# Пароль не передаётся аргументом процесса и не печатается в лог.
# Root-owned directory avoids sticky /tmp protected_regular on container restart.
mkdir -p /run/broker
chmod 755 /run/broker
{
echo 'dir /data'
echo 'appendonly yes'
echo 'appendfsync always'
echo 'save ""'
echo 'maxmemory 192mb'
echo 'maxmemory-policy noeviction'
printf 'requirepass %s\n' "$(cat /run/secrets/broker_password)"
} > /run/broker/broker.conf
chmod 600 /run/broker/broker.conf
chown redis:redis /run/broker/broker.conf
exec /usr/local/bin/docker-entrypoint.sh redis-server /run/broker/broker.conf
+37
View File
@@ -0,0 +1,37 @@
global
log stdout format raw local0
maxconn 2048
defaults
mode http
log global
option httplog
timeout connect 500ms
timeout client 30s
timeout server 50s
timeout check 1s
retries 0
resolvers docker
nameserver dns 127.0.0.11:53
resolve_retries 1
timeout resolve 1s
timeout retry 1s
hold valid 1s
hold nx 1s
hold other 1s
hold refused 1s
hold timeout 1s
hold obsolete 1s
frontend public
bind :8080
http-request deny if { path_beg /internal/ }
default_backend messenger
backend messenger
balance roundrobin
option httpchk GET /health/ready
http-check expect status 200
default-server inter 1s fastinter 500ms downinter 1s fall 2 rise 1
server-template api 1-4 api:8080 check resolvers docker init-addr none resolve-prefer ipv4
+5
View File
@@ -0,0 +1,5 @@
#!/bin/sh
set -eu
export MINIO_ROOT_USER="$(cat /run/secrets/s3_root_user)"
export MINIO_ROOT_PASSWORD="$(cat /run/secrets/s3_root_password)"
exec minio "$@"
+44
View File
@@ -0,0 +1,44 @@
groups:
- name: incidents
rules:
- alert: APIHighErrorRate
expr: slo:api_error_ratio:30s > 0.05
for: 10s
labels:
severity: warning
annotations:
summary: API 5xx > 5% / 30s
runbook: 'REPORT.md: DB incident'
- alert: QueueLagGrowing
expr: max(queue_oldest_age_seconds) > 15 and max(queue_depth) > 0
for: 10s
labels:
severity: warning
annotations:
summary: Durable unfinished job age > 15s
runbook: 'REPORT.md: worker incident'
- alert: APIErrorBudgetBurnFast
expr: slo:api_error_ratio:30s > 0.144 and slo:api_error_ratio:2m > 0.144
for: 10s
labels:
severity: critical
annotations:
summary: 'API 99% SLO: burn >14.4 over 30s AND 2m'
runbook: 'REPORT.md: DB incident'
- alert: APIErrorBudgetBurnSlow
expr: slo:api_error_ratio:1m > 0.06 and slo:api_error_ratio:5m > 0.06
for: 20s
labels:
severity: warning
annotations:
summary: 'API 99% SLO: burn >6 over 1m AND 5m'
runbook: 'REPORT.md: DB incident'
- alert: ReadyErrorBudgetBurn
expr: slo:ready_bad_ratio:30s > 0.144 and slo:ready_bad_ratio:2m > 0.144 and sum(rate(ready_deadline_jobs_total[30s]))
> 0
for: 10s
labels:
severity: warning
annotations:
summary: 'Ready <=10s / 99%: burn >14.4'
runbook: 'REPORT.md: worker incident'
+96
View File
@@ -0,0 +1,96 @@
extensions:
health_check:
endpoint: 0.0.0.0:13133
file_storage:
directory: /var/lib/otel
compaction:
on_start: true
directory: /var/lib/otel/compact
create_directory: true
receivers:
otlp:
protocols:
http:
endpoint: 0.0.0.0:4318
grpc:
endpoint: 0.0.0.0:4317
processors:
memory_limiter:
check_interval: 1s
limit_mib: 160
spike_limit_mib: 32
batch:
timeout: 1s
send_batch_size: 128
send_batch_max_size: 256
exporters:
prometheus:
endpoint: 0.0.0.0:8889
resource_to_telemetry_conversion:
enabled: true
otlphttp/loki:
endpoint: http://loki:3100/otlp
timeout: 2s
sending_queue:
enabled: true
queue_size: 32
num_consumers: 1
storage: file_storage
retry_on_failure:
enabled: true
initial_interval: 1s
max_interval: 3s
max_elapsed_time: 10s
otlp/tempo:
endpoint: tempo:4317
tls:
insecure: true
timeout: 2s
sending_queue:
enabled: true
queue_size: 32
num_consumers: 1
storage: file_storage
retry_on_failure:
enabled: true
initial_interval: 1s
max_interval: 3s
max_elapsed_time: 10s
service:
extensions:
- health_check
- file_storage
telemetry:
metrics:
level: detailed
readers:
- pull:
exporter:
prometheus:
host: 0.0.0.0
port: 8888
pipelines:
metrics:
receivers:
- otlp
processors:
- memory_limiter
- batch
exporters:
- prometheus
logs:
receivers:
- otlp
processors:
- memory_limiter
- batch
exporters:
- otlphttp/loki
traces:
receivers:
- otlp
processors:
- memory_limiter
- batch
exporters:
- otlp/tempo
+484
View File
@@ -0,0 +1,484 @@
{
"uid": "lab6",
"title": "Lab6 \u2014 Messenger observations",
"schemaVersion": 39,
"version": 1,
"refresh": "5s",
"time": {
"from": "now-15m",
"to": "now"
},
"panels": [
{
"id": 1,
"type": "timeseries",
"title": "Business API requests / second",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 0,
"y": 0,
"w": 12,
"h": 8
},
"targets": [
{
"expr": "sum(rate(app_http_requests_total[1m]))",
"refId": "A"
}
],
"fieldConfig": {
"defaults": {
"unit": "reqps"
},
"overrides": []
}
},
{
"id": 2,
"type": "timeseries",
"title": "API 5xx / business requests",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 12,
"y": 0,
"w": 12,
"h": 8
},
"targets": [
{
"expr": "slo:api_error_ratio:1m",
"refId": "A"
}
],
"fieldConfig": {
"defaults": {
"unit": "percentunit"
},
"overrides": []
}
},
{
"id": 3,
"type": "timeseries",
"title": "API latency p50 / p95 / p99, all replicas",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 0,
"y": 8,
"w": 12,
"h": 8
},
"targets": [
{
"expr": "histogram_quantile(0.5,sum by(le)(rate(app_http_duration_seconds_bucket[1m])))",
"refId": "A"
},
{
"expr": "histogram_quantile(0.95,sum by(le)(rate(app_http_duration_seconds_bucket[1m])))",
"refId": "B"
},
{
"expr": "histogram_quantile(0.99,sum by(le)(rate(app_http_duration_seconds_bucket[1m])))",
"refId": "C"
}
],
"fieldConfig": {
"defaults": {
"unit": "s"
},
"overrides": []
}
},
{
"id": 4,
"type": "timeseries",
"title": "Jobs processed / second by outcome",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 12,
"y": 8,
"w": 12,
"h": 8
},
"targets": [
{
"expr": "sum by(outcome)(rate(jobs_processed_total[1m]))",
"refId": "A"
}
],
"fieldConfig": {
"defaults": {
"unit": "ops"
},
"overrides": []
}
},
{
"id": 5,
"type": "timeseries",
"title": "Worker processing p95",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 0,
"y": 16,
"w": 12,
"h": 8
},
"targets": [
{
"expr": "histogram_quantile(0.95,sum by(le)(rate(job_duration_seconds_bucket[1m])))",
"refId": "A"
}
],
"fieldConfig": {
"defaults": {
"unit": "s"
},
"overrides": []
}
},
{
"id": 6,
"type": "timeseries",
"title": "Ready time p50 / p95 / p99",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 12,
"y": 16,
"w": 12,
"h": 8
},
"targets": [
{
"expr": "histogram_quantile(0.5,sum by(le)(rate(attachment_ready_seconds_bucket[2m])))",
"refId": "A"
},
{
"expr": "histogram_quantile(0.95,sum by(le)(rate(attachment_ready_seconds_bucket[2m])))",
"refId": "B"
},
{
"expr": "histogram_quantile(0.99,sum by(le)(rate(attachment_ready_seconds_bucket[2m])))",
"refId": "C"
}
],
"fieldConfig": {
"defaults": {
"unit": "s"
},
"overrides": []
}
},
{
"id": 7,
"type": "timeseries",
"title": "Durable unfinished jobs",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 0,
"y": 24,
"w": 12,
"h": 8
},
"targets": [
{
"expr": "max(queue_depth)",
"refId": "A"
}
],
"fieldConfig": {
"defaults": {
"unit": "short"
},
"overrides": []
}
},
{
"id": 8,
"type": "timeseries",
"title": "Oldest unfinished job / seconds",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 12,
"y": 24,
"w": 12,
"h": 8
},
"targets": [
{
"expr": "max(queue_oldest_age_seconds)",
"refId": "A"
}
],
"fieldConfig": {
"defaults": {
"unit": "s"
},
"overrides": []
}
},
{
"id": 9,
"type": "timeseries",
"title": "DB pool used / waiting",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 0,
"y": 32,
"w": 12,
"h": 8
},
"targets": [
{
"expr": "sum(db_pool_used)",
"refId": "A"
},
{
"expr": "sum(db_pool_waiting)",
"refId": "B"
}
],
"fieldConfig": {
"defaults": {
"unit": "short"
},
"overrides": []
}
},
{
"id": 10,
"type": "timeseries",
"title": "Worker busy / capacity",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 12,
"y": 32,
"w": 12,
"h": 8
},
"targets": [
{
"expr": "sum(worker_busy)",
"refId": "A"
},
{
"expr": "sum(worker_capacity)",
"refId": "B"
}
],
"fieldConfig": {
"defaults": {
"unit": "short"
},
"overrides": []
}
},
{
"id": 11,
"type": "timeseries",
"title": "Process CPU / cores",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 0,
"y": 40,
"w": 12,
"h": 8
},
"targets": [
{
"expr": "rate(process_cpu_seconds[1m])",
"refId": "A"
}
],
"fieldConfig": {
"defaults": {
"unit": "short"
},
"overrides": []
}
},
{
"id": 12,
"type": "timeseries",
"title": "Process RSS high water / bytes",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 12,
"y": 40,
"w": 12,
"h": 8
},
"targets": [
{
"expr": "process_memory_bytes",
"refId": "A"
}
],
"fieldConfig": {
"defaults": {
"unit": "bytes"
},
"overrides": []
}
},
{
"id": 13,
"type": "timeseries",
"title": "API budget burn / 30s / 2m / 5m",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 0,
"y": 48,
"w": 12,
"h": 8
},
"targets": [
{
"expr": "slo:api_error_ratio:30s / 0.01",
"refId": "A"
},
{
"expr": "slo:api_error_ratio:2m / 0.01",
"refId": "B"
},
{
"expr": "slo:api_error_ratio:5m / 0.01",
"refId": "C"
}
],
"fieldConfig": {
"defaults": {
"unit": "short"
},
"overrides": []
}
},
{
"id": 14,
"type": "timeseries",
"title": "Active alerts",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 12,
"y": 48,
"w": 12,
"h": 8
},
"targets": [
{
"expr": "ALERTS{alertstate=\"firing\"}",
"refId": "A"
}
],
"fieldConfig": {
"defaults": {
"unit": "short"
},
"overrides": []
}
},
{
"id": 15,
"type": "timeseries",
"title": "Queue probe valid (0 = DB unavailable)",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 0,
"y": 56,
"w": 12,
"h": 8
},
"targets": [
{
"expr": "queue_probe_ok_ratio",
"refId": "A"
}
],
"fieldConfig": {
"defaults": {
"unit": "short"
},
"overrides": []
}
},
{
"id": 16,
"type": "timeseries",
"title": "Collector failed exports / refused spans",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 12,
"y": 56,
"w": 12,
"h": 8
},
"targets": [
{
"expr": "rate(otelcol_exporter_send_failed_spans_total[1m])",
"refId": "A"
},
{
"expr": "rate(otelcol_receiver_refused_spans_total[1m])",
"refId": "B"
}
],
"fieldConfig": {
"defaults": {
"unit": "short"
},
"overrides": []
}
}
],
"tags": [
"lab6"
]
}
@@ -0,0 +1,6 @@
apiVersion: 1
providers:
- name: Lab6
type: file
options:
path: /var/lib/grafana/dashboards
@@ -0,0 +1,28 @@
apiVersion: 1
datasources:
- name: Prometheus
uid: prometheus
type: prometheus
access: proxy
url: http://prometheus:9090
isDefault: true
- name: Loki
uid: loki
type: loki
access: proxy
url: http://loki:3100
jsonData:
derivedFields:
- name: TraceID
matcherRegex: '"trace_id":"([0-9a-f]{32})"'
datasourceUid: tempo
url: ${__value.raw}
- name: Tempo
uid: tempo
type: tempo
access: proxy
url: http://tempo:3200
jsonData:
tracesToLogsV2:
datasourceUid: loki
filterByTraceID: true
+31
View File
@@ -0,0 +1,31 @@
auth_enabled: false
server:
http_listen_port: 3100
common:
path_prefix: /loki
replication_factor: 1
ring:
kvstore:
store: inmemory
storage:
filesystem:
chunks_directory: /loki/chunks
rules_directory: /loki/rules
schema_config:
configs:
- from: '2024-01-01'
store: tsdb
object_store: filesystem
schema: v13
index:
prefix: index_
period: 24h
limits_config:
allow_structured_metadata: true
retention_period: 48h
compactor:
working_directory: /loki/compactor
retention_enabled: true
delete_request_store: filesystem
analytics:
reporting_enabled: false
+15
View File
@@ -0,0 +1,15 @@
global:
scrape_interval: 5s
evaluation_interval: 5s
rule_files:
- /etc/prometheus/recording.yaml
- /etc/prometheus/alerts.yaml
scrape_configs:
- job_name: application
static_configs:
- targets:
- collector:8889
- job_name: collector
static_configs:
- targets:
- collector:8888
+28
View File
@@ -0,0 +1,28 @@
groups:
- name: slo
interval: 5s
rules:
- record: slo:api_error_ratio:30s
expr: (sum(rate(app_http_requests_total{status_class="5xx",route!~"/health.*"}[30s]))
or vector(0)) / clamp_min(sum(rate(app_http_requests_total{route!~"/health.*"}[30s])),
0.001)
- record: slo:ready_bad_ratio:30s
expr: sum(rate(ready_deadline_missed_total[30s])) / clamp_min(sum(rate(ready_deadline_jobs_total[30s])),0.001)
- record: slo:api_error_ratio:1m
expr: (sum(rate(app_http_requests_total{status_class="5xx",route!~"/health.*"}[1m]))
or vector(0)) / clamp_min(sum(rate(app_http_requests_total{route!~"/health.*"}[1m])),
0.001)
- record: slo:ready_bad_ratio:1m
expr: sum(rate(ready_deadline_missed_total[1m])) / clamp_min(sum(rate(ready_deadline_jobs_total[1m])),0.001)
- record: slo:api_error_ratio:2m
expr: (sum(rate(app_http_requests_total{status_class="5xx",route!~"/health.*"}[2m]))
or vector(0)) / clamp_min(sum(rate(app_http_requests_total{route!~"/health.*"}[2m])),
0.001)
- record: slo:ready_bad_ratio:2m
expr: sum(rate(ready_deadline_missed_total[2m])) / clamp_min(sum(rate(ready_deadline_jobs_total[2m])),0.001)
- record: slo:api_error_ratio:5m
expr: (sum(rate(app_http_requests_total{status_class="5xx",route!~"/health.*"}[5m]))
or vector(0)) / clamp_min(sum(rate(app_http_requests_total{route!~"/health.*"}[5m])),
0.001)
- record: slo:ready_bad_ratio:5m
expr: sum(rate(ready_deadline_missed_total[5m])) / clamp_min(sum(rate(ready_deadline_jobs_total[5m])),0.001)
+25
View File
@@ -0,0 +1,25 @@
server:
http_listen_port: 3200
distributor:
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
ingester:
trace_idle_period: 5s
max_block_duration: 1m
compactor:
compaction:
block_retention: 48h
storage:
trace:
backend: local
wal:
path: /var/tempo/wal
local:
path: /var/tempo/blocks
usage_report:
reporting_enabled: false
+45
View File
@@ -0,0 +1,45 @@
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:GetBucketLocation"
],
"Resource": [
"arn:aws:s3:::messenger-attachments"
]
},
{
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::messenger-attachments"
],
"Condition": {
"StringLike": {
"s3:prefix": [
"originals/*",
"staging/*",
"variants/*"
]
}
}
},
{
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:PutObject",
"s3:DeleteObject"
],
"Resource": [
"arn:aws:s3:::messenger-attachments/originals/*",
"arn:aws:s3:::messenger-attachments/staging/*",
"arn:aws:s3:::messenger-attachments/variants/*"
]
}
]
}

Some files were not shown because too many files have changed in this diff Show More