lab7: отчёт, разбор сканирования, доказательства прогона 43267046991
Skeleton contracts / contracts (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
# Доказательства
|
||||
|
||||
Храните небольшие обезличенные результаты: команды и stdout проверок, JSON/CSV агрегатов нагрузки, EXPLAIN, dashboard JSON, текст разбора отказа. Укажите дату, commit, аппаратные лимиты и профиль нагрузки.
|
||||
|
||||
Не добавляйте .env, session tokens, cookies, приватные ключи, credentials, реальные сообщения, raw dumps и signed URLs. Для скриншотов скрывайте секреты. Большие логи/бинарные traces сохраняйте отдельно по правилам преподавателя; одного скриншота без методики недостаточно.
|
||||
@@ -0,0 +1,24 @@
|
||||
? github.com/charawein/mtusi2026lab7/cmd/api [no test files]
|
||||
? github.com/charawein/mtusi2026lab7/cmd/pipeline [no test files]
|
||||
? github.com/charawein/mtusi2026lab7/cmd/reconcile [no test files]
|
||||
? github.com/charawein/mtusi2026lab7/cmd/secprobe [no test files]
|
||||
? github.com/charawein/mtusi2026lab7/internal/broker [no test files]
|
||||
? github.com/charawein/mtusi2026lab7/internal/config [no test files]
|
||||
? github.com/charawein/mtusi2026lab7/internal/domain [no test files]
|
||||
ok github.com/charawein/mtusi2026lab7/internal/imagecheck 0.022s
|
||||
ok github.com/charawein/mtusi2026lab7/internal/imaging 0.767s
|
||||
? github.com/charawein/mtusi2026lab7/internal/platform [no test files]
|
||||
ok github.com/charawein/mtusi2026lab7/internal/reconcile 0.012s
|
||||
? github.com/charawein/mtusi2026lab7/internal/repository [no test files]
|
||||
? github.com/charawein/mtusi2026lab7/internal/repository/postgres [no test files]
|
||||
? github.com/charawein/mtusi2026lab7/internal/repository/redis [no test files]
|
||||
? github.com/charawein/mtusi2026lab7/internal/secrets [no test files]
|
||||
ok github.com/charawein/mtusi2026lab7/internal/service 0.009s
|
||||
ok github.com/charawein/mtusi2026lab7/internal/storage 0.005s
|
||||
ok github.com/charawein/mtusi2026lab7/internal/telemetry 0.015s
|
||||
ok github.com/charawein/mtusi2026lab7/internal/tlsutil 4.229s
|
||||
? github.com/charawein/mtusi2026lab7/internal/transport/http [no test files]
|
||||
ok github.com/charawein/mtusi2026lab7/internal/transport/http/middleware 0.005s
|
||||
? github.com/charawein/mtusi2026lab7/internal/transport/httputil [no test files]
|
||||
ok github.com/charawein/mtusi2026lab7/internal/worker 6.961s
|
||||
? github.com/charawein/mtusi2026lab7/student-tests/genfixtures [no test files]
|
||||
@@ -0,0 +1,16 @@
|
||||
=== RUN TestTLSIdentityAllowlistRevocationAndReload
|
||||
2026/11/12 17:14:23 http: TLS handshake error from 127.0.0.1:37240: tls: client didn't provide a certificate
|
||||
2026/11/12 17:14:23 http: TLS handshake error from 127.0.0.1:37246: client identity not allowed: [attacker]
|
||||
2026/11/12 17:14:23 http: TLS handshake error from 127.0.0.1:37254: tls: failed to verify certificate: x509: certificate signed by unknown authority
|
||||
2026/11/12 17:14:25 http: TLS handshake error from 127.0.0.1:44556: client identity not allowed: certificate revoked
|
||||
--- PASS: TestTLSIdentityAllowlistRevocationAndReload (4.22s)
|
||||
PASS
|
||||
ok github.com/charawein/mtusi2026lab7/internal/tlsutil 4.226s
|
||||
=== RUN TestPutValidatedClassifiesCause
|
||||
--- PASS: TestPutValidatedClassifiesCause (0.00s)
|
||||
=== RUN TestValidatePassword
|
||||
--- PASS: TestValidatePassword (0.00s)
|
||||
=== RUN TestValidateText
|
||||
--- PASS: TestValidateText (0.00s)
|
||||
PASS
|
||||
ok github.com/charawein/mtusi2026lab7/internal/service 0.006s
|
||||
@@ -0,0 +1,18 @@
|
||||
=== RUN TestTracePropagationMapAndAMQP
|
||||
--- PASS: TestTracePropagationMapAndAMQP (0.00s)
|
||||
=== RUN TestTraceUnsampledSuppressesBackgroundSpans
|
||||
--- PASS: TestTraceUnsampledSuppressesBackgroundSpans (0.00s)
|
||||
=== RUN TestTraceLogCorrelation
|
||||
--- PASS: TestTraceLogCorrelation (0.00s)
|
||||
=== RUN TestTelemetrySetupBuildsProviders
|
||||
--- PASS: TestTelemetrySetupBuildsProviders (0.01s)
|
||||
PASS
|
||||
ok github.com/charawein/mtusi2026lab7/internal/telemetry 0.011s
|
||||
=== RUN TestTelemetryRouteTemplateAndStatus
|
||||
--- PASS: TestTelemetryRouteTemplateAndStatus (0.00s)
|
||||
PASS
|
||||
ok github.com/charawein/mtusi2026lab7/internal/transport/http/middleware 0.006s
|
||||
=== RUN TestPipelineTracePropagationThroughOutbox
|
||||
--- PASS: TestPipelineTracePropagationThroughOutbox (0.70s)
|
||||
PASS
|
||||
ok github.com/charawein/mtusi2026lab7/internal/worker 0.705s
|
||||
@@ -0,0 +1,39 @@
|
||||
=== RUN TestPipelineHappyPathAndDuplicate
|
||||
2026/11/12 17:14:12 INFO duplicate delivery of finished job: ack without work job_id=171265b2-fafc-4d50-a4be-f79e7b3a46f4 attachment_id=240061d5-1d00-40f7-928a-d8fc1d9f2263 version=1 event=job.duplicate
|
||||
--- PASS: TestPipelineHappyPathAndDuplicate (0.24s)
|
||||
=== RUN TestPipelineConcurrentDuplicateIsBusy
|
||||
2026/11/12 17:14:12 INFO job leased by another worker: ack duplicate job_id=4563f346-08b5-4df9-b910-4ef28949eff5 attachment_id=50d6d2d9-545c-4367-99d7-1e0905d4aa81 version=1 event=job.duplicate owner=slow-worker
|
||||
--- PASS: TestPipelineConcurrentDuplicateIsBusy (0.17s)
|
||||
=== RUN TestPipelineCrashAfterSideEffectBeforeCommit
|
||||
2026/11/12 17:14:14 WARN FAULT INJECTION: crashing point=worker.after_side_effect
|
||||
2026/11/12 17:14:14 INFO job leased by another worker: ack duplicate job_id=a2119a53-ef46-42e2-87c2-3374ef5d364a attachment_id=6af36eaf-d341-4f59-8437-6d0a41a41c94 version=1 event=job.duplicate owner=w-fd7888
|
||||
--- PASS: TestPipelineCrashAfterSideEffectBeforeCommit (3.05s)
|
||||
=== RUN TestPipelineCrashAfterCommitBeforeAck
|
||||
2026/11/12 17:14:15 WARN FAULT INJECTION: crashing point=worker.after_commit
|
||||
2026/11/12 17:14:15 INFO duplicate delivery of finished job: ack without work job_id=764d00c1-7085-4f4d-8f0e-e5d1fce0d526 attachment_id=e8964090-117a-4651-b075-a04ab5935c70 version=1 event=job.duplicate
|
||||
--- PASS: TestPipelineCrashAfterCommitBeforeAck (0.17s)
|
||||
=== RUN TestPipelineRelayCrashAfterPublishDuplicates
|
||||
2026/11/12 17:14:15 INFO duplicate delivery of finished job: ack without work job_id=3e545245-fc57-4d3c-82f1-95e7b0f21cc3 attachment_id=2f86dba8-b3d1-4a79-8f6d-9c4d3041d350 version=1 event=job.duplicate
|
||||
--- PASS: TestPipelineRelayCrashAfterPublishDuplicates (0.17s)
|
||||
=== RUN TestPipelineVersionReorderAndStaleJob
|
||||
2026/11/12 17:14:15 INFO duplicate delivery of finished job: ack without work job_id=59e6b1aa-a4ce-4008-b6bd-3ed7918367d5 attachment_id=e440373b-b9fd-4654-9745-d814262eb7eb version=1 event=job.duplicate
|
||||
--- PASS: TestPipelineVersionReorderAndStaleJob (0.20s)
|
||||
=== RUN TestPipelineLostLeaseFencing
|
||||
--- PASS: TestPipelineLostLeaseFencing (0.69s)
|
||||
=== RUN TestPipelineTransientRetryWithBackoff
|
||||
2026/11/12 17:14:16 WARN attempt failed job_id=fc0ed4e9-3a91-4fb8-ab2d-29543335a3d7 attachment_id=abeb1248-ee98-46e7-ac2e-29d868dd7efe version=1 event=job.retry attempt=1 code=processing_failed final=false backoff=145.861651ms
|
||||
2026/11/12 17:14:16 INFO early delivery before backoff: ack, outbox will redeliver job_id=fc0ed4e9-3a91-4fb8-ab2d-29543335a3d7 attachment_id=abeb1248-ee98-46e7-ac2e-29d868dd7efe version=1 event=job.not_due
|
||||
--- PASS: TestPipelineTransientRetryWithBackoff (0.69s)
|
||||
=== RUN TestPipelinePermanentFailureAndReplay
|
||||
2026/11/12 17:14:17 WARN attempt failed job_id=95e8e0c1-b10c-469c-b708-6b547cc2042c attachment_id=78f28e8b-ddd6-42f0-b80c-5b01a708f0fa version=1 event=job.failed attempt=1 code=checksum_mismatch final=true backoff=132.23852ms
|
||||
--- PASS: TestPipelinePermanentFailureAndReplay (0.20s)
|
||||
=== RUN TestPipelineRetryExhausted
|
||||
2026/11/12 17:14:17 WARN attempt failed job_id=b86ec031-3705-40a5-a96d-219da34c55cb attachment_id=ef57db6e-fc00-44c1-aa33-29bbd3cb53e6 version=1 event=job.retry attempt=1 code=processing_failed final=false backoff=115.778267ms
|
||||
2026/11/12 17:14:18 WARN attempt failed job_id=b86ec031-3705-40a5-a96d-219da34c55cb attachment_id=ef57db6e-fc00-44c1-aa33-29bbd3cb53e6 version=1 event=job.retry attempt=2 code=processing_failed final=false backoff=212.923342ms
|
||||
2026/11/12 17:14:18 WARN attempt failed job_id=b86ec031-3705-40a5-a96d-219da34c55cb attachment_id=ef57db6e-fc00-44c1-aa33-29bbd3cb53e6 version=1 event=job.failed attempt=3 code=processing_failed final=true backoff=346.808043ms
|
||||
--- PASS: TestPipelineRetryExhausted (1.63s)
|
||||
=== RUN TestPipelineTracePropagationThroughOutbox
|
||||
2026/11/12 17:14:19 WARN attempt failed job_id=d3e37ccd-f331-4f2d-add2-5f4f0c07dc82 attachment_id=71e4e1cd-a9a5-418c-867c-d1956ca5d5fd version=1 event=job.retry attempt=1 code=processing_failed final=false backoff=192.048206ms
|
||||
--- PASS: TestPipelineTracePropagationThroughOutbox (0.67s)
|
||||
PASS
|
||||
ok github.com/charawein/mtusi2026lab7/internal/worker 7.886s
|
||||
@@ -0,0 +1,4 @@
|
||||
=== RUN TestOptimizedWebP
|
||||
--- PASS: TestOptimizedWebP (0.34s)
|
||||
PASS
|
||||
ok github.com/charawein/mtusi2026lab7/internal/imaging 0.350s
|
||||
Reference in New Issue
Block a user