tribuchet: building on eliza Running client tests... === RUN TestDoServerRequestAttachesToken === PAUSE TestDoServerRequestAttachesToken === RUN TestRegisterUploadedObjectReusesConnections === PAUSE TestRegisterUploadedObjectReusesConnections === RUN TestCaseHackSuffix === PAUSE TestCaseHackSuffix === RUN TestFilterOversizedClosures === PAUSE TestFilterOversizedClosures === RUN TestUploadMultipart_PartsInParallel === PAUSE TestUploadMultipart_PartsInParallel === RUN TestPartSizeForNAR === PAUSE TestPartSizeForNAR === RUN TestUploadMultipart_SupersededByPeer === PAUSE TestUploadMultipart_SupersededByPeer === RUN TestDumpPathCaseHackMatchesNix --- PASS: TestDumpPathCaseHackMatchesNix (0.03s) === RUN TestDumpPathCaseHackCollision --- PASS: TestDumpPathCaseHackCollision (0.00s) === 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 TestStreamPushReportsEveryPath === PAUSE TestStreamPushReportsEveryPath === RUN TestStreamPushBatchesUnderLoad === PAUSE TestStreamPushBatchesUnderLoad === RUN TestStreamPushIsolatesFailures === PAUSE TestStreamPushIsolatesFailures === RUN TestStreamPushGivesUpOnDeadServer === PAUSE TestStreamPushGivesUpOnDeadServer === RUN TestStreamPushRequestLine === PAUSE TestStreamPushRequestLine === RUN TestStreamPushReportsSignatures === PAUSE TestStreamPushReportsSignatures === RUN TestClientSignaturesByStorePath === PAUSE TestClientSignaturesByStorePath === 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 TestScriptTokenBadJSON === CONT TestDoWithRetry_BodyReplayedViaGetBody === CONT TestScriptTokenEmptyToken === CONT TestScriptTokenCachesUntilRefresh === CONT TestStreamPushReportsSignatures === CONT TestStreamPushRequestLine === CONT TestScriptTokenEmptyCommand --- PASS: TestScriptTokenEmptyCommand (0.00s) === CONT TestEncodeNixBase32 === CONT TestStreamPushGivesUpOnDeadServer === CONT TestEncodeNixBase32WithRealHash --- PASS: TestEncodeNixBase32WithRealHash (0.00s) === CONT TestDumpPathWriterError === CONT TestStreamPushIsolatesFailures === CONT TestResolveStorePath === CONT TestStreamPushBatchesUnderLoad === CONT TestStreamPushReportsEveryPath === CONT TestRateLimiterFeedback_400DoesNotCountAsSuccess === CONT TestShellSplitErrors === CONT TestRateLimiterFeedback === CONT TestPathInfoHashCompatibility === CONT TestShellSplit === CONT TestClientSignaturesByStorePath === CONT TestGetStorePathHash === CONT TestUploadMultipart_SupersededByPeer === CONT TestConvertHashToNix32 === CONT TestScriptTokenNoExpiryRerunsEveryCall === RUN TestEncodeNixBase32/test_string_hash === RUN TestUploadMultipart_SupersededByPeer/exists === PAUSE TestUploadMultipart_SupersededByPeer/exists --- PASS: TestClientSignaturesByStorePath (0.00s) === RUN TestUploadMultipart_SupersededByPeer/missing === PAUSE TestUploadMultipart_SupersededByPeer/missing === CONT TestDumpPathSingleFile --- PASS: TestShellSplit (0.00s) === CONT TestDumpPathMatchesNix === PAUSE TestEncodeNixBase32/test_string_hash === 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 TestEncodeNixBase32/empty_input === PAUSE TestEncodeNixBase32/empty_input === CONT TestFileTokenEmpty === CONT TestScriptTokenScriptFails === RUN TestFilterOversizedClosures/all_closures_skipped 2026/10/01 10:31:03 WARN Rate limiter enabled after throttle name=server-test rate=5 --- PASS: TestScriptTokenBadJSON (0.00s) --- PASS: TestShellSplitErrors (0.00s) --- PASS: TestFileTokenEmpty (0.00s) === CONT TestFileTokenMissing --- PASS: TestFileTokenMissing (0.00s) === CONT TestSetClientTLSErrors --- PASS: TestScriptTokenScriptFails (0.00s) === CONT TestUploadMultipart_PartsInParallel === RUN TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI) === PAUSE TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI) === RUN TestPathInfoHashCompatibility/old_string_format_with_colon === PAUSE TestPathInfoHashCompatibility/old_string_format_with_colon === RUN TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI === PAUSE TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI === RUN TestPathInfoHashCompatibility/new_structured_format_with_sha512 === PAUSE TestPathInfoHashCompatibility/new_structured_format_with_sha512 === RUN TestGetStorePathHash/valid_store_path === PAUSE TestGetStorePathHash/valid_store_path === RUN TestGetStorePathHash/basename_without_hyphen_should_error 2026/10/01 10:31:03 ERROR Upload failed error="bad path" count=3 === CONT TestFileTokenReadsAndCaches === RUN TestConvertHashToNix32/SRI_format_to_Nix32 === PAUSE TestGetStorePathHash/basename_without_hyphen_should_error === CONT TestPartSizeForNAR --- PASS: TestStreamPushIsolatesFailures (0.01s) === RUN TestPartSizeForNAR/zero_stays_at_minimum === PAUSE TestPartSizeForNAR/zero_stays_at_minimum === RUN TestGetStorePathHash/hash_with_invalid_characters_should_error === RUN TestPartSizeForNAR/small_stays_at_minimum --- PASS: TestScriptTokenEmptyToken (0.01s) === CONT TestStaticToken --- PASS: TestStaticToken (0.00s) === CONT TestSetClientTLS --- PASS: TestResolveStorePath (0.00s) === RUN TestSetClientTLS/rejects_connection_without_client_cert === CONT TestPathInfoCACompatibility === CONT TestSetClientTLSDoesNotMutateDefaultTransport === PAUSE TestFilterOversizedClosures/all_closures_skipped 2026/10/01 10:31:03 WARN Rate limiter enabled after throttle name=server-test rate=5 === PAUSE TestConvertHashToNix32/SRI_format_to_Nix32 2026/10/01 10:31:03 ERROR Upload failed error=boom count=1 === PAUSE TestGetStorePathHash/hash_with_invalid_characters_should_error 2026/10/01 10:31:03 ERROR Upload failed error=boom count=1 === RUN TestGetStorePathHash/hash_with_wrong_length_should_error === PAUSE TestGetStorePathHash/hash_with_wrong_length_should_error === PAUSE TestPartSizeForNAR/small_stays_at_minimum 2026/10/01 10:31:03 WARN Request returned retryable status, retrying attempt=1 max_attempts=6 backoff=0s status=503 url=http://127.0.0.1:43897 === 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 === CONT TestCaseHackSuffix === CONT TestUploadMultipart_SupersededByPeer/missing 2026/10/01 10:31:03 WARN Rate limiter backed off name=server-test rate=5 2026/10/01 10:31:03 WARN Request returned retryable status, retrying attempt=2 max_attempts=6 backoff=0s status=503 url=http://127.0.0.1:43897 === CONT TestUploadMultipart_SupersededByPeer/exists === RUN TestRateLimiterFeedback/429_enables_limiter === RUN TestConvertHashToNix32/already_Nix32_format === PAUSE TestSetClientTLS/rejects_connection_without_client_cert --- PASS: TestStreamPushReportsEveryPath (0.03s) 2026/10/01 10:31:03 ERROR Upload failed error="connection refused" count=20 --- PASS: TestStreamPushReportsSignatures (0.03s) 2026/10/01 10:31:03 ERROR Server seems unavailable, giving up on batch untried=17 === CONT TestRegisterUploadedObjectReusesConnections === CONT TestParsePathInfoJSONMultiplePaths === RUN TestSetClientTLSErrors/missing_cert_file === CONT TestParsePathInfoJSON === RUN TestPartSizeForNAR/1_TiB === RUN TestPathInfoCACompatibility/null_ca_field === PAUSE TestRateLimiterFeedback/429_enables_limiter === CONT TestEncodeNixBase32/test_string_hash === RUN TestSetClientTLS/succeeds_with_client_cert_and_CA === CONT TestEncodeNixBase32/empty_input === PAUSE TestConvertHashToNix32/already_Nix32_format --- PASS: TestDoServerRequestAttachesToken (0.03s) === RUN TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths --- PASS: TestFileTokenReadsAndCaches (0.03s) --- PASS: TestDoWithRetry_BodyReplayedViaGetBody (0.03s) --- PASS: TestSetClientTLSDoesNotMutateDefaultTransport (0.00s) --- PASS: TestScriptTokenNoExpiryRerunsEveryCall (0.04s) === PAUSE TestPathInfoCACompatibility/null_ca_field === PAUSE TestSetClientTLSErrors/missing_cert_file === RUN TestParsePathInfoJSON/Nix_format === PAUSE TestParsePathInfoJSON/Nix_format === RUN TestPathInfoCACompatibility/old_string_format_-_text === PAUSE TestPathInfoCACompatibility/old_string_format_-_text === RUN TestPathInfoCACompatibility/old_string_format_-_fixed_recursive === PAUSE TestPathInfoCACompatibility/old_string_format_-_fixed_recursive === RUN TestPathInfoCACompatibility/new_structured_format_-_text === PAUSE TestPartSizeForNAR/1_TiB === RUN TestPartSizeForNAR/5_TiB_S3_max_object === PAUSE TestPartSizeForNAR/5_TiB_S3_max_object === RUN TestPartSizeForNAR/capped_at_5_GiB === PAUSE TestPartSizeForNAR/capped_at_5_GiB === RUN TestSetClientTLSErrors/missing_key_file === PAUSE TestSetClientTLSErrors/missing_key_file === CONT TestPathInfoHashCompatibility/new_structured_format_with_sha512 === RUN TestRateLimiterFeedback/503_enables_limiter === PAUSE TestRateLimiterFeedback/503_enables_limiter === RUN TestRateLimiterFeedback/200_does_not_enable_limiter === PAUSE TestRateLimiterFeedback/200_does_not_enable_limiter === RUN TestRateLimiterFeedback/400_does_not_enable_limiter === PAUSE TestRateLimiterFeedback/400_does_not_enable_limiter === CONT TestPathInfoHashCompatibility/old_string_format_with_colon === CONT TestFilterOversizedClosures/all_closures_skipped 2026/10/01 10:31:04 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 === CONT TestFilterOversizedClosures/closure_with_oversized_dependency_is_skipped 2026/10/01 10:31:04 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 TestGetStorePathHash/valid_store_path === CONT TestGetStorePathHash/hash_with_wrong_length_should_error === CONT TestGetStorePathHash/basename_without_hyphen_should_error === CONT TestGetStorePathHash/hash_with_invalid_characters_should_error === CONT TestPartSizeForNAR/zero_stays_at_minimum === CONT TestRateLimiterFeedback/400_does_not_enable_limiter === CONT TestRateLimiterFeedback/200_does_not_enable_limiter === RUN TestSetClientTLSErrors/missing_ca_file === PAUSE TestSetClientTLSErrors/missing_ca_file === PAUSE TestPathInfoCACompatibility/new_structured_format_-_text === RUN TestPathInfoCACompatibility/new_structured_format_-_nar_method === PAUSE TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths === RUN TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths === PAUSE TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths === RUN TestConvertHashToNix32/invalid_format === PAUSE TestConvertHashToNix32/invalid_format === CONT TestPartSizeForNAR/capped_at_5_GiB === CONT TestPartSizeForNAR/5_TiB_S3_max_object === CONT TestPartSizeForNAR/115_GiB_needs_larger_parts === CONT TestPartSizeForNAR/small_stays_at_minimum === CONT TestPartSizeForNAR/1_TiB === CONT TestConvertHashToNix32/SRI_format_to_Nix32 === CONT TestConvertHashToNix32/already_Nix32_format === CONT TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths === PAUSE TestPathInfoCACompatibility/new_structured_format_-_nar_method === CONT TestPathInfoCACompatibility/null_ca_field === CONT TestConvertHashToNix32/invalid_format === CONT TestPathInfoCACompatibility/new_structured_format_-_text === CONT TestPartSizeForNAR/80_GiB_fits_at_minimum === CONT TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI === CONT TestPathInfoCACompatibility/new_structured_format_-_nar_method === CONT TestFilterOversizedClosures/no_limit_keeps_everything === CONT TestRateLimiterFeedback/429_enables_limiter === RUN TestParsePathInfoJSON/Lix_format === RUN TestSetClientTLSErrors/invalid_ca_file === CONT TestRateLimiterFeedback/503_enables_limiter === 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 2026/10/01 10:31:04 WARN Rate limiter enabled after throttle name=server-test rate=5 2026/10/01 10:31:04 WARN Request returned retryable status, retrying attempt=1 max_attempts=2 backoff=0s status=429 url=http://127.0.0.1:42083 === CONT TestSetClientTLS/preserves_debug_logging_transport === CONT TestSetClientTLS/succeeds_with_client_cert_and_CA 2026/10/01 10:31:04 WARN Rate limiter backed off name=server-test rate=5 === CONT TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI) --- PASS: TestScriptTokenCachesUntilRefresh (0.05s) 2026/10/01 10:31:04 WARN Rate limiter enabled after throttle name=server-test rate=5 === CONT TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths === CONT TestPathInfoCACompatibility/old_string_format_-_fixed_recursive 2026/10/01 10:31:04 WARN Request returned retryable status, retrying attempt=1 max_attempts=2 backoff=0s status=503 url=http://127.0.0.1:45113 --- PASS: TestStreamPushGivesUpOnDeadServer (0.05s) === CONT TestPathInfoCACompatibility/old_string_format_-_text === PAUSE TestParsePathInfoJSON/Lix_format 2026/10/01 10:31:04 WARN Rate limiter backed off name=server-test rate=5 === PAUSE TestSetClientTLSErrors/invalid_ca_file === CONT TestSetClientTLSErrors/missing_cert_file --- PASS: TestEncodeNixBase32 (0.00s) --- PASS: TestEncodeNixBase32/test_string_hash (0.00s) --- PASS: TestEncodeNixBase32/empty_input (0.00s) --- PASS: TestPathInfoHashCompatibility (0.00s) --- PASS: TestPathInfoHashCompatibility/new_structured_format_with_sha512 (0.00s) --- PASS: TestPathInfoHashCompatibility/old_string_format_with_colon (0.00s) --- PASS: TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI (0.00s) --- PASS: TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI) (0.00s) === CONT TestSetClientTLSErrors/invalid_ca_file --- PASS: TestRateLimiterFeedback (0.02s) --- PASS: TestRateLimiterFeedback/400_does_not_enable_limiter (0.00s) --- PASS: TestRateLimiterFeedback/200_does_not_enable_limiter (0.00s) --- PASS: TestRateLimiterFeedback/429_enables_limiter (0.00s) --- PASS: TestRateLimiterFeedback/503_enables_limiter (0.00s) --- PASS: TestUploadMultipart_SupersededByPeer (0.00s) --- PASS: TestUploadMultipart_SupersededByPeer/missing (0.02s) --- PASS: TestUploadMultipart_SupersededByPeer/exists (0.02s) --- PASS: TestFilterOversizedClosures (0.03s) --- PASS: TestFilterOversizedClosures/all_closures_skipped (0.00s) --- PASS: TestFilterOversizedClosures/closure_with_oversized_dependency_is_skipped (0.00s) --- PASS: TestFilterOversizedClosures/no_limit_keeps_everything (0.00s) --- PASS: TestGetStorePathHash (0.03s) --- PASS: TestGetStorePathHash/valid_store_path (0.00s) --- PASS: TestGetStorePathHash/hash_with_wrong_length_should_error (0.00s) --- PASS: TestGetStorePathHash/basename_without_hyphen_should_error (0.00s) --- PASS: TestGetStorePathHash/hash_with_invalid_characters_should_error (0.00s) --- PASS: TestParsePathInfoJSONMultiplePaths (0.01s) --- PASS: TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths (0.00s) --- PASS: TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths (0.00s) --- PASS: TestPartSizeForNAR (0.04s) --- PASS: TestPartSizeForNAR/zero_stays_at_minimum (0.00s) --- PASS: TestPartSizeForNAR/capped_at_5_GiB (0.00s) --- PASS: TestPartSizeForNAR/5_TiB_S3_max_object (0.00s) --- PASS: TestPartSizeForNAR/115_GiB_needs_larger_parts (0.00s) --- PASS: TestPartSizeForNAR/small_stays_at_minimum (0.00s) --- PASS: TestPartSizeForNAR/1_TiB (0.00s) --- PASS: TestPartSizeForNAR/80_GiB_fits_at_minimum (0.00s) --- PASS: TestPathInfoCACompatibility (0.02s) --- PASS: TestPathInfoCACompatibility/null_ca_field (0.00s) --- PASS: TestPathInfoCACompatibility/new_structured_format_-_text (0.00s) --- PASS: TestPathInfoCACompatibility/new_structured_format_-_nar_method (0.00s) --- PASS: TestPathInfoCACompatibility/old_string_format_-_fixed_recursive (0.00s) --- PASS: TestPathInfoCACompatibility/old_string_format_-_text (0.00s) --- PASS: TestConvertHashToNix32 (0.04s) --- PASS: TestConvertHashToNix32/SRI_format_to_Nix32 (0.00s) --- PASS: TestConvertHashToNix32/already_Nix32_format (0.00s) --- PASS: TestConvertHashToNix32/invalid_format (0.00s) === CONT TestSetClientTLSErrors/missing_ca_file === CONT TestSetClientTLSErrors/missing_key_file === RUN TestParsePathInfoJSON/empty_input === PAUSE TestParsePathInfoJSON/empty_input === RUN TestParsePathInfoJSON/whitespace_only === PAUSE TestParsePathInfoJSON/whitespace_only === RUN TestParsePathInfoJSON/invalid_JSON === PAUSE TestParsePathInfoJSON/invalid_JSON === CONT TestParsePathInfoJSON/Nix_format === CONT TestParsePathInfoJSON/invalid_JSON === CONT TestParsePathInfoJSON/whitespace_only === CONT TestParsePathInfoJSON/empty_input === CONT TestParsePathInfoJSON/Lix_format --- PASS: TestParsePathInfoJSON (0.00s) --- PASS: TestParsePathInfoJSON/Nix_format (0.00s) --- PASS: TestParsePathInfoJSON/invalid_JSON (0.00s) --- PASS: TestParsePathInfoJSON/whitespace_only (0.00s) --- PASS: TestParsePathInfoJSON/empty_input (0.00s) --- PASS: TestParsePathInfoJSON/Lix_format (0.00s) --- PASS: TestSetClientTLSErrors (0.05s) --- PASS: TestSetClientTLSErrors/missing_cert_file (0.00s) --- PASS: TestSetClientTLSErrors/invalid_ca_file (0.00s) --- PASS: TestSetClientTLSErrors/missing_ca_file (0.00s) --- PASS: TestSetClientTLSErrors/missing_key_file (0.00s) 2026/10/01 10:31:04 http: TLS handshake error from 127.0.0.1:47072: remote error: tls: bad certificate --- PASS: TestSetClientTLS (0.04s) --- PASS: TestSetClientTLS/succeeds_with_client_cert_and_CA (0.00s) --- PASS: TestSetClientTLS/preserves_debug_logging_transport (0.00s) --- PASS: TestSetClientTLS/rejects_connection_without_client_cert (0.01s) --- PASS: TestDumpPathWriterError (0.06s) --- PASS: TestRegisterUploadedObjectReusesConnections (0.02s) --- PASS: TestStreamPushRequestLine (0.06s) --- PASS: TestCaseHackSuffix (0.03s) --- PASS: TestDumpPathSingleFile (0.07s) --- PASS: TestStreamPushBatchesUnderLoad (0.10s) --- PASS: TestDumpPathMatchesNix (0.11s) --- PASS: TestUploadMultipart_PartsInParallel (0.65s) --- 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/postgres4041470630/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/postgres4041470630/data -l logfile start /build/postgres4041470630:5432 - no response 2026-10-01 10:31:05.718 UTC [129] LOG: starting PostgreSQL 18.6 on aarch64-unknown-linux-gnu, compiled by clang version 21.1.8, 64-bit 2026-10-01 10:31:05.718 UTC [129] LOG: listening on Unix socket "/build/postgres4041470630/.s.PGSQL.5432" 2026-10-01 10:31:05.722 UTC [136] LOG: database system was shut down at 2026-10-01 10:31:05 UTC 2026-10-01 10:31:05.726 UTC [129] LOG: database system is ready to accept connections /build/postgres4041470630:5432 - accepting connections {"timestamp":"2026-10-01T10:31:05.919263568Z","level":"ERROR","message":"HTTP request completed","event":"http_request_completed","component":"server","subsystem":"http","request_id":"58d74559-00d4-45a6-a787-9c2cf4e52348","trace_id":"unknown","span_id":"unknown","peer_addr":"127.0.0.1","method":"GET","uri":"/health/ready","status_code":503,"suppressed_errors":0,"duration_ms":0,"result":"server_error","target":"rustfs::server::http","filename":"rustfs/src/server/layer.rs","line_number":501,"threadName":"rustfs-worker","threadId":"ThreadId(199)"} === RUN TestService_AuthMiddleware === PAUSE TestService_AuthMiddleware === RUN TestService_AuthMiddleware_MTLSProxyHeader === PAUSE TestService_AuthMiddleware_MTLSProxyHeader === RUN TestService_AuthMiddleware_MTLSBoundSubjects === PAUSE TestService_AuthMiddleware_MTLSBoundSubjects === RUN TestService_ReadAuthMiddleware === PAUSE TestService_ReadAuthMiddleware === RUN TestService_AuthMiddleware_OIDC === PAUSE TestService_AuthMiddleware_OIDC === RUN TestService_RequireScope_OIDC === PAUSE TestService_RequireScope_OIDC === RUN TestService_ReadScope_PublicByDefault === PAUSE TestService_ReadScope_PublicByDefault === RUN TestCacheConfigHandler === PAUSE TestCacheConfigHandler === RUN TestCacheStatsHandler === PAUSE TestCacheStatsHandler === RUN TestClientCADerivations === PAUSE TestClientCADerivations === RUN TestClientErrorHandling === PAUSE TestClientErrorHandling === RUN TestClientIntegration === PAUSE TestClientIntegration === RUN TestClientMultipleUploads === PAUSE TestClientMultipleUploads === RUN TestClientWithDependencies === PAUSE TestClientWithDependencies === RUN TestClientSharedPathCommittedMidPush === PAUSE TestClientSharedPathCommittedMidPush === RUN TestPinProtectsFromGC === PAUSE TestPinProtectsFromGC === RUN TestClientPushesUseOnePush === PAUSE TestClientPushesUseOnePush === RUN TestClientFallsBackToClosures === PAUSE TestClientFallsBackToClosures === RUN TestConcurrentCommitsSharingObjectsDoNotDeadlock === PAUSE TestConcurrentCommitsSharingObjectsDoNotDeadlock === RUN TestResolveDBConnectionString === PAUSE TestResolveDBConnectionString === RUN TestLeadElectsOneAndHandsOver === PAUSE TestLeadElectsOneAndHandsOver === RUN TestLeadIncumbentWinsAfterRestart 2026/10/01 10:31:06 INFO lead: acquired remote=192.0.2.1:1234 2026/10/01 10:31:06 INFO lead: released remote=192.0.2.1:1234 2026/10/01 10:31:06 INFO lead: acquired remote=192.0.2.1:1234 2026/10/01 10:31:06 INFO lead: released remote=192.0.2.1:1234 --- PASS: TestLeadIncumbentWinsAfterRestart (0.79s) === RUN TestLeadEndsOnShutdown === PAUSE TestLeadEndsOnShutdown === RUN TestGCAdvisoryLockBlocksConcurrentRun === PAUSE TestGCAdvisoryLockBlocksConcurrentRun === RUN TestGCBugBareHashReferences === PAUSE TestGCBugBareHashReferences === RUN TestGCMetrics === PAUSE TestGCMetrics === RUN TestPushDedupSurvivesConcurrentGC === PAUSE TestPushDedupSurvivesConcurrentGC === RUN TestDeduplicatedObjectsRecordedAsPending === PAUSE TestDeduplicatedObjectsRecordedAsPending === RUN TestGCSweepSkipsPendingObjects === PAUSE TestGCSweepSkipsPendingObjects === RUN TestTombstonedObjectOfferedWithoutWaiting === PAUSE TestTombstonedObjectOfferedWithoutWaiting === RUN TestGCSweepDeliversEachKeyOnce === PAUSE TestGCSweepDeliversEachKeyOnce === RUN TestCreatePendingClosureVerifyS3FailureReleasesConnection === PAUSE TestCreatePendingClosureVerifyS3FailureReleasesConnection === RUN TestForceGCDuringPushOffersSweptObject === PAUSE TestForceGCDuringPushOffersSweptObject === RUN TestFailedS3DeleteKeepsTombstone === PAUSE TestFailedS3DeleteKeepsTombstone === RUN TestSweepSkipsRowsLockedByPush === PAUSE TestSweepSkipsRowsLockedByPush === RUN TestRegisterCompletedObjectNeedsPendingRow === PAUSE TestRegisterCompletedObjectNeedsPendingRow === RUN TestGetExistingObjectsLocksRows === PAUSE TestGetExistingObjectsLocksRows === RUN TestSweepRechecksPendingAfterLocking === PAUSE TestSweepRechecksPendingAfterLocking === RUN TestPushWaitsForSweepHoldingRow === PAUSE TestPushWaitsForSweepHoldingRow === RUN TestCommitRacingPendingCleanupKeepsObjects === PAUSE TestCommitRacingPendingCleanupKeepsObjects === RUN TestGCEndsOnShutdown === PAUSE TestGCEndsOnShutdown === RUN TestGCTaskStore_StartNew === PAUSE TestGCTaskStore_StartNew === RUN TestGCTaskStore_DeduplicateSameParams === PAUSE TestGCTaskStore_DeduplicateSameParams === RUN TestGCTaskStore_ConflictDifferentParams === PAUSE TestGCTaskStore_ConflictDifferentParams === RUN TestGCTaskStore_GetEmpty === PAUSE TestGCTaskStore_GetEmpty === RUN TestGCTaskStore_GetReturnsLatest === PAUSE TestGCTaskStore_GetReturnsLatest === RUN TestGCTaskStore_CompletedAllowsNewTask === PAUSE TestGCTaskStore_CompletedAllowsNewTask === RUN TestGCTaskStore_PhaseUpdates === PAUSE TestGCTaskStore_PhaseUpdates === RUN TestGCTaskStore_Fail === PAUSE TestGCTaskStore_Fail === RUN TestGracefulShutdownDrainsInflight === PAUSE TestGracefulShutdownDrainsInflight === RUN TestService_healthCheckHandler === PAUSE TestService_healthCheckHandler === RUN TestService_readinessHandler === PAUSE TestService_readinessHandler === RUN TestGenerateLandingPage === PAUSE TestGenerateLandingPage === RUN TestCacheConfigHandlerMaxNarSize === PAUSE TestCacheConfigHandlerMaxNarSize === RUN TestCreatePendingClosureRejectsOversizedNAR === PAUSE TestCreatePendingClosureRejectsOversizedNAR === RUN TestNARDeduplicationMetadataUploadBug === PAUSE TestNARDeduplicationMetadataUploadBug === RUN TestMetricsInventory === PAUSE TestMetricsInventory === RUN TestService_NativeMTLS === PAUSE TestService_NativeMTLS === RUN TestServerTLSConfig === PAUSE TestServerTLSConfig === RUN TestMultipartCleanup === PAUSE TestMultipartCleanup === RUN TestMultipartUploadAbortedWhenCancelledBeforeRecorded === PAUSE TestMultipartUploadAbortedWhenCancelledBeforeRecorded === RUN TestPendingCleanupUsesOneCutoff === PAUSE TestPendingCleanupUsesOneCutoff === RUN TestObjectStatsTrigger === PAUSE TestObjectStatsTrigger === RUN TestOrphanedObjectsGC === PAUSE TestOrphanedObjectsGC === RUN TestOrphanedObjectsGCStressTest === PAUSE TestOrphanedObjectsGCStressTest === RUN TestCreatePin_ReservedPins === PAUSE TestCreatePin_ReservedPins === RUN TestPresentReportsOnlyClosureRoots === PAUSE TestPresentReportsOnlyClosureRoots === RUN TestPresentNotReportedWhileGCDeletesClosure === PAUSE TestPresentNotReportedWhileGCDeletesClosure === RUN TestParseSingleRange === PAUSE TestParseSingleRange === RUN TestProxyHeadersOnlyTrustedOnSocket === PAUSE TestProxyHeadersOnlyTrustedOnSocket === 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 TestReadProxyOutlastsServerWriteTimeout === PAUSE TestReadProxyOutlastsServerWriteTimeout === RUN TestReadProxyConditionalGet === PAUSE TestReadProxyConditionalGet === RUN TestReadProxyRootRedirectsToIndexHTML === PAUSE TestReadProxyRootRedirectsToIndexHTML === RUN TestReadProxyDisabled === PAUSE TestReadProxyDisabled === RUN TestReadRedirectNar === PAUSE TestReadRedirectNar === RUN TestReadRedirectKeepsNarinfoProxied === PAUSE TestReadRedirectKeepsNarinfoProxied === RUN TestReadProxyRangeRequest === PAUSE TestReadProxyRangeRequest === RUN TestReadRedirectUsesPublicS3URL === PAUSE TestReadRedirectUsesPublicS3URL === RUN TestPush_OverlappingRootsStoreOneRowPerKey === PAUSE TestPush_OverlappingRootsStoreOneRowPerKey === RUN TestPush_CompleteCommitsEveryRoot === PAUSE TestPush_CompleteCommitsEveryRoot === RUN TestPush_SkippedKeySurvivesGCBeforeCommit === PAUSE TestPush_SkippedKeySurvivesGCBeforeCommit === RUN TestPush_RejectsBadRequests === PAUSE TestPush_RejectsBadRequests === RUN TestPush_SignsNarinfosOfItsPendingObjects === PAUSE TestPush_SignsNarinfosOfItsPendingObjects === 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/10/01 10:31:06 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/10/01 10:31:06 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/10/01 10:31:06 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/10/01 10:31:06 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/10/01 10:31:06 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/10/01 10:31:06 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/10/01 10:31:06 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/10/01 10:31:06 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/10/01 10:31:07 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/10/01 10:31:07 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 TestPendingClosureWriteTimeout === PAUSE TestPendingClosureWriteTimeout === 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 TestCompleteMultipartUploadHandler_RateLimitTriggersThrottle === CONT TestService_AuthMiddleware === CONT TestSkippedUploadsHandler === CONT TestParseSize --- PASS: TestParseSize (0.00s) === CONT TestReadProxyRootRedirectsToIndexHTML === CONT TestService_Rustfstest === CONT TestPresignedUploadRegisteredBeforeCommit === CONT TestCompletedNarNotReofferedAcrossClosures 2026/10/01 10:31:07 INFO Client skipped oversized paths paths=3 nar_bytes=5000000000 === CONT TestCompleteMultipartUpload_ErrorButObjectExists === CONT TestRedundantMultipartUpload === CONT TestPush_SignsNarinfosOfItsPendingObjects === CONT TestPush_RejectsBadRequests === CONT TestPush_SkippedKeySurvivesGCBeforeCommit === CONT TestPush_CompleteCommitsEveryRoot === CONT TestPush_OverlappingRootsStoreOneRowPerKey === CONT TestService_cleanupPendingClosuresHandler === CONT TestReadRedirectUsesPublicS3URL === CONT TestCreatePendingClosure_SmallNARUsesSimplePUT === CONT TestReadProxyRangeRequest === CONT TestCompleteMultipartUnregistered === CONT TestReadRedirectKeepsNarinfoProxied === CONT TestService_verifyS3Integrity === CONT TestReadRedirectNar === CONT TestService_createPendingClosureHandler === CONT TestReadProxyDisabled --- PASS: TestSkippedUploadsHandler (0.00s) === CONT TestCommitRacingPendingCleanupKeepsObjects 2026/10/01 10:31:07 WARN Authentication failed token_preview=wrongtoken token_length=10 reason="static API token mismatch" --- PASS: TestService_AuthMiddleware (0.25s) === CONT TestPushWaitsForSweepHoldingRow 2026/10/01 10:31:07 INFO Received uploads request method=POST path=/api/pending_closures 2026/10/01 10:31:07 INFO Received uploads request method=POST path=/api/pending_closures 2026/10/01 10:31:07 INFO Registered completed upload object_key=nar/jjjjjjjjjjjjjjjjjjjjjjjjjjjjjj0100000000000000000000.nar.zst 2026/10/01 10:31:07 INFO Received uploads request method=POST path=/api/pending_closures --- PASS: TestService_Rustfstest (0.31s) === CONT TestGCEndsOnShutdown --- PASS: TestPresignedUploadRegisteredBeforeCommit (0.31s) === CONT TestSweepRechecksPendingAfterLocking --- PASS: TestReadProxyRootRedirectsToIndexHTML (0.33s) === CONT TestMultipartCleanup 2026/10/01 10:31:07 INFO Received push request method=POST path=/api/pushes 2026/10/01 10:31:07 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/10/01 10:31:07 INFO Received sign narinfos request method=POST path=/api/pushes/1/sign 2026/10/01 10:31:07 INFO Signed narinfos id=1 count=1 --- PASS: TestPush_SignsNarinfosOfItsPendingObjects (0.36s) === CONT TestGetExistingObjectsLocksRows 2026/10/01 10:31:07 INFO Received uploads request method=POST path=/api/pending_closures 2026/10/01 10:31:07 INFO Received uploads request method=POST path=/api/pending_closures 2026/10/01 10:31:07 INFO Received push request method=POST path=/api/pushes 2026/10/01 10:31:07 INFO Received complete push request method=POST path=/api/pushes/1/complete 2026/10/01 10:31:07 INFO Received push request method=POST path=/api/pushes --- PASS: TestPush_CompleteCommitsEveryRoot (0.41s) === 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 TestRegisterCompletedObjectNeedsPendingRow 2026/10/01 10:31:07 INFO Received complete push request method=POST path=/api/pushes/1/complete 2026/10/01 10:31:07 INFO Received cleanup request method=DELETE path=/api/pending_closures 2026/10/01 10:31:07 INFO Aborted multipart uploads count=0 kept=0 2026/10/01 10:31:07 INFO Received uploads request method=POST path=/api/pending_closures 2026/10/01 10:31:07 INFO Received push request method=POST path=/api/pushes 2026/10/01 10:31:07 INFO Received cleanup request method=DELETE path=/api/pending_closures 2026/10/01 10:31:07 INFO Aborted multipart uploads count=1 kept=0 2026/10/01 10:31:07 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026-10-01 10:31:07.477 UTC [460] ERROR: Closure does not exist: id=1 2026-10-01 10:31:07.477 UTC [460] CONTEXT: PL/pgSQL function commit_pending_closure(bigint) line 12 at RAISE 2026-10-01 10:31:07.477 UTC [460] STATEMENT: -- name: CommitPendingClosure :exec SELECT commit_pending_closure($1::bigint) --- PASS: TestService_cleanupPendingClosuresHandler (0.44s) === CONT TestService_NativeMTLS 2026/10/01 10:31:07 INFO Received push request method=POST path=/api/pushes 2026/10/01 10:31:07 INFO Received uploads request method=POST path=/api/pending_closures --- PASS: TestPush_OverlappingRootsStoreOneRowPerKey (0.46s) === CONT TestSweepSkipsRowsLockedByPush === RUN TestPush_RejectsBadRequests/no_roots === PAUSE TestPush_RejectsBadRequests/no_roots === RUN TestPush_RejectsBadRequests/no_objects === PAUSE TestPush_RejectsBadRequests/no_objects === RUN TestPush_RejectsBadRequests/bad_root === PAUSE TestPush_RejectsBadRequests/bad_root === RUN TestPush_RejectsBadRequests/root_not_in_objects === PAUSE TestPush_RejectsBadRequests/root_not_in_objects === CONT TestMetricsInventory 2026/10/01 10:31:07 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/10/01 10:31:07 INFO Aborted multipart uploads count=0 kept=0 2026/10/01 10:31:07 WARN CompleteMultipartUpload errored but object exists; treating as success error="The specified key does not exist." object_key=nar/gggggggggggggggggggggggggggggg0300000000000000000000.nar.zst upload_id=NmQ5NzQ0OTItYmUzNC00NjU4LTg0ZWYtYmUyOTYxNGVlM2FlLjU5NmM1MjAwLTdjMDAtNGMzOC1hZjY0LWJiYzVjZjc3NGRiZngxNzkwODUwNjY3NTA0MTQ4NTQ3 2026/10/01 10:31:07 WARN Force mode enabled - objects will be deleted immediately without grace period 2026/10/01 10:31:07 INFO Completed multipart upload object_key=nar/gggggggggggggggggggggggggggggg0300000000000000000000.nar.zst upload_id=NmQ5NzQ0OTItYmUzNC00NjU4LTg0ZWYtYmUyOTYxNGVlM2FlLjU5NmM1MjAwLTdjMDAtNGMzOC1hZjY0LWJiYzVjZjc3NGRiZngxNzkwODUwNjY3NTA0MTQ4NTQ3 parts=1 --- PASS: TestCompleteMultipartUpload_ErrorButObjectExists (0.50s) === CONT TestFailedS3DeleteKeepsTombstone 2026/10/01 10:31:07 INFO Garbage collection completed failed-uploads-deleted=0 old-closures-deleted=1 objects-marked-for-deletion=2 objects-deleted-after-grace-period=2 objects-failed-to-delete=0 2026/10/01 10:31:07 INFO Vacuumed table table=pending_closures 2026/10/01 10:31:07 INFO Vacuumed table table=pending_objects 2026/10/01 10:31:07 INFO Vacuumed table table=multipart_uploads 2026/10/01 10:31:07 INFO Vacuumed table table=closures 2026/10/01 10:31:07 INFO Vacuumed table table=objects 2026/10/01 10:31:07 INFO Received complete push request method=POST path=/api/pushes/2/complete --- PASS: TestReadRedirectUsesPublicS3URL (0.51s) === CONT TestNARDeduplicationMetadataUploadBug --- PASS: TestPush_SkippedKeySurvivesGCBeforeCommit (0.52s) === CONT TestForceGCDuringPushOffersSweptObject === RUN TestForceGCDuringPushOffersSweptObject/before_pending_rows === PAUSE TestForceGCDuringPushOffersSweptObject/before_pending_rows === RUN TestForceGCDuringPushOffersSweptObject/after_presence_check === PAUSE TestForceGCDuringPushOffersSweptObject/after_presence_check === CONT TestCreatePendingClosureRejectsOversizedNAR 2026/10/01 10:31:07 INFO Received uploads request method=POST path=/api/pending_closures --- PASS: TestReadProxyDisabled (0.52s) --- PASS: TestCreatePendingClosureRejectsOversizedNAR (0.00s) === CONT TestGCSweepDeliversEachKeyOnce === CONT TestCreatePendingClosureVerifyS3FailureReleasesConnection 2026/10/01 10:31:07 INFO Received uploads request method=POST path=/api/pending_closures --- PASS: TestReadRedirectKeepsNarinfoProxied (0.56s) === CONT TestCacheConfigHandlerMaxNarSize --- PASS: TestCacheConfigHandlerMaxNarSize (0.00s) === CONT TestMultipartUploadAbortedWhenCancelledBeforeRecorded --- PASS: TestReadProxyRangeRequest (0.59s) === CONT TestGenerateLandingPage --- PASS: TestGenerateLandingPage (0.00s) === CONT TestTombstonedObjectOfferedWithoutWaiting 2026/10/01 10:31:07 INFO Received uploads request method=POST path=/api/pending_closures --- PASS: TestCreatePendingClosure_SmallNARUsesSimplePUT (0.61s) === CONT TestReadProxyConditionalGet --- PASS: TestReadRedirectNar (0.63s) === CONT TestGCSweepSkipsPendingObjects 2026/10/01 10:31:07 INFO Received uploads request method=POST path=/api/pending_closures 2026/10/01 10:31:07 INFO Received uploads request method=POST path=/api/pending_closures 2026/10/01 10:31:07 INFO Received uploads request method=POST path=/api/pending_closures 2026/10/01 10:31:07 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/10/01 10:31:07 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.67s) === CONT TestReadProxyOutlastsServerWriteTimeout 2026/10/01 10:31:07 INFO Received uploads request method=POST path=/api/pending_closures 2026/10/01 10:31:07 INFO Aborted multipart uploads count=0 kept=0 2026/10/01 10:31:07 WARN Force mode enabled - objects will be deleted immediately without grace period 2026/10/01 10:31:07 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/10/01 10:31:07 INFO Vacuumed table table=pending_closures 2026/10/01 10:31:07 INFO Vacuumed table table=pending_objects 2026/10/01 10:31:07 INFO Received uploads request method=POST path=/api/pending_closures 2026/10/01 10:31:07 INFO Vacuumed table table=multipart_uploads 2026/10/01 10:31:07 INFO Vacuumed table table=closures 2026/10/01 10:31:07 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/10/01 10:31:07 INFO Vacuumed table table=objects --- PASS: TestCommitRacingPendingCleanupKeepsObjects (0.74s) === CONT TestDeduplicatedObjectsRecordedAsPending 2026/10/01 10:31:07 INFO Completed multipart upload object_key=nar/gggggggggggggggggggggggggggggg0100000000000000000000.nar.zst upload_id=NmQ5NzQ0OTItYmUzNC00NjU4LTg0ZWYtYmUyOTYxNGVlM2FlLjc3OGFjZWIyLWFkNjYtNGUyNS1hMTRkLTcwYWZkOWY1MzJmNngxNzkwODUwNjY3NDA3NjA2NDI0 parts=12 2026/10/01 10:31:07 INFO Received uploads request method=POST path=/api/pending_closures --- PASS: TestGCEndsOnShutdown (0.45s) === CONT TestService_readinessHandler 2026/10/01 10:31:07 INFO Received uploads request method=POST path=/api/pending_closures 2026/10/01 10:31:07 INFO Aborted multipart uploads count=0 kept=0 2026/10/01 10:31:07 INFO Received uploads request method=POST path=/api/pending_closures 2026/10/01 10:31:07 WARN Force mode enabled - objects will be deleted immediately without grace period 2026/10/01 10:31:07 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/10/01 10:31:07 INFO Vacuumed table table=pending_closures 2026/10/01 10:31:07 INFO Vacuumed table table=pending_objects 2026/10/01 10:31:07 INFO Vacuumed table table=multipart_uploads 2026/10/01 10:31:07 INFO Vacuumed table table=closures 2026/10/01 10:31:07 INFO Vacuumed table table=objects --- PASS: TestSweepRechecksPendingAfterLocking (0.51s) === CONT TestPushDedupSurvivesConcurrentGC --- PASS: TestGetExistingObjectsLocksRows (0.47s) === CONT TestService_healthCheckHandler --- PASS: TestRegisterCompletedObjectNeedsPendingRow (0.44s) === CONT TestGCMetrics 2026/10/01 10:31:07 WARN mTLS auth: subject not in bound subjects subject="CN=reader" 2026/10/01 10:31:07 WARN mTLS auth: subject not in bound subjects subject="CN=reader" --- PASS: TestService_NativeMTLS (0.45s) === CONT TestReadProxyHead 2026/10/01 10:31:07 INFO Received cleanup request method=DELETE path=/api/pending_closures 2026/10/01 10:31:07 WARN Failed to abort upload, keeping its closure key=nar/dadb44fdadb44fdadb44fdadb44f000000000000000000000000.nar.zst error="Get \"http://127.0.0.1:1/bucket29/?location=\": dial tcp 127.0.0.1:1: connect: connection refused" code="" 2026/10/01 10:31:07 INFO Aborted multipart uploads count=0 kept=1 2026/10/01 10:31:07 INFO Received cleanup request method=DELETE path=/api/pending_closures 2026/10/01 10:31:07 INFO Aborted multipart uploads count=1 kept=0 --- PASS: TestMultipartCleanup (0.60s) === CONT TestGracefulShutdownDrainsInflight 2026/10/01 10:31:07 INFO Starting HTTP server address=127.0.0.1:44803 2026/10/01 10:31:07 INFO Shutdown signal received, draining in-flight requests timeout=10s 2026/10/01 10:31:07 INFO Aborted multipart uploads count=0 kept=0 2026/10/01 10:31:07 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/10/01 10:31:07 WARN Force mode enabled - objects will be deleted immediately without grace period 2026/10/01 10:31:07 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/10/01 10:31:07 INFO Vacuumed table table=pending_closures 2026/10/01 10:31:07 INFO Vacuumed table table=pending_objects 2026/10/01 10:31:07 INFO Vacuumed table table=multipart_uploads 2026/10/01 10:31:07 INFO Vacuumed table table=closures 2026/10/01 10:31:07 INFO Vacuumed table table=objects 2026/10/01 10:31:07 INFO Aborted multipart uploads count=0 kept=0 2026/10/01 10:31:07 WARN Force mode enabled - objects will be deleted immediately without grace period --- PASS: TestMetricsInventory (0.47s) === CONT TestGCBugBareHashReferences 2026/10/01 10:31:07 INFO Completed multipart upload object_key=nar/hhhhhhhhhhhhhhhhhhhhhhhhhhhhhh0100000000000000000000.nar.zst upload_id=NmQ5NzQ0OTItYmUzNC00NjU4LTg0ZWYtYmUyOTYxNGVlM2FlLmExZDEzMmQ2LWVhMjQtNGU3NS1hZDBmLTBlZGEwMjUxM2UzOXgxNzkwODUwNjY3NjA2MjE0MzIx parts=12 2026/10/01 10:31:07 INFO Received uploads request method=POST path=/api/pending_closures 2026/10/01 10:31:07 INFO Received uploads request method=POST path=/api/pending_closures --- PASS: TestCompletedNarNotReofferedAcrossClosures (0.96s) === CONT TestReadProxyInvalidPath 2026/10/01 10:31:07 INFO Garbage collection completed failed-uploads-deleted=0 old-closures-deleted=0 objects-marked-for-deletion=0 objects-deleted-after-grace-period=1 objects-failed-to-delete=0 2026/10/01 10:31:07 INFO Vacuumed table table=pending_closures 2026/10/01 10:31:08 INFO Vacuumed table table=pending_objects 2026/10/01 10:31:08 INFO Vacuumed table table=multipart_uploads 2026/10/01 10:31:08 INFO Vacuumed table table=closures 2026/10/01 10:31:08 INFO Vacuumed table table=objects --- PASS: TestSweepSkipsRowsLockedByPush (0.50s) === CONT TestGCTaskStore_Fail --- PASS: TestGCTaskStore_Fail (0.00s) === CONT TestGCAdvisoryLockBlocksConcurrentRun 2026/10/01 10:31:08 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/10/01 10:31:08 INFO Completed multipart upload object_key=nar/0000000000000000000000000000000000000000000000000000.nar.zst upload_id=NmQ5NzQ0OTItYmUzNC00NjU4LTg0ZWYtYmUyOTYxNGVlM2FlLjBjYmZjMjg2LTdmYzQtNDM5OC05MTYyLTU0NGVjYjQ4MDFkOHgxNzkwODUwNjY3NjkzMjIzMjU5 parts=10 2026/10/01 10:31:08 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/10/01 10:31:08 INFO Completed upload id=1 2026/10/01 10:31:08 INFO Received get closure request method=GET path=/api/closures/00000000000000000000000000000000 2026/10/01 10:31:08 INFO Received uploads request method=POST path=/api/pending_closures 2026/10/01 10:31:08 INFO Starting cleanup of old closures method=DELETE path=/api/closures --- PASS: TestGracefulShutdownDrainsInflight (0.07s) === CONT TestReadProxy404 2026/10/01 10:31:08 INFO Aborted multipart uploads count=0 kept=0 2026/10/01 10:31:08 INFO Garbage collection completed failed-uploads-deleted=0 old-closures-deleted=1 objects-marked-for-deletion=0 objects-deleted-after-grace-period=0 objects-failed-to-delete=0 2026/10/01 10:31:08 INFO Vacuumed table table=pending_closures 2026/10/01 10:31:08 INFO Vacuumed table table=pending_objects 2026/10/01 10:31:08 INFO Vacuumed table table=multipart_uploads 2026/10/01 10:31:08 INFO Vacuumed table table=closures === NAME TestNARDeduplicationMetadataUploadBug metadata_upload_test.go:48: First store path: /build/TestNARDeduplicationMetadataUploadBug1756132613/001/store/8f1g9vvpq85mig6bjdcss5mklka6xib1-file1.txt 2026/10/01 10:31:08 INFO Vacuumed table table=objects 2026/10/01 10:31:08 INFO Received uploads request method=POST path=/api/pending_closures 2026/10/01 10:31:08 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/10/01 10:31:08 INFO Aborted multipart uploads count=0 kept=0 2026/10/01 10:31:08 WARN Force mode enabled - objects will be deleted immediately without grace period 2026/10/01 10:31:08 INFO Aborted multipart uploads count=0 kept=0 2026/10/01 10:31:08 WARN Force mode enabled - objects will be deleted immediately without grace period 2026/10/01 10:31:08 INFO Completed multipart upload object_key=nar/dadb44fdadb44fdadb44fdadb44f000000000000000000000000.nar.zst upload_id=NmQ5NzQ0OTItYmUzNC00NjU4LTg0ZWYtYmUyOTYxNGVlM2FlLmY1ZDUyNjc1LWFmOWQtNGU0My04ZWFjLWQyYmE5ZTYxNTdmN3gxNzkwODUwNjY3NzU4ODQ3ODA2 parts=10 2026/10/01 10:31:08 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/10/01 10:31:08 INFO Received get closure request method=GET path=/api/closures/00000000000000000000000000000000 --- PASS: TestService_createPendingClosureHandler (1.04s) === CONT TestGCTaskStore_PhaseUpdates --- PASS: TestGCTaskStore_PhaseUpdates (0.00s) === CONT TestLeadEndsOnShutdown 2026/10/01 10:31:08 INFO Received uploads request method=POST path=/api/pending_closures 2026/10/01 10:31:08 INFO Completed upload id=1 2026/10/01 10:31:08 INFO Received uploads request method=POST path=/api/pending_closures 2026/10/01 10:31:08 INFO Garbage collection completed failed-uploads-deleted=0 old-closures-deleted=0 objects-marked-for-deletion=3 objects-deleted-after-grace-period=3 objects-failed-to-delete=0 2026/10/01 10:31:08 ERROR failed to remove object object=nar/dddddddddddddddddddddddddddddddddddddddddddddddddddd.nar.zst error="Access Denied." 2026/10/01 10:31:08 ERROR failed to remove object object=dddddddddddddddddddddddddddddddd.narinfo error="Access Denied." 2026/10/01 10:31:08 INFO Vacuumed table table=pending_closures 2026/10/01 10:31:08 INFO Received uploads request method=POST path=/api/pending_closures 2026/10/01 10:31:08 INFO Vacuumed table table=pending_objects 2026/10/01 10:31:08 INFO Vacuumed table table=multipart_uploads 2026/10/01 10:31:08 INFO Vacuumed table table=closures --- PASS: TestFailedS3DeleteKeepsTombstone (0.55s) === CONT TestReadProxyNarStreaming 2026/10/01 10:31:08 INFO Object in database but missing from S3 key=dadb44fdadb44fdadb44fdadb44f0000.narinfo 2026/10/01 10:31:08 WARN Found objects in DB but missing from S3, will re-upload count=1 --- PASS: TestService_verifyS3Integrity (1.05s) === CONT TestGCTaskStore_CompletedAllowsNewTask --- PASS: TestGCTaskStore_CompletedAllowsNewTask (0.00s) === CONT TestReadProxyNarinfoAlreadyDecompressed 2026/10/01 10:31:08 INFO Vacuumed table table=objects --- PASS: TestGCSweepDeliversEachKeyOnce (0.54s) === CONT TestLeadElectsOneAndHandsOver --- PASS: TestMultipartUploadAbortedWhenCancelledBeforeRecorded (0.50s) === CONT TestGCTaskStore_GetReturnsLatest --- PASS: TestGCTaskStore_GetReturnsLatest (0.00s) === CONT TestReadProxyNarinfo 2026/10/01 10:31:08 INFO Received uploads request method=POST path=/api/pending_closures --- PASS: TestTombstonedObjectOfferedWithoutWaiting (0.49s) === CONT TestResolveDBConnectionString === RUN TestResolveDBConnectionString/flag_wins === PAUSE TestResolveDBConnectionString/flag_wins === RUN TestResolveDBConnectionString/file_when_flag_empty === PAUSE TestResolveDBConnectionString/file_when_flag_empty === RUN TestResolveDBConnectionString/missing_file_is_an_error === PAUSE TestResolveDBConnectionString/missing_file_is_an_error === RUN TestResolveDBConnectionString/PGHOST_allows_empty === PAUSE TestResolveDBConnectionString/PGHOST_allows_empty === RUN TestResolveDBConnectionString/nothing_configured === PAUSE TestResolveDBConnectionString/nothing_configured === CONT TestGCTaskStore_GetEmpty --- PASS: TestGCTaskStore_GetEmpty (0.00s) === CONT TestIsValidCachePath === RUN TestIsValidCachePath/narinfo === PAUSE TestIsValidCachePath/narinfo === RUN TestIsValidCachePath/narinfo_all_nix_base32_chars === PAUSE TestIsValidCachePath/narinfo_all_nix_base32_chars === RUN TestIsValidCachePath/nar_zst === PAUSE TestIsValidCachePath/nar_zst === RUN TestIsValidCachePath/nar_xz === PAUSE TestIsValidCachePath/nar_xz === RUN TestIsValidCachePath/nar_bz2 === PAUSE TestIsValidCachePath/nar_bz2 === RUN TestIsValidCachePath/nar_uncompressed === PAUSE TestIsValidCachePath/nar_uncompressed === RUN TestIsValidCachePath/ls === PAUSE TestIsValidCachePath/ls === RUN TestIsValidCachePath/log === PAUSE TestIsValidCachePath/log === RUN TestIsValidCachePath/realisation === PAUSE TestIsValidCachePath/realisation === RUN TestIsValidCachePath/nix-cache-info === PAUSE TestIsValidCachePath/nix-cache-info === RUN TestIsValidCachePath/index.html === PAUSE TestIsValidCachePath/index.html === RUN TestIsValidCachePath/traversal_parent === PAUSE TestIsValidCachePath/traversal_parent === RUN TestIsValidCachePath/traversal_in_middle === PAUSE TestIsValidCachePath/traversal_in_middle === RUN TestIsValidCachePath/invalid_char_e === PAUSE TestIsValidCachePath/invalid_char_e === RUN TestIsValidCachePath/invalid_char_u === PAUSE TestIsValidCachePath/invalid_char_u === RUN TestIsValidCachePath/random_path === PAUSE TestIsValidCachePath/random_path === RUN TestIsValidCachePath/empty === PAUSE TestIsValidCachePath/empty === RUN TestIsValidCachePath/leading_slash === PAUSE TestIsValidCachePath/leading_slash === RUN TestIsValidCachePath/wrong_extension === PAUSE TestIsValidCachePath/wrong_extension === RUN TestIsValidCachePath/short_hash === PAUSE TestIsValidCachePath/short_hash === CONT TestConcurrentCommitsSharingObjectsDoNotDeadlock 2026/10/01 10:31:08 INFO Received push request method=POST path=/api/pushes --- PASS: TestReadProxyConditionalGet (0.49s) === CONT TestGCTaskStore_ConflictDifferentParams --- PASS: TestGCTaskStore_ConflictDifferentParams (0.00s) === CONT TestOrphanedObjectsGCStressTest 2026/10/01 10:31:08 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/10/01 10:31:08 INFO Uploading 8f1g9vvpq85mig6bjdcss5mklka6xib1-file1.txt (160B) 2026/10/01 10:31:08 WARN Failed to register uploaded object key=nar/1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf.nar.zst error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 WARN Failed to register uploaded object key=8f1g9vvpq85mig6bjdcss5mklka6xib1.ls error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 INFO Received sign narinfos request method=POST path=/api/pushes/1/sign 2026/10/01 10:31:08 INFO Signed narinfos id=1 count=1 2026/10/01 10:31:08 INFO Uploading 1 narinfos 2026/10/01 10:31:08 INFO Received uploads request method=POST path=/api/pending_closures 2026/10/01 10:31:08 INFO Received complete push request method=POST path=/api/pushes/1/complete 2026/10/01 10:31:08 WARN Failed to register uploaded object key=8f1g9vvpq85mig6bjdcss5mklka6xib1.narinfo error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 INFO Upload complete. (68ms) === NAME TestNARDeduplicationMetadataUploadBug metadata_upload_test.go:54: Retrieved narinfo from S3: StorePath: /build/TestNARDeduplicationMetadataUploadBug1756132613/001/store/8f1g9vvpq85mig6bjdcss5mklka6xib1-file1.txt URL: nar/1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf.nar.zst Compression: zstd NarHash: sha256:1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf NarSize: 160 References: CA: fixed:r:sha256:1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf metadata_upload_test.go:55: Retrieved .ls file from S3 (compressed size: 77 bytes) metadata_upload_test.go:55: Decompressed .ls content (64 bytes): {"version":1,"root":{"type":"regular","size":44,"narOffset":96}} 2026/10/01 10:31:08 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/10/01 10:31:08 INFO Aborted multipart uploads count=0 kept=0 2026/10/01 10:31:08 WARN Force mode enabled - objects will be deleted immediately without grace period 2026/10/01 10:31:08 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/10/01 10:31:08 INFO Vacuumed table table=pending_closures 2026/10/01 10:31:08 WARN Failed to abort redundant multipart upload, keeping its row object_key=nar/gggggggggggggggggggggggggggggg0200000000000000000000.nar.zst upload_id=NmQ5NzQ0OTItYmUzNC00NjU4LTg0ZWYtYmUyOTYxNGVlM2FlLjZmOWQ0N2IxLWUyMDgtNGYyMS1iM2Y5LTAyYmM4YmYyYjgxNngxNzkwODUwNjY3ODA1MTgxNzYx error="Get \"http://127.0.0.1:1/bucket8/?location=\": dial tcp 127.0.0.1:1: connect: connection refused" 2026/10/01 10:31:08 INFO Completed multipart upload object_key=nar/gggggggggggggggggggggggggggggg0200000000000000000000.nar.zst upload_id=NmQ5NzQ0OTItYmUzNC00NjU4LTg0ZWYtYmUyOTYxNGVlM2FlLmFiZDdkY2EzLTFkM2YtNDJiZC05MWFhLWIzZDU4Yjc3ZjM4NHgxNzkwODUwNjY3Nzk4OTkyMTQ1 parts=12 2026/10/01 10:31:08 INFO Vacuumed table table=pending_objects 2026/10/01 10:31:08 INFO Vacuumed table table=multipart_uploads 2026/10/01 10:31:08 INFO Vacuumed table table=closures 2026/10/01 10:31:08 INFO Received cleanup request method=DELETE path=/api/pending_closures 2026/10/01 10:31:08 INFO Vacuumed table table=objects 2026/10/01 10:31:08 INFO Aborted multipart uploads count=1 kept=0 --- PASS: TestGCSweepSkipsPendingObjects (0.53s) === CONT TestClientFallsBackToClosures 2026/10/01 10:31:08 INFO Received uploads request method=POST path=/api/pending_closures --- PASS: TestRedundantMultipartUpload (1.17s) === CONT TestOrphanedObjectsGC === NAME TestNARDeduplicationMetadataUploadBug metadata_upload_test.go:64: Second store path (same content): /build/TestNARDeduplicationMetadataUploadBug1756132613/001/store/5yv29n5awmn6fvp07qw1n4n7g0l9rarj-file2.txt --- PASS: TestDeduplicatedObjectsRecordedAsPending (0.43s) === CONT TestGCTaskStore_DeduplicateSameParams --- PASS: TestGCTaskStore_DeduplicateSameParams (0.00s) === CONT TestClientPushesUseOnePush 2026/10/01 10:31:08 WARN readiness check failed error="closed pool" --- PASS: TestService_readinessHandler (0.43s) === CONT TestGCTaskStore_StartNew --- PASS: TestGCTaskStore_StartNew (0.00s) === CONT TestObjectStatsTrigger --- PASS: TestService_healthCheckHandler (0.40s) === CONT TestPinProtectsFromGC 2026/10/01 10:31:08 INFO Received uploads request method=POST path=/api/pending_closures 2026/10/01 10:31:08 INFO Received push request method=POST path=/api/pushes --- PASS: TestPushWaitsForSweepHoldingRow (0.99s) === CONT TestCacheStatsHandler --- PASS: TestCreatePendingClosureVerifyS3FailureReleasesConnection (0.72s) === CONT TestPendingCleanupUsesOneCutoff 2026/10/01 10:31:08 INFO Uploading 0 paths to 127.0.0.1 (1 already cached) 2026/10/01 10:31:08 INFO Received sign narinfos request method=POST path=/api/pushes/2/sign 2026/10/01 10:31:08 INFO Signed narinfos id=2 count=1 2026/10/01 10:31:08 WARN Failed to register uploaded object key=5yv29n5awmn6fvp07qw1n4n7g0l9rarj.ls error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 INFO Uploading 1 narinfos 2026/10/01 10:31:08 INFO Received complete push request method=POST path=/api/pushes/2/complete 2026/10/01 10:31:08 WARN Failed to register uploaded object key=5yv29n5awmn6fvp07qw1n4n7g0l9rarj.narinfo error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 INFO Upload complete. (51ms) === NAME TestNARDeduplicationMetadataUploadBug metadata_upload_test.go:76: Retrieved narinfo from S3: StorePath: /build/TestNARDeduplicationMetadataUploadBug1756132613/001/store/5yv29n5awmn6fvp07qw1n4n7g0l9rarj-file2.txt URL: nar/1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf.nar.zst Compression: zstd NarHash: sha256:1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf NarSize: 160 References: CA: fixed:r:sha256:1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf 2026/10/01 10:31:08 INFO Aborted multipart uploads count=0 kept=0 metadata_upload_test.go:77: Retrieved .ls file from S3 (compressed size: 62 bytes) metadata_upload_test.go:77: Decompressed .ls content (49 bytes): {"version":1,"root":{"type":"regular","size":44}} --- PASS: TestNARDeduplicationMetadataUploadBug (0.75s) === 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 TestClientSharedPathCommittedMidPush 2026/10/01 10:31:08 WARN Force mode enabled - objects will be deleted immediately without grace period 2026/10/01 10:31:08 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/10/01 10:31:08 INFO Vacuumed table table=pending_closures 2026/10/01 10:31:08 INFO Vacuumed table table=pending_objects 2026/10/01 10:31:08 INFO Vacuumed table table=multipart_uploads 2026/10/01 10:31:08 INFO Vacuumed table table=closures 2026/10/01 10:31:08 INFO Vacuumed table table=objects --- PASS: TestGCMetrics (0.43s) === CONT TestService_ReadScope_PublicByDefault --- PASS: TestReadProxyHead (0.39s) === CONT TestClientWithDependencies --- PASS: TestReadProxyInvalidPath (0.34s) === CONT TestService_RequireScope_OIDC 2026/10/01 10:31:08 INFO Aborted multipart uploads count=0 kept=0 2026/10/01 10:31:08 INFO Garbage collection completed failed-uploads-deleted=0 old-closures-deleted=1 objects-marked-for-deletion=0 objects-deleted-after-grace-period=0 objects-failed-to-delete=0 2026/10/01 10:31:08 INFO Vacuumed table table=pending_closures 2026/10/01 10:31:08 INFO Vacuumed table table=pending_objects 2026/10/01 10:31:08 INFO Vacuumed table table=multipart_uploads 2026/10/01 10:31:08 INFO Vacuumed table table=closures 2026/10/01 10:31:08 INFO Vacuumed table table=objects 2026/10/01 10:31:08 INFO Aborted multipart uploads count=0 kept=0 2026/10/01 10:31:08 WARN Force mode enabled - objects will be deleted immediately without grace period 2026/10/01 10:31:08 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/10/01 10:31:08 INFO Vacuumed table table=pending_closures 2026/10/01 10:31:08 INFO Vacuumed table table=pending_objects 2026/10/01 10:31:08 INFO Vacuumed table table=multipart_uploads 2026/10/01 10:31:08 INFO Vacuumed table table=closures 2026/10/01 10:31:08 INFO Vacuumed table table=objects --- PASS: TestPushDedupSurvivesConcurrentGC (0.52s) === CONT TestIsValidUploadKey === RUN TestIsValidUploadKey/narinfo === PAUSE TestIsValidUploadKey/narinfo === RUN TestIsValidUploadKey/nar_zst === PAUSE TestIsValidUploadKey/nar_zst === RUN TestIsValidUploadKey/nar_xz === PAUSE TestIsValidUploadKey/nar_xz === RUN TestIsValidUploadKey/nar_plain === PAUSE TestIsValidUploadKey/nar_plain === RUN TestIsValidUploadKey/listing === PAUSE TestIsValidUploadKey/listing === RUN TestIsValidUploadKey/build_log === PAUSE TestIsValidUploadKey/build_log === RUN TestIsValidUploadKey/build_log_home-manager_file === PAUSE TestIsValidUploadKey/build_log_home-manager_file === RUN TestIsValidUploadKey/build_log_plus_in_name === PAUSE TestIsValidUploadKey/build_log_plus_in_name === RUN TestIsValidUploadKey/build_log_question_mark === PAUSE TestIsValidUploadKey/build_log_question_mark === RUN TestIsValidUploadKey/build_log_equals === PAUSE TestIsValidUploadKey/build_log_equals === RUN TestIsValidUploadKey/realisation === PAUSE TestIsValidUploadKey/realisation === RUN TestIsValidUploadKey/realisation_plus_in_output === PAUSE TestIsValidUploadKey/realisation_plus_in_output === RUN TestIsValidUploadKey/nix-cache-info === PAUSE TestIsValidUploadKey/nix-cache-info === RUN TestIsValidUploadKey/index.html === PAUSE TestIsValidUploadKey/index.html === RUN TestIsValidUploadKey/narinfo_key,_nar_type === PAUSE TestIsValidUploadKey/narinfo_key,_nar_type === RUN TestIsValidUploadKey/nar_key,_narinfo_type === PAUSE TestIsValidUploadKey/nar_key,_narinfo_type === RUN TestIsValidUploadKey/listing_key,_narinfo_type === PAUSE TestIsValidUploadKey/listing_key,_narinfo_type === RUN TestIsValidUploadKey/traversal === PAUSE TestIsValidUploadKey/traversal === RUN TestIsValidUploadKey/traversal_nar === PAUSE TestIsValidUploadKey/traversal_nar === RUN TestIsValidUploadKey/absolute === PAUSE TestIsValidUploadKey/absolute === RUN TestIsValidUploadKey/empty_key === PAUSE TestIsValidUploadKey/empty_key === RUN TestIsValidUploadKey/unknown_type === PAUSE TestIsValidUploadKey/unknown_type === CONT TestService_AuthMiddleware_OIDC --- PASS: TestGCAdvisoryLockBlocksConcurrentRun (0.38s) === CONT TestCreatePin_ReservedPins 2026/10/01 10:31:08 INFO lead: acquired remote=192.0.2.1:1234 2026/10/01 10:31:08 INFO lead: released remote=192.0.2.1:1234 --- PASS: TestLeadEndsOnShutdown (0.34s) === CONT TestUploadHandlersRejectOversizedBody --- PASS: TestReadProxy404 (0.39s) === 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 TestProxyHeadersOnlyTrustedOnSocket 2026/10/01 10:31:08 INFO OIDC provider initialized name=test issuer=http://127.0.0.1:34207/oidc --- PASS: TestReadProxyNarinfoAlreadyDecompressed (0.37s) === CONT TestPendingClosureWriteTimeout === RUN TestPendingClosureWriteTimeout/empty === PAUSE TestPendingClosureWriteTimeout/empty === RUN TestPendingClosureWriteTimeout/400_objects === PAUSE TestPendingClosureWriteTimeout/400_objects === RUN TestPendingClosureWriteTimeout/670k_objects === PAUSE TestPendingClosureWriteTimeout/670k_objects === RUN TestPendingClosureWriteTimeout/handler_extends_the_server's_deadline === PAUSE TestPendingClosureWriteTimeout/handler_extends_the_server's_deadline === 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 TestService_ReadAuthMiddleware 2026/10/01 10:31:08 ERROR Failed to decompress narinfo error="decompressed size exceeds configured limit" --- PASS: TestReadProxyNarStreaming (0.39s) === CONT TestClientErrorHandling === RUN TestClientErrorHandling/InvalidStorePath === PAUSE TestClientErrorHandling/InvalidStorePath === RUN TestClientErrorHandling/InvalidAuthToken === PAUSE TestClientErrorHandling/InvalidAuthToken === RUN TestClientErrorHandling/ServerNotAvailable === PAUSE TestClientErrorHandling/ServerNotAvailable === CONT TestPresentNotReportedWhileGCDeletesClosure === RUN TestUploadHandlersRejectOversizedBody/create_pending_closure === PAUSE TestUploadHandlersRejectOversizedBody/create_pending_closure === RUN TestUploadHandlersRejectOversizedBody/complete_multipart === PAUSE TestUploadHandlersRejectOversizedBody/complete_multipart === RUN TestUploadHandlersRejectOversizedBody/request_more_parts === PAUSE TestUploadHandlersRejectOversizedBody/request_more_parts === CONT TestClientIntegration 2026/10/01 10:31:08 INFO lead: acquired remote=192.0.2.1:1234 2026/10/01 10:31:08 INFO OIDC provider initialized name=test issuer=http://127.0.0.1:35535/oidc --- PASS: TestGCBugBareHashReferences (0.59s) === CONT TestPresentReportsOnlyClosureRoots 2026/10/01 10:31:08 INFO OIDC provider initialized name=test issuer=http://127.0.0.1:42491/oidc 2026/10/01 10:31:08 ERROR Refusing narinfo larger than the limit key=5hcdxyjf9yiq7qf3i4548drb6sjmwa1v.narinfo limit=16777216 --- PASS: TestReadProxyNarinfo (0.60s) === CONT TestService_AuthMiddleware_MTLSBoundSubjects 2026/10/01 10:31:08 INFO lead: released remote=192.0.2.1:1234 --- PASS: TestObjectStatsTrigger (0.52s) === CONT TestService_AuthMiddleware_MTLSProxyHeader 2026/10/01 10:31:08 INFO Received uploads request method=POST path=/api/pending_closures 2026/10/01 10:31:08 INFO lead: acquired remote=192.0.2.1:1234 2026/10/01 10:31:08 INFO lead: released remote=192.0.2.1:1234 --- PASS: TestLeadElectsOneAndHandsOver (0.68s) === CONT TestProxyWriteTimeout === RUN TestProxyWriteTimeout/narinfo === PAUSE TestProxyWriteTimeout/narinfo === RUN TestProxyWriteTimeout/1_GiB_nar === PAUSE TestProxyWriteTimeout/1_GiB_nar === RUN TestProxyWriteTimeout/10_GiB_nar === PAUSE TestProxyWriteTimeout/10_GiB_nar === RUN TestProxyWriteTimeout/unknown_size === PAUSE TestProxyWriteTimeout/unknown_size === CONT TestClientMultipleUploads 2026/10/01 10:31:08 INFO Received uploads request method=POST path=/api/pending_closures 2026/10/01 10:31:08 INFO Received cleanup request method=DELETE path=/api/pending_closures --- PASS: TestCacheStatsHandler (0.53s) === CONT TestClientCADerivations === NAME TestPinProtectsFromGC client_integration_test.go:731: Pinned store path: /build/TestPinProtectsFromGC1534783139/001/store/x90phb3z7c6wphqfmv2aq8s0izgdriyd-pinned-file.txt client_integration_test.go:732: Unpinned store path: /build/TestPinProtectsFromGC1534783139/001/store/fxv40x2lgfd7ldrrnyg1ifz9x0s62gs8-unpinned-file.txt --- PASS: TestService_ReadScope_PublicByDefault (0.52s) === CONT TestServerTLSConfig/no_client_CA === CONT TestServerTLSConfig/not_a_PEM_file === CONT TestServerTLSConfig/missing_CA_file --- PASS: TestServerTLSConfig (0.00s) --- PASS: TestServerTLSConfig/no_client_CA (0.00s) --- PASS: TestServerTLSConfig/not_a_PEM_file (0.00s) --- PASS: TestServerTLSConfig/missing_CA_file (0.00s) === CONT TestPush_RejectsBadRequests/no_roots 2026/10/01 10:31:08 INFO Received push request method=POST path=/api/pushes === CONT TestPush_RejectsBadRequests/bad_root 2026/10/01 10:31:08 INFO Received push request method=POST path=/api/pushes === CONT TestPush_RejectsBadRequests/no_objects 2026/10/01 10:31:08 INFO Received push request method=POST path=/api/pushes === CONT TestPush_RejectsBadRequests/root_not_in_objects 2026/10/01 10:31:08 INFO Received push request method=POST path=/api/pushes === CONT TestForceGCDuringPushOffersSweptObject/before_pending_rows --- PASS: TestPush_RejectsBadRequests (0.48s) --- PASS: TestPush_RejectsBadRequests/no_roots (0.00s) --- PASS: TestPush_RejectsBadRequests/bad_root (0.00s) --- PASS: TestPush_RejectsBadRequests/no_objects (0.00s) --- PASS: TestPush_RejectsBadRequests/root_not_in_objects (0.00s) 2026/10/01 10:31:08 INFO Received uploads request method=POST path=/api/pending_closures 2026/10/01 10:31:08 INFO Received uploads request method=POST path=/api/pending_closures 2026/10/01 10:31:08 INFO Uploading 2 paths to 127.0.0.1 (1 already cached) 2026/10/01 10:31:08 INFO Uploading sw073g4s3l5jwcsdggisby3svd3p6d1l-a (216B) 2026/10/01 10:31:08 INFO Uploading a77k2nqlc5g1hiskaj710b0bsczm3f6p-shared-dep (136B) 2026/10/01 10:31:08 INFO Starting HTTP server address=127.0.0.1:32769 2026/10/01 10:31:08 INFO Starting HTTP server address=/build/TestProxyHeadersOnlyTrustedOnSocket2562930634/001/proxy.sock 2026/10/01 10:31:08 WARN mTLS auth: subject not in bound subjects subject="CN=someone" 2026/10/01 10:31:08 INFO Shutdown signal received, draining in-flight requests timeout=10s --- PASS: TestProxyHeadersOnlyTrustedOnSocket (0.45s) === CONT TestForceGCDuringPushOffersSweptObject/after_presence_check 2026/10/01 10:31:08 WARN Failed to register uploaded object key=s2jn3hjy6gvgd0wasic8qvz1q5qx00ph.ls error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 WARN Failed to register uploaded object key=nar/0jw2ic75mzz5018fdjb6y8xw71np2j4dvmfk4ld5ky9p9ifabkzr.nar.zst error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 WARN Failed to register uploaded object key=nar/1vnl0g6w4zgpfz06rb321mfd3jqsrs120jcl8dg2dxn014875y82.nar.zst error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 WARN Failed to register uploaded object key=sw073g4s3l5jwcsdggisby3svd3p6d1l.ls error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign 2026/10/01 10:31:08 WARN Failed to register uploaded object key=a77k2nqlc5g1hiskaj710b0bsczm3f6p.ls error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 INFO Signed narinfos id=1 count=2 2026/10/01 10:31:08 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign 2026/10/01 10:31:08 INFO Signed narinfos id=2 count=2 2026/10/01 10:31:08 INFO Uploading 4 narinfos 2026/10/01 10:31:08 WARN Failed to register uploaded object key=s2jn3hjy6gvgd0wasic8qvz1q5qx00ph.narinfo error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 WARN Failed to register uploaded object key=a77k2nqlc5g1hiskaj710b0bsczm3f6p.narinfo error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 WARN Failed to register uploaded object key=sw073g4s3l5jwcsdggisby3svd3p6d1l.narinfo error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/10/01 10:31:08 WARN Failed to register uploaded object key=a77k2nqlc5g1hiskaj710b0bsczm3f6p.narinfo error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 INFO Received push request method=POST path=/api/pushes 2026/10/01 10:31:08 INFO Completed upload id=1 2026/10/01 10:31:08 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete 2026/10/01 10:31:08 INFO Completed upload id=2 2026/10/01 10:31:08 INFO Upload complete. (63ms) === NAME TestClientFallsBackToClosures client_pushes_test.go:112: Retrieved narinfo from S3: StorePath: /build/TestClientFallsBackToClosures2294339229/001/store/a77k2nqlc5g1hiskaj710b0bsczm3f6p-shared-dep URL: nar/1vnl0g6w4zgpfz06rb321mfd3jqsrs120jcl8dg2dxn014875y82.nar.zst Compression: zstd NarHash: sha256:1vnl0g6w4zgpfz06rb321mfd3jqsrs120jcl8dg2dxn014875y82 NarSize: 136 References: CA: text:sha256:08nxw05k7b0pzzy0f3swvnw4ldxdbclkdnklpidwmrxdhvfrmv7n 2026/10/01 10:31:08 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/10/01 10:31:08 INFO Uploading x90phb3z7c6wphqfmv2aq8s0izgdriyd-pinned-file.txt (128B) client_pushes_test.go:112: Retrieved narinfo from S3: StorePath: /build/TestClientFallsBackToClosures2294339229/001/store/sw073g4s3l5jwcsdggisby3svd3p6d1l-a URL: nar/0jw2ic75mzz5018fdjb6y8xw71np2j4dvmfk4ld5ky9p9ifabkzr.nar.zst Compression: zstd NarHash: sha256:0jw2ic75mzz5018fdjb6y8xw71np2j4dvmfk4ld5ky9p9ifabkzr NarSize: 216 References: /build/TestClientFallsBackToClosures2294339229/001/store/a77k2nqlc5g1hiskaj710b0bsczm3f6p-shared-dep CA: text:sha256:06hq15fvf64a834m6m7qw57a5r1prcm6k1ncv3dbvdj1gkw2dsys 2026/10/01 10:31:08 INFO Received push request method=POST path=/api/pushes client_pushes_test.go:112: Retrieved narinfo from S3: StorePath: /build/TestClientFallsBackToClosures2294339229/001/store/s2jn3hjy6gvgd0wasic8qvz1q5qx00ph-b URL: nar/0jw2ic75mzz5018fdjb6y8xw71np2j4dvmfk4ld5ky9p9ifabkzr.nar.zst Compression: zstd NarHash: sha256:0jw2ic75mzz5018fdjb6y8xw71np2j4dvmfk4ld5ky9p9ifabkzr NarSize: 216 References: /build/TestClientFallsBackToClosures2294339229/001/store/a77k2nqlc5g1hiskaj710b0bsczm3f6p-shared-dep CA: text:sha256:06hq15fvf64a834m6m7qw57a5r1prcm6k1ncv3dbvdj1gkw2dsys 2026/10/01 10:31:08 WARN Failed to register uploaded object key=x90phb3z7c6wphqfmv2aq8s0izgdriyd.ls error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 INFO Received sign narinfos request method=POST path=/api/pushes/1/sign 2026/10/01 10:31:08 WARN Failed to register uploaded object key=nar/0qmhsg42pqsz7x6hh02j8gznnac3yi3qpjhrqbwvz88i194jbb5s.nar.zst error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 INFO Signed narinfos id=1 count=1 2026/10/01 10:31:08 INFO Uploading 1 narinfos --- PASS: TestClientFallsBackToClosures (0.69s) === CONT TestResolveDBConnectionString/flag_wins === CONT TestResolveDBConnectionString/PGHOST_allows_empty === CONT TestResolveDBConnectionString/nothing_configured === CONT TestResolveDBConnectionString/missing_file_is_an_error === CONT TestResolveDBConnectionString/file_when_flag_empty 2026/10/01 10:31:08 INFO Received complete push request method=POST path=/api/pushes/1/complete === CONT TestIsValidCachePath/narinfo 2026/10/01 10:31:08 WARN Failed to register uploaded object key=x90phb3z7c6wphqfmv2aq8s0izgdriyd.narinfo error="server returned 404: 404 page not found\n" === CONT TestIsValidCachePath/short_hash === CONT TestIsValidCachePath/wrong_extension === CONT TestIsValidCachePath/leading_slash === CONT TestIsValidCachePath/empty === CONT TestIsValidCachePath/random_path === CONT TestIsValidCachePath/invalid_char_u --- PASS: TestResolveDBConnectionString (0.00s) --- PASS: TestResolveDBConnectionString/flag_wins (0.00s) --- PASS: TestResolveDBConnectionString/PGHOST_allows_empty (0.00s) --- PASS: TestResolveDBConnectionString/nothing_configured (0.00s) --- PASS: TestResolveDBConnectionString/missing_file_is_an_error (0.00s) --- PASS: TestResolveDBConnectionString/file_when_flag_empty (0.00s) === CONT TestIsValidCachePath/invalid_char_e === CONT TestIsValidCachePath/traversal_in_middle === CONT TestIsValidCachePath/traversal_parent === CONT TestIsValidCachePath/index.html === CONT TestIsValidCachePath/nix-cache-info === CONT TestIsValidCachePath/realisation === CONT TestIsValidCachePath/log === CONT TestIsValidCachePath/ls === CONT TestIsValidCachePath/nar_uncompressed === CONT TestIsValidCachePath/nar_bz2 === CONT TestIsValidCachePath/nar_xz === CONT TestIsValidCachePath/narinfo_all_nix_base32_chars === CONT TestIsValidCachePath/nar_zst === CONT TestCacheConfigHandler/full_config,_no_issuer --- PASS: TestIsValidCachePath (0.00s) --- PASS: TestIsValidCachePath/narinfo (0.00s) --- PASS: TestIsValidCachePath/short_hash (0.00s) --- PASS: TestIsValidCachePath/wrong_extension (0.00s) --- PASS: TestIsValidCachePath/leading_slash (0.00s) --- PASS: TestIsValidCachePath/empty (0.00s) --- PASS: TestIsValidCachePath/random_path (0.00s) --- PASS: TestIsValidCachePath/invalid_char_u (0.00s) --- PASS: TestIsValidCachePath/invalid_char_e (0.00s) --- PASS: TestIsValidCachePath/traversal_in_middle (0.00s) --- PASS: TestIsValidCachePath/traversal_parent (0.00s) --- PASS: TestIsValidCachePath/index.html (0.00s) --- PASS: TestIsValidCachePath/nix-cache-info (0.00s) --- PASS: TestIsValidCachePath/realisation (0.00s) --- PASS: TestIsValidCachePath/log (0.00s) --- PASS: TestIsValidCachePath/ls (0.00s) --- PASS: TestIsValidCachePath/nar_uncompressed (0.00s) --- PASS: TestIsValidCachePath/nar_bz2 (0.00s) --- PASS: TestIsValidCachePath/nar_xz (0.00s) --- PASS: TestIsValidCachePath/narinfo_all_nix_base32_chars (0.00s) --- PASS: TestIsValidCachePath/nar_zst (0.00s) === 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 TestIsValidUploadKey/narinfo === 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/build_log_plus_in_name === CONT TestIsValidUploadKey/build_log_home-manager_file === CONT TestIsValidUploadKey/build_log === CONT TestIsValidUploadKey/listing === CONT TestIsValidUploadKey/nar_plain === CONT TestIsValidUploadKey/nar_xz === CONT TestIsValidUploadKey/nar_zst === CONT TestIsValidUploadKey/nix-cache-info === CONT TestIsValidUploadKey/narinfo_key,_nar_type === CONT TestIsValidUploadKey/build_log_question_mark === CONT TestIsValidUploadKey/index.html === CONT TestIsValidUploadKey/realisation_plus_in_output === CONT TestIsValidUploadKey/build_log_equals === CONT TestIsValidUploadKey/realisation === CONT TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_nix-cache-info --- PASS: TestIsValidUploadKey (0.00s) --- PASS: TestIsValidUploadKey/narinfo (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/build_log_plus_in_name (0.00s) --- PASS: TestIsValidUploadKey/build_log_home-manager_file (0.00s) --- PASS: TestIsValidUploadKey/build_log (0.00s) --- PASS: TestIsValidUploadKey/listing (0.00s) --- PASS: TestIsValidUploadKey/nar_plain (0.00s) --- PASS: TestIsValidUploadKey/nar_xz (0.00s) --- PASS: TestIsValidUploadKey/nar_zst (0.00s) --- PASS: TestIsValidUploadKey/nix-cache-info (0.00s) --- PASS: TestIsValidUploadKey/narinfo_key,_nar_type (0.00s) --- PASS: TestIsValidUploadKey/build_log_question_mark (0.00s) --- PASS: TestIsValidUploadKey/index.html (0.00s) --- PASS: TestIsValidUploadKey/realisation_plus_in_output (0.00s) --- PASS: TestIsValidUploadKey/build_log_equals (0.00s) --- PASS: TestIsValidUploadKey/realisation (0.00s) 2026/10/01 10:31:08 INFO Received uploads request method=POST path=/ === CONT TestUploadHandlersRejectInvalidKeys/complete_multipart_rejects_non-NAR_key 2026/10/01 10:31:08 INFO Received complete multipart upload request method=POST path=/ === CONT TestUploadHandlersRejectInvalidKeys/request_more_parts_rejects_non-NAR_key 2026/10/01 10:31:08 INFO Received request for more parts method=POST path=/ === CONT TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_path_traversal 2026/10/01 10:31:08 INFO Received uploads request method=POST path=/ --- PASS: TestUploadHandlersRejectInvalidKeys (0.00s) --- PASS: TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_nix-cache-info (0.00s) --- PASS: TestUploadHandlersRejectInvalidKeys/complete_multipart_rejects_non-NAR_key (0.00s) --- PASS: TestUploadHandlersRejectInvalidKeys/request_more_parts_rejects_non-NAR_key (0.00s) --- PASS: TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_path_traversal (0.00s) === CONT TestPendingClosureWriteTimeout/empty === CONT TestPendingClosureWriteTimeout/670k_objects === CONT TestPendingClosureWriteTimeout/400_objects === CONT TestPendingClosureWriteTimeout/handler_extends_the_server's_deadline 2026/10/01 10:31:08 INFO Uploading 2 paths to 127.0.0.1 (1 already cached) 2026/10/01 10:31:08 INFO Uploading jg43qbv05v0s8mpns32f02b1jzkm7v5i-a (216B) 2026/10/01 10:31:08 INFO Uploading 20fjpnyah1k8506ljf3cknn39pdly4yl-shared-dep (136B) 2026/10/01 10:31:08 INFO Upload complete. (53ms) 2026/10/01 10:31:08 WARN Failed to register uploaded object key=vpjwz5kflidr9jfb076i1jqj1vjilbs7.ls error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 WARN Failed to register uploaded object key=jg43qbv05v0s8mpns32f02b1jzkm7v5i.ls error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 WARN Failed to register uploaded object key=nar/0pvqcwcx6ma6c3rfj9bxhbx7vrw9206i0s9g97ymdv18ynxkxp0p.nar.zst error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 WARN Failed to register uploaded object key=nar/1vnl0g6w4zgpfz06rb321mfd3jqsrs120jcl8dg2dxn014875y82.nar.zst error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 INFO Received sign narinfos request method=POST path=/api/pushes/1/sign 2026/10/01 10:31:08 WARN Failed to register uploaded object key=20fjpnyah1k8506ljf3cknn39pdly4yl.ls error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 INFO Signed narinfos id=1 count=3 2026/10/01 10:31:08 INFO Uploading 3 narinfos --- PASS: TestService_ReadAuthMiddleware (0.45s) === CONT TestParseSingleRange/none === CONT TestParseSingleRange/open-ended === CONT TestParseSingleRange/start_far_past_EOF === CONT TestParseSingleRange/suffix === CONT TestParseSingleRange/end_clamped_to_size === CONT TestParseSingleRange/suffix_exceeds_size === CONT TestParseSingleRange/start_past_EOF === CONT TestParseSingleRange/single_byte === CONT TestParseSingleRange/malformed_both_empty === CONT TestParseSingleRange/closed === CONT TestParseSingleRange/malformed_end_before_start === CONT TestParseSingleRange/multi-range_ignored === CONT TestParseSingleRange/unknown_unit === CONT TestParseSingleRange/malformed_no_dash --- 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/suffix (0.00s) --- PASS: TestParseSingleRange/end_clamped_to_size (0.00s) --- PASS: TestParseSingleRange/suffix_exceeds_size (0.00s) --- PASS: TestParseSingleRange/start_past_EOF (0.00s) --- PASS: TestParseSingleRange/single_byte (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/unknown_unit (0.00s) --- PASS: TestParseSingleRange/malformed_no_dash (0.00s) === CONT TestClientErrorHandling/InvalidStorePath 2026/10/01 10:31:08 WARN Failed to register uploaded object key=jg43qbv05v0s8mpns32f02b1jzkm7v5i.narinfo error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 INFO Received complete push request method=POST path=/api/pushes/1/complete 2026/10/01 10:31:08 WARN Failed to register uploaded object key=20fjpnyah1k8506ljf3cknn39pdly4yl.narinfo error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 WARN Failed to register uploaded object key=vpjwz5kflidr9jfb076i1jqj1vjilbs7.narinfo error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 INFO Upload complete. (66ms) === NAME TestClientPushesUseOnePush client_pushes_test.go:97: Retrieved narinfo from S3: StorePath: /build/TestClientPushesUseOnePush2597157331/001/store/20fjpnyah1k8506ljf3cknn39pdly4yl-shared-dep URL: nar/1vnl0g6w4zgpfz06rb321mfd3jqsrs120jcl8dg2dxn014875y82.nar.zst Compression: zstd NarHash: sha256:1vnl0g6w4zgpfz06rb321mfd3jqsrs120jcl8dg2dxn014875y82 NarSize: 136 References: CA: text:sha256:08nxw05k7b0pzzy0f3swvnw4ldxdbclkdnklpidwmrxdhvfrmv7n client_pushes_test.go:97: Retrieved narinfo from S3: StorePath: /build/TestClientPushesUseOnePush2597157331/001/store/jg43qbv05v0s8mpns32f02b1jzkm7v5i-a URL: nar/0pvqcwcx6ma6c3rfj9bxhbx7vrw9206i0s9g97ymdv18ynxkxp0p.nar.zst Compression: zstd NarHash: sha256:0pvqcwcx6ma6c3rfj9bxhbx7vrw9206i0s9g97ymdv18ynxkxp0p NarSize: 216 References: /build/TestClientPushesUseOnePush2597157331/001/store/20fjpnyah1k8506ljf3cknn39pdly4yl-shared-dep CA: text:sha256:0p162w4frpj0pki9ls8ka46a7qkm9bh7shsz0favm1s9q1gdzgaw client_pushes_test.go:97: Retrieved narinfo from S3: StorePath: /build/TestClientPushesUseOnePush2597157331/001/store/vpjwz5kflidr9jfb076i1jqj1vjilbs7-b URL: nar/0pvqcwcx6ma6c3rfj9bxhbx7vrw9206i0s9g97ymdv18ynxkxp0p.nar.zst Compression: zstd NarHash: sha256:0pvqcwcx6ma6c3rfj9bxhbx7vrw9206i0s9g97ymdv18ynxkxp0p NarSize: 216 References: /build/TestClientPushesUseOnePush2597157331/001/store/20fjpnyah1k8506ljf3cknn39pdly4yl-shared-dep CA: text:sha256:0p162w4frpj0pki9ls8ka46a7qkm9bh7shsz0favm1s9q1gdzgaw --- PASS: TestClientPushesUseOnePush (0.72s) === CONT TestClientErrorHandling/ServerNotAvailable === NAME TestClientWithDependencies client_integration_test.go:613: Built derivation: /build/TestClientWithDependencies985794280/001/store/apqmr3c18rhribqca5qn2jhbwqqva3ap-test-script 2026/10/01 10:31:08 INFO Received create pin request method=POST path=/api/pins/worker-x86_64-linux 2026/10/01 10:31:08 WARN Refused reserved pin name=worker-x86_64-linux 2026/10/01 10:31:08 INFO Received create pin request method=POST path=/api/pins/worker-x86_64-linux 2026/10/01 10:31:08 INFO Received create pin request method=POST path=/api/pins/my-app 2026/10/01 10:31:08 INFO Received create pin request method=POST path=/api/pins/worker-x86_64-linux --- PASS: TestCreatePin_ReservedPins (0.56s) === CONT TestClientErrorHandling/InvalidAuthToken === 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 (0.75s) === CONT TestUploadHandlersRejectOversizedBody/create_pending_closure 2026/10/01 10:31:08 INFO Received uploads request method=POST path=/ 2026/10/01 10:31:08 INFO Received push request method=POST path=/api/pushes === NAME TestClientWithDependencies client_integration_test.go:615: Found 1 dependencies (including self) 2026/10/01 10:31:08 INFO Received push request method=POST path=/api/pushes 2026/10/01 10:31:08 INFO Uploading 2 paths to 127.0.0.1 (0 already cached) 2026/10/01 10:31:08 INFO Uploading 7my1p5cpcziqbvdb7s7z78yqnm4ggwvk-top (224B) 2026/10/01 10:31:08 INFO Uploading 9zqc75iyffa4f1liyxcxqfzsamjyaj3p-shared-dep (136B) 2026/10/01 10:31:08 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/10/01 10:31:08 INFO Uploading fxv40x2lgfd7ldrrnyg1ifz9x0s62gs8-unpinned-file.txt (128B) 2026/10/01 10:31:08 WARN Failed to register uploaded object key=9zqc75iyffa4f1liyxcxqfzsamjyaj3p.ls error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 WARN Failed to register uploaded object key=nar/1vnl0g6w4zgpfz06rb321mfd3jqsrs120jcl8dg2dxn014875y82.nar.zst error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 WARN Failed to register uploaded object key=nar/18wk92l57v04gsn0wgp9qq5ral5075yka2f2m5sx32hbl404998m.nar.zst error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 WARN Failed to register uploaded object key=7my1p5cpcziqbvdb7s7z78yqnm4ggwvk.ls error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 INFO Received sign narinfos request method=POST path=/api/pushes/1/sign 2026/10/01 10:31:08 WARN Failed to register uploaded object key=nar/0gh0wdnr6gmk4r5sfzzh12isnl14rgmkrwy1ws41hpsrlndclg5h.nar.zst error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 INFO Signed narinfos id=1 count=2 2026/10/01 10:31:08 INFO Received sign narinfos request method=POST path=/api/pushes/2/sign 2026/10/01 10:31:08 INFO Uploading 2 narinfos 2026/10/01 10:31:08 INFO Signed narinfos id=2 count=1 2026/10/01 10:31:08 WARN Failed to register uploaded object key=fxv40x2lgfd7ldrrnyg1ifz9x0s62gs8.ls error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 INFO Uploading 1 narinfos 2026/10/01 10:31:08 INFO Received complete push request method=POST path=/api/pushes/1/complete 2026/10/01 10:31:08 INFO Received complete push request method=POST path=/api/pushes/2/complete 2026/10/01 10:31:08 WARN Failed to register uploaded object key=9zqc75iyffa4f1liyxcxqfzsamjyaj3p.narinfo error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 WARN Failed to register uploaded object key=fxv40x2lgfd7ldrrnyg1ifz9x0s62gs8.narinfo error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 WARN Failed to register uploaded object key=7my1p5cpcziqbvdb7s7z78yqnm4ggwvk.narinfo error="server returned 404: 404 page not found\n" 2026/10/01 10:31:08 INFO Upload complete. (46ms) --- PASS: TestPresentReportsOnlyClosureRoots (0.41s) === CONT TestUploadHandlersRejectOversizedBody/request_more_parts 2026/10/01 10:31:08 INFO Received request for more parts method=POST path=/ 2026/10/01 10:31:08 INFO Upload complete. (61ms) === NAME TestClientSharedPathCommittedMidPush client_integration_test.go:680: Retrieved narinfo from S3: StorePath: /build/TestClientSharedPathCommittedMidPush701324576/001/store/9zqc75iyffa4f1liyxcxqfzsamjyaj3p-shared-dep URL: nar/1vnl0g6w4zgpfz06rb321mfd3jqsrs120jcl8dg2dxn014875y82.nar.zst Compression: zstd NarHash: sha256:1vnl0g6w4zgpfz06rb321mfd3jqsrs120jcl8dg2dxn014875y82 NarSize: 136 References: CA: text:sha256:08nxw05k7b0pzzy0f3swvnw4ldxdbclkdnklpidwmrxdhvfrmv7n client_integration_test.go:680: Retrieved narinfo from S3: StorePath: /build/TestClientSharedPathCommittedMidPush701324576/001/store/7my1p5cpcziqbvdb7s7z78yqnm4ggwvk-top URL: nar/18wk92l57v04gsn0wgp9qq5ral5075yka2f2m5sx32hbl404998m.nar.zst Compression: zstd NarHash: sha256:18wk92l57v04gsn0wgp9qq5ral5075yka2f2m5sx32hbl404998m NarSize: 224 References: /build/TestClientSharedPathCommittedMidPush701324576/001/store/9zqc75iyffa4f1liyxcxqfzsamjyaj3p-shared-dep CA: text:sha256:0x0r26j4qk3910nppif8drz28b12046dnc4s75mv2xym9yadlyna --- PASS: TestClientSharedPathCommittedMidPush (0.70s) === CONT TestUploadHandlersRejectOversizedBody/complete_multipart 2026/10/01 10:31:08 INFO Received complete multipart upload request method=POST path=/ --- PASS: TestConcurrentCommitsSharingObjectsDoNotDeadlock (0.88s) === CONT TestProxyWriteTimeout/narinfo === CONT TestProxyWriteTimeout/10_GiB_nar === CONT TestProxyWriteTimeout/unknown_size === CONT TestProxyWriteTimeout/1_GiB_nar --- PASS: TestProxyWriteTimeout (0.00s) --- PASS: TestProxyWriteTimeout/narinfo (0.00s) --- PASS: TestProxyWriteTimeout/10_GiB_nar (0.00s) --- PASS: TestProxyWriteTimeout/unknown_size (0.00s) --- PASS: TestProxyWriteTimeout/1_GiB_nar (0.00s) === NAME TestClientIntegration client_integration_test.go:286: Created store path: /build/TestClientIntegration2390141737/002/store/542czfgd1nbr4f8sq97pc6yjry5gaqvk-test-file.txt 2026/10/01 10:31:09 WARN Request failed, retrying attempt=1 max_attempts=6 backoff=100ms error="Post \"http://localhost:19999/api/objects/present\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/objects/present === RUN TestService_RequireScope_OIDC/builder_may_write === PAUSE TestService_RequireScope_OIDC/builder_may_write === RUN TestService_RequireScope_OIDC/builder_may_not_admin === PAUSE TestService_RequireScope_OIDC/builder_may_not_admin === RUN TestService_RequireScope_OIDC/ops_may_admin === PAUSE TestService_RequireScope_OIDC/ops_may_admin === RUN TestService_RequireScope_OIDC/ops_may_not_write === PAUSE TestService_RequireScope_OIDC/ops_may_not_write === RUN TestService_RequireScope_OIDC/reader_may_not_write === PAUSE TestService_RequireScope_OIDC/reader_may_not_write === RUN TestService_RequireScope_OIDC/static_token_may_admin === PAUSE TestService_RequireScope_OIDC/static_token_may_admin === RUN TestService_RequireScope_OIDC/static_token_may_write === PAUSE TestService_RequireScope_OIDC/static_token_may_write === RUN TestService_RequireScope_OIDC/reader_may_read === PAUSE TestService_RequireScope_OIDC/reader_may_read === RUN TestService_RequireScope_OIDC/writer_implies_read === PAUSE TestService_RequireScope_OIDC/writer_implies_read === RUN TestService_RequireScope_OIDC/anonymous_may_not_read === PAUSE TestService_RequireScope_OIDC/anonymous_may_not_read === CONT TestService_RequireScope_OIDC/builder_may_write === CONT TestService_RequireScope_OIDC/reader_may_read === CONT TestService_RequireScope_OIDC/anonymous_may_not_read === CONT TestService_RequireScope_OIDC/reader_may_not_write === CONT TestService_RequireScope_OIDC/writer_implies_read === CONT TestService_RequireScope_OIDC/static_token_may_admin === CONT TestService_RequireScope_OIDC/ops_may_admin === CONT TestService_RequireScope_OIDC/ops_may_not_write === CONT TestService_RequireScope_OIDC/static_token_may_write === CONT TestService_RequireScope_OIDC/builder_may_not_admin === 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 --- PASS: TestService_RequireScope_OIDC (0.68s) --- PASS: TestService_RequireScope_OIDC/builder_may_write (0.00s) --- PASS: TestService_RequireScope_OIDC/reader_may_read (0.00s) --- PASS: TestService_RequireScope_OIDC/anonymous_may_not_read (0.00s) --- PASS: TestService_RequireScope_OIDC/reader_may_not_write (0.00s) --- PASS: TestService_RequireScope_OIDC/static_token_may_admin (0.00s) --- PASS: TestService_RequireScope_OIDC/writer_implies_read (0.00s) --- PASS: TestService_RequireScope_OIDC/ops_may_admin (0.00s) --- PASS: TestService_RequireScope_OIDC/static_token_may_write (0.00s) --- PASS: TestService_RequireScope_OIDC/ops_may_not_write (0.00s) --- PASS: TestService_RequireScope_OIDC/builder_may_not_admin (0.00s) === RUN TestService_AuthMiddleware_OIDC/static_token_still_works_with_OIDC_configured === PAUSE TestService_AuthMiddleware_OIDC/static_token_still_works_with_OIDC_configured === CONT TestService_AuthMiddleware_OIDC/valid_OIDC_token === CONT TestService_AuthMiddleware_OIDC/malformed_token_rejected 2026/10/01 10:31:09 WARN Authentication failed token_preview=not-a-valid-jwt token_length=15 oidc_error="no provider could verify the token (signature or issuer mismatch)" oidc_provider="" tried_providers=[test] === CONT TestService_AuthMiddleware_OIDC/static_token_still_works_with_OIDC_configured === CONT TestService_AuthMiddleware_OIDC/OIDC_token_with_wrong_org_rejected 2026/10/01 10:31:09 INFO Starting cleanup of old closures method=DELETE path=/api/closures 2026/10/01 10:31:09 INFO Garbage collection started 2026/10/01 10:31:09 WARN Authentication failed token_preview=eyJhbGciOi...vtCMn4DTIQ token_length=701 oidc_error="no rule matched: claim \"repository_owner\" value [otherorg] not in allowed patterns [myorg]" oidc_provider=test tried_providers=[test] --- PASS: TestService_AuthMiddleware_OIDC (0.64s) --- PASS: TestService_AuthMiddleware_OIDC/malformed_token_rejected (0.00s) --- PASS: TestService_AuthMiddleware_OIDC/static_token_still_works_with_OIDC_configured (0.00s) --- PASS: TestService_AuthMiddleware_OIDC/valid_OIDC_token (0.00s) --- PASS: TestService_AuthMiddleware_OIDC/OIDC_token_with_wrong_org_rejected (0.00s) 2026/10/01 10:31:09 INFO Aborted multipart uploads count=0 kept=0 2026/10/01 10:31:09 WARN Force mode enabled - objects will be deleted immediately without grace period 2026/10/01 10:31:09 WARN mTLS auth: subject not in bound subjects subject="CN=untrusted,O=Other" 2026/10/01 10:31:09 WARN mTLS auth: bound subjects configured but subject DN unavailable 2026/10/01 10:31:09 WARN mTLS auth: subject not in bound subjects subject="CN=untrusted" --- PASS: TestService_AuthMiddleware_MTLSBoundSubjects (0.34s) 2026/10/01 10:31:09 INFO Received push request method=POST path=/api/pushes 2026/10/01 10:31:09 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/10/01 10:31:09 INFO Uploading apqmr3c18rhribqca5qn2jhbwqqva3ap-test-script (136B) 2026/10/01 10:31:09 WARN Failed to register uploaded object key=apqmr3c18rhribqca5qn2jhbwqqva3ap.ls error="server returned 404: 404 page not found\n" 2026/10/01 10:31:09 WARN Failed to register uploaded object key=nar/1s7yghixzpinyqm7g59kyn3sav81pmnsdi5v63m6x4r2vacy907j.nar.zst error="server returned 404: 404 page not found\n" 2026/10/01 10:31:09 INFO Garbage collection completed failed-uploads-deleted=0 old-closures-deleted=1 objects-marked-for-deletion=3 objects-deleted-after-grace-period=3 objects-failed-to-delete=0 2026/10/01 10:31:09 INFO Received sign narinfos request method=POST path=/api/pushes/1/sign 2026/10/01 10:31:09 WARN Failed to register uploaded object key=log/dqjbc72rgr5qgf18ypmjji1j52cm8ih1-test-script.drv error="server returned 404: 404 page not found\n" 2026/10/01 10:31:09 INFO Signed narinfos id=1 count=1 2026/10/01 10:31:09 INFO Uploading 1 narinfos --- PASS: TestService_AuthMiddleware_MTLSProxyHeader (0.31s) 2026/10/01 10:31:09 INFO Vacuumed table table=pending_closures 2026/10/01 10:31:09 INFO Received complete push request method=POST path=/api/pushes/1/complete 2026/10/01 10:31:09 WARN Failed to register uploaded object key=apqmr3c18rhribqca5qn2jhbwqqva3ap.narinfo error="server returned 404: 404 page not found\n" 2026/10/01 10:31:09 INFO Vacuumed table table=pending_objects 2026/10/01 10:31:09 INFO Vacuumed table table=multipart_uploads 2026/10/01 10:31:09 INFO Vacuumed table table=closures 2026/10/01 10:31:09 INFO Vacuumed table table=objects 2026/10/01 10:31:09 INFO Upload complete. (61ms) === NAME TestClientWithDependencies client_integration_test.go:617: Skipping nix copy test - isolated store (/build/TestClientWithDependencies985794280/001/store) requires matching store prefix 2026/10/01 10:31:09 INFO Received push request method=POST path=/api/pushes --- PASS: TestClientWithDependencies (0.75s) 2026/10/01 10:31:09 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/10/01 10:31:09 INFO Uploading 542czfgd1nbr4f8sq97pc6yjry5gaqvk-test-file.txt (152B) 2026/10/01 10:31:09 WARN Failed to register uploaded object key=nar/11l1b7hsy9g9pz8i2rcn4n128l6pyr2yf58d49r12hr5caw9dzk1.nar.zst error="server returned 404: 404 page not found\n" 2026/10/01 10:31:09 INFO Received sign narinfos request method=POST path=/api/pushes/1/sign 2026/10/01 10:31:09 WARN Failed to register uploaded object key=542czfgd1nbr4f8sq97pc6yjry5gaqvk.ls error="server returned 404: 404 page not found\n" 2026/10/01 10:31:09 INFO Signed narinfos id=1 count=1 2026/10/01 10:31:09 INFO Uploading 1 narinfos 2026/10/01 10:31:09 INFO Received complete push request method=POST path=/api/pushes/1/complete 2026/10/01 10:31:09 WARN Failed to register uploaded object key=542czfgd1nbr4f8sq97pc6yjry5gaqvk.narinfo error="server returned 404: 404 page not found\n" 2026/10/01 10:31:09 INFO Upload complete. (56ms) 2026/10/01 10:31:09 WARN Request failed, retrying attempt=2 max_attempts=6 backoff=182.517262ms error="Post \"http://localhost:19999/api/objects/present\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/objects/present 2026/10/01 10:31:09 INFO Received uploads request method=POST path=/api/pending_closures === NAME TestClientMultipleUploads client_integration_test.go:358: Created store path 0: /build/TestClientMultipleUploads3774988781/001/store/5wwlk2x3zka59wrbxgqqfvw1pwbh4byb-test-file-0.txt 2026/10/01 10:31:09 INFO Aborted multipart uploads count=0 kept=0 2026/10/01 10:31:09 WARN Force mode enabled - objects will be deleted immediately without grace period 2026/10/01 10:31:09 INFO All 1 paths already cached === NAME TestClientIntegration client_integration_test.go:312: Retrieved narinfo from S3: StorePath: /build/TestClientIntegration2390141737/002/store/542czfgd1nbr4f8sq97pc6yjry5gaqvk-test-file.txt URL: nar/11l1b7hsy9g9pz8i2rcn4n128l6pyr2yf58d49r12hr5caw9dzk1.nar.zst Compression: zstd NarHash: sha256:11l1b7hsy9g9pz8i2rcn4n128l6pyr2yf58d49r12hr5caw9dzk1 NarSize: 152 References: CA: fixed:r:sha256:11l1b7hsy9g9pz8i2rcn4n128l6pyr2yf58d49r12hr5caw9dzk1 client_integration_test.go:313: Retrieved .ls file from S3 (compressed size: 77 bytes) client_integration_test.go:313: Decompressed .ls content (64 bytes): {"version":1,"root":{"type":"regular","size":39,"narOffset":96}} client_integration_test.go:316: Testing garbage collection... 2026/10/01 10:31:09 INFO Received uploads request method=POST path=/api/pending_closures 2026/10/01 10:31:09 INFO Garbage collection completed failed-uploads-deleted=0 old-closures-deleted=0 objects-marked-for-deletion=1 objects-deleted-after-grace-period=1 objects-failed-to-delete=0 2026/10/01 10:31:09 INFO Vacuumed table table=pending_closures 2026/10/01 10:31:09 INFO Vacuumed table table=pending_objects 2026/10/01 10:31:09 INFO Vacuumed table table=multipart_uploads 2026/10/01 10:31:09 INFO Vacuumed table table=closures 2026/10/01 10:31:09 INFO Vacuumed table table=objects 2026/10/01 10:31:09 INFO Aborted multipart uploads count=0 kept=0 2026/10/01 10:31:09 WARN Force mode enabled - objects will be deleted immediately without grace period 2026/10/01 10:31:09 INFO Received uploads request method=POST path=/api/pending_closures 2026/10/01 10:31:09 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/10/01 10:31:09 INFO Vacuumed table table=pending_closures 2026/10/01 10:31:09 INFO Vacuumed table table=pending_objects 2026/10/01 10:31:09 INFO Vacuumed table table=multipart_uploads 2026/10/01 10:31:09 INFO Vacuumed table table=closures 2026/10/01 10:31:09 INFO Vacuumed table table=objects === NAME TestClientMultipleUploads client_integration_test.go:358: Created store path 1: /build/TestClientMultipleUploads3774988781/001/store/vzn7im0agv49209hmhag1j50a5bmlp8x-test-file-1.txt --- PASS: TestForceGCDuringPushOffersSweptObject (0.00s) --- PASS: TestForceGCDuringPushOffersSweptObject/before_pending_rows (0.32s) --- PASS: TestForceGCDuringPushOffersSweptObject/after_presence_check (0.29s) 2026/10/01 10:31:09 INFO Starting cleanup of old closures method=DELETE path=/api/closures 2026/10/01 10:31:09 INFO Garbage collection started 2026/10/01 10:31:09 INFO Aborted multipart uploads count=0 kept=0 2026/10/01 10:31:09 WARN Force mode enabled - objects will be deleted immediately without grace period === NAME TestClientCADerivations client_ca_test.go:136: Built CA derivation: /build/TestClientCADerivations1440437141/001/store/h2h9d1lihx83sgy00yg56f5lvqhhx975-ca-test 2026/10/01 10:31:09 INFO Garbage collection completed failed-uploads-deleted=0 old-closures-deleted=1 objects-marked-for-deletion=3 objects-deleted-after-grace-period=3 objects-failed-to-delete=0 === NAME TestClientMultipleUploads client_integration_test.go:358: Created store path 2: /build/TestClientMultipleUploads3774988781/001/store/5lany3z4a5p91skmhq2kylvmdhkiim6n-test-file-2.txt 2026/10/01 10:31:09 INFO Vacuumed table table=pending_closures 2026/10/01 10:31:09 INFO Vacuumed table table=pending_objects 2026/10/01 10:31:09 INFO Vacuumed table table=multipart_uploads 2026/10/01 10:31:09 INFO Vacuumed table table=closures 2026/10/01 10:31:09 INFO Vacuumed table table=objects === NAME TestClientCADerivations client_ca_test.go:139: Found 1 dependencies (including self) 2026/10/01 10:31:09 WARN Authentication failed token_preview=invalid-token token_length=13 reason="static API token mismatch" 2026/10/01 10:31:09 INFO Received push request method=POST path=/api/pushes 2026/10/01 10:31:09 INFO Uploading 3 paths to 127.0.0.1 (0 already cached) 2026/10/01 10:31:09 INFO Uploading 5lany3z4a5p91skmhq2kylvmdhkiim6n-test-file-2.txt (160B) 2026/10/01 10:31:09 INFO Uploading vzn7im0agv49209hmhag1j50a5bmlp8x-test-file-1.txt (160B) 2026/10/01 10:31:09 INFO Uploading 5wwlk2x3zka59wrbxgqqfvw1pwbh4byb-test-file-0.txt (160B) 2026/10/01 10:31:09 WARN Failed to register uploaded object key=5lany3z4a5p91skmhq2kylvmdhkiim6n.ls error="server returned 404: 404 page not found\n" 2026/10/01 10:31:09 WARN Failed to register uploaded object key=nar/1823g6vx4q5zqvr73m7lkq1wpk40fin7bsc792di430yk7sg4lka.nar.zst error="server returned 404: 404 page not found\n" 2026/10/01 10:31:09 WARN Failed to register uploaded object key=nar/13p9pqi0ga6fx2apcwls9hjnv7nmf740ggpn5zvfzdsp5vz2bbg4.nar.zst error="server returned 404: 404 page not found\n" 2026/10/01 10:31:09 WARN Failed to register uploaded object key=5wwlk2x3zka59wrbxgqqfvw1pwbh4byb.ls error="server returned 404: 404 page not found\n" 2026/10/01 10:31:09 INFO Received sign narinfos request method=POST path=/api/pushes/1/sign 2026/10/01 10:31:09 WARN Failed to register uploaded object key=nar/0ahq3izw3h0b0c08p3xdfclh758fwxnp85ccvflasb4vnfsv50ri.nar.zst error="server returned 404: 404 page not found\n" 2026/10/01 10:31:09 WARN Failed to register uploaded object key=vzn7im0agv49209hmhag1j50a5bmlp8x.ls error="server returned 404: 404 page not found\n" 2026/10/01 10:31:09 INFO Signed narinfos id=1 count=3 2026/10/01 10:31:09 INFO Uploading 3 narinfos 2026/10/01 10:31:09 WARN Failed to register uploaded object key=5wwlk2x3zka59wrbxgqqfvw1pwbh4byb.narinfo error="server returned 404: 404 page not found\n" 2026/10/01 10:31:09 WARN Failed to register uploaded object key=vzn7im0agv49209hmhag1j50a5bmlp8x.narinfo error="server returned 404: 404 page not found\n" 2026/10/01 10:31:09 INFO Received complete push request method=POST path=/api/pushes/1/complete 2026/10/01 10:31:09 WARN Failed to register uploaded object key=5lany3z4a5p91skmhq2kylvmdhkiim6n.narinfo error="server returned 404: 404 page not found\n" 2026/10/01 10:31:09 INFO Upload complete. (54ms) === NAME TestClientMultipleUploads client_integration_test.go:369: Uploaded 3 paths in 87.545123ms --- PASS: TestClientMultipleUploads (0.51s) 2026/10/01 10:31:09 WARN Request failed, retrying attempt=3 max_attempts=6 backoff=361.588933ms error="Post \"http://localhost:19999/api/objects/present\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/objects/present 2026/10/01 10:31:09 WARN Authentication failed token_preview=invalid-token token_length=13 reason="static API token mismatch" 2026/10/01 10:31:09 INFO Received push request method=POST path=/api/pushes 2026/10/01 10:31:09 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/10/01 10:31:09 INFO Uploading h2h9d1lihx83sgy00yg56f5lvqhhx975-ca-test (144B) 2026/10/01 10:31:09 WARN Failed to register uploaded object key=nar/04jj7iiy79vhzp5kk3r2751n9x3xa44j98y5bk1ds4jp31kky74n.nar.zst error="server returned 404: 404 page not found\n" 2026/10/01 10:31:09 WARN Failed to register uploaded object key=h2h9d1lihx83sgy00yg56f5lvqhhx975.ls error="server returned 404: 404 page not found\n" 2026/10/01 10:31:09 WARN Failed to register uploaded object key=log/xzbxnv5lkswd9ml6lvvv7ayf84y7si0f-ca-test.drv error="server returned 404: 404 page not found\n" 2026/10/01 10:31:09 INFO Received sign narinfos request method=POST path=/api/pushes/1/sign 2026/10/01 10:31:09 INFO Signed narinfos id=1 count=1 2026/10/01 10:31:09 INFO Uploading 1 narinfos 2026/10/01 10:31:09 INFO Received complete push request method=POST path=/api/pushes/1/complete 2026/10/01 10:31:09 WARN Failed to register uploaded object key=h2h9d1lihx83sgy00yg56f5lvqhhx975.narinfo error="server returned 404: 404 page not found\n" 2026/10/01 10:31:09 INFO Upload complete. (86ms) === NAME TestClientCADerivations client_ca_test.go:180: Narinfo contains CA field: StorePath: /build/TestClientCADerivations1440437141/001/store/h2h9d1lihx83sgy00yg56f5lvqhhx975-ca-test URL: nar/04jj7iiy79vhzp5kk3r2751n9x3xa44j98y5bk1ds4jp31kky74n.nar.zst Compression: zstd NarHash: sha256:04jj7iiy79vhzp5kk3r2751n9x3xa44j98y5bk1ds4jp31kky74n NarSize: 144 References: Deriver: /build/TestClientCADerivations1440437141/001/store/xzbxnv5lkswd9ml6lvvv7ayf84y7si0f-ca-test.drv CA: fixed:r:sha256:04jj7iiy79vhzp5kk3r2751n9x3xa44j98y5bk1ds4jp31kky74n client_ca_test.go:185: Checking for realisation files in S3... client_ca_test.go:207: No realisation files uploaded - this is expected for locally built CA derivations client_ca_test.go:208: Locally built CA derivations don't have DrvOutput IDs until they're substituted from a cache --- PASS: TestPresentNotReportedWhileGCDeletesClosure (0.91s) === 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://bucket82?endpoint=http://localhost:33963®ion=eu-west-1' is for Nix stores with prefix '/nix/store', not '/build/TestClientCADerivations1440437141/001/store' client_ca_test.go:259: nix copy failed (might be expected with isolated stores): exit status 1 --- PASS: TestClientCADerivations (0.61s) 2026/10/01 10:31:09 WARN Request failed, retrying attempt=4 max_attempts=6 backoff=811.242456ms error="Post \"http://localhost:19999/api/objects/present\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/objects/present === 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: TestPendingClosureWriteTimeout (0.00s) --- PASS: TestPendingClosureWriteTimeout/empty (0.00s) --- PASS: TestPendingClosureWriteTimeout/670k_objects (0.00s) --- PASS: TestPendingClosureWriteTimeout/400_objects (0.00s) --- PASS: TestPendingClosureWriteTimeout/handler_extends_the_server's_deadline (1.05s) === 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.85s) --- PASS: TestUploadHandlersRejectOversizedBody (0.15s) --- PASS: TestUploadHandlersRejectOversizedBody/request_more_parts (0.07s) --- PASS: TestUploadHandlersRejectOversizedBody/complete_multipart (0.07s) --- PASS: TestUploadHandlersRejectOversizedBody/create_pending_closure (1.06s) 2026/10/01 10:31:10 WARN Request failed, retrying attempt=5 max_attempts=6 backoff=1.519328864s error="Post \"http://localhost:19999/api/objects/present\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/objects/present 2026/10/01 10:31:11 INFO Garbage collection progress phase="" failed_uploads_deleted=0 old_closures_deleted=1 objects_marked=3 objects_deleted=3 objects_failed=0 2026/10/01 10:31:11 INFO Received create pin request method=POST path=/api/pins/myapp 2026/10/01 10:31:11 INFO Created/updated pin name=myapp store_path=/build/TestPinProtectsFromGC1534783139/001/store/x90phb3z7c6wphqfmv2aq8s0izgdriyd-pinned-file.txt narinfo_key=x90phb3z7c6wphqfmv2aq8s0izgdriyd.narinfo 2026/10/01 10:31:11 INFO Starting cleanup of old closures method=DELETE path=/api/closures 2026/10/01 10:31:11 INFO Garbage collection started 2026/10/01 10:31:11 INFO Aborted multipart uploads count=0 kept=0 2026/10/01 10:31:11 WARN Force mode enabled - objects will be deleted immediately without grace period 2026/10/01 10:31:11 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/10/01 10:31:11 INFO Vacuumed table table=pending_closures 2026/10/01 10:31:11 INFO Vacuumed table table=pending_objects 2026/10/01 10:31:11 INFO Vacuumed table table=multipart_uploads 2026/10/01 10:31:11 INFO Vacuumed table table=closures 2026/10/01 10:31:11 INFO Vacuumed table table=objects 2026/10/01 10:31:11 INFO Garbage collection progress phase="" failed_uploads_deleted=0 old_closures_deleted=1 objects_marked=3 objects_deleted=3 objects_failed=0 === NAME TestClientIntegration client_integration_test.go:323: Objects in database after GC: client_integration_test.go:323: Successfully deleted all objects with GC --force --- PASS: TestClientIntegration (2.60s) 2026/10/01 10:31:11 WARN Rate limiter enabled after throttle name=s3-test rate=5 2026/10/01 10:31:11 WARN S3 rate limit hit operation="complete multipart upload" error="Please reduce your request rate." === NAME TestCompleteMultipartUploadHandler_RateLimitTriggersThrottle throttle_test.go:213: Proxy stats: total=13, throttled=10, completeMultipart=10 throttle_test.go:215: Rate limiter: enabled=true, rate=5.00 --- PASS: TestCompleteMultipartUploadHandler_RateLimitTriggersThrottle (4.49s) 2026/10/01 10:31:12 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/10/01 10:31:12 WARN Request failed, retrying attempt=2 max_attempts=6 backoff=210.160942ms error="Get \"http://localhost:19999/api/cache-config\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/cache-config 2026/10/01 10:31:12 WARN Request failed, retrying attempt=3 max_attempts=6 backoff=435.88014ms error="Get \"http://localhost:19999/api/cache-config\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/cache-config --- PASS: TestReadProxyOutlastsServerWriteTimeout (4.68s) 2026/10/01 10:31:12 WARN Request failed, retrying attempt=4 max_attempts=6 backoff=771.427523ms error="Get \"http://localhost:19999/api/cache-config\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/cache-config === NAME TestPinProtectsFromGC client_integration_test.go:840: Pin successfully protected closure from garbage collection --- PASS: TestPinProtectsFromGC (4.77s) 2026/10/01 10:31:13 WARN Request failed, retrying attempt=5 max_attempts=6 backoff=1.601178568s error="Get \"http://localhost:19999/api/cache-config\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/cache-config 2026/10/01 10:31:14 INFO Aborted multipart uploads count=1 kept=0 2026/10/01 10:31:14 INFO Received cleanup request method=DELETE path=/api/pending_closures 2026/10/01 10:31:14 INFO Aborted multipart uploads count=1 kept=0 --- PASS: TestPendingCleanupUsesOneCutoff (6.52s) 2026/10/01 10:31:15 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/10/01 10:31:15 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/10/01 10:31:15 WARN Request failed, retrying attempt=2 max_attempts=6 backoff=182.974075ms error="Get \"http://localhost:19999/api/cache-config\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/cache-config 2026/10/01 10:31:15 WARN Request failed, retrying attempt=3 max_attempts=6 backoff=368.678322ms error="Get \"http://localhost:19999/api/cache-config\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/cache-config 2026/10/01 10:31:15 WARN Request failed, retrying attempt=4 max_attempts=6 backoff=816.099233ms error="Get \"http://localhost:19999/api/cache-config\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/cache-config 2026/10/01 10:31:16 WARN Request failed, retrying attempt=5 max_attempts=6 backoff=1.697955708s error="Get \"http://localhost:19999/api/cache-config\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/cache-config 2026/10/01 10:31:18 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/10/01 10:31:18 WARN Request failed, retrying attempt=2 max_attempts=6 backoff=209.887985ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures 2026/10/01 10:31:18 WARN Request failed, retrying attempt=3 max_attempts=6 backoff=420.722269ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures 2026/10/01 10:31:19 WARN Request failed, retrying attempt=4 max_attempts=6 backoff=832.137218ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures 2026/10/01 10:31:19 WARN Request failed, retrying attempt=5 max_attempts=6 backoff=1.53323396s 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.28s) --- PASS: TestClientErrorHandling/InvalidAuthToken (0.35s) --- PASS: TestClientErrorHandling/ServerNotAvailable (12.49s) PASS 2026-10-01 10:31:21.669 UTC [129] LOG: received smart shutdown request 2026-10-01 10:31:21.674 UTC [129] LOG: background worker "logical replication launcher" (PID 139) exited with exit code 1 2026-10-01 10:31:21.686 UTC [134] LOG: shutting down 2026-10-01 10:31:21.686 UTC [134] LOG: checkpoint starting: shutdown immediate 2026-10-01 10:31:22.525 UTC [134] LOG: checkpoint complete: wrote 10624 buffers (64.8%), wrote 5 SLRU buffers; 0 WAL file(s) added, 0 removed, 25 recycled; write=0.175 s, sync=0.635 s, total=0.840 s; sync files=29320, longest=0.002 s, average=0.001 s; distance=405610 kB, estimate=405610 kB; lsn=0/1A380540, redo lsn=0/1A380540 2026-10-01 10:31:22.601 UTC [129] LOG: database system is shut down Running OIDC tests... === RUN TestAudienceForIssuer === PAUSE TestAudienceForIssuer === RUN TestGlobMatch === PAUSE TestGlobMatch === RUN TestValidateToken_ValidToken === PAUSE TestValidateToken_ValidToken === RUN TestValidateToken_WrongAudience === PAUSE TestValidateToken_WrongAudience === RUN TestValidateToken_Expired === PAUSE TestValidateToken_Expired === RUN TestValidateToken_BoundClaimsMismatch === PAUSE TestValidateToken_BoundClaimsMismatch === RUN TestValidateToken_BoundSubjectMismatch === PAUSE TestValidateToken_BoundSubjectMismatch === RUN TestValidateToken_MultipleProviders === PAUSE TestValidateToken_MultipleProviders === RUN TestValidateToken_NoMatchingProvider === PAUSE TestValidateToken_NoMatchingProvider === RUN TestValidateToken_KubernetesServiceAccount === PAUSE TestValidateToken_KubernetesServiceAccount === RUN TestNewValidator_KubernetesRequiresCA === PAUSE TestNewValidator_KubernetesRequiresCA === RUN TestValidateToken_KubernetesIssuerFromOwnToken === PAUSE TestValidateToken_KubernetesIssuerFromOwnToken === RUN TestPins_ReservedForMatchingRule === PAUSE TestPins_ReservedForMatchingRule === RUN TestPins_TopLevelShorthand === PAUSE TestPins_TopLevelShorthand === RUN TestPins_ConfigValidation === PAUSE TestPins_ConfigValidation === RUN TestScopes_LegacyProviderDefaultsToWrite === PAUSE TestScopes_LegacyProviderDefaultsToWrite === RUN TestScopes_Rules === PAUSE TestScopes_Rules === RUN TestScopes_ConfigValidation === PAUSE TestScopes_ConfigValidation === CONT TestAudienceForIssuer === CONT TestValidateToken_KubernetesServiceAccount === CONT TestPins_ConfigValidation --- PASS: TestAudienceForIssuer (0.00s) === CONT TestValidateToken_NoMatchingProvider === CONT TestValidateToken_MultipleProviders === CONT TestValidateToken_BoundSubjectMismatch === CONT TestValidateToken_BoundClaimsMismatch === CONT TestValidateToken_Expired === CONT TestValidateToken_WrongAudience === CONT TestValidateToken_ValidToken === CONT TestGlobMatch === 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 --- PASS: TestPins_ConfigValidation (0.00s) === CONT TestScopes_Rules === CONT TestScopes_ConfigValidation === CONT TestScopes_LegacyProviderDefaultsToWrite === CONT TestValidateToken_KubernetesIssuerFromOwnToken === CONT TestNewValidator_KubernetesRequiresCA --- PASS: TestScopes_ConfigValidation (0.00s) === CONT TestPins_ReservedForMatchingRule === CONT TestPins_TopLevelShorthand === PAUSE TestGlobMatch/foo*_foobar === RUN TestGlobMatch/foo*_bar === PAUSE TestGlobMatch/foo*_bar === RUN TestGlobMatch/*bar_bar === PAUSE TestGlobMatch/*bar_bar === RUN TestGlobMatch/*bar_foobar === PAUSE TestGlobMatch/*bar_foobar === RUN TestGlobMatch/*bar_foo === PAUSE TestGlobMatch/*bar_foo === RUN TestGlobMatch/foo*bar_foobar === PAUSE TestGlobMatch/foo*bar_foobar === RUN TestGlobMatch/foo*bar_foo123bar === PAUSE TestGlobMatch/foo*bar_foo123bar === RUN TestGlobMatch/foo*bar_foobarbaz === PAUSE TestGlobMatch/foo*bar_foobarbaz === RUN TestGlobMatch/*/*_foo/bar === PAUSE TestGlobMatch/*/*_foo/bar === RUN TestGlobMatch/*/*_foo === PAUSE TestGlobMatch/*/*_foo === RUN TestGlobMatch/refs/heads/*_refs/heads/main === PAUSE TestGlobMatch/refs/heads/*_refs/heads/main === RUN TestGlobMatch/refs/heads/*_refs/tags/v1.0 === PAUSE TestGlobMatch/refs/heads/*_refs/tags/v1.0 === RUN TestGlobMatch/refs/*/main_refs/heads/main === PAUSE TestGlobMatch/refs/*/main_refs/heads/main === RUN TestGlobMatch/fo?_foo === PAUSE TestGlobMatch/fo?_foo === RUN TestGlobMatch/fo?_fo === PAUSE TestGlobMatch/fo?_fo === RUN TestGlobMatch/fo?_fooo === PAUSE TestGlobMatch/fo?_fooo === RUN TestGlobMatch/?oo_foo === PAUSE TestGlobMatch/?oo_foo === RUN TestGlobMatch/?oo_boo === PAUSE TestGlobMatch/?oo_boo === RUN TestGlobMatch/repo:myorg/*:*_repo:myorg/myrepo:ref:refs/heads/main === PAUSE TestGlobMatch/repo:myorg/*:*_repo:myorg/myrepo:ref:refs/heads/main === RUN TestGlobMatch/repo:myorg/*:*_repo:otherorg/myrepo:ref:refs/heads/main === PAUSE TestGlobMatch/repo:myorg/*:*_repo:otherorg/myrepo:ref:refs/heads/main === CONT TestGlobMatch/foo_foo === CONT TestGlobMatch/fo?_fooo === CONT TestGlobMatch/fo?_fo === CONT TestGlobMatch/fo?_foo === CONT TestGlobMatch/refs/*/main_refs/heads/main === CONT TestGlobMatch/refs/heads/*_refs/tags/v1.0 === CONT TestGlobMatch/refs/heads/*_refs/heads/main === CONT TestGlobMatch/*/*_foo === CONT TestGlobMatch/*/*_foo/bar === CONT TestGlobMatch/foo*bar_foobarbaz === CONT TestGlobMatch/foo*bar_foo123bar === CONT TestGlobMatch/foo*bar_foobar === CONT TestGlobMatch/*bar_foo === CONT TestGlobMatch/*bar_foobar === CONT TestGlobMatch/?oo_foo === CONT TestGlobMatch/?oo_boo === CONT TestGlobMatch/*bar_bar === CONT TestGlobMatch/foo*_bar === CONT TestGlobMatch/foo*_foobar === CONT TestGlobMatch/foo*_foo === CONT TestGlobMatch/*_anything === CONT TestGlobMatch/*_ === CONT TestGlobMatch/foo_bar === CONT TestGlobMatch/repo:myorg/*:*_repo:myorg/myrepo:ref:refs/heads/main === CONT TestGlobMatch/repo:myorg/*:*_repo:otherorg/myrepo:ref:refs/heads/main --- PASS: TestGlobMatch (0.00s) --- PASS: TestGlobMatch/foo_foo (0.00s) --- PASS: TestGlobMatch/fo?_fooo (0.00s) --- PASS: TestGlobMatch/fo?_fo (0.00s) --- PASS: TestGlobMatch/fo?_foo (0.00s) --- PASS: TestGlobMatch/refs/*/main_refs/heads/main (0.00s) --- PASS: TestGlobMatch/refs/heads/*_refs/tags/v1.0 (0.00s) --- PASS: TestGlobMatch/refs/heads/*_refs/heads/main (0.00s) --- PASS: TestGlobMatch/*/*_foo (0.00s) --- PASS: TestGlobMatch/*/*_foo/bar (0.00s) --- PASS: TestGlobMatch/foo*bar_foobarbaz (0.00s) --- PASS: TestGlobMatch/foo*bar_foo123bar (0.00s) --- PASS: TestGlobMatch/foo*bar_foobar (0.00s) --- PASS: TestGlobMatch/*bar_foo (0.00s) --- PASS: TestGlobMatch/*bar_foobar (0.00s) --- PASS: TestGlobMatch/?oo_foo (0.00s) --- PASS: TestGlobMatch/?oo_boo (0.00s) --- PASS: TestGlobMatch/*bar_bar (0.00s) --- PASS: TestGlobMatch/foo*_bar (0.00s) --- PASS: TestGlobMatch/foo*_foobar (0.00s) --- PASS: TestGlobMatch/foo*_foo (0.00s) --- PASS: TestGlobMatch/*_anything (0.00s) --- PASS: TestGlobMatch/*_ (0.00s) --- PASS: TestGlobMatch/foo_bar (0.00s) --- PASS: TestGlobMatch/repo:myorg/*:*_repo:myorg/myrepo:ref:refs/heads/main (0.00s) --- PASS: TestGlobMatch/repo:myorg/*:*_repo:otherorg/myrepo:ref:refs/heads/main (0.00s) 2026/10/01 10:31:23 INFO OIDC provider initialized name=test issuer=http://127.0.0.1:37865/oidc --- PASS: TestValidateToken_ValidToken (0.03s) 2026/10/01 10:31:24 INFO OIDC provider initialized name=kubernetes issuer=https://127.0.0.1:35827 --- PASS: TestValidateToken_KubernetesServiceAccount (0.05s) 2026/10/01 10:31:24 INFO OIDC provider initialized name=test issuer=http://127.0.0.1:41565/oidc --- PASS: TestScopes_Rules (0.06s) 2026/10/01 10:31:24 INFO OIDC provider initialized name=test issuer=http://127.0.0.1:45307/oidc --- PASS: TestValidateToken_BoundSubjectMismatch (0.07s) 2026/10/01 10:31:24 INFO OIDC provider initialized name=test issuer=http://127.0.0.1:34331/oidc 2026/10/01 10:31:24 INFO OIDC provider initialized name=test issuer=http://127.0.0.1:36877/oidc --- PASS: TestPins_TopLevelShorthand (0.07s) --- PASS: TestPins_ReservedForMatchingRule (0.08s) 2026/10/01 10:31:24 INFO OIDC provider initialized name=test issuer=http://127.0.0.1:46081/oidc --- PASS: TestValidateToken_BoundClaimsMismatch (0.11s) 2026/10/01 10:31:24 http: TLS handshake error from 127.0.0.1:37200: remote error: tls: bad certificate --- PASS: TestNewValidator_KubernetesRequiresCA (0.13s) 2026/10/01 10:31:24 INFO OIDC provider initialized name=test issuer=http://127.0.0.1:45889/oidc --- PASS: TestValidateToken_Expired (0.14s) 2026/10/01 10:31:24 INFO OIDC provider initialized name=test issuer=http://127.0.0.1:43491/oidc --- PASS: TestScopes_LegacyProviderDefaultsToWrite (0.19s) 2026/10/01 10:31:24 INFO OIDC provider initialized name=test issuer=http://127.0.0.1:33249/oidc --- PASS: TestValidateToken_WrongAudience (0.20s) 2026/10/01 10:31:24 INFO OIDC provider initialized name=kubernetes issuer=https://oidc.eks.invalid/id/ABC123 --- PASS: TestValidateToken_KubernetesIssuerFromOwnToken (0.30s) 2026/10/01 10:31:24 INFO OIDC provider initialized name=provider1 issuer=http://127.0.0.1:41217/oidc 2026/10/01 10:31:24 INFO OIDC provider initialized name=provider2 issuer=http://127.0.0.1:37457/oidc --- PASS: TestValidateToken_MultipleProviders (0.37s) 2026/10/01 10:31:24 INFO OIDC provider initialized name=provider1 issuer=http://127.0.0.1:44255/oidc --- PASS: TestValidateToken_NoMatchingProvider (0.47s) PASS Running hook tests... === RUN TestSendPathsEmpty === PAUSE TestSendPathsEmpty === RUN TestQueueEnqueueAndFetch === PAUSE TestQueueEnqueueAndFetch === RUN TestQueueDeduplication === PAUSE TestQueueDeduplication === RUN TestQueueRemove === PAUSE TestQueueRemove === RUN TestQueueFetchBatchLimit === PAUSE TestQueueFetchBatchLimit === RUN TestQueueRetryMovesToBack === PAUSE TestQueueRetryMovesToBack === RUN TestQueueFetchRemoveLifecycle === PAUSE TestQueueFetchRemoveLifecycle === RUN TestQueueConcurrentWriters === PAUSE TestQueueConcurrentWriters === RUN TestQueueRemoveLargeClosure === PAUSE TestQueueRemoveLargeClosure === RUN TestServerClientIntegration === PAUSE TestServerClientIntegration === RUN TestServerQueueError === PAUSE TestServerQueueError === RUN TestGetListenerSocketActivation server_test.go:210: === RUN TestGetListenerSocketActivation --- PASS: TestGetListenerSocketActivation (0.00s) PASS --- PASS: TestGetListenerSocketActivation (0.01s) === RUN TestDrainIsolatesPoisonPath === PAUSE TestDrainIsolatesPoisonPath === RUN TestRunNotBlockedByPoisonHead === PAUSE TestRunNotBlockedByPoisonHead === RUN TestDrainGivesUpWhenServerDown === PAUSE TestDrainGivesUpWhenServerDown === RUN TestFailedPathPrunedByLaterClosure === PAUSE TestFailedPathPrunedByLaterClosure === RUN TestWorkerUploadsAndRemoves === PAUSE TestWorkerUploadsAndRemoves === RUN TestWorkerSkipsGCdPaths === PAUSE TestWorkerSkipsGCdPaths === RUN TestWorkerPrunesClosureDeps === PAUSE TestWorkerPrunesClosureDeps === RUN TestDrainTimeout === PAUSE TestDrainTimeout === CONT TestSendPathsEmpty === CONT TestRunNotBlockedByPoisonHead === CONT TestQueueRemoveLargeClosure --- PASS: TestSendPathsEmpty (0.00s) === CONT TestQueueRetryMovesToBack === CONT TestQueueFetchBatchLimit === CONT TestQueueRemove === CONT TestQueueDeduplication === CONT TestQueueEnqueueAndFetch === CONT TestServerClientIntegration === CONT TestDrainIsolatesPoisonPath === CONT TestQueueFetchRemoveLifecycle === CONT TestServerQueueError === CONT TestWorkerSkipsGCdPaths === CONT TestQueueConcurrentWriters === CONT TestDrainTimeout === CONT TestFailedPathPrunedByLaterClosure === CONT TestWorkerPrunesClosureDeps === CONT TestWorkerUploadsAndRemoves === CONT TestDrainGivesUpWhenServerDown 2026/10/01 10:31:24 ERROR Failed to queue paths error="permission denied" count=1 --- PASS: TestServerQueueError (0.00s) --- PASS: TestServerClientIntegration (0.00s) 2026/10/01 10:31:24 INFO Upload queue status pending=2 2026/10/01 10:31:24 INFO Upload queue status pending=2 2026/10/01 10:31:24 INFO Uploading batch count=1 2026/10/01 10:31:24 WARN Store path no longer exists (garbage collected?), removing from queue path=/build/TestWorkerSkipsGCdPaths1871992483/002/nonexistent 2026/10/01 10:31:24 INFO Uploading batch count=4 2026/10/01 10:31:24 ERROR Upload failed error="upload failed" count=4 2026/10/01 10:31:24 INFO Uploading batch count=2 2026/10/01 10:31:24 INFO Uploading batch count=2 2026/10/01 10:31:24 ERROR Upload failed error="upload failed" count=2 2026/10/01 10:31:24 ERROR Upload failed, will retry later error="upload failed" path=/build/TestDrainGivesUpWhenServerDown3245961751/002/a 2026/10/01 10:31:24 ERROR Upload failed, will retry later error="upload failed" path=/build/TestDrainIsolatesPoisonPath3344731763/002/bbb --- PASS: TestQueueFetchBatchLimit (0.01s) 2026/10/01 10:31:24 ERROR Upload failed, will retry later error="upload failed" path=/build/TestDrainGivesUpWhenServerDown3245961751/002/b 2026/10/01 10:31:24 INFO Uploading batch count=1 2026/10/01 10:31:24 INFO Uploading batch count=1 2026/10/01 10:31:24 ERROR Upload failed error="upload failed" count=1 --- PASS: TestQueueEnqueueAndFetch (0.01s) 2026/10/01 10:31:24 INFO Upload queue status pending=3 2026/10/01 10:31:24 INFO Uploading batch count=2 2026/10/01 10:31:24 ERROR Upload failed error="upload failed" count=2 2026/10/01 10:31:24 ERROR Upload failed, will retry later error="upload failed" path=/build/TestDrainGivesUpWhenServerDown3245961751/002/c --- PASS: TestQueueFetchRemoveLifecycle (0.01s) 2026/10/01 10:31:24 INFO Upload queue status pending=2 2026/10/01 10:31:24 INFO Uploading batch count=1 2026/10/01 10:31:24 ERROR Upload failed error="upload failed" count=1 --- PASS: TestQueueDeduplication (0.01s) 2026/10/01 10:31:24 INFO Uploading batch count=2 2026/10/01 10:31:24 ERROR Upload failed, will retry later error="upload failed" path=/build/TestDrainGivesUpWhenServerDown3245961751/002/d 2026/10/01 10:31:24 INFO Uploading batch count=1 --- PASS: TestQueueRetryMovesToBack (0.02s) --- PASS: TestQueueRemove (0.02s) 2026/10/01 10:31:24 INFO Uploading batch count=1 2026/10/01 10:31:24 ERROR Upload failed error="upload failed" count=1 2026/10/01 10:31:24 INFO Uploading batch count=2 2026/10/01 10:31:24 ERROR Upload failed error="upload failed" count=2 2026/10/01 10:31:24 ERROR Upload failed, will retry later error="upload failed" path=/build/TestDrainGivesUpWhenServerDown3245961751/002/e 2026/10/01 10:31:24 INFO Uploading batch count=1 2026/10/01 10:31:24 INFO Uploading batch count=1 2026/10/01 10:31:24 ERROR Upload failed error="upload failed" count=1 2026/10/01 10:31:24 ERROR Upload failed, will retry later error="upload failed" path=/build/TestDrainGivesUpWhenServerDown3245961751/002/f 2026/10/01 10:31:24 INFO Uploading batch count=1 2026/10/01 10:31:24 ERROR Upload failed error="upload failed" count=1 2026/10/01 10:31:24 ERROR Drain finished with paths left in queue remaining=10 2026/10/01 10:31:24 ERROR Drain finished with paths left in queue remaining=1 --- PASS: TestFailedPathPrunedByLaterClosure (0.02s) --- PASS: TestDrainGivesUpWhenServerDown (0.02s) --- PASS: TestDrainIsolatesPoisonPath (0.02s) --- PASS: TestWorkerSkipsGCdPaths (0.03s) --- PASS: TestWorkerPrunesClosureDeps (0.03s) --- PASS: TestWorkerUploadsAndRemoves (0.03s) --- PASS: TestQueueRemoveLargeClosure (0.11s) --- PASS: TestQueueConcurrentWriters (0.15s) 2026/10/01 10:31:24 ERROR Upload failed error="context deadline exceeded" count=2 2026/10/01 10:31:24 ERROR Drain finished with paths left in queue remaining=4 --- PASS: TestDrainTimeout (0.21s) 2026/10/01 10:31:25 INFO Uploading batch count=1 2026/10/01 10:31:25 INFO Uploading batch count=1 2026/10/01 10:31:25 INFO Uploading batch count=1 2026/10/01 10:31:25 ERROR Upload failed error="upload failed" count=1 2026/10/01 10:31:25 INFO Uploading batch count=1 2026/10/01 10:31:25 ERROR Upload failed error="upload failed" count=1 2026/10/01 10:31:25 INFO Uploading batch count=1 2026/10/01 10:31:25 ERROR Upload failed error="upload failed" count=1 2026/10/01 10:31:25 INFO Uploading batch count=1 2026/10/01 10:31:25 ERROR Upload failed error="upload failed" count=1 2026/10/01 10:31:25 ERROR Drain finished with paths left in queue remaining=1 --- PASS: TestRunNotBlockedByPoisonHead (1.03s) PASS