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.880s ok github.com/Mic92/gitea-mq/internal/config 0.009s ok github.com/Mic92/gitea-mq/internal/discovery 1.403s ok github.com/Mic92/gitea-mq/internal/forge 0.007s ok github.com/Mic92/gitea-mq/internal/gitea 0.781s ok github.com/Mic92/gitea-mq/internal/github 0.371s ok github.com/Mic92/gitea-mq/internal/httpx 0.031s 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-postgres639419786/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-postgres639419786/data -l logfile start 2026-11-05 10:30:21.051 UTC [43297] LOG: starting PostgreSQL 18.6 on aarch64-unknown-linux-gnu, compiled by clang version 21.1.8, 64-bit 2026-11-05 10:30:21.051 UTC [43297] LOG: listening on Unix socket "/build/gitea-mq-test-postgres639419786/.s.PGSQL.5432" 2026-11-05 10:30:21.056 UTC [43304] LOG: database system was shut down at 2026-11-05 10:30:20 UTC 2026-11-05 10:30:21.060 UTC [43297] LOG: database system is ready to accept connections 2026/11/05 10:30:21 cmd/web.go:273:runWeb() [I] Starting Gitea on PID: 43356 2026/11/05 10:30:21 cmd/web.go:117:showWebStartupMessage() [I] Gitea version: 28.2.0 built with go1.27.3 : sqlite, sqlite_unlock_notify 2026/11/05 10:30:21 cmd/web.go:118:showWebStartupMessage() [I] * RunMode: prod 2026/11/05 10:30:21 cmd/web.go:119:showWebStartupMessage() [I] * AppPath: /nix/store/a9fg4l9hgpqbksvg7qgb8y26c03hsnf1-gitea-28.2.0/bin/gitea 2026/11/05 10:30:21 cmd/web.go:120:showWebStartupMessage() [I] * WorkPath: /build/gitea-mq-test-gitea3170801203 2026/11/05 10:30:21 cmd/web.go:121:showWebStartupMessage() [I] * CustomPath: /build/gitea-mq-test-gitea3170801203/custom 2026/11/05 10:30:21 cmd/web.go:122:showWebStartupMessage() [I] * ConfigFile: /build/gitea-mq-test-gitea3170801203/custom/conf/app.ini 2026/11/05 10:30:21 cmd/web.go:123:showWebStartupMessage() [I] Prepare to run web server 2026/11/05 10:30:21 routers/init.go:117:InitWebInstalled() [I] Git version: 2.56.0 (home: /build/gitea-mq-test-gitea3170801203/data/home) 2026/11/05 10:30:21 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:30:23 .../ssh_key_authorized_keys.go:55:rewriteAllPublicKeys.1() [W] Unable to remove temporary authorized keys file: /build/gitea-mq-test-gitea3170801203/git-home/.ssh/authorized_keys.tmp: Error: remove /build/gitea-mq-test-gitea3170801203/git-home/.ssh/authorized_keys.tmp: no such file or directory 2026/11/05 10:30:24 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:30:24.471 UTC [43524] ERROR: relation "goose_db_version" does not exist at character 36 2026-11-05 10:30:24.471 UTC [43524] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/11/05 10:30:24 OK 001_initial.sql (11.16ms) 2026/11/05 10:30:24 OK 002_check_status_target_url.sql (1.63ms) 2026/11/05 10:30:24 OK 003_add_forge.sql (2.97ms) 2026/11/05 10:30:24 OK 004_batches.sql (6.63ms) 2026/11/05 10:30:24 OK 005_priority.sql (1.7ms) 2026/11/05 10:30:24 goose: successfully migrated database to version: 5 DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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:30:27 INFO enqueued PR pr=1 position=1 2026/11/05 10:30:27 INFO enqueued PR from automerge detection pr=1 position=1 2026/11/05 10:30:28 INFO started testing pr=1 branch=gitea-mq/1 sha=9534504f49f2ec1f24374da2fac929a901c9daf2 2026/11/05 10:30:28 INFO started testing for head-of-queue pr=1 branch=gitea-mq/1 2026/11/05 10:30:28 INFO all checks passed pr=1 2026/11/05 10:30:28 INFO dequeued PR pr=1 2026/11/05 10:30:28 INFO removed merged PR from queue pr=1 2026/11/05 10:30:28 .../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:30:28.850 UTC [45387] ERROR: relation "goose_db_version" does not exist at character 36 2026-11-05 10:30:28.850 UTC [45387] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/11/05 10:30:28 OK 001_initial.sql (10.27ms) 2026/11/05 10:30:28 OK 002_check_status_target_url.sql (708.51µs) 2026/11/05 10:30:28 OK 003_add_forge.sql (2.02ms) 2026/11/05 10:30:28 OK 004_batches.sql (5.1ms) 2026/11/05 10:30:28 OK 005_priority.sql (1.18ms) 2026/11/05 10:30:28 goose: successfully migrated database to version: 5 DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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:30:30 INFO enqueued PR pr=2 position=1 2026/11/05 10:30:30 INFO enqueued PR from automerge detection pr=2 position=1 2026/11/05 10:30:30 INFO enqueued PR pr=1 position=2 2026/11/05 10:30:30 INFO enqueued PR from automerge detection pr=1 position=2 2026/11/05 10:30:30 INFO batch formed batch=1 branch=main members=2 2026/11/05 10:30:31 INFO batch built batch=1 build=1 sha=5f7a38212d0543fc87693ba707011257cba43129 current=2 pending=0 2026/11/05 10:30:31 INFO batch landed batch=1 sha=5f7a38212d0543fc87693ba707011257cba43129 prs=2 2026/11/05 10:30:35 .../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:30:35 .../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:30:35 INFO batch done batch=1 landed=2 ejected=0 builds=1 flaky=false DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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:30:42 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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/data/gitea-repositories/testuser/merge-label-auth.git' 2026/11/05 10:30:42 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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/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-gitea3170801203/data/gitea-repositories/testuser/merge-label-auth.git'\n\n","url":"http://127.0.0.1:38011/api/swagger"} 2026-11-05 10:30:43.029 UTC [50419] ERROR: relation "goose_db_version" does not exist at character 36 2026-11-05 10:30:43.029 UTC [50419] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/11/05 10:30:43 OK 001_initial.sql (9.98ms) 2026/11/05 10:30:43 OK 002_check_status_target_url.sql (780.19µs) 2026/11/05 10:30:43 OK 003_add_forge.sql (2.14ms) 2026/11/05 10:30:43 OK 004_batches.sql (5.3ms) 2026/11/05 10:30:43 OK 005_priority.sql (1.2ms) 2026/11/05 10:30:43 goose: successfully migrated database to version: 5 2026/11/05 10:30:43 INFO enqueued PR pr=1 position=1 2026/11/05 10:30:43 INFO enqueued PR from automerge detection pr=1 position=1 2026/11/05 10:30:43 INFO enqueued PR pr=2 position=2 2026/11/05 10:30:43 INFO enqueued PR from automerge detection pr=2 position=2 2026/11/05 10:30:43 INFO enqueued PR pr=3 position=3 2026/11/05 10:30:43 INFO enqueued PR from automerge detection pr=3 position=3 2026/11/05 10:30:43 INFO batch formed batch=1 branch=main members=3 2026/11/05 10:30:43 INFO batch built batch=1 build=1 sha=merge(merge(merge(sha-main,sha1),sha2),sha3) current=3 pending=0 2026/11/05 10:30:43 INFO batch landed batch=1 sha=merge(merge(merge(sha-main,sha1),sha2),sha3) prs=3 2026/11/05 10:30:43 INFO batch done batch=1 landed=3 ejected=0 builds=1 flaky=false 2026-11-05 10:30:43.138 UTC [50422] ERROR: relation "goose_db_version" does not exist at character 36 2026-11-05 10:30:43.138 UTC [50422] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/11/05 10:30:43 OK 001_initial.sql (10.3ms) 2026/11/05 10:30:43 OK 002_check_status_target_url.sql (792.23µs) 2026/11/05 10:30:43 OK 003_add_forge.sql (4ms) 2026/11/05 10:30:43 OK 004_batches.sql (5.66ms) 2026/11/05 10:30:43 OK 005_priority.sql (1.32ms) 2026/11/05 10:30:43 goose: successfully migrated database to version: 5 2026/11/05 10:30:43 INFO enqueued PR pr=1 position=1 2026/11/05 10:30:43 INFO enqueued PR from automerge detection pr=1 position=1 2026/11/05 10:30:43 INFO started testing pr=1 branch=gitea-mq/1 sha=merge(sha-main,sha-head) 2026/11/05 10:30:43 INFO started testing for head-of-queue pr=1 branch=gitea-mq/1 2026/11/05 10:30:43 INFO all checks passed pr=1 2026/11/05 10:30:43 INFO dequeued PR pr=1 2026/11/05 10:30:43 INFO removed merged PR from queue pr=1 FAIL 2026/11/05 10:30:43 .../graceful/manager_unix.go:144:(*Manager).handleSignals() [W] PID 43356. Received SIGTERM. Shutting down... 2026/11/05 10:30:43 .../graceful/manager_unix.go:154:(*Manager).handleSignals() [W] PID: 43356. Background context for manager closed - context canceled - Shutting down... 2026-11-05 10:30:43.264 UTC [43297] LOG: received smart shutdown request 2026-11-05 10:30:43.267 UTC [43297] LOG: background worker "logical replication launcher" (PID 43307) exited with exit code 1 2026-11-05 10:30:43.268 UTC [43302] LOG: shutting down 2026-11-05 10:30:43.268 UTC [43302] LOG: checkpoint starting: shutdown immediate 2026-11-05 10:30:43.474 UTC [43302] LOG: checkpoint complete: wrote 3969 buffers (24.2%), wrote 3 SLRU buffers; 0 WAL file(s) added, 0 removed, 1 recycled; write=0.065 s, sync=0.140 s, total=0.206 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:30:43.505 UTC [43297] LOG: database system is shut down FAIL github.com/Mic92/gitea-mq/internal/integration 23.310s FAIL