Files
mtusi2026lab4/evidence/criteria/runs/20261018T203755.405686Z/backend.txt
T
2026-10-19 00:20:43 +03:00

533 lines
25 KiB
Plaintext

python3 scripts/init_env.py
Local .env and connection files ready; existing values and files preserved.
chmod +x scripts/restart.sh scripts/stop-one.sh
docker compose --project-name highload-lab4 --env-file .env -f compose.yml --profile test run --build --rm backend-tests
Image highload-lab4-s3-bootstrap Building
Image highload-lab4-s3 Building
#1 [internal] load local bake definitions
#1 reading from stdin 1.08kB done
#1 DONE 0.0s
#2 [s3 internal] load build definition from minio.Dockerfile
#2 DONE 0.0s
#3 [s3-bootstrap internal] load build definition from Dockerfile
#3 transferring dockerfile: 661B 0.0s done
#3 DONE 0.1s
#4 [s3-bootstrap internal] load metadata for docker.io/library/golang:1.22.2-bookworm
#4 DONE 0.0s
#2 [s3 internal] load build definition from minio.Dockerfile
#2 transferring dockerfile: 1.01kB 0.0s done
#2 DONE 0.1s
#5 [s3 internal] load metadata for docker.io/library/debian:12.15-slim
#5 DONE 0.0s
#6 [s3-bootstrap internal] load .dockerignore
#6 transferring context: 268B 0.0s done
#6 DONE 0.1s
#7 [s3 internal] load metadata for docker.io/library/golang:1.24.2-bookworm
#7 ...
#8 [s3-bootstrap stage-1 1/4] FROM docker.io/library/debian:12.15-slim@sha256:88200866dfff7ea7f5cbcb6ec7c8a701889efe6fe859fe64d6990e4b07ea4171
#8 resolve docker.io/library/debian:12.15-slim@sha256:88200866dfff7ea7f5cbcb6ec7c8a701889efe6fe859fe64d6990e4b07ea4171 0.0s done
#8 DONE 0.0s
#9 [s3-bootstrap builder 1/6] FROM docker.io/library/golang:1.22.2-bookworm@sha256:d0902bacefdde1cf45528c098d14e55d78c107def8a22d148eabd71582d7a99f
#9 resolve docker.io/library/golang:1.22.2-bookworm@sha256:d0902bacefdde1cf45528c098d14e55d78c107def8a22d148eabd71582d7a99f 0.0s done
#9 DONE 0.0s
#10 [s3-bootstrap internal] load build context
#10 ...
#7 [s3 internal] load metadata for docker.io/library/golang:1.24.2-bookworm
#7 DONE 0.6s
#10 [s3-bootstrap internal] load build context
#10 transferring context: 4.39kB 0.5s done
#10 DONE 0.5s
#8 [s3 stage-1 1/4] FROM docker.io/library/debian:12.15-slim@sha256:88200866dfff7ea7f5cbcb6ec7c8a701889efe6fe859fe64d6990e4b07ea4171
#8 resolve docker.io/library/debian:12.15-slim@sha256:88200866dfff7ea7f5cbcb6ec7c8a701889efe6fe859fe64d6990e4b07ea4171 0.0s done
#8 DONE 0.0s
#11 [s3 internal] load .dockerignore
#11 transferring context: 2B 0.0s done
#11 DONE 0.0s
#12 [s3-bootstrap builder 6/6] RUN CGO_ENABLED=0 GOOS=linux go build -trimpath -ldflags="-s -w" -o /out/messenger ./backend
#12 CACHED
#13 [s3-bootstrap builder 3/6] COPY go.mod go.sum ./
#13 CACHED
#14 [s3-bootstrap builder 4/6] RUN go mod download
#14 CACHED
#15 [s3-bootstrap builder 2/6] WORKDIR /src
#15 CACHED
#16 [s3-bootstrap stage-1 2/4] RUN groupadd --system app && useradd --system --gid app --no-create-home app
#16 CACHED
#17 [s3-bootstrap builder 5/6] COPY backend ./backend
#17 CACHED
#18 [s3-bootstrap stage-1 3/4] WORKDIR /app
#18 CACHED
#19 [s3-bootstrap stage-1 4/4] COPY --from=builder /out/messenger ./messenger
#19 CACHED
#20 [s3 builder 1/4] FROM docker.io/library/golang:1.24.2-bookworm@sha256:79390b5e5af9ee6e7b1173ee3eac7fadf6751a545297672916b59bfa0ecf6f71
#20 resolve docker.io/library/golang:1.24.2-bookworm@sha256:79390b5e5af9ee6e7b1173ee3eac7fadf6751a545297672916b59bfa0ecf6f71 0.0s done
#20 DONE 0.1s
#21 [s3 builder 3/4] RUN git init . && git remote add origin https://github.com/minio/minio.git && git fetch --depth 1 origin 0d7408fc9969caf07de6a8c3a84f9fbb10a6739e && git checkout --detach FETCH_HEAD
#21 CACHED
#22 [s3 builder 4/4] RUN CGO_ENABLED=0 go build -trimpath -ldflags="-s -w -X github.com/minio/minio/cmd.Version=2025-04-22T22:12:26Z -X github.com/minio/minio/cmd.ReleaseTag=RELEASE.2025-04-22T22-12-26Z -X github.com/minio/minio/cmd.CommitID=0d7408fc9969caf07de6a8c3a84f9fbb10a6739e" -o /out/minio .
#22 CACHED
#23 [s3 stage-1 2/3] RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl && rm -rf /var/lib/apt/lists/* && groupadd --system storage && useradd --system --gid storage storage && mkdir /data && chown storage:storage /data
#23 CACHED
#24 [s3 builder 2/4] WORKDIR /source
#24 CACHED
#25 [s3 stage-1 3/3] COPY --from=builder /out/minio /usr/local/bin/minio
#25 CACHED
#26 [s3-bootstrap] exporting to image
#26 exporting layers done
#26 exporting manifest sha256:dd2bbbd4483023e5124c00da1cc13633ac948721c55e0bf6a6bf7331c0cd06e4 done
#26 exporting config sha256:6c819718ab87aac477b0a779c7763274bbabe01223ec05eb372077f96b98adb3 done
#26 exporting attestation manifest sha256:4e1cb2592720a346fc681606478951a95ab5589711c24ef1b8fc42c20f4e3b75 0.0s done
#26 exporting manifest list sha256:c9a7613d41fc469eeb618c2f607be411e843916ca216449c6c9ce41ea0afadc7 0.0s done
#26 naming to docker.io/library/highload-lab4-s3-bootstrap:latest done
#26 unpacking to docker.io/library/highload-lab4-s3-bootstrap:latest 0.0s done
#26 DONE 0.2s
#27 [s3] exporting to image
#27 exporting layers done
#27 exporting manifest sha256:cf1641bb428d024d81f932bd8ab277ade2790aa5cb2ec1b90238a00df54ccbee done
#27 exporting config sha256:b261b45a54ac72fb091ebba0c6b5e09aedc1239e48fe469c1d81ae7ea23621e6 0.0s done
#27 exporting attestation manifest sha256:d90f5c8d3d8cf65e8e6d336fc2c8212925adacea602e77273e6ea83e522f322d 0.0s done
#27 exporting manifest list sha256:abb33d1db0688c1b340efeafa81f0a188fae5d2e7d5104682908e1f8b67b546a 0.0s done
#27 naming to docker.io/library/highload-lab4-s3:latest done
#27 unpacking to docker.io/library/highload-lab4-s3:latest 0.0s done
#27 DONE 0.2s
#28 [s3-bootstrap] resolving provenance for metadata file
#28 DONE 0.0s
#29 [s3] resolving provenance for metadata file
#29 DONE 0.0s
Image highload-lab4-s3 Built
Image highload-lab4-s3-bootstrap Built
Container highload-lab4-db-1 Running
Container highload-lab4-s3-1 Running
Container highload-lab4-redis-1 Running
Container highload-lab4-s3-1 Waiting
Container highload-lab4-s3-1 Healthy
Container highload-lab4-s3-bootstrap-1 Starting
Container highload-lab4-s3-bootstrap-1 Started
Image highload-lab4-backend-tests Building
#1 [internal] load local bake definitions
#1 reading from stdin 1.58kB done
#1 DONE 0.0s
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 661B 0.0s done
#2 DONE 0.1s
#3 [internal] load metadata for docker.io/library/golang:1.22.2-bookworm
#3 DONE 0.0s
#4 [internal] load .dockerignore
#4 transferring context: 33B
#4 transferring context: 268B 0.0s done
#4 DONE 0.0s
#5 [builder 1/6] FROM docker.io/library/golang:1.22.2-bookworm@sha256:d0902bacefdde1cf45528c098d14e55d78c107def8a22d148eabd71582d7a99f
#5 resolve docker.io/library/golang:1.22.2-bookworm@sha256:d0902bacefdde1cf45528c098d14e55d78c107def8a22d148eabd71582d7a99f 0.0s done
#5 DONE 0.0s
#6 [internal] load build context
#6 transferring context: 4.39kB 0.5s done
#6 DONE 0.5s
#7 [builder 2/6] WORKDIR /src
#7 CACHED
#8 [builder 3/6] COPY go.mod go.sum ./
#8 CACHED
#9 [builder 4/6] RUN go mod download
#9 CACHED
#10 [builder 5/6] COPY backend ./backend
#10 CACHED
#11 [builder 6/6] RUN CGO_ENABLED=0 GOOS=linux go build -trimpath -ldflags="-s -w" -o /out/messenger ./backend
#11 CACHED
#12 exporting to image
#12 exporting layers done
#12 exporting manifest sha256:342fd07d626776537b397a8a6f8baa4b8bec9db010893bfeabc0e8a36b55cfd5 done
#12 exporting config sha256:45a05b24d4b61e41474a7ec0815634ba3ad8e46f9a02c6fd53f1c2d40b9d7429 done
#12 exporting attestation manifest sha256:b6e80a9d1751b9d695420b019bb354ec1ef2aee3464db8fa7a3193f12d326dae
#12 exporting attestation manifest sha256:b6e80a9d1751b9d695420b019bb354ec1ef2aee3464db8fa7a3193f12d326dae 0.0s done
#12 exporting manifest list sha256:f62521487a7e8ce67a1e92cae7a493447885d87d99c6ef8e28942a5e3af2c66e 0.0s done
#12 naming to docker.io/library/highload-lab4-backend-tests:latest done
#12 unpacking to docker.io/library/highload-lab4-backend-tests:latest 0.0s done
#12 DONE 0.1s
#13 resolving provenance for metadata file
#13 DONE 0.0s
Image highload-lab4-backend-tests Built
Container highload-lab4-redis-1 Waiting
Container highload-lab4-s3-bootstrap-1 Waiting
Container highload-lab4-db-1 Waiting
Container highload-lab4-s3-bootstrap-1 Exited
Container highload-lab4-db-1 Healthy
Container highload-lab4-redis-1 Healthy
Container highload-lab4-backend-tests-run-3c4d84766446 Creating
Container highload-lab4-backend-tests-run-3c4d84766446 Created
? messenger/src/backend [no test files]
? messenger/src/backend/handlers [no test files]
? messenger/src/backend/repositories [no test files]
? messenger/src/backend/services [no test files]
=== RUN TestAttachmentCleanupGraceLocksProtectionAndRetry
--- PASS: TestAttachmentCleanupGraceLocksProtectionAndRetry (0.88s)
=== RUN TestAttachmentCleanupInvalidKeyIsNeverDeleted
--- PASS: TestAttachmentCleanupInvalidKeyIsNeverDeleted (0.61s)
=== RUN TestAttachmentValidationHTTP
--- PASS: TestAttachmentValidationHTTP (1.47s)
=== RUN TestAttachmentAccessHTTP
--- PASS: TestAttachmentAccessHTTP (1.08s)
=== RUN TestUploadRecoveryHTTPDisconnect
--- PASS: TestUploadRecoveryHTTPDisconnect (1.09s)
=== RUN TestAttachmentImageValidation
--- PASS: TestAttachmentImageValidation (0.00s)
=== RUN TestAttachmentFilenameValidation
--- PASS: TestAttachmentFilenameValidation (0.00s)
=== RUN TestAttachmentMessageRequiresStringText
--- PASS: TestAttachmentMessageRequiresStringText (0.59s)
=== RUN TestConcurrentMessageCreation
--- PASS: TestConcurrentMessageCreation (3.88s)
=== RUN TestConnectionFilesTakePrecedence
--- PASS: TestConnectionFilesTakePrecedence (0.00s)
=== RUN TestConfiguredIdempotencyTTL
--- PASS: TestConfiguredIdempotencyTTL (0.62s)
=== RUN TestInvalidIdempotencyTTL
--- PASS: TestInvalidIdempotencyTTL (0.00s)
=== RUN TestCursorRejectsInvalidUUIDBeforeDatabaseAccess
=== RUN TestCursorRejectsInvalidUUIDBeforeDatabaseAccess/chats/user_id/not-a-uuid
=== RUN TestCursorRejectsInvalidUUIDBeforeDatabaseAccess/chats/chat_id/not-a-uuid
=== RUN TestCursorRejectsInvalidUUIDBeforeDatabaseAccess/messages/chat_id/not-a-uuid
=== RUN TestCursorRejectsInvalidUUIDBeforeDatabaseAccess/messages/message_id/not-a-uuid
=== RUN TestCursorRejectsInvalidUUIDBeforeDatabaseAccess/chats/user_id/ffffffff-ffff-ffff-ffff-fffffffffffz
=== RUN TestCursorRejectsInvalidUUIDBeforeDatabaseAccess/chats/chat_id/ffffffff-ffff-ffff-ffff-fffffffffffz
=== RUN TestCursorRejectsInvalidUUIDBeforeDatabaseAccess/messages/chat_id/ffffffff-ffff-ffff-ffff-fffffffffffz
=== RUN TestCursorRejectsInvalidUUIDBeforeDatabaseAccess/messages/message_id/ffffffff-ffff-ffff-ffff-fffffffffffz
--- PASS: TestCursorRejectsInvalidUUIDBeforeDatabaseAccess (0.00s)
--- PASS: TestCursorRejectsInvalidUUIDBeforeDatabaseAccess/chats/user_id/not-a-uuid (0.00s)
--- PASS: TestCursorRejectsInvalidUUIDBeforeDatabaseAccess/chats/chat_id/not-a-uuid (0.00s)
--- PASS: TestCursorRejectsInvalidUUIDBeforeDatabaseAccess/messages/chat_id/not-a-uuid (0.00s)
--- PASS: TestCursorRejectsInvalidUUIDBeforeDatabaseAccess/messages/message_id/not-a-uuid (0.00s)
--- PASS: TestCursorRejectsInvalidUUIDBeforeDatabaseAccess/chats/user_id/ffffffff-ffff-ffff-ffff-fffffffffffz (0.00s)
--- PASS: TestCursorRejectsInvalidUUIDBeforeDatabaseAccess/chats/chat_id/ffffffff-ffff-ffff-ffff-fffffffffffz (0.00s)
--- PASS: TestCursorRejectsInvalidUUIDBeforeDatabaseAccess/messages/chat_id/ffffffff-ffff-ffff-ffff-fffffffffffz (0.00s)
--- PASS: TestCursorRejectsInvalidUUIDBeforeDatabaseAccess/messages/message_id/ffffffff-ffff-ffff-ffff-fffffffffffz (0.00s)
=== RUN TestChatCursorPreservesPosition
--- PASS: TestChatCursorPreservesPosition (0.00s)
=== RUN TestDirectUploadCleanupSafetyAndReplay
--- PASS: TestDirectUploadCleanupSafetyAndReplay (0.87s)
=== RUN TestDirectUploadCleanupDependencyFailureAndMalformedKey
--- PASS: TestDirectUploadCleanupDependencyFailureAndMalformedKey (0.66s)
=== RUN TestDirectUploadAccessPermissionsAndLifecycle
--- PASS: TestDirectUploadAccessPermissionsAndLifecycle (0.98s)
=== RUN TestDirectUploadAccessCORS
--- PASS: TestDirectUploadAccessCORS (0.02s)
=== RUN TestDirectUploadFlow
--- PASS: TestDirectUploadFlow (0.76s)
=== RUN TestDirectUploadValidationHTTP
--- PASS: TestDirectUploadValidationHTTP (0.69s)
=== RUN TestDirectUploadValidationContents
--- PASS: TestDirectUploadValidationContents (0.82s)
=== RUN TestDirectUploadAccess
--- PASS: TestDirectUploadAccess (1.30s)
=== RUN TestDirectUploadRecoveryConcurrentComplete
--- PASS: TestDirectUploadRecoveryConcurrentComplete (0.61s)
=== RUN TestDirectUploadRecoveryFailures
=== RUN TestDirectUploadRecoveryFailures/copy-result-loss
=== RUN TestDirectUploadRecoveryFailures/get-failure
=== RUN TestDirectUploadRecoveryFailures/metadata-rejection
=== RUN TestDirectUploadRecoveryFailures/database-disconnect
--- PASS: TestDirectUploadRecoveryFailures (2.66s)
--- PASS: TestDirectUploadRecoveryFailures/copy-result-loss (0.66s)
--- PASS: TestDirectUploadRecoveryFailures/get-failure (0.62s)
--- PASS: TestDirectUploadRecoveryFailures/metadata-rejection (0.67s)
--- PASS: TestDirectUploadRecoveryFailures/database-disconnect (0.71s)
=== RUN TestDirectUploadRecoveryProcessExit
--- PASS: TestDirectUploadRecoveryProcessExit (0.85s)
=== RUN TestDirectUploadCrashHelper
--- PASS: TestDirectUploadCrashHelper (0.00s)
=== RUN TestDirectUploadRecoverySharedSlotAndCancellation
--- PASS: TestDirectUploadRecoverySharedSlotAndCancellation (0.63s)
=== RUN TestConcurrentRegistrationSameUsername
--- PASS: TestConcurrentRegistrationSameUsername (1.18s)
=== RUN TestChatTransactionRollsBackAfterMemberInsertFailure
--- PASS: TestChatTransactionRollsBackAfterMemberInsertFailure (1.30s)
=== RUN TestShortSessionTTLAndLogout
grade4_lab2_test.go:118: GET /api/v1/users/me: HTTP 200
grade4_lab2_test.go:134: SESSION_TTL_SECONDS=2: expiry observed after 2.055101347s
grade4_lab2_test.go:135: GET /api/v1/users/me: HTTP 401
grade4_lab2_test.go:146: GET /api/v1/users/me: HTTP 401
--- PASS: TestShortSessionTTLAndLogout (2.68s)
=== RUN TestWrongPasswordAndLogoutHTTP
--- PASS: TestWrongPasswordAndLogoutHTTP (1.27s)
=== RUN TestDependencyFailuresReturnUnavailable
redis: 2026/10/18 20:40:44 pool.go:426: redis: connection pool: failed to dial after 5 attempts: dial tcp 127.0.0.1:1: connect: connection refused
redis: 2026/10/18 20:40:44 pool.go:426: redis: connection pool: failed to dial after 5 attempts: dial tcp 127.0.0.1:1: connect: connection refused
redis: 2026/10/18 20:40:45 pool.go:426: redis: connection pool: failed to dial after 5 attempts: dial tcp 127.0.0.1:1: connect: connection refused
--- PASS: TestDependencyFailuresReturnUnavailable (2.40s)
=== RUN TestHistoryQueryPlanAtTenThousandMessages
=== RUN TestHistoryQueryPlanAtTenThousandMessages/first
grade4_lab2_test.go:281: first page EXPLAIN (ANALYZE, BUFFERS): [
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 0.29,
"Total Cost": 4.29,
"Plan Rows": 51,
"Plan Width": 69,
"Actual Startup Time": 0.020,
"Actual Total Time": 0.033,
"Actual Rows": 51,
"Actual Loops": 1,
"Shared Hit Blocks": 3,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Index Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Scan Direction": "Forward",
"Index Name": "messages_history_idx",
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 0.29,
"Total Cost": 784.70,
"Plan Rows": 9999,
"Plan Width": 69,
"Actual Startup Time": 0.019,
"Actual Total Time": 0.027,
"Actual Rows": 51,
"Actual Loops": 1,
"Index Cond": "((chat_id = 'b223d993-d605-4bfe-8035-435c9ede3221'::uuid) AND (ROW(created_at, id) > ROW('0001-01-01 00:00:00+00'::timestamp with time zone, '00000000-0000-0000-0000-000000000000'::uuid)))",
"Rows Removed by Index Recheck": 0,
"Shared Hit Blocks": 3,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
}
]
},
"Planning": {
"Shared Hit Blocks": 6,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
},
"Planning Time": 0.144,
"Triggers": [
],
"Execution Time": 0.176
}
]
=== RUN TestHistoryQueryPlanAtTenThousandMessages/late
grade4_lab2_test.go:281: late page EXPLAIN (ANALYZE, BUFFERS): [
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 0.29,
"Total Cost": 14.48,
"Plan Rows": 51,
"Plan Width": 69,
"Actual Startup Time": 0.029,
"Actual Total Time": 0.049,
"Actual Rows": 51,
"Actual Loops": 1,
"Shared Hit Blocks": 3,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Index Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Scan Direction": "Forward",
"Index Name": "messages_history_idx",
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 0.29,
"Total Cost": 278.27,
"Plan Rows": 999,
"Plan Width": 69,
"Actual Startup Time": 0.028,
"Actual Total Time": 0.042,
"Actual Rows": 51,
"Actual Loops": 1,
"Index Cond": "((chat_id = 'b223d993-d605-4bfe-8035-435c9ede3221'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.009001+00'::timestamp with time zone, '8d5d01eb-6729-47e0-a7c1-db170ff9ba40'::uuid)))",
"Rows Removed by Index Recheck": 0,
"Shared Hit Blocks": 3,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
}
]
},
"Planning": {
"Shared Hit Blocks": 0,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
},
"Planning Time": 0.124,
"Triggers": [
],
"Execution Time": 0.073
}
]
--- PASS: TestHistoryQueryPlanAtTenThousandMessages (0.75s)
--- PASS: TestHistoryQueryPlanAtTenThousandMessages/first (0.00s)
--- PASS: TestHistoryQueryPlanAtTenThousandMessages/late (0.00s)
=== RUN TestIdempotencyConcurrentStoresAndScopes
--- PASS: TestIdempotencyConcurrentStoresAndScopes (1.24s)
=== RUN TestIdempotencyRecordFailureRollsBackMessage
--- PASS: TestIdempotencyRecordFailureRollsBackMessage (0.58s)
=== RUN TestMessengerWorkflow
--- PASS: TestMessengerWorkflow (0.92s)
=== RUN TestDecodeJSONBodyRequiresExactFieldNames
=== RUN TestDecodeJSONBodyRequiresExactFieldNames/canonical
=== RUN TestDecodeJSONBodyRequiresExactFieldNames/escaped_canonical_name
=== RUN TestDecodeJSONBodyRequiresExactFieldNames/uppercase_extra
=== RUN TestDecodeJSONBodyRequiresExactFieldNames/uppercase_extra_first
=== RUN TestDecodeJSONBodyRequiresExactFieldNames/mixed_case
=== RUN TestDecodeJSONBodyRequiresExactFieldNames/uppercase_attachments
=== RUN TestDecodeJSONBodyRequiresExactFieldNames/escaped_uppercase
=== RUN TestDecodeJSONBodyRequiresExactFieldNames/unknown_field
=== RUN TestDecodeJSONBodyRequiresExactFieldNames/wrong_type
=== RUN TestDecodeJSONBodyRequiresExactFieldNames/null
=== RUN TestDecodeJSONBodyRequiresExactFieldNames/array
=== RUN TestDecodeJSONBodyRequiresExactFieldNames/trailing_object
--- PASS: TestDecodeJSONBodyRequiresExactFieldNames (0.58s)
--- PASS: TestDecodeJSONBodyRequiresExactFieldNames/canonical (0.01s)
--- PASS: TestDecodeJSONBodyRequiresExactFieldNames/escaped_canonical_name (0.01s)
--- PASS: TestDecodeJSONBodyRequiresExactFieldNames/uppercase_extra (0.00s)
--- PASS: TestDecodeJSONBodyRequiresExactFieldNames/uppercase_extra_first (0.00s)
--- PASS: TestDecodeJSONBodyRequiresExactFieldNames/mixed_case (0.00s)
--- PASS: TestDecodeJSONBodyRequiresExactFieldNames/uppercase_attachments (0.00s)
--- PASS: TestDecodeJSONBodyRequiresExactFieldNames/escaped_uppercase (0.00s)
--- PASS: TestDecodeJSONBodyRequiresExactFieldNames/unknown_field (0.00s)
--- PASS: TestDecodeJSONBodyRequiresExactFieldNames/wrong_type (0.00s)
--- PASS: TestDecodeJSONBodyRequiresExactFieldNames/null (0.00s)
--- PASS: TestDecodeJSONBodyRequiresExactFieldNames/array (0.00s)
--- PASS: TestDecodeJSONBodyRequiresExactFieldNames/trailing_object (0.00s)
=== RUN TestCreateMessageBlankText
--- PASS: TestCreateMessageBlankText (0.54s)
=== RUN TestCreateMessageFromChatOutsider
--- PASS: TestCreateMessageFromChatOutsider (0.88s)
=== RUN TestListMessagesPagination
--- PASS: TestListMessagesPagination (0.55s)
=== RUN TestListPageByChatUsesCursorAndLimit
--- PASS: TestListPageByChatUsesCursorAndLimit (0.53s)
=== RUN TestListPageByChatReturnsNonNilEmptyPage
--- PASS: TestListPageByChatReturnsNonNilEmptyPage (0.19s)
=== RUN TestS3PermissionsAndBootstrap
--- PASS: TestS3PermissionsAndBootstrap (0.92s)
=== RUN TestPasswordKDFUsesSaltAndFullUTF8Password
--- PASS: TestPasswordKDFUsesSaltAndFullUTF8Password (1.37s)
=== RUN TestStoredPasswordUsesArgon2id
--- PASS: TestStoredPasswordUsesArgon2id (0.62s)
=== RUN TestBearerRequiredIgnoresXUserID
--- PASS: TestBearerRequiredIgnoresXUserID (0.00s)
=== RUN TestMessageCursorPreservesPosition
--- PASS: TestMessageCursorPreservesPosition (0.00s)
=== RUN TestUploadRecoveryAfterPutFailure
--- PASS: TestUploadRecoveryAfterPutFailure (0.58s)
=== RUN TestUploadRecoveryMetadataRejection
--- PASS: TestUploadRecoveryMetadataRejection (0.60s)
=== RUN TestUploadRecoveryDatabaseConnectionLoss
--- PASS: TestUploadRecoveryDatabaseConnectionLoss (0.62s)
=== RUN TestUploadRecoveryProcessExit
--- PASS: TestUploadRecoveryProcessExit (0.67s)
=== RUN TestUploadCrashHelper
--- PASS: TestUploadCrashHelper (0.00s)
=== RUN TestUploadRecoveryInterruptedBody
--- PASS: TestUploadRecoveryInterruptedBody (0.55s)
=== RUN TestUploadRecoveryWaitingCancellation
--- PASS: TestUploadRecoveryWaitingCancellation (0.60s)
=== RUN TestCreateUserInvalidJSON
--- PASS: TestCreateUserInvalidJSON (0.00s)
=== RUN TestCreateUserDuplicateUsername
--- PASS: TestCreateUserDuplicateUsername (0.87s)
=== RUN TestCaseVariantExtraFieldsReturn400WithoutSaving
--- PASS: TestCaseVariantExtraFieldsReturn400WithoutSaving (0.60s)
=== RUN TestChatRejectsCaseVariantDuplicateMembersBeforeSQL
--- PASS: TestChatRejectsCaseVariantDuplicateMembersBeforeSQL (0.00s)
=== RUN TestChatNormalizesMemberUUIDsHTTP
--- PASS: TestChatNormalizesMemberUUIDsHTTP (0.56s)
PASS
ok messenger/src/backend/tests 46.524s