forked from mtusi2026/mtusi2026lab7
Перенесён минимум lab6 (API без изменений), добавлена защита на границах доверия: - внешний HTTPS; обязательный mTLS LB -> API с allowlist identity и отзывом по serial; - TLS на всех связях: PostgreSQL verify-full, MinIO HTTPS, RabbitMQ AMQPS mTLS (EXTERNAL), Valkey TLS + ACL, Collector и хранилища телеметрии через mTLS с отдельными CA; - OpenBao в server mode: cert auth, токены 15 мин, политики только на свой путь; - роли БД, S3-политики и права брокера по принципу минимальных прав; - Argon2id с замером, rehash, общий лимит входа, бюджет защиты от login DoS; - hardening всех контейнеров, scan образов с разбором, модель угроз, матрица доверия; - отрицательные тесты: TLS-аудит (135 проверок), ACL, ротации, sealed OpenBao.
81 lines
5.2 KiB
Plaintext
81 lines
5.2 KiB
Plaintext
10:18:35 scenario A: scenario_a
|
|
10:18:35 client saw: missing X-Request-Id
|
|
10:18:35 committed attachment a3900cbb-c50d-496c-9962-ba0ec39928d3 survived the API crash
|
|
10:18:35 statuses: processing -> ready
|
|
10:18:35 audit attempt=1 enqueued api:api-1
|
|
10:18:35 audit attempt=1 claimed 2e84bfa8176e:4f81b283
|
|
10:18:35 audit attempt=1 succeeded 2e84bfa8176e:4f81b283
|
|
10:18:36 scenario A PASS (1.9s)
|
|
10:18:36 scenario B: scenario_b
|
|
10:18:59 statuses: queued -> processing -> queued -> ready
|
|
10:18:59 audit attempt=1 enqueued api:api-2
|
|
10:18:59 audit attempt=1 claimed eb9974d4233a:3bafe435
|
|
10:18:59 audit attempt=1 retry_scheduled sweeper:2e84bfa8176e:4f81b28 lease_expired delay=1.34s
|
|
10:18:59 audit attempt=2 claimed 2e84bfa8176e:4f81b283
|
|
10:18:59 audit attempt=2 succeeded 2e84bfa8176e:4f81b283
|
|
10:19:00 scenario B PASS (23.6s)
|
|
10:19:00 scenario C: scenario_c
|
|
10:19:01 statuses: queued -> ready
|
|
10:19:01 audit attempt=1 enqueued api:api-2
|
|
10:19:01 audit attempt=1 claimed eb9974d4233a:f07c7c15
|
|
10:19:01 audit attempt=1 succeeded eb9974d4233a:f07c7c15
|
|
10:19:11 scenario C PASS (10.8s)
|
|
10:19:11 scenario D: scenario_d
|
|
10:19:22 statuses: processing -> queued -> ready
|
|
10:19:22 audit attempt=1 enqueued api:api-1
|
|
10:19:22 audit attempt=1 claimed 2e84bfa8176e:4f81b283
|
|
10:19:22 audit attempt=1 retry_scheduled 2e84bfa8176e:4f81b283 dependency_unavailable delay=1.33s
|
|
10:19:22 audit attempt=2 claimed eb9974d4233a:ea4f119d
|
|
10:19:22 audit attempt=2 retry_scheduled eb9974d4233a:ea4f119d dependency_unavailable delay=2.5s
|
|
10:19:22 audit attempt=3 claimed 2e84bfa8176e:4f81b283
|
|
10:19:22 audit attempt=3 retry_scheduled 2e84bfa8176e:4f81b283 dependency_unavailable delay=5.78s
|
|
10:19:22 audit attempt=4 claimed eb9974d4233a:ea4f119d
|
|
10:19:22 audit attempt=4 succeeded eb9974d4233a:ea4f119d
|
|
10:19:24 backoff delays: [1.33, 2.5, 5.78]
|
|
10:19:24 scenario D PASS (12.6s)
|
|
10:19:24 scenario E: scenario_e
|
|
10:19:24 audit attempt=1 enqueued api:api-2
|
|
10:19:24 audit attempt=1 claimed 2e84bfa8176e:4f81b283
|
|
10:19:24 audit attempt=1 failed 2e84bfa8176e:4f81b283 invalid_image
|
|
10:19:24 scenario E PASS (0.7s)
|
|
10:19:24 scenario F: scenario_f
|
|
10:19:48 failed registry contains the job; replay
|
|
10:20:11 statuses: queued -> ready
|
|
10:20:11 audit attempt=1 enqueued api:api-1
|
|
10:20:11 audit attempt=1 claimed eb9974d4233a:ea4f119d
|
|
10:20:11 audit attempt=1 retry_scheduled eb9974d4233a:ea4f119d dependency_unavailable delay=1.28s
|
|
10:20:11 audit attempt=2 claimed 2e84bfa8176e:4f81b283
|
|
10:20:11 audit attempt=2 retry_scheduled 2e84bfa8176e:4f81b283 dependency_unavailable delay=2.55s
|
|
10:20:11 audit attempt=3 claimed eb9974d4233a:ea4f119d
|
|
10:20:11 audit attempt=3 retry_scheduled eb9974d4233a:ea4f119d dependency_unavailable delay=6.47s
|
|
10:20:11 audit attempt=4 claimed 2e84bfa8176e:4f81b283
|
|
10:20:11 audit attempt=4 retry_scheduled 2e84bfa8176e:4f81b283 dependency_unavailable delay=9.94s
|
|
10:20:11 audit attempt=5 claimed eb9974d4233a:ea4f119d
|
|
10:20:11 audit attempt=5 failed eb9974d4233a:ea4f119d retry_exhausted
|
|
10:20:11 audit attempt=6 replayed operator:test-suite
|
|
10:20:11 audit attempt=6 claimed 2e84bfa8176e:4f81b283
|
|
10:20:11 audit attempt=6 retry_scheduled 2e84bfa8176e:4f81b283 dependency_unavailable delay=20.59s
|
|
10:20:11 audit attempt=7 claimed eb9974d4233a:ea4f119d
|
|
10:20:11 audit attempt=7 succeeded eb9974d4233a:ea4f119d
|
|
10:20:13 second replay refused: job is succeeded, attachment is ready
|
|
10:20:14 scenario F PASS (50.2s)
|
|
10:20:14 scenario G: scenario_g
|
|
10:20:38 statuses: processing -> queued -> processing -> ready
|
|
10:20:38 audit attempt=1 enqueued api:api-1
|
|
10:20:38 audit attempt=1 claimed 2e84bfa8176e:4f81b283
|
|
10:20:38 audit attempt=1 retry_scheduled sweeper:eb9974d4233a:ea4f119 lease_expired delay=1.12s
|
|
10:20:38 audit attempt=2 claimed eb9974d4233a:ea4f119d
|
|
10:20:38 audit attempt=2 succeeded eb9974d4233a:ea4f119d
|
|
10:21:11 scenario G PASS (56.4s)
|
|
10:21:11 scenario H: scenario_h
|
|
10:21:15 DLQ depth 0 -> 1
|
|
10:21:15 scenario H PASS (4.1s)
|
|
10:21:15 scenario I: scenario_i
|
|
10:21:19 broker down: upload 202, outbox holds 1 unpublished job
|
|
10:21:25 statuses: queued -> ready
|
|
10:21:25 audit attempt=1 enqueued api:api-1
|
|
10:21:25 audit attempt=1 claimed 2e84bfa8176e:4f81b283
|
|
10:21:25 audit attempt=1 succeeded 2e84bfa8176e:4f81b283
|
|
10:21:26 scenario I PASS (11.4s)
|
|
PASS: failure windows A B C D E F G H I
|