tribuchet: building on eliza 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 TestScriptTokenEmptyToken === CONT TestFileTokenReadsAndCaches === 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 === CONT TestFileTokenEmpty === CONT TestScriptTokenNoExpiryRerunsEveryCall === PAUSE TestParsePathInfoJSON/invalid_JSON === CONT TestStaticToken --- PASS: TestStaticToken (0.00s) === CONT TestDumpPathSingleFile --- PASS: TestFileTokenEmpty (0.00s) === CONT TestDumpPathMatchesNix === CONT TestUploadMultipart_SupersededByPeer === RUN TestUploadMultipart_SupersededByPeer/exists === PAUSE TestUploadMultipart_SupersededByPeer/exists === RUN TestUploadMultipart_SupersededByPeer/missing === PAUSE TestUploadMultipart_SupersededByPeer/missing === CONT TestScriptTokenCachesUntilRefresh --- PASS: TestFileTokenReadsAndCaches (0.00s) === CONT TestFileTokenMissing === CONT TestSetClientTLSErrors --- PASS: TestFileTokenMissing (0.00s) === 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 TestPartSizeForNAR === 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 === 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 === CONT TestSetClientTLSDoesNotMutateDefaultTransport === CONT TestSetClientTLS === CONT TestShellSplitErrors === CONT TestShellSplit === CONT TestDoWithRetry_BodyReplayedViaGetBody === CONT TestResolveStorePath === CONT TestRateLimiterFeedback_400DoesNotCountAsSuccess === CONT TestRateLimiterFeedback === CONT TestPathInfoCACompatibility === CONT TestParsePathInfoJSONMultiplePaths === CONT TestDumpPathWriterError === CONT TestPathInfoHashCompatibility === CONT TestGetStorePathHash === CONT TestConvertHashToNix32 === CONT TestEncodeNixBase32WithRealHash === CONT TestEncodeNixBase32 === RUN TestEncodeNixBase32/test_string_hash === PAUSE TestEncodeNixBase32/test_string_hash === RUN TestEncodeNixBase32/empty_input === PAUSE TestEncodeNixBase32/empty_input === RUN TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI) === PAUSE TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI) === RUN TestPathInfoHashCompatibility/old_string_format_with_colon === RUN TestRateLimiterFeedback/429_enables_limiter --- PASS: TestShellSplitErrors (0.00s) --- PASS: TestEncodeNixBase32WithRealHash (0.00s) === CONT TestScriptTokenBadJSON === CONT TestScriptTokenEmptyCommand --- PASS: TestScriptTokenEmptyCommand (0.00s) === CONT TestScriptTokenScriptFails === CONT TestCaseHackSuffix === RUN TestPathInfoCACompatibility/null_ca_field === PAUSE TestPathInfoCACompatibility/null_ca_field === 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 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 === RUN TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths === PAUSE TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths === RUN TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths === PAUSE TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths 2026/08/27 09:50:07 WARN Rate limiter enabled after throttle name=server-test rate=5 === CONT TestParsePathInfoJSON/Nix_format === RUN TestPathInfoCACompatibility/new_structured_format_-_text === PAUSE TestRateLimiterFeedback/429_enables_limiter === CONT TestParsePathInfoJSON/whitespace_only === RUN TestConvertHashToNix32/SRI_format_to_Nix32 === PAUSE TestConvertHashToNix32/SRI_format_to_Nix32 === RUN TestConvertHashToNix32/already_Nix32_format === CONT TestParsePathInfoJSON/invalid_JSON === CONT TestParsePathInfoJSON/Lix_format === CONT TestParsePathInfoJSON/empty_input === CONT TestFilterOversizedClosures/all_closures_skipped === RUN TestSetClientTLSErrors/missing_cert_file === PAUSE TestPathInfoHashCompatibility/old_string_format_with_colon --- PASS: TestScriptTokenScriptFails (0.00s) === CONT TestUploadMultipart_SupersededByPeer/exists === RUN TestGetStorePathHash/valid_store_path === PAUSE TestPathInfoCACompatibility/new_structured_format_-_text === CONT TestUploadMultipart_SupersededByPeer/missing === RUN TestRateLimiterFeedback/503_enables_limiter 2026/08/27 09:50:07 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 === PAUSE TestConvertHashToNix32/already_Nix32_format === CONT TestFilterOversizedClosures/no_limit_keeps_everything === RUN TestConvertHashToNix32/invalid_format === PAUSE TestConvertHashToNix32/invalid_format === CONT TestPartSizeForNAR/1_TiB === PAUSE TestSetClientTLSErrors/missing_cert_file --- PASS: TestScriptTokenBadJSON (0.00s) --- PASS: TestShellSplit (0.00s) --- PASS: TestScriptTokenEmptyToken (0.01s) --- PASS: TestResolveStorePath (0.01s) === CONT TestEncodeNixBase32/test_string_hash === RUN TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI === PAUSE TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI === PAUSE TestGetStorePathHash/valid_store_path === RUN TestPathInfoCACompatibility/new_structured_format_-_nar_method === PAUSE TestPathInfoCACompatibility/new_structured_format_-_nar_method === CONT TestEncodeNixBase32/empty_input === PAUSE TestRateLimiterFeedback/503_enables_limiter === CONT TestPartSizeForNAR/zero_stays_at_minimum === RUN TestRateLimiterFeedback/200_does_not_enable_limiter === CONT TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths === CONT TestFilterOversizedClosures/closure_with_oversized_dependency_is_skipped === PAUSE TestRateLimiterFeedback/200_does_not_enable_limiter 2026/08/27 09:50:07 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 === CONT TestPartSizeForNAR/5_TiB_S3_max_object === CONT TestConvertHashToNix32/SRI_format_to_Nix32 === CONT TestConvertHashToNix32/invalid_format === CONT TestConvertHashToNix32/already_Nix32_format === CONT TestPathInfoCACompatibility/null_ca_field === RUN TestRateLimiterFeedback/400_does_not_enable_limiter === CONT TestPartSizeForNAR/capped_at_5_GiB === CONT TestPathInfoCACompatibility/new_structured_format_-_nar_method === RUN TestPathInfoHashCompatibility/new_structured_format_with_sha512 === PAUSE TestPathInfoHashCompatibility/new_structured_format_with_sha512 === CONT TestPathInfoCACompatibility/old_string_format_-_text === CONT TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI === RUN TestGetStorePathHash/basename_without_hyphen_should_error === PAUSE TestGetStorePathHash/basename_without_hyphen_should_error === CONT TestPartSizeForNAR/80_GiB_fits_at_minimum === CONT TestPartSizeForNAR/small_stays_at_minimum --- PASS: TestParsePathInfoJSON (0.00s) --- PASS: TestParsePathInfoJSON/whitespace_only (0.00s) --- PASS: TestParsePathInfoJSON/Nix_format (0.00s) --- PASS: TestParsePathInfoJSON/invalid_JSON (0.00s) --- PASS: TestParsePathInfoJSON/Lix_format (0.00s) --- PASS: TestParsePathInfoJSON/empty_input (0.00s) === CONT TestPartSizeForNAR/115_GiB_needs_larger_parts === CONT TestPathInfoCACompatibility/new_structured_format_-_text === PAUSE TestRateLimiterFeedback/400_does_not_enable_limiter === CONT TestRateLimiterFeedback/429_enables_limiter === CONT TestRateLimiterFeedback/400_does_not_enable_limiter === CONT TestRateLimiterFeedback/503_enables_limiter === CONT TestRateLimiterFeedback/200_does_not_enable_limiter === CONT TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI) === CONT TestPathInfoHashCompatibility/new_structured_format_with_sha512 === RUN TestGetStorePathHash/hash_with_invalid_characters_should_error === CONT TestPathInfoHashCompatibility/old_string_format_with_colon --- PASS: TestEncodeNixBase32 (0.00s) --- PASS: TestEncodeNixBase32/test_string_hash (0.00s) --- PASS: TestEncodeNixBase32/empty_input (0.00s) === CONT TestPathInfoCACompatibility/old_string_format_-_fixed_recursive === PAUSE TestGetStorePathHash/hash_with_invalid_characters_should_error --- PASS: TestFilterOversizedClosures (0.00s) --- PASS: TestFilterOversizedClosures/all_closures_skipped (0.00s) --- PASS: TestFilterOversizedClosures/no_limit_keeps_everything (0.00s) --- PASS: TestFilterOversizedClosures/closure_with_oversized_dependency_is_skipped (0.00s) === RUN TestGetStorePathHash/hash_with_wrong_length_should_error --- PASS: TestSetClientTLSDoesNotMutateDefaultTransport (0.01s) === PAUSE TestGetStorePathHash/hash_with_wrong_length_should_error === CONT TestGetStorePathHash/valid_store_path === CONT TestGetStorePathHash/hash_with_invalid_characters_should_error --- 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) --- PASS: TestPathInfoCACompatibility (0.01s) --- PASS: TestPathInfoCACompatibility/null_ca_field (0.00s) --- PASS: TestPathInfoCACompatibility/new_structured_format_-_nar_method (0.00s) --- PASS: TestPathInfoCACompatibility/old_string_format_-_text (0.00s) --- PASS: TestPathInfoCACompatibility/new_structured_format_-_text (0.00s) --- PASS: TestPathInfoCACompatibility/old_string_format_-_fixed_recursive (0.00s) === CONT TestGetStorePathHash/basename_without_hyphen_should_error --- PASS: TestPathInfoHashCompatibility (0.01s) --- PASS: TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI (0.00s) --- PASS: TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI) (0.00s) --- PASS: TestPathInfoHashCompatibility/new_structured_format_with_sha512 (0.00s) --- PASS: TestPathInfoHashCompatibility/old_string_format_with_colon (0.00s) === CONT TestGetStorePathHash/hash_with_wrong_length_should_error --- PASS: TestGetStorePathHash (0.01s) --- PASS: TestGetStorePathHash/valid_store_path (0.00s) --- PASS: TestGetStorePathHash/hash_with_invalid_characters_should_error (0.00s) --- PASS: TestGetStorePathHash/basename_without_hyphen_should_error (0.00s) --- PASS: TestGetStorePathHash/hash_with_wrong_length_should_error (0.00s) === 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 TestSetClientTLS/rejects_connection_without_client_cert === CONT TestSetClientTLS/succeeds_with_client_cert_and_CA === CONT TestSetClientTLS/preserves_debug_logging_transport 2026/08/27 09:50:07 WARN Rate limiter enabled after throttle name=server-test rate=5 --- PASS: TestScriptTokenCachesUntilRefresh (0.01s) 2026/08/27 09:50:07 WARN Request returned retryable status, retrying attempt=1 max_attempts=2 backoff=0s status=429 url=http://127.0.0.1:44615 --- PASS: TestScriptTokenNoExpiryRerunsEveryCall (0.01s) 2026/08/27 09:50:07 WARN Rate limiter enabled after throttle name=server-test rate=5 2026/08/27 09:50:07 WARN Request returned retryable status, retrying attempt=1 max_attempts=2 backoff=0s status=503 url=http://127.0.0.1:37747 2026/08/27 09:50:07 WARN Rate limiter backed off name=server-test rate=5 2026/08/27 09:50:07 WARN Rate limiter backed off name=server-test rate=5 --- PASS: TestRateLimiterFeedback (0.01s) --- PASS: TestRateLimiterFeedback/200_does_not_enable_limiter (0.00s) --- PASS: TestRateLimiterFeedback/400_does_not_enable_limiter (0.00s) --- PASS: TestRateLimiterFeedback/429_enables_limiter (0.00s) --- PASS: TestRateLimiterFeedback/503_enables_limiter (0.00s) === CONT TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths 2026/08/27 09:50:07 WARN Rate limiter enabled after throttle name=server-test rate=5 --- PASS: TestParsePathInfoJSONMultiplePaths (0.00s) --- PASS: TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths (0.00s) --- PASS: TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths (0.00s) 2026/08/27 09:50:07 WARN Request returned retryable status, retrying attempt=1 max_attempts=6 backoff=0s status=503 url=http://127.0.0.1:43091 --- PASS: TestDoServerRequestAttachesToken (0.02s) --- PASS: TestPartSizeForNAR (0.00s) --- PASS: TestPartSizeForNAR/zero_stays_at_minimum (0.00s) --- PASS: TestPartSizeForNAR/5_TiB_S3_max_object (0.00s) --- PASS: TestPartSizeForNAR/capped_at_5_GiB (0.00s) --- PASS: TestPartSizeForNAR/80_GiB_fits_at_minimum (0.00s) --- PASS: TestPartSizeForNAR/small_stays_at_minimum (0.00s) --- PASS: TestPartSizeForNAR/115_GiB_needs_larger_parts (0.00s) --- PASS: TestPartSizeForNAR/1_TiB (0.00s) === 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 TestSetClientTLSErrors/missing_cert_file === CONT TestSetClientTLSErrors/missing_ca_file 2026/08/27 09:50:07 WARN Rate limiter backed off name=server-test rate=5 === CONT TestSetClientTLSErrors/missing_key_file 2026/08/27 09:50:07 WARN Request returned retryable status, retrying attempt=2 max_attempts=6 backoff=0s status=503 url=http://127.0.0.1:43091 === CONT TestSetClientTLSErrors/invalid_ca_file --- PASS: TestDoWithRetry_BodyReplayedViaGetBody (0.02s) --- PASS: TestUploadMultipart_SupersededByPeer (0.00s) --- PASS: TestUploadMultipart_SupersededByPeer/missing (0.01s) --- PASS: TestUploadMultipart_SupersededByPeer/exists (0.01s) --- PASS: TestSetClientTLSErrors (0.02s) --- PASS: TestSetClientTLSErrors/missing_cert_file (0.00s) --- PASS: TestSetClientTLSErrors/missing_key_file (0.00s) --- PASS: TestSetClientTLSErrors/missing_ca_file (0.00s) --- PASS: TestSetClientTLSErrors/invalid_ca_file (0.00s) 2026/08/27 09:50:07 http: TLS handshake error from 127.0.0.1:54454: remote error: tls: bad certificate --- PASS: TestSetClientTLS (0.01s) --- PASS: TestSetClientTLS/succeeds_with_client_cert_and_CA (0.00s) --- PASS: TestSetClientTLS/preserves_debug_logging_transport (0.01s) --- PASS: TestSetClientTLS/rejects_connection_without_client_cert (0.02s) --- PASS: TestDumpPathSingleFile (0.03s) --- PASS: TestDumpPathWriterError (0.04s) --- PASS: TestCaseHackSuffix (0.04s) --- PASS: TestDumpPathMatchesNix (0.08s) --- PASS: TestRateLimiterFeedback_400DoesNotCountAsSuccess (1.00s) PASS Running server tests... The files belonging to this database system will be owned by user "nixbld". This user must also own the server process. The database cluster will be initialized with locale "C". The default database encoding has accordingly been set to "SQL_ASCII". The default text search configuration will be set to "english". Data page checksums are enabled. creating directory /build/postgres3362031422/data ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default "max_connections" ... 100 selecting default "shared_buffers" ... 128MB selecting default time zone ... UTC creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok initdb: warning: enabling "trust" authentication for local connections initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. Success. You can now start the database server using: pg_ctl -D /build/postgres3362031422/data -l logfile start /build/postgres3362031422:5432 - no response 2026-08-27 09:50:08.920 UTC [111] LOG: starting PostgreSQL 18.4 on aarch64-unknown-linux-gnu, compiled by clang version 21.1.8, 64-bit 2026-08-27 09:50:08.921 UTC [111] LOG: listening on Unix socket "/build/postgres3362031422/.s.PGSQL.5432" 2026-08-27 09:50:08.925 UTC [118] LOG: database system was shut down at 2026-08-27 09:50:08 UTC 2026-08-27 09:50:08.928 UTC [111] LOG: database system is ready to accept connections /build/postgres3362031422: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 TestCacheConfigHandler === PAUSE TestCacheConfigHandler === RUN TestCacheStatsHandler === PAUSE TestCacheStatsHandler === RUN TestClientCADerivations === PAUSE TestClientCADerivations === RUN TestClientErrorHandling === PAUSE TestClientErrorHandling === RUN TestClientIntegration === PAUSE TestClientIntegration === RUN TestClientMultipleUploads === PAUSE TestClientMultipleUploads === RUN TestClientWithDependencies === PAUSE TestClientWithDependencies === RUN TestPinProtectsFromGC === PAUSE TestPinProtectsFromGC === RUN TestGCAdvisoryLockBlocksConcurrentRun 2026-08-27 09:50:11.015 UTC [519] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:11.015 UTC [519] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:11 OK 20241026095416_initial_model.sql (12.63ms) 2026/08/27 09:50:11 OK 20251210153512_drop_unused_gin_index.sql (3.12ms) 2026/08/27 09:50:11 OK 20251218171726_add_pins.sql (3.71ms) 2026/08/27 09:50:11 OK 20260628120000_add_object_size_and_stats.sql (3.24ms) 2026/08/27 09:50:11 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:11 OK 1_commit_pending_closure.sql (2.29ms) 2026/08/27 09:50:11 OK 2_object_stats_trigger.sql (917.85µs) 2026/08/27 09:50:11 goose: up to current file version: 2 --- PASS: TestGCAdvisoryLockBlocksConcurrentRun (0.88s) === RUN TestGCBugBareHashReferences === PAUSE TestGCBugBareHashReferences === RUN TestGCMetrics === PAUSE TestGCMetrics === RUN TestGCTaskStore_StartNew === PAUSE TestGCTaskStore_StartNew === RUN TestGCTaskStore_DeduplicateSameParams === PAUSE TestGCTaskStore_DeduplicateSameParams === RUN TestGCTaskStore_ConflictDifferentParams === PAUSE TestGCTaskStore_ConflictDifferentParams === RUN TestGCTaskStore_GetEmpty === PAUSE TestGCTaskStore_GetEmpty === RUN TestGCTaskStore_GetReturnsLatest === PAUSE TestGCTaskStore_GetReturnsLatest === RUN TestGCTaskStore_CompletedAllowsNewTask === PAUSE TestGCTaskStore_CompletedAllowsNewTask === RUN TestGCTaskStore_PhaseUpdates === PAUSE TestGCTaskStore_PhaseUpdates === RUN TestGCTaskStore_Fail === PAUSE TestGCTaskStore_Fail === RUN TestGracefulShutdownDrainsInflight === PAUSE TestGracefulShutdownDrainsInflight === RUN TestService_healthCheckHandler === PAUSE TestService_healthCheckHandler === RUN TestGenerateLandingPage === PAUSE TestGenerateLandingPage === RUN 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 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/27 09:50:11 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/08/27 09:50:11 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/08/27 09:50:11 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/08/27 09:50:11 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/08/27 09:50:11 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/08/27 09:50:11 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/08/27 09:50:11 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/08/27 09:50:11 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/08/27 09:50:11 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/08/27 09:50:11 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 TestCreatePendingClosure_SmallNARUsesSimplePUT === CONT TestService_AuthMiddleware === CONT TestService_verifyS3Integrity === CONT TestOrphanedObjectsGC === CONT TestGCTaskStore_ConflictDifferentParams --- PASS: TestGCTaskStore_ConflictDifferentParams (0.00s) === CONT TestCompleteMultipartUnregistered === CONT TestObjectStatsTrigger === CONT TestMultipartCleanup === 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 TestService_cleanupPendingClosuresHandler === CONT TestService_NativeMTLS === CONT TestMetricsInventory === CONT TestNARDeduplicationMetadataUploadBug === CONT TestCreatePendingClosureRejectsOversizedNAR === CONT TestCacheConfigHandlerMaxNarSize === CONT TestGenerateLandingPage --- PASS: TestCacheConfigHandlerMaxNarSize (0.00s) 2026/08/27 09:50:12 INFO Received uploads request method=POST path=/api/pending_closures === CONT TestUploadHandlersRejectOversizedBody === CONT TestService_healthCheckHandler === CONT TestGracefulShutdownDrainsInflight === CONT TestGCTaskStore_Fail === CONT TestIsValidUploadKey === CONT TestGCTaskStore_PhaseUpdates === CONT TestProxyWriteTimeout === CONT TestGCTaskStore_CompletedAllowsNewTask === CONT TestGCTaskStore_GetReturnsLatest === CONT TestGCTaskStore_GetEmpty === CONT TestCompleteMultipartUploadHandler_RateLimitTriggersThrottle === CONT TestReadProxyRangeRequest === CONT TestService_createPendingClosureHandler --- PASS: TestCreatePendingClosureRejectsOversizedNAR (0.00s) --- PASS: TestGCTaskStore_Fail (0.00s) --- PASS: TestGCTaskStore_PhaseUpdates (0.00s) --- PASS: TestGCTaskStore_CompletedAllowsNewTask (0.00s) --- PASS: TestGCTaskStore_GetReturnsLatest (0.00s) 2026/08/27 09:50:12 INFO Starting HTTP server address=127.0.0.1:41703 === 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 TestClientIntegration === RUN TestIsValidUploadKey/narinfo === RUN TestProxyWriteTimeout/narinfo === CONT TestSkippedUploadsHandler === PAUSE TestProxyWriteTimeout/narinfo === RUN TestProxyWriteTimeout/1_GiB_nar === PAUSE TestProxyWriteTimeout/1_GiB_nar === RUN TestProxyWriteTimeout/10_GiB_nar 2026/08/27 09:50:12 INFO Client skipped oversized paths paths=3 nar_bytes=5000000000 === CONT TestParseSize --- PASS: TestGCTaskStore_GetEmpty (0.00s) === CONT TestGCTaskStore_DeduplicateSameParams --- PASS: TestGCTaskStore_DeduplicateSameParams (0.00s) === CONT TestService_Rustfstest --- PASS: TestParseSize (0.00s) === CONT TestGCTaskStore_StartNew === PAUSE TestProxyWriteTimeout/10_GiB_nar --- PASS: TestGCTaskStore_StartNew (0.00s) === CONT TestPresignedUploadRegisteredBeforeCommit === PAUSE TestIsValidUploadKey/narinfo === RUN TestIsValidUploadKey/nar_zst === PAUSE TestIsValidUploadKey/nar_zst === RUN TestIsValidUploadKey/nar_xz === PAUSE TestIsValidUploadKey/nar_xz === RUN TestProxyWriteTimeout/unknown_size === PAUSE TestProxyWriteTimeout/unknown_size === 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 === CONT TestGCMetrics 2026/08/27 09:50:12 INFO Shutdown signal received, draining in-flight requests timeout=10s === 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 TestCompletedNarNotReofferedAcrossClosures --- PASS: TestGenerateLandingPage (0.06s) === CONT TestGCBugBareHashReferences --- PASS: TestSkippedUploadsHandler (0.06s) === CONT TestCompleteMultipartUpload_ErrorButObjectExists 2026-08-27 09:50:12.075 UTC [584] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.075 UTC [584] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-27 09:50:12.099 UTC [589] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.099 UTC [589] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-27 09:50:12.104 UTC [591] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.104 UTC [591] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-27 09:50:12.104 UTC [592] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.104 UTC [592] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC --- PASS: TestGracefulShutdownDrainsInflight (0.14s) === CONT TestPinProtectsFromGC === RUN TestUploadHandlersRejectOversizedBody/complete_multipart === PAUSE TestUploadHandlersRejectOversizedBody/complete_multipart === RUN TestUploadHandlersRejectOversizedBody/request_more_parts === PAUSE TestUploadHandlersRejectOversizedBody/request_more_parts === RUN TestUploadHandlersRejectOversizedBody/create_pending_closure === PAUSE TestUploadHandlersRejectOversizedBody/create_pending_closure === CONT TestRedundantMultipartUpload 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (85.75ms) 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (4.03ms) 2026-08-27 09:50:12.180 UTC [600] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.180 UTC [600] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-27 09:50:12.187 UTC [601] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.187 UTC [601] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-27 09:50:12.190 UTC [602] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.190 UTC [602] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (91ms) 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (27.52ms) 2026-08-27 09:50:12.211 UTC [603] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.211 UTC [603] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (56.44ms) 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (6.24ms) 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (65.86ms) 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (3.33ms) 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (9.13ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (3.2ms) 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (5.14ms) 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (9.93ms) 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (16.78ms) 2026-08-27 09:50:12.227 UTC [604] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.227 UTC [604] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (5.23ms) 2026/08/27 09:50:12 goose: up to current file version: 2 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (12.39ms) 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (10.88ms) 2026-08-27 09:50:12.230 UTC [605] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.230 UTC [605] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (11.64ms) 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (16.63ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (12.81ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (30.64ms) 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (9.31ms) 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (28.39ms) 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (6.77ms) 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (8.39ms) 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (35.03ms) 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (19.83ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (7.39ms) 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (5.24ms) 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (5.24ms) 2026/08/27 09:50:12 goose: up to current file version: 2 2026-08-27 09:50:12.254 UTC [606] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.254 UTC [606] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (5.64ms) 2026/08/27 09:50:12 goose: up to current file version: 2 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (5.96ms) 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (8.14ms) 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (10.93ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (8.12ms) 2026-08-27 09:50:12.262 UTC [607] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.262 UTC [607] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-27 09:50:12.264 UTC [608] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.264 UTC [608] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (11.71ms) 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (20.09ms) 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (6.6ms) 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (6.89ms) 2026/08/27 09:50:12 goose: up to current file version: 2 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (16.83ms) 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (12.23ms) 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (6.23ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (4.24ms) 2026/08/27 09:50:12 goose: up to current file version: 2 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (4.74ms) 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (4.41ms) 2026-08-27 09:50:12.271 UTC [609] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.271 UTC [609] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-27 09:50:12.272 UTC [610] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.272 UTC [610] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-27 09:50:12.273 UTC [611] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.273 UTC [611] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (9.87ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (7.17ms) 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (14.26ms) 2026-08-27 09:50:12.285 UTC [612] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.285 UTC [612] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (11.54ms) 2026/08/27 09:50:12 goose: up to current file version: 2 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (11.69ms) 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (16.72ms) 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (19.08ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (14.62ms) 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (19.08ms) 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (4.82ms) 2026/08/27 09:50:12 goose: up to current file version: 2 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (7.37ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (5.81ms) 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (17.51ms) 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (4.8ms) 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (4.67ms) 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (7.33ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (3.53ms) 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (2.33ms) 2026/08/27 09:50:12 goose: up to current file version: 2 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (3.67ms) 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (3.5ms) 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (2.44ms) 2026/08/27 09:50:12 goose: up to current file version: 2 2026-08-27 09:50:12.299 UTC [613] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.299 UTC [613] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (6.68ms) 2026-08-27 09:50:12.301 UTC [614] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.301 UTC [614] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (6.79ms) 2026-08-27 09:50:12.301 UTC [615] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.301 UTC [615] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-27 09:50:12.302 UTC [616] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.302 UTC [616] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-27 09:50:12.302 UTC [617] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.302 UTC [617] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (3.48ms) 2026/08/27 09:50:12 goose: up to current file version: 2 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (13.9ms) 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (5.24ms) 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (14.48ms) 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (15.4ms) 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (4.16ms) 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (6.42ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (12.5ms) 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (3.39ms) 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (4.55ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (4.39ms) 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (6.21ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (3.31ms) 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (4.65ms) 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (3.87ms) 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (4.35ms) 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (4.65ms) 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (4.48ms) 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (1.93ms) 2026/08/27 09:50:12 goose: up to current file version: 2 2026-08-27 09:50:12.315 UTC [618] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.315 UTC [618] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (2.47ms) 2026-08-27 09:50:12.315 UTC [619] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.315 UTC [619] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:12 goose: up to current file version: 2 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (6.99ms) 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (3.51ms) 2026/08/27 09:50:12 goose: up to current file version: 2 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (5.05ms) 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (5.69ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (6.03ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (4.88ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (4.91ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (4.01ms) 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (4ms) 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (13.64ms) 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (13.42ms) 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (13.68ms) 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (13.22ms) 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (3.49ms) 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (14.02ms) 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (3.32ms) 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (3.28ms) 2026/08/27 09:50:12 goose: up to current file version: 2 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (2ms) 2026/08/27 09:50:12 goose: up to current file version: 2 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (2.22ms) 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (1.75ms) 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (1.81ms) 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (1.8ms) 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (2.47ms) 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (1.55ms) 2026/08/27 09:50:12 goose: up to current file version: 2 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (2.53ms) 2026/08/27 09:50:12 goose: up to current file version: 2 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (3.88ms) 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (4.63ms) 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (4.52ms) 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (4.6ms) 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (4.1ms) 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (10.61ms) 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (4.7ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (4.9ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (11.67ms) 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (4.82ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (4.97ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (5.07ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (3ms) 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (1.99ms) 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (1.83ms) 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (2.08ms) 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (2.35ms) 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (2.73ms) 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (2.69ms) 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (2.57ms) 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (1.1ms) 2026/08/27 09:50:12 goose: up to current file version: 2 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (1.88ms) 2026/08/27 09:50:12 goose: up to current file version: 2 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (1.24ms) 2026/08/27 09:50:12 goose: up to current file version: 2 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (1.21ms) 2026/08/27 09:50:12 goose: up to current file version: 2 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (1.27ms) 2026/08/27 09:50:12 goose: up to current file version: 2 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (2.52ms) 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (3.87ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (2.91ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (1.7ms) 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (2.71ms) 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (781.67µs) 2026/08/27 09:50:12 goose: up to current file version: 2 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (2.3ms) 2026/08/27 09:50:12 goose: up to current file version: 2 2026/08/27 09:50:12 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/27 09:50:12 INFO Received uploads request method=POST path=/api/pending_closures --- PASS: TestCreatePendingClosure_SmallNARUsesSimplePUT (0.49s) === CONT TestClientWithDependencies --- PASS: TestObjectStatsTrigger (0.51s) === CONT TestReadProxy404 2026/08/27 09:50:12 WARN Authentication failed token_preview=wrongtoken token_length=10 reason="static API token mismatch" --- PASS: TestService_AuthMiddleware (0.51s) === CONT TestClientMultipleUploads 2026/08/27 09:50:12 INFO Received uploads request method=POST path=/api/pending_closures 2026-08-27 09:50:12.575 UTC [626] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.575 UTC [626] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (10.75ms) 2026-08-27 09:50:12.604 UTC [627] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.604 UTC [627] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-27 09:50:12.604 UTC [628] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.604 UTC [628] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (2.11ms) 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (4.62ms) 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (4.33ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (3.28ms) 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (1.72ms) 2026/08/27 09:50:12 goose: up to current file version: 2 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (10.85ms) 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (10.99ms) 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (1.3ms) 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (1.25ms) 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (3.6ms) 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (3.75ms) 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (3.96ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (3.95ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (1.93ms) 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (2.02ms) 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (792.13µs) 2026/08/27 09:50:12 goose: up to current file version: 2 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (849.75µs) 2026/08/27 09:50:12 goose: up to current file version: 2 2026/08/27 09:50:12 INFO Received cleanup request method=DELETE path=/api/pending_closures 2026/08/27 09:50:12 INFO Aborted multipart uploads count=1 --- PASS: TestMultipartCleanup (0.67s) === CONT TestReadRedirectKeepsNarinfoProxied 2026-08-27 09:50:12.740 UTC [631] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.740 UTC [631] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (10.57ms) 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (1.4ms) 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (3.93ms) 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (2.82ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (1.97ms) 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (858.29µs) 2026/08/27 09:50:12 goose: up to current file version: 2 --- PASS: TestService_healthCheckHandler (0.81s) === 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 TestReadProxyConditionalGet === NAME TestNARDeduplicationMetadataUploadBug metadata_upload_test.go:48: First store path: /build/TestNARDeduplicationMetadataUploadBug2263440415/001/store/bxdr403fzq3gb2qgk2hrc1mxp9c2wq0y-file1.txt 2026/08/27 09:50:12 WARN mTLS auth: subject not in bound subjects subject="CN=reader" 2026/08/27 09:50:12 WARN mTLS auth: subject not in bound subjects subject="CN=writer" --- PASS: TestService_NativeMTLS (0.86s) === CONT TestClientErrorHandling === RUN TestClientErrorHandling/InvalidStorePath === PAUSE TestClientErrorHandling/InvalidStorePath === RUN TestClientErrorHandling/InvalidAuthToken === PAUSE TestClientErrorHandling/InvalidAuthToken === RUN TestClientErrorHandling/ServerNotAvailable === PAUSE TestClientErrorHandling/ServerNotAvailable === CONT TestReadProxyDisabled 2026/08/27 09:50:12 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/08/27 09:50:12 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 (0.89s) === CONT TestReadRedirectNar 2026-08-27 09:50:12.890 UTC [675] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.890 UTC [675] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:12 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (11.9ms) 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (2.39ms) 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (10.97ms) 2026/08/27 09:50:12 INFO Received uploads request method=POST path=/api/pending_closures --- PASS: TestReadProxyRangeRequest (0.93s) === CONT TestReadProxyRootRedirectsToIndexHTML 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (14.28ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 --- PASS: TestMetricsInventory (0.94s) 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (4.73ms) === CONT TestClientCADerivations 2026/08/27 09:50:12 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/08/27 09:50:12 INFO Uploading bxdr403fzq3gb2qgk2hrc1mxp9c2wq0y-file1.txt (160B) 2026/08/27 09:50:12 OK 2_object_stats_trigger.sql (3.75ms) 2026/08/27 09:50:12 goose: up to current file version: 2 2026/08/27 09:50:12 WARN Failed to register uploaded object key=nar/1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf.nar.zst error="server returned 404: 404 page not found\n" 2026-08-27 09:50:12.951 UTC [716] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.951 UTC [716] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:12 WARN Failed to register uploaded object key=bxdr403fzq3gb2qgk2hrc1mxp9c2wq0y.ls error="server returned 404: 404 page not found\n" 2026/08/27 09:50:12 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign 2026/08/27 09:50:12 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/27 09:50:12 INFO Signed narinfos id=1 count=1 2026/08/27 09:50:12 INFO Uploading 1 narinfos 2026/08/27 09:50:12 WARN Failed to register uploaded object key=bxdr403fzq3gb2qgk2hrc1mxp9c2wq0y.narinfo error="server returned 404: 404 page not found\n" 2026/08/27 09:50:12 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026-08-27 09:50:12.967 UTC [719] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:12.967 UTC [719] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:12 INFO Completed upload id=1 2026/08/27 09:50:12 INFO Upload complete. (116ms) === NAME TestNARDeduplicationMetadataUploadBug metadata_upload_test.go:54: Retrieved narinfo from S3: StorePath: /build/TestNARDeduplicationMetadataUploadBug2263440415/001/store/bxdr403fzq3gb2qgk2hrc1mxp9c2wq0y-file1.txt URL: nar/1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf.nar.zst Compression: zstd NarHash: sha256:1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf NarSize: 160 References: CA: fixed:r:sha256:1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf 2026/08/27 09:50:12 INFO Received cleanup request method=DELETE path=/api/pending_closures 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (15.85ms) 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/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (3.15ms) 2026/08/27 09:50:12 INFO Aborted multipart uploads count=0 2026/08/27 09:50:12 INFO Received uploads request method=POST path=/api/pending_closures === NAME TestClientIntegration client_integration_test.go:276: Created store path: /build/TestClientIntegration3970146317/002/store/fhc0n8rrn0cm6gc51lx1fj9r1svmbqcw-test-file.txt 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (6.49ms) 2026/08/27 09:50:12 OK 20241026095416_initial_model.sql (12.38ms) 2026/08/27 09:50:12 OK 20251210153512_drop_unused_gin_index.sql (3.29ms) 2026/08/27 09:50:12 OK 20260628120000_add_object_size_and_stats.sql (5.39ms) 2026/08/27 09:50:12 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:12 OK 1_commit_pending_closure.sql (3.12ms) 2026/08/27 09:50:12 OK 20251218171726_add_pins.sql (5.26ms) 2026/08/27 09:50:13 INFO Received cleanup request method=DELETE path=/api/pending_closures 2026/08/27 09:50:13 INFO Aborted multipart uploads count=1 2026/08/27 09:50:13 OK 2_object_stats_trigger.sql (6.53ms) 2026/08/27 09:50:13 goose: up to current file version: 2 2026/08/27 09:50:13 OK 20260628120000_add_object_size_and_stats.sql (6.66ms) 2026/08/27 09:50:13 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:13 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/08/27 09:50:13 OK 1_commit_pending_closure.sql (3.84ms) 2026-08-27 09:50:13.008 UTC [610] ERROR: Closure does not exist: id=1 2026-08-27 09:50:13.008 UTC [610] CONTEXT: PL/pgSQL function commit_pending_closure(bigint) line 16 at RAISE 2026-08-27 09:50:13.008 UTC [610] STATEMENT: -- name: CommitPendingClosure :exec SELECT commit_pending_closure($1::bigint) --- PASS: TestService_cleanupPendingClosuresHandler (1.01s) === CONT TestReadProxyHead 2026/08/27 09:50:13 OK 2_object_stats_trigger.sql (3.9ms) 2026/08/27 09:50:13 goose: up to current file version: 2 === NAME TestNARDeduplicationMetadataUploadBug metadata_upload_test.go:64: Second store path (same content): /build/TestNARDeduplicationMetadataUploadBug2263440415/001/store/0bjfiqw2x9xc5qy0p7vxhpcfvsvhx808-file2.txt 2026-08-27 09:50:13.021 UTC [756] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:13.021 UTC [756] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-27 09:50:13.042 UTC [776] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:13.042 UTC [776] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:13 OK 20241026095416_initial_model.sql (13.68ms) 2026/08/27 09:50:13 OK 20251210153512_drop_unused_gin_index.sql (2.77ms) 2026/08/27 09:50:13 OK 20251218171726_add_pins.sql (4.66ms) 2026/08/27 09:50:13 OK 20260628120000_add_object_size_and_stats.sql (4.77ms) 2026/08/27 09:50:13 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:13 OK 1_commit_pending_closure.sql (3.26ms) 2026/08/27 09:50:13 OK 2_object_stats_trigger.sql (2.67ms) 2026/08/27 09:50:13 goose: up to current file version: 2 2026/08/27 09:50:13 OK 20241026095416_initial_model.sql (13.53ms) 2026/08/27 09:50:13 OK 20251210153512_drop_unused_gin_index.sql (1.63ms) 2026/08/27 09:50:13 OK 20251218171726_add_pins.sql (4.52ms) 2026/08/27 09:50:13 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" 2026/08/27 09:50:13 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" 2026/08/27 09:50:13 OK 20260628120000_add_object_size_and_stats.sql (14.83ms) 2026/08/27 09:50:13 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:13 OK 1_commit_pending_closure.sql (4.71ms) 2026/08/27 09:50:13 OK 2_object_stats_trigger.sql (2.24ms) 2026/08/27 09:50:13 goose: up to current file version: 2 2026-08-27 09:50:13.108 UTC [831] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:13.108 UTC [831] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:13 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/27 09:50:13 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/08/27 09:50:13 INFO Uploading fhc0n8rrn0cm6gc51lx1fj9r1svmbqcw-test-file.txt (152B) 2026/08/27 09:50:13 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/27 09:50:13 OK 20241026095416_initial_model.sql (10.3ms) 2026/08/27 09:50:13 INFO Uploading 0 paths to 127.0.0.1 (1 already cached) 2026/08/27 09:50:13 WARN Failed to register uploaded object key=nar/11l1b7hsy9g9pz8i2rcn4n128l6pyr2yf58d49r12hr5caw9dzk1.nar.zst error="server returned 404: 404 page not found\n" 2026/08/27 09:50:13 OK 20251210153512_drop_unused_gin_index.sql (1.7ms) 2026/08/27 09:50:13 WARN Failed to register uploaded object key=0bjfiqw2x9xc5qy0p7vxhpcfvsvhx808.ls error="server returned 404: 404 page not found\n" 2026/08/27 09:50:13 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign 2026/08/27 09:50:13 WARN Failed to register uploaded object key=fhc0n8rrn0cm6gc51lx1fj9r1svmbqcw.ls error="server returned 404: 404 page not found\n" 2026/08/27 09:50:13 OK 20251218171726_add_pins.sql (3.25ms) 2026/08/27 09:50:13 INFO Signed narinfos id=2 count=1 2026/08/27 09:50:13 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign 2026/08/27 09:50:13 INFO Uploading 1 narinfos 2026/08/27 09:50:13 INFO Signed narinfos id=1 count=1 2026/08/27 09:50:13 WARN Failed to register uploaded object key=0bjfiqw2x9xc5qy0p7vxhpcfvsvhx808.narinfo error="server returned 404: 404 page not found\n" 2026/08/27 09:50:13 INFO Uploading 1 narinfos 2026/08/27 09:50:13 OK 20260628120000_add_object_size_and_stats.sql (3.42ms) 2026/08/27 09:50:13 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:13 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete 2026/08/27 09:50:13 INFO Completed upload id=2 2026/08/27 09:50:13 INFO Upload complete. (86ms) 2026/08/27 09:50:13 OK 1_commit_pending_closure.sql (2.11ms) 2026/08/27 09:50:13 WARN Failed to register uploaded object key=fhc0n8rrn0cm6gc51lx1fj9r1svmbqcw.narinfo error="server returned 404: 404 page not found\n" 2026/08/27 09:50:13 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/08/27 09:50:13 OK 2_object_stats_trigger.sql (1.09ms) 2026/08/27 09:50:13 goose: up to current file version: 2 metadata_upload_test.go:76: Retrieved narinfo from S3: StorePath: /build/TestNARDeduplicationMetadataUploadBug2263440415/001/store/0bjfiqw2x9xc5qy0p7vxhpcfvsvhx808-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/27 09:50:13 INFO Completed upload id=1 2026/08/27 09:50:13 INFO Upload complete. (113ms) --- PASS: TestNARDeduplicationMetadataUploadBug (1.14s) === CONT TestCacheStatsHandler === NAME TestClientIntegration client_integration_test.go:292: Retrieved narinfo from S3: StorePath: /build/TestClientIntegration3970146317/002/store/fhc0n8rrn0cm6gc51lx1fj9r1svmbqcw-test-file.txt URL: nar/11l1b7hsy9g9pz8i2rcn4n128l6pyr2yf58d49r12hr5caw9dzk1.nar.zst Compression: zstd NarHash: sha256:11l1b7hsy9g9pz8i2rcn4n128l6pyr2yf58d49r12hr5caw9dzk1 NarSize: 152 References: CA: fixed:r:sha256:11l1b7hsy9g9pz8i2rcn4n128l6pyr2yf58d49r12hr5caw9dzk1 2026-08-27 09:50:13.212 UTC [868] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:13.212 UTC [868] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC client_integration_test.go:293: Retrieved .ls file from S3 (compressed size: 77 bytes) client_integration_test.go:293: Decompressed .ls content (64 bytes): {"version":1,"root":{"type":"regular","size":39,"narOffset":96}} client_integration_test.go:296: Testing garbage collection... 2026/08/27 09:50:13 OK 20241026095416_initial_model.sql (10.1ms) 2026/08/27 09:50:13 OK 20251210153512_drop_unused_gin_index.sql (1.47ms) 2026/08/27 09:50:13 OK 20251218171726_add_pins.sql (3.33ms) 2026/08/27 09:50:13 OK 20260628120000_add_object_size_and_stats.sql (3.16ms) 2026/08/27 09:50:13 goose: successfully migrated database to version: 20260628120000 --- PASS: TestGCBugBareHashReferences (1.17s) === CONT TestReadProxyInvalidPath 2026/08/27 09:50:13 OK 1_commit_pending_closure.sql (1.98ms) 2026/08/27 09:50:13 OK 2_object_stats_trigger.sql (881.17µs) 2026/08/27 09:50:13 goose: up to current file version: 2 === NAME TestOrphanedObjectsGC orphaned_objects_gc_test.go:290: GC Test Summary: orphaned_objects_gc_test.go:291: - Kept: 2 objects from closure A orphaned_objects_gc_test.go:292: - Deleted: 2 objects from closure B orphaned_objects_gc_test.go:293: - Deleted: 6 orphaned chain objects (X1->X2->X3) orphaned_objects_gc_test.go:294: - Deleted: 2 orphaned single objects (Y) orphaned_objects_gc_test.go:295: - Total deleted: 10 objects --- PASS: TestOrphanedObjectsGC (1.26s) === CONT TestService_ReadAuthMiddleware 2026/08/27 09:50:13 INFO Starting cleanup of old closures method=DELETE path=/api/closures 2026/08/27 09:50:13 INFO Garbage collection started 2026/08/27 09:50:13 INFO Aborted multipart uploads count=0 2026/08/27 09:50:13 WARN Force mode enabled - objects will be deleted immediately without grace period 2026/08/27 09:50:13 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026-08-27 09:50:13.320 UTC [899] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:13.320 UTC [899] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:13 OK 20241026095416_initial_model.sql (10.25ms) 2026-08-27 09:50:13.341 UTC [900] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:13.341 UTC [900] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:13 OK 20251210153512_drop_unused_gin_index.sql (1.58ms) 2026/08/27 09:50:13 OK 20251218171726_add_pins.sql (3.66ms) 2026/08/27 09:50:13 OK 20260628120000_add_object_size_and_stats.sql (4.26ms) 2026/08/27 09:50:13 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:13 OK 1_commit_pending_closure.sql (3.09ms) 2026/08/27 09:50:13 OK 2_object_stats_trigger.sql (1.96ms) 2026/08/27 09:50:13 goose: up to current file version: 2 2026/08/27 09:50:13 OK 20241026095416_initial_model.sql (11.06ms) 2026/08/27 09:50:13 OK 20251210153512_drop_unused_gin_index.sql (1.31ms) 2026/08/27 09:50:13 OK 20251218171726_add_pins.sql (3.32ms) 2026/08/27 09:50:13 OK 20260628120000_add_object_size_and_stats.sql (3.03ms) 2026/08/27 09:50:13 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:13 OK 1_commit_pending_closure.sql (1.97ms) 2026/08/27 09:50:13 OK 2_object_stats_trigger.sql (809.31µs) 2026/08/27 09:50:13 goose: up to current file version: 2 2026/08/27 09:50:13 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/27 09:50:13 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/27 09:50:13 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/27 09:50:13 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/27 09:50:13 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/27 09:50:13 INFO Registered completed upload object_key=nar/jjjjjjjjjjjjjjjjjjjjjjjjjjjjjj0100000000000000000000.nar.zst 2026/08/27 09:50:13 INFO Received uploads request method=POST path=/api/pending_closures --- PASS: TestPresignedUploadRegisteredBeforeCommit (1.85s) === CONT TestService_AuthMiddleware_OIDC 2026/08/27 09:50:13 INFO OIDC provider initialized name=test --- PASS: TestService_Rustfstest (1.85s) === CONT TestResurrectedObjectNotDeleted 2026/08/27 09:50:13 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/27 09:50:13 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/08/27 09:50:13 WARN CompleteMultipartUpload errored but object exists; treating as success error="The specified key does not exist." object_key=nar/gggggggggggggggggggggggggggggg0300000000000000000000.nar.zst upload_id=MzAwYzM1ODgtYWYxZC00NjJiLTg1ZmYtNGNkZTkyYjFlNWQzLjY1ZTFjMWI3LWNlM2YtNDNiOC05MzZhLWEyODY5NGMzMWViZXgxNzg3ODI0MjEzOTA5NDg4MTMx 2026/08/27 09:50:13 INFO Completed multipart upload object_key=nar/gggggggggggggggggggggggggggggg0300000000000000000000.nar.zst upload_id=MzAwYzM1ODgtYWYxZC00NjJiLTg1ZmYtNGNkZTkyYjFlNWQzLjY1ZTFjMWI3LWNlM2YtNDNiOC05MzZhLWEyODY5NGMzMWViZXgxNzg3ODI0MjEzOTA5NDg4MTMx parts=1 --- PASS: TestCompleteMultipartUpload_ErrorButObjectExists (1.90s) === 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 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 2026/08/27 09:50:13 INFO Aborted multipart uploads count=0 === 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 TestReadProxyNarinfoAlreadyDecompressed 2026/08/27 09:50:13 WARN Force mode enabled - objects will be deleted immediately without grace period 2026/08/27 09:50:13 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/27 09:50:13 INFO Vacuumed table table=pending_closures 2026/08/27 09:50:13 INFO Vacuumed table table=pending_objects 2026/08/27 09:50:13 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/27 09:50:13 INFO Vacuumed table table=multipart_uploads 2026/08/27 09:50:13 INFO Vacuumed table table=closures 2026/08/27 09:50:13 INFO Vacuumed table table=objects 2026-08-27 09:50:13.989 UTC [909] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:13.989 UTC [909] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC --- PASS: TestGCMetrics (1.93s) === CONT TestReadProxyNarinfo 2026-08-27 09:50:13.995 UTC [910] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:13.995 UTC [910] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:14 OK 20241026095416_initial_model.sql (11.04ms) 2026/08/27 09:50:14 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/27 09:50:14 OK 20251210153512_drop_unused_gin_index.sql (4.23ms) 2026/08/27 09:50:14 OK 20251218171726_add_pins.sql (5.71ms) 2026/08/27 09:50:14 OK 20241026095416_initial_model.sql (14.67ms) 2026/08/27 09:50:14 OK 20260628120000_add_object_size_and_stats.sql (5.19ms) 2026/08/27 09:50:14 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:14 OK 20251210153512_drop_unused_gin_index.sql (4.05ms) 2026/08/27 09:50:14 OK 1_commit_pending_closure.sql (3.28ms) 2026/08/27 09:50:14 OK 2_object_stats_trigger.sql (2.06ms) 2026/08/27 09:50:14 goose: up to current file version: 2 2026/08/27 09:50:14 OK 20251218171726_add_pins.sql (4.54ms) 2026/08/27 09:50:14 OK 20260628120000_add_object_size_and_stats.sql (4.69ms) 2026/08/27 09:50:14 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:14 OK 1_commit_pending_closure.sql (3.78ms) 2026/08/27 09:50:14 OK 2_object_stats_trigger.sql (3.21ms) 2026/08/27 09:50:14 goose: up to current file version: 2 2026-08-27 09:50:14.048 UTC [913] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:14.048 UTC [913] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-08-27 09:50:14.075 UTC [914] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:14.075 UTC [914] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:14 OK 20241026095416_initial_model.sql (12.11ms) 2026/08/27 09:50:14 OK 20251210153512_drop_unused_gin_index.sql (1.59ms) 2026/08/27 09:50:14 OK 20251218171726_add_pins.sql (3.6ms) 2026/08/27 09:50:14 OK 20260628120000_add_object_size_and_stats.sql (7.41ms) 2026/08/27 09:50:14 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:14 OK 20241026095416_initial_model.sql (10.58ms) 2026/08/27 09:50:14 OK 1_commit_pending_closure.sql (3.09ms) 2026/08/27 09:50:14 OK 20251210153512_drop_unused_gin_index.sql (2.39ms) 2026/08/27 09:50:14 OK 2_object_stats_trigger.sql (5.91ms) 2026/08/27 09:50:14 goose: up to current file version: 2 2026/08/27 09:50:14 OK 20251218171726_add_pins.sql (6.27ms) 2026/08/27 09:50:14 OK 20260628120000_add_object_size_and_stats.sql (5.09ms) 2026/08/27 09:50:14 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:14 OK 1_commit_pending_closure.sql (3.82ms) 2026/08/27 09:50:14 OK 2_object_stats_trigger.sql (1.92ms) 2026/08/27 09:50:14 goose: up to current file version: 2 2026/08/27 09:50:14 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/08/27 09:50:14 INFO Completed multipart upload object_key=nar/dadb44fdadb44fdadb44fdadb44f000000000000000000000000.nar.zst upload_id=MzAwYzM1ODgtYWYxZC00NjJiLTg1ZmYtNGNkZTkyYjFlNWQzLmQwNDRlYmM4LTZhYzAtNGI3MS05M2U0LWY3OGQzODExZmI3ZHgxNzg3ODI0MjEyNDYzMjEzNTI1 parts=10 2026/08/27 09:50:14 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/08/27 09:50:14 INFO Completed upload id=1 2026/08/27 09:50:14 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/27 09:50:14 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/27 09:50:14 INFO Object in database but missing from S3 key=dadb44fdadb44fdadb44fdadb44f0000.narinfo 2026/08/27 09:50:14 WARN Found objects in DB but missing from S3, will re-upload count=1 --- PASS: TestService_verifyS3Integrity (2.38s) === CONT TestReadProxyNarStreaming 2026/08/27 09:50:14 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/27 09:50:14 INFO Vacuumed table table=pending_closures 2026/08/27 09:50:14 INFO Vacuumed table table=pending_objects 2026/08/27 09:50:14 INFO Vacuumed table table=multipart_uploads 2026/08/27 09:50:14 INFO Vacuumed table table=closures 2026/08/27 09:50:14 INFO Vacuumed table table=objects --- PASS: TestReadProxy404 (1.91s) === CONT TestService_AuthMiddleware_MTLSProxyHeader 2026-08-27 09:50:14.455 UTC [964] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:14.455 UTC [964] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC --- PASS: TestReadRedirectKeepsNarinfoProxied (1.79s) === CONT TestService_AuthMiddleware_MTLSBoundSubjects === NAME TestPinProtectsFromGC client_integration_test.go:646: Pinned store path: /build/TestPinProtectsFromGC3229119998/001/store/3hs5daqr4rqlbhp6fj6aahixnpr65a42-pinned-file.txt client_integration_test.go:647: Unpinned store path: /build/TestPinProtectsFromGC3229119998/001/store/35lswbd57pzrbd66gjhm5jslifjlk0zg-unpinned-file.txt 2026/08/27 09:50:14 OK 20241026095416_initial_model.sql (15.67ms) 2026/08/27 09:50:14 OK 20251210153512_drop_unused_gin_index.sql (3.6ms) === NAME TestClientMultipleUploads client_integration_test.go:338: Created store path 0: /build/TestClientMultipleUploads1551587224/001/store/cxg0ldh3gcvbm2vd456bh5zg0h1fay1x-test-file-0.txt --- PASS: TestReadProxyDisabled (1.63s) === CONT TestOrphanedObjectsGCStressTest 2026/08/27 09:50:14 OK 20251218171726_add_pins.sql (5.1ms) === NAME TestClientWithDependencies client_integration_test.go:593: Built derivation: /build/TestClientWithDependencies1083683669/001/store/0snma86diyq389xh2knb0wc8sgn316sd-test-script --- PASS: TestReadProxyConditionalGet (1.68s) === CONT TestServerTLSConfig/no_client_CA 2026-08-27 09:50:14.492 UTC [1018] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:14.492 UTC [1018] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC === 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.00s) --- PASS: TestServerTLSConfig/missing_CA_file (0.00s) === CONT TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_nix-cache-info 2026/08/27 09:50:14 INFO Received uploads request method=POST path=/ === CONT TestUploadHandlersRejectInvalidKeys/request_more_parts_rejects_non-NAR_key 2026/08/27 09:50:14 INFO Received request for more parts method=POST path=/ === CONT TestUploadHandlersRejectInvalidKeys/complete_multipart_rejects_non-NAR_key 2026/08/27 09:50:14 INFO Received complete multipart upload request method=POST path=/ === CONT TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_path_traversal 2026/08/27 09:50:14 INFO Received uploads request method=POST path=/ --- PASS: TestUploadHandlersRejectInvalidKeys (0.00s) --- PASS: TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_nix-cache-info (0.00s) --- PASS: TestUploadHandlersRejectInvalidKeys/request_more_parts_rejects_non-NAR_key (0.00s) --- PASS: TestUploadHandlersRejectInvalidKeys/complete_multipart_rejects_non-NAR_key (0.00s) --- PASS: TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_path_traversal (0.00s) === CONT TestProxyWriteTimeout/narinfo === CONT TestProxyWriteTimeout/unknown_size === CONT TestProxyWriteTimeout/10_GiB_nar === CONT TestProxyWriteTimeout/1_GiB_nar === 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 --- PASS: TestProxyWriteTimeout (0.06s) --- PASS: TestProxyWriteTimeout/narinfo (0.00s) --- PASS: TestProxyWriteTimeout/unknown_size (0.00s) --- PASS: TestProxyWriteTimeout/10_GiB_nar (0.00s) --- PASS: TestProxyWriteTimeout/1_GiB_nar (0.00s) === 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 === CONT TestUploadHandlersRejectOversizedBody/complete_multipart 2026/08/27 09:50:14 INFO Received complete multipart upload request method=POST path=/ --- PASS: TestIsValidUploadKey (0.06s) --- 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) 2026/08/27 09:50:14 OK 20260628120000_add_object_size_and_stats.sql (5.73ms) 2026/08/27 09:50:14 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:14 OK 1_commit_pending_closure.sql (3.9ms) 2026/08/27 09:50:14 OK 2_object_stats_trigger.sql (2.9ms) 2026/08/27 09:50:14 goose: up to current file version: 2 --- PASS: TestReadRedirectNar (1.63s) === CONT TestUploadHandlersRejectOversizedBody/create_pending_closure 2026/08/27 09:50:14 INFO Received uploads request method=POST path=/ 2026/08/27 09:50:14 OK 20241026095416_initial_model.sql (13.19ms) 2026/08/27 09:50:14 OK 20251210153512_drop_unused_gin_index.sql (3.27ms) --- PASS: TestReadProxyRootRedirectsToIndexHTML (1.58s) === CONT TestUploadHandlersRejectOversizedBody/request_more_parts 2026/08/27 09:50:14 INFO Received request for more parts method=POST path=/ 2026/08/27 09:50:14 OK 20251218171726_add_pins.sql (4.44ms) === NAME TestClientMultipleUploads client_integration_test.go:338: Created store path 1: /build/TestClientMultipleUploads1551587224/001/store/65w4p1g3lb9mzld8icci9ps78k1asygi-test-file-1.txt 2026/08/27 09:50:14 OK 20260628120000_add_object_size_and_stats.sql (5.03ms) 2026/08/27 09:50:14 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:14 OK 1_commit_pending_closure.sql (3.14ms) === NAME TestClientWithDependencies client_integration_test.go:595: Found 1 dependencies (including self) 2026/08/27 09:50:14 OK 2_object_stats_trigger.sql (8.18ms) 2026/08/27 09:50:14 goose: up to current file version: 2 2026/08/27 09:50:14 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" 2026-08-27 09:50:14.552 UTC [1094] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:14.552 UTC [1094] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC --- PASS: TestReadProxyHead (1.55s) === 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 === NAME TestClientMultipleUploads client_integration_test.go:338: Created store path 2: /build/TestClientMultipleUploads1551587224/001/store/dc3grlbb8rrc31x3cg0wy35qfm9mq0b6-test-file-2.txt 2026-08-27 09:50:14.566 UTC [1128] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:14.566 UTC [1128] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/08/27 09:50:14 OK 20241026095416_initial_model.sql (10.62ms) === CONT TestClientErrorHandling/ServerNotAvailable 2026/08/27 09:50:14 OK 20251210153512_drop_unused_gin_index.sql (2.03ms) 2026/08/27 09:50:14 OK 20251218171726_add_pins.sql (4.26ms) 2026/08/27 09:50:14 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/27 09:50:14 OK 20260628120000_add_object_size_and_stats.sql (4.82ms) 2026/08/27 09:50:14 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:14 OK 20241026095416_initial_model.sql (10.66ms) 2026/08/27 09:50:14 OK 1_commit_pending_closure.sql (3.71ms) 2026/08/27 09:50:14 OK 20251210153512_drop_unused_gin_index.sql (3.96ms) --- PASS: TestCacheStatsHandler (1.44s) === CONT TestClientErrorHandling/InvalidAuthToken 2026/08/27 09:50:14 OK 2_object_stats_trigger.sql (2.2ms) 2026/08/27 09:50:14 goose: up to current file version: 2 2026/08/27 09:50:14 OK 20251218171726_add_pins.sql (4.57ms) --- PASS: TestReadProxyInvalidPath (1.35s) === 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 TestIsValidCachePath/narinfo === CONT TestIsValidCachePath/index.html === CONT TestIsValidCachePath/short_hash === CONT TestIsValidCachePath/wrong_extension 2026/08/27 09:50:14 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) === CONT TestIsValidCachePath/invalid_char_e === CONT TestIsValidCachePath/traversal_in_middle 2026/08/27 09:50:14 INFO Uploading 3hs5daqr4rqlbhp6fj6aahixnpr65a42-pinned-file.txt (128B) === CONT TestIsValidCachePath/traversal_parent === CONT TestIsValidCachePath/invalid_char_u === CONT TestIsValidCachePath/nar_uncompressed === CONT TestIsValidCachePath/leading_slash 2026/08/27 09:50:14 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" === CONT TestIsValidCachePath/nix-cache-info === CONT TestIsValidCachePath/empty === CONT TestIsValidCachePath/realisation === CONT TestIsValidCachePath/log === CONT TestIsValidCachePath/ls === CONT TestIsValidCachePath/random_path === CONT TestIsValidCachePath/nar_xz === CONT TestIsValidCachePath/nar_zst === CONT TestIsValidCachePath/narinfo_all_nix_base32_chars 2026/08/27 09:50:14 INFO Received uploads request method=POST path=/api/pending_closures === CONT TestIsValidCachePath/nar_bz2 --- 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/invalid_char_e (0.00s) --- PASS: TestIsValidCachePath/traversal_in_middle (0.00s) --- PASS: TestIsValidCachePath/traversal_parent (0.00s) --- PASS: TestIsValidCachePath/invalid_char_u (0.00s) --- PASS: TestIsValidCachePath/nar_uncompressed (0.00s) --- PASS: TestIsValidCachePath/leading_slash (0.00s) --- PASS: TestIsValidCachePath/nix-cache-info (0.00s) --- PASS: TestIsValidCachePath/empty (0.00s) --- PASS: TestIsValidCachePath/realisation (0.00s) --- PASS: TestIsValidCachePath/log (0.00s) --- PASS: TestIsValidCachePath/ls (0.00s) --- PASS: TestIsValidCachePath/random_path (0.00s) --- PASS: TestIsValidCachePath/nar_xz (0.00s) --- PASS: TestIsValidCachePath/nar_zst (0.00s) --- PASS: TestIsValidCachePath/narinfo_all_nix_base32_chars (0.00s) --- PASS: TestIsValidCachePath/nar_bz2 (0.00s) 2026/08/27 09:50:14 WARN Failed to register uploaded object key=nar/0qmhsg42pqsz7x6hh02j8gznnac3yi3qpjhrqbwvz88i194jbb5s.nar.zst error="server returned 404: 404 page not found\n" 2026/08/27 09:50:14 OK 20260628120000_add_object_size_and_stats.sql (8.12ms) 2026/08/27 09:50:14 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:14 WARN Failed to register uploaded object key=3hs5daqr4rqlbhp6fj6aahixnpr65a42.ls error="server returned 404: 404 page not found\n" 2026/08/27 09:50:14 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign 2026/08/27 09:50:14 INFO Signed narinfos id=1 count=1 2026/08/27 09:50:14 INFO Uploading 1 narinfos 2026/08/27 09:50:14 OK 1_commit_pending_closure.sql (3.83ms) 2026/08/27 09:50:14 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/08/27 09:50:14 INFO Uploading 0snma86diyq389xh2knb0wc8sgn316sd-test-script (136B) 2026/08/27 09:50:14 OK 2_object_stats_trigger.sql (3.05ms) 2026/08/27 09:50:14 goose: up to current file version: 2 2026/08/27 09:50:14 WARN mTLS auth: subject not in bound subjects subject="CN=writer" --- PASS: TestService_ReadAuthMiddleware (1.35s) 2026/08/27 09:50:14 WARN Failed to register uploaded object key=3hs5daqr4rqlbhp6fj6aahixnpr65a42.narinfo error="server returned 404: 404 page not found\n" 2026/08/27 09:50:14 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/08/27 09:50:14 WARN Failed to register uploaded object key=nar/1s7yghixzpinyqm7g59kyn3sav81pmnsdi5v63m6x4r2vacy907j.nar.zst error="server returned 404: 404 page not found\n" 2026/08/27 09:50:14 WARN Failed to register uploaded object key=log/l3vzr845jn13w2gj4wcni6mjpxbz37wz-test-script.drv error="server returned 404: 404 page not found\n" 2026/08/27 09:50:14 WARN Failed to register uploaded object key=0snma86diyq389xh2knb0wc8sgn316sd.ls error="server returned 404: 404 page not found\n" 2026/08/27 09:50:14 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign 2026/08/27 09:50:14 INFO Signed narinfos id=1 count=1 2026/08/27 09:50:14 INFO Uploading 1 narinfos 2026/08/27 09:50:14 WARN Failed to register uploaded object key=0snma86diyq389xh2knb0wc8sgn316sd.narinfo error="server returned 404: 404 page not found\n" 2026/08/27 09:50:14 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/08/27 09:50:14 INFO Completed upload id=1 === NAME TestClientCADerivations client_ca_test.go:136: Built CA derivation: /build/TestClientCADerivations319246516/001/store/9p2j34mk1f6ajxpcw7l6vvadp1jy9y9d-ca-test 2026/08/27 09:50:14 INFO Upload complete. (118ms) === 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 TestService_AuthMiddleware_OIDC/valid_OIDC_token === CONT TestService_AuthMiddleware_OIDC/malformed_token_rejected === CONT TestService_AuthMiddleware_OIDC/OIDC_token_with_wrong_org_rejected === CONT TestService_AuthMiddleware_OIDC/static_token_still_works_with_OIDC_configured 2026/08/27 09:50:14 WARN Authentication failed token_preview=not-a-valid-jwt token_length=15 oidc_error="no provider could verify the token (signature or issuer mismatch)" oidc_provider="" tried_providers=[test] 2026/08/27 09:50:14 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" 2026/08/27 09:50:14 WARN Authentication failed token_preview=eyJhbGciOi...j5FmrT7MEA token_length=702 oidc_error="bound claims validation failed: claim \"repository_owner\" value [otherorg] not in allowed patterns [myorg]" oidc_provider=test tried_providers=[test] 2026/08/27 09:50:14 INFO Completed upload id=1 2026/08/27 09:50:14 INFO Upload complete. (69ms) 2026/08/27 09:50:14 INFO OIDC auth successful provider=test --- PASS: TestService_AuthMiddleware_OIDC (0.72s) --- PASS: TestService_AuthMiddleware_OIDC/static_token_still_works_with_OIDC_configured (0.00s) --- PASS: TestService_AuthMiddleware_OIDC/malformed_token_rejected (0.00s) --- PASS: TestService_AuthMiddleware_OIDC/OIDC_token_with_wrong_org_rejected (0.01s) --- PASS: TestService_AuthMiddleware_OIDC/valid_OIDC_token (0.01s) 2026-08-27 09:50:14.634 UTC [1260] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:14.634 UTC [1260] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC === NAME TestClientWithDependencies client_integration_test.go:597: Skipping nix copy test - isolated store (/build/TestClientWithDependencies1083683669/001/store) requires matching store prefix --- PASS: TestClientWithDependencies (2.16s) 2026/08/27 09:50:14 OK 20241026095416_initial_model.sql (11.46ms) 2026/08/27 09:50:14 OK 20251210153512_drop_unused_gin_index.sql (1.62ms) === NAME TestClientCADerivations client_ca_test.go:139: Found 1 dependencies (including self) 2026/08/27 09:50:14 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/27 09:50:14 OK 20251218171726_add_pins.sql (5.29ms) 2026-08-27 09:50:14.661 UTC [1313] ERROR: relation "goose_db_version" does not exist at character 36 2026-08-27 09:50:14.661 UTC [1313] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC --- PASS: TestReadProxyNarinfoAlreadyDecompressed (0.69s) 2026/08/27 09:50:14 OK 20260628120000_add_object_size_and_stats.sql (3.16ms) 2026/08/27 09:50:14 goose: successfully migrated database to version: 20260628120000 2026/08/27 09:50:14 OK 1_commit_pending_closure.sql (2.16ms) 2026/08/27 09:50:14 OK 2_object_stats_trigger.sql (895.53µs) 2026/08/27 09:50:14 goose: up to current file version: 2 2026/08/27 09:50:14 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/27 09:50:14 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/27 09:50:14 INFO Uploading 3 paths to 127.0.0.1 (0 already cached) 2026/08/27 09:50:14 OK 20241026095416_initial_model.sql (12.37ms) 2026/08/27 09:50:14 INFO Uploading dc3grlbb8rrc31x3cg0wy35qfm9mq0b6-test-file-2.txt (160B) 2026/08/27 09:50:14 INFO Uploading 65w4p1g3lb9mzld8icci9ps78k1asygi-test-file-1.txt (160B) 2026/08/27 09:50:14 INFO Uploading cxg0ldh3gcvbm2vd456bh5zg0h1fay1x-test-file-0.txt (160B) 2026/08/27 09:50:14 OK 20251210153512_drop_unused_gin_index.sql (2.71ms) 2026/08/27 09:50:14 OK 20251218171726_add_pins.sql (3.12ms) 2026/08/27 09:50:14 WARN Failed to register uploaded object key=nar/13p9pqi0ga6fx2apcwls9hjnv7nmf740ggpn5zvfzdsp5vz2bbg4.nar.zst error="server returned 404: 404 page not found\n" 2026/08/27 09:50:14 WARN Failed to register uploaded object key=nar/0ahq3izw3h0b0c08p3xdfclh758fwxnp85ccvflasb4vnfsv50ri.nar.zst error="server returned 404: 404 page not found\n" 2026/08/27 09:50:14 WARN Failed to register uploaded object key=nar/1823g6vx4q5zqvr73m7lkq1wpk40fin7bsc792di430yk7sg4lka.nar.zst error="server returned 404: 404 page not found\n" 2026/08/27 09:50:14 OK 20260628120000_add_object_size_and_stats.sql (3.06ms) 2026/08/27 09:50:14 goose: successfully migrated database to version: 20260628120000 --- PASS: TestResurrectedObjectNotDeleted (0.77s) 2026/08/27 09:50:14 WARN Failed to register uploaded object key=cxg0ldh3gcvbm2vd456bh5zg0h1fay1x.ls error="server returned 404: 404 page not found\n" 2026/08/27 09:50:14 WARN Failed to register uploaded object key=dc3grlbb8rrc31x3cg0wy35qfm9mq0b6.ls error="server returned 404: 404 page not found\n" 2026/08/27 09:50:14 WARN Failed to register uploaded object key=65w4p1g3lb9mzld8icci9ps78k1asygi.ls error="server returned 404: 404 page not found\n" 2026/08/27 09:50:14 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign 2026/08/27 09:50:14 INFO Signed narinfos id=1 count=1 2026/08/27 09:50:14 OK 1_commit_pending_closure.sql (2.13ms) 2026/08/27 09:50:14 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign 2026/08/27 09:50:14 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/27 09:50:14 INFO Signed narinfos id=2 count=1 2026/08/27 09:50:14 OK 2_object_stats_trigger.sql (959.11µs) 2026/08/27 09:50:14 goose: up to current file version: 2 2026/08/27 09:50:14 INFO Received sign narinfos request method=POST path=/api/pending_closures/3/sign 2026/08/27 09:50:14 INFO Signed narinfos id=3 count=1 2026/08/27 09:50:14 INFO Uploading 3 narinfos 2026/08/27 09:50:14 WARN Failed to register uploaded object key=cxg0ldh3gcvbm2vd456bh5zg0h1fay1x.narinfo error="server returned 404: 404 page not found\n" 2026/08/27 09:50:14 WARN Failed to register uploaded object key=65w4p1g3lb9mzld8icci9ps78k1asygi.narinfo error="server returned 404: 404 page not found\n" 2026/08/27 09:50:14 WARN Failed to register uploaded object key=dc3grlbb8rrc31x3cg0wy35qfm9mq0b6.narinfo error="server returned 404: 404 page not found\n" 2026/08/27 09:50:14 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/08/27 09:50:14 INFO Completed upload id=1 2026/08/27 09:50:14 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete 2026/08/27 09:50:14 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" 2026/08/27 09:50:14 INFO Completed upload id=2 2026/08/27 09:50:14 INFO Received complete upload request method=POST path=/api/pending_closures/3/complete 2026/08/27 09:50:14 INFO Completed upload id=3 2026/08/27 09:50:14 INFO Upload complete. (122ms) === NAME TestClientMultipleUploads client_integration_test.go:349: Uploaded 3 paths in 150.41661ms 2026/08/27 09:50:14 INFO Received complete multipart upload request method=POST path=/api/multipart/complete --- PASS: TestReadProxyNarinfo (0.73s) --- PASS: TestClientMultipleUploads (2.22s) --- PASS: TestReadProxyNarStreaming (0.35s) 2026/08/27 09:50:14 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" 2026/08/27 09:50:14 INFO Completed multipart upload object_key=nar/gggggggggggggggggggggggggggggg0100000000000000000000.nar.zst upload_id=MzAwYzM1ODgtYWYxZC00NjJiLTg1ZmYtNGNkZTkyYjFlNWQzLjY5NjljOTMyLTU0MGYtNDBlMi05NzgxLWQ1NDdlMWYyYzkzZXgxNzg3ODI0MjEzOTk1MTM2NjAw parts=12 --- PASS: TestRedundantMultipartUpload (2.59s) 2026/08/27 09:50:14 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/27 09:50:14 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/08/27 09:50:14 INFO Uploading 35lswbd57pzrbd66gjhm5jslifjlk0zg-unpinned-file.txt (128B) 2026/08/27 09:50:14 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/27 09:50:14 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/08/27 09:50:14 INFO Uploading 9p2j34mk1f6ajxpcw7l6vvadp1jy9y9d-ca-test (144B) 2026/08/27 09:50:14 WARN Request failed, retrying attempt=2 max_attempts=6 backoff=188.064219ms error="Get \"http://localhost:19999/api/cache-config\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/cache-config 2026/08/27 09:50:14 WARN Failed to register uploaded object key=nar/0gh0wdnr6gmk4r5sfzzh12isnl14rgmkrwy1ws41hpsrlndclg5h.nar.zst error="server returned 404: 404 page not found\n" 2026/08/27 09:50:14 WARN Failed to register uploaded object key=35lswbd57pzrbd66gjhm5jslifjlk0zg.ls error="server returned 404: 404 page not found\n" 2026/08/27 09:50:14 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign 2026/08/27 09:50:14 INFO Signed narinfos id=2 count=1 2026/08/27 09:50:14 INFO Uploading 1 narinfos 2026/08/27 09:50:14 WARN Failed to register uploaded object key=35lswbd57pzrbd66gjhm5jslifjlk0zg.narinfo error="server returned 404: 404 page not found\n" 2026/08/27 09:50:14 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete 2026/08/27 09:50:14 INFO Completed upload id=2 2026/08/27 09:50:14 INFO Upload complete. (148ms) 2026/08/27 09:50:14 INFO Received create pin request method=POST path=/api/pins/myapp 2026/08/27 09:50:14 INFO Created/updated pin name=myapp store_path=/build/TestPinProtectsFromGC3229119998/001/store/3hs5daqr4rqlbhp6fj6aahixnpr65a42-pinned-file.txt narinfo_key=3hs5daqr4rqlbhp6fj6aahixnpr65a42.narinfo 2026/08/27 09:50:14 INFO Starting cleanup of old closures method=DELETE path=/api/closures 2026/08/27 09:50:14 INFO Garbage collection started 2026/08/27 09:50:14 INFO Aborted multipart uploads count=0 2026/08/27 09:50:14 WARN Force mode enabled - objects will be deleted immediately without grace period 2026/08/27 09:50:14 WARN Failed to register uploaded object key=log/qd0vhq6vcgjqh723lldmb2i9h0agx1ls-ca-test.drv error="server returned 404: 404 page not found\n" 2026/08/27 09:50:14 WARN Failed to register uploaded object key=nar/04jj7iiy79vhzp5kk3r2751n9x3xa44j98y5bk1ds4jp31kky74n.nar.zst error="server returned 404: 404 page not found\n" 2026/08/27 09:50:14 WARN Failed to register uploaded object key=9p2j34mk1f6ajxpcw7l6vvadp1jy9y9d.ls error="server returned 404: 404 page not found\n" 2026/08/27 09:50:14 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign 2026/08/27 09:50:14 INFO Signed narinfos id=1 count=1 2026/08/27 09:50:14 INFO Uploading 1 narinfos --- PASS: TestService_AuthMiddleware_MTLSProxyHeader (0.50s) 2026/08/27 09:50:14 WARN Failed to register uploaded object key=9p2j34mk1f6ajxpcw7l6vvadp1jy9y9d.narinfo error="server returned 404: 404 page not found\n" 2026/08/27 09:50:14 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/08/27 09:50:14 INFO Completed upload id=1 2026/08/27 09:50:14 INFO Upload complete. (228ms) 2026/08/27 09:50:14 WARN mTLS auth: subject not in bound subjects subject="CN=untrusted,O=Other" 2026/08/27 09:50:14 WARN mTLS auth: bound subjects configured but subject DN unavailable 2026/08/27 09:50:14 WARN mTLS auth: subject not in bound subjects subject="CN=untrusted" --- PASS: TestService_AuthMiddleware_MTLSBoundSubjects (0.47s) === NAME TestClientCADerivations client_ca_test.go:180: Narinfo contains CA field: StorePath: /build/TestClientCADerivations319246516/001/store/9p2j34mk1f6ajxpcw7l6vvadp1jy9y9d-ca-test URL: nar/04jj7iiy79vhzp5kk3r2751n9x3xa44j98y5bk1ds4jp31kky74n.nar.zst Compression: zstd NarHash: sha256:04jj7iiy79vhzp5kk3r2751n9x3xa44j98y5bk1ds4jp31kky74n NarSize: 144 References: Deriver: /build/TestClientCADerivations319246516/001/store/qd0vhq6vcgjqh723lldmb2i9h0agx1ls-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 2026/08/27 09:50:14 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/08/27 09:50:14 INFO Completed multipart upload object_key=nar/0000000000000000000000000000000000000000000000000000.nar.zst upload_id=MzAwYzM1ODgtYWYxZC00NjJiLTg1ZmYtNGNkZTkyYjFlNWQzLjg4NmVmNzJjLWYxNjUtNDkwOC04NmVkLWYxMDFjZDk1YzJjMngxNzg3ODI0MjEzODgxNDc2ODYw parts=10 2026/08/27 09:50:14 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/08/27 09:50:14 INFO Completed upload id=1 2026/08/27 09:50:14 INFO Received get closure request method=GET path=/api/closures/00000000000000000000000000000000 2026/08/27 09:50:14 WARN Request failed, retrying attempt=3 max_attempts=6 backoff=386.788791ms error="Get \"http://localhost:19999/api/cache-config\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/cache-config 2026/08/27 09:50:14 INFO Received uploads request method=POST path=/api/pending_closures 2026/08/27 09:50:14 INFO Starting cleanup of old closures method=DELETE path=/api/closures 2026/08/27 09:50:14 INFO Aborted multipart uploads count=0 2026/08/27 09:50:15 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/27 09:50:15 INFO Vacuumed table table=pending_closures 2026/08/27 09:50:15 INFO Vacuumed table table=pending_objects 2026/08/27 09:50:15 INFO Vacuumed table table=multipart_uploads 2026/08/27 09:50:15 INFO Vacuumed table table=closures 2026/08/27 09:50:15 INFO Vacuumed table table=objects 2026/08/27 09:50:15 INFO Received get closure request method=GET path=/api/closures/00000000000000000000000000000000 --- PASS: TestService_createPendingClosureHandler (3.03s) 2026/08/27 09:50:15 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/08/27 09:50:15 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" 2026/08/27 09:50:15 INFO Completed multipart upload object_key=nar/hhhhhhhhhhhhhhhhhhhhhhhhhhhhhh0100000000000000000000.nar.zst upload_id=MzAwYzM1ODgtYWYxZC00NjJiLTg1ZmYtNGNkZTkyYjFlNWQzLjc0ZjA5NTE3LTJiNzEtNDI4OS1iNDVlLTNiN2Q2YTdmMmZiNngxNzg3ODI0MjEzOTUwNzMyNTAx parts=12 2026/08/27 09:50:15 INFO Received uploads request method=POST path=/api/pending_closures --- PASS: TestCompletedNarNotReofferedAcrossClosures (3.02s) 2026/08/27 09:50:15 WARN Authentication failed token_preview=invalid-token token_length=13 reason="static API token mismatch" === NAME TestClientCADerivations client_ca_test.go:258: nix copy output: warning: you don't have Internet access; disabling some network-dependent features warning: failed to create TLS context for AWS credential providers; SSO, STS WebIdentity, and ECS container authentication will be unavailable error: binary cache 's3://bucket34?endpoint=http://localhost:43107®ion=eu-west-1' is for Nix stores with prefix '/nix/store', not '/build/TestClientCADerivations319246516/001/store' client_ca_test.go:259: nix copy failed (might be expected with isolated stores): exit status 1 --- PASS: TestClientCADerivations (2.19s) 2026/08/27 09:50:15 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/27 09:50:15 INFO Garbage collection progress phase="" failed_uploads_deleted=0 old_closures_deleted=1 objects_marked=3 objects_deleted=2001 objects_failed=0 === NAME TestClientIntegration client_integration_test.go:303: Objects in database after GC: client_integration_test.go:303: Successfully deleted all objects with GC --force 2026/08/27 09:50:15 INFO Vacuumed table table=pending_closures 2026/08/27 09:50:15 INFO Vacuumed table table=pending_objects --- PASS: TestClientIntegration (3.27s) 2026/08/27 09:50:15 INFO Vacuumed table table=multipart_uploads 2026/08/27 09:50:15 INFO Vacuumed table table=closures 2026/08/27 09:50:15 INFO Vacuumed table table=objects 2026/08/27 09:50:15 WARN Request failed, retrying attempt=4 max_attempts=6 backoff=811.265705ms error="Get \"http://localhost:19999/api/cache-config\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/cache-config === 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 --- PASS: TestUploadHandlersRejectOversizedBody (0.15s) --- PASS: TestUploadHandlersRejectOversizedBody/complete_multipart (0.07s) --- PASS: TestUploadHandlersRejectOversizedBody/request_more_parts (0.08s) --- PASS: TestUploadHandlersRejectOversizedBody/create_pending_closure (1.56s) 2026/08/27 09:50:16 WARN Request failed, retrying attempt=5 max_attempts=6 backoff=1.745393894s error="Get \"http://localhost:19999/api/cache-config\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/cache-config === NAME TestOrphanedObjectsGCStressTest orphaned_objects_gc_test.go:509: Stress test completed successfully: orphaned_objects_gc_test.go:510: - Active objects preserved: 20 orphaned_objects_gc_test.go:511: - Objects deleted: 210 orphaned_objects_gc_test.go:512: - Total GC'd: 210 --- PASS: TestOrphanedObjectsGCStressTest (1.71s) 2026/08/27 09:50:16 INFO Garbage collection progress phase="" failed_uploads_deleted=0 old_closures_deleted=1 objects_marked=3 objects_deleted=2001 objects_failed=0 === NAME TestPinProtectsFromGC client_integration_test.go:709: Pin successfully protected closure from garbage collection --- PASS: TestPinProtectsFromGC (4.73s) 2026/08/27 09:50:16 WARN Rate limiter enabled after throttle name=s3-test rate=5 2026/08/27 09:50:16 WARN S3 rate limit hit operation="complete multipart upload" error="Please reduce your request rate." === NAME TestCompleteMultipartUploadHandler_RateLimitTriggersThrottle throttle_test.go:213: Proxy stats: total=15, throttled=10, completeMultipart=10 throttle_test.go:215: Rate limiter: enabled=true, rate=5.00 --- PASS: TestCompleteMultipartUploadHandler_RateLimitTriggersThrottle (4.87s) 2026/08/27 09:50:17 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/27 09:50:17 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/27 09:50:18 WARN Request failed, retrying attempt=2 max_attempts=6 backoff=184.396189ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures 2026/08/27 09:50:18 WARN Request failed, retrying attempt=3 max_attempts=6 backoff=435.170766ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures 2026/08/27 09:50:18 WARN Request failed, retrying attempt=4 max_attempts=6 backoff=781.867057ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures 2026/08/27 09:50:19 WARN Request failed, retrying attempt=5 max_attempts=6 backoff=1.649389953s 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 (0.44s) --- PASS: TestClientErrorHandling/InvalidAuthToken (0.55s) --- PASS: TestClientErrorHandling/ServerNotAvailable (6.56s) PASS 2026-08-27 09:50:21.486 UTC [111] LOG: received smart shutdown request 2026-08-27 09:50:21.493 UTC [111] LOG: background worker "logical replication launcher" (PID 121) exited with exit code 1 2026-08-27 09:50:21.504 UTC [116] LOG: shutting down 2026-08-27 09:50:21.505 UTC [116] LOG: checkpoint starting: shutdown immediate 2026-08-27 09:50:22.679 UTC [116] LOG: checkpoint complete: wrote 11485 buffers (70.1%), wrote 3 SLRU buffers; 0 WAL file(s) added, 0 removed, 13 recycled; write=0.230 s, sync=0.935 s, total=1.176 s; sync files=15825, longest=0.005 s, average=0.001 s; distance=217979 kB, estimate=217979 kB; lsn=0/EC42A10, redo lsn=0/EC42A10 2026-08-27 09:50:22.773 UTC [111] LOG: database system is shut down Running OIDC tests... === RUN TestGlobMatch === PAUSE TestGlobMatch === RUN TestAudienceForIssuer === PAUSE TestAudienceForIssuer === RUN TestValidateToken_ValidToken === PAUSE TestValidateToken_ValidToken === RUN TestValidateToken_WrongAudience === PAUSE TestValidateToken_WrongAudience === RUN TestValidateToken_Expired === PAUSE TestValidateToken_Expired === RUN TestValidateToken_BoundClaimsMismatch === PAUSE TestValidateToken_BoundClaimsMismatch === RUN TestValidateToken_BoundSubjectMismatch === PAUSE TestValidateToken_BoundSubjectMismatch === RUN TestValidateToken_MultipleProviders === PAUSE TestValidateToken_MultipleProviders === RUN TestValidateToken_NoMatchingProvider === PAUSE TestValidateToken_NoMatchingProvider === CONT TestGlobMatch === CONT TestValidateToken_WrongAudience === CONT TestValidateToken_BoundClaimsMismatch === CONT TestValidateToken_Expired === RUN TestGlobMatch/foo_foo === PAUSE TestGlobMatch/foo_foo === RUN TestGlobMatch/foo_bar === PAUSE TestGlobMatch/foo_bar === RUN TestGlobMatch/*_ === PAUSE TestGlobMatch/*_ === RUN TestGlobMatch/*_anything === PAUSE TestGlobMatch/*_anything === RUN TestGlobMatch/foo*_foo === PAUSE TestGlobMatch/foo*_foo === RUN TestGlobMatch/foo*_foobar === PAUSE TestGlobMatch/foo*_foobar === RUN TestGlobMatch/foo*_bar === PAUSE TestGlobMatch/foo*_bar === RUN TestGlobMatch/*bar_bar === PAUSE TestGlobMatch/*bar_bar === RUN TestGlobMatch/*bar_foobar === CONT TestValidateToken_ValidToken === CONT TestAudienceForIssuer --- PASS: TestAudienceForIssuer (0.00s) === CONT TestValidateToken_MultipleProviders === CONT TestValidateToken_NoMatchingProvider === CONT TestValidateToken_BoundSubjectMismatch === PAUSE TestGlobMatch/*bar_foobar === RUN TestGlobMatch/*bar_foo === PAUSE TestGlobMatch/*bar_foo === RUN TestGlobMatch/foo*bar_foobar === PAUSE TestGlobMatch/foo*bar_foobar === RUN TestGlobMatch/foo*bar_foo123bar === PAUSE TestGlobMatch/foo*bar_foo123bar === RUN TestGlobMatch/foo*bar_foobarbaz === PAUSE TestGlobMatch/foo*bar_foobarbaz === RUN TestGlobMatch/*/*_foo/bar === PAUSE TestGlobMatch/*/*_foo/bar === RUN TestGlobMatch/*/*_foo === PAUSE TestGlobMatch/*/*_foo === RUN TestGlobMatch/refs/heads/*_refs/heads/main === PAUSE TestGlobMatch/refs/heads/*_refs/heads/main === RUN TestGlobMatch/refs/heads/*_refs/tags/v1.0 === PAUSE TestGlobMatch/refs/heads/*_refs/tags/v1.0 === RUN TestGlobMatch/refs/*/main_refs/heads/main === PAUSE TestGlobMatch/refs/*/main_refs/heads/main === RUN TestGlobMatch/fo?_foo === PAUSE TestGlobMatch/fo?_foo === RUN TestGlobMatch/fo?_fo === PAUSE TestGlobMatch/fo?_fo === RUN TestGlobMatch/fo?_fooo === PAUSE TestGlobMatch/fo?_fooo === RUN TestGlobMatch/?oo_foo === PAUSE TestGlobMatch/?oo_foo === RUN TestGlobMatch/?oo_boo === PAUSE TestGlobMatch/?oo_boo === RUN TestGlobMatch/repo:myorg/*:*_repo:myorg/myrepo:ref:refs/heads/main === PAUSE TestGlobMatch/repo:myorg/*:*_repo:myorg/myrepo:ref:refs/heads/main === RUN TestGlobMatch/repo:myorg/*:*_repo:otherorg/myrepo:ref:refs/heads/main === PAUSE TestGlobMatch/repo:myorg/*:*_repo:otherorg/myrepo:ref:refs/heads/main === CONT TestGlobMatch/foo_foo === CONT TestGlobMatch/?oo_boo === CONT TestGlobMatch/refs/*/main_refs/heads/main === CONT TestGlobMatch/foo*bar_foobarbaz === CONT TestGlobMatch/refs/heads/*_refs/heads/main === CONT TestGlobMatch/*_ === CONT TestGlobMatch/*/*_foo === CONT TestGlobMatch/repo:myorg/*:*_repo:otherorg/myrepo:ref:refs/heads/main === CONT TestGlobMatch/foo_bar === CONT TestGlobMatch/repo:myorg/*:*_repo:myorg/myrepo:ref:refs/heads/main === CONT TestGlobMatch/*bar_bar === CONT TestGlobMatch/foo*_foo === CONT TestGlobMatch/foo*bar_foo123bar === CONT TestGlobMatch/foo*_bar === CONT TestGlobMatch/foo*bar_foobar === CONT TestGlobMatch/fo?_foo === CONT TestGlobMatch/foo*_foobar === CONT TestGlobMatch/?oo_foo === CONT TestGlobMatch/*bar_foo === CONT TestGlobMatch/refs/heads/*_refs/tags/v1.0 === CONT TestGlobMatch/fo?_fooo === CONT TestGlobMatch/*/*_foo/bar === CONT TestGlobMatch/*bar_foobar === CONT TestGlobMatch/fo?_fo === CONT TestGlobMatch/*_anything --- PASS: TestGlobMatch (0.00s) --- PASS: TestGlobMatch/foo_foo (0.00s) --- PASS: TestGlobMatch/?oo_boo (0.00s) --- PASS: TestGlobMatch/refs/*/main_refs/heads/main (0.00s) --- PASS: TestGlobMatch/foo*bar_foobarbaz (0.00s) --- PASS: TestGlobMatch/refs/heads/*_refs/heads/main (0.00s) --- PASS: TestGlobMatch/*_ (0.00s) --- PASS: TestGlobMatch/*/*_foo (0.00s) --- PASS: TestGlobMatch/repo:myorg/*:*_repo:otherorg/myrepo:ref:refs/heads/main (0.00s) --- PASS: TestGlobMatch/foo_bar (0.00s) --- PASS: TestGlobMatch/repo:myorg/*:*_repo:myorg/myrepo:ref:refs/heads/main (0.00s) --- PASS: TestGlobMatch/*bar_bar (0.00s) --- PASS: TestGlobMatch/foo*_foo (0.00s) --- PASS: TestGlobMatch/foo*bar_foo123bar (0.00s) --- PASS: TestGlobMatch/foo*_bar (0.00s) --- PASS: TestGlobMatch/foo*bar_foobar (0.00s) --- PASS: TestGlobMatch/fo?_foo (0.00s) --- PASS: TestGlobMatch/foo*_foobar (0.00s) --- PASS: TestGlobMatch/?oo_foo (0.00s) --- PASS: TestGlobMatch/*bar_foo (0.00s) --- PASS: TestGlobMatch/refs/heads/*_refs/tags/v1.0 (0.00s) --- PASS: TestGlobMatch/fo?_fooo (0.00s) --- PASS: TestGlobMatch/*/*_foo/bar (0.00s) --- PASS: TestGlobMatch/*bar_foobar (0.00s) --- PASS: TestGlobMatch/fo?_fo (0.00s) --- PASS: TestGlobMatch/*_anything (0.00s) 2026/08/27 09:50:23 INFO OIDC provider initialized name=test 2026/08/27 09:50:23 INFO OIDC provider initialized name=provider1 2026/08/27 09:50:23 INFO OIDC provider initialized name=test 2026/08/27 09:50:23 INFO OIDC provider initialized name=test 2026/08/27 09:50:23 INFO OIDC provider initialized name=test 2026/08/27 09:50:23 INFO OIDC provider initialized name=test 2026/08/27 09:50:23 INFO OIDC provider initialized name=provider1 2026/08/27 09:50:23 INFO OIDC provider initialized name=provider2 --- PASS: TestValidateToken_NoMatchingProvider (0.01s) --- PASS: TestValidateToken_ValidToken (0.01s) --- PASS: TestValidateToken_Expired (0.01s) --- PASS: TestValidateToken_BoundSubjectMismatch (0.01s) --- PASS: TestValidateToken_BoundClaimsMismatch (0.01s) --- PASS: TestValidateToken_MultipleProviders (0.01s) --- PASS: TestValidateToken_WrongAudience (0.02s) 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 === CONT TestSendPathsEmpty === CONT TestWorkerSkipsGCdPaths === CONT TestQueueConcurrentWriters === CONT TestQueueRemoveLargeClosure === CONT TestWorkerPrunesClosureDeps === CONT TestRunNotBlockedByPoisonHead === CONT TestDrainIsolatesPoisonPath --- PASS: TestSendPathsEmpty (0.00s) === CONT TestServerQueueError === CONT TestDrainGivesUpWhenServerDown === CONT TestQueueDeduplication === CONT TestQueueRemove === CONT TestQueueRetryMovesToBack === CONT TestQueueEnqueueAndFetch === CONT TestFailedPathPrunedByLaterClosure 2026/08/27 09:50:23 ERROR Failed to queue paths error="permission denied" count=1 === CONT TestWorkerUploadsAndRemoves === CONT TestQueueFetchBatchLimit === CONT TestQueueFetchRemoveLifecycle === CONT TestServerClientIntegration --- PASS: TestServerQueueError (0.00s) --- PASS: TestServerClientIntegration (0.00s) 2026/08/27 09:50:23 INFO Uploading batch count=4 2026/08/27 09:50:23 ERROR Upload failed error="upload failed" count=4 2026/08/27 09:50:23 INFO Uploading batch count=1 2026/08/27 09:50:23 ERROR Upload failed error="upload failed" count=1 2026/08/27 09:50:23 INFO Uploading batch count=2 2026/08/27 09:50:23 ERROR Upload failed error="upload failed" count=2 2026/08/27 09:50:23 ERROR Upload failed, will retry later error="upload failed" path=/build/TestDrainGivesUpWhenServerDown4128185236/002/a 2026/08/27 09:50:23 INFO Upload queue status pending=2 --- PASS: TestQueueRetryMovesToBack (0.02s) 2026/08/27 09:50:23 ERROR Upload failed, will retry later error="upload failed" path=/build/TestDrainIsolatesPoisonPath1274398936/002/bbb 2026/08/27 09:50:23 WARN Store path no longer exists (garbage collected?), removing from queue path=/build/TestWorkerSkipsGCdPaths1713189833/002/nonexistent 2026/08/27 09:50:23 INFO Upload queue status pending=2 2026/08/27 09:50:23 ERROR Upload failed, will retry later error="upload failed" path=/build/TestDrainGivesUpWhenServerDown4128185236/002/b 2026/08/27 09:50:23 INFO Uploading batch count=1 2026/08/27 09:50:23 INFO Uploading batch count=1 --- PASS: TestQueueFetchRemoveLifecycle (0.02s) 2026/08/27 09:50:23 INFO Upload queue status pending=2 2026/08/27 09:50:23 INFO Uploading batch count=1 --- PASS: TestQueueRemove (0.02s) --- PASS: TestQueueDeduplication (0.02s) 2026/08/27 09:50:23 INFO Uploading batch count=2 2026/08/27 09:50:23 ERROR Upload failed error="upload failed" count=2 2026/08/27 09:50:23 ERROR Upload failed, will retry later error="upload failed" path=/build/TestDrainGivesUpWhenServerDown4128185236/002/c 2026/08/27 09:50:23 INFO Uploading batch count=2 --- PASS: TestQueueFetchBatchLimit (0.02s) 2026/08/27 09:50:23 INFO Uploading batch count=1 --- PASS: TestQueueEnqueueAndFetch (0.02s) 2026/08/27 09:50:23 INFO Upload queue status pending=3 2026/08/27 09:50:23 INFO Uploading batch count=1 2026/08/27 09:50:23 ERROR Upload failed, will retry later error="upload failed" path=/build/TestDrainGivesUpWhenServerDown4128185236/002/d 2026/08/27 09:50:23 ERROR Upload failed error="upload failed" count=1 2026/08/27 09:50:23 INFO Uploading batch count=1 2026/08/27 09:50:23 ERROR Upload failed error="upload failed" count=1 2026/08/27 09:50:23 INFO Uploading batch count=2 2026/08/27 09:50:23 ERROR Upload failed error="upload failed" count=2 2026/08/27 09:50:23 ERROR Upload failed, will retry later error="upload failed" path=/build/TestDrainGivesUpWhenServerDown4128185236/002/e 2026/08/27 09:50:23 INFO Uploading batch count=1 2026/08/27 09:50:23 ERROR Upload failed error="upload failed" count=1 2026/08/27 09:50:23 ERROR Upload failed, will retry later error="upload failed" path=/build/TestDrainGivesUpWhenServerDown4128185236/002/f --- PASS: TestFailedPathPrunedByLaterClosure (0.02s) 2026/08/27 09:50:23 INFO Uploading batch count=1 2026/08/27 09:50:23 ERROR Upload failed error="upload failed" count=1 2026/08/27 09:50:23 ERROR Drain finished with paths left in queue remaining=10 2026/08/27 09:50:23 ERROR Drain finished with paths left in queue remaining=1 --- PASS: TestDrainGivesUpWhenServerDown (0.03s) --- PASS: TestDrainIsolatesPoisonPath (0.03s) --- PASS: TestWorkerPrunesClosureDeps (0.04s) --- PASS: TestWorkerSkipsGCdPaths (0.04s) --- PASS: TestWorkerUploadsAndRemoves (0.04s) --- PASS: TestQueueConcurrentWriters (0.30s) --- PASS: TestQueueRemoveLargeClosure (0.34s) 2026/08/27 09:50:24 INFO Uploading batch count=1 2026/08/27 09:50:24 INFO Uploading batch count=1 2026/08/27 09:50:24 INFO Uploading batch count=1 2026/08/27 09:50:24 ERROR Upload failed error="upload failed" count=1 2026/08/27 09:50:24 INFO Uploading batch count=1 2026/08/27 09:50:24 ERROR Upload failed error="upload failed" count=1 2026/08/27 09:50:24 INFO Uploading batch count=1 2026/08/27 09:50:24 ERROR Upload failed error="upload failed" count=1 2026/08/27 09:50:24 INFO Uploading batch count=1 2026/08/27 09:50:24 ERROR Upload failed error="upload failed" count=1 2026/08/27 09:50:24 ERROR Drain finished with paths left in queue remaining=1 --- PASS: TestRunNotBlockedByPoisonHead (1.04s) PASS