tribuchet: building on jamie Running client tests... === RUN TestDoServerRequestAttachesToken === PAUSE TestDoServerRequestAttachesToken === RUN TestCaseHackSuffix === PAUSE TestCaseHackSuffix === RUN TestPartSizeForNAR === PAUSE TestPartSizeForNAR === RUN TestUploadMultipart_SupersededByPeer === PAUSE TestUploadMultipart_SupersededByPeer === RUN TestDumpPathMatchesNix === PAUSE TestDumpPathMatchesNix === RUN TestDumpPathSingleFile === PAUSE TestDumpPathSingleFile === RUN TestDumpPathWriterError === PAUSE TestDumpPathWriterError === RUN TestEncodeNixBase32 === PAUSE TestEncodeNixBase32 === RUN TestEncodeNixBase32WithRealHash === PAUSE TestEncodeNixBase32WithRealHash === RUN TestConvertHashToNix32 === PAUSE TestConvertHashToNix32 === RUN TestGetStorePathHash === PAUSE TestGetStorePathHash === RUN TestPathInfoHashCompatibility === PAUSE TestPathInfoHashCompatibility === RUN TestParsePathInfoJSON === PAUSE TestParsePathInfoJSON === RUN TestParsePathInfoJSONMultiplePaths === PAUSE TestParsePathInfoJSONMultiplePaths === RUN TestPathInfoCACompatibility === PAUSE TestPathInfoCACompatibility === RUN TestRateLimiterFeedback === PAUSE TestRateLimiterFeedback === RUN TestRateLimiterFeedback_400DoesNotCountAsSuccess === PAUSE TestRateLimiterFeedback_400DoesNotCountAsSuccess === RUN TestResolveStorePath === PAUSE TestResolveStorePath === RUN TestDoWithRetry_BodyReplayedViaGetBody === PAUSE TestDoWithRetry_BodyReplayedViaGetBody === RUN TestShellSplit === PAUSE TestShellSplit === RUN TestShellSplitErrors === PAUSE TestShellSplitErrors === RUN TestSetClientTLS === PAUSE TestSetClientTLS === RUN TestSetClientTLSDoesNotMutateDefaultTransport === PAUSE TestSetClientTLSDoesNotMutateDefaultTransport === RUN TestSetClientTLSErrors === PAUSE TestSetClientTLSErrors === RUN TestStaticToken === PAUSE TestStaticToken === RUN TestFileTokenReadsAndCaches === PAUSE TestFileTokenReadsAndCaches === RUN TestFileTokenMissing === PAUSE TestFileTokenMissing === RUN TestFileTokenEmpty === PAUSE TestFileTokenEmpty === RUN TestScriptTokenNoExpiryRerunsEveryCall === PAUSE TestScriptTokenNoExpiryRerunsEveryCall === RUN TestScriptTokenCachesUntilRefresh === PAUSE TestScriptTokenCachesUntilRefresh === RUN TestScriptTokenEmptyToken === PAUSE TestScriptTokenEmptyToken === RUN TestScriptTokenBadJSON === PAUSE TestScriptTokenBadJSON === RUN TestScriptTokenScriptFails === PAUSE TestScriptTokenScriptFails === RUN TestScriptTokenEmptyCommand === PAUSE TestScriptTokenEmptyCommand === CONT TestDoServerRequestAttachesToken === CONT TestScriptTokenNoExpiryRerunsEveryCall === CONT TestFileTokenMissing === CONT TestDumpPathWriterError === CONT TestSetClientTLS === CONT TestStaticToken === CONT TestSetClientTLSErrors --- PASS: TestStaticToken (0.00s) === CONT TestSetClientTLSDoesNotMutateDefaultTransport === CONT TestPathInfoHashCompatibility === CONT TestShellSplitErrors --- PASS: TestShellSplitErrors (0.00s) === CONT TestShellSplit === RUN TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI) === CONT TestDoWithRetry_BodyReplayedViaGetBody --- PASS: TestShellSplit (0.00s) --- PASS: TestFileTokenMissing (0.00s) === PAUSE TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI) === CONT TestRateLimiterFeedback_400DoesNotCountAsSuccess === CONT TestRateLimiterFeedback === CONT TestPathInfoCACompatibility === CONT TestParsePathInfoJSONMultiplePaths === RUN TestPathInfoCACompatibility/null_ca_field === RUN TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths === CONT TestFileTokenEmpty === PAUSE TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths === CONT TestScriptTokenBadJSON 2026/07/18 13:54:30 WARN Rate limiter enabled after throttle name=server-test rate=5 === CONT TestUploadMultipart_SupersededByPeer === CONT TestScriptTokenEmptyCommand === CONT TestDumpPathSingleFile === CONT TestDumpPathMatchesNix === CONT TestScriptTokenScriptFails === CONT TestCaseHackSuffix === CONT TestScriptTokenEmptyToken === CONT TestConvertHashToNix32 === CONT TestFileTokenReadsAndCaches === CONT TestGetStorePathHash === CONT TestEncodeNixBase32 === CONT TestPartSizeForNAR === CONT TestScriptTokenCachesUntilRefresh === CONT TestEncodeNixBase32WithRealHash === CONT TestResolveStorePath === RUN TestPathInfoHashCompatibility/old_string_format_with_colon === RUN TestRateLimiterFeedback/429_enables_limiter === CONT TestParsePathInfoJSON === PAUSE TestPathInfoCACompatibility/null_ca_field === RUN TestPathInfoCACompatibility/old_string_format_-_text === RUN TestParsePathInfoJSON/Nix_format === RUN TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths === PAUSE TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths === RUN TestUploadMultipart_SupersededByPeer/exists === RUN TestSetClientTLSErrors/missing_cert_file === RUN TestConvertHashToNix32/SRI_format_to_Nix32 === RUN TestPartSizeForNAR/zero_stays_at_minimum === CONT TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths --- PASS: TestScriptTokenEmptyCommand (0.00s) === CONT TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths === PAUSE TestPathInfoCACompatibility/old_string_format_-_text === PAUSE TestPathInfoHashCompatibility/old_string_format_with_colon === RUN TestEncodeNixBase32/test_string_hash --- PASS: TestFileTokenEmpty (0.01s) --- PASS: TestEncodeNixBase32WithRealHash (0.00s) --- PASS: TestResolveStorePath (0.01s) --- PASS: TestScriptTokenScriptFails (0.01s) === PAUSE TestParsePathInfoJSON/Nix_format === RUN TestParsePathInfoJSON/Lix_format === RUN TestGetStorePathHash/valid_store_path === PAUSE TestRateLimiterFeedback/429_enables_limiter === RUN TestRateLimiterFeedback/503_enables_limiter === PAUSE TestParsePathInfoJSON/Lix_format === RUN TestPathInfoCACompatibility/old_string_format_-_fixed_recursive === PAUSE TestPathInfoCACompatibility/old_string_format_-_fixed_recursive === PAUSE TestGetStorePathHash/valid_store_path === PAUSE TestEncodeNixBase32/test_string_hash === PAUSE TestUploadMultipart_SupersededByPeer/exists === RUN TestParsePathInfoJSON/empty_input === RUN TestUploadMultipart_SupersededByPeer/missing === PAUSE TestParsePathInfoJSON/empty_input === RUN TestParsePathInfoJSON/whitespace_only === RUN TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI --- PASS: TestParsePathInfoJSONMultiplePaths (0.00s) --- PASS: TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths (0.01s) --- PASS: TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths (0.00s) === RUN TestEncodeNixBase32/empty_input === PAUSE TestEncodeNixBase32/empty_input === CONT TestEncodeNixBase32/test_string_hash --- PASS: TestFileTokenReadsAndCaches (0.01s) 2026/07/18 13:54:30 WARN Rate limiter enabled after throttle name=server-test rate=5 === RUN TestGetStorePathHash/basename_without_hyphen_should_error === PAUSE TestGetStorePathHash/basename_without_hyphen_should_error 2026/07/18 13:54:30 WARN Request returned retryable status, retrying attempt=1 max_attempts=6 backoff=0s status=503 url=http://127.0.0.1:42391 === RUN TestPathInfoCACompatibility/new_structured_format_-_text === PAUSE TestPathInfoCACompatibility/new_structured_format_-_text === PAUSE TestUploadMultipart_SupersededByPeer/missing === CONT TestUploadMultipart_SupersededByPeer/exists === PAUSE TestParsePathInfoJSON/whitespace_only === RUN TestParsePathInfoJSON/invalid_JSON === PAUSE TestParsePathInfoJSON/invalid_JSON === CONT TestParsePathInfoJSON/Nix_format === CONT TestParsePathInfoJSON/empty_input === CONT TestParsePathInfoJSON/Lix_format === CONT TestParsePathInfoJSON/whitespace_only === PAUSE TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI === CONT TestEncodeNixBase32/empty_input === RUN TestPathInfoHashCompatibility/new_structured_format_with_sha512 === RUN TestGetStorePathHash/hash_with_invalid_characters_should_error === PAUSE TestConvertHashToNix32/SRI_format_to_Nix32 --- PASS: TestScriptTokenBadJSON (0.02s) === RUN TestPathInfoCACompatibility/new_structured_format_-_nar_method === CONT TestUploadMultipart_SupersededByPeer/missing === PAUSE TestSetClientTLSErrors/missing_cert_file 2026/07/18 13:54:30 WARN Rate limiter backed off name=server-test rate=5 === CONT TestParsePathInfoJSON/invalid_JSON 2026/07/18 13:54:30 WARN Request returned retryable status, retrying attempt=2 max_attempts=6 backoff=0s status=503 url=http://127.0.0.1:42391 === PAUSE TestPartSizeForNAR/zero_stays_at_minimum === PAUSE TestRateLimiterFeedback/503_enables_limiter === RUN TestSetClientTLS/rejects_connection_without_client_cert === RUN TestRateLimiterFeedback/200_does_not_enable_limiter === PAUSE TestSetClientTLS/rejects_connection_without_client_cert === RUN TestConvertHashToNix32/already_Nix32_format === PAUSE TestConvertHashToNix32/already_Nix32_format --- PASS: TestDoServerRequestAttachesToken (0.02s) === RUN TestSetClientTLSErrors/missing_key_file --- PASS: TestScriptTokenEmptyToken (0.02s) === PAUSE TestPathInfoCACompatibility/new_structured_format_-_nar_method === CONT TestPathInfoCACompatibility/null_ca_field === CONT TestPathInfoCACompatibility/new_structured_format_-_text === CONT TestPathInfoCACompatibility/old_string_format_-_text === RUN TestPartSizeForNAR/small_stays_at_minimum === PAUSE TestRateLimiterFeedback/200_does_not_enable_limiter === PAUSE TestGetStorePathHash/hash_with_invalid_characters_should_error === PAUSE TestPathInfoHashCompatibility/new_structured_format_with_sha512 === RUN TestSetClientTLS/succeeds_with_client_cert_and_CA === RUN TestConvertHashToNix32/invalid_format === PAUSE TestConvertHashToNix32/invalid_format === PAUSE TestSetClientTLSErrors/missing_key_file --- PASS: TestEncodeNixBase32 (0.01s) --- PASS: TestEncodeNixBase32/test_string_hash (0.00s) --- PASS: TestEncodeNixBase32/empty_input (0.00s) === CONT TestPathInfoCACompatibility/new_structured_format_-_nar_method === CONT TestPathInfoCACompatibility/old_string_format_-_fixed_recursive === PAUSE TestPartSizeForNAR/small_stays_at_minimum === RUN TestPartSizeForNAR/80_GiB_fits_at_minimum === RUN TestRateLimiterFeedback/400_does_not_enable_limiter === RUN TestGetStorePathHash/hash_with_wrong_length_should_error === PAUSE TestGetStorePathHash/hash_with_wrong_length_should_error === CONT TestGetStorePathHash/valid_store_path === CONT TestGetStorePathHash/hash_with_wrong_length_should_error === CONT TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI) === CONT TestPathInfoHashCompatibility/new_structured_format_with_sha512 === CONT TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI === CONT TestPathInfoHashCompatibility/old_string_format_with_colon === PAUSE TestSetClientTLS/succeeds_with_client_cert_and_CA === CONT TestConvertHashToNix32/SRI_format_to_Nix32 === CONT TestConvertHashToNix32/invalid_format === CONT TestConvertHashToNix32/already_Nix32_format === RUN TestSetClientTLSErrors/missing_ca_file === PAUSE TestSetClientTLSErrors/missing_ca_file --- PASS: TestSetClientTLSDoesNotMutateDefaultTransport (0.02s) --- PASS: TestDoWithRetry_BodyReplayedViaGetBody (0.03s) --- PASS: TestScriptTokenNoExpiryRerunsEveryCall (0.03s) === PAUSE TestPartSizeForNAR/80_GiB_fits_at_minimum --- PASS: TestPathInfoCACompatibility (0.03s) --- PASS: TestPathInfoCACompatibility/null_ca_field (0.00s) --- PASS: TestPathInfoCACompatibility/old_string_format_-_text (0.00s) --- PASS: TestPathInfoCACompatibility/new_structured_format_-_text (0.00s) --- PASS: TestPathInfoCACompatibility/new_structured_format_-_nar_method (0.00s) --- PASS: TestPathInfoCACompatibility/old_string_format_-_fixed_recursive (0.00s) === PAUSE TestRateLimiterFeedback/400_does_not_enable_limiter --- PASS: TestPathInfoHashCompatibility (0.03s) --- PASS: TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI) (0.00s) --- PASS: TestPathInfoHashCompatibility/new_structured_format_with_sha512 (0.00s) --- PASS: TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI (0.00s) --- PASS: TestPathInfoHashCompatibility/old_string_format_with_colon (0.00s) === CONT TestGetStorePathHash/hash_with_invalid_characters_should_error === CONT TestGetStorePathHash/basename_without_hyphen_should_error === RUN TestSetClientTLS/preserves_debug_logging_transport === PAUSE TestSetClientTLS/preserves_debug_logging_transport === RUN TestSetClientTLSErrors/invalid_ca_file === RUN TestPartSizeForNAR/115_GiB_needs_larger_parts === PAUSE TestPartSizeForNAR/115_GiB_needs_larger_parts === CONT TestRateLimiterFeedback/200_does_not_enable_limiter === CONT TestRateLimiterFeedback/429_enables_limiter === CONT TestRateLimiterFeedback/503_enables_limiter === CONT TestRateLimiterFeedback/400_does_not_enable_limiter --- PASS: TestUploadMultipart_SupersededByPeer (0.02s) --- PASS: TestUploadMultipart_SupersededByPeer/missing (0.00s) --- PASS: TestUploadMultipart_SupersededByPeer/exists (0.01s) === CONT TestSetClientTLS/rejects_connection_without_client_cert === CONT TestSetClientTLS/preserves_debug_logging_transport === CONT TestSetClientTLS/succeeds_with_client_cert_and_CA 2026/07/18 13:54:30 WARN Rate limiter enabled after throttle name=server-test rate=5 === PAUSE TestSetClientTLSErrors/invalid_ca_file 2026/07/18 13:54:30 WARN Request returned retryable status, retrying attempt=1 max_attempts=2 backoff=0s status=429 url=http://127.0.0.1:38163 === RUN TestPartSizeForNAR/1_TiB === PAUSE TestPartSizeForNAR/1_TiB --- PASS: TestParsePathInfoJSON (0.02s) --- PASS: TestParsePathInfoJSON/Nix_format (0.01s) --- PASS: TestParsePathInfoJSON/Lix_format (0.00s) --- PASS: TestParsePathInfoJSON/whitespace_only (0.00s) --- PASS: TestParsePathInfoJSON/empty_input (0.01s) --- PASS: TestParsePathInfoJSON/invalid_JSON (0.00s) === CONT TestSetClientTLSErrors/missing_cert_file 2026/07/18 13:54:30 WARN Rate limiter backed off name=server-test rate=5 === CONT TestSetClientTLSErrors/missing_key_file 2026/07/18 13:54:30 WARN Rate limiter enabled after throttle name=server-test rate=5 === CONT TestSetClientTLSErrors/missing_ca_file 2026/07/18 13:54:30 WARN Request returned retryable status, retrying attempt=1 max_attempts=2 backoff=0s status=503 url=http://127.0.0.1:33429 === CONT TestSetClientTLSErrors/invalid_ca_file === RUN TestPartSizeForNAR/5_TiB_S3_max_object === PAUSE TestPartSizeForNAR/5_TiB_S3_max_object --- PASS: TestGetStorePathHash (0.03s) --- PASS: TestGetStorePathHash/valid_store_path (0.00s) --- PASS: TestGetStorePathHash/hash_with_wrong_length_should_error (0.00s) --- PASS: TestGetStorePathHash/hash_with_invalid_characters_should_error (0.00s) --- PASS: TestGetStorePathHash/basename_without_hyphen_should_error (0.00s) === RUN TestPartSizeForNAR/capped_at_5_GiB === PAUSE TestPartSizeForNAR/capped_at_5_GiB 2026/07/18 13:54:30 WARN Rate limiter backed off name=server-test rate=5 === CONT TestPartSizeForNAR/zero_stays_at_minimum === CONT TestPartSizeForNAR/small_stays_at_minimum --- PASS: TestConvertHashToNix32 (0.03s) --- PASS: TestConvertHashToNix32/SRI_format_to_Nix32 (0.00s) --- PASS: TestConvertHashToNix32/invalid_format (0.00s) --- PASS: TestConvertHashToNix32/already_Nix32_format (0.00s) === CONT TestPartSizeForNAR/1_TiB === CONT TestPartSizeForNAR/capped_at_5_GiB === CONT TestPartSizeForNAR/80_GiB_fits_at_minimum === CONT TestPartSizeForNAR/5_TiB_S3_max_object === CONT TestPartSizeForNAR/115_GiB_needs_larger_parts --- PASS: TestRateLimiterFeedback (0.03s) --- PASS: TestRateLimiterFeedback/200_does_not_enable_limiter (0.00s) --- PASS: TestRateLimiterFeedback/400_does_not_enable_limiter (0.00s) --- PASS: TestRateLimiterFeedback/429_enables_limiter (0.00s) --- PASS: TestRateLimiterFeedback/503_enables_limiter (0.00s) --- PASS: TestPartSizeForNAR (0.03s) --- PASS: TestPartSizeForNAR/zero_stays_at_minimum (0.00s) --- PASS: TestPartSizeForNAR/small_stays_at_minimum (0.00s) --- PASS: TestPartSizeForNAR/1_TiB (0.00s) --- PASS: TestPartSizeForNAR/capped_at_5_GiB (0.00s) --- PASS: TestPartSizeForNAR/80_GiB_fits_at_minimum (0.00s) --- PASS: TestPartSizeForNAR/5_TiB_S3_max_object (0.00s) --- PASS: TestPartSizeForNAR/115_GiB_needs_larger_parts (0.00s) --- PASS: TestSetClientTLSErrors (0.03s) --- PASS: TestSetClientTLSErrors/missing_cert_file (0.00s) --- PASS: TestSetClientTLSErrors/missing_key_file (0.00s) --- PASS: TestSetClientTLSErrors/invalid_ca_file (0.00s) --- PASS: TestSetClientTLSErrors/missing_ca_file (0.00s) --- PASS: TestScriptTokenCachesUntilRefresh (0.03s) 2026/07/18 13:54:30 http: TLS handshake error from 127.0.0.1:34396: remote error: tls: bad certificate --- PASS: TestSetClientTLS (0.03s) --- PASS: TestSetClientTLS/rejects_connection_without_client_cert (0.01s) --- PASS: TestSetClientTLS/succeeds_with_client_cert_and_CA (0.01s) --- PASS: TestSetClientTLS/preserves_debug_logging_transport (0.01s) --- PASS: TestDumpPathSingleFile (0.06s) --- PASS: TestCaseHackSuffix (0.06s) --- PASS: TestDumpPathWriterError (0.07s) --- PASS: TestDumpPathMatchesNix (0.12s) --- PASS: TestRateLimiterFeedback_400DoesNotCountAsSuccess (1.00s) PASS Running server tests... The files belonging to this database system will be owned by user "nixbld". This user must also own the server process. The database cluster will be initialized with locale "C". The default database encoding has accordingly been set to "SQL_ASCII". The default text search configuration will be set to "english". Data page checksums are enabled. creating directory /build/postgres3290418316/data ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default "max_connections" ... 100 selecting default "shared_buffers" ... 128MB selecting default time zone ... UTC creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok initdb: warning: enabling "trust" authentication for local connections initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. Success. You can now start the database server using: pg_ctl -D /build/postgres3290418316/data -l logfile start /build/postgres3290418316:5432 - no response 2026-07-18 13:54:32.125 UTC [309] LOG: starting PostgreSQL 18.4 on x86_64-pc-linux-gnu, compiled by clang version 21.1.8, 64-bit 2026-07-18 13:54:32.126 UTC [309] LOG: listening on Unix socket "/build/postgres3290418316/.s.PGSQL.5432" 2026-07-18 13:54:32.132 UTC [316] LOG: database system was shut down at 2026-07-18 13:54:31 UTC 2026-07-18 13:54:32.136 UTC [309] LOG: database system is ready to accept connections /build/postgres3290418316:5432 - accepting connections {"timestamp":"2026-07-18T13:54:32.622448739Z","level":"ERROR","fields":{"message":"list_path_raw: revjob err VolumeNotFound"},"target":"rustfs_ecstore::cache_value::metacache_set","filename":"crates/ecstore/src/cache_value/metacache_set.rs","line_number":486,"threadName":"rustfs-worker","threadId":"ThreadId(758)"} thread 'rustfs-worker' (1081) panicked at /build/rustfs-1.0.0-beta.7-vendor/source-registry-0/reqwest-0.13.4/src/async_impl/client.rs:2507:38: Client::new(): reqwest::Error { kind: Builder, source: General("No CA certificates were loaded from the system") } note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace === RUN TestService_AuthMiddleware === PAUSE TestService_AuthMiddleware === RUN TestService_AuthMiddleware_MTLSProxyHeader === PAUSE TestService_AuthMiddleware_MTLSProxyHeader === RUN TestService_AuthMiddleware_MTLSBoundSubjects === PAUSE TestService_AuthMiddleware_MTLSBoundSubjects === RUN TestService_ReadAuthMiddleware === PAUSE TestService_ReadAuthMiddleware === RUN TestService_AuthMiddleware_OIDC === PAUSE TestService_AuthMiddleware_OIDC === RUN TestCacheConfigHandler === PAUSE TestCacheConfigHandler === RUN TestCacheStatsHandler === PAUSE TestCacheStatsHandler === RUN TestClientCADerivations === PAUSE TestClientCADerivations === RUN TestClientErrorHandling === PAUSE TestClientErrorHandling === RUN TestClientIntegration === PAUSE TestClientIntegration === RUN TestClientMultipleUploads === PAUSE TestClientMultipleUploads === RUN TestClientWithDependencies === PAUSE TestClientWithDependencies === RUN TestPinProtectsFromGC === PAUSE TestPinProtectsFromGC === RUN TestGCAdvisoryLockBlocksConcurrentRun 2026-07-18 13:54:32.739 UTC [1113] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:32.739 UTC [1113] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/18 13:54:32 OK 20241026095416_initial_model.sql (9.25ms) 2026/07/18 13:54:32 OK 20251210153512_drop_unused_gin_index.sql (1.74ms) 2026/07/18 13:54:32 OK 20251218171726_add_pins.sql (2.59ms) 2026/07/18 13:54:32 OK 20260628120000_add_object_size_and_stats.sql (2.6ms) 2026/07/18 13:54:32 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:32 OK 1_commit_pending_closure.sql (1.83ms) 2026/07/18 13:54:32 OK 2_object_stats_trigger.sql (1.36ms) 2026/07/18 13:54:32 goose: up to current file version: 2 --- PASS: TestGCAdvisoryLockBlocksConcurrentRun (0.17s) === RUN TestGCBugBareHashReferences === PAUSE TestGCBugBareHashReferences === RUN TestGCMetrics === PAUSE TestGCMetrics === RUN TestGCTaskStore_StartNew === PAUSE TestGCTaskStore_StartNew === RUN TestGCTaskStore_DeduplicateSameParams === PAUSE TestGCTaskStore_DeduplicateSameParams === RUN TestGCTaskStore_ConflictDifferentParams === PAUSE TestGCTaskStore_ConflictDifferentParams === RUN TestGCTaskStore_GetEmpty === PAUSE TestGCTaskStore_GetEmpty === RUN TestGCTaskStore_GetReturnsLatest === PAUSE TestGCTaskStore_GetReturnsLatest === RUN TestGCTaskStore_CompletedAllowsNewTask === PAUSE TestGCTaskStore_CompletedAllowsNewTask === RUN TestGCTaskStore_PhaseUpdates === PAUSE TestGCTaskStore_PhaseUpdates === RUN TestGCTaskStore_Fail === PAUSE TestGCTaskStore_Fail === RUN TestGracefulShutdownDrainsInflight === PAUSE TestGracefulShutdownDrainsInflight === RUN TestService_healthCheckHandler === PAUSE TestService_healthCheckHandler === RUN TestGenerateLandingPage === PAUSE TestGenerateLandingPage === RUN TestNARDeduplicationMetadataUploadBug === PAUSE TestNARDeduplicationMetadataUploadBug === RUN TestMetricsInventory === PAUSE TestMetricsInventory === RUN TestService_NativeMTLS === PAUSE TestService_NativeMTLS === RUN TestServerTLSConfig === PAUSE TestServerTLSConfig === RUN TestMultipartCleanup === PAUSE TestMultipartCleanup === RUN TestObjectStatsTrigger === PAUSE TestObjectStatsTrigger === RUN TestOrphanedObjectsGC === PAUSE TestOrphanedObjectsGC === RUN TestOrphanedObjectsGCStressTest === PAUSE TestOrphanedObjectsGCStressTest === RUN TestResurrectedObjectNotDeleted === PAUSE TestResurrectedObjectNotDeleted === RUN TestParseSingleRange === PAUSE TestParseSingleRange === RUN TestIsValidCachePath === PAUSE TestIsValidCachePath === RUN TestReadProxyNarinfo === PAUSE TestReadProxyNarinfo === RUN TestReadProxyNarinfoAlreadyDecompressed === PAUSE TestReadProxyNarinfoAlreadyDecompressed === RUN TestReadProxyNarStreaming === PAUSE TestReadProxyNarStreaming === RUN TestReadProxy404 === PAUSE TestReadProxy404 === RUN TestReadProxyInvalidPath === PAUSE TestReadProxyInvalidPath === RUN TestReadProxyHead === PAUSE TestReadProxyHead === RUN TestReadProxyConditionalGet === PAUSE TestReadProxyConditionalGet === RUN TestReadProxyRootRedirectsToIndexHTML === PAUSE TestReadProxyRootRedirectsToIndexHTML === RUN TestReadProxyDisabled === PAUSE TestReadProxyDisabled === RUN TestReadProxyRangeRequest === PAUSE TestReadProxyRangeRequest === RUN TestRedundantMultipartUpload === PAUSE TestRedundantMultipartUpload === RUN TestCompleteMultipartUpload_ErrorButObjectExists === PAUSE TestCompleteMultipartUpload_ErrorButObjectExists === RUN TestCompletedNarNotReofferedAcrossClosures === PAUSE TestCompletedNarNotReofferedAcrossClosures === RUN TestService_Rustfstest === PAUSE TestService_Rustfstest === RUN TestSystemdListenerNotActivated --- PASS: TestSystemdListenerNotActivated (0.00s) === RUN TestWatchdogBeatsWhenHealthy --- PASS: TestWatchdogBeatsWhenHealthy (0.02s) === RUN TestWatchdogSkipsWhenUnhealthy 2026/07/18 13:54:32 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/07/18 13:54:32 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/07/18 13:54:32 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/07/18 13:54:32 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/07/18 13:54:32 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/07/18 13:54:32 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/07/18 13:54:32 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/07/18 13:54:32 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/07/18 13:54:33 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/07/18 13:54:33 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" --- PASS: TestWatchdogSkipsWhenUnhealthy (0.20s) === RUN TestCompleteMultipartUploadHandler_RateLimitTriggersThrottle === PAUSE TestCompleteMultipartUploadHandler_RateLimitTriggersThrottle === RUN TestProxyWriteTimeout === PAUSE TestProxyWriteTimeout === RUN TestIsValidUploadKey === PAUSE TestIsValidUploadKey === RUN TestUploadHandlersRejectInvalidKeys === PAUSE TestUploadHandlersRejectInvalidKeys === RUN TestUploadHandlersRejectOversizedBody === PAUSE TestUploadHandlersRejectOversizedBody === RUN TestService_cleanupPendingClosuresHandler === PAUSE TestService_cleanupPendingClosuresHandler === RUN TestService_createPendingClosureHandler === PAUSE TestService_createPendingClosureHandler === RUN TestService_verifyS3Integrity === PAUSE TestService_verifyS3Integrity === RUN TestCompleteMultipartUnregistered === PAUSE TestCompleteMultipartUnregistered === RUN TestCreatePendingClosure_SmallNARUsesSimplePUT === PAUSE TestCreatePendingClosure_SmallNARUsesSimplePUT === CONT TestService_AuthMiddleware === CONT TestReadProxyHead === CONT TestReadProxyRootRedirectsToIndexHTML === CONT TestGCTaskStore_PhaseUpdates --- PASS: TestGCTaskStore_PhaseUpdates (0.00s) === CONT TestReadProxyInvalidPath === CONT TestReadProxy404 === CONT TestReadProxyNarStreaming === CONT TestReadProxyNarinfoAlreadyDecompressed === CONT TestReadProxyNarinfo === CONT TestIsValidCachePath === CONT TestParseSingleRange === CONT TestResurrectedObjectNotDeleted === CONT TestOrphanedObjectsGCStressTest === CONT TestOrphanedObjectsGC === CONT TestObjectStatsTrigger === CONT TestMultipartCleanup === CONT TestServerTLSConfig === CONT TestService_NativeMTLS === CONT TestMetricsInventory === CONT TestNARDeduplicationMetadataUploadBug === CONT TestGenerateLandingPage === CONT TestService_healthCheckHandler === CONT TestGracefulShutdownDrainsInflight === CONT TestGCTaskStore_Fail === CONT TestProxyWriteTimeout === CONT TestCreatePendingClosure_SmallNARUsesSimplePUT === CONT TestCompleteMultipartUnregistered === CONT TestService_verifyS3Integrity === CONT TestClientWithDependencies === CONT TestService_createPendingClosureHandler === CONT TestService_cleanupPendingClosuresHandler === CONT TestUploadHandlersRejectOversizedBody === CONT TestGCTaskStore_CompletedAllowsNewTask === CONT TestUploadHandlersRejectInvalidKeys === CONT TestGCTaskStore_GetReturnsLatest === CONT TestGCTaskStore_GetEmpty === CONT TestGCTaskStore_ConflictDifferentParams === CONT TestIsValidUploadKey === CONT TestGCTaskStore_DeduplicateSameParams === CONT TestGCTaskStore_StartNew === CONT TestGCBugBareHashReferences === CONT TestPinProtectsFromGC === CONT TestGCMetrics === CONT TestRedundantMultipartUpload === CONT TestService_Rustfstest === CONT TestCompletedNarNotReofferedAcrossClosures === CONT TestCompleteMultipartUpload_ErrorButObjectExists === CONT TestCacheStatsHandler === CONT TestClientMultipleUploads === CONT TestService_ReadAuthMiddleware === CONT TestClientIntegration === CONT TestCacheConfigHandler === CONT TestClientErrorHandling === CONT TestService_AuthMiddleware_OIDC === CONT TestReadProxyDisabled === CONT TestClientCADerivations === CONT TestReadProxyRangeRequest === CONT TestCompleteMultipartUploadHandler_RateLimitTriggersThrottle === CONT TestService_AuthMiddleware_MTLSBoundSubjects === CONT TestService_AuthMiddleware_MTLSProxyHeader === CONT TestReadProxyConditionalGet === RUN TestParseSingleRange/none === PAUSE TestParseSingleRange/none === RUN TestProxyWriteTimeout/narinfo === RUN TestIsValidCachePath/narinfo --- PASS: TestGCTaskStore_GetReturnsLatest (0.00s) === RUN TestServerTLSConfig/no_client_CA === RUN TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_nix-cache-info === PAUSE TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_nix-cache-info === RUN TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_path_traversal === PAUSE TestIsValidCachePath/narinfo === RUN TestIsValidCachePath/narinfo_all_nix_base32_chars === PAUSE TestIsValidCachePath/narinfo_all_nix_base32_chars === RUN TestIsValidCachePath/nar_zst === PAUSE TestIsValidCachePath/nar_zst === RUN TestIsValidCachePath/nar_xz === PAUSE TestIsValidCachePath/nar_xz === RUN TestIsValidCachePath/nar_bz2 === PAUSE TestIsValidCachePath/nar_bz2 === RUN TestIsValidCachePath/nar_uncompressed === PAUSE TestIsValidCachePath/nar_uncompressed === RUN TestIsValidCachePath/ls === PAUSE TestIsValidCachePath/ls === RUN TestIsValidCachePath/log === PAUSE TestIsValidCachePath/log === RUN TestIsValidCachePath/realisation === PAUSE TestIsValidCachePath/realisation === RUN TestIsValidCachePath/nix-cache-info === PAUSE TestIsValidCachePath/nix-cache-info === RUN TestIsValidCachePath/index.html --- PASS: TestGCTaskStore_GetEmpty (0.00s) --- PASS: TestGCTaskStore_Fail (0.00s) --- PASS: TestGCTaskStore_StartNew (0.00s) --- PASS: TestGCTaskStore_DeduplicateSameParams (0.00s) --- PASS: TestGCTaskStore_CompletedAllowsNewTask (0.00s) === PAUSE TestIsValidCachePath/index.html === PAUSE TestServerTLSConfig/no_client_CA === RUN TestServerTLSConfig/missing_CA_file === PAUSE TestServerTLSConfig/missing_CA_file === RUN TestServerTLSConfig/not_a_PEM_file === PAUSE TestServerTLSConfig/not_a_PEM_file --- PASS: TestGCTaskStore_ConflictDifferentParams (0.00s) === RUN TestCacheConfigHandler/full_config,_no_issuer === RUN TestIsValidUploadKey/narinfo === RUN TestIsValidCachePath/traversal_parent === RUN TestClientErrorHandling/InvalidStorePath === PAUSE TestCacheConfigHandler/full_config,_no_issuer === CONT TestServerTLSConfig/not_a_PEM_file 2026/07/18 13:54:33 INFO Starting HTTP server address=127.0.0.1:33813 === PAUSE TestClientErrorHandling/InvalidStorePath === CONT TestServerTLSConfig/missing_CA_file === PAUSE TestIsValidUploadKey/narinfo === RUN TestParseSingleRange/unknown_unit === CONT TestServerTLSConfig/no_client_CA === PAUSE TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_path_traversal === RUN TestCacheConfigHandler/no_cache_url_configured === PAUSE TestProxyWriteTimeout/narinfo === PAUSE TestIsValidCachePath/traversal_parent === RUN TestClientErrorHandling/InvalidAuthToken === RUN TestIsValidUploadKey/nar_zst === PAUSE TestParseSingleRange/unknown_unit === RUN TestUploadHandlersRejectInvalidKeys/complete_multipart_rejects_non-NAR_key 2026/07/18 13:54:33 INFO Shutdown signal received, draining in-flight requests timeout=10s === PAUSE TestUploadHandlersRejectInvalidKeys/complete_multipart_rejects_non-NAR_key === PAUSE TestCacheConfigHandler/no_cache_url_configured === RUN TestProxyWriteTimeout/1_GiB_nar === RUN TestIsValidCachePath/traversal_in_middle === PAUSE TestClientErrorHandling/InvalidAuthToken --- PASS: TestServerTLSConfig (0.01s) --- PASS: TestServerTLSConfig/missing_CA_file (0.00s) --- PASS: TestServerTLSConfig/no_client_CA (0.00s) --- PASS: TestServerTLSConfig/not_a_PEM_file (0.00s) === PAUSE TestIsValidUploadKey/nar_zst === RUN TestParseSingleRange/multi-range_ignored === RUN TestUploadHandlersRejectInvalidKeys/request_more_parts_rejects_non-NAR_key === RUN TestCacheConfigHandler/no_signing_keys === PAUSE TestProxyWriteTimeout/1_GiB_nar === RUN TestProxyWriteTimeout/10_GiB_nar === PAUSE TestIsValidCachePath/traversal_in_middle === RUN TestClientErrorHandling/ServerNotAvailable === RUN TestIsValidUploadKey/nar_xz === PAUSE TestParseSingleRange/multi-range_ignored === RUN TestParseSingleRange/malformed_no_dash === PAUSE TestUploadHandlersRejectInvalidKeys/request_more_parts_rejects_non-NAR_key === PAUSE TestCacheConfigHandler/no_signing_keys === PAUSE TestProxyWriteTimeout/10_GiB_nar 2026/07/18 13:54:33 INFO OIDC provider initialized name=test === RUN TestIsValidCachePath/invalid_char_e === PAUSE TestIsValidCachePath/invalid_char_e === PAUSE TestClientErrorHandling/ServerNotAvailable === CONT TestClientErrorHandling/InvalidStorePath === CONT TestClientErrorHandling/ServerNotAvailable === PAUSE TestParseSingleRange/malformed_no_dash === RUN TestParseSingleRange/malformed_both_empty === CONT TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_nix-cache-info === CONT TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_path_traversal === CONT TestUploadHandlersRejectInvalidKeys/complete_multipart_rejects_non-NAR_key === CONT TestUploadHandlersRejectInvalidKeys/request_more_parts_rejects_non-NAR_key 2026/07/18 13:54:33 INFO Received uploads request method=POST path=/ 2026/07/18 13:54:33 INFO Received complete multipart upload request method=POST path=/ === RUN TestCacheConfigHandler/issuer_requested_but_no_OIDC_validator 2026/07/18 13:54:33 INFO Received request for more parts method=POST path=/ === RUN TestProxyWriteTimeout/unknown_size 2026/07/18 13:54:33 INFO Received uploads request method=POST path=/ === RUN TestIsValidCachePath/invalid_char_u === PAUSE TestIsValidCachePath/invalid_char_u === PAUSE TestIsValidUploadKey/nar_xz === CONT TestClientErrorHandling/InvalidAuthToken === PAUSE TestParseSingleRange/malformed_both_empty --- PASS: TestGenerateLandingPage (0.01s) === PAUSE TestCacheConfigHandler/issuer_requested_but_no_OIDC_validator === PAUSE TestProxyWriteTimeout/unknown_size === CONT TestProxyWriteTimeout/narinfo === CONT TestProxyWriteTimeout/unknown_size === RUN TestIsValidUploadKey/nar_plain === PAUSE TestIsValidUploadKey/nar_plain === RUN TestIsValidUploadKey/listing === PAUSE TestIsValidUploadKey/listing === RUN TestIsValidUploadKey/build_log === RUN TestParseSingleRange/malformed_end_before_start === PAUSE TestParseSingleRange/malformed_end_before_start === RUN TestParseSingleRange/closed === PAUSE TestParseSingleRange/closed === RUN TestParseSingleRange/open-ended === CONT TestCacheConfigHandler/full_config,_no_issuer === CONT TestCacheConfigHandler/no_cache_url_configured === CONT TestCacheConfigHandler/issuer_requested_but_no_OIDC_validator === CONT TestCacheConfigHandler/no_signing_keys --- PASS: TestUploadHandlersRejectInvalidKeys (0.01s) --- PASS: TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_nix-cache-info (0.00s) --- PASS: TestUploadHandlersRejectInvalidKeys/complete_multipart_rejects_non-NAR_key (0.00s) --- PASS: TestUploadHandlersRejectInvalidKeys/request_more_parts_rejects_non-NAR_key (0.00s) --- PASS: TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_path_traversal (0.00s) === RUN TestIsValidCachePath/random_path === PAUSE TestIsValidCachePath/random_path === CONT TestProxyWriteTimeout/10_GiB_nar === CONT TestProxyWriteTimeout/1_GiB_nar === PAUSE TestIsValidUploadKey/build_log === PAUSE TestParseSingleRange/open-ended --- PASS: TestCacheConfigHandler (0.01s) --- PASS: TestCacheConfigHandler/full_config,_no_issuer (0.00s) --- PASS: TestCacheConfigHandler/no_cache_url_configured (0.00s) --- PASS: TestCacheConfigHandler/issuer_requested_but_no_OIDC_validator (0.00s) --- PASS: TestCacheConfigHandler/no_signing_keys (0.00s) === RUN TestIsValidCachePath/empty === RUN TestIsValidUploadKey/build_log_home-manager_file === PAUSE TestIsValidUploadKey/build_log_home-manager_file === RUN TestParseSingleRange/end_clamped_to_size === PAUSE TestParseSingleRange/end_clamped_to_size --- PASS: TestProxyWriteTimeout (0.02s) --- PASS: TestProxyWriteTimeout/narinfo (0.00s) --- PASS: TestProxyWriteTimeout/unknown_size (0.00s) --- PASS: TestProxyWriteTimeout/10_GiB_nar (0.00s) --- PASS: TestProxyWriteTimeout/1_GiB_nar (0.00s) === PAUSE TestIsValidCachePath/empty === RUN TestIsValidUploadKey/build_log_plus_in_name === PAUSE TestIsValidUploadKey/build_log_plus_in_name === RUN TestIsValidUploadKey/build_log_question_mark === PAUSE TestIsValidUploadKey/build_log_question_mark === RUN TestParseSingleRange/suffix === PAUSE TestParseSingleRange/suffix === RUN TestIsValidCachePath/leading_slash === PAUSE TestIsValidCachePath/leading_slash === RUN TestIsValidUploadKey/build_log_equals === RUN TestParseSingleRange/suffix_exceeds_size === PAUSE TestParseSingleRange/suffix_exceeds_size === RUN TestIsValidCachePath/wrong_extension === PAUSE TestIsValidCachePath/wrong_extension === PAUSE TestIsValidUploadKey/build_log_equals === RUN TestParseSingleRange/single_byte === PAUSE TestParseSingleRange/single_byte === RUN TestParseSingleRange/start_past_EOF === PAUSE TestParseSingleRange/start_past_EOF === RUN TestParseSingleRange/start_far_past_EOF === PAUSE TestParseSingleRange/start_far_past_EOF === RUN TestIsValidCachePath/short_hash === PAUSE TestIsValidCachePath/short_hash === RUN TestIsValidUploadKey/realisation === PAUSE TestIsValidUploadKey/realisation === RUN TestIsValidUploadKey/realisation_plus_in_output === PAUSE TestIsValidUploadKey/realisation_plus_in_output === RUN TestIsValidUploadKey/nix-cache-info === PAUSE TestIsValidUploadKey/nix-cache-info === RUN TestIsValidUploadKey/index.html === PAUSE TestIsValidUploadKey/index.html === RUN TestIsValidUploadKey/narinfo_key,_nar_type === PAUSE TestIsValidUploadKey/narinfo_key,_nar_type === CONT TestParseSingleRange/none === CONT TestParseSingleRange/start_far_past_EOF === CONT TestParseSingleRange/start_past_EOF === CONT TestParseSingleRange/malformed_end_before_start === CONT TestParseSingleRange/malformed_both_empty === CONT TestParseSingleRange/closed === CONT TestParseSingleRange/malformed_no_dash === CONT TestParseSingleRange/single_byte === CONT TestParseSingleRange/suffix_exceeds_size === CONT TestParseSingleRange/multi-range_ignored === CONT TestParseSingleRange/suffix === CONT TestParseSingleRange/end_clamped_to_size === CONT TestParseSingleRange/open-ended === CONT TestParseSingleRange/unknown_unit === CONT TestIsValidCachePath/narinfo === CONT TestIsValidCachePath/leading_slash === CONT TestIsValidCachePath/empty === CONT TestIsValidCachePath/short_hash === CONT TestIsValidCachePath/random_path === CONT TestIsValidCachePath/wrong_extension === CONT TestIsValidCachePath/log === CONT TestIsValidCachePath/realisation === CONT TestIsValidCachePath/traversal_in_middle === CONT TestIsValidCachePath/ls === CONT TestIsValidCachePath/invalid_char_u === CONT TestIsValidCachePath/traversal_parent === CONT TestIsValidCachePath/nar_uncompressed === CONT TestIsValidCachePath/index.html === CONT TestIsValidCachePath/nar_bz2 === CONT TestIsValidCachePath/invalid_char_e === CONT TestIsValidCachePath/nar_xz === CONT TestIsValidCachePath/nar_zst === CONT TestIsValidCachePath/nix-cache-info === CONT TestIsValidCachePath/narinfo_all_nix_base32_chars === RUN TestIsValidUploadKey/nar_key,_narinfo_type === PAUSE TestIsValidUploadKey/nar_key,_narinfo_type --- PASS: TestParseSingleRange (0.02s) --- PASS: TestParseSingleRange/none (0.00s) --- PASS: TestParseSingleRange/start_past_EOF (0.00s) --- PASS: TestParseSingleRange/start_far_past_EOF (0.00s) --- PASS: TestParseSingleRange/malformed_end_before_start (0.00s) --- PASS: TestParseSingleRange/malformed_both_empty (0.00s) --- PASS: TestParseSingleRange/closed (0.00s) --- PASS: TestParseSingleRange/malformed_no_dash (0.00s) --- PASS: TestParseSingleRange/single_byte (0.00s) --- PASS: TestParseSingleRange/suffix_exceeds_size (0.00s) --- PASS: TestParseSingleRange/multi-range_ignored (0.00s) --- PASS: TestParseSingleRange/suffix (0.00s) --- PASS: TestParseSingleRange/end_clamped_to_size (0.00s) --- PASS: TestParseSingleRange/open-ended (0.00s) --- PASS: TestParseSingleRange/unknown_unit (0.00s) === RUN TestIsValidUploadKey/listing_key,_narinfo_type === PAUSE TestIsValidUploadKey/listing_key,_narinfo_type --- PASS: TestIsValidCachePath (0.02s) --- PASS: TestIsValidCachePath/narinfo (0.00s) --- PASS: TestIsValidCachePath/leading_slash (0.00s) --- PASS: TestIsValidCachePath/empty (0.00s) --- PASS: TestIsValidCachePath/short_hash (0.00s) --- PASS: TestIsValidCachePath/random_path (0.00s) --- PASS: TestIsValidCachePath/wrong_extension (0.00s) --- PASS: TestIsValidCachePath/log (0.00s) --- PASS: TestIsValidCachePath/realisation (0.00s) --- PASS: TestIsValidCachePath/traversal_in_middle (0.00s) --- PASS: TestIsValidCachePath/ls (0.00s) --- PASS: TestIsValidCachePath/invalid_char_u (0.00s) --- PASS: TestIsValidCachePath/traversal_parent (0.00s) --- PASS: TestIsValidCachePath/nar_uncompressed (0.00s) --- PASS: TestIsValidCachePath/index.html (0.00s) --- PASS: TestIsValidCachePath/nar_bz2 (0.00s) --- PASS: TestIsValidCachePath/invalid_char_e (0.00s) --- PASS: TestIsValidCachePath/nar_xz (0.00s) --- PASS: TestIsValidCachePath/nar_zst (0.00s) --- PASS: TestIsValidCachePath/nix-cache-info (0.00s) --- PASS: TestIsValidCachePath/narinfo_all_nix_base32_chars (0.00s) === RUN TestIsValidUploadKey/traversal === PAUSE TestIsValidUploadKey/traversal === RUN TestIsValidUploadKey/traversal_nar === PAUSE TestIsValidUploadKey/traversal_nar === RUN TestIsValidUploadKey/absolute === PAUSE TestIsValidUploadKey/absolute === RUN TestIsValidUploadKey/empty_key === PAUSE TestIsValidUploadKey/empty_key === RUN TestIsValidUploadKey/unknown_type === PAUSE TestIsValidUploadKey/unknown_type === CONT TestIsValidUploadKey/narinfo === CONT TestIsValidUploadKey/nar_plain === CONT TestIsValidUploadKey/nix-cache-info === CONT TestIsValidUploadKey/unknown_type === CONT TestIsValidUploadKey/empty_key === CONT TestIsValidUploadKey/absolute === CONT TestIsValidUploadKey/traversal_nar === CONT TestIsValidUploadKey/traversal === CONT TestIsValidUploadKey/build_log_question_mark === CONT TestIsValidUploadKey/listing === CONT TestIsValidUploadKey/build_log_plus_in_name === CONT TestIsValidUploadKey/nar_key,_narinfo_type === CONT TestIsValidUploadKey/build_log_home-manager_file === CONT TestIsValidUploadKey/narinfo_key,_nar_type === CONT TestIsValidUploadKey/index.html === CONT TestIsValidUploadKey/build_log === CONT TestIsValidUploadKey/nar_xz === CONT TestIsValidUploadKey/realisation === CONT TestIsValidUploadKey/realisation_plus_in_output === CONT TestIsValidUploadKey/build_log_equals === CONT TestIsValidUploadKey/nar_zst === CONT TestIsValidUploadKey/listing_key,_narinfo_type --- PASS: TestIsValidUploadKey (0.02s) --- PASS: TestIsValidUploadKey/narinfo (0.00s) --- PASS: TestIsValidUploadKey/nar_plain (0.00s) --- PASS: TestIsValidUploadKey/nix-cache-info (0.00s) --- PASS: TestIsValidUploadKey/unknown_type (0.00s) --- PASS: TestIsValidUploadKey/empty_key (0.00s) --- PASS: TestIsValidUploadKey/absolute (0.00s) --- PASS: TestIsValidUploadKey/traversal_nar (0.00s) --- PASS: TestIsValidUploadKey/traversal (0.00s) --- PASS: TestIsValidUploadKey/build_log_question_mark (0.00s) --- PASS: TestIsValidUploadKey/listing (0.00s) --- PASS: TestIsValidUploadKey/build_log_plus_in_name (0.00s) --- PASS: TestIsValidUploadKey/nar_key,_narinfo_type (0.00s) --- PASS: TestIsValidUploadKey/build_log_home-manager_file (0.00s) --- PASS: TestIsValidUploadKey/narinfo_key,_nar_type (0.00s) --- PASS: TestIsValidUploadKey/index.html (0.00s) --- PASS: TestIsValidUploadKey/build_log (0.00s) --- PASS: TestIsValidUploadKey/nar_xz (0.00s) --- PASS: TestIsValidUploadKey/realisation (0.00s) --- PASS: TestIsValidUploadKey/realisation_plus_in_output (0.00s) --- PASS: TestIsValidUploadKey/build_log_equals (0.00s) --- PASS: TestIsValidUploadKey/nar_zst (0.00s) --- PASS: TestIsValidUploadKey/listing_key,_narinfo_type (0.00s) --- PASS: TestGracefulShutdownDrainsInflight (0.08s) === RUN TestUploadHandlersRejectOversizedBody/create_pending_closure === PAUSE TestUploadHandlersRejectOversizedBody/create_pending_closure === RUN TestUploadHandlersRejectOversizedBody/complete_multipart === PAUSE TestUploadHandlersRejectOversizedBody/complete_multipart === RUN TestUploadHandlersRejectOversizedBody/request_more_parts === PAUSE TestUploadHandlersRejectOversizedBody/request_more_parts === CONT TestUploadHandlersRejectOversizedBody/create_pending_closure 2026/07/18 13:54:33 INFO Received uploads request method=POST path=/ === CONT TestUploadHandlersRejectOversizedBody/request_more_parts === CONT TestUploadHandlersRejectOversizedBody/complete_multipart 2026/07/18 13:54:33 INFO Received request for more parts method=POST path=/ 2026/07/18 13:54:33 INFO Received complete multipart upload request method=POST path=/ 2026-07-18 13:54:33.244 UTC [1277] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.244 UTC [1277] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.244 UTC [1279] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.244 UTC [1279] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.245 UTC [1281] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.245 UTC [1281] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.246 UTC [1280] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.246 UTC [1280] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.246 UTC [1278] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.246 UTC [1278] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/18 13:54:33 WARN Request failed, retrying attempt=1 max_attempts=6 backoff=100ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures 2026-07-18 13:54:33.278 UTC [1323] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.278 UTC [1323] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.278 UTC [1299] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.278 UTC [1299] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.279 UTC [1301] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.279 UTC [1301] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.293 UTC [1325] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.293 UTC [1325] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.293 UTC [1324] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.293 UTC [1324] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/18 13:54:33 WARN Request failed, retrying attempt=2 max_attempts=6 backoff=214.022213ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (99.79ms) 2026-07-18 13:54:33.372 UTC [1328] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.372 UTC [1328] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.376 UTC [1329] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.376 UTC [1329] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.383 UTC [1330] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.383 UTC [1330] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (110.7ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (21.89ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (122.08ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (125.09ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (122.32ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (9.79ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (7.46ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (103.55ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (7.69ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (9.34ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (90.13ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (102.47ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (5.5ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (12.26ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (4.86ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (20.05ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (6.65ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (106.84ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (104.89ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (16.44ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (13.65ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (13.86ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (10.28ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (13.62ms) 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (12.21ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (6.48ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (6.28ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (11.55ms) 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (12.17ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026-07-18 13:54:33.443 UTC [1331] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.443 UTC [1331] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.444 UTC [1332] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.444 UTC [1332] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (21.42ms) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (21.77ms) 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (31.67ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (34.09ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (9.21ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (7.49ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (36.19ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (35.52ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (33.9ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (9.22ms) 2026/07/18 13:54:33 WARN Authentication failed token_preview=wrongtoken token_length=10 reason="static API token mismatch" --- PASS: TestService_AuthMiddleware (0.43s) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (9.27ms) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (8.32ms) {"timestamp":"2026-07-18T13:54:33.466391108Z","level":"ERROR","fields":{"message":"system path read failed","path_kind":"data_usage","operation":"read_primary","reason":"config_not_found","object":"buckets/.usage.json","error":"Config not found"},"target":"rustfs_ecstore::data_usage","filename":"crates/ecstore/src/data_usage.rs","line_number":126,"threadName":"rustfs-worker","threadId":"ThreadId(759)"} 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (6.35ms) --- PASS: TestReadProxyRootRedirectsToIndexHTML (0.43s) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (42.08ms) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (8.62ms) 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (41.33ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (8.35ms) 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (5.77ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (44.93ms) 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (7.62ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 INFO Created nix-cache-info in bucket bucket=bucket6 --- PASS: TestReadProxyNarinfoAlreadyDecompressed (0.45s) 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (17.4ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (17.16ms) 2026/07/18 13:54:33 goose: up to current file version: 2 === NAME TestNARDeduplicationMetadataUploadBug metadata_upload_test.go:48: First store path: /build/TestNARDeduplicationMetadataUploadBug3243253882/001/store/3pvbl54iqibxv3sfw095m8dv7mr8xa5q-file1.txt 2026/07/18 13:54:33 WARN Request failed, retrying attempt=3 max_attempts=6 backoff=369.911493ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (98.62ms) 2026-07-18 13:54:33.569 UTC [1334] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.569 UTC [1334] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (101.91ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (153.73ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (158.73ms) 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (106.74ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (160.79ms) --- PASS: TestReadProxy404 (0.58s) --- PASS: TestReadProxyHead (0.58s) --- PASS: TestReadProxyNarStreaming (0.58s) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (27.95ms) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (32.29ms) 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (36.54ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (35.96ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (36.14ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (38.99ms) 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (10.04ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (9.39ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/18 13:54:33 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/18 13:54:33 INFO Received uploads request method=POST path=/api/pending_closures --- PASS: TestService_healthCheckHandler (0.62s) 2026/07/18 13:54:33 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (34.36ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (32.63ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (38.31ms) 2026/07/18 13:54:33 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/07/18 13:54:33 INFO Uploading 3pvbl54iqibxv3sfw095m8dv7mr8xa5q-file1.txt (160B) 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (18.57ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (83.78ms) 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (11.53ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (6.92ms) 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (13.95ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign 2026/07/18 13:54:33 INFO Signed narinfos id=1 count=1 2026/07/18 13:54:33 INFO Uploading 1 narinfos 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (91.31ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (5.43ms) 2026/07/18 13:54:33 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (4.43ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (6.59ms) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (6.4ms) 2026/07/18 13:54:33 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (4.48ms) 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (4.12ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (5.14ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/18 13:54:33 WARN mTLS auth: subject not in bound subjects subject="CN=reader" 2026/07/18 13:54:33 WARN mTLS auth: subject not in bound subjects subject="CN=writer" --- PASS: TestService_NativeMTLS (0.68s) 2026-07-18 13:54:33.726 UTC [1406] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.726 UTC [1406] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.726 UTC [1408] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.726 UTC [1408] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.727 UTC [1409] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.727 UTC [1409] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.727 UTC [1407] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.727 UTC [1407] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.727 UTC [1411] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.727 UTC [1411] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.728 UTC [1410] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.728 UTC [1410] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/18 13:54:33 INFO Completed upload id=1 2026/07/18 13:54:33 INFO Upload complete. (153ms) 2026-07-18 13:54:33.731 UTC [1414] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.731 UTC [1414] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.731 UTC [1415] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.731 UTC [1415] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.731 UTC [1413] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.731 UTC [1413] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.731 UTC [1412] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.731 UTC [1412] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC === NAME TestNARDeduplicationMetadataUploadBug metadata_upload_test.go:54: Retrieved narinfo from S3: StorePath: /build/TestNARDeduplicationMetadataUploadBug3243253882/001/store/3pvbl54iqibxv3sfw095m8dv7mr8xa5q-file1.txt URL: nar/1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf.nar.zst Compression: zstd NarHash: sha256:1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf NarSize: 160 References: CA: fixed:r:sha256:1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (25.71ms) metadata_upload_test.go:55: Retrieved .ls file from S3 (compressed size: 77 bytes) metadata_upload_test.go:55: Decompressed .ls content (64 bytes): 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (52.07ms) {"version":1,"root":{"type":"regular","size":44,"narOffset":96}} 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (38.89ms) 2026-07-18 13:54:33.752 UTC [1416] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.752 UTC [1416] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (16.27ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 --- PASS: TestCreatePendingClosure_SmallNARUsesSimplePUT (0.72s) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (5.97ms) 2026-07-18 13:54:33.760 UTC [1419] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.760 UTC [1419] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.760 UTC [1418] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.760 UTC [1418] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.760 UTC [1417] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.760 UTC [1417] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (4.82ms) 2026-07-18 13:54:33.762 UTC [1421] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.762 UTC [1421] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (2.75ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (9.34ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (12.6ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (12.85ms) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (6.5ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (14.4ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (9.35ms) 2026-07-18 13:54:33.774 UTC [1423] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.774 UTC [1423] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.774 UTC [1422] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.774 UTC [1422] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.775 UTC [1425] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.775 UTC [1425] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.775 UTC [1424] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.775 UTC [1424] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.775 UTC [1426] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.775 UTC [1426] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (13.25ms) 2026-07-18 13:54:33.777 UTC [1428] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.777 UTC [1428] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.777 UTC [1427] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.777 UTC [1427] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (3.65ms) 2026-07-18 13:54:33.778 UTC [1429] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.778 UTC [1429] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (3.77ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (3.85ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (4.29ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (13.71ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (14.63ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (15.24ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (15.36ms) 2026-07-18 13:54:33.780 UTC [1430] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.780 UTC [1430] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (3.23ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (14.77ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (16.3ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (13.15ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (2.85ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (3.33ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (2.99ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (3.31ms) 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (9.2ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (3.23ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (6.43ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (6.08ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (6.18ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (4.14ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (5.57ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (3.72ms) 2026-07-18 13:54:33.787 UTC [1431] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.787 UTC [1431] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (5.24ms) 2026-07-18 13:54:33.788 UTC [1432] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.788 UTC [1432] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (5.6ms) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (4.96ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (6.14ms) 2026-07-18 13:54:33.789 UTC [1433] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.789 UTC [1433] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-18 13:54:33.789 UTC [1434] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-18 13:54:33.789 UTC [1434] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (5.84ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (6.49ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (5.64ms) 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (2.58ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (7.03ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (6.02ms) 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (6.91ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (12.91ms) 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (7.65ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (6.79ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (6.96ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (7.04ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 --- PASS: TestService_Rustfstest (0.76s) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (4.3ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (17.48ms) 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (8.16ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (4.31ms) 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (7.43ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (7.6ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (4.83ms) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (4.55ms) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (4.41ms) 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (6.62ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 === NAME TestNARDeduplicationMetadataUploadBug 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (2.34ms) metadata_upload_test.go:64: Second store path (same content): /build/TestNARDeduplicationMetadataUploadBug3243253882/001/store/l8spk21nq4akvgnfqi3cccdmsn0q4rag-file2.txt 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (19.36ms) 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (2ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (1.81ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (5.52ms) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (4.38ms) 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (7.84ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (3.38ms) 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (2.42ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (3.7ms) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (4.19ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (19.55ms) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (3.77ms) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (4.63ms) 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (2.31ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (5.69ms) 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (2.43ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (3.17ms) 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (2.41ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (2.17ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 WARN mTLS auth: subject not in bound subjects subject="CN=untrusted,O=Other" 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (2.15ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (14.07ms) 2026/07/18 13:54:33 WARN mTLS auth: bound subjects configured but subject DN unavailable 2026/07/18 13:54:33 WARN mTLS auth: subject not in bound subjects subject="CN=untrusted" --- PASS: TestService_AuthMiddleware_MTLSBoundSubjects (0.76s) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (14.16ms) 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (2.46ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (4.22ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (13.31ms) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (4.71ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (12.4ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (12.98ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (13.88ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (5.45ms) 2026/07/18 13:54:33 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/18 13:54:33 INFO Created nix-cache-info in bucket bucket=bucket18 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (1.98ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (3.45ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (13.69ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (16.51ms) === RUN TestService_AuthMiddleware_OIDC/valid_OIDC_token 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (5.03ms) === PAUSE TestService_AuthMiddleware_OIDC/valid_OIDC_token 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (6.16ms) === RUN TestService_AuthMiddleware_OIDC/OIDC_token_with_wrong_org_rejected 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 === PAUSE TestService_AuthMiddleware_OIDC/OIDC_token_with_wrong_org_rejected 2026/07/18 13:54:33 INFO Created nix-cache-info in bucket bucket=bucket22 === RUN TestService_AuthMiddleware_OIDC/malformed_token_rejected === PAUSE TestService_AuthMiddleware_OIDC/malformed_token_rejected 2026/07/18 13:54:33 INFO Created nix-cache-info in bucket bucket=bucket25 === RUN TestService_AuthMiddleware_OIDC/static_token_still_works_with_OIDC_configured === PAUSE TestService_AuthMiddleware_OIDC/static_token_still_works_with_OIDC_configured === CONT TestService_AuthMiddleware_OIDC/valid_OIDC_token === CONT TestService_AuthMiddleware_OIDC/malformed_token_rejected 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (13.83ms) === CONT TestService_AuthMiddleware_OIDC/static_token_still_works_with_OIDC_configured 2026/07/18 13:54:33 WARN Authentication failed token_preview=not-a-valid-jwt token_length=15 oidc_error="no provider could verify the token (signature or issuer mismatch)" oidc_provider="" tried_providers=[test] 2026/07/18 13:54:33 WARN mTLS auth: subject not in bound subjects subject="CN=writer" === CONT TestService_AuthMiddleware_OIDC/OIDC_token_with_wrong_org_rejected 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (2.66ms) --- PASS: TestService_ReadAuthMiddleware (0.77s) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (6.47ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (3.23ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (2.87ms) 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (6.5ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (3.91ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (4.25ms) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (3.86ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (2.77ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (2.88ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (3.12ms) 2026/07/18 13:54:33 INFO OIDC auth successful provider=test 2026/07/18 13:54:33 WARN Authentication failed token_preview=eyJhbGciOi...-D4RbXkXeg token_length=702 oidc_error="bound claims validation failed: claim \"repository_owner\" value [otherorg] not in allowed patterns [myorg]" oidc_provider=test tried_providers=[test] 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (2.11ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (6.6ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 --- PASS: TestService_AuthMiddleware_OIDC (0.77s) --- PASS: TestService_AuthMiddleware_OIDC/malformed_token_rejected (0.00s) --- PASS: TestService_AuthMiddleware_OIDC/static_token_still_works_with_OIDC_configured (0.00s) --- PASS: TestService_AuthMiddleware_OIDC/valid_OIDC_token (0.01s) --- PASS: TestService_AuthMiddleware_OIDC/OIDC_token_with_wrong_org_rejected (0.00s) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (12.5ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (7.73ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (4.6ms) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (5.21ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (6.43ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (13.6ms) 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (13.67ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (5.47ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (6.74ms) 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (8.27ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (8.79ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (6.41ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (6.75ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (1.95ms) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (4ms) 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (6.48ms) 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (4.01ms) 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (2.38ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 INFO Created nix-cache-info in bucket bucket=bucket29 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (2.33ms) 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (4.46ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (5.79ms) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (5.77ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (7.95ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (6.02ms) 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (10.15ms) 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (6.97ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (5.72ms) 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (5.9ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (7.41ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (7.54ms) 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (12.34ms) 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (2.09ms) 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (8.63ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 --- PASS: TestObjectStatsTrigger (0.79s) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 20241026095416_initial_model.sql (22.2ms) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (6.77ms) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (6.29ms) 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (6.5ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (7.62ms) --- PASS: TestReadProxyInvalidPath (0.80s) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (5.93ms) 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (1.65ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (3.58ms) 2026/07/18 13:54:33 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (3.42ms) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (3.52ms) 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (1.33ms) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (2.98ms) --- PASS: TestMetricsInventory (0.79s) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (3.52ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (3.09ms) 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (1.34ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (1.48ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (1.5ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (1.57ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (1.27ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (1.44ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (1.37ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (5.15ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (3.04ms) {"timestamp":"2026-07-18T13:54:33.84217821Z","level":"ERROR","fields":{"message":"complete_multipart_upload part error: \"part.1 not found\""},"target":"rustfs_ecstore::set_disk","filename":"crates/ecstore/src/set_disk.rs","line_number":3463,"threadName":"rustfs-worker","threadId":"ThreadId(757)"} 2026/07/18 13:54:33 OK 20251210153512_drop_unused_gin_index.sql (3.18ms) {"timestamp":"2026-07-18T13:54:33.84224555Z","level":"ERROR","fields":{"message":"complete_multipart_upload etag err client=Some(\"deadbeef\"), stored=\"\", part_id=1, bucket=bucket24, object=nar/gggggggggggggggggggggggggggggg0300000000000000000000.nar.zst"},"target":"rustfs_ecstore::set_disk","filename":"crates/ecstore/src/set_disk.rs","line_number":3534,"threadName":"rustfs-worker","threadId":"ThreadId(757)"} 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (6.29ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (1.15ms) 2026/07/18 13:54:33 goose: up to current file version: 2 --- PASS: TestService_AuthMiddleware_MTLSProxyHeader (0.80s) 2026/07/18 13:54:33 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/18 13:54:33 ERROR Failed to get multipart upload error="no rows in result set" upload_id=does-not-exist object_key=nar/0000000000000000000000000000000000000000000000000000.nar.zst 2026/07/18 13:54:33 WARN CompleteMultipartUpload errored but object exists; treating as success error="One or more of the specified parts could not be found. The part may not have been uploaded, or the specified entity tag may not match the part's entity tag." object_key=nar/gggggggggggggggggggggggggggggg0300000000000000000000.nar.zst upload_id=NDA4MDNjMjAtZmQwZi00MWUwLWFjMWMtMGVmMjFhOWY3MDZhLmNmYTdhZGI5LTY3MWYtNDcxYy04ZWM5LTIyY2I5ZjFkNjgyNHgxNzg0MzgyODczODE3NjkwNzkx --- PASS: TestCompleteMultipartUnregistered (0.80s) 2026/07/18 13:54:33 INFO Received uploads request method=POST path=/api/pending_closures --- PASS: TestReadProxyDisabled (0.80s) 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (2.51ms) 2026/07/18 13:54:33 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (3.27ms) --- PASS: TestCacheStatsHandler (0.80s) 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (1.32ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 INFO Created nix-cache-info in bucket bucket=bucket39 2026/07/18 13:54:33 OK 20251218171726_add_pins.sql (5.68ms) 2026/07/18 13:54:33 INFO Completed multipart upload object_key=nar/gggggggggggggggggggggggggggggg0300000000000000000000.nar.zst upload_id=NDA4MDNjMjAtZmQwZi00MWUwLWFjMWMtMGVmMjFhOWY3MDZhLmNmYTdhZGI5LTY3MWYtNDcxYy04ZWM5LTIyY2I5ZjFkNjgyNHgxNzg0MzgyODczODE3NjkwNzkx parts=1 --- PASS: TestCompleteMultipartUpload_ErrorButObjectExists (0.80s) 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (1.22ms) 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 OK 20260628120000_add_object_size_and_stats.sql (6.03ms) 2026/07/18 13:54:33 goose: successfully migrated database to version: 20260628120000 2026/07/18 13:54:33 INFO Received cleanup request method=DELETE path=/api/pending_closures 2026/07/18 13:54:33 INFO Received uploads request method=POST path=/api/pending_closures --- PASS: TestReadProxyRangeRequest (0.81s) --- PASS: TestReadProxyNarinfo (0.82s) 2026/07/18 13:54:33 INFO Aborted multipart uploads count=0 2026/07/18 13:54:33 OK 1_commit_pending_closure.sql (3.32ms) 2026/07/18 13:54:33 INFO Received uploads request method=POST path=/api/pending_closures === NAME TestClientMultipleUploads 2026/07/18 13:54:33 OK 2_object_stats_trigger.sql (1.25ms) client_integration_test.go:338: Created store path 0: /build/TestClientMultipleUploads1353804234/001/store/i7bvccp4g5mfn2rqlb6gs0z63s1gcn02-test-file-0.txt 2026/07/18 13:54:33 goose: up to current file version: 2 2026/07/18 13:54:33 INFO Aborted multipart uploads count=0 --- PASS: TestReadProxyConditionalGet (0.82s) 2026/07/18 13:54:33 WARN Force mode enabled - objects will be deleted immediately without grace period 2026/07/18 13:54:33 INFO Received cleanup request method=DELETE path=/api/pending_closures 2026/07/18 13:54:33 INFO Received cleanup request method=DELETE path=/api/pending_closures 2026/07/18 13:54:33 INFO Garbage collection completed failed-uploads-deleted=0 old-closures-deleted=0 objects-marked-for-deletion=0 objects-deleted-after-grace-period=0 objects-failed-to-delete=0 2026/07/18 13:54:33 INFO Vacuumed table table=pending_closures 2026/07/18 13:54:33 INFO Aborted multipart uploads count=1 2026/07/18 13:54:33 INFO Vacuumed table table=pending_objects 2026/07/18 13:54:33 INFO Vacuumed table table=multipart_uploads 2026/07/18 13:54:33 INFO Vacuumed table table=closures 2026/07/18 13:54:33 INFO Vacuumed table table=objects 2026/07/18 13:54:33 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/07/18 13:54:33 INFO Aborted multipart uploads count=1 2026-07-18 13:54:33.871 UTC [1432] ERROR: Closure does not exist: id=1 2026-07-18 13:54:33.871 UTC [1432] CONTEXT: PL/pgSQL function commit_pending_closure(bigint) line 16 at RAISE 2026-07-18 13:54:33.871 UTC [1432] STATEMENT: -- name: CommitPendingClosure :exec SELECT commit_pending_closure($1::bigint) --- PASS: TestService_cleanupPendingClosuresHandler (0.83s) --- PASS: TestMultipartCleanup (0.84s) --- PASS: TestGCMetrics (0.83s) === NAME TestClientIntegration client_integration_test.go:276: Created store path: /build/TestClientIntegration1745119953/002/store/21a2zw64xrvkgf4war5c4mhbsnnsqgb6-test-file.txt --- PASS: TestResurrectedObjectNotDeleted (0.86s) === NAME TestClientMultipleUploads client_integration_test.go:338: Created store path 1: /build/TestClientMultipleUploads1353804234/001/store/cxwh2dcw5i050gwfn9jfsi9pab334fyj-test-file-1.txt === NAME TestPinProtectsFromGC client_integration_test.go:646: Pinned store path: /build/TestPinProtectsFromGC1339669489/001/store/8q1dp38a3jgjwqb7mkiyjjg0sxm92jyj-pinned-file.txt client_integration_test.go:647: Unpinned store path: /build/TestPinProtectsFromGC1339669489/001/store/kisnp8vyvh21qy41pcrmdbpbbg10ikfq-unpinned-file.txt 2026/07/18 13:54:33 INFO Received complete multipart upload request method=POST path=/api/multipart/complete === NAME TestClientWithDependencies client_integration_test.go:593: Built derivation: /build/TestClientWithDependencies2857166424/001/store/k2j48kmybm97vsqcjnfm5in8x0p40asm-test-script 2026/07/18 13:54:33 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/18 13:54:33 INFO Uploading 0 paths to 127.0.0.1 (1 already cached) 2026/07/18 13:54:33 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign 2026/07/18 13:54:33 INFO Signed narinfos id=2 count=1 2026/07/18 13:54:33 INFO Uploading 1 narinfos 2026/07/18 13:54:33 WARN Request failed, retrying attempt=4 max_attempts=6 backoff=753.957174ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures 2026/07/18 13:54:33 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete 2026/07/18 13:54:33 INFO Completed upload id=2 === NAME TestClientCADerivations client_ca_test.go:136: Built CA derivation: /build/TestClientCADerivations2503571063/001/store/a86qyqcqwsjfk662q3hanqzwdnnkpk43-ca-test 2026/07/18 13:54:33 INFO Upload complete. (97ms) === NAME TestNARDeduplicationMetadataUploadBug metadata_upload_test.go:76: Retrieved narinfo from S3: StorePath: /build/TestNARDeduplicationMetadataUploadBug3243253882/001/store/l8spk21nq4akvgnfqi3cccdmsn0q4rag-file2.txt URL: nar/1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf.nar.zst Compression: zstd NarHash: sha256:1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf NarSize: 160 References: CA: fixed:r:sha256:1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf metadata_upload_test.go:77: Retrieved .ls file from S3 (compressed size: 62 bytes) metadata_upload_test.go:77: Decompressed .ls content (49 bytes): {"version":1,"root":{"type":"regular","size":44}} --- PASS: TestNARDeduplicationMetadataUploadBug (0.91s) === NAME TestClientMultipleUploads client_integration_test.go:338: Created store path 2: /build/TestClientMultipleUploads1353804234/001/store/9rz4awi203h1zmc54mr43q6ky97gcf5r-test-file-2.txt 2026/07/18 13:54:33 INFO Received complete multipart upload request method=POST path=/api/multipart/complete === NAME TestClientWithDependencies client_integration_test.go:595: Found 1 dependencies (including self) 2026/07/18 13:54:33 INFO Completed multipart upload object_key=nar/0000000000000000000000000000000000000000000000000000.nar.zst upload_id=NDA4MDNjMjAtZmQwZi00MWUwLWFjMWMtMGVmMjFhOWY3MDZhLmE5ZjQ3MmViLWM5MzMtNGUwZi04NjEzLTgwYTdkNmUxZjc4NngxNzg0MzgyODczNjkxMTU5NzY4 parts=10 2026/07/18 13:54:33 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/07/18 13:54:33 INFO Completed upload id=1 2026/07/18 13:54:33 INFO Received get closure request method=GET path=/api/closures/00000000000000000000000000000000 2026/07/18 13:54:33 INFO Received uploads request method=POST path=/api/pending_closures === NAME TestClientCADerivations client_ca_test.go:139: Found 1 dependencies (including self) 2026/07/18 13:54:33 INFO Starting cleanup of old closures method=DELETE path=/api/closures 2026/07/18 13:54:33 INFO Aborted multipart uploads count=0 2026/07/18 13:54:34 INFO Garbage collection completed failed-uploads-deleted=0 old-closures-deleted=1 objects-marked-for-deletion=2 objects-deleted-after-grace-period=0 objects-failed-to-delete=0 2026/07/18 13:54:34 INFO Vacuumed table table=pending_closures 2026/07/18 13:54:34 INFO Vacuumed table table=pending_objects 2026/07/18 13:54:34 INFO Vacuumed table table=multipart_uploads 2026/07/18 13:54:34 INFO Vacuumed table table=closures 2026/07/18 13:54:34 INFO Vacuumed table table=objects --- PASS: TestUploadHandlersRejectOversizedBody (0.18s) --- PASS: TestUploadHandlersRejectOversizedBody/request_more_parts (0.05s) --- PASS: TestUploadHandlersRejectOversizedBody/complete_multipart (0.06s) --- PASS: TestUploadHandlersRejectOversizedBody/create_pending_closure (0.80s) 2026/07/18 13:54:34 WARN Authentication failed token_preview=invalid-token token_length=13 reason="static API token mismatch" 2026/07/18 13:54:34 INFO Received get closure request method=GET path=/api/closures/00000000000000000000000000000000 --- PASS: TestService_createPendingClosureHandler (1.00s) 2026/07/18 13:54:34 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/18 13:54:34 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/18 13:54:34 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/07/18 13:54:34 INFO Uploading 21a2zw64xrvkgf4war5c4mhbsnnsqgb6-test-file.txt (152B) 2026/07/18 13:54:34 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/07/18 13:54:34 INFO Uploading 8q1dp38a3jgjwqb7mkiyjjg0sxm92jyj-pinned-file.txt (128B) 2026/07/18 13:54:34 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/18 13:54:34 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign 2026/07/18 13:54:34 INFO Signed narinfos id=1 count=1 2026/07/18 13:54:34 INFO Uploading 1 narinfos 2026/07/18 13:54:34 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign 2026/07/18 13:54:34 INFO Signed narinfos id=1 count=1 2026/07/18 13:54:34 INFO Uploading 1 narinfos 2026/07/18 13:54:34 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/07/18 13:54:34 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/07/18 13:54:34 INFO Uploading k2j48kmybm97vsqcjnfm5in8x0p40asm-test-script (136B) 2026/07/18 13:54:34 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete === NAME TestOrphanedObjectsGC orphaned_objects_gc_test.go:290: GC Test Summary: orphaned_objects_gc_test.go:291: - Kept: 2 objects from closure A orphaned_objects_gc_test.go:292: - Deleted: 2 objects from closure B orphaned_objects_gc_test.go:293: - Deleted: 6 orphaned chain objects (X1->X2->X3) orphaned_objects_gc_test.go:294: - Deleted: 2 orphaned single objects (Y) orphaned_objects_gc_test.go:295: - Total deleted: 10 objects --- PASS: TestOrphanedObjectsGC (1.03s) 2026/07/18 13:54:34 INFO Completed upload id=1 2026/07/18 13:54:34 INFO Upload complete. (123ms) --- PASS: TestGCBugBareHashReferences (1.03s) 2026/07/18 13:54:34 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign === NAME TestClientIntegration client_integration_test.go:292: Retrieved narinfo from S3: StorePath: /build/TestClientIntegration1745119953/002/store/21a2zw64xrvkgf4war5c4mhbsnnsqgb6-test-file.txt URL: nar/11l1b7hsy9g9pz8i2rcn4n128l6pyr2yf58d49r12hr5caw9dzk1.nar.zst Compression: zstd NarHash: sha256:11l1b7hsy9g9pz8i2rcn4n128l6pyr2yf58d49r12hr5caw9dzk1 NarSize: 152 References: CA: fixed:r:sha256:11l1b7hsy9g9pz8i2rcn4n128l6pyr2yf58d49r12hr5caw9dzk1 2026/07/18 13:54:34 INFO Signed narinfos id=1 count=1 2026/07/18 13:54:34 INFO Uploading 1 narinfos 2026/07/18 13:54:34 INFO Completed upload id=1 2026/07/18 13:54:34 INFO Upload complete. (126ms) client_integration_test.go:293: Retrieved .ls file from S3 (compressed size: 77 bytes) client_integration_test.go:293: Decompressed .ls content (64 bytes): {"version":1,"root":{"type":"regular","size":39,"narOffset":96}} client_integration_test.go:296: Testing garbage collection... 2026/07/18 13:54:34 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/07/18 13:54:34 INFO Completed upload id=1 2026/07/18 13:54:34 INFO Upload complete. (77ms) === NAME TestClientWithDependencies client_integration_test.go:597: Skipping nix copy test - isolated store (/build/TestClientWithDependencies2857166424/001/store) requires matching store prefix --- PASS: TestClientWithDependencies (1.05s) 2026/07/18 13:54:34 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/07/18 13:54:34 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/18 13:54:34 INFO Completed multipart upload object_key=nar/dadb44fdadb44fdadb44fdadb44f000000000000000000000000.nar.zst upload_id=NDA4MDNjMjAtZmQwZi00MWUwLWFjMWMtMGVmMjFhOWY3MDZhLjU1MmY5N2QxLWE3MjMtNGZkYi1hOWM0LTI1MTUyMzM1YWM2NXgxNzg0MzgyODczODUzNDY3ODUz parts=10 2026/07/18 13:54:34 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/07/18 13:54:34 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/18 13:54:34 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/18 13:54:34 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/18 13:54:34 INFO Completed upload id=1 2026/07/18 13:54:34 INFO Uploading 3 paths to 127.0.0.1 (0 already cached) 2026/07/18 13:54:34 INFO Uploading i7bvccp4g5mfn2rqlb6gs0z63s1gcn02-test-file-0.txt (160B) 2026/07/18 13:54:34 INFO Uploading 9rz4awi203h1zmc54mr43q6ky97gcf5r-test-file-2.txt (160B) 2026/07/18 13:54:34 INFO Uploading cxwh2dcw5i050gwfn9jfsi9pab334fyj-test-file-1.txt (160B) 2026/07/18 13:54:34 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/18 13:54:34 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/18 13:54:34 INFO Starting cleanup of old closures method=DELETE path=/api/closures 2026/07/18 13:54:34 INFO Garbage collection started 2026/07/18 13:54:34 INFO Object in database but missing from S3 key=dadb44fdadb44fdadb44fdadb44f0000.narinfo 2026/07/18 13:54:34 WARN Found objects in DB but missing from S3, will re-upload count=1 2026/07/18 13:54:34 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/07/18 13:54:34 INFO Uploading a86qyqcqwsjfk662q3hanqzwdnnkpk43-ca-test (144B) --- PASS: TestService_verifyS3Integrity (1.08s) 2026/07/18 13:54:34 INFO Aborted multipart uploads count=0 2026/07/18 13:54:34 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign 2026/07/18 13:54:34 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign 2026/07/18 13:54:34 INFO Signed narinfos id=1 count=1 2026/07/18 13:54:34 INFO Signed narinfos id=1 count=1 2026/07/18 13:54:34 INFO Uploading 1 narinfos 2026/07/18 13:54:34 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign 2026/07/18 13:54:34 WARN Force mode enabled - objects will be deleted immediately without grace period 2026/07/18 13:54:34 INFO Signed narinfos id=2 count=1 2026/07/18 13:54:34 INFO Received sign narinfos request method=POST path=/api/pending_closures/3/sign 2026/07/18 13:54:34 INFO Signed narinfos id=3 count=1 2026/07/18 13:54:34 INFO Uploading 3 narinfos 2026/07/18 13:54:34 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/07/18 13:54:34 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/07/18 13:54:34 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete 2026/07/18 13:54:34 INFO Completed upload id=1 2026/07/18 13:54:34 INFO Upload complete. (123ms) 2026/07/18 13:54:34 INFO Completed upload id=2 2026/07/18 13:54:34 INFO Received complete upload request method=POST path=/api/pending_closures/3/complete 2026/07/18 13:54:34 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/07/18 13:54:34 INFO Completed upload id=3 2026/07/18 13:54:34 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/07/18 13:54:34 INFO Completed multipart upload object_key=nar/hhhhhhhhhhhhhhhhhhhhhhhhhhhhhh0100000000000000000000.nar.zst upload_id=NDA4MDNjMjAtZmQwZi00MWUwLWFjMWMtMGVmMjFhOWY3MDZhLjJiN2E1OGE2LTBjZjgtNDI5My1iZGFmLTgzMjkwYTI2ODZkNHgxNzg0MzgyODczODUxMDgzMDM4 parts=12 2026/07/18 13:54:34 INFO Completed upload id=1 === NAME TestClientCADerivations 2026/07/18 13:54:34 INFO Upload complete. (159ms) client_ca_test.go:180: Narinfo contains CA field: StorePath: /build/TestClientCADerivations2503571063/001/store/a86qyqcqwsjfk662q3hanqzwdnnkpk43-ca-test 2026/07/18 13:54:34 INFO Received uploads request method=POST path=/api/pending_closures URL: nar/04jj7iiy79vhzp5kk3r2751n9x3xa44j98y5bk1ds4jp31kky74n.nar.zst Compression: zstd NarHash: sha256:04jj7iiy79vhzp5kk3r2751n9x3xa44j98y5bk1ds4jp31kky74n NarSize: 144 References: Deriver: /build/TestClientCADerivations2503571063/001/store/jr5cqdq4jln6n8xr3spai0ybpwjv3dpc-ca-test.drv CA: fixed:r:sha256:04jj7iiy79vhzp5kk3r2751n9x3xa44j98y5bk1ds4jp31kky74n client_ca_test.go:185: Checking for realisation files in S3... === NAME TestClientMultipleUploads client_integration_test.go:349: Uploaded 3 paths in 202.211325ms --- PASS: TestCompletedNarNotReofferedAcrossClosures (1.11s) === NAME TestClientCADerivations client_ca_test.go:207: No realisation files uploaded - this is expected for locally built CA derivations client_ca_test.go:208: Locally built CA derivations don't have DrvOutput IDs until they're substituted from a cache 2026/07/18 13:54:34 INFO Completed multipart upload object_key=nar/gggggggggggggggggggggggggggggg0100000000000000000000.nar.zst upload_id=NDA4MDNjMjAtZmQwZi00MWUwLWFjMWMtMGVmMjFhOWY3MDZhLjEzZmE3NjBjLWQ4NGYtNDUzNy1hZGE5LTI2M2VhY2RlZWM5MXgxNzg0MzgyODczODUyNjg0ODkx parts=12 --- PASS: TestRedundantMultipartUpload (1.12s) --- PASS: TestClientMultipleUploads (1.13s) 2026/07/18 13:54:34 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/18 13:54:34 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/07/18 13:54:34 INFO Uploading kisnp8vyvh21qy41pcrmdbpbbg10ikfq-unpinned-file.txt (128B) 2026/07/18 13:54:34 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign 2026/07/18 13:54:34 INFO Signed narinfos id=2 count=1 2026/07/18 13:54:34 INFO Uploading 1 narinfos 2026/07/18 13:54:34 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete 2026/07/18 13:54:34 INFO Completed upload id=2 2026/07/18 13:54:34 INFO Upload complete. (103ms) 2026/07/18 13:54:34 INFO Received create pin request method=POST path=/api/pins/myapp 2026/07/18 13:54:34 INFO Created/updated pin name=myapp store_path=/build/TestPinProtectsFromGC1339669489/001/store/8q1dp38a3jgjwqb7mkiyjjg0sxm92jyj-pinned-file.txt narinfo_key=8q1dp38a3jgjwqb7mkiyjjg0sxm92jyj.narinfo 2026/07/18 13:54:34 INFO Starting cleanup of old closures method=DELETE path=/api/closures 2026/07/18 13:54:34 INFO Garbage collection started 2026/07/18 13:54:34 INFO Aborted multipart uploads count=0 2026/07/18 13:54:34 WARN Force mode enabled - objects will be deleted immediately without grace period === NAME TestClientCADerivations client_ca_test.go:258: nix copy output: warning: you don't have Internet access; disabling some network-dependent features warning: failed to create TLS context for AWS credential providers; SSO, STS WebIdentity, and ECS container authentication will be unavailable error: binary cache 's3://bucket29?endpoint=http://localhost:43997®ion=eu-west-1' is for Nix stores with prefix '/nix/store', not '/build/TestClientCADerivations2503571063/001/store' client_ca_test.go:259: nix copy failed (might be expected with isolated stores): exit status 1 --- PASS: TestClientCADerivations (1.25s) === NAME TestOrphanedObjectsGCStressTest orphaned_objects_gc_test.go:425: Created 10 active closures, 5 to-delete closures, 20 orphaned chains orphaned_objects_gc_test.go:446: Marked 210 objects for deletion 2026/07/18 13:54:34 INFO Garbage collection completed failed-uploads-deleted=0 old-closures-deleted=1 objects-marked-for-deletion=3 objects-deleted-after-grace-period=2001 objects-failed-to-delete=0 2026/07/18 13:54:34 INFO Vacuumed table table=pending_closures 2026/07/18 13:54:34 INFO Vacuumed table table=pending_objects 2026/07/18 13:54:34 INFO Vacuumed table table=multipart_uploads 2026/07/18 13:54:34 INFO Vacuumed table table=closures 2026/07/18 13:54:34 INFO Vacuumed table table=objects orphaned_objects_gc_test.go:509: Stress test completed successfully: orphaned_objects_gc_test.go:510: - Active objects preserved: 20 orphaned_objects_gc_test.go:511: - Objects deleted: 210 orphaned_objects_gc_test.go:512: - Total GC'd: 210 --- PASS: TestOrphanedObjectsGCStressTest (1.57s) 2026/07/18 13:54:34 WARN Request failed, retrying attempt=5 max_attempts=6 backoff=1.44177576s error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures 2026/07/18 13:54:34 INFO Garbage collection completed failed-uploads-deleted=0 old-closures-deleted=1 objects-marked-for-deletion=3 objects-deleted-after-grace-period=2001 objects-failed-to-delete=0 2026/07/18 13:54:34 INFO Vacuumed table table=pending_closures 2026/07/18 13:54:34 INFO Vacuumed table table=pending_objects 2026/07/18 13:54:34 INFO Vacuumed table table=multipart_uploads 2026/07/18 13:54:34 INFO Vacuumed table table=closures 2026/07/18 13:54:34 INFO Vacuumed table table=objects 2026/07/18 13:54:36 INFO Garbage collection progress phase="" failed_uploads_deleted=0 old_closures_deleted=1 objects_marked=3 objects_deleted=2001 objects_failed=0 === NAME TestClientIntegration client_integration_test.go:303: Objects in database after GC: client_integration_test.go:303: Successfully deleted all objects with GC --force --- PASS: TestClientIntegration (3.09s) --- PASS: TestClientErrorHandling (0.01s) --- PASS: TestClientErrorHandling/InvalidStorePath (0.80s) --- PASS: TestClientErrorHandling/InvalidAuthToken (0.97s) --- PASS: TestClientErrorHandling/ServerNotAvailable (3.09s) 2026/07/18 13:54:36 INFO Garbage collection progress phase="" failed_uploads_deleted=0 old_closures_deleted=1 objects_marked=3 objects_deleted=2001 objects_failed=0 === NAME TestPinProtectsFromGC client_integration_test.go:709: Pin successfully protected closure from garbage collection --- PASS: TestPinProtectsFromGC (3.24s) 2026/07/18 13:54:39 WARN Rate limiter enabled after throttle name=s3-test rate=5 2026/07/18 13:54:39 WARN S3 rate limit hit operation="complete multipart upload" error="Please reduce your request rate." === NAME TestCompleteMultipartUploadHandler_RateLimitTriggersThrottle throttle_test.go:213: Proxy stats: total=15, throttled=10, completeMultipart=10 throttle_test.go:215: Rate limiter: enabled=true, rate=5.00 --- PASS: TestCompleteMultipartUploadHandler_RateLimitTriggersThrottle (6.76s) PASS 2026-07-18 13:54:40.498 UTC [309] LOG: received smart shutdown request 2026-07-18 13:54:40.502 UTC [309] LOG: background worker "logical replication launcher" (PID 319) exited with exit code 1 2026-07-18 13:54:40.512 UTC [314] LOG: shutting down 2026-07-18 13:54:40.513 UTC [314] LOG: checkpoint starting: shutdown immediate 2026-07-18 13:54:41.905 UTC [314] LOG: checkpoint complete: wrote 8034 buffers (49.0%), wrote 3 SLRU buffers; 0 WAL file(s) added, 0 removed, 12 recycled; write=0.284 s, sync=1.095 s, total=1.393 s; sync files=14838, longest=0.002 s, average=0.001 s; distance=203939 kB, estimate=203939 kB; lsn=0/DE87F80, redo lsn=0/DE87F80 2026-07-18 13:54:41.992 UTC [309] LOG: database system is shut down Running OIDC tests... === RUN TestGlobMatch === PAUSE TestGlobMatch === RUN TestAudienceForIssuer === PAUSE TestAudienceForIssuer === RUN TestValidateToken_ValidToken === PAUSE TestValidateToken_ValidToken === RUN TestValidateToken_WrongAudience === PAUSE TestValidateToken_WrongAudience === RUN TestValidateToken_Expired === PAUSE TestValidateToken_Expired === RUN TestValidateToken_BoundClaimsMismatch === PAUSE TestValidateToken_BoundClaimsMismatch === RUN TestValidateToken_BoundSubjectMismatch === PAUSE TestValidateToken_BoundSubjectMismatch === RUN TestValidateToken_MultipleProviders === PAUSE TestValidateToken_MultipleProviders === RUN TestValidateToken_NoMatchingProvider === PAUSE TestValidateToken_NoMatchingProvider === CONT TestGlobMatch === RUN TestGlobMatch/foo_foo === CONT TestValidateToken_NoMatchingProvider === CONT TestValidateToken_Expired === PAUSE TestGlobMatch/foo_foo === CONT TestValidateToken_BoundClaimsMismatch === CONT TestValidateToken_WrongAudience === CONT TestValidateToken_ValidToken === CONT TestAudienceForIssuer === CONT TestValidateToken_BoundSubjectMismatch === CONT TestValidateToken_MultipleProviders === RUN TestGlobMatch/foo_bar === PAUSE TestGlobMatch/foo_bar === RUN TestGlobMatch/*_ === PAUSE TestGlobMatch/*_ === RUN TestGlobMatch/*_anything === PAUSE TestGlobMatch/*_anything === RUN TestGlobMatch/foo*_foo === PAUSE TestGlobMatch/foo*_foo === RUN TestGlobMatch/foo*_foobar === PAUSE TestGlobMatch/foo*_foobar --- PASS: TestAudienceForIssuer (0.00s) === RUN TestGlobMatch/foo*_bar === PAUSE TestGlobMatch/foo*_bar === RUN TestGlobMatch/*bar_bar === PAUSE TestGlobMatch/*bar_bar === RUN TestGlobMatch/*bar_foobar === PAUSE TestGlobMatch/*bar_foobar === RUN TestGlobMatch/*bar_foo === PAUSE TestGlobMatch/*bar_foo === RUN TestGlobMatch/foo*bar_foobar === PAUSE TestGlobMatch/foo*bar_foobar === RUN TestGlobMatch/foo*bar_foo123bar === PAUSE TestGlobMatch/foo*bar_foo123bar === RUN TestGlobMatch/foo*bar_foobarbaz === PAUSE TestGlobMatch/foo*bar_foobarbaz === RUN TestGlobMatch/*/*_foo/bar === PAUSE TestGlobMatch/*/*_foo/bar === RUN TestGlobMatch/*/*_foo === PAUSE TestGlobMatch/*/*_foo === RUN TestGlobMatch/refs/heads/*_refs/heads/main === PAUSE TestGlobMatch/refs/heads/*_refs/heads/main === RUN TestGlobMatch/refs/heads/*_refs/tags/v1.0 === PAUSE TestGlobMatch/refs/heads/*_refs/tags/v1.0 === RUN TestGlobMatch/refs/*/main_refs/heads/main === PAUSE TestGlobMatch/refs/*/main_refs/heads/main === RUN TestGlobMatch/fo?_foo === PAUSE TestGlobMatch/fo?_foo === RUN TestGlobMatch/fo?_fo === PAUSE TestGlobMatch/fo?_fo === RUN TestGlobMatch/fo?_fooo === PAUSE TestGlobMatch/fo?_fooo === RUN TestGlobMatch/?oo_foo === PAUSE TestGlobMatch/?oo_foo === RUN TestGlobMatch/?oo_boo === PAUSE TestGlobMatch/?oo_boo === RUN TestGlobMatch/repo:myorg/*:*_repo:myorg/myrepo:ref:refs/heads/main === PAUSE TestGlobMatch/repo:myorg/*:*_repo:myorg/myrepo:ref:refs/heads/main === RUN TestGlobMatch/repo:myorg/*:*_repo:otherorg/myrepo:ref:refs/heads/main === PAUSE TestGlobMatch/repo:myorg/*:*_repo:otherorg/myrepo:ref:refs/heads/main === CONT TestGlobMatch/foo_foo === CONT TestGlobMatch/*bar_foo === CONT TestGlobMatch/refs/heads/*_refs/heads/main === CONT TestGlobMatch/repo:myorg/*:*_repo:otherorg/myrepo:ref:refs/heads/main === CONT TestGlobMatch/repo:myorg/*:*_repo:myorg/myrepo:ref:refs/heads/main === CONT TestGlobMatch/?oo_boo === CONT TestGlobMatch/?oo_foo === CONT TestGlobMatch/fo?_fooo === CONT TestGlobMatch/fo?_fo === CONT TestGlobMatch/fo?_foo === CONT TestGlobMatch/refs/*/main_refs/heads/main === CONT TestGlobMatch/refs/heads/*_refs/tags/v1.0 === CONT TestGlobMatch/*bar_foobar === CONT TestGlobMatch/*/*_foo === CONT TestGlobMatch/*/*_foo/bar === CONT TestGlobMatch/foo*bar_foobarbaz === CONT TestGlobMatch/foo*bar_foo123bar === CONT TestGlobMatch/foo*bar_foobar === CONT TestGlobMatch/foo*_foo === CONT TestGlobMatch/*bar_bar === CONT TestGlobMatch/foo*_bar === CONT TestGlobMatch/foo*_foobar === CONT TestGlobMatch/*_ === CONT TestGlobMatch/*_anything === CONT TestGlobMatch/foo_bar --- PASS: TestGlobMatch (0.00s) --- PASS: TestGlobMatch/foo_foo (0.00s) --- PASS: TestGlobMatch/*bar_foo (0.00s) --- PASS: TestGlobMatch/refs/heads/*_refs/heads/main (0.00s) --- PASS: TestGlobMatch/repo:myorg/*:*_repo:otherorg/myrepo:ref:refs/heads/main (0.00s) --- PASS: TestGlobMatch/repo:myorg/*:*_repo:myorg/myrepo:ref:refs/heads/main (0.00s) --- PASS: TestGlobMatch/?oo_boo (0.00s) --- PASS: TestGlobMatch/?oo_foo (0.00s) --- PASS: TestGlobMatch/fo?_fooo (0.00s) --- PASS: TestGlobMatch/fo?_fo (0.00s) --- PASS: TestGlobMatch/fo?_foo (0.00s) --- PASS: TestGlobMatch/refs/*/main_refs/heads/main (0.00s) --- PASS: TestGlobMatch/refs/heads/*_refs/tags/v1.0 (0.00s) --- PASS: TestGlobMatch/*bar_foobar (0.00s) --- PASS: TestGlobMatch/*/*_foo (0.00s) --- PASS: TestGlobMatch/*/*_foo/bar (0.00s) --- PASS: TestGlobMatch/foo*bar_foobarbaz (0.00s) --- PASS: TestGlobMatch/foo*bar_foo123bar (0.00s) --- PASS: TestGlobMatch/foo*bar_foobar (0.00s) --- PASS: TestGlobMatch/foo*_foo (0.00s) --- PASS: TestGlobMatch/*bar_bar (0.00s) --- PASS: TestGlobMatch/foo*_bar (0.00s) --- PASS: TestGlobMatch/foo*_foobar (0.00s) --- PASS: TestGlobMatch/*_ (0.00s) --- PASS: TestGlobMatch/*_anything (0.00s) --- PASS: TestGlobMatch/foo_bar (0.00s) 2026/07/18 13:54:42 INFO OIDC provider initialized name=provider2 2026/07/18 13:54:42 INFO OIDC provider initialized name=test 2026/07/18 13:54:42 INFO OIDC provider initialized name=test 2026/07/18 13:54:42 INFO OIDC provider initialized name=test 2026/07/18 13:54:42 INFO OIDC provider initialized name=test 2026/07/18 13:54:42 INFO OIDC provider initialized name=test 2026/07/18 13:54:42 INFO OIDC provider initialized name=provider1 2026/07/18 13:54:42 INFO OIDC provider initialized name=provider1 --- PASS: TestValidateToken_ValidToken (0.01s) --- PASS: TestValidateToken_BoundSubjectMismatch (0.01s) --- PASS: TestValidateToken_NoMatchingProvider (0.01s) --- PASS: TestValidateToken_WrongAudience (0.01s) --- PASS: TestValidateToken_BoundClaimsMismatch (0.01s) --- PASS: TestValidateToken_MultipleProviders (0.01s) --- PASS: TestValidateToken_Expired (0.01s) PASS Running hook tests... === RUN TestSendPathsEmpty === PAUSE TestSendPathsEmpty === RUN TestQueueEnqueueAndFetch === PAUSE TestQueueEnqueueAndFetch === RUN TestQueueDeduplication === PAUSE TestQueueDeduplication === RUN TestQueueRemove === PAUSE TestQueueRemove === RUN TestQueueFetchBatchLimit === PAUSE TestQueueFetchBatchLimit === RUN TestQueueFetchRemoveLifecycle === PAUSE TestQueueFetchRemoveLifecycle === RUN TestQueueConcurrentWriters === PAUSE TestQueueConcurrentWriters === RUN TestServerClientIntegration === PAUSE TestServerClientIntegration === RUN TestServerQueueError === PAUSE TestServerQueueError === RUN TestGetListenerSocketActivation server_test.go:210: === RUN TestGetListenerSocketActivation --- PASS: TestGetListenerSocketActivation (0.00s) PASS --- PASS: TestGetListenerSocketActivation (0.03s) === RUN TestWorkerUploadsAndRemoves === PAUSE TestWorkerUploadsAndRemoves === RUN TestWorkerSkipsGCdPaths === PAUSE TestWorkerSkipsGCdPaths === RUN TestWorkerPrunesClosureDeps === PAUSE TestWorkerPrunesClosureDeps === CONT TestSendPathsEmpty === CONT TestServerQueueError === CONT TestQueueFetchBatchLimit --- PASS: TestSendPathsEmpty (0.00s) === CONT TestQueueRemove === CONT TestQueueDeduplication === CONT TestQueueEnqueueAndFetch === CONT TestWorkerSkipsGCdPaths === CONT TestWorkerPrunesClosureDeps 2026/07/18 13:54:43 ERROR Failed to queue paths error="permission denied" count=1 === CONT TestQueueFetchRemoveLifecycle === CONT TestWorkerUploadsAndRemoves === CONT TestServerClientIntegration === CONT TestQueueConcurrentWriters --- PASS: TestServerQueueError (0.00s) --- PASS: TestServerClientIntegration (0.00s) 2026/07/18 13:54:43 INFO Upload queue status pending=2 2026/07/18 13:54:43 INFO Uploading batch count=1 --- PASS: TestQueueFetchBatchLimit (0.02s) 2026/07/18 13:54:43 INFO Upload queue status pending=2 --- PASS: TestQueueDeduplication (0.02s) 2026/07/18 13:54:43 WARN Store path no longer exists (garbage collected?), removing from queue path=/build/TestWorkerSkipsGCdPaths1600877950/002/nonexistent 2026/07/18 13:54:43 INFO Upload queue status pending=2 2026/07/18 13:54:43 INFO Uploading batch count=2 --- PASS: TestQueueEnqueueAndFetch (0.02s) --- PASS: TestQueueFetchRemoveLifecycle (0.02s) 2026/07/18 13:54:43 INFO Uploading batch count=1 --- PASS: TestQueueRemove (0.02s) --- PASS: TestWorkerSkipsGCdPaths (0.07s) --- PASS: TestWorkerUploadsAndRemoves (0.07s) --- PASS: TestWorkerPrunesClosureDeps (0.07s) --- PASS: TestQueueConcurrentWriters (0.28s) PASS