Files
mtusi2026lab2/evidence/regression-level4.txt
T
ArtyomandClaude Opus 5.5 2b19277b1e Record level 4 evidence and fill in the report
Evidence comes from the running stand at a774a2f: upload-faults.txt
with the negative suite through the balancer (36 user errors, no 5xx
in the replica logs) and the compensation, crash, sweep, abort and
stall checks; upload-memory with per-run JSON and a summary for 64
and 3 slots, 1 and 10 MiB and 10, 20 and 40 concurrent uploads plus
the mmap threshold comparison; s3-security.txt with 23 checks; and
regression-level4.txt showing that smoke, persistence, failover of
each replica, the upload failover, S3 outage and abort scenarios, the
limits policy and all 15 stand checks still pass. The lint and own
test log now counts 335 tests. The upload-faults target stamps its
output with the date and commit.

REPORT.md gains rows 4.1 to 4.4 and a regression row, the compensation
and sweep mechanism with its grace period, where each upload limit and
buffer cap applies, the new variables, level 4 failure rows and the
memory experiment with hypothesis, method, results and limits. AGENTS
lists the new targets.

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

32 lines
2.1 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-28T21:19:01Z commit: a774a2f BASE_URL=http://localhost:18084
# Регрессия уровня «3» и лабы 3 после изменений уровня «4» (буферы сокетов LB и API, порог mmap, слоты, уборка)
$ make test
PASS: lab4 public API scenario; infrastructure and grading evidence remain separate.
$ make test-persistence ACTION_SCRIPT=scripts/restart.sh
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
$ make test-failover ACTION_SCRIPT=scripts/stop-one.sh # прогон 1
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
mtusi2026lab4-api-1 Up 25 seconds (healthy)
mtusi2026lab4-api-2 Exited (0) 12 seconds ago
$ make restore
restored: 2 healthy
$ make test-failover ACTION_SCRIPT=scripts/stop-one.sh # прогон 2
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
mtusi2026lab4-api-1 Exited (0) 12 seconds ago
mtusi2026lab4-api-2 Up 17 seconds (healthy)
$ make restore
restored: 2 healthy
$ python3 scripts/lab4_scenarios.py failover-upload --restore
exit 0: {'ok': True, 'upload_instance': '0b2544e9c8de', 'download_instance': 'cf30d7db141f', 'sha256_equal': True, 'download_ok_after_seconds': 2.709}
$ python3 scripts/lab4_scenarios.py s3-outage --restore
exit 0: {'ok': True, 'as_expected': True, 's3_back_healthy_seconds': 5.697}
$ python3 scripts/lab4_scenarios.py abort-upload --restore
exit 0: {'ok': True, 'rows_by_status': {}, 'ready_rows': 0, 'api_still_serves': True}
s3-outage: upload 503 за 1.696 с, metadata 200 за 0.018 с, download 503 за 1.631 с, text_message 201 за 0.007 с, health_ready 200 за 0.002 с
$ make limits
PASS: limits, ports, secrets, volumes and networks match the policy
$ make test-faults # все проверки стенда student-tests/stack: лабы 2–3 и уровень «4» лабы 4
======================== 15 passed in 64.77s (0:01:04) =========================
student-tests/stack/test_attachment_faults.py: 5
student-tests/stack/test_faults.py: 10