docs: record exclusion evidence and move one-off probes into the driver
Adds worker-memory, freeze-sessions and freeze-lb driver commands, retakes the evidence they produce, and fills the report header. src/ and bench/ are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,22 +1,21 @@
|
||||
# Набор на временной базе
|
||||
|
||||
- Команда: `make test_isolated`
|
||||
- Дата: 2026-10-31, 23:00:01–23:02:21 UTC; код выхода 2 (`results: {'test': 0, 'student_test': 2}`)
|
||||
- Commit: `d8fe2e8` (ветка `feat/unit-of-work`), рабочее дерево чистое
|
||||
- Дата: 2026-11-01, 10:48:00–10:50:36 UTC; код выхода 0 (`results: {'test': 0, 'student_test': 0}`)
|
||||
- Commit: `9639aa1` (ветка `feat/track1-queue-overload`), код `src/` и `bench/` тот же, что на `5ee3257`; на рабочем дереве изменены `.claude/skills/run-mtusi-messenger/`, отчётные файлы и `evidence/`, в образ они не входят
|
||||
- Стенд: образ из рабочего дерева, контейнеры `mtusi-lab5-test-api`, `mtusi-lab5-test-worker`, `mtusi-lab5-test-relay` на базе `test_messenger` поверх хранилищ рабочего стенда, один процесс API, `EXPECT_REPLICAS=1`
|
||||
- Итог: smoke — `PASS: lab5`; набор — **1 failed, 217 passed, 6 skipped, 141 deselected, 121,10 с**
|
||||
- 6 skipped — тесты реплик против одного процесса, причина напечатана
|
||||
- Красное — ожидаемое `test_exclusion_evidence_exists`, только `missing_evidence` по трём файлам, которые снимаются на последнем шаге прогона лабы: `evidence/cache/hits.md`, `evidence/auth/passwords-and-tokens.md`, `evidence/idempotency/replay-after-restart.md`; разбор — `evidence/tests/student-test-lb.md`
|
||||
- Вывод сокращён: убраны лог сборки, строки `PASSED` и журналы контейнеров, которые цель печатает при коде ≠ 0
|
||||
- Итог: smoke — `PASS: lab5`; набор — **218 passed, 6 skipped, 147 deselected, 134,11 с**
|
||||
- 6 skipped — тесты реплик против одного процесса, причина напечатана; 147 deselected — проверки отказов (`evidence/tests/failure-checks.md`, снят на `d8fe2e8`)
|
||||
- Вывод сокращён: убраны лог сборки и строки `PASSED`
|
||||
|
||||
```text
|
||||
python3 tests/smoke.py --base-url "http://localhost:8080"
|
||||
PASS: lab5 public API scenario; infrastructure and grading evidence remain separate.
|
||||
|
||||
student-tests/test_coverage.py::test_exclusion_evidence_exists FAILED [ 50%]
|
||||
two series of 18 requests: {'fed908d45572': 36}
|
||||
ready in 0.44 s
|
||||
coverage: 371 scenarios in 16 specs, 349 tested (164 by make failure_checks), 22 excluded
|
||||
student-tests/test_coverage.py::test_exclusion_evidence_exists PASSED [ 50%]
|
||||
two series of 18 requests: {'d9060d224783': 36}
|
||||
ready in 0.64 s
|
||||
coverage: 389 scenarios in 17 specs, 358 tested (173 by make failure_checks), 31 excluded
|
||||
race: 10 clients x 10 messages, statuses {201: 100}, max in flight 10; history: 100 messages, 100 unique ids, 4 pages by 30
|
||||
username race: 10 clients, statuses {409: 9, 201: 1}, max in flight 10
|
||||
key race: 10 clients, statuses {201: 10}, max in flight 10; history: 1 messages
|
||||
@@ -26,8 +25,8 @@ SKIPPED [1] student-tests/test_idempotency.py:372: one API process (EXPECT_REPLI
|
||||
SKIPPED [1] student-tests/test_load_balancing.py:18: one API process (EXPECT_REPLICAS=1): replica checks need the stand with the load balancer
|
||||
SKIPPED [1] student-tests/test_load_balancing.py:34: one API process (EXPECT_REPLICAS=1): replica checks need the stand with the load balancer
|
||||
SKIPPED [1] student-tests/test_race.py:169: one API process (EXPECT_REPLICAS=1): replica checks need the stand with the load balancer
|
||||
===== 1 failed, 217 passed, 6 skipped, 141 deselected in 121.10s (0:02:01) =====
|
||||
========== 218 passed, 6 skipped, 147 deselected in 134.11s (0:02:14) ==========
|
||||
[test_isolated] cleanup
|
||||
[test_isolated] remove objects /buckets/messenger/test_messenger/ and queue test_messenger.attachment.process.v1
|
||||
[test_isolated] results: {'test': 0, 'student_test': 2}
|
||||
[test_isolated] results: {'test': 0, 'student_test': 0}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user