tribuchet: building on jamie Running client tests... === RUN TestDoServerRequestAttachesToken === PAUSE TestDoServerRequestAttachesToken === RUN TestCaseHackSuffix === PAUSE TestCaseHackSuffix === RUN TestPartSizeForNAR === PAUSE TestPartSizeForNAR === RUN TestUploadMultipart_SupersededByPeer === PAUSE TestUploadMultipart_SupersededByPeer === RUN TestDumpPathMatchesNix === PAUSE TestDumpPathMatchesNix === RUN TestDumpPathSingleFile === PAUSE TestDumpPathSingleFile === RUN TestDumpPathWriterError === PAUSE TestDumpPathWriterError === RUN TestEncodeNixBase32 === PAUSE TestEncodeNixBase32 === RUN TestEncodeNixBase32WithRealHash === PAUSE TestEncodeNixBase32WithRealHash === RUN TestConvertHashToNix32 === PAUSE TestConvertHashToNix32 === RUN TestGetStorePathHash === PAUSE TestGetStorePathHash === RUN TestPathInfoHashCompatibility === PAUSE TestPathInfoHashCompatibility === RUN TestParsePathInfoJSON === PAUSE TestParsePathInfoJSON === RUN TestParsePathInfoJSONMultiplePaths === PAUSE TestParsePathInfoJSONMultiplePaths === RUN TestPathInfoCACompatibility === PAUSE TestPathInfoCACompatibility === RUN TestRateLimiterFeedback === PAUSE TestRateLimiterFeedback === RUN TestRateLimiterFeedback_400DoesNotCountAsSuccess === PAUSE TestRateLimiterFeedback_400DoesNotCountAsSuccess === RUN TestResolveStorePath === PAUSE TestResolveStorePath === RUN TestDoWithRetry_BodyReplayedViaGetBody === PAUSE TestDoWithRetry_BodyReplayedViaGetBody === RUN TestShellSplit === PAUSE TestShellSplit === RUN TestShellSplitErrors === PAUSE TestShellSplitErrors === RUN TestSetClientTLS === PAUSE TestSetClientTLS === RUN TestSetClientTLSDoesNotMutateDefaultTransport === PAUSE TestSetClientTLSDoesNotMutateDefaultTransport === RUN TestSetClientTLSErrors === PAUSE TestSetClientTLSErrors === RUN TestStaticToken === PAUSE TestStaticToken === RUN TestFileTokenReadsAndCaches === PAUSE TestFileTokenReadsAndCaches === RUN TestFileTokenMissing === PAUSE TestFileTokenMissing === RUN TestFileTokenEmpty === PAUSE TestFileTokenEmpty === RUN TestScriptTokenNoExpiryRerunsEveryCall === PAUSE TestScriptTokenNoExpiryRerunsEveryCall === RUN TestScriptTokenCachesUntilRefresh === PAUSE TestScriptTokenCachesUntilRefresh === RUN TestScriptTokenEmptyToken === PAUSE TestScriptTokenEmptyToken === RUN TestScriptTokenBadJSON === PAUSE TestScriptTokenBadJSON === RUN TestScriptTokenScriptFails === PAUSE TestScriptTokenScriptFails === RUN TestScriptTokenEmptyCommand === PAUSE TestScriptTokenEmptyCommand === CONT TestDoServerRequestAttachesToken === CONT TestFileTokenMissing === CONT TestSetClientTLSErrors === CONT TestScriptTokenEmptyCommand === CONT TestScriptTokenBadJSON --- PASS: TestScriptTokenEmptyCommand (0.00s) === CONT TestShellSplit --- PASS: TestShellSplit (0.00s) === CONT TestSetClientTLSDoesNotMutateDefaultTransport --- PASS: TestFileTokenMissing (0.00s) === CONT TestResolveStorePath === CONT TestSetClientTLS === CONT TestFileTokenReadsAndCaches === CONT TestShellSplitErrors --- PASS: TestShellSplitErrors (0.00s) === CONT TestStaticToken --- PASS: TestStaticToken (0.00s) === CONT TestDoWithRetry_BodyReplayedViaGetBody === CONT TestParsePathInfoJSONMultiplePaths === RUN TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths === PAUSE TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths === RUN TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths === CONT TestRateLimiterFeedback_400DoesNotCountAsSuccess === PAUSE TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths === CONT TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths === CONT TestPathInfoCACompatibility === CONT TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths === CONT TestPathInfoHashCompatibility === RUN TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI) === PAUSE TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI) === RUN TestPathInfoHashCompatibility/old_string_format_with_colon === CONT TestParsePathInfoJSON === RUN TestParsePathInfoJSON/Nix_format === CONT TestGetStorePathHash === CONT TestScriptTokenNoExpiryRerunsEveryCall === CONT TestScriptTokenCachesUntilRefresh === CONT TestFileTokenEmpty === CONT TestDumpPathSingleFile === CONT TestEncodeNixBase32WithRealHash === CONT TestEncodeNixBase32 === CONT TestDumpPathWriterError === CONT TestScriptTokenEmptyToken === CONT TestPartSizeForNAR === CONT TestDumpPathMatchesNix === CONT TestCaseHackSuffix === CONT TestScriptTokenScriptFails === CONT TestConvertHashToNix32 === CONT TestUploadMultipart_SupersededByPeer === CONT TestRateLimiterFeedback --- PASS: TestFileTokenReadsAndCaches (0.00s) --- PASS: TestResolveStorePath (0.00s) --- PASS: TestEncodeNixBase32WithRealHash (0.00s) === PAUSE TestPathInfoHashCompatibility/old_string_format_with_colon === RUN TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI 2026/07/09 07:42:53 WARN Rate limiter enabled after throttle name=server-test rate=5 === RUN TestPartSizeForNAR/zero_stays_at_minimum --- PASS: TestParsePathInfoJSONMultiplePaths (0.00s) --- PASS: TestParsePathInfoJSONMultiplePaths/Nix_multiple_paths (0.00s) --- PASS: TestParsePathInfoJSONMultiplePaths/Lix_multiple_paths (0.00s) === RUN TestConvertHashToNix32/SRI_format_to_Nix32 === PAUSE TestPartSizeForNAR/zero_stays_at_minimum === RUN TestEncodeNixBase32/test_string_hash === RUN TestGetStorePathHash/valid_store_path === PAUSE TestEncodeNixBase32/test_string_hash === RUN TestUploadMultipart_SupersededByPeer/exists === PAUSE TestUploadMultipart_SupersededByPeer/exists === RUN TestEncodeNixBase32/empty_input === PAUSE TestEncodeNixBase32/empty_input === PAUSE TestParsePathInfoJSON/Nix_format === RUN TestRateLimiterFeedback/429_enables_limiter --- PASS: TestFileTokenEmpty (0.00s) === PAUSE TestRateLimiterFeedback/429_enables_limiter 2026/07/09 07:42:53 WARN Rate limiter enabled after throttle name=server-test rate=5 2026/07/09 07:42:53 WARN Request returned retryable status, retrying attempt=1 max_attempts=6 backoff=0s status=503 url=http://127.0.0.1:37191 === PAUSE TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI === RUN TestSetClientTLSErrors/missing_cert_file === PAUSE TestSetClientTLSErrors/missing_cert_file === RUN TestSetClientTLSErrors/missing_key_file === RUN TestParsePathInfoJSON/Lix_format === PAUSE TestParsePathInfoJSON/Lix_format === PAUSE TestGetStorePathHash/valid_store_path === RUN TestPartSizeForNAR/small_stays_at_minimum === PAUSE TestConvertHashToNix32/SRI_format_to_Nix32 === RUN TestPathInfoCACompatibility/null_ca_field === RUN TestUploadMultipart_SupersededByPeer/missing === CONT TestEncodeNixBase32/test_string_hash === CONT TestEncodeNixBase32/empty_input === RUN TestRateLimiterFeedback/503_enables_limiter --- PASS: TestScriptTokenEmptyToken (0.01s) === PAUSE TestSetClientTLSErrors/missing_key_file === PAUSE TestRateLimiterFeedback/503_enables_limiter === PAUSE TestUploadMultipart_SupersededByPeer/missing === RUN TestRateLimiterFeedback/200_does_not_enable_limiter === PAUSE TestPathInfoCACompatibility/null_ca_field === PAUSE TestPartSizeForNAR/small_stays_at_minimum === RUN TestConvertHashToNix32/already_Nix32_format === RUN TestPathInfoCACompatibility/old_string_format_-_text === RUN TestPartSizeForNAR/80_GiB_fits_at_minimum === PAUSE TestPartSizeForNAR/80_GiB_fits_at_minimum === RUN TestParsePathInfoJSON/empty_input === RUN TestPathInfoHashCompatibility/new_structured_format_with_sha512 === RUN TestGetStorePathHash/basename_without_hyphen_should_error === RUN TestSetClientTLSErrors/missing_ca_file === PAUSE TestSetClientTLSErrors/missing_ca_file === PAUSE TestRateLimiterFeedback/200_does_not_enable_limiter === RUN TestRateLimiterFeedback/400_does_not_enable_limiter === PAUSE TestParsePathInfoJSON/empty_input === RUN TestParsePathInfoJSON/whitespace_only === PAUSE TestPathInfoCACompatibility/old_string_format_-_text 2026/07/09 07:42:53 WARN Rate limiter backed off name=server-test rate=5 === RUN TestPathInfoCACompatibility/old_string_format_-_fixed_recursive 2026/07/09 07:42:53 WARN Request returned retryable status, retrying attempt=2 max_attempts=6 backoff=0s status=503 url=http://127.0.0.1:37191 === PAUSE TestPathInfoCACompatibility/old_string_format_-_fixed_recursive === PAUSE TestRateLimiterFeedback/400_does_not_enable_limiter === RUN TestSetClientTLSErrors/invalid_ca_file === PAUSE TestSetClientTLSErrors/invalid_ca_file === CONT TestUploadMultipart_SupersededByPeer/missing === PAUSE TestConvertHashToNix32/already_Nix32_format === RUN TestPartSizeForNAR/115_GiB_needs_larger_parts === CONT TestUploadMultipart_SupersededByPeer/exists === RUN TestConvertHashToNix32/invalid_format --- PASS: TestEncodeNixBase32 (0.00s) --- PASS: TestEncodeNixBase32/empty_input (0.00s) --- PASS: TestEncodeNixBase32/test_string_hash (0.00s) --- PASS: TestScriptTokenBadJSON (0.01s) --- PASS: TestDoServerRequestAttachesToken (0.00s) === PAUSE TestPathInfoHashCompatibility/new_structured_format_with_sha512 === CONT TestPathInfoHashCompatibility/old_string_format_with_colon === CONT TestPathInfoHashCompatibility/new_structured_format_with_sha512 === PAUSE TestParsePathInfoJSON/whitespace_only === RUN TestPathInfoCACompatibility/new_structured_format_-_text === CONT TestRateLimiterFeedback/429_enables_limiter === CONT TestRateLimiterFeedback/400_does_not_enable_limiter === CONT TestRateLimiterFeedback/200_does_not_enable_limiter === CONT TestRateLimiterFeedback/503_enables_limiter === CONT TestSetClientTLSErrors/missing_cert_file === CONT TestSetClientTLSErrors/invalid_ca_file === CONT TestSetClientTLSErrors/missing_ca_file === CONT TestSetClientTLSErrors/missing_key_file === PAUSE TestPartSizeForNAR/115_GiB_needs_larger_parts === PAUSE TestConvertHashToNix32/invalid_format === RUN TestSetClientTLS/rejects_connection_without_client_cert === PAUSE TestSetClientTLS/rejects_connection_without_client_cert --- PASS: TestScriptTokenScriptFails (0.01s) === PAUSE TestGetStorePathHash/basename_without_hyphen_should_error === CONT TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI === RUN TestGetStorePathHash/hash_with_invalid_characters_should_error === PAUSE TestGetStorePathHash/hash_with_invalid_characters_should_error === RUN TestGetStorePathHash/hash_with_wrong_length_should_error === PAUSE TestGetStorePathHash/hash_with_wrong_length_should_error === CONT TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI) === RUN TestParsePathInfoJSON/invalid_JSON === PAUSE TestPathInfoCACompatibility/new_structured_format_-_text === CONT TestConvertHashToNix32/SRI_format_to_Nix32 === CONT TestConvertHashToNix32/invalid_format === CONT TestConvertHashToNix32/already_Nix32_format === RUN TestPartSizeForNAR/1_TiB 2026/07/09 07:42:53 WARN Rate limiter enabled after throttle name=server-test rate=5 === RUN TestSetClientTLS/succeeds_with_client_cert_and_CA 2026/07/09 07:42:53 WARN Request returned retryable status, retrying attempt=1 max_attempts=2 backoff=0s status=429 url=http://127.0.0.1:41691 === PAUSE TestSetClientTLS/succeeds_with_client_cert_and_CA === RUN TestSetClientTLS/preserves_debug_logging_transport --- PASS: TestSetClientTLSDoesNotMutateDefaultTransport (0.01s) 2026/07/09 07:42:53 WARN Rate limiter enabled after throttle name=server-test rate=5 === CONT TestGetStorePathHash/valid_store_path 2026/07/09 07:42:53 WARN Request returned retryable status, retrying attempt=1 max_attempts=2 backoff=0s status=503 url=http://127.0.0.1:33095 === CONT TestGetStorePathHash/hash_with_wrong_length_should_error === CONT TestGetStorePathHash/hash_with_invalid_characters_should_error === CONT TestGetStorePathHash/basename_without_hyphen_should_error === PAUSE TestParsePathInfoJSON/invalid_JSON === CONT TestParsePathInfoJSON/Nix_format === CONT TestParsePathInfoJSON/empty_input === CONT TestParsePathInfoJSON/Lix_format === CONT TestParsePathInfoJSON/whitespace_only 2026/07/09 07:42:53 WARN Rate limiter backed off name=server-test rate=5 === PAUSE TestPartSizeForNAR/1_TiB === PAUSE TestSetClientTLS/preserves_debug_logging_transport === RUN TestPartSizeForNAR/5_TiB_S3_max_object === CONT TestSetClientTLS/rejects_connection_without_client_cert 2026/07/09 07:42:53 WARN Rate limiter backed off name=server-test rate=5 === RUN TestPathInfoCACompatibility/new_structured_format_-_nar_method === PAUSE TestPathInfoCACompatibility/new_structured_format_-_nar_method === CONT TestParsePathInfoJSON/invalid_JSON --- PASS: TestDoWithRetry_BodyReplayedViaGetBody (0.01s) === CONT TestSetClientTLS/preserves_debug_logging_transport === CONT TestSetClientTLS/succeeds_with_client_cert_and_CA === PAUSE TestPartSizeForNAR/5_TiB_S3_max_object === CONT TestPathInfoCACompatibility/null_ca_field === CONT TestPathInfoCACompatibility/new_structured_format_-_text === CONT TestPathInfoCACompatibility/new_structured_format_-_nar_method === CONT TestPathInfoCACompatibility/old_string_format_-_fixed_recursive === CONT TestPathInfoCACompatibility/old_string_format_-_text --- PASS: TestScriptTokenCachesUntilRefresh (0.02s) === RUN TestPartSizeForNAR/capped_at_5_GiB === PAUSE TestPartSizeForNAR/capped_at_5_GiB === CONT TestPartSizeForNAR/zero_stays_at_minimum === CONT TestPartSizeForNAR/5_TiB_S3_max_object === CONT TestPartSizeForNAR/1_TiB === CONT TestPartSizeForNAR/capped_at_5_GiB --- PASS: TestPathInfoHashCompatibility (0.01s) --- PASS: TestPathInfoHashCompatibility/new_structured_format_with_sha512 (0.00s) --- PASS: TestPathInfoHashCompatibility/old_string_format_with_colon (0.00s) --- PASS: TestPathInfoHashCompatibility/new_structured_format_-_converts_to_SRI (0.00s) --- PASS: TestPathInfoHashCompatibility/old_string_format_with_dash_(SRI) (0.00s) === CONT TestPartSizeForNAR/small_stays_at_minimum === CONT TestPartSizeForNAR/115_GiB_needs_larger_parts === CONT TestPartSizeForNAR/80_GiB_fits_at_minimum --- PASS: TestConvertHashToNix32 (0.02s) --- PASS: TestConvertHashToNix32/SRI_format_to_Nix32 (0.00s) --- PASS: TestConvertHashToNix32/invalid_format (0.00s) --- PASS: TestConvertHashToNix32/already_Nix32_format (0.00s) --- PASS: TestParsePathInfoJSON (0.02s) --- PASS: TestParsePathInfoJSON/empty_input (0.00s) --- PASS: TestParsePathInfoJSON/Nix_format (0.00s) --- PASS: TestParsePathInfoJSON/Lix_format (0.00s) --- PASS: TestParsePathInfoJSON/whitespace_only (0.00s) --- PASS: TestParsePathInfoJSON/invalid_JSON (0.00s) --- PASS: TestRateLimiterFeedback (0.01s) --- PASS: TestRateLimiterFeedback/200_does_not_enable_limiter (0.01s) --- PASS: TestRateLimiterFeedback/400_does_not_enable_limiter (0.01s) --- PASS: TestRateLimiterFeedback/429_enables_limiter (0.01s) --- PASS: TestRateLimiterFeedback/503_enables_limiter (0.01s) --- PASS: TestGetStorePathHash (0.02s) --- PASS: TestGetStorePathHash/valid_store_path (0.00s) --- PASS: TestGetStorePathHash/hash_with_wrong_length_should_error (0.00s) --- PASS: TestGetStorePathHash/hash_with_invalid_characters_should_error (0.00s) --- PASS: TestGetStorePathHash/basename_without_hyphen_should_error (0.00s) --- PASS: TestSetClientTLSErrors (0.01s) --- PASS: TestSetClientTLSErrors/missing_cert_file (0.00s) --- PASS: TestSetClientTLSErrors/missing_key_file (0.00s) --- PASS: TestSetClientTLSErrors/missing_ca_file (0.00s) --- PASS: TestSetClientTLSErrors/invalid_ca_file (0.00s) --- PASS: TestPartSizeForNAR (0.02s) --- PASS: TestPartSizeForNAR/zero_stays_at_minimum (0.00s) --- PASS: TestPartSizeForNAR/5_TiB_S3_max_object (0.00s) --- PASS: TestPartSizeForNAR/1_TiB (0.00s) --- PASS: TestPartSizeForNAR/capped_at_5_GiB (0.00s) --- PASS: TestPartSizeForNAR/small_stays_at_minimum (0.00s) --- PASS: TestPartSizeForNAR/115_GiB_needs_larger_parts (0.00s) --- PASS: TestPartSizeForNAR/80_GiB_fits_at_minimum (0.00s) --- PASS: TestPathInfoCACompatibility (0.02s) --- PASS: TestPathInfoCACompatibility/null_ca_field (0.00s) --- PASS: TestPathInfoCACompatibility/new_structured_format_-_text (0.00s) --- PASS: TestPathInfoCACompatibility/new_structured_format_-_nar_method (0.00s) --- PASS: TestPathInfoCACompatibility/old_string_format_-_fixed_recursive (0.00s) --- PASS: TestPathInfoCACompatibility/old_string_format_-_text (0.00s) --- PASS: TestUploadMultipart_SupersededByPeer (0.01s) --- PASS: TestUploadMultipart_SupersededByPeer/missing (0.01s) --- PASS: TestUploadMultipart_SupersededByPeer/exists (0.01s) 2026/07/09 07:42:53 http: TLS handshake error from 127.0.0.1:56476: remote error: tls: bad certificate --- PASS: TestScriptTokenNoExpiryRerunsEveryCall (0.03s) --- PASS: TestSetClientTLS (0.02s) --- PASS: TestSetClientTLS/rejects_connection_without_client_cert (0.00s) --- PASS: TestSetClientTLS/succeeds_with_client_cert_and_CA (0.00s) --- PASS: TestSetClientTLS/preserves_debug_logging_transport (0.00s) --- PASS: TestCaseHackSuffix (0.04s) --- PASS: TestDumpPathSingleFile (0.05s) --- PASS: TestDumpPathWriterError (0.07s) --- PASS: TestDumpPathMatchesNix (0.13s) --- PASS: TestRateLimiterFeedback_400DoesNotCountAsSuccess (1.00s) PASS Running server tests... The files belonging to this database system will be owned by user "nixbld". This user must also own the server process. The database cluster will be initialized with locale "C". The default database encoding has accordingly been set to "SQL_ASCII". The default text search configuration will be set to "english". Data page checksums are disabled. creating directory /build/postgres1731862845/data ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default "max_connections" ... 100 selecting default "shared_buffers" ... 128MB selecting default time zone ... UTC creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok initdb: warning: enabling "trust" authentication for local connections initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. Success. You can now start the database server using: pg_ctl -D /build/postgres1731862845/data -l logfile start /build/postgres1731862845:5432 - no response 2026-07-09 07:42:55.077 UTC [330] LOG: starting PostgreSQL 17.10 on x86_64-pc-linux-gnu, compiled by clang version 21.1.8, 64-bit 2026-07-09 07:42:55.077 UTC [330] LOG: listening on Unix socket "/build/postgres1731862845/.s.PGSQL.5432" 2026-07-09 07:42:55.082 UTC [334] LOG: database system was shut down at 2026-07-09 07:42:54 UTC 2026-07-09 07:42:55.086 UTC [330] LOG: database system is ready to accept connections /build/postgres1731862845:5432 - accepting connections {"timestamp":"2026-07-09T07:42:55.457863222Z","level":"ERROR","fields":{"message":"list_path_raw: revjob err VolumeNotFound"},"target":"rustfs_ecstore::cache_value::metacache_set","filename":"crates/ecstore/src/cache_value/metacache_set.rs","line_number":486,"threadName":"rustfs-worker","threadId":"ThreadId(766)"} thread 'rustfs-worker' (1109) panicked at /build/rustfs-1.0.0-beta.7-vendor/source-registry-0/reqwest-0.13.4/src/async_impl/client.rs:2507:38: Client::new(): reqwest::Error { kind: Builder, source: General("No CA certificates were loaded from the system") } note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace === RUN TestService_AuthMiddleware === PAUSE TestService_AuthMiddleware === RUN TestService_AuthMiddleware_MTLSProxyHeader === PAUSE TestService_AuthMiddleware_MTLSProxyHeader === RUN TestService_AuthMiddleware_MTLSBoundSubjects === PAUSE TestService_AuthMiddleware_MTLSBoundSubjects === RUN TestService_ReadAuthMiddleware === PAUSE TestService_ReadAuthMiddleware === RUN TestService_AuthMiddleware_OIDC === PAUSE TestService_AuthMiddleware_OIDC === RUN TestCacheConfigHandler === PAUSE TestCacheConfigHandler === RUN TestCacheStatsHandler === PAUSE TestCacheStatsHandler === RUN TestClientCADerivations === PAUSE TestClientCADerivations === RUN TestClientErrorHandling === PAUSE TestClientErrorHandling === RUN TestClientIntegration === PAUSE TestClientIntegration === RUN TestClientMultipleUploads === PAUSE TestClientMultipleUploads === RUN TestClientWithDependencies === PAUSE TestClientWithDependencies === RUN TestPinProtectsFromGC === PAUSE TestPinProtectsFromGC === RUN TestGCAdvisoryLockBlocksConcurrentRun 2026-07-09 07:42:55.539 UTC [1129] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:55.539 UTC [1129] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/09 07:42:55 OK 20241026095416_initial_model.sql (5.35ms) 2026/07/09 07:42:55 OK 20251210153512_drop_unused_gin_index.sql (2.18ms) 2026/07/09 07:42:55 OK 20251218171726_add_pins.sql (2.14ms) 2026/07/09 07:42:55 OK 20260628120000_add_object_size_and_stats.sql (1.7ms) 2026/07/09 07:42:55 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:55 OK 1_commit_pending_closure.sql (1.31ms) 2026/07/09 07:42:55 OK 2_object_stats_trigger.sql (657.44µs) 2026/07/09 07:42:55 goose: up to current file version: 2 --- PASS: TestGCAdvisoryLockBlocksConcurrentRun (0.09s) === RUN TestGCBugBareHashReferences === PAUSE TestGCBugBareHashReferences === RUN TestGCMetrics === PAUSE TestGCMetrics === RUN TestGCTaskStore_StartNew === PAUSE TestGCTaskStore_StartNew === RUN TestGCTaskStore_DeduplicateSameParams === PAUSE TestGCTaskStore_DeduplicateSameParams === RUN TestGCTaskStore_ConflictDifferentParams === PAUSE TestGCTaskStore_ConflictDifferentParams === RUN TestGCTaskStore_GetEmpty === PAUSE TestGCTaskStore_GetEmpty === RUN TestGCTaskStore_GetReturnsLatest === PAUSE TestGCTaskStore_GetReturnsLatest === RUN TestGCTaskStore_CompletedAllowsNewTask === PAUSE TestGCTaskStore_CompletedAllowsNewTask === RUN TestGCTaskStore_PhaseUpdates === PAUSE TestGCTaskStore_PhaseUpdates === RUN TestGCTaskStore_Fail === PAUSE TestGCTaskStore_Fail === RUN TestGracefulShutdownDrainsInflight === PAUSE TestGracefulShutdownDrainsInflight === RUN TestService_healthCheckHandler === PAUSE TestService_healthCheckHandler === RUN TestGenerateLandingPage === PAUSE TestGenerateLandingPage === RUN TestNARDeduplicationMetadataUploadBug === PAUSE TestNARDeduplicationMetadataUploadBug === RUN TestMetricsInventory === PAUSE TestMetricsInventory === RUN TestService_NativeMTLS === PAUSE TestService_NativeMTLS === RUN TestServerTLSConfig === PAUSE TestServerTLSConfig === RUN TestMultipartCleanup === PAUSE TestMultipartCleanup === RUN TestObjectStatsTrigger === PAUSE TestObjectStatsTrigger === RUN TestOrphanedObjectsGC === PAUSE TestOrphanedObjectsGC === RUN TestOrphanedObjectsGCStressTest === PAUSE TestOrphanedObjectsGCStressTest === RUN TestResurrectedObjectNotDeleted === PAUSE TestResurrectedObjectNotDeleted === RUN TestParseSingleRange === PAUSE TestParseSingleRange === RUN TestIsValidCachePath === PAUSE TestIsValidCachePath === RUN TestReadProxyNarinfo === PAUSE TestReadProxyNarinfo === RUN TestReadProxyNarinfoAlreadyDecompressed === PAUSE TestReadProxyNarinfoAlreadyDecompressed === RUN TestReadProxyNarStreaming === PAUSE TestReadProxyNarStreaming === RUN TestReadProxy404 === PAUSE TestReadProxy404 === RUN TestReadProxyInvalidPath === PAUSE TestReadProxyInvalidPath === RUN TestReadProxyHead === PAUSE TestReadProxyHead === RUN TestReadProxyConditionalGet === PAUSE TestReadProxyConditionalGet === RUN TestReadProxyRootRedirectsToIndexHTML === PAUSE TestReadProxyRootRedirectsToIndexHTML === RUN TestReadProxyDisabled === PAUSE TestReadProxyDisabled === RUN TestReadProxyRangeRequest === PAUSE TestReadProxyRangeRequest === RUN TestRedundantMultipartUpload === PAUSE TestRedundantMultipartUpload === RUN TestCompleteMultipartUpload_ErrorButObjectExists === PAUSE TestCompleteMultipartUpload_ErrorButObjectExists === RUN TestService_Rustfstest === PAUSE TestService_Rustfstest === RUN TestSystemdListenerNotActivated --- PASS: TestSystemdListenerNotActivated (0.00s) === RUN TestWatchdogBeatsWhenHealthy --- PASS: TestWatchdogBeatsWhenHealthy (0.02s) === RUN TestWatchdogSkipsWhenUnhealthy 2026/07/09 07:42:55 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/07/09 07:42:55 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/07/09 07:42:55 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/07/09 07:42:55 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/07/09 07:42:55 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/07/09 07:42:55 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/07/09 07:42:55 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/07/09 07:42:55 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/07/09 07:42:55 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" 2026/07/09 07:42:55 WARN watchdog liveness check failed, skipping heartbeat error="context deadline exceeded" --- PASS: TestWatchdogSkipsWhenUnhealthy (0.20s) === RUN TestCompleteMultipartUploadHandler_RateLimitTriggersThrottle === PAUSE TestCompleteMultipartUploadHandler_RateLimitTriggersThrottle === RUN TestProxyWriteTimeout === PAUSE TestProxyWriteTimeout === RUN TestIsValidUploadKey === PAUSE TestIsValidUploadKey === RUN TestUploadHandlersRejectInvalidKeys === PAUSE TestUploadHandlersRejectInvalidKeys === RUN TestUploadHandlersRejectOversizedBody === PAUSE TestUploadHandlersRejectOversizedBody === RUN TestService_cleanupPendingClosuresHandler === PAUSE TestService_cleanupPendingClosuresHandler === RUN TestService_createPendingClosureHandler === PAUSE TestService_createPendingClosureHandler === RUN TestService_verifyS3Integrity === PAUSE TestService_verifyS3Integrity === RUN TestCompleteMultipartUnregistered === PAUSE TestCompleteMultipartUnregistered === RUN TestCreatePendingClosure_SmallNARUsesSimplePUT === PAUSE TestCreatePendingClosure_SmallNARUsesSimplePUT === CONT TestService_AuthMiddleware === CONT TestCreatePendingClosure_SmallNARUsesSimplePUT === CONT TestServerTLSConfig === CONT TestGCTaskStore_StartNew === CONT TestService_ReadAuthMiddleware === CONT TestCompleteMultipartUnregistered === RUN TestServerTLSConfig/no_client_CA === PAUSE TestServerTLSConfig/no_client_CA === CONT TestService_AuthMiddleware_MTLSProxyHeader === CONT TestService_verifyS3Integrity === CONT TestService_createPendingClosureHandler === CONT TestService_cleanupPendingClosuresHandler === CONT TestUploadHandlersRejectOversizedBody === CONT TestUploadHandlersRejectInvalidKeys === RUN TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_nix-cache-info === CONT TestIsValidUploadKey === CONT TestProxyWriteTimeout === CONT TestCompleteMultipartUploadHandler_RateLimitTriggersThrottle === CONT TestService_Rustfstest === CONT TestCompleteMultipartUpload_ErrorButObjectExists === CONT TestRedundantMultipartUpload === CONT TestReadProxyRangeRequest === CONT TestReadProxyDisabled === CONT TestReadProxyRootRedirectsToIndexHTML === CONT TestReadProxyConditionalGet === CONT TestReadProxyHead === CONT TestReadProxyInvalidPath === CONT TestReadProxy404 === CONT TestReadProxyNarStreaming === CONT TestReadProxyNarinfoAlreadyDecompressed === CONT TestReadProxyNarinfo === CONT TestIsValidCachePath === CONT TestParseSingleRange === CONT TestResurrectedObjectNotDeleted === CONT TestOrphanedObjectsGCStressTest === CONT TestOrphanedObjectsGC === CONT TestObjectStatsTrigger === CONT TestMultipartCleanup === CONT TestPinProtectsFromGC === CONT TestGCMetrics === CONT TestGCBugBareHashReferences === CONT TestClientMultipleUploads === CONT TestClientErrorHandling === CONT TestClientWithDependencies === CONT TestClientIntegration === CONT TestGCTaskStore_Fail === CONT TestService_NativeMTLS === CONT TestService_AuthMiddleware_OIDC === CONT TestMetricsInventory === CONT TestClientCADerivations === CONT TestNARDeduplicationMetadataUploadBug === CONT TestCacheStatsHandler === CONT TestGenerateLandingPage === CONT TestService_healthCheckHandler === CONT TestCacheConfigHandler === CONT TestGCTaskStore_GetReturnsLatest === CONT TestGCTaskStore_PhaseUpdates === CONT TestGracefulShutdownDrainsInflight === CONT TestService_AuthMiddleware_MTLSBoundSubjects === CONT TestGCTaskStore_CompletedAllowsNewTask === CONT TestGCTaskStore_ConflictDifferentParams === CONT TestGCTaskStore_GetEmpty === CONT TestGCTaskStore_DeduplicateSameParams --- PASS: TestGCTaskStore_StartNew (0.00s) === RUN TestServerTLSConfig/missing_CA_file === PAUSE TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_nix-cache-info --- PASS: TestGCTaskStore_CompletedAllowsNewTask (0.00s) === RUN TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_path_traversal === RUN TestIsValidUploadKey/narinfo === RUN TestProxyWriteTimeout/narinfo === RUN TestIsValidCachePath/narinfo === RUN TestClientErrorHandling/InvalidStorePath --- PASS: TestGCTaskStore_ConflictDifferentParams (0.00s) --- PASS: TestGCTaskStore_Fail (0.00s) === PAUSE TestIsValidCachePath/narinfo === RUN TestParseSingleRange/none === PAUSE TestClientErrorHandling/InvalidStorePath === RUN TestCacheConfigHandler/full_config,_no_issuer === RUN TestClientErrorHandling/InvalidAuthToken === PAUSE TestClientErrorHandling/InvalidAuthToken === PAUSE TestCacheConfigHandler/full_config,_no_issuer === PAUSE TestIsValidUploadKey/narinfo 2026/07/09 07:42:55 INFO Starting HTTP server address=127.0.0.1:40535 === PAUSE TestProxyWriteTimeout/narinfo --- PASS: TestGCTaskStore_DeduplicateSameParams (0.00s) === RUN TestIsValidCachePath/narinfo_all_nix_base32_chars === PAUSE TestParseSingleRange/none === PAUSE TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_path_traversal === PAUSE TestServerTLSConfig/missing_CA_file === RUN TestClientErrorHandling/ServerNotAvailable === PAUSE TestClientErrorHandling/ServerNotAvailable === RUN TestCacheConfigHandler/no_cache_url_configured === CONT TestClientErrorHandling/InvalidStorePath 2026/07/09 07:42:55 INFO Shutdown signal received, draining in-flight requests timeout=10s === RUN TestProxyWriteTimeout/1_GiB_nar === PAUSE TestProxyWriteTimeout/1_GiB_nar === RUN TestProxyWriteTimeout/10_GiB_nar === PAUSE TestProxyWriteTimeout/10_GiB_nar --- PASS: TestGCTaskStore_PhaseUpdates (0.00s) === PAUSE TestIsValidCachePath/narinfo_all_nix_base32_chars === RUN TestParseSingleRange/unknown_unit === RUN TestIsValidCachePath/nar_zst === PAUSE TestIsValidCachePath/nar_zst === RUN TestUploadHandlersRejectInvalidKeys/complete_multipart_rejects_non-NAR_key === PAUSE TestParseSingleRange/unknown_unit === RUN TestServerTLSConfig/not_a_PEM_file === PAUSE TestServerTLSConfig/not_a_PEM_file === CONT TestServerTLSConfig/no_client_CA === CONT TestServerTLSConfig/not_a_PEM_file === CONT TestServerTLSConfig/missing_CA_file === CONT TestClientErrorHandling/InvalidAuthToken === CONT TestClientErrorHandling/ServerNotAvailable === RUN TestIsValidUploadKey/nar_zst === PAUSE TestIsValidUploadKey/nar_zst === RUN TestIsValidUploadKey/nar_xz === PAUSE TestCacheConfigHandler/no_cache_url_configured === RUN TestProxyWriteTimeout/unknown_size --- PASS: TestGCTaskStore_GetEmpty (0.00s) --- PASS: TestGCTaskStore_GetReturnsLatest (0.00s) === RUN TestIsValidCachePath/nar_xz === PAUSE TestIsValidCachePath/nar_xz === PAUSE TestUploadHandlersRejectInvalidKeys/complete_multipart_rejects_non-NAR_key === RUN TestUploadHandlersRejectInvalidKeys/request_more_parts_rejects_non-NAR_key === RUN TestParseSingleRange/multi-range_ignored === PAUSE TestUploadHandlersRejectInvalidKeys/request_more_parts_rejects_non-NAR_key === PAUSE TestProxyWriteTimeout/unknown_size === RUN TestCacheConfigHandler/no_signing_keys === CONT TestProxyWriteTimeout/10_GiB_nar === PAUSE TestCacheConfigHandler/no_signing_keys --- PASS: TestServerTLSConfig (0.01s) --- PASS: TestServerTLSConfig/no_client_CA (0.00s) --- PASS: TestServerTLSConfig/missing_CA_file (0.00s) --- PASS: TestServerTLSConfig/not_a_PEM_file (0.00s) === RUN TestCacheConfigHandler/issuer_requested_but_no_OIDC_validator === PAUSE TestCacheConfigHandler/issuer_requested_but_no_OIDC_validator === CONT TestCacheConfigHandler/full_config,_no_issuer === CONT TestCacheConfigHandler/issuer_requested_but_no_OIDC_validator === PAUSE TestParseSingleRange/multi-range_ignored === RUN TestParseSingleRange/malformed_no_dash === PAUSE TestParseSingleRange/malformed_no_dash === RUN TestParseSingleRange/malformed_both_empty === PAUSE TestIsValidUploadKey/nar_xz === CONT TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_nix-cache-info === RUN TestIsValidUploadKey/nar_plain === PAUSE TestIsValidUploadKey/nar_plain === CONT TestUploadHandlersRejectInvalidKeys/request_more_parts_rejects_non-NAR_key === CONT TestUploadHandlersRejectInvalidKeys/complete_multipart_rejects_non-NAR_key 2026/07/09 07:42:55 INFO Received request for more parts method=POST path=/ === CONT TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_path_traversal 2026/07/09 07:42:55 INFO Received uploads request method=POST path=/ === CONT TestProxyWriteTimeout/narinfo 2026/07/09 07:42:55 INFO Received uploads request method=POST path=/ === CONT TestProxyWriteTimeout/1_GiB_nar 2026/07/09 07:42:55 INFO Received complete multipart upload request method=POST path=/ === CONT TestProxyWriteTimeout/unknown_size === RUN TestIsValidCachePath/nar_bz2 === PAUSE TestIsValidCachePath/nar_bz2 === RUN TestIsValidCachePath/nar_uncompressed === CONT TestCacheConfigHandler/no_signing_keys === CONT TestCacheConfigHandler/no_cache_url_configured === PAUSE TestParseSingleRange/malformed_both_empty === RUN TestParseSingleRange/malformed_end_before_start === RUN TestIsValidUploadKey/listing --- PASS: TestProxyWriteTimeout (0.00s) --- PASS: TestProxyWriteTimeout/10_GiB_nar (0.00s) --- PASS: TestProxyWriteTimeout/narinfo (0.00s) --- PASS: TestProxyWriteTimeout/1_GiB_nar (0.00s) --- PASS: TestProxyWriteTimeout/unknown_size (0.00s) === PAUSE TestIsValidCachePath/nar_uncompressed --- PASS: TestUploadHandlersRejectInvalidKeys (0.01s) --- PASS: TestUploadHandlersRejectInvalidKeys/request_more_parts_rejects_non-NAR_key (0.00s) --- PASS: TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_path_traversal (0.00s) --- PASS: TestUploadHandlersRejectInvalidKeys/create_pending_closure_rejects_nix-cache-info (0.00s) --- PASS: TestUploadHandlersRejectInvalidKeys/complete_multipart_rejects_non-NAR_key (0.00s) 2026/07/09 07:42:55 INFO OIDC provider initialized name=test === RUN TestIsValidCachePath/ls === PAUSE TestIsValidCachePath/ls === RUN TestIsValidCachePath/log === PAUSE TestIsValidUploadKey/listing === PAUSE TestParseSingleRange/malformed_end_before_start === RUN TestParseSingleRange/closed --- PASS: TestCacheConfigHandler (0.00s) --- PASS: TestCacheConfigHandler/issuer_requested_but_no_OIDC_validator (0.00s) --- PASS: TestCacheConfigHandler/full_config,_no_issuer (0.00s) --- PASS: TestCacheConfigHandler/no_signing_keys (0.00s) --- PASS: TestCacheConfigHandler/no_cache_url_configured (0.00s) === PAUSE TestIsValidCachePath/log === RUN TestIsValidUploadKey/build_log === PAUSE TestIsValidUploadKey/build_log === PAUSE TestParseSingleRange/closed === RUN TestIsValidCachePath/realisation === RUN TestIsValidUploadKey/build_log_home-manager_file --- PASS: TestGenerateLandingPage (0.01s) === RUN TestParseSingleRange/open-ended === PAUSE TestIsValidCachePath/realisation === PAUSE TestParseSingleRange/open-ended === PAUSE TestIsValidUploadKey/build_log_home-manager_file === RUN TestIsValidUploadKey/build_log_plus_in_name === PAUSE TestIsValidUploadKey/build_log_plus_in_name === RUN TestIsValidUploadKey/build_log_question_mark === PAUSE TestIsValidUploadKey/build_log_question_mark === RUN TestIsValidUploadKey/build_log_equals === RUN TestParseSingleRange/end_clamped_to_size === RUN TestIsValidCachePath/nix-cache-info === PAUSE TestIsValidCachePath/nix-cache-info === PAUSE TestIsValidUploadKey/build_log_equals === PAUSE TestParseSingleRange/end_clamped_to_size === RUN TestIsValidCachePath/index.html === PAUSE TestIsValidCachePath/index.html === RUN TestIsValidUploadKey/realisation === PAUSE TestIsValidUploadKey/realisation === RUN TestParseSingleRange/suffix === PAUSE TestParseSingleRange/suffix === RUN TestIsValidCachePath/traversal_parent === PAUSE TestIsValidCachePath/traversal_parent === RUN TestIsValidUploadKey/realisation_plus_in_output === PAUSE TestIsValidUploadKey/realisation_plus_in_output === RUN TestParseSingleRange/suffix_exceeds_size === PAUSE TestParseSingleRange/suffix_exceeds_size === RUN TestIsValidCachePath/traversal_in_middle === RUN TestIsValidUploadKey/nix-cache-info === RUN TestParseSingleRange/single_byte === PAUSE TestParseSingleRange/single_byte === PAUSE TestIsValidCachePath/traversal_in_middle === RUN TestIsValidCachePath/invalid_char_e === PAUSE TestIsValidUploadKey/nix-cache-info === RUN TestParseSingleRange/start_past_EOF === PAUSE TestParseSingleRange/start_past_EOF === RUN TestParseSingleRange/start_far_past_EOF === PAUSE TestIsValidCachePath/invalid_char_e === RUN TestIsValidCachePath/invalid_char_u === PAUSE TestIsValidCachePath/invalid_char_u === RUN TestIsValidCachePath/random_path === RUN TestIsValidUploadKey/index.html === PAUSE TestParseSingleRange/start_far_past_EOF === PAUSE TestIsValidCachePath/random_path === PAUSE TestIsValidUploadKey/index.html === CONT TestParseSingleRange/none === CONT TestParseSingleRange/start_far_past_EOF === CONT TestParseSingleRange/closed === CONT TestParseSingleRange/malformed_end_before_start === CONT TestParseSingleRange/open-ended === CONT TestParseSingleRange/malformed_both_empty === CONT TestParseSingleRange/start_past_EOF === CONT TestParseSingleRange/malformed_no_dash === CONT TestParseSingleRange/single_byte === CONT TestParseSingleRange/unknown_unit === CONT TestParseSingleRange/suffix_exceeds_size === CONT TestParseSingleRange/multi-range_ignored === CONT TestParseSingleRange/suffix === CONT TestParseSingleRange/end_clamped_to_size --- PASS: TestParseSingleRange (0.01s) --- PASS: TestParseSingleRange/none (0.00s) --- PASS: TestParseSingleRange/start_far_past_EOF (0.00s) --- PASS: TestParseSingleRange/closed (0.00s) --- PASS: TestParseSingleRange/malformed_end_before_start (0.00s) --- PASS: TestParseSingleRange/open-ended (0.00s) --- PASS: TestParseSingleRange/malformed_both_empty (0.00s) --- PASS: TestParseSingleRange/start_past_EOF (0.00s) --- PASS: TestParseSingleRange/malformed_no_dash (0.00s) --- PASS: TestParseSingleRange/single_byte (0.00s) --- PASS: TestParseSingleRange/unknown_unit (0.00s) --- PASS: TestParseSingleRange/suffix_exceeds_size (0.00s) --- PASS: TestParseSingleRange/multi-range_ignored (0.00s) --- PASS: TestParseSingleRange/suffix (0.00s) --- PASS: TestParseSingleRange/end_clamped_to_size (0.00s) === RUN TestIsValidCachePath/empty === PAUSE TestIsValidCachePath/empty === RUN TestIsValidCachePath/leading_slash === PAUSE TestIsValidCachePath/leading_slash === RUN TestIsValidUploadKey/narinfo_key,_nar_type === RUN TestIsValidCachePath/wrong_extension === PAUSE TestIsValidCachePath/wrong_extension === RUN TestIsValidCachePath/short_hash === PAUSE TestIsValidUploadKey/narinfo_key,_nar_type === PAUSE TestIsValidCachePath/short_hash === RUN TestIsValidUploadKey/nar_key,_narinfo_type === CONT TestIsValidCachePath/narinfo === CONT TestIsValidCachePath/traversal_in_middle === CONT TestIsValidCachePath/nar_xz === CONT TestIsValidCachePath/realisation === CONT TestIsValidCachePath/index.html === CONT TestIsValidCachePath/invalid_char_u === CONT TestIsValidCachePath/nar_zst === CONT TestIsValidCachePath/short_hash === CONT TestIsValidCachePath/wrong_extension === PAUSE TestIsValidUploadKey/nar_key,_narinfo_type === CONT TestIsValidCachePath/leading_slash === CONT TestIsValidCachePath/empty === CONT TestIsValidCachePath/invalid_char_e === CONT TestIsValidCachePath/random_path === CONT TestIsValidCachePath/traversal_parent === CONT TestIsValidCachePath/nar_uncompressed === CONT TestIsValidCachePath/nix-cache-info === CONT TestIsValidCachePath/ls === CONT TestIsValidCachePath/nar_bz2 === CONT TestIsValidCachePath/log === CONT TestIsValidCachePath/narinfo_all_nix_base32_chars --- PASS: TestIsValidCachePath (0.01s) --- PASS: TestIsValidCachePath/traversal_in_middle (0.00s) --- PASS: TestIsValidCachePath/nar_xz (0.00s) --- PASS: TestIsValidCachePath/narinfo (0.00s) --- PASS: TestIsValidCachePath/index.html (0.00s) --- PASS: TestIsValidCachePath/realisation (0.00s) --- PASS: TestIsValidCachePath/invalid_char_u (0.00s) --- PASS: TestIsValidCachePath/nar_zst (0.00s) --- PASS: TestIsValidCachePath/short_hash (0.00s) --- PASS: TestIsValidCachePath/wrong_extension (0.00s) --- PASS: TestIsValidCachePath/leading_slash (0.00s) --- PASS: TestIsValidCachePath/empty (0.00s) --- PASS: TestIsValidCachePath/invalid_char_e (0.00s) --- PASS: TestIsValidCachePath/random_path (0.00s) --- PASS: TestIsValidCachePath/traversal_parent (0.00s) --- PASS: TestIsValidCachePath/nar_uncompressed (0.00s) --- PASS: TestIsValidCachePath/nix-cache-info (0.00s) --- PASS: TestIsValidCachePath/ls (0.00s) --- PASS: TestIsValidCachePath/nar_bz2 (0.00s) --- PASS: TestIsValidCachePath/log (0.00s) --- PASS: TestIsValidCachePath/narinfo_all_nix_base32_chars (0.00s) === RUN TestIsValidUploadKey/listing_key,_narinfo_type === PAUSE TestIsValidUploadKey/listing_key,_narinfo_type === RUN TestIsValidUploadKey/traversal === PAUSE TestIsValidUploadKey/traversal === RUN TestIsValidUploadKey/traversal_nar === PAUSE TestIsValidUploadKey/traversal_nar === RUN TestIsValidUploadKey/absolute === PAUSE TestIsValidUploadKey/absolute === RUN TestIsValidUploadKey/empty_key === PAUSE TestIsValidUploadKey/empty_key === RUN TestIsValidUploadKey/unknown_type === PAUSE TestIsValidUploadKey/unknown_type === CONT TestIsValidUploadKey/narinfo === CONT TestIsValidUploadKey/realisation_plus_in_output === CONT TestIsValidUploadKey/realisation === CONT TestIsValidUploadKey/build_log_equals === CONT TestIsValidUploadKey/build_log_question_mark === CONT TestIsValidUploadKey/build_log_plus_in_name === CONT TestIsValidUploadKey/build_log_home-manager_file === CONT TestIsValidUploadKey/build_log === CONT TestIsValidUploadKey/listing === CONT TestIsValidUploadKey/nar_plain === CONT TestIsValidUploadKey/nar_xz === CONT TestIsValidUploadKey/nar_zst === CONT TestIsValidUploadKey/traversal === CONT TestIsValidUploadKey/empty_key === CONT TestIsValidUploadKey/absolute === CONT TestIsValidUploadKey/unknown_type === CONT TestIsValidUploadKey/narinfo_key,_nar_type === CONT TestIsValidUploadKey/traversal_nar === CONT TestIsValidUploadKey/nar_key,_narinfo_type === CONT TestIsValidUploadKey/listing_key,_narinfo_type === CONT TestIsValidUploadKey/nix-cache-info === CONT TestIsValidUploadKey/index.html --- PASS: TestIsValidUploadKey (0.01s) --- PASS: TestIsValidUploadKey/narinfo (0.00s) --- PASS: TestIsValidUploadKey/realisation_plus_in_output (0.00s) --- PASS: TestIsValidUploadKey/realisation (0.00s) --- PASS: TestIsValidUploadKey/build_log_equals (0.00s) --- PASS: TestIsValidUploadKey/build_log_question_mark (0.00s) --- PASS: TestIsValidUploadKey/build_log_plus_in_name (0.00s) --- PASS: TestIsValidUploadKey/build_log_home-manager_file (0.00s) --- PASS: TestIsValidUploadKey/build_log (0.00s) --- PASS: TestIsValidUploadKey/listing (0.00s) --- PASS: TestIsValidUploadKey/nar_plain (0.00s) --- PASS: TestIsValidUploadKey/nar_xz (0.00s) --- PASS: TestIsValidUploadKey/nar_zst (0.00s) --- PASS: TestIsValidUploadKey/traversal (0.00s) --- PASS: TestIsValidUploadKey/empty_key (0.00s) --- PASS: TestIsValidUploadKey/absolute (0.00s) --- PASS: TestIsValidUploadKey/unknown_type (0.00s) --- PASS: TestIsValidUploadKey/narinfo_key,_nar_type (0.00s) --- PASS: TestIsValidUploadKey/traversal_nar (0.00s) --- PASS: TestIsValidUploadKey/nar_key,_narinfo_type (0.00s) --- PASS: TestIsValidUploadKey/listing_key,_narinfo_type (0.00s) --- PASS: TestIsValidUploadKey/nix-cache-info (0.00s) --- PASS: TestIsValidUploadKey/index.html (0.00s) --- PASS: TestGracefulShutdownDrainsInflight (0.09s) 2026/07/09 07:42:55 WARN Request failed, retrying attempt=1 max_attempts=6 backoff=100ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures 2026-07-09 07:42:55.978 UTC [1291] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:55.978 UTC [1291] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-09 07:42:55.978 UTC [1288] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:55.978 UTC [1288] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-09 07:42:55.978 UTC [1305] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:55.978 UTC [1305] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC === RUN TestUploadHandlersRejectOversizedBody/create_pending_closure === PAUSE TestUploadHandlersRejectOversizedBody/create_pending_closure === RUN TestUploadHandlersRejectOversizedBody/complete_multipart === PAUSE TestUploadHandlersRejectOversizedBody/complete_multipart === RUN TestUploadHandlersRejectOversizedBody/request_more_parts === PAUSE TestUploadHandlersRejectOversizedBody/request_more_parts === CONT TestUploadHandlersRejectOversizedBody/create_pending_closure === CONT TestUploadHandlersRejectOversizedBody/request_more_parts 2026/07/09 07:42:55 INFO Received uploads request method=POST path=/ 2026/07/09 07:42:55 INFO Received request for more parts method=POST path=/ === CONT TestUploadHandlersRejectOversizedBody/complete_multipart 2026/07/09 07:42:55 INFO Received complete multipart upload request method=POST path=/ 2026-07-09 07:42:56.011 UTC [1308] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.011 UTC [1308] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-09 07:42:56.012 UTC [1286] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.012 UTC [1286] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-09 07:42:56.013 UTC [1285] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.013 UTC [1285] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-09 07:42:56.015 UTC [1266] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.015 UTC [1266] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-09 07:42:56.016 UTC [1307] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.016 UTC [1307] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-09 07:42:56.022 UTC [1335] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.022 UTC [1335] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-09 07:42:56.026 UTC [1336] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.026 UTC [1336] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/09 07:42:56 WARN Request failed, retrying attempt=2 max_attempts=6 backoff=190.585948ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (127.41ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (8.19ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (139.97ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (6.48ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (149.97ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (7.16ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (42.67ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (28.41ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (45.52ms) 2026-07-09 07:42:56.195 UTC [1341] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.195 UTC [1341] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-09 07:42:56.197 UTC [1342] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.197 UTC [1342] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (146.61ms) 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (18.76ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (133.53ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (142.91ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (148.34ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (138ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (133.98ms) 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (13.37ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (131.89ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026-07-09 07:42:56.203 UTC [1343] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.203 UTC [1343] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (8.85ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (5.2ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (3.65ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (4.32ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (3.91ms) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (6.62ms) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (5.1ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (5.26ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (5.39ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (5.47ms) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (6.81ms) 2026-07-09 07:42:56.212 UTC [1344] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.212 UTC [1344] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (4.96ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (4.31ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026-07-09 07:42:56.213 UTC [1345] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.213 UTC [1345] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (9.17ms) 2026-07-09 07:42:56.216 UTC [1346] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.216 UTC [1346] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (5.43ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (11.5ms) --- PASS: TestService_AuthMiddleware_MTLSProxyHeader (0.41s) 2026/07/09 07:42:56 WARN Authentication failed token_preview=wrongtoken token_length=10 reason="static API token mismatch" --- PASS: TestService_AuthMiddleware (0.41s) 2026/07/09 07:42:56 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/09 07:42:56 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/09 07:42:56 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (21.83ms) 2026-07-09 07:42:56.228 UTC [1347] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.228 UTC [1347] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (23.05ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (21.75ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (21.62ms) 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (17.2ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026-07-09 07:42:56.233 UTC [1348] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.233 UTC [1348] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (26.68ms) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (4.3ms) 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (3.29ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (24.96ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 WARN mTLS auth: subject not in bound subjects subject="CN=writer" --- PASS: TestService_ReadAuthMiddleware (0.44s) 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (16.58ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (5.91ms) 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (18.41ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (18.32ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (23.88ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (15.39ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (14.56ms) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (16.19ms) 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (14.65ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (14.53ms) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (15.4ms) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (15.32ms) 2026/07/09 07:42:56 WARN Request failed, retrying attempt=3 max_attempts=6 backoff=425.218277ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures 2026/07/09 07:42:56 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (6.52ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 ERROR Failed to get multipart upload error="no rows in result set" upload_id=does-not-exist object_key=nar/0000000000000000000000000000000000000000000000000000.nar.zst --- PASS: TestCompleteMultipartUnregistered (0.46s) 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (5.11ms) 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (5.19ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (7.89ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (10.08ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/09 07:42:56 INFO Received cleanup request method=DELETE path=/api/pending_closures 2026/07/09 07:42:56 INFO Received uploads request method=POST path=/api/pending_closures --- PASS: TestReadProxyInvalidPath (0.46s) 2026/07/09 07:42:56 INFO Aborted multipart uploads count=0 2026/07/09 07:42:56 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (48.44ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (75.8ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (3.34ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (78.97ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (6.35ms) 2026-07-09 07:42:56.294 UTC [1354] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.294 UTC [1354] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (7.05ms) 2026-07-09 07:42:56.296 UTC [1355] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.296 UTC [1355] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-09 07:42:56.297 UTC [1356] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.297 UTC [1356] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-09 07:42:56.298 UTC [1357] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.298 UTC [1357] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-09 07:42:56.298 UTC [1359] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.298 UTC [1359] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-09 07:42:56.300 UTC [1360] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.300 UTC [1360] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-09 07:42:56.301 UTC [1361] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.301 UTC [1361] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (20.52ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (53.03ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (69.54ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (68.7ms) --- PASS: TestCreatePendingClosure_SmallNARUsesSimplePUT (0.50s) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (78.99ms) 2026/07/09 07:42:56 INFO Received cleanup request method=DELETE path=/api/pending_closures --- PASS: TestCacheStatsHandler (0.49s) 2026/07/09 07:42:56 INFO Aborted multipart uploads count=1 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (17.51ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (7.57ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (7.66ms) 2026/07/09 07:42:56 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (10.27ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (10.73ms) 2026-07-09 07:42:56.318 UTC [1307] ERROR: Closure does not exist: id=1 2026-07-09 07:42:56.318 UTC [1307] CONTEXT: PL/pgSQL function commit_pending_closure(bigint) line 16 at RAISE 2026-07-09 07:42:56.318 UTC [1307] STATEMENT: -- name: CommitPendingClosure :exec SELECT commit_pending_closure($1::bigint) --- PASS: TestService_cleanupPendingClosuresHandler (0.51s) 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (10.07ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (13.34ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (25.02ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (68.93ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (9.46ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (9.57ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (3.88ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (8.35ms) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (5.65ms) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (5.67ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (10.13ms) 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (4.21ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (9.83ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (4.13ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (6.9ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (8.04ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (2.92ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (8.91ms) 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (7.6ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (5.61ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (2.76ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (4.85ms) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (4.63ms) {"timestamp":"2026-07-09T07:42:56.338233187Z","level":"ERROR","fields":{"message":"system path read failed","path_kind":"data_usage","operation":"read_primary","reason":"config_not_found","object":"buckets/.usage.json","error":"Config not found"},"target":"rustfs_ecstore::data_usage","filename":"crates/ecstore/src/data_usage.rs","line_number":126,"threadName":"rustfs-worker","threadId":"ThreadId(766)"} 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (4.61ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (13.21ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (15.02ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (13.46ms) 2026-07-09 07:42:56.339 UTC [1362] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.339 UTC [1362] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (4.87ms) 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (2.6ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (3.71ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (18.67ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (18.77ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (18.29ms) --- PASS: TestService_Rustfstest (0.53s) 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (2.48ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026-07-09 07:42:56.342 UTC [1363] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.342 UTC [1363] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (17.14ms) 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (3.25ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (3.59ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (3.54ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (3.52ms) 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (8.82ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (3.41ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (3.4ms) 2026-07-09 07:42:56.344 UTC [1364] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.344 UTC [1364] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-09 07:42:56.344 UTC [1365] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.344 UTC [1365] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (2.99ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (4.24ms) 2026-07-09 07:42:56.345 UTC [1368] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.345 UTC [1368] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/09 07:42:56 INFO Received uploads request method=POST path=/api/pending_closures 2026-07-09 07:42:56.346 UTC [1367] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.346 UTC [1367] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-09 07:42:56.346 UTC [1369] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.346 UTC [1369] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (3.32ms) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (4.38ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (4.55ms) 2026/07/09 07:42:56 INFO Created nix-cache-info in bucket bucket=bucket16 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (4.61ms) 2026-07-09 07:42:56.348 UTC [1370] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.348 UTC [1370] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-09 07:42:56.348 UTC [1366] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.348 UTC [1366] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (4.35ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (4.28ms) --- PASS: TestReadProxyRangeRequest (0.54s) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (4.13ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (4.43ms) 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (1.98ms) 2026/07/09 07:42:56 goose: up to current file version: 2 --- PASS: TestReadProxyNarinfoAlreadyDecompressed (0.54s) 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (4.21ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (3.64ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (4.77ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (7.17ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026-07-09 07:42:56.356 UTC [1373] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.356 UTC [1373] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (6.8ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026-07-09 07:42:56.356 UTC [1375] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.356 UTC [1375] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-09 07:42:56.357 UTC [1374] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.357 UTC [1374] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-09 07:42:56.357 UTC [1377] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.357 UTC [1377] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (6.09ms) 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (7.99ms) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (6.9ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (4.06ms) 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (11.79ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026-07-09 07:42:56.361 UTC [1379] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.361 UTC [1379] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-09 07:42:56.361 UTC [1380] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.361 UTC [1380] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026-07-09 07:42:56.361 UTC [1378] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.361 UTC [1378] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC --- PASS: TestReadProxy404 (0.55s) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (5.55ms) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (6.08ms) 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (5ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (2.56ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (4.46ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (12.66ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (13.17ms) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (2.57ms) 2026-07-09 07:42:56.364 UTC [1381] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.364 UTC [1381] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (8.08ms) 2026/07/09 07:42:56 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/07/09 07:42:56 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (2.49ms) 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (1.62ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026-07-09 07:42:56.365 UTC [1382] ERROR: relation "goose_db_version" does not exist at character 36 2026-07-09 07:42:56.365 UTC [1382] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (3.57ms) 2026/07/09 07:42:56 WARN mTLS auth: subject not in bound subjects subject="CN=reader" 2026/07/09 07:42:56 WARN mTLS auth: subject not in bound subjects subject="CN=writer" --- PASS: TestService_NativeMTLS (0.55s) {"timestamp":"2026-07-09T07:42:56.367413764Z","level":"ERROR","fields":{"message":"complete_multipart_upload part error: \"part.1 not found\""},"target":"rustfs_ecstore::set_disk","filename":"crates/ecstore/src/set_disk.rs","line_number":3463,"threadName":"rustfs-worker","threadId":"ThreadId(762)"} {"timestamp":"2026-07-09T07:42:56.367458714Z","level":"ERROR","fields":{"message":"complete_multipart_upload etag err client=Some(\"deadbeef\"), stored=\"\", part_id=1, bucket=bucket12, object=nar/gggggggggggggggggggggggggggggg0300000000000000000000.nar.zst"},"target":"rustfs_ecstore::set_disk","filename":"crates/ecstore/src/set_disk.rs","line_number":3534,"threadName":"rustfs-worker","threadId":"ThreadId(762)"} 2026/07/09 07:42:56 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/09 07:42:56 WARN CompleteMultipartUpload errored but object exists; treating as success error="One or more of the specified parts could not be found. The part may not have been uploaded, or the specified entity tag may not match the part's entity tag." object_key=nar/gggggggggggggggggggggggggggggg0300000000000000000000.nar.zst upload_id=M2YyYzA3OTEtM2I1NC00MTQ4LWEwNTQtYjNmNDEwMzVlYmQ3LmFkOTgxOTgzLTU0ODktNDYyMy1iNTQ0LWZkOGE5Njg3NGY3M3gxNzgzNTgyOTc2MzQ0ODMwMzg1 2026/07/09 07:42:56 INFO Created nix-cache-info in bucket bucket=bucket21 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (6.72ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (6.81ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (13.37ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (8.41ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (7.98ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (8.28ms) 2026/07/09 07:42:56 INFO Completed multipart upload object_key=nar/gggggggggggggggggggggggggggggg0300000000000000000000.nar.zst upload_id=M2YyYzA3OTEtM2I1NC00MTQ4LWEwNTQtYjNmNDEwMzVlYmQ3LmFkOTgxOTgzLTU0ODktNDYyMy1iNTQ0LWZkOGE5Njg3NGY3M3gxNzgzNTgyOTc2MzQ0ODMwMzg1 parts=1 --- PASS: TestCompleteMultipartUpload_ErrorButObjectExists (0.56s) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (10.61ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (10.91ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (14.38ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (11.71ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (11.2ms) 2026/07/09 07:42:56 WARN mTLS auth: subject not in bound subjects subject="CN=untrusted,O=Other" 2026/07/09 07:42:56 WARN mTLS auth: bound subjects configured but subject DN unavailable 2026/07/09 07:42:56 WARN mTLS auth: subject not in bound subjects subject="CN=untrusted" --- PASS: TestService_AuthMiddleware_MTLSBoundSubjects (0.56s) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (9.39ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (2.29ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (2.12ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (9.91ms) 2026/07/09 07:42:56 INFO Created nix-cache-info in bucket bucket=bucket25 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (2.75ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (11.07ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (2.45ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (2.46ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (10.89ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (4.48ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (4.42ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (4.46ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (2.01ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (2.2ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (2.09ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (2.28ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (4.39ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (3ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (4.43ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (3.85ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (3.95ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (4.57ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (5.15ms) 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (5.28ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (5.29ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (6.02ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (3.42ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (4.48ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (9.68ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (4.41ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (5.21ms) 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (3.22ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (4.12ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (4.25ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (9.61ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (10.03ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (10.86ms) 2026/07/09 07:42:56 OK 20241026095416_initial_model.sql (11.17ms) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (2.76ms) 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (4.59ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (2.73ms) 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (4.61ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (3.63ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (2.78ms) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (2.97ms) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (2.45ms) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (2.43ms) 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (1.14ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (1.21ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (2.57ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (2.53ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (2.54ms) 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (2.53ms) 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (3.83ms) 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (3.6ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 20251210153512_drop_unused_gin_index.sql (2.41ms) 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (3.49ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (2.02ms) --- PASS: TestMetricsInventory (0.57s) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (1.97ms) 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (4.08ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (1.01ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (1.27ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (1.13ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (1.32ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (817.56µs) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (1.12ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (2.73ms) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (2.73ms) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (1.97ms) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (2.06ms) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (2.04ms) --- PASS: TestService_healthCheckHandler (0.58s) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (2.63ms) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (2.03ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (2.5ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (2.9ms) 2026/07/09 07:42:56 OK 20251218171726_add_pins.sql (2.82ms) 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (920.07µs) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (1.02ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (1.19ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (927.39µs) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (1.35ms) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 INFO Received uploads request method=POST path=/api/pending_closures --- PASS: TestResurrectedObjectNotDeleted (0.58s) 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (2.74ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (2.83ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (3.4ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (3.12ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 OK 20260628120000_add_object_size_and_stats.sql (3.33ms) 2026/07/09 07:42:56 goose: successfully migrated database to version: 20260628120000 2026/07/09 07:42:56 INFO Created nix-cache-info in bucket bucket=bucket29 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (1.79ms) --- PASS: TestReadProxyRootRedirectsToIndexHTML (0.58s) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (1.68ms) 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (903.01µs) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (1.48ms) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (1.65ms) 2026/07/09 07:42:56 OK 1_commit_pending_closure.sql (1.61ms) 2026/07/09 07:42:56 INFO Created nix-cache-info in bucket bucket=bucket36 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (728.61µs) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (711.24µs) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (900.64µs) 2026/07/09 07:42:56 goose: up to current file version: 2 2026/07/09 07:42:56 INFO Created nix-cache-info in bucket bucket=bucket39 2026/07/09 07:42:56 OK 2_object_stats_trigger.sql (1.01ms) 2026/07/09 07:42:56 goose: up to current file version: 2 --- PASS: TestReadProxyNarStreaming (0.58s) 2026/07/09 07:42:56 INFO Aborted multipart uploads count=0 === RUN TestService_AuthMiddleware_OIDC/valid_OIDC_token === PAUSE TestService_AuthMiddleware_OIDC/valid_OIDC_token === RUN TestService_AuthMiddleware_OIDC/OIDC_token_with_wrong_org_rejected === PAUSE TestService_AuthMiddleware_OIDC/OIDC_token_with_wrong_org_rejected === RUN TestService_AuthMiddleware_OIDC/malformed_token_rejected === PAUSE TestService_AuthMiddleware_OIDC/malformed_token_rejected === RUN TestService_AuthMiddleware_OIDC/static_token_still_works_with_OIDC_configured === PAUSE TestService_AuthMiddleware_OIDC/static_token_still_works_with_OIDC_configured === CONT TestService_AuthMiddleware_OIDC/valid_OIDC_token === CONT TestService_AuthMiddleware_OIDC/static_token_still_works_with_OIDC_configured === CONT TestService_AuthMiddleware_OIDC/malformed_token_rejected === CONT TestService_AuthMiddleware_OIDC/OIDC_token_with_wrong_org_rejected 2026/07/09 07:42:56 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] --- PASS: TestReadProxyDisabled (0.59s) 2026/07/09 07:42:56 WARN Force mode enabled - objects will be deleted immediately without grace period 2026/07/09 07:42:56 INFO OIDC auth successful provider=test 2026/07/09 07:42:56 WARN Authentication failed token_preview=eyJhbGciOi...AsGIt-w8Xg 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] 2026/07/09 07:42:56 INFO Garbage collection completed failed-uploads-deleted=0 old-closures-deleted=0 objects-marked-for-deletion=0 objects-deleted-after-grace-period=0 objects-failed-to-delete=0 2026/07/09 07:42:56 INFO Vacuumed table table=pending_closures --- PASS: TestService_AuthMiddleware_OIDC (0.59s) --- PASS: TestService_AuthMiddleware_OIDC/static_token_still_works_with_OIDC_configured (0.00s) --- PASS: TestService_AuthMiddleware_OIDC/malformed_token_rejected (0.00s) --- PASS: TestService_AuthMiddleware_OIDC/valid_OIDC_token (0.00s) --- PASS: TestService_AuthMiddleware_OIDC/OIDC_token_with_wrong_org_rejected (0.00s) 2026/07/09 07:42:56 INFO Vacuumed table table=pending_objects 2026/07/09 07:42:56 INFO Vacuumed table table=multipart_uploads 2026/07/09 07:42:56 INFO Vacuumed table table=closures 2026/07/09 07:42:56 INFO Vacuumed table table=objects --- PASS: TestObjectStatsTrigger (0.59s) === NAME TestClientMultipleUploads client_integration_test.go:338: Created store path 0: /build/TestClientMultipleUploads3592308589/001/store/0g88bw24csa7lvy0b5vrlm38ljqicrzl-test-file-0.txt --- PASS: TestGCMetrics (0.60s) === NAME TestNARDeduplicationMetadataUploadBug metadata_upload_test.go:48: First store path: /build/TestNARDeduplicationMetadataUploadBug1019669248/001/store/py0a8rzflg24n09323qjw06cm38wzmk3-file1.txt === NAME TestClientIntegration client_integration_test.go:276: Created store path: /build/TestClientIntegration87108969/002/store/w8aml4hdqln5m3g6fs71bbkfzniyc2ld-test-file.txt === NAME TestClientWithDependencies client_integration_test.go:593: Built derivation: /build/TestClientWithDependencies840556054/001/store/rsh4bg3aklzn4h8cvi4r1sadiqf5vj23-test-script 2026/07/09 07:42:56 INFO Received complete multipart upload request method=POST path=/api/multipart/complete === NAME TestClientMultipleUploads client_integration_test.go:338: Created store path 1: /build/TestClientMultipleUploads3592308589/001/store/2jd3ss3w16zfmb468w7x34lxk3gwjpcj-test-file-1.txt === NAME TestClientCADerivations client_ca_test.go:136: Built CA derivation: /build/TestClientCADerivations3599309625/001/store/0bzyw4nsn4bvmrljy4shcqkyzlin6h7s-ca-test === NAME TestClientWithDependencies client_integration_test.go:595: Found 1 dependencies (including self) === NAME TestPinProtectsFromGC client_integration_test.go:646: Pinned store path: /build/TestPinProtectsFromGC3168964912/001/store/mdp43vx7q01s60f1rdq1hcc1gakdz2m0-pinned-file.txt client_integration_test.go:647: Unpinned store path: /build/TestPinProtectsFromGC3168964912/001/store/fk0jccnbibci5gh7hi3mh98rmrjq0hv5-unpinned-file.txt === NAME TestClientMultipleUploads client_integration_test.go:338: Created store path 2: /build/TestClientMultipleUploads3592308589/001/store/wyhqsxsj1hcy652xixhmypq85kdk8gly-test-file-2.txt === NAME TestClientCADerivations client_ca_test.go:139: Found 1 dependencies (including self) 2026/07/09 07:42:56 INFO Received cleanup request method=DELETE path=/api/pending_closures 2026/07/09 07:42:56 INFO Aborted multipart uploads count=1 --- PASS: TestMultipartCleanup (0.69s) 2026/07/09 07:42:56 INFO Received complete multipart upload request method=POST path=/api/multipart/complete 2026/07/09 07:42:56 INFO Completed multipart upload object_key=nar/0000000000000000000000000000000000000000000000000000.nar.zst upload_id=M2YyYzA3OTEtM2I1NC00MTQ4LWEwNTQtYjNmNDEwMzVlYmQ3LmEyN2RlOTA5LTNhYzktNDE2Ni1iNmNhLTYwMTA1ZjkzOTgyY3gxNzgzNTgyOTc2MjM3MDM1MDc4 parts=10 2026/07/09 07:42:56 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete --- PASS: TestReadProxyConditionalGet (0.71s) 2026/07/09 07:42:56 INFO Completed upload id=1 2026/07/09 07:42:56 INFO Received get closure request method=GET path=/api/closures/00000000000000000000000000000000 2026/07/09 07:42:56 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/09 07:42:56 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/09 07:42:56 INFO Starting cleanup of old closures method=DELETE path=/api/closures --- PASS: TestReadProxyHead (0.71s) 2026/07/09 07:42:56 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/07/09 07:42:56 INFO Uploading py0a8rzflg24n09323qjw06cm38wzmk3-file1.txt (160B) 2026/07/09 07:42:56 INFO Aborted multipart uploads count=0 2026/07/09 07:42:56 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/09 07:42:56 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign 2026/07/09 07:42:56 INFO Signed narinfos id=1 count=1 2026/07/09 07:42:56 INFO Uploading 1 narinfos 2026/07/09 07:42:56 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/07/09 07:42:56 WARN Authentication failed token_preview=invalid-token token_length=13 reason="static API token mismatch" 2026/07/09 07:42:56 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/07/09 07:42:56 INFO Uploading w8aml4hdqln5m3g6fs71bbkfzniyc2ld-test-file.txt (152B) 2026/07/09 07:42:56 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 2026/07/09 07:42:56 INFO Vacuumed table table=pending_closures 2026/07/09 07:42:56 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign 2026/07/09 07:42:56 INFO Completed upload id=1 2026/07/09 07:42:56 INFO Signed narinfos id=1 count=1 2026/07/09 07:42:56 INFO Upload complete. (79ms) 2026/07/09 07:42:56 INFO Uploading 1 narinfos 2026/07/09 07:42:56 INFO Vacuumed table table=pending_objects === NAME TestNARDeduplicationMetadataUploadBug metadata_upload_test.go:54: Retrieved narinfo from S3: StorePath: /build/TestNARDeduplicationMetadataUploadBug1019669248/001/store/py0a8rzflg24n09323qjw06cm38wzmk3-file1.txt URL: nar/1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf.nar.zst Compression: zstd NarHash: sha256:1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf NarSize: 160 References: CA: fixed:r:sha256:1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf 2026/07/09 07:42:56 INFO Vacuumed table table=multipart_uploads 2026/07/09 07:42:56 INFO Vacuumed table table=closures 2026/07/09 07:42:56 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete metadata_upload_test.go:55: Retrieved .ls file from S3 (compressed size: 77 bytes) metadata_upload_test.go:55: Decompressed .ls content (64 bytes): {"version":1,"root":{"type":"regular","size":44,"narOffset":96}} 2026/07/09 07:42:56 INFO Vacuumed table table=objects 2026/07/09 07:42:56 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/09 07:42:56 INFO Completed upload id=1 2026/07/09 07:42:56 INFO Upload complete. (79ms) === NAME TestClientIntegration client_integration_test.go:292: Retrieved narinfo from S3: StorePath: /build/TestClientIntegration87108969/002/store/w8aml4hdqln5m3g6fs71bbkfzniyc2ld-test-file.txt URL: nar/11l1b7hsy9g9pz8i2rcn4n128l6pyr2yf58d49r12hr5caw9dzk1.nar.zst Compression: zstd NarHash: sha256:11l1b7hsy9g9pz8i2rcn4n128l6pyr2yf58d49r12hr5caw9dzk1 NarSize: 152 References: CA: fixed:r:sha256:11l1b7hsy9g9pz8i2rcn4n128l6pyr2yf58d49r12hr5caw9dzk1 2026/07/09 07:42:56 INFO Received complete multipart upload request method=POST path=/api/multipart/complete client_integration_test.go:293: Retrieved .ls file from S3 (compressed size: 77 bytes) client_integration_test.go:293: Decompressed .ls content (64 bytes): {"version":1,"root":{"type":"regular","size":39,"narOffset":96}} client_integration_test.go:296: Testing garbage collection... 2026/07/09 07:42:56 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/07/09 07:42:56 INFO Uploading rsh4bg3aklzn4h8cvi4r1sadiqf5vj23-test-script (136B) 2026/07/09 07:42:56 INFO Completed multipart upload object_key=nar/dadb44fdadb44fdadb44fdadb44f000000000000000000000000.nar.zst upload_id=M2YyYzA3OTEtM2I1NC00MTQ4LWEwNTQtYjNmNDEwMzVlYmQ3LjFkNjc1NzAyLTIzMDItNDQwMC1iMTZiLTZhZjdlYjI5NTQzNXgxNzgzNTgyOTc2Mjg2NTc2MzUx parts=10 2026/07/09 07:42:56 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/07/09 07:42:56 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign 2026/07/09 07:42:56 INFO Signed narinfos id=1 count=1 2026/07/09 07:42:56 INFO Uploading 1 narinfos 2026/07/09 07:42:56 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/09 07:42:56 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/07/09 07:42:56 INFO Completed upload id=1 2026/07/09 07:42:56 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/07/09 07:42:56 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/09 07:42:56 INFO Uploading mdp43vx7q01s60f1rdq1hcc1gakdz2m0-pinned-file.txt (128B) 2026/07/09 07:42:56 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/09 07:42:56 INFO Completed upload id=1 2026/07/09 07:42:56 INFO Upload complete. (59ms) 2026/07/09 07:42:56 INFO Object in database but missing from S3 key=dadb44fdadb44fdadb44fdadb44f0000.narinfo 2026/07/09 07:42:56 WARN Found objects in DB but missing from S3, will re-upload count=1 2026/07/09 07:42:56 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign --- PASS: TestService_verifyS3Integrity (0.76s) 2026/07/09 07:42:56 INFO Signed narinfos id=1 count=1 2026/07/09 07:42:56 INFO Uploading 1 narinfos === NAME TestClientWithDependencies client_integration_test.go:597: Skipping nix copy test - isolated store (/build/TestClientWithDependencies840556054/001/store) requires matching store prefix 2026/07/09 07:42:56 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete --- PASS: TestClientWithDependencies (0.75s) --- PASS: TestReadProxyNarinfo (0.75s) 2026/07/09 07:42:56 INFO Completed upload id=1 2026/07/09 07:42:56 INFO Upload complete. (70ms) 2026/07/09 07:42:56 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/09 07:42:56 INFO Received get closure request method=GET path=/api/closures/00000000000000000000000000000000 --- PASS: TestService_createPendingClosureHandler (0.77s) 2026/07/09 07:42:56 INFO Received uploads request method=POST path=/api/pending_closures === NAME TestNARDeduplicationMetadataUploadBug metadata_upload_test.go:64: Second store path (same content): /build/TestNARDeduplicationMetadataUploadBug1019669248/001/store/fy9x38z6lncxd83swsjawbi46bcp91jr-file2.txt 2026/07/09 07:42:56 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/07/09 07:42:56 INFO Uploading 0bzyw4nsn4bvmrljy4shcqkyzlin6h7s-ca-test (144B) 2026/07/09 07:42:56 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/09 07:42:56 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/09 07:42:56 INFO Starting cleanup of old closures method=DELETE path=/api/closures 2026/07/09 07:42:56 INFO Garbage collection started 2026/07/09 07:42:56 INFO Uploading 3 paths to 127.0.0.1 (0 already cached) 2026/07/09 07:42:56 INFO Uploading wyhqsxsj1hcy652xixhmypq85kdk8gly-test-file-2.txt (160B) 2026/07/09 07:42:56 INFO Uploading 0g88bw24csa7lvy0b5vrlm38ljqicrzl-test-file-0.txt (160B) 2026/07/09 07:42:56 INFO Uploading 2jd3ss3w16zfmb468w7x34lxk3gwjpcj-test-file-1.txt (160B) 2026/07/09 07:42:56 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign 2026/07/09 07:42:56 INFO Signed narinfos id=1 count=1 2026/07/09 07:42:56 INFO Uploading 1 narinfos 2026/07/09 07:42:56 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete 2026/07/09 07:42:56 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign 2026/07/09 07:42:56 INFO Signed narinfos id=2 count=1 2026/07/09 07:42:56 INFO Received sign narinfos request method=POST path=/api/pending_closures/3/sign 2026/07/09 07:42:56 INFO Aborted multipart uploads count=0 2026/07/09 07:42:56 INFO Signed narinfos id=3 count=1 2026/07/09 07:42:56 INFO Received sign narinfos request method=POST path=/api/pending_closures/1/sign 2026/07/09 07:42:56 INFO Signed narinfos id=1 count=1 2026/07/09 07:42:56 INFO Uploading 3 narinfos 2026/07/09 07:42:56 INFO Completed upload id=1 2026/07/09 07:42:56 INFO Upload complete. (77ms) 2026/07/09 07:42:56 WARN Force mode enabled - objects will be deleted immediately without grace period 2026/07/09 07:42:56 INFO Received complete upload request method=POST path=/api/pending_closures/1/complete === NAME TestClientCADerivations client_ca_test.go:180: Narinfo contains CA field: StorePath: /build/TestClientCADerivations3599309625/001/store/0bzyw4nsn4bvmrljy4shcqkyzlin6h7s-ca-test URL: nar/04jj7iiy79vhzp5kk3r2751n9x3xa44j98y5bk1ds4jp31kky74n.nar.zst Compression: zstd NarHash: sha256:04jj7iiy79vhzp5kk3r2751n9x3xa44j98y5bk1ds4jp31kky74n NarSize: 144 References: Deriver: /build/TestClientCADerivations3599309625/001/store/bgqbg92xyj9blj5slzaihps7sjw0f2ky-ca-test.drv CA: fixed:r:sha256:04jj7iiy79vhzp5kk3r2751n9x3xa44j98y5bk1ds4jp31kky74n client_ca_test.go:185: Checking for realisation files in S3... 2026/07/09 07:42:56 INFO Completed upload id=1 client_ca_test.go:207: No realisation files uploaded - this is expected for locally built CA derivations client_ca_test.go:208: Locally built CA derivations don't have DrvOutput IDs until they're substituted from a cache 2026/07/09 07:42:56 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete 2026/07/09 07:42:56 INFO Completed upload id=2 2026/07/09 07:42:56 INFO Received complete upload request method=POST path=/api/pending_closures/3/complete 2026/07/09 07:42:56 INFO Completed upload id=3 2026/07/09 07:42:56 INFO Upload complete. (90ms) === NAME TestClientMultipleUploads client_integration_test.go:349: Uploaded 3 paths in 122.873487ms --- PASS: TestGCBugBareHashReferences (0.79s) --- PASS: TestClientMultipleUploads (0.79s) 2026/07/09 07:42:56 INFO Received complete multipart upload request method=POST path=/api/multipart/complete === NAME TestOrphanedObjectsGC orphaned_objects_gc_test.go:290: GC Test Summary: orphaned_objects_gc_test.go:291: - Kept: 2 objects from closure A orphaned_objects_gc_test.go:292: - Deleted: 2 objects from closure B orphaned_objects_gc_test.go:293: - Deleted: 6 orphaned chain objects (X1->X2->X3) orphaned_objects_gc_test.go:294: - Deleted: 2 orphaned single objects (Y) orphaned_objects_gc_test.go:295: - Total deleted: 10 objects --- PASS: TestOrphanedObjectsGC (0.81s) 2026/07/09 07:42:56 INFO Completed multipart upload object_key=nar/gggggggggggggggggggggggggggggg0100000000000000000000.nar.zst upload_id=M2YyYzA3OTEtM2I1NC00MTQ4LWEwNTQtYjNmNDEwMzVlYmQ3LjlhODkwMWNlLTNkYzMtNDE2Mi1hYjcxLTk5ZDQwNGQxN2FhZngxNzgzNTgyOTc2MzU2MzQ2ODUw parts=12 --- PASS: TestRedundantMultipartUpload (0.81s) 2026/07/09 07:42:56 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/09 07:42:56 INFO Uploading 1 paths to 127.0.0.1 (0 already cached) 2026/07/09 07:42:56 INFO Uploading fk0jccnbibci5gh7hi3mh98rmrjq0hv5-unpinned-file.txt (128B) 2026/07/09 07:42:56 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign 2026/07/09 07:42:56 INFO Signed narinfos id=2 count=1 2026/07/09 07:42:56 INFO Uploading 1 narinfos 2026/07/09 07:42:56 INFO Received uploads request method=POST path=/api/pending_closures 2026/07/09 07:42:56 INFO Uploading 0 paths to 127.0.0.1 (1 already cached) 2026/07/09 07:42:56 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete 2026/07/09 07:42:56 INFO Completed upload id=2 2026/07/09 07:42:56 INFO Received sign narinfos request method=POST path=/api/pending_closures/2/sign 2026/07/09 07:42:56 INFO Upload complete. (66ms) 2026/07/09 07:42:56 INFO Signed narinfos id=2 count=1 2026/07/09 07:42:56 INFO Uploading 1 narinfos 2026/07/09 07:42:56 INFO Received complete upload request method=POST path=/api/pending_closures/2/complete 2026/07/09 07:42:56 INFO Completed upload id=2 2026/07/09 07:42:56 INFO Upload complete. (61ms) === NAME TestNARDeduplicationMetadataUploadBug metadata_upload_test.go:76: Retrieved narinfo from S3: StorePath: /build/TestNARDeduplicationMetadataUploadBug1019669248/001/store/fy9x38z6lncxd83swsjawbi46bcp91jr-file2.txt URL: nar/1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf.nar.zst Compression: zstd NarHash: sha256:1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf NarSize: 160 References: CA: fixed:r:sha256:1byf36hhc5sn8lvwqfkjh3ybgn76slmx8naakslrypxs6mna71rf metadata_upload_test.go:77: Retrieved .ls file from S3 (compressed size: 62 bytes) metadata_upload_test.go:77: Decompressed .ls content (49 bytes): {"version":1,"root":{"type":"regular","size":44}} --- PASS: TestNARDeduplicationMetadataUploadBug (0.86s) 2026/07/09 07:42:56 INFO Received create pin request method=POST path=/api/pins/myapp 2026/07/09 07:42:56 WARN Request failed, retrying attempt=4 max_attempts=6 backoff=847.451908ms error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures 2026/07/09 07:42:56 INFO Created/updated pin name=myapp store_path=/build/TestPinProtectsFromGC3168964912/001/store/mdp43vx7q01s60f1rdq1hcc1gakdz2m0-pinned-file.txt narinfo_key=mdp43vx7q01s60f1rdq1hcc1gakdz2m0.narinfo 2026/07/09 07:42:56 INFO Starting cleanup of old closures method=DELETE path=/api/closures 2026/07/09 07:42:56 INFO Garbage collection started 2026/07/09 07:42:56 INFO Aborted multipart uploads count=0 2026/07/09 07:42:56 WARN Force mode enabled - objects will be deleted immediately without grace period --- PASS: TestUploadHandlersRejectOversizedBody (0.18s) --- PASS: TestUploadHandlersRejectOversizedBody/request_more_parts (0.04s) --- PASS: TestUploadHandlersRejectOversizedBody/complete_multipart (0.05s) --- PASS: TestUploadHandlersRejectOversizedBody/create_pending_closure (0.72s) === NAME TestClientCADerivations client_ca_test.go:258: nix copy output: warning: you don't have Internet access; disabling some network-dependent features warning: failed to create TLS context for AWS credential providers; SSO, STS WebIdentity, and ECS container authentication will be unavailable error: binary cache 's3://bucket25?endpoint=http://localhost:42221®ion=eu-west-1' is for Nix stores with prefix '/nix/store', not '/build/TestClientCADerivations3599309625/001/store' client_ca_test.go:259: nix copy failed (might be expected with isolated stores): exit status 1 --- PASS: TestClientCADerivations (0.91s) === NAME TestOrphanedObjectsGCStressTest orphaned_objects_gc_test.go:425: Created 10 active closures, 5 to-delete closures, 20 orphaned chains orphaned_objects_gc_test.go:446: Marked 210 objects for deletion 2026/07/09 07:42:57 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 2026/07/09 07:42:57 INFO Vacuumed table table=pending_closures 2026/07/09 07:42:57 INFO Vacuumed table table=pending_objects 2026/07/09 07:42:57 INFO Vacuumed table table=multipart_uploads 2026/07/09 07:42:57 INFO Vacuumed table table=closures 2026/07/09 07:42:57 INFO Vacuumed table table=objects orphaned_objects_gc_test.go:509: Stress test completed successfully: orphaned_objects_gc_test.go:510: - Active objects preserved: 20 orphaned_objects_gc_test.go:511: - Objects deleted: 210 orphaned_objects_gc_test.go:512: - Total GC'd: 210 --- PASS: TestOrphanedObjectsGCStressTest (1.31s) 2026/07/09 07:42:57 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 2026/07/09 07:42:57 INFO Vacuumed table table=pending_closures 2026/07/09 07:42:57 INFO Vacuumed table table=pending_objects 2026/07/09 07:42:57 INFO Vacuumed table table=multipart_uploads 2026/07/09 07:42:57 INFO Vacuumed table table=closures 2026/07/09 07:42:57 INFO Vacuumed table table=objects 2026/07/09 07:42:57 WARN Request failed, retrying attempt=5 max_attempts=6 backoff=1.606497972s error="Post \"http://localhost:19999/api/pending_closures\": dial tcp [::1]:19999: connect: connection refused" url=http://localhost:19999/api/pending_closures 2026/07/09 07:42:58 INFO Garbage collection progress phase="" failed_uploads_deleted=0 old_closures_deleted=1 objects_marked=3 objects_deleted=2001 objects_failed=0 === NAME TestClientIntegration client_integration_test.go:303: Objects in database after GC: client_integration_test.go:303: Successfully deleted all objects with GC --force --- PASS: TestClientIntegration (2.78s) 2026/07/09 07:42:58 INFO Garbage collection progress phase="" failed_uploads_deleted=0 old_closures_deleted=1 objects_marked=3 objects_deleted=2001 objects_failed=0 === NAME TestPinProtectsFromGC client_integration_test.go:709: Pin successfully protected closure from garbage collection --- PASS: TestPinProtectsFromGC (2.89s) --- PASS: TestClientErrorHandling (0.00s) --- PASS: TestClientErrorHandling/InvalidStorePath (0.62s) --- PASS: TestClientErrorHandling/InvalidAuthToken (0.72s) --- PASS: TestClientErrorHandling/ServerNotAvailable (3.34s) 2026/07/09 07:43:01 WARN Rate limiter enabled after throttle name=s3-test rate=5 2026/07/09 07:43:01 WARN S3 rate limit hit operation="complete multipart upload" error="Please reduce your request rate." === NAME TestCompleteMultipartUploadHandler_RateLimitTriggersThrottle throttle_test.go:213: Proxy stats: total=15, throttled=10, completeMultipart=10 throttle_test.go:215: Rate limiter: enabled=true, rate=5.00 --- PASS: TestCompleteMultipartUploadHandler_RateLimitTriggersThrottle (6.13s) PASS 2026-07-09 07:43:02.586 UTC [330] LOG: received smart shutdown request 2026-07-09 07:43:02.589 UTC [330] LOG: background worker "logical replication launcher" (PID 337) exited with exit code 1 2026-07-09 07:43:02.596 UTC [332] LOG: shutting down 2026-07-09 07:43:02.597 UTC [332] LOG: checkpoint starting: shutdown immediate 2026-07-09 07:43:03.880 UTC [332] LOG: checkpoint complete: wrote 8597 buffers (52.5%); 0 WAL file(s) added, 0 removed, 12 recycled; write=0.132 s, sync=1.142 s, total=1.284 s; sync files=14421, longest=0.001 s, average=0.001 s; distance=194058 kB, estimate=194058 kB; lsn=0/D26F500, redo lsn=0/D26F500 2026-07-09 07:43:03.957 UTC [330] LOG: database system is shut down Running OIDC tests... === RUN TestGlobMatch === PAUSE TestGlobMatch === RUN TestAudienceForIssuer === PAUSE TestAudienceForIssuer === RUN TestValidateToken_ValidToken === PAUSE TestValidateToken_ValidToken === RUN TestValidateToken_WrongAudience === PAUSE TestValidateToken_WrongAudience === RUN TestValidateToken_Expired === PAUSE TestValidateToken_Expired === RUN TestValidateToken_BoundClaimsMismatch === PAUSE TestValidateToken_BoundClaimsMismatch === RUN TestValidateToken_BoundSubjectMismatch === PAUSE TestValidateToken_BoundSubjectMismatch === RUN TestValidateToken_MultipleProviders === PAUSE TestValidateToken_MultipleProviders === RUN TestValidateToken_NoMatchingProvider === PAUSE TestValidateToken_NoMatchingProvider === CONT TestGlobMatch === RUN TestGlobMatch/foo_foo === PAUSE TestGlobMatch/foo_foo === CONT TestValidateToken_MultipleProviders === RUN TestGlobMatch/foo_bar === PAUSE TestGlobMatch/foo_bar === CONT TestValidateToken_Expired === RUN TestGlobMatch/*_ === PAUSE TestGlobMatch/*_ === CONT TestValidateToken_WrongAudience === CONT TestValidateToken_ValidToken === CONT TestAudienceForIssuer --- PASS: TestAudienceForIssuer (0.00s) === CONT TestValidateToken_BoundClaimsMismatch === CONT TestValidateToken_BoundSubjectMismatch === CONT TestValidateToken_NoMatchingProvider === RUN TestGlobMatch/*_anything === PAUSE TestGlobMatch/*_anything === RUN TestGlobMatch/foo*_foo === PAUSE TestGlobMatch/foo*_foo === RUN TestGlobMatch/foo*_foobar === PAUSE TestGlobMatch/foo*_foobar === RUN TestGlobMatch/foo*_bar === PAUSE TestGlobMatch/foo*_bar === RUN TestGlobMatch/*bar_bar === PAUSE TestGlobMatch/*bar_bar === RUN TestGlobMatch/*bar_foobar === PAUSE TestGlobMatch/*bar_foobar === RUN TestGlobMatch/*bar_foo === PAUSE TestGlobMatch/*bar_foo === RUN TestGlobMatch/foo*bar_foobar === PAUSE TestGlobMatch/foo*bar_foobar === RUN TestGlobMatch/foo*bar_foo123bar === PAUSE TestGlobMatch/foo*bar_foo123bar === RUN TestGlobMatch/foo*bar_foobarbaz === PAUSE TestGlobMatch/foo*bar_foobarbaz === RUN TestGlobMatch/*/*_foo/bar === PAUSE TestGlobMatch/*/*_foo/bar === RUN TestGlobMatch/*/*_foo === PAUSE TestGlobMatch/*/*_foo === RUN TestGlobMatch/refs/heads/*_refs/heads/main === PAUSE TestGlobMatch/refs/heads/*_refs/heads/main === RUN TestGlobMatch/refs/heads/*_refs/tags/v1.0 === PAUSE TestGlobMatch/refs/heads/*_refs/tags/v1.0 === RUN TestGlobMatch/refs/*/main_refs/heads/main === PAUSE TestGlobMatch/refs/*/main_refs/heads/main === RUN TestGlobMatch/fo?_foo === PAUSE TestGlobMatch/fo?_foo === RUN TestGlobMatch/fo?_fo === PAUSE TestGlobMatch/fo?_fo === RUN TestGlobMatch/fo?_fooo === PAUSE TestGlobMatch/fo?_fooo === RUN TestGlobMatch/?oo_foo === PAUSE TestGlobMatch/?oo_foo === RUN TestGlobMatch/?oo_boo === PAUSE TestGlobMatch/?oo_boo === RUN TestGlobMatch/repo:myorg/*:*_repo:myorg/myrepo:ref:refs/heads/main === PAUSE TestGlobMatch/repo:myorg/*:*_repo:myorg/myrepo:ref:refs/heads/main === RUN TestGlobMatch/repo:myorg/*:*_repo:otherorg/myrepo:ref:refs/heads/main === PAUSE TestGlobMatch/repo:myorg/*:*_repo:otherorg/myrepo:ref:refs/heads/main === CONT TestGlobMatch/foo_foo === CONT TestGlobMatch/foo*bar_foobarbaz === CONT TestGlobMatch/foo*bar_foo123bar === CONT TestGlobMatch/foo*bar_foobar === CONT TestGlobMatch/?oo_foo === CONT TestGlobMatch/foo*_foobar === CONT TestGlobMatch/?oo_boo === CONT TestGlobMatch/fo?_fo === CONT TestGlobMatch/repo:myorg/*:*_repo:otherorg/myrepo:ref:refs/heads/main === CONT TestGlobMatch/refs/heads/*_refs/tags/v1.0 === CONT TestGlobMatch/fo?_fooo === CONT TestGlobMatch/fo?_foo === CONT TestGlobMatch/foo*_foo === CONT TestGlobMatch/repo:myorg/*:*_repo:myorg/myrepo:ref:refs/heads/main === CONT TestGlobMatch/*_anything === CONT TestGlobMatch/refs/*/main_refs/heads/main === CONT TestGlobMatch/*_ === CONT TestGlobMatch/*bar_foobar === CONT TestGlobMatch/*bar_foo === CONT TestGlobMatch/foo_bar === CONT TestGlobMatch/refs/heads/*_refs/heads/main === CONT TestGlobMatch/*/*_foo === CONT TestGlobMatch/*bar_bar === CONT TestGlobMatch/foo*_bar === CONT TestGlobMatch/*/*_foo/bar --- PASS: TestGlobMatch (0.00s) --- PASS: TestGlobMatch/foo_foo (0.00s) --- PASS: TestGlobMatch/foo*bar_foobarbaz (0.00s) --- PASS: TestGlobMatch/foo*bar_foo123bar (0.00s) --- PASS: TestGlobMatch/foo*bar_foobar (0.00s) --- PASS: TestGlobMatch/?oo_foo (0.00s) --- PASS: TestGlobMatch/foo*_foobar (0.00s) --- PASS: TestGlobMatch/?oo_boo (0.00s) --- PASS: TestGlobMatch/fo?_fo (0.00s) --- PASS: TestGlobMatch/repo:myorg/*:*_repo:otherorg/myrepo:ref:refs/heads/main (0.00s) --- PASS: TestGlobMatch/refs/heads/*_refs/tags/v1.0 (0.00s) --- PASS: TestGlobMatch/fo?_fooo (0.00s) --- PASS: TestGlobMatch/fo?_foo (0.00s) --- PASS: TestGlobMatch/foo*_foo (0.00s) --- PASS: TestGlobMatch/repo:myorg/*:*_repo:myorg/myrepo:ref:refs/heads/main (0.00s) --- PASS: TestGlobMatch/*_anything (0.00s) --- PASS: TestGlobMatch/refs/*/main_refs/heads/main (0.00s) --- PASS: TestGlobMatch/*_ (0.00s) --- PASS: TestGlobMatch/*bar_foobar (0.00s) --- PASS: TestGlobMatch/*bar_foo (0.00s) --- PASS: TestGlobMatch/foo_bar (0.00s) --- PASS: TestGlobMatch/refs/heads/*_refs/heads/main (0.00s) --- PASS: TestGlobMatch/*/*_foo (0.00s) --- PASS: TestGlobMatch/*bar_bar (0.00s) --- PASS: TestGlobMatch/foo*_bar (0.00s) --- PASS: TestGlobMatch/*/*_foo/bar (0.00s) 2026/07/09 07:43:04 INFO OIDC provider initialized name=test 2026/07/09 07:43:04 INFO OIDC provider initialized name=test 2026/07/09 07:43:04 INFO OIDC provider initialized name=test 2026/07/09 07:43:04 INFO OIDC provider initialized name=test 2026/07/09 07:43:04 INFO OIDC provider initialized name=test 2026/07/09 07:43:04 INFO OIDC provider initialized name=provider1 2026/07/09 07:43:04 INFO OIDC provider initialized name=provider1 2026/07/09 07:43:04 INFO OIDC provider initialized name=provider2 --- PASS: TestValidateToken_ValidToken (0.01s) --- PASS: TestValidateToken_MultipleProviders (0.01s) --- PASS: TestValidateToken_BoundSubjectMismatch (0.01s) --- PASS: TestValidateToken_BoundClaimsMismatch (0.01s) --- PASS: TestValidateToken_Expired (0.01s) --- PASS: TestValidateToken_WrongAudience (0.01s) --- PASS: TestValidateToken_NoMatchingProvider (0.01s) PASS Running hook tests... === RUN TestSendPathsEmpty === PAUSE TestSendPathsEmpty === RUN TestQueueEnqueueAndFetch === PAUSE TestQueueEnqueueAndFetch === RUN TestQueueDeduplication === PAUSE TestQueueDeduplication === RUN TestQueueRemove === PAUSE TestQueueRemove === RUN TestQueueFetchBatchLimit === PAUSE TestQueueFetchBatchLimit === RUN TestQueueFetchRemoveLifecycle === PAUSE TestQueueFetchRemoveLifecycle === RUN TestQueueConcurrentWriters === PAUSE TestQueueConcurrentWriters === RUN TestServerClientIntegration === PAUSE TestServerClientIntegration === RUN TestServerQueueError === PAUSE TestServerQueueError === RUN TestGetListenerSocketActivation server_test.go:210: === RUN TestGetListenerSocketActivation --- PASS: TestGetListenerSocketActivation (0.00s) PASS --- PASS: TestGetListenerSocketActivation (0.02s) === RUN TestWorkerUploadsAndRemoves === PAUSE TestWorkerUploadsAndRemoves === RUN TestWorkerSkipsGCdPaths === PAUSE TestWorkerSkipsGCdPaths === RUN TestWorkerPrunesClosureDeps === PAUSE TestWorkerPrunesClosureDeps === CONT TestSendPathsEmpty === CONT TestQueueConcurrentWriters --- PASS: TestSendPathsEmpty (0.00s) === CONT TestQueueFetchRemoveLifecycle === CONT TestQueueFetchBatchLimit === CONT TestQueueRemove === CONT TestQueueDeduplication === CONT TestQueueEnqueueAndFetch === CONT TestWorkerUploadsAndRemoves === CONT TestServerQueueError === CONT TestWorkerSkipsGCdPaths === CONT TestServerClientIntegration === CONT TestWorkerPrunesClosureDeps 2026/07/09 07:43:04 ERROR Failed to queue paths error="permission denied" count=1 --- PASS: TestServerClientIntegration (0.00s) --- PASS: TestServerQueueError (0.00s) --- PASS: TestQueueRemove (0.01s) 2026/07/09 07:43:04 INFO Upload queue status pending=2 2026/07/09 07:43:04 INFO Uploading batch count=1 --- PASS: TestQueueFetchRemoveLifecycle (0.02s) --- PASS: TestQueueDeduplication (0.01s) --- PASS: TestQueueEnqueueAndFetch (0.01s) 2026/07/09 07:43:04 INFO Upload queue status pending=2 2026/07/09 07:43:04 INFO Uploading batch count=2 2026/07/09 07:43:04 INFO Upload queue status pending=2 2026/07/09 07:43:04 WARN Store path no longer exists (garbage collected?), removing from queue path=/build/TestWorkerSkipsGCdPaths3247119476/002/nonexistent --- PASS: TestQueueFetchBatchLimit (0.02s) 2026/07/09 07:43:04 INFO Uploading batch count=1 --- PASS: TestWorkerPrunesClosureDeps (0.06s) --- PASS: TestWorkerUploadsAndRemoves (0.07s) --- PASS: TestWorkerSkipsGCdPaths (0.07s) --- PASS: TestQueueConcurrentWriters (0.24s) PASS