tribuchet: building on eliza Running phase: unpackPhase unpacking source archive /nix/store/nra90vvigcrcmi8raqgm5hkd3615hnal-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Running phase: buildPhase Building subPackage ./cmd/gitea-mq Building subPackage ./internal/batch Building subPackage ./internal/config Building subPackage ./internal/discovery Building subPackage ./internal/forge Building subPackage ./internal/gitea Building subPackage ./internal/github Building subPackage ./internal/github/ghfake Building subPackage ./internal/httpx Building subPackage ./internal/integration github.com/Mic92/gitea-mq/internal/integration: no non-test Go files in /build/source/internal/integration Building subPackage ./internal/logutil Building subPackage ./internal/merge Building subPackage ./internal/monitor Building subPackage ./internal/poller Building subPackage ./internal/queue Building subPackage ./internal/registry Building subPackage ./internal/store/pg Building subPackage ./internal/testutil Building subPackage ./internal/web Building subPackage ./internal/webhook buildPhase completed in 1 minutes 3 seconds Running phase: checkPhase ok github.com/Mic92/gitea-mq/internal/batch 16.308s ok github.com/Mic92/gitea-mq/internal/config 0.570s ok github.com/Mic92/gitea-mq/internal/discovery 9.287s ok github.com/Mic92/gitea-mq/internal/forge 0.757s ok github.com/Mic92/gitea-mq/internal/gitea 6.868s ok github.com/Mic92/gitea-mq/internal/github 10.930s ok github.com/Mic92/gitea-mq/internal/httpx 6.870s 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 enabled. creating directory /build/gitea-mq-test-postgres2272231463/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/gitea-mq-test-postgres2272231463/data -l logfile start 2026-11-06 08:41:18.405 UTC [42970] LOG: starting PostgreSQL 18.6 on aarch64-unknown-linux-gnu, compiled by clang version 21.1.8, 64-bit 2026-11-06 08:41:18.405 UTC [42970] LOG: listening on Unix socket "/build/gitea-mq-test-postgres2272231463/.s.PGSQL.5432" 2026-11-06 08:41:18.414 UTC [42977] LOG: database system was shut down at 2026-11-06 08:41:18 UTC 2026-11-06 08:41:18.419 UTC [42970] LOG: database system is ready to accept connections 2026/11/06 08:41:22 cmd/web.go:273:runWeb() [I] Starting Gitea on PID: 43031 2026/11/06 08:41:22 cmd/web.go:117:showWebStartupMessage() [I] Gitea version: 28.2.0 built with go1.27.3 : sqlite, sqlite_unlock_notify 2026/11/06 08:41:22 cmd/web.go:118:showWebStartupMessage() [I] * RunMode: prod 2026/11/06 08:41:22 cmd/web.go:119:showWebStartupMessage() [I] * AppPath: /nix/store/a9fg4l9hgpqbksvg7qgb8y26c03hsnf1-gitea-28.2.0/bin/gitea 2026/11/06 08:41:22 cmd/web.go:120:showWebStartupMessage() [I] * WorkPath: /build/gitea-mq-test-gitea3429346931 2026/11/06 08:41:22 cmd/web.go:121:showWebStartupMessage() [I] * CustomPath: /build/gitea-mq-test-gitea3429346931/custom 2026/11/06 08:41:22 cmd/web.go:122:showWebStartupMessage() [I] * ConfigFile: /build/gitea-mq-test-gitea3429346931/custom/conf/app.ini 2026/11/06 08:41:22 cmd/web.go:123:showWebStartupMessage() [I] Prepare to run web server 2026/11/06 08:41:22 routers/init.go:117:InitWebInstalled() [I] Git version: 2.56.0 (home: /build/gitea-mq-test-gitea3429346931/data/home) 2026/11/06 08:41:22 modules/setting/webhook.go:38:loadWebhookFrom() [E] Deprecation: config option `[webhook].ALLOWED_HOST_LIST` present, please use `[security].ALLOWED_HOST_LIST` instead because this fallback will be/has been removed in v28.0.0 2026/11/06 08:41:24 .../ssh_key_authorized_keys.go:55:rewriteAllPublicKeys.1() [W] Unable to remove temporary authorized keys file: /build/gitea-mq-test-gitea3429346931/git-home/.ssh/authorized_keys.tmp: Error: remove /build/gitea-mq-test-gitea3429346931/git-home/.ssh/authorized_keys.tmp: no such file or directory 2026/11/06 08:41:26 modules/setting/webhook.go:38:loadWebhookFrom() [E] Deprecation: config option `[webhook].ALLOWED_HOST_LIST` present, please use `[security].ALLOWED_HOST_LIST` instead because this fallback will be/has been removed in v28.0.0 New user 'testuser' has been successfully created! 2026-11-06 08:41:27.172 UTC [43199] ERROR: relation "goose_db_version" does not exist at character 36 2026-11-06 08:41:27.172 UTC [43199] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/11/06 08:41:27 OK 001_initial.sql (43.68ms) 2026/11/06 08:41:27 OK 002_check_status_target_url.sql (1.26ms) 2026/11/06 08:41:27 OK 003_add_forge.sql (2.56ms) 2026/11/06 08:41:27 OK 004_batches.sql (15.15ms) 2026/11/06 08:41:27 OK 005_priority.sql (2.56ms) 2026/11/06 08:41:27 goose: successfully migrated database to version: 5 DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash 2026/11/06 08:41:31 HTTPRequest [W] router: slow POST /api/v1/repos/testuser/e2e-mq-test/contents/README.md for 127.0.0.1:47612, elapsed 3561.3ms @ repo/file.go:436(repo.CreateFile) 2026/11/06 08:41:39 HTTPRequest [W] router: slow POST /api/v1/repos/testuser/e2e-mq-test/contents/test.txt for 127.0.0.1:47612, elapsed 3031.4ms @ repo/file.go:436(repo.CreateFile) --- FAIL: TestFullMergeQueueFlow (19.09s) e2e_test.go:71: POST /repos/testuser/e2e-mq-test/contents/test.txt: Post "http://127.0.0.1:45437/api/v1/repos/testuser/e2e-mq-test/contents/test.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2026-11-06 08:41:46.187 UTC [43511] ERROR: relation "goose_db_version" does not exist at character 36 2026-11-06 08:41:46.187 UTC [43511] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/11/06 08:41:46 OK 001_initial.sql (202.51ms) 2026/11/06 08:41:46 OK 002_check_status_target_url.sql (1.51ms) 2026/11/06 08:41:46 OK 003_add_forge.sql (2.42ms) 2026/11/06 08:41:46 routers/api/v1/repo/file.go:596:handleChangeRepoFilesError() [E] InternalServerError: unable to push back to repo testuser/e2e-mq-test from temporary repo, error: push failed: context canceled signal: terminated - - 2026/11/06 08:41:46 OK 004_batches.sql (8.68ms) 2026/11/06 08:41:46 OK 005_priority.sql (2.54ms) 2026/11/06 08:41:46 goose: successfully migrated database to version: 5 DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/batch-e2e.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/batch-e2e.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/batch-e2e.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/batch-e2e.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/batch-e2e.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/batch-e2e.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/batch-e2e.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash 2026/11/06 08:41:50 HTTPRequest [W] router: slow POST /api/v1/repos/testuser/batch-e2e/contents/README.md for 127.0.0.1:39242, elapsed 3500.3ms @ repo/file.go:436(repo.CreateFile) --- FAIL: TestGitea_BatchFlow_Green (10.52s) gitea_batch_test.go:49: POST /repos/testuser/batch-e2e/contents/README.md: Post "http://127.0.0.1:45437/api/v1/repos/testuser/batch-e2e/contents/README.md": context deadline exceeded (Client.Timeout exceeded while awaiting headers) DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/cache-private-test.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/cache-private-test.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/cache-private-test.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/cache-private-test.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/cache-private-test.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/cache-private-test.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/cache-private-test.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash 2026/11/06 08:41:57 routers/api/v1/repo/file.go:596:handleChangeRepoFilesError() [E] InternalServerError: unable to push back to repo testuser/batch-e2e from temporary repo, error: push failed: context canceled signal: terminated - - 2026/11/06 08:42:01 HTTPRequest [W] router: slow POST /testuser/cache-private-test.git/git-receive-pack for 127.0.0.1:53984, elapsed 3410.2ms @ repo/githttp.go:430(repo.ServiceReceivePack) 2026/11/06 08:42:20 HTTPRequest [W] router: slow POST /testuser/cache-private-test.git/git-receive-pack for 127.0.0.1:41436, elapsed 3850.2ms @ repo/githttp.go:430(repo.ServiceReceivePack) 2026/11/06 08:42:36 HTTPRequest [W] router: slow POST /testuser/cache-private-test.git/git-receive-pack for 127.0.0.1:46250, elapsed 3432.8ms @ repo/githttp.go:430(repo.ServiceReceivePack) 2026/11/06 08:42:50 HTTPRequest [W] router: slow POST /testuser/cache-private-test.git/git-receive-pack for 127.0.0.1:57124, elapsed 3272.4ms @ repo/githttp.go:430(repo.ServiceReceivePack) 2026/11/06 08:43:04 HTTPRequest [W] router: slow POST /testuser/cache-private-test.git/git-receive-pack for 127.0.0.1:59204, elapsed 3630.5ms @ repo/githttp.go:430(repo.ServiceReceivePack) DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/ff-test.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/ff-test.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/ff-test.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/ff-test.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/ff-test.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/ff-test.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/ff-test.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash 2026/11/06 08:43:29 HTTPRequest [W] router: slow POST /testuser/ff-test.git/git-receive-pack for 127.0.0.1:37818, elapsed 3309.5ms @ repo/githttp.go:430(repo.ServiceReceivePack) 2026/11/06 08:43:44 HTTPRequest [W] router: slow POST /testuser/ff-test.git/git-receive-pack for 127.0.0.1:60616, elapsed 3579.9ms @ repo/githttp.go:430(repo.ServiceReceivePack) 2026/11/06 08:43:59 HTTPRequest [W] router: slow POST /testuser/ff-test.git/git-upload-pack for 127.0.0.1:34912, elapsed 3150.8ms @ repo/githttp.go:425(repo.ServiceUploadPack) 2026/11/06 08:44:08 HTTPRequest [W] router: slow POST /testuser/ff-test.git/git-receive-pack for 127.0.0.1:54176, elapsed 3775.6ms @ repo/githttp.go:430(repo.ServiceReceivePack) DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/stack-test.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/stack-test.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/stack-test.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/stack-test.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/stack-test.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/stack-test.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/stack-test.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash 2026/11/06 08:44:29 HTTPRequest [W] router: slow POST /testuser/stack-test.git/git-receive-pack for 127.0.0.1:42022, elapsed 3591.1ms @ repo/githttp.go:430(repo.ServiceReceivePack) 2026/11/06 08:44:42 HTTPRequest [W] router: slow POST /testuser/stack-test.git/git-receive-pack for 127.0.0.1:46918, elapsed 3061.8ms @ repo/githttp.go:430(repo.ServiceReceivePack) 2026/11/06 08:44:54 HTTPRequest [W] router: slow POST /testuser/stack-test.git/git-receive-pack for 127.0.0.1:51626, elapsed 3993.4ms @ repo/githttp.go:430(repo.ServiceReceivePack) 2026/11/06 08:45:26 HTTPRequest [W] router: slow POST /testuser/stack-test.git/git-receive-pack for 127.0.0.1:36572, elapsed 3248.2ms @ repo/githttp.go:430(repo.ServiceReceivePack) 2026/11/06 08:45:47 HTTPRequest [W] router: slow POST /testuser/stack-test.git/git-receive-pack for 127.0.0.1:47798, elapsed 3868.8ms @ repo/githttp.go:430(repo.ServiceReceivePack) 2026/11/06 08:46:17 HTTPRequest [W] router: slow POST /testuser/stack-test.git/git-receive-pack for 127.0.0.1:38440, elapsed 3929.7ms @ repo/githttp.go:430(repo.ServiceReceivePack) 2026-11-06 08:46:18.513 UTC [42975] LOG: checkpoint starting: time DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/label-test.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/label-test.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/label-test.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/label-test.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/label-test.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/label-test.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/label-test.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/merge-label-auth.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/merge-label-auth.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/merge-label-auth.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/merge-label-auth.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/merge-label-auth.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/merge-label-auth.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3429346931/data/gitea-repositories/testuser/merge-label-auth.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash 2026/11/06 08:46:34 HTTPRequest [W] router: slow POST /api/v1/repos/testuser/merge-label-auth/contents/README.md for 127.0.0.1:59084, elapsed 3124.9ms @ repo/file.go:436(repo.CreateFile) --- FAIL: TestGiteaMergeLabelFromForkIsUnauthorized (10.12s) gitea_merge_label_test.go:29: POST /repos/testuser/merge-label-auth/contents/README.md: Post "http://127.0.0.1:45437/api/v1/repos/testuser/merge-label-auth/contents/README.md": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2026/11/06 08:46:41 INFO created webhook owner=testuser repo=webhook-events url=https://mq.example.com/webhook/gitea 2026/11/06 08:46:41 routers/api/v1/repo/file.go:596:handleChangeRepoFilesError() [E] InternalServerError: unable to push back to repo testuser/merge-label-auth from temporary repo, error: push failed: context canceled signal: terminated - - 2026-11-06 08:46:41.470 UTC [47103] ERROR: relation "goose_db_version" does not exist at character 36 2026-11-06 08:46:41.470 UTC [47103] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/11/06 08:46:43 OK 001_initial.sql (1.56s) 2026/11/06 08:46:43 OK 002_check_status_target_url.sql (2.13ms) 2026/11/06 08:46:43 OK 003_add_forge.sql (3.71ms) 2026/11/06 08:46:43 OK 004_batches.sql (9.3ms) 2026/11/06 08:46:43 OK 005_priority.sql (3.16ms) 2026/11/06 08:46:43 goose: successfully migrated database to version: 5 2026/11/06 08:46:43 INFO enqueued PR pr=1 position=1 2026/11/06 08:46:43 INFO enqueued PR from automerge detection pr=1 position=1 2026/11/06 08:46:43 INFO enqueued PR pr=2 position=2 2026/11/06 08:46:43 INFO enqueued PR from automerge detection pr=2 position=2 2026/11/06 08:46:43 INFO enqueued PR pr=3 position=3 2026/11/06 08:46:43 INFO enqueued PR from automerge detection pr=3 position=3 2026/11/06 08:46:43 INFO batch formed batch=1 branch=main members=3 2026/11/06 08:46:43 INFO batch built batch=1 build=1 sha=merge(merge(merge(sha-main,sha1),sha2),sha3) current=3 pending=0 2026/11/06 08:46:43 INFO batch landed batch=1 sha=merge(merge(merge(sha-main,sha1),sha2),sha3) prs=3 2026/11/06 08:46:43 INFO batch done batch=1 landed=3 ejected=0 builds=1 flaky=false 2026-11-06 08:46:43.216 UTC [47107] ERROR: relation "goose_db_version" does not exist at character 36 2026-11-06 08:46:43.216 UTC [47107] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/11/06 08:46:43 OK 001_initial.sql (39.03ms) 2026/11/06 08:46:43 OK 002_check_status_target_url.sql (777.13µs) 2026/11/06 08:46:43 OK 003_add_forge.sql (6.57ms) 2026/11/06 08:46:43 OK 004_batches.sql (8.38ms) 2026/11/06 08:46:43 OK 005_priority.sql (1.55ms) 2026/11/06 08:46:43 goose: successfully migrated database to version: 5 2026/11/06 08:46:43 INFO enqueued PR pr=1 position=1 2026/11/06 08:46:43 INFO enqueued PR from automerge detection pr=1 position=1 2026/11/06 08:46:43 INFO started testing pr=1 branch=gitea-mq/1 sha=merge(sha-main,sha-head) 2026/11/06 08:46:43 INFO started testing for head-of-queue pr=1 branch=gitea-mq/1 2026/11/06 08:46:43 INFO all checks passed pr=1 2026/11/06 08:46:43 INFO dequeued PR pr=1 2026/11/06 08:46:43 INFO removed merged PR from queue pr=1 FAIL 2026/11/06 08:46:43 .../graceful/manager_unix.go:144:(*Manager).handleSignals() [W] PID 43031. Received SIGTERM. Shutting down... 2026/11/06 08:46:43 .../graceful/manager_unix.go:154:(*Manager).handleSignals() [W] PID: 43031. Background context for manager closed - context canceled - Shutting down... 2026-11-06 08:46:43.408 UTC [42970] LOG: received smart shutdown request 2026-11-06 08:46:43.417 UTC [42970] LOG: background worker "logical replication launcher" (PID 42980) exited with exit code 1 2026-11-06 08:46:43.576 UTC [42975] LOG: checkpoint complete: wrote 1985 buffers (12.1%), wrote 3 SLRU buffers; 0 WAL file(s) added, 0 removed, 1 recycled; write=24.943 s, sync=0.111 s, total=25.063 s; sync files=1326, longest=0.002 s, average=0.001 s; distance=9441 kB, estimate=9441 kB; lsn=0/298B0F8, redo lsn=0/209E100 2026-11-06 08:46:43.577 UTC [42975] LOG: shutting down 2026-11-06 08:46:43.578 UTC [42975] LOG: checkpoint starting: shutdown immediate 2026-11-06 08:46:43.682 UTC [42975] LOG: checkpoint complete: wrote 2002 buffers (12.2%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=0.037 s, sync=0.067 s, total=0.105 s; sync files=541, longest=0.002 s, average=0.001 s; distance=9140 kB, estimate=9410 kB; lsn=0/298B170, redo lsn=0/298B170 2026-11-06 08:46:43.733 UTC [42970] LOG: database system is shut down FAIL github.com/Mic92/gitea-mq/internal/integration 327.205s FAIL