this derivation will be built:
/nix/store/ai94gkny2q9q0a91fzd6vvh2sjznyxjv-niks3-go-unit-tests.drv
building '/nix/store/ai94gkny2q9q0a91fzd6vvh2sjznyxjv-niks3-go-unit-tests.drv' on 'ssh-ng://customer@mac02'
building '/nix/store/ai94gkny2q9q0a91fzd6vvh2sjznyxjv-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 TestResolveStorePath
niks3-go-unit-tests> === CONT TestFileTokenMissing
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 TestShellSplitErrors
niks3-go-unit-tests> --- PASS: TestShellSplitErrors (0.00s)
niks3-go-unit-tests> === CONT TestSetClientTLS
niks3-go-unit-tests> 2026/08/27 09:35:52 WARN Rate limiter enabled after throttle name=server-test rate=5
niks3-go-unit-tests> === CONT TestShellSplit
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 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> === 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> === PAUSE TestPathInfoCACompatibility/new_structured_format_-_nar_method
niks3-go-unit-tests> --- PASS: TestShellSplit (0.00s)
niks3-go-unit-tests> === CONT TestStaticToken
niks3-go-unit-tests> === CONT TestFileTokenReadsAndCaches
niks3-go-unit-tests> --- PASS: TestStaticToken (0.00s)
niks3-go-unit-tests> === CONT TestSetClientTLSErrors
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 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 TestDoWithRetry_BodyReplayedViaGetBody
niks3-go-unit-tests> --- PASS: TestFileTokenReadsAndCaches (0.00s)
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> --- PASS: TestResolveStorePath (0.00s)
niks3-go-unit-tests> === PAUSE TestFilterOversizedClosures/all_closures_skipped
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> === CONT TestUploadMultipart_SupersededByPeer
niks3-go-unit-tests> === PAUSE TestPartSizeForNAR/80_GiB_fits_at_minimum
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> === RUN TestPartSizeForNAR/115_GiB_needs_larger_parts
niks3-go-unit-tests> === CONT TestScriptTokenCachesUntilRefresh
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 TestScriptTokenBadJSON
niks3-go-unit-tests> --- PASS: TestDoServerRequestAttachesToken (0.01s)
niks3-go-unit-tests> === CONT TestScriptTokenEmptyToken
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 TestParsePathInfoJSON/whitespace_only
niks3-go-unit-tests> 2026/08/27 09:35:52 WARN Rate limiter enabled after throttle name=server-test rate=5
niks3-go-unit-tests> === CONT TestParsePathInfoJSONMultiplePaths
niks3-go-unit-tests> 2026/08/27 09:35:52 WARN Request returned retryable status, retrying attempt=1 max_attempts=6 backoff=0s status=503 url=http://127.0.0.1:51482
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 TestParsePathInfoJSON/invalid_JSON
niks3-go-unit-tests> === CONT TestDumpPathWriterError
niks3-go-unit-tests> 2026/08/27 09:35:52 WARN Rate limiter backed off name=server-test rate=5
niks3-go-unit-tests> 2026/08/27 09:35:52 WARN Request returned retryable status, retrying attempt=2 max_attempts=6 backoff=0s status=503 url=http://127.0.0.1:51482
niks3-go-unit-tests> --- PASS: TestDoWithRetry_BodyReplayedViaGetBody (0.01s)
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 TestParsePathInfoJSON/empty_input
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 TestParsePathInfoJSON/Lix_format
niks3-go-unit-tests> --- PASS: TestSetClientTLSDoesNotMutateDefaultTransport (0.01s)
niks3-go-unit-tests> === CONT TestDumpPathSingleFile
niks3-go-unit-tests> === CONT TestCaseHackSuffix
niks3-go-unit-tests> --- PASS: TestParsePathInfoJSON (0.00s)
niks3-go-unit-tests> --- PASS: TestParsePathInfoJSON/Nix_format (0.00s)
niks3-go-unit-tests> --- PASS: TestParsePathInfoJSON/whitespace_only (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/Lix_format (0.00s)
niks3-go-unit-tests> --- PASS: TestScriptTokenScriptFails (0.01s)
niks3-go-unit-tests> === CONT TestPathInfoCACompatibility/null_ca_field
niks3-go-unit-tests> === RUN TestSetClientTLS/rejects_connection_without_client_cert
niks3-go-unit-tests> === CONT TestPathInfoCACompatibility/new_structured_format_-_text
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 TestPathInfoCACompatibility/new_structured_format_-_nar_method
niks3-go-unit-tests> === CONT TestFileTokenEmpty
niks3-go-unit-tests> === CONT TestScriptTokenNoExpiryRerunsEveryCall
niks3-go-unit-tests> --- PASS: TestFileTokenEmpty (0.00s)
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> --- PASS: TestPathInfoCACompatibility (0.00s)
niks3-go-unit-tests> --- PASS: TestPathInfoCACompatibility/null_ca_field (0.00s)
niks3-go-unit-tests> --- PASS: TestPathInfoCACompatibility/new_structured_format_-_text (0.00s)
niks3-go-unit-tests> --- PASS: TestPathInfoCACompatibility/new_structured_format_-_nar_method (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 TestRateLimiterFeedback/400_does_not_enable_limiter
niks3-go-unit-tests> === CONT TestRateLimiterFeedback/429_enables_limiter
niks3-go-unit-tests> 2026/08/27 09:35:52 WARN Rate limiter enabled after throttle name=server-test rate=5
niks3-go-unit-tests> 2026/08/27 09:35:52 WARN Request returned retryable status, retrying attempt=1 max_attempts=2 backoff=0s status=429 url=http://127.0.0.1:51487
niks3-go-unit-tests> 2026/08/27 09:35:52 WARN Rate limiter backed off name=server-test rate=5
niks3-go-unit-tests> === CONT TestRateLimiterFeedback/200_does_not_enable_limiter
niks3-go-unit-tests> === CONT TestRateLimiterFeedback/503_enables_limiter
niks3-go-unit-tests> 2026/08/27 09:35:52 WARN Rate limiter enabled after throttle name=server-test rate=5
niks3-go-unit-tests> 2026/08/27 09:35:52 WARN Request returned retryable status, retrying attempt=1 max_attempts=2 backoff=0s status=503 url=http://127.0.0.1:51491
niks3-go-unit-tests> 2026/08/27 09:35:52 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 TestGetStorePathHash/valid_store_path
niks3-go-unit-tests> === CONT TestGetStorePathHash/hash_with_invalid_characters_should_error
niks3-go-unit-tests> === CONT TestGetStorePathHash/basename_without_hyphen_should_error
niks3-go-unit-tests> === CONT TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI)
niks3-go-unit-tests> === CONT TestPathInfoHashCompatibility/new_structured_format_with_sha512
niks3-go-unit-tests> === CONT TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI
niks3-go-unit-tests> === CONT TestPathInfoHashCompatibility/old_string_format_with_colon
niks3-go-unit-tests> --- PASS: TestPathInfoHashCompatibility (0.00s)
niks3-go-unit-tests> --- PASS: TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI) (0.00s)
niks3-go-unit-tests> --- PASS: TestPathInfoHashCompatibility/new_structured_format_with_sha512 (0.00s)
niks3-go-unit-tests> --- PASS: TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI (0.00s)
niks3-go-unit-tests> --- PASS: TestPathInfoHashCompatibility/old_string_format_with_colon (0.00s)
niks3-go-unit-tests> === CONT TestGetStorePathHash/hash_with_wrong_length_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/basename_without_hyphen_should_error (0.00s)
niks3-go-unit-tests> --- PASS: TestGetStorePathHash/hash_with_wrong_length_should_error (0.00s)
niks3-go-unit-tests> === CONT TestFilterOversizedClosures/no_limit_keeps_everything
niks3-go-unit-tests> === CONT TestFilterOversizedClosures/all_closures_skipped
niks3-go-unit-tests> 2026/08/27 09:35:52 WARN Skipping closure: path exceeds server max NAR size top_level_path=/nix/store/cccccccccccccccccccccccccccccccc-wrapper oversized_path=/nix/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-small nar_size=1000 max_nar_size=50
niks3-go-unit-tests> === CONT TestFilterOversizedClosures/closure_with_oversized_dependency_is_skipped
niks3-go-unit-tests> 2026/08/27 09:35:52 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 TestUploadMultipart_SupersededByPeer/exists
niks3-go-unit-tests> === CONT TestUploadMultipart_SupersededByPeer/missing
niks3-go-unit-tests> --- PASS: TestUploadMultipart_SupersededByPeer (0.00s)
niks3-go-unit-tests> --- PASS: TestUploadMultipart_SupersededByPeer/exists (0.00s)
niks3-go-unit-tests> --- PASS: TestUploadMultipart_SupersededByPeer/missing (0.00s)
niks3-go-unit-tests> === CONT TestPartSizeForNAR/zero_stays_at_minimum
niks3-go-unit-tests> === CONT TestPartSizeForNAR/1_TiB
niks3-go-unit-tests> === CONT TestPartSizeForNAR/capped_at_5_GiB
niks3-go-unit-tests> === CONT TestPartSizeForNAR/5_TiB_S3_max_object
niks3-go-unit-tests> === CONT TestPartSizeForNAR/80_GiB_fits_at_minimum
niks3-go-unit-tests> === CONT TestPartSizeForNAR/115_GiB_needs_larger_parts
niks3-go-unit-tests> === CONT TestPartSizeForNAR/small_stays_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/80_GiB_fits_at_minimum (0.00s)
niks3-go-unit-tests> --- PASS: TestPartSizeForNAR/115_GiB_needs_larger_parts (0.00s)
niks3-go-unit-tests> --- PASS: TestPartSizeForNAR/small_stays_at_minimum (0.00s)
niks3-go-unit-tests> === CONT TestSetClientTLSErrors/missing_cert_file
niks3-go-unit-tests> === CONT TestSetClientTLSErrors/invalid_ca_file
niks3-go-unit-tests> --- PASS: TestScriptTokenEmptyToken (0.02s)
niks3-go-unit-tests> === CONT TestSetClientTLSErrors/missing_ca_file
niks3-go-unit-tests> --- PASS: TestScriptTokenBadJSON (0.02s)
niks3-go-unit-tests> === CONT TestSetClientTLSErrors/missing_key_file
niks3-go-unit-tests> === CONT TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths
niks3-go-unit-tests> === CONT TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths
niks3-go-unit-tests> --- PASS: TestParsePathInfoJSONMultiplePaths (0.00s)
niks3-go-unit-tests> --- PASS: TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths (0.00s)
niks3-go-unit-tests> --- PASS: TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths (0.00s)
niks3-go-unit-tests> === CONT 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 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 TestSetClientTLS/rejects_connection_without_client_cert
niks3-go-unit-tests> === CONT TestSetClientTLS/succeeds_with_client_cert_and_CA
niks3-go-unit-tests> === CONT TestSetClientTLS/preserves_debug_logging_transport
niks3-go-unit-tests> --- PASS: TestSetClientTLSErrors (0.01s)
niks3-go-unit-tests> --- PASS: TestSetClientTLSErrors/missing_cert_file (0.00s)
niks3-go-unit-tests> --- PASS: TestSetClientTLSErrors/missing_key_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> 2026/08/27 09:35:52 http: TLS handshake error from 127.0.0.1:51497: remote error: tls: bad certificate
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: TestDumpPathWriterError (0.04s)
niks3-go-unit-tests> --- PASS: TestScriptTokenNoExpiryRerunsEveryCall (0.04s)
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 "_nixbld10".
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-28356-531849286/postgres1688706964/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-28356-531849286/postgres1688706964/data -l logfile start
niks3-go-unit-tests>
niks3-go-unit-tests> /nix/var/nix/builds/nix-28356-531849286/postgres1688706964:5432 - no response
niks3-go-unit-tests> 2026-08-27 09:35:54.088 UTC [28433] 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:35:54.088 UTC [28433] LOG: listening on Unix socket "/nix/var/nix/builds/nix-28356-531849286/postgres1688706964/.s.PGSQL.5432"
niks3-go-unit-tests> 2026-08-27 09:35:54.090 UTC [28440] LOG: database system was shut down at 2026-08-27 09:35:54 UTC
niks3-go-unit-tests> 2026-08-27 09:35:54.091 UTC [28433] LOG: database system is ready to accept connections
niks3-go-unit-tests> /nix/var/nix/builds/nix-28356-531849286/postgres1688706964: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:35:54.424 UTC [28513] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:54.424 UTC [28513] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:35:54 OK 20241026095416_initial_model.sql (3.07ms)
niks3-go-unit-tests> 2026/08/27 09:35:54 OK 20251210153512_drop_unused_gin_index.sql (378.92µs)
niks3-go-unit-tests> 2026/08/27 09:35:54 OK 20251218171726_add_pins.sql (805.83µs)
niks3-go-unit-tests> 2026/08/27 09:35:54 OK 20260628120000_add_object_size_and_stats.sql (759.21µs)
niks3-go-unit-tests> 2026/08/27 09:35:54 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:54 OK 1_commit_pending_closure.sql (881.54µs)
niks3-go-unit-tests> 2026/08/27 09:35:54 OK 2_object_stats_trigger.sql (262.46µs)
niks3-go-unit-tests> 2026/08/27 09:35:54 goose: up to current file version: 2
niks3-go-unit-tests> --- PASS: TestGCAdvisoryLockBlocksConcurrentRun (0.17s)
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:35:54 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded"
niks3-go-unit-tests> 2026/08/27 09:35:54 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded"
niks3-go-unit-tests> 2026/08/27 09:35:54 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded"
niks3-go-unit-tests> 2026/08/27 09:35:54 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded"
niks3-go-unit-tests> 2026/08/27 09:35:54 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded"
niks3-go-unit-tests> 2026/08/27 09:35:54 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded"
niks3-go-unit-tests> 2026/08/27 09:35:54 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded"
niks3-go-unit-tests> 2026/08/27 09:35:54 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded"
niks3-go-unit-tests> 2026/08/27 09:35:54 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded"
niks3-go-unit-tests> 2026/08/27 09:35:54 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 TestCreatePendingClosure_SmallNARUsesSimplePUT
niks3-go-unit-tests> === CONT TestMultipartCleanup
niks3-go-unit-tests> === CONT TestServerTLSConfig
niks3-go-unit-tests> === CONT TestReadProxyNarinfoAlreadyDecompressed
niks3-go-unit-tests> === RUN TestServerTLSConfig/no_client_CA
niks3-go-unit-tests> === CONT TestReadProxyNarinfo
niks3-go-unit-tests> === CONT TestIsValidCachePath
niks3-go-unit-tests> === RUN TestIsValidCachePath/narinfo
niks3-go-unit-tests> === CONT TestResurrectedObjectNotDeleted
niks3-go-unit-tests> === PAUSE TestServerTLSConfig/no_client_CA
niks3-go-unit-tests> === PAUSE TestIsValidCachePath/narinfo
niks3-go-unit-tests> === RUN TestServerTLSConfig/missing_CA_file
niks3-go-unit-tests> === RUN TestIsValidCachePath/narinfo_all_nix_base32_chars
niks3-go-unit-tests> === PAUSE TestServerTLSConfig/missing_CA_file
niks3-go-unit-tests> === RUN TestServerTLSConfig/not_a_PEM_file
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 TestServerTLSConfig/not_a_PEM_file
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> === CONT TestParseSingleRange
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> === CONT TestReadProxyRangeRequest
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> === 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> === PAUSE TestIsValidCachePath/empty
niks3-go-unit-tests> === RUN TestIsValidCachePath/leading_slash
niks3-go-unit-tests> === RUN TestParseSingleRange/multi-range_ignored
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> === 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> === RUN TestIsValidCachePath/short_hash
niks3-go-unit-tests> === PAUSE TestParseSingleRange/malformed_both_empty
niks3-go-unit-tests> === PAUSE TestIsValidCachePath/short_hash
niks3-go-unit-tests> === CONT TestGCTaskStore_DeduplicateSameParams
niks3-go-unit-tests> --- PASS: TestGCTaskStore_DeduplicateSameParams (0.00s)
niks3-go-unit-tests> === CONT TestService_NativeMTLS
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 TestMetricsInventory
niks3-go-unit-tests> 2026-08-27 09:35:55.005 UTC [28535] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:55.005 UTC [28535] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:35:55.006 UTC [28537] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:55.006 UTC [28537] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:35:55.006 UTC [28536] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:55.006 UTC [28536] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:35:55.006 UTC [28539] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:55.006 UTC [28539] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:35:55.006 UTC [28538] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:55.006 UTC [28538] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:35:55.007 UTC [28541] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:55.007 UTC [28541] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:35:55.008 UTC [28543] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:55.008 UTC [28543] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:35:55.008 UTC [28542] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:55.008 UTC [28542] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:35:55.008 UTC [28540] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:55.008 UTC [28540] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:35:55.009 UTC [28544] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:55.009 UTC [28544] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20241026095416_initial_model.sql (6.97ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20241026095416_initial_model.sql (8.33ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20251210153512_drop_unused_gin_index.sql (1ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20241026095416_initial_model.sql (7.92ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20251210153512_drop_unused_gin_index.sql (725.17µs)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20241026095416_initial_model.sql (7.88ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20251210153512_drop_unused_gin_index.sql (664.58µs)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20241026095416_initial_model.sql (8.44ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20251210153512_drop_unused_gin_index.sql (945.58µs)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20251218171726_add_pins.sql (1.84ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20251210153512_drop_unused_gin_index.sql (798.54µs)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20251218171726_add_pins.sql (1.93ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20241026095416_initial_model.sql (7.63ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20241026095416_initial_model.sql (8.24ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20241026095416_initial_model.sql (9.17ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20251218171726_add_pins.sql (1.91ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20251210153512_drop_unused_gin_index.sql (663.25µs)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20251218171726_add_pins.sql (1.25ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20251210153512_drop_unused_gin_index.sql (591.29µs)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20241026095416_initial_model.sql (8.42ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20251210153512_drop_unused_gin_index.sql (934.13µs)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20251218171726_add_pins.sql (1.9ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20260628120000_add_object_size_and_stats.sql (1.98ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20260628120000_add_object_size_and_stats.sql (1.74ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20251210153512_drop_unused_gin_index.sql (927.5µs)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20241026095416_initial_model.sql (8.68ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20251218171726_add_pins.sql (1.39ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20260628120000_add_object_size_and_stats.sql (2.12ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20251218171726_add_pins.sql (2.07ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20251218171726_add_pins.sql (1.76ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20260628120000_add_object_size_and_stats.sql (2.06ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20251210153512_drop_unused_gin_index.sql (634.58µs)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 1_commit_pending_closure.sql (1.42ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20260628120000_add_object_size_and_stats.sql (1.76ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 1_commit_pending_closure.sql (1.41ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 2_object_stats_trigger.sql (514.96µs)
niks3-go-unit-tests> 2026/08/27 09:35:55 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20251218171726_add_pins.sql (1.79ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20260628120000_add_object_size_and_stats.sql (1.4ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 1_commit_pending_closure.sql (1.32ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 2_object_stats_trigger.sql (735.08µs)
niks3-go-unit-tests> 2026/08/27 09:35:55 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20251218171726_add_pins.sql (1.6ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 1_commit_pending_closure.sql (1.67ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20260628120000_add_object_size_and_stats.sql (1.71ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 1_commit_pending_closure.sql (1.67ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20260628120000_add_object_size_and_stats.sql (2.02ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 2_object_stats_trigger.sql (346.17µs)
niks3-go-unit-tests> 2026/08/27 09:35:55 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 2_object_stats_trigger.sql (604.67µs)
niks3-go-unit-tests> 2026/08/27 09:35:55 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 2_object_stats_trigger.sql (434.58µs)
niks3-go-unit-tests> 2026/08/27 09:35:55 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20260628120000_add_object_size_and_stats.sql (1.65ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 1_commit_pending_closure.sql (991.96µs)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 20260628120000_add_object_size_and_stats.sql (1.35ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 1_commit_pending_closure.sql (1.1ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 1_commit_pending_closure.sql (2.01ms)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 2_object_stats_trigger.sql (338.46µs)
niks3-go-unit-tests> 2026/08/27 09:35:55 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 2_object_stats_trigger.sql (313.21µs)
niks3-go-unit-tests> 2026/08/27 09:35:55 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 2_object_stats_trigger.sql (365.04µs)
niks3-go-unit-tests> 2026/08/27 09:35:55 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 1_commit_pending_closure.sql (955.5µs)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 2_object_stats_trigger.sql (206.25µs)
niks3-go-unit-tests> 2026/08/27 09:35:55 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 1_commit_pending_closure.sql (991.88µs)
niks3-go-unit-tests> 2026/08/27 09:35:55 OK 2_object_stats_trigger.sql (187.5µs)
niks3-go-unit-tests> 2026/08/27 09:35:55 goose: up to current file version: 2
niks3-go-unit-tests> {"timestamp":"2026-08-27T09:35:55.027578Z","level":"ERROR","duration":"81.625µ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-35807-2406330080/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(11)"}
niks3-go-unit-tests> {"timestamp":"2026-08-27T09:35:55.02769Z","level":"ERROR","message":"HTTP request completed","event":"http_request_completed","component":"server","subsystem":"http","request_id":"51dba114-3e18-4054-b1d5-f343f4d7c1c7","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(11)"}
niks3-go-unit-tests> {"timestamp":"2026-08-27T09:35:55.027858Z","level":"ERROR","duration":"49.125µ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-35807-2406330080/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(6)"}
niks3-go-unit-tests> {"timestamp":"2026-08-27T09:35:55.027868Z","level":"ERROR","message":"HTTP request completed","event":"http_request_completed","component":"server","subsystem":"http","request_id":"227ed47e-03ac-4d30-ba6c-af7c1c09cfe8","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(6)"}
niks3-go-unit-tests> {"timestamp":"2026-08-27T09:35:55.058027Z","level":"ERROR","duration":"18.709µ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-35807-2406330080/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(11)"}
niks3-go-unit-tests> {"timestamp":"2026-08-27T09:35:55.058041Z","level":"ERROR","message":"HTTP request completed","event":"http_request_completed","component":"server","subsystem":"http","request_id":"ede4a0ef-935b-4187-a8db-c96dfa3c55e1","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(11)"}
niks3-go-unit-tests> --- PASS: TestReadProxyNarinfo (0.45s)
niks3-go-unit-tests> === CONT TestNARDeduplicationMetadataUploadBug
niks3-go-unit-tests> 2026/08/27 09:35:55 INFO Received complete multipart upload request method=POST path=/api/multipart/complete
niks3-go-unit-tests> 2026/08/27 09:35:55 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 (0.57s)
niks3-go-unit-tests> === CONT TestCreatePendingClosureRejectsOversizedNAR
niks3-go-unit-tests> 2026/08/27 09:35:55 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:35:55 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> --- PASS: TestCreatePendingClosure_SmallNARUsesSimplePUT (0.68s)
niks3-go-unit-tests> === CONT TestGracefulShutdownDrainsInflight
niks3-go-unit-tests> 2026/08/27 09:35:55 INFO Starting HTTP server address=127.0.0.1:51537
niks3-go-unit-tests> 2026/08/27 09:35:55 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 TestGCTaskStore_CompletedAllowsNewTask
niks3-go-unit-tests> --- PASS: TestGCTaskStore_CompletedAllowsNewTask (0.00s)
niks3-go-unit-tests> === CONT TestGCTaskStore_GetReturnsLatest
niks3-go-unit-tests> --- PASS: TestGCTaskStore_GetReturnsLatest (0.00s)
niks3-go-unit-tests> === CONT TestGCTaskStore_GetEmpty
niks3-go-unit-tests> --- PASS: TestGCTaskStore_GetEmpty (0.00s)
niks3-go-unit-tests> === CONT TestGCTaskStore_ConflictDifferentParams
niks3-go-unit-tests> --- PASS: TestGCTaskStore_ConflictDifferentParams (0.00s)
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 TestGCTaskStore_StartNew
niks3-go-unit-tests> --- PASS: TestGCTaskStore_StartNew (0.00s)
niks3-go-unit-tests> === CONT TestGCMetrics
niks3-go-unit-tests> --- PASS: TestReadProxyRangeRequest (0.76s)
niks3-go-unit-tests> === CONT TestGCBugBareHashReferences
niks3-go-unit-tests> 2026/08/27 09:35:55 WARN mTLS auth: subject not in bound subjects subject="CN=reader"
niks3-go-unit-tests> 2026/08/27 09:35:55 WARN mTLS auth: subject not in bound subjects subject="CN=writer"
niks3-go-unit-tests> --- PASS: TestService_NativeMTLS (0.79s)
niks3-go-unit-tests> === CONT TestPinProtectsFromGC
niks3-go-unit-tests> --- PASS: TestMetricsInventory (0.93s)
niks3-go-unit-tests> === CONT TestClientWithDependencies
niks3-go-unit-tests> --- PASS: TestResurrectedObjectNotDeleted (0.99s)
niks3-go-unit-tests> === CONT TestClientCADerivations
niks3-go-unit-tests> --- PASS: TestReadProxyNarinfoAlreadyDecompressed (1.00s)
niks3-go-unit-tests> === CONT TestClientMultipleUploads
niks3-go-unit-tests> 2026/08/27 09:35:55 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:35:55 INFO Received cleanup request method=DELETE path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:35:55 INFO Aborted multipart uploads count=1
niks3-go-unit-tests> --- PASS: TestMultipartCleanup (1.21s)
niks3-go-unit-tests> === CONT TestCacheStatsHandler
niks3-go-unit-tests> 2026/08/27 09:35:55 WARN Authentication failed token_preview=wrongtoken token_length=10 reason="static API token mismatch"
niks3-go-unit-tests> --- PASS: TestService_AuthMiddleware (1.23s)
niks3-go-unit-tests> === CONT TestClientIntegration
niks3-go-unit-tests> 2026-08-27 09:35:56.010 UTC [28574] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:56.010 UTC [28574] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 20241026095416_initial_model.sql (56.84ms)
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 20251210153512_drop_unused_gin_index.sql (10.71ms)
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 20251218171726_add_pins.sql (9.41ms)
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 20260628120000_add_object_size_and_stats.sql (3.36ms)
niks3-go-unit-tests> 2026/08/27 09:35:56 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 1_commit_pending_closure.sql (1.56ms)
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 2_object_stats_trigger.sql (799.33µs)
niks3-go-unit-tests> 2026/08/27 09:35:56 goose: up to current file version: 2
niks3-go-unit-tests> 2026-08-27 09:35:56.336 UTC [28590] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:56.336 UTC [28590] 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-28356-531849286/TestNARDeduplicationMetadataUploadBug2472757758/001/store/9k5kqi9iia5zwrz5qpr1f3wh7rklrw72-file1.txt
niks3-go-unit-tests> 2026-08-27 09:35:56.431 UTC [28594] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:56.431 UTC [28594] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:35:56.431 UTC [28595] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:56.431 UTC [28595] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 20241026095416_initial_model.sql (78.92ms)
niks3-go-unit-tests> 2026/08/27 09:35:56 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:35:56 OK 20251210153512_drop_unused_gin_index.sql (5.66ms)
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 20251218171726_add_pins.sql (25.47ms)
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 20260628120000_add_object_size_and_stats.sql (1.38ms)
niks3-go-unit-tests> 2026/08/27 09:35:56 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 1_commit_pending_closure.sql (869.42µs)
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 2_object_stats_trigger.sql (266.58µs)
niks3-go-unit-tests> 2026/08/27 09:35:56 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:35:56 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 20241026095416_initial_model.sql (97.86ms)
niks3-go-unit-tests> 2026/08/27 09:35:56 INFO Uploading 1 paths to 127.0.0.1 (0 already cached)
niks3-go-unit-tests> 2026/08/27 09:35:56 INFO Uploading 9k5kqi9iia5zwrz5qpr1f3wh7rklrw72-file1.txt (160B)
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 20251210153512_drop_unused_gin_index.sql (7.44ms)
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 20251218171726_add_pins.sql (34.54ms)
niks3-go-unit-tests> 2026/08/27 09:35:56 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:35:56 OK 20241026095416_initial_model.sql (153.9ms)
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 20251210153512_drop_unused_gin_index.sql (754.79µs)
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 20260628120000_add_object_size_and_stats.sql (43.37ms)
niks3-go-unit-tests> 2026/08/27 09:35:56 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:56 WARN Failed to register uploaded object key=9k5kqi9iia5zwrz5qpr1f3wh7rklrw72.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:35:56 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign
niks3-go-unit-tests> 2026/08/27 09:35:56 INFO Signed narinfos id=1 count=1
niks3-go-unit-tests> 2026/08/27 09:35:56 INFO Uploading 1 narinfos
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 1_commit_pending_closure.sql (6.82ms)
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 2_object_stats_trigger.sql (321.83µs)
niks3-go-unit-tests> 2026/08/27 09:35:56 goose: up to current file version: 2
niks3-go-unit-tests> 2026-08-27 09:35:56.655 UTC [28602] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:56.655 UTC [28602] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 20251218171726_add_pins.sql (41.09ms)
niks3-go-unit-tests> --- PASS: TestService_healthCheckHandler (1.40s)
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 TestReadProxyHead
niks3-go-unit-tests> 2026/08/27 09:35:56 WARN Failed to register uploaded object key=9k5kqi9iia5zwrz5qpr1f3wh7rklrw72.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:35:56 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 20260628120000_add_object_size_and_stats.sql (46.49ms)
niks3-go-unit-tests> 2026/08/27 09:35:56 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:56 INFO Completed upload id=1
niks3-go-unit-tests> 2026/08/27 09:35:56 INFO Upload complete. (291ms)
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 1_commit_pending_closure.sql (6.81ms)
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 2_object_stats_trigger.sql (388.42µs)
niks3-go-unit-tests> 2026/08/27 09:35:56 goose: up to current file version: 2
niks3-go-unit-tests> === NAME TestNARDeduplicationMetadataUploadBug
niks3-go-unit-tests> metadata_upload_test.go:54: Retrieved narinfo from S3:
niks3-go-unit-tests> StorePath: /nix/var/nix/builds/nix-28356-531849286/TestNARDeduplicationMetadataUploadBug2472757758/001/store/9k5kqi9iia5zwrz5qpr1f3wh7rklrw72-file1.txt
niks3-go-unit-tests> URL: nar/1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf.nar.zst
niks3-go-unit-tests> Compression: zstd
niks3-go-unit-tests> NarHash: sha256:1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf
niks3-go-unit-tests> NarSize: 160
niks3-go-unit-tests> References:
niks3-go-unit-tests> CA: fixed:r:sha256:1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf
niks3-go-unit-tests> metadata_upload_test.go:55: Retrieved .ls file from S3 (compressed size: 77 bytes)
niks3-go-unit-tests> metadata_upload_test.go:55: Decompressed .ls content (64 bytes):
niks3-go-unit-tests> {"version":1,"root":{"type":"regular","size":44,"narOffset":96}}
niks3-go-unit-tests> metadata_upload_test.go:64: Second store path (same content): /nix/var/nix/builds/nix-28356-531849286/TestNARDeduplicationMetadataUploadBug2472757758/001/store/yz30l6rwv1q08mdryqvvzcqhqpabiyrj-file2.txt
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 20241026095416_initial_model.sql (119.64ms)
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 20251210153512_drop_unused_gin_index.sql (14.69ms)
niks3-go-unit-tests> 2026/08/27 09:35:56 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:35:56.876 UTC [28612] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:56.876 UTC [28612] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 20251218171726_add_pins.sql (30.76ms)
niks3-go-unit-tests> 2026/08/27 09:35:56 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:35:56 INFO Uploading 0 paths to 127.0.0.1 (1 already cached)
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 20260628120000_add_object_size_and_stats.sql (29.17ms)
niks3-go-unit-tests> 2026/08/27 09:35:56 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 1_commit_pending_closure.sql (10.5ms)
niks3-go-unit-tests> 2026/08/27 09:35:56 OK 2_object_stats_trigger.sql (226.88µs)
niks3-go-unit-tests> 2026/08/27 09:35:56 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:35:56 INFO Aborted multipart uploads count=0
niks3-go-unit-tests> 2026/08/27 09:35:56 WARN Force mode enabled - objects will be deleted immediately without grace period
niks3-go-unit-tests> 2026/08/27 09:35:56 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:35:56 INFO Vacuumed table table=pending_closures
niks3-go-unit-tests> 2026/08/27 09:35:56 INFO Vacuumed table table=pending_objects
niks3-go-unit-tests> 2026/08/27 09:35:56 INFO Vacuumed table table=multipart_uploads
niks3-go-unit-tests> 2026/08/27 09:35:56 INFO Vacuumed table table=closures
niks3-go-unit-tests> 2026/08/27 09:35:56 INFO Vacuumed table table=objects
niks3-go-unit-tests> --- PASS: TestGCMetrics (1.49s)
niks3-go-unit-tests> === CONT TestService_AuthMiddleware_OIDC
niks3-go-unit-tests> 2026/08/27 09:35:56 WARN Failed to register uploaded object key=yz30l6rwv1q08mdryqvvzcqhqpabiyrj.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:35:56 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign
niks3-go-unit-tests> 2026/08/27 09:35:56 INFO OIDC provider initialized name=test
niks3-go-unit-tests> 2026/08/27 09:35:56 INFO Signed narinfos id=2 count=1
niks3-go-unit-tests> 2026/08/27 09:35:56 INFO Uploading 1 narinfos
niks3-go-unit-tests> 2026/08/27 09:35:56 WARN Failed to register uploaded object key=yz30l6rwv1q08mdryqvvzcqhqpabiyrj.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:35:56 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete
niks3-go-unit-tests> 2026/08/27 09:35:56 INFO Completed upload id=2
niks3-go-unit-tests> 2026/08/27 09:35:56 INFO Upload complete. (162ms)
niks3-go-unit-tests> === NAME TestNARDeduplicationMetadataUploadBug
niks3-go-unit-tests> metadata_upload_test.go:76: Retrieved narinfo from S3:
niks3-go-unit-tests> StorePath: /nix/var/nix/builds/nix-28356-531849286/TestNARDeduplicationMetadataUploadBug2472757758/001/store/yz30l6rwv1q08mdryqvvzcqhqpabiyrj-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:35:57.011 UTC [28621] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:57.011 UTC [28621] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:35:57.011 UTC [28620] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:57.011 UTC [28620] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> --- PASS: TestNARDeduplicationMetadataUploadBug (1.89s)
niks3-go-unit-tests> === CONT TestReadProxyDisabled
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 20241026095416_initial_model.sql (137.87ms)
niks3-go-unit-tests> --- PASS: TestGCBugBareHashReferences (1.61s)
niks3-go-unit-tests> === CONT TestService_ReadAuthMiddleware
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 20251210153512_drop_unused_gin_index.sql (14.4ms)
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 20251218171726_add_pins.sql (27.21ms)
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 20260628120000_add_object_size_and_stats.sql (34.49ms)
niks3-go-unit-tests> 2026/08/27 09:35:57 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 1_commit_pending_closure.sql (920.67µs)
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 2_object_stats_trigger.sql (542.88µs)
niks3-go-unit-tests> 2026/08/27 09:35:57 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 20241026095416_initial_model.sql (96.25ms)
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 20251210153512_drop_unused_gin_index.sql (8.71ms)
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 20241026095416_initial_model.sql (109.46ms)
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 20251210153512_drop_unused_gin_index.sql (12.71ms)
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 20251218171726_add_pins.sql (32.47ms)
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 20251218171726_add_pins.sql (16.65ms)
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 20260628120000_add_object_size_and_stats.sql (11.61ms)
niks3-go-unit-tests> 2026/08/27 09:35:57 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 1_commit_pending_closure.sql (4.62ms)
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 2_object_stats_trigger.sql (194.92µs)
niks3-go-unit-tests> 2026/08/27 09:35:57 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 20260628120000_add_object_size_and_stats.sql (31.46ms)
niks3-go-unit-tests> 2026/08/27 09:35:57 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 1_commit_pending_closure.sql (6.86ms)
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 2_object_stats_trigger.sql (219µs)
niks3-go-unit-tests> 2026/08/27 09:35:57 goose: up to current file version: 2
niks3-go-unit-tests> 2026-08-27 09:35:57.239 UTC [28631] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:57.239 UTC [28631] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:35:57.268 UTC [28633] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:57.268 UTC [28633] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 20241026095416_initial_model.sql (141.27ms)
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 20251210153512_drop_unused_gin_index.sql (11.39ms)
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 20241026095416_initial_model.sql (120.73ms)
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 20251218171726_add_pins.sql (10ms)
niks3-go-unit-tests> === NAME TestClientWithDependencies
niks3-go-unit-tests> client_integration_test.go:593: Built derivation: /nix/var/nix/builds/nix-28356-531849286/TestClientWithDependencies3309023327/001/store/dz8gwf1j0f93sm2vsknizjiaxski2xlb-test-script
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 20251210153512_drop_unused_gin_index.sql (11.89ms)
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 20251218171726_add_pins.sql (19.66ms)
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 20260628120000_add_object_size_and_stats.sql (36.68ms)
niks3-go-unit-tests> 2026/08/27 09:35:57 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 1_commit_pending_closure.sql (1.75ms)
niks3-go-unit-tests> client_integration_test.go:595: Found 1 dependencies (including self)
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 2_object_stats_trigger.sql (553.08µs)
niks3-go-unit-tests> 2026/08/27 09:35:57 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 20260628120000_add_object_size_and_stats.sql (29.05ms)
niks3-go-unit-tests> 2026/08/27 09:35:57 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 1_commit_pending_closure.sql (6.28ms)
niks3-go-unit-tests> 2026/08/27 09:35:57 OK 2_object_stats_trigger.sql (339.75µs)
niks3-go-unit-tests> 2026/08/27 09:35:57 goose: up to current file version: 2
niks3-go-unit-tests> === NAME TestPinProtectsFromGC
niks3-go-unit-tests> client_integration_test.go:646: Pinned store path: /nix/var/nix/builds/nix-28356-531849286/TestPinProtectsFromGC3808044799/001/store/warhaz5zwcizjihdrvvbsxvnhy71304b-pinned-file.txt
niks3-go-unit-tests> client_integration_test.go:647: Unpinned store path: /nix/var/nix/builds/nix-28356-531849286/TestPinProtectsFromGC3808044799/001/store/jnbmpd5zylnm836barrh3rskrqvflxh8-unpinned-file.txt
niks3-go-unit-tests> 2026/08/27 09:35:57 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:35:57 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:35:57 INFO Uploading 1 paths to 127.0.0.1 (0 already cached)
niks3-go-unit-tests> 2026/08/27 09:35:57 INFO Uploading dz8gwf1j0f93sm2vsknizjiaxski2xlb-test-script (136B)
niks3-go-unit-tests> 2026/08/27 09:35:57 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:35:57 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:35:57 WARN Failed to register uploaded object key=log/lnw2qr2aa61ig0h7fmgqg39w86agvzfj-test-script.drv error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> === NAME TestClientMultipleUploads
niks3-go-unit-tests> client_integration_test.go:338: Created store path 0: /nix/var/nix/builds/nix-28356-531849286/TestClientMultipleUploads697949007/001/store/s3pd27as4l281nvs55vmwszknhl1zxi7-test-file-0.txt
niks3-go-unit-tests> 2026/08/27 09:35:57 WARN Failed to register uploaded object key=dz8gwf1j0f93sm2vsknizjiaxski2xlb.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:35:57 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign
niks3-go-unit-tests> 2026/08/27 09:35:57 INFO Signed narinfos id=1 count=1
niks3-go-unit-tests> 2026/08/27 09:35:57 INFO Uploading 1 narinfos
niks3-go-unit-tests> 2026/08/27 09:35:57 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:35:57 WARN Failed to register uploaded object key=dz8gwf1j0f93sm2vsknizjiaxski2xlb.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:35:57 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete
niks3-go-unit-tests> 2026/08/27 09:35:57 INFO Completed upload id=1
niks3-go-unit-tests> 2026/08/27 09:35:57 INFO Upload complete. (216ms)
niks3-go-unit-tests> 2026/08/27 09:35:57 INFO Uploading 1 paths to 127.0.0.1 (0 already cached)
niks3-go-unit-tests> 2026/08/27 09:35:57 INFO Uploading warhaz5zwcizjihdrvvbsxvnhy71304b-pinned-file.txt (128B)
niks3-go-unit-tests> client_integration_test.go:338: Created store path 1: /nix/var/nix/builds/nix-28356-531849286/TestClientMultipleUploads697949007/001/store/cpz2ljcvgsy3b1bz6hi8sglg7nr8ryyd-test-file-1.txt
niks3-go-unit-tests> === NAME TestClientWithDependencies
niks3-go-unit-tests> client_integration_test.go:597: Skipping nix copy test - isolated store (/nix/var/nix/builds/nix-28356-531849286/TestClientWithDependencies3309023327/001/store) requires matching store prefix
niks3-go-unit-tests> === NAME TestClientCADerivations
niks3-go-unit-tests> client_ca_test.go:136: Built CA derivation: /nix/var/nix/builds/nix-28356-531849286/TestClientCADerivations2996432280/001/store/waz40055w2mrvnmhd2jrsrkvalg7j48i-ca-test
niks3-go-unit-tests> 2026/08/27 09:35:57 WARN Failed to register uploaded object key=nar/0qmhsg42pqsz7x6hh02j8gznnac3yi3qpjhrqbwvz88i194jbb5s.nar.zst error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> --- PASS: TestCacheStatsHandler (1.85s)
niks3-go-unit-tests> === CONT TestReadProxyRootRedirectsToIndexHTML
niks3-go-unit-tests> --- PASS: TestClientWithDependencies (2.13s)
niks3-go-unit-tests> === CONT TestReadProxyConditionalGet
niks3-go-unit-tests> === NAME TestClientMultipleUploads
niks3-go-unit-tests> client_integration_test.go:338: Created store path 2: /nix/var/nix/builds/nix-28356-531849286/TestClientMultipleUploads697949007/001/store/i6ip4cmzn5k262icxx543bwka6xsdl97-test-file-2.txt
niks3-go-unit-tests> 2026/08/27 09:35:57 WARN Failed to register uploaded object key=warhaz5zwcizjihdrvvbsxvnhy71304b.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:35:57 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign
niks3-go-unit-tests> 2026/08/27 09:35:57 INFO Signed narinfos id=1 count=1
niks3-go-unit-tests> 2026/08/27 09:35:57 INFO Uploading 1 narinfos
niks3-go-unit-tests> === NAME TestClientCADerivations
niks3-go-unit-tests> client_ca_test.go:139: Found 1 dependencies (including self)
niks3-go-unit-tests> 2026/08/27 09:35:57 WARN Failed to register uploaded object key=warhaz5zwcizjihdrvvbsxvnhy71304b.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:35:57 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete
niks3-go-unit-tests> === NAME TestClientIntegration
niks3-go-unit-tests> client_integration_test.go:276: Created store path: /nix/var/nix/builds/nix-28356-531849286/TestClientIntegration3469711199/002/store/s0czjl1s8sacgwa8z6lkk8br9497q68d-test-file.txt
niks3-go-unit-tests> 2026/08/27 09:35:57 INFO Completed upload id=1
niks3-go-unit-tests> 2026/08/27 09:35:57 INFO Upload complete. (274ms)
niks3-go-unit-tests> 2026/08/27 09:35:57 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:35:57 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:35:57 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:35:57 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:35:57 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:35:57 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:35:57 INFO Uploading 3 paths to 127.0.0.1 (0 already cached)
niks3-go-unit-tests> 2026/08/27 09:35:57 INFO Uploading i6ip4cmzn5k262icxx543bwka6xsdl97-test-file-2.txt (160B)
niks3-go-unit-tests> 2026/08/27 09:35:57 INFO Uploading s3pd27as4l281nvs55vmwszknhl1zxi7-test-file-0.txt (160B)
niks3-go-unit-tests> 2026/08/27 09:35:57 INFO Uploading cpz2ljcvgsy3b1bz6hi8sglg7nr8ryyd-test-file-1.txt (160B)
niks3-go-unit-tests> 2026/08/27 09:35:57 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:35:57 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:35:57 INFO Uploading 1 paths to 127.0.0.1 (0 already cached)
niks3-go-unit-tests> 2026/08/27 09:35:57 INFO Uploading waz40055w2mrvnmhd2jrsrkvalg7j48i-ca-test (144B)
niks3-go-unit-tests> 2026/08/27 09:35:57 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:35:57 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:35:57 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:35:57 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:35:57 INFO Uploading 1 paths to 127.0.0.1 (0 already cached)
niks3-go-unit-tests> 2026/08/27 09:35:57 INFO Uploading jnbmpd5zylnm836barrh3rskrqvflxh8-unpinned-file.txt (128B)
niks3-go-unit-tests> 2026/08/27 09:35:57 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:35:58 WARN Failed to register uploaded object key=log/qvvcscqgnzpig1mww6j9ihd82nymnfgf-ca-test.drv error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:35:58 WARN Failed to register uploaded object key=s3pd27as4l281nvs55vmwszknhl1zxi7.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:35:58 WARN Failed to register uploaded object key=i6ip4cmzn5k262icxx543bwka6xsdl97.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:35:58 WARN Failed to register uploaded object key=cpz2ljcvgsy3b1bz6hi8sglg7nr8ryyd.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Signed narinfos id=1 count=1
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Signed narinfos id=2 count=1
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Received sign narinfos request method=POST path=/api/pending_closures/3/sign
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Signed narinfos id=3 count=1
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Uploading 3 narinfos
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:35:58 WARN Failed to register uploaded object key=waz40055w2mrvnmhd2jrsrkvalg7j48i.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Signed narinfos id=1 count=1
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Uploading 1 narinfos
niks3-go-unit-tests> 2026/08/27 09:35:58 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:35:58 INFO Uploading 1 paths to 127.0.0.1 (0 already cached)
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Uploading s0czjl1s8sacgwa8z6lkk8br9497q68d-test-file.txt (152B)
niks3-go-unit-tests> 2026/08/27 09:35:58 WARN Failed to register uploaded object key=s3pd27as4l281nvs55vmwszknhl1zxi7.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:35:58 WARN Failed to register uploaded object key=cpz2ljcvgsy3b1bz6hi8sglg7nr8ryyd.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:35:58 WARN Failed to register uploaded object key=i6ip4cmzn5k262icxx543bwka6xsdl97.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete
niks3-go-unit-tests> 2026/08/27 09:35:58 WARN Failed to register uploaded object key=waz40055w2mrvnmhd2jrsrkvalg7j48i.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Completed upload id=1
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Completed upload id=2
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Received complete upload request method=POST path=/api/pending_closures/3/complete
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Completed upload id=3
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Upload complete. (330ms)
niks3-go-unit-tests> === NAME TestClientMultipleUploads
niks3-go-unit-tests> client_integration_test.go:349: Uploaded 3 paths in 360.202959ms
niks3-go-unit-tests> 2026/08/27 09:35:58 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:35:58 WARN Failed to register uploaded object key=jnbmpd5zylnm836barrh3rskrqvflxh8.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Signed narinfos id=2 count=1
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Uploading 1 narinfos
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Completed upload id=1
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Upload complete. (308ms)
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-28356-531849286/TestClientCADerivations2996432280/001/store/waz40055w2mrvnmhd2jrsrkvalg7j48i-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-28356-531849286/TestClientCADerivations2996432280/001/store/qvvcscqgnzpig1mww6j9ihd82nymnfgf-ca-test.drv
niks3-go-unit-tests> CA: fixed:r:sha256:04jj7iiy79vhzp5kk3r2751n9x3xa44j98y5bk1ds4jp31kky74n
niks3-go-unit-tests> client_ca_test.go:185: Checking for realisation files in S3...
niks3-go-unit-tests> client_ca_test.go:207: No realisation files uploaded - this is expected for locally built CA derivations
niks3-go-unit-tests> client_ca_test.go:208: Locally built CA derivations don't have DrvOutput IDs until they're substituted from a cache
niks3-go-unit-tests> 2026/08/27 09:35:58 WARN Failed to register uploaded object key=s0czjl1s8sacgwa8z6lkk8br9497q68d.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Signed narinfos id=1 count=1
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Uploading 1 narinfos
niks3-go-unit-tests> 2026/08/27 09:35:58 WARN Failed to register uploaded object key=jnbmpd5zylnm836barrh3rskrqvflxh8.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Completed upload id=2
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Upload complete. (304ms)
niks3-go-unit-tests> 2026-08-27 09:35:58.184 UTC [28704] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:58.184 UTC [28704] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:35:58 WARN Failed to register uploaded object key=s0czjl1s8sacgwa8z6lkk8br9497q68d.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete
niks3-go-unit-tests> --- PASS: TestClientMultipleUploads (2.50s)
niks3-go-unit-tests> === CONT TestOrphanedObjectsGC
niks3-go-unit-tests> === NAME TestClientCADerivations
niks3-go-unit-tests> client_ca_test.go:258: nix copy output: error: binary cache 's3://bucket19?endpoint=http://localhost:51504®ion=eu-west-1' is for Nix stores with prefix '/nix/store', not '/nix/var/nix/builds/nix-28356-531849286/TestClientCADerivations2996432280/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:35:58 INFO Received create pin request method=POST path=/api/pins/myapp
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Completed upload id=1
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Upload complete. (362ms)
niks3-go-unit-tests> === NAME TestClientIntegration
niks3-go-unit-tests> client_integration_test.go:292: Retrieved narinfo from S3:
niks3-go-unit-tests> StorePath: /nix/var/nix/builds/nix-28356-531849286/TestClientIntegration3469711199/002/store/s0czjl1s8sacgwa8z6lkk8br9497q68d-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:35:58 INFO Created/updated pin name=myapp store_path=/nix/var/nix/builds/nix-28356-531849286/TestPinProtectsFromGC3808044799/001/store/warhaz5zwcizjihdrvvbsxvnhy71304b-pinned-file.txt narinfo_key=warhaz5zwcizjihdrvvbsxvnhy71304b.narinfo
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Starting cleanup of old closures method=DELETE path=/api/closures
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Garbage collection started
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Aborted multipart uploads count=0
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Starting cleanup of old closures method=DELETE path=/api/closures
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Garbage collection started
niks3-go-unit-tests> 2026/08/27 09:35:58 WARN Force mode enabled - objects will be deleted immediately without grace period
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Aborted multipart uploads count=0
niks3-go-unit-tests> 2026/08/27 09:35:58 WARN Force mode enabled - objects will be deleted immediately without grace period
niks3-go-unit-tests> --- PASS: TestClientCADerivations (2.57s)
niks3-go-unit-tests> === CONT TestOrphanedObjectsGCStressTest
niks3-go-unit-tests> 2026-08-27 09:35:58.281 UTC [28717] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:58.281 UTC [28717] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 20241026095416_initial_model.sql (78.1ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 20251210153512_drop_unused_gin_index.sql (5.85ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 20251218171726_add_pins.sql (2.58ms)
niks3-go-unit-tests> 2026-08-27 09:35:58.313 UTC [28718] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:58.313 UTC [28718] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:35:58.323 UTC [28719] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:58.323 UTC [28719] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 20260628120000_add_object_size_and_stats.sql (34.86ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 1_commit_pending_closure.sql (3.19ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 2_object_stats_trigger.sql (644.42µs)
niks3-go-unit-tests> 2026/08/27 09:35:58 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:35:58 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:35:58 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:35:58 OK 20241026095416_initial_model.sql (66.11ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 20251210153512_drop_unused_gin_index.sql (7.38ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Vacuumed table table=pending_closures
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Vacuumed table table=pending_closures
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Vacuumed table table=pending_objects
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Vacuumed table table=multipart_uploads
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 20251218171726_add_pins.sql (33.78ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Vacuumed table table=pending_objects
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Vacuumed table table=multipart_uploads
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 20260628120000_add_object_size_and_stats.sql (19.68ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Vacuumed table table=closures
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Vacuumed table table=closures
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 1_commit_pending_closure.sql (4.62ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 2_object_stats_trigger.sql (203.5µs)
niks3-go-unit-tests> 2026/08/27 09:35:58 goose: up to current file version: 2
niks3-go-unit-tests> --- PASS: TestReadProxyHead (1.83s)
niks3-go-unit-tests> === CONT TestService_AuthMiddleware_MTLSProxyHeader
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 20241026095416_initial_model.sql (162.84ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Vacuumed table table=objects
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 20241026095416_initial_model.sql (163.24ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 INFO Vacuumed table table=objects
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 20251210153512_drop_unused_gin_index.sql (4.69ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 20251210153512_drop_unused_gin_index.sql (4.38ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 20251218171726_add_pins.sql (16.98ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 20251218171726_add_pins.sql (29.66ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 20260628120000_add_object_size_and_stats.sql (29.04ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 20260628120000_add_object_size_and_stats.sql (16.47ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 goose: successfully migrated database to version: 20260628120000
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 TestService_AuthMiddleware_MTLSBoundSubjects
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 1_commit_pending_closure.sql (6.05ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 1_commit_pending_closure.sql (7.17ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 2_object_stats_trigger.sql (1.22ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 2_object_stats_trigger.sql (1.2ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:35:58 WARN mTLS auth: subject not in bound subjects subject="CN=writer"
niks3-go-unit-tests> --- PASS: TestService_ReadAuthMiddleware (1.62s)
niks3-go-unit-tests> === CONT TestObjectStatsTrigger
niks3-go-unit-tests> --- PASS: TestReadProxyDisabled (1.68s)
niks3-go-unit-tests> === CONT TestReadProxy404
niks3-go-unit-tests> 2026-08-27 09:35:58.772 UTC [28732] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:58.772 UTC [28732] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 20241026095416_initial_model.sql (7.05ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 20251210153512_drop_unused_gin_index.sql (410.58µs)
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 20251218171726_add_pins.sql (730.29µs)
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 20260628120000_add_object_size_and_stats.sql (3.17ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 1_commit_pending_closure.sql (899.13µs)
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 2_object_stats_trigger.sql (210.29µs)
niks3-go-unit-tests> 2026/08/27 09:35:58 goose: up to current file version: 2
niks3-go-unit-tests> 2026-08-27 09:35:58.925 UTC [28733] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:58.925 UTC [28733] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> --- PASS: TestReadProxyConditionalGet (1.17s)
niks3-go-unit-tests> === CONT TestReadProxyInvalidPath
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 20241026095416_initial_model.sql (8.38ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 20251210153512_drop_unused_gin_index.sql (3.95ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 20251218171726_add_pins.sql (803.25µs)
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 20260628120000_add_object_size_and_stats.sql (12.85ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 1_commit_pending_closure.sql (1.56ms)
niks3-go-unit-tests> 2026/08/27 09:35:58 OK 2_object_stats_trigger.sql (559.25µs)
niks3-go-unit-tests> 2026/08/27 09:35:58 goose: up to current file version: 2
niks3-go-unit-tests> --- PASS: TestReadProxyRootRedirectsToIndexHTML (1.36s)
niks3-go-unit-tests> === CONT TestCompleteMultipartUploadHandler_RateLimitTriggersThrottle
niks3-go-unit-tests> 2026-08-27 09:35:59.167 UTC [28738] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:59.167 UTC [28738] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:35:59.167 UTC [28739] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:59.167 UTC [28739] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:35:59 OK 20241026095416_initial_model.sql (24.63ms)
niks3-go-unit-tests> 2026/08/27 09:35:59 OK 20241026095416_initial_model.sql (25.13ms)
niks3-go-unit-tests> 2026/08/27 09:35:59 OK 20251210153512_drop_unused_gin_index.sql (1.13ms)
niks3-go-unit-tests> 2026/08/27 09:35:59 OK 20251210153512_drop_unused_gin_index.sql (586.42µs)
niks3-go-unit-tests> 2026/08/27 09:35:59 OK 20251218171726_add_pins.sql (3.91ms)
niks3-go-unit-tests> 2026/08/27 09:35:59 OK 20251218171726_add_pins.sql (3.67ms)
niks3-go-unit-tests> 2026/08/27 09:35:59 OK 20260628120000_add_object_size_and_stats.sql (22.03ms)
niks3-go-unit-tests> 2026/08/27 09:35:59 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:59 OK 20260628120000_add_object_size_and_stats.sql (22.09ms)
niks3-go-unit-tests> 2026/08/27 09:35:59 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:59 OK 1_commit_pending_closure.sql (1.2ms)
niks3-go-unit-tests> 2026/08/27 09:35:59 OK 1_commit_pending_closure.sql (1.24ms)
niks3-go-unit-tests> 2026/08/27 09:35:59 OK 2_object_stats_trigger.sql (223.25µs)
niks3-go-unit-tests> 2026/08/27 09:35:59 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:35:59 OK 2_object_stats_trigger.sql (236.83µs)
niks3-go-unit-tests> 2026/08/27 09:35:59 goose: up to current file version: 2
niks3-go-unit-tests> 2026-08-27 09:35:59.500 UTC [28740] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:59.500 UTC [28740] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:35:59 OK 20241026095416_initial_model.sql (100.7ms)
niks3-go-unit-tests> 2026/08/27 09:35:59 OK 20251210153512_drop_unused_gin_index.sql (1.28ms)
niks3-go-unit-tests> 2026/08/27 09:35:59 OK 20251218171726_add_pins.sql (22.41ms)
niks3-go-unit-tests> 2026-08-27 09:35:59.679 UTC [28741] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:59.679 UTC [28741] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:35:59 OK 20260628120000_add_object_size_and_stats.sql (26.57ms)
niks3-go-unit-tests> 2026/08/27 09:35:59 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:35:59 OK 1_commit_pending_closure.sql (1.55ms)
niks3-go-unit-tests> 2026/08/27 09:35:59 OK 2_object_stats_trigger.sql (197.38µs)
niks3-go-unit-tests> 2026/08/27 09:35:59 goose: up to current file version: 2
niks3-go-unit-tests> 2026-08-27 09:35:59.820 UTC [28742] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:59.820 UTC [28742] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> --- PASS: TestService_AuthMiddleware_MTLSProxyHeader (1.36s)
niks3-go-unit-tests> === CONT TestReadProxyNarStreaming
niks3-go-unit-tests> 2026/08/27 09:35:59 OK 20241026095416_initial_model.sql (189.32ms)
niks3-go-unit-tests> 2026/08/27 09:35:59 OK 20251210153512_drop_unused_gin_index.sql (1.05ms)
niks3-go-unit-tests> 2026-08-27 09:35:59.924 UTC [28747] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:35:59.924 UTC [28747] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:35:59 OK 20251218171726_add_pins.sql (38.84ms)
niks3-go-unit-tests> 2026/08/27 09:35:59 OK 20241026095416_initial_model.sql (114.12ms)
niks3-go-unit-tests> 2026/08/27 09:35:59 OK 20260628120000_add_object_size_and_stats.sql (35.94ms)
niks3-go-unit-tests> 2026/08/27 09:35:59 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:36:00 OK 1_commit_pending_closure.sql (1.7ms)
niks3-go-unit-tests> 2026/08/27 09:36:00 OK 2_object_stats_trigger.sql (292.46µs)
niks3-go-unit-tests> 2026/08/27 09:36:00 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:36:00 OK 20251210153512_drop_unused_gin_index.sql (14.53ms)
niks3-go-unit-tests> 2026/08/27 09:36:00 OK 20251218171726_add_pins.sql (34.88ms)
niks3-go-unit-tests> 2026/08/27 09:36:00 OK 20260628120000_add_object_size_and_stats.sql (37.18ms)
niks3-go-unit-tests> 2026/08/27 09:36:00 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:36:00 OK 1_commit_pending_closure.sql (1.58ms)
niks3-go-unit-tests> 2026/08/27 09:36:00 OK 2_object_stats_trigger.sql (242.46µs)
niks3-go-unit-tests> 2026/08/27 09:36:00 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:36:00 WARN mTLS auth: subject not in bound subjects subject="CN=untrusted,O=Other"
niks3-go-unit-tests> 2026/08/27 09:36:00 WARN mTLS auth: bound subjects configured but subject DN unavailable
niks3-go-unit-tests> 2026/08/27 09:36:00 WARN mTLS auth: subject not in bound subjects subject="CN=untrusted"
niks3-go-unit-tests> --- PASS: TestService_AuthMiddleware_MTLSBoundSubjects (1.60s)
niks3-go-unit-tests> === CONT TestUploadHandlersRejectOversizedBody
niks3-go-unit-tests> 2026/08/27 09:36:00 OK 20241026095416_initial_model.sql (235.08ms)
niks3-go-unit-tests> 2026/08/27 09:36:00 OK 20251210153512_drop_unused_gin_index.sql (15.91ms)
niks3-go-unit-tests> === RUN TestUploadHandlersRejectOversizedBody/create_pending_closure
niks3-go-unit-tests> === PAUSE TestUploadHandlersRejectOversizedBody/create_pending_closure
niks3-go-unit-tests> === RUN TestUploadHandlersRejectOversizedBody/complete_multipart
niks3-go-unit-tests> === PAUSE TestUploadHandlersRejectOversizedBody/complete_multipart
niks3-go-unit-tests> === RUN TestUploadHandlersRejectOversizedBody/request_more_parts
niks3-go-unit-tests> === PAUSE TestUploadHandlersRejectOversizedBody/request_more_parts
niks3-go-unit-tests> === CONT TestUploadHandlersRejectInvalidKeys
niks3-go-unit-tests> === RUN TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_nix-cache-info
niks3-go-unit-tests> === PAUSE TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_nix-cache-info
niks3-go-unit-tests> === RUN TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_path_traversal
niks3-go-unit-tests> === PAUSE TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_path_traversal
niks3-go-unit-tests> === RUN TestUploadHandlersRejectInvalidKeys/complete_multipart_rejects_non-NAR_key
niks3-go-unit-tests> === PAUSE TestUploadHandlersRejectInvalidKeys/complete_multipart_rejects_non-NAR_key
niks3-go-unit-tests> === RUN TestUploadHandlersRejectInvalidKeys/request_more_parts_rejects_non-NAR_key
niks3-go-unit-tests> === PAUSE TestUploadHandlersRejectInvalidKeys/request_more_parts_rejects_non-NAR_key
niks3-go-unit-tests> === CONT TestService_verifyS3Integrity
niks3-go-unit-tests> 2026/08/27 09:36:00 OK 20251218171726_add_pins.sql (24.88ms)
niks3-go-unit-tests> 2026/08/27 09:36:00 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:36:00 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> 2026/08/27 09:36:00 OK 20260628120000_add_object_size_and_stats.sql (39.19ms)
niks3-go-unit-tests> 2026/08/27 09:36:00 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:36:00 OK 1_commit_pending_closure.sql (8.15ms)
niks3-go-unit-tests> 2026/08/27 09:36:00 OK 2_object_stats_trigger.sql (339µs)
niks3-go-unit-tests> 2026/08/27 09:36:00 goose: up to current file version: 2
niks3-go-unit-tests> --- PASS: TestClientIntegration (4.43s)
niks3-go-unit-tests> === CONT TestIsValidUploadKey
niks3-go-unit-tests> === RUN TestIsValidUploadKey/narinfo
niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/narinfo
niks3-go-unit-tests> === RUN TestIsValidUploadKey/nar_zst
niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/nar_zst
niks3-go-unit-tests> === RUN TestIsValidUploadKey/nar_xz
niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/nar_xz
niks3-go-unit-tests> === RUN TestIsValidUploadKey/nar_plain
niks3-go-unit-tests> === 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> === RUN TestIsValidUploadKey/traversal
niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/traversal
niks3-go-unit-tests> === RUN TestIsValidUploadKey/traversal_nar
niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/traversal_nar
niks3-go-unit-tests> === RUN TestIsValidUploadKey/absolute
niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/absolute
niks3-go-unit-tests> === RUN TestIsValidUploadKey/empty_key
niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/empty_key
niks3-go-unit-tests> === RUN TestIsValidUploadKey/unknown_type
niks3-go-unit-tests> === PAUSE TestIsValidUploadKey/unknown_type
niks3-go-unit-tests> === CONT TestPresignedUploadRegisteredBeforeCommit
niks3-go-unit-tests> --- PASS: TestPinProtectsFromGC (4.87s)
niks3-go-unit-tests> === CONT TestService_createPendingClosureHandler
niks3-go-unit-tests> --- PASS: TestObjectStatsTrigger (1.68s)
niks3-go-unit-tests> === CONT TestProxyWriteTimeout
niks3-go-unit-tests> === RUN TestProxyWriteTimeout/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> === RUN TestProxyWriteTimeout/10_GiB_nar
niks3-go-unit-tests> === PAUSE TestProxyWriteTimeout/10_GiB_nar
niks3-go-unit-tests> === RUN TestProxyWriteTimeout/unknown_size
niks3-go-unit-tests> === PAUSE TestProxyWriteTimeout/unknown_size
niks3-go-unit-tests> === CONT TestSkippedUploadsHandler
niks3-go-unit-tests> 2026/08/27 09:36:00 INFO Client skipped oversized paths paths=3 nar_bytes=5000000000
niks3-go-unit-tests> --- PASS: TestSkippedUploadsHandler (0.00s)
niks3-go-unit-tests> === CONT TestService_cleanupPendingClosuresHandler
niks3-go-unit-tests> 2026-08-27 09:36:00.364 UTC [28753] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:36:00.364 UTC [28753] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
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.18s)
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> --- PASS: TestReadProxy404 (1.75s)
niks3-go-unit-tests> === CONT TestCompleteMultipartUpload_ErrorButObjectExists
niks3-go-unit-tests> 2026/08/27 09:36:00 OK 20241026095416_initial_model.sql (152.02ms)
niks3-go-unit-tests> 2026/08/27 09:36:00 OK 20251210153512_drop_unused_gin_index.sql (6.61ms)
niks3-go-unit-tests> 2026/08/27 09:36:00 OK 20251218171726_add_pins.sql (31.56ms)
niks3-go-unit-tests> 2026/08/27 09:36:00 OK 20260628120000_add_object_size_and_stats.sql (45.31ms)
niks3-go-unit-tests> 2026/08/27 09:36:00 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:36:00 OK 1_commit_pending_closure.sql (13.73ms)
niks3-go-unit-tests> 2026/08/27 09:36:00 OK 2_object_stats_trigger.sql (641.54µs)
niks3-go-unit-tests> 2026/08/27 09:36:00 goose: up to current file version: 2
niks3-go-unit-tests> 2026-08-27 09:36:00.742 UTC [28764] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:36:00.742 UTC [28764] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> --- PASS: TestReadProxyInvalidPath (1.92s)
niks3-go-unit-tests> === CONT TestRedundantMultipartUpload
niks3-go-unit-tests> 2026/08/27 09:36:00 OK 20241026095416_initial_model.sql (122.88ms)
niks3-go-unit-tests> 2026/08/27 09:36:00 OK 20251210153512_drop_unused_gin_index.sql (8.57ms)
niks3-go-unit-tests> 2026/08/27 09:36:00 OK 20251218171726_add_pins.sql (18.59ms)
niks3-go-unit-tests> 2026/08/27 09:36:00 OK 20260628120000_add_object_size_and_stats.sql (26.39ms)
niks3-go-unit-tests> 2026/08/27 09:36:00 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:36:01 OK 1_commit_pending_closure.sql (14.82ms)
niks3-go-unit-tests> 2026/08/27 09:36:01 OK 2_object_stats_trigger.sql (942.58µs)
niks3-go-unit-tests> 2026/08/27 09:36:01 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:36:01 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:36:01 INFO Received complete multipart upload request method=POST path=/api/multipart/complete
niks3-go-unit-tests> 2026-08-27 09:36:01.864 UTC [28769] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:36:01.864 UTC [28769] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20241026095416_initial_model.sql (129.98ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20251210153512_drop_unused_gin_index.sql (9.4ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20251218171726_add_pins.sql (18.14ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20260628120000_add_object_size_and_stats.sql (28.83ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 1_commit_pending_closure.sql (10.81ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 2_object_stats_trigger.sql (2.67ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 goose: up to current file version: 2
niks3-go-unit-tests> 2026-08-27 09:36:02.118 UTC [28770] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:36:02.118 UTC [28770] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> --- PASS: TestReadProxyNarStreaming (2.50s)
niks3-go-unit-tests> === CONT TestCompletedNarNotReofferedAcrossClosures
niks3-go-unit-tests> 2026-08-27 09:36:02.383 UTC [28771] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:36:02.383 UTC [28771] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-27 09:36:02.395 UTC [28772] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:36:02.395 UTC [28772] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20241026095416_initial_model.sql (209.28ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20251210153512_drop_unused_gin_index.sql (3.57ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20251218171726_add_pins.sql (14ms)
niks3-go-unit-tests> 2026-08-27 09:36:02.422 UTC [28775] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:36:02.422 UTC [28775] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20260628120000_add_object_size_and_stats.sql (15.73ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026-08-27 09:36:02.430 UTC [28776] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:36:02.430 UTC [28776] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 1_commit_pending_closure.sql (14.74ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 2_object_stats_trigger.sql (526.54µs)
niks3-go-unit-tests> 2026/08/27 09:36:02 goose: up to current file version: 2
niks3-go-unit-tests> 2026-08-27 09:36:02.450 UTC [28777] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:36:02.450 UTC [28777] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20241026095416_initial_model.sql (208.55ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20251210153512_drop_unused_gin_index.sql (9.98ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20241026095416_initial_model.sql (235.6ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20251218171726_add_pins.sql (38.01ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20251210153512_drop_unused_gin_index.sql (13.02ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20260628120000_add_object_size_and_stats.sql (37.23ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 1_commit_pending_closure.sql (5.96ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 2_object_stats_trigger.sql (2.92ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20251218171726_add_pins.sql (41.24ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20241026095416_initial_model.sql (235.44ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20251210153512_drop_unused_gin_index.sql (12.8ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20241026095416_initial_model.sql (237.52ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20251210153512_drop_unused_gin_index.sql (10.03ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20260628120000_add_object_size_and_stats.sql (38.13ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20251218171726_add_pins.sql (25.61ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 1_commit_pending_closure.sql (3.04ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 2_object_stats_trigger.sql (559.46µs)
niks3-go-unit-tests> 2026/08/27 09:36:02 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20241026095416_initial_model.sql (238.91ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20251210153512_drop_unused_gin_index.sql (13.39ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20260628120000_add_object_size_and_stats.sql (61.71ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20251218171726_add_pins.sql (64.44ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 1_commit_pending_closure.sql (17.59ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 2_object_stats_trigger.sql (759.25µs)
niks3-go-unit-tests> 2026/08/27 09:36:02 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20251218171726_add_pins.sql (75.49ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20260628120000_add_object_size_and_stats.sql (63.32ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 1_commit_pending_closure.sql (22.72ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 2_object_stats_trigger.sql (1.15ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 20260628120000_add_object_size_and_stats.sql (68.46ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 1_commit_pending_closure.sql (21.87ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:36:02 OK 2_object_stats_trigger.sql (1.41ms)
niks3-go-unit-tests> 2026/08/27 09:36:02 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:36:03 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:36:03 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:36:03 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:36:03 INFO Registered completed upload object_key=nar/jjjjjjjjjjjjjjjjjjjjjjjjjjjjjj0100000000000000000000.nar.zst
niks3-go-unit-tests> 2026/08/27 09:36:03 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> --- PASS: TestPresignedUploadRegisteredBeforeCommit (2.69s)
niks3-go-unit-tests> === CONT TestServerTLSConfig/no_client_CA
niks3-go-unit-tests> === CONT TestServerTLSConfig/not_a_PEM_file
niks3-go-unit-tests> === CONT TestServerTLSConfig/missing_CA_file
niks3-go-unit-tests> === CONT TestIsValidCachePath/narinfo
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.03s)
niks3-go-unit-tests> --- PASS: TestServerTLSConfig/missing_CA_file (0.00s)
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 TestClientErrorHandling/InvalidStorePath
niks3-go-unit-tests> --- PASS: TestService_Rustfstest (2.81s)
niks3-go-unit-tests> === CONT TestClientErrorHandling/ServerNotAvailable
niks3-go-unit-tests> 2026/08/27 09:36:03 INFO Received cleanup request method=DELETE path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:36:03 INFO Aborted multipart uploads count=0
niks3-go-unit-tests> 2026/08/27 09:36:03 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:36:03 INFO Received cleanup request method=DELETE path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:36:03 INFO Aborted multipart uploads count=1
niks3-go-unit-tests> 2026/08/27 09:36:03 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete
niks3-go-unit-tests> 2026-08-27 09:36:03.418 UTC [28776] ERROR: Closure does not exist: id=1
niks3-go-unit-tests> 2026-08-27 09:36:03.418 UTC [28776] CONTEXT: PL/pgSQL function commit_pending_closure(bigint) line 16 at RAISE
niks3-go-unit-tests> 2026-08-27 09:36:03.418 UTC [28776] 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 (3.06s)
niks3-go-unit-tests> === CONT TestClientErrorHandling/InvalidAuthToken
niks3-go-unit-tests> 2026/08/27 09:36:03 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026-08-27 09:36:03.424 UTC [28781] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:36:03.424 UTC [28781] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:36:03 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:36:03 INFO Received complete multipart upload request method=POST path=/api/multipart/complete
niks3-go-unit-tests> 2026/08/27 09:36:03 WARN CompleteMultipartUpload errored but object exists; treating as success error="The specified key does not exist." object_key=nar/gggggggggggggggggggggggggggggg0300000000000000000000.nar.zst upload_id=ZjliYmZhNzMtMTI1My00OWIzLTlmMjQtOGZjYzc1MzY3MzA2LjY2ZDc0ZjA4LTUxZWItNDcwMy1hMzI4LTFmZDhmMmYzZWRkYngxNzg3ODIzMzYzNDUwMzkwMDAw
niks3-go-unit-tests> 2026/08/27 09:36:03 INFO Completed multipart upload object_key=nar/gggggggggggggggggggggggggggggg0300000000000000000000.nar.zst upload_id=ZjliYmZhNzMtMTI1My00OWIzLTlmMjQtOGZjYzc1MzY3MzA2LjY2ZDc0ZjA4LTUxZWItNDcwMy1hMzI4LTFmZDhmMmYzZWRkYngxNzg3ODIzMzYzNDUwMzkwMDAw parts=1
niks3-go-unit-tests> --- PASS: TestCompleteMultipartUpload_ErrorButObjectExists (3.28s)
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 TestService_AuthMiddleware_OIDC/valid_OIDC_token
niks3-go-unit-tests> 2026/08/27 09:36:03 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:36:03 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:36:03 WARN Authentication failed token_preview=eyJhbGciOi...lijanJXZNQ 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> === CONT TestUploadHandlersRejectOversizedBody/create_pending_closure
niks3-go-unit-tests> 2026/08/27 09:36:03 INFO Received uploads request method=POST path=/
niks3-go-unit-tests> --- PASS: TestService_AuthMiddleware_OIDC (1.65s)
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:36:03 OK 20241026095416_initial_model.sql (242.11ms)
niks3-go-unit-tests> 2026/08/27 09:36:03 OK 20251210153512_drop_unused_gin_index.sql (9.69ms)
niks3-go-unit-tests> 2026/08/27 09:36:03 OK 20251218171726_add_pins.sql (40ms)
niks3-go-unit-tests> 2026/08/27 09:36:03 WARN Request failed, retrying attempt=2 max_attempts=6 backoff=182.007717ms 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:36:03 OK 20260628120000_add_object_size_and_stats.sql (25.95ms)
niks3-go-unit-tests> 2026/08/27 09:36:03 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:36:03 OK 1_commit_pending_closure.sql (1.33ms)
niks3-go-unit-tests> 2026/08/27 09:36:03 OK 2_object_stats_trigger.sql (402.04µs)
niks3-go-unit-tests> 2026/08/27 09:36:03 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:36:04 WARN Request failed, retrying attempt=3 max_attempts=6 backoff=427.919176ms 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> === CONT TestUploadHandlersRejectOversizedBody/request_more_parts
niks3-go-unit-tests> 2026/08/27 09:36:04 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:36:04 INFO Received complete multipart upload request method=POST path=/
niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectOversizedBody (0.04s)
niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectOversizedBody/create_pending_closure (0.27s)
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 TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_nix-cache-info
niks3-go-unit-tests> 2026/08/27 09:36:04 INFO Received uploads request method=POST path=/
niks3-go-unit-tests> === CONT TestUploadHandlersRejectInvalidKeys/complete_multipart_rejects_non-NAR_key
niks3-go-unit-tests> 2026/08/27 09:36:04 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:36:04 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:36:04 INFO Received request for more parts method=POST path=/
niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectInvalidKeys (0.00s)
niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_nix-cache-info (0.00s)
niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectInvalidKeys/complete_multipart_rejects_non-NAR_key (0.00s)
niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_path_traversal (0.00s)
niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectInvalidKeys/request_more_parts_rejects_non-NAR_key (0.00s)
niks3-go-unit-tests> === CONT TestIsValidUploadKey/narinfo
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_key,_narinfo_type
niks3-go-unit-tests> === CONT TestIsValidUploadKey/nar_xz
niks3-go-unit-tests> === CONT TestIsValidUploadKey/nar_zst
niks3-go-unit-tests> === CONT TestIsValidUploadKey/absolute
niks3-go-unit-tests> === CONT TestIsValidUploadKey/unknown_type
niks3-go-unit-tests> === CONT TestIsValidUploadKey/empty_key
niks3-go-unit-tests> === CONT TestIsValidUploadKey/traversal
niks3-go-unit-tests> === CONT TestIsValidUploadKey/traversal_nar
niks3-go-unit-tests> === CONT TestIsValidUploadKey/listing_key,_narinfo_type
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/narinfo (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_key,_narinfo_type (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> --- PASS: TestIsValidUploadKey/absolute (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/traversal (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/traversal_nar (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/listing_key,_narinfo_type (0.00s)
niks3-go-unit-tests> === CONT TestProxyWriteTimeout/narinfo
niks3-go-unit-tests> === CONT TestProxyWriteTimeout/10_GiB_nar
niks3-go-unit-tests> === CONT TestProxyWriteTimeout/unknown_size
niks3-go-unit-tests> === CONT TestProxyWriteTimeout/1_GiB_nar
niks3-go-unit-tests> --- PASS: TestProxyWriteTimeout (0.00s)
niks3-go-unit-tests> --- PASS: TestProxyWriteTimeout/narinfo (0.00s)
niks3-go-unit-tests> --- PASS: TestProxyWriteTimeout/10_GiB_nar (0.00s)
niks3-go-unit-tests> --- PASS: TestProxyWriteTimeout/unknown_size (0.00s)
niks3-go-unit-tests> --- PASS: TestProxyWriteTimeout/1_GiB_nar (0.00s)
niks3-go-unit-tests> 2026/08/27 09:36:04 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:36:04 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:36:04 INFO Received complete multipart upload request method=POST path=/api/multipart/complete
niks3-go-unit-tests> 2026/08/27 09:36:04 WARN Request failed, retrying attempt=4 max_attempts=6 backoff=759.050266ms 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:36:04 INFO Completed multipart upload object_key=nar/dadb44fdadb44fdadb44fdadb44f000000000000000000000000.nar.zst upload_id=ZjliYmZhNzMtMTI1My00OWIzLTlmMjQtOGZjYzc1MzY3MzA2LjlhYzBlMDQ1LWUyNmItNDIxOC1hYzZkLTUwMWI2MjhhOTEyZngxNzg3ODIzMzYyNjY2ODI3MDAw parts=10
niks3-go-unit-tests> 2026/08/27 09:36:04 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete
niks3-go-unit-tests> 2026/08/27 09:36:04 INFO Completed upload id=1
niks3-go-unit-tests> 2026/08/27 09:36:04 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:36:04 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:36:04 INFO Object in database but missing from S3 key=dadb44fdadb44fdadb44fdadb44f0000.narinfo
niks3-go-unit-tests> 2026/08/27 09:36:04 WARN Found objects in DB but missing from S3, will re-upload count=1
niks3-go-unit-tests> --- PASS: TestService_verifyS3Integrity (4.28s)
niks3-go-unit-tests> === NAME TestService_createPendingClosureHandler
niks3-go-unit-tests> uploads_test.go:307: unexpected error: Put "http://localhost:51504/bucket39/nar/0000000000000000000000000000000000000000000000000000.nar.zst?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=rustfsadmin%2F20260827%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260827T093603Z&X-Amz-Expires=18000&X-Amz-SignedHeaders=host&partNumber=10&uploadId=ZjliYmZhNzMtMTI1My00OWIzLTlmMjQtOGZjYzc1MzY3MzA2LjU0MDkwNGNhLWNjMmMtNDFiYy1hNzY2LWM0YzAwZjk3MzJmZHgxNzg3ODIzMzYzMDYxMzU5MDAw&X-Amz-Signature=aaa5fa047982fe00009fd2db9ad0ba4827b23908404566374a0a5cb119639f4d": context deadline exceeded
niks3-go-unit-tests>
niks3-go-unit-tests> --- FAIL: TestService_createPendingClosureHandler (4.34s)
niks3-go-unit-tests> 2026-08-27 09:36:05.051 UTC [28789] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:36:05.051 UTC [28789] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:36:05 WARN Request failed, retrying attempt=5 max_attempts=6 backoff=1.73061215s 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:36:05 OK 20241026095416_initial_model.sql (184.46ms)
niks3-go-unit-tests> 2026/08/27 09:36:05 OK 20251210153512_drop_unused_gin_index.sql (13.38ms)
niks3-go-unit-tests> 2026/08/27 09:36:05 OK 20251218171726_add_pins.sql (40.29ms)
niks3-go-unit-tests> 2026/08/27 09:36:05 OK 20260628120000_add_object_size_and_stats.sql (33.75ms)
niks3-go-unit-tests> 2026/08/27 09:36:05 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:36:05 OK 1_commit_pending_closure.sql (13.21ms)
niks3-go-unit-tests> 2026/08/27 09:36:05 OK 2_object_stats_trigger.sql (1.56ms)
niks3-go-unit-tests> 2026/08/27 09:36:05 goose: up to current file version: 2
niks3-go-unit-tests> 2026-08-27 09:36:05.550 UTC [28790] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:36:05.550 UTC [28790] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:36:05 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/27 09:36:05 OK 20241026095416_initial_model.sql (194.4ms)
niks3-go-unit-tests> 2026/08/27 09:36:05 OK 20251210153512_drop_unused_gin_index.sql (4.21ms)
niks3-go-unit-tests> 2026/08/27 09:36:05 OK 20251218171726_add_pins.sql (22.37ms)
niks3-go-unit-tests> 2026-08-27 09:36:05.851 UTC [28791] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-27 09:36:05.851 UTC [28791] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/27 09:36:05 OK 20260628120000_add_object_size_and_stats.sql (30.83ms)
niks3-go-unit-tests> 2026/08/27 09:36:05 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:36:05 OK 1_commit_pending_closure.sql (8.29ms)
niks3-go-unit-tests> 2026/08/27 09:36:05 OK 2_object_stats_trigger.sql (630.13µs)
niks3-go-unit-tests> 2026/08/27 09:36:05 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:36:05 INFO Received complete multipart upload request method=POST path=/api/multipart/complete
niks3-go-unit-tests> 2026/08/27 09:36:06 INFO Completed multipart upload object_key=nar/gggggggggggggggggggggggggggggg0100000000000000000000.nar.zst upload_id=ZjliYmZhNzMtMTI1My00OWIzLTlmMjQtOGZjYzc1MzY3MzA2LjgyZGMyMGY1LTY5ODEtNGEwNC1iNDdkLTM0ZTIwMTc4MjljMHgxNzg3ODIzMzY0MDg4MDIyMDAw parts=12
niks3-go-unit-tests> --- PASS: TestRedundantMultipartUpload (5.22s)
niks3-go-unit-tests> 2026/08/27 09:36:06 OK 20241026095416_initial_model.sql (209.97ms)
niks3-go-unit-tests> 2026/08/27 09:36:06 OK 20251210153512_drop_unused_gin_index.sql (3.74ms)
niks3-go-unit-tests> 2026/08/27 09:36:06 OK 20251218171726_add_pins.sql (11.31ms)
niks3-go-unit-tests> 2026/08/27 09:36:06 OK 20260628120000_add_object_size_and_stats.sql (24.11ms)
niks3-go-unit-tests> 2026/08/27 09:36:06 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/27 09:36:06 OK 1_commit_pending_closure.sql (10.1ms)
niks3-go-unit-tests> 2026/08/27 09:36:06 OK 2_object_stats_trigger.sql (297.38µs)
niks3-go-unit-tests> 2026/08/27 09:36:06 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/27 09:36:06 WARN Rate limiter enabled after throttle name=s3-test rate=5
niks3-go-unit-tests> 2026/08/27 09:36:06 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 (7.42s)
niks3-go-unit-tests> 2026/08/27 09:36:06 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:36:06 WARN Authentication failed token_preview=invalid-token token_length=13 reason="static API token mismatch"
niks3-go-unit-tests> 2026/08/27 09:36:06 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: sending request: request failed after retries: Get \"http://localhost:19999/api/cache-config\": dial tcp [::1]:19999: connect: connection refused"
niks3-go-unit-tests> 2026/08/27 09:36:07 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:36:07 INFO Received complete multipart upload request method=POST path=/api/multipart/complete
niks3-go-unit-tests> 2026/08/27 09:36:07 INFO Completed multipart upload object_key=nar/hhhhhhhhhhhhhhhhhhhhhhhhhhhhhh0100000000000000000000.nar.zst upload_id=ZjliYmZhNzMtMTI1My00OWIzLTlmMjQtOGZjYzc1MzY3MzA2LmIxMTU2Njk5LWExNmYtNDAwYi04MDkwLTA1Y2QxZDExZTk1ZngxNzg3ODIzMzY1NTgwMTQ5MDAw parts=12
niks3-go-unit-tests> 2026/08/27 09:36:07 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> --- PASS: TestCompletedNarNotReofferedAcrossClosures (4.72s)
niks3-go-unit-tests> 2026/08/27 09:36:07 WARN Request failed, retrying attempt=2 max_attempts=6 backoff=210.986202ms 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:36:07 WARN Request failed, retrying attempt=3 max_attempts=6 backoff=430.845862ms 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:36:07 WARN Request failed, retrying attempt=4 max_attempts=6 backoff=834.756923ms 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 (9.70s)
niks3-go-unit-tests> 2026/08/27 09:36:08 WARN Request failed, retrying attempt=5 max_attempts=6 backoff=1.446937533s 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 (3.08s)
niks3-go-unit-tests> --- PASS: TestClientErrorHandling/InvalidAuthToken (3.31s)
niks3-go-unit-tests> --- PASS: TestClientErrorHandling/ServerNotAvailable (6.86s)
niks3-go-unit-tests> FAIL
niks3-go-unit-tests> {"timestamp":"2026-08-27T09:36:10.049597Z","level":"ERROR","message":"HTTP transport failed","event":"http_transport_failed","component":"server","subsystem":"transport","peer_addr":"127.0.0.1:51692","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(4)"}
niks3-go-unit-tests> 2026-08-27 09:36:10.157 UTC [28433] LOG: received smart shutdown request
niks3-go-unit-tests> 2026-08-27 09:36:10.157 UTC [28433] LOG: background worker "logical replication launcher" (PID 28443) exited with exit code 1
niks3-go-unit-tests> 2026-08-27 09:36:10.169 UTC [28438] LOG: shutting down
niks3-go-unit-tests> 2026-08-27 09:36:10.169 UTC [28438] LOG: checkpoint starting: shutdown immediate
niks3-go-unit-tests> 2026-08-27 09:36:11.231 UTC [28438] LOG: checkpoint complete: wrote 13669 buffers (83.4%), wrote 3 SLRU buffers; 0 WAL file(s) added, 0 removed, 13 recycled; write=0.777 s, sync=0.284 s, total=1.063 s; sync files=15157, longest=0.029 s, average=0.001 s; distance=212371 kB, estimate=212371 kB; lsn=0/E6EFE38, redo lsn=0/E6EFE38
niks3-go-unit-tests> 2026-08-27 09:36:11.236 UTC [28433] LOG: database system is shut down
error: build of '/nix/store/ai94gkny2q9q0a91fzd6vvh2sjznyxjv-niks3-go-unit-tests.drv' on 'ssh-ng://customer@mac02' failed: Cannot build '/nix/store/ai94gkny2q9q0a91fzd6vvh2sjznyxjv-niks3-go-unit-tests.drv'.
Reason: builder failed with exit code 1.
Output paths:
/nix/store/f6n9wp9q0gncqk0b89n6dws34fgzlsq9-niks3-go-unit-tests
Last 25 log lines:
> --- PASS: TestCompletedNarNotReofferedAcrossClosures (4.72s)
> 2026/08/27 09:36:07 WARN Request failed, retrying attempt=2 max_attempts=6 backoff=210.986202ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures
> 2026/08/27 09:36:07 WARN Request failed, retrying attempt=3 max_attempts=6 backoff=430.845862ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures
> 2026/08/27 09:36:07 WARN Request failed, retrying attempt=4 max_attempts=6 backoff=834.756923ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures
> === NAME TestOrphanedObjectsGCStressTest
> orphaned_objects_gc_test.go:425: Created 10 active closures, 5 to-delete closures, 20 orphaned chains
> orphaned_objects_gc_test.go:446: Marked 210 objects for deletion
> orphaned_objects_gc_test.go:509: Stress test completed successfully:
> orphaned_objects_gc_test.go:510: - Active objects preserved: 20
> orphaned_objects_gc_test.go:511: - Objects deleted: 210
> orphaned_objects_gc_test.go:512: - Total GC'd: 210
> --- PASS: TestOrphanedObjectsGCStressTest (9.70s)
> 2026/08/27 09:36:08 WARN Request failed, retrying attempt=5 max_attempts=6 backoff=1.446937533s error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures
> --- PASS: TestClientErrorHandling (0.00s)
> --- PASS: TestClientErrorHandling/InvalidStorePath (3.08s)
> --- PASS: TestClientErrorHandling/InvalidAuthToken (3.31s)
> --- PASS: TestClientErrorHandling/ServerNotAvailable (6.86s)
> FAIL
> {"timestamp":"2026-08-27T09:36:10.049597Z","level":"ERROR","message":"HTTP transport failed","event":"http_transport_failed","component":"server","subsystem":"transport","peer_addr":"127.0.0.1:51692","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(4)"}
> 2026-08-27 09:36:10.157 UTC [28433] LOG: received smart shutdown request
> 2026-08-27 09:36:10.157 UTC [28433] LOG: background worker "logical replication launcher" (PID 28443) exited with exit code 1
> 2026-08-27 09:36:10.169 UTC [28438] LOG: shutting down
> 2026-08-27 09:36:10.169 UTC [28438] LOG: checkpoint starting: shutdown immediate
> 2026-08-27 09:36:11.231 UTC [28438] LOG: checkpoint complete: wrote 13669 buffers (83.4%), wrote 3 SLRU buffers; 0 WAL file(s) added, 0 removed, 13 recycled; write=0.777 s, sync=0.284 s, total=1.063 s; sync files=15157, longest=0.029 s, average=0.001 s; distance=212371 kB, estimate=212371 kB; lsn=0/E6EFE38, redo lsn=0/E6EFE38
> 2026-08-27 09:36:11.236 UTC [28433] LOG: database system is shut down
For full logs, run:
nix log /nix/store/ai94gkny2q9q0a91fzd6vvh2sjznyxjv-niks3-go-unit-tests.drv
error: Cannot build '/nix/store/ai94gkny2q9q0a91fzd6vvh2sjznyxjv-niks3-go-unit-tests.drv'.
Reason: builder failed with exit code 1.
Output paths:
/nix/store/f6n9wp9q0gncqk0b89n6dws34fgzlsq9-niks3-go-unit-tests