this derivation will be built: /nix/store/nm1pxvsbi9qjvmm15xr8304cpm96fzns-niks3-go-unit-tests.drv building '/nix/store/nm1pxvsbi9qjvmm15xr8304cpm96fzns-niks3-go-unit-tests.drv' on 'ssh-ng://customer@mac02' building '/nix/store/nm1pxvsbi9qjvmm15xr8304cpm96fzns-niks3-go-unit-tests.drv' niks3-go-unit-tests> Running client tests... niks3-go-unit-tests> === RUN TestDoServerRequestAttachesToken niks3-go-unit-tests> === PAUSE TestDoServerRequestAttachesToken niks3-go-unit-tests> === RUN TestCaseHackSuffix niks3-go-unit-tests> === PAUSE TestCaseHackSuffix niks3-go-unit-tests> === RUN TestFilterOversizedClosures niks3-go-unit-tests> === PAUSE TestFilterOversizedClosures niks3-go-unit-tests> === RUN TestPartSizeForNAR niks3-go-unit-tests> === PAUSE TestPartSizeForNAR niks3-go-unit-tests> === RUN TestUploadMultipart_SupersededByPeer niks3-go-unit-tests> === PAUSE TestUploadMultipart_SupersededByPeer niks3-go-unit-tests> === RUN TestDumpPathCaseHackMatchesNix niks3-go-unit-tests> --- PASS: TestDumpPathCaseHackMatchesNix (0.13s) niks3-go-unit-tests> === RUN TestDumpPathCaseHackCollision niks3-go-unit-tests> --- PASS: TestDumpPathCaseHackCollision (0.00s) niks3-go-unit-tests> === RUN TestDumpPathMatchesNix niks3-go-unit-tests> === PAUSE TestDumpPathMatchesNix niks3-go-unit-tests> === RUN TestDumpPathSingleFile niks3-go-unit-tests> === PAUSE TestDumpPathSingleFile niks3-go-unit-tests> === RUN TestDumpPathWriterError niks3-go-unit-tests> === PAUSE TestDumpPathWriterError niks3-go-unit-tests> === RUN TestEncodeNixBase32 niks3-go-unit-tests> === PAUSE TestEncodeNixBase32 niks3-go-unit-tests> === RUN TestEncodeNixBase32WithRealHash niks3-go-unit-tests> === PAUSE TestEncodeNixBase32WithRealHash niks3-go-unit-tests> === RUN TestConvertHashToNix32 niks3-go-unit-tests> === PAUSE TestConvertHashToNix32 niks3-go-unit-tests> === RUN TestGetStorePathHash niks3-go-unit-tests> === PAUSE TestGetStorePathHash niks3-go-unit-tests> === RUN TestPathInfoHashCompatibility niks3-go-unit-tests> === PAUSE TestPathInfoHashCompatibility niks3-go-unit-tests> === RUN TestParsePathInfoJSON niks3-go-unit-tests> === PAUSE TestParsePathInfoJSON niks3-go-unit-tests> === RUN TestParsePathInfoJSONMultiplePaths niks3-go-unit-tests> === PAUSE TestParsePathInfoJSONMultiplePaths niks3-go-unit-tests> === RUN TestPathInfoCACompatibility niks3-go-unit-tests> === PAUSE TestPathInfoCACompatibility niks3-go-unit-tests> === RUN TestRateLimiterFeedback niks3-go-unit-tests> === PAUSE TestRateLimiterFeedback niks3-go-unit-tests> === RUN TestRateLimiterFeedback_400DoesNotCountAsSuccess niks3-go-unit-tests> === PAUSE TestRateLimiterFeedback_400DoesNotCountAsSuccess niks3-go-unit-tests> === RUN TestResolveStorePath niks3-go-unit-tests> === PAUSE TestResolveStorePath niks3-go-unit-tests> === RUN TestDoWithRetry_BodyReplayedViaGetBody niks3-go-unit-tests> === PAUSE TestDoWithRetry_BodyReplayedViaGetBody niks3-go-unit-tests> === RUN TestShellSplit niks3-go-unit-tests> === PAUSE TestShellSplit niks3-go-unit-tests> === RUN TestShellSplitErrors niks3-go-unit-tests> === PAUSE TestShellSplitErrors niks3-go-unit-tests> === RUN TestStreamPushReportsEveryPath niks3-go-unit-tests> === PAUSE TestStreamPushReportsEveryPath niks3-go-unit-tests> === RUN TestStreamPushBatchesUnderLoad niks3-go-unit-tests> === PAUSE TestStreamPushBatchesUnderLoad niks3-go-unit-tests> === RUN TestStreamPushIsolatesFailures niks3-go-unit-tests> === PAUSE TestStreamPushIsolatesFailures niks3-go-unit-tests> === RUN TestStreamPushGivesUpOnDeadServer niks3-go-unit-tests> === PAUSE TestStreamPushGivesUpOnDeadServer niks3-go-unit-tests> === RUN TestStreamPushRequestLine niks3-go-unit-tests> === PAUSE TestStreamPushRequestLine niks3-go-unit-tests> === RUN TestSetClientTLS niks3-go-unit-tests> === PAUSE TestSetClientTLS niks3-go-unit-tests> === RUN TestSetClientTLSDoesNotMutateDefaultTransport niks3-go-unit-tests> === PAUSE TestSetClientTLSDoesNotMutateDefaultTransport niks3-go-unit-tests> === RUN TestSetClientTLSErrors niks3-go-unit-tests> === PAUSE TestSetClientTLSErrors niks3-go-unit-tests> === RUN TestStaticToken niks3-go-unit-tests> === PAUSE TestStaticToken niks3-go-unit-tests> === RUN TestFileTokenReadsAndCaches niks3-go-unit-tests> === PAUSE TestFileTokenReadsAndCaches niks3-go-unit-tests> === RUN TestFileTokenMissing niks3-go-unit-tests> === PAUSE TestFileTokenMissing niks3-go-unit-tests> === RUN TestFileTokenEmpty niks3-go-unit-tests> === PAUSE TestFileTokenEmpty niks3-go-unit-tests> === RUN TestScriptTokenNoExpiryRerunsEveryCall niks3-go-unit-tests> === PAUSE TestScriptTokenNoExpiryRerunsEveryCall niks3-go-unit-tests> === RUN TestScriptTokenCachesUntilRefresh niks3-go-unit-tests> === PAUSE TestScriptTokenCachesUntilRefresh niks3-go-unit-tests> === RUN TestScriptTokenEmptyToken niks3-go-unit-tests> === PAUSE TestScriptTokenEmptyToken niks3-go-unit-tests> === RUN TestScriptTokenBadJSON niks3-go-unit-tests> === PAUSE TestScriptTokenBadJSON niks3-go-unit-tests> === RUN TestScriptTokenScriptFails niks3-go-unit-tests> === PAUSE TestScriptTokenScriptFails niks3-go-unit-tests> === RUN TestScriptTokenEmptyCommand niks3-go-unit-tests> === PAUSE TestScriptTokenEmptyCommand niks3-go-unit-tests> === CONT TestDoServerRequestAttachesToken niks3-go-unit-tests> === CONT TestShellSplit niks3-go-unit-tests> === CONT TestDoWithRetry_BodyReplayedViaGetBody niks3-go-unit-tests> === CONT TestStreamPushGivesUpOnDeadServer niks3-go-unit-tests> === CONT TestStaticToken niks3-go-unit-tests> === CONT TestUploadMultipart_SupersededByPeer niks3-go-unit-tests> --- PASS: TestShellSplit (0.00s) niks3-go-unit-tests> --- PASS: TestStaticToken (0.00s) niks3-go-unit-tests> === RUN TestUploadMultipart_SupersededByPeer/exists niks3-go-unit-tests> === PAUSE TestUploadMultipart_SupersededByPeer/exists niks3-go-unit-tests> === CONT TestStreamPushIsolatesFailures niks3-go-unit-tests> === CONT TestStreamPushBatchesUnderLoad niks3-go-unit-tests> 2026/09/18 18:14:34 ERROR Upload failed error="connection refused" count=20 niks3-go-unit-tests> 2026/09/18 18:14:34 ERROR Server seems unavailable, giving up on batch untried=17 niks3-go-unit-tests> 2026/09/18 18:14:34 ERROR Upload failed error="bad path" count=3 niks3-go-unit-tests> === CONT TestStreamPushReportsEveryPath niks3-go-unit-tests> === CONT TestShellSplitErrors niks3-go-unit-tests> --- PASS: TestShellSplitErrors (0.00s) niks3-go-unit-tests> === CONT TestSetClientTLSDoesNotMutateDefaultTransport niks3-go-unit-tests> === CONT TestPartSizeForNAR niks3-go-unit-tests> === RUN TestPartSizeForNAR/zero_stays_at_minimum niks3-go-unit-tests> === PAUSE TestPartSizeForNAR/zero_stays_at_minimum niks3-go-unit-tests> === RUN TestPartSizeForNAR/small_stays_at_minimum niks3-go-unit-tests> === CONT TestConvertHashToNix32 niks3-go-unit-tests> === PAUSE TestPartSizeForNAR/small_stays_at_minimum niks3-go-unit-tests> === RUN TestPartSizeForNAR/80_GiB_fits_at_minimum niks3-go-unit-tests> === PAUSE TestPartSizeForNAR/80_GiB_fits_at_minimum niks3-go-unit-tests> === RUN TestConvertHashToNix32/SRI_format_to_Nix32 niks3-go-unit-tests> === RUN TestUploadMultipart_SupersededByPeer/missing niks3-go-unit-tests> === PAUSE TestConvertHashToNix32/SRI_format_to_Nix32 niks3-go-unit-tests> === PAUSE TestUploadMultipart_SupersededByPeer/missing niks3-go-unit-tests> === RUN TestConvertHashToNix32/already_Nix32_format niks3-go-unit-tests> === PAUSE TestConvertHashToNix32/already_Nix32_format niks3-go-unit-tests> === RUN TestConvertHashToNix32/invalid_format niks3-go-unit-tests> === PAUSE TestConvertHashToNix32/invalid_format niks3-go-unit-tests> === RUN TestPartSizeForNAR/115_GiB_needs_larger_parts niks3-go-unit-tests> === PAUSE TestPartSizeForNAR/115_GiB_needs_larger_parts niks3-go-unit-tests> === RUN TestPartSizeForNAR/1_TiB niks3-go-unit-tests> === PAUSE TestPartSizeForNAR/1_TiB niks3-go-unit-tests> === RUN TestPartSizeForNAR/5_TiB_S3_max_object niks3-go-unit-tests> === PAUSE TestPartSizeForNAR/5_TiB_S3_max_object niks3-go-unit-tests> === RUN TestPartSizeForNAR/capped_at_5_GiB niks3-go-unit-tests> === PAUSE TestPartSizeForNAR/capped_at_5_GiB niks3-go-unit-tests> === CONT TestSetClientTLSErrors niks3-go-unit-tests> === CONT TestEncodeNixBase32WithRealHash niks3-go-unit-tests> === CONT TestEncodeNixBase32 niks3-go-unit-tests> === RUN TestEncodeNixBase32/test_string_hash niks3-go-unit-tests> --- PASS: TestEncodeNixBase32WithRealHash (0.00s) niks3-go-unit-tests> === CONT TestSetClientTLS niks3-go-unit-tests> === PAUSE TestEncodeNixBase32/test_string_hash niks3-go-unit-tests> === RUN TestEncodeNixBase32/empty_input niks3-go-unit-tests> --- PASS: TestStreamPushReportsEveryPath (0.00s) niks3-go-unit-tests> --- PASS: TestStreamPushIsolatesFailures (0.00s) niks3-go-unit-tests> === CONT TestFilterOversizedClosures niks3-go-unit-tests> === CONT TestDumpPathWriterError niks3-go-unit-tests> === RUN TestFilterOversizedClosures/no_limit_keeps_everything niks3-go-unit-tests> === PAUSE TestFilterOversizedClosures/no_limit_keeps_everything niks3-go-unit-tests> === RUN TestFilterOversizedClosures/closure_with_oversized_dependency_is_skipped niks3-go-unit-tests> === PAUSE TestFilterOversizedClosures/closure_with_oversized_dependency_is_skipped niks3-go-unit-tests> === RUN TestFilterOversizedClosures/all_closures_skipped niks3-go-unit-tests> === PAUSE TestFilterOversizedClosures/all_closures_skipped niks3-go-unit-tests> === CONT TestPathInfoCACompatibility niks3-go-unit-tests> === RUN TestPathInfoCACompatibility/null_ca_field niks3-go-unit-tests> === PAUSE TestPathInfoCACompatibility/null_ca_field niks3-go-unit-tests> === RUN TestPathInfoCACompatibility/old_string_format_-_text niks3-go-unit-tests> === PAUSE TestPathInfoCACompatibility/old_string_format_-_text niks3-go-unit-tests> === PAUSE TestEncodeNixBase32/empty_input niks3-go-unit-tests> === RUN TestPathInfoCACompatibility/old_string_format_-_fixed_recursive niks3-go-unit-tests> === CONT TestResolveStorePath niks3-go-unit-tests> === PAUSE TestPathInfoCACompatibility/old_string_format_-_fixed_recursive niks3-go-unit-tests> === RUN TestPathInfoCACompatibility/new_structured_format_-_text niks3-go-unit-tests> === PAUSE TestPathInfoCACompatibility/new_structured_format_-_text niks3-go-unit-tests> === RUN TestPathInfoCACompatibility/new_structured_format_-_nar_method niks3-go-unit-tests> === PAUSE TestPathInfoCACompatibility/new_structured_format_-_nar_method niks3-go-unit-tests> === CONT TestRateLimiterFeedback_400DoesNotCountAsSuccess niks3-go-unit-tests> 2026/09/18 18:14:34 WARN Rate limiter enabled after throttle name=server-test rate=5 niks3-go-unit-tests> --- PASS: TestStreamPushGivesUpOnDeadServer (0.00s) niks3-go-unit-tests> === CONT TestRateLimiterFeedback niks3-go-unit-tests> === RUN TestRateLimiterFeedback/429_enables_limiter niks3-go-unit-tests> === PAUSE TestRateLimiterFeedback/429_enables_limiter niks3-go-unit-tests> === RUN TestRateLimiterFeedback/503_enables_limiter niks3-go-unit-tests> 2026/09/18 18:14:34 WARN Rate limiter enabled after throttle name=server-test rate=5 niks3-go-unit-tests> 2026/09/18 18:14:34 WARN Request returned retryable status, retrying attempt=1 max_attempts=6 backoff=0s status=503 url=http://127.0.0.1:58151 niks3-go-unit-tests> === PAUSE TestRateLimiterFeedback/503_enables_limiter niks3-go-unit-tests> === RUN TestRateLimiterFeedback/200_does_not_enable_limiter niks3-go-unit-tests> === PAUSE TestRateLimiterFeedback/200_does_not_enable_limiter niks3-go-unit-tests> === RUN TestRateLimiterFeedback/400_does_not_enable_limiter niks3-go-unit-tests> === PAUSE TestRateLimiterFeedback/400_does_not_enable_limiter niks3-go-unit-tests> 2026/09/18 18:14:34 WARN Rate limiter backed off name=server-test rate=5 niks3-go-unit-tests> === CONT TestCaseHackSuffix niks3-go-unit-tests> 2026/09/18 18:14:34 WARN Request returned retryable status, retrying attempt=2 max_attempts=6 backoff=0s status=503 url=http://127.0.0.1:58151 niks3-go-unit-tests> --- PASS: TestDoServerRequestAttachesToken (0.00s) niks3-go-unit-tests> === CONT TestStreamPushRequestLine niks3-go-unit-tests> 2026/09/18 18:14:34 ERROR Upload failed error="stale build claim" count=1 niks3-go-unit-tests> --- PASS: TestResolveStorePath (0.00s) niks3-go-unit-tests> === CONT TestDumpPathSingleFile niks3-go-unit-tests> --- PASS: TestDoWithRetry_BodyReplayedViaGetBody (0.00s) niks3-go-unit-tests> === CONT TestScriptTokenCachesUntilRefresh niks3-go-unit-tests> === RUN TestSetClientTLSErrors/missing_cert_file niks3-go-unit-tests> === PAUSE TestSetClientTLSErrors/missing_cert_file niks3-go-unit-tests> === RUN TestSetClientTLSErrors/missing_key_file niks3-go-unit-tests> === PAUSE TestSetClientTLSErrors/missing_key_file niks3-go-unit-tests> === RUN TestSetClientTLSErrors/missing_ca_file niks3-go-unit-tests> === PAUSE TestSetClientTLSErrors/missing_ca_file niks3-go-unit-tests> === RUN TestSetClientTLSErrors/invalid_ca_file niks3-go-unit-tests> --- PASS: TestSetClientTLSDoesNotMutateDefaultTransport (0.00s) niks3-go-unit-tests> === PAUSE TestSetClientTLSErrors/invalid_ca_file niks3-go-unit-tests> === CONT TestScriptTokenEmptyCommand niks3-go-unit-tests> --- PASS: TestScriptTokenEmptyCommand (0.00s) niks3-go-unit-tests> === CONT TestScriptTokenBadJSON niks3-go-unit-tests> === CONT TestScriptTokenScriptFails niks3-go-unit-tests> === RUN TestSetClientTLS/rejects_connection_without_client_cert niks3-go-unit-tests> === PAUSE TestSetClientTLS/rejects_connection_without_client_cert niks3-go-unit-tests> === RUN TestSetClientTLS/succeeds_with_client_cert_and_CA niks3-go-unit-tests> === PAUSE TestSetClientTLS/succeeds_with_client_cert_and_CA niks3-go-unit-tests> === RUN TestSetClientTLS/preserves_debug_logging_transport niks3-go-unit-tests> === PAUSE TestSetClientTLS/preserves_debug_logging_transport niks3-go-unit-tests> === CONT TestScriptTokenEmptyToken niks3-go-unit-tests> --- PASS: TestScriptTokenScriptFails (0.01s) niks3-go-unit-tests> === CONT TestParsePathInfoJSON niks3-go-unit-tests> === RUN TestParsePathInfoJSON/Nix_format niks3-go-unit-tests> === PAUSE TestParsePathInfoJSON/Nix_format niks3-go-unit-tests> === RUN TestParsePathInfoJSON/Lix_format niks3-go-unit-tests> === PAUSE TestParsePathInfoJSON/Lix_format niks3-go-unit-tests> === RUN TestParsePathInfoJSON/empty_input niks3-go-unit-tests> === PAUSE TestParsePathInfoJSON/empty_input niks3-go-unit-tests> === RUN TestParsePathInfoJSON/whitespace_only niks3-go-unit-tests> === PAUSE TestParsePathInfoJSON/whitespace_only niks3-go-unit-tests> === RUN TestParsePathInfoJSON/invalid_JSON niks3-go-unit-tests> === PAUSE TestParsePathInfoJSON/invalid_JSON niks3-go-unit-tests> === CONT TestParsePathInfoJSONMultiplePaths niks3-go-unit-tests> === RUN TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths niks3-go-unit-tests> === PAUSE TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths niks3-go-unit-tests> === RUN TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths niks3-go-unit-tests> === PAUSE TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths niks3-go-unit-tests> === CONT TestFileTokenEmpty niks3-go-unit-tests> --- PASS: TestFileTokenEmpty (0.00s) niks3-go-unit-tests> === CONT TestScriptTokenNoExpiryRerunsEveryCall niks3-go-unit-tests> --- PASS: TestScriptTokenBadJSON (0.01s) niks3-go-unit-tests> === CONT TestFileTokenMissing niks3-go-unit-tests> --- PASS: TestFileTokenMissing (0.00s) niks3-go-unit-tests> === CONT TestFileTokenReadsAndCaches niks3-go-unit-tests> --- PASS: TestFileTokenReadsAndCaches (0.00s) niks3-go-unit-tests> === CONT TestPathInfoHashCompatibility niks3-go-unit-tests> === RUN TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI) niks3-go-unit-tests> === PAUSE TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI) niks3-go-unit-tests> === RUN TestPathInfoHashCompatibility/old_string_format_with_colon niks3-go-unit-tests> === PAUSE TestPathInfoHashCompatibility/old_string_format_with_colon niks3-go-unit-tests> === RUN TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI niks3-go-unit-tests> === PAUSE TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI niks3-go-unit-tests> === RUN TestPathInfoHashCompatibility/new_structured_format_with_sha512 niks3-go-unit-tests> === PAUSE TestPathInfoHashCompatibility/new_structured_format_with_sha512 niks3-go-unit-tests> === CONT TestGetStorePathHash niks3-go-unit-tests> === RUN TestGetStorePathHash/valid_store_path niks3-go-unit-tests> === PAUSE TestGetStorePathHash/valid_store_path niks3-go-unit-tests> === RUN TestGetStorePathHash/basename_without_hyphen_should_error niks3-go-unit-tests> === PAUSE TestGetStorePathHash/basename_without_hyphen_should_error niks3-go-unit-tests> === RUN TestGetStorePathHash/hash_with_invalid_characters_should_error niks3-go-unit-tests> === PAUSE TestGetStorePathHash/hash_with_invalid_characters_should_error niks3-go-unit-tests> === RUN TestGetStorePathHash/hash_with_wrong_length_should_error niks3-go-unit-tests> === PAUSE TestGetStorePathHash/hash_with_wrong_length_should_error niks3-go-unit-tests> === CONT TestDumpPathMatchesNix niks3-go-unit-tests> --- PASS: TestScriptTokenEmptyToken (0.01s) niks3-go-unit-tests> === CONT TestUploadMultipart_SupersededByPeer/exists niks3-go-unit-tests> --- PASS: TestStreamPushRequestLine (0.02s) niks3-go-unit-tests> === CONT TestUploadMultipart_SupersededByPeer/missing niks3-go-unit-tests> === CONT TestConvertHashToNix32/SRI_format_to_Nix32 niks3-go-unit-tests> === CONT TestConvertHashToNix32/invalid_format niks3-go-unit-tests> --- PASS: TestUploadMultipart_SupersededByPeer (0.00s) niks3-go-unit-tests> --- PASS: TestUploadMultipart_SupersededByPeer/exists (0.00s) niks3-go-unit-tests> --- PASS: TestUploadMultipart_SupersededByPeer/missing (0.00s) niks3-go-unit-tests> === CONT TestPartSizeForNAR/1_TiB niks3-go-unit-tests> === CONT TestPartSizeForNAR/capped_at_5_GiB niks3-go-unit-tests> === CONT TestPartSizeForNAR/5_TiB_S3_max_object niks3-go-unit-tests> === CONT TestPartSizeForNAR/80_GiB_fits_at_minimum niks3-go-unit-tests> === CONT TestPartSizeForNAR/zero_stays_at_minimum niks3-go-unit-tests> === CONT TestPartSizeForNAR/115_GiB_needs_larger_parts niks3-go-unit-tests> === CONT TestConvertHashToNix32/already_Nix32_format niks3-go-unit-tests> === CONT TestPartSizeForNAR/small_stays_at_minimum niks3-go-unit-tests> === CONT TestFilterOversizedClosures/all_closures_skipped niks3-go-unit-tests> --- PASS: TestConvertHashToNix32 (0.00s) niks3-go-unit-tests> --- PASS: TestConvertHashToNix32/SRI_format_to_Nix32 (0.00s) niks3-go-unit-tests> --- PASS: TestConvertHashToNix32/invalid_format (0.00s) niks3-go-unit-tests> --- PASS: TestConvertHashToNix32/already_Nix32_format (0.00s) niks3-go-unit-tests> --- PASS: TestPartSizeForNAR (0.00s) niks3-go-unit-tests> --- PASS: TestPartSizeForNAR/1_TiB (0.00s) niks3-go-unit-tests> --- PASS: TestPartSizeForNAR/capped_at_5_GiB (0.00s) niks3-go-unit-tests> --- PASS: TestPartSizeForNAR/5_TiB_S3_max_object (0.00s) niks3-go-unit-tests> --- PASS: TestPartSizeForNAR/80_GiB_fits_at_minimum (0.00s) niks3-go-unit-tests> --- PASS: TestPartSizeForNAR/zero_stays_at_minimum (0.00s) niks3-go-unit-tests> --- PASS: TestPartSizeForNAR/115_GiB_needs_larger_parts (0.00s) niks3-go-unit-tests> --- PASS: TestPartSizeForNAR/small_stays_at_minimum (0.00s) niks3-go-unit-tests> === CONT TestFilterOversizedClosures/no_limit_keeps_everything niks3-go-unit-tests> 2026/09/18 18:14:34 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=50 niks3-go-unit-tests> === CONT TestEncodeNixBase32/test_string_hash niks3-go-unit-tests> === CONT TestPathInfoCACompatibility/null_ca_field niks3-go-unit-tests> === CONT TestEncodeNixBase32/empty_input niks3-go-unit-tests> --- PASS: TestEncodeNixBase32 (0.00s) niks3-go-unit-tests> --- PASS: TestEncodeNixBase32/test_string_hash (0.00s) niks3-go-unit-tests> --- PASS: TestEncodeNixBase32/empty_input (0.00s) niks3-go-unit-tests> === CONT TestPathInfoCACompatibility/new_structured_format_-_text niks3-go-unit-tests> === CONT TestPathInfoCACompatibility/new_structured_format_-_nar_method niks3-go-unit-tests> === CONT TestPathInfoCACompatibility/old_string_format_-_text niks3-go-unit-tests> === CONT TestFilterOversizedClosures/closure_with_oversized_dependency_is_skipped niks3-go-unit-tests> 2026/09/18 18:14:34 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 niks3-go-unit-tests> --- PASS: TestFilterOversizedClosures (0.00s) niks3-go-unit-tests> --- PASS: TestFilterOversizedClosures/no_limit_keeps_everything (0.00s) niks3-go-unit-tests> --- PASS: TestFilterOversizedClosures/all_closures_skipped (0.00s) niks3-go-unit-tests> --- PASS: TestFilterOversizedClosures/closure_with_oversized_dependency_is_skipped (0.00s) niks3-go-unit-tests> === CONT TestRateLimiterFeedback/429_enables_limiter niks3-go-unit-tests> === CONT TestPathInfoCACompatibility/old_string_format_-_fixed_recursive niks3-go-unit-tests> --- PASS: TestPathInfoCACompatibility (0.00s) niks3-go-unit-tests> --- PASS: TestPathInfoCACompatibility/null_ca_field (0.00s) niks3-go-unit-tests> --- PASS: TestPathInfoCACompatibility/new_structured_format_-_nar_method (0.00s) niks3-go-unit-tests> --- PASS: TestPathInfoCACompatibility/new_structured_format_-_text (0.00s) niks3-go-unit-tests> --- PASS: TestPathInfoCACompatibility/old_string_format_-_text (0.00s) niks3-go-unit-tests> --- PASS: TestPathInfoCACompatibility/old_string_format_-_fixed_recursive (0.00s) niks3-go-unit-tests> === CONT TestRateLimiterFeedback/200_does_not_enable_limiter niks3-go-unit-tests> 2026/09/18 18:14:34 WARN Rate limiter enabled after throttle name=server-test rate=5 niks3-go-unit-tests> 2026/09/18 18:14:34 WARN Request returned retryable status, retrying attempt=1 max_attempts=2 backoff=0s status=429 url=http://127.0.0.1:58161 niks3-go-unit-tests> 2026/09/18 18:14:34 WARN Rate limiter backed off name=server-test rate=5 niks3-go-unit-tests> === CONT TestRateLimiterFeedback/400_does_not_enable_limiter niks3-go-unit-tests> === CONT TestRateLimiterFeedback/503_enables_limiter niks3-go-unit-tests> === CONT TestSetClientTLSErrors/missing_cert_file niks3-go-unit-tests> 2026/09/18 18:14:34 WARN Rate limiter enabled after throttle name=server-test rate=5 niks3-go-unit-tests> 2026/09/18 18:14:34 WARN Request returned retryable status, retrying attempt=1 max_attempts=2 backoff=0s status=503 url=http://127.0.0.1:58167 niks3-go-unit-tests> === CONT TestSetClientTLSErrors/invalid_ca_file niks3-go-unit-tests> 2026/09/18 18:14:34 WARN Rate limiter backed off name=server-test rate=5 niks3-go-unit-tests> --- PASS: TestRateLimiterFeedback (0.00s) niks3-go-unit-tests> --- PASS: TestRateLimiterFeedback/200_does_not_enable_limiter (0.00s) niks3-go-unit-tests> --- PASS: TestRateLimiterFeedback/429_enables_limiter (0.00s) niks3-go-unit-tests> --- PASS: TestRateLimiterFeedback/400_does_not_enable_limiter (0.00s) niks3-go-unit-tests> --- PASS: TestRateLimiterFeedback/503_enables_limiter (0.00s) niks3-go-unit-tests> === CONT TestSetClientTLSErrors/missing_ca_file niks3-go-unit-tests> === CONT TestSetClientTLSErrors/missing_key_file niks3-go-unit-tests> === CONT TestSetClientTLS/rejects_connection_without_client_cert niks3-go-unit-tests> === CONT TestSetClientTLS/preserves_debug_logging_transport niks3-go-unit-tests> --- PASS: TestSetClientTLSErrors (0.00s) niks3-go-unit-tests> --- PASS: TestSetClientTLSErrors/missing_cert_file (0.00s) niks3-go-unit-tests> --- PASS: TestSetClientTLSErrors/missing_ca_file (0.00s) niks3-go-unit-tests> --- PASS: TestSetClientTLSErrors/invalid_ca_file (0.00s) niks3-go-unit-tests> --- PASS: TestSetClientTLSErrors/missing_key_file (0.00s) niks3-go-unit-tests> === CONT TestSetClientTLS/succeeds_with_client_cert_and_CA niks3-go-unit-tests> === CONT TestParsePathInfoJSON/Nix_format niks3-go-unit-tests> === CONT TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths niks3-go-unit-tests> === CONT TestParsePathInfoJSON/invalid_JSON niks3-go-unit-tests> === CONT TestParsePathInfoJSON/whitespace_only niks3-go-unit-tests> === CONT TestParsePathInfoJSON/empty_input niks3-go-unit-tests> === CONT TestParsePathInfoJSON/Lix_format niks3-go-unit-tests> --- PASS: TestParsePathInfoJSON (0.00s) niks3-go-unit-tests> --- PASS: TestParsePathInfoJSON/Nix_format (0.00s) niks3-go-unit-tests> --- PASS: TestParsePathInfoJSON/invalid_JSON (0.00s) niks3-go-unit-tests> --- PASS: TestParsePathInfoJSON/whitespace_only (0.00s) niks3-go-unit-tests> --- PASS: TestParsePathInfoJSON/empty_input (0.00s) niks3-go-unit-tests> --- PASS: TestParsePathInfoJSON/Lix_format (0.00s) niks3-go-unit-tests> === CONT TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths niks3-go-unit-tests> --- PASS: TestParsePathInfoJSONMultiplePaths (0.00s) niks3-go-unit-tests> --- PASS: TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths (0.00s) niks3-go-unit-tests> --- PASS: TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths (0.00s) niks3-go-unit-tests> === CONT TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI) niks3-go-unit-tests> === CONT TestPathInfoHashCompatibility/new_structured_format_with_sha512 niks3-go-unit-tests> === CONT TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI niks3-go-unit-tests> === CONT TestPathInfoHashCompatibility/old_string_format_with_colon niks3-go-unit-tests> --- PASS: TestPathInfoHashCompatibility (0.00s) niks3-go-unit-tests> --- PASS: TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI) (0.00s) niks3-go-unit-tests> --- PASS: TestPathInfoHashCompatibility/new_structured_format_with_sha512 (0.00s) niks3-go-unit-tests> --- PASS: TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI (0.00s) niks3-go-unit-tests> --- PASS: TestPathInfoHashCompatibility/old_string_format_with_colon (0.00s) niks3-go-unit-tests> === CONT TestGetStorePathHash/valid_store_path niks3-go-unit-tests> === CONT TestGetStorePathHash/hash_with_invalid_characters_should_error niks3-go-unit-tests> === CONT TestGetStorePathHash/hash_with_wrong_length_should_error niks3-go-unit-tests> === CONT TestGetStorePathHash/basename_without_hyphen_should_error niks3-go-unit-tests> --- PASS: TestGetStorePathHash (0.00s) niks3-go-unit-tests> --- PASS: TestGetStorePathHash/valid_store_path (0.00s) niks3-go-unit-tests> --- PASS: TestGetStorePathHash/hash_with_invalid_characters_should_error (0.00s) niks3-go-unit-tests> --- PASS: TestGetStorePathHash/hash_with_wrong_length_should_error (0.00s) niks3-go-unit-tests> --- PASS: TestGetStorePathHash/basename_without_hyphen_should_error (0.00s) niks3-go-unit-tests> --- PASS: TestScriptTokenCachesUntilRefresh (0.04s) niks3-go-unit-tests> 2026/09/18 18:14:34 http: TLS handshake error from 127.0.0.1:58169: remote error: tls: bad certificate niks3-go-unit-tests> --- PASS: TestSetClientTLS (0.01s) niks3-go-unit-tests> --- PASS: TestSetClientTLS/preserves_debug_logging_transport (0.00s) niks3-go-unit-tests> --- PASS: TestSetClientTLS/succeeds_with_client_cert_and_CA (0.00s) niks3-go-unit-tests> --- PASS: TestSetClientTLS/rejects_connection_without_client_cert (0.02s) niks3-go-unit-tests> --- PASS: TestScriptTokenNoExpiryRerunsEveryCall (0.03s) niks3-go-unit-tests> --- PASS: TestDumpPathWriterError (0.05s) niks3-go-unit-tests> --- PASS: TestCaseHackSuffix (0.05s) niks3-go-unit-tests> --- PASS: TestDumpPathSingleFile (0.05s) niks3-go-unit-tests> --- PASS: TestDumpPathMatchesNix (0.06s) niks3-go-unit-tests> --- PASS: TestStreamPushBatchesUnderLoad (0.10s) niks3-go-unit-tests> --- PASS: TestRateLimiterFeedback_400DoesNotCountAsSuccess (1.00s) niks3-go-unit-tests> PASS niks3-go-unit-tests> Running server tests... niks3-go-unit-tests> The files belonging to this database system will be owned by user "_nixbld1". niks3-go-unit-tests> This user must also own the server process. niks3-go-unit-tests> niks3-go-unit-tests> The database cluster will be initialized with locale "C". niks3-go-unit-tests> The default database encoding has accordingly been set to "SQL_ASCII". niks3-go-unit-tests> The default text search configuration will be set to "english". niks3-go-unit-tests> niks3-go-unit-tests> Data page checksums are enabled. niks3-go-unit-tests> niks3-go-unit-tests> creating directory /nix/var/nix/builds/nix-99900-4123015800/postgres3646633918/data ... ok niks3-go-unit-tests> creating subdirectories ... ok niks3-go-unit-tests> selecting dynamic shared memory implementation ... posix niks3-go-unit-tests> selecting default "max_connections" ... 100 niks3-go-unit-tests> selecting default "shared_buffers" ... 128MB niks3-go-unit-tests> selecting default time zone ... UTC niks3-go-unit-tests> creating configuration files ... ok niks3-go-unit-tests> running bootstrap script ... ok niks3-go-unit-tests> performing post-bootstrap initialization ... ok niks3-go-unit-tests> syncing data to disk ... ok niks3-go-unit-tests> niks3-go-unit-tests> initdb: warning: enabling "trust" authentication for local connections niks3-go-unit-tests> 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. niks3-go-unit-tests> niks3-go-unit-tests> Success. You can now start the database server using: niks3-go-unit-tests> niks3-go-unit-tests> pg_ctl -D /nix/var/nix/builds/nix-99900-4123015800/postgres3646633918/data -l logfile start niks3-go-unit-tests> niks3-go-unit-tests> /nix/var/nix/builds/nix-99900-4123015800/postgres3646633918:5432 - no response niks3-go-unit-tests> 2026-09-18 18:14:35.858 UTC [99937] LOG: starting PostgreSQL 18.6 on aarch64-apple-darwin25.6.0, compiled by clang version 21.1.8, 64-bit niks3-go-unit-tests> 2026-09-18 18:14:35.858 UTC [99937] LOG: listening on Unix socket "/nix/var/nix/builds/nix-99900-4123015800/postgres3646633918/.s.PGSQL.5432" niks3-go-unit-tests> 2026-09-18 18:14:35.860 UTC [99944] LOG: database system was shut down at 2026-09-18 18:14:35 UTC niks3-go-unit-tests> 2026-09-18 18:14:35.861 UTC [99937] LOG: database system is ready to accept connections niks3-go-unit-tests> /nix/var/nix/builds/nix-99900-4123015800/postgres3646633918:5432 - accepting connections niks3-go-unit-tests> === RUN TestService_AuthMiddleware niks3-go-unit-tests> === PAUSE TestService_AuthMiddleware niks3-go-unit-tests> === RUN TestService_AuthMiddleware_MTLSProxyHeader niks3-go-unit-tests> === PAUSE TestService_AuthMiddleware_MTLSProxyHeader niks3-go-unit-tests> === RUN TestService_AuthMiddleware_MTLSBoundSubjects niks3-go-unit-tests> === PAUSE TestService_AuthMiddleware_MTLSBoundSubjects niks3-go-unit-tests> === RUN TestService_ReadAuthMiddleware niks3-go-unit-tests> === PAUSE TestService_ReadAuthMiddleware niks3-go-unit-tests> === RUN TestService_AuthMiddleware_OIDC niks3-go-unit-tests> === PAUSE TestService_AuthMiddleware_OIDC niks3-go-unit-tests> === RUN TestService_RequireScope_OIDC niks3-go-unit-tests> === PAUSE TestService_RequireScope_OIDC niks3-go-unit-tests> === RUN TestService_ReadScope_PublicByDefault niks3-go-unit-tests> === PAUSE TestService_ReadScope_PublicByDefault niks3-go-unit-tests> === RUN TestCacheConfigHandler niks3-go-unit-tests> === PAUSE TestCacheConfigHandler niks3-go-unit-tests> === RUN TestCacheStatsHandler niks3-go-unit-tests> === PAUSE TestCacheStatsHandler niks3-go-unit-tests> === RUN TestClaim_BuildWaitComplete niks3-go-unit-tests> === PAUSE TestClaim_BuildWaitComplete niks3-go-unit-tests> === RUN TestClaim_GCMarkedOutputCountsAsAbsent niks3-go-unit-tests> === PAUSE TestClaim_GCMarkedOutputCountsAsAbsent niks3-go-unit-tests> === RUN TestClaim_TooManyStreams niks3-go-unit-tests> === PAUSE TestClaim_TooManyStreams niks3-go-unit-tests> === RUN TestClaim_HolderDisconnectKeepsClaim niks3-go-unit-tests> === PAUSE TestClaim_HolderDisconnectKeepsClaim niks3-go-unit-tests> === RUN TestClaim_FailWakesWaitersButIsNotRemembered niks3-go-unit-tests> === PAUSE TestClaim_FailWakesWaitersButIsNotRemembered niks3-go-unit-tests> === RUN TestClaim_FailWithoutKindReleases niks3-go-unit-tests> === PAUSE TestClaim_FailWithoutKindReleases niks3-go-unit-tests> === RUN TestClaim_StaleHeartbeatStolen niks3-go-unit-tests> === PAUSE TestClaim_StaleHeartbeatStolen niks3-go-unit-tests> === RUN TestClaim_TwoInstances niks3-go-unit-tests> === PAUSE TestClaim_TwoInstances niks3-go-unit-tests> === RUN TestClaim_InputsTouched niks3-go-unit-tests> === PAUSE TestClaim_InputsTouched niks3-go-unit-tests> === RUN TestClaim_StreamsThroughServer niks3-go-unit-tests> === PAUSE TestClaim_StreamsThroughServer niks3-go-unit-tests> === RUN TestPresent niks3-go-unit-tests> === PAUSE TestPresent niks3-go-unit-tests> === RUN TestClientCADerivations niks3-go-unit-tests> === PAUSE TestClientCADerivations niks3-go-unit-tests> === RUN TestClientErrorHandling niks3-go-unit-tests> === PAUSE TestClientErrorHandling niks3-go-unit-tests> === RUN TestClientIntegration niks3-go-unit-tests> === PAUSE TestClientIntegration niks3-go-unit-tests> === RUN TestClientMultipleUploads niks3-go-unit-tests> === PAUSE TestClientMultipleUploads niks3-go-unit-tests> === RUN TestClientWithDependencies niks3-go-unit-tests> === PAUSE TestClientWithDependencies niks3-go-unit-tests> === RUN TestClientSharedPathCommittedMidPush niks3-go-unit-tests> === PAUSE TestClientSharedPathCommittedMidPush niks3-go-unit-tests> === RUN TestPinProtectsFromGC niks3-go-unit-tests> === PAUSE TestPinProtectsFromGC niks3-go-unit-tests> === RUN TestResolveDBConnectionString niks3-go-unit-tests> === PAUSE TestResolveDBConnectionString niks3-go-unit-tests> === RUN TestGCAdvisoryLockBlocksConcurrentRun niks3-go-unit-tests> 2026-09-18 18:14:36.256 UTC [99953] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:36.256 UTC [99953] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:36 OK 20241026095416_initial_model.sql (6.53ms) niks3-go-unit-tests> 2026/09/18 18:14:36 OK 20251210153512_drop_unused_gin_index.sql (4.72ms) niks3-go-unit-tests> 2026/09/18 18:14:36 OK 20251218171726_add_pins.sql (8.86ms) niks3-go-unit-tests> 2026/09/18 18:14:36 OK 20260628120000_add_object_size_and_stats.sql (6.6ms) niks3-go-unit-tests> 2026/09/18 18:14:36 OK 20260905000000_add_claims.sql (1.59ms) niks3-go-unit-tests> 2026/09/18 18:14:36 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:36 OK 1_commit_pending_closure.sql (1.84ms) niks3-go-unit-tests> 2026/09/18 18:14:36 OK 2_object_stats_trigger.sql (457.71µs) niks3-go-unit-tests> 2026/09/18 18:14:36 goose: up to current file version: 2 niks3-go-unit-tests> --- PASS: TestGCAdvisoryLockBlocksConcurrentRun (0.43s) niks3-go-unit-tests> === RUN TestGCBugBareHashReferences niks3-go-unit-tests> === PAUSE TestGCBugBareHashReferences niks3-go-unit-tests> === RUN TestGCMetrics niks3-go-unit-tests> === PAUSE TestGCMetrics niks3-go-unit-tests> === RUN TestGCTaskStore_StartNew niks3-go-unit-tests> === PAUSE TestGCTaskStore_StartNew niks3-go-unit-tests> === RUN TestGCTaskStore_DeduplicateSameParams niks3-go-unit-tests> === PAUSE TestGCTaskStore_DeduplicateSameParams niks3-go-unit-tests> === RUN TestGCTaskStore_ConflictDifferentParams niks3-go-unit-tests> === PAUSE TestGCTaskStore_ConflictDifferentParams niks3-go-unit-tests> === RUN TestGCTaskStore_GetEmpty niks3-go-unit-tests> === PAUSE TestGCTaskStore_GetEmpty niks3-go-unit-tests> === RUN TestGCTaskStore_GetReturnsLatest niks3-go-unit-tests> === PAUSE TestGCTaskStore_GetReturnsLatest niks3-go-unit-tests> === RUN TestGCTaskStore_CompletedAllowsNewTask niks3-go-unit-tests> === PAUSE TestGCTaskStore_CompletedAllowsNewTask niks3-go-unit-tests> === RUN TestGCTaskStore_PhaseUpdates niks3-go-unit-tests> === PAUSE TestGCTaskStore_PhaseUpdates niks3-go-unit-tests> === RUN TestGCTaskStore_Fail niks3-go-unit-tests> === PAUSE TestGCTaskStore_Fail niks3-go-unit-tests> === RUN TestGracefulShutdownDrainsInflight niks3-go-unit-tests> === PAUSE TestGracefulShutdownDrainsInflight niks3-go-unit-tests> === RUN TestService_healthCheckHandler niks3-go-unit-tests> === PAUSE TestService_healthCheckHandler niks3-go-unit-tests> === RUN TestService_readinessHandler niks3-go-unit-tests> === PAUSE TestService_readinessHandler niks3-go-unit-tests> === RUN TestGenerateLandingPage niks3-go-unit-tests> === PAUSE TestGenerateLandingPage niks3-go-unit-tests> === RUN TestCacheConfigHandlerMaxNarSize niks3-go-unit-tests> === PAUSE TestCacheConfigHandlerMaxNarSize niks3-go-unit-tests> === RUN TestCreatePendingClosureRejectsOversizedNAR niks3-go-unit-tests> === PAUSE TestCreatePendingClosureRejectsOversizedNAR niks3-go-unit-tests> === RUN TestNARDeduplicationMetadataUploadBug niks3-go-unit-tests> === PAUSE TestNARDeduplicationMetadataUploadBug niks3-go-unit-tests> === RUN TestMetricsInventory niks3-go-unit-tests> === PAUSE TestMetricsInventory niks3-go-unit-tests> === RUN TestService_NativeMTLS niks3-go-unit-tests> === PAUSE TestService_NativeMTLS niks3-go-unit-tests> === RUN TestServerTLSConfig niks3-go-unit-tests> === PAUSE TestServerTLSConfig niks3-go-unit-tests> === RUN TestMultipartCleanup niks3-go-unit-tests> === PAUSE TestMultipartCleanup niks3-go-unit-tests> === RUN TestObjectStatsTrigger niks3-go-unit-tests> === PAUSE TestObjectStatsTrigger niks3-go-unit-tests> === RUN TestOrphanedObjectsGC niks3-go-unit-tests> === PAUSE TestOrphanedObjectsGC niks3-go-unit-tests> === RUN TestOrphanedObjectsGCStressTest niks3-go-unit-tests> === PAUSE TestOrphanedObjectsGCStressTest niks3-go-unit-tests> === RUN TestResurrectedObjectNotDeleted niks3-go-unit-tests> === PAUSE TestResurrectedObjectNotDeleted niks3-go-unit-tests> === RUN TestParseSingleRange niks3-go-unit-tests> === PAUSE TestParseSingleRange niks3-go-unit-tests> === RUN TestIsValidCachePath niks3-go-unit-tests> === PAUSE TestIsValidCachePath niks3-go-unit-tests> === RUN TestReadProxyNarinfo niks3-go-unit-tests> === PAUSE TestReadProxyNarinfo niks3-go-unit-tests> === RUN TestReadProxyNarinfoAlreadyDecompressed niks3-go-unit-tests> === PAUSE TestReadProxyNarinfoAlreadyDecompressed niks3-go-unit-tests> === RUN TestReadProxyNarStreaming niks3-go-unit-tests> === PAUSE TestReadProxyNarStreaming niks3-go-unit-tests> === RUN TestReadProxy404 niks3-go-unit-tests> === PAUSE TestReadProxy404 niks3-go-unit-tests> === RUN TestReadProxyInvalidPath niks3-go-unit-tests> === PAUSE TestReadProxyInvalidPath niks3-go-unit-tests> === RUN TestReadProxyHead niks3-go-unit-tests> === PAUSE TestReadProxyHead niks3-go-unit-tests> === RUN TestReadProxyConditionalGet niks3-go-unit-tests> === PAUSE TestReadProxyConditionalGet niks3-go-unit-tests> === RUN TestReadProxyRootRedirectsToIndexHTML niks3-go-unit-tests> === PAUSE TestReadProxyRootRedirectsToIndexHTML niks3-go-unit-tests> === RUN TestReadProxyDisabled niks3-go-unit-tests> === PAUSE TestReadProxyDisabled niks3-go-unit-tests> === RUN TestReadRedirectNar niks3-go-unit-tests> === PAUSE TestReadRedirectNar niks3-go-unit-tests> === RUN TestReadRedirectKeepsNarinfoProxied niks3-go-unit-tests> === PAUSE TestReadRedirectKeepsNarinfoProxied niks3-go-unit-tests> === RUN TestReadProxyRangeRequest niks3-go-unit-tests> === PAUSE TestReadProxyRangeRequest niks3-go-unit-tests> === RUN TestReadRedirectUsesPublicS3URL niks3-go-unit-tests> === PAUSE TestReadRedirectUsesPublicS3URL niks3-go-unit-tests> === RUN TestRedundantMultipartUpload niks3-go-unit-tests> === PAUSE TestRedundantMultipartUpload niks3-go-unit-tests> === RUN TestCompleteMultipartUpload_ErrorButObjectExists niks3-go-unit-tests> === PAUSE TestCompleteMultipartUpload_ErrorButObjectExists niks3-go-unit-tests> === RUN TestCompletedNarNotReofferedAcrossClosures niks3-go-unit-tests> === PAUSE TestCompletedNarNotReofferedAcrossClosures niks3-go-unit-tests> === RUN TestPresignedUploadRegisteredBeforeCommit niks3-go-unit-tests> === PAUSE TestPresignedUploadRegisteredBeforeCommit niks3-go-unit-tests> === RUN TestService_Rustfstest niks3-go-unit-tests> === PAUSE TestService_Rustfstest niks3-go-unit-tests> === RUN TestParseSize niks3-go-unit-tests> === PAUSE TestParseSize niks3-go-unit-tests> === RUN TestSkippedUploadsHandler niks3-go-unit-tests> === PAUSE TestSkippedUploadsHandler niks3-go-unit-tests> === RUN TestSystemdListenerNotActivated niks3-go-unit-tests> --- PASS: TestSystemdListenerNotActivated (0.00s) niks3-go-unit-tests> === RUN TestWatchdogBeatsWhenHealthy niks3-go-unit-tests> --- PASS: TestWatchdogBeatsWhenHealthy (0.03s) niks3-go-unit-tests> === RUN TestWatchdogSkipsWhenUnhealthy niks3-go-unit-tests> 2026/09/18 18:14:36 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" niks3-go-unit-tests> 2026/09/18 18:14:36 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" niks3-go-unit-tests> 2026/09/18 18:14:36 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" niks3-go-unit-tests> 2026/09/18 18:14:36 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" niks3-go-unit-tests> 2026/09/18 18:14:36 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" niks3-go-unit-tests> 2026/09/18 18:14:36 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" niks3-go-unit-tests> 2026/09/18 18:14:36 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" niks3-go-unit-tests> 2026/09/18 18:14:36 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" niks3-go-unit-tests> 2026/09/18 18:14:36 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" niks3-go-unit-tests> 2026/09/18 18:14:36 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" niks3-go-unit-tests> --- PASS: TestWatchdogSkipsWhenUnhealthy (0.20s) niks3-go-unit-tests> === RUN TestCompleteMultipartUploadHandler_RateLimitTriggersThrottle niks3-go-unit-tests> === PAUSE TestCompleteMultipartUploadHandler_RateLimitTriggersThrottle niks3-go-unit-tests> === RUN TestProxyWriteTimeout niks3-go-unit-tests> === PAUSE TestProxyWriteTimeout niks3-go-unit-tests> === RUN TestIsValidUploadKey niks3-go-unit-tests> === PAUSE TestIsValidUploadKey niks3-go-unit-tests> === RUN TestUploadHandlersRejectInvalidKeys niks3-go-unit-tests> === PAUSE TestUploadHandlersRejectInvalidKeys niks3-go-unit-tests> === RUN TestUploadHandlersRejectOversizedBody niks3-go-unit-tests> === PAUSE TestUploadHandlersRejectOversizedBody niks3-go-unit-tests> === RUN TestService_cleanupPendingClosuresHandler niks3-go-unit-tests> === PAUSE TestService_cleanupPendingClosuresHandler niks3-go-unit-tests> === RUN TestService_createPendingClosureHandler niks3-go-unit-tests> === PAUSE TestService_createPendingClosureHandler niks3-go-unit-tests> === RUN TestService_verifyS3Integrity niks3-go-unit-tests> === PAUSE TestService_verifyS3Integrity niks3-go-unit-tests> === RUN TestCompleteMultipartUnregistered niks3-go-unit-tests> === PAUSE TestCompleteMultipartUnregistered niks3-go-unit-tests> === RUN TestCreatePendingClosure_SmallNARUsesSimplePUT niks3-go-unit-tests> === PAUSE TestCreatePendingClosure_SmallNARUsesSimplePUT niks3-go-unit-tests> === CONT TestService_AuthMiddleware niks3-go-unit-tests> === CONT TestCreatePendingClosureRejectsOversizedNAR niks3-go-unit-tests> === CONT TestClientIntegration niks3-go-unit-tests> === CONT TestClaim_TooManyStreams niks3-go-unit-tests> === CONT TestGCTaskStore_GetEmpty niks3-go-unit-tests> --- PASS: TestGCTaskStore_GetEmpty (0.00s) niks3-go-unit-tests> === CONT TestGCTaskStore_Fail niks3-go-unit-tests> --- PASS: TestGCTaskStore_Fail (0.00s) niks3-go-unit-tests> === CONT TestGCTaskStore_PhaseUpdates niks3-go-unit-tests> --- PASS: TestGCTaskStore_PhaseUpdates (0.00s) niks3-go-unit-tests> === CONT TestGCTaskStore_CompletedAllowsNewTask niks3-go-unit-tests> --- PASS: TestGCTaskStore_CompletedAllowsNewTask (0.00s) niks3-go-unit-tests> === CONT TestGCTaskStore_GetReturnsLatest niks3-go-unit-tests> --- PASS: TestGCTaskStore_GetReturnsLatest (0.00s) niks3-go-unit-tests> === CONT TestGracefulShutdownDrainsInflight niks3-go-unit-tests> === CONT TestClientWithDependencies niks3-go-unit-tests> === CONT TestClientErrorHandling niks3-go-unit-tests> === RUN TestClientErrorHandling/InvalidStorePath niks3-go-unit-tests> === CONT TestService_ReadScope_PublicByDefault niks3-go-unit-tests> === CONT TestClientMultipleUploads niks3-go-unit-tests> === PAUSE TestClientErrorHandling/InvalidStorePath niks3-go-unit-tests> === RUN TestClientErrorHandling/InvalidAuthToken niks3-go-unit-tests> === PAUSE TestClientErrorHandling/InvalidAuthToken niks3-go-unit-tests> === RUN TestClientErrorHandling/ServerNotAvailable niks3-go-unit-tests> === PAUSE TestClientErrorHandling/ServerNotAvailable niks3-go-unit-tests> === CONT TestService_readinessHandler niks3-go-unit-tests> === CONT TestGCBugBareHashReferences niks3-go-unit-tests> 2026/09/18 18:14:36 INFO Starting HTTP server address=127.0.0.1:58183 niks3-go-unit-tests> 2026/09/18 18:14:36 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> --- PASS: TestCreatePendingClosureRejectsOversizedNAR (0.00s) niks3-go-unit-tests> === CONT TestCacheConfigHandlerMaxNarSize niks3-go-unit-tests> --- PASS: TestCacheConfigHandlerMaxNarSize (0.00s) niks3-go-unit-tests> === CONT TestGenerateLandingPage niks3-go-unit-tests> 2026/09/18 18:14:36 INFO Shutdown signal received, draining in-flight requests timeout=10s niks3-go-unit-tests> --- PASS: TestGenerateLandingPage (0.01s) niks3-go-unit-tests> === CONT TestService_healthCheckHandler niks3-go-unit-tests> --- PASS: TestGracefulShutdownDrainsInflight (0.08s) niks3-go-unit-tests> === CONT TestGCTaskStore_DeduplicateSameParams niks3-go-unit-tests> --- PASS: TestGCTaskStore_DeduplicateSameParams (0.00s) niks3-go-unit-tests> === CONT TestGCTaskStore_ConflictDifferentParams niks3-go-unit-tests> --- PASS: TestGCTaskStore_ConflictDifferentParams (0.00s) niks3-go-unit-tests> === CONT TestGCTaskStore_StartNew niks3-go-unit-tests> --- PASS: TestGCTaskStore_StartNew (0.00s) niks3-go-unit-tests> === CONT TestReadRedirectNar niks3-go-unit-tests> 2026-09-18 18:14:37.110 UTC [139] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:37.110 UTC [139] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026-09-18 18:14:37.111 UTC [140] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:37.111 UTC [140] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026-09-18 18:14:37.119 UTC [142] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:37.119 UTC [142] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026-09-18 18:14:37.120 UTC [141] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:37.120 UTC [141] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026-09-18 18:14:37.122 UTC [143] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:37.122 UTC [143] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026-09-18 18:14:37.123 UTC [145] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:37.123 UTC [145] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026-09-18 18:14:37.124 UTC [144] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:37.124 UTC [144] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026-09-18 18:14:37.125 UTC [147] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:37.125 UTC [147] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026-09-18 18:14:37.125 UTC [146] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:37.125 UTC [146] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20241026095416_initial_model.sql (6.83ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20241026095416_initial_model.sql (7.4ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20251210153512_drop_unused_gin_index.sql (1.06ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20251210153512_drop_unused_gin_index.sql (1.09ms) niks3-go-unit-tests> 2026-09-18 18:14:37.128 UTC [148] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:37.128 UTC [148] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20251218171726_add_pins.sql (1.97ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20251218171726_add_pins.sql (2.49ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20260628120000_add_object_size_and_stats.sql (2.31ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20260628120000_add_object_size_and_stats.sql (2.45ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20241026095416_initial_model.sql (8.12ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20251210153512_drop_unused_gin_index.sql (1.31ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20241026095416_initial_model.sql (9.5ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20260905000000_add_claims.sql (2.91ms) niks3-go-unit-tests> 2026/09/18 18:14:37 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20241026095416_initial_model.sql (7.96ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20260905000000_add_claims.sql (3.09ms) niks3-go-unit-tests> 2026/09/18 18:14:37 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20241026095416_initial_model.sql (7.95ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20251210153512_drop_unused_gin_index.sql (1.1ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20241026095416_initial_model.sql (7.08ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20251210153512_drop_unused_gin_index.sql (897.08µs) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20241026095416_initial_model.sql (8.81ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20251218171726_add_pins.sql (2.51ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 1_commit_pending_closure.sql (1.16ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 1_commit_pending_closure.sql (1.77ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20251210153512_drop_unused_gin_index.sql (505.71µs) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20251210153512_drop_unused_gin_index.sql (934.67µs) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 2_object_stats_trigger.sql (507.42µs) niks3-go-unit-tests> 2026/09/18 18:14:37 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:37 OK 2_object_stats_trigger.sql (550.38µs) niks3-go-unit-tests> 2026/09/18 18:14:37 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20251210153512_drop_unused_gin_index.sql (918.42µs) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20260628120000_add_object_size_and_stats.sql (10.46ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20251218171726_add_pins.sql (10.62ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20251218171726_add_pins.sql (9.93ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20241026095416_initial_model.sql (15.42ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20251218171726_add_pins.sql (10.54ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20251218171726_add_pins.sql (9.74ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20241026095416_initial_model.sql (17.61ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20251210153512_drop_unused_gin_index.sql (4.97ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20251210153512_drop_unused_gin_index.sql (8.43ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20251218171726_add_pins.sql (19.01ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20260628120000_add_object_size_and_stats.sql (8.93ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20260628120000_add_object_size_and_stats.sql (9.11ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20260628120000_add_object_size_and_stats.sql (9.07ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20260628120000_add_object_size_and_stats.sql (9.38ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20251218171726_add_pins.sql (5.97ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20251218171726_add_pins.sql (9.39ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20260905000000_add_claims.sql (20ms) niks3-go-unit-tests> 2026/09/18 18:14:37 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20260628120000_add_object_size_and_stats.sql (17.95ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20260905000000_add_claims.sql (17.92ms) niks3-go-unit-tests> 2026/09/18 18:14:37 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20260905000000_add_claims.sql (18.15ms) niks3-go-unit-tests> 2026/09/18 18:14:37 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20260628120000_add_object_size_and_stats.sql (16.15ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20260628120000_add_object_size_and_stats.sql (9.49ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 1_commit_pending_closure.sql (7.6ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20260905000000_add_claims.sql (18.58ms) niks3-go-unit-tests> 2026/09/18 18:14:37 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20260905000000_add_claims.sql (18.46ms) niks3-go-unit-tests> 2026/09/18 18:14:37 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:37 OK 2_object_stats_trigger.sql (411.54µs) niks3-go-unit-tests> 2026/09/18 18:14:37 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:37 OK 1_commit_pending_closure.sql (946.5µs) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 2_object_stats_trigger.sql (556.5µs) niks3-go-unit-tests> 2026/09/18 18:14:37 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:37 OK 1_commit_pending_closure.sql (1.01ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 1_commit_pending_closure.sql (1.56ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20260905000000_add_claims.sql (1.29ms) niks3-go-unit-tests> 2026/09/18 18:14:37 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20260905000000_add_claims.sql (1.66ms) niks3-go-unit-tests> 2026/09/18 18:14:37 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:37 OK 2_object_stats_trigger.sql (299.08µs) niks3-go-unit-tests> 2026/09/18 18:14:37 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20260905000000_add_claims.sql (2.22ms) niks3-go-unit-tests> 2026/09/18 18:14:37 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:37 OK 1_commit_pending_closure.sql (1.16ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 2_object_stats_trigger.sql (432.38µs) niks3-go-unit-tests> 2026/09/18 18:14:37 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:37 OK 2_object_stats_trigger.sql (190.04µs) niks3-go-unit-tests> 2026/09/18 18:14:37 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:37 OK 1_commit_pending_closure.sql (822.17µs) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 1_commit_pending_closure.sql (948µs) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 2_object_stats_trigger.sql (189.96µs) niks3-go-unit-tests> 2026/09/18 18:14:37 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:37 OK 2_object_stats_trigger.sql (204.63µs) niks3-go-unit-tests> 2026/09/18 18:14:37 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:37 OK 1_commit_pending_closure.sql (1.39ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 2_object_stats_trigger.sql (170.08µs) niks3-go-unit-tests> 2026/09/18 18:14:37 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:37 WARN claim: cannot clear write deadline error="feature not supported" niks3-go-unit-tests> --- PASS: TestClaim_TooManyStreams (0.49s) niks3-go-unit-tests> === CONT TestCreatePendingClosure_SmallNARUsesSimplePUT niks3-go-unit-tests> === NAME TestClientIntegration niks3-go-unit-tests> client_integration_test.go:286: Created store path: /nix/var/nix/builds/nix-99900-4123015800/TestClientIntegration2436138494/002/store/7sy7cqkdd103bm2xgfvh3zac56f2kjx4-test-file.txt niks3-go-unit-tests> --- PASS: TestService_ReadScope_PublicByDefault (0.89s) niks3-go-unit-tests> === CONT TestCompleteMultipartUnregistered niks3-go-unit-tests> 2026-09-18 18:14:37.636 UTC [162] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:37.636 UTC [162] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20241026095416_initial_model.sql (20.35ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20251210153512_drop_unused_gin_index.sql (579.5µs) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20251218171726_add_pins.sql (9.36ms) niks3-go-unit-tests> 2026/09/18 18:14:37 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20260628120000_add_object_size_and_stats.sql (11.7ms) niks3-go-unit-tests> === NAME TestClientWithDependencies niks3-go-unit-tests> client_integration_test.go:613: Built derivation: /nix/var/nix/builds/nix-99900-4123015800/TestClientWithDependencies3607705805/001/store/ch2skf3cl33x4dxinsipzizh9lihwyix-test-script niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20260905000000_add_claims.sql (2.1ms) niks3-go-unit-tests> 2026/09/18 18:14:37 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:37 OK 1_commit_pending_closure.sql (5.29ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 2_object_stats_trigger.sql (226.25µs) niks3-go-unit-tests> 2026/09/18 18:14:37 goose: up to current file version: 2 niks3-go-unit-tests> client_integration_test.go:615: Found 1 dependencies (including self) niks3-go-unit-tests> 2026/09/18 18:14:37 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:37 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) niks3-go-unit-tests> 2026/09/18 18:14:37 INFO Uploading 7sy7cqkdd103bm2xgfvh3zac56f2kjx4-test-file.txt (152B) niks3-go-unit-tests> 2026/09/18 18:14:37 WARN Failed to register uploaded object key=nar/11l1b7hsy9g9pz8i2rcn4n128l6pyr2yf58d49r12hr5caw9dzk1.nar.zst error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:37 WARN Failed to register uploaded object key=7sy7cqkdd103bm2xgfvh3zac56f2kjx4.ls error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:37 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign niks3-go-unit-tests> 2026/09/18 18:14:37 INFO Signed narinfos id=1 count=1 niks3-go-unit-tests> 2026/09/18 18:14:37 INFO Uploading 1 narinfos niks3-go-unit-tests> 2026/09/18 18:14:37 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete niks3-go-unit-tests> 2026/09/18 18:14:37 WARN Failed to register uploaded object key=7sy7cqkdd103bm2xgfvh3zac56f2kjx4.narinfo error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:37 INFO Completed upload id=1 niks3-go-unit-tests> 2026/09/18 18:14:37 INFO Upload complete. (127ms) niks3-go-unit-tests> 2026/09/18 18:14:37 INFO All 1 paths already cached niks3-go-unit-tests> 2026/09/18 18:14:37 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:37 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> === NAME TestClientIntegration niks3-go-unit-tests> client_integration_test.go:312: Retrieved narinfo from S3: niks3-go-unit-tests> StorePath: /nix/var/nix/builds/nix-99900-4123015800/TestClientIntegration2436138494/002/store/7sy7cqkdd103bm2xgfvh3zac56f2kjx4-test-file.txt niks3-go-unit-tests> URL: nar/11l1b7hsy9g9pz8i2rcn4n128l6pyr2yf58d49r12hr5caw9dzk1.nar.zst niks3-go-unit-tests> Compression: zstd niks3-go-unit-tests> NarHash: sha256:11l1b7hsy9g9pz8i2rcn4n128l6pyr2yf58d49r12hr5caw9dzk1 niks3-go-unit-tests> NarSize: 152 niks3-go-unit-tests> References: niks3-go-unit-tests> CA: fixed:r:sha256:11l1b7hsy9g9pz8i2rcn4n128l6pyr2yf58d49r12hr5caw9dzk1 niks3-go-unit-tests> client_integration_test.go:313: Retrieved .ls file from S3 (compressed size: 77 bytes) niks3-go-unit-tests> client_integration_test.go:313: Decompressed .ls content (64 bytes): niks3-go-unit-tests> {"version":1,"root":{"type":"regular","size":39,"narOffset":96}} niks3-go-unit-tests> client_integration_test.go:316: Testing garbage collection... niks3-go-unit-tests> 2026/09/18 18:14:37 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) niks3-go-unit-tests> 2026/09/18 18:14:37 INFO Uploading ch2skf3cl33x4dxinsipzizh9lihwyix-test-script (136B) niks3-go-unit-tests> 2026/09/18 18:14:37 WARN Failed to register uploaded object key=nar/1s7yghixzpinyqm7g59kyn3sav81pmnsdi5v63m6x4r2vacy907j.nar.zst error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:37 WARN Failed to register uploaded object key=ch2skf3cl33x4dxinsipzizh9lihwyix.ls error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:37 WARN Failed to register uploaded object key=log/7x4sdnc7pq4a459050h9g73mfakadyci-test-script.drv error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:37 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign niks3-go-unit-tests> 2026/09/18 18:14:37 INFO Signed narinfos id=1 count=1 niks3-go-unit-tests> 2026/09/18 18:14:37 INFO Uploading 1 narinfos niks3-go-unit-tests> 2026/09/18 18:14:37 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete niks3-go-unit-tests> 2026/09/18 18:14:37 WARN Failed to register uploaded object key=ch2skf3cl33x4dxinsipzizh9lihwyix.narinfo error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:37 INFO Starting cleanup of old closures method=DELETE path=/api/closures niks3-go-unit-tests> 2026/09/18 18:14:37 INFO Garbage collection started niks3-go-unit-tests> 2026/09/18 18:14:37 INFO Aborted multipart uploads count=0 niks3-go-unit-tests> 2026/09/18 18:14:37 WARN Force mode enabled - objects will be deleted immediately without grace period niks3-go-unit-tests> 2026/09/18 18:14:37 INFO Completed upload id=1 niks3-go-unit-tests> 2026/09/18 18:14:37 INFO Upload complete. (81ms) niks3-go-unit-tests> 2026-09-18 18:14:37.841 UTC [179] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:37.841 UTC [179] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> === NAME TestClientWithDependencies niks3-go-unit-tests> client_integration_test.go:617: Skipping nix copy test - isolated store (/nix/var/nix/builds/nix-99900-4123015800/TestClientWithDependencies3607705805/001/store) requires matching store prefix niks3-go-unit-tests> 2026/09/18 18:14:37 WARN readiness check failed error="closed pool" niks3-go-unit-tests> --- PASS: TestService_readinessHandler (1.13s) niks3-go-unit-tests> === CONT TestService_verifyS3Integrity niks3-go-unit-tests> --- PASS: TestClientWithDependencies (1.13s) niks3-go-unit-tests> === CONT TestClaim_GCMarkedOutputCountsAsAbsent niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20241026095416_initial_model.sql (7.7ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20251210153512_drop_unused_gin_index.sql (1.82ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20251218171726_add_pins.sql (5.98ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20260628120000_add_object_size_and_stats.sql (5.95ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 20260905000000_add_claims.sql (12.11ms) niks3-go-unit-tests> 2026/09/18 18:14:37 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:37 OK 1_commit_pending_closure.sql (1.37ms) niks3-go-unit-tests> 2026/09/18 18:14:37 OK 2_object_stats_trigger.sql (319.92µs) niks3-go-unit-tests> 2026/09/18 18:14:37 goose: up to current file version: 2 niks3-go-unit-tests> --- PASS: TestGCBugBareHashReferences (1.23s) niks3-go-unit-tests> === CONT TestService_createPendingClosureHandler niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Garbage collection completed failed-uploads-deleted=0 old-closures-deleted=1 objects-marked-for-deletion=3 objects-deleted-after-grace-period=2001 objects-failed-to-delete=0 niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Vacuumed table table=pending_closures niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Vacuumed table table=pending_objects niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Vacuumed table table=multipart_uploads niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Vacuumed table table=closures niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Vacuumed table table=objects niks3-go-unit-tests> === NAME TestClientMultipleUploads niks3-go-unit-tests> client_integration_test.go:358: Created store path 0: /nix/var/nix/builds/nix-99900-4123015800/TestClientMultipleUploads2381536272/001/store/bmfdxwdwc08y2dlzxrq7g5yds3dd5c40-test-file-0.txt niks3-go-unit-tests> --- PASS: TestReadRedirectNar (1.30s) niks3-go-unit-tests> === CONT TestService_cleanupPendingClosuresHandler niks3-go-unit-tests> === NAME TestClientMultipleUploads niks3-go-unit-tests> client_integration_test.go:358: Created store path 1: /nix/var/nix/builds/nix-99900-4123015800/TestClientMultipleUploads2381536272/001/store/3sqssw2yjs6g3c9lxy8r0p5mjha39g2d-test-file-1.txt niks3-go-unit-tests> client_integration_test.go:358: Created store path 2: /nix/var/nix/builds/nix-99900-4123015800/TestClientMultipleUploads2381536272/001/store/hizdday0n000m03gqs9kvlj90f5aidpb-test-file-2.txt niks3-go-unit-tests> 2026-09-18 18:14:38.210 UTC [197] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:38.210 UTC [197] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026-09-18 18:14:38.214 UTC [198] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:38.214 UTC [198] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:38 WARN Authentication failed token_preview=wrongtoken token_length=10 reason="static API token mismatch" niks3-go-unit-tests> --- PASS: TestService_AuthMiddleware (1.52s) niks3-go-unit-tests> === CONT TestUploadHandlersRejectOversizedBody niks3-go-unit-tests> 2026/09/18 18:14:38 OK 20241026095416_initial_model.sql (16.53ms) niks3-go-unit-tests> 2026/09/18 18:14:38 OK 20241026095416_initial_model.sql (16.87ms) niks3-go-unit-tests> 2026/09/18 18:14:38 OK 20251210153512_drop_unused_gin_index.sql (900.67µs) niks3-go-unit-tests> 2026/09/18 18:14:38 OK 20251210153512_drop_unused_gin_index.sql (646.92µs) niks3-go-unit-tests> 2026/09/18 18:14:38 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:38 OK 20251218171726_add_pins.sql (2.25ms) niks3-go-unit-tests> 2026/09/18 18:14:38 OK 20251218171726_add_pins.sql (2.19ms) niks3-go-unit-tests> 2026-09-18 18:14:38.281 UTC [202] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:38.281 UTC [202] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:38 OK 20260628120000_add_object_size_and_stats.sql (12.52ms) niks3-go-unit-tests> 2026/09/18 18:14:38 OK 20260628120000_add_object_size_and_stats.sql (11.96ms) niks3-go-unit-tests> === RUN TestUploadHandlersRejectOversizedBody/create_pending_closure niks3-go-unit-tests> === PAUSE TestUploadHandlersRejectOversizedBody/create_pending_closure niks3-go-unit-tests> === RUN TestUploadHandlersRejectOversizedBody/complete_multipart niks3-go-unit-tests> === PAUSE TestUploadHandlersRejectOversizedBody/complete_multipart niks3-go-unit-tests> === RUN TestUploadHandlersRejectOversizedBody/request_more_parts niks3-go-unit-tests> === PAUSE TestUploadHandlersRejectOversizedBody/request_more_parts niks3-go-unit-tests> === CONT TestUploadHandlersRejectInvalidKeys niks3-go-unit-tests> === RUN TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_nix-cache-info niks3-go-unit-tests> === PAUSE TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_nix-cache-info niks3-go-unit-tests> === RUN TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_path_traversal niks3-go-unit-tests> === PAUSE TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_path_traversal niks3-go-unit-tests> === RUN TestUploadHandlersRejectInvalidKeys/complete_multipart_rejects_non-NAR_key niks3-go-unit-tests> === PAUSE TestUploadHandlersRejectInvalidKeys/complete_multipart_rejects_non-NAR_key niks3-go-unit-tests> === RUN TestUploadHandlersRejectInvalidKeys/request_more_parts_rejects_non-NAR_key niks3-go-unit-tests> === PAUSE TestUploadHandlersRejectInvalidKeys/request_more_parts_rejects_non-NAR_key niks3-go-unit-tests> === CONT TestClaim_BuildWaitComplete niks3-go-unit-tests> 2026/09/18 18:14:38 OK 20260905000000_add_claims.sql (10.82ms) niks3-go-unit-tests> 2026/09/18 18:14:38 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:38 OK 20260905000000_add_claims.sql (11.24ms) niks3-go-unit-tests> 2026/09/18 18:14:38 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:38 OK 1_commit_pending_closure.sql (1.04ms) niks3-go-unit-tests> 2026/09/18 18:14:38 OK 2_object_stats_trigger.sql (469.83µs) niks3-go-unit-tests> 2026/09/18 18:14:38 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:38 OK 1_commit_pending_closure.sql (966.71µs) niks3-go-unit-tests> 2026/09/18 18:14:38 OK 2_object_stats_trigger.sql (450.67µs) niks3-go-unit-tests> 2026/09/18 18:14:38 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:38 OK 20241026095416_initial_model.sql (23.73ms) niks3-go-unit-tests> 2026/09/18 18:14:38 OK 20251210153512_drop_unused_gin_index.sql (5.15ms) niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Uploading 3 paths to 127.0.0.1 (0 already cached) niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Uploading hizdday0n000m03gqs9kvlj90f5aidpb-test-file-2.txt (160B) niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Uploading 3sqssw2yjs6g3c9lxy8r0p5mjha39g2d-test-file-1.txt (160B) niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Uploading bmfdxwdwc08y2dlzxrq7g5yds3dd5c40-test-file-0.txt (160B) niks3-go-unit-tests> 2026/09/18 18:14:38 WARN Failed to register uploaded object key=nar/1823g6vx4q5zqvr73m7lkq1wpk40fin7bsc792di430yk7sg4lka.nar.zst error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:38 WARN Failed to register uploaded object key=nar/13p9pqi0ga6fx2apcwls9hjnv7nmf740ggpn5zvfzdsp5vz2bbg4.nar.zst error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:38 WARN Failed to register uploaded object key=nar/0ahq3izw3h0b0c08p3xdfclh758fwxnp85ccvflasb4vnfsv50ri.nar.zst error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:38 OK 20251218171726_add_pins.sql (7.11ms) niks3-go-unit-tests> 2026/09/18 18:14:38 WARN Failed to register uploaded object key=bmfdxwdwc08y2dlzxrq7g5yds3dd5c40.ls error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:38 WARN Failed to register uploaded object key=hizdday0n000m03gqs9kvlj90f5aidpb.ls error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign niks3-go-unit-tests> 2026/09/18 18:14:38 WARN Failed to register uploaded object key=3sqssw2yjs6g3c9lxy8r0p5mjha39g2d.ls error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Signed narinfos id=1 count=1 niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Signed narinfos id=2 count=1 niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Received sign narinfos request method=POST path=/api/pending_closures/3/sign niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Signed narinfos id=3 count=1 niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Uploading 3 narinfos niks3-go-unit-tests> 2026/09/18 18:14:38 OK 20260628120000_add_object_size_and_stats.sql (19.14ms) niks3-go-unit-tests> 2026/09/18 18:14:38 WARN Failed to register uploaded object key=3sqssw2yjs6g3c9lxy8r0p5mjha39g2d.narinfo error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:38 WARN Failed to register uploaded object key=bmfdxwdwc08y2dlzxrq7g5yds3dd5c40.narinfo error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Received complete upload request method=POST path=/api/pending_closures/3/complete niks3-go-unit-tests> 2026/09/18 18:14:38 WARN Failed to register uploaded object key=hizdday0n000m03gqs9kvlj90f5aidpb.narinfo error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Completed upload id=3 niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete niks3-go-unit-tests> 2026/09/18 18:14:38 OK 20260905000000_add_claims.sql (15.1ms) niks3-go-unit-tests> 2026/09/18 18:14:38 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Completed upload id=1 niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Completed upload id=2 niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Upload complete. (142ms) niks3-go-unit-tests> === NAME TestClientMultipleUploads niks3-go-unit-tests> client_integration_test.go:369: Uploaded 3 paths in 175.4855ms niks3-go-unit-tests> 2026/09/18 18:14:38 OK 1_commit_pending_closure.sql (1.13ms) niks3-go-unit-tests> 2026/09/18 18:14:38 OK 2_object_stats_trigger.sql (224.38µs) niks3-go-unit-tests> 2026/09/18 18:14:38 goose: up to current file version: 2 niks3-go-unit-tests> --- PASS: TestService_healthCheckHandler (1.66s) niks3-go-unit-tests> === CONT TestIsValidUploadKey niks3-go-unit-tests> === RUN TestIsValidUploadKey/narinfo niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/narinfo niks3-go-unit-tests> === RUN TestIsValidUploadKey/nar_zst niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/nar_zst niks3-go-unit-tests> === RUN TestIsValidUploadKey/nar_xz niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/nar_xz niks3-go-unit-tests> === RUN TestIsValidUploadKey/nar_plain niks3-go-unit-tests> --- PASS: TestClientMultipleUploads (1.66s) niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/nar_plain niks3-go-unit-tests> === CONT TestProxyWriteTimeout niks3-go-unit-tests> === RUN TestIsValidUploadKey/listing niks3-go-unit-tests> === RUN TestProxyWriteTimeout/narinfo niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/listing niks3-go-unit-tests> === PAUSE TestProxyWriteTimeout/narinfo niks3-go-unit-tests> === RUN TestIsValidUploadKey/build_log niks3-go-unit-tests> === RUN TestProxyWriteTimeout/1_GiB_nar niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/build_log niks3-go-unit-tests> === PAUSE TestProxyWriteTimeout/1_GiB_nar niks3-go-unit-tests> === RUN TestProxyWriteTimeout/10_GiB_nar niks3-go-unit-tests> === PAUSE TestProxyWriteTimeout/10_GiB_nar niks3-go-unit-tests> === RUN TestProxyWriteTimeout/unknown_size niks3-go-unit-tests> === PAUSE TestProxyWriteTimeout/unknown_size niks3-go-unit-tests> === RUN TestIsValidUploadKey/build_log_home-manager_file niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/build_log_home-manager_file niks3-go-unit-tests> === RUN TestIsValidUploadKey/build_log_plus_in_name niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/build_log_plus_in_name niks3-go-unit-tests> === RUN TestIsValidUploadKey/build_log_question_mark niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/build_log_question_mark niks3-go-unit-tests> === CONT TestCompleteMultipartUploadHandler_RateLimitTriggersThrottle niks3-go-unit-tests> === RUN TestIsValidUploadKey/build_log_equals niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/build_log_equals niks3-go-unit-tests> === RUN TestIsValidUploadKey/realisation niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/realisation niks3-go-unit-tests> === RUN TestIsValidUploadKey/realisation_plus_in_output niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/realisation_plus_in_output niks3-go-unit-tests> === RUN TestIsValidUploadKey/nix-cache-info niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/nix-cache-info niks3-go-unit-tests> === RUN TestIsValidUploadKey/index.html niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/index.html niks3-go-unit-tests> === RUN TestIsValidUploadKey/narinfo_key,_nar_type niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/narinfo_key,_nar_type niks3-go-unit-tests> === RUN TestIsValidUploadKey/nar_key,_narinfo_type niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/nar_key,_narinfo_type niks3-go-unit-tests> === RUN TestIsValidUploadKey/listing_key,_narinfo_type niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/listing_key,_narinfo_type niks3-go-unit-tests> === RUN TestIsValidUploadKey/traversal niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/traversal niks3-go-unit-tests> === RUN TestIsValidUploadKey/traversal_nar niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/traversal_nar niks3-go-unit-tests> === RUN TestIsValidUploadKey/absolute niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/absolute niks3-go-unit-tests> === RUN TestIsValidUploadKey/empty_key niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/empty_key niks3-go-unit-tests> === RUN TestIsValidUploadKey/unknown_type niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/unknown_type niks3-go-unit-tests> === CONT TestCacheStatsHandler niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> --- PASS: TestCreatePendingClosure_SmallNARUsesSimplePUT (1.33s) niks3-go-unit-tests> === CONT TestSkippedUploadsHandler niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Client skipped oversized paths paths=3 nar_bytes=5000000000 niks3-go-unit-tests> --- PASS: TestSkippedUploadsHandler (0.00s) niks3-go-unit-tests> === CONT TestCacheConfigHandler niks3-go-unit-tests> === RUN TestCacheConfigHandler/full_config,_no_issuer niks3-go-unit-tests> === PAUSE TestCacheConfigHandler/full_config,_no_issuer niks3-go-unit-tests> === RUN TestCacheConfigHandler/no_cache_url_configured niks3-go-unit-tests> === PAUSE TestCacheConfigHandler/no_cache_url_configured niks3-go-unit-tests> === RUN TestCacheConfigHandler/no_signing_keys niks3-go-unit-tests> === PAUSE TestCacheConfigHandler/no_signing_keys niks3-go-unit-tests> === RUN TestCacheConfigHandler/issuer_requested_but_no_OIDC_validator niks3-go-unit-tests> === PAUSE TestCacheConfigHandler/issuer_requested_but_no_OIDC_validator niks3-go-unit-tests> === CONT TestParseSize niks3-go-unit-tests> --- PASS: TestParseSize (0.00s) niks3-go-unit-tests> === CONT TestService_Rustfstest niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Received complete multipart upload request method=POST path=/api/multipart/complete niks3-go-unit-tests> 2026/09/18 18:14:38 ERROR Failed to get multipart upload error="no rows in result set" upload_id=does-not-exist object_key=nar/0000000000000000000000000000000000000000000000000000.nar.zst niks3-go-unit-tests> --- PASS: TestCompleteMultipartUnregistered (1.02s) niks3-go-unit-tests> === CONT TestIsValidCachePath niks3-go-unit-tests> === RUN TestIsValidCachePath/narinfo niks3-go-unit-tests> === PAUSE TestIsValidCachePath/narinfo niks3-go-unit-tests> === RUN TestIsValidCachePath/narinfo_all_nix_base32_chars niks3-go-unit-tests> === PAUSE TestIsValidCachePath/narinfo_all_nix_base32_chars niks3-go-unit-tests> === RUN TestIsValidCachePath/nar_zst niks3-go-unit-tests> === PAUSE TestIsValidCachePath/nar_zst niks3-go-unit-tests> === RUN TestIsValidCachePath/nar_xz niks3-go-unit-tests> === PAUSE TestIsValidCachePath/nar_xz niks3-go-unit-tests> === RUN TestIsValidCachePath/nar_bz2 niks3-go-unit-tests> === PAUSE TestIsValidCachePath/nar_bz2 niks3-go-unit-tests> === RUN TestIsValidCachePath/nar_uncompressed niks3-go-unit-tests> === PAUSE TestIsValidCachePath/nar_uncompressed niks3-go-unit-tests> === RUN TestIsValidCachePath/ls niks3-go-unit-tests> === PAUSE TestIsValidCachePath/ls niks3-go-unit-tests> === RUN TestIsValidCachePath/log niks3-go-unit-tests> === PAUSE TestIsValidCachePath/log niks3-go-unit-tests> === RUN TestIsValidCachePath/realisation niks3-go-unit-tests> === PAUSE TestIsValidCachePath/realisation niks3-go-unit-tests> === RUN TestIsValidCachePath/nix-cache-info niks3-go-unit-tests> === PAUSE TestIsValidCachePath/nix-cache-info niks3-go-unit-tests> === RUN TestIsValidCachePath/index.html niks3-go-unit-tests> === PAUSE TestIsValidCachePath/index.html niks3-go-unit-tests> === RUN TestIsValidCachePath/traversal_parent niks3-go-unit-tests> === PAUSE TestIsValidCachePath/traversal_parent niks3-go-unit-tests> === RUN TestIsValidCachePath/traversal_in_middle niks3-go-unit-tests> === PAUSE TestIsValidCachePath/traversal_in_middle niks3-go-unit-tests> === RUN TestIsValidCachePath/invalid_char_e niks3-go-unit-tests> === PAUSE TestIsValidCachePath/invalid_char_e niks3-go-unit-tests> === RUN TestIsValidCachePath/invalid_char_u niks3-go-unit-tests> === PAUSE TestIsValidCachePath/invalid_char_u niks3-go-unit-tests> === RUN TestIsValidCachePath/random_path niks3-go-unit-tests> === PAUSE TestIsValidCachePath/random_path niks3-go-unit-tests> === RUN TestIsValidCachePath/empty niks3-go-unit-tests> === PAUSE TestIsValidCachePath/empty niks3-go-unit-tests> === RUN TestIsValidCachePath/leading_slash niks3-go-unit-tests> === PAUSE TestIsValidCachePath/leading_slash niks3-go-unit-tests> === RUN TestIsValidCachePath/wrong_extension niks3-go-unit-tests> === PAUSE TestIsValidCachePath/wrong_extension niks3-go-unit-tests> === RUN TestIsValidCachePath/short_hash niks3-go-unit-tests> === PAUSE TestIsValidCachePath/short_hash niks3-go-unit-tests> === CONT TestPresignedUploadRegisteredBeforeCommit niks3-go-unit-tests> 2026-09-18 18:14:38.701 UTC [215] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:38.701 UTC [215] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:38 OK 20241026095416_initial_model.sql (89.43ms) niks3-go-unit-tests> 2026/09/18 18:14:38 OK 20251210153512_drop_unused_gin_index.sql (2.61ms) niks3-go-unit-tests> 2026/09/18 18:14:38 OK 20251218171726_add_pins.sql (25.76ms) niks3-go-unit-tests> 2026/09/18 18:14:38 OK 20260628120000_add_object_size_and_stats.sql (16.17ms) niks3-go-unit-tests> 2026/09/18 18:14:38 OK 20260905000000_add_claims.sql (18.45ms) niks3-go-unit-tests> 2026/09/18 18:14:38 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:38 OK 1_commit_pending_closure.sql (2.74ms) niks3-go-unit-tests> 2026/09/18 18:14:38 OK 2_object_stats_trigger.sql (419.08µs) niks3-go-unit-tests> 2026/09/18 18:14:38 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:38 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026-09-18 18:14:39.044 UTC [217] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:39.044 UTC [217] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:39 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:39 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:39 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:39 OK 20241026095416_initial_model.sql (187.7ms) niks3-go-unit-tests> 2026/09/18 18:14:39 OK 20251210153512_drop_unused_gin_index.sql (12.4ms) niks3-go-unit-tests> 2026/09/18 18:14:39 OK 20251218171726_add_pins.sql (26.65ms) niks3-go-unit-tests> 2026/09/18 18:14:39 OK 20260628120000_add_object_size_and_stats.sql (38.96ms) niks3-go-unit-tests> 2026/09/18 18:14:39 OK 20260905000000_add_claims.sql (72.32ms) niks3-go-unit-tests> 2026/09/18 18:14:39 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:39 OK 1_commit_pending_closure.sql (11.91ms) niks3-go-unit-tests> 2026/09/18 18:14:39 OK 2_object_stats_trigger.sql (450.83µs) niks3-go-unit-tests> 2026/09/18 18:14:39 goose: up to current file version: 2 niks3-go-unit-tests> 2026-09-18 18:14:39.537 UTC [218] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:39.537 UTC [218] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:39 INFO Received cleanup request method=DELETE path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:39 INFO Aborted multipart uploads count=0 niks3-go-unit-tests> 2026/09/18 18:14:39 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:39 INFO Received cleanup request method=DELETE path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:39 INFO Aborted multipart uploads count=1 niks3-go-unit-tests> 2026/09/18 18:14:39 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete niks3-go-unit-tests> 2026-09-18 18:14:39.658 UTC [215] ERROR: Closure does not exist: id=1 niks3-go-unit-tests> 2026-09-18 18:14:39.658 UTC [215] CONTEXT: PL/pgSQL function commit_pending_closure(bigint) line 16 at RAISE niks3-go-unit-tests> 2026-09-18 18:14:39.658 UTC [215] STATEMENT: -- name: CommitPendingClosure :exec niks3-go-unit-tests> SELECT commit_pending_closure($1::bigint) niks3-go-unit-tests> niks3-go-unit-tests> --- PASS: TestService_cleanupPendingClosuresHandler (1.54s) niks3-go-unit-tests> === CONT TestReadProxyDisabled niks3-go-unit-tests> 2026/09/18 18:14:39 INFO Garbage collection progress phase="" failed_uploads_deleted=0 old_closures_deleted=1 objects_marked=3 objects_deleted=2001 objects_failed=0 niks3-go-unit-tests> === NAME TestClientIntegration niks3-go-unit-tests> client_integration_test.go:323: Objects in database after GC: niks3-go-unit-tests> client_integration_test.go:323: Successfully deleted all objects with GC --force niks3-go-unit-tests> 2026/09/18 18:14:39 OK 20241026095416_initial_model.sql (228.31ms) niks3-go-unit-tests> 2026-09-18 18:14:39.857 UTC [221] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:39.857 UTC [221] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:39 OK 20251210153512_drop_unused_gin_index.sql (12.18ms) niks3-go-unit-tests> 2026/09/18 18:14:39 WARN claim: cannot clear write deadline error="feature not supported" niks3-go-unit-tests> 2026/09/18 18:14:39 OK 20251218171726_add_pins.sql (37.85ms) niks3-go-unit-tests> 2026/09/18 18:14:39 WARN claim: cannot clear write deadline error="feature not supported" niks3-go-unit-tests> 2026/09/18 18:14:39 WARN claim: cannot clear write deadline error="feature not supported" niks3-go-unit-tests> 2026/09/18 18:14:39 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> --- PASS: TestClientIntegration (3.20s) niks3-go-unit-tests> === CONT TestCompletedNarNotReofferedAcrossClosures niks3-go-unit-tests> 2026/09/18 18:14:39 OK 20260628120000_add_object_size_and_stats.sql (35.74ms) niks3-go-unit-tests> 2026/09/18 18:14:40 OK 20260905000000_add_claims.sql (63.66ms) niks3-go-unit-tests> 2026/09/18 18:14:40 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:40 OK 1_commit_pending_closure.sql (8.88ms) niks3-go-unit-tests> 2026/09/18 18:14:40 OK 2_object_stats_trigger.sql (342.38µs) niks3-go-unit-tests> 2026/09/18 18:14:40 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:40 OK 20241026095416_initial_model.sql (228.15ms) niks3-go-unit-tests> 2026/09/18 18:14:40 OK 20251210153512_drop_unused_gin_index.sql (19.9ms) niks3-go-unit-tests> 2026/09/18 18:14:40 OK 20251218171726_add_pins.sql (43.69ms) niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Received complete multipart upload request method=POST path=/api/multipart/complete niks3-go-unit-tests> 2026/09/18 18:14:40 OK 20260628120000_add_object_size_and_stats.sql (60.69ms) niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Completed multipart upload object_key=nar/dadb44fdadb44fdadb44fdadb44f000000000000000000000000.nar.zst upload_id=NTQ2NTZjMGUtZmYzNi00ZDU0LTk3MzktMzY1Y2IxNmJhNTM3LmNmYTE2YTEyLWZjNTItNDI2OS1iODQyLTU3YmY4ZmNkYTg5YngxNzg5NzU1Mjc4ODIyNDAyMDAw parts=10 niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Completed upload id=1 niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Object in database but missing from S3 key=dadb44fdadb44fdadb44fdadb44f0000.narinfo niks3-go-unit-tests> 2026/09/18 18:14:40 WARN Found objects in DB but missing from S3, will re-upload count=1 niks3-go-unit-tests> --- PASS: TestService_verifyS3Integrity (2.48s) niks3-go-unit-tests> === CONT TestReadProxyRootRedirectsToIndexHTML niks3-go-unit-tests> 2026/09/18 18:14:40 OK 20260905000000_add_claims.sql (81.84ms) niks3-go-unit-tests> 2026/09/18 18:14:40 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:40 OK 1_commit_pending_closure.sql (2.66ms) niks3-go-unit-tests> 2026/09/18 18:14:40 OK 2_object_stats_trigger.sql (475.67µs) niks3-go-unit-tests> 2026/09/18 18:14:40 goose: up to current file version: 2 niks3-go-unit-tests> --- PASS: TestCacheStatsHandler (2.02s) niks3-go-unit-tests> === CONT TestCompleteMultipartUpload_ErrorButObjectExists niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Received complete multipart upload request method=POST path=/api/multipart/complete niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Completed multipart upload object_key=nar/0000000000000000000000000000001100000000000000000000.nar.zst upload_id=NTQ2NTZjMGUtZmYzNi00ZDU0LTk3MzktMzY1Y2IxNmJhNTM3LjUwM2I3NzkwLTY5MmQtNDVlYy04OTQ1LTYzZTEyZWZjMDEyYngxNzg5NzU1Mjc4OTkwOTk1MDAw parts=10 niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Completed upload id=1 niks3-go-unit-tests> 2026/09/18 18:14:40 WARN claim: cannot clear write deadline error="feature not supported" niks3-go-unit-tests> 2026/09/18 18:14:40 WARN claim: cannot clear write deadline error="feature not supported" niks3-go-unit-tests> --- PASS: TestClaim_GCMarkedOutputCountsAsAbsent (2.71s) niks3-go-unit-tests> === CONT TestReadProxyConditionalGet niks3-go-unit-tests> 2026-09-18 18:14:40.626 UTC [230] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:40.626 UTC [230] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026-09-18 18:14:40.676 UTC [233] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:40.676 UTC [233] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Received complete multipart upload request method=POST path=/api/multipart/complete niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Completed multipart upload object_key=nar/0000000000000000000000000000000000000000000000000000.nar.zst upload_id=NTQ2NTZjMGUtZmYzNi00ZDU0LTk3MzktMzY1Y2IxNmJhNTM3Ljc5MzExOTM1LWIwYTEtNDgyMi04ZGM4LTY1MjFkOTNmNTgwZHgxNzg5NzU1Mjc5Mjg3NzQwMDAw parts=10 niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Completed upload id=1 niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Received get closure request method=GET path=/api/closures/00000000000000000000000000000000 niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:40 OK 20241026095416_initial_model.sql (117.23ms) niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Starting cleanup of old closures method=DELETE path=/api/closures niks3-go-unit-tests> 2026/09/18 18:14:40 OK 20251210153512_drop_unused_gin_index.sql (1.8ms) niks3-go-unit-tests> 2026/09/18 18:14:40 OK 20251218171726_add_pins.sql (2.51ms) niks3-go-unit-tests> 2026/09/18 18:14:40 OK 20241026095416_initial_model.sql (82.69ms) niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Aborted multipart uploads count=0 niks3-go-unit-tests> 2026/09/18 18:14:40 OK 20251210153512_drop_unused_gin_index.sql (1.64ms) niks3-go-unit-tests> 2026/09/18 18:14:40 OK 20260628120000_add_object_size_and_stats.sql (5.17ms) niks3-go-unit-tests> 2026/09/18 18:14:40 OK 20251218171726_add_pins.sql (2.56ms) niks3-go-unit-tests> 2026/09/18 18:14:40 OK 20260905000000_add_claims.sql (20.71ms) niks3-go-unit-tests> 2026/09/18 18:14:40 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Garbage collection completed failed-uploads-deleted=0 old-closures-deleted=1 objects-marked-for-deletion=2 objects-deleted-after-grace-period=0 objects-failed-to-delete=0 niks3-go-unit-tests> 2026/09/18 18:14:40 OK 1_commit_pending_closure.sql (5.93ms) niks3-go-unit-tests> 2026/09/18 18:14:40 OK 2_object_stats_trigger.sql (329.25µs) niks3-go-unit-tests> 2026/09/18 18:14:40 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Vacuumed table table=pending_closures niks3-go-unit-tests> 2026/09/18 18:14:40 OK 20260628120000_add_object_size_and_stats.sql (53.49ms) niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Vacuumed table table=pending_objects niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Vacuumed table table=multipart_uploads niks3-go-unit-tests> 2026/09/18 18:14:40 OK 20260905000000_add_claims.sql (47.99ms) niks3-go-unit-tests> 2026/09/18 18:14:40 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Vacuumed table table=closures niks3-go-unit-tests> 2026/09/18 18:14:40 OK 1_commit_pending_closure.sql (4.07ms) niks3-go-unit-tests> 2026/09/18 18:14:40 OK 2_object_stats_trigger.sql (533.5µs) niks3-go-unit-tests> 2026/09/18 18:14:40 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Vacuumed table table=objects niks3-go-unit-tests> 2026/09/18 18:14:40 INFO Received get closure request method=GET path=/api/closures/00000000000000000000000000000000 niks3-go-unit-tests> --- PASS: TestService_createPendingClosureHandler (2.99s) niks3-go-unit-tests> === CONT TestRedundantMultipartUpload niks3-go-unit-tests> 2026/09/18 18:14:41 INFO Received complete multipart upload request method=POST path=/api/multipart/complete niks3-go-unit-tests> --- PASS: TestService_Rustfstest (2.53s) niks3-go-unit-tests> === CONT TestReadProxyHead niks3-go-unit-tests> 2026/09/18 18:14:41 INFO Received complete multipart upload request method=POST path=/api/multipart/complete niks3-go-unit-tests> 2026/09/18 18:14:41 INFO Completed multipart upload object_key=nar/0000000000000000000000000000001000000000000000000000.nar.zst upload_id=NTQ2NTZjMGUtZmYzNi00ZDU0LTk3MzktMzY1Y2IxNmJhNTM3LmU1YmU4OTBkLTcxODUtNDFkNC04ZTUwLTU5NmViNTI4ZmU3MHgxNzg5NzU1Mjc5OTQ0MjkxMDAw parts=10 niks3-go-unit-tests> 2026/09/18 18:14:41 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign niks3-go-unit-tests> 2026/09/18 18:14:41 INFO Signed narinfos id=1 count=1 niks3-go-unit-tests> 2026/09/18 18:14:41 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete niks3-go-unit-tests> 2026/09/18 18:14:41 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:41 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign niks3-go-unit-tests> 2026/09/18 18:14:41 INFO Signed narinfos id=2 count=1 niks3-go-unit-tests> 2026/09/18 18:14:41 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete niks3-go-unit-tests> 2026/09/18 18:14:41 INFO Completed upload id=2 niks3-go-unit-tests> 2026/09/18 18:14:41 WARN claim: cannot clear write deadline error="feature not supported" niks3-go-unit-tests> --- PASS: TestClaim_BuildWaitComplete (2.99s) niks3-go-unit-tests> === CONT TestReadRedirectUsesPublicS3URL niks3-go-unit-tests> 2026/09/18 18:14:41 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026-09-18 18:14:41.306 UTC [247] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:41.306 UTC [247] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026-09-18 18:14:41.310 UTC [252] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:41.310 UTC [252] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:41 INFO Registered completed upload object_key=nar/jjjjjjjjjjjjjjjjjjjjjjjjjjjjjj0100000000000000000000.nar.zst niks3-go-unit-tests> 2026/09/18 18:14:41 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> --- PASS: TestPresignedUploadRegisteredBeforeCommit (2.68s) niks3-go-unit-tests> === CONT TestReadProxyInvalidPath niks3-go-unit-tests> 2026/09/18 18:14:41 OK 20241026095416_initial_model.sql (15.32ms) niks3-go-unit-tests> 2026/09/18 18:14:41 OK 20241026095416_initial_model.sql (20.23ms) niks3-go-unit-tests> 2026/09/18 18:14:41 OK 20251210153512_drop_unused_gin_index.sql (592.17µs) niks3-go-unit-tests> 2026/09/18 18:14:41 OK 20251210153512_drop_unused_gin_index.sql (381.67µs) niks3-go-unit-tests> 2026/09/18 18:14:41 OK 20251218171726_add_pins.sql (861.33µs) niks3-go-unit-tests> 2026/09/18 18:14:41 OK 20251218171726_add_pins.sql (864.75µs) niks3-go-unit-tests> 2026/09/18 18:14:41 OK 20260628120000_add_object_size_and_stats.sql (4.19ms) niks3-go-unit-tests> 2026/09/18 18:14:41 OK 20260628120000_add_object_size_and_stats.sql (5.21ms) niks3-go-unit-tests> 2026/09/18 18:14:41 OK 20260905000000_add_claims.sql (1.73ms) niks3-go-unit-tests> 2026/09/18 18:14:41 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:41 OK 1_commit_pending_closure.sql (1.76ms) niks3-go-unit-tests> 2026/09/18 18:14:41 OK 2_object_stats_trigger.sql (658.08µs) niks3-go-unit-tests> 2026/09/18 18:14:41 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:41 OK 20260905000000_add_claims.sql (3.16ms) niks3-go-unit-tests> 2026/09/18 18:14:41 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:41 OK 1_commit_pending_closure.sql (801.71µs) niks3-go-unit-tests> 2026/09/18 18:14:41 OK 2_object_stats_trigger.sql (370.67µs) niks3-go-unit-tests> 2026/09/18 18:14:41 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:41 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> --- PASS: TestReadProxyDisabled (2.04s) niks3-go-unit-tests> === CONT TestReadProxyRangeRequest niks3-go-unit-tests> 2026-09-18 18:14:41.755 UTC [263] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:41.755 UTC [263] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026-09-18 18:14:41.763 UTC [269] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:41.763 UTC [269] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026-09-18 18:14:41.817 UTC [270] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:41.817 UTC [270] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:41 OK 20241026095416_initial_model.sql (64.13ms) niks3-go-unit-tests> 2026/09/18 18:14:41 OK 20241026095416_initial_model.sql (31.45ms) niks3-go-unit-tests> 2026/09/18 18:14:41 OK 20251210153512_drop_unused_gin_index.sql (744.88µs) niks3-go-unit-tests> 2026/09/18 18:14:41 OK 20251210153512_drop_unused_gin_index.sql (700.29µs) niks3-go-unit-tests> 2026/09/18 18:14:41 OK 20251218171726_add_pins.sql (1.37ms) niks3-go-unit-tests> 2026/09/18 18:14:41 OK 20251218171726_add_pins.sql (1.4ms) niks3-go-unit-tests> 2026/09/18 18:14:41 OK 20260628120000_add_object_size_and_stats.sql (27.79ms) niks3-go-unit-tests> 2026/09/18 18:14:41 OK 20260628120000_add_object_size_and_stats.sql (33.31ms) niks3-go-unit-tests> 2026/09/18 18:14:41 OK 20260905000000_add_claims.sql (30.31ms) niks3-go-unit-tests> 2026/09/18 18:14:41 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:41 OK 20260905000000_add_claims.sql (25.48ms) niks3-go-unit-tests> 2026/09/18 18:14:41 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:41 OK 1_commit_pending_closure.sql (2.36ms) niks3-go-unit-tests> 2026/09/18 18:14:41 OK 1_commit_pending_closure.sql (3.06ms) niks3-go-unit-tests> 2026/09/18 18:14:41 OK 20241026095416_initial_model.sql (63.29ms) niks3-go-unit-tests> 2026/09/18 18:14:41 OK 2_object_stats_trigger.sql (469.38µs) niks3-go-unit-tests> 2026/09/18 18:14:41 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:41 OK 2_object_stats_trigger.sql (735.54µs) niks3-go-unit-tests> 2026/09/18 18:14:41 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:41 OK 20251210153512_drop_unused_gin_index.sql (836.42µs) niks3-go-unit-tests> 2026/09/18 18:14:41 OK 20251218171726_add_pins.sql (3.11ms) niks3-go-unit-tests> 2026/09/18 18:14:41 OK 20260628120000_add_object_size_and_stats.sql (20.7ms) niks3-go-unit-tests> 2026/09/18 18:14:41 OK 20260905000000_add_claims.sql (35.13ms) niks3-go-unit-tests> 2026/09/18 18:14:41 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:41 OK 1_commit_pending_closure.sql (2.29ms) niks3-go-unit-tests> 2026/09/18 18:14:41 OK 2_object_stats_trigger.sql (400.42µs) niks3-go-unit-tests> 2026/09/18 18:14:41 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:42 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026-09-18 18:14:42.170 UTC [273] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:42.170 UTC [273] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:42 OK 20241026095416_initial_model.sql (181.34ms) niks3-go-unit-tests> 2026/09/18 18:14:42 INFO Received complete multipart upload request method=POST path=/api/multipart/complete niks3-go-unit-tests> 2026/09/18 18:14:42 WARN CompleteMultipartUpload errored but object exists; treating as success error="The specified key does not exist." object_key=nar/gggggggggggggggggggggggggggggg0300000000000000000000.nar.zst upload_id=NTQ2NTZjMGUtZmYzNi00ZDU0LTk3MzktMzY1Y2IxNmJhNTM3LmE4MGE1MTgxLWYwNjQtNDY1OC04ZDNmLWZjNGYwMTI1ODEwNngxNzg5NzU1MjgyMjAyMzY1MDAw niks3-go-unit-tests> 2026/09/18 18:14:42 INFO Completed multipart upload object_key=nar/gggggggggggggggggggggggggggggg0300000000000000000000.nar.zst upload_id=NTQ2NTZjMGUtZmYzNi00ZDU0LTk3MzktMzY1Y2IxNmJhNTM3LmE4MGE1MTgxLWYwNjQtNDY1OC04ZDNmLWZjNGYwMTI1ODEwNngxNzg5NzU1MjgyMjAyMzY1MDAw parts=1 niks3-go-unit-tests> --- PASS: TestCompleteMultipartUpload_ErrorButObjectExists (2.01s) niks3-go-unit-tests> === CONT TestReadProxy404 niks3-go-unit-tests> 2026/09/18 18:14:42 OK 20251210153512_drop_unused_gin_index.sql (19.7ms) niks3-go-unit-tests> 2026-09-18 18:14:42.455 UTC [283] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:42.455 UTC [283] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:42 OK 20251218171726_add_pins.sql (18ms) niks3-go-unit-tests> --- PASS: TestReadProxyRootRedirectsToIndexHTML (2.11s) niks3-go-unit-tests> === CONT TestReadRedirectKeepsNarinfoProxied niks3-go-unit-tests> 2026/09/18 18:14:42 OK 20260628120000_add_object_size_and_stats.sql (6.04ms) niks3-go-unit-tests> 2026/09/18 18:14:42 OK 20260905000000_add_claims.sql (90.81ms) niks3-go-unit-tests> 2026/09/18 18:14:42 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:42 OK 1_commit_pending_closure.sql (2.22ms) niks3-go-unit-tests> 2026/09/18 18:14:42 OK 2_object_stats_trigger.sql (416.42µs) niks3-go-unit-tests> 2026/09/18 18:14:42 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:42 OK 20241026095416_initial_model.sql (226.28ms) niks3-go-unit-tests> 2026/09/18 18:14:42 OK 20251210153512_drop_unused_gin_index.sql (16.79ms) niks3-go-unit-tests> 2026/09/18 18:14:42 OK 20251218171726_add_pins.sql (18.87ms) niks3-go-unit-tests> --- PASS: TestReadProxyConditionalGet (2.24s) niks3-go-unit-tests> === CONT TestReadProxyNarStreaming niks3-go-unit-tests> 2026-09-18 18:14:42.816 UTC [301] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:42.816 UTC [301] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:42 OK 20260628120000_add_object_size_and_stats.sql (31.3ms) niks3-go-unit-tests> 2026/09/18 18:14:42 OK 20260905000000_add_claims.sql (24.03ms) niks3-go-unit-tests> 2026/09/18 18:14:42 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:42 OK 1_commit_pending_closure.sql (7.8ms) niks3-go-unit-tests> 2026/09/18 18:14:42 OK 2_object_stats_trigger.sql (492.75µs) niks3-go-unit-tests> 2026/09/18 18:14:42 goose: up to current file version: 2 niks3-go-unit-tests> 2026-09-18 18:14:42.870 UTC [319] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:42.870 UTC [319] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:42 INFO Received complete multipart upload request method=POST path=/api/multipart/complete niks3-go-unit-tests> 2026/09/18 18:14:43 INFO Completed multipart upload object_key=nar/hhhhhhhhhhhhhhhhhhhhhhhhhhhhhh0100000000000000000000.nar.zst upload_id=NTQ2NTZjMGUtZmYzNi00ZDU0LTk3MzktMzY1Y2IxNmJhNTM3LjBiYzRlNjA0LTE1NDItNDU3Yi05NzgzLTQ4MmU1ODRhYTk4ZHgxNzg5NzU1MjgxNTA4MTk5MDAw parts=12 niks3-go-unit-tests> 2026/09/18 18:14:43 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> --- PASS: TestCompletedNarNotReofferedAcrossClosures (3.08s) niks3-go-unit-tests> === CONT TestObjectStatsTrigger niks3-go-unit-tests> 2026/09/18 18:14:43 OK 20241026095416_initial_model.sql (173.17ms) niks3-go-unit-tests> 2026/09/18 18:14:43 OK 20251210153512_drop_unused_gin_index.sql (7.88ms) niks3-go-unit-tests> 2026/09/18 18:14:43 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:43 OK 20251218171726_add_pins.sql (27.49ms) niks3-go-unit-tests> 2026/09/18 18:14:43 OK 20241026095416_initial_model.sql (172.18ms) niks3-go-unit-tests> 2026/09/18 18:14:43 OK 20260628120000_add_object_size_and_stats.sql (44.77ms) niks3-go-unit-tests> 2026/09/18 18:14:43 OK 20251210153512_drop_unused_gin_index.sql (15.94ms) niks3-go-unit-tests> 2026/09/18 18:14:43 OK 20251218171726_add_pins.sql (11.46ms) niks3-go-unit-tests> 2026/09/18 18:14:43 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:43 OK 20260905000000_add_claims.sql (57.23ms) niks3-go-unit-tests> 2026/09/18 18:14:43 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:43 OK 20260628120000_add_object_size_and_stats.sql (35.09ms) niks3-go-unit-tests> 2026/09/18 18:14:43 OK 1_commit_pending_closure.sql (11.17ms) niks3-go-unit-tests> 2026/09/18 18:14:43 OK 2_object_stats_trigger.sql (1.16ms) niks3-go-unit-tests> 2026/09/18 18:14:43 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:43 OK 20260905000000_add_claims.sql (60.37ms) niks3-go-unit-tests> 2026/09/18 18:14:43 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:43 OK 1_commit_pending_closure.sql (8.5ms) niks3-go-unit-tests> 2026/09/18 18:14:43 OK 2_object_stats_trigger.sql (634.21µs) niks3-go-unit-tests> 2026/09/18 18:14:43 goose: up to current file version: 2 niks3-go-unit-tests> --- PASS: TestReadProxyHead (2.28s) niks3-go-unit-tests> === CONT TestReadProxyNarinfoAlreadyDecompressed niks3-go-unit-tests> 2026-09-18 18:14:43.515 UTC [339] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:43.515 UTC [339] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> --- PASS: TestReadRedirectUsesPublicS3URL (2.37s) niks3-go-unit-tests> === CONT TestParseSingleRange niks3-go-unit-tests> === RUN TestParseSingleRange/none niks3-go-unit-tests> === PAUSE TestParseSingleRange/none niks3-go-unit-tests> === RUN TestParseSingleRange/unknown_unit niks3-go-unit-tests> === PAUSE TestParseSingleRange/unknown_unit niks3-go-unit-tests> === RUN TestParseSingleRange/multi-range_ignored niks3-go-unit-tests> === PAUSE TestParseSingleRange/multi-range_ignored niks3-go-unit-tests> === RUN TestParseSingleRange/malformed_no_dash niks3-go-unit-tests> === PAUSE TestParseSingleRange/malformed_no_dash niks3-go-unit-tests> === RUN TestParseSingleRange/malformed_both_empty niks3-go-unit-tests> === PAUSE TestParseSingleRange/malformed_both_empty niks3-go-unit-tests> === RUN TestParseSingleRange/malformed_end_before_start niks3-go-unit-tests> === PAUSE TestParseSingleRange/malformed_end_before_start niks3-go-unit-tests> === RUN TestParseSingleRange/closed niks3-go-unit-tests> === PAUSE TestParseSingleRange/closed niks3-go-unit-tests> === RUN TestParseSingleRange/open-ended niks3-go-unit-tests> === PAUSE TestParseSingleRange/open-ended niks3-go-unit-tests> === RUN TestParseSingleRange/end_clamped_to_size niks3-go-unit-tests> === PAUSE TestParseSingleRange/end_clamped_to_size niks3-go-unit-tests> === RUN TestParseSingleRange/suffix niks3-go-unit-tests> === PAUSE TestParseSingleRange/suffix niks3-go-unit-tests> === RUN TestParseSingleRange/suffix_exceeds_size niks3-go-unit-tests> === PAUSE TestParseSingleRange/suffix_exceeds_size niks3-go-unit-tests> === RUN TestParseSingleRange/single_byte niks3-go-unit-tests> === PAUSE TestParseSingleRange/single_byte niks3-go-unit-tests> === RUN TestParseSingleRange/start_past_EOF niks3-go-unit-tests> === PAUSE TestParseSingleRange/start_past_EOF niks3-go-unit-tests> === RUN TestParseSingleRange/start_far_past_EOF niks3-go-unit-tests> === PAUSE TestParseSingleRange/start_far_past_EOF niks3-go-unit-tests> === CONT TestReadProxyNarinfo niks3-go-unit-tests> 2026/09/18 18:14:43 OK 20241026095416_initial_model.sql (173.79ms) niks3-go-unit-tests> 2026/09/18 18:14:43 OK 20251210153512_drop_unused_gin_index.sql (9.84ms) niks3-go-unit-tests> 2026/09/18 18:14:43 OK 20251218171726_add_pins.sql (30.43ms) niks3-go-unit-tests> 2026/09/18 18:14:43 OK 20260628120000_add_object_size_and_stats.sql (34.76ms) niks3-go-unit-tests> --- PASS: TestReadProxyInvalidPath (2.58s) niks3-go-unit-tests> === CONT TestResurrectedObjectNotDeleted niks3-go-unit-tests> 2026/09/18 18:14:43 OK 20260905000000_add_claims.sql (36.34ms) niks3-go-unit-tests> 2026/09/18 18:14:43 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:43 OK 1_commit_pending_closure.sql (7.31ms) niks3-go-unit-tests> 2026/09/18 18:14:43 OK 2_object_stats_trigger.sql (572.67µs) niks3-go-unit-tests> 2026/09/18 18:14:43 goose: up to current file version: 2 niks3-go-unit-tests> --- PASS: TestReadProxyRangeRequest (2.56s) niks3-go-unit-tests> === CONT TestResolveDBConnectionString niks3-go-unit-tests> === RUN TestResolveDBConnectionString/flag_wins niks3-go-unit-tests> === PAUSE TestResolveDBConnectionString/flag_wins niks3-go-unit-tests> === RUN TestResolveDBConnectionString/file_when_flag_empty niks3-go-unit-tests> === PAUSE TestResolveDBConnectionString/file_when_flag_empty niks3-go-unit-tests> === RUN TestResolveDBConnectionString/missing_file_is_an_error niks3-go-unit-tests> === PAUSE TestResolveDBConnectionString/missing_file_is_an_error niks3-go-unit-tests> === RUN TestResolveDBConnectionString/PGHOST_allows_empty niks3-go-unit-tests> === PAUSE TestResolveDBConnectionString/PGHOST_allows_empty niks3-go-unit-tests> === RUN TestResolveDBConnectionString/nothing_configured niks3-go-unit-tests> === PAUSE TestResolveDBConnectionString/nothing_configured niks3-go-unit-tests> === CONT TestOrphanedObjectsGCStressTest niks3-go-unit-tests> 2026-09-18 18:14:44.369 UTC [355] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:44.369 UTC [355] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026-09-18 18:14:44.377 UTC [356] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:44.377 UTC [356] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:44 OK 20241026095416_initial_model.sql (147.18ms) niks3-go-unit-tests> 2026/09/18 18:14:44 OK 20251210153512_drop_unused_gin_index.sql (15.81ms) niks3-go-unit-tests> 2026/09/18 18:14:44 OK 20251218171726_add_pins.sql (33.97ms) niks3-go-unit-tests> 2026/09/18 18:14:44 OK 20241026095416_initial_model.sql (151.36ms) niks3-go-unit-tests> 2026/09/18 18:14:44 OK 20251210153512_drop_unused_gin_index.sql (8.65ms) niks3-go-unit-tests> 2026/09/18 18:14:44 OK 20260628120000_add_object_size_and_stats.sql (43.2ms) niks3-go-unit-tests> 2026/09/18 18:14:44 OK 20251218171726_add_pins.sql (21.64ms) niks3-go-unit-tests> 2026/09/18 18:14:44 OK 20260905000000_add_claims.sql (28.54ms) niks3-go-unit-tests> 2026/09/18 18:14:44 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:44 OK 20260628120000_add_object_size_and_stats.sql (20.44ms) niks3-go-unit-tests> 2026/09/18 18:14:44 OK 1_commit_pending_closure.sql (4.38ms) niks3-go-unit-tests> 2026/09/18 18:14:44 OK 2_object_stats_trigger.sql (469.13µs) niks3-go-unit-tests> 2026/09/18 18:14:44 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:44 INFO Received complete multipart upload request method=POST path=/api/multipart/complete niks3-go-unit-tests> 2026/09/18 18:14:44 OK 20260905000000_add_claims.sql (12.59ms) niks3-go-unit-tests> 2026/09/18 18:14:44 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:44 OK 1_commit_pending_closure.sql (3.57ms) niks3-go-unit-tests> 2026/09/18 18:14:44 OK 2_object_stats_trigger.sql (736.33µs) niks3-go-unit-tests> 2026/09/18 18:14:44 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:44 INFO Completed multipart upload object_key=nar/gggggggggggggggggggggggggggggg0100000000000000000000.nar.zst upload_id=NTQ2NTZjMGUtZmYzNi00ZDU0LTk3MzktMzY1Y2IxNmJhNTM3LjA3MTY5ZWU3LTEzM2QtNDNhNi1iOTgxLWI2ZGUyNDQ3ZDA0MngxNzg5NzU1MjgzMDk5MTg2MDAw parts=12 niks3-go-unit-tests> --- PASS: TestRedundantMultipartUpload (3.80s) niks3-go-unit-tests> === CONT TestPinProtectsFromGC niks3-go-unit-tests> 2026-09-18 18:14:44.757 UTC [357] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:44.757 UTC [357] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> --- PASS: TestReadRedirectKeepsNarinfoProxied (2.50s) niks3-go-unit-tests> === CONT TestOrphanedObjectsGC niks3-go-unit-tests> 2026-09-18 18:14:45.013 UTC [360] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:45.013 UTC [360] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:45 OK 20241026095416_initial_model.sql (198.6ms) niks3-go-unit-tests> 2026/09/18 18:14:45 OK 20251210153512_drop_unused_gin_index.sql (8.4ms) niks3-go-unit-tests> 2026/09/18 18:14:45 OK 20251218171726_add_pins.sql (5.89ms) niks3-go-unit-tests> 2026/09/18 18:14:45 OK 20260628120000_add_object_size_and_stats.sql (28.31ms) niks3-go-unit-tests> 2026/09/18 18:14:45 OK 20260905000000_add_claims.sql (20.1ms) niks3-go-unit-tests> 2026/09/18 18:14:45 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:45 OK 1_commit_pending_closure.sql (9.45ms) niks3-go-unit-tests> 2026/09/18 18:14:45 OK 2_object_stats_trigger.sql (624.38µs) niks3-go-unit-tests> 2026/09/18 18:14:45 goose: up to current file version: 2 niks3-go-unit-tests> --- PASS: TestReadProxy404 (2.74s) niks3-go-unit-tests> === CONT TestGCMetrics niks3-go-unit-tests> 2026/09/18 18:14:45 OK 20241026095416_initial_model.sql (154.76ms) niks3-go-unit-tests> 2026/09/18 18:14:45 OK 20251210153512_drop_unused_gin_index.sql (9.93ms) niks3-go-unit-tests> 2026/09/18 18:14:45 OK 20251218171726_add_pins.sql (5.85ms) niks3-go-unit-tests> 2026-09-18 18:14:45.245 UTC [366] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:45.245 UTC [366] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:45 OK 20260628120000_add_object_size_and_stats.sql (27.19ms) niks3-go-unit-tests> 2026/09/18 18:14:45 OK 20260905000000_add_claims.sql (72.45ms) niks3-go-unit-tests> 2026/09/18 18:14:45 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:45 OK 1_commit_pending_closure.sql (3.24ms) niks3-go-unit-tests> 2026/09/18 18:14:45 OK 2_object_stats_trigger.sql (568.96µs) niks3-go-unit-tests> 2026/09/18 18:14:45 goose: up to current file version: 2 niks3-go-unit-tests> 2026-09-18 18:14:45.415 UTC [367] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:45.415 UTC [367] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> --- PASS: TestReadProxyNarStreaming (2.63s) niks3-go-unit-tests> === CONT TestClaim_TwoInstances niks3-go-unit-tests> 2026/09/18 18:14:45 OK 20241026095416_initial_model.sql (195.42ms) niks3-go-unit-tests> 2026/09/18 18:14:45 OK 20251210153512_drop_unused_gin_index.sql (13.44ms) niks3-go-unit-tests> 2026/09/18 18:14:45 OK 20251218171726_add_pins.sql (37.83ms) niks3-go-unit-tests> 2026/09/18 18:14:45 OK 20260628120000_add_object_size_and_stats.sql (37.41ms) niks3-go-unit-tests> 2026/09/18 18:14:45 OK 20260905000000_add_claims.sql (48.66ms) niks3-go-unit-tests> 2026/09/18 18:14:45 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:45 OK 1_commit_pending_closure.sql (8.21ms) niks3-go-unit-tests> 2026/09/18 18:14:45 OK 2_object_stats_trigger.sql (476.42µs) niks3-go-unit-tests> 2026/09/18 18:14:45 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:45 OK 20241026095416_initial_model.sql (160.1ms) niks3-go-unit-tests> 2026/09/18 18:14:45 OK 20251210153512_drop_unused_gin_index.sql (14.63ms) niks3-go-unit-tests> 2026/09/18 18:14:45 OK 20251218171726_add_pins.sql (34.24ms) niks3-go-unit-tests> --- PASS: TestObjectStatsTrigger (2.72s) niks3-go-unit-tests> === CONT TestClientCADerivations niks3-go-unit-tests> 2026/09/18 18:14:45 OK 20260628120000_add_object_size_and_stats.sql (48.49ms) niks3-go-unit-tests> 2026-09-18 18:14:45.790 UTC [371] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:45.790 UTC [371] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:45 OK 20260905000000_add_claims.sql (27.2ms) niks3-go-unit-tests> 2026/09/18 18:14:45 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:45 OK 1_commit_pending_closure.sql (2.37ms) niks3-go-unit-tests> 2026/09/18 18:14:45 OK 2_object_stats_trigger.sql (690.88µs) niks3-go-unit-tests> 2026/09/18 18:14:45 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:45 OK 20241026095416_initial_model.sql (86.36ms) niks3-go-unit-tests> 2026/09/18 18:14:45 OK 20251210153512_drop_unused_gin_index.sql (9.05ms) niks3-go-unit-tests> 2026-09-18 18:14:45.910 UTC [374] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:45.910 UTC [374] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:45 OK 20251218171726_add_pins.sql (15.91ms) niks3-go-unit-tests> --- PASS: TestReadProxyNarinfoAlreadyDecompressed (2.58s) niks3-go-unit-tests> === CONT TestPresent niks3-go-unit-tests> 2026/09/18 18:14:45 OK 20260628120000_add_object_size_and_stats.sql (21.52ms) niks3-go-unit-tests> 2026/09/18 18:14:45 OK 20260905000000_add_claims.sql (17.56ms) niks3-go-unit-tests> 2026/09/18 18:14:45 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:45 OK 1_commit_pending_closure.sql (2.97ms) niks3-go-unit-tests> 2026/09/18 18:14:45 OK 2_object_stats_trigger.sql (495.92µs) niks3-go-unit-tests> 2026/09/18 18:14:45 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20241026095416_initial_model.sql (60.55ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20251210153512_drop_unused_gin_index.sql (7.94ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20251218171726_add_pins.sql (9.67ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20260628120000_add_object_size_and_stats.sql (19.16ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20260905000000_add_claims.sql (41.71ms) niks3-go-unit-tests> 2026/09/18 18:14:46 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:46 OK 1_commit_pending_closure.sql (4.69ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 2_object_stats_trigger.sql (664.67µs) niks3-go-unit-tests> 2026/09/18 18:14:46 goose: up to current file version: 2 niks3-go-unit-tests> 2026-09-18 18:14:46.129 UTC [377] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:46.129 UTC [377] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> --- PASS: TestReadProxyNarinfo (2.51s) niks3-go-unit-tests> === CONT TestClaim_StreamsThroughServer niks3-go-unit-tests> 2026-09-18 18:14:46.243 UTC [380] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:46.243 UTC [380] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20241026095416_initial_model.sql (89.44ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20251210153512_drop_unused_gin_index.sql (14.06ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20251218171726_add_pins.sql (8.54ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20260628120000_add_object_size_and_stats.sql (29.89ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20260905000000_add_claims.sql (6.93ms) niks3-go-unit-tests> 2026/09/18 18:14:46 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:46 OK 1_commit_pending_closure.sql (3.56ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 2_object_stats_trigger.sql (1.86ms) niks3-go-unit-tests> 2026/09/18 18:14:46 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20241026095416_initial_model.sql (54.55ms) niks3-go-unit-tests> 2026-09-18 18:14:46.345 UTC [381] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:46.345 UTC [381] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20251210153512_drop_unused_gin_index.sql (8.69ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20251218171726_add_pins.sql (10.8ms) niks3-go-unit-tests> --- PASS: TestResurrectedObjectNotDeleted (2.48s) niks3-go-unit-tests> === CONT TestClaim_InputsTouched niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20260628120000_add_object_size_and_stats.sql (26.52ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20260905000000_add_claims.sql (18.09ms) niks3-go-unit-tests> 2026/09/18 18:14:46 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:46 OK 1_commit_pending_closure.sql (1.99ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 2_object_stats_trigger.sql (347.75µs) niks3-go-unit-tests> 2026/09/18 18:14:46 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20241026095416_initial_model.sql (82.84ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20251210153512_drop_unused_gin_index.sql (7.08ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20251218171726_add_pins.sql (10.07ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20260628120000_add_object_size_and_stats.sql (22.28ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20260905000000_add_claims.sql (5.81ms) niks3-go-unit-tests> 2026/09/18 18:14:46 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:46 OK 1_commit_pending_closure.sql (2.98ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 2_object_stats_trigger.sql (561.67µs) niks3-go-unit-tests> 2026/09/18 18:14:46 goose: up to current file version: 2 niks3-go-unit-tests> 2026-09-18 18:14:46.547 UTC [386] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:46.547 UTC [386] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20241026095416_initial_model.sql (74.04ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20251210153512_drop_unused_gin_index.sql (12.16ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20251218171726_add_pins.sql (26.94ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20260628120000_add_object_size_and_stats.sql (14.42ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20260905000000_add_claims.sql (24.2ms) niks3-go-unit-tests> 2026/09/18 18:14:46 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:46 OK 1_commit_pending_closure.sql (3.13ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 2_object_stats_trigger.sql (635µs) niks3-go-unit-tests> 2026/09/18 18:14:46 goose: up to current file version: 2 niks3-go-unit-tests> 2026-09-18 18:14:46.747 UTC [388] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:46.747 UTC [388] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026-09-18 18:14:46.802 UTC [390] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:46.802 UTC [390] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20241026095416_initial_model.sql (68.75ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20251210153512_drop_unused_gin_index.sql (6.15ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20251218171726_add_pins.sql (21.45ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20260628120000_add_object_size_and_stats.sql (12.37ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20241026095416_initial_model.sql (53.94ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20251210153512_drop_unused_gin_index.sql (7.28ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20260905000000_add_claims.sql (21.46ms) niks3-go-unit-tests> 2026/09/18 18:14:46 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20251218171726_add_pins.sql (2.03ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 1_commit_pending_closure.sql (2.04ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 2_object_stats_trigger.sql (555.58µs) niks3-go-unit-tests> 2026/09/18 18:14:46 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20260628120000_add_object_size_and_stats.sql (15.57ms) niks3-go-unit-tests> === NAME TestPinProtectsFromGC niks3-go-unit-tests> client_integration_test.go:731: Pinned store path: /nix/var/nix/builds/nix-99900-4123015800/TestPinProtectsFromGC2605454433/001/store/w93g313asz6l0ahlq3phsm41bb7knxah-pinned-file.txt niks3-go-unit-tests> client_integration_test.go:732: Unpinned store path: /nix/var/nix/builds/nix-99900-4123015800/TestPinProtectsFromGC2605454433/001/store/l7kfrhql5b5i47vpmkd342vqglq202zp-unpinned-file.txt niks3-go-unit-tests> 2026/09/18 18:14:46 OK 20260905000000_add_claims.sql (19.85ms) niks3-go-unit-tests> 2026/09/18 18:14:46 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:46 OK 1_commit_pending_closure.sql (16.82ms) niks3-go-unit-tests> 2026/09/18 18:14:46 OK 2_object_stats_trigger.sql (470.96µs) niks3-go-unit-tests> 2026/09/18 18:14:46 goose: up to current file version: 2 niks3-go-unit-tests> 2026-09-18 18:14:46.965 UTC [394] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:46.965 UTC [394] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:47 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:47 OK 20241026095416_initial_model.sql (52.32ms) niks3-go-unit-tests> 2026/09/18 18:14:47 OK 20251210153512_drop_unused_gin_index.sql (694.54µs) niks3-go-unit-tests> 2026/09/18 18:14:47 OK 20251218171726_add_pins.sql (991.21µs) niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Aborted multipart uploads count=0 niks3-go-unit-tests> 2026/09/18 18:14:47 WARN Force mode enabled - objects will be deleted immediately without grace period niks3-go-unit-tests> 2026/09/18 18:14:47 OK 20260628120000_add_object_size_and_stats.sql (10.03ms) niks3-go-unit-tests> 2026/09/18 18:14:47 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 niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Vacuumed table table=pending_closures niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Vacuumed table table=pending_objects niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Vacuumed table table=multipart_uploads niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Vacuumed table table=closures niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Vacuumed table table=objects niks3-go-unit-tests> --- PASS: TestGCMetrics (1.90s) niks3-go-unit-tests> === CONT TestService_NativeMTLS niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:47 OK 20260905000000_add_claims.sql (24.59ms) niks3-go-unit-tests> 2026/09/18 18:14:47 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Uploading w93g313asz6l0ahlq3phsm41bb7knxah-pinned-file.txt (128B) niks3-go-unit-tests> 2026/09/18 18:14:47 OK 1_commit_pending_closure.sql (1.58ms) niks3-go-unit-tests> 2026/09/18 18:14:47 OK 2_object_stats_trigger.sql (247.92µs) niks3-go-unit-tests> 2026/09/18 18:14:47 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:47 WARN Failed to register uploaded object key=nar/0qmhsg42pqsz7x6hh02j8gznnac3yi3qpjhrqbwvz88i194jbb5s.nar.zst error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:47 WARN Failed to register uploaded object key=w93g313asz6l0ahlq3phsm41bb7knxah.ls error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Signed narinfos id=1 count=1 niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Uploading 1 narinfos niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete niks3-go-unit-tests> 2026/09/18 18:14:47 WARN Failed to register uploaded object key=w93g313asz6l0ahlq3phsm41bb7knxah.narinfo error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Completed upload id=1 niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Upload complete. (134ms) niks3-go-unit-tests> 2026-09-18 18:14:47.129 UTC [406] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:47.129 UTC [406] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:47 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:47 WARN claim: cannot clear write deadline error="feature not supported" niks3-go-unit-tests> 2026/09/18 18:14:47 OK 20241026095416_initial_model.sql (57.57ms) niks3-go-unit-tests> 2026/09/18 18:14:47 OK 20251210153512_drop_unused_gin_index.sql (958.67µs) niks3-go-unit-tests> 2026/09/18 18:14:47 WARN Rate limiter enabled after throttle name=s3-test rate=5 niks3-go-unit-tests> 2026/09/18 18:14:47 WARN S3 rate limit hit operation="complete multipart upload" error="Please reduce your request rate." niks3-go-unit-tests> === NAME TestCompleteMultipartUploadHandler_RateLimitTriggersThrottle niks3-go-unit-tests> throttle_test.go:213: Proxy stats: total=13, throttled=10, completeMultipart=10 niks3-go-unit-tests> throttle_test.go:215: Rate limiter: enabled=true, rate=5.00 niks3-go-unit-tests> --- PASS: TestCompleteMultipartUploadHandler_RateLimitTriggersThrottle (8.80s) niks3-go-unit-tests> === CONT TestMultipartCleanup niks3-go-unit-tests> 2026/09/18 18:14:47 WARN claim: cannot clear write deadline error="feature not supported" niks3-go-unit-tests> 2026/09/18 18:14:47 WARN claim: cannot clear write deadline error="feature not supported" niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:47 OK 20251218171726_add_pins.sql (15.6ms) niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Uploading l7kfrhql5b5i47vpmkd342vqglq202zp-unpinned-file.txt (128B) niks3-go-unit-tests> 2026/09/18 18:14:47 OK 20260628120000_add_object_size_and_stats.sql (23.48ms) niks3-go-unit-tests> 2026/09/18 18:14:47 WARN Failed to register uploaded object key=nar/0gh0wdnr6gmk4r5sfzzh12isnl14rgmkrwy1ws41hpsrlndclg5h.nar.zst error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:47 OK 20260905000000_add_claims.sql (13.17ms) niks3-go-unit-tests> 2026/09/18 18:14:47 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Signed narinfos id=2 count=1 niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Uploading 1 narinfos niks3-go-unit-tests> 2026/09/18 18:14:47 WARN Failed to register uploaded object key=l7kfrhql5b5i47vpmkd342vqglq202zp.ls error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete niks3-go-unit-tests> 2026/09/18 18:14:47 WARN Failed to register uploaded object key=l7kfrhql5b5i47vpmkd342vqglq202zp.narinfo error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:47 OK 1_commit_pending_closure.sql (7.15ms) niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Completed upload id=2 niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Upload complete. (116ms) niks3-go-unit-tests> 2026/09/18 18:14:47 OK 2_object_stats_trigger.sql (355.92µs) niks3-go-unit-tests> 2026/09/18 18:14:47 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Received create pin request method=POST path=/api/pins/myapp niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Created/updated pin name=myapp store_path=/nix/var/nix/builds/nix-99900-4123015800/TestPinProtectsFromGC2605454433/001/store/w93g313asz6l0ahlq3phsm41bb7knxah-pinned-file.txt narinfo_key=w93g313asz6l0ahlq3phsm41bb7knxah.narinfo niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Starting cleanup of old closures method=DELETE path=/api/closures niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Garbage collection started niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Aborted multipart uploads count=0 niks3-go-unit-tests> 2026/09/18 18:14:47 WARN Force mode enabled - objects will be deleted immediately without grace period niks3-go-unit-tests> === NAME TestOrphanedObjectsGC niks3-go-unit-tests> orphaned_objects_gc_test.go:290: GC Test Summary: niks3-go-unit-tests> orphaned_objects_gc_test.go:291: - Kept: 2 objects from closure A niks3-go-unit-tests> orphaned_objects_gc_test.go:292: - Deleted: 2 objects from closure B niks3-go-unit-tests> orphaned_objects_gc_test.go:293: - Deleted: 6 orphaned chain objects (X1->X2->X3) niks3-go-unit-tests> orphaned_objects_gc_test.go:294: - Deleted: 2 orphaned single objects (Y) niks3-go-unit-tests> orphaned_objects_gc_test.go:295: - Total deleted: 10 objects niks3-go-unit-tests> --- PASS: TestOrphanedObjectsGC (2.37s) niks3-go-unit-tests> === CONT TestServerTLSConfig niks3-go-unit-tests> === RUN TestServerTLSConfig/no_client_CA niks3-go-unit-tests> === PAUSE TestServerTLSConfig/no_client_CA niks3-go-unit-tests> === RUN TestServerTLSConfig/missing_CA_file niks3-go-unit-tests> === PAUSE TestServerTLSConfig/missing_CA_file niks3-go-unit-tests> === RUN TestServerTLSConfig/not_a_PEM_file niks3-go-unit-tests> === PAUSE TestServerTLSConfig/not_a_PEM_file niks3-go-unit-tests> === CONT TestService_ReadAuthMiddleware niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Garbage collection completed failed-uploads-deleted=0 old-closures-deleted=1 objects-marked-for-deletion=3 objects-deleted-after-grace-period=2001 objects-failed-to-delete=0 niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Vacuumed table table=pending_closures niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Vacuumed table table=pending_objects niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Vacuumed table table=multipart_uploads niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Vacuumed table table=closures niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Vacuumed table table=objects niks3-go-unit-tests> === NAME TestClientCADerivations niks3-go-unit-tests> client_ca_test.go:136: Built CA derivation: /nix/var/nix/builds/nix-99900-4123015800/TestClientCADerivations506694194/001/store/gf4qg89hp202ki0ksnywyfmvgvl5bbkz-ca-test niks3-go-unit-tests> client_ca_test.go:139: Found 1 dependencies (including self) niks3-go-unit-tests> 2026/09/18 18:14:47 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:47 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:48 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) niks3-go-unit-tests> 2026/09/18 18:14:48 INFO Uploading gf4qg89hp202ki0ksnywyfmvgvl5bbkz-ca-test (144B) niks3-go-unit-tests> 2026/09/18 18:14:48 WARN Failed to register uploaded object key=nar/04jj7iiy79vhzp5kk3r2751n9x3xa44j98y5bk1ds4jp31kky74n.nar.zst error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:48 WARN Failed to register uploaded object key=gf4qg89hp202ki0ksnywyfmvgvl5bbkz.ls error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:48 WARN Failed to register uploaded object key=log/h15nia3grmj2fcq7dxpvyf81kwyk7i0n-ca-test.drv error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:48 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign niks3-go-unit-tests> 2026/09/18 18:14:48 INFO Signed narinfos id=1 count=1 niks3-go-unit-tests> 2026/09/18 18:14:48 INFO Uploading 1 narinfos niks3-go-unit-tests> 2026/09/18 18:14:48 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete niks3-go-unit-tests> 2026/09/18 18:14:48 WARN Failed to register uploaded object key=gf4qg89hp202ki0ksnywyfmvgvl5bbkz.narinfo error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:48 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:48 INFO Completed upload id=1 niks3-go-unit-tests> 2026/09/18 18:14:48 INFO Upload complete. (229ms) niks3-go-unit-tests> client_ca_test.go:180: Narinfo contains CA field: StorePath: /nix/var/nix/builds/nix-99900-4123015800/TestClientCADerivations506694194/001/store/gf4qg89hp202ki0ksnywyfmvgvl5bbkz-ca-test niks3-go-unit-tests> URL: nar/04jj7iiy79vhzp5kk3r2751n9x3xa44j98y5bk1ds4jp31kky74n.nar.zst niks3-go-unit-tests> Compression: zstd niks3-go-unit-tests> NarHash: sha256:04jj7iiy79vhzp5kk3r2751n9x3xa44j98y5bk1ds4jp31kky74n niks3-go-unit-tests> NarSize: 144 niks3-go-unit-tests> References: niks3-go-unit-tests> Deriver: /nix/var/nix/builds/nix-99900-4123015800/TestClientCADerivations506694194/001/store/h15nia3grmj2fcq7dxpvyf81kwyk7i0n-ca-test.drv niks3-go-unit-tests> CA: fixed:r:sha256:04jj7iiy79vhzp5kk3r2751n9x3xa44j98y5bk1ds4jp31kky74n niks3-go-unit-tests> client_ca_test.go:185: Checking for realisation files in S3... niks3-go-unit-tests> client_ca_test.go:207: No realisation files uploaded - this is expected for locally built CA derivations niks3-go-unit-tests> client_ca_test.go:208: Locally built CA derivations don't have DrvOutput IDs until they're substituted from a cache niks3-go-unit-tests> 2026-09-18 18:14:48.157 UTC [488] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:48.157 UTC [488] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> client_ca_test.go:258: nix copy output: error: binary cache 's3://bucket45?endpoint=http://localhost:58172®ion=eu-west-1' is for Nix stores with prefix '/nix/store', not '/nix/var/nix/builds/nix-99900-4123015800/TestClientCADerivations506694194/001/store' niks3-go-unit-tests> client_ca_test.go:259: nix copy failed (might be expected with isolated stores): exit status 1 niks3-go-unit-tests> 2026/09/18 18:14:48 INFO Received complete multipart upload request method=POST path=/api/multipart/complete niks3-go-unit-tests> --- PASS: TestClientCADerivations (2.54s) niks3-go-unit-tests> === CONT TestService_RequireScope_OIDC niks3-go-unit-tests> 2026/09/18 18:14:48 INFO Completed multipart upload object_key=nar/0000000000000000000000000000001600000000000000000000.nar.zst upload_id=NTQ2NTZjMGUtZmYzNi00ZDU0LTk3MzktMzY1Y2IxNmJhNTM3LjQ2MDhjOWNiLWUxZmEtNDVhZi05ZTQ2LTJmZWRhMWJkZGIyMngxNzg5NzU1Mjg3MjIwMDU4MDAw parts=10 niks3-go-unit-tests> 2026/09/18 18:14:48 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign niks3-go-unit-tests> 2026/09/18 18:14:48 INFO Signed narinfos id=1 count=1 niks3-go-unit-tests> 2026/09/18 18:14:48 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete niks3-go-unit-tests> 2026/09/18 18:14:48 INFO Completed upload id=1 niks3-go-unit-tests> 2026/09/18 18:14:48 INFO OIDC provider initialized name=test issuer=http://127.0.0.1:58382/oidc niks3-go-unit-tests> --- PASS: TestClaim_TwoInstances (2.85s) niks3-go-unit-tests> === CONT TestService_AuthMiddleware_OIDC niks3-go-unit-tests> 2026/09/18 18:14:48 INFO OIDC provider initialized name=test issuer=http://127.0.0.1:58384/oidc niks3-go-unit-tests> 2026/09/18 18:14:48 OK 20241026095416_initial_model.sql (101.56ms) niks3-go-unit-tests> 2026/09/18 18:14:48 OK 20251210153512_drop_unused_gin_index.sql (7.41ms) niks3-go-unit-tests> 2026/09/18 18:14:48 OK 20251218171726_add_pins.sql (17.91ms) niks3-go-unit-tests> 2026/09/18 18:14:48 OK 20260628120000_add_object_size_and_stats.sql (30.25ms) niks3-go-unit-tests> 2026/09/18 18:14:48 OK 20260905000000_add_claims.sql (17.46ms) niks3-go-unit-tests> 2026/09/18 18:14:48 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:48 OK 1_commit_pending_closure.sql (7.4ms) niks3-go-unit-tests> 2026/09/18 18:14:48 OK 2_object_stats_trigger.sql (246.88µs) niks3-go-unit-tests> 2026/09/18 18:14:48 goose: up to current file version: 2 niks3-go-unit-tests> 2026-09-18 18:14:48.619 UTC [494] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:48.619 UTC [494] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:48 WARN mTLS auth: subject not in bound subjects subject="CN=reader" niks3-go-unit-tests> 2026/09/18 18:14:48 WARN mTLS auth: subject not in bound subjects subject="CN=reader" niks3-go-unit-tests> --- PASS: TestService_NativeMTLS (1.60s) niks3-go-unit-tests> === CONT TestService_AuthMiddleware_MTLSBoundSubjects niks3-go-unit-tests> 2026-09-18 18:14:48.713 UTC [496] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:48.713 UTC [496] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:48 INFO Received complete multipart upload request method=POST path=/api/multipart/complete niks3-go-unit-tests> 2026/09/18 18:14:48 OK 20241026095416_initial_model.sql (108.87ms) niks3-go-unit-tests> 2026/09/18 18:14:48 OK 20251210153512_drop_unused_gin_index.sql (977.42µs) niks3-go-unit-tests> 2026/09/18 18:14:48 OK 20251218171726_add_pins.sql (20.11ms) niks3-go-unit-tests> 2026/09/18 18:14:48 INFO Completed multipart upload object_key=nar/0000000000000000000000000000002000000000000000000000.nar.zst upload_id=NTQ2NTZjMGUtZmYzNi00ZDU0LTk3MzktMzY1Y2IxNmJhNTM3LjYzNTRhZjlkLTA5OGYtNGNjZi1hOGU0LTQ3NjZiYjQ0MmI5MHgxNzg5NzU1Mjg3NTk3MTA3MDAw parts=10 niks3-go-unit-tests> 2026/09/18 18:14:48 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete niks3-go-unit-tests> 2026/09/18 18:14:48 INFO Completed upload id=1 niks3-go-unit-tests> 2026/09/18 18:14:48 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:48 OK 20260628120000_add_object_size_and_stats.sql (26.4ms) niks3-go-unit-tests> 2026/09/18 18:14:48 OK 20241026095416_initial_model.sql (86.55ms) niks3-go-unit-tests> 2026/09/18 18:14:48 OK 20260905000000_add_claims.sql (32.51ms) niks3-go-unit-tests> 2026/09/18 18:14:48 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:48 OK 20251210153512_drop_unused_gin_index.sql (2.05ms) niks3-go-unit-tests> 2026/09/18 18:14:48 OK 1_commit_pending_closure.sql (2.75ms) niks3-go-unit-tests> 2026/09/18 18:14:48 OK 2_object_stats_trigger.sql (568.21µs) niks3-go-unit-tests> 2026/09/18 18:14:48 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:48 OK 20251218171726_add_pins.sql (2.6ms) niks3-go-unit-tests> 2026/09/18 18:14:48 OK 20260628120000_add_object_size_and_stats.sql (48.57ms) niks3-go-unit-tests> 2026/09/18 18:14:48 OK 20260905000000_add_claims.sql (64.9ms) niks3-go-unit-tests> 2026/09/18 18:14:48 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:48 OK 1_commit_pending_closure.sql (8.93ms) niks3-go-unit-tests> 2026/09/18 18:14:48 OK 2_object_stats_trigger.sql (1.07ms) niks3-go-unit-tests> 2026/09/18 18:14:48 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:49 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:49 INFO Garbage collection progress phase="" failed_uploads_deleted=0 old_closures_deleted=1 objects_marked=3 objects_deleted=2001 objects_failed=0 niks3-go-unit-tests> === NAME TestPinProtectsFromGC niks3-go-unit-tests> client_integration_test.go:794: Pin successfully protected closure from garbage collection niks3-go-unit-tests> 2026/09/18 18:14:49 INFO Received cleanup request method=DELETE path=/api/pending_closures niks3-go-unit-tests> --- PASS: TestClaim_StreamsThroughServer (3.18s) niks3-go-unit-tests> === CONT TestClaim_FailWithoutKindReleases niks3-go-unit-tests> 2026/09/18 18:14:49 INFO Aborted multipart uploads count=1 niks3-go-unit-tests> --- PASS: TestMultipartCleanup (2.15s) niks3-go-unit-tests> === CONT TestClaim_StaleHeartbeatStolen niks3-go-unit-tests> 2026/09/18 18:14:49 INFO Received complete multipart upload request method=POST path=/api/multipart/complete niks3-go-unit-tests> --- PASS: TestPinProtectsFromGC (4.62s) niks3-go-unit-tests> === CONT TestService_AuthMiddleware_MTLSProxyHeader niks3-go-unit-tests> --- PASS: TestService_ReadAuthMiddleware (2.09s) niks3-go-unit-tests> === CONT TestMetricsInventory niks3-go-unit-tests> 2026/09/18 18:14:49 INFO Completed multipart upload object_key=nar/0000000000000000000000000000001700000000000000000000.nar.zst upload_id=NTQ2NTZjMGUtZmYzNi00ZDU0LTk3MzktMzY1Y2IxNmJhNTM3LjRkNDFkOTkxLTY1YjUtNDgxMi1hMjMyLTUyNjFkNWE4NWE4MngxNzg5NzU1Mjg4MTA4NDE0MDAw parts=10 niks3-go-unit-tests> 2026/09/18 18:14:49 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete niks3-go-unit-tests> 2026/09/18 18:14:49 INFO Completed upload id=1 niks3-go-unit-tests> 2026/09/18 18:14:49 WARN claim: cannot clear write deadline error="feature not supported" niks3-go-unit-tests> 2026/09/18 18:14:49 INFO Aborted multipart uploads count=0 niks3-go-unit-tests> 2026/09/18 18:14:49 WARN Force mode enabled - objects will be deleted immediately without grace period niks3-go-unit-tests> 2026/09/18 18:14:49 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 niks3-go-unit-tests> 2026/09/18 18:14:49 INFO Vacuumed table table=pending_closures niks3-go-unit-tests> 2026/09/18 18:14:49 INFO Vacuumed table table=pending_objects niks3-go-unit-tests> 2026/09/18 18:14:49 INFO Vacuumed table table=multipart_uploads niks3-go-unit-tests> 2026/09/18 18:14:49 INFO Vacuumed table table=closures niks3-go-unit-tests> 2026/09/18 18:14:49 INFO Vacuumed table table=objects niks3-go-unit-tests> --- PASS: TestClaim_InputsTouched (3.12s) niks3-go-unit-tests> === CONT TestNARDeduplicationMetadataUploadBug niks3-go-unit-tests> 2026-09-18 18:14:49.537 UTC [514] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:49.537 UTC [514] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026-09-18 18:14:49.540 UTC [515] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:49.540 UTC [515] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:49 OK 20241026095416_initial_model.sql (10.06ms) niks3-go-unit-tests> 2026/09/18 18:14:49 OK 20251210153512_drop_unused_gin_index.sql (1.15ms) niks3-go-unit-tests> 2026/09/18 18:14:49 OK 20241026095416_initial_model.sql (11.91ms) niks3-go-unit-tests> 2026/09/18 18:14:49 OK 20251218171726_add_pins.sql (1.5ms) niks3-go-unit-tests> 2026/09/18 18:14:49 OK 20251210153512_drop_unused_gin_index.sql (841.33µs) niks3-go-unit-tests> 2026/09/18 18:14:49 OK 20251218171726_add_pins.sql (1.65ms) niks3-go-unit-tests> 2026/09/18 18:14:49 OK 20260628120000_add_object_size_and_stats.sql (17.52ms) niks3-go-unit-tests> 2026/09/18 18:14:49 OK 20260628120000_add_object_size_and_stats.sql (23.58ms) niks3-go-unit-tests> 2026/09/18 18:14:49 OK 20260905000000_add_claims.sql (27.55ms) niks3-go-unit-tests> 2026/09/18 18:14:49 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:49 OK 20260905000000_add_claims.sql (25.61ms) niks3-go-unit-tests> 2026/09/18 18:14:49 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:49 OK 1_commit_pending_closure.sql (2.08ms) niks3-go-unit-tests> 2026/09/18 18:14:49 OK 1_commit_pending_closure.sql (8.05ms) niks3-go-unit-tests> 2026/09/18 18:14:49 OK 2_object_stats_trigger.sql (700.25µs) niks3-go-unit-tests> 2026/09/18 18:14:49 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:49 OK 2_object_stats_trigger.sql (662.79µs) niks3-go-unit-tests> 2026/09/18 18:14:49 goose: up to current file version: 2 niks3-go-unit-tests> 2026-09-18 18:14:49.755 UTC [516] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:49.755 UTC [516] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> === NAME TestOrphanedObjectsGCStressTest niks3-go-unit-tests> orphaned_objects_gc_test.go:425: Created 10 active closures, 5 to-delete closures, 20 orphaned chains niks3-go-unit-tests> 2026/09/18 18:14:49 INFO Received complete multipart upload request method=POST path=/api/multipart/complete niks3-go-unit-tests> === RUN TestService_AuthMiddleware_OIDC/valid_OIDC_token niks3-go-unit-tests> === PAUSE TestService_AuthMiddleware_OIDC/valid_OIDC_token niks3-go-unit-tests> === RUN TestService_AuthMiddleware_OIDC/OIDC_token_with_wrong_org_rejected niks3-go-unit-tests> === PAUSE TestService_AuthMiddleware_OIDC/OIDC_token_with_wrong_org_rejected niks3-go-unit-tests> === RUN TestService_AuthMiddleware_OIDC/malformed_token_rejected niks3-go-unit-tests> === PAUSE TestService_AuthMiddleware_OIDC/malformed_token_rejected niks3-go-unit-tests> === RUN TestService_AuthMiddleware_OIDC/static_token_still_works_with_OIDC_configured niks3-go-unit-tests> === PAUSE TestService_AuthMiddleware_OIDC/static_token_still_works_with_OIDC_configured niks3-go-unit-tests> === CONT TestClaim_FailWakesWaitersButIsNotRemembered niks3-go-unit-tests> 2026/09/18 18:14:49 INFO Completed multipart upload object_key=nar/0000000000000000000000000000002100000000000000000000.nar.zst upload_id=NTQ2NTZjMGUtZmYzNi00ZDU0LTk3MzktMzY1Y2IxNmJhNTM3LjQ3MjczMTlhLTE2MjAtNDBhOS05Y2E0LWJkODdmMzNkNGNlNHgxNzg5NzU1Mjg4ODA4OTc3MDAw parts=10 niks3-go-unit-tests> 2026/09/18 18:14:49 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete niks3-go-unit-tests> 2026/09/18 18:14:49 INFO Completed upload id=2 niks3-go-unit-tests> --- PASS: TestPresent (3.95s) niks3-go-unit-tests> === CONT TestClaim_HolderDisconnectKeepsClaim niks3-go-unit-tests> === NAME TestOrphanedObjectsGCStressTest niks3-go-unit-tests> orphaned_objects_gc_test.go:446: Marked 210 objects for deletion niks3-go-unit-tests> 2026/09/18 18:14:49 OK 20241026095416_initial_model.sql (111.18ms) niks3-go-unit-tests> 2026/09/18 18:14:49 OK 20251210153512_drop_unused_gin_index.sql (2.69ms) niks3-go-unit-tests> 2026/09/18 18:14:49 OK 20251218171726_add_pins.sql (14.89ms) niks3-go-unit-tests> 2026/09/18 18:14:49 OK 20260628120000_add_object_size_and_stats.sql (16.36ms) niks3-go-unit-tests> 2026/09/18 18:14:49 OK 20260905000000_add_claims.sql (19.66ms) niks3-go-unit-tests> 2026/09/18 18:14:49 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:49 OK 1_commit_pending_closure.sql (7.34ms) niks3-go-unit-tests> 2026/09/18 18:14:49 OK 2_object_stats_trigger.sql (245.33µs) niks3-go-unit-tests> 2026/09/18 18:14:49 goose: up to current file version: 2 niks3-go-unit-tests> === RUN TestService_RequireScope_OIDC/builder_may_write niks3-go-unit-tests> === PAUSE TestService_RequireScope_OIDC/builder_may_write niks3-go-unit-tests> === RUN TestService_RequireScope_OIDC/builder_may_not_admin niks3-go-unit-tests> === PAUSE TestService_RequireScope_OIDC/builder_may_not_admin niks3-go-unit-tests> === RUN TestService_RequireScope_OIDC/ops_may_admin niks3-go-unit-tests> === PAUSE TestService_RequireScope_OIDC/ops_may_admin niks3-go-unit-tests> === RUN TestService_RequireScope_OIDC/ops_may_not_write niks3-go-unit-tests> === PAUSE TestService_RequireScope_OIDC/ops_may_not_write niks3-go-unit-tests> === RUN TestService_RequireScope_OIDC/reader_may_not_write niks3-go-unit-tests> === PAUSE TestService_RequireScope_OIDC/reader_may_not_write niks3-go-unit-tests> === RUN TestService_RequireScope_OIDC/static_token_may_admin niks3-go-unit-tests> === PAUSE TestService_RequireScope_OIDC/static_token_may_admin niks3-go-unit-tests> === RUN TestService_RequireScope_OIDC/static_token_may_write niks3-go-unit-tests> === PAUSE TestService_RequireScope_OIDC/static_token_may_write niks3-go-unit-tests> === RUN TestService_RequireScope_OIDC/reader_may_read niks3-go-unit-tests> === PAUSE TestService_RequireScope_OIDC/reader_may_read niks3-go-unit-tests> === RUN TestService_RequireScope_OIDC/writer_implies_read niks3-go-unit-tests> === PAUSE TestService_RequireScope_OIDC/writer_implies_read niks3-go-unit-tests> === RUN TestService_RequireScope_OIDC/anonymous_may_not_read niks3-go-unit-tests> === PAUSE TestService_RequireScope_OIDC/anonymous_may_not_read niks3-go-unit-tests> === CONT TestClientErrorHandling/InvalidStorePath niks3-go-unit-tests> 2026/09/18 18:14:50 WARN mTLS auth: subject not in bound subjects subject="CN=untrusted,O=Other" niks3-go-unit-tests> 2026/09/18 18:14:50 WARN mTLS auth: bound subjects configured but subject DN unavailable niks3-go-unit-tests> 2026/09/18 18:14:50 WARN mTLS auth: subject not in bound subjects subject="CN=untrusted" niks3-go-unit-tests> --- PASS: TestService_AuthMiddleware_MTLSBoundSubjects (1.54s) niks3-go-unit-tests> === CONT TestClientErrorHandling/ServerNotAvailable niks3-go-unit-tests> 2026-09-18 18:14:50.249 UTC [527] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:50.249 UTC [527] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026-09-18 18:14:50.249 UTC [529] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:50.249 UTC [529] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026-09-18 18:14:50.250 UTC [528] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:50.250 UTC [528] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026-09-18 18:14:50.253 UTC [530] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:50.253 UTC [530] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026-09-18 18:14:50.267 UTC [533] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:50.267 UTC [533] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20241026095416_initial_model.sql (17.7ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20241026095416_initial_model.sql (23.06ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20251210153512_drop_unused_gin_index.sql (780.33µs) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20251210153512_drop_unused_gin_index.sql (900µs) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20251218171726_add_pins.sql (2.36ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20251218171726_add_pins.sql (3.24ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20241026095416_initial_model.sql (26.2ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20260628120000_add_object_size_and_stats.sql (2.19ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20251210153512_drop_unused_gin_index.sql (1.71ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20241026095416_initial_model.sql (11.28ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20251218171726_add_pins.sql (1.86ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20260905000000_add_claims.sql (2.54ms) niks3-go-unit-tests> 2026/09/18 18:14:50 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20251210153512_drop_unused_gin_index.sql (666.21µs) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 1_commit_pending_closure.sql (1.01ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 2_object_stats_trigger.sql (226.63µs) niks3-go-unit-tests> 2026/09/18 18:14:50 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20260628120000_add_object_size_and_stats.sql (27.84ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20260628120000_add_object_size_and_stats.sql (31.88ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20251218171726_add_pins.sql (36.23ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20241026095416_initial_model.sql (45.91ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20251210153512_drop_unused_gin_index.sql (7.11ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20260905000000_add_claims.sql (28.67ms) niks3-go-unit-tests> 2026/09/18 18:14:50 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20260905000000_add_claims.sql (20.25ms) niks3-go-unit-tests> 2026/09/18 18:14:50 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20251218171726_add_pins.sql (8.44ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20260628120000_add_object_size_and_stats.sql (16.87ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 1_commit_pending_closure.sql (3.55ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 1_commit_pending_closure.sql (3.73ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 2_object_stats_trigger.sql (291.17µs) niks3-go-unit-tests> 2026/09/18 18:14:50 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:50 OK 2_object_stats_trigger.sql (269.71µs) niks3-go-unit-tests> 2026/09/18 18:14:50 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20260628120000_add_object_size_and_stats.sql (14.97ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20260905000000_add_claims.sql (13.92ms) niks3-go-unit-tests> 2026/09/18 18:14:50 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:50 OK 1_commit_pending_closure.sql (1.23ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 2_object_stats_trigger.sql (258.88µs) niks3-go-unit-tests> 2026/09/18 18:14:50 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20260905000000_add_claims.sql (10.36ms) niks3-go-unit-tests> 2026/09/18 18:14:50 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:50 OK 1_commit_pending_closure.sql (1.17ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 2_object_stats_trigger.sql (665.83µs) niks3-go-unit-tests> 2026/09/18 18:14:50 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:50 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 niks3-go-unit-tests> --- PASS: TestMetricsInventory (1.04s) niks3-go-unit-tests> === CONT TestClientErrorHandling/InvalidAuthToken niks3-go-unit-tests> 2026/09/18 18:14:50 WARN Request failed, retrying attempt=2 max_attempts=6 backoff=202.154021ms error="Post \"http://localhost:19999/api/objects/present\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/objects/present niks3-go-unit-tests> 2026/09/18 18:14:50 WARN claim: cannot clear write deadline error="feature not supported" niks3-go-unit-tests> 2026-09-18 18:14:50.630 UTC [540] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:50.630 UTC [540] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026-09-18 18:14:50.631 UTC [542] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:50.631 UTC [542] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:50 WARN claim: cannot clear write deadline error="feature not supported" niks3-go-unit-tests> --- PASS: TestClaim_StaleHeartbeatStolen (1.28s) niks3-go-unit-tests> === CONT TestClientSharedPathCommittedMidPush niks3-go-unit-tests> 2026/09/18 18:14:50 WARN Request failed, retrying attempt=3 max_attempts=6 backoff=428.351008ms error="Post \"http://localhost:19999/api/objects/present\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/objects/present niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20241026095416_initial_model.sql (86.89ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20241026095416_initial_model.sql (95.78ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20251210153512_drop_unused_gin_index.sql (8.93ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20251210153512_drop_unused_gin_index.sql (12.85ms) niks3-go-unit-tests> --- PASS: TestService_AuthMiddleware_MTLSProxyHeader (1.41s) niks3-go-unit-tests> === CONT TestUploadHandlersRejectOversizedBody/create_pending_closure niks3-go-unit-tests> 2026/09/18 18:14:50 INFO Received uploads request method=POST path=/ niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20251218171726_add_pins.sql (20.66ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20251218171726_add_pins.sql (10.41ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20260628120000_add_object_size_and_stats.sql (17.22ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20260628120000_add_object_size_and_stats.sql (23.21ms) niks3-go-unit-tests> 2026-09-18 18:14:50.815 UTC [545] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:50.815 UTC [545] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20260905000000_add_claims.sql (24.85ms) niks3-go-unit-tests> 2026/09/18 18:14:50 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20260905000000_add_claims.sql (16.33ms) niks3-go-unit-tests> 2026/09/18 18:14:50 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:50 OK 1_commit_pending_closure.sql (6.59ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 1_commit_pending_closure.sql (6.54ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 2_object_stats_trigger.sql (716.29µs) niks3-go-unit-tests> 2026/09/18 18:14:50 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:50 OK 2_object_stats_trigger.sql (806.83µs) niks3-go-unit-tests> 2026/09/18 18:14:50 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20241026095416_initial_model.sql (37.11ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20251210153512_drop_unused_gin_index.sql (6ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20251218171726_add_pins.sql (6.88ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20260628120000_add_object_size_and_stats.sql (12.7ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 20260905000000_add_claims.sql (8.22ms) niks3-go-unit-tests> 2026/09/18 18:14:50 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:50 OK 1_commit_pending_closure.sql (1.28ms) niks3-go-unit-tests> 2026/09/18 18:14:50 OK 2_object_stats_trigger.sql (275.63µs) niks3-go-unit-tests> 2026/09/18 18:14:50 goose: up to current file version: 2 niks3-go-unit-tests> === NAME TestOrphanedObjectsGCStressTest niks3-go-unit-tests> orphaned_objects_gc_test.go:509: Stress test completed successfully: niks3-go-unit-tests> orphaned_objects_gc_test.go:510: - Active objects preserved: 20 niks3-go-unit-tests> orphaned_objects_gc_test.go:511: - Objects deleted: 210 niks3-go-unit-tests> orphaned_objects_gc_test.go:512: - Total GC'd: 210 niks3-go-unit-tests> --- PASS: TestOrphanedObjectsGCStressTest (6.65s) niks3-go-unit-tests> === CONT TestUploadHandlersRejectOversizedBody/request_more_parts niks3-go-unit-tests> 2026/09/18 18:14:50 INFO Received request for more parts method=POST path=/ niks3-go-unit-tests> === CONT TestUploadHandlersRejectOversizedBody/complete_multipart niks3-go-unit-tests> 2026/09/18 18:14:50 INFO Received complete multipart upload request method=POST path=/ niks3-go-unit-tests> === CONT TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_nix-cache-info niks3-go-unit-tests> 2026/09/18 18:14:50 INFO Received uploads request method=POST path=/ niks3-go-unit-tests> === CONT TestUploadHandlersRejectInvalidKeys/complete_multipart_rejects_non-NAR_key niks3-go-unit-tests> 2026/09/18 18:14:50 INFO Received complete multipart upload request method=POST path=/ niks3-go-unit-tests> === CONT TestUploadHandlersRejectInvalidKeys/request_more_parts_rejects_non-NAR_key niks3-go-unit-tests> 2026/09/18 18:14:50 INFO Received request for more parts method=POST path=/ niks3-go-unit-tests> === CONT TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_path_traversal niks3-go-unit-tests> 2026/09/18 18:14:50 INFO Received uploads request method=POST path=/ niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectInvalidKeys (0.00s) niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_nix-cache-info (0.00s) niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectInvalidKeys/complete_multipart_rejects_non-NAR_key (0.00s) niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectInvalidKeys/request_more_parts_rejects_non-NAR_key (0.00s) niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_path_traversal (0.00s) niks3-go-unit-tests> === CONT TestProxyWriteTimeout/narinfo niks3-go-unit-tests> === CONT TestProxyWriteTimeout/unknown_size niks3-go-unit-tests> === CONT TestProxyWriteTimeout/10_GiB_nar niks3-go-unit-tests> === CONT TestProxyWriteTimeout/1_GiB_nar niks3-go-unit-tests> --- PASS: TestProxyWriteTimeout (0.00s) niks3-go-unit-tests> --- PASS: TestProxyWriteTimeout/narinfo (0.00s) niks3-go-unit-tests> --- PASS: TestProxyWriteTimeout/unknown_size (0.00s) niks3-go-unit-tests> --- PASS: TestProxyWriteTimeout/10_GiB_nar (0.00s) niks3-go-unit-tests> --- PASS: TestProxyWriteTimeout/1_GiB_nar (0.00s) niks3-go-unit-tests> === CONT TestIsValidUploadKey/narinfo niks3-go-unit-tests> === CONT TestIsValidUploadKey/realisation_plus_in_output niks3-go-unit-tests> === CONT TestIsValidUploadKey/unknown_type niks3-go-unit-tests> === CONT TestIsValidUploadKey/empty_key niks3-go-unit-tests> === CONT TestIsValidUploadKey/absolute niks3-go-unit-tests> === CONT TestIsValidUploadKey/traversal_nar niks3-go-unit-tests> === CONT TestIsValidUploadKey/traversal niks3-go-unit-tests> === CONT TestIsValidUploadKey/listing_key,_narinfo_type niks3-go-unit-tests> === CONT TestIsValidUploadKey/nar_key,_narinfo_type niks3-go-unit-tests> === CONT TestIsValidUploadKey/narinfo_key,_nar_type niks3-go-unit-tests> === CONT TestIsValidUploadKey/index.html niks3-go-unit-tests> === CONT TestIsValidUploadKey/nix-cache-info niks3-go-unit-tests> === CONT TestIsValidUploadKey/build_log_home-manager_file niks3-go-unit-tests> === CONT TestIsValidUploadKey/realisation niks3-go-unit-tests> === CONT TestIsValidUploadKey/nar_plain niks3-go-unit-tests> === CONT TestIsValidUploadKey/build_log_equals niks3-go-unit-tests> === CONT TestIsValidUploadKey/build_log niks3-go-unit-tests> === CONT TestIsValidUploadKey/build_log_question_mark niks3-go-unit-tests> === CONT TestIsValidUploadKey/build_log_plus_in_name niks3-go-unit-tests> === CONT TestIsValidUploadKey/listing niks3-go-unit-tests> === CONT TestIsValidUploadKey/nar_xz niks3-go-unit-tests> === CONT TestIsValidUploadKey/nar_zst niks3-go-unit-tests> --- PASS: TestIsValidUploadKey (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/narinfo (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/realisation_plus_in_output (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/unknown_type (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/empty_key (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/absolute (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/traversal_nar (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/traversal (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/listing_key,_narinfo_type (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/nar_key,_narinfo_type (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/narinfo_key,_nar_type (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/index.html (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/nix-cache-info (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/build_log_home-manager_file (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/realisation (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/nar_plain (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/build_log_equals (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/build_log (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/build_log_question_mark (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/build_log_plus_in_name (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/listing (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/nar_xz (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/nar_zst (0.00s) niks3-go-unit-tests> === CONT TestCacheConfigHandler/full_config,_no_issuer niks3-go-unit-tests> === CONT TestCacheConfigHandler/no_signing_keys niks3-go-unit-tests> === CONT TestCacheConfigHandler/issuer_requested_but_no_OIDC_validator niks3-go-unit-tests> === CONT TestCacheConfigHandler/no_cache_url_configured niks3-go-unit-tests> --- PASS: TestCacheConfigHandler (0.00s) niks3-go-unit-tests> --- PASS: TestCacheConfigHandler/full_config,_no_issuer (0.00s) niks3-go-unit-tests> --- PASS: TestCacheConfigHandler/no_signing_keys (0.00s) niks3-go-unit-tests> --- PASS: TestCacheConfigHandler/issuer_requested_but_no_OIDC_validator (0.00s) niks3-go-unit-tests> --- PASS: TestCacheConfigHandler/no_cache_url_configured (0.00s) niks3-go-unit-tests> === CONT TestIsValidCachePath/narinfo niks3-go-unit-tests> === CONT TestIsValidCachePath/index.html niks3-go-unit-tests> === CONT TestIsValidCachePath/short_hash niks3-go-unit-tests> === CONT TestIsValidCachePath/wrong_extension niks3-go-unit-tests> === CONT TestIsValidCachePath/leading_slash niks3-go-unit-tests> === CONT TestIsValidCachePath/empty niks3-go-unit-tests> === CONT TestIsValidCachePath/random_path niks3-go-unit-tests> === CONT TestIsValidCachePath/invalid_char_u niks3-go-unit-tests> === CONT TestIsValidCachePath/invalid_char_e niks3-go-unit-tests> === CONT TestIsValidCachePath/traversal_in_middle niks3-go-unit-tests> === CONT TestIsValidCachePath/traversal_parent niks3-go-unit-tests> === CONT TestIsValidCachePath/nar_uncompressed niks3-go-unit-tests> === CONT TestIsValidCachePath/nix-cache-info niks3-go-unit-tests> === CONT TestIsValidCachePath/realisation niks3-go-unit-tests> === CONT TestIsValidCachePath/log niks3-go-unit-tests> === CONT TestIsValidCachePath/ls niks3-go-unit-tests> === CONT TestIsValidCachePath/nar_xz niks3-go-unit-tests> === CONT TestIsValidCachePath/nar_bz2 niks3-go-unit-tests> === CONT TestIsValidCachePath/nar_zst niks3-go-unit-tests> === CONT TestIsValidCachePath/narinfo_all_nix_base32_chars niks3-go-unit-tests> --- PASS: TestIsValidCachePath (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidCachePath/narinfo (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidCachePath/index.html (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidCachePath/short_hash (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidCachePath/wrong_extension (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidCachePath/leading_slash (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidCachePath/empty (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidCachePath/random_path (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidCachePath/invalid_char_u (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidCachePath/invalid_char_e (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidCachePath/traversal_in_middle (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidCachePath/traversal_parent (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidCachePath/nar_uncompressed (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidCachePath/nix-cache-info (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidCachePath/realisation (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidCachePath/log (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidCachePath/ls (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidCachePath/nar_xz (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidCachePath/nar_bz2 (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidCachePath/nar_zst (0.00s) niks3-go-unit-tests> --- PASS: TestIsValidCachePath/narinfo_all_nix_base32_chars (0.00s) niks3-go-unit-tests> === CONT TestParseSingleRange/none niks3-go-unit-tests> === CONT TestParseSingleRange/open-ended niks3-go-unit-tests> === CONT TestParseSingleRange/start_far_past_EOF niks3-go-unit-tests> === CONT TestParseSingleRange/start_past_EOF niks3-go-unit-tests> === CONT TestParseSingleRange/single_byte niks3-go-unit-tests> === CONT TestParseSingleRange/suffix_exceeds_size niks3-go-unit-tests> === CONT TestParseSingleRange/suffix niks3-go-unit-tests> === CONT TestParseSingleRange/end_clamped_to_size niks3-go-unit-tests> === CONT TestParseSingleRange/malformed_both_empty niks3-go-unit-tests> === CONT TestParseSingleRange/closed niks3-go-unit-tests> === CONT TestParseSingleRange/malformed_end_before_start niks3-go-unit-tests> === CONT TestParseSingleRange/multi-range_ignored niks3-go-unit-tests> === CONT TestParseSingleRange/malformed_no_dash niks3-go-unit-tests> === CONT TestParseSingleRange/unknown_unit niks3-go-unit-tests> --- PASS: TestParseSingleRange (0.00s) niks3-go-unit-tests> --- PASS: TestParseSingleRange/none (0.00s) niks3-go-unit-tests> --- PASS: TestParseSingleRange/open-ended (0.00s) niks3-go-unit-tests> --- PASS: TestParseSingleRange/start_far_past_EOF (0.00s) niks3-go-unit-tests> --- PASS: TestParseSingleRange/start_past_EOF (0.00s) niks3-go-unit-tests> --- PASS: TestParseSingleRange/single_byte (0.00s) niks3-go-unit-tests> --- PASS: TestParseSingleRange/suffix_exceeds_size (0.00s) niks3-go-unit-tests> --- PASS: TestParseSingleRange/suffix (0.00s) niks3-go-unit-tests> --- PASS: TestParseSingleRange/end_clamped_to_size (0.00s) niks3-go-unit-tests> --- PASS: TestParseSingleRange/malformed_both_empty (0.00s) niks3-go-unit-tests> --- PASS: TestParseSingleRange/closed (0.00s) niks3-go-unit-tests> --- PASS: TestParseSingleRange/malformed_end_before_start (0.00s) niks3-go-unit-tests> --- PASS: TestParseSingleRange/multi-range_ignored (0.00s) niks3-go-unit-tests> --- PASS: TestParseSingleRange/malformed_no_dash (0.00s) niks3-go-unit-tests> --- PASS: TestParseSingleRange/unknown_unit (0.00s) niks3-go-unit-tests> === CONT TestResolveDBConnectionString/flag_wins niks3-go-unit-tests> === CONT TestResolveDBConnectionString/PGHOST_allows_empty niks3-go-unit-tests> === CONT TestResolveDBConnectionString/nothing_configured niks3-go-unit-tests> === CONT TestResolveDBConnectionString/missing_file_is_an_error niks3-go-unit-tests> === CONT TestResolveDBConnectionString/file_when_flag_empty niks3-go-unit-tests> === CONT TestServerTLSConfig/no_client_CA niks3-go-unit-tests> === CONT TestServerTLSConfig/not_a_PEM_file niks3-go-unit-tests> --- PASS: TestResolveDBConnectionString (0.01s) niks3-go-unit-tests> --- PASS: TestResolveDBConnectionString/flag_wins (0.00s) niks3-go-unit-tests> --- PASS: TestResolveDBConnectionString/PGHOST_allows_empty (0.00s) niks3-go-unit-tests> --- PASS: TestResolveDBConnectionString/nothing_configured (0.00s) niks3-go-unit-tests> --- PASS: TestResolveDBConnectionString/missing_file_is_an_error (0.00s) niks3-go-unit-tests> --- PASS: TestResolveDBConnectionString/file_when_flag_empty (0.00s) niks3-go-unit-tests> === CONT TestServerTLSConfig/missing_CA_file niks3-go-unit-tests> --- PASS: TestServerTLSConfig (0.00s) niks3-go-unit-tests> --- PASS: TestServerTLSConfig/no_client_CA (0.00s) niks3-go-unit-tests> --- PASS: TestServerTLSConfig/not_a_PEM_file (0.00s) niks3-go-unit-tests> --- PASS: TestServerTLSConfig/missing_CA_file (0.00s) niks3-go-unit-tests> === CONT TestService_AuthMiddleware_OIDC/valid_OIDC_token niks3-go-unit-tests> 2026/09/18 18:14:50 WARN claim: cannot clear write deadline error="feature not supported" niks3-go-unit-tests> 2026/09/18 18:14:50 INFO OIDC auth successful provider=test scopes=[write] niks3-go-unit-tests> === CONT TestService_AuthMiddleware_OIDC/malformed_token_rejected niks3-go-unit-tests> 2026/09/18 18:14:50 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] niks3-go-unit-tests> === CONT TestService_AuthMiddleware_OIDC/OIDC_token_with_wrong_org_rejected niks3-go-unit-tests> 2026/09/18 18:14:50 WARN Authentication failed token_preview=eyJhbGciOi...yX60I9wSeg token_length=702 oidc_error="no rule matched: claim \"repository_owner\" value [otherorg] not in allowed patterns [myorg]" oidc_provider=test tried_providers=[test] niks3-go-unit-tests> === CONT TestService_AuthMiddleware_OIDC/static_token_still_works_with_OIDC_configured niks3-go-unit-tests> === CONT TestService_RequireScope_OIDC/builder_may_write niks3-go-unit-tests> --- PASS: TestService_AuthMiddleware_OIDC (1.58s) niks3-go-unit-tests> --- PASS: TestService_AuthMiddleware_OIDC/valid_OIDC_token (0.00s) niks3-go-unit-tests> --- PASS: TestService_AuthMiddleware_OIDC/malformed_token_rejected (0.00s) niks3-go-unit-tests> --- PASS: TestService_AuthMiddleware_OIDC/OIDC_token_with_wrong_org_rejected (0.00s) niks3-go-unit-tests> --- PASS: TestService_AuthMiddleware_OIDC/static_token_still_works_with_OIDC_configured (0.00s) niks3-go-unit-tests> 2026/09/18 18:14:50 INFO OIDC auth successful provider=test scopes=[write] niks3-go-unit-tests> === CONT TestService_RequireScope_OIDC/static_token_may_admin niks3-go-unit-tests> === CONT TestService_RequireScope_OIDC/anonymous_may_not_read niks3-go-unit-tests> === CONT TestService_RequireScope_OIDC/writer_implies_read niks3-go-unit-tests> 2026/09/18 18:14:50 INFO OIDC auth successful provider=test scopes=[write] niks3-go-unit-tests> === CONT TestService_RequireScope_OIDC/reader_may_read niks3-go-unit-tests> 2026/09/18 18:14:50 INFO OIDC auth successful provider=test scopes=[read] niks3-go-unit-tests> === CONT TestService_RequireScope_OIDC/static_token_may_write niks3-go-unit-tests> === CONT TestService_RequireScope_OIDC/ops_may_not_write niks3-go-unit-tests> 2026/09/18 18:14:50 INFO OIDC auth successful provider=test scopes=[admin] niks3-go-unit-tests> === CONT TestService_RequireScope_OIDC/reader_may_not_write niks3-go-unit-tests> 2026/09/18 18:14:50 INFO OIDC auth successful provider=test scopes=[read] niks3-go-unit-tests> === CONT TestService_RequireScope_OIDC/ops_may_admin niks3-go-unit-tests> 2026/09/18 18:14:50 INFO OIDC auth successful provider=test scopes=[admin] niks3-go-unit-tests> === CONT TestService_RequireScope_OIDC/builder_may_not_admin niks3-go-unit-tests> 2026/09/18 18:14:50 INFO OIDC auth successful provider=test scopes=[write] niks3-go-unit-tests> --- PASS: TestService_RequireScope_OIDC (1.74s) niks3-go-unit-tests> --- PASS: TestService_RequireScope_OIDC/builder_may_write (0.00s) niks3-go-unit-tests> --- PASS: TestService_RequireScope_OIDC/static_token_may_admin (0.00s) niks3-go-unit-tests> --- PASS: TestService_RequireScope_OIDC/anonymous_may_not_read (0.00s) niks3-go-unit-tests> --- PASS: TestService_RequireScope_OIDC/writer_implies_read (0.00s) niks3-go-unit-tests> --- PASS: TestService_RequireScope_OIDC/reader_may_read (0.00s) niks3-go-unit-tests> --- PASS: TestService_RequireScope_OIDC/static_token_may_write (0.00s) niks3-go-unit-tests> --- PASS: TestService_RequireScope_OIDC/ops_may_not_write (0.00s) niks3-go-unit-tests> --- PASS: TestService_RequireScope_OIDC/reader_may_not_write (0.00s) niks3-go-unit-tests> --- PASS: TestService_RequireScope_OIDC/ops_may_admin (0.00s) niks3-go-unit-tests> --- PASS: TestService_RequireScope_OIDC/builder_may_not_admin (0.00s) niks3-go-unit-tests> 2026/09/18 18:14:50 WARN claim: cannot clear write deadline error="feature not supported" niks3-go-unit-tests> --- PASS: TestClaim_FailWithoutKindReleases (1.64s) niks3-go-unit-tests> 2026-09-18 18:14:51.019 UTC [550] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:51.019 UTC [550] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> 2026/09/18 18:14:51 OK 20241026095416_initial_model.sql (47.36ms) niks3-go-unit-tests> 2026/09/18 18:14:51 OK 20251210153512_drop_unused_gin_index.sql (884.25µs) niks3-go-unit-tests> 2026/09/18 18:14:51 OK 20251218171726_add_pins.sql (995.54µs) niks3-go-unit-tests> 2026/09/18 18:14:51 OK 20260628120000_add_object_size_and_stats.sql (12.95ms) niks3-go-unit-tests> 2026/09/18 18:14:51 OK 20260905000000_add_claims.sql (12.92ms) niks3-go-unit-tests> 2026/09/18 18:14:51 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:51 OK 1_commit_pending_closure.sql (1.29ms) niks3-go-unit-tests> 2026/09/18 18:14:51 OK 2_object_stats_trigger.sql (273.92µs) niks3-go-unit-tests> 2026/09/18 18:14:51 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:51 WARN Request failed, retrying attempt=4 max_attempts=6 backoff=866.286258ms error="Post \"http://localhost:19999/api/objects/present\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/objects/present niks3-go-unit-tests> 2026-09-18 18:14:51.157 UTC [553] ERROR: relation "goose_db_version" does not exist at character 36 niks3-go-unit-tests> 2026-09-18 18:14:51.157 UTC [553] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC niks3-go-unit-tests> === NAME TestNARDeduplicationMetadataUploadBug niks3-go-unit-tests> metadata_upload_test.go:48: First store path: /nix/var/nix/builds/nix-99900-4123015800/TestNARDeduplicationMetadataUploadBug398978357/001/store/bki9iin86ks3lzwbajflsxkjlq1pwxd9-file1.txt niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectOversizedBody (0.03s) niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectOversizedBody/request_more_parts (0.02s) niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectOversizedBody/complete_multipart (0.02s) niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectOversizedBody/create_pending_closure (0.42s) niks3-go-unit-tests> 2026/09/18 18:14:51 WARN claim: cannot clear write deadline error="feature not supported" niks3-go-unit-tests> 2026/09/18 18:14:51 OK 20241026095416_initial_model.sql (36.29ms) niks3-go-unit-tests> 2026/09/18 18:14:51 OK 20251210153512_drop_unused_gin_index.sql (588.71µs) niks3-go-unit-tests> 2026/09/18 18:14:51 OK 20251218171726_add_pins.sql (967.75µs) niks3-go-unit-tests> 2026/09/18 18:14:51 WARN claim: cannot clear write deadline error="feature not supported" niks3-go-unit-tests> 2026/09/18 18:14:51 WARN claim: cannot clear write deadline error="feature not supported" niks3-go-unit-tests> --- PASS: TestClaim_FailWakesWaitersButIsNotRemembered (1.35s) niks3-go-unit-tests> 2026/09/18 18:14:51 OK 20260628120000_add_object_size_and_stats.sql (12.73ms) niks3-go-unit-tests> 2026/09/18 18:14:51 OK 20260905000000_add_claims.sql (8.13ms) niks3-go-unit-tests> 2026/09/18 18:14:51 goose: successfully migrated database to version: 20260905000000 niks3-go-unit-tests> 2026/09/18 18:14:51 OK 1_commit_pending_closure.sql (818.21µs) niks3-go-unit-tests> 2026/09/18 18:14:51 OK 2_object_stats_trigger.sql (216.88µs) niks3-go-unit-tests> 2026/09/18 18:14:51 goose: up to current file version: 2 niks3-go-unit-tests> 2026/09/18 18:14:51 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:51 WARN claim: cannot clear write deadline error="feature not supported" niks3-go-unit-tests> 2026/09/18 18:14:51 WARN claim: cannot clear write deadline error="feature not supported" niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Uploading bki9iin86ks3lzwbajflsxkjlq1pwxd9-file1.txt (160B) niks3-go-unit-tests> 2026/09/18 18:14:51 WARN Failed to register uploaded object key=nar/1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf.nar.zst error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Signed narinfos id=1 count=1 niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Uploading 1 narinfos niks3-go-unit-tests> 2026/09/18 18:14:51 WARN Failed to register uploaded object key=bki9iin86ks3lzwbajflsxkjlq1pwxd9.ls error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete niks3-go-unit-tests> 2026/09/18 18:14:51 WARN Failed to register uploaded object key=bki9iin86ks3lzwbajflsxkjlq1pwxd9.narinfo error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Completed upload id=1 niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Upload complete. (114ms) niks3-go-unit-tests> === NAME TestNARDeduplicationMetadataUploadBug niks3-go-unit-tests> metadata_upload_test.go:54: Retrieved narinfo from S3: niks3-go-unit-tests> StorePath: /nix/var/nix/builds/nix-99900-4123015800/TestNARDeduplicationMetadataUploadBug398978357/001/store/bki9iin86ks3lzwbajflsxkjlq1pwxd9-file1.txt niks3-go-unit-tests> URL: nar/1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf.nar.zst niks3-go-unit-tests> Compression: zstd niks3-go-unit-tests> NarHash: sha256:1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf niks3-go-unit-tests> NarSize: 160 niks3-go-unit-tests> References: niks3-go-unit-tests> CA: fixed:r:sha256:1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf niks3-go-unit-tests> metadata_upload_test.go:55: Retrieved .ls file from S3 (compressed size: 77 bytes) niks3-go-unit-tests> metadata_upload_test.go:55: Decompressed .ls content (64 bytes): niks3-go-unit-tests> {"version":1,"root":{"type":"regular","size":44,"narOffset":96}} niks3-go-unit-tests> metadata_upload_test.go:64: Second store path (same content): /nix/var/nix/builds/nix-99900-4123015800/TestNARDeduplicationMetadataUploadBug398978357/001/store/p2dlaqfi1srm9jw7r45dh17rfid8zvjn-file2.txt niks3-go-unit-tests> 2026/09/18 18:14:51 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Uploading 0 paths to 127.0.0.1 (1 already cached) niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Signed narinfos id=2 count=1 niks3-go-unit-tests> 2026/09/18 18:14:51 WARN Failed to register uploaded object key=p2dlaqfi1srm9jw7r45dh17rfid8zvjn.ls error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Uploading 1 narinfos niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete niks3-go-unit-tests> 2026/09/18 18:14:51 WARN Failed to register uploaded object key=p2dlaqfi1srm9jw7r45dh17rfid8zvjn.narinfo error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Completed upload id=2 niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Upload complete. (87ms) niks3-go-unit-tests> metadata_upload_test.go:76: Retrieved narinfo from S3: niks3-go-unit-tests> StorePath: /nix/var/nix/builds/nix-99900-4123015800/TestNARDeduplicationMetadataUploadBug398978357/001/store/p2dlaqfi1srm9jw7r45dh17rfid8zvjn-file2.txt niks3-go-unit-tests> URL: nar/1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf.nar.zst niks3-go-unit-tests> Compression: zstd niks3-go-unit-tests> NarHash: sha256:1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf niks3-go-unit-tests> NarSize: 160 niks3-go-unit-tests> References: niks3-go-unit-tests> CA: fixed:r:sha256:1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf niks3-go-unit-tests> metadata_upload_test.go:77: Retrieved .ls file from S3 (compressed size: 62 bytes) niks3-go-unit-tests> metadata_upload_test.go:77: Decompressed .ls content (49 bytes): niks3-go-unit-tests> {"version":1,"root":{"type":"regular","size":44}} niks3-go-unit-tests> --- PASS: TestNARDeduplicationMetadataUploadBug (2.03s) niks3-go-unit-tests> 2026/09/18 18:14:51 WARN Authentication failed token_preview=invalid-token token_length=13 reason="static API token mismatch" niks3-go-unit-tests> 2026/09/18 18:14:51 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:51 WARN Authentication failed token_preview=invalid-token token_length=13 reason="static API token mismatch" niks3-go-unit-tests> 2026/09/18 18:14:51 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:51 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:51 WARN claim: cannot clear write deadline error="feature not supported" niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Uploading y7f6xx1xnxqrcymgpmps92qbxjdagnd4-shared-dep (136B) niks3-go-unit-tests> 2026/09/18 18:14:51 WARN Failed to register uploaded object key=nar/1vnl0g6w4zgpfz06rb321mfd3jqsrs120jcl8dg2dxn014875y82.nar.zst error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign niks3-go-unit-tests> 2026/09/18 18:14:51 WARN Failed to register uploaded object key=y7f6xx1xnxqrcymgpmps92qbxjdagnd4.ls error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Signed narinfos id=2 count=1 niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Uploading 1 narinfos niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete niks3-go-unit-tests> 2026/09/18 18:14:51 WARN Failed to register uploaded object key=y7f6xx1xnxqrcymgpmps92qbxjdagnd4.narinfo error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Completed upload id=2 niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Upload complete. (69ms) niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Received uploads request method=POST path=/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Uploading 2 paths to 127.0.0.1 (0 already cached) niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Uploading ad9i853dvjpzlyhza2qa5la77rxcmsgc-top (256B) niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Uploading y7f6xx1xnxqrcymgpmps92qbxjdagnd4-shared-dep (136B) niks3-go-unit-tests> 2026/09/18 18:14:51 WARN Failed to register uploaded object key=nar/1l6hm0268smmfb30rly3mx9fkzj5r30r1dqdyx9i2a8gh6bnsifd.nar.zst error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:51 WARN Failed to register uploaded object key=nar/1vnl0g6w4zgpfz06rb321mfd3jqsrs120jcl8dg2dxn014875y82.nar.zst error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:51 WARN Failed to register uploaded object key=ad9i853dvjpzlyhza2qa5la77rxcmsgc.ls error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Received sign narinfos request method=POST path=/api/pending_closures/3/sign niks3-go-unit-tests> 2026/09/18 18:14:51 WARN Failed to register uploaded object key=y7f6xx1xnxqrcymgpmps92qbxjdagnd4.ls error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Signed narinfos id=3 count=1 niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Signed narinfos id=1 count=1 niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Uploading 2 narinfos niks3-go-unit-tests> 2026/09/18 18:14:51 WARN Failed to register uploaded object key=ad9i853dvjpzlyhza2qa5la77rxcmsgc.narinfo error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete niks3-go-unit-tests> 2026/09/18 18:14:51 WARN Failed to register uploaded object key=y7f6xx1xnxqrcymgpmps92qbxjdagnd4.narinfo error="server returned 404: 404 page not found\n" niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Completed upload id=1 niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Received complete upload request method=POST path=/api/pending_closures/3/complete niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Completed upload id=3 niks3-go-unit-tests> 2026/09/18 18:14:51 INFO Upload complete. (172ms) niks3-go-unit-tests> === NAME TestClientSharedPathCommittedMidPush niks3-go-unit-tests> client_integration_test.go:680: Retrieved narinfo from S3: niks3-go-unit-tests> StorePath: /nix/var/nix/builds/nix-99900-4123015800/TestClientSharedPathCommittedMidPush3211788347/001/store/y7f6xx1xnxqrcymgpmps92qbxjdagnd4-shared-dep niks3-go-unit-tests> URL: nar/1vnl0g6w4zgpfz06rb321mfd3jqsrs120jcl8dg2dxn014875y82.nar.zst niks3-go-unit-tests> Compression: zstd niks3-go-unit-tests> NarHash: sha256:1vnl0g6w4zgpfz06rb321mfd3jqsrs120jcl8dg2dxn014875y82 niks3-go-unit-tests> NarSize: 136 niks3-go-unit-tests> References: niks3-go-unit-tests> CA: text:sha256:08nxw05k7b0pzzy0f3swvnw4ldxdbclkdnklpidwmrxdhvfrmv7n niks3-go-unit-tests> client_integration_test.go:680: Retrieved narinfo from S3: niks3-go-unit-tests> StorePath: /nix/var/nix/builds/nix-99900-4123015800/TestClientSharedPathCommittedMidPush3211788347/001/store/ad9i853dvjpzlyhza2qa5la77rxcmsgc-top niks3-go-unit-tests> URL: nar/1l6hm0268smmfb30rly3mx9fkzj5r30r1dqdyx9i2a8gh6bnsifd.nar.zst niks3-go-unit-tests> Compression: zstd niks3-go-unit-tests> NarHash: sha256:1l6hm0268smmfb30rly3mx9fkzj5r30r1dqdyx9i2a8gh6bnsifd niks3-go-unit-tests> NarSize: 256 niks3-go-unit-tests> References: /nix/var/nix/builds/nix-99900-4123015800/TestClientSharedPathCommittedMidPush3211788347/001/store/y7f6xx1xnxqrcymgpmps92qbxjdagnd4-shared-dep niks3-go-unit-tests> CA: text:sha256:0ckwhdaj7x16f6ajg2aiz2jnn78h5399bdca7070a64pfvd32416 niks3-go-unit-tests> --- PASS: TestClientSharedPathCommittedMidPush (1.19s) niks3-go-unit-tests> 2026/09/18 18:14:51 WARN Request failed, retrying attempt=5 max_attempts=6 backoff=1.722318264s error="Post \"http://localhost:19999/api/objects/present\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/objects/present niks3-go-unit-tests> --- PASS: TestClaim_HolderDisconnectKeepsClaim (3.91s) niks3-go-unit-tests> 2026/09/18 18:14:53 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 niks3-go-unit-tests> 2026/09/18 18:14:53 WARN Request failed, retrying attempt=2 max_attempts=6 backoff=198.019725ms error="Get \"http://localhost:19999/api/cache-config\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/cache-config niks3-go-unit-tests> 2026/09/18 18:14:54 WARN Request failed, retrying attempt=3 max_attempts=6 backoff=421.376795ms error="Get \"http://localhost:19999/api/cache-config\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/cache-config niks3-go-unit-tests> 2026/09/18 18:14:54 WARN Request failed, retrying attempt=4 max_attempts=6 backoff=829.879146ms error="Get \"http://localhost:19999/api/cache-config\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/cache-config niks3-go-unit-tests> 2026/09/18 18:14:55 WARN Request failed, retrying attempt=5 max_attempts=6 backoff=1.705262942s error="Get \"http://localhost:19999/api/cache-config\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/cache-config niks3-go-unit-tests> 2026/09/18 18:14:57 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" niks3-go-unit-tests> 2026/09/18 18:14:57 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 niks3-go-unit-tests> 2026/09/18 18:14:57 WARN Request failed, retrying attempt=2 max_attempts=6 backoff=188.109702ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:57 WARN Request failed, retrying attempt=3 max_attempts=6 backoff=367.669423ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:57 WARN Request failed, retrying attempt=4 max_attempts=6 backoff=809.756778ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures niks3-go-unit-tests> 2026/09/18 18:14:58 WARN Request failed, retrying attempt=5 max_attempts=6 backoff=1.650358413s error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures niks3-go-unit-tests> --- PASS: TestClientErrorHandling (0.00s) niks3-go-unit-tests> --- PASS: TestClientErrorHandling/InvalidStorePath (1.37s) niks3-go-unit-tests> --- PASS: TestClientErrorHandling/InvalidAuthToken (1.16s) niks3-go-unit-tests> --- PASS: TestClientErrorHandling/ServerNotAvailable (10.07s) niks3-go-unit-tests> PASS niks3-go-unit-tests> {"timestamp":"2026-09-18T18:15:00.27156Z","level":"ERROR","message":"HTTP transport failed","event":"http_transport_failed","component":"server","subsystem":"transport","peer_addr":"127.0.0.1:58262","error_kind":"io_error","error":"Cancelled","result":"transport_error","target":"rustfs::server::http","filename":"rustfs/src/server/http.rs","line_number":1880,"threadName":"rustfs-worker","threadId":"ThreadId(2)"} niks3-go-unit-tests> 2026-09-18 18:15:00.386 UTC [99937] LOG: received smart shutdown request niks3-go-unit-tests> 2026-09-18 18:15:00.388 UTC [99937] LOG: background worker "logical replication launcher" (PID 99947) exited with exit code 1 niks3-go-unit-tests> 2026-09-18 18:15:00.405 UTC [99942] LOG: shutting down niks3-go-unit-tests> 2026-09-18 18:15:00.405 UTC [99942] LOG: checkpoint starting: shutdown immediate niks3-go-unit-tests> 2026-09-18 18:15:01.619 UTC [99942] LOG: checkpoint complete: wrote 12884 buffers (78.6%), wrote 3 SLRU buffers; 0 WAL file(s) added, 0 removed, 18 recycled; write=0.850 s, sync=0.362 s, total=1.215 s; sync files=21676, longest=0.001 s, average=0.001 s; distance=297029 kB, estimate=297029 kB; lsn=0/1399E698, redo lsn=0/1399E698 niks3-go-unit-tests> 2026-09-18 18:15:01.626 UTC [99937] LOG: database system is shut down niks3-go-unit-tests> Running OIDC tests... niks3-go-unit-tests> === RUN TestGlobMatch niks3-go-unit-tests> === PAUSE TestGlobMatch niks3-go-unit-tests> === RUN TestAudienceForIssuer niks3-go-unit-tests> === PAUSE TestAudienceForIssuer niks3-go-unit-tests> === RUN TestValidateToken_ValidToken niks3-go-unit-tests> === PAUSE TestValidateToken_ValidToken niks3-go-unit-tests> === RUN TestValidateToken_WrongAudience niks3-go-unit-tests> === PAUSE TestValidateToken_WrongAudience niks3-go-unit-tests> === RUN TestValidateToken_Expired niks3-go-unit-tests> === PAUSE TestValidateToken_Expired niks3-go-unit-tests> === RUN TestValidateToken_BoundClaimsMismatch niks3-go-unit-tests> === PAUSE TestValidateToken_BoundClaimsMismatch niks3-go-unit-tests> === RUN TestValidateToken_BoundSubjectMismatch niks3-go-unit-tests> === PAUSE TestValidateToken_BoundSubjectMismatch niks3-go-unit-tests> === RUN TestValidateToken_MultipleProviders niks3-go-unit-tests> === PAUSE TestValidateToken_MultipleProviders niks3-go-unit-tests> === RUN TestValidateToken_NoMatchingProvider niks3-go-unit-tests> === PAUSE TestValidateToken_NoMatchingProvider niks3-go-unit-tests> === RUN TestValidateToken_KubernetesServiceAccount niks3-go-unit-tests> === PAUSE TestValidateToken_KubernetesServiceAccount niks3-go-unit-tests> === RUN TestNewValidator_KubernetesRequiresCA niks3-go-unit-tests> === PAUSE TestNewValidator_KubernetesRequiresCA niks3-go-unit-tests> === RUN TestValidateToken_KubernetesIssuerFromOwnToken niks3-go-unit-tests> === PAUSE TestValidateToken_KubernetesIssuerFromOwnToken niks3-go-unit-tests> === RUN TestScopes_LegacyProviderDefaultsToWrite niks3-go-unit-tests> === PAUSE TestScopes_LegacyProviderDefaultsToWrite niks3-go-unit-tests> === RUN TestScopes_Rules niks3-go-unit-tests> === PAUSE TestScopes_Rules niks3-go-unit-tests> === RUN TestScopes_ConfigValidation niks3-go-unit-tests> === PAUSE TestScopes_ConfigValidation niks3-go-unit-tests> === CONT TestGlobMatch niks3-go-unit-tests> === CONT TestValidateToken_NoMatchingProvider niks3-go-unit-tests> === RUN TestGlobMatch/foo_foo niks3-go-unit-tests> === PAUSE TestGlobMatch/foo_foo niks3-go-unit-tests> === RUN TestGlobMatch/foo_bar niks3-go-unit-tests> === PAUSE TestGlobMatch/foo_bar niks3-go-unit-tests> === RUN TestGlobMatch/*_ niks3-go-unit-tests> === PAUSE TestGlobMatch/*_ niks3-go-unit-tests> === RUN TestGlobMatch/*_anything niks3-go-unit-tests> === PAUSE TestGlobMatch/*_anything niks3-go-unit-tests> === RUN TestGlobMatch/foo*_foo niks3-go-unit-tests> === CONT TestValidateToken_Expired niks3-go-unit-tests> === CONT TestAudienceForIssuer niks3-go-unit-tests> --- PASS: TestAudienceForIssuer (0.00s) niks3-go-unit-tests> === PAUSE TestGlobMatch/foo*_foo niks3-go-unit-tests> === RUN TestGlobMatch/foo*_foobar niks3-go-unit-tests> === PAUSE TestGlobMatch/foo*_foobar niks3-go-unit-tests> === RUN TestGlobMatch/foo*_bar niks3-go-unit-tests> === PAUSE TestGlobMatch/foo*_bar niks3-go-unit-tests> === RUN TestGlobMatch/*bar_bar niks3-go-unit-tests> === PAUSE TestGlobMatch/*bar_bar niks3-go-unit-tests> === RUN TestGlobMatch/*bar_foobar niks3-go-unit-tests> === PAUSE TestGlobMatch/*bar_foobar niks3-go-unit-tests> === RUN TestGlobMatch/*bar_foo niks3-go-unit-tests> === PAUSE TestGlobMatch/*bar_foo niks3-go-unit-tests> === RUN TestGlobMatch/foo*bar_foobar niks3-go-unit-tests> === PAUSE TestGlobMatch/foo*bar_foobar niks3-go-unit-tests> === RUN TestGlobMatch/foo*bar_foo123bar niks3-go-unit-tests> === PAUSE TestGlobMatch/foo*bar_foo123bar niks3-go-unit-tests> === RUN TestGlobMatch/foo*bar_foobarbaz niks3-go-unit-tests> === PAUSE TestGlobMatch/foo*bar_foobarbaz niks3-go-unit-tests> === RUN TestGlobMatch/*/*_foo/bar niks3-go-unit-tests> === PAUSE TestGlobMatch/*/*_foo/bar niks3-go-unit-tests> === CONT TestScopes_LegacyProviderDefaultsToWrite niks3-go-unit-tests> === RUN TestGlobMatch/*/*_foo niks3-go-unit-tests> === PAUSE TestGlobMatch/*/*_foo niks3-go-unit-tests> === RUN TestGlobMatch/refs/heads/*_refs/heads/main niks3-go-unit-tests> === PAUSE TestGlobMatch/refs/heads/*_refs/heads/main niks3-go-unit-tests> === RUN TestGlobMatch/refs/heads/*_refs/tags/v1.0 niks3-go-unit-tests> === PAUSE TestGlobMatch/refs/heads/*_refs/tags/v1.0 niks3-go-unit-tests> === RUN TestGlobMatch/refs/*/main_refs/heads/main niks3-go-unit-tests> === PAUSE TestGlobMatch/refs/*/main_refs/heads/main niks3-go-unit-tests> === RUN TestGlobMatch/fo?_foo niks3-go-unit-tests> === PAUSE TestGlobMatch/fo?_foo niks3-go-unit-tests> === RUN TestGlobMatch/fo?_fo niks3-go-unit-tests> === CONT TestValidateToken_ValidToken niks3-go-unit-tests> === CONT TestValidateToken_WrongAudience niks3-go-unit-tests> === CONT TestNewValidator_KubernetesRequiresCA niks3-go-unit-tests> === CONT TestValidateToken_KubernetesIssuerFromOwnToken niks3-go-unit-tests> === CONT TestScopes_ConfigValidation niks3-go-unit-tests> === CONT TestScopes_Rules niks3-go-unit-tests> === PAUSE TestGlobMatch/fo?_fo niks3-go-unit-tests> === RUN TestGlobMatch/fo?_fooo niks3-go-unit-tests> === PAUSE TestGlobMatch/fo?_fooo niks3-go-unit-tests> === RUN TestGlobMatch/?oo_foo niks3-go-unit-tests> === PAUSE TestGlobMatch/?oo_foo niks3-go-unit-tests> === RUN TestGlobMatch/?oo_boo niks3-go-unit-tests> === PAUSE TestGlobMatch/?oo_boo niks3-go-unit-tests> === RUN TestGlobMatch/repo:myorg/*:*_repo:myorg/myrepo:ref:refs/heads/main niks3-go-unit-tests> === PAUSE TestGlobMatch/repo:myorg/*:*_repo:myorg/myrepo:ref:refs/heads/main niks3-go-unit-tests> === RUN TestGlobMatch/repo:myorg/*:*_repo:otherorg/myrepo:ref:refs/heads/main niks3-go-unit-tests> === PAUSE TestGlobMatch/repo:myorg/*:*_repo:otherorg/myrepo:ref:refs/heads/main niks3-go-unit-tests> === CONT TestValidateToken_BoundSubjectMismatch niks3-go-unit-tests> 2026/09/18 18:15:02 INFO OIDC provider initialized name=test issuer=http://127.0.0.1:58480/oidc niks3-go-unit-tests> 2026/09/18 18:15:02 INFO OIDC provider initialized name=test issuer=http://127.0.0.1:58493/oidc niks3-go-unit-tests> 2026/09/18 18:15:02 INFO OIDC provider initialized name=test issuer=http://127.0.0.1:58481/oidc niks3-go-unit-tests> 2026/09/18 18:15:02 INFO OIDC provider initialized name=provider1 issuer=http://127.0.0.1:58482/oidc niks3-go-unit-tests> --- PASS: TestScopes_ConfigValidation (0.00s) niks3-go-unit-tests> === CONT TestValidateToken_MultipleProviders niks3-go-unit-tests> 2026/09/18 18:15:02 INFO OIDC provider initialized name=kubernetes issuer=https://oidc.eks.invalid/id/ABC123 niks3-go-unit-tests> 2026/09/18 18:15:02 INFO OIDC provider initialized name=test issuer=http://127.0.0.1:58479/oidc niks3-go-unit-tests> 2026/09/18 18:15:02 INFO OIDC provider initialized name=test issuer=http://127.0.0.1:58486/oidc niks3-go-unit-tests> --- PASS: TestValidateToken_BoundSubjectMismatch (0.01s) niks3-go-unit-tests> === CONT TestValidateToken_KubernetesServiceAccount niks3-go-unit-tests> --- PASS: TestScopes_LegacyProviderDefaultsToWrite (0.01s) niks3-go-unit-tests> === CONT TestValidateToken_BoundClaimsMismatch niks3-go-unit-tests> --- PASS: TestValidateToken_NoMatchingProvider (0.01s) niks3-go-unit-tests> === CONT TestGlobMatch/foo_foo niks3-go-unit-tests> === CONT TestGlobMatch/*/*_foo/bar niks3-go-unit-tests> === CONT TestGlobMatch/repo:myorg/*:*_repo:otherorg/myrepo:ref:refs/heads/main niks3-go-unit-tests> === CONT TestGlobMatch/repo:myorg/*:*_repo:myorg/myrepo:ref:refs/heads/main niks3-go-unit-tests> === CONT TestGlobMatch/?oo_boo niks3-go-unit-tests> === CONT TestGlobMatch/?oo_foo niks3-go-unit-tests> === CONT TestGlobMatch/fo?_fooo niks3-go-unit-tests> === CONT TestGlobMatch/fo?_fo niks3-go-unit-tests> === CONT TestGlobMatch/fo?_foo niks3-go-unit-tests> === CONT TestGlobMatch/refs/*/main_refs/heads/main niks3-go-unit-tests> === CONT TestGlobMatch/refs/heads/*_refs/tags/v1.0 niks3-go-unit-tests> === CONT TestGlobMatch/refs/heads/*_refs/heads/main niks3-go-unit-tests> === CONT TestGlobMatch/*/*_foo niks3-go-unit-tests> === CONT TestGlobMatch/*bar_bar niks3-go-unit-tests> === CONT TestGlobMatch/foo*bar_foobarbaz niks3-go-unit-tests> === CONT TestGlobMatch/foo*bar_foo123bar niks3-go-unit-tests> === CONT TestGlobMatch/foo*bar_foobar niks3-go-unit-tests> === CONT TestGlobMatch/*bar_foo niks3-go-unit-tests> === CONT TestGlobMatch/*bar_foobar niks3-go-unit-tests> === CONT TestGlobMatch/foo*_foo niks3-go-unit-tests> === CONT TestGlobMatch/foo*_bar niks3-go-unit-tests> 2026/09/18 18:15:02 INFO OIDC provider initialized name=test issuer=http://127.0.0.1:58485/oidc niks3-go-unit-tests> === CONT TestGlobMatch/foo*_foobar niks3-go-unit-tests> === CONT TestGlobMatch/*_anything niks3-go-unit-tests> === CONT TestGlobMatch/foo_bar niks3-go-unit-tests> === CONT TestGlobMatch/*_ niks3-go-unit-tests> --- PASS: TestGlobMatch (0.00s) niks3-go-unit-tests> --- PASS: TestGlobMatch/foo_foo (0.00s) niks3-go-unit-tests> --- PASS: TestGlobMatch/*/*_foo/bar (0.00s) niks3-go-unit-tests> --- PASS: TestGlobMatch/repo:myorg/*:*_repo:otherorg/myrepo:ref:refs/heads/main (0.00s) niks3-go-unit-tests> --- PASS: TestGlobMatch/repo:myorg/*:*_repo:myorg/myrepo:ref:refs/heads/main (0.00s) niks3-go-unit-tests> --- PASS: TestGlobMatch/?oo_boo (0.00s) niks3-go-unit-tests> --- PASS: TestGlobMatch/?oo_foo (0.00s) niks3-go-unit-tests> --- PASS: TestGlobMatch/fo?_fooo (0.00s) niks3-go-unit-tests> --- PASS: TestGlobMatch/fo?_fo (0.00s) niks3-go-unit-tests> --- PASS: TestGlobMatch/fo?_foo (0.00s) niks3-go-unit-tests> --- PASS: TestGlobMatch/refs/*/main_refs/heads/main (0.00s) niks3-go-unit-tests> --- PASS: TestGlobMatch/refs/heads/*_refs/tags/v1.0 (0.00s) niks3-go-unit-tests> --- PASS: TestGlobMatch/refs/heads/*_refs/heads/main (0.00s) niks3-go-unit-tests> --- PASS: TestGlobMatch/*/*_foo (0.00s) niks3-go-unit-tests> --- PASS: TestGlobMatch/*bar_bar (0.00s) niks3-go-unit-tests> --- PASS: TestGlobMatch/foo*bar_foobarbaz (0.00s) niks3-go-unit-tests> --- PASS: TestGlobMatch/foo*bar_foo123bar (0.00s) niks3-go-unit-tests> --- PASS: TestGlobMatch/foo*bar_foobar (0.00s) niks3-go-unit-tests> --- PASS: TestGlobMatch/*bar_foo (0.00s) niks3-go-unit-tests> --- PASS: TestGlobMatch/*bar_foobar (0.00s) niks3-go-unit-tests> --- PASS: TestGlobMatch/foo*_foo (0.00s) niks3-go-unit-tests> --- PASS: TestGlobMatch/foo*_bar (0.00s) niks3-go-unit-tests> --- PASS: TestGlobMatch/foo*_foobar (0.00s) niks3-go-unit-tests> --- PASS: TestGlobMatch/*_anything (0.00s) niks3-go-unit-tests> --- PASS: TestGlobMatch/foo_bar (0.00s) niks3-go-unit-tests> --- PASS: TestGlobMatch/*_ (0.00s) niks3-go-unit-tests> 2026/09/18 18:15:02 INFO OIDC provider initialized name=provider1 issuer=http://127.0.0.1:58497/oidc niks3-go-unit-tests> --- PASS: TestValidateToken_Expired (0.01s) niks3-go-unit-tests> 2026/09/18 18:15:02 INFO OIDC provider initialized name=provider2 issuer=http://127.0.0.1:58498/oidc niks3-go-unit-tests> 2026/09/18 18:15:02 INFO OIDC provider initialized name=test issuer=http://127.0.0.1:58502/oidc niks3-go-unit-tests> --- PASS: TestValidateToken_ValidToken (0.01s) niks3-go-unit-tests> --- PASS: TestValidateToken_KubernetesIssuerFromOwnToken (0.01s) niks3-go-unit-tests> --- PASS: TestValidateToken_WrongAudience (0.01s) niks3-go-unit-tests> --- PASS: TestValidateToken_BoundClaimsMismatch (0.01s) niks3-go-unit-tests> --- PASS: TestValidateToken_MultipleProviders (0.01s) niks3-go-unit-tests> 2026/09/18 18:15:02 INFO OIDC provider initialized name=kubernetes issuer=https://127.0.0.1:58500 niks3-go-unit-tests> --- PASS: TestScopes_Rules (0.02s) niks3-go-unit-tests> 2026/09/18 18:15:02 http: TLS handshake error from 127.0.0.1:58494: remote error: tls: bad certificate niks3-go-unit-tests> --- PASS: TestNewValidator_KubernetesRequiresCA (0.02s) niks3-go-unit-tests> --- PASS: TestValidateToken_KubernetesServiceAccount (0.01s) niks3-go-unit-tests> PASS niks3-go-unit-tests> Running hook tests... niks3-go-unit-tests> === RUN TestSendPathsEmpty niks3-go-unit-tests> === PAUSE TestSendPathsEmpty niks3-go-unit-tests> === RUN TestQueueEnqueueAndFetch niks3-go-unit-tests> === PAUSE TestQueueEnqueueAndFetch niks3-go-unit-tests> === RUN TestQueueDeduplication niks3-go-unit-tests> === PAUSE TestQueueDeduplication niks3-go-unit-tests> === RUN TestQueueRemove niks3-go-unit-tests> === PAUSE TestQueueRemove niks3-go-unit-tests> === RUN TestQueueFetchBatchLimit niks3-go-unit-tests> === PAUSE TestQueueFetchBatchLimit niks3-go-unit-tests> === RUN TestQueueRetryMovesToBack niks3-go-unit-tests> === PAUSE TestQueueRetryMovesToBack niks3-go-unit-tests> === RUN TestQueueFetchRemoveLifecycle niks3-go-unit-tests> === PAUSE TestQueueFetchRemoveLifecycle niks3-go-unit-tests> === RUN TestQueueConcurrentWriters niks3-go-unit-tests> === PAUSE TestQueueConcurrentWriters niks3-go-unit-tests> === RUN TestQueueRemoveLargeClosure niks3-go-unit-tests> === PAUSE TestQueueRemoveLargeClosure niks3-go-unit-tests> === RUN TestServerClientIntegration niks3-go-unit-tests> === PAUSE TestServerClientIntegration niks3-go-unit-tests> === RUN TestServerQueueError niks3-go-unit-tests> === PAUSE TestServerQueueError niks3-go-unit-tests> === RUN TestGetListenerSocketActivation niks3-go-unit-tests> server_test.go:210: === RUN TestGetListenerSocketActivation niks3-go-unit-tests> --- PASS: TestGetListenerSocketActivation (0.00s) niks3-go-unit-tests> PASS niks3-go-unit-tests> niks3-go-unit-tests> --- PASS: TestGetListenerSocketActivation (0.01s) niks3-go-unit-tests> === RUN TestDrainIsolatesPoisonPath niks3-go-unit-tests> === PAUSE TestDrainIsolatesPoisonPath niks3-go-unit-tests> === RUN TestRunNotBlockedByPoisonHead niks3-go-unit-tests> === PAUSE TestRunNotBlockedByPoisonHead niks3-go-unit-tests> === RUN TestDrainGivesUpWhenServerDown niks3-go-unit-tests> === PAUSE TestDrainGivesUpWhenServerDown niks3-go-unit-tests> === RUN TestFailedPathPrunedByLaterClosure niks3-go-unit-tests> === PAUSE TestFailedPathPrunedByLaterClosure niks3-go-unit-tests> === RUN TestWorkerUploadsAndRemoves niks3-go-unit-tests> === PAUSE TestWorkerUploadsAndRemoves niks3-go-unit-tests> === RUN TestWorkerSkipsGCdPaths niks3-go-unit-tests> === PAUSE TestWorkerSkipsGCdPaths niks3-go-unit-tests> === RUN TestWorkerPrunesClosureDeps niks3-go-unit-tests> === PAUSE TestWorkerPrunesClosureDeps niks3-go-unit-tests> === RUN TestDrainTimeout niks3-go-unit-tests> === PAUSE TestDrainTimeout niks3-go-unit-tests> === CONT TestSendPathsEmpty niks3-go-unit-tests> === CONT TestServerQueueError niks3-go-unit-tests> --- PASS: TestSendPathsEmpty (0.00s) niks3-go-unit-tests> === CONT TestServerClientIntegration niks3-go-unit-tests> === CONT TestDrainTimeout niks3-go-unit-tests> === CONT TestDrainGivesUpWhenServerDown niks3-go-unit-tests> === CONT TestQueueConcurrentWriters niks3-go-unit-tests> === CONT TestQueueRetryMovesToBack niks3-go-unit-tests> === CONT TestWorkerUploadsAndRemoves niks3-go-unit-tests> === CONT TestRunNotBlockedByPoisonHead niks3-go-unit-tests> === CONT TestDrainIsolatesPoisonPath niks3-go-unit-tests> === CONT TestWorkerPrunesClosureDeps niks3-go-unit-tests> 2026/09/18 18:15:02 ERROR Failed to queue paths error="permission denied" count=1 niks3-go-unit-tests> --- PASS: TestServerClientIntegration (0.00s) niks3-go-unit-tests> === CONT TestQueueRemove niks3-go-unit-tests> --- PASS: TestServerQueueError (0.00s) niks3-go-unit-tests> === CONT TestQueueFetchBatchLimit niks3-go-unit-tests> 2026/09/18 18:15:02 INFO Upload queue status pending=2 niks3-go-unit-tests> 2026/09/18 18:15:02 INFO Upload queue status pending=2 niks3-go-unit-tests> 2026/09/18 18:15:02 INFO Uploading batch count=1 niks3-go-unit-tests> --- PASS: TestQueueFetchBatchLimit (0.01s) niks3-go-unit-tests> === CONT TestQueueFetchRemoveLifecycle niks3-go-unit-tests> 2026/09/18 18:15:02 INFO Upload queue status pending=3 niks3-go-unit-tests> 2026/09/18 18:15:02 INFO Uploading batch count=1 niks3-go-unit-tests> 2026/09/18 18:15:02 ERROR Upload failed error="upload failed" count=1 niks3-go-unit-tests> 2026/09/18 18:15:02 INFO Uploading batch count=2 niks3-go-unit-tests> 2026/09/18 18:15:02 INFO Uploading batch count=4 niks3-go-unit-tests> 2026/09/18 18:15:02 ERROR Upload failed error="upload failed" count=4 niks3-go-unit-tests> --- PASS: TestQueueRemove (0.01s) niks3-go-unit-tests> === CONT TestQueueRemoveLargeClosure niks3-go-unit-tests> 2026/09/18 18:15:02 ERROR Upload failed, will retry later error="upload failed" path=/nix/var/nix/builds/nix-99900-4123015800/TestDrainIsolatesPoisonPath3998412162/002/bbb niks3-go-unit-tests> 2026/09/18 18:15:02 INFO Uploading batch count=2 niks3-go-unit-tests> 2026/09/18 18:15:02 INFO Uploading batch count=2 niks3-go-unit-tests> 2026/09/18 18:15:02 ERROR Upload failed error="upload failed" count=2 niks3-go-unit-tests> 2026/09/18 18:15:02 ERROR Upload failed, will retry later error="upload failed" path=/nix/var/nix/builds/nix-99900-4123015800/TestDrainGivesUpWhenServerDown2947325057/002/a niks3-go-unit-tests> 2026/09/18 18:15:02 ERROR Upload failed, will retry later error="upload failed" path=/nix/var/nix/builds/nix-99900-4123015800/TestDrainGivesUpWhenServerDown2947325057/002/b niks3-go-unit-tests> 2026/09/18 18:15:02 INFO Uploading batch count=1 niks3-go-unit-tests> 2026/09/18 18:15:02 ERROR Upload failed error="upload failed" count=1 niks3-go-unit-tests> --- PASS: TestQueueRetryMovesToBack (0.01s) niks3-go-unit-tests> === CONT TestQueueDeduplication niks3-go-unit-tests> 2026/09/18 18:15:02 INFO Uploading batch count=1 niks3-go-unit-tests> 2026/09/18 18:15:02 ERROR Upload failed error="upload failed" count=1 niks3-go-unit-tests> 2026/09/18 18:15:02 INFO Uploading batch count=2 niks3-go-unit-tests> 2026/09/18 18:15:02 ERROR Upload failed error="upload failed" count=2 niks3-go-unit-tests> 2026/09/18 18:15:02 ERROR Upload failed, will retry later error="upload failed" path=/nix/var/nix/builds/nix-99900-4123015800/TestDrainGivesUpWhenServerDown2947325057/002/c niks3-go-unit-tests> 2026/09/18 18:15:02 INFO Uploading batch count=1 niks3-go-unit-tests> 2026/09/18 18:15:02 ERROR Upload failed error="upload failed" count=1 niks3-go-unit-tests> 2026/09/18 18:15:02 ERROR Drain finished with paths left in queue remaining=1 niks3-go-unit-tests> 2026/09/18 18:15:02 ERROR Upload failed, will retry later error="upload failed" path=/nix/var/nix/builds/nix-99900-4123015800/TestDrainGivesUpWhenServerDown2947325057/002/d niks3-go-unit-tests> 2026/09/18 18:15:02 INFO Uploading batch count=2 niks3-go-unit-tests> 2026/09/18 18:15:02 ERROR Upload failed error="upload failed" count=2 niks3-go-unit-tests> 2026/09/18 18:15:02 ERROR Upload failed, will retry later error="upload failed" path=/nix/var/nix/builds/nix-99900-4123015800/TestDrainGivesUpWhenServerDown2947325057/002/e niks3-go-unit-tests> 2026/09/18 18:15:02 ERROR Upload failed, will retry later error="upload failed" path=/nix/var/nix/builds/nix-99900-4123015800/TestDrainGivesUpWhenServerDown2947325057/002/f niks3-go-unit-tests> 2026/09/18 18:15:02 ERROR Drain finished with paths left in queue remaining=10 niks3-go-unit-tests> --- PASS: TestQueueFetchRemoveLifecycle (0.00s) niks3-go-unit-tests> === CONT TestFailedPathPrunedByLaterClosure niks3-go-unit-tests> --- PASS: TestDrainIsolatesPoisonPath (0.01s) niks3-go-unit-tests> === CONT TestQueueEnqueueAndFetch niks3-go-unit-tests> --- PASS: TestQueueDeduplication (0.00s) niks3-go-unit-tests> === CONT TestWorkerSkipsGCdPaths niks3-go-unit-tests> --- PASS: TestDrainGivesUpWhenServerDown (0.01s) niks3-go-unit-tests> 2026/09/18 18:15:02 INFO Uploading batch count=1 niks3-go-unit-tests> 2026/09/18 18:15:02 ERROR Upload failed error="upload failed" count=1 niks3-go-unit-tests> 2026/09/18 18:15:02 INFO Uploading batch count=1 niks3-go-unit-tests> --- PASS: TestQueueEnqueueAndFetch (0.00s) niks3-go-unit-tests> 2026/09/18 18:15:02 INFO Uploading batch count=1 niks3-go-unit-tests> 2026/09/18 18:15:02 INFO Upload queue status pending=2 niks3-go-unit-tests> 2026/09/18 18:15:02 WARN Store path no longer exists (garbage collected?), removing from queue path=/nix/var/nix/builds/nix-99900-4123015800/TestWorkerSkipsGCdPaths899923675/002/nonexistent niks3-go-unit-tests> 2026/09/18 18:15:02 INFO Uploading batch count=1 niks3-go-unit-tests> --- PASS: TestFailedPathPrunedByLaterClosure (0.00s) niks3-go-unit-tests> --- PASS: TestWorkerUploadsAndRemoves (0.03s) niks3-go-unit-tests> --- PASS: TestWorkerPrunesClosureDeps (0.03s) niks3-go-unit-tests> --- PASS: TestWorkerSkipsGCdPaths (0.02s) niks3-go-unit-tests> --- PASS: TestQueueRemoveLargeClosure (0.04s) niks3-go-unit-tests> --- PASS: TestQueueConcurrentWriters (0.15s) niks3-go-unit-tests> 2026/09/18 18:15:03 ERROR Upload failed error="context deadline exceeded" count=2 niks3-go-unit-tests> 2026/09/18 18:15:03 ERROR Drain finished with paths left in queue remaining=4 niks3-go-unit-tests> --- PASS: TestDrainTimeout (0.21s) niks3-go-unit-tests> 2026/09/18 18:15:03 INFO Uploading batch count=1 niks3-go-unit-tests> 2026/09/18 18:15:03 INFO Uploading batch count=1 niks3-go-unit-tests> 2026/09/18 18:15:03 INFO Uploading batch count=1 niks3-go-unit-tests> 2026/09/18 18:15:03 ERROR Upload failed error="upload failed" count=1 niks3-go-unit-tests> 2026/09/18 18:15:04 INFO Uploading batch count=1 niks3-go-unit-tests> 2026/09/18 18:15:04 ERROR Upload failed error="upload failed" count=1 niks3-go-unit-tests> 2026/09/18 18:15:04 INFO Uploading batch count=1 niks3-go-unit-tests> 2026/09/18 18:15:04 ERROR Upload failed error="upload failed" count=1 niks3-go-unit-tests> 2026/09/18 18:15:04 INFO Uploading batch count=1 niks3-go-unit-tests> 2026/09/18 18:15:04 ERROR Upload failed error="upload failed" count=1 niks3-go-unit-tests> 2026/09/18 18:15:04 ERROR Drain finished with paths left in queue remaining=1 niks3-go-unit-tests> --- PASS: TestRunNotBlockedByPoisonHead (1.04s) niks3-go-unit-tests> PASS post-build step Upload coverage to codecov: ok Skipping codecov: project=Mic92/niks3 attr=checks.aarch64-darwin.go-unit-tests