Files
mtusi2026lab6/evidence/replicas/test-persistence.md
T
ricoromaandClaude Opus 5.5 6c6e6d5192 docs: capture lab 6 exclusion evidence, full checks and final report
Coverage-exclusion evidence on the lab 6 stand (db3340d), failure checks,
isolated and LB test runs, clean clone and secrets check; fill REPORT.md
from the skeleton template, drop PLAN.md (last version db3340d).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 10:35:25 +03:00

35 lines
2.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Сохранность при рестарте стенда
- Команда: `make test-persistence ACTION_SCRIPT=scripts/restart.sh`
- Дата: 2026-11-15, 06:40:04–06:40:30 UTC; код выхода 0
- Commit: `db3340d` (ветка `feat/lab6-final`), рабочее дерево без правок кода (изменены только `QUESTIONS.md` и файлы `evidence/`)
- Стенд: проект compose `mtusi-lab6`, телеметрия включена, собран `make run_docker` из `HEAD`
- Что проверяет публичная проверка: данные, прежний токен и с лабы 4 оригинал вложения после hook (`tests/README.md`)
- Что перезапустил hook (сверка `docker inspect` до и после, `RestartCount` у всех 0): `api-13`, `api-14`, `haproxy`, `postgres`, `rabbitmq`, `s3`, `valkey` — новый `StartedAt`; `relay`, `worker` и `cleaner` hook не трогает, `StartedAt` прежний. Сервисы телеметрии (`otel-collector`, `prometheus`, `loki`, `tempo`, `grafana`) hook тоже не трогает — `StartedAt` прежний (вопрос 2 `## otel-telemetry` в `QUESTIONS.md`, предложение S2 там же). Одноразовые `migrate` и `s3-bootstrap` повторяет `start api` (no-op). Volumes не удалялись
```text
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
```
| Контейнер | `StartedAt` до | `StartedAt` после |
|---|---|---|
| `api-13` | 06:39:37.107 | 06:40:28.849 |
| `api-14` | 06:39:37.041 | 06:40:28.785 |
| `haproxy-1` | 06:33:44.415 | 06:40:28.929 |
| `postgres-1` | 06:33:36.616 | 06:40:05.823 |
| `rabbitmq-1` | 06:37:36.623 | 06:40:06.835 |
| `s3-1` | 06:33:36.481 | 06:40:20.757 |
| `valkey-1` | 06:33:37.067 | 06:40:05.845 |
| `migrate-1` | 06:39:33.975 | 06:40:25.653 |
| `s3-bootstrap-1` | 06:39:33.914 | 06:40:25.731 |
| `relay-1` | 06:33:40.789 | 06:33:40.789 |
| `worker-1` | 06:33:44.241 | 06:33:44.241 |
| `cleaner-1` | 06:33:44.322 | 06:33:44.322 |
| `otel-collector-1` | 06:33:36.959 | 06:33:36.959 |
| `prometheus-1` | 06:33:37.162 | 06:33:37.162 |
| `loki-1` | 06:33:36.545 | 06:33:36.545 |
| `tempo-1` | 06:33:36.794 | 06:33:36.794 |
| `grafana-1` | 06:33:36.867 | 06:33:36.867 |
`rabbitmq-1` до прогона — 06:37:36: его остановил и вернул `driver.py broker-check` (`evidence/broker/stand.md`); `api-13` и `api-14` — 06:39:37: их пересоздал повтор отправки (`evidence/idempotency/replay-after-restart.md`).