this derivation will be built:
/nix/store/q4jbzk7vw9fgx8pvygjkf49s6b44rfy2-niks3-go-unit-tests.drv
building '/nix/store/q4jbzk7vw9fgx8pvygjkf49s6b44rfy2-niks3-go-unit-tests.drv' on 'ssh-ng://customer@mac02'
building '/nix/store/q4jbzk7vw9fgx8pvygjkf49s6b44rfy2-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> === RUN TestFilterUpstreamClosure
niks3-go-unit-tests> === PAUSE TestFilterUpstreamClosure
niks3-go-unit-tests> === CONT TestDoServerRequestAttachesToken
niks3-go-unit-tests> === CONT TestFileTokenMissing
niks3-go-unit-tests> === CONT TestResolveStorePath
niks3-go-unit-tests> === CONT TestFileTokenReadsAndCaches
niks3-go-unit-tests> === CONT TestStaticToken
niks3-go-unit-tests> --- PASS: TestStaticToken (0.00s)
niks3-go-unit-tests> === CONT TestDoWithRetry_BodyReplayedViaGetBody
niks3-go-unit-tests> --- PASS: TestFileTokenMissing (0.00s)
niks3-go-unit-tests> === CONT TestParsePathInfoJSONMultiplePaths
niks3-go-unit-tests> === RUN TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths
niks3-go-unit-tests> === PAUSE TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths
niks3-go-unit-tests> === RUN TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths
niks3-go-unit-tests> === PAUSE TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths
niks3-go-unit-tests> === CONT TestSetClientTLSErrors
niks3-go-unit-tests> === CONT TestSetClientTLSDoesNotMutateDefaultTransport
niks3-go-unit-tests> === CONT TestSetClientTLS
niks3-go-unit-tests> === CONT TestShellSplitErrors
niks3-go-unit-tests> --- PASS: TestShellSplitErrors (0.00s)
niks3-go-unit-tests> === CONT TestRateLimiterFeedback
niks3-go-unit-tests> === RUN TestRateLimiterFeedback/429_enables_limiter
niks3-go-unit-tests> === PAUSE TestRateLimiterFeedback/429_enables_limiter
niks3-go-unit-tests> === CONT TestShellSplit
niks3-go-unit-tests> === CONT TestRateLimiterFeedback_400DoesNotCountAsSuccess
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> --- PASS: TestFileTokenReadsAndCaches (0.00s)
niks3-go-unit-tests> === CONT TestDumpPathMatchesNix
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> 2026/08/16 15:40:04 WARN Rate limiter enabled after throttle name=server-test rate=5
niks3-go-unit-tests> === PAUSE TestPathInfoCACompatibility/new_structured_format_-_text
niks3-go-unit-tests> === RUN TestPathInfoCACompatibility/new_structured_format_-_nar_method
niks3-go-unit-tests> === PAUSE TestPathInfoCACompatibility/new_structured_format_-_nar_method
niks3-go-unit-tests> === CONT 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 TestDumpPathWriterError
niks3-go-unit-tests> --- PASS: TestShellSplit (0.00s)
niks3-go-unit-tests> === CONT TestDumpPathSingleFile
niks3-go-unit-tests> --- PASS: TestResolveStorePath (0.00s)
niks3-go-unit-tests> === CONT TestPathInfoHashCompatibility
niks3-go-unit-tests> === RUN TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI)
niks3-go-unit-tests> === PAUSE TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI)
niks3-go-unit-tests> === RUN TestPathInfoHashCompatibility/old_string_format_with_colon
niks3-go-unit-tests> === PAUSE TestPathInfoHashCompatibility/old_string_format_with_colon
niks3-go-unit-tests> === RUN TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI
niks3-go-unit-tests> === PAUSE TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI
niks3-go-unit-tests> === RUN TestPathInfoHashCompatibility/new_structured_format_with_sha512
niks3-go-unit-tests> === PAUSE TestPathInfoHashCompatibility/new_structured_format_with_sha512
niks3-go-unit-tests> === CONT 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 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 TestPartSizeForNAR
niks3-go-unit-tests> === RUN TestPartSizeForNAR/zero_stays_at_minimum
niks3-go-unit-tests> === PAUSE TestPartSizeForNAR/zero_stays_at_minimum
niks3-go-unit-tests> === RUN TestPartSizeForNAR/small_stays_at_minimum
niks3-go-unit-tests> === PAUSE TestPartSizeForNAR/small_stays_at_minimum
niks3-go-unit-tests> === RUN TestPartSizeForNAR/80_GiB_fits_at_minimum
niks3-go-unit-tests> === PAUSE TestPartSizeForNAR/80_GiB_fits_at_minimum
niks3-go-unit-tests> === RUN TestPartSizeForNAR/115_GiB_needs_larger_parts
niks3-go-unit-tests> === PAUSE TestPartSizeForNAR/115_GiB_needs_larger_parts
niks3-go-unit-tests> === RUN TestPartSizeForNAR/1_TiB
niks3-go-unit-tests> === PAUSE TestPartSizeForNAR/1_TiB
niks3-go-unit-tests> === RUN TestPartSizeForNAR/5_TiB_S3_max_object
niks3-go-unit-tests> === PAUSE TestPartSizeForNAR/5_TiB_S3_max_object
niks3-go-unit-tests> === RUN TestPartSizeForNAR/capped_at_5_GiB
niks3-go-unit-tests> === PAUSE TestPartSizeForNAR/capped_at_5_GiB
niks3-go-unit-tests> === CONT TestUploadMultipart_SupersededByPeer
niks3-go-unit-tests> === RUN TestUploadMultipart_SupersededByPeer/exists
niks3-go-unit-tests> === PAUSE TestUploadMultipart_SupersededByPeer/exists
niks3-go-unit-tests> === RUN TestUploadMultipart_SupersededByPeer/missing
niks3-go-unit-tests> === PAUSE TestUploadMultipart_SupersededByPeer/missing
niks3-go-unit-tests> === CONT 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> 2026/08/16 15:40:04 WARN Rate limiter enabled after throttle name=server-test rate=5
niks3-go-unit-tests> === RUN TestFilterOversizedClosures/all_closures_skipped
niks3-go-unit-tests> === PAUSE TestFilterOversizedClosures/all_closures_skipped
niks3-go-unit-tests> === CONT TestCaseHackSuffix
niks3-go-unit-tests> 2026/08/16 15:40:04 WARN Request returned retryable status, retrying attempt=1 max_attempts=6 backoff=0s status=503 url=http://127.0.0.1:55973
niks3-go-unit-tests> --- PASS: TestDoServerRequestAttachesToken (0.00s)
niks3-go-unit-tests> === CONT TestConvertHashToNix32
niks3-go-unit-tests> === RUN TestConvertHashToNix32/SRI_format_to_Nix32
niks3-go-unit-tests> === PAUSE TestConvertHashToNix32/SRI_format_to_Nix32
niks3-go-unit-tests> === RUN TestConvertHashToNix32/already_Nix32_format
niks3-go-unit-tests> 2026/08/16 15:40:04 WARN Rate limiter backed off name=server-test rate=5
niks3-go-unit-tests> === PAUSE TestConvertHashToNix32/already_Nix32_format
niks3-go-unit-tests> 2026/08/16 15:40:04 WARN Request returned retryable status, retrying attempt=2 max_attempts=6 backoff=0s status=503 url=http://127.0.0.1:55973
niks3-go-unit-tests> === RUN TestConvertHashToNix32/invalid_format
niks3-go-unit-tests> === PAUSE TestConvertHashToNix32/invalid_format
niks3-go-unit-tests> === CONT TestScriptTokenBadJSON
niks3-go-unit-tests> --- PASS: TestDoWithRetry_BodyReplayedViaGetBody (0.01s)
niks3-go-unit-tests> === CONT TestFilterUpstreamClosure
niks3-go-unit-tests> === RUN TestFilterUpstreamClosure/empty_configuration_disables_filtering
niks3-go-unit-tests> === PAUSE TestFilterUpstreamClosure/empty_configuration_disables_filtering
niks3-go-unit-tests> === RUN TestFilterUpstreamClosure/signed_path_cuts_its_dependency_subtree
niks3-go-unit-tests> === PAUSE TestFilterUpstreamClosure/signed_path_cuts_its_dependency_subtree
niks3-go-unit-tests> === RUN TestFilterUpstreamClosure/separate_root_keeps_a_path_below_an_upstream_boundary
niks3-go-unit-tests> === PAUSE TestFilterUpstreamClosure/separate_root_keeps_a_path_below_an_upstream_boundary
niks3-go-unit-tests> === RUN TestFilterUpstreamClosure/signed_root_removes_its_whole_closure
niks3-go-unit-tests> === RUN TestSetClientTLSErrors/missing_cert_file
niks3-go-unit-tests> === PAUSE TestFilterUpstreamClosure/signed_root_removes_its_whole_closure
niks3-go-unit-tests> === RUN TestFilterUpstreamClosure/key_names_match_exactly
niks3-go-unit-tests> === PAUSE TestFilterUpstreamClosure/key_names_match_exactly
niks3-go-unit-tests> === RUN TestFilterUpstreamClosure/any_configured_key_can_match
niks3-go-unit-tests> === PAUSE TestFilterUpstreamClosure/any_configured_key_can_match
niks3-go-unit-tests> --- PASS: TestSetClientTLSDoesNotMutateDefaultTransport (0.01s)
niks3-go-unit-tests> === CONT TestScriptTokenScriptFails
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 TestScriptTokenEmptyCommand
niks3-go-unit-tests> --- PASS: TestScriptTokenEmptyCommand (0.00s)
niks3-go-unit-tests> === CONT TestScriptTokenEmptyToken
niks3-go-unit-tests> === CONT TestScriptTokenCachesUntilRefresh
niks3-go-unit-tests> === RUN TestSetClientTLS/rejects_connection_without_client_cert
niks3-go-unit-tests> === PAUSE TestSetClientTLS/rejects_connection_without_client_cert
niks3-go-unit-tests> === RUN TestSetClientTLS/succeeds_with_client_cert_and_CA
niks3-go-unit-tests> === PAUSE TestSetClientTLS/succeeds_with_client_cert_and_CA
niks3-go-unit-tests> === RUN TestSetClientTLS/preserves_debug_logging_transport
niks3-go-unit-tests> === PAUSE TestSetClientTLS/preserves_debug_logging_transport
niks3-go-unit-tests> === CONT TestScriptTokenNoExpiryRerunsEveryCall
niks3-go-unit-tests> --- PASS: TestScriptTokenScriptFails (0.01s)
niks3-go-unit-tests> === CONT TestFileTokenEmpty
niks3-go-unit-tests> --- PASS: TestFileTokenEmpty (0.00s)
niks3-go-unit-tests> === CONT TestEncodeNixBase32WithRealHash
niks3-go-unit-tests> --- PASS: TestEncodeNixBase32WithRealHash (0.00s)
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 TestRateLimiterFeedback/429_enables_limiter
niks3-go-unit-tests> 2026/08/16 15:40:04 WARN Rate limiter enabled after throttle name=server-test rate=5
niks3-go-unit-tests> 2026/08/16 15:40:04 WARN Request returned retryable status, retrying attempt=1 max_attempts=2 backoff=0s status=429 url=http://127.0.0.1:55979
niks3-go-unit-tests> 2026/08/16 15:40:04 WARN Rate limiter backed off name=server-test rate=5
niks3-go-unit-tests> === CONT TestRateLimiterFeedback/400_does_not_enable_limiter
niks3-go-unit-tests> === CONT TestRateLimiterFeedback/200_does_not_enable_limiter
niks3-go-unit-tests> === CONT TestRateLimiterFeedback/503_enables_limiter
niks3-go-unit-tests> 2026/08/16 15:40:04 WARN Rate limiter enabled after throttle name=server-test rate=5
niks3-go-unit-tests> 2026/08/16 15:40:04 WARN Request returned retryable status, retrying attempt=1 max_attempts=2 backoff=0s status=503 url=http://127.0.0.1:55985
niks3-go-unit-tests> 2026/08/16 15:40:04 WARN Rate limiter backed off name=server-test rate=5
niks3-go-unit-tests> --- PASS: TestRateLimiterFeedback (0.00s)
niks3-go-unit-tests> --- PASS: TestRateLimiterFeedback/429_enables_limiter (0.00s)
niks3-go-unit-tests> --- PASS: TestRateLimiterFeedback/400_does_not_enable_limiter (0.00s)
niks3-go-unit-tests> --- PASS: TestRateLimiterFeedback/200_does_not_enable_limiter (0.00s)
niks3-go-unit-tests> --- PASS: TestRateLimiterFeedback/503_enables_limiter (0.00s)
niks3-go-unit-tests> === CONT TestPathInfoCACompatibility/null_ca_field
niks3-go-unit-tests> === CONT TestEncodeNixBase32/test_string_hash
niks3-go-unit-tests> === CONT TestPathInfoCACompatibility/new_structured_format_-_nar_method
niks3-go-unit-tests> === CONT TestPathInfoCACompatibility/new_structured_format_-_text
niks3-go-unit-tests> === CONT TestPathInfoCACompatibility/old_string_format_-_fixed_recursive
niks3-go-unit-tests> === CONT TestPathInfoCACompatibility/old_string_format_-_text
niks3-go-unit-tests> --- PASS: TestPathInfoCACompatibility (0.00s)
niks3-go-unit-tests> --- PASS: TestPathInfoCACompatibility/null_ca_field (0.00s)
niks3-go-unit-tests> --- PASS: TestPathInfoCACompatibility/new_structured_format_-_nar_method (0.00s)
niks3-go-unit-tests> --- PASS: TestPathInfoCACompatibility/new_structured_format_-_text (0.00s)
niks3-go-unit-tests> --- PASS: TestPathInfoCACompatibility/old_string_format_-_fixed_recursive (0.00s)
niks3-go-unit-tests> --- PASS: TestPathInfoCACompatibility/old_string_format_-_text (0.00s)
niks3-go-unit-tests> === CONT 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 TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI)
niks3-go-unit-tests> === CONT TestParsePathInfoJSON/Nix_format
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 TestParsePathInfoJSON/whitespace_only
niks3-go-unit-tests> === CONT TestParsePathInfoJSON/invalid_JSON
niks3-go-unit-tests> === CONT TestParsePathInfoJSON/empty_input
niks3-go-unit-tests> === CONT TestParsePathInfoJSON/Lix_format
niks3-go-unit-tests> --- PASS: TestParsePathInfoJSON (0.00s)
niks3-go-unit-tests> --- PASS: TestParsePathInfoJSON/Nix_format (0.00s)
niks3-go-unit-tests> --- PASS: TestParsePathInfoJSON/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> === CONT TestGetStorePathHash/valid_store_path
niks3-go-unit-tests> === CONT TestGetStorePathHash/hash_with_invalid_characters_should_error
niks3-go-unit-tests> === CONT TestGetStorePathHash/hash_with_wrong_length_should_error
niks3-go-unit-tests> === CONT TestGetStorePathHash/basename_without_hyphen_should_error
niks3-go-unit-tests> --- PASS: TestGetStorePathHash (0.00s)
niks3-go-unit-tests> --- PASS: TestGetStorePathHash/valid_store_path (0.00s)
niks3-go-unit-tests> --- PASS: TestGetStorePathHash/hash_with_invalid_characters_should_error (0.00s)
niks3-go-unit-tests> --- PASS: TestGetStorePathHash/hash_with_wrong_length_should_error (0.00s)
niks3-go-unit-tests> --- PASS: TestGetStorePathHash/basename_without_hyphen_should_error (0.00s)
niks3-go-unit-tests> === CONT TestPartSizeForNAR/zero_stays_at_minimum
niks3-go-unit-tests> === CONT TestUploadMultipart_SupersededByPeer/exists
niks3-go-unit-tests> --- PASS: TestScriptTokenBadJSON (0.01s)
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/1_TiB
niks3-go-unit-tests> === CONT TestPartSizeForNAR/115_GiB_needs_larger_parts
niks3-go-unit-tests> === CONT TestPartSizeForNAR/80_GiB_fits_at_minimum
niks3-go-unit-tests> === CONT TestPartSizeForNAR/small_stays_at_minimum
niks3-go-unit-tests> === CONT TestFilterOversizedClosures/no_limit_keeps_everything
niks3-go-unit-tests> === CONT TestUploadMultipart_SupersededByPeer/missing
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/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/1_TiB (0.00s)
niks3-go-unit-tests> --- PASS: TestPartSizeForNAR/115_GiB_needs_larger_parts (0.00s)
niks3-go-unit-tests> --- PASS: TestPartSizeForNAR/80_GiB_fits_at_minimum (0.00s)
niks3-go-unit-tests> --- PASS: TestPartSizeForNAR/small_stays_at_minimum (0.00s)
niks3-go-unit-tests> === CONT TestFilterOversizedClosures/all_closures_skipped
niks3-go-unit-tests> 2026/08/16 15:40:04 WARN Skipping closure: path exceeds server max NAR size top_level_path=/nix/store/cccccccccccccccccccccccccccccccc-wrapper oversized_path=/nix/store/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb-vm-image nar_size=5000 max_nar_size=50
niks3-go-unit-tests> === CONT TestConvertHashToNix32/SRI_format_to_Nix32
niks3-go-unit-tests> === CONT TestFilterOversizedClosures/closure_with_oversized_dependency_is_skipped
niks3-go-unit-tests> 2026/08/16 15:40:04 WARN Skipping closure: path exceeds server max NAR size top_level_path=/nix/store/cccccccccccccccccccccccccccccccc-wrapper oversized_path=/nix/store/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb-vm-image nar_size=5000 max_nar_size=2000
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 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 TestFilterUpstreamClosure/empty_configuration_disables_filtering
niks3-go-unit-tests> === CONT TestFilterUpstreamClosure/key_names_match_exactly
niks3-go-unit-tests> === CONT TestFilterUpstreamClosure/separate_root_keeps_a_path_below_an_upstream_boundary
niks3-go-unit-tests> === CONT TestFilterUpstreamClosure/signed_root_removes_its_whole_closure
niks3-go-unit-tests> === CONT TestFilterUpstreamClosure/any_configured_key_can_match
niks3-go-unit-tests> === CONT TestFilterUpstreamClosure/signed_path_cuts_its_dependency_subtree
niks3-go-unit-tests> --- PASS: TestFilterUpstreamClosure (0.00s)
niks3-go-unit-tests> --- PASS: TestFilterUpstreamClosure/empty_configuration_disables_filtering (0.00s)
niks3-go-unit-tests> --- PASS: TestFilterUpstreamClosure/key_names_match_exactly (0.00s)
niks3-go-unit-tests> --- PASS: TestFilterUpstreamClosure/separate_root_keeps_a_path_below_an_upstream_boundary (0.00s)
niks3-go-unit-tests> --- PASS: TestFilterUpstreamClosure/signed_root_removes_its_whole_closure (0.00s)
niks3-go-unit-tests> --- PASS: TestFilterUpstreamClosure/any_configured_key_can_match (0.00s)
niks3-go-unit-tests> --- PASS: TestFilterUpstreamClosure/signed_path_cuts_its_dependency_subtree (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: 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 TestSetClientTLSErrors/missing_ca_file
niks3-go-unit-tests> === CONT TestSetClientTLSErrors/missing_key_file
niks3-go-unit-tests> === CONT TestSetClientTLS/rejects_connection_without_client_cert
niks3-go-unit-tests> === CONT TestSetClientTLS/preserves_debug_logging_transport
niks3-go-unit-tests> --- PASS: TestSetClientTLSErrors (0.01s)
niks3-go-unit-tests> --- PASS: TestSetClientTLSErrors/missing_cert_file (0.00s)
niks3-go-unit-tests> --- PASS: TestSetClientTLSErrors/invalid_ca_file (0.00s)
niks3-go-unit-tests> --- PASS: TestSetClientTLSErrors/missing_ca_file (0.00s)
niks3-go-unit-tests> --- PASS: TestSetClientTLSErrors/missing_key_file (0.00s)
niks3-go-unit-tests> --- PASS: TestScriptTokenEmptyToken (0.01s)
niks3-go-unit-tests> === CONT TestSetClientTLS/succeeds_with_client_cert_and_CA
niks3-go-unit-tests> 2026/08/16 15:40:04 http: TLS handshake error from 127.0.0.1:55992: remote error: tls: bad certificate
niks3-go-unit-tests> --- PASS: TestSetClientTLS (0.01s)
niks3-go-unit-tests> --- PASS: TestSetClientTLS/preserves_debug_logging_transport (0.00s)
niks3-go-unit-tests> --- PASS: TestSetClientTLS/succeeds_with_client_cert_and_CA (0.00s)
niks3-go-unit-tests> --- PASS: TestSetClientTLS/rejects_connection_without_client_cert (0.01s)
niks3-go-unit-tests> --- PASS: TestScriptTokenCachesUntilRefresh (0.03s)
niks3-go-unit-tests> --- PASS: TestScriptTokenNoExpiryRerunsEveryCall (0.03s)
niks3-go-unit-tests> --- PASS: TestDumpPathWriterError (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.07s)
niks3-go-unit-tests> --- PASS: TestRateLimiterFeedback_400DoesNotCountAsSuccess (1.00s)
niks3-go-unit-tests> PASS
niks3-go-unit-tests> Running server tests...
niks3-go-unit-tests> The files belonging to this database system will be owned by user "_nixbld1".
niks3-go-unit-tests> This user must also own the server process.
niks3-go-unit-tests>
niks3-go-unit-tests> The database cluster will be initialized with locale "C".
niks3-go-unit-tests> The default database encoding has accordingly been set to "SQL_ASCII".
niks3-go-unit-tests> The default text search configuration will be set to "english".
niks3-go-unit-tests>
niks3-go-unit-tests> Data page checksums are enabled.
niks3-go-unit-tests>
niks3-go-unit-tests> creating directory /nix/var/nix/builds/nix-4114-2679204974/postgres4173643391/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-4114-2679204974/postgres4173643391/data -l logfile start
niks3-go-unit-tests>
niks3-go-unit-tests> /nix/var/nix/builds/nix-4114-2679204974/postgres4173643391:5432 - no response
niks3-go-unit-tests> 2026-08-16 15:40:05.794 UTC [4178] 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-16 15:40:05.794 UTC [4178] LOG: listening on Unix socket "/nix/var/nix/builds/nix-4114-2679204974/postgres4173643391/.s.PGSQL.5432"
niks3-go-unit-tests> 2026-08-16 15:40:05.796 UTC [4185] LOG: database system was shut down at 2026-08-16 15:40:05 UTC
niks3-go-unit-tests> 2026-08-16 15:40:05.797 UTC [4178] LOG: database system is ready to accept connections
niks3-go-unit-tests> /nix/var/nix/builds/nix-4114-2679204974/postgres4173643391: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-16 15:40:06.181 UTC [4262] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:06.181 UTC [4262] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20241026095416_initial_model.sql (3.37ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20251210153512_drop_unused_gin_index.sql (384.79µs)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20251218171726_add_pins.sql (763.08µs)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20260628120000_add_object_size_and_stats.sql (859.54µs)
niks3-go-unit-tests> 2026/08/16 15:40:06 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 1_commit_pending_closure.sql (880.83µs)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 2_object_stats_trigger.sql (203.83µs)
niks3-go-unit-tests> 2026/08/16 15:40:06 goose: up to current file version: 2
niks3-go-unit-tests> --- PASS: TestGCAdvisoryLockBlocksConcurrentRun (0.22s)
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/16 15:40:06 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded"
niks3-go-unit-tests> 2026/08/16 15:40:06 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded"
niks3-go-unit-tests> 2026/08/16 15:40:06 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded"
niks3-go-unit-tests> 2026/08/16 15:40:06 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded"
niks3-go-unit-tests> 2026/08/16 15:40:06 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded"
niks3-go-unit-tests> 2026/08/16 15:40:06 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded"
niks3-go-unit-tests> 2026/08/16 15:40:06 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded"
niks3-go-unit-tests> 2026/08/16 15:40:06 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded"
niks3-go-unit-tests> 2026/08/16 15:40:06 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded"
niks3-go-unit-tests> 2026/08/16 15:40:06 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> === RUN TestGCMissingUpstreamReference
niks3-go-unit-tests> === PAUSE TestGCMissingUpstreamReference
niks3-go-unit-tests> === CONT TestService_AuthMiddleware
niks3-go-unit-tests> === CONT TestOrphanedObjectsGC
niks3-go-unit-tests> === CONT TestCompletedNarNotReofferedAcrossClosures
niks3-go-unit-tests> === CONT TestReadProxyInvalidPath
niks3-go-unit-tests> === CONT TestReadProxy404
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> === CONT TestReadProxyNarStreaming
niks3-go-unit-tests> === CONT TestGCTaskStore_ConflictDifferentParams
niks3-go-unit-tests> === CONT TestUploadHandlersRejectInvalidKeys
niks3-go-unit-tests> === CONT TestPresignedUploadRegisteredBeforeCommit
niks3-go-unit-tests> --- PASS: TestGCTaskStore_ConflictDifferentParams (0.00s)
niks3-go-unit-tests> === CONT TestObjectStatsTrigger
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 TestMultipartCleanup
niks3-go-unit-tests> 2026-08-16 15:40:06.789 UTC [4291] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:06.789 UTC [4291] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-16 15:40:06.791 UTC [4292] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:06.791 UTC [4292] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-16 15:40:06.792 UTC [4293] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:06.792 UTC [4293] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-16 15:40:06.793 UTC [4294] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:06.793 UTC [4294] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-16 15:40:06.793 UTC [4296] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:06.793 UTC [4296] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-16 15:40:06.794 UTC [4295] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:06.794 UTC [4295] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-16 15:40:06.795 UTC [4297] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:06.795 UTC [4297] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-16 15:40:06.795 UTC [4299] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:06.795 UTC [4299] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-16 15:40:06.795 UTC [4298] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:06.795 UTC [4298] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-16 15:40:06.796 UTC [4300] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:06.796 UTC [4300] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20241026095416_initial_model.sql (7.09ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20241026095416_initial_model.sql (8.72ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20241026095416_initial_model.sql (7.47ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20251210153512_drop_unused_gin_index.sql (1.08ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20251210153512_drop_unused_gin_index.sql (870.5µs)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20241026095416_initial_model.sql (5.93ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20251210153512_drop_unused_gin_index.sql (900.13µs)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20241026095416_initial_model.sql (9.38ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20251210153512_drop_unused_gin_index.sql (1.03ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20251218171726_add_pins.sql (1.82ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20251218171726_add_pins.sql (2ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20251210153512_drop_unused_gin_index.sql (799.92µs)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20241026095416_initial_model.sql (7.37ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20251218171726_add_pins.sql (1.69ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20241026095416_initial_model.sql (8.12ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20241026095416_initial_model.sql (10.23ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20251210153512_drop_unused_gin_index.sql (871.83µs)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20251218171726_add_pins.sql (1.82ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20260628120000_add_object_size_and_stats.sql (1.97ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20241026095416_initial_model.sql (7.9ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20251210153512_drop_unused_gin_index.sql (1.04ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20260628120000_add_object_size_and_stats.sql (2.01ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20260628120000_add_object_size_and_stats.sql (1.63ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20251210153512_drop_unused_gin_index.sql (1.12ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20251218171726_add_pins.sql (1.8ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20241026095416_initial_model.sql (9.14ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20251210153512_drop_unused_gin_index.sql (902µs)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 1_commit_pending_closure.sql (1.15ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20251218171726_add_pins.sql (1.26ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20251218171726_add_pins.sql (2ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 1_commit_pending_closure.sql (1.48ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20260628120000_add_object_size_and_stats.sql (1.87ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20251210153512_drop_unused_gin_index.sql (909.71µs)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 1_commit_pending_closure.sql (1.55ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 2_object_stats_trigger.sql (542.67µs)
niks3-go-unit-tests> 2026/08/16 15:40:06 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20260628120000_add_object_size_and_stats.sql (1.8ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20251218171726_add_pins.sql (1.26ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 2_object_stats_trigger.sql (749.38µs)
niks3-go-unit-tests> 2026/08/16 15:40:06 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20251218171726_add_pins.sql (2.03ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 2_object_stats_trigger.sql (655.96µs)
niks3-go-unit-tests> 2026/08/16 15:40:06 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 1_commit_pending_closure.sql (1ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20260628120000_add_object_size_and_stats.sql (1.32ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 2_object_stats_trigger.sql (605.96µs)
niks3-go-unit-tests> 2026/08/16 15:40:06 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20260628120000_add_object_size_and_stats.sql (1.91ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20251218171726_add_pins.sql (1.64ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20260628120000_add_object_size_and_stats.sql (1.25ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 1_commit_pending_closure.sql (1.63ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20260628120000_add_object_size_and_stats.sql (1.67ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 1_commit_pending_closure.sql (1.14ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 2_object_stats_trigger.sql (279.17µs)
niks3-go-unit-tests> 2026/08/16 15:40:06 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 2_object_stats_trigger.sql (517.13µs)
niks3-go-unit-tests> 2026/08/16 15:40:06 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 1_commit_pending_closure.sql (1.05ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 1_commit_pending_closure.sql (1.47ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 1_commit_pending_closure.sql (1.13ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 2_object_stats_trigger.sql (297.46µs)
niks3-go-unit-tests> 2026/08/16 15:40:06 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 2_object_stats_trigger.sql (405.5µs)
niks3-go-unit-tests> 2026/08/16 15:40:06 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 2_object_stats_trigger.sql (180.79µs)
niks3-go-unit-tests> 2026/08/16 15:40:06 goose: up to current file version: 2
niks3-go-unit-tests> {"timestamp":"2026-08-16T15:40:06.813877Z","level":"ERROR","duration":"92.542µs","resp":"Response { status: 503, version: HTTP/1.1, headers: {\"content-type\": \"application/xml\"}, body: Body { once: b\"SlowDownbucket creation concurrency limit reached; retry later\" } }","target":"s3s::service","filename":"/nix/var/nix/builds/nix-57705-2947227838/rustfs-1.0.0-beta.12-vendor/source-git-1/s3s-0.14.1/src/service.rs","line_number":640,"threadName":"rustfs-worker","threadId":"ThreadId(2)"}
niks3-go-unit-tests> {"timestamp":"2026-08-16T15:40:06.813974Z","level":"ERROR","message":"HTTP request completed","event":"http_request_completed","component":"server","subsystem":"http","request_id":"1abeda2a-e878-45ea-a38a-16aef0fa41bb","trace_id":"unknown","span_id":"unknown","peer_addr":"127.0.0.1","method":"PUT","uri":"/bucket10/","status_code":503,"duration_ms":0,"result":"server_error","target":"rustfs::server::layer","filename":"rustfs/src/server/layer.rs","line_number":392,"threadName":"rustfs-worker","threadId":"ThreadId(2)"}
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 20260628120000_add_object_size_and_stats.sql (4.68ms)
niks3-go-unit-tests> 2026/08/16 15:40:06 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 1_commit_pending_closure.sql (765.58µs)
niks3-go-unit-tests> 2026/08/16 15:40:06 OK 2_object_stats_trigger.sql (208.13µs)
niks3-go-unit-tests> 2026/08/16 15:40:06 goose: up to current file version: 2
niks3-go-unit-tests> {"timestamp":"2026-08-16T15:40:06.817832Z","level":"ERROR","duration":"58.708µs","resp":"Response { status: 503, version: HTTP/1.1, headers: {\"content-type\": \"application/xml\"}, body: Body { once: b\"SlowDownbucket creation concurrency limit reached; retry later\" } }","target":"s3s::service","filename":"/nix/var/nix/builds/nix-57705-2947227838/rustfs-1.0.0-beta.12-vendor/source-git-1/s3s-0.14.1/src/service.rs","line_number":640,"threadName":"rustfs-worker","threadId":"ThreadId(8)"}
niks3-go-unit-tests> {"timestamp":"2026-08-16T15:40:06.817844Z","level":"ERROR","message":"HTTP request completed","event":"http_request_completed","component":"server","subsystem":"http","request_id":"3754677b-cf10-4bc7-8737-5a936fdfe778","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(8)"}
niks3-go-unit-tests> {"timestamp":"2026-08-16T15:40:06.823534Z","level":"ERROR","duration":"17.458µs","resp":"Response { status: 503, version: HTTP/1.1, headers: {\"content-type\": \"application/xml\"}, body: Body { once: b\"SlowDownbucket creation concurrency limit reached; retry later\" } }","target":"s3s::service","filename":"/nix/var/nix/builds/nix-57705-2947227838/rustfs-1.0.0-beta.12-vendor/source-git-1/s3s-0.14.1/src/service.rs","line_number":640,"threadName":"rustfs-worker","threadId":"ThreadId(10)"}
niks3-go-unit-tests> {"timestamp":"2026-08-16T15:40:06.82354Z","level":"ERROR","message":"HTTP request completed","event":"http_request_completed","component":"server","subsystem":"http","request_id":"dc8b831e-050f-478d-9295-d41dfdb8d9e9","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(10)"}
niks3-go-unit-tests> --- PASS: TestReadProxyInvalidPath (0.43s)
niks3-go-unit-tests> === CONT TestServerTLSConfig
niks3-go-unit-tests> === RUN TestServerTLSConfig/no_client_CA
niks3-go-unit-tests> === PAUSE TestServerTLSConfig/no_client_CA
niks3-go-unit-tests> === RUN TestServerTLSConfig/missing_CA_file
niks3-go-unit-tests> === PAUSE TestServerTLSConfig/missing_CA_file
niks3-go-unit-tests> === RUN TestServerTLSConfig/not_a_PEM_file
niks3-go-unit-tests> === PAUSE TestServerTLSConfig/not_a_PEM_file
niks3-go-unit-tests> === CONT TestService_NativeMTLS
niks3-go-unit-tests> 2026/08/16 15:40:06 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> --- PASS: TestReadProxy404 (0.56s)
niks3-go-unit-tests> === CONT TestMetricsInventory
niks3-go-unit-tests> --- PASS: TestReadProxyNarStreaming (0.63s)
niks3-go-unit-tests> === CONT TestNARDeduplicationMetadataUploadBug
niks3-go-unit-tests> 2026/08/16 15:40:07 INFO Received cleanup request method=DELETE path=/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:07 INFO Aborted multipart uploads count=1
niks3-go-unit-tests> --- PASS: TestMultipartCleanup (0.67s)
niks3-go-unit-tests> === CONT TestCreatePendingClosureRejectsOversizedNAR
niks3-go-unit-tests> 2026/08/16 15:40:07 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/16 15:40:07 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> --- PASS: TestService_Rustfstest (0.73s)
niks3-go-unit-tests> === CONT TestGracefulShutdownDrainsInflight
niks3-go-unit-tests> 2026/08/16 15:40:07 INFO Starting HTTP server address=127.0.0.1:56022
niks3-go-unit-tests> 2026/08/16 15:40:07 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 TestReadProxyDisabled
niks3-go-unit-tests> --- PASS: TestObjectStatsTrigger (0.80s)
niks3-go-unit-tests> === CONT TestCompleteMultipartUpload_ErrorButObjectExists
niks3-go-unit-tests> 2026/08/16 15:40:07 WARN Authentication failed token_preview=wrongtoken token_length=10 reason="static API token mismatch"
niks3-go-unit-tests> --- PASS: TestService_AuthMiddleware (0.85s)
niks3-go-unit-tests> === CONT TestRedundantMultipartUpload
niks3-go-unit-tests> 2026/08/16 15:40:07 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:07 INFO Registered completed upload object_key=nar/jjjjjjjjjjjjjjjjjjjjjjjjjjjjjj0100000000000000000000.nar.zst
niks3-go-unit-tests> 2026/08/16 15:40:07 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> --- PASS: TestPresignedUploadRegisteredBeforeCommit (1.12s)
niks3-go-unit-tests> === CONT TestReadProxyRangeRequest
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 (1.81s)
niks3-go-unit-tests> === CONT TestReadProxyConditionalGet
niks3-go-unit-tests> 2026-08-16 15:40:08.324 UTC [4320] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:08.324 UTC [4320] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/16 15:40:08 INFO Received complete multipart upload request method=POST path=/api/multipart/complete
niks3-go-unit-tests> 2026-08-16 15:40:08.506 UTC [4324] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:08.506 UTC [4324] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20241026095416_initial_model.sql (147.2ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20251210153512_drop_unused_gin_index.sql (605.92µs)
niks3-go-unit-tests> 2026/08/16 15:40:08 INFO Completed multipart upload object_key=nar/hhhhhhhhhhhhhhhhhhhhhhhhhhhhhh0100000000000000000000.nar.zst upload_id=MzYwMTU3ZjYtNzA4OS00MTBjLWJmNDctYjJkMDg0ZjVmMjRkLjJlMzUwMmI5LTUxNjktNGNiZi1hM2IwLWZmOTQ5ZmFiZWFlNngxNzg2ODk0ODA3MTU0NTkxMDAw parts=12
niks3-go-unit-tests> 2026/08/16 15:40:08 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20251218171726_add_pins.sql (1.61ms)
niks3-go-unit-tests> --- PASS: TestCompletedNarNotReofferedAcrossClosures (2.05s)
niks3-go-unit-tests> === CONT TestReadProxyRootRedirectsToIndexHTML
niks3-go-unit-tests> 2026-08-16 15:40:08.518 UTC [4327] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:08.518 UTC [4327] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-16 15:40:08.518 UTC [4326] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:08.518 UTC [4326] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20260628120000_add_object_size_and_stats.sql (11.83ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 1_commit_pending_closure.sql (1.16ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 2_object_stats_trigger.sql (221.71µs)
niks3-go-unit-tests> 2026/08/16 15:40:08 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:08 WARN mTLS auth: subject not in bound subjects subject="CN=reader"
niks3-go-unit-tests> 2026/08/16 15:40:08 WARN mTLS auth: subject not in bound subjects subject="CN=writer"
niks3-go-unit-tests> --- PASS: TestService_NativeMTLS (1.78s)
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 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 TestIsValidCachePath
niks3-go-unit-tests> === RUN TestIsValidCachePath/narinfo
niks3-go-unit-tests> === PAUSE TestIsValidCachePath/narinfo
niks3-go-unit-tests> === RUN TestIsValidCachePath/narinfo_all_nix_base32_chars
niks3-go-unit-tests> === PAUSE TestIsValidCachePath/narinfo_all_nix_base32_chars
niks3-go-unit-tests> === RUN TestIsValidCachePath/nar_zst
niks3-go-unit-tests> === PAUSE TestIsValidCachePath/nar_zst
niks3-go-unit-tests> === RUN TestIsValidCachePath/nar_xz
niks3-go-unit-tests> === PAUSE TestIsValidCachePath/nar_xz
niks3-go-unit-tests> === RUN TestIsValidCachePath/nar_bz2
niks3-go-unit-tests> === PAUSE TestIsValidCachePath/nar_bz2
niks3-go-unit-tests> === RUN TestIsValidCachePath/nar_uncompressed
niks3-go-unit-tests> === PAUSE TestIsValidCachePath/nar_uncompressed
niks3-go-unit-tests> === RUN TestIsValidCachePath/ls
niks3-go-unit-tests> === PAUSE TestIsValidCachePath/ls
niks3-go-unit-tests> === RUN TestIsValidCachePath/log
niks3-go-unit-tests> === PAUSE TestIsValidCachePath/log
niks3-go-unit-tests> === RUN TestIsValidCachePath/realisation
niks3-go-unit-tests> === PAUSE TestIsValidCachePath/realisation
niks3-go-unit-tests> === RUN TestIsValidCachePath/nix-cache-info
niks3-go-unit-tests> === PAUSE TestIsValidCachePath/nix-cache-info
niks3-go-unit-tests> === RUN TestIsValidCachePath/index.html
niks3-go-unit-tests> === PAUSE TestIsValidCachePath/index.html
niks3-go-unit-tests> === RUN TestIsValidCachePath/traversal_parent
niks3-go-unit-tests> === PAUSE TestIsValidCachePath/traversal_parent
niks3-go-unit-tests> === RUN TestIsValidCachePath/traversal_in_middle
niks3-go-unit-tests> === PAUSE TestIsValidCachePath/traversal_in_middle
niks3-go-unit-tests> === RUN TestIsValidCachePath/invalid_char_e
niks3-go-unit-tests> === PAUSE TestIsValidCachePath/invalid_char_e
niks3-go-unit-tests> === RUN TestIsValidCachePath/invalid_char_u
niks3-go-unit-tests> === PAUSE TestIsValidCachePath/invalid_char_u
niks3-go-unit-tests> === RUN TestIsValidCachePath/random_path
niks3-go-unit-tests> === PAUSE TestIsValidCachePath/random_path
niks3-go-unit-tests> === RUN TestIsValidCachePath/empty
niks3-go-unit-tests> === PAUSE TestIsValidCachePath/empty
niks3-go-unit-tests> === RUN TestIsValidCachePath/leading_slash
niks3-go-unit-tests> === PAUSE TestIsValidCachePath/leading_slash
niks3-go-unit-tests> === RUN TestIsValidCachePath/wrong_extension
niks3-go-unit-tests> === PAUSE TestIsValidCachePath/wrong_extension
niks3-go-unit-tests> === RUN TestIsValidCachePath/short_hash
niks3-go-unit-tests> === PAUSE TestIsValidCachePath/short_hash
niks3-go-unit-tests> === CONT TestReadProxyNarinfoAlreadyDecompressed
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20241026095416_initial_model.sql (130.7ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20241026095416_initial_model.sql (122.82ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20241026095416_initial_model.sql (118.14ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20251210153512_drop_unused_gin_index.sql (1.32ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20251210153512_drop_unused_gin_index.sql (1.31ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20251210153512_drop_unused_gin_index.sql (1.34ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20251218171726_add_pins.sql (2.81ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20251218171726_add_pins.sql (3.07ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20251218171726_add_pins.sql (3.29ms)
niks3-go-unit-tests> 2026-08-16 15:40:08.713 UTC [4333] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:08.713 UTC [4333] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-16 15:40:08.716 UTC [4334] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:08.716 UTC [4334] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-16 15:40:08.718 UTC [4335] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:08.718 UTC [4335] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20260628120000_add_object_size_and_stats.sql (13.06ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20260628120000_add_object_size_and_stats.sql (13.87ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20260628120000_add_object_size_and_stats.sql (13.72ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 1_commit_pending_closure.sql (1.91ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 1_commit_pending_closure.sql (2.52ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 1_commit_pending_closure.sql (1.92ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 2_object_stats_trigger.sql (485µs)
niks3-go-unit-tests> 2026/08/16 15:40:08 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 2_object_stats_trigger.sql (588.46µs)
niks3-go-unit-tests> 2026/08/16 15:40:08 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 2_object_stats_trigger.sql (612.5µs)
niks3-go-unit-tests> 2026/08/16 15:40:08 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20241026095416_initial_model.sql (81.35ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20241026095416_initial_model.sql (76ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20241026095416_initial_model.sql (76.39ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20251210153512_drop_unused_gin_index.sql (12.78ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20251210153512_drop_unused_gin_index.sql (12.88ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20251210153512_drop_unused_gin_index.sql (13.34ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20251218171726_add_pins.sql (26.39ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20251218171726_add_pins.sql (26.46ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20251218171726_add_pins.sql (41.44ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 INFO Created nix-cache-info in bucket bucket=bucket15
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20260628120000_add_object_size_and_stats.sql (31.34ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20260628120000_add_object_size_and_stats.sql (23.06ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 20260628120000_add_object_size_and_stats.sql (38.7ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 1_commit_pending_closure.sql (8.1ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 1_commit_pending_closure.sql (8.08ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 1_commit_pending_closure.sql (15.35ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 2_object_stats_trigger.sql (850.67µs)
niks3-go-unit-tests> 2026/08/16 15:40:08 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 2_object_stats_trigger.sql (1.08ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:08 OK 2_object_stats_trigger.sql (1.04ms)
niks3-go-unit-tests> 2026/08/16 15:40:08 goose: up to current file version: 2
niks3-go-unit-tests> --- PASS: TestService_healthCheckHandler (1.78s)
niks3-go-unit-tests> === CONT TestReadProxyNarinfo
niks3-go-unit-tests> --- PASS: TestMetricsInventory (2.01s)
niks3-go-unit-tests> === CONT TestReadProxyHead
niks3-go-unit-tests> --- PASS: TestReadProxyDisabled (1.83s)
niks3-go-unit-tests> === CONT TestCompleteMultipartUploadHandler_RateLimitTriggersThrottle
niks3-go-unit-tests> 2026/08/16 15:40:09 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> === NAME TestNARDeduplicationMetadataUploadBug
niks3-go-unit-tests> metadata_upload_test.go:48: First store path: /nix/var/nix/builds/nix-4114-2679204974/TestNARDeduplicationMetadataUploadBug2770458563/001/store/5vkxb803hjcj43jk8z4n4zxc44bilq0y-file1.txt
niks3-go-unit-tests> 2026/08/16 15:40:09 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:09 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:09 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-16 15:40:09.310 UTC [4348] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:09.310 UTC [4348] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/16 15:40:09 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:09 INFO Uploading 1 paths to 127.0.0.1 (0 already cached, 0 in upstream)
niks3-go-unit-tests> 2026/08/16 15:40:09 INFO Uploading 5vkxb803hjcj43jk8z4n4zxc44bilq0y-file1.txt (160B)
niks3-go-unit-tests> 2026/08/16 15:40:09 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/16 15:40:09 WARN Failed to register uploaded object key=5vkxb803hjcj43jk8z4n4zxc44bilq0y.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/16 15:40:09 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign
niks3-go-unit-tests> 2026/08/16 15:40:09 INFO Signed narinfos id=1 count=1
niks3-go-unit-tests> 2026/08/16 15:40:09 INFO Uploading 1 narinfos
niks3-go-unit-tests> 2026/08/16 15:40:09 INFO Received complete multipart upload request method=POST path=/api/multipart/complete
niks3-go-unit-tests> 2026/08/16 15:40:09 WARN Failed to register uploaded object key=5vkxb803hjcj43jk8z4n4zxc44bilq0y.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/16 15:40:09 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete
niks3-go-unit-tests> 2026/08/16 15:40:09 WARN CompleteMultipartUpload errored but object exists; treating as success error="The specified key does not exist." object_key=nar/gggggggggggggggggggggggggggggg0300000000000000000000.nar.zst upload_id=MzYwMTU3ZjYtNzA4OS00MTBjLWJmNDctYjJkMDg0ZjVmMjRkLmJiZjJhMTYwLWExODQtNDE0My1iNmE0LTAxMmRiY2Q1NTdiMXgxNzg2ODk0ODA5MjM3MDkxMDAw
niks3-go-unit-tests> 2026/08/16 15:40:09 INFO Completed multipart upload object_key=nar/gggggggggggggggggggggggggggggg0300000000000000000000.nar.zst upload_id=MzYwMTU3ZjYtNzA4OS00MTBjLWJmNDctYjJkMDg0ZjVmMjRkLmJiZjJhMTYwLWExODQtNDE0My1iNmE0LTAxMmRiY2Q1NTdiMXgxNzg2ODk0ODA5MjM3MDkxMDAw parts=1
niks3-go-unit-tests> --- PASS: TestCompleteMultipartUpload_ErrorButObjectExists (2.19s)
niks3-go-unit-tests> === CONT TestClientIntegration
niks3-go-unit-tests> 2026/08/16 15:40:09 INFO Completed upload id=1
niks3-go-unit-tests> 2026/08/16 15:40:09 INFO Upload complete. (252ms)
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-4114-2679204974/TestNARDeduplicationMetadataUploadBug2770458563/001/store/5vkxb803hjcj43jk8z4n4zxc44bilq0y-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> 2026/08/16 15:40:09 OK 20241026095416_initial_model.sql (94.57ms)
niks3-go-unit-tests> 2026/08/16 15:40:09 OK 20251210153512_drop_unused_gin_index.sql (8.09ms)
niks3-go-unit-tests> 2026/08/16 15:40:09 OK 20251218171726_add_pins.sql (26.55ms)
niks3-go-unit-tests> 2026/08/16 15:40:09 OK 20260628120000_add_object_size_and_stats.sql (30.38ms)
niks3-go-unit-tests> 2026/08/16 15:40:09 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:09 OK 1_commit_pending_closure.sql (8.35ms)
niks3-go-unit-tests> 2026/08/16 15:40:09 OK 2_object_stats_trigger.sql (553µs)
niks3-go-unit-tests> 2026/08/16 15:40:09 goose: up to current file version: 2
niks3-go-unit-tests> metadata_upload_test.go:64: Second store path (same content): /nix/var/nix/builds/nix-4114-2679204974/TestNARDeduplicationMetadataUploadBug2770458563/001/store/10cmmdgyk5scfqr6ksy5p8ywq9y6rr6s-file2.txt
niks3-go-unit-tests> 2026/08/16 15:40:09 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/16 15:40:09 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:09 INFO Uploading 0 paths to 127.0.0.1 (1 already cached, 0 in upstream)
niks3-go-unit-tests> --- PASS: TestReadProxyRangeRequest (2.13s)
niks3-go-unit-tests> === CONT TestGCTaskStore_DeduplicateSameParams
niks3-go-unit-tests> --- PASS: TestGCTaskStore_DeduplicateSameParams (0.00s)
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> 2026/08/16 15:40:09 WARN Failed to register uploaded object key=10cmmdgyk5scfqr6ksy5p8ywq9y6rr6s.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/16 15:40:09 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign
niks3-go-unit-tests> 2026/08/16 15:40:09 INFO Signed narinfos id=2 count=1
niks3-go-unit-tests> 2026/08/16 15:40:09 INFO Uploading 1 narinfos
niks3-go-unit-tests> 2026/08/16 15:40:09 WARN Failed to register uploaded object key=10cmmdgyk5scfqr6ksy5p8ywq9y6rr6s.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/16 15:40:09 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete
niks3-go-unit-tests> 2026/08/16 15:40:09 INFO Completed upload id=2
niks3-go-unit-tests> 2026/08/16 15:40:09 INFO Upload complete. (204ms)
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-4114-2679204974/TestNARDeduplicationMetadataUploadBug2770458563/001/store/10cmmdgyk5scfqr6ksy5p8ywq9y6rr6s-file2.txt
niks3-go-unit-tests> URL: nar/1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf.nar.zst
niks3-go-unit-tests> Compression: zstd
niks3-go-unit-tests> NarHash: sha256:1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf
niks3-go-unit-tests> NarSize: 160
niks3-go-unit-tests> References:
niks3-go-unit-tests> CA: fixed:r:sha256:1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf
niks3-go-unit-tests> metadata_upload_test.go:77: Retrieved .ls file from S3 (compressed size: 62 bytes)
niks3-go-unit-tests> metadata_upload_test.go:77: Decompressed .ls content (49 bytes):
niks3-go-unit-tests> {"version":1,"root":{"type":"regular","size":44}}
niks3-go-unit-tests> --- PASS: TestNARDeduplicationMetadataUploadBug (2.78s)
niks3-go-unit-tests> === CONT TestGCBugBareHashReferences
niks3-go-unit-tests> 2026-08-16 15:40:09.947 UTC [4365] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:09.947 UTC [4365] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-16 15:40:10.001 UTC [4366] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:10.001 UTC [4366] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 20241026095416_initial_model.sql (59.35ms)
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 20251210153512_drop_unused_gin_index.sql (741.42µs)
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 20251218171726_add_pins.sql (1.22ms)
niks3-go-unit-tests> 2026-08-16 15:40:10.062 UTC [4367] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:10.062 UTC [4367] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 20241026095416_initial_model.sql (27.38ms)
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 20251210153512_drop_unused_gin_index.sql (4.31ms)
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 20260628120000_add_object_size_and_stats.sql (24.29ms)
niks3-go-unit-tests> 2026/08/16 15:40:10 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 1_commit_pending_closure.sql (5.37ms)
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 2_object_stats_trigger.sql (307.21µs)
niks3-go-unit-tests> 2026/08/16 15:40:10 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 20251218171726_add_pins.sql (28.33ms)
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 20260628120000_add_object_size_and_stats.sql (44.66ms)
niks3-go-unit-tests> 2026/08/16 15:40:10 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 1_commit_pending_closure.sql (6.24ms)
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 2_object_stats_trigger.sql (383.5µs)
niks3-go-unit-tests> 2026/08/16 15:40:10 goose: up to current file version: 2
niks3-go-unit-tests> --- PASS: TestReadProxyConditionalGet (2.02s)
niks3-go-unit-tests> === CONT TestPinProtectsFromGC
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 20241026095416_initial_model.sql (189.93ms)
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 20251210153512_drop_unused_gin_index.sql (14.59ms)
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 20251218171726_add_pins.sql (27.32ms)
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 20260628120000_add_object_size_and_stats.sql (42.29ms)
niks3-go-unit-tests> 2026/08/16 15:40:10 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 1_commit_pending_closure.sql (9.92ms)
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 2_object_stats_trigger.sql (759.46µs)
niks3-go-unit-tests> 2026/08/16 15:40:10 goose: up to current file version: 2
niks3-go-unit-tests> --- PASS: TestReadProxyRootRedirectsToIndexHTML (1.92s)
niks3-go-unit-tests> === CONT TestClientWithDependencies
niks3-go-unit-tests> 2026/08/16 15:40:10 INFO Received complete multipart upload request method=POST path=/api/multipart/complete
niks3-go-unit-tests> --- PASS: TestReadProxyNarinfoAlreadyDecompressed (1.95s)
niks3-go-unit-tests> === CONT TestClientMultipleUploads
niks3-go-unit-tests> 2026/08/16 15:40:10 INFO Completed multipart upload object_key=nar/gggggggggggggggggggggggggggggg0100000000000000000000.nar.zst upload_id=MzYwMTU3ZjYtNzA4OS00MTBjLWJmNDctYjJkMDg0ZjVmMjRkLjExYzM4NTMyLTZlYTMtNDdkYS05MTA0LWJiYWJiY2NmYTBlNXgxNzg2ODk0ODA5MTc3MTAzMDAw parts=12
niks3-go-unit-tests> --- PASS: TestRedundantMultipartUpload (3.41s)
niks3-go-unit-tests> === CONT TestResurrectedObjectNotDeleted
niks3-go-unit-tests> 2026-08-16 15:40:10.800 UTC [4376] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:10.800 UTC [4376] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-16 15:40:10.842 UTC [4378] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:10.842 UTC [4378] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-16 15:40:10.842 UTC [4377] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:10.842 UTC [4377] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 20241026095416_initial_model.sql (70.42ms)
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 20251210153512_drop_unused_gin_index.sql (4.04ms)
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 20251218171726_add_pins.sql (34.05ms)
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 20241026095416_initial_model.sql (75.93ms)
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 20241026095416_initial_model.sql (75.91ms)
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 20251210153512_drop_unused_gin_index.sql (2.54ms)
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 20251210153512_drop_unused_gin_index.sql (3.25ms)
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 20260628120000_add_object_size_and_stats.sql (17.68ms)
niks3-go-unit-tests> 2026/08/16 15:40:10 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 1_commit_pending_closure.sql (4.19ms)
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 2_object_stats_trigger.sql (683.5µs)
niks3-go-unit-tests> 2026/08/16 15:40:10 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 20251218171726_add_pins.sql (28.92ms)
niks3-go-unit-tests> 2026/08/16 15:40:10 OK 20251218171726_add_pins.sql (29.2ms)
niks3-go-unit-tests> 2026/08/16 15:40:11 OK 20260628120000_add_object_size_and_stats.sql (49.21ms)
niks3-go-unit-tests> 2026/08/16 15:40:11 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:11 OK 20260628120000_add_object_size_and_stats.sql (50.5ms)
niks3-go-unit-tests> 2026/08/16 15:40:11 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:11 OK 1_commit_pending_closure.sql (12.69ms)
niks3-go-unit-tests> 2026/08/16 15:40:11 OK 1_commit_pending_closure.sql (13.27ms)
niks3-go-unit-tests> 2026/08/16 15:40:11 OK 2_object_stats_trigger.sql (1.14ms)
niks3-go-unit-tests> 2026/08/16 15:40:11 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:11 OK 2_object_stats_trigger.sql (1.47ms)
niks3-go-unit-tests> 2026/08/16 15:40:11 goose: up to current file version: 2
niks3-go-unit-tests> --- PASS: TestReadProxyNarinfo (2.32s)
niks3-go-unit-tests> === CONT TestParseSingleRange
niks3-go-unit-tests> === RUN TestParseSingleRange/none
niks3-go-unit-tests> === PAUSE TestParseSingleRange/none
niks3-go-unit-tests> === RUN TestParseSingleRange/unknown_unit
niks3-go-unit-tests> === PAUSE TestParseSingleRange/unknown_unit
niks3-go-unit-tests> === RUN TestParseSingleRange/multi-range_ignored
niks3-go-unit-tests> === PAUSE TestParseSingleRange/multi-range_ignored
niks3-go-unit-tests> === RUN TestParseSingleRange/malformed_no_dash
niks3-go-unit-tests> === PAUSE TestParseSingleRange/malformed_no_dash
niks3-go-unit-tests> === RUN TestParseSingleRange/malformed_both_empty
niks3-go-unit-tests> === PAUSE TestParseSingleRange/malformed_both_empty
niks3-go-unit-tests> === RUN TestParseSingleRange/malformed_end_before_start
niks3-go-unit-tests> === PAUSE TestParseSingleRange/malformed_end_before_start
niks3-go-unit-tests> === RUN TestParseSingleRange/closed
niks3-go-unit-tests> === PAUSE TestParseSingleRange/closed
niks3-go-unit-tests> === RUN TestParseSingleRange/open-ended
niks3-go-unit-tests> === PAUSE TestParseSingleRange/open-ended
niks3-go-unit-tests> === RUN TestParseSingleRange/end_clamped_to_size
niks3-go-unit-tests> === PAUSE TestParseSingleRange/end_clamped_to_size
niks3-go-unit-tests> === RUN TestParseSingleRange/suffix
niks3-go-unit-tests> === PAUSE TestParseSingleRange/suffix
niks3-go-unit-tests> === RUN TestParseSingleRange/suffix_exceeds_size
niks3-go-unit-tests> === PAUSE TestParseSingleRange/suffix_exceeds_size
niks3-go-unit-tests> === RUN TestParseSingleRange/single_byte
niks3-go-unit-tests> === PAUSE TestParseSingleRange/single_byte
niks3-go-unit-tests> === RUN TestParseSingleRange/start_past_EOF
niks3-go-unit-tests> === PAUSE TestParseSingleRange/start_past_EOF
niks3-go-unit-tests> === RUN TestParseSingleRange/start_far_past_EOF
niks3-go-unit-tests> === PAUSE TestParseSingleRange/start_far_past_EOF
niks3-go-unit-tests> === CONT TestService_verifyS3Integrity
niks3-go-unit-tests> 2026-08-16 15:40:11.230 UTC [4379] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:11.230 UTC [4379] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/16 15:40:11 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> --- PASS: TestReadProxyHead (2.38s)
niks3-go-unit-tests> === CONT TestGCMissingUpstreamReference
niks3-go-unit-tests> 2026/08/16 15:40:11 OK 20241026095416_initial_model.sql (186.34ms)
niks3-go-unit-tests> 2026/08/16 15:40:11 OK 20251210153512_drop_unused_gin_index.sql (8.23ms)
niks3-go-unit-tests> 2026/08/16 15:40:11 OK 20251218171726_add_pins.sql (28.26ms)
niks3-go-unit-tests> 2026/08/16 15:40:11 OK 20260628120000_add_object_size_and_stats.sql (25.34ms)
niks3-go-unit-tests> 2026/08/16 15:40:11 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:11 OK 1_commit_pending_closure.sql (9.95ms)
niks3-go-unit-tests> 2026/08/16 15:40:11 OK 2_object_stats_trigger.sql (1.61ms)
niks3-go-unit-tests> 2026/08/16 15:40:11 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:11 INFO Received complete multipart upload request method=POST path=/api/multipart/complete
niks3-go-unit-tests> 2026-08-16 15:40:11.700 UTC [4384] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:11.700 UTC [4384] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/16 15:40:11 INFO Created nix-cache-info in bucket bucket=bucket26
niks3-go-unit-tests> 2026-08-16 15:40:11.803 UTC [4386] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:11.803 UTC [4386] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/16 15:40:11 OK 20241026095416_initial_model.sql (44.88ms)
niks3-go-unit-tests> 2026/08/16 15:40:11 OK 20251210153512_drop_unused_gin_index.sql (642.71µs)
niks3-go-unit-tests> 2026/08/16 15:40:11 OK 20251218171726_add_pins.sql (1.28ms)
niks3-go-unit-tests> 2026/08/16 15:40:11 OK 20241026095416_initial_model.sql (10.51ms)
niks3-go-unit-tests> 2026/08/16 15:40:11 OK 20251210153512_drop_unused_gin_index.sql (990.92µs)
niks3-go-unit-tests> 2026/08/16 15:40:11 OK 20260628120000_add_object_size_and_stats.sql (18.69ms)
niks3-go-unit-tests> 2026/08/16 15:40:11 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:11 OK 20251218171726_add_pins.sql (8.08ms)
niks3-go-unit-tests> 2026/08/16 15:40:11 OK 1_commit_pending_closure.sql (1.61ms)
niks3-go-unit-tests> 2026/08/16 15:40:11 OK 2_object_stats_trigger.sql (399.83µs)
niks3-go-unit-tests> 2026/08/16 15:40:11 goose: up to current file version: 2
niks3-go-unit-tests> 2026-08-16 15:40:11.833 UTC [4387] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:11.833 UTC [4387] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/16 15:40:11 OK 20260628120000_add_object_size_and_stats.sql (50.47ms)
niks3-go-unit-tests> 2026/08/16 15:40:11 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:11 OK 1_commit_pending_closure.sql (6.75ms)
niks3-go-unit-tests> 2026/08/16 15:40:11 OK 2_object_stats_trigger.sql (338.83µs)
niks3-go-unit-tests> 2026/08/16 15:40:11 goose: up to current file version: 2
niks3-go-unit-tests> === NAME TestClientIntegration
niks3-go-unit-tests> client_integration_test.go:276: Created store path: /nix/var/nix/builds/nix-4114-2679204974/TestClientIntegration2230914588/002/store/q4hfjf2387vh7dkdv9k7k037p0c7jl0l-test-file.txt
niks3-go-unit-tests> 2026/08/16 15:40:11 INFO Aborted multipart uploads count=0
niks3-go-unit-tests> 2026/08/16 15:40:11 WARN Force mode enabled - objects will be deleted immediately without grace period
niks3-go-unit-tests> 2026/08/16 15:40:11 INFO Garbage collection completed failed-uploads-deleted=0 old-closures-deleted=0 objects-marked-for-deletion=0 objects-deleted-after-grace-period=0 objects-failed-to-delete=0
niks3-go-unit-tests> 2026/08/16 15:40:11 INFO Vacuumed table table=pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:11 INFO Vacuumed table table=pending_objects
niks3-go-unit-tests> 2026/08/16 15:40:11 INFO Vacuumed table table=multipart_uploads
niks3-go-unit-tests> 2026/08/16 15:40:11 INFO Vacuumed table table=closures
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Vacuumed table table=objects
niks3-go-unit-tests> --- PASS: TestGCMetrics (2.29s)
niks3-go-unit-tests> === CONT TestCreatePendingClosure_SmallNARUsesSimplePUT
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 20241026095416_initial_model.sql (159.49ms)
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 20251210153512_drop_unused_gin_index.sql (7.65ms)
niks3-go-unit-tests> 2026-08-16 15:40:12.076 UTC [4395] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:12.076 UTC [4395] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/16 15:40:12 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/16 15:40:12 OK 20251218171726_add_pins.sql (30.35ms)
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 20260628120000_add_object_size_and_stats.sql (27.85ms)
niks3-go-unit-tests> 2026/08/16 15:40:12 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 1_commit_pending_closure.sql (5.24ms)
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 2_object_stats_trigger.sql (249.42µs)
niks3-go-unit-tests> 2026/08/16 15:40:12 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Uploading 1 paths to 127.0.0.1 (0 already cached, 0 in upstream)
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Uploading q4hfjf2387vh7dkdv9k7k037p0c7jl0l-test-file.txt (152B)
niks3-go-unit-tests> 2026/08/16 15:40:12 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/16 15:40:12 WARN Failed to register uploaded object key=q4hfjf2387vh7dkdv9k7k037p0c7jl0l.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Signed narinfos id=1 count=1
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Uploading 1 narinfos
niks3-go-unit-tests> 2026/08/16 15:40:12 WARN Failed to register uploaded object key=q4hfjf2387vh7dkdv9k7k037p0c7jl0l.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 20241026095416_initial_model.sql (138.15ms)
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Completed upload id=1
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Upload complete. (248ms)
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-4114-2679204974/TestClientIntegration2230914588/002/store/q4hfjf2387vh7dkdv9k7k037p0c7jl0l-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/16 15:40:12 OK 20251210153512_drop_unused_gin_index.sql (7.4ms)
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Created nix-cache-info in bucket bucket=bucket29
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 20251218171726_add_pins.sql (28.66ms)
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 20260628120000_add_object_size_and_stats.sql (4.91ms)
niks3-go-unit-tests> 2026/08/16 15:40:12 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Starting cleanup of old closures method=DELETE path=/api/closures
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Garbage collection started
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Aborted multipart uploads count=0
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 1_commit_pending_closure.sql (8.41ms)
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 2_object_stats_trigger.sql (260µs)
niks3-go-unit-tests> 2026/08/16 15:40:12 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:12 WARN Force mode enabled - objects will be deleted immediately without grace period
niks3-go-unit-tests> 2026-08-16 15:40:12.387 UTC [4404] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:12.387 UTC [4404] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> --- PASS: TestGCBugBareHashReferences (2.53s)
niks3-go-unit-tests> === CONT TestCompleteMultipartUnregistered
niks3-go-unit-tests> 2026-08-16 15:40:12.437 UTC [4407] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:12.437 UTC [4407] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/16 15:40:12 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/16 15:40:12 INFO Vacuumed table table=pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Vacuumed table table=pending_objects
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Vacuumed table table=multipart_uploads
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Created nix-cache-info in bucket bucket=bucket30
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Vacuumed table table=closures
niks3-go-unit-tests> === NAME TestPinProtectsFromGC
niks3-go-unit-tests> client_integration_test.go:646: Pinned store path: /nix/var/nix/builds/nix-4114-2679204974/TestPinProtectsFromGC1582277594/001/store/8db3dhf05rv0p98pyrw0bdzbrjshz2l1-pinned-file.txt
niks3-go-unit-tests> client_integration_test.go:647: Unpinned store path: /nix/var/nix/builds/nix-4114-2679204974/TestPinProtectsFromGC1582277594/001/store/5gl2alcc8483z9ccl75bmvdsgnp9hq90-unpinned-file.txt
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Vacuumed table table=objects
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 20241026095416_initial_model.sql (74.73ms)
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 20251210153512_drop_unused_gin_index.sql (6.97ms)
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 20251218171726_add_pins.sql (13.51ms)
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 20241026095416_initial_model.sql (59.78ms)
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 20251210153512_drop_unused_gin_index.sql (7.54ms)
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 20260628120000_add_object_size_and_stats.sql (28.23ms)
niks3-go-unit-tests> 2026/08/16 15:40:12 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:12 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/16 15:40:12 OK 1_commit_pending_closure.sql (1.18ms)
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 2_object_stats_trigger.sql (406.46µs)
niks3-go-unit-tests> 2026/08/16 15:40:12 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 20251218171726_add_pins.sql (21.41ms)
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 20260628120000_add_object_size_and_stats.sql (26.46ms)
niks3-go-unit-tests> 2026/08/16 15:40:12 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026-08-16 15:40:12.595 UTC [4418] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:12.595 UTC [4418] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 1_commit_pending_closure.sql (5.72ms)
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 2_object_stats_trigger.sql (243.92µs)
niks3-go-unit-tests> 2026/08/16 15:40:12 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Uploading 1 paths to 127.0.0.1 (0 already cached, 0 in upstream)
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Uploading 8db3dhf05rv0p98pyrw0bdzbrjshz2l1-pinned-file.txt (128B)
niks3-go-unit-tests> 2026/08/16 15:40:12 WARN Failed to register uploaded object key=nar/0qmhsg42pqsz7x6hh02j8gznnac3yi3qpjhrqbwvz88i194jbb5s.nar.zst error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/16 15:40:12 WARN Failed to register uploaded object key=8db3dhf05rv0p98pyrw0bdzbrjshz2l1.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Signed narinfos id=1 count=1
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Uploading 1 narinfos
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Created nix-cache-info in bucket bucket=bucket31
niks3-go-unit-tests> 2026/08/16 15:40:12 WARN Failed to register uploaded object key=8db3dhf05rv0p98pyrw0bdzbrjshz2l1.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Completed upload id=1
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Upload complete. (230ms)
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 20241026095416_initial_model.sql (121.07ms)
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 20251210153512_drop_unused_gin_index.sql (5.18ms)
niks3-go-unit-tests> === NAME TestClientWithDependencies
niks3-go-unit-tests> client_integration_test.go:593: Built derivation: /nix/var/nix/builds/nix-4114-2679204974/TestClientWithDependencies243561444/001/store/s7c5xdpjq2bdnphrnh3jrb8m45xbqvd0-test-script
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 20251218171726_add_pins.sql (1.69ms)
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 20260628120000_add_object_size_and_stats.sql (8.28ms)
niks3-go-unit-tests> 2026/08/16 15:40:12 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 1_commit_pending_closure.sql (6.89ms)
niks3-go-unit-tests> 2026/08/16 15:40:12 OK 2_object_stats_trigger.sql (244.63µs)
niks3-go-unit-tests> 2026/08/16 15:40:12 goose: up to current file version: 2
niks3-go-unit-tests> 2026-08-16 15:40:12.791 UTC [4426] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:12.791 UTC [4426] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> client_integration_test.go:595: Found 1 dependencies (including self)
niks3-go-unit-tests> 2026/08/16 15:40:12 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> --- PASS: TestResurrectedObjectNotDeleted (2.14s)
niks3-go-unit-tests> === CONT TestService_cleanupPendingClosuresHandler
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Uploading 1 paths to 127.0.0.1 (0 already cached, 0 in upstream)
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Uploading 5gl2alcc8483z9ccl75bmvdsgnp9hq90-unpinned-file.txt (128B)
niks3-go-unit-tests> === NAME TestClientMultipleUploads
niks3-go-unit-tests> client_integration_test.go:338: Created store path 0: /nix/var/nix/builds/nix-4114-2679204974/TestClientMultipleUploads1083614410/001/store/g18sj555nls4iklxd5hp9y06sff73f6p-test-file-0.txt
niks3-go-unit-tests> 2026/08/16 15:40:12 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/16 15:40:12 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Uploading 1 paths to 127.0.0.1 (0 already cached, 0 in upstream)
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Uploading s7c5xdpjq2bdnphrnh3jrb8m45xbqvd0-test-script (136B)
niks3-go-unit-tests> 2026/08/16 15:40:12 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/16 15:40:12 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:12 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/16 15:40:12 WARN Failed to register uploaded object key=5gl2alcc8483z9ccl75bmvdsgnp9hq90.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/16 15:40:12 WARN Failed to register uploaded object key=log/zqz576wixfs5vp4k1sdjq1l2357nd9cp-test-script.drv error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Signed narinfos id=2 count=1
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Uploading 1 narinfos
niks3-go-unit-tests> client_integration_test.go:338: Created store path 1: /nix/var/nix/builds/nix-4114-2679204974/TestClientMultipleUploads1083614410/001/store/wn6kirpk3gznf2irhiqaiqkhkblj7nq3-test-file-1.txt
niks3-go-unit-tests> 2026/08/16 15:40:12 WARN Failed to register uploaded object key=s7c5xdpjq2bdnphrnh3jrb8m45xbqvd0.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Signed narinfos id=1 count=1
niks3-go-unit-tests> 2026/08/16 15:40:12 INFO Uploading 1 narinfos
niks3-go-unit-tests> 2026/08/16 15:40:13 WARN Failed to register uploaded object key=5gl2alcc8483z9ccl75bmvdsgnp9hq90.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Completed upload id=2
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Upload complete. (223ms)
niks3-go-unit-tests> 2026/08/16 15:40:13 OK 20241026095416_initial_model.sql (168.15ms)
niks3-go-unit-tests> 2026/08/16 15:40:13 WARN Failed to register uploaded object key=s7c5xdpjq2bdnphrnh3jrb8m45xbqvd0.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete
niks3-go-unit-tests> 2026/08/16 15:40:13 OK 20251210153512_drop_unused_gin_index.sql (10.67ms)
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Received create pin request method=POST path=/api/pins/myapp
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Completed upload id=1
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Upload complete. (201ms)
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-4114-2679204974/TestClientWithDependencies243561444/001/store) requires matching store prefix
niks3-go-unit-tests> 2026/08/16 15:40:13 OK 20251218171726_add_pins.sql (18.87ms)
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Created/updated pin name=myapp store_path=/nix/var/nix/builds/nix-4114-2679204974/TestPinProtectsFromGC1582277594/001/store/8db3dhf05rv0p98pyrw0bdzbrjshz2l1-pinned-file.txt narinfo_key=8db3dhf05rv0p98pyrw0bdzbrjshz2l1.narinfo
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Starting cleanup of old closures method=DELETE path=/api/closures
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Garbage collection started
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Aborted multipart uploads count=0
niks3-go-unit-tests> 2026/08/16 15:40:13 WARN Force mode enabled - objects will be deleted immediately without grace period
niks3-go-unit-tests> 2026/08/16 15:40:13 OK 20260628120000_add_object_size_and_stats.sql (42.71ms)
niks3-go-unit-tests> 2026/08/16 15:40:13 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:13 OK 1_commit_pending_closure.sql (1.15ms)
niks3-go-unit-tests> === NAME TestClientMultipleUploads
niks3-go-unit-tests> client_integration_test.go:338: Created store path 2: /nix/var/nix/builds/nix-4114-2679204974/TestClientMultipleUploads1083614410/001/store/ig3y2d2pvj7bidphzhnbr1ld4hp954d5-test-file-2.txt
niks3-go-unit-tests> 2026/08/16 15:40:13 OK 2_object_stats_trigger.sql (620.04µs)
niks3-go-unit-tests> 2026/08/16 15:40:13 goose: up to current file version: 2
niks3-go-unit-tests> --- PASS: TestClientWithDependencies (2.69s)
niks3-go-unit-tests> === CONT TestService_createPendingClosureHandler
niks3-go-unit-tests> 2026/08/16 15:40:13 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/16 15:40:13 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/16 15:40:13 INFO Vacuumed table table=pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Vacuumed table table=pending_objects
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Vacuumed table table=multipart_uploads
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Vacuumed table table=closures
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Uploading 3 paths to 127.0.0.1 (0 already cached, 0 in upstream)
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Uploading ig3y2d2pvj7bidphzhnbr1ld4hp954d5-test-file-2.txt (160B)
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Uploading wn6kirpk3gznf2irhiqaiqkhkblj7nq3-test-file-1.txt (160B)
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Uploading g18sj555nls4iklxd5hp9y06sff73f6p-test-file-0.txt (160B)
niks3-go-unit-tests> 2026-08-16 15:40:13.306 UTC [4456] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:13.306 UTC [4456] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> --- PASS: TestGCMissingUpstreamReference (1.90s)
niks3-go-unit-tests> === CONT TestOrphanedObjectsGCStressTest
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Vacuumed table table=objects
niks3-go-unit-tests> 2026/08/16 15:40:13 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/16 15:40:13 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/16 15:40:13 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/16 15:40:13 WARN Failed to register uploaded object key=g18sj555nls4iklxd5hp9y06sff73f6p.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/16 15:40:13 WARN Failed to register uploaded object key=wn6kirpk3gznf2irhiqaiqkhkblj7nq3.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/16 15:40:13 WARN Failed to register uploaded object key=ig3y2d2pvj7bidphzhnbr1ld4hp954d5.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Signed narinfos id=1 count=1
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Signed narinfos id=2 count=1
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Received sign narinfos request method=POST path=/api/pending_closures/3/sign
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Signed narinfos id=3 count=1
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Uploading 3 narinfos
niks3-go-unit-tests> 2026/08/16 15:40:13 WARN Failed to register uploaded object key=ig3y2d2pvj7bidphzhnbr1ld4hp954d5.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/16 15:40:13 WARN Failed to register uploaded object key=g18sj555nls4iklxd5hp9y06sff73f6p.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/16 15:40:13 WARN Failed to register uploaded object key=wn6kirpk3gznf2irhiqaiqkhkblj7nq3.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Completed upload id=1
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Completed upload id=2
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Received complete upload request method=POST path=/api/pending_closures/3/complete
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Completed upload id=3
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Upload complete. (343ms)
niks3-go-unit-tests> === NAME TestClientMultipleUploads
niks3-go-unit-tests> client_integration_test.go:349: Uploaded 3 paths in 378.615667ms
niks3-go-unit-tests> --- PASS: TestClientMultipleUploads (2.87s)
niks3-go-unit-tests> === CONT TestUploadHandlersRejectOversizedBody
niks3-go-unit-tests> 2026/08/16 15:40:13 OK 20241026095416_initial_model.sql (126.05ms)
niks3-go-unit-tests> 2026/08/16 15:40:13 OK 20251210153512_drop_unused_gin_index.sql (1.19ms)
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> === RUN TestUploadHandlersRejectOversizedBody/create_pending_closure
niks3-go-unit-tests> === PAUSE TestUploadHandlersRejectOversizedBody/create_pending_closure
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 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 TestClientCADerivations
niks3-go-unit-tests> 2026/08/16 15:40:13 OK 20251218171726_add_pins.sql (34.7ms)
niks3-go-unit-tests> 2026/08/16 15:40:13 OK 20260628120000_add_object_size_and_stats.sql (17.96ms)
niks3-go-unit-tests> 2026/08/16 15:40:13 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:13 OK 1_commit_pending_closure.sql (1.58ms)
niks3-go-unit-tests> 2026/08/16 15:40:13 OK 2_object_stats_trigger.sql (276.75µs)
niks3-go-unit-tests> 2026/08/16 15:40:13 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:13 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> --- PASS: TestCreatePendingClosure_SmallNARUsesSimplePUT (1.87s)
niks3-go-unit-tests> === CONT TestCacheStatsHandler
niks3-go-unit-tests> 2026-08-16 15:40:13.891 UTC [4462] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:13.891 UTC [4462] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/16 15:40:14 OK 20241026095416_initial_model.sql (74.26ms)
niks3-go-unit-tests> 2026/08/16 15:40:14 OK 20251210153512_drop_unused_gin_index.sql (6.81ms)
niks3-go-unit-tests> 2026/08/16 15:40:14 OK 20251218171726_add_pins.sql (11ms)
niks3-go-unit-tests> 2026/08/16 15:40:14 OK 20260628120000_add_object_size_and_stats.sql (31.41ms)
niks3-go-unit-tests> 2026/08/16 15:40:14 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:14 OK 1_commit_pending_closure.sql (2.47ms)
niks3-go-unit-tests> 2026/08/16 15:40:14 OK 2_object_stats_trigger.sql (491.13µs)
niks3-go-unit-tests> 2026/08/16 15:40:14 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:14 INFO Received complete multipart upload request method=POST path=/api/multipart/complete
niks3-go-unit-tests> 2026/08/16 15:40:14 INFO Received complete multipart upload request method=POST path=/api/multipart/complete
niks3-go-unit-tests> 2026/08/16 15:40:14 ERROR Failed to get multipart upload error="no rows in result set" upload_id=does-not-exist object_key=nar/0000000000000000000000000000000000000000000000000000.nar.zst
niks3-go-unit-tests> --- PASS: TestCompleteMultipartUnregistered (1.84s)
niks3-go-unit-tests> === CONT TestService_ReadAuthMiddleware
niks3-go-unit-tests> 2026/08/16 15:40:14 INFO Completed multipart upload object_key=nar/dadb44fdadb44fdadb44fdadb44f000000000000000000000000.nar.zst upload_id=MzYwMTU3ZjYtNzA4OS00MTBjLWJmNDctYjJkMDg0ZjVmMjRkLjI4YzI2N2EyLTQzZGEtNGE1OC1iMTgwLWQ3MzkwODM5MWZmYXgxNzg2ODk0ODEyOTYyNDU4MDAw parts=10
niks3-go-unit-tests> 2026/08/16 15:40:14 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete
niks3-go-unit-tests> 2026/08/16 15:40:14 INFO Completed upload id=1
niks3-go-unit-tests> 2026/08/16 15:40:14 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:14 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:14 INFO Object in database but missing from S3 key=dadb44fdadb44fdadb44fdadb44f0000.narinfo
niks3-go-unit-tests> 2026/08/16 15:40:14 WARN Found objects in DB but missing from S3, will re-upload count=1
niks3-go-unit-tests> --- PASS: TestService_verifyS3Integrity (3.06s)
niks3-go-unit-tests> === CONT TestService_AuthMiddleware_OIDC
niks3-go-unit-tests> 2026/08/16 15:40:14 INFO OIDC provider initialized name=test
niks3-go-unit-tests> 2026/08/16 15:40:14 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-16 15:40:14.334 UTC [4467] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:14.334 UTC [4467] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> --- PASS: TestClientIntegration (4.89s)
niks3-go-unit-tests> === CONT TestService_AuthMiddleware_MTLSBoundSubjects
niks3-go-unit-tests> 2026-08-16 15:40:14.393 UTC [4471] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:14.393 UTC [4471] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/16 15:40:14 OK 20241026095416_initial_model.sql (50.09ms)
niks3-go-unit-tests> 2026/08/16 15:40:14 OK 20251210153512_drop_unused_gin_index.sql (2.47ms)
niks3-go-unit-tests> 2026/08/16 15:40:14 OK 20251218171726_add_pins.sql (21.72ms)
niks3-go-unit-tests> 2026/08/16 15:40:14 OK 20260628120000_add_object_size_and_stats.sql (11.54ms)
niks3-go-unit-tests> 2026/08/16 15:40:14 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:14 OK 1_commit_pending_closure.sql (1.73ms)
niks3-go-unit-tests> 2026/08/16 15:40:14 OK 2_object_stats_trigger.sql (367.17µs)
niks3-go-unit-tests> 2026/08/16 15:40:14 goose: up to current file version: 2
niks3-go-unit-tests> 2026-08-16 15:40:14.496 UTC [4472] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:14.496 UTC [4472] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/16 15:40:14 OK 20241026095416_initial_model.sql (133.71ms)
niks3-go-unit-tests> 2026/08/16 15:40:14 OK 20251210153512_drop_unused_gin_index.sql (12.19ms)
niks3-go-unit-tests> 2026/08/16 15:40:14 INFO Received cleanup request method=DELETE path=/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:14 INFO Aborted multipart uploads count=0
niks3-go-unit-tests> 2026/08/16 15:40:14 OK 20251218171726_add_pins.sql (21.7ms)
niks3-go-unit-tests> 2026/08/16 15:40:14 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:14 OK 20260628120000_add_object_size_and_stats.sql (20.15ms)
niks3-go-unit-tests> 2026/08/16 15:40:14 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:14 OK 1_commit_pending_closure.sql (9.58ms)
niks3-go-unit-tests> 2026/08/16 15:40:14 OK 2_object_stats_trigger.sql (1.3ms)
niks3-go-unit-tests> 2026/08/16 15:40:14 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:14 INFO Received cleanup request method=DELETE path=/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:14 INFO Aborted multipart uploads count=1
niks3-go-unit-tests> 2026/08/16 15:40:14 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete
niks3-go-unit-tests> 2026-08-16 15:40:14.655 UTC [4467] ERROR: Closure does not exist: id=1
niks3-go-unit-tests> 2026-08-16 15:40:14.655 UTC [4467] CONTEXT: PL/pgSQL function commit_pending_closure(bigint) line 16 at RAISE
niks3-go-unit-tests> 2026-08-16 15:40:14.655 UTC [4467] STATEMENT: -- name: CommitPendingClosure :exec
niks3-go-unit-tests> SELECT commit_pending_closure($1::bigint)
niks3-go-unit-tests>
niks3-go-unit-tests> --- PASS: TestService_cleanupPendingClosuresHandler (1.80s)
niks3-go-unit-tests> === CONT TestService_AuthMiddleware_MTLSProxyHeader
niks3-go-unit-tests> 2026/08/16 15:40:14 OK 20241026095416_initial_model.sql (105.31ms)
niks3-go-unit-tests> 2026/08/16 15:40:14 OK 20251210153512_drop_unused_gin_index.sql (9.67ms)
niks3-go-unit-tests> 2026/08/16 15:40:14 OK 20251218171726_add_pins.sql (17.71ms)
niks3-go-unit-tests> 2026/08/16 15:40:14 OK 20260628120000_add_object_size_and_stats.sql (27.6ms)
niks3-go-unit-tests> 2026/08/16 15:40:14 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:14 OK 1_commit_pending_closure.sql (8.37ms)
niks3-go-unit-tests> 2026/08/16 15:40:14 OK 2_object_stats_trigger.sql (655.67µs)
niks3-go-unit-tests> 2026/08/16 15:40:14 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:14 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:14 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:14 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:15 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> --- PASS: TestPinProtectsFromGC (4.87s)
niks3-go-unit-tests> === CONT TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_nix-cache-info
niks3-go-unit-tests> 2026/08/16 15:40:15 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/16 15:40:15 INFO Received request for more parts method=POST path=/
niks3-go-unit-tests> === CONT TestUploadHandlersRejectInvalidKeys/complete_multipart_rejects_non-NAR_key
niks3-go-unit-tests> 2026/08/16 15:40:15 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/16 15:40:15 INFO Received uploads request method=POST path=/
niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectInvalidKeys (0.00s)
niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_nix-cache-info (0.00s)
niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectInvalidKeys/request_more_parts_rejects_non-NAR_key (0.00s)
niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectInvalidKeys/complete_multipart_rejects_non-NAR_key (0.00s)
niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_path_traversal (0.00s)
niks3-go-unit-tests> === CONT TestSkippedUploadsHandler
niks3-go-unit-tests> 2026/08/16 15:40:15 INFO Client skipped oversized paths paths=3 nar_bytes=5000000000
niks3-go-unit-tests> --- PASS: TestSkippedUploadsHandler (0.00s)
niks3-go-unit-tests> === CONT TestServerTLSConfig/no_client_CA
niks3-go-unit-tests> === CONT TestServerTLSConfig/missing_CA_file
niks3-go-unit-tests> === CONT TestServerTLSConfig/not_a_PEM_file
niks3-go-unit-tests> --- PASS: TestServerTLSConfig (0.00s)
niks3-go-unit-tests> --- PASS: TestServerTLSConfig/no_client_CA (0.00s)
niks3-go-unit-tests> --- PASS: TestServerTLSConfig/missing_CA_file (0.00s)
niks3-go-unit-tests> --- PASS: TestServerTLSConfig/not_a_PEM_file (0.03s)
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> === CONT TestIsValidUploadKey/narinfo
niks3-go-unit-tests> === CONT TestIsValidUploadKey/realisation_plus_in_output
niks3-go-unit-tests> === CONT TestIsValidUploadKey/unknown_type
niks3-go-unit-tests> === CONT TestIsValidUploadKey/empty_key
niks3-go-unit-tests> === CONT TestIsValidUploadKey/absolute
niks3-go-unit-tests> === CONT TestIsValidUploadKey/traversal_nar
niks3-go-unit-tests> === CONT TestIsValidUploadKey/traversal
niks3-go-unit-tests> === CONT TestIsValidUploadKey/listing_key,_narinfo_type
niks3-go-unit-tests> === CONT TestIsValidUploadKey/nar_key,_narinfo_type
niks3-go-unit-tests> === CONT TestIsValidUploadKey/narinfo_key,_nar_type
niks3-go-unit-tests> === CONT TestIsValidUploadKey/index.html
niks3-go-unit-tests> === CONT TestIsValidUploadKey/nix-cache-info
niks3-go-unit-tests> === CONT TestIsValidUploadKey/build_log_home-manager_file
niks3-go-unit-tests> === CONT TestIsValidUploadKey/realisation
niks3-go-unit-tests> === CONT TestIsValidUploadKey/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/nar_plain
niks3-go-unit-tests> === CONT TestIsValidUploadKey/build_log
niks3-go-unit-tests> === CONT TestIsValidUploadKey/listing
niks3-go-unit-tests> === CONT TestIsValidUploadKey/nar_xz
niks3-go-unit-tests> === CONT TestIsValidUploadKey/nar_zst
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/narinfo (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/realisation_plus_in_output (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/unknown_type (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/empty_key (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/absolute (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/traversal_nar (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/traversal (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/listing_key,_narinfo_type (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/nar_key,_narinfo_type (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/narinfo_key,_nar_type (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/index.html (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/nix-cache-info (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/build_log_home-manager_file (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/realisation (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/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/nar_plain (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_xz (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidUploadKey/nar_zst (0.00s)
niks3-go-unit-tests> === CONT TestIsValidCachePath/narinfo
niks3-go-unit-tests> === CONT TestIsValidCachePath/index.html
niks3-go-unit-tests> === CONT TestIsValidCachePath/short_hash
niks3-go-unit-tests> === CONT TestIsValidCachePath/wrong_extension
niks3-go-unit-tests> === CONT TestIsValidCachePath/leading_slash
niks3-go-unit-tests> === CONT TestIsValidCachePath/empty
niks3-go-unit-tests> === CONT TestIsValidCachePath/random_path
niks3-go-unit-tests> === CONT TestIsValidCachePath/invalid_char_u
niks3-go-unit-tests> === CONT TestIsValidCachePath/invalid_char_e
niks3-go-unit-tests> === CONT TestIsValidCachePath/traversal_in_middle
niks3-go-unit-tests> === CONT TestIsValidCachePath/traversal_parent
niks3-go-unit-tests> === CONT TestIsValidCachePath/nar_uncompressed
niks3-go-unit-tests> === CONT TestIsValidCachePath/nix-cache-info
niks3-go-unit-tests> === CONT TestIsValidCachePath/realisation
niks3-go-unit-tests> === CONT TestIsValidCachePath/log
niks3-go-unit-tests> === CONT TestIsValidCachePath/ls
niks3-go-unit-tests> === CONT TestIsValidCachePath/nar_xz
niks3-go-unit-tests> === CONT TestIsValidCachePath/nar_bz2
niks3-go-unit-tests> === CONT TestIsValidCachePath/nar_zst
niks3-go-unit-tests> === CONT TestIsValidCachePath/narinfo_all_nix_base32_chars
niks3-go-unit-tests> --- PASS: TestIsValidCachePath (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidCachePath/narinfo (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidCachePath/index.html (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidCachePath/short_hash (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidCachePath/wrong_extension (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidCachePath/leading_slash (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidCachePath/empty (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidCachePath/random_path (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidCachePath/invalid_char_u (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidCachePath/invalid_char_e (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidCachePath/traversal_in_middle (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidCachePath/traversal_parent (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidCachePath/nar_uncompressed (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidCachePath/nix-cache-info (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidCachePath/realisation (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidCachePath/log (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidCachePath/ls (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidCachePath/nar_xz (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidCachePath/nar_bz2 (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidCachePath/nar_zst (0.00s)
niks3-go-unit-tests> --- PASS: TestIsValidCachePath/narinfo_all_nix_base32_chars (0.00s)
niks3-go-unit-tests> === CONT TestParseSingleRange/none
niks3-go-unit-tests> === CONT TestParseSingleRange/open-ended
niks3-go-unit-tests> === CONT TestParseSingleRange/start_far_past_EOF
niks3-go-unit-tests> === CONT TestParseSingleRange/start_past_EOF
niks3-go-unit-tests> === CONT TestParseSingleRange/single_byte
niks3-go-unit-tests> === CONT TestParseSingleRange/suffix_exceeds_size
niks3-go-unit-tests> === CONT TestParseSingleRange/suffix
niks3-go-unit-tests> === CONT TestParseSingleRange/end_clamped_to_size
niks3-go-unit-tests> === CONT TestParseSingleRange/malformed_both_empty
niks3-go-unit-tests> === CONT TestParseSingleRange/closed
niks3-go-unit-tests> === CONT TestParseSingleRange/malformed_end_before_start
niks3-go-unit-tests> === CONT TestParseSingleRange/multi-range_ignored
niks3-go-unit-tests> === CONT TestParseSingleRange/malformed_no_dash
niks3-go-unit-tests> === CONT TestParseSingleRange/unknown_unit
niks3-go-unit-tests> --- PASS: TestParseSingleRange (0.00s)
niks3-go-unit-tests> --- PASS: TestParseSingleRange/none (0.00s)
niks3-go-unit-tests> --- PASS: TestParseSingleRange/open-ended (0.00s)
niks3-go-unit-tests> --- PASS: TestParseSingleRange/start_far_past_EOF (0.00s)
niks3-go-unit-tests> --- PASS: TestParseSingleRange/start_past_EOF (0.00s)
niks3-go-unit-tests> --- PASS: TestParseSingleRange/single_byte (0.00s)
niks3-go-unit-tests> --- PASS: TestParseSingleRange/suffix_exceeds_size (0.00s)
niks3-go-unit-tests> --- PASS: TestParseSingleRange/suffix (0.00s)
niks3-go-unit-tests> --- PASS: TestParseSingleRange/end_clamped_to_size (0.00s)
niks3-go-unit-tests> --- PASS: TestParseSingleRange/malformed_both_empty (0.00s)
niks3-go-unit-tests> --- PASS: TestParseSingleRange/closed (0.00s)
niks3-go-unit-tests> --- PASS: TestParseSingleRange/malformed_end_before_start (0.00s)
niks3-go-unit-tests> --- PASS: TestParseSingleRange/multi-range_ignored (0.00s)
niks3-go-unit-tests> --- PASS: TestParseSingleRange/malformed_no_dash (0.00s)
niks3-go-unit-tests> --- PASS: TestParseSingleRange/unknown_unit (0.00s)
niks3-go-unit-tests> === CONT TestUploadHandlersRejectOversizedBody/complete_multipart
niks3-go-unit-tests> 2026/08/16 15:40:15 INFO Received complete multipart upload request method=POST path=/
niks3-go-unit-tests> 2026-08-16 15:40:15.212 UTC [4475] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:15.212 UTC [4475] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> === CONT TestUploadHandlersRejectOversizedBody/create_pending_closure
niks3-go-unit-tests> 2026/08/16 15:40:15 INFO Received uploads request method=POST path=/
niks3-go-unit-tests> 2026-08-16 15:40:15.364 UTC [4476] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:15.364 UTC [4476] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/16 15:40:15 OK 20241026095416_initial_model.sql (106.67ms)
niks3-go-unit-tests> 2026/08/16 15:40:15 OK 20251210153512_drop_unused_gin_index.sql (10.29ms)
niks3-go-unit-tests> 2026/08/16 15:40:15 OK 20251218171726_add_pins.sql (15.51ms)
niks3-go-unit-tests> 2026/08/16 15:40:15 OK 20260628120000_add_object_size_and_stats.sql (1.64ms)
niks3-go-unit-tests> 2026/08/16 15:40:15 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:15 OK 1_commit_pending_closure.sql (934.58µs)
niks3-go-unit-tests> 2026/08/16 15:40:15 OK 2_object_stats_trigger.sql (210.75µs)
niks3-go-unit-tests> 2026/08/16 15:40:15 goose: up to current file version: 2
niks3-go-unit-tests> === CONT TestUploadHandlersRejectOversizedBody/request_more_parts
niks3-go-unit-tests> 2026/08/16 15:40:15 INFO Received request for more parts method=POST path=/
niks3-go-unit-tests> 2026/08/16 15:40:15 OK 20241026095416_initial_model.sql (116.58ms)
niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectOversizedBody (0.03s)
niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectOversizedBody/complete_multipart (0.03s)
niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectOversizedBody/create_pending_closure (0.28s)
niks3-go-unit-tests> --- PASS: TestUploadHandlersRejectOversizedBody/request_more_parts (0.02s)
niks3-go-unit-tests> === CONT TestCacheConfigHandler/full_config,_no_issuer
niks3-go-unit-tests> === CONT TestCacheConfigHandler/no_signing_keys
niks3-go-unit-tests> === CONT TestCacheConfigHandler/issuer_requested_but_no_OIDC_validator
niks3-go-unit-tests> === CONT TestCacheConfigHandler/no_cache_url_configured
niks3-go-unit-tests> --- PASS: TestCacheConfigHandler (0.00s)
niks3-go-unit-tests> --- PASS: TestCacheConfigHandler/full_config,_no_issuer (0.00s)
niks3-go-unit-tests> --- PASS: TestCacheConfigHandler/no_signing_keys (0.00s)
niks3-go-unit-tests> --- PASS: TestCacheConfigHandler/issuer_requested_but_no_OIDC_validator (0.00s)
niks3-go-unit-tests> --- PASS: TestCacheConfigHandler/no_cache_url_configured (0.00s)
niks3-go-unit-tests> === CONT TestClientErrorHandling/InvalidStorePath
niks3-go-unit-tests> 2026/08/16 15:40:15 OK 20251210153512_drop_unused_gin_index.sql (21.09ms)
niks3-go-unit-tests> 2026/08/16 15:40:15 OK 20251218171726_add_pins.sql (25.31ms)
niks3-go-unit-tests> 2026/08/16 15:40:15 OK 20260628120000_add_object_size_and_stats.sql (31.83ms)
niks3-go-unit-tests> 2026/08/16 15:40:15 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:15 INFO Created nix-cache-info in bucket bucket=bucket40
niks3-go-unit-tests> 2026/08/16 15:40:15 OK 1_commit_pending_closure.sql (1.56ms)
niks3-go-unit-tests> 2026/08/16 15:40:15 OK 2_object_stats_trigger.sql (224µs)
niks3-go-unit-tests> 2026/08/16 15:40:15 goose: up to current file version: 2
niks3-go-unit-tests> --- PASS: TestCacheStatsHandler (1.96s)
niks3-go-unit-tests> === CONT TestClientErrorHandling/ServerNotAvailable
niks3-go-unit-tests> 2026/08/16 15:40:15 WARN Rate limiter enabled after throttle name=s3-test rate=5
niks3-go-unit-tests> 2026/08/16 15:40:15 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 (6.81s)
niks3-go-unit-tests> === CONT TestClientErrorHandling/InvalidAuthToken
niks3-go-unit-tests> === NAME TestClientCADerivations
niks3-go-unit-tests> client_ca_test.go:136: Built CA derivation: /nix/var/nix/builds/nix-4114-2679204974/TestClientCADerivations3765270438/001/store/pxprqmdx5fiqprpc2in631kq3rjqygcc-ca-test
niks3-go-unit-tests> 2026/08/16 15:40:16 INFO Received complete multipart upload request method=POST path=/api/multipart/complete
niks3-go-unit-tests> 2026-08-16 15:40:16.108 UTC [4490] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:16.108 UTC [4490] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026-08-16 15:40:16.108 UTC [4493] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:16.108 UTC [4493] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/16 15:40:16 WARN Request failed, retrying attempt=1 max_attempts=6 backoff=100ms error="Get \"http://localhost:19999/api/cache-config\": dial tcp 127.0.0.1:19999: connect: connection refused" url=http://localhost:19999/api/cache-config
niks3-go-unit-tests> client_ca_test.go:139: Found 1 dependencies (including self)
niks3-go-unit-tests> 2026/08/16 15:40:16 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/16 15:40:16 INFO Completed multipart upload object_key=nar/0000000000000000000000000000000000000000000000000000.nar.zst upload_id=MzYwMTU3ZjYtNzA4OS00MTBjLWJmNDctYjJkMDg0ZjVmMjRkLjRiMDZmMWJlLTYwNTYtNGQ5Yi1hNmQwLTUyOGY3ZGJmNDUzNXgxNzg2ODk0ODE0NzYzMzM1MDAw parts=10
niks3-go-unit-tests> 2026/08/16 15:40:16 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete
niks3-go-unit-tests> 2026/08/16 15:40:16 INFO Completed upload id=1
niks3-go-unit-tests> 2026/08/16 15:40:16 INFO Received get closure request method=GET path=/api/closures/00000000000000000000000000000000
niks3-go-unit-tests> 2026/08/16 15:40:16 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:16 INFO Starting cleanup of old closures method=DELETE path=/api/closures
niks3-go-unit-tests> 2026/08/16 15:40:16 WARN Request failed, retrying attempt=2 max_attempts=6 backoff=212.021411ms error="Get \"http://localhost:19999/api/cache-config\": dial tcp 127.0.0.1:19999: connect: connection refused" url=http://localhost:19999/api/cache-config
niks3-go-unit-tests> 2026/08/16 15:40:16 INFO Aborted multipart uploads count=0
niks3-go-unit-tests> 2026/08/16 15:40:16 INFO Garbage collection completed failed-uploads-deleted=0 old-closures-deleted=1 objects-marked-for-deletion=2 objects-deleted-after-grace-period=0 objects-failed-to-delete=0
niks3-go-unit-tests> 2026-08-16 15:40:16.235 UTC [4503] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:16.235 UTC [4503] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/16 15:40:16 INFO Received uploads request method=POST path=/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:16 INFO Vacuumed table table=pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:16 INFO Vacuumed table table=pending_objects
niks3-go-unit-tests> 2026/08/16 15:40:16 INFO Uploading 1 paths to 127.0.0.1 (0 already cached, 0 in upstream)
niks3-go-unit-tests> 2026/08/16 15:40:16 INFO Uploading pxprqmdx5fiqprpc2in631kq3rjqygcc-ca-test (144B)
niks3-go-unit-tests> 2026/08/16 15:40:16 INFO Vacuumed table table=multipart_uploads
niks3-go-unit-tests> 2026/08/16 15:40:16 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/16 15:40:16 INFO Vacuumed table table=closures
niks3-go-unit-tests> 2026/08/16 15:40:16 WARN Failed to register uploaded object key=log/60gp8z2sq0fvc6zbl8zxdc7gwkrghqqw-ca-test.drv error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/16 15:40:16 OK 20241026095416_initial_model.sql (157.65ms)
niks3-go-unit-tests> 2026/08/16 15:40:16 OK 20241026095416_initial_model.sql (161.3ms)
niks3-go-unit-tests> 2026/08/16 15:40:16 OK 20251210153512_drop_unused_gin_index.sql (18.31ms)
niks3-go-unit-tests> 2026/08/16 15:40:16 INFO Vacuumed table table=objects
niks3-go-unit-tests> 2026/08/16 15:40:16 OK 20251210153512_drop_unused_gin_index.sql (13.36ms)
niks3-go-unit-tests> 2026/08/16 15:40:16 INFO Received get closure request method=GET path=/api/closures/00000000000000000000000000000000
niks3-go-unit-tests> --- PASS: TestService_createPendingClosureHandler (3.24s)
niks3-go-unit-tests> 2026/08/16 15:40:16 WARN Failed to register uploaded object key=pxprqmdx5fiqprpc2in631kq3rjqygcc.ls error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/16 15:40:16 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign
niks3-go-unit-tests> 2026/08/16 15:40:16 INFO Signed narinfos id=1 count=1
niks3-go-unit-tests> 2026/08/16 15:40:16 INFO Uploading 1 narinfos
niks3-go-unit-tests> 2026/08/16 15:40:16 OK 20251218171726_add_pins.sql (46.12ms)
niks3-go-unit-tests> 2026/08/16 15:40:16 OK 20251218171726_add_pins.sql (50.11ms)
niks3-go-unit-tests> 2026/08/16 15:40:16 WARN Failed to register uploaded object key=pxprqmdx5fiqprpc2in631kq3rjqygcc.narinfo error="server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/16 15:40:16 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete
niks3-go-unit-tests> 2026/08/16 15:40:16 WARN Request failed, retrying attempt=3 max_attempts=6 backoff=383.271584ms error="Get \"http://localhost:19999/api/cache-config\": dial tcp 127.0.0.1:19999: connect: connection refused" url=http://localhost:19999/api/cache-config
niks3-go-unit-tests> 2026/08/16 15:40:16 OK 20260628120000_add_object_size_and_stats.sql (42.48ms)
niks3-go-unit-tests> 2026/08/16 15:40:16 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:16 INFO Completed upload id=1
niks3-go-unit-tests> 2026/08/16 15:40:16 INFO Upload complete. (304ms)
niks3-go-unit-tests> 2026/08/16 15:40:16 OK 1_commit_pending_closure.sql (3.69ms)
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-4114-2679204974/TestClientCADerivations3765270438/001/store/pxprqmdx5fiqprpc2in631kq3rjqygcc-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-4114-2679204974/TestClientCADerivations3765270438/001/store/60gp8z2sq0fvc6zbl8zxdc7gwkrghqqw-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> 2026/08/16 15:40:16 OK 2_object_stats_trigger.sql (732.88µs)
niks3-go-unit-tests> 2026/08/16 15:40:16 goose: up to current file version: 2
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/16 15:40:16 OK 20260628120000_add_object_size_and_stats.sql (40.9ms)
niks3-go-unit-tests> 2026/08/16 15:40:16 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:16 OK 1_commit_pending_closure.sql (12.85ms)
niks3-go-unit-tests> 2026/08/16 15:40:16 OK 2_object_stats_trigger.sql (403.38µs)
niks3-go-unit-tests> 2026/08/16 15:40:16 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:16 OK 20241026095416_initial_model.sql (233.24ms)
niks3-go-unit-tests> client_ca_test.go:258: nix copy output: error: binary cache 's3://bucket40?endpoint=http://localhost:55995®ion=eu-west-1' is for Nix stores with prefix '/nix/store', not '/nix/var/nix/builds/nix-4114-2679204974/TestClientCADerivations3765270438/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/16 15:40:16 OK 20251210153512_drop_unused_gin_index.sql (13.29ms)
niks3-go-unit-tests> 2026/08/16 15:40:16 OK 20251218171726_add_pins.sql (26.57ms)
niks3-go-unit-tests> 2026/08/16 15:40:16 OK 20260628120000_add_object_size_and_stats.sql (37.76ms)
niks3-go-unit-tests> 2026/08/16 15:40:16 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:16 OK 1_commit_pending_closure.sql (11.36ms)
niks3-go-unit-tests> 2026/08/16 15:40:16 OK 2_object_stats_trigger.sql (406.33µs)
niks3-go-unit-tests> 2026/08/16 15:40:16 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:16 WARN mTLS auth: subject not in bound subjects subject="CN=writer"
niks3-go-unit-tests> --- PASS: TestService_ReadAuthMiddleware (2.39s)
niks3-go-unit-tests> --- PASS: TestClientCADerivations (3.14s)
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_OIDC/valid_OIDC_token
niks3-go-unit-tests> === CONT TestService_AuthMiddleware_OIDC/static_token_still_works_with_OIDC_configured
niks3-go-unit-tests> === CONT TestService_AuthMiddleware_OIDC/malformed_token_rejected
niks3-go-unit-tests> === CONT TestService_AuthMiddleware_OIDC/OIDC_token_with_wrong_org_rejected
niks3-go-unit-tests> 2026/08/16 15:40:16 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> 2026/08/16 15:40:16 INFO OIDC auth successful provider=test
niks3-go-unit-tests> 2026/08/16 15:40:16 WARN Authentication failed token_preview=eyJhbGciOi...JUuYUrqFqQ token_length=702 oidc_error="bound claims validation failed: claim \"repository_owner\" value [otherorg] not in allowed patterns [myorg]" oidc_provider=test tried_providers=[test]
niks3-go-unit-tests> --- PASS: TestService_AuthMiddleware_OIDC (2.44s)
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/malformed_token_rejected (0.00s)
niks3-go-unit-tests> --- PASS: TestService_AuthMiddleware_OIDC/valid_OIDC_token (0.01s)
niks3-go-unit-tests> --- PASS: TestService_AuthMiddleware_OIDC/OIDC_token_with_wrong_org_rejected (0.01s)
niks3-go-unit-tests> 2026/08/16 15:40:16 WARN Request failed, retrying attempt=4 max_attempts=6 backoff=749.436883ms error="Get \"http://localhost:19999/api/cache-config\": dial tcp 127.0.0.1:19999: connect: connection refused" url=http://localhost:19999/api/cache-config
niks3-go-unit-tests> 2026/08/16 15:40:16 WARN mTLS auth: subject not in bound subjects subject="CN=untrusted,O=Other"
niks3-go-unit-tests> 2026/08/16 15:40:16 WARN mTLS auth: bound subjects configured but subject DN unavailable
niks3-go-unit-tests> 2026/08/16 15:40:16 WARN mTLS auth: subject not in bound subjects subject="CN=untrusted"
niks3-go-unit-tests> --- PASS: TestService_AuthMiddleware_MTLSBoundSubjects (2.52s)
niks3-go-unit-tests> 2026-08-16 15:40:16.986 UTC [4506] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:16.986 UTC [4506] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/16 15:40:17 OK 20241026095416_initial_model.sql (153.9ms)
niks3-go-unit-tests> 2026/08/16 15:40:17 OK 20251210153512_drop_unused_gin_index.sql (8.62ms)
niks3-go-unit-tests> 2026/08/16 15:40:17 OK 20251218171726_add_pins.sql (32.3ms)
niks3-go-unit-tests> 2026/08/16 15:40:17 OK 20260628120000_add_object_size_and_stats.sql (21.08ms)
niks3-go-unit-tests> 2026/08/16 15:40:17 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:17 OK 1_commit_pending_closure.sql (9.91ms)
niks3-go-unit-tests> 2026/08/16 15:40:17 OK 2_object_stats_trigger.sql (1ms)
niks3-go-unit-tests> 2026/08/16 15:40:17 goose: up to current file version: 2
niks3-go-unit-tests> --- PASS: TestService_AuthMiddleware_MTLSProxyHeader (2.80s)
niks3-go-unit-tests> 2026/08/16 15:40:17 WARN Request failed, retrying attempt=5 max_attempts=6 backoff=1.556476869s error="Get \"http://localhost:19999/api/cache-config\": dial tcp 127.0.0.1:19999: connect: connection refused" url=http://localhost:19999/api/cache-config
niks3-go-unit-tests> 2026-08-16 15:40:17.683 UTC [4507] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:17.683 UTC [4507] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/16 15:40:17 OK 20241026095416_initial_model.sql (142.05ms)
niks3-go-unit-tests> 2026/08/16 15:40:17 OK 20251210153512_drop_unused_gin_index.sql (12.68ms)
niks3-go-unit-tests> 2026/08/16 15:40:17 OK 20251218171726_add_pins.sql (20.77ms)
niks3-go-unit-tests> 2026/08/16 15:40:17 OK 20260628120000_add_object_size_and_stats.sql (21.58ms)
niks3-go-unit-tests> 2026/08/16 15:40:17 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:17 OK 1_commit_pending_closure.sql (8.13ms)
niks3-go-unit-tests> 2026/08/16 15:40:17 OK 2_object_stats_trigger.sql (1.12ms)
niks3-go-unit-tests> 2026/08/16 15:40:17 goose: up to current file version: 2
niks3-go-unit-tests> 2026-08-16 15:40:17.966 UTC [4508] ERROR: relation "goose_db_version" does not exist at character 36
niks3-go-unit-tests> 2026-08-16 15:40:17.966 UTC [4508] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC
niks3-go-unit-tests> 2026/08/16 15:40:18 OK 20241026095416_initial_model.sql (101.36ms)
niks3-go-unit-tests> 2026/08/16 15:40:18 OK 20251210153512_drop_unused_gin_index.sql (10.35ms)
niks3-go-unit-tests> 2026/08/16 15:40:18 OK 20251218171726_add_pins.sql (11.83ms)
niks3-go-unit-tests> 2026/08/16 15:40:18 OK 20260628120000_add_object_size_and_stats.sql (21.54ms)
niks3-go-unit-tests> 2026/08/16 15:40:18 goose: successfully migrated database to version: 20260628120000
niks3-go-unit-tests> 2026/08/16 15:40:18 OK 1_commit_pending_closure.sql (6.06ms)
niks3-go-unit-tests> 2026/08/16 15:40:18 OK 2_object_stats_trigger.sql (280.63µs)
niks3-go-unit-tests> 2026/08/16 15:40:18 goose: up to current file version: 2
niks3-go-unit-tests> 2026/08/16 15:40:18 WARN Failed to fetch cache config, uploading without size limit error="fetching cache config: server returned 404: 404 page not found\n"
niks3-go-unit-tests> 2026/08/16 15:40:18 WARN Authentication failed token_preview=invalid-token token_length=13 reason="static API token mismatch"
niks3-go-unit-tests> 2026/08/16 15:40:19 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 127.0.0.1:19999: connect: connection refused"
niks3-go-unit-tests> 2026/08/16 15:40:19 WARN Request failed, retrying attempt=1 max_attempts=6 backoff=100ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp 127.0.0.1:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:19 WARN Request failed, retrying attempt=2 max_attempts=6 backoff=189.346897ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp 127.0.0.1:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:19 WARN Request failed, retrying attempt=3 max_attempts=6 backoff=402.128363ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp 127.0.0.1:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:19 WARN Request failed, retrying attempt=4 max_attempts=6 backoff=790.73269ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp 127.0.0.1:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures
niks3-go-unit-tests> 2026/08/16 15:40:20 WARN Request failed, retrying attempt=5 max_attempts=6 backoff=1.718141024s error="Post \"http://localhost:19999/api/pending_closures\": dial tcp 127.0.0.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 (8.18s)
niks3-go-unit-tests> --- PASS: TestClientErrorHandling (0.00s)
niks3-go-unit-tests> --- PASS: TestClientErrorHandling/InvalidStorePath (2.63s)
niks3-go-unit-tests> --- PASS: TestClientErrorHandling/InvalidAuthToken (2.68s)
niks3-go-unit-tests> --- PASS: TestClientErrorHandling/ServerNotAvailable (6.60s)
niks3-go-unit-tests> PASS
niks3-go-unit-tests> {"timestamp":"2026-08-16T15:40:22.43946Z","level":"ERROR","message":"HTTP transport failed","event":"http_transport_failed","component":"server","subsystem":"transport","peer_addr":"127.0.0.1:56096","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(7)"}
niks3-go-unit-tests> 2026-08-16 15:40:22.547 UTC [4178] LOG: received smart shutdown request
niks3-go-unit-tests> 2026-08-16 15:40:22.548 UTC [4178] LOG: background worker "logical replication launcher" (PID 4188) exited with exit code 1
niks3-go-unit-tests> 2026-08-16 15:40:22.556 UTC [4183] LOG: shutting down
niks3-go-unit-tests> 2026-08-16 15:40:22.556 UTC [4183] LOG: checkpoint starting: shutdown immediate
niks3-go-unit-tests> 2026-08-16 15:40:23.617 UTC [4183] LOG: checkpoint complete: wrote 13440 buffers (82.0%), wrote 3 SLRU buffers; 0 WAL file(s) added, 0 removed, 13 recycled; write=0.794 s, sync=0.266 s, total=1.061 s; sync files=15496, longest=0.001 s, average=0.001 s; distance=217155 kB, estimate=217155 kB; lsn=0/EB9BBF0, redo lsn=0/EB9BBF0
niks3-go-unit-tests> 2026-08-16 15:40:23.621 UTC [4178] LOG: database system is shut down
niks3-go-unit-tests> Running OIDC tests...
niks3-go-unit-tests> === RUN TestGlobMatch
niks3-go-unit-tests> === PAUSE TestGlobMatch
niks3-go-unit-tests> === RUN TestAudienceForIssuer
niks3-go-unit-tests> === PAUSE TestAudienceForIssuer
niks3-go-unit-tests> === RUN TestValidateToken_ValidToken
niks3-go-unit-tests> === PAUSE TestValidateToken_ValidToken
niks3-go-unit-tests> === RUN TestValidateToken_WrongAudience
niks3-go-unit-tests> === PAUSE TestValidateToken_WrongAudience
niks3-go-unit-tests> === RUN TestValidateToken_Expired
niks3-go-unit-tests> === PAUSE TestValidateToken_Expired
niks3-go-unit-tests> === RUN TestValidateToken_BoundClaimsMismatch
niks3-go-unit-tests> === PAUSE TestValidateToken_BoundClaimsMismatch
niks3-go-unit-tests> === RUN TestValidateToken_BoundSubjectMismatch
niks3-go-unit-tests> === PAUSE TestValidateToken_BoundSubjectMismatch
niks3-go-unit-tests> === RUN TestValidateToken_MultipleProviders
niks3-go-unit-tests> === PAUSE TestValidateToken_MultipleProviders
niks3-go-unit-tests> === RUN TestValidateToken_NoMatchingProvider
niks3-go-unit-tests> === PAUSE TestValidateToken_NoMatchingProvider
niks3-go-unit-tests> === CONT TestGlobMatch
niks3-go-unit-tests> === CONT TestValidateToken_WrongAudience
niks3-go-unit-tests> === CONT TestValidateToken_BoundClaimsMismatch
niks3-go-unit-tests> === CONT TestValidateToken_Expired
niks3-go-unit-tests> === RUN TestGlobMatch/foo_foo
niks3-go-unit-tests> === PAUSE TestGlobMatch/foo_foo
niks3-go-unit-tests> === RUN TestGlobMatch/foo_bar
niks3-go-unit-tests> === PAUSE TestGlobMatch/foo_bar
niks3-go-unit-tests> === RUN TestGlobMatch/*_
niks3-go-unit-tests> === PAUSE TestGlobMatch/*_
niks3-go-unit-tests> === RUN TestGlobMatch/*_anything
niks3-go-unit-tests> === PAUSE TestGlobMatch/*_anything
niks3-go-unit-tests> === RUN TestGlobMatch/foo*_foo
niks3-go-unit-tests> === PAUSE TestGlobMatch/foo*_foo
niks3-go-unit-tests> === RUN TestGlobMatch/foo*_foobar
niks3-go-unit-tests> === PAUSE TestGlobMatch/foo*_foobar
niks3-go-unit-tests> === RUN TestGlobMatch/foo*_bar
niks3-go-unit-tests> === PAUSE TestGlobMatch/foo*_bar
niks3-go-unit-tests> === RUN TestGlobMatch/*bar_bar
niks3-go-unit-tests> === CONT TestValidateToken_ValidToken
niks3-go-unit-tests> === CONT TestAudienceForIssuer
niks3-go-unit-tests> --- PASS: TestAudienceForIssuer (0.00s)
niks3-go-unit-tests> === CONT TestValidateToken_MultipleProviders
niks3-go-unit-tests> === CONT TestValidateToken_NoMatchingProvider
niks3-go-unit-tests> === CONT TestValidateToken_BoundSubjectMismatch
niks3-go-unit-tests> === PAUSE TestGlobMatch/*bar_bar
niks3-go-unit-tests> === RUN TestGlobMatch/*bar_foobar
niks3-go-unit-tests> === PAUSE TestGlobMatch/*bar_foobar
niks3-go-unit-tests> === RUN TestGlobMatch/*bar_foo
niks3-go-unit-tests> === PAUSE TestGlobMatch/*bar_foo
niks3-go-unit-tests> === RUN TestGlobMatch/foo*bar_foobar
niks3-go-unit-tests> === PAUSE TestGlobMatch/foo*bar_foobar
niks3-go-unit-tests> === RUN TestGlobMatch/foo*bar_foo123bar
niks3-go-unit-tests> === PAUSE TestGlobMatch/foo*bar_foo123bar
niks3-go-unit-tests> === RUN TestGlobMatch/foo*bar_foobarbaz
niks3-go-unit-tests> === PAUSE TestGlobMatch/foo*bar_foobarbaz
niks3-go-unit-tests> === RUN TestGlobMatch/*/*_foo/bar
niks3-go-unit-tests> === PAUSE TestGlobMatch/*/*_foo/bar
niks3-go-unit-tests> === RUN TestGlobMatch/*/*_foo
niks3-go-unit-tests> === PAUSE TestGlobMatch/*/*_foo
niks3-go-unit-tests> === RUN TestGlobMatch/refs/heads/*_refs/heads/main
niks3-go-unit-tests> === PAUSE TestGlobMatch/refs/heads/*_refs/heads/main
niks3-go-unit-tests> === RUN TestGlobMatch/refs/heads/*_refs/tags/v1.0
niks3-go-unit-tests> === PAUSE TestGlobMatch/refs/heads/*_refs/tags/v1.0
niks3-go-unit-tests> === RUN TestGlobMatch/refs/*/main_refs/heads/main
niks3-go-unit-tests> === PAUSE TestGlobMatch/refs/*/main_refs/heads/main
niks3-go-unit-tests> === RUN TestGlobMatch/fo?_foo
niks3-go-unit-tests> === PAUSE TestGlobMatch/fo?_foo
niks3-go-unit-tests> === RUN TestGlobMatch/fo?_fo
niks3-go-unit-tests> === PAUSE TestGlobMatch/fo?_fo
niks3-go-unit-tests> === RUN TestGlobMatch/fo?_fooo
niks3-go-unit-tests> === PAUSE TestGlobMatch/fo?_fooo
niks3-go-unit-tests> === RUN TestGlobMatch/?oo_foo
niks3-go-unit-tests> === PAUSE TestGlobMatch/?oo_foo
niks3-go-unit-tests> === RUN TestGlobMatch/?oo_boo
niks3-go-unit-tests> === PAUSE TestGlobMatch/?oo_boo
niks3-go-unit-tests> === RUN TestGlobMatch/repo:myorg/*:*_repo:myorg/myrepo:ref:refs/heads/main
niks3-go-unit-tests> === PAUSE TestGlobMatch/repo:myorg/*:*_repo:myorg/myrepo:ref:refs/heads/main
niks3-go-unit-tests> === RUN TestGlobMatch/repo:myorg/*:*_repo:otherorg/myrepo:ref:refs/heads/main
niks3-go-unit-tests> === PAUSE TestGlobMatch/repo:myorg/*:*_repo:otherorg/myrepo:ref:refs/heads/main
niks3-go-unit-tests> === CONT TestGlobMatch/foo_foo
niks3-go-unit-tests> === CONT TestGlobMatch/repo:myorg/*:*_repo:otherorg/myrepo:ref:refs/heads/main
niks3-go-unit-tests> === CONT TestGlobMatch/repo:myorg/*:*_repo:myorg/myrepo:ref:refs/heads/main
niks3-go-unit-tests> === CONT TestGlobMatch/?oo_boo
niks3-go-unit-tests> === CONT TestGlobMatch/?oo_foo
niks3-go-unit-tests> === CONT TestGlobMatch/fo?_fooo
niks3-go-unit-tests> === CONT TestGlobMatch/fo?_fo
niks3-go-unit-tests> === CONT TestGlobMatch/fo?_foo
niks3-go-unit-tests> === CONT TestGlobMatch/refs/*/main_refs/heads/main
niks3-go-unit-tests> === CONT TestGlobMatch/*bar_foo
niks3-go-unit-tests> === CONT TestGlobMatch/refs/heads/*_refs/tags/v1.0
niks3-go-unit-tests> === CONT TestGlobMatch/refs/heads/*_refs/heads/main
niks3-go-unit-tests> === CONT TestGlobMatch/foo*_foobar
niks3-go-unit-tests> === CONT TestGlobMatch/*bar_foobar
niks3-go-unit-tests> === CONT TestGlobMatch/foo*bar_foo123bar
niks3-go-unit-tests> === CONT TestGlobMatch/*bar_bar
niks3-go-unit-tests> === CONT TestGlobMatch/foo*_bar
niks3-go-unit-tests> === CONT TestGlobMatch/foo*bar_foobar
niks3-go-unit-tests> === CONT TestGlobMatch/*_anything
niks3-go-unit-tests> === CONT TestGlobMatch/foo*_foo
niks3-go-unit-tests> === CONT TestGlobMatch/*_
niks3-go-unit-tests> === CONT TestGlobMatch/foo_bar
niks3-go-unit-tests> === CONT TestGlobMatch/*/*_foo
niks3-go-unit-tests> === CONT TestGlobMatch/foo*bar_foobarbaz
niks3-go-unit-tests> === CONT TestGlobMatch/*/*_foo/bar
niks3-go-unit-tests> --- PASS: TestGlobMatch (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/foo_foo (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/repo:myorg/*:*_repo:otherorg/myrepo:ref:refs/heads/main (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/repo:myorg/*:*_repo:myorg/myrepo:ref:refs/heads/main (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/?oo_boo (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/?oo_foo (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/fo?_fooo (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/fo?_fo (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/fo?_foo (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/refs/*/main_refs/heads/main (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/refs/heads/*_refs/heads/main (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/foo*_foobar (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/refs/heads/*_refs/tags/v1.0 (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/*bar_foobar (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/foo*bar_foo123bar (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/*bar_bar (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/foo*_bar (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/foo*bar_foobar (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/*bar_foo (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/*_anything (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/foo*_foo (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/*_ (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/foo_bar (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/*/*_foo (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/foo*bar_foobarbaz (0.00s)
niks3-go-unit-tests> --- PASS: TestGlobMatch/*/*_foo/bar (0.00s)
niks3-go-unit-tests> 2026/08/16 15:40:24 INFO OIDC provider initialized name=provider1
niks3-go-unit-tests> 2026/08/16 15:40:24 INFO OIDC provider initialized name=test
niks3-go-unit-tests> 2026/08/16 15:40:24 INFO OIDC provider initialized name=test
niks3-go-unit-tests> 2026/08/16 15:40:24 INFO OIDC provider initialized name=test
niks3-go-unit-tests> 2026/08/16 15:40:24 INFO OIDC provider initialized name=test
niks3-go-unit-tests> 2026/08/16 15:40:24 INFO OIDC provider initialized name=test
niks3-go-unit-tests> 2026/08/16 15:40:24 INFO OIDC provider initialized name=provider2
niks3-go-unit-tests> 2026/08/16 15:40:24 INFO OIDC provider initialized name=provider1
niks3-go-unit-tests> --- PASS: TestValidateToken_WrongAudience (0.01s)
niks3-go-unit-tests> --- PASS: TestValidateToken_Expired (0.01s)
niks3-go-unit-tests> --- PASS: TestValidateToken_BoundClaimsMismatch (0.01s)
niks3-go-unit-tests> --- PASS: TestValidateToken_ValidToken (0.01s)
niks3-go-unit-tests> --- PASS: TestValidateToken_BoundSubjectMismatch (0.01s)
niks3-go-unit-tests> --- PASS: TestValidateToken_NoMatchingProvider (0.01s)
niks3-go-unit-tests> --- PASS: TestValidateToken_MultipleProviders (0.01s)
niks3-go-unit-tests> PASS
niks3-go-unit-tests> Running hook tests...
niks3-go-unit-tests> === RUN TestSendPathsEmpty
niks3-go-unit-tests> === PAUSE TestSendPathsEmpty
niks3-go-unit-tests> === RUN TestQueueEnqueueAndFetch
niks3-go-unit-tests> === PAUSE TestQueueEnqueueAndFetch
niks3-go-unit-tests> === RUN TestQueueDeduplication
niks3-go-unit-tests> === PAUSE TestQueueDeduplication
niks3-go-unit-tests> === RUN TestQueueRemove
niks3-go-unit-tests> === PAUSE TestQueueRemove
niks3-go-unit-tests> === RUN TestQueueFetchBatchLimit
niks3-go-unit-tests> === PAUSE TestQueueFetchBatchLimit
niks3-go-unit-tests> === RUN TestQueueFetchRemoveLifecycle
niks3-go-unit-tests> === PAUSE TestQueueFetchRemoveLifecycle
niks3-go-unit-tests> === RUN TestQueueConcurrentWriters
niks3-go-unit-tests> === PAUSE TestQueueConcurrentWriters
niks3-go-unit-tests> === RUN TestServerClientIntegration
niks3-go-unit-tests> === PAUSE TestServerClientIntegration
niks3-go-unit-tests> === RUN TestServerQueueError
niks3-go-unit-tests> === PAUSE TestServerQueueError
niks3-go-unit-tests> === RUN TestGetListenerSocketActivation
niks3-go-unit-tests> server_test.go:210: === RUN TestGetListenerSocketActivation
niks3-go-unit-tests> --- PASS: TestGetListenerSocketActivation (0.00s)
niks3-go-unit-tests> PASS
niks3-go-unit-tests>
niks3-go-unit-tests> --- PASS: TestGetListenerSocketActivation (0.01s)
niks3-go-unit-tests> === RUN TestWorkerUploadsAndRemoves
niks3-go-unit-tests> === PAUSE TestWorkerUploadsAndRemoves
niks3-go-unit-tests> === RUN TestWorkerSkipsGCdPaths
niks3-go-unit-tests> === PAUSE TestWorkerSkipsGCdPaths
niks3-go-unit-tests> === RUN TestWorkerPrunesClosureDeps
niks3-go-unit-tests> === PAUSE TestWorkerPrunesClosureDeps
niks3-go-unit-tests> === CONT TestSendPathsEmpty
niks3-go-unit-tests> --- PASS: TestSendPathsEmpty (0.00s)
niks3-go-unit-tests> === CONT TestQueueFetchRemoveLifecycle
niks3-go-unit-tests> === CONT TestQueueConcurrentWriters
niks3-go-unit-tests> === CONT TestWorkerPrunesClosureDeps
niks3-go-unit-tests> === CONT TestQueueRemove
niks3-go-unit-tests> === CONT TestQueueFetchBatchLimit
niks3-go-unit-tests> === CONT TestServerQueueError
niks3-go-unit-tests> === CONT TestQueueDeduplication
niks3-go-unit-tests> === CONT TestWorkerSkipsGCdPaths
niks3-go-unit-tests> === CONT TestQueueEnqueueAndFetch
niks3-go-unit-tests> === CONT TestWorkerUploadsAndRemoves
niks3-go-unit-tests> 2026/08/16 15:40:24 ERROR Failed to queue paths error="permission denied" count=1
niks3-go-unit-tests> --- PASS: TestServerQueueError (0.00s)
niks3-go-unit-tests> === CONT TestServerClientIntegration
niks3-go-unit-tests> --- PASS: TestServerClientIntegration (0.00s)
niks3-go-unit-tests> --- PASS: TestQueueRemove (0.01s)
niks3-go-unit-tests> 2026/08/16 15:40:24 INFO Upload queue status pending=2
niks3-go-unit-tests> 2026/08/16 15:40:24 WARN Store path no longer exists (garbage collected?), removing from queue path=/nix/var/nix/builds/nix-4114-2679204974/TestWorkerSkipsGCdPaths1806344448/002/nonexistent
niks3-go-unit-tests> 2026/08/16 15:40:24 INFO Upload queue status pending=2
niks3-go-unit-tests> 2026/08/16 15:40:24 INFO Uploading batch count=1
niks3-go-unit-tests> --- PASS: TestQueueFetchBatchLimit (0.01s)
niks3-go-unit-tests> --- PASS: TestQueueDeduplication (0.01s)
niks3-go-unit-tests> 2026/08/16 15:40:24 INFO Uploading batch count=1
niks3-go-unit-tests> --- PASS: TestQueueEnqueueAndFetch (0.01s)
niks3-go-unit-tests> 2026/08/16 15:40:24 INFO Upload queue status pending=2
niks3-go-unit-tests> 2026/08/16 15:40:24 INFO Uploading batch count=2
niks3-go-unit-tests> --- PASS: TestQueueFetchRemoveLifecycle (0.01s)
niks3-go-unit-tests> --- PASS: TestWorkerSkipsGCdPaths (0.06s)
niks3-go-unit-tests> --- PASS: TestWorkerUploadsAndRemoves (0.06s)
niks3-go-unit-tests> --- PASS: TestWorkerPrunesClosureDeps (0.06s)
niks3-go-unit-tests> --- PASS: TestQueueConcurrentWriters (0.16s)
niks3-go-unit-tests> PASS
post-build step Upload coverage to codecov: ok
Skipping codecov: project=Mic92/niks3 attr=default.checks.aarch64-darwin.go-unit-tests