this derivation will be built:
/nix/store/a068pjbb5qm5dk7bmhg80z44ndb4wbmn-niks3-go-unit-tests.drv
building '/nix/store/a068pjbb5qm5dk7bmhg80z44ndb4wbmn-niks3-go-unit-tests.drv' on 'ssh-ng://customer@mac02'
building '/nix/store/a068pjbb5qm5dk7bmhg80z44ndb4wbmn-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 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 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 TestFileTokenMissing
niks3-go-unit-tests> === CONT TestResolveStorePath
niks3-go-unit-tests> === CONT TestEncodeNixBase32WithRealHash
niks3-go-unit-tests> --- PASS: TestEncodeNixBase32WithRealHash (0.00s)
niks3-go-unit-tests> === CONT TestRateLimiterFeedback_400DoesNotCountAsSuccess
niks3-go-unit-tests> === CONT TestDumpPathMatchesNix
niks3-go-unit-tests> === CONT TestSetClientTLSDoesNotMutateDefaultTransport
niks3-go-unit-tests> === CONT TestDumpPathWriterError
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 TestParsePathInfoJSON/Nix_format
niks3-go-unit-tests> 2026/08/27 09:28:10 WARN Rate limiter enabled after throttle name=server-test rate=5
niks3-go-unit-tests> --- PASS: TestFileTokenMissing (0.00s)
niks3-go-unit-tests> === CONT TestScriptTokenEmptyCommand
niks3-go-unit-tests> --- PASS: TestScriptTokenEmptyCommand (0.00s)
niks3-go-unit-tests> === CONT TestScriptTokenScriptFails
niks3-go-unit-tests> === CONT TestShellSplitErrors
niks3-go-unit-tests> --- PASS: TestShellSplitErrors (0.00s)
niks3-go-unit-tests> === CONT TestScriptTokenCachesUntilRefresh
niks3-go-unit-tests> === CONT TestEncodeNixBase32
niks3-go-unit-tests> === RUN TestEncodeNixBase32/test_string_hash
niks3-go-unit-tests> === PAUSE TestEncodeNixBase32/test_string_hash
niks3-go-unit-tests> === RUN TestEncodeNixBase32/empty_input
niks3-go-unit-tests> === PAUSE TestEncodeNixBase32/empty_input
niks3-go-unit-tests> === CONT TestScriptTokenBadJSON
niks3-go-unit-tests> === CONT TestScriptTokenEmptyToken
niks3-go-unit-tests> --- PASS: TestDoServerRequestAttachesToken (0.01s)
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 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 TestStaticToken
niks3-go-unit-tests> --- PASS: TestStaticToken (0.00s)
niks3-go-unit-tests> === CONT TestFileTokenReadsAndCaches
niks3-go-unit-tests> --- PASS: TestResolveStorePath (0.01s)
niks3-go-unit-tests> === CONT TestFilterOversizedClosures
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 TestUploadMultipart_SupersededByPeer
niks3-go-unit-tests> === RUN TestUploadMultipart_SupersededByPeer/exists
niks3-go-unit-tests> === PAUSE TestUploadMultipart_SupersededByPeer/exists
niks3-go-unit-tests> === RUN TestUploadMultipart_SupersededByPeer/missing
niks3-go-unit-tests> === PAUSE TestUploadMultipart_SupersededByPeer/missing
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> === 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 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 TestScriptTokenNoExpiryRerunsEveryCall
niks3-go-unit-tests> --- PASS: TestScriptTokenScriptFails (0.01s)
niks3-go-unit-tests> === CONT TestFileTokenEmpty
niks3-go-unit-tests> --- PASS: TestFileTokenReadsAndCaches (0.00s)
niks3-go-unit-tests> === CONT TestShellSplit
niks3-go-unit-tests> --- PASS: TestShellSplit (0.00s)
niks3-go-unit-tests> === CONT TestConvertHashToNix32
niks3-go-unit-tests> === RUN TestConvertHashToNix32/SRI_format_to_Nix32
niks3-go-unit-tests> === PAUSE TestConvertHashToNix32/SRI_format_to_Nix32
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> === CONT TestSetClientTLS
niks3-go-unit-tests> --- PASS: TestSetClientTLSDoesNotMutateDefaultTransport (0.01s)
niks3-go-unit-tests> === CONT TestDoWithRetry_BodyReplayedViaGetBody
niks3-go-unit-tests> --- PASS: TestFileTokenEmpty (0.00s)
niks3-go-unit-tests> === CONT TestParsePathInfoJSON/invalid_JSON
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> === 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> === 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> === RUN TestPathInfoCACompatibility/old_string_format_-_fixed_recursive
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> 2026/08/27 09:28:10 WARN Rate limiter enabled after throttle name=server-test rate=5
niks3-go-unit-tests> === PAUSE TestPathInfoCACompatibility/new_structured_format_-_nar_method
niks3-go-unit-tests> === CONT TestParsePathInfoJSONMultiplePaths
niks3-go-unit-tests> 2026/08/27 09:28:10 WARN Request returned retryable status, retrying attempt=1 max_attempts=6 backoff=0s status=503 url=http://127.0.0.1:50579
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 TestCaseHackSuffix
niks3-go-unit-tests> 2026/08/27 09:28:10 WARN Rate limiter backed off name=server-test rate=5
niks3-go-unit-tests> 2026/08/27 09:28:10 WARN Request returned retryable status, retrying attempt=2 max_attempts=6 backoff=0s status=503 url=http://127.0.0.1:50579
niks3-go-unit-tests> --- PASS: TestDoWithRetry_BodyReplayedViaGetBody (0.00s)
niks3-go-unit-tests> === CONT TestParsePathInfoJSON/empty_input
niks3-go-unit-tests> === CONT TestParsePathInfoJSON/whitespace_only
niks3-go-unit-tests> === CONT TestDumpPathSingleFile
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 TestSetClientTLSErrors
niks3-go-unit-tests> --- PASS: TestScriptTokenEmptyToken (0.02s)
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/empty_input (0.00s)
niks3-go-unit-tests> --- PASS: TestParsePathInfoJSON/whitespace_only (0.00s)
niks3-go-unit-tests> --- PASS: TestParsePathInfoJSON/Lix_format (0.00s)
niks3-go-unit-tests> === CONT TestEncodeNixBase32/test_string_hash
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 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> === CONT TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI)
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> === PAUSE TestSetClientTLSErrors/invalid_ca_file
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> === CONT TestPathInfoHashCompatibility/new_structured_format_with_sha512
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_-_converts_to_SRI (0.00s)
niks3-go-unit-tests> --- PASS: TestPathInfoHashCompatibility/old_string_format_with_colon (0.00s)
niks3-go-unit-tests> --- PASS: TestPathInfoHashCompatibility/new_structured_format_with_sha512 (0.00s)
niks3-go-unit-tests> === CONT TestFilterOversizedClosures/no_limit_keeps_everything
niks3-go-unit-tests> === CONT TestUploadMultipart_SupersededByPeer/exists
niks3-go-unit-tests> === CONT TestFilterOversizedClosures/all_closures_skipped
niks3-go-unit-tests> 2026/08/27 09:28:10 WARN Skipping closure: path exceeds server max NAR size top_level_path=/nix/store/cccccccccccccccccccccccccccccccc-wrapper oversized_path=/nix/store/cccccccccccccccccccccccccccccccc-wrapper nar_size=100 max_nar_size=50
niks3-go-unit-tests> === CONT TestFilterOversizedClosures/closure_with_oversized_dependency_is_skipped
niks3-go-unit-tests> 2026/08/27 09:28:10 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 TestPartSizeForNAR/zero_stays_at_minimum
niks3-go-unit-tests> === CONT TestUploadMultipart_SupersededByPeer/missing
niks3-go-unit-tests> --- PASS: TestScriptTokenBadJSON (0.02s)
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/small_stays_at_minimum
niks3-go-unit-tests> === CONT TestPartSizeForNAR/115_GiB_needs_larger_parts
niks3-go-unit-tests> === CONT TestPartSizeForNAR/80_GiB_fits_at_minimum
niks3-go-unit-tests> --- PASS: TestPartSizeForNAR (0.00s)
niks3-go-unit-tests> --- PASS: TestPartSizeForNAR/zero_stays_at_minimum (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/small_stays_at_minimum (0.00s)
niks3-go-unit-tests> --- PASS: TestPartSizeForNAR/115_GiB_needs_larger_parts (0.00s)
niks3-go-unit-tests> --- PASS: TestPartSizeForNAR/80_GiB_fits_at_minimum (0.00s)
niks3-go-unit-tests> === CONT TestConvertHashToNix32/SRI_format_to_Nix32
niks3-go-unit-tests> === CONT TestConvertHashToNix32/invalid_format
niks3-go-unit-tests> === CONT TestConvertHashToNix32/already_Nix32_format
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> === CONT TestRateLimiterFeedback/429_enables_limiter
niks3-go-unit-tests> === CONT TestPathInfoCACompatibility/null_ca_field
niks3-go-unit-tests> === CONT TestRateLimiterFeedback/400_does_not_enable_limiter
niks3-go-unit-tests> 2026/08/27 09:28:10 WARN Rate limiter enabled after throttle name=server-test rate=5
niks3-go-unit-tests> 2026/08/27 09:28:10 WARN Request returned retryable status, retrying attempt=1 max_attempts=2 backoff=0s status=429 url=http://127.0.0.1:50585
niks3-go-unit-tests> === CONT TestRateLimiterFeedback/200_does_not_enable_limiter
niks3-go-unit-tests> 2026/08/27 09:28:10 WARN Rate limiter backed off name=server-test rate=5
niks3-go-unit-tests> === CONT TestRateLimiterFeedback/503_enables_limiter
niks3-go-unit-tests> === CONT TestPathInfoCACompatibility/new_structured_format_-_nar_method
niks3-go-unit-tests> 2026/08/27 09:28:10 WARN Rate limiter enabled after throttle name=server-test rate=5
niks3-go-unit-tests> 2026/08/27 09:28:10 WARN Request returned retryable status, retrying attempt=1 max_attempts=2 backoff=0s status=503 url=http://127.0.0.1:50592
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 TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths
niks3-go-unit-tests> === CONT TestPathInfoCACompatibility/new_structured_format_-_text
niks3-go-unit-tests> === CONT TestPathInfoCACompatibility/old_string_format_-_fixed_recursive
niks3-go-unit-tests> === CONT TestPathInfoCACompatibility/old_string_format_-_text
niks3-go-unit-tests> === CONT TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths
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_-_fixed_recursive (0.00s)
niks3-go-unit-tests> --- PASS: TestPathInfoCACompatibility/old_string_format_-_text (0.00s)
niks3-go-unit-tests> === CONT TestSetClientTLS/rejects_connection_without_client_cert
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 TestSetClientTLS/preserves_debug_logging_transport
niks3-go-unit-tests> 2026/08/27 09:28:10 WARN Rate limiter backed off name=server-test rate=5
niks3-go-unit-tests> --- PASS: TestRateLimiterFeedback (0.00s)
niks3-go-unit-tests> --- PASS: TestRateLimiterFeedback/400_does_not_enable_limiter (0.00s)
niks3-go-unit-tests> --- PASS: TestRateLimiterFeedback/429_enables_limiter (0.00s)
niks3-go-unit-tests> --- PASS: TestRateLimiterFeedback/200_does_not_enable_limiter (0.00s)
niks3-go-unit-tests> --- PASS: TestRateLimiterFeedback/503_enables_limiter (0.00s)
niks3-go-unit-tests> === CONT TestSetClientTLS/succeeds_with_client_cert_and_CA
niks3-go-unit-tests> === CONT TestSetClientTLSErrors/missing_cert_file
niks3-go-unit-tests> === CONT TestSetClientTLSErrors/missing_ca_file
niks3-go-unit-tests> === CONT TestSetClientTLSErrors/invalid_ca_file
niks3-go-unit-tests> === CONT TestSetClientTLSErrors/missing_key_file
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> 2026/08/27 09:28:10 http: TLS handshake error from 127.0.0.1:50595: read tcp 127.0.0.1:50581->127.0.0.1:50595: use of closed network connection
niks3-go-unit-tests> --- PASS: TestSetClientTLS (0.01s)
niks3-go-unit-tests> --- PASS: TestSetClientTLS/succeeds_with_client_cert_and_CA (0.00s)
niks3-go-unit-tests> --- PASS: TestSetClientTLS/preserves_debug_logging_transport (0.00s)
niks3-go-unit-tests> --- PASS: TestSetClientTLS/rejects_connection_without_client_cert (0.01s)
niks3-go-unit-tests> --- PASS: TestScriptTokenCachesUntilRefresh (0.04s)
niks3-go-unit-tests> --- PASS: TestScriptTokenNoExpiryRerunsEveryCall (0.04s)
niks3-go-unit-tests> --- PASS: TestDumpPathWriterError (0.06s)
niks3-go-unit-tests> --- PASS: TestDumpPathSingleFile (0.05s)
niks3-go-unit-tests> --- PASS: TestCaseHackSuffix (0.05s)
niks3-go-unit-tests> --- PASS: TestDumpPathMatchesNix (0.08s)
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-13638-4044143606/postgres100756022/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-13638-4044143606/postgres100756022/data -l logfile start
niks3-go-unit-tests>
niks3-go-unit-tests> /nix/var/nix/builds/nix-13638-4044143606/postgres100756022:5432 - no response
niks3-go-unit-tests> 2026-08-27 09:28:12.400 UTC [13673] LOG: starting PostgreSQL 18.4 on aarch64-apple-darwin25.5.0, compiled by clang version 21.1.8, 64-bit
niks3-go-unit-tests> 2026-08-27 09:28:12.401 UTC [13673] LOG: listening on Unix socket "/nix/var/nix/builds/nix-13638-4044143606/postgres100756022/.s.PGSQL.5432"
niks3-go-unit-tests> 2026-08-27 09:28:12.403 UTC [13680] LOG: database system was shut down at 2026-08-27 09:28:12 UTC
niks3-go-unit-tests> 2026-08-27 09:28:12.403 UTC [13673] LOG: database system is ready to accept connections
niks3-go-unit-tests> /nix/var/nix/builds/nix-13638-4044143606/postgres100756022: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 TestCacheConfigHandler
niks3-go-unit-tests> === PAUSE TestCacheConfigHandler
niks3-go-unit-tests> === RUN TestCacheStatsHandler
niks3-go-unit-tests> === PAUSE TestCacheStatsHandler
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 TestPinProtectsFromGC
niks3-go-unit-tests> === PAUSE TestPinProtectsFromGC
niks3-go-unit-tests> === RUN TestGCAdvisoryLockBlocksConcurrentRun
niks3-go-unit-tests> 2026-08-27 09:28:12.663 UTC [13752] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:12.663 UTC [13752] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:28:12 OK 20241026095416_initial_model.sql (3.13ms)
niks3-go-unit-tests> 2026/08/27 09:28:12 OK 20251210153512_drop_unused_gin_index.sql (536.21µs)
niks3-go-unit-tests> 2026/08/27 09:28:12 OK 20251218171726_add_pins.sql (767µs)
niks3-go-unit-tests> 2026/08/27 09:28:12 OK 20260628120000_add_object_size_and_stats.sql (759.88µs)
niks3-go-unit-tests> 2026/08/27 09:28:12 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:12 OK 1_commit_pending_closure.sql (774.79µs)
niks3-go-unit-tests> 2026/08/27 09:28:12 OK 2_object_stats_trigger.sql (228.83µs)
niks3-go-unit-tests> 2026/08/27 09:28:12 goose: up to current file version: 2
niks3-go-unit-tests> --- PASS: TestGCAdvisoryLockBlocksConcurrentRun (0.09s)
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 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 TestReadProxyRangeRequest
niks3-go-unit-tests> === PAUSE TestReadProxyRangeRequest
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.02s)
niks3-go-unit-tests> === RUN TestWatchdogSkipsWhenUnhealthy
niks3-go-unit-tests> 2026/08/27 09:28:12 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded"
niks3-go-unit-tests> 2026/08/27 09:28:12 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded"
niks3-go-unit-tests> 2026/08/27 09:28:12 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded"
niks3-go-unit-tests> 2026/08/27 09:28:12 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded"
niks3-go-unit-tests> 2026/08/27 09:28:12 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded"
niks3-go-unit-tests> 2026/08/27 09:28:12 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded"
niks3-go-unit-tests> 2026/08/27 09:28:12 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded"
niks3-go-unit-tests> 2026/08/27 09:28:12 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded"
niks3-go-unit-tests> 2026/08/27 09:28:12 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 TestCompleteMultipartUnregistered
niks3-go-unit-tests> === CONT TestService_AuthMiddleware
niks3-go-unit-tests> === CONT TestService_verifyS3Integrity
niks3-go-unit-tests> === CONT TestService_createPendingClosureHandler
niks3-go-unit-tests> === CONT TestService_cleanupPendingClosuresHandler
niks3-go-unit-tests> === CONT TestUploadHandlersRejectOversizedBody
niks3-go-unit-tests> === CONT TestUploadHandlersRejectInvalidKeys
niks3-go-unit-tests> === CONT TestIsValidUploadKey
niks3-go-unit-tests> === CONT TestProxyWriteTimeout
niks3-go-unit-tests> === RUN TestProxyWriteTimeout/narinfo
niks3-go-unit-tests> === RUN TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_nix-cache-info
niks3-go-unit-tests> === RUN TestIsValidUploadKey/narinfo
niks3-go-unit-tests> === PAUSE TestProxyWriteTimeout/narinfo
niks3-go-unit-tests> === RUN TestProxyWriteTimeout/1_GiB_nar
niks3-go-unit-tests> === PAUSE TestProxyWriteTimeout/1_GiB_nar
niks3-go-unit-tests> === CONT TestCompleteMultipartUploadHandler_RateLimitTriggersThrottle
niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/narinfo
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> === RUN TestIsValidUploadKey/nar_zst
niks3-go-unit-tests> === RUN TestProxyWriteTimeout/10_GiB_nar
niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/nar_zst
niks3-go-unit-tests> === RUN TestIsValidUploadKey/nar_xz
niks3-go-unit-tests> === CONT TestSkippedUploadsHandler
niks3-go-unit-tests> === PAUSE TestProxyWriteTimeout/10_GiB_nar
niks3-go-unit-tests> === RUN TestProxyWriteTimeout/unknown_size
niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/nar_xz
niks3-go-unit-tests> === RUN TestIsValidUploadKey/nar_plain
niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/nar_plain
niks3-go-unit-tests> === RUN TestIsValidUploadKey/listing
niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/listing
niks3-go-unit-tests> === RUN TestIsValidUploadKey/build_log
niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/build_log
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> === 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> === PAUSE TestProxyWriteTimeout/unknown_size
niks3-go-unit-tests> === RUN TestIsValidUploadKey/traversal
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> === 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> 2026/08/27 09:28:12 INFO Client skipped oversized paths paths=3 nar_bytes=5000000000
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 TestPresignedUploadRegisteredBeforeCommit
niks3-go-unit-tests> --- PASS: TestSkippedUploadsHandler (0.00s)
niks3-go-unit-tests> === CONT TestCompletedNarNotReofferedAcrossClosures
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 TestCompleteMultipartUpload_ErrorButObjectExists
niks3-go-unit-tests> 2026-08-27 09:28:13.213 UTC [13774] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:13.213 UTC [13774] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:28:13.214 UTC [13775] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:13.214 UTC [13775] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:28:13.217 UTC [13776] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:13.217 UTC [13776] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:28:13.219 UTC [13777] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:13.219 UTC [13777] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:28:13.222 UTC [13778] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:13.222 UTC [13778] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:28:13.222 UTC [13779] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:13.222 UTC [13779] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:28:13.227 UTC [13780] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:13.227 UTC [13780] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:28:13.228 UTC [13781] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:13.228 UTC [13781] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20241026095416_initial_model.sql (8.06ms)
niks3-go-unit-tests> 2026-08-27 09:28:13.228 UTC [13782] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:13.228 UTC [13782] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20241026095416_initial_model.sql (8.64ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20251210153512_drop_unused_gin_index.sql (700.46µs)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20251210153512_drop_unused_gin_index.sql (781.63µs)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20251218171726_add_pins.sql (2.19ms)
niks3-go-unit-tests> 2026-08-27 09:28:13.231 UTC [13783] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:13.231 UTC [13783] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20241026095416_initial_model.sql (6.45ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20251218171726_add_pins.sql (2.5ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20241026095416_initial_model.sql (7.91ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20251210153512_drop_unused_gin_index.sql (917.54µs)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20260628120000_add_object_size_and_stats.sql (1.86ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20251210153512_drop_unused_gin_index.sql (902.21µs)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20260628120000_add_object_size_and_stats.sql (1.71ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20251218171726_add_pins.sql (1.29ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 1_commit_pending_closure.sql (1.5ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 1_commit_pending_closure.sql (1.33ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 2_object_stats_trigger.sql (497µs)
niks3-go-unit-tests> 2026/08/27 09:28:13 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20241026095416_initial_model.sql (8.49ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20251218171726_add_pins.sql (1.89ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 2_object_stats_trigger.sql (553.79µs)
niks3-go-unit-tests> 2026/08/27 09:28:13 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20260628120000_add_object_size_and_stats.sql (1.55ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20241026095416_initial_model.sql (8.81ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20251210153512_drop_unused_gin_index.sql (628.88µs)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20260628120000_add_object_size_and_stats.sql (1.1ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20251210153512_drop_unused_gin_index.sql (999.04µs)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20241026095416_initial_model.sql (5.28ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20251218171726_add_pins.sql (1.41ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20241026095416_initial_model.sql (6.15ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 1_commit_pending_closure.sql (875.25µs)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 1_commit_pending_closure.sql (1.99ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 2_object_stats_trigger.sql (304.29µs)
niks3-go-unit-tests> 2026/08/27 09:28:13 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 2_object_stats_trigger.sql (406.58µs)
niks3-go-unit-tests> 2026/08/27 09:28:13 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20251210153512_drop_unused_gin_index.sql (4.3ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20251218171726_add_pins.sql (5.45ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20251210153512_drop_unused_gin_index.sql (4.63ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20241026095416_initial_model.sql (11.73ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20260628120000_add_object_size_and_stats.sql (5.7ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20251218171726_add_pins.sql (1.12ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20251218171726_add_pins.sql (1.05ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 1_commit_pending_closure.sql (854.63µs)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 2_object_stats_trigger.sql (207µs)
niks3-go-unit-tests> 2026/08/27 09:28:13 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20251210153512_drop_unused_gin_index.sql (75.65ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20260628120000_add_object_size_and_stats.sql (76.64ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 1_commit_pending_closure.sql (1.72ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 2_object_stats_trigger.sql (245.92µs)
niks3-go-unit-tests> 2026/08/27 09:28:13 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20260628120000_add_object_size_and_stats.sql (83.12ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20260628120000_add_object_size_and_stats.sql (83.09ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 1_commit_pending_closure.sql (1.04ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 1_commit_pending_closure.sql (1.19ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 2_object_stats_trigger.sql (221.46µs)
niks3-go-unit-tests> 2026/08/27 09:28:13 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 2_object_stats_trigger.sql (219.46µs)
niks3-go-unit-tests> 2026/08/27 09:28:13 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20251218171726_add_pins.sql (14.11ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20241026095416_initial_model.sql (97.45ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20251210153512_drop_unused_gin_index.sql (2.15ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20260628120000_add_object_size_and_stats.sql (5.98ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20251218171726_add_pins.sql (4.53ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 1_commit_pending_closure.sql (1.42ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 2_object_stats_trigger.sql (208.21µs)
niks3-go-unit-tests> 2026/08/27 09:28:13 goose: up to current file version: 2
niks3-go-unit-tests> {"timestamp":"2026-08-27T09:28:13.341017Z","level":"ERROR","duration":"98.833µs","resp":"Response { status: 503, version: HTTP/1.1, headers: {\"content-type\": \"application/xml\"}, body: Body { once: b\"SlowDownbucket creation concurrency limit reached; retry later\" } }","target":"s3s::service","filename":"/nix/var/nix/builds/nix-57705-2947227838/rustfs-1.0.0-beta.12-vendor/source-git-1/s3s-0.14.1/src/service.rs","line_number":640,"threadName":"rustfs-worker","threadId":"ThreadId(9)"}
niks3-go-unit-tests> {"timestamp":"2026-08-27T09:28:13.341083Z","level":"ERROR","message":"HTTP request completed","event":"http_request_completed","component":"server","subsystem":"http","request_id":"8cee6d92-eef8-403c-b93e-82701a611d6e","trace_id":"unknown","span_id":"unknown","peer_addr":"127.0.0.1","method":"PUT","uri":"/bucket10/","status_code":503,"duration_ms":0,"result":"server_error","target":"rustfs::server::layer","filename":"rustfs/src/server/layer.rs","line_number":392,"threadName":"rustfs-worker","threadId":"ThreadId(9)"}
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 20260628120000_add_object_size_and_stats.sql (5.61ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 1_commit_pending_closure.sql (1.07ms)
niks3-go-unit-tests> 2026/08/27 09:28:13 OK 2_object_stats_trigger.sql (227.42µs)
niks3-go-unit-tests> 2026/08/27 09:28:13 goose: up to current file version: 2
niks3-go-unit-tests> {"timestamp":"2026-08-27T09:28:13.34742Z","level":"ERROR","duration":"71.25µs","resp":"Response { status: 503, version: HTTP/1.1, headers: {\"content-type\": \"application/xml\"}, body: Body { once: b\"SlowDownbucket creation concurrency limit reached; retry later\" } }","target":"s3s::service","filename":"/nix/var/nix/builds/nix-57705-2947227838/rustfs-1.0.0-beta.12-vendor/source-git-1/s3s-0.14.1/src/service.rs","line_number":640,"threadName":"rustfs-worker","threadId":"ThreadId(2)"}
niks3-go-unit-tests> {"timestamp":"2026-08-27T09:28:13.347437Z","level":"ERROR","message":"HTTP request completed","event":"http_request_completed","component":"server","subsystem":"http","request_id":"bb055245-f410-4ccd-8267-98da026eb5e4","trace_id":"unknown","span_id":"unknown","peer_addr":"127.0.0.1","method":"PUT","uri":"/bucket11/","status_code":503,"duration_ms":0,"result":"server_error","target":"rustfs::server::layer","filename":"rustfs/src/server/layer.rs","line_number":392,"threadName":"rustfs-worker","threadId":"ThreadId(2)"}
niks3-go-unit-tests> 2026/08/27 09:28:13 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> {"timestamp":"2026-08-27T09:28:13.426953Z","level":"ERROR","duration":"55.333µs","resp":"Response { status: 503, version: HTTP/1.1, headers: {\"content-type\": \"application/xml\"}, body: Body { once: b\"SlowDownbucket creation concurrency limit reached; retry later\" } }","target":"s3s::service","filename":"/nix/var/nix/builds/nix-57705-2947227838/rustfs-1.0.0-beta.12-vendor/source-git-1/s3s-0.14.1/src/service.rs","line_number":640,"threadName":"rustfs-worker","threadId":"ThreadId(2)"}
niks3-go-unit-tests> {"timestamp":"2026-08-27T09:28:13.426983Z","level":"ERROR","message":"HTTP request completed","event":"http_request_completed","component":"server","subsystem":"http","request_id":"5cf00572-24b3-4814-9e76-d637b405d9dc","trace_id":"unknown","span_id":"unknown","peer_addr":"127.0.0.1","method":"PUT","uri":"/bucket10/","status_code":503,"duration_ms":0,"result":"server_error","target":"rustfs::server::layer","filename":"rustfs/src/server/layer.rs","line_number":392,"threadName":"rustfs-worker","threadId":"ThreadId(2)"}
niks3-go-unit-tests> 2026/08/27 09:28:13 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:13 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:13 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:13 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:13 INFO Received cleanup request method=DELETE path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:13 INFO Aborted multipart uploads count=0
niks3-go-unit-tests> 2026/08/27 09:28:13 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:13 INFO Received cleanup request method=DELETE path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:13 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:13 INFO Aborted multipart uploads count=1
niks3-go-unit-tests> 2026/08/27 09:28:13 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete
niks3-go-unit-tests> 2026-08-27 09:28:13.692 UTC [13778] ERROR: Closure does not exist: id=1
niks3-go-unit-tests> 2026-08-27 09:28:13.692 UTC [13778] CONTEXT: PL/pgSQL function commit_pending_closure(bigint) line 16 at RAISE
niks3-go-unit-tests> 2026-08-27 09:28:13.692 UTC [13778] 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 (0.75s)
niks3-go-unit-tests> === CONT TestRedundantMultipartUpload
niks3-go-unit-tests> 2026/08/27 09:28:13 INFO Received complete multipart upload request method=POST path=/api/multipart/complete
niks3-go-unit-tests> 2026/08/27 09:28:13 INFO Registered completed upload object_key=nar/jjjjjjjjjjjjjjjjjjjjjjjjjjjjjj0100000000000000000000.nar.zst
niks3-go-unit-tests> 2026/08/27 09:28:13 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> --- PASS: TestPresignedUploadRegisteredBeforeCommit (0.80s)
niks3-go-unit-tests> === CONT TestReadProxyRangeRequest
niks3-go-unit-tests> 2026/08/27 09:28:13 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:13 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:13 INFO Received complete multipart upload request method=POST path=/api/multipart/complete
niks3-go-unit-tests> 2026/08/27 09:28:13 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.03s)
niks3-go-unit-tests> === CONT TestCreatePendingClosure_SmallNARUsesSimplePUT
niks3-go-unit-tests> --- PASS: TestService_Rustfstest (1.08s)
niks3-go-unit-tests> === CONT TestReadProxyDisabled
niks3-go-unit-tests> 2026/08/27 09:28:14 INFO Received complete multipart upload request method=POST path=/api/multipart/complete
niks3-go-unit-tests> 2026/08/27 09:28:14 WARN CompleteMultipartUpload errored but object exists; treating as success error="The specified key does not exist." object_key=nar/gggggggggggggggggggggggggggggg0300000000000000000000.nar.zst upload_id=YTQ2OGYwMWQtZDRiOC00OTdkLTkwYjEtYjk3NDQwMGUyMGE0LjgyNzg0MjQ4LWFmMWUtNGVlYS1hNDYyLTk0NTAxMjA1NjcxMXgxNzg3ODIyODkzODAyMTQ0MDAw
niks3-go-unit-tests> 2026/08/27 09:28:14 INFO Completed multipart upload object_key=nar/gggggggggggggggggggggggggggggg0300000000000000000000.nar.zst upload_id=YTQ2OGYwMWQtZDRiOC00OTdkLTkwYjEtYjk3NDQwMGUyMGE0LjgyNzg0MjQ4LWFmMWUtNGVlYS1hNDYyLTk0NTAxMjA1NjcxMXgxNzg3ODIyODkzODAyMTQ0MDAw parts=1
niks3-go-unit-tests> --- PASS: TestCompleteMultipartUpload_ErrorButObjectExists (1.11s)
niks3-go-unit-tests> === CONT TestReadProxyRootRedirectsToIndexHTML
niks3-go-unit-tests> 2026/08/27 09:28:14 WARN Authentication failed token_preview=wrongtoken token_length=10 reason="static API token mismatch"
niks3-go-unit-tests> --- PASS: TestService_AuthMiddleware (1.20s)
niks3-go-unit-tests> === CONT TestGracefulShutdownDrainsInflight
niks3-go-unit-tests> 2026/08/27 09:28:14 INFO Starting HTTP server address=127.0.0.1:50640
niks3-go-unit-tests> 2026/08/27 09:28:14 INFO Shutdown signal received, draining in-flight requests timeout=10s
niks3-go-unit-tests> --- PASS: TestGracefulShutdownDrainsInflight (0.07s)
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 TestReadProxyConditionalGet
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Received complete multipart upload request method=POST path=/api/multipart/complete
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Received complete multipart upload request method=POST path=/api/multipart/complete
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Completed multipart upload object_key=nar/0000000000000000000000000000000000000000000000000000.nar.zst upload_id=YTQ2OGYwMWQtZDRiOC00OTdkLTkwYjEtYjk3NDQwMGUyMGE0Ljg0MmY0OWJmLWNiZjYtNGVkYy1hMTdiLWVhODk0NDkwZTY3OHgxNzg3ODIyODkzNTQ3NTE0MDAw parts=10
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Completed upload id=1
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Received get closure request method=GET path=/api/closures/00000000000000000000000000000000
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Starting cleanup of old closures method=DELETE path=/api/closures
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Aborted multipart uploads count=0
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Garbage collection completed failed-uploads-deleted=0 old-closures-deleted=1 objects-marked-for-deletion=2 objects-deleted-after-grace-period=0 objects-failed-to-delete=0
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Vacuumed table table=pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Completed multipart upload object_key=nar/dadb44fdadb44fdadb44fdadb44f000000000000000000000000.nar.zst upload_id=YTQ2OGYwMWQtZDRiOC00OTdkLTkwYjEtYjk3NDQwMGUyMGE0LmE2NDcxYzRhLWNjYWQtNDVlOS05NDRmLTNkYTcwOTdlODhmZngxNzg3ODIyODkzNDc4Mjg2MDAw parts=10
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Vacuumed table table=pending_objects
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Completed upload id=1
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Vacuumed table table=multipart_uploads
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Object in database but missing from S3 key=dadb44fdadb44fdadb44fdadb44f0000.narinfo
niks3-go-unit-tests> 2026/08/27 09:28:15 WARN Found objects in DB but missing from S3, will re-upload count=1
niks3-go-unit-tests> --- PASS: TestService_verifyS3Integrity (2.24s)
niks3-go-unit-tests> === CONT TestGCTaskStore_CompletedAllowsNewTask
niks3-go-unit-tests> --- PASS: TestGCTaskStore_CompletedAllowsNewTask (0.00s)
niks3-go-unit-tests> === CONT TestReadProxyHead
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Vacuumed table table=closures
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Vacuumed table table=objects
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Received get closure request method=GET path=/api/closures/00000000000000000000000000000000
niks3-go-unit-tests> --- PASS: TestService_createPendingClosureHandler (2.34s)
niks3-go-unit-tests> === CONT TestGCTaskStore_GetReturnsLatest
niks3-go-unit-tests> --- PASS: TestGCTaskStore_GetReturnsLatest (0.00s)
niks3-go-unit-tests> === CONT TestReadProxyInvalidPath
niks3-go-unit-tests> 2026-08-27 09:28:15.534 UTC [13801] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:15.534 UTC [13801] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:28:15.534 UTC [13802] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:15.534 UTC [13802] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Received complete multipart upload request method=POST path=/api/multipart/complete
niks3-go-unit-tests> 2026-08-27 09:28:15.636 UTC [13803] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:15.636 UTC [13803] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Completed multipart upload object_key=nar/hhhhhhhhhhhhhhhhhhhhhhhhhhhhhh0100000000000000000000.nar.zst upload_id=YTQ2OGYwMWQtZDRiOC00OTdkLTkwYjEtYjk3NDQwMGUyMGE0LjI0MWQyNzU3LTMzYmMtNGIyYi04ODUyLTE0M2ZkOTE5MTBhYXgxNzg3ODIyODkzOTAxNDEwMDAw parts=12
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> --- PASS: TestCompletedNarNotReofferedAcrossClosures (2.67s)
niks3-go-unit-tests> === CONT TestGCTaskStore_GetEmpty
niks3-go-unit-tests> --- PASS: TestGCTaskStore_GetEmpty (0.00s)
niks3-go-unit-tests> === CONT TestReadProxy404
niks3-go-unit-tests> 2026-08-27 09:28:15.670 UTC [13804] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:15.670 UTC [13804] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 20241026095416_initial_model.sql (69.87ms)
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 20251210153512_drop_unused_gin_index.sql (13.09ms)
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 20251218171726_add_pins.sql (11.31ms)
niks3-go-unit-tests> 2026-08-27 09:28:15.701 UTC [13806] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:15.701 UTC [13806] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 20241026095416_initial_model.sql (95.52ms)
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 20251210153512_drop_unused_gin_index.sql (1.54ms)
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 20260628120000_add_object_size_and_stats.sql (25.57ms)
niks3-go-unit-tests> 2026/08/27 09:28:15 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 20251218171726_add_pins.sql (24.39ms)
niks3-go-unit-tests> 2026-08-27 09:28:15.728 UTC [13808] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:15.728 UTC [13808] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 1_commit_pending_closure.sql (2.87ms)
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 2_object_stats_trigger.sql (598.38µs)
niks3-go-unit-tests> 2026/08/27 09:28:15 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 20260628120000_add_object_size_and_stats.sql (4.66ms)
niks3-go-unit-tests> 2026/08/27 09:28:15 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 1_commit_pending_closure.sql (3.06ms)
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 2_object_stats_trigger.sql (462.25µs)
niks3-go-unit-tests> 2026/08/27 09:28:15 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 20241026095416_initial_model.sql (77.96ms)
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 20251210153512_drop_unused_gin_index.sql (14.96ms)
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 20241026095416_initial_model.sql (67.77ms)
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 20251218171726_add_pins.sql (5.68ms)
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 20251210153512_drop_unused_gin_index.sql (11.88ms)
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 20241026095416_initial_model.sql (59.72ms)
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 20251210153512_drop_unused_gin_index.sql (10.42ms)
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 20260628120000_add_object_size_and_stats.sql (29.34ms)
niks3-go-unit-tests> 2026/08/27 09:28:15 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 1_commit_pending_closure.sql (2.71ms)
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 2_object_stats_trigger.sql (944.58µs)
niks3-go-unit-tests> 2026/08/27 09:28:15 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 20251218171726_add_pins.sql (22.91ms)
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 20251218171726_add_pins.sql (17.56ms)
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 20260628120000_add_object_size_and_stats.sql (35.37ms)
niks3-go-unit-tests> 2026/08/27 09:28:15 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 1_commit_pending_closure.sql (12.69ms)
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 2_object_stats_trigger.sql (752.25µs)
niks3-go-unit-tests> 2026/08/27 09:28:15 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 20260628120000_add_object_size_and_stats.sql (45.56ms)
niks3-go-unit-tests> 2026/08/27 09:28:15 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 1_commit_pending_closure.sql (7.66ms)
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 2_object_stats_trigger.sql (688.25µs)
niks3-go-unit-tests> 2026/08/27 09:28:15 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 20241026095416_initial_model.sql (138.93ms)
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 20251210153512_drop_unused_gin_index.sql (11.69ms)
niks3-go-unit-tests> 2026/08/27 09:28:15 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:15 OK 20251218171726_add_pins.sql (45.21ms)
niks3-go-unit-tests> --- PASS: TestReadProxyRangeRequest (2.20s)
niks3-go-unit-tests> === CONT TestGCTaskStore_ConflictDifferentParams
niks3-go-unit-tests> --- PASS: TestGCTaskStore_ConflictDifferentParams (0.00s)
niks3-go-unit-tests> === CONT TestReadProxyNarStreaming
niks3-go-unit-tests> 2026/08/27 09:28:16 OK 20260628120000_add_object_size_and_stats.sql (49.75ms)
niks3-go-unit-tests> 2026/08/27 09:28:16 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:16 OK 1_commit_pending_closure.sql (2.8ms)
niks3-go-unit-tests> 2026/08/27 09:28:16 OK 2_object_stats_trigger.sql (442.88µs)
niks3-go-unit-tests> 2026/08/27 09:28:16 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:16 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> --- PASS: TestCreatePendingClosure_SmallNARUsesSimplePUT (2.12s)
niks3-go-unit-tests> === CONT TestGCTaskStore_DeduplicateSameParams
niks3-go-unit-tests> --- PASS: TestGCTaskStore_DeduplicateSameParams (0.00s)
niks3-go-unit-tests> === CONT TestReadProxyNarinfoAlreadyDecompressed
niks3-go-unit-tests> --- PASS: TestReadProxyRootRedirectsToIndexHTML (2.02s)
niks3-go-unit-tests> === CONT TestClientCADerivations
niks3-go-unit-tests> --- PASS: TestReadProxyConditionalGet (2.03s)
niks3-go-unit-tests> === CONT TestReadProxyNarinfo
niks3-go-unit-tests> --- PASS: TestReadProxyDisabled (2.30s)
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 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 TestResurrectedObjectNotDeleted
niks3-go-unit-tests> 2026-08-27 09:28:16.910 UTC [13823] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:16.910 UTC [13823] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:28:16.916 UTC [13824] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:16.916 UTC [13824] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:28:16 OK 20241026095416_initial_model.sql (19.5ms)
niks3-go-unit-tests> 2026/08/27 09:28:16 OK 20251210153512_drop_unused_gin_index.sql (1.11ms)
niks3-go-unit-tests> 2026/08/27 09:28:16 OK 20251218171726_add_pins.sql (15.03ms)
niks3-go-unit-tests> 2026-08-27 09:28:16.990 UTC [13825] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:16.990 UTC [13825] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20260628120000_add_object_size_and_stats.sql (44.76ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20241026095416_initial_model.sql (76.59ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20251210153512_drop_unused_gin_index.sql (43.54ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 1_commit_pending_closure.sql (43.75ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 2_object_stats_trigger.sql (992.46µs)
niks3-go-unit-tests> 2026/08/27 09:28:17 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20251218171726_add_pins.sql (5.58ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20260628120000_add_object_size_and_stats.sql (42.15ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 1_commit_pending_closure.sql (9.03ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 2_object_stats_trigger.sql (915.42µs)
niks3-go-unit-tests> 2026/08/27 09:28:17 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20241026095416_initial_model.sql (132.37ms)
niks3-go-unit-tests> --- PASS: TestReadProxyInvalidPath (1.92s)
niks3-go-unit-tests> === CONT TestOrphanedObjectsGCStressTest
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20251210153512_drop_unused_gin_index.sql (10.27ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20251218171726_add_pins.sql (46.81ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20260628120000_add_object_size_and_stats.sql (45.68ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 1_commit_pending_closure.sql (9.78ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 2_object_stats_trigger.sql (1.27ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 goose: up to current file version: 2
niks3-go-unit-tests> --- PASS: TestReadProxyHead (2.21s)
niks3-go-unit-tests> === CONT TestOrphanedObjectsGC
niks3-go-unit-tests> 2026/08/27 09:28:17 INFO Received complete multipart upload request method=POST path=/api/multipart/complete
niks3-go-unit-tests> --- PASS: TestReadProxy404 (1.84s)
niks3-go-unit-tests> === CONT TestObjectStatsTrigger
niks3-go-unit-tests> 2026/08/27 09:28:17 INFO Completed multipart upload object_key=nar/gggggggggggggggggggggggggggggg0100000000000000000000.nar.zst upload_id=YTQ2OGYwMWQtZDRiOC00OTdkLTkwYjEtYjk3NDQwMGUyMGE0LmVhYWI3YzllLTI4YTEtNDQ2Yi05ZDE1LWRlNzY0ODI3NGVmZHgxNzg3ODIyODk1ODgzODYzMDAw parts=12
niks3-go-unit-tests> --- PASS: TestRedundantMultipartUpload (3.89s)
niks3-go-unit-tests> === CONT TestMultipartCleanup
niks3-go-unit-tests> 2026-08-27 09:28:17.645 UTC [13834] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:17.645 UTC [13834] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:28:17.651 UTC [13835] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:17.651 UTC [13835] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:28:17.651 UTC [13836] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:17.651 UTC [13836] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:28:17.759 UTC [13837] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:17.759 UTC [13837] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20241026095416_initial_model.sql (72.47ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20241026095416_initial_model.sql (75.73ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20241026095416_initial_model.sql (76.95ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20251210153512_drop_unused_gin_index.sql (4.57ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20251210153512_drop_unused_gin_index.sql (9.59ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20251210153512_drop_unused_gin_index.sql (9.44ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20251218171726_add_pins.sql (26.34ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20251218171726_add_pins.sql (17.24ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20251218171726_add_pins.sql (18.69ms)
niks3-go-unit-tests> 2026-08-27 09:28:17.791 UTC [13838] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:17.791 UTC [13838] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20260628120000_add_object_size_and_stats.sql (7.54ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20260628120000_add_object_size_and_stats.sql (8.47ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20260628120000_add_object_size_and_stats.sql (8.01ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 1_commit_pending_closure.sql (2.96ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 1_commit_pending_closure.sql (3.29ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 1_commit_pending_closure.sql (4.05ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 2_object_stats_trigger.sql (1.59ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 2_object_stats_trigger.sql (1.37ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 2_object_stats_trigger.sql (1.36ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20241026095416_initial_model.sql (49.97ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20251210153512_drop_unused_gin_index.sql (13.43ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20251218171726_add_pins.sql (87.73ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 WARN Rate limiter enabled after throttle name=s3-test rate=5
niks3-go-unit-tests> 2026/08/27 09:28:17 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=15, 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 (5.00s)
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_NativeMTLS
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20241026095416_initial_model.sql (161.1ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20251210153512_drop_unused_gin_index.sql (8.41ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20260628120000_add_object_size_and_stats.sql (48.23ms)
niks3-go-unit-tests> 2026/08/27 09:28:17 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 20251218171726_add_pins.sql (22.12ms)
niks3-go-unit-tests> --- PASS: TestReadProxyNarStreaming (2.01s)
niks3-go-unit-tests> === CONT TestMetricsInventory
niks3-go-unit-tests> 2026/08/27 09:28:17 OK 1_commit_pending_closure.sql (3.77ms)
niks3-go-unit-tests> 2026/08/27 09:28:18 OK 2_object_stats_trigger.sql (1.38ms)
niks3-go-unit-tests> 2026/08/27 09:28:18 goose: up to current file version: 2
niks3-go-unit-tests> --- PASS: TestReadProxyNarinfoAlreadyDecompressed (1.94s)
niks3-go-unit-tests> === CONT TestCacheStatsHandler
niks3-go-unit-tests> 2026/08/27 09:28:18 OK 20260628120000_add_object_size_and_stats.sql (43.88ms)
niks3-go-unit-tests> 2026/08/27 09:28:18 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:18 OK 1_commit_pending_closure.sql (6.37ms)
niks3-go-unit-tests> 2026/08/27 09:28:18 OK 2_object_stats_trigger.sql (335.33µs)
niks3-go-unit-tests> 2026/08/27 09:28:18 goose: up to current file version: 2
niks3-go-unit-tests> --- PASS: TestReadProxyNarinfo (1.86s)
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 TestService_AuthMiddleware_OIDC
niks3-go-unit-tests> 2026/08/27 09:28:18 INFO OIDC provider initialized name=test
niks3-go-unit-tests> 2026/08/27 09:28:18 INFO Created nix-cache-info in bucket bucket=bucket24
niks3-go-unit-tests> --- PASS: TestResurrectedObjectNotDeleted (2.06s)
niks3-go-unit-tests> === CONT TestNARDeduplicationMetadataUploadBug
niks3-go-unit-tests> 2026-08-27 09:28:18.529 UTC [13854] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:18.529 UTC [13854] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:28:18.575 UTC [13855] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:18.575 UTC [13855] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:28:18.575 UTC [13856] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:18.575 UTC [13856] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:28:18 OK 20241026095416_initial_model.sql (71.26ms)
niks3-go-unit-tests> 2026/08/27 09:28:18 OK 20251210153512_drop_unused_gin_index.sql (7.87ms)
niks3-go-unit-tests> === NAME TestClientCADerivations
niks3-go-unit-tests> client_ca_test.go:136: Built CA derivation: /nix/var/nix/builds/nix-13638-4044143606/TestClientCADerivations3323923083/001/store/jpj30f04m342h2qkn9p3kv8dgyghjdlj-ca-test
niks3-go-unit-tests> 2026/08/27 09:28:18 OK 20251218171726_add_pins.sql (2.08ms)
niks3-go-unit-tests> 2026/08/27 09:28:18 OK 20260628120000_add_object_size_and_stats.sql (4.64ms)
niks3-go-unit-tests> 2026/08/27 09:28:18 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:18 OK 20241026095416_initial_model.sql (33.57ms)
niks3-go-unit-tests> 2026/08/27 09:28:18 OK 20241026095416_initial_model.sql (33.97ms)
niks3-go-unit-tests> 2026/08/27 09:28:18 OK 1_commit_pending_closure.sql (1.26ms)
niks3-go-unit-tests> 2026/08/27 09:28:18 OK 20251210153512_drop_unused_gin_index.sql (681.46µs)
niks3-go-unit-tests> 2026/08/27 09:28:18 OK 20251210153512_drop_unused_gin_index.sql (870.38µs)
niks3-go-unit-tests> 2026/08/27 09:28:18 OK 2_object_stats_trigger.sql (742.63µs)
niks3-go-unit-tests> 2026/08/27 09:28:18 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:18 OK 20251218171726_add_pins.sql (1.75ms)
niks3-go-unit-tests> 2026/08/27 09:28:18 OK 20251218171726_add_pins.sql (1.59ms)
niks3-go-unit-tests> 2026/08/27 09:28:18 OK 20260628120000_add_object_size_and_stats.sql (18.39ms)
niks3-go-unit-tests> 2026/08/27 09:28:18 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:18 OK 1_commit_pending_closure.sql (1.06ms)
niks3-go-unit-tests> 2026/08/27 09:28:18 OK 2_object_stats_trigger.sql (324.96µs)
niks3-go-unit-tests> 2026/08/27 09:28:18 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:18 OK 20260628120000_add_object_size_and_stats.sql (27.16ms)
niks3-go-unit-tests> 2026/08/27 09:28:18 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> client_ca_test.go:139: Found 1 dependencies (including self)
niks3-go-unit-tests> 2026/08/27 09:28:18 OK 1_commit_pending_closure.sql (8.85ms)
niks3-go-unit-tests> 2026/08/27 09:28:18 OK 2_object_stats_trigger.sql (354.5µs)
niks3-go-unit-tests> 2026/08/27 09:28:18 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:18 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/08/27 09:28:18 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:18 INFO Uploading 1 paths to 127.0.0.1 (0 already cached)
niks3-go-unit-tests> 2026/08/27 09:28:18 INFO Uploading jpj30f04m342h2qkn9p3kv8dgyghjdlj-ca-test (144B)
niks3-go-unit-tests> 2026/08/27 09:28:18 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/08/27 09:28:18 WARN Failed to register uploaded object key=log/yf10s2qqycrcd7cdcdldvnhppfz0cypm-ca-test.drv error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:28:18 WARN Failed to register uploaded object key=jpj30f04m342h2qkn9p3kv8dgyghjdlj.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:28:18 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign
niks3-go-unit-tests> 2026/08/27 09:28:18 INFO Signed narinfos id=1 count=1
niks3-go-unit-tests> 2026/08/27 09:28:18 INFO Uploading 1 narinfos
niks3-go-unit-tests> 2026/08/27 09:28:19 WARN Failed to register uploaded object key=jpj30f04m342h2qkn9p3kv8dgyghjdlj.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:28:19 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete
niks3-go-unit-tests> --- PASS: TestObjectStatsTrigger (1.55s)
niks3-go-unit-tests> === CONT TestCreatePendingClosureRejectsOversizedNAR
niks3-go-unit-tests> 2026/08/27 09:28:19 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> --- PASS: TestGenerateLandingPage (0.00s)
niks3-go-unit-tests> === CONT TestService_healthCheckHandler
niks3-go-unit-tests> 2026/08/27 09:28:19 INFO Completed upload id=1
niks3-go-unit-tests> 2026/08/27 09:28:19 INFO Upload complete. (338ms)
niks3-go-unit-tests> === NAME TestClientCADerivations
niks3-go-unit-tests> client_ca_test.go:180: Narinfo contains CA field: StorePath: /nix/var/nix/builds/nix-13638-4044143606/TestClientCADerivations3323923083/001/store/jpj30f04m342h2qkn9p3kv8dgyghjdlj-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-13638-4044143606/TestClientCADerivations3323923083/001/store/yf10s2qqycrcd7cdcdldvnhppfz0cypm-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> client_ca_test.go:258: nix copy output: error: binary cache 's3://bucket24?endpoint=http://localhost:50598®ion=eu-west-1' is for Nix stores with prefix '/nix/store', not '/nix/var/nix/builds/nix-13638-4044143606/TestClientCADerivations3323923083/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-08-27 09:28:19.226 UTC [13869] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:19.226 UTC [13869] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> --- PASS: TestClientCADerivations (3.10s)
niks3-go-unit-tests> === CONT TestService_ReadAuthMiddleware
niks3-go-unit-tests> 2026/08/27 09:28:19 OK 20241026095416_initial_model.sql (80.96ms)
niks3-go-unit-tests> 2026/08/27 09:28:19 OK 20251210153512_drop_unused_gin_index.sql (21.73ms)
niks3-go-unit-tests> 2026/08/27 09:28:19 OK 20251218171726_add_pins.sql (27.86ms)
niks3-go-unit-tests> 2026-08-27 09:28:19.393 UTC [13872] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:19.393 UTC [13872] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:28:19 OK 20260628120000_add_object_size_and_stats.sql (21.03ms)
niks3-go-unit-tests> 2026/08/27 09:28:19 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:19 OK 1_commit_pending_closure.sql (2.93ms)
niks3-go-unit-tests> 2026/08/27 09:28:19 OK 2_object_stats_trigger.sql (427.71µs)
niks3-go-unit-tests> 2026/08/27 09:28:19 goose: up to current file version: 2
niks3-go-unit-tests> 2026-08-27 09:28:19.437 UTC [13873] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:19.437 UTC [13873] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:28:19 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:19 OK 20241026095416_initial_model.sql (299.08ms)
niks3-go-unit-tests> 2026/08/27 09:28:19 OK 20251210153512_drop_unused_gin_index.sql (15.39ms)
niks3-go-unit-tests> 2026/08/27 09:28:19 OK 20251218171726_add_pins.sql (39.81ms)
niks3-go-unit-tests> 2026/08/27 09:28:19 INFO Received cleanup request method=DELETE path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:19 INFO Aborted multipart uploads count=1
niks3-go-unit-tests> 2026/08/27 09:28:19 OK 20241026095416_initial_model.sql (283.24ms)
niks3-go-unit-tests> 2026/08/27 09:28:19 OK 20260628120000_add_object_size_and_stats.sql (21.73ms)
niks3-go-unit-tests> 2026/08/27 09:28:19 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:19 OK 20251210153512_drop_unused_gin_index.sql (6.81ms)
niks3-go-unit-tests> --- PASS: TestMultipartCleanup (2.23s)
niks3-go-unit-tests> === CONT TestService_AuthMiddleware_MTLSBoundSubjects
niks3-go-unit-tests> 2026/08/27 09:28:19 OK 1_commit_pending_closure.sql (7.64ms)
niks3-go-unit-tests> 2026/08/27 09:28:19 OK 2_object_stats_trigger.sql (978µs)
niks3-go-unit-tests> 2026/08/27 09:28:19 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:19 OK 20251218171726_add_pins.sql (28.07ms)
niks3-go-unit-tests> 2026/08/27 09:28:19 OK 20260628120000_add_object_size_and_stats.sql (50.37ms)
niks3-go-unit-tests> 2026/08/27 09:28:19 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:19 OK 1_commit_pending_closure.sql (13.62ms)
niks3-go-unit-tests> 2026/08/27 09:28:19 OK 2_object_stats_trigger.sql (692.21µs)
niks3-go-unit-tests> 2026/08/27 09:28:19 goose: up to current file version: 2
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.64s)
niks3-go-unit-tests> === CONT TestService_AuthMiddleware_MTLSProxyHeader
niks3-go-unit-tests> 2026-08-27 09:28:20.090 UTC [13876] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:20.090 UTC [13876] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> --- PASS: TestMetricsInventory (2.11s)
niks3-go-unit-tests> === CONT TestClientMultipleUploads
niks3-go-unit-tests> 2026/08/27 09:28:20 WARN mTLS auth: subject not in bound subjects subject="CN=reader"
niks3-go-unit-tests> 2026/08/27 09:28:20 WARN mTLS auth: subject not in bound subjects subject="CN=writer"
niks3-go-unit-tests> --- PASS: TestService_NativeMTLS (2.22s)
niks3-go-unit-tests> === CONT TestPinProtectsFromGC
niks3-go-unit-tests> 2026-08-27 09:28:20.197 UTC [13880] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:20.197 UTC [13880] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:28:20 OK 20241026095416_initial_model.sql (164.62ms)
niks3-go-unit-tests> 2026/08/27 09:28:20 OK 20251210153512_drop_unused_gin_index.sql (4.42ms)
niks3-go-unit-tests> 2026/08/27 09:28:20 OK 20251218171726_add_pins.sql (48.29ms)
niks3-go-unit-tests> 2026/08/27 09:28:20 OK 20260628120000_add_object_size_and_stats.sql (47.46ms)
niks3-go-unit-tests> 2026/08/27 09:28:20 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:20 OK 1_commit_pending_closure.sql (5.29ms)
niks3-go-unit-tests> 2026/08/27 09:28:20 OK 2_object_stats_trigger.sql (760.79µs)
niks3-go-unit-tests> 2026/08/27 09:28:20 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:20 OK 20241026095416_initial_model.sql (179.41ms)
niks3-go-unit-tests> 2026/08/27 09:28:20 OK 20251210153512_drop_unused_gin_index.sql (15.98ms)
niks3-go-unit-tests> 2026-08-27 09:28:20.504 UTC [13884] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:20.504 UTC [13884] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:28:20 OK 20251218171726_add_pins.sql (39.27ms)
niks3-go-unit-tests> 2026/08/27 09:28:20 OK 20260628120000_add_object_size_and_stats.sql (51.79ms)
niks3-go-unit-tests> 2026/08/27 09:28:20 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:20 OK 1_commit_pending_closure.sql (10.56ms)
niks3-go-unit-tests> 2026/08/27 09:28:20 OK 2_object_stats_trigger.sql (1.18ms)
niks3-go-unit-tests> 2026/08/27 09:28:20 goose: up to current file version: 2
niks3-go-unit-tests> --- PASS: TestCacheStatsHandler (2.66s)
niks3-go-unit-tests> === CONT TestClientErrorHandling
niks3-go-unit-tests> === RUN TestClientErrorHandling/InvalidStorePath
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 TestClientWithDependencies
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 TestGCMetrics
niks3-go-unit-tests> 2026/08/27 09:28:20 OK 20241026095416_initial_model.sql (220.64ms)
niks3-go-unit-tests> 2026/08/27 09:28:20 OK 20251210153512_drop_unused_gin_index.sql (8.99ms)
niks3-go-unit-tests> 2026/08/27 09:28:20 OK 20251218171726_add_pins.sql (68.44ms)
niks3-go-unit-tests> 2026/08/27 09:28:20 OK 20260628120000_add_object_size_and_stats.sql (40.65ms)
niks3-go-unit-tests> 2026/08/27 09:28:20 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:20 OK 1_commit_pending_closure.sql (5.69ms)
niks3-go-unit-tests> 2026/08/27 09:28:20 OK 2_object_stats_trigger.sql (799.42µs)
niks3-go-unit-tests> 2026/08/27 09:28:20 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:21 INFO Created nix-cache-info in bucket bucket=bucket34
niks3-go-unit-tests> 2026-08-27 09:28:21.383 UTC [13890] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:21.383 UTC [13890] 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-13638-4044143606/TestNARDeduplicationMetadataUploadBug289717502/001/store/z5pykzqp2fs88az309yddsz45mhx4fxq-file1.txt
niks3-go-unit-tests> 2026/08/27 09:28:21 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/08/27 09:28:21 OK 20241026095416_initial_model.sql (127.88ms)
niks3-go-unit-tests> 2026/08/27 09:28:21 OK 20251210153512_drop_unused_gin_index.sql (7.45ms)
niks3-go-unit-tests> 2026-08-27 09:28:21.598 UTC [13897] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:21.598 UTC [13897] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:28:21 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:21 OK 20251218171726_add_pins.sql (25.7ms)
niks3-go-unit-tests> 2026/08/27 09:28:21 INFO Uploading 1 paths to 127.0.0.1 (0 already cached)
niks3-go-unit-tests> 2026/08/27 09:28:21 INFO Uploading z5pykzqp2fs88az309yddsz45mhx4fxq-file1.txt (160B)
niks3-go-unit-tests> 2026/08/27 09:28:21 OK 20260628120000_add_object_size_and_stats.sql (40.51ms)
niks3-go-unit-tests> 2026/08/27 09:28:21 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:21 OK 1_commit_pending_closure.sql (7.31ms)
niks3-go-unit-tests> 2026/08/27 09:28:21 OK 2_object_stats_trigger.sql (242.5µs)
niks3-go-unit-tests> 2026/08/27 09:28:21 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:21 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/08/27 09:28:21 WARN Failed to register uploaded object key=z5pykzqp2fs88az309yddsz45mhx4fxq.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:28:21 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign
niks3-go-unit-tests> 2026/08/27 09:28:21 INFO Signed narinfos id=1 count=1
niks3-go-unit-tests> 2026/08/27 09:28:21 INFO Uploading 1 narinfos
niks3-go-unit-tests> 2026/08/27 09:28:21 WARN Failed to register uploaded object key=z5pykzqp2fs88az309yddsz45mhx4fxq.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:28:21 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete
niks3-go-unit-tests> 2026/08/27 09:28:21 INFO Completed upload id=1
niks3-go-unit-tests> 2026/08/27 09:28:21 INFO Upload complete. (299ms)
niks3-go-unit-tests> metadata_upload_test.go:54: Retrieved narinfo from S3:
niks3-go-unit-tests> StorePath: /nix/var/nix/builds/nix-13638-4044143606/TestNARDeduplicationMetadataUploadBug289717502/001/store/z5pykzqp2fs88az309yddsz45mhx4fxq-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> --- PASS: TestService_healthCheckHandler (2.81s)
niks3-go-unit-tests> === CONT TestGCBugBareHashReferences
niks3-go-unit-tests> 2026/08/27 09:28:21 OK 20241026095416_initial_model.sql (229.15ms)
niks3-go-unit-tests> === NAME TestNARDeduplicationMetadataUploadBug
niks3-go-unit-tests> metadata_upload_test.go:64: Second store path (same content): /nix/var/nix/builds/nix-13638-4044143606/TestNARDeduplicationMetadataUploadBug289717502/001/store/i9km912lmdzhv09546lqs68c9q76qfd4-file2.txt
niks3-go-unit-tests> 2026/08/27 09:28:21 OK 20251210153512_drop_unused_gin_index.sql (50.13ms)
niks3-go-unit-tests> 2026/08/27 09:28:21 OK 20251218171726_add_pins.sql (34.89ms)
niks3-go-unit-tests> 2026/08/27 09:28:21 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/08/27 09:28:22 OK 20260628120000_add_object_size_and_stats.sql (36.43ms)
niks3-go-unit-tests> 2026/08/27 09:28:22 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:22 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:22 OK 1_commit_pending_closure.sql (2.19ms)
niks3-go-unit-tests> 2026/08/27 09:28:22 OK 2_object_stats_trigger.sql (306.25µs)
niks3-go-unit-tests> 2026/08/27 09:28:22 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:22 INFO Uploading 0 paths to 127.0.0.1 (1 already cached)
niks3-go-unit-tests> 2026/08/27 09:28:22 WARN Failed to register uploaded object key=i9km912lmdzhv09546lqs68c9q76qfd4.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:28:22 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign
niks3-go-unit-tests> 2026/08/27 09:28:22 INFO Signed narinfos id=2 count=1
niks3-go-unit-tests> 2026/08/27 09:28:22 INFO Uploading 1 narinfos
niks3-go-unit-tests> 2026/08/27 09:28:22 WARN Failed to register uploaded object key=i9km912lmdzhv09546lqs68c9q76qfd4.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:28:22 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete
niks3-go-unit-tests> 2026/08/27 09:28:22 INFO Completed upload id=2
niks3-go-unit-tests> 2026/08/27 09:28:22 INFO Upload complete. (206ms)
niks3-go-unit-tests> metadata_upload_test.go:76: Retrieved narinfo from S3:
niks3-go-unit-tests> StorePath: /nix/var/nix/builds/nix-13638-4044143606/TestNARDeduplicationMetadataUploadBug289717502/001/store/i9km912lmdzhv09546lqs68c9q76qfd4-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> 2026-08-27 09:28:22.188 UTC [13909] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:22.188 UTC [13909] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:28:22 WARN mTLS auth: subject not in bound subjects subject="CN=writer"
niks3-go-unit-tests> --- PASS: TestService_ReadAuthMiddleware (3.04s)
niks3-go-unit-tests> === CONT TestGCTaskStore_StartNew
niks3-go-unit-tests> --- PASS: TestGCTaskStore_StartNew (0.00s)
niks3-go-unit-tests> === CONT TestClientIntegration
niks3-go-unit-tests> --- PASS: TestNARDeduplicationMetadataUploadBug (3.87s)
niks3-go-unit-tests> === CONT TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_nix-cache-info
niks3-go-unit-tests> 2026/08/27 09:28:22 INFO Received uploads request method=POST path=/
niks3-go-unit-tests> === CONT TestUploadHandlersRejectInvalidKeys/request_more_parts_rejects_non-NAR_key
niks3-go-unit-tests> 2026/08/27 09:28:22 INFO Received request for more parts method=POST path=/
niks3-go-unit-tests> === CONT TestUploadHandlersRejectInvalidKeys/complete_multipart_rejects_non-NAR_key
niks3-go-unit-tests> 2026/08/27 09:28:22 INFO Received complete multipart upload request method=POST path=/
niks3-go-unit-tests> === CONT TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_path_traversal
niks3-go-unit-tests> 2026/08/27 09:28:22 INFO Received uploads request method=POST path=/
niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectInvalidKeys (0.01s)
niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_nix-cache-info (0.00s)
niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectInvalidKeys/request_more_parts_rejects_non-NAR_key (0.00s)
niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectInvalidKeys/complete_multipart_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.04s)
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/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/realisation_plus_in_output
niks3-go-unit-tests> === CONT TestIsValidUploadKey/realisation
niks3-go-unit-tests> === CONT TestIsValidUploadKey/build_log_equals
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/build_log_home-manager_file
niks3-go-unit-tests> === CONT TestIsValidUploadKey/build_log
niks3-go-unit-tests> === CONT TestIsValidUploadKey/listing
niks3-go-unit-tests> === CONT TestIsValidUploadKey/nar_plain
niks3-go-unit-tests> === CONT TestIsValidUploadKey/nar_xz
niks3-go-unit-tests> === CONT TestIsValidUploadKey/nar_zst
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey (0.04s)
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/narinfo (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/realisation_plus_in_output (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/realisation (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/build_log_equals (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/build_log_home-manager_file (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/build_log (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/listing (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/nar_plain (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 TestUploadHandlersRejectOversizedBody/create_pending_closure
niks3-go-unit-tests> 2026/08/27 09:28:22 INFO Received uploads request method=POST path=/
niks3-go-unit-tests> 2026-08-27 09:28:22.461 UTC [13912] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:22.461 UTC [13912] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:28:22 OK 20241026095416_initial_model.sql (203.31ms)
niks3-go-unit-tests> 2026/08/27 09:28:22 OK 20251210153512_drop_unused_gin_index.sql (4.47ms)
niks3-go-unit-tests> 2026-08-27 09:28:22.480 UTC [13913] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:22.480 UTC [13913] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:28:22 OK 20251218171726_add_pins.sql (25.05ms)
niks3-go-unit-tests> 2026/08/27 09:28:22 OK 20260628120000_add_object_size_and_stats.sql (34.29ms)
niks3-go-unit-tests> 2026/08/27 09:28:22 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:22 OK 1_commit_pending_closure.sql (6.48ms)
niks3-go-unit-tests> 2026-08-27 09:28:22.545 UTC [13914] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:22.545 UTC [13914] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:28:22 OK 2_object_stats_trigger.sql (504.75µs)
niks3-go-unit-tests> 2026/08/27 09:28:22 goose: up to current file version: 2
niks3-go-unit-tests> === CONT TestUploadHandlersRejectOversizedBody/request_more_parts
niks3-go-unit-tests> 2026/08/27 09:28:22 INFO Received request for more parts method=POST path=/
niks3-go-unit-tests> === CONT TestUploadHandlersRejectOversizedBody/complete_multipart
niks3-go-unit-tests> 2026/08/27 09:28:22 INFO Received complete multipart upload request method=POST path=/
niks3-go-unit-tests> 2026/08/27 09:28:22 OK 20241026095416_initial_model.sql (98.86ms)
niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectOversizedBody (0.05s)
niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectOversizedBody/create_pending_closure (0.29s)
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> === 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 TestServerTLSConfig/no_client_CA
niks3-go-unit-tests> === CONT TestServerTLSConfig/not_a_PEM_file
niks3-go-unit-tests> 2026/08/27 09:28:22 OK 20251210153512_drop_unused_gin_index.sql (11.81ms)
niks3-go-unit-tests> 2026/08/27 09:28:22 OK 20241026095416_initial_model.sql (92.91ms)
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.02s)
niks3-go-unit-tests> --- PASS: TestServerTLSConfig/missing_CA_file (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 TestClientErrorHandling/InvalidStorePath
niks3-go-unit-tests> 2026/08/27 09:28:22 OK 20251210153512_drop_unused_gin_index.sql (14.16ms)
niks3-go-unit-tests> 2026/08/27 09:28:22 OK 20251218171726_add_pins.sql (34.22ms)
niks3-go-unit-tests> 2026/08/27 09:28:22 OK 20251218171726_add_pins.sql (27.04ms)
niks3-go-unit-tests> 2026/08/27 09:28:22 OK 20260628120000_add_object_size_and_stats.sql (13.58ms)
niks3-go-unit-tests> 2026/08/27 09:28:22 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:22 OK 1_commit_pending_closure.sql (7.37ms)
niks3-go-unit-tests> 2026/08/27 09:28:22 OK 2_object_stats_trigger.sql (211.79µs)
niks3-go-unit-tests> 2026/08/27 09:28:22 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:22 WARN mTLS auth: subject not in bound subjects subject="CN=untrusted,O=Other"
niks3-go-unit-tests> 2026/08/27 09:28:22 WARN mTLS auth: bound subjects configured but subject DN unavailable
niks3-go-unit-tests> 2026/08/27 09:28:22 WARN mTLS auth: subject not in bound subjects subject="CN=untrusted"
niks3-go-unit-tests> --- PASS: TestService_AuthMiddleware_MTLSBoundSubjects (2.90s)
niks3-go-unit-tests> === CONT TestClientErrorHandling/ServerNotAvailable
niks3-go-unit-tests> 2026/08/27 09:28:22 OK 20260628120000_add_object_size_and_stats.sql (58.42ms)
niks3-go-unit-tests> 2026/08/27 09:28:22 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:22 OK 1_commit_pending_closure.sql (8.13ms)
niks3-go-unit-tests> 2026/08/27 09:28:22 OK 2_object_stats_trigger.sql (266.29µs)
niks3-go-unit-tests> 2026/08/27 09:28:22 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:22 OK 20241026095416_initial_model.sql (246.62ms)
niks3-go-unit-tests> 2026/08/27 09:28:22 OK 20251210153512_drop_unused_gin_index.sql (13.69ms)
niks3-go-unit-tests> --- PASS: TestService_AuthMiddleware_MTLSProxyHeader (2.85s)
niks3-go-unit-tests> === CONT TestClientErrorHandling/InvalidAuthToken
niks3-go-unit-tests> 2026/08/27 09:28:22 OK 20251218171726_add_pins.sql (36.05ms)
niks3-go-unit-tests> 2026/08/27 09:28:22 OK 20260628120000_add_object_size_and_stats.sql (59.07ms)
niks3-go-unit-tests> 2026/08/27 09:28:22 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:22 OK 1_commit_pending_closure.sql (8.27ms)
niks3-go-unit-tests> 2026/08/27 09:28:22 OK 2_object_stats_trigger.sql (382.63µs)
niks3-go-unit-tests> 2026/08/27 09:28:22 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:22 INFO Created nix-cache-info in bucket bucket=bucket39
niks3-go-unit-tests> 2026-08-27 09:28:23.028 UTC [13921] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:23.028 UTC [13921] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:28:23 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/08/27 09:28:23 INFO Created nix-cache-info in bucket bucket=bucket40
niks3-go-unit-tests> 2026/08/27 09:28:23 WARN Request failed, retrying attempt=2 max_attempts=6 backoff=194.465555ms 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-08-27 09:28:23.248 UTC [13928] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:23.248 UTC [13928] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:28:23 OK 20241026095416_initial_model.sql (166.87ms)
niks3-go-unit-tests> === NAME TestClientMultipleUploads
niks3-go-unit-tests> client_integration_test.go:338: Created store path 0: /nix/var/nix/builds/nix-13638-4044143606/TestClientMultipleUploads3195204571/001/store/i5b335xlb829c61s359ijldk8vm3wgwh-test-file-0.txt
niks3-go-unit-tests> 2026/08/27 09:28:23 OK 20251210153512_drop_unused_gin_index.sql (5.61ms)
niks3-go-unit-tests> 2026/08/27 09:28:23 OK 20251218171726_add_pins.sql (22.99ms)
niks3-go-unit-tests> 2026/08/27 09:28:23 OK 20260628120000_add_object_size_and_stats.sql (24.12ms)
niks3-go-unit-tests> 2026/08/27 09:28:23 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:23 OK 1_commit_pending_closure.sql (9.66ms)
niks3-go-unit-tests> 2026/08/27 09:28:23 OK 2_object_stats_trigger.sql (235.38µs)
niks3-go-unit-tests> 2026/08/27 09:28:23 goose: up to current file version: 2
niks3-go-unit-tests> client_integration_test.go:338: Created store path 1: /nix/var/nix/builds/nix-13638-4044143606/TestClientMultipleUploads3195204571/001/store/l2fw9pji48k9whsd4j0wcj68gaph8w6j-test-file-1.txt
niks3-go-unit-tests> 2026/08/27 09:28:23 WARN Request failed, retrying attempt=3 max_attempts=6 backoff=414.714863ms 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> client_integration_test.go:338: Created store path 2: /nix/var/nix/builds/nix-13638-4044143606/TestClientMultipleUploads3195204571/001/store/3p9lxb06vrdkxzllgpz2q199qx63h7sa-test-file-2.txt
niks3-go-unit-tests> 2026/08/27 09:28:23 OK 20241026095416_initial_model.sql (214.36ms)
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Created nix-cache-info in bucket bucket=bucket41
niks3-go-unit-tests> 2026/08/27 09:28:23 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/08/27 09:28:23 OK 20251210153512_drop_unused_gin_index.sql (12.27ms)
niks3-go-unit-tests> 2026/08/27 09:28:23 OK 20251218171726_add_pins.sql (13.59ms)
niks3-go-unit-tests> === NAME TestPinProtectsFromGC
niks3-go-unit-tests> client_integration_test.go:646: Pinned store path: /nix/var/nix/builds/nix-13638-4044143606/TestPinProtectsFromGC469718993/001/store/igm8pggwzm83sd1117r0548lwbfdx2jm-pinned-file.txt
niks3-go-unit-tests> client_integration_test.go:647: Unpinned store path: /nix/var/nix/builds/nix-13638-4044143606/TestPinProtectsFromGC469718993/001/store/bm4qx2n40iddd6nhmq6l8bx3khx3yka5-unpinned-file.txt
niks3-go-unit-tests> 2026/08/27 09:28:23 OK 20260628120000_add_object_size_and_stats.sql (34.19ms)
niks3-go-unit-tests> 2026/08/27 09:28:23 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:23 OK 1_commit_pending_closure.sql (42.56ms)
niks3-go-unit-tests> 2026/08/27 09:28:23 OK 2_object_stats_trigger.sql (376.08µs)
niks3-go-unit-tests> 2026/08/27 09:28:23 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Uploading 3 paths to 127.0.0.1 (0 already cached)
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Uploading i5b335xlb829c61s359ijldk8vm3wgwh-test-file-0.txt (160B)
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Uploading l2fw9pji48k9whsd4j0wcj68gaph8w6j-test-file-1.txt (160B)
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Uploading 3p9lxb06vrdkxzllgpz2q199qx63h7sa-test-file-2.txt (160B)
niks3-go-unit-tests> 2026/08/27 09:28:23 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/08/27 09:28:23 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/08/27 09:28:23 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/08/27 09:28:23 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/08/27 09:28:23 WARN Failed to register uploaded object key=i5b335xlb829c61s359ijldk8vm3wgwh.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:28:23 WARN Failed to register uploaded object key=3p9lxb06vrdkxzllgpz2q199qx63h7sa.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:28:23 WARN Failed to register uploaded object key=l2fw9pji48k9whsd4j0wcj68gaph8w6j.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Received sign narinfos request method=POST path=/api/pending_closures/3/sign
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Signed narinfos id=3 count=1
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Signed narinfos id=1 count=1
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Signed narinfos id=2 count=1
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Uploading 3 narinfos
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:23 WARN Failed to register uploaded object key=l2fw9pji48k9whsd4j0wcj68gaph8w6j.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:28:23 WARN Failed to register uploaded object key=3p9lxb06vrdkxzllgpz2q199qx63h7sa.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:28:23 WARN Failed to register uploaded object key=i5b335xlb829c61s359ijldk8vm3wgwh.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Uploading 1 paths to 127.0.0.1 (0 already cached)
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Uploading igm8pggwzm83sd1117r0548lwbfdx2jm-pinned-file.txt (128B)
niks3-go-unit-tests> 2026/08/27 09:28:23 WARN Request failed, retrying attempt=4 max_attempts=6 backoff=819.31332ms 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/08/27 09:28:23 INFO Completed upload id=1
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Completed upload id=2
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Received complete upload request method=POST path=/api/pending_closures/3/complete
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Completed upload id=3
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Upload complete. (349ms)
niks3-go-unit-tests> === NAME TestClientMultipleUploads
niks3-go-unit-tests> client_integration_test.go:349: Uploaded 3 paths in 378.86ms
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Aborted multipart uploads count=0
niks3-go-unit-tests> 2026/08/27 09:28:23 WARN Force mode enabled - objects will be deleted immediately without grace period
niks3-go-unit-tests> 2026/08/27 09:28:23 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/08/27 09:28:23 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/08/27 09:28:23 INFO Vacuumed table table=pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Vacuumed table table=pending_objects
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Vacuumed table table=multipart_uploads
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Vacuumed table table=closures
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Vacuumed table table=objects
niks3-go-unit-tests> --- PASS: TestGCMetrics (3.09s)
niks3-go-unit-tests> === CONT TestService_AuthMiddleware_OIDC/valid_OIDC_token
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO OIDC auth successful provider=test
niks3-go-unit-tests> === CONT TestService_AuthMiddleware_OIDC/malformed_token_rejected
niks3-go-unit-tests> 2026/08/27 09:28:23 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/static_token_still_works_with_OIDC_configured
niks3-go-unit-tests> === CONT TestService_AuthMiddleware_OIDC/OIDC_token_with_wrong_org_rejected
niks3-go-unit-tests> 2026/08/27 09:28:23 WARN Authentication failed token_preview=eyJhbGciOi...epEpmdncKQ token_length=702 oidc_error="bound claims validation failed: claim \"repository_owner\" value [otherorg] not in allowed patterns [myorg]" oidc_provider=test tried_providers=[test]
niks3-go-unit-tests> --- PASS: TestService_AuthMiddleware_OIDC (2.67s)
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/static_token_still_works_with_OIDC_configured (0.00s)
niks3-go-unit-tests> --- PASS: TestService_AuthMiddleware_OIDC/OIDC_token_with_wrong_org_rejected (0.00s)
niks3-go-unit-tests> 2026/08/27 09:28:23 WARN Failed to register uploaded object key=igm8pggwzm83sd1117r0548lwbfdx2jm.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Signed narinfos id=1 count=1
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Uploading 1 narinfos
niks3-go-unit-tests> --- PASS: TestClientMultipleUploads (3.81s)
niks3-go-unit-tests> 2026/08/27 09:28:23 WARN Failed to register uploaded object key=igm8pggwzm83sd1117r0548lwbfdx2jm.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Completed upload id=1
niks3-go-unit-tests> 2026/08/27 09:28:23 INFO Upload complete. (332ms)
niks3-go-unit-tests> 2026-08-27 09:28:23.949 UTC [13956] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:23.949 UTC [13956] 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:593: Built derivation: /nix/var/nix/builds/nix-13638-4044143606/TestClientWithDependencies1077520362/001/store/nl0d3fb84yzv2vjxjvmyf658q2nr0y8d-test-script
niks3-go-unit-tests> 2026/08/27 09:28:23 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/08/27 09:28:24 OK 20241026095416_initial_model.sql (45.27ms)
niks3-go-unit-tests> 2026/08/27 09:28:24 OK 20251210153512_drop_unused_gin_index.sql (8.14ms)
niks3-go-unit-tests> 2026-08-27 09:28:24.029 UTC [13962] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:24.029 UTC [13962] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> client_integration_test.go:595: Found 1 dependencies (including self)
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Uploading 1 paths to 127.0.0.1 (0 already cached)
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Uploading bm4qx2n40iddd6nhmq6l8bx3khx3yka5-unpinned-file.txt (128B)
niks3-go-unit-tests> 2026/08/27 09:28:24 OK 20251218171726_add_pins.sql (18.15ms)
niks3-go-unit-tests> 2026/08/27 09:28:24 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/08/27 09:28:24 OK 20260628120000_add_object_size_and_stats.sql (23.1ms)
niks3-go-unit-tests> 2026/08/27 09:28:24 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:24 OK 1_commit_pending_closure.sql (1.48ms)
niks3-go-unit-tests> 2026/08/27 09:28:24 OK 2_object_stats_trigger.sql (221.25µs)
niks3-go-unit-tests> 2026/08/27 09:28:24 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:24 WARN Failed to register uploaded object key=bm4qx2n40iddd6nhmq6l8bx3khx3yka5.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Signed narinfos id=2 count=1
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Uploading 1 narinfos
niks3-go-unit-tests> 2026/08/27 09:28:24 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/08/27 09:28:24 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:24 WARN Failed to register uploaded object key=bm4qx2n40iddd6nhmq6l8bx3khx3yka5.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Completed upload id=2
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Uploading 1 paths to 127.0.0.1 (0 already cached)
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Uploading nl0d3fb84yzv2vjxjvmyf658q2nr0y8d-test-script (136B)
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Upload complete. (177ms)
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Received create pin request method=POST path=/api/pins/myapp
niks3-go-unit-tests> 2026/08/27 09:28:24 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/08/27 09:28:24 WARN Failed to register uploaded object key=log/40rwg9bpnamymzqfw5canl2hj1icw57x-test-script.drv error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:28:24 WARN Failed to register uploaded object key=nl0d3fb84yzv2vjxjvmyf658q2nr0y8d.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Signed narinfos id=1 count=1
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Uploading 1 narinfos
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Created/updated pin name=myapp store_path=/nix/var/nix/builds/nix-13638-4044143606/TestPinProtectsFromGC469718993/001/store/igm8pggwzm83sd1117r0548lwbfdx2jm-pinned-file.txt narinfo_key=igm8pggwzm83sd1117r0548lwbfdx2jm.narinfo
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Starting cleanup of old closures method=DELETE path=/api/closures
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Garbage collection started
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Aborted multipart uploads count=0
niks3-go-unit-tests> 2026/08/27 09:28:24 WARN Force mode enabled - objects will be deleted immediately without grace period
niks3-go-unit-tests> 2026/08/27 09:28:24 OK 20241026095416_initial_model.sql (169.58ms)
niks3-go-unit-tests> 2026/08/27 09:28:24 OK 20251210153512_drop_unused_gin_index.sql (7.09ms)
niks3-go-unit-tests> 2026/08/27 09:28:24 WARN Failed to register uploaded object key=nl0d3fb84yzv2vjxjvmyf658q2nr0y8d.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete
niks3-go-unit-tests> 2026/08/27 09:28:24 OK 20251218171726_add_pins.sql (7.95ms)
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Completed upload id=1
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Upload complete. (189ms)
niks3-go-unit-tests> client_integration_test.go:597: Skipping nix copy test - isolated store (/nix/var/nix/builds/nix-13638-4044143606/TestClientWithDependencies1077520362/001/store) requires matching store prefix
niks3-go-unit-tests> 2026/08/27 09:28:24 OK 20260628120000_add_object_size_and_stats.sql (14.08ms)
niks3-go-unit-tests> 2026/08/27 09:28:24 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> --- PASS: TestClientWithDependencies (3.57s)
niks3-go-unit-tests> 2026/08/27 09:28:24 OK 1_commit_pending_closure.sql (1.42ms)
niks3-go-unit-tests> 2026/08/27 09:28:24 OK 2_object_stats_trigger.sql (225.33µs)
niks3-go-unit-tests> 2026/08/27 09:28:24 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:24 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/08/27 09:28:24 INFO Vacuumed table table=pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Vacuumed table table=pending_objects
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Vacuumed table table=multipart_uploads
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Vacuumed table table=closures
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Vacuumed table table=objects
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Created nix-cache-info in bucket bucket=bucket44
niks3-go-unit-tests> 2026-08-27 09:28:24.450 UTC [13973] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:24.450 UTC [13973] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> --- PASS: TestGCBugBareHashReferences (2.60s)
niks3-go-unit-tests> 2026-08-27 09:28:24.485 UTC [13976] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:28:24.485 UTC [13976] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:28:24 OK 20241026095416_initial_model.sql (32.52ms)
niks3-go-unit-tests> 2026/08/27 09:28:24 OK 20251210153512_drop_unused_gin_index.sql (15.1ms)
niks3-go-unit-tests> 2026/08/27 09:28:24 OK 20251218171726_add_pins.sql (14.34ms)
niks3-go-unit-tests> 2026/08/27 09:28:24 OK 20260628120000_add_object_size_and_stats.sql (11.27ms)
niks3-go-unit-tests> 2026/08/27 09:28:24 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> === NAME TestClientIntegration
niks3-go-unit-tests> client_integration_test.go:276: Created store path: /nix/var/nix/builds/nix-13638-4044143606/TestClientIntegration2810498841/002/store/b14nwb0jggbal2iyraj1jvi0x56ly5fm-test-file.txt
niks3-go-unit-tests> 2026/08/27 09:28:24 OK 1_commit_pending_closure.sql (6.12ms)
niks3-go-unit-tests> 2026/08/27 09:28:24 OK 2_object_stats_trigger.sql (205.92µs)
niks3-go-unit-tests> 2026/08/27 09:28:24 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:24 OK 20241026095416_initial_model.sql (94.53ms)
niks3-go-unit-tests> 2026/08/27 09:28:24 OK 20251210153512_drop_unused_gin_index.sql (15.75ms)
niks3-go-unit-tests> 2026/08/27 09:28:24 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/08/27 09:28:24 OK 20251218171726_add_pins.sql (15.98ms)
niks3-go-unit-tests> 2026/08/27 09:28:24 WARN Request failed, retrying attempt=5 max_attempts=6 backoff=1.642611677s 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/08/27 09:28:24 OK 20260628120000_add_object_size_and_stats.sql (26.17ms)
niks3-go-unit-tests> 2026/08/27 09:28:24 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:28:24 OK 1_commit_pending_closure.sql (4.47ms)
niks3-go-unit-tests> 2026/08/27 09:28:24 OK 2_object_stats_trigger.sql (225.88µs)
niks3-go-unit-tests> 2026/08/27 09:28:24 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Uploading 1 paths to 127.0.0.1 (0 already cached)
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Uploading b14nwb0jggbal2iyraj1jvi0x56ly5fm-test-file.txt (152B)
niks3-go-unit-tests> 2026/08/27 09:28:24 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/08/27 09:28:24 WARN Failed to register uploaded object key=b14nwb0jggbal2iyraj1jvi0x56ly5fm.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Signed narinfos id=1 count=1
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Uploading 1 narinfos
niks3-go-unit-tests> 2026/08/27 09:28:24 WARN Failed to register uploaded object key=b14nwb0jggbal2iyraj1jvi0x56ly5fm.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Completed upload id=1
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Upload complete. (233ms)
niks3-go-unit-tests> client_integration_test.go:292: Retrieved narinfo from S3:
niks3-go-unit-tests> StorePath: /nix/var/nix/builds/nix-13638-4044143606/TestClientIntegration2810498841/002/store/b14nwb0jggbal2iyraj1jvi0x56ly5fm-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:293: Retrieved .ls file from S3 (compressed size: 77 bytes)
niks3-go-unit-tests> client_integration_test.go:293: 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:296: Testing garbage collection...
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Starting cleanup of old closures method=DELETE path=/api/closures
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Garbage collection started
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Aborted multipart uploads count=0
niks3-go-unit-tests> 2026/08/27 09:28:24 WARN Force mode enabled - objects will be deleted immediately without grace period
niks3-go-unit-tests> 2026/08/27 09:28:24 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/08/27 09:28:24 INFO Vacuumed table table=pending_closures
niks3-go-unit-tests> 2026/08/27 09:28:24 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/08/27 09:28:24 INFO Vacuumed table table=pending_objects
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Vacuumed table table=multipart_uploads
niks3-go-unit-tests> 2026/08/27 09:28:24 INFO Vacuumed table table=closures
niks3-go-unit-tests> 2026/08/27 09:28:25 INFO Vacuumed table table=objects
niks3-go-unit-tests> 2026/08/27 09:28:25 WARN Authentication failed token_preview=invalid-token token_length=13 reason="static API token mismatch"
niks3-go-unit-tests> 2026/08/27 09:28:26 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:709: Pin successfully protected closure from garbage collection
niks3-go-unit-tests> 2026/08/27 09:28:26 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> --- PASS: TestPinProtectsFromGC (6.13s)
niks3-go-unit-tests> 2026/08/27 09:28:26 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/08/27 09:28:26 WARN Request failed, retrying attempt=2 max_attempts=6 backoff=197.409337ms 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/08/27 09:28:26 WARN Request failed, retrying attempt=3 max_attempts=6 backoff=410.601415ms 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/08/27 09:28:26 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:303: Objects in database after GC:
niks3-go-unit-tests> client_integration_test.go:303: Successfully deleted all objects with GC --force
niks3-go-unit-tests> --- PASS: TestClientIntegration (4.63s)
niks3-go-unit-tests> 2026/08/27 09:28:27 WARN Request failed, retrying attempt=4 max_attempts=6 backoff=816.847038ms 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> === 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> orphaned_objects_gc_test.go:446: Marked 210 objects for deletion
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 (10.31s)
niks3-go-unit-tests> 2026/08/27 09:28:27 WARN Request failed, retrying attempt=5 max_attempts=6 backoff=1.616981701s 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 (2.09s)
niks3-go-unit-tests> --- PASS: TestClientErrorHandling/InvalidAuthToken (2.18s)
niks3-go-unit-tests> --- PASS: TestClientErrorHandling/ServerNotAvailable (6.80s)
niks3-go-unit-tests> PASS
niks3-go-unit-tests> {"timestamp":"2026-08-27T09:28:29.525047Z","level":"ERROR","message":"HTTP transport failed","event":"http_transport_failed","component":"server","subsystem":"transport","peer_addr":"127.0.0.1:50643","error_kind":"io_error","error":"Cancelled","result":"transport_error","target":"rustfs::server::http","filename":"rustfs/src/server/http.rs","line_number":1836,"threadName":"rustfs-worker","threadId":"ThreadId(9)"}
niks3-go-unit-tests> 2026-08-27 09:28:29.630 UTC [13673] LOG: received smart shutdown request
niks3-go-unit-tests> 2026-08-27 09:28:29.631 UTC [13673] LOG: background worker "logical replication launcher" (PID 13683) exited with exit code 1
niks3-go-unit-tests> 2026-08-27 09:28:29.639 UTC [13678] LOG: shutting down
niks3-go-unit-tests> 2026-08-27 09:28:29.639 UTC [13678] LOG: checkpoint starting: shutdown immediate
niks3-go-unit-tests> 2026-08-27 09:28:30.684 UTC [13678] LOG: checkpoint complete: wrote 13511 buffers (82.5%), wrote 3 SLRU buffers; 0 WAL file(s) added, 0 removed, 13 recycled; write=0.787 s, sync=0.257 s, total=1.046 s; sync files=15167, longest=0.001 s, average=0.001 s; distance=212547 kB, estimate=212547 kB; lsn=0/E71BEE8, redo lsn=0/E71BEE8
niks3-go-unit-tests> 2026-08-27 09:28:30.689 UTC [13673] 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> === CONT TestGlobMatch
niks3-go-unit-tests> === RUN TestGlobMatch/foo_foo
niks3-go-unit-tests> === PAUSE TestGlobMatch/foo_foo
niks3-go-unit-tests> === CONT TestValidateToken_MultipleProviders
niks3-go-unit-tests> === CONT TestValidateToken_ValidToken
niks3-go-unit-tests> === CONT TestValidateToken_Expired
niks3-go-unit-tests> === CONT TestValidateToken_WrongAudience
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_BoundSubjectMismatch
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> === CONT TestValidateToken_BoundClaimsMismatch
niks3-go-unit-tests> === CONT TestAudienceForIssuer
niks3-go-unit-tests> --- PASS: TestAudienceForIssuer (0.00s)
niks3-go-unit-tests> === CONT TestValidateToken_NoMatchingProvider
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> === 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> === 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 TestGlobMatch/foo_foo
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/*/*_foo/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/*bar_bar
niks3-go-unit-tests> === CONT TestGlobMatch/foo*_bar
niks3-go-unit-tests> === CONT TestGlobMatch/foo*_foobar
niks3-go-unit-tests> === CONT TestGlobMatch/foo*_foo
niks3-go-unit-tests> === CONT TestGlobMatch/foo_bar
niks3-go-unit-tests> === CONT TestGlobMatch/*_anything
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/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/*/*_foo/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/*bar_bar (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/foo*_foo (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/foo_bar (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/*_anything (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/*_ (0.00s)
niks3-go-unit-tests> 2026/08/27 09:28:31 INFO OIDC provider initialized name=test
niks3-go-unit-tests> 2026/08/27 09:28:31 INFO OIDC provider initialized name=test
niks3-go-unit-tests> 2026/08/27 09:28:31 INFO OIDC provider initialized name=provider1
niks3-go-unit-tests> 2026/08/27 09:28:31 INFO OIDC provider initialized name=test
niks3-go-unit-tests> 2026/08/27 09:28:31 INFO OIDC provider initialized name=test
niks3-go-unit-tests> 2026/08/27 09:28:31 INFO OIDC provider initialized name=provider1
niks3-go-unit-tests> 2026/08/27 09:28:31 INFO OIDC provider initialized name=test
niks3-go-unit-tests> 2026/08/27 09:28:31 INFO OIDC provider initialized name=provider2
niks3-go-unit-tests> --- PASS: TestValidateToken_BoundSubjectMismatch (0.01s)
niks3-go-unit-tests> --- PASS: TestValidateToken_WrongAudience (0.01s)
niks3-go-unit-tests> --- PASS: TestValidateToken_ValidToken (0.01s)
niks3-go-unit-tests> --- PASS: TestValidateToken_NoMatchingProvider (0.01s)
niks3-go-unit-tests> --- PASS: TestValidateToken_Expired (0.01s)
niks3-go-unit-tests> --- PASS: TestValidateToken_BoundClaimsMismatch (0.01s)
niks3-go-unit-tests> --- PASS: TestValidateToken_MultipleProviders (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> === CONT TestSendPathsEmpty
niks3-go-unit-tests> === CONT TestServerClientIntegration
niks3-go-unit-tests> === CONT TestQueueRemove
niks3-go-unit-tests> === CONT TestQueueRetryMovesToBack
niks3-go-unit-tests> --- PASS: TestSendPathsEmpty (0.00s)
niks3-go-unit-tests> === CONT TestQueueDeduplication
niks3-go-unit-tests> === CONT TestQueueEnqueueAndFetch
niks3-go-unit-tests> === CONT TestFailedPathPrunedByLaterClosure
niks3-go-unit-tests> === CONT TestWorkerPrunesClosureDeps
niks3-go-unit-tests> === CONT TestWorkerSkipsGCdPaths
niks3-go-unit-tests> === CONT TestQueueConcurrentWriters
niks3-go-unit-tests> === CONT TestQueueFetchBatchLimit
niks3-go-unit-tests> --- PASS: TestServerClientIntegration (0.00s)
niks3-go-unit-tests> === CONT TestWorkerUploadsAndRemoves
niks3-go-unit-tests> --- PASS: TestQueueEnqueueAndFetch (0.01s)
niks3-go-unit-tests> === CONT TestQueueFetchRemoveLifecycle
niks3-go-unit-tests> --- PASS: TestQueueDeduplication (0.01s)
niks3-go-unit-tests> === CONT TestRunNotBlockedByPoisonHead
niks3-go-unit-tests> 2026/08/27 09:28:31 INFO Uploading batch count=1
niks3-go-unit-tests> 2026/08/27 09:28:31 ERROR Upload failed error="upload failed" count=1
niks3-go-unit-tests> --- PASS: TestQueueFetchBatchLimit (0.01s)
niks3-go-unit-tests> === CONT TestDrainGivesUpWhenServerDown
niks3-go-unit-tests> 2026/08/27 09:28:31 INFO Upload queue status pending=2
niks3-go-unit-tests> 2026/08/27 09:28:31 INFO Uploading batch count=1
niks3-go-unit-tests> 2026/08/27 09:28:31 INFO Upload queue status pending=2
niks3-go-unit-tests> 2026/08/27 09:28:31 INFO Uploading batch count=2
niks3-go-unit-tests> --- PASS: TestQueueRemove (0.01s)
niks3-go-unit-tests> === CONT TestQueueRemoveLargeClosure
niks3-go-unit-tests> 2026/08/27 09:28:31 INFO Upload queue status pending=2
niks3-go-unit-tests> 2026/08/27 09:28:31 WARN Store path no longer exists (garbage collected?), removing from queue path=/nix/var/nix/builds/nix-13638-4044143606/TestWorkerSkipsGCdPaths2596114502/002/nonexistent
niks3-go-unit-tests> 2026/08/27 09:28:31 INFO Uploading batch count=1
niks3-go-unit-tests> 2026/08/27 09:28:31 INFO Uploading batch count=1
niks3-go-unit-tests> 2026/08/27 09:28:31 INFO Uploading batch count=1
niks3-go-unit-tests> --- PASS: TestQueueRetryMovesToBack (0.01s)
niks3-go-unit-tests> === CONT TestDrainIsolatesPoisonPath
niks3-go-unit-tests> --- PASS: TestQueueFetchRemoveLifecycle (0.00s)
niks3-go-unit-tests> === CONT TestServerQueueError
niks3-go-unit-tests> 2026/08/27 09:28:31 INFO Upload queue status pending=3
niks3-go-unit-tests> --- PASS: TestFailedPathPrunedByLaterClosure (0.01s)
niks3-go-unit-tests> 2026/08/27 09:28:31 ERROR Failed to queue paths error="permission denied" count=1
niks3-go-unit-tests> 2026/08/27 09:28:31 INFO Uploading batch count=1
niks3-go-unit-tests> 2026/08/27 09:28:31 ERROR Upload failed error="upload failed" count=1
niks3-go-unit-tests> --- PASS: TestServerQueueError (0.00s)
niks3-go-unit-tests> 2026/08/27 09:28:31 INFO Uploading batch count=2
niks3-go-unit-tests> 2026/08/27 09:28:31 ERROR Upload failed error="upload failed" count=2
niks3-go-unit-tests> 2026/08/27 09:28:31 ERROR Upload failed, will retry later error="upload failed" path=/nix/var/nix/builds/nix-13638-4044143606/TestDrainGivesUpWhenServerDown1884484541/002/a
niks3-go-unit-tests> 2026/08/27 09:28:31 ERROR Upload failed, will retry later error="upload failed" path=/nix/var/nix/builds/nix-13638-4044143606/TestDrainGivesUpWhenServerDown1884484541/002/b
niks3-go-unit-tests> 2026/08/27 09:28:31 INFO Uploading batch count=2
niks3-go-unit-tests> 2026/08/27 09:28:31 ERROR Upload failed error="upload failed" count=2
niks3-go-unit-tests> 2026/08/27 09:28:31 ERROR Upload failed, will retry later error="upload failed" path=/nix/var/nix/builds/nix-13638-4044143606/TestDrainGivesUpWhenServerDown1884484541/002/c
niks3-go-unit-tests> 2026/08/27 09:28:31 ERROR Upload failed, will retry later error="upload failed" path=/nix/var/nix/builds/nix-13638-4044143606/TestDrainGivesUpWhenServerDown1884484541/002/d
niks3-go-unit-tests> 2026/08/27 09:28:31 INFO Uploading batch count=2
niks3-go-unit-tests> 2026/08/27 09:28:31 ERROR Upload failed error="upload failed" count=2
niks3-go-unit-tests> 2026/08/27 09:28:31 ERROR Upload failed, will retry later error="upload failed" path=/nix/var/nix/builds/nix-13638-4044143606/TestDrainGivesUpWhenServerDown1884484541/002/e
niks3-go-unit-tests> 2026/08/27 09:28:31 INFO Uploading batch count=4
niks3-go-unit-tests> 2026/08/27 09:28:31 ERROR Upload failed error="upload failed" count=4
niks3-go-unit-tests> 2026/08/27 09:28:31 ERROR Upload failed, will retry later error="upload failed" path=/nix/var/nix/builds/nix-13638-4044143606/TestDrainGivesUpWhenServerDown1884484541/002/f
niks3-go-unit-tests> 2026/08/27 09:28:31 ERROR Upload failed, will retry later error="upload failed" path=/nix/var/nix/builds/nix-13638-4044143606/TestDrainIsolatesPoisonPath3832613598/002/bbb
niks3-go-unit-tests> 2026/08/27 09:28:31 ERROR Drain finished with paths left in queue remaining=10
niks3-go-unit-tests> 2026/08/27 09:28:31 INFO Uploading batch count=1
niks3-go-unit-tests> 2026/08/27 09:28:31 ERROR Upload failed error="upload failed" count=1
niks3-go-unit-tests> 2026/08/27 09:28:31 INFO Uploading batch count=1
niks3-go-unit-tests> 2026/08/27 09:28:31 ERROR Upload failed error="upload failed" count=1
niks3-go-unit-tests> 2026/08/27 09:28:31 INFO Uploading batch count=1
niks3-go-unit-tests> 2026/08/27 09:28:31 ERROR Upload failed error="upload failed" count=1
niks3-go-unit-tests> 2026/08/27 09:28:31 ERROR Drain finished with paths left in queue remaining=1
niks3-go-unit-tests> --- PASS: TestDrainGivesUpWhenServerDown (0.01s)
niks3-go-unit-tests> --- PASS: TestDrainIsolatesPoisonPath (0.01s)
niks3-go-unit-tests> --- PASS: TestWorkerPrunesClosureDeps (0.03s)
niks3-go-unit-tests> --- PASS: TestWorkerUploadsAndRemoves (0.03s)
niks3-go-unit-tests> --- PASS: TestWorkerSkipsGCdPaths (0.03s)
niks3-go-unit-tests> --- PASS: TestQueueRemoveLargeClosure (0.05s)
niks3-go-unit-tests> --- PASS: TestQueueConcurrentWriters (0.07s)
niks3-go-unit-tests> 2026/08/27 09:28:32 INFO Uploading batch count=1
niks3-go-unit-tests> 2026/08/27 09:28:32 INFO Uploading batch count=1
niks3-go-unit-tests> 2026/08/27 09:28:32 INFO Uploading batch count=1
niks3-go-unit-tests> 2026/08/27 09:28:32 ERROR Upload failed error="upload failed" count=1
niks3-go-unit-tests> 2026/08/27 09:28:32 INFO Uploading batch count=1
niks3-go-unit-tests> 2026/08/27 09:28:32 ERROR Upload failed error="upload failed" count=1
niks3-go-unit-tests> 2026/08/27 09:28:32 INFO Uploading batch count=1
niks3-go-unit-tests> 2026/08/27 09:28:32 ERROR Upload failed error="upload failed" count=1
niks3-go-unit-tests> 2026/08/27 09:28:32 INFO Uploading batch count=1
niks3-go-unit-tests> 2026/08/27 09:28:32 ERROR Upload failed error="upload failed" count=1
niks3-go-unit-tests> 2026/08/27 09:28:32 ERROR Drain finished with paths left in queue remaining=1
niks3-go-unit-tests> --- PASS: TestRunNotBlockedByPoisonHead (1.01s)
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