Running client tests... === RUN TestDoServerRequestAttachesToken === PAUSE TestDoServerRequestAttachesToken === RUN TestCaseHackSuffix === PAUSE TestCaseHackSuffix === RUN TestFilterOversizedClosures === PAUSE TestFilterOversizedClosures === 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 TestResolveStorePath === CONT TestParsePathInfoJSONMultiplePaths === RUN TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths === PAUSE TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths === RUN TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths === PAUSE TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths === CONT TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths === CONT TestFileTokenMissing === CONT TestDumpPathMatchesNix === CONT TestPartSizeForNAR --- PASS: TestResolveStorePath (0.00s) === CONT TestEncodeNixBase32WithRealHash --- PASS: TestFileTokenMissing (0.00s) === RUN TestPartSizeForNAR/zero_stays_at_minimum === PAUSE TestPartSizeForNAR/zero_stays_at_minimum === RUN TestPartSizeForNAR/small_stays_at_minimum === PAUSE TestPartSizeForNAR/small_stays_at_minimum === RUN TestPartSizeForNAR/80_GiB_fits_at_minimum --- PASS: TestEncodeNixBase32WithRealHash (0.00s) === CONT TestScriptTokenEmptyCommand --- PASS: TestScriptTokenEmptyCommand (0.00s) === CONT TestRateLimiterFeedback_400DoesNotCountAsSuccess === CONT TestScriptTokenEmptyToken === CONT TestRateLimiterFeedback === CONT TestScriptTokenCachesUntilRefresh === RUN TestRateLimiterFeedback/429_enables_limiter === PAUSE TestRateLimiterFeedback/429_enables_limiter === RUN TestRateLimiterFeedback/503_enables_limiter === PAUSE TestRateLimiterFeedback/503_enables_limiter === RUN TestRateLimiterFeedback/200_does_not_enable_limiter === PAUSE TestRateLimiterFeedback/200_does_not_enable_limiter 2026/08/29 16:25:35 WARN Rate limiter enabled after throttle name=server-test rate=5 === RUN TestRateLimiterFeedback/400_does_not_enable_limiter === PAUSE TestRateLimiterFeedback/400_does_not_enable_limiter === CONT TestPathInfoCACompatibility === RUN TestPathInfoCACompatibility/null_ca_field === CONT TestScriptTokenBadJSON === PAUSE TestPartSizeForNAR/80_GiB_fits_at_minimum === RUN TestPartSizeForNAR/115_GiB_needs_larger_parts === PAUSE TestPartSizeForNAR/115_GiB_needs_larger_parts === RUN TestPartSizeForNAR/1_TiB === PAUSE TestPartSizeForNAR/1_TiB === RUN TestPartSizeForNAR/5_TiB_S3_max_object === PAUSE TestPartSizeForNAR/5_TiB_S3_max_object === RUN TestPartSizeForNAR/capped_at_5_GiB === PAUSE TestPartSizeForNAR/capped_at_5_GiB === CONT TestFileTokenEmpty === PAUSE TestPathInfoCACompatibility/null_ca_field === CONT TestScriptTokenScriptFails === CONT TestScriptTokenNoExpiryRerunsEveryCall === RUN TestPathInfoCACompatibility/old_string_format_-_text === PAUSE TestPathInfoCACompatibility/old_string_format_-_text === RUN TestPathInfoCACompatibility/old_string_format_-_fixed_recursive === PAUSE TestPathInfoCACompatibility/old_string_format_-_fixed_recursive === RUN TestPathInfoCACompatibility/new_structured_format_-_text === PAUSE TestPathInfoCACompatibility/new_structured_format_-_text === RUN TestPathInfoCACompatibility/new_structured_format_-_nar_method === PAUSE TestPathInfoCACompatibility/new_structured_format_-_nar_method === CONT TestSetClientTLSDoesNotMutateDefaultTransport === CONT TestFileTokenReadsAndCaches --- PASS: TestDoServerRequestAttachesToken (0.00s) --- PASS: TestFileTokenEmpty (0.00s) --- PASS: TestFileTokenReadsAndCaches (0.00s) === CONT TestStaticToken --- PASS: TestStaticToken (0.00s) === CONT TestDumpPathWriterError === CONT TestSetClientTLSErrors --- PASS: TestScriptTokenScriptFails (0.00s) === CONT TestEncodeNixBase32 === RUN TestEncodeNixBase32/test_string_hash === PAUSE TestEncodeNixBase32/test_string_hash === RUN TestEncodeNixBase32/empty_input === PAUSE TestEncodeNixBase32/empty_input === CONT TestFilterOversizedClosures === RUN TestFilterOversizedClosures/no_limit_keeps_everything === PAUSE TestFilterOversizedClosures/no_limit_keeps_everything === RUN TestFilterOversizedClosures/closure_with_oversized_dependency_is_skipped === PAUSE TestFilterOversizedClosures/closure_with_oversized_dependency_is_skipped === RUN TestFilterOversizedClosures/all_closures_skipped === PAUSE TestFilterOversizedClosures/all_closures_skipped === CONT TestDumpPathSingleFile --- PASS: TestSetClientTLSDoesNotMutateDefaultTransport (0.00s) === CONT TestCaseHackSuffix === RUN TestSetClientTLSErrors/missing_cert_file === PAUSE TestSetClientTLSErrors/missing_cert_file === RUN TestSetClientTLSErrors/missing_key_file === PAUSE TestSetClientTLSErrors/missing_key_file === RUN TestSetClientTLSErrors/missing_ca_file === PAUSE TestSetClientTLSErrors/missing_ca_file === RUN TestSetClientTLSErrors/invalid_ca_file === PAUSE TestSetClientTLSErrors/invalid_ca_file === CONT TestShellSplitErrors --- PASS: TestShellSplitErrors (0.00s) === CONT TestSetClientTLS === RUN TestSetClientTLS/rejects_connection_without_client_cert === PAUSE TestSetClientTLS/rejects_connection_without_client_cert === RUN TestSetClientTLS/succeeds_with_client_cert_and_CA === PAUSE TestSetClientTLS/succeeds_with_client_cert_and_CA === RUN TestSetClientTLS/preserves_debug_logging_transport === PAUSE TestSetClientTLS/preserves_debug_logging_transport === CONT TestGetStorePathHash === RUN TestGetStorePathHash/valid_store_path === PAUSE TestGetStorePathHash/valid_store_path === RUN TestGetStorePathHash/basename_without_hyphen_should_error === PAUSE TestGetStorePathHash/basename_without_hyphen_should_error === RUN TestGetStorePathHash/hash_with_invalid_characters_should_error === PAUSE TestGetStorePathHash/hash_with_invalid_characters_should_error === RUN TestGetStorePathHash/hash_with_wrong_length_should_error === PAUSE TestGetStorePathHash/hash_with_wrong_length_should_error === CONT TestParsePathInfoJSON === RUN TestParsePathInfoJSON/Nix_format === PAUSE TestParsePathInfoJSON/Nix_format === RUN TestParsePathInfoJSON/Lix_format === PAUSE TestParsePathInfoJSON/Lix_format === RUN TestParsePathInfoJSON/empty_input === PAUSE TestParsePathInfoJSON/empty_input === RUN TestParsePathInfoJSON/whitespace_only === PAUSE TestParsePathInfoJSON/whitespace_only === RUN TestParsePathInfoJSON/invalid_JSON === PAUSE TestParsePathInfoJSON/invalid_JSON === CONT TestPathInfoHashCompatibility === RUN TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI) === PAUSE TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI) === RUN TestPathInfoHashCompatibility/old_string_format_with_colon === PAUSE TestPathInfoHashCompatibility/old_string_format_with_colon === RUN TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI === PAUSE TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI === RUN TestPathInfoHashCompatibility/new_structured_format_with_sha512 === PAUSE TestPathInfoHashCompatibility/new_structured_format_with_sha512 === CONT TestShellSplit --- PASS: TestShellSplit (0.00s) === CONT TestDoWithRetry_BodyReplayedViaGetBody --- PASS: TestScriptTokenEmptyToken (0.01s) === CONT TestConvertHashToNix32 --- PASS: TestScriptTokenBadJSON (0.01s) === CONT TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths === RUN TestConvertHashToNix32/SRI_format_to_Nix32 === PAUSE TestConvertHashToNix32/SRI_format_to_Nix32 === RUN TestConvertHashToNix32/already_Nix32_format === PAUSE TestConvertHashToNix32/already_Nix32_format === RUN TestConvertHashToNix32/invalid_format --- PASS: TestParsePathInfoJSONMultiplePaths (0.00s) --- PASS: TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths (0.00s) --- PASS: TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths (0.00s) === CONT TestUploadMultipart_SupersededByPeer === PAUSE TestConvertHashToNix32/invalid_format === RUN TestUploadMultipart_SupersededByPeer/exists === PAUSE TestUploadMultipart_SupersededByPeer/exists === RUN TestUploadMultipart_SupersededByPeer/missing 2026/08/29 16:25:35 WARN Rate limiter enabled after throttle name=server-test rate=5 === PAUSE TestUploadMultipart_SupersededByPeer/missing === CONT TestRateLimiterFeedback/429_enables_limiter 2026/08/29 16:25:35 WARN Request returned retryable status, retrying attempt=1 max_attempts=6 backoff=0s status=503 url=http://127.0.0.1:56052 === CONT TestRateLimiterFeedback/400_does_not_enable_limiter 2026/08/29 16:25:35 WARN Rate limiter backed off name=server-test rate=5 2026/08/29 16:25:35 WARN Request returned retryable status, retrying attempt=2 max_attempts=6 backoff=0s status=503 url=http://127.0.0.1:56052 === CONT TestRateLimiterFeedback/200_does_not_enable_limiter 2026/08/29 16:25:35 WARN Rate limiter enabled after throttle name=server-test rate=5 2026/08/29 16:25:35 WARN Request returned retryable status, retrying attempt=1 max_attempts=2 backoff=0s status=429 url=http://127.0.0.1:56055 --- PASS: TestDoWithRetry_BodyReplayedViaGetBody (0.00s) === CONT TestRateLimiterFeedback/503_enables_limiter 2026/08/29 16:25:35 WARN Rate limiter backed off name=server-test rate=5 === CONT TestPartSizeForNAR/zero_stays_at_minimum === CONT TestPartSizeForNAR/1_TiB === CONT TestPartSizeForNAR/capped_at_5_GiB === CONT TestPartSizeForNAR/5_TiB_S3_max_object === CONT TestPartSizeForNAR/80_GiB_fits_at_minimum === CONT TestPartSizeForNAR/115_GiB_needs_larger_parts === CONT TestPartSizeForNAR/small_stays_at_minimum --- PASS: TestPartSizeForNAR (0.00s) --- PASS: TestPartSizeForNAR/zero_stays_at_minimum (0.00s) --- PASS: TestPartSizeForNAR/1_TiB (0.00s) --- PASS: TestPartSizeForNAR/capped_at_5_GiB (0.00s) --- PASS: TestPartSizeForNAR/5_TiB_S3_max_object (0.00s) --- PASS: TestPartSizeForNAR/80_GiB_fits_at_minimum (0.00s) --- PASS: TestPartSizeForNAR/115_GiB_needs_larger_parts (0.00s) --- PASS: TestPartSizeForNAR/small_stays_at_minimum (0.00s) === CONT TestPathInfoCACompatibility/null_ca_field === CONT TestPathInfoCACompatibility/new_structured_format_-_text === CONT TestPathInfoCACompatibility/new_structured_format_-_nar_method === CONT TestPathInfoCACompatibility/old_string_format_-_fixed_recursive 2026/08/29 16:25:35 WARN Rate limiter enabled after throttle name=server-test rate=5 === CONT TestPathInfoCACompatibility/old_string_format_-_text 2026/08/29 16:25:35 WARN Request returned retryable status, retrying attempt=1 max_attempts=2 backoff=0s status=503 url=http://127.0.0.1:56060 === CONT TestEncodeNixBase32/test_string_hash === CONT TestEncodeNixBase32/empty_input --- PASS: TestEncodeNixBase32 (0.00s) --- PASS: TestEncodeNixBase32/test_string_hash (0.00s) --- PASS: TestEncodeNixBase32/empty_input (0.00s) === CONT TestFilterOversizedClosures/no_limit_keeps_everything === CONT TestFilterOversizedClosures/all_closures_skipped 2026/08/29 16:25:35 WARN Skipping closure: path exceeds server max NAR size top_level_path=/nix/store/cccccccccccccccccccccccccccccccc-wrapper oversized_path=/nix/store/cccccccccccccccccccccccccccccccc-wrapper nar_size=100 max_nar_size=50 2026/08/29 16:25:35 WARN Rate limiter backed off name=server-test rate=5 === CONT TestFilterOversizedClosures/closure_with_oversized_dependency_is_skipped 2026/08/29 16:25:35 WARN Skipping closure: path exceeds server max NAR size top_level_path=/nix/store/cccccccccccccccccccccccccccccccc-wrapper oversized_path=/nix/store/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb-vm-image nar_size=5000 max_nar_size=2000 --- PASS: TestFilterOversizedClosures (0.00s) --- PASS: TestFilterOversizedClosures/no_limit_keeps_everything (0.00s) --- PASS: TestFilterOversizedClosures/all_closures_skipped (0.00s) --- PASS: TestFilterOversizedClosures/closure_with_oversized_dependency_is_skipped (0.00s) === CONT TestSetClientTLSErrors/missing_cert_file === CONT TestSetClientTLSErrors/missing_ca_file --- PASS: TestRateLimiterFeedback (0.00s) --- PASS: TestRateLimiterFeedback/400_does_not_enable_limiter (0.00s) --- PASS: TestRateLimiterFeedback/429_enables_limiter (0.00s) --- PASS: TestRateLimiterFeedback/200_does_not_enable_limiter (0.00s) --- PASS: TestRateLimiterFeedback/503_enables_limiter (0.00s) === CONT TestSetClientTLSErrors/invalid_ca_file --- PASS: TestPathInfoCACompatibility (0.00s) --- PASS: TestPathInfoCACompatibility/null_ca_field (0.00s) --- PASS: TestPathInfoCACompatibility/new_structured_format_-_nar_method (0.00s) --- PASS: TestPathInfoCACompatibility/old_string_format_-_fixed_recursive (0.00s) --- PASS: TestPathInfoCACompatibility/old_string_format_-_text (0.00s) --- PASS: TestPathInfoCACompatibility/new_structured_format_-_text (0.00s) === CONT TestSetClientTLSErrors/missing_key_file === CONT TestSetClientTLS/rejects_connection_without_client_cert === CONT TestGetStorePathHash/valid_store_path === CONT TestSetClientTLS/preserves_debug_logging_transport === CONT TestSetClientTLS/succeeds_with_client_cert_and_CA --- PASS: TestSetClientTLSErrors (0.00s) --- PASS: TestSetClientTLSErrors/missing_cert_file (0.00s) --- PASS: TestSetClientTLSErrors/invalid_ca_file (0.00s) --- PASS: TestSetClientTLSErrors/missing_ca_file (0.00s) --- PASS: TestSetClientTLSErrors/missing_key_file (0.00s) === CONT TestParsePathInfoJSON/Nix_format === CONT TestGetStorePathHash/hash_with_wrong_length_should_error === CONT TestGetStorePathHash/hash_with_invalid_characters_should_error === CONT TestGetStorePathHash/basename_without_hyphen_should_error --- PASS: TestGetStorePathHash (0.00s) --- 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) === CONT TestParsePathInfoJSON/whitespace_only === CONT TestParsePathInfoJSON/invalid_JSON === CONT TestParsePathInfoJSON/empty_input === CONT TestParsePathInfoJSON/Lix_format === CONT TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI) === CONT TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI === CONT TestPathInfoHashCompatibility/old_string_format_with_colon === CONT TestPathInfoHashCompatibility/new_structured_format_with_sha512 --- PASS: TestParsePathInfoJSON (0.00s) --- PASS: TestParsePathInfoJSON/Nix_format (0.00s) --- PASS: TestParsePathInfoJSON/whitespace_only (0.00s) --- PASS: TestParsePathInfoJSON/invalid_JSON (0.00s) --- PASS: TestParsePathInfoJSON/empty_input (0.00s) --- PASS: TestParsePathInfoJSON/Lix_format (0.00s) === CONT TestConvertHashToNix32/SRI_format_to_Nix32 --- PASS: TestPathInfoHashCompatibility (0.00s) --- PASS: TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI) (0.00s) --- PASS: TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI (0.00s) --- PASS: TestPathInfoHashCompatibility/old_string_format_with_colon (0.00s) --- PASS: TestPathInfoHashCompatibility/new_structured_format_with_sha512 (0.00s) === CONT TestConvertHashToNix32/invalid_format === CONT TestUploadMultipart_SupersededByPeer/exists === CONT TestConvertHashToNix32/already_Nix32_format --- PASS: TestConvertHashToNix32 (0.00s) --- PASS: TestConvertHashToNix32/SRI_format_to_Nix32 (0.00s) --- PASS: TestConvertHashToNix32/invalid_format (0.00s) --- PASS: TestConvertHashToNix32/already_Nix32_format (0.00s) === CONT TestUploadMultipart_SupersededByPeer/missing --- PASS: TestUploadMultipart_SupersededByPeer (0.00s) --- PASS: TestUploadMultipart_SupersededByPeer/exists (0.00s) --- PASS: TestUploadMultipart_SupersededByPeer/missing (0.00s) --- PASS: TestScriptTokenCachesUntilRefresh (0.03s) --- PASS: TestScriptTokenNoExpiryRerunsEveryCall (0.03s) 2026/08/29 16:25:35 http: TLS handshake error from 127.0.0.1:56062: remote error: tls: bad certificate --- PASS: TestSetClientTLS (0.00s) --- PASS: TestSetClientTLS/preserves_debug_logging_transport (0.00s) --- PASS: TestSetClientTLS/succeeds_with_client_cert_and_CA (0.00s) --- PASS: TestSetClientTLS/rejects_connection_without_client_cert (0.02s) --- PASS: TestDumpPathWriterError (0.03s) --- PASS: TestRateLimiterFeedback_400DoesNotCountAsSuccess (1.00s) --- PASS: TestDumpPathSingleFile (3.43s) --- PASS: TestCaseHackSuffix (3.43s) --- PASS: TestDumpPathMatchesNix (3.44s) PASS Running server tests... The files belonging to this database system will be owned by user "_nixbld1". 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 /nix/var/nix/builds/nix-9565-1909913857/postgres3623871718/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 /nix/var/nix/builds/nix-9565-1909913857/postgres3623871718/data -l logfile start 2026-08-29 16:25:42.010 UTC [9753] LOG: starting PostgreSQL 18.4 on aarch64-apple-darwin25.5.0, compiled by clang version 21.1.8, 64-bit 2026-08-29 16:25:42.010 UTC [9753] LOG: listening on Unix socket "/nix/var/nix/builds/nix-9565-1909913857/postgres3623871718/.s.PGSQL.5432" 2026-08-29 16:25:42.013 UTC [9760] LOG: database system was shut down at 2026-08-29 16:25:41 UTC 2026-08-29 16:25:42.013 UTC [9753] LOG: database system is ready to accept connections /nix/var/nix/builds/nix-9565-1909913857/postgres3623871718:5432 - accepting connections === 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 TestService_RequireScope_OIDC === PAUSE TestService_RequireScope_OIDC === RUN TestService_ReadScope_PublicByDefault === PAUSE TestService_ReadScope_PublicByDefault === 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 TestResolveDBConnectionString === PAUSE TestResolveDBConnectionString === RUN TestGCAdvisoryLockBlocksConcurrentRun 2026-08-29 16:25:44.028 UTC [9831] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:44.028 UTC [9831] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:44 OK 20241026095416_initial_model.sql (4.05ms) 2026/08/29 16:25:44 OK 20251210153512_drop_unused_gin_index.sql (581.96µs) 2026/08/29 16:25:44 OK 20251218171726_add_pins.sql (817.46µs) 2026/08/29 16:25:44 OK 20260628120000_add_object_size_and_stats.sql (2.01ms) 2026/08/29 16:25:44 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:44 OK 1_commit_pending_closure.sql (1.02ms) 2026/08/29 16:25:44 OK 2_object_stats_trigger.sql (225.17µs) 2026/08/29 16:25:44 goose: up to current file version: 2 --- PASS: TestGCAdvisoryLockBlocksConcurrentRun (0.32s) === 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 TestService_readinessHandler === PAUSE TestService_readinessHandler === RUN TestGenerateLandingPage === PAUSE TestGenerateLandingPage === RUN TestCacheConfigHandlerMaxNarSize === PAUSE TestCacheConfigHandlerMaxNarSize === RUN TestCreatePendingClosureRejectsOversizedNAR === PAUSE TestCreatePendingClosureRejectsOversizedNAR === 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 TestReadRedirectNar === PAUSE TestReadRedirectNar === RUN TestReadRedirectKeepsNarinfoProxied === PAUSE TestReadRedirectKeepsNarinfoProxied === RUN TestReadProxyRangeRequest === PAUSE TestReadProxyRangeRequest === RUN TestReadRedirectUsesPublicS3URL === PAUSE TestReadRedirectUsesPublicS3URL === RUN TestRedundantMultipartUpload === PAUSE TestRedundantMultipartUpload === RUN TestCompleteMultipartUpload_ErrorButObjectExists === PAUSE TestCompleteMultipartUpload_ErrorButObjectExists === RUN TestCompletedNarNotReofferedAcrossClosures === PAUSE TestCompletedNarNotReofferedAcrossClosures === RUN TestPresignedUploadRegisteredBeforeCommit === PAUSE TestPresignedUploadRegisteredBeforeCommit === RUN TestService_Rustfstest === PAUSE TestService_Rustfstest === RUN TestParseSize === PAUSE TestParseSize === RUN TestSkippedUploadsHandler === PAUSE TestSkippedUploadsHandler === RUN TestSystemdListenerNotActivated --- PASS: TestSystemdListenerNotActivated (0.00s) === RUN TestWatchdogBeatsWhenHealthy --- PASS: TestWatchdogBeatsWhenHealthy (0.02s) === RUN TestWatchdogSkipsWhenUnhealthy 2026/08/29 16:25:44 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/08/29 16:25:44 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/08/29 16:25:44 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/08/29 16:25:44 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/08/29 16:25:44 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/08/29 16:25:44 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/08/29 16:25:44 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/08/29 16:25:44 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/08/29 16:25:44 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 TestRedundantMultipartUpload === CONT TestReadProxyDisabled === CONT TestPinProtectsFromGC === CONT TestGCTaskStore_GetEmpty --- PASS: TestGCTaskStore_GetEmpty (0.00s) === CONT TestService_healthCheckHandler === CONT TestService_readinessHandler === CONT TestReadRedirectUsesPublicS3URL === CONT TestReadProxyRangeRequest === CONT TestReadRedirectKeepsNarinfoProxied === CONT TestReadRedirectNar 2026-08-29 16:25:44.585 UTC [9853] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:44.585 UTC [9853] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:44 OK 20241026095416_initial_model.sql (31.55ms) 2026/08/29 16:25:44 OK 20251210153512_drop_unused_gin_index.sql (826.96µs) 2026/08/29 16:25:44 OK 20251218171726_add_pins.sql (5.57ms) 2026/08/29 16:25:44 OK 20260628120000_add_object_size_and_stats.sql (3.29ms) 2026/08/29 16:25:44 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:44 OK 1_commit_pending_closure.sql (6.72ms) 2026/08/29 16:25:44 OK 2_object_stats_trigger.sql (594.25µs) 2026/08/29 16:25:44 goose: up to current file version: 2 2026-08-29 16:25:44.737 UTC [9857] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:44.737 UTC [9857] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-29 16:25:44.737 UTC [9856] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:44.737 UTC [9856] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-29 16:25:44.738 UTC [9858] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:44.738 UTC [9858] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-29 16:25:44.738 UTC [9855] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:44.738 UTC [9855] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-29 16:25:44.738 UTC [9854] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:44.738 UTC [9854] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:44 WARN Authentication failed token_preview=wrongtoken token_length=10 reason="static API token mismatch" --- PASS: TestService_AuthMiddleware (0.46s) === CONT TestGCTaskStore_StartNew --- PASS: TestGCTaskStore_StartNew (0.00s) === CONT TestGCTaskStore_ConflictDifferentParams --- PASS: TestGCTaskStore_ConflictDifferentParams (0.00s) === CONT TestGCTaskStore_DeduplicateSameParams --- PASS: TestGCTaskStore_DeduplicateSameParams (0.00s) === CONT TestResurrectedObjectNotDeleted 2026-08-29 16:25:44.765 UTC [9860] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:44.765 UTC [9860] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-29 16:25:44.765 UTC [9861] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:44.765 UTC [9861] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-29 16:25:44.765 UTC [9859] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:44.765 UTC [9859] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-29 16:25:44.765 UTC [9862] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:44.765 UTC [9862] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:44 OK 20241026095416_initial_model.sql (56.74ms) 2026/08/29 16:25:44 OK 20241026095416_initial_model.sql (57.78ms) 2026/08/29 16:25:44 OK 20241026095416_initial_model.sql (57.78ms) 2026/08/29 16:25:44 OK 20241026095416_initial_model.sql (58.07ms) 2026/08/29 16:25:44 OK 20251210153512_drop_unused_gin_index.sql (1.04ms) 2026/08/29 16:25:44 OK 20251210153512_drop_unused_gin_index.sql (1.13ms) 2026/08/29 16:25:44 OK 20241026095416_initial_model.sql (58.4ms) 2026/08/29 16:25:44 OK 20251210153512_drop_unused_gin_index.sql (1.02ms) 2026/08/29 16:25:44 OK 20251210153512_drop_unused_gin_index.sql (1.43ms) 2026/08/29 16:25:44 OK 20251210153512_drop_unused_gin_index.sql (1.26ms) 2026/08/29 16:25:44 OK 20251218171726_add_pins.sql (2.85ms) 2026/08/29 16:25:44 OK 20251218171726_add_pins.sql (2.2ms) 2026/08/29 16:25:44 OK 20251218171726_add_pins.sql (2.82ms) 2026/08/29 16:25:44 OK 20251218171726_add_pins.sql (3.53ms) 2026/08/29 16:25:44 OK 20251218171726_add_pins.sql (6.69ms) 2026/08/29 16:25:44 OK 20241026095416_initial_model.sql (55.53ms) 2026/08/29 16:25:44 OK 20241026095416_initial_model.sql (67.86ms) 2026/08/29 16:25:44 OK 20251210153512_drop_unused_gin_index.sql (9.85ms) 2026/08/29 16:25:44 OK 20241026095416_initial_model.sql (66.58ms) 2026/08/29 16:25:44 OK 20241026095416_initial_model.sql (66.59ms) 2026/08/29 16:25:44 OK 20251210153512_drop_unused_gin_index.sql (11.24ms) 2026/08/29 16:25:44 OK 20260628120000_add_object_size_and_stats.sql (23.7ms) 2026/08/29 16:25:44 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:44 OK 20260628120000_add_object_size_and_stats.sql (23.71ms) 2026/08/29 16:25:44 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:44 OK 20260628120000_add_object_size_and_stats.sql (23.81ms) 2026/08/29 16:25:44 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:44 OK 20260628120000_add_object_size_and_stats.sql (22.65ms) 2026/08/29 16:25:44 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:44 OK 20251210153512_drop_unused_gin_index.sql (7.16ms) 2026/08/29 16:25:44 OK 20251210153512_drop_unused_gin_index.sql (7.1ms) 2026/08/29 16:25:44 OK 20251218171726_add_pins.sql (8.93ms) 2026/08/29 16:25:44 OK 20260628120000_add_object_size_and_stats.sql (19.79ms) 2026/08/29 16:25:44 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:44 OK 1_commit_pending_closure.sql (1.8ms) 2026/08/29 16:25:44 OK 1_commit_pending_closure.sql (1.92ms) 2026/08/29 16:25:44 OK 2_object_stats_trigger.sql (378.71µs) 2026/08/29 16:25:44 goose: up to current file version: 2 2026/08/29 16:25:44 OK 1_commit_pending_closure.sql (2.2ms) 2026/08/29 16:25:44 OK 1_commit_pending_closure.sql (2.4ms) 2026/08/29 16:25:44 OK 2_object_stats_trigger.sql (515.83µs) 2026/08/29 16:25:44 goose: up to current file version: 2 2026/08/29 16:25:44 OK 2_object_stats_trigger.sql (214.96µs) 2026/08/29 16:25:44 goose: up to current file version: 2 2026/08/29 16:25:44 OK 2_object_stats_trigger.sql (241.58µs) 2026/08/29 16:25:44 goose: up to current file version: 2 2026/08/29 16:25:44 OK 20251218171726_add_pins.sql (9.21ms) 2026/08/29 16:25:44 OK 1_commit_pending_closure.sql (7.57ms) 2026/08/29 16:25:44 OK 2_object_stats_trigger.sql (163.71µs) 2026/08/29 16:25:44 goose: up to current file version: 2 2026/08/29 16:25:44 OK 20251218171726_add_pins.sql (18.05ms) 2026/08/29 16:25:44 OK 20251218171726_add_pins.sql (18.46ms) 2026/08/29 16:25:44 OK 20260628120000_add_object_size_and_stats.sql (27.52ms) 2026/08/29 16:25:44 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:44 OK 1_commit_pending_closure.sql (10.42ms) 2026/08/29 16:25:44 OK 2_object_stats_trigger.sql (147.67µs) 2026/08/29 16:25:44 goose: up to current file version: 2 2026/08/29 16:25:44 OK 20260628120000_add_object_size_and_stats.sql (26.48ms) 2026/08/29 16:25:44 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:44 OK 20260628120000_add_object_size_and_stats.sql (36.28ms) 2026/08/29 16:25:44 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:44 OK 20260628120000_add_object_size_and_stats.sql (26.68ms) 2026/08/29 16:25:44 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:44 OK 1_commit_pending_closure.sql (2.3ms) 2026/08/29 16:25:44 OK 1_commit_pending_closure.sql (2.03ms) 2026/08/29 16:25:44 OK 1_commit_pending_closure.sql (2.05ms) 2026/08/29 16:25:44 OK 2_object_stats_trigger.sql (405µs) 2026/08/29 16:25:44 goose: up to current file version: 2 2026/08/29 16:25:44 OK 2_object_stats_trigger.sql (474.5µs) 2026/08/29 16:25:44 goose: up to current file version: 2 2026/08/29 16:25:44 OK 2_object_stats_trigger.sql (400.71µs) 2026/08/29 16:25:44 goose: up to current file version: 2 --- PASS: TestReadProxyDisabled (0.66s) === CONT TestReadProxyRootRedirectsToIndexHTML 2026/08/29 16:25:45 WARN readiness check failed error="closed pool" --- PASS: TestService_readinessHandler (0.76s) === CONT TestReadProxyConditionalGet --- PASS: TestReadRedirectUsesPublicS3URL (0.94s) === CONT TestReadProxyHead 2026/08/29 16:25:45 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/29 16:25:45 INFO Received uploads request method=POST path=/api/pending_closures --- PASS: TestReadRedirectKeepsNarinfoProxied (1.31s) === CONT TestReadProxyInvalidPath === NAME TestPinProtectsFromGC client_integration_test.go:648: Pinned store path: /nix/var/nix/builds/nix-9565-1909913857/TestPinProtectsFromGC2696257960/001/store/6l8bgp6vczwscz96b8mq89pmg96hkp75-pinned-file.txt client_integration_test.go:649: Unpinned store path: /nix/var/nix/builds/nix-9565-1909913857/TestPinProtectsFromGC2696257960/001/store/zvqsrkk35vhkm5cq4bgi01bb2khqs5cs-unpinned-file.txt --- PASS: TestReadProxyRangeRequest (1.47s) === CONT TestReadProxy404 2026/08/29 16:25:45 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" --- PASS: TestService_healthCheckHandler (1.61s) === CONT TestReadProxyNarStreaming 2026/08/29 16:25:45 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/29 16:25:45 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/08/29 16:25:45 INFO Uploading 6l8bgp6vczwscz96b8mq89pmg96hkp75-pinned-file.txt (128B) 2026/08/29 16:25:46 WARN Failed to register uploaded object key=nar/0qmhsg42pqsz7x6hh02j8gznnac3yi3qpjhrqbwvz88i194jbb5s.nar.zst error="server returned 404: 404 page not found\n" 2026/08/29 16:25:46 WARN Failed to register uploaded object key=6l8bgp6vczwscz96b8mq89pmg96hkp75.ls error="server returned 404: 404 page not found\n" 2026/08/29 16:25:46 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign 2026/08/29 16:25:46 INFO Signed narinfos id=1 count=1 2026/08/29 16:25:46 INFO Uploading 1 narinfos 2026/08/29 16:25:46 WARN Failed to register uploaded object key=6l8bgp6vczwscz96b8mq89pmg96hkp75.narinfo error="server returned 404: 404 page not found\n" 2026/08/29 16:25:46 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/08/29 16:25:46 INFO Completed upload id=1 2026/08/29 16:25:46 INFO Upload complete. (303ms) --- PASS: TestReadRedirectNar (1.85s) === CONT TestReadProxyNarinfoAlreadyDecompressed 2026/08/29 16:25:46 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" 2026/08/29 16:25:46 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/29 16:25:46 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/08/29 16:25:46 INFO Uploading zvqsrkk35vhkm5cq4bgi01bb2khqs5cs-unpinned-file.txt (128B) 2026/08/29 16:25:46 WARN Failed to register uploaded object key=nar/0gh0wdnr6gmk4r5sfzzh12isnl14rgmkrwy1ws41hpsrlndclg5h.nar.zst error="server returned 404: 404 page not found\n" 2026-08-29 16:25:46.290 UTC [9898] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:46.290 UTC [9898] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:46 WARN Failed to register uploaded object key=zvqsrkk35vhkm5cq4bgi01bb2khqs5cs.ls error="server returned 404: 404 page not found\n" 2026/08/29 16:25:46 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign 2026/08/29 16:25:46 INFO Signed narinfos id=2 count=1 2026/08/29 16:25:46 INFO Uploading 1 narinfos 2026/08/29 16:25:46 WARN Failed to register uploaded object key=zvqsrkk35vhkm5cq4bgi01bb2khqs5cs.narinfo error="server returned 404: 404 page not found\n" 2026/08/29 16:25:46 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete 2026/08/29 16:25:46 INFO Completed upload id=2 2026/08/29 16:25:46 INFO Upload complete. (205ms) 2026/08/29 16:25:46 INFO Received create pin request method=POST path=/api/pins/myapp 2026/08/29 16:25:46 INFO Created/updated pin name=myapp store_path=/nix/var/nix/builds/nix-9565-1909913857/TestPinProtectsFromGC2696257960/001/store/6l8bgp6vczwscz96b8mq89pmg96hkp75-pinned-file.txt narinfo_key=6l8bgp6vczwscz96b8mq89pmg96hkp75.narinfo 2026/08/29 16:25:46 INFO Starting cleanup of old closures method=DELETE path=/api/closures 2026/08/29 16:25:46 INFO Garbage collection started 2026/08/29 16:25:46 INFO Aborted multipart uploads count=0 2026/08/29 16:25:46 WARN Force mode enabled - objects will be deleted immediately without grace period 2026/08/29 16:25:46 OK 20241026095416_initial_model.sql (157.07ms) 2026/08/29 16:25:46 OK 20251210153512_drop_unused_gin_index.sql (5.59ms) 2026/08/29 16:25:46 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/08/29 16:25:46 OK 20251218171726_add_pins.sql (46.93ms) 2026/08/29 16:25:46 INFO Vacuumed table table=pending_closures 2026-08-29 16:25:46.599 UTC [9903] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:46.599 UTC [9903] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:46 OK 20260628120000_add_object_size_and_stats.sql (44.23ms) 2026/08/29 16:25:46 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:46 INFO Vacuumed table table=pending_objects 2026/08/29 16:25:46 INFO Vacuumed table table=multipart_uploads 2026/08/29 16:25:46 OK 1_commit_pending_closure.sql (9.83ms) 2026/08/29 16:25:46 OK 2_object_stats_trigger.sql (259.5µs) 2026/08/29 16:25:46 goose: up to current file version: 2 2026/08/29 16:25:46 INFO Vacuumed table table=closures 2026/08/29 16:25:46 INFO Vacuumed table table=objects 2026/08/29 16:25:46 OK 20241026095416_initial_model.sql (156.31ms) 2026/08/29 16:25:46 OK 20251210153512_drop_unused_gin_index.sql (16.43ms) 2026-08-29 16:25:46.824 UTC [9904] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:46.824 UTC [9904] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:46 OK 20251218171726_add_pins.sql (23.07ms) 2026/08/29 16:25:46 OK 20260628120000_add_object_size_and_stats.sql (11.58ms) 2026/08/29 16:25:46 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:46 OK 1_commit_pending_closure.sql (2.23ms) 2026/08/29 16:25:46 OK 2_object_stats_trigger.sql (292.92µs) 2026/08/29 16:25:46 goose: up to current file version: 2 --- PASS: TestResurrectedObjectNotDeleted (2.11s) === CONT TestReadProxyNarinfo 2026-08-29 16:25:46.921 UTC [9907] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:46.921 UTC [9907] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:46 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/08/29 16:25:47 INFO Completed multipart upload object_key=nar/gggggggggggggggggggggggggggggg0100000000000000000000.nar.zst upload_id=ZjM0OWNlZmMtMWNjMS00NDFkLTk0OGYtNmFkZTE5MDA3MjM4LmYxMzczMGNiLTdiMzUtNDM3YS05ZjFmLTYyMWQ2OTY4OTM2M3gxNzg4MDIwNzQ1NDgzOTUyMDAw parts=12 --- PASS: TestRedundantMultipartUpload (2.73s) === CONT TestIsValidCachePath === RUN TestIsValidCachePath/narinfo === 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 === PAUSE TestIsValidCachePath/index.html === RUN TestIsValidCachePath/traversal_parent === PAUSE TestIsValidCachePath/traversal_parent === RUN TestIsValidCachePath/traversal_in_middle === PAUSE TestIsValidCachePath/traversal_in_middle === RUN TestIsValidCachePath/invalid_char_e === PAUSE TestIsValidCachePath/invalid_char_e === RUN TestIsValidCachePath/invalid_char_u === PAUSE TestIsValidCachePath/invalid_char_u === RUN TestIsValidCachePath/random_path === PAUSE TestIsValidCachePath/random_path === RUN TestIsValidCachePath/empty === PAUSE TestIsValidCachePath/empty === RUN TestIsValidCachePath/leading_slash === PAUSE TestIsValidCachePath/leading_slash === RUN TestIsValidCachePath/wrong_extension === PAUSE TestIsValidCachePath/wrong_extension === RUN TestIsValidCachePath/short_hash === PAUSE TestIsValidCachePath/short_hash === CONT TestParseSingleRange === RUN TestParseSingleRange/none === PAUSE TestParseSingleRange/none === RUN TestParseSingleRange/unknown_unit === PAUSE TestParseSingleRange/unknown_unit === RUN TestParseSingleRange/multi-range_ignored === PAUSE TestParseSingleRange/multi-range_ignored === RUN TestParseSingleRange/malformed_no_dash === PAUSE TestParseSingleRange/malformed_no_dash === RUN TestParseSingleRange/malformed_both_empty === PAUSE TestParseSingleRange/malformed_both_empty === RUN TestParseSingleRange/malformed_end_before_start === PAUSE TestParseSingleRange/malformed_end_before_start === RUN TestParseSingleRange/closed === PAUSE TestParseSingleRange/closed === RUN TestParseSingleRange/open-ended === PAUSE TestParseSingleRange/open-ended === RUN TestParseSingleRange/end_clamped_to_size === PAUSE TestParseSingleRange/end_clamped_to_size === RUN TestParseSingleRange/suffix === PAUSE TestParseSingleRange/suffix === RUN TestParseSingleRange/suffix_exceeds_size === PAUSE TestParseSingleRange/suffix_exceeds_size === 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 === CONT TestIsValidUploadKey === RUN TestIsValidUploadKey/narinfo === PAUSE TestIsValidUploadKey/narinfo === RUN TestIsValidUploadKey/nar_zst === PAUSE TestIsValidUploadKey/nar_zst === RUN TestIsValidUploadKey/nar_xz === PAUSE TestIsValidUploadKey/nar_xz === RUN TestIsValidUploadKey/nar_plain === PAUSE TestIsValidUploadKey/nar_plain === RUN TestIsValidUploadKey/listing === PAUSE TestIsValidUploadKey/listing === RUN TestIsValidUploadKey/build_log === PAUSE TestIsValidUploadKey/build_log === RUN TestIsValidUploadKey/build_log_home-manager_file === PAUSE TestIsValidUploadKey/build_log_home-manager_file === 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 TestIsValidUploadKey/build_log_equals === PAUSE TestIsValidUploadKey/build_log_equals === 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 === RUN TestIsValidUploadKey/nar_key,_narinfo_type === PAUSE TestIsValidUploadKey/nar_key,_narinfo_type === RUN TestIsValidUploadKey/listing_key,_narinfo_type === PAUSE TestIsValidUploadKey/listing_key,_narinfo_type === 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 TestCreatePendingClosure_SmallNARUsesSimplePUT --- PASS: TestReadProxyRootRedirectsToIndexHTML (2.10s) === CONT TestCompleteMultipartUnregistered 2026/08/29 16:25:47 OK 20241026095416_initial_model.sql (208.69ms) 2026/08/29 16:25:47 OK 20251210153512_drop_unused_gin_index.sql (3.03ms) 2026/08/29 16:25:47 OK 20251218171726_add_pins.sql (10.59ms) 2026/08/29 16:25:47 OK 20241026095416_initial_model.sql (93.55ms) 2026/08/29 16:25:47 OK 20251210153512_drop_unused_gin_index.sql (1.5ms) 2026/08/29 16:25:47 OK 20260628120000_add_object_size_and_stats.sql (30.48ms) 2026/08/29 16:25:47 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:47 OK 1_commit_pending_closure.sql (10.38ms) 2026/08/29 16:25:47 OK 2_object_stats_trigger.sql (409.83µs) 2026/08/29 16:25:47 goose: up to current file version: 2 2026/08/29 16:25:47 OK 20251218171726_add_pins.sql (31.43ms) 2026/08/29 16:25:47 OK 20260628120000_add_object_size_and_stats.sql (49.14ms) 2026/08/29 16:25:47 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:47 OK 1_commit_pending_closure.sql (9.05ms) 2026/08/29 16:25:47 OK 2_object_stats_trigger.sql (1.87ms) 2026/08/29 16:25:47 goose: up to current file version: 2 --- PASS: TestReadProxyConditionalGet (2.22s) === CONT TestService_verifyS3Integrity --- PASS: TestReadProxyHead (2.18s) === CONT TestService_createPendingClosureHandler 2026-08-29 16:25:47.516 UTC [9916] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:47.516 UTC [9916] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-29 16:25:47.516 UTC [9917] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:47.516 UTC [9917] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-29 16:25:47.551 UTC [9918] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:47.551 UTC [9918] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:47 OK 20241026095416_initial_model.sql (14.51ms) 2026/08/29 16:25:47 OK 20241026095416_initial_model.sql (15.2ms) 2026/08/29 16:25:47 OK 20251210153512_drop_unused_gin_index.sql (1.12ms) 2026/08/29 16:25:47 OK 20251210153512_drop_unused_gin_index.sql (1ms) 2026/08/29 16:25:47 OK 20251218171726_add_pins.sql (1.11ms) 2026/08/29 16:25:47 OK 20251218171726_add_pins.sql (2.28ms) 2026/08/29 16:25:47 OK 20260628120000_add_object_size_and_stats.sql (5.89ms) 2026/08/29 16:25:47 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:47 OK 1_commit_pending_closure.sql (1.07ms) 2026/08/29 16:25:47 OK 2_object_stats_trigger.sql (220.71µs) 2026/08/29 16:25:47 goose: up to current file version: 2 2026-08-29 16:25:47.573 UTC [9919] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:47.573 UTC [9919] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:47 OK 20241026095416_initial_model.sql (45.81ms) 2026/08/29 16:25:47 OK 20260628120000_add_object_size_and_stats.sql (38.39ms) 2026/08/29 16:25:47 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:47 OK 1_commit_pending_closure.sql (1.6ms) 2026/08/29 16:25:47 OK 2_object_stats_trigger.sql (197.33µs) 2026/08/29 16:25:47 goose: up to current file version: 2 2026/08/29 16:25:47 OK 20251210153512_drop_unused_gin_index.sql (6.85ms) 2026/08/29 16:25:47 OK 20251218171726_add_pins.sql (26.64ms) --- PASS: TestReadProxy404 (1.89s) === CONT TestService_cleanupPendingClosuresHandler 2026/08/29 16:25:47 OK 20260628120000_add_object_size_and_stats.sql (36.74ms) 2026/08/29 16:25:47 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:47 OK 1_commit_pending_closure.sql (5.98ms) 2026/08/29 16:25:47 OK 2_object_stats_trigger.sql (258.96µs) 2026/08/29 16:25:47 goose: up to current file version: 2 2026/08/29 16:25:47 OK 20241026095416_initial_model.sql (127.8ms) 2026/08/29 16:25:47 OK 20251210153512_drop_unused_gin_index.sql (13.56ms) 2026/08/29 16:25:47 OK 20251218171726_add_pins.sql (27.61ms) --- PASS: TestReadProxyInvalidPath (2.18s) === CONT TestUploadHandlersRejectOversizedBody 2026/08/29 16:25:47 OK 20260628120000_add_object_size_and_stats.sql (36.45ms) 2026/08/29 16:25:47 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:47 OK 1_commit_pending_closure.sql (5.34ms) === 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 TestUploadHandlersRejectInvalidKeys === 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 TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_path_traversal === RUN TestUploadHandlersRejectInvalidKeys/complete_multipart_rejects_non-NAR_key === PAUSE TestUploadHandlersRejectInvalidKeys/complete_multipart_rejects_non-NAR_key === RUN TestUploadHandlersRejectInvalidKeys/request_more_parts_rejects_non-NAR_key === PAUSE TestUploadHandlersRejectInvalidKeys/request_more_parts_rejects_non-NAR_key === CONT TestService_NativeMTLS 2026/08/29 16:25:47 OK 2_object_stats_trigger.sql (2.18ms) 2026/08/29 16:25:47 goose: up to current file version: 2 --- PASS: TestReadProxyNarStreaming (2.03s) === CONT TestOrphanedObjectsGCStressTest --- PASS: TestReadProxyNarinfoAlreadyDecompressed (1.93s) === CONT TestOrphanedObjectsGC 2026-08-29 16:25:48.227 UTC [9928] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:48.227 UTC [9928] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:48 OK 20241026095416_initial_model.sql (19.23ms) 2026/08/29 16:25:48 OK 20251210153512_drop_unused_gin_index.sql (12.27ms) 2026-08-29 16:25:48.270 UTC [9930] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:48.270 UTC [9930] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-29 16:25:48.270 UTC [9929] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:48.270 UTC [9929] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:48 OK 20251218171726_add_pins.sql (27.34ms) 2026/08/29 16:25:48 OK 20260628120000_add_object_size_and_stats.sql (10.24ms) 2026/08/29 16:25:48 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:48 OK 1_commit_pending_closure.sql (8.87ms) 2026/08/29 16:25:48 OK 2_object_stats_trigger.sql (264.17µs) 2026/08/29 16:25:48 goose: up to current file version: 2 2026/08/29 16:25:48 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:711: Pin successfully protected closure from garbage collection 2026/08/29 16:25:48 OK 20241026095416_initial_model.sql (143.04ms) 2026/08/29 16:25:48 OK 20241026095416_initial_model.sql (155.07ms) 2026/08/29 16:25:48 OK 20251210153512_drop_unused_gin_index.sql (18.21ms) 2026/08/29 16:25:48 OK 20251210153512_drop_unused_gin_index.sql (5.58ms) 2026/08/29 16:25:48 OK 20251218171726_add_pins.sql (25.48ms) --- PASS: TestReadProxyNarinfo (1.62s) === CONT TestObjectStatsTrigger 2026/08/29 16:25:48 OK 20251218171726_add_pins.sql (33.24ms) --- PASS: TestPinProtectsFromGC (4.20s) === CONT TestMultipartCleanup 2026/08/29 16:25:48 OK 20260628120000_add_object_size_and_stats.sql (31.09ms) 2026/08/29 16:25:48 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:48 OK 1_commit_pending_closure.sql (3.26ms) 2026/08/29 16:25:48 OK 20260628120000_add_object_size_and_stats.sql (25.55ms) 2026/08/29 16:25:48 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:48 OK 2_object_stats_trigger.sql (732.21µs) 2026/08/29 16:25:48 goose: up to current file version: 2 2026/08/29 16:25:48 OK 1_commit_pending_closure.sql (2.45ms) 2026/08/29 16:25:48 OK 2_object_stats_trigger.sql (557.5µs) 2026/08/29 16:25:48 goose: up to current file version: 2 2026/08/29 16:25:48 INFO Received uploads request method=POST path=/api/pending_closures --- PASS: TestCreatePendingClosure_SmallNARUsesSimplePUT (1.71s) === CONT TestServerTLSConfig === RUN TestServerTLSConfig/no_client_CA === 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 === CONT TestCacheConfigHandler === RUN TestCacheConfigHandler/full_config,_no_issuer === PAUSE TestCacheConfigHandler/full_config,_no_issuer === RUN TestCacheConfigHandler/no_cache_url_configured === PAUSE TestCacheConfigHandler/no_cache_url_configured === RUN TestCacheConfigHandler/no_signing_keys === PAUSE TestCacheConfigHandler/no_signing_keys === RUN TestCacheConfigHandler/issuer_requested_but_no_OIDC_validator === PAUSE TestCacheConfigHandler/issuer_requested_but_no_OIDC_validator === CONT TestClientWithDependencies 2026/08/29 16:25:48 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/08/29 16:25:48 ERROR Failed to get multipart upload error="no rows in result set" upload_id=does-not-exist object_key=nar/0000000000000000000000000000000000000000000000000000.nar.zst --- PASS: TestCompleteMultipartUnregistered (1.76s) === CONT TestClientMultipleUploads 2026-08-29 16:25:48.936 UTC [9939] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:48.936 UTC [9939] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-29 16:25:49.017 UTC [9940] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:49.017 UTC [9940] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:49 OK 20241026095416_initial_model.sql (91.01ms) 2026/08/29 16:25:49 OK 20251210153512_drop_unused_gin_index.sql (1.76ms) 2026/08/29 16:25:49 OK 20251218171726_add_pins.sql (8.11ms) 2026/08/29 16:25:49 OK 20260628120000_add_object_size_and_stats.sql (33.59ms) 2026/08/29 16:25:49 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:49 OK 1_commit_pending_closure.sql (5.83ms) 2026/08/29 16:25:49 OK 2_object_stats_trigger.sql (541.38µs) 2026/08/29 16:25:49 goose: up to current file version: 2 2026-08-29 16:25:49.140 UTC [9941] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:49.140 UTC [9941] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:49 OK 20241026095416_initial_model.sql (120.29ms) 2026/08/29 16:25:49 OK 20251210153512_drop_unused_gin_index.sql (7.25ms) 2026/08/29 16:25:49 OK 20251218171726_add_pins.sql (43.96ms) 2026-08-29 16:25:49.259 UTC [9942] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:49.259 UTC [9942] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:49 OK 20260628120000_add_object_size_and_stats.sql (28.92ms) 2026/08/29 16:25:49 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:49 OK 1_commit_pending_closure.sql (16.6ms) 2026/08/29 16:25:49 OK 2_object_stats_trigger.sql (881.04µs) 2026/08/29 16:25:49 goose: up to current file version: 2 2026/08/29 16:25:49 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/29 16:25:49 OK 20241026095416_initial_model.sql (221.31ms) 2026/08/29 16:25:49 OK 20251210153512_drop_unused_gin_index.sql (14.43ms) 2026/08/29 16:25:49 OK 20251218171726_add_pins.sql (47.15ms) 2026/08/29 16:25:49 OK 20260628120000_add_object_size_and_stats.sql (40.56ms) 2026/08/29 16:25:49 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:49 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/29 16:25:49 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/29 16:25:49 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/29 16:25:49 OK 1_commit_pending_closure.sql (8.04ms) 2026/08/29 16:25:49 OK 2_object_stats_trigger.sql (719µs) 2026/08/29 16:25:49 goose: up to current file version: 2 2026/08/29 16:25:49 OK 20241026095416_initial_model.sql (240.01ms) 2026/08/29 16:25:49 OK 20251210153512_drop_unused_gin_index.sql (17.31ms) 2026/08/29 16:25:49 INFO Received cleanup request method=DELETE path=/api/pending_closures 2026/08/29 16:25:49 INFO Aborted multipart uploads count=0 2026/08/29 16:25:49 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/29 16:25:49 OK 20251218171726_add_pins.sql (127.3ms) 2026/08/29 16:25:49 OK 20260628120000_add_object_size_and_stats.sql (52.73ms) 2026/08/29 16:25:49 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:49 OK 1_commit_pending_closure.sql (18.29ms) 2026/08/29 16:25:49 OK 2_object_stats_trigger.sql (976.25µs) 2026/08/29 16:25:49 goose: up to current file version: 2 2026/08/29 16:25:49 INFO Received cleanup request method=DELETE path=/api/pending_closures 2026/08/29 16:25:49 INFO Aborted multipart uploads count=1 2026/08/29 16:25:49 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026-08-29 16:25:49.852 UTC [9941] ERROR: Closure does not exist: id=1 2026-08-29 16:25:49.852 UTC [9941] CONTEXT: PL/pgSQL function commit_pending_closure(bigint) line 16 at RAISE 2026-08-29 16:25:49.852 UTC [9941] STATEMENT: -- name: CommitPendingClosure :exec SELECT commit_pending_closure($1::bigint) --- PASS: TestService_cleanupPendingClosuresHandler (2.19s) === CONT TestClientIntegration 2026/08/29 16:25:50 WARN mTLS auth: subject not in bound subjects subject="CN=reader" 2026/08/29 16:25:50 WARN mTLS auth: subject not in bound subjects subject="CN=reader" --- PASS: TestService_NativeMTLS (2.21s) === CONT TestClientErrorHandling === RUN TestClientErrorHandling/InvalidStorePath === PAUSE TestClientErrorHandling/InvalidStorePath === RUN TestClientErrorHandling/InvalidAuthToken === PAUSE TestClientErrorHandling/InvalidAuthToken === RUN TestClientErrorHandling/ServerNotAvailable === PAUSE TestClientErrorHandling/ServerNotAvailable === CONT TestClientCADerivations 2026-08-29 16:25:50.154 UTC [9945] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:50.154 UTC [9945] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:50 OK 20241026095416_initial_model.sql (241.09ms) 2026/08/29 16:25:50 OK 20251210153512_drop_unused_gin_index.sql (18.76ms) 2026/08/29 16:25:50 OK 20251218171726_add_pins.sql (11.26ms) 2026/08/29 16:25:50 OK 20260628120000_add_object_size_and_stats.sql (38.98ms) 2026/08/29 16:25:50 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:50 OK 1_commit_pending_closure.sql (13.82ms) 2026/08/29 16:25:50 OK 2_object_stats_trigger.sql (520.17µs) 2026/08/29 16:25:50 goose: up to current file version: 2 2026-08-29 16:25:50.693 UTC [9949] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:50.693 UTC [9949] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-29 16:25:50.901 UTC [9952] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:50.901 UTC [9952] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-29 16:25:50.932 UTC [9953] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:50.932 UTC [9953] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:51 OK 20241026095416_initial_model.sql (257.39ms) 2026/08/29 16:25:51 OK 20251210153512_drop_unused_gin_index.sql (10.48ms) 2026/08/29 16:25:51 OK 20251218171726_add_pins.sql (41.88ms) 2026/08/29 16:25:51 OK 20260628120000_add_object_size_and_stats.sql (44.58ms) 2026/08/29 16:25:51 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:51 OK 1_commit_pending_closure.sql (11.76ms) 2026/08/29 16:25:51 OK 2_object_stats_trigger.sql (677µs) 2026/08/29 16:25:51 goose: up to current file version: 2 2026/08/29 16:25:51 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/08/29 16:25:51 OK 20241026095416_initial_model.sql (286.78ms) 2026-08-29 16:25:51.305 UTC [9954] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:51.305 UTC [9954] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:51 OK 20251210153512_drop_unused_gin_index.sql (22.57ms) 2026/08/29 16:25:51 INFO Completed multipart upload object_key=nar/dadb44fdadb44fdadb44fdadb44f000000000000000000000000.nar.zst upload_id=ZjM0OWNlZmMtMWNjMS00NDFkLTk0OGYtNmFkZTE5MDA3MjM4LjkxZmNlZDA3LTJjN2UtNGYyYi1iODFhLTBjZGNjMGEzNWI4ZngxNzg4MDIwNzQ5Mzc2NTc2MDAw parts=10 2026/08/29 16:25:51 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/08/29 16:25:51 INFO Completed upload id=1 2026/08/29 16:25:51 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/29 16:25:51 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/29 16:25:51 INFO Object in database but missing from S3 key=dadb44fdadb44fdadb44fdadb44f0000.narinfo 2026/08/29 16:25:51 WARN Found objects in DB but missing from S3, will re-upload count=1 --- PASS: TestService_verifyS3Integrity (4.05s) === CONT TestCacheStatsHandler 2026/08/29 16:25:51 OK 20251218171726_add_pins.sql (44.65ms) 2026/08/29 16:25:51 OK 20241026095416_initial_model.sql (342.21ms) 2026/08/29 16:25:51 OK 20251210153512_drop_unused_gin_index.sql (20.33ms) 2026/08/29 16:25:51 OK 20260628120000_add_object_size_and_stats.sql (45.94ms) 2026/08/29 16:25:51 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:51 OK 1_commit_pending_closure.sql (9.28ms) 2026/08/29 16:25:51 OK 2_object_stats_trigger.sql (609.79µs) 2026/08/29 16:25:51 goose: up to current file version: 2 2026/08/29 16:25:51 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/08/29 16:25:51 OK 20251218171726_add_pins.sql (62.31ms) 2026/08/29 16:25:51 OK 20260628120000_add_object_size_and_stats.sql (57.91ms) 2026/08/29 16:25:51 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:51 OK 1_commit_pending_closure.sql (11.3ms) 2026/08/29 16:25:51 OK 2_object_stats_trigger.sql (1.04ms) 2026/08/29 16:25:51 goose: up to current file version: 2 2026/08/29 16:25:51 INFO Completed multipart upload object_key=nar/0000000000000000000000000000000000000000000000000000.nar.zst upload_id=ZjM0OWNlZmMtMWNjMS00NDFkLTk0OGYtNmFkZTE5MDA3MjM4LjM3NzE3MTQ0LWQ4ZDMtNGRiNy04OTYzLTMzNTNlMTFhMjJiZngxNzg4MDIwNzQ5NTY2ODAzMDAw parts=10 2026/08/29 16:25:51 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/08/29 16:25:51 INFO Completed upload id=1 2026/08/29 16:25:51 INFO Received get closure request method=GET path=/api/closures/00000000000000000000000000000000 2026/08/29 16:25:51 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/29 16:25:51 INFO Starting cleanup of old closures method=DELETE path=/api/closures 2026/08/29 16:25:51 INFO Aborted multipart uploads count=0 2026/08/29 16:25:51 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/08/29 16:25:51 OK 20241026095416_initial_model.sql (232.24ms) 2026/08/29 16:25:51 INFO Vacuumed table table=pending_closures 2026/08/29 16:25:51 OK 20251210153512_drop_unused_gin_index.sql (14.56ms) 2026/08/29 16:25:51 INFO Vacuumed table table=pending_objects --- PASS: TestObjectStatsTrigger (3.19s) === CONT TestGCBugBareHashReferences 2026-08-29 16:25:51.684 UTC [9958] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:51.684 UTC [9958] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:51 OK 20251218171726_add_pins.sql (45.53ms) 2026/08/29 16:25:51 INFO Vacuumed table table=multipart_uploads 2026/08/29 16:25:51 OK 20260628120000_add_object_size_and_stats.sql (49.65ms) 2026/08/29 16:25:51 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:51 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/29 16:25:51 OK 1_commit_pending_closure.sql (69.74ms) 2026/08/29 16:25:51 INFO Vacuumed table table=closures 2026/08/29 16:25:51 OK 2_object_stats_trigger.sql (1.64ms) 2026/08/29 16:25:51 goose: up to current file version: 2 2026/08/29 16:25:51 INFO Vacuumed table table=objects 2026/08/29 16:25:51 INFO Received get closure request method=GET path=/api/closures/00000000000000000000000000000000 --- PASS: TestService_createPendingClosureHandler (4.46s) === CONT TestGCMetrics 2026/08/29 16:25:52 INFO Received cleanup request method=DELETE path=/api/pending_closures 2026/08/29 16:25:52 INFO Aborted multipart uploads count=1 --- PASS: TestMultipartCleanup (3.54s) === CONT TestParseSize --- PASS: TestParseSize (0.00s) === CONT TestProxyWriteTimeout === RUN TestProxyWriteTimeout/narinfo === PAUSE TestProxyWriteTimeout/narinfo === RUN TestProxyWriteTimeout/1_GiB_nar === PAUSE TestProxyWriteTimeout/1_GiB_nar === RUN TestProxyWriteTimeout/10_GiB_nar === PAUSE TestProxyWriteTimeout/10_GiB_nar === RUN TestProxyWriteTimeout/unknown_size === PAUSE TestProxyWriteTimeout/unknown_size === CONT TestCompleteMultipartUploadHandler_RateLimitTriggersThrottle 2026/08/29 16:25:52 OK 20241026095416_initial_model.sql (275.16ms) 2026/08/29 16:25:52 OK 20251210153512_drop_unused_gin_index.sql (12.99ms) 2026/08/29 16:25:52 OK 20251218171726_add_pins.sql (38.14ms) 2026/08/29 16:25:52 OK 20260628120000_add_object_size_and_stats.sql (32.64ms) 2026/08/29 16:25:52 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:52 OK 1_commit_pending_closure.sql (15.44ms) 2026/08/29 16:25:52 OK 2_object_stats_trigger.sql (294.13µs) 2026/08/29 16:25:52 goose: up to current file version: 2 === NAME TestClientMultipleUploads client_integration_test.go:339: Created store path 0: /nix/var/nix/builds/nix-9565-1909913857/TestClientMultipleUploads1525386242/001/store/nb6yfqs3hf2flcpfy7v6j4w61b0zdq9k-test-file-0.txt === 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 (4.50s) === CONT TestSkippedUploadsHandler 2026/08/29 16:25:52 INFO Client skipped oversized paths paths=3 nar_bytes=5000000000 --- PASS: TestSkippedUploadsHandler (0.00s) === CONT TestResolveDBConnectionString 2026-08-29 16:25:52.587 UTC [9970] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:52.587 UTC [9970] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC === RUN TestResolveDBConnectionString/flag_wins === PAUSE TestResolveDBConnectionString/flag_wins === RUN TestResolveDBConnectionString/file_when_flag_empty === PAUSE TestResolveDBConnectionString/file_when_flag_empty === RUN TestResolveDBConnectionString/missing_file_is_an_error === PAUSE TestResolveDBConnectionString/missing_file_is_an_error === RUN TestResolveDBConnectionString/PGHOST_allows_empty === PAUSE TestResolveDBConnectionString/PGHOST_allows_empty === RUN TestResolveDBConnectionString/nothing_configured === PAUSE TestResolveDBConnectionString/nothing_configured === CONT TestCreatePendingClosureRejectsOversizedNAR 2026/08/29 16:25:52 INFO Received uploads request method=POST path=/api/pending_closures --- PASS: TestCreatePendingClosureRejectsOversizedNAR (0.00s) === CONT TestMetricsInventory === NAME TestClientMultipleUploads client_integration_test.go:339: Created store path 1: /nix/var/nix/builds/nix-9565-1909913857/TestClientMultipleUploads1525386242/001/store/glijzj1inrqjmdgmz49xw7iw2wv1yfx3-test-file-1.txt client_integration_test.go:339: Created store path 2: /nix/var/nix/builds/nix-9565-1909913857/TestClientMultipleUploads1525386242/001/store/2m0as8prl2z5hrdmq4zi177k0y3dv433-test-file-2.txt 2026-08-29 16:25:52.748 UTC [9977] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:52.748 UTC [9977] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:52 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" 2026/08/29 16:25:52 OK 20241026095416_initial_model.sql (125ms) 2026/08/29 16:25:52 OK 20251210153512_drop_unused_gin_index.sql (11.57ms) 2026/08/29 16:25:52 OK 20251218171726_add_pins.sql (15.68ms) 2026/08/29 16:25:52 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/29 16:25:52 OK 20260628120000_add_object_size_and_stats.sql (35.79ms) 2026/08/29 16:25:52 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:52 OK 1_commit_pending_closure.sql (5.31ms) 2026/08/29 16:25:52 OK 2_object_stats_trigger.sql (277.04µs) 2026/08/29 16:25:52 goose: up to current file version: 2 2026/08/29 16:25:52 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/29 16:25:52 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/29 16:25:52 INFO Uploading 3 paths to 127.0.0.1 (0 already cached) 2026/08/29 16:25:52 INFO Uploading 2m0as8prl2z5hrdmq4zi177k0y3dv433-test-file-2.txt (160B) 2026/08/29 16:25:52 INFO Uploading glijzj1inrqjmdgmz49xw7iw2wv1yfx3-test-file-1.txt (160B) 2026/08/29 16:25:52 INFO Uploading nb6yfqs3hf2flcpfy7v6j4w61b0zdq9k-test-file-0.txt (160B) 2026/08/29 16:25:52 WARN Failed to register uploaded object key=nar/0ahq3izw3h0b0c08p3xdfclh758fwxnp85ccvflasb4vnfsv50ri.nar.zst error="server returned 404: 404 page not found\n" 2026/08/29 16:25:52 WARN Failed to register uploaded object key=nar/13p9pqi0ga6fx2apcwls9hjnv7nmf740ggpn5zvfzdsp5vz2bbg4.nar.zst error="server returned 404: 404 page not found\n" 2026/08/29 16:25:52 WARN Failed to register uploaded object key=nar/1823g6vx4q5zqvr73m7lkq1wpk40fin7bsc792di430yk7sg4lka.nar.zst error="server returned 404: 404 page not found\n" 2026/08/29 16:25:52 WARN Failed to register uploaded object key=glijzj1inrqjmdgmz49xw7iw2wv1yfx3.ls error="server returned 404: 404 page not found\n" 2026/08/29 16:25:52 WARN Failed to register uploaded object key=nb6yfqs3hf2flcpfy7v6j4w61b0zdq9k.ls error="server returned 404: 404 page not found\n" 2026/08/29 16:25:52 WARN Failed to register uploaded object key=2m0as8prl2z5hrdmq4zi177k0y3dv433.ls error="server returned 404: 404 page not found\n" 2026/08/29 16:25:52 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign 2026/08/29 16:25:52 INFO Signed narinfos id=1 count=1 2026/08/29 16:25:52 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign 2026/08/29 16:25:52 INFO Signed narinfos id=2 count=1 2026/08/29 16:25:52 INFO Received sign narinfos request method=POST path=/api/pending_closures/3/sign 2026/08/29 16:25:52 INFO Signed narinfos id=3 count=1 2026/08/29 16:25:52 INFO Uploading 3 narinfos 2026/08/29 16:25:53 OK 20241026095416_initial_model.sql (226.52ms) 2026/08/29 16:25:53 OK 20251210153512_drop_unused_gin_index.sql (19.49ms) 2026/08/29 16:25:53 WARN Failed to register uploaded object key=2m0as8prl2z5hrdmq4zi177k0y3dv433.narinfo error="server returned 404: 404 page not found\n" 2026/08/29 16:25:53 WARN Failed to register uploaded object key=nb6yfqs3hf2flcpfy7v6j4w61b0zdq9k.narinfo error="server returned 404: 404 page not found\n" 2026/08/29 16:25:53 WARN Failed to register uploaded object key=glijzj1inrqjmdgmz49xw7iw2wv1yfx3.narinfo error="server returned 404: 404 page not found\n" 2026/08/29 16:25:53 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete === NAME TestClientWithDependencies client_integration_test.go:594: Built derivation: /nix/var/nix/builds/nix-9565-1909913857/TestClientWithDependencies3419940270/001/store/63ra9slyzg6ka7qppihfj274pqb3iv7c-test-script 2026/08/29 16:25:53 OK 20251218171726_add_pins.sql (38.98ms) 2026/08/29 16:25:53 INFO Completed upload id=1 2026/08/29 16:25:53 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete 2026/08/29 16:25:53 INFO Completed upload id=2 2026/08/29 16:25:53 INFO Received complete upload request method=POST path=/api/pending_closures/3/complete 2026/08/29 16:25:53 INFO Completed upload id=3 2026/08/29 16:25:53 INFO Upload complete. (362ms) === NAME TestClientMultipleUploads client_integration_test.go:350: Uploaded 3 paths in 393.142375ms 2026/08/29 16:25:53 OK 20260628120000_add_object_size_and_stats.sql (47.38ms) 2026/08/29 16:25:53 goose: successfully migrated database to version: 20260628120000 === NAME TestClientWithDependencies client_integration_test.go:596: Found 1 dependencies (including self) 2026/08/29 16:25:53 OK 1_commit_pending_closure.sql (8.22ms) 2026/08/29 16:25:53 OK 2_object_stats_trigger.sql (477.88µs) 2026/08/29 16:25:53 goose: up to current file version: 2 --- PASS: TestClientMultipleUploads (4.37s) === CONT TestNARDeduplicationMetadataUploadBug 2026/08/29 16:25:53 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" 2026/08/29 16:25:53 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/29 16:25:53 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/08/29 16:25:53 INFO Uploading 63ra9slyzg6ka7qppihfj274pqb3iv7c-test-script (136B) 2026/08/29 16:25:53 WARN Failed to register uploaded object key=nar/1s7yghixzpinyqm7g59kyn3sav81pmnsdi5v63m6x4r2vacy907j.nar.zst error="server returned 404: 404 page not found\n" 2026/08/29 16:25:53 WARN Failed to register uploaded object key=log/cr547g5w6ivnq200y351pk04c7llkn9h-test-script.drv error="server returned 404: 404 page not found\n" 2026/08/29 16:25:53 WARN Failed to register uploaded object key=63ra9slyzg6ka7qppihfj274pqb3iv7c.ls error="server returned 404: 404 page not found\n" 2026/08/29 16:25:53 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign 2026/08/29 16:25:53 INFO Signed narinfos id=1 count=1 2026/08/29 16:25:53 INFO Uploading 1 narinfos 2026/08/29 16:25:53 WARN Failed to register uploaded object key=63ra9slyzg6ka7qppihfj274pqb3iv7c.narinfo error="server returned 404: 404 page not found\n" 2026/08/29 16:25:53 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/08/29 16:25:53 INFO Completed upload id=1 2026/08/29 16:25:53 INFO Upload complete. (254ms) === NAME TestClientWithDependencies client_integration_test.go:598: Skipping nix copy test - isolated store (/nix/var/nix/builds/nix-9565-1909913857/TestClientWithDependencies3419940270/001/store) requires matching store prefix === NAME TestClientIntegration client_integration_test.go:277: Created store path: /nix/var/nix/builds/nix-9565-1909913857/TestClientIntegration777647881/002/store/v0ih19xh5nhyzgr7znxj5xjjyrbj81sd-test-file.txt --- PASS: TestClientWithDependencies (4.77s) === CONT TestCacheConfigHandlerMaxNarSize --- PASS: TestCacheConfigHandlerMaxNarSize (0.00s) === CONT TestService_AuthMiddleware_OIDC 2026/08/29 16:25:53 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" 2026/08/29 16:25:53 INFO OIDC provider initialized name=test 2026/08/29 16:25:53 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/29 16:25:53 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/08/29 16:25:53 INFO Uploading v0ih19xh5nhyzgr7znxj5xjjyrbj81sd-test-file.txt (152B) 2026/08/29 16:25:53 WARN Failed to register uploaded object key=nar/11l1b7hsy9g9pz8i2rcn4n128l6pyr2yf58d49r12hr5caw9dzk1.nar.zst error="server returned 404: 404 page not found\n" 2026/08/29 16:25:53 WARN Failed to register uploaded object key=v0ih19xh5nhyzgr7znxj5xjjyrbj81sd.ls error="server returned 404: 404 page not found\n" 2026-08-29 16:25:53.683 UTC [10009] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:53.683 UTC [10009] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:53 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign 2026/08/29 16:25:53 INFO Signed narinfos id=1 count=1 2026/08/29 16:25:53 INFO Uploading 1 narinfos 2026/08/29 16:25:53 WARN Failed to register uploaded object key=v0ih19xh5nhyzgr7znxj5xjjyrbj81sd.narinfo error="server returned 404: 404 page not found\n" 2026/08/29 16:25:53 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/08/29 16:25:53 INFO Completed upload id=1 2026/08/29 16:25:53 INFO Upload complete. (266ms) === NAME TestClientIntegration client_integration_test.go:293: Retrieved narinfo from S3: StorePath: /nix/var/nix/builds/nix-9565-1909913857/TestClientIntegration777647881/002/store/v0ih19xh5nhyzgr7znxj5xjjyrbj81sd-test-file.txt URL: nar/11l1b7hsy9g9pz8i2rcn4n128l6pyr2yf58d49r12hr5caw9dzk1.nar.zst Compression: zstd NarHash: sha256:11l1b7hsy9g9pz8i2rcn4n128l6pyr2yf58d49r12hr5caw9dzk1 NarSize: 152 References: CA: fixed:r:sha256:11l1b7hsy9g9pz8i2rcn4n128l6pyr2yf58d49r12hr5caw9dzk1 client_integration_test.go:294: Retrieved .ls file from S3 (compressed size: 77 bytes) client_integration_test.go:294: Decompressed .ls content (64 bytes): {"version":1,"root":{"type":"regular","size":39,"narOffset":96}} client_integration_test.go:297: Testing garbage collection... === NAME TestClientCADerivations client_ca_test.go:136: Built CA derivation: /nix/var/nix/builds/nix-9565-1909913857/TestClientCADerivations3427589753/001/store/b1ljqb5fk3kwqggn6yy9n6qx9a2nsy83-ca-test 2026/08/29 16:25:53 INFO Starting cleanup of old closures method=DELETE path=/api/closures 2026/08/29 16:25:53 INFO Garbage collection started 2026/08/29 16:25:53 INFO Aborted multipart uploads count=0 2026/08/29 16:25:53 WARN Force mode enabled - objects will be deleted immediately without grace period 2026-08-29 16:25:53.804 UTC [10012] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:53.804 UTC [10012] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC client_ca_test.go:139: Found 1 dependencies (including self) 2026/08/29 16:25:53 OK 20241026095416_initial_model.sql (119.98ms) 2026/08/29 16:25:53 OK 20251210153512_drop_unused_gin_index.sql (2.86ms) 2026/08/29 16:25:53 OK 20251218171726_add_pins.sql (23.23ms) 2026/08/29 16:25:53 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" 2026/08/29 16:25:53 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/08/29 16:25:53 OK 20260628120000_add_object_size_and_stats.sql (32.78ms) 2026/08/29 16:25:53 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:53 INFO Vacuumed table table=pending_closures 2026/08/29 16:25:53 OK 1_commit_pending_closure.sql (7.81ms) 2026/08/29 16:25:53 OK 2_object_stats_trigger.sql (257.21µs) 2026/08/29 16:25:53 goose: up to current file version: 2 2026/08/29 16:25:53 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/29 16:25:53 INFO Vacuumed table table=pending_objects 2026/08/29 16:25:53 INFO Vacuumed table table=multipart_uploads 2026/08/29 16:25:53 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/08/29 16:25:53 INFO Uploading b1ljqb5fk3kwqggn6yy9n6qx9a2nsy83-ca-test (144B) 2026/08/29 16:25:53 INFO Vacuumed table table=closures 2026/08/29 16:25:54 WARN Failed to register uploaded object key=nar/04jj7iiy79vhzp5kk3r2751n9x3xa44j98y5bk1ds4jp31kky74n.nar.zst error="server returned 404: 404 page not found\n" 2026/08/29 16:25:54 OK 20241026095416_initial_model.sql (185.25ms) 2026/08/29 16:25:54 INFO Vacuumed table table=objects 2026/08/29 16:25:54 OK 20251210153512_drop_unused_gin_index.sql (25.59ms) 2026/08/29 16:25:54 WARN Failed to register uploaded object key=log/5kfrzbxhaj4nsa64sqp8qaw3jp0njzmb-ca-test.drv error="server returned 404: 404 page not found\n" 2026/08/29 16:25:54 WARN Failed to register uploaded object key=b1ljqb5fk3kwqggn6yy9n6qx9a2nsy83.ls error="server returned 404: 404 page not found\n" 2026/08/29 16:25:54 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign 2026-08-29 16:25:54.097 UTC [10023] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:54.097 UTC [10023] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:54 INFO Signed narinfos id=1 count=1 2026/08/29 16:25:54 INFO Uploading 1 narinfos 2026/08/29 16:25:54 OK 20251218171726_add_pins.sql (39ms) 2026/08/29 16:25:54 WARN Failed to register uploaded object key=b1ljqb5fk3kwqggn6yy9n6qx9a2nsy83.narinfo error="server returned 404: 404 page not found\n" 2026/08/29 16:25:54 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/08/29 16:25:54 OK 20260628120000_add_object_size_and_stats.sql (28.75ms) 2026/08/29 16:25:54 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:54 OK 1_commit_pending_closure.sql (12.79ms) 2026/08/29 16:25:54 OK 2_object_stats_trigger.sql (212.33µs) 2026/08/29 16:25:54 goose: up to current file version: 2 2026/08/29 16:25:54 INFO Completed upload id=1 2026/08/29 16:25:54 INFO Upload complete. (318ms) client_ca_test.go:180: Narinfo contains CA field: StorePath: /nix/var/nix/builds/nix-9565-1909913857/TestClientCADerivations3427589753/001/store/b1ljqb5fk3kwqggn6yy9n6qx9a2nsy83-ca-test URL: nar/04jj7iiy79vhzp5kk3r2751n9x3xa44j98y5bk1ds4jp31kky74n.nar.zst Compression: zstd NarHash: sha256:04jj7iiy79vhzp5kk3r2751n9x3xa44j98y5bk1ds4jp31kky74n NarSize: 144 References: Deriver: /nix/var/nix/builds/nix-9565-1909913857/TestClientCADerivations3427589753/001/store/5kfrzbxhaj4nsa64sqp8qaw3jp0njzmb-ca-test.drv CA: fixed:r:sha256:04jj7iiy79vhzp5kk3r2751n9x3xa44j98y5bk1ds4jp31kky74n client_ca_test.go:185: Checking for realisation files in S3... 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 --- PASS: TestCacheStatsHandler (2.87s) === CONT TestService_ReadScope_PublicByDefault === NAME TestClientCADerivations client_ca_test.go:258: nix copy output: error: binary cache 's3://bucket34?endpoint=http://localhost:56079®ion=eu-west-1' is for Nix stores with prefix '/nix/store', not '/nix/var/nix/builds/nix-9565-1909913857/TestClientCADerivations3427589753/001/store' client_ca_test.go:259: nix copy failed (might be expected with isolated stores): exit status 1 --- PASS: TestClientCADerivations (4.33s) === CONT TestService_RequireScope_OIDC 2026/08/29 16:25:54 OK 20241026095416_initial_model.sql (216.4ms) 2026/08/29 16:25:54 OK 20251210153512_drop_unused_gin_index.sql (8.89ms) 2026/08/29 16:25:54 INFO OIDC provider initialized name=test 2026/08/29 16:25:54 OK 20251218171726_add_pins.sql (39.49ms) 2026-08-29 16:25:54.443 UTC [10043] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:54.443 UTC [10043] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:54 OK 20260628120000_add_object_size_and_stats.sql (40.71ms) 2026/08/29 16:25:54 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:54 OK 1_commit_pending_closure.sql (1.21ms) 2026/08/29 16:25:54 OK 2_object_stats_trigger.sql (277.75µs) 2026/08/29 16:25:54 goose: up to current file version: 2 2026/08/29 16:25:54 INFO Aborted multipart uploads count=0 --- PASS: TestGCBugBareHashReferences (2.96s) === CONT TestGenerateLandingPage --- PASS: TestGenerateLandingPage (0.00s) === CONT TestPresignedUploadRegisteredBeforeCommit 2026/08/29 16:25:54 WARN Force mode enabled - objects will be deleted immediately without grace period 2026/08/29 16:25:54 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/08/29 16:25:54 INFO Vacuumed table table=pending_closures 2026/08/29 16:25:54 INFO Vacuumed table table=pending_objects 2026/08/29 16:25:54 INFO Vacuumed table table=multipart_uploads 2026/08/29 16:25:54 INFO Vacuumed table table=closures 2026/08/29 16:25:54 INFO Vacuumed table table=objects --- PASS: TestGCMetrics (2.77s) === CONT TestService_Rustfstest 2026/08/29 16:25:54 OK 20241026095416_initial_model.sql (229.05ms) 2026/08/29 16:25:54 OK 20251210153512_drop_unused_gin_index.sql (14.65ms) 2026/08/29 16:25:54 OK 20251218171726_add_pins.sql (38.8ms) 2026-08-29 16:25:54.776 UTC [10057] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:54.776 UTC [10057] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:54 OK 20260628120000_add_object_size_and_stats.sql (29.69ms) 2026/08/29 16:25:54 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:54 OK 1_commit_pending_closure.sql (11.31ms) 2026/08/29 16:25:54 OK 2_object_stats_trigger.sql (663.83µs) 2026/08/29 16:25:54 goose: up to current file version: 2 2026/08/29 16:25:54 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/29 16:25:55 OK 20241026095416_initial_model.sql (250.16ms) 2026/08/29 16:25:55 OK 20251210153512_drop_unused_gin_index.sql (4.19ms) 2026/08/29 16:25:55 OK 20251218171726_add_pins.sql (53.14ms) 2026/08/29 16:25:55 OK 20260628120000_add_object_size_and_stats.sql (38.57ms) 2026/08/29 16:25:55 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:55 OK 1_commit_pending_closure.sql (9.58ms) 2026/08/29 16:25:55 OK 2_object_stats_trigger.sql (445.33µs) 2026/08/29 16:25:55 goose: up to current file version: 2 2026/08/29 16:25:55 INFO Received complete multipart upload request method=POST path=/api/multipart/complete --- PASS: TestMetricsInventory (2.89s) === CONT TestService_AuthMiddleware_MTLSBoundSubjects 2026-08-29 16:25:55.565 UTC [10074] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:55.565 UTC [10074] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-29 16:25:55.729 UTC [10083] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:55.729 UTC [10083] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:55 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:304: Objects in database after GC: client_integration_test.go:304: Successfully deleted all objects with GC --force 2026/08/29 16:25:55 OK 20241026095416_initial_model.sql (199.64ms) 2026/08/29 16:25:55 OK 20251210153512_drop_unused_gin_index.sql (11.78ms) 2026/08/29 16:25:55 OK 20251218171726_add_pins.sql (16.24ms) --- PASS: TestClientIntegration (5.99s) === CONT TestService_ReadAuthMiddleware 2026/08/29 16:25:55 OK 20260628120000_add_object_size_and_stats.sql (30.4ms) 2026/08/29 16:25:55 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:55 OK 1_commit_pending_closure.sql (1.15ms) 2026/08/29 16:25:55 OK 2_object_stats_trigger.sql (289.79µs) 2026/08/29 16:25:55 goose: up to current file version: 2 2026/08/29 16:25:55 OK 20241026095416_initial_model.sql (198.57ms) 2026/08/29 16:25:55 OK 20251210153512_drop_unused_gin_index.sql (11.03ms) 2026/08/29 16:25:56 OK 20251218171726_add_pins.sql (27.69ms) 2026/08/29 16:25:56 OK 20260628120000_add_object_size_and_stats.sql (40.64ms) 2026/08/29 16:25:56 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:56 OK 1_commit_pending_closure.sql (11.13ms) 2026/08/29 16:25:56 OK 2_object_stats_trigger.sql (535.38µs) 2026/08/29 16:25:56 goose: up to current file version: 2 === RUN TestService_AuthMiddleware_OIDC/valid_OIDC_token === PAUSE TestService_AuthMiddleware_OIDC/valid_OIDC_token === RUN TestService_AuthMiddleware_OIDC/OIDC_token_with_wrong_org_rejected === PAUSE TestService_AuthMiddleware_OIDC/OIDC_token_with_wrong_org_rejected === RUN TestService_AuthMiddleware_OIDC/malformed_token_rejected === PAUSE TestService_AuthMiddleware_OIDC/malformed_token_rejected === RUN TestService_AuthMiddleware_OIDC/static_token_still_works_with_OIDC_configured === PAUSE TestService_AuthMiddleware_OIDC/static_token_still_works_with_OIDC_configured === CONT TestGCTaskStore_PhaseUpdates --- PASS: TestGCTaskStore_PhaseUpdates (0.00s) === CONT TestGracefulShutdownDrainsInflight 2026/08/29 16:25:56 INFO Starting HTTP server address=127.0.0.1:56282 2026/08/29 16:25:56 INFO Shutdown signal received, draining in-flight requests timeout=10s --- PASS: TestGracefulShutdownDrainsInflight (0.07s) === CONT TestGCTaskStore_Fail --- PASS: TestGCTaskStore_Fail (0.00s) === CONT TestCompletedNarNotReofferedAcrossClosures === NAME TestNARDeduplicationMetadataUploadBug metadata_upload_test.go:48: First store path: /nix/var/nix/builds/nix-9565-1909913857/TestNARDeduplicationMetadataUploadBug1334288288/001/store/m93qwckjjk88hsk9r55fqmglpp2i51lw-file1.txt 2026/08/29 16:25:56 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" 2026/08/29 16:25:56 INFO Received uploads request method=POST path=/api/pending_closures 2026-08-29 16:25:56.504 UTC [10103] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:56.504 UTC [10103] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:56 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/08/29 16:25:56 INFO Uploading m93qwckjjk88hsk9r55fqmglpp2i51lw-file1.txt (160B) 2026-08-29 16:25:56.565 UTC [10104] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:56.565 UTC [10104] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:56 WARN Failed to register uploaded object key=nar/1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf.nar.zst error="server returned 404: 404 page not found\n" 2026/08/29 16:25:56 WARN Failed to register uploaded object key=m93qwckjjk88hsk9r55fqmglpp2i51lw.ls error="server returned 404: 404 page not found\n" 2026/08/29 16:25:56 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign 2026/08/29 16:25:56 INFO Signed narinfos id=1 count=1 2026/08/29 16:25:56 INFO Uploading 1 narinfos 2026/08/29 16:25:56 WARN Failed to register uploaded object key=m93qwckjjk88hsk9r55fqmglpp2i51lw.narinfo error="server returned 404: 404 page not found\n" 2026/08/29 16:25:56 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/08/29 16:25:56 INFO Completed upload id=1 2026/08/29 16:25:56 INFO Upload complete. (321ms) metadata_upload_test.go:54: Retrieved narinfo from S3: StorePath: /nix/var/nix/builds/nix-9565-1909913857/TestNARDeduplicationMetadataUploadBug1334288288/001/store/m93qwckjjk88hsk9r55fqmglpp2i51lw-file1.txt URL: nar/1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf.nar.zst Compression: zstd NarHash: sha256:1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf NarSize: 160 References: CA: fixed:r:sha256:1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf metadata_upload_test.go:55: Retrieved .ls file from S3 (compressed size: 77 bytes) metadata_upload_test.go:55: Decompressed .ls content (64 bytes): {"version":1,"root":{"type":"regular","size":44,"narOffset":96}} 2026/08/29 16:25:56 OK 20241026095416_initial_model.sql (161.42ms) 2026/08/29 16:25:56 OK 20251210153512_drop_unused_gin_index.sql (1.82ms) 2026/08/29 16:25:56 OK 20251218171726_add_pins.sql (17.42ms) 2026-08-29 16:25:56.739 UTC [10106] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:56.739 UTC [10106] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-29 16:25:56.739 UTC [10107] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:56.739 UTC [10107] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:56 OK 20241026095416_initial_model.sql (84.88ms) 2026/08/29 16:25:56 OK 20251210153512_drop_unused_gin_index.sql (7.81ms) 2026/08/29 16:25:56 OK 20260628120000_add_object_size_and_stats.sql (17.76ms) 2026/08/29 16:25:56 goose: successfully migrated database to version: 20260628120000 metadata_upload_test.go:64: Second store path (same content): /nix/var/nix/builds/nix-9565-1909913857/TestNARDeduplicationMetadataUploadBug1334288288/001/store/r17q2ayw2fwbxgcxk65izxg72fjcrf83-file2.txt 2026/08/29 16:25:56 OK 1_commit_pending_closure.sql (7.67ms) 2026/08/29 16:25:56 OK 2_object_stats_trigger.sql (444.08µs) 2026/08/29 16:25:56 goose: up to current file version: 2 2026/08/29 16:25:56 OK 20251218171726_add_pins.sql (21.63ms) 2026/08/29 16:25:56 OK 20260628120000_add_object_size_and_stats.sql (33.87ms) 2026/08/29 16:25:56 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:56 OK 1_commit_pending_closure.sql (1.7ms) 2026/08/29 16:25:56 OK 2_object_stats_trigger.sql (586.67µs) 2026/08/29 16:25:56 goose: up to current file version: 2 2026/08/29 16:25:56 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" --- PASS: TestService_ReadScope_PublicByDefault (2.67s) === CONT TestCompleteMultipartUpload_ErrorButObjectExists 2026/08/29 16:25:56 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/29 16:25:56 INFO Uploading 0 paths to 127.0.0.1 (1 already cached) 2026/08/29 16:25:56 OK 20241026095416_initial_model.sql (132.13ms) 2026/08/29 16:25:56 OK 20251210153512_drop_unused_gin_index.sql (17.74ms) 2026/08/29 16:25:56 WARN Failed to register uploaded object key=r17q2ayw2fwbxgcxk65izxg72fjcrf83.ls error="server returned 404: 404 page not found\n" 2026/08/29 16:25:56 OK 20241026095416_initial_model.sql (141.67ms) 2026/08/29 16:25:56 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign 2026/08/29 16:25:56 INFO Signed narinfos id=2 count=1 2026/08/29 16:25:56 INFO Uploading 1 narinfos 2026/08/29 16:25:56 OK 20251210153512_drop_unused_gin_index.sql (12.92ms) 2026/08/29 16:25:56 OK 20251218171726_add_pins.sql (43.13ms) 2026/08/29 16:25:56 WARN Failed to register uploaded object key=r17q2ayw2fwbxgcxk65izxg72fjcrf83.narinfo error="server returned 404: 404 page not found\n" 2026/08/29 16:25:56 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete 2026/08/29 16:25:56 INFO Completed upload id=2 2026/08/29 16:25:56 INFO Upload complete. (170ms) === NAME TestNARDeduplicationMetadataUploadBug metadata_upload_test.go:76: Retrieved narinfo from S3: StorePath: /nix/var/nix/builds/nix-9565-1909913857/TestNARDeduplicationMetadataUploadBug1334288288/001/store/r17q2ayw2fwbxgcxk65izxg72fjcrf83-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}} 2026/08/29 16:25:56 OK 20251218171726_add_pins.sql (38.45ms) 2026/08/29 16:25:56 OK 20260628120000_add_object_size_and_stats.sql (28.96ms) 2026/08/29 16:25:56 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:56 OK 1_commit_pending_closure.sql (1.46ms) 2026/08/29 16:25:56 OK 2_object_stats_trigger.sql (269.17µs) 2026/08/29 16:25:56 goose: up to current file version: 2 2026/08/29 16:25:56 OK 20260628120000_add_object_size_and_stats.sql (16.74ms) 2026/08/29 16:25:56 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:57 OK 1_commit_pending_closure.sql (7.81ms) 2026/08/29 16:25:57 OK 2_object_stats_trigger.sql (261.38µs) 2026/08/29 16:25:57 goose: up to current file version: 2 --- PASS: TestNARDeduplicationMetadataUploadBug (3.82s) === CONT TestGCTaskStore_CompletedAllowsNewTask --- PASS: TestGCTaskStore_CompletedAllowsNewTask (0.00s) === CONT TestGCTaskStore_GetReturnsLatest --- PASS: TestGCTaskStore_GetReturnsLatest (0.00s) === CONT TestService_AuthMiddleware_MTLSProxyHeader === RUN TestService_RequireScope_OIDC/builder_may_write === PAUSE TestService_RequireScope_OIDC/builder_may_write === RUN TestService_RequireScope_OIDC/builder_may_not_admin === PAUSE TestService_RequireScope_OIDC/builder_may_not_admin === RUN TestService_RequireScope_OIDC/ops_may_admin === PAUSE TestService_RequireScope_OIDC/ops_may_admin === RUN TestService_RequireScope_OIDC/ops_may_not_write === PAUSE TestService_RequireScope_OIDC/ops_may_not_write === RUN TestService_RequireScope_OIDC/reader_may_not_write === PAUSE TestService_RequireScope_OIDC/reader_may_not_write === RUN TestService_RequireScope_OIDC/static_token_may_admin === PAUSE TestService_RequireScope_OIDC/static_token_may_admin === RUN TestService_RequireScope_OIDC/static_token_may_write === PAUSE TestService_RequireScope_OIDC/static_token_may_write === RUN TestService_RequireScope_OIDC/reader_may_read === PAUSE TestService_RequireScope_OIDC/reader_may_read === RUN TestService_RequireScope_OIDC/writer_implies_read === PAUSE TestService_RequireScope_OIDC/writer_implies_read === RUN TestService_RequireScope_OIDC/anonymous_may_not_read === PAUSE TestService_RequireScope_OIDC/anonymous_may_not_read === CONT TestIsValidCachePath/narinfo === CONT TestIsValidCachePath/index.html === CONT TestIsValidCachePath/short_hash === CONT TestIsValidCachePath/wrong_extension === CONT TestIsValidCachePath/leading_slash === CONT TestIsValidCachePath/empty === CONT TestIsValidCachePath/random_path === CONT TestIsValidCachePath/invalid_char_u === CONT TestIsValidCachePath/invalid_char_e === CONT TestIsValidCachePath/traversal_in_middle === CONT TestIsValidCachePath/traversal_parent === CONT TestIsValidCachePath/nar_uncompressed === CONT TestIsValidCachePath/nix-cache-info === CONT TestIsValidCachePath/realisation === CONT TestIsValidCachePath/log === CONT TestIsValidCachePath/ls === CONT TestIsValidCachePath/nar_xz === CONT TestIsValidCachePath/nar_bz2 === CONT TestIsValidCachePath/nar_zst === CONT TestIsValidCachePath/narinfo_all_nix_base32_chars --- PASS: TestIsValidCachePath (0.00s) --- PASS: TestIsValidCachePath/narinfo (0.00s) --- PASS: TestIsValidCachePath/index.html (0.00s) --- PASS: TestIsValidCachePath/short_hash (0.00s) --- PASS: TestIsValidCachePath/wrong_extension (0.00s) --- PASS: TestIsValidCachePath/leading_slash (0.00s) --- PASS: TestIsValidCachePath/empty (0.00s) --- PASS: TestIsValidCachePath/random_path (0.00s) --- PASS: TestIsValidCachePath/invalid_char_u (0.00s) --- PASS: TestIsValidCachePath/invalid_char_e (0.00s) --- PASS: TestIsValidCachePath/traversal_in_middle (0.00s) --- PASS: TestIsValidCachePath/traversal_parent (0.00s) --- PASS: TestIsValidCachePath/nar_uncompressed (0.00s) --- PASS: TestIsValidCachePath/nix-cache-info (0.00s) --- PASS: TestIsValidCachePath/realisation (0.00s) --- PASS: TestIsValidCachePath/log (0.00s) --- PASS: TestIsValidCachePath/ls (0.00s) --- PASS: TestIsValidCachePath/nar_xz (0.00s) --- PASS: TestIsValidCachePath/nar_bz2 (0.00s) --- PASS: TestIsValidCachePath/nar_zst (0.00s) --- PASS: TestIsValidCachePath/narinfo_all_nix_base32_chars (0.00s) === CONT TestParseSingleRange/none === CONT TestParseSingleRange/open-ended === CONT TestParseSingleRange/start_far_past_EOF === CONT TestParseSingleRange/start_past_EOF === CONT TestParseSingleRange/single_byte === CONT TestParseSingleRange/suffix_exceeds_size === CONT TestParseSingleRange/suffix === CONT TestParseSingleRange/end_clamped_to_size === CONT TestParseSingleRange/malformed_both_empty === CONT TestParseSingleRange/closed === CONT TestParseSingleRange/malformed_end_before_start === CONT TestParseSingleRange/multi-range_ignored === CONT TestParseSingleRange/malformed_no_dash === CONT TestParseSingleRange/unknown_unit --- PASS: TestParseSingleRange (0.00s) --- PASS: TestParseSingleRange/none (0.00s) --- PASS: TestParseSingleRange/open-ended (0.00s) --- PASS: TestParseSingleRange/start_far_past_EOF (0.00s) --- PASS: TestParseSingleRange/start_past_EOF (0.00s) --- PASS: TestParseSingleRange/single_byte (0.00s) --- PASS: TestParseSingleRange/suffix_exceeds_size (0.00s) --- PASS: TestParseSingleRange/suffix (0.00s) --- PASS: TestParseSingleRange/end_clamped_to_size (0.00s) --- PASS: TestParseSingleRange/malformed_both_empty (0.00s) --- PASS: TestParseSingleRange/closed (0.00s) --- PASS: TestParseSingleRange/malformed_end_before_start (0.00s) --- PASS: TestParseSingleRange/multi-range_ignored (0.00s) --- PASS: TestParseSingleRange/malformed_no_dash (0.00s) --- PASS: TestParseSingleRange/unknown_unit (0.00s) === CONT TestIsValidUploadKey/narinfo === CONT TestIsValidUploadKey/realisation_plus_in_output === CONT TestIsValidUploadKey/unknown_type === CONT TestIsValidUploadKey/empty_key === CONT TestIsValidUploadKey/absolute === CONT TestIsValidUploadKey/traversal_nar === CONT TestIsValidUploadKey/traversal === CONT TestIsValidUploadKey/listing_key,_narinfo_type === CONT TestIsValidUploadKey/nar_key,_narinfo_type === CONT TestIsValidUploadKey/narinfo_key,_nar_type === CONT TestIsValidUploadKey/index.html === CONT TestIsValidUploadKey/nix-cache-info === CONT TestIsValidUploadKey/build_log_home-manager_file === CONT TestIsValidUploadKey/realisation === CONT TestIsValidUploadKey/build_log_equals === CONT TestIsValidUploadKey/build_log_question_mark === CONT TestIsValidUploadKey/build_log_plus_in_name === CONT TestIsValidUploadKey/nar_plain === CONT TestIsValidUploadKey/build_log === CONT TestIsValidUploadKey/listing === CONT TestIsValidUploadKey/nar_xz === CONT TestIsValidUploadKey/nar_zst --- PASS: TestIsValidUploadKey (0.00s) --- PASS: TestIsValidUploadKey/narinfo (0.00s) --- PASS: TestIsValidUploadKey/realisation_plus_in_output (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/listing_key,_narinfo_type (0.00s) --- PASS: TestIsValidUploadKey/nar_key,_narinfo_type (0.00s) --- PASS: TestIsValidUploadKey/narinfo_key,_nar_type (0.00s) --- PASS: TestIsValidUploadKey/index.html (0.00s) --- PASS: TestIsValidUploadKey/nix-cache-info (0.00s) --- PASS: TestIsValidUploadKey/build_log_home-manager_file (0.00s) --- PASS: TestIsValidUploadKey/realisation (0.00s) --- PASS: TestIsValidUploadKey/build_log_equals (0.00s) --- PASS: TestIsValidUploadKey/build_log_question_mark (0.00s) --- PASS: TestIsValidUploadKey/build_log_plus_in_name (0.00s) --- PASS: TestIsValidUploadKey/nar_plain (0.00s) --- PASS: TestIsValidUploadKey/build_log (0.00s) --- PASS: TestIsValidUploadKey/listing (0.00s) --- PASS: TestIsValidUploadKey/nar_xz (0.00s) --- PASS: TestIsValidUploadKey/nar_zst (0.00s) === CONT TestUploadHandlersRejectOversizedBody/create_pending_closure 2026/08/29 16:25:57 INFO Received uploads request method=POST path=/ --- PASS: TestService_Rustfstest (2.51s) === CONT TestUploadHandlersRejectOversizedBody/request_more_parts 2026/08/29 16:25:57 INFO Received request for more parts method=POST path=/ === CONT TestUploadHandlersRejectOversizedBody/complete_multipart 2026/08/29 16:25:57 INFO Received complete multipart upload request method=POST path=/ === CONT TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_nix-cache-info 2026/08/29 16:25:57 INFO Received uploads request method=POST path=/ === CONT TestUploadHandlersRejectInvalidKeys/complete_multipart_rejects_non-NAR_key 2026/08/29 16:25:57 INFO Received complete multipart upload request method=POST path=/ === CONT TestUploadHandlersRejectInvalidKeys/request_more_parts_rejects_non-NAR_key 2026/08/29 16:25:57 INFO Received request for more parts method=POST path=/ === CONT TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_path_traversal 2026/08/29 16:25:57 INFO Received uploads request method=POST path=/ --- PASS: TestUploadHandlersRejectInvalidKeys (0.00s) --- 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) === CONT TestServerTLSConfig/no_client_CA === CONT TestServerTLSConfig/not_a_PEM_file === CONT TestServerTLSConfig/missing_CA_file --- PASS: TestServerTLSConfig (0.00s) --- PASS: TestServerTLSConfig/no_client_CA (0.00s) --- PASS: TestServerTLSConfig/not_a_PEM_file (0.02s) --- PASS: TestServerTLSConfig/missing_CA_file (0.00s) === CONT TestCacheConfigHandler/full_config,_no_issuer === CONT TestCacheConfigHandler/no_signing_keys === CONT TestCacheConfigHandler/issuer_requested_but_no_OIDC_validator === CONT TestCacheConfigHandler/no_cache_url_configured --- PASS: TestCacheConfigHandler (0.00s) --- PASS: TestCacheConfigHandler/full_config,_no_issuer (0.00s) --- PASS: TestCacheConfigHandler/no_signing_keys (0.00s) --- PASS: TestCacheConfigHandler/issuer_requested_but_no_OIDC_validator (0.00s) --- PASS: TestCacheConfigHandler/no_cache_url_configured (0.00s) === CONT TestClientErrorHandling/InvalidStorePath 2026-08-29 16:25:57.284 UTC [10120] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:57.284 UTC [10120] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:57 INFO Received uploads request method=POST path=/api/pending_closures --- PASS: TestUploadHandlersRejectOversizedBody (0.04s) --- PASS: TestUploadHandlersRejectOversizedBody/request_more_parts (0.02s) --- PASS: TestUploadHandlersRejectOversizedBody/complete_multipart (0.02s) --- PASS: TestUploadHandlersRejectOversizedBody/create_pending_closure (0.28s) === CONT TestClientErrorHandling/ServerNotAvailable 2026-08-29 16:25:57.398 UTC [10123] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:57.398 UTC [10123] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:57 INFO Registered completed upload object_key=nar/jjjjjjjjjjjjjjjjjjjjjjjjjjjjjj0100000000000000000000.nar.zst 2026/08/29 16:25:57 INFO Received uploads request method=POST path=/api/pending_closures --- PASS: TestPresignedUploadRegisteredBeforeCommit (2.77s) === CONT TestClientErrorHandling/InvalidAuthToken 2026/08/29 16:25:57 OK 20241026095416_initial_model.sql (167.11ms) 2026/08/29 16:25:57 OK 20251210153512_drop_unused_gin_index.sql (6.84ms) 2026/08/29 16:25:57 OK 20251218171726_add_pins.sql (16.54ms) 2026/08/29 16:25:57 OK 20260628120000_add_object_size_and_stats.sql (20.07ms) 2026/08/29 16:25:57 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:57 OK 1_commit_pending_closure.sql (8.38ms) 2026/08/29 16:25:57 OK 2_object_stats_trigger.sql (250.04µs) 2026/08/29 16:25:57 goose: up to current file version: 2 2026/08/29 16:25:57 WARN Request failed, retrying attempt=1 max_attempts=6 backoff=100ms error="Get \"http://localhost:19999/api/cache-config\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/cache-config 2026/08/29 16:25:57 OK 20241026095416_initial_model.sql (134.75ms) 2026/08/29 16:25:57 OK 20251210153512_drop_unused_gin_index.sql (12.75ms) 2026/08/29 16:25:57 OK 20251218171726_add_pins.sql (40.37ms) 2026/08/29 16:25:57 WARN Request failed, retrying attempt=2 max_attempts=6 backoff=211.546875ms error="Get \"http://localhost:19999/api/cache-config\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/cache-config 2026/08/29 16:25:57 OK 20260628120000_add_object_size_and_stats.sql (34.92ms) 2026/08/29 16:25:57 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:57 OK 1_commit_pending_closure.sql (12.11ms) 2026/08/29 16:25:57 OK 2_object_stats_trigger.sql (311.25µs) 2026/08/29 16:25:57 goose: up to current file version: 2 2026/08/29 16:25:57 WARN mTLS auth: subject not in bound subjects subject="CN=untrusted,O=Other" 2026/08/29 16:25:57 WARN mTLS auth: bound subjects configured but subject DN unavailable 2026/08/29 16:25:57 WARN mTLS auth: subject not in bound subjects subject="CN=untrusted" --- PASS: TestService_AuthMiddleware_MTLSBoundSubjects (2.20s) === CONT TestProxyWriteTimeout/narinfo === CONT TestProxyWriteTimeout/10_GiB_nar === CONT TestProxyWriteTimeout/unknown_size === CONT TestProxyWriteTimeout/1_GiB_nar --- PASS: TestProxyWriteTimeout (0.00s) --- PASS: TestProxyWriteTimeout/narinfo (0.00s) --- PASS: TestProxyWriteTimeout/10_GiB_nar (0.00s) --- PASS: TestProxyWriteTimeout/unknown_size (0.00s) --- PASS: TestProxyWriteTimeout/1_GiB_nar (0.00s) === CONT TestResolveDBConnectionString/flag_wins === CONT TestResolveDBConnectionString/PGHOST_allows_empty === CONT TestResolveDBConnectionString/nothing_configured === CONT TestResolveDBConnectionString/missing_file_is_an_error === CONT TestResolveDBConnectionString/file_when_flag_empty === CONT TestService_AuthMiddleware_OIDC/valid_OIDC_token --- PASS: TestResolveDBConnectionString (0.02s) --- PASS: TestResolveDBConnectionString/flag_wins (0.00s) --- PASS: TestResolveDBConnectionString/PGHOST_allows_empty (0.00s) --- PASS: TestResolveDBConnectionString/nothing_configured (0.00s) --- PASS: TestResolveDBConnectionString/missing_file_is_an_error (0.00s) --- PASS: TestResolveDBConnectionString/file_when_flag_empty (0.00s) 2026/08/29 16:25:57 INFO OIDC auth successful provider=test scopes=[write] === CONT TestService_AuthMiddleware_OIDC/malformed_token_rejected 2026/08/29 16:25:57 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] === CONT TestService_AuthMiddleware_OIDC/static_token_still_works_with_OIDC_configured === CONT TestService_AuthMiddleware_OIDC/OIDC_token_with_wrong_org_rejected 2026/08/29 16:25:57 WARN Authentication failed token_preview=eyJhbGciOi...jGML4lIfbw token_length=702 oidc_error="no rule matched: claim \"repository_owner\" value [otherorg] not in allowed patterns [myorg]" oidc_provider=test tried_providers=[test] === CONT TestService_RequireScope_OIDC/builder_may_write 2026/08/29 16:25:57 INFO OIDC auth successful provider=test scopes=[write] === CONT TestService_RequireScope_OIDC/static_token_may_admin === CONT TestService_RequireScope_OIDC/anonymous_may_not_read === CONT TestService_RequireScope_OIDC/writer_implies_read 2026/08/29 16:25:57 INFO OIDC auth successful provider=test scopes=[write] === CONT TestService_RequireScope_OIDC/reader_may_read 2026/08/29 16:25:57 INFO OIDC auth successful provider=test scopes=[read] === CONT TestService_RequireScope_OIDC/static_token_may_write === CONT TestService_RequireScope_OIDC/ops_may_not_write 2026/08/29 16:25:57 INFO OIDC auth successful provider=test scopes=[admin] === CONT TestService_RequireScope_OIDC/reader_may_not_write 2026/08/29 16:25:57 INFO OIDC auth successful provider=test scopes=[read] === CONT TestService_RequireScope_OIDC/ops_may_admin 2026/08/29 16:25:57 INFO OIDC auth successful provider=test scopes=[admin] === CONT TestService_RequireScope_OIDC/builder_may_not_admin 2026/08/29 16:25:57 INFO OIDC auth successful provider=test scopes=[write] --- PASS: TestService_AuthMiddleware_OIDC (2.74s) --- PASS: TestService_AuthMiddleware_OIDC/valid_OIDC_token (0.00s) --- 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/OIDC_token_with_wrong_org_rejected (0.00s) --- PASS: TestService_RequireScope_OIDC (2.70s) --- PASS: TestService_RequireScope_OIDC/builder_may_write (0.00s) --- PASS: TestService_RequireScope_OIDC/static_token_may_admin (0.00s) --- PASS: TestService_RequireScope_OIDC/anonymous_may_not_read (0.00s) --- PASS: TestService_RequireScope_OIDC/writer_implies_read (0.00s) --- PASS: TestService_RequireScope_OIDC/reader_may_read (0.00s) --- PASS: TestService_RequireScope_OIDC/static_token_may_write (0.00s) --- PASS: TestService_RequireScope_OIDC/ops_may_not_write (0.00s) --- PASS: TestService_RequireScope_OIDC/reader_may_not_write (0.00s) --- PASS: TestService_RequireScope_OIDC/ops_may_admin (0.00s) --- PASS: TestService_RequireScope_OIDC/builder_may_not_admin (0.00s) 2026/08/29 16:25:57 WARN Request failed, retrying attempt=3 max_attempts=6 backoff=363.337057ms error="Get \"http://localhost:19999/api/cache-config\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/cache-config --- PASS: TestService_ReadAuthMiddleware (2.09s) 2026-08-29 16:25:58.152 UTC [10131] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:58.152 UTC [10131] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:58 WARN Request failed, retrying attempt=4 max_attempts=6 backoff=745.725923ms error="Get \"http://localhost:19999/api/cache-config\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/cache-config 2026/08/29 16:25:58 OK 20241026095416_initial_model.sql (127.49ms) 2026/08/29 16:25:58 OK 20251210153512_drop_unused_gin_index.sql (13.55ms) 2026/08/29 16:25:58 OK 20251218171726_add_pins.sql (36.55ms) 2026/08/29 16:25:58 OK 20260628120000_add_object_size_and_stats.sql (19.11ms) 2026/08/29 16:25:58 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:58 OK 1_commit_pending_closure.sql (4.18ms) 2026/08/29 16:25:58 OK 2_object_stats_trigger.sql (1.22ms) 2026/08/29 16:25:58 goose: up to current file version: 2 2026/08/29 16:25:58 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/29 16:25:59 WARN Request failed, retrying attempt=5 max_attempts=6 backoff=1.562117082s error="Get \"http://localhost:19999/api/cache-config\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/cache-config 2026-08-29 16:25:59.047 UTC [10132] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:59.047 UTC [10132] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-29 16:25:59.176 UTC [10133] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:59.176 UTC [10133] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:59 OK 20241026095416_initial_model.sql (226.18ms) 2026/08/29 16:25:59 OK 20251210153512_drop_unused_gin_index.sql (13.02ms) 2026/08/29 16:25:59 OK 20251218171726_add_pins.sql (34.11ms) 2026/08/29 16:25:59 OK 20260628120000_add_object_size_and_stats.sql (39.39ms) 2026/08/29 16:25:59 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:59 OK 1_commit_pending_closure.sql (7.52ms) 2026/08/29 16:25:59 OK 2_object_stats_trigger.sql (248.17µs) 2026/08/29 16:25:59 goose: up to current file version: 2 2026/08/29 16:25:59 OK 20241026095416_initial_model.sql (200.53ms) 2026/08/29 16:25:59 OK 20251210153512_drop_unused_gin_index.sql (11.52ms) 2026/08/29 16:25:59 OK 20251218171726_add_pins.sql (25.97ms) 2026/08/29 16:25:59 OK 20260628120000_add_object_size_and_stats.sql (29.89ms) 2026/08/29 16:25:59 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:25:59 OK 1_commit_pending_closure.sql (1.59ms) 2026/08/29 16:25:59 OK 2_object_stats_trigger.sql (284.83µs) 2026/08/29 16:25:59 goose: up to current file version: 2 2026-08-29 16:25:59.586 UTC [10134] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:59.586 UTC [10134] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:59 INFO Received uploads request method=POST path=/api/pending_closures --- PASS: TestService_AuthMiddleware_MTLSProxyHeader (2.81s) 2026/08/29 16:25:59 OK 20241026095416_initial_model.sql (226.29ms) 2026/08/29 16:25:59 OK 20251210153512_drop_unused_gin_index.sql (13.13ms) 2026/08/29 16:25:59 OK 20251218171726_add_pins.sql (50.09ms) 2026/08/29 16:25:59 OK 20260628120000_add_object_size_and_stats.sql (30.83ms) 2026/08/29 16:25:59 goose: successfully migrated database to version: 20260628120000 2026-08-29 16:25:59.964 UTC [10135] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-29 16:25:59.964 UTC [10135] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/29 16:25:59 OK 1_commit_pending_closure.sql (1.62ms) 2026/08/29 16:25:59 OK 2_object_stats_trigger.sql (312.67µs) 2026/08/29 16:25:59 goose: up to current file version: 2 2026/08/29 16:25:59 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/08/29 16:25:59 WARN CompleteMultipartUpload errored but object exists; treating as success error="The specified key does not exist." object_key=nar/gggggggggggggggggggggggggggggg0300000000000000000000.nar.zst upload_id=ZjM0OWNlZmMtMWNjMS00NDFkLTk0OGYtNmFkZTE5MDA3MjM4LjA5YmVhM2U4LTBlMDEtNGExZi1hYTVkLTkxMDZmNDJhOGIwOXgxNzg4MDIwNzU5NzAxNzc1MDAw 2026/08/29 16:25:59 INFO Completed multipart upload object_key=nar/gggggggggggggggggggggggggggggg0300000000000000000000.nar.zst upload_id=ZjM0OWNlZmMtMWNjMS00NDFkLTk0OGYtNmFkZTE5MDA3MjM4LjA5YmVhM2U4LTBlMDEtNGExZi1hYTVkLTkxMDZmNDJhOGIwOXgxNzg4MDIwNzU5NzAxNzc1MDAw parts=1 --- PASS: TestCompleteMultipartUpload_ErrorButObjectExists (3.12s) 2026/08/29 16:26:00 OK 20241026095416_initial_model.sql (193.8ms) 2026/08/29 16:26:00 OK 20251210153512_drop_unused_gin_index.sql (10.47ms) 2026/08/29 16:26:00 OK 20251218171726_add_pins.sql (19.26ms) 2026/08/29 16:26:00 OK 20260628120000_add_object_size_and_stats.sql (28.68ms) 2026/08/29 16:26:00 goose: successfully migrated database to version: 20260628120000 2026/08/29 16:26:00 OK 1_commit_pending_closure.sql (5.88ms) 2026/08/29 16:26:00 OK 2_object_stats_trigger.sql (344.5µs) 2026/08/29 16:26:00 goose: up to current file version: 2 2026/08/29 16:26:00 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/08/29 16:26:00 INFO Completed multipart upload object_key=nar/hhhhhhhhhhhhhhhhhhhhhhhhhhhhhh0100000000000000000000.nar.zst upload_id=ZjM0OWNlZmMtMWNjMS00NDFkLTk0OGYtNmFkZTE5MDA3MjM4LjYzYjFkYzhkLWJjMTctNDhiNi1hN2ZlLThjNGU3YmJmYWZjN3gxNzg4MDIwNzU4NjU2MDExMDAw parts=12 2026/08/29 16:26:00 INFO Received uploads request method=POST path=/api/pending_closures --- PASS: TestCompletedNarNotReofferedAcrossClosures (4.24s) 2026/08/29 16:26:00 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: sending request: request failed after retries: Get \"http://localhost:19999/api/cache-config\": dial tcp [::1]:19999: connect: connection refused" 2026/08/29 16:26:00 WARN Rate limiter enabled after throttle name=s3-test rate=5 2026/08/29 16:26:00 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=13, throttled=10, completeMultipart=10 throttle_test.go:215: Rate limiter: enabled=true, rate=5.00 --- PASS: TestCompleteMultipartUploadHandler_RateLimitTriggersThrottle (8.58s) 2026/08/29 16:26:00 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/08/29 16:26:00 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" 2026/08/29 16:26:00 WARN Request failed, retrying attempt=2 max_attempts=6 backoff=189.748078ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures 2026/08/29 16:26:00 WARN Authentication failed token_preview=invalid-token token_length=13 reason="static API token mismatch" === 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/08/29 16:26:00 WARN Request failed, retrying attempt=3 max_attempts=6 backoff=425.039664ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures 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 (13.37s) 2026/08/29 16:26:01 WARN Request failed, retrying attempt=4 max_attempts=6 backoff=746.993486ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures 2026/08/29 16:26:02 WARN Request failed, retrying attempt=5 max_attempts=6 backoff=1.674563362s error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures --- PASS: TestClientErrorHandling (0.00s) --- PASS: TestClientErrorHandling/InvalidStorePath (3.00s) --- PASS: TestClientErrorHandling/InvalidAuthToken (3.38s) --- PASS: TestClientErrorHandling/ServerNotAvailable (6.47s) PASS {"timestamp":"2026-08-29T16:26:03.80156Z","level":"ERROR","message":"HTTP transport failed","event":"http_transport_failed","component":"server","subsystem":"transport","peer_addr":"127.0.0.1:56216","error_kind":"io_error","error":"Cancelled","result":"transport_error","target":"rustfs::server::http","filename":"rustfs/src/server/http.rs","line_number":1836,"threadName":"rustfs-worker","threadId":"ThreadId(3)"} 2026-08-29 16:26:03.900 UTC [9753] LOG: received smart shutdown request 2026-08-29 16:26:03.901 UTC [9753] LOG: background worker "logical replication launcher" (PID 9763) exited with exit code 1 2026-08-29 16:26:03.907 UTC [9758] LOG: shutting down 2026-08-29 16:26:03.907 UTC [9758] LOG: checkpoint starting: shutdown immediate 2026-08-29 16:26:04.951 UTC [9758] LOG: checkpoint complete: wrote 13542 buffers (82.7%), wrote 3 SLRU buffers; 0 WAL file(s) added, 0 removed, 15 recycled; write=0.745 s, sync=0.297 s, total=1.044 s; sync files=17141, longest=0.001 s, average=0.001 s; distance=240163 kB, estimate=240163 kB; lsn=0/10213BA0, redo lsn=0/10213BA0 2026-08-29 16:26:04.955 UTC [9753] 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 === RUN TestValidateToken_KubernetesServiceAccount === PAUSE TestValidateToken_KubernetesServiceAccount === RUN TestNewValidator_KubernetesRequiresCA === PAUSE TestNewValidator_KubernetesRequiresCA === RUN TestScopes_LegacyProviderDefaultsToWrite === PAUSE TestScopes_LegacyProviderDefaultsToWrite === RUN TestScopes_Rules === PAUSE TestScopes_Rules === RUN TestScopes_ConfigValidation === PAUSE TestScopes_ConfigValidation === CONT TestGlobMatch === RUN TestGlobMatch/foo_foo === PAUSE TestGlobMatch/foo_foo === RUN TestGlobMatch/foo_bar === CONT TestScopes_LegacyProviderDefaultsToWrite === PAUSE TestGlobMatch/foo_bar === RUN TestGlobMatch/*_ === CONT TestValidateToken_BoundSubjectMismatch === CONT TestValidateToken_MultipleProviders === CONT TestValidateToken_BoundClaimsMismatch === CONT TestValidateToken_Expired === CONT TestNewValidator_KubernetesRequiresCA === CONT TestValidateToken_WrongAudience === CONT TestValidateToken_KubernetesServiceAccount === CONT TestValidateToken_ValidToken === PAUSE TestGlobMatch/*_ === RUN TestGlobMatch/*_anything === PAUSE TestGlobMatch/*_anything === RUN TestGlobMatch/foo*_foo === PAUSE TestGlobMatch/foo*_foo === RUN TestGlobMatch/foo*_foobar === PAUSE TestGlobMatch/foo*_foobar === 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 TestAudienceForIssuer --- PASS: TestAudienceForIssuer (0.00s) === CONT TestValidateToken_NoMatchingProvider 2026/08/29 16:26:05 INFO OIDC provider initialized name=test 2026/08/29 16:26:05 INFO OIDC provider initialized name=test 2026/08/29 16:26:05 INFO OIDC provider initialized name=test 2026/08/29 16:26:05 INFO OIDC provider initialized name=test 2026/08/29 16:26:05 INFO OIDC provider initialized name=provider2 2026/08/29 16:26:05 INFO OIDC provider initialized name=test 2026/08/29 16:26:05 INFO OIDC provider initialized name=test 2026/08/29 16:26:05 INFO OIDC provider initialized name=provider1 2026/08/29 16:26:05 INFO OIDC provider initialized name=provider1 --- PASS: TestValidateToken_BoundClaimsMismatch (0.00s) === CONT TestScopes_Rules --- PASS: TestValidateToken_WrongAudience (0.00s) === CONT TestScopes_ConfigValidation --- PASS: TestScopes_LegacyProviderDefaultsToWrite (0.00s) === CONT TestGlobMatch/foo_foo === CONT TestGlobMatch/*/*_foo/bar === 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/refs/heads/*_refs/heads/main === CONT TestGlobMatch/*/*_foo === CONT TestGlobMatch/*bar_bar === CONT TestGlobMatch/foo*bar_foobarbaz === CONT TestGlobMatch/foo*bar_foo123bar === CONT TestGlobMatch/foo*bar_foobar === CONT TestGlobMatch/*bar_foo === CONT TestGlobMatch/*bar_foobar === CONT TestGlobMatch/foo*_foo === 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/*/*_foo/bar (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/refs/*/main_refs/heads/main (0.00s) --- PASS: TestGlobMatch/refs/heads/*_refs/tags/v1.0 (0.00s) --- PASS: TestGlobMatch/refs/heads/*_refs/heads/main (0.00s) --- PASS: TestGlobMatch/*/*_foo (0.00s) --- PASS: TestGlobMatch/*bar_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/*bar_foo (0.00s) --- PASS: TestGlobMatch/fo?_foo (0.00s) --- PASS: TestGlobMatch/*bar_foobar (0.00s) --- PASS: TestGlobMatch/foo*_foo (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) --- PASS: TestValidateToken_Expired (0.01s) 2026/08/29 16:26:05 INFO OIDC provider initialized name=test --- PASS: TestValidateToken_NoMatchingProvider (0.00s) --- PASS: TestValidateToken_ValidToken (0.00s) 2026/08/29 16:26:05 INFO OIDC provider initialized name=kubernetes --- PASS: TestValidateToken_BoundSubjectMismatch (0.01s) --- PASS: TestScopes_ConfigValidation (0.00s) --- PASS: TestValidateToken_MultipleProviders (0.01s) --- PASS: TestValidateToken_KubernetesServiceAccount (0.01s) --- PASS: TestScopes_Rules (0.00s) 2026/08/29 16:26:05 http: TLS handshake error from 127.0.0.1:56353: read tcp 127.0.0.1:56351->127.0.0.1:56353: use of closed network connection --- PASS: TestNewValidator_KubernetesRequiresCA (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 TestQueueRetryMovesToBack === PAUSE TestQueueRetryMovesToBack === RUN TestQueueFetchRemoveLifecycle === PAUSE TestQueueFetchRemoveLifecycle === RUN TestQueueConcurrentWriters === PAUSE TestQueueConcurrentWriters === RUN TestQueueRemoveLargeClosure === PAUSE TestQueueRemoveLargeClosure === RUN TestServerClientIntegration === PAUSE TestServerClientIntegration === RUN TestServerQueueError === PAUSE TestServerQueueError === RUN TestGetListenerSocketActivation server_test.go:210: === RUN TestGetListenerSocketActivation --- PASS: TestGetListenerSocketActivation (0.00s) PASS --- PASS: TestGetListenerSocketActivation (0.01s) === RUN TestDrainIsolatesPoisonPath === PAUSE TestDrainIsolatesPoisonPath === RUN TestRunNotBlockedByPoisonHead === PAUSE TestRunNotBlockedByPoisonHead === RUN TestDrainGivesUpWhenServerDown === PAUSE TestDrainGivesUpWhenServerDown === RUN TestFailedPathPrunedByLaterClosure === PAUSE TestFailedPathPrunedByLaterClosure === RUN TestWorkerUploadsAndRemoves === PAUSE TestWorkerUploadsAndRemoves === RUN TestWorkerSkipsGCdPaths === PAUSE TestWorkerSkipsGCdPaths === RUN TestWorkerPrunesClosureDeps === PAUSE TestWorkerPrunesClosureDeps === RUN TestDrainTimeout === PAUSE TestDrainTimeout === CONT TestSendPathsEmpty === CONT TestServerQueueError === CONT TestWorkerUploadsAndRemoves === CONT TestQueueConcurrentWriters === CONT TestQueueRemove === CONT TestQueueDeduplication === CONT TestQueueFetchBatchLimit === CONT TestDrainGivesUpWhenServerDown === CONT TestQueueEnqueueAndFetch --- PASS: TestSendPathsEmpty (0.00s) === CONT TestServerClientIntegration === CONT TestQueueRemoveLargeClosure 2026/08/29 16:26:06 ERROR Failed to queue paths error="permission denied" count=1 --- PASS: TestServerQueueError (0.00s) === CONT TestQueueFetchRemoveLifecycle --- PASS: TestServerClientIntegration (0.00s) === CONT TestQueueRetryMovesToBack --- PASS: TestQueueFetchBatchLimit (0.01s) === CONT TestRunNotBlockedByPoisonHead --- PASS: TestQueueDeduplication (0.01s) === CONT TestWorkerSkipsGCdPaths --- PASS: TestQueueRemove (0.01s) === CONT TestDrainTimeout 2026/08/29 16:26:06 INFO Uploading batch count=2 2026/08/29 16:26:06 ERROR Upload failed error="upload failed" count=2 2026/08/29 16:26:06 ERROR Upload failed, will retry later error="upload failed" path=/nix/var/nix/builds/nix-9565-1909913857/TestDrainGivesUpWhenServerDown2147758878/002/a 2026/08/29 16:26:06 INFO Upload queue status pending=2 --- PASS: TestQueueRetryMovesToBack (0.01s) === CONT TestWorkerPrunesClosureDeps 2026/08/29 16:26:06 INFO Uploading batch count=2 2026/08/29 16:26:06 ERROR Upload failed, will retry later error="upload failed" path=/nix/var/nix/builds/nix-9565-1909913857/TestDrainGivesUpWhenServerDown2147758878/002/b --- PASS: TestQueueFetchRemoveLifecycle (0.01s) === CONT TestDrainIsolatesPoisonPath --- PASS: TestQueueEnqueueAndFetch (0.01s) === CONT TestFailedPathPrunedByLaterClosure 2026/08/29 16:26:06 INFO Uploading batch count=2 2026/08/29 16:26:06 ERROR Upload failed error="upload failed" count=2 2026/08/29 16:26:06 ERROR Upload failed, will retry later error="upload failed" path=/nix/var/nix/builds/nix-9565-1909913857/TestDrainGivesUpWhenServerDown2147758878/002/c 2026/08/29 16:26:06 ERROR Upload failed, will retry later error="upload failed" path=/nix/var/nix/builds/nix-9565-1909913857/TestDrainGivesUpWhenServerDown2147758878/002/d 2026/08/29 16:26:06 INFO Uploading batch count=2 2026/08/29 16:26:06 ERROR Upload failed error="upload failed" count=2 2026/08/29 16:26:06 ERROR Upload failed, will retry later error="upload failed" path=/nix/var/nix/builds/nix-9565-1909913857/TestDrainGivesUpWhenServerDown2147758878/002/e 2026/08/29 16:26:06 ERROR Upload failed, will retry later error="upload failed" path=/nix/var/nix/builds/nix-9565-1909913857/TestDrainGivesUpWhenServerDown2147758878/002/f 2026/08/29 16:26:06 INFO Upload queue status pending=2 2026/08/29 16:26:06 INFO Uploading batch count=1 2026/08/29 16:26:06 INFO Upload queue status pending=2 2026/08/29 16:26:06 ERROR Drain finished with paths left in queue remaining=10 2026/08/29 16:26:06 WARN Store path no longer exists (garbage collected?), removing from queue path=/nix/var/nix/builds/nix-9565-1909913857/TestWorkerSkipsGCdPaths3182884143/002/nonexistent 2026/08/29 16:26:06 INFO Upload queue status pending=3 2026/08/29 16:26:06 INFO Uploading batch count=1 2026/08/29 16:26:06 ERROR Upload failed error="upload failed" count=1 2026/08/29 16:26:06 INFO Uploading batch count=1 2026/08/29 16:26:06 INFO Uploading batch count=4 2026/08/29 16:26:06 ERROR Upload failed error="upload failed" count=4 2026/08/29 16:26:06 INFO Uploading batch count=1 2026/08/29 16:26:06 ERROR Upload failed error="upload failed" count=1 2026/08/29 16:26:06 ERROR Upload failed, will retry later error="upload failed" path=/nix/var/nix/builds/nix-9565-1909913857/TestDrainIsolatesPoisonPath2054120488/002/bbb 2026/08/29 16:26:06 INFO Uploading batch count=2 2026/08/29 16:26:06 INFO Uploading batch count=1 2026/08/29 16:26:06 INFO Uploading batch count=1 2026/08/29 16:26:06 ERROR Upload failed error="upload failed" count=1 2026/08/29 16:26:06 INFO Uploading batch count=1 2026/08/29 16:26:06 INFO Uploading batch count=1 2026/08/29 16:26:06 ERROR Upload failed error="upload failed" count=1 2026/08/29 16:26:06 INFO Uploading batch count=1 2026/08/29 16:26:06 ERROR Upload failed error="upload failed" count=1 2026/08/29 16:26:06 ERROR Drain finished with paths left in queue remaining=1 --- PASS: TestDrainGivesUpWhenServerDown (0.01s) --- PASS: TestDrainIsolatesPoisonPath (0.00s) --- PASS: TestFailedPathPrunedByLaterClosure (0.00s) --- PASS: TestWorkerUploadsAndRemoves (0.03s) --- PASS: TestWorkerSkipsGCdPaths (0.02s) --- PASS: TestWorkerPrunesClosureDeps (0.02s) --- PASS: TestQueueRemoveLargeClosure (0.05s) --- PASS: TestQueueConcurrentWriters (0.09s) 2026/08/29 16:26:06 ERROR Upload failed error="context deadline exceeded" count=2 2026/08/29 16:26:06 ERROR Drain finished with paths left in queue remaining=4 --- PASS: TestDrainTimeout (0.21s) 2026/08/29 16:26:07 INFO Uploading batch count=1 2026/08/29 16:26:07 INFO Uploading batch count=1 2026/08/29 16:26:07 INFO Uploading batch count=1 2026/08/29 16:26:07 ERROR Upload failed error="upload failed" count=1 2026/08/29 16:26:07 INFO Uploading batch count=1 2026/08/29 16:26:07 ERROR Upload failed error="upload failed" count=1 2026/08/29 16:26:07 INFO Uploading batch count=1 2026/08/29 16:26:07 ERROR Upload failed error="upload failed" count=1 2026/08/29 16:26:07 INFO Uploading batch count=1 2026/08/29 16:26:07 ERROR Upload failed error="upload failed" count=1 2026/08/29 16:26:07 ERROR Drain finished with paths left in queue remaining=1 --- PASS: TestRunNotBlockedByPoisonHead (1.02s) PASS