tribuchet: building on eliza Running phase: unpackPhase unpacking source archive /nix/store/58lbnrs8zc53mr43mrjskyyrk522s81p-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 Running phase: checkPhase ok github.com/Mic92/gitea-mq/internal/batch 3.585s ok github.com/Mic92/gitea-mq/internal/config 0.010s ok github.com/Mic92/gitea-mq/internal/discovery 1.440s ok github.com/Mic92/gitea-mq/internal/forge 0.007s ok github.com/Mic92/gitea-mq/internal/gitea 0.857s ok github.com/Mic92/gitea-mq/internal/github 0.298s ok github.com/Mic92/gitea-mq/internal/httpx 0.028s 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-postgres619890507/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-postgres619890507/data -l logfile start 2026-11-05 10:29:02.026 UTC [43518] LOG: starting PostgreSQL 18.6 on aarch64-unknown-linux-gnu, compiled by clang version 21.1.8, 64-bit 2026-11-05 10:29:02.027 UTC [43518] LOG: listening on Unix socket "/build/gitea-mq-test-postgres619890507/.s.PGSQL.5432" 2026-11-05 10:29:02.031 UTC [43525] LOG: database system was shut down at 2026-11-05 10:29:01 UTC 2026-11-05 10:29:02.035 UTC [43518] LOG: database system is ready to accept connections 2026/11/05 10:29:02 cmd/web.go:273:runWeb() [I] Starting Gitea on PID: 43577 2026/11/05 10:29:02 cmd/web.go:117:showWebStartupMessage() [I] Gitea version: 28.2.0 built with go1.27.3 : sqlite, sqlite_unlock_notify 2026/11/05 10:29:02 cmd/web.go:118:showWebStartupMessage() [I] * RunMode: prod 2026/11/05 10:29:02 cmd/web.go:119:showWebStartupMessage() [I] * AppPath: /nix/store/a9fg4l9hgpqbksvg7qgb8y26c03hsnf1-gitea-28.2.0/bin/gitea 2026/11/05 10:29:02 cmd/web.go:120:showWebStartupMessage() [I] * WorkPath: /build/gitea-mq-test-gitea4053475222 2026/11/05 10:29:02 cmd/web.go:121:showWebStartupMessage() [I] * CustomPath: /build/gitea-mq-test-gitea4053475222/custom 2026/11/05 10:29:02 cmd/web.go:122:showWebStartupMessage() [I] * ConfigFile: /build/gitea-mq-test-gitea4053475222/custom/conf/app.ini 2026/11/05 10:29:02 cmd/web.go:123:showWebStartupMessage() [I] Prepare to run web server 2026/11/05 10:29:02 routers/init.go:117:InitWebInstalled() [I] Git version: 2.56.0 (home: /build/gitea-mq-test-gitea4053475222/data/home) 2026/11/05 10:29:02 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/05 10:29:04 .../ssh_key_authorized_keys.go:55:rewriteAllPublicKeys.1() [W] Unable to remove temporary authorized keys file: /build/gitea-mq-test-gitea4053475222/git-home/.ssh/authorized_keys.tmp: Error: remove /build/gitea-mq-test-gitea4053475222/git-home/.ssh/authorized_keys.tmp: no such file or directory 2026/11/05 10:29:05 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-05 10:29:05.391 UTC [43743] ERROR: relation "goose_db_version" does not exist at character 36 2026-11-05 10:29:05.391 UTC [43743] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/11/05 10:29:05 OK 001_initial.sql (9.94ms) 2026/11/05 10:29:05 OK 002_check_status_target_url.sql (944.83µs) 2026/11/05 10:29:05 OK 003_add_forge.sql (2.19ms) 2026/11/05 10:29:05 OK 004_batches.sql (6.78ms) 2026/11/05 10:29:05 OK 005_priority.sql (1.6ms) 2026/11/05 10:29:05 goose: successfully migrated database to version: 5 DEBUG: patching hook shebang in /build/gitea-mq-test-gitea4053475222/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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/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/05 10:29:08 INFO enqueued PR pr=1 position=1 2026/11/05 10:29:08 INFO enqueued PR from automerge detection pr=1 position=1 2026/11/05 10:29:09 INFO started testing pr=1 branch=gitea-mq/1 sha=7bd72ffa9bf61c7e825af969c8e2221226cb386f 2026/11/05 10:29:09 INFO started testing for head-of-queue pr=1 branch=gitea-mq/1 2026/11/05 10:29:09 INFO all checks passed pr=1 2026/11/05 10:29:09 .../automerge/automerge.go:125:handleAutoMergeItem() [E] AutoMerge: failed to auto merge pull request [1]: failed to merge PR:1: PullRequest[1] already merged 2026/11/05 10:29:10 INFO dequeued PR pr=1 2026/11/05 10:29:10 INFO removed merged PR from queue pr=1 2026-11-05 10:29:10.481 UTC [45595] ERROR: relation "goose_db_version" does not exist at character 36 2026-11-05 10:29:10.481 UTC [45595] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/11/05 10:29:10 OK 001_initial.sql (10.22ms) 2026/11/05 10:29:10 OK 002_check_status_target_url.sql (790.81µs) 2026/11/05 10:29:10 OK 003_add_forge.sql (2.1ms) 2026/11/05 10:29:10 OK 004_batches.sql (5.62ms) 2026/11/05 10:29:10 OK 005_priority.sql (1.26ms) 2026/11/05 10:29:10 goose: successfully migrated database to version: 5 DEBUG: patching hook shebang in /build/gitea-mq-test-gitea4053475222/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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/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/05 10:29:12 INFO enqueued PR pr=2 position=1 2026/11/05 10:29:12 INFO enqueued PR from automerge detection pr=2 position=1 2026/11/05 10:29:12 INFO enqueued PR pr=1 position=2 2026/11/05 10:29:12 INFO enqueued PR from automerge detection pr=1 position=2 2026/11/05 10:29:12 INFO batch formed batch=1 branch=main members=2 2026/11/05 10:29:13 INFO batch built batch=1 build=1 sha=6b0437626662f9fc422d300c3432cce6279e24f5 current=2 pending=0 2026/11/05 10:29:13 INFO batch landed batch=1 sha=6b0437626662f9fc422d300c3432cce6279e24f5 prs=2 2026/11/05 10:29:17 .../actions/notifier_helper.go:163:notify() [W] Event "pull_request_comment" should only trigger workflows on the default branch, but its ref is "refs/pull/2/head". Will fall back to the default branch 2026/11/05 10:29:17 .../actions/notifier_helper.go:163:notify() [W] Event "pull_request_comment" should only trigger workflows on the default branch, but its ref is "refs/pull/1/head". Will fall back to the default branch 2026/11/05 10:29:17 INFO batch done batch=1 landed=2 ejected=0 builds=1 flaky=false DEBUG: patching hook shebang in /build/gitea-mq-test-gitea4053475222/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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/data/gitea-repositories/testuser/cache-private-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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/data/gitea-repositories/testuser/ff-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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/data/gitea-repositories/testuser/stack-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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/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-gitea4053475222/data/gitea-repositories/testuser/label-test.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash 2026/11/05 10:29:24 services/repository/init.go:75:initRepoCommit() [E] Failed to push back to HEAD Error: PushRejected Error: exit status 1 - remote: fatal: cannot exec 'hooks/pre-receive': No such file or directory To /build/gitea-mq-test-gitea4053475222/data/gitea-repositories/testuser/merge-label-auth.git ! [remote rejected] HEAD -> main (pre-receive hook declined) error: failed to push some refs to '/build/gitea-mq-test-gitea4053475222/data/gitea-repositories/testuser/merge-label-auth.git': remote: fatal: cannot exec 'hooks/pre-receive': No such file or directory To /build/gitea-mq-test-gitea4053475222/data/gitea-repositories/testuser/merge-label-auth.git ! [remote rejected] HEAD -> main (pre-receive hook declined) error: failed to push some refs to '/build/gitea-mq-test-gitea4053475222/data/gitea-repositories/testuser/merge-label-auth.git' 2026/11/05 10:29:24 routers/api/v1/repo/repo.go:267:CreateUserRepo() [E] InternalServerError: initRepository: initRepoCommit: git push: PushRejected Error: exit status 1 - remote: fatal: cannot exec 'hooks/pre-receive': No such file or directory To /build/gitea-mq-test-gitea4053475222/data/gitea-repositories/testuser/merge-label-auth.git ! [remote rejected] HEAD -> main (pre-receive hook declined) error: failed to push some refs to '/build/gitea-mq-test-gitea4053475222/data/gitea-repositories/testuser/merge-label-auth.git': remote: fatal: cannot exec 'hooks/pre-receive': No such file or directory To /build/gitea-mq-test-gitea4053475222/data/gitea-repositories/testuser/merge-label-auth.git ! [remote rejected] HEAD -> main (pre-receive hook declined) error: failed to push some refs to '/build/gitea-mq-test-gitea4053475222/data/gitea-repositories/testuser/merge-label-auth.git' --- FAIL: TestGiteaMergeLabelFromForkIsUnauthorized (0.13s) gitea_merge_label_test.go:25: POST /user/repos: status 500: {"message":"initRepository: initRepoCommit: git push: PushRejected Error: exit status 1 - remote: fatal: cannot exec 'hooks/pre-receive': No such file or directory \nTo /build/gitea-mq-test-gitea4053475222/data/gitea-repositories/testuser/merge-label-auth.git\n ! [remote rejected] HEAD -> main (pre-receive hook declined)\nerror: failed to push some refs to '/build/gitea-mq-test-gitea4053475222/data/gitea-repositories/testuser/merge-label-auth.git': remote: fatal: cannot exec 'hooks/pre-receive': No such file or directory \nTo /build/gitea-mq-test-gitea4053475222/data/gitea-repositories/testuser/merge-label-auth.git\n ! [remote rejected] HEAD -> main (pre-receive hook declined)\nerror: failed to push some refs to '/build/gitea-mq-test-gitea4053475222/data/gitea-repositories/testuser/merge-label-auth.git'\n\n","url":"http://127.0.0.1:44327/api/swagger"} 2026-11-05 10:29:24.885 UTC [50593] ERROR: relation "goose_db_version" does not exist at character 36 2026-11-05 10:29:24.885 UTC [50593] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/11/05 10:29:24 OK 001_initial.sql (10.81ms) 2026/11/05 10:29:24 OK 002_check_status_target_url.sql (756.99µs) 2026/11/05 10:29:24 OK 003_add_forge.sql (2.18ms) 2026/11/05 10:29:24 OK 004_batches.sql (5.72ms) 2026/11/05 10:29:24 OK 005_priority.sql (1.5ms) 2026/11/05 10:29:24 goose: successfully migrated database to version: 5 2026/11/05 10:29:24 INFO enqueued PR pr=2 position=1 2026/11/05 10:29:24 INFO enqueued PR from automerge detection pr=2 position=1 2026/11/05 10:29:24 INFO enqueued PR pr=3 position=2 2026/11/05 10:29:24 INFO enqueued PR from automerge detection pr=3 position=2 2026/11/05 10:29:24 INFO enqueued PR pr=1 position=3 2026/11/05 10:29:24 INFO enqueued PR from automerge detection pr=1 position=3 2026/11/05 10:29:24 INFO batch formed batch=1 branch=main members=3 2026/11/05 10:29:24 INFO batch built batch=1 build=1 sha=merge(merge(merge(sha-main,sha2),sha3),sha1) current=3 pending=0 2026/11/05 10:29:24 INFO batch landed batch=1 sha=merge(merge(merge(sha-main,sha2),sha3),sha1) prs=3 2026/11/05 10:29:24 INFO batch done batch=1 landed=3 ejected=0 builds=1 flaky=false 2026-11-05 10:29:25.004 UTC [50596] ERROR: relation "goose_db_version" does not exist at character 36 2026-11-05 10:29:25.004 UTC [50596] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/11/05 10:29:25 OK 001_initial.sql (11ms) 2026/11/05 10:29:25 OK 002_check_status_target_url.sql (1.14ms) 2026/11/05 10:29:25 OK 003_add_forge.sql (2.39ms) 2026/11/05 10:29:25 OK 004_batches.sql (5.77ms) 2026/11/05 10:29:25 OK 005_priority.sql (1.3ms) 2026/11/05 10:29:25 goose: successfully migrated database to version: 5 2026/11/05 10:29:25 INFO enqueued PR pr=1 position=1 2026/11/05 10:29:25 INFO enqueued PR from automerge detection pr=1 position=1 2026/11/05 10:29:25 INFO started testing pr=1 branch=gitea-mq/1 sha=merge(sha-main,sha-head) 2026/11/05 10:29:25 INFO started testing for head-of-queue pr=1 branch=gitea-mq/1 2026/11/05 10:29:25 INFO all checks passed pr=1 2026/11/05 10:29:25 INFO dequeued PR pr=1 2026/11/05 10:29:25 INFO removed merged PR from queue pr=1 FAIL 2026/11/05 10:29:25 .../graceful/manager_unix.go:144:(*Manager).handleSignals() [W] PID 43577. Received SIGTERM. Shutting down... 2026-11-05 10:29:25.130 UTC [43518] LOG: received smart shutdown request 2026-11-05 10:29:25.134 UTC [43518] LOG: background worker "logical replication launcher" (PID 43528) exited with exit code 1 2026-11-05 10:29:25.134 UTC [43523] LOG: shutting down 2026-11-05 10:29:25.135 UTC [43523] LOG: checkpoint starting: shutdown immediate 2026-11-05 10:29:25.347 UTC [43523] LOG: checkpoint complete: wrote 3969 buffers (24.2%), wrote 3 SLRU buffers; 0 WAL file(s) added, 0 removed, 1 recycled; write=0.068 s, sync=0.143 s, total=0.213 s; sync files=1317, longest=0.002 s, average=0.001 s; distance=18250 kB, estimate=18250 kB; lsn=0/2938650, redo lsn=0/2938650 2026-11-05 10:29:25.381 UTC [43518] LOG: database system is shut down FAIL github.com/Mic92/gitea-mq/internal/integration 24.221s FAIL