Files
mtusi2026lab2/evidence/faults.txt
T
ArtyomandClaude Opus 5.5 e722cb357d Record levels 3 and 4 again on the final code
Every level 3 and level 4 file in evidence was taken on e00eb6c, before
track 1 rewrote the message write into one statement under the chat
lock. The runs are repeated on a02d442: smoke, stack, storage, both
failovers (the second after one shifting request), persistence, hooks,
the lab 2 fault tests, limits and injected violations, 20 same-key races,
three detection runs, failover-each under k6 and both rolling updates.
All pass. checks.txt adds the real output of make check, make validate
and make lint, and student-tests.txt includes the new access order test.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
2026-10-29 23:24:11 +03:00

39 lines
2.2 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-29T20:16:02Z commit: a02d442
$ make test-faults # BASE_URL=http://127.0.0.1:18083
BASE_URL="http://127.0.0.1:18083" .venv/bin/pytest -m stack -v -s student-tests/stack
============================= test session starts ==============================
platform darwin -- Python 3.14.5, pytest-9.1.1, pluggy-1.6.0
rootdir: <repo>
configfile: pyproject.toml
plugins: asyncio-1.4.0, anyio-4.15.1
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=function, asyncio_default_test_loop_scope=function
collected 10 items
student-tests/stack/test_faults.py гонка 50 регистраций: 201×1, 409×49
.чат с несуществующим участником: 400
.неверный пароль: 401 за 0.015 с
неизвестный пользователь: 401 за 0.014 с
.logout: 204, затем 401, повтор 401
.5 проверок токена: keyspace_hits 4 → 9
.valkey остановлен, действующий токен: 200 за 0.005 с
valkey остановлен, неизвестный токен: 401 за 0.003 с
valkey остановлен: ready 200, вход 201, выход 503
valkey снова запущен: повторный выход 204
.рестарт valkey: ключей 15 → 15
рестарт valkey: живой 200, отозванный 401
.FLUSHALL: живой 200, отозванный 401
.postgres остановлен, ready: 503 за 0.003 с
postgres остановлен, me: 503 за 0.003 с
postgres остановлен, stranger: 503 за 0.003 с
postgres остановлен, login: 503 за 0.003 с
postgres остановлен, register: 503 за 0.015 с
live внутри реплики 200; LB исключил все реплики ещё через 1.03 с
live через LB без реплик: 503 за 0.000 с
postgres запущен: готовность через 2.3 с, прежний токен 200
.рестарт api: готовность через 2.8 с, токен 200
expires_at при входе 2026-10-29T21:16:16.447011Z, в БД после рестарта 2026-10-29T21:16:16.447011Z
.
============================= 10 passed in 19.53s ==============================
exit=0