Files
mtusi2026lab2/evidence/faults.txt
T
ArtyomandClaude Opus 5.5 957eabdfc3 Record level 3 evidence and fill in the report
Save sanitized outputs from a stand started from a clean state: the
clean clone run, smoke through the balancer, the stack view with the
replica hostnames, ports, networks, limits and the balancer server
states, the probe with two replicas behind one token and the eight
way race on one key, a failover run for each replica with the
container left exited and its graceful shutdown log, the hook
negative cases and the balancer answer without replicas, the
persistence run with StartedAt of every container before and after,
schema, migration rerun, KDF prefix, ignore rules, own tests and the
lab 2 stack fault tests through the balancer, plus the environment.

The report covers the clean clone start, the architecture, the
X-Instance-Id and idempotency decisions, the balancer settings, the
role to service table, the mapping of .env.example to the real
variables, one evidence row per level 3 criterion and the carried
lab 2 minimum, and the failure table for level 3.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-28 11:53:11 +03:00

32 lines
1.9 KiB
Plaintext
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.
date: 2026-10-28T08:49:44Z commit: 0796e29
$ make test-faults BASE_URL=http://localhost:18083 # тесты стенда лабы 2 через балансировщик
BASE_URL="http://localhost:18083" .venv/bin/pytest -m stack -v -s student-tests/stack
============================= test session starts ==============================
collected 10 items
student-tests/stack/test_faults.py гонка 50 регистраций: 201×1, 409×49
.чат с несуществующим участником: 400
.неверный пароль: 401 за 0.012 с
неизвестный пользователь: 401 за 0.012 с
.logout: 204, затем 401, повтор 401
.5 проверок токена: keyspace_hits 394 → 399
.valkey остановлен, действующий токен: 200 за 0.004 с
valkey остановлен, неизвестный токен: 401 за 0.002 с
valkey остановлен: ready 200, вход 201, выход 503
valkey снова запущен: повторный выход 204
.рестарт valkey: ключей 28 → 28
рестарт valkey: живой 200, отозванный 401
.FLUSHALL: живой 200, отозванный 401
.postgres остановлен, ready: 503 за 0.003 с
postgres остановлен, live: 200 за 0.001 с
postgres остановлен, me: 503 за 0.002 с
postgres остановлен, stranger: 503 за 0.003 с
postgres остановлен, login: 503 за 0.002 с
postgres остановлен, register: 503 за 0.014 с
postgres запущен: готовность через 0.3 с, прежний токен 200
.рестарт api: готовность через 0.5 с, токен 200
expires_at при входе 2026-10-28T09:49:55.730592Z, в БД после рестарта 2026-10-28T09:49:55.730592Z
.
============================= 10 passed in 11.99s ==============================