Files
mtusi2026lab3/evidence/tests/h4-revert.txt
T

51 lines
2.3 KiB
Plaintext

# Что доказывает: после опровержения H4 исходный пул 10 + 5 восстановлен;
# приложение и сценарии отказов проходят проверки.
# Дата UTC: 2026-10-15 (16 октября по Europe/Moscow).
# Окружение: Apple M4, macOS 26.6.2; Docker 28.0.4,
# Compose 2.34.0-desktop.1; pytest на Python 3.13.7.
# Стенды: отдельные vladimirceva-lab3-isolated (LB, 2 API) и
# vladimirceva-lab3-failures; после каждого выполнена штатная уборка.
# Код: src_sha256 0349e9a2701784673391c0ba4bc2eedba7013098d6ff7f871261aab36f78354a.
# Вывод сокращён с пометками (...); полные журналы текущего запуска:
# /tmp/lab3-h4-revert-isolated.log, /tmp/lab3-h4-revert-failure.log.
$ make fmt
uv run ruff format .
94 files left unchanged
uv run ruff check --fix .
All checks passed!
$ make lint
uv run ruff format --check .
94 files already formatted
uv run ruff check .
All checks passed!
$ make check
python3 scripts/check_contract.py
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
$ make test-isolated
python3 student-tests/stand.py isolated
...
====================== 84 passed, 15 deselected in 11.69s ======================
[isolated] make test-failover (scripts/stop-one.sh)
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 123, "failed_attempts": 0, "first_recovery_seconds": 0.959}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
...
[isolated] make test-persistence (scripts/restart.sh)
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
[isolated] cleanup
[isolated] results: {'test': 0, 'student-test': 0, 'test-failover': 0, 'test-persistence': 0}
$ make failure-checks
python3 student-tests/stand.py failures
...
====================== 15 passed, 84 deselected in 42.31s ======================
[failures] cleanup
[failures] results: {'fault': 0}
# Все проверки прошли; хеш восстановленного приложения совпал с baseline.