gitea-mq-0.2.0
checks.aarch64-linux.package-default
· build #132
· raw
1tribuchet: building on eliza
unpackPhase
2unpacking source archive /nix/store/d3fkd9iihmw36y883fr25v4w6pq64wv3-source3source root is sourcebuildPhase
4Building subPackage ./cmd/gitea-mq5Building subPackage ./internal/batch6Building subPackage ./internal/config7Building subPackage ./internal/discovery8Building subPackage ./internal/forge9Building subPackage ./internal/gitea10Building subPackage ./internal/github11Building subPackage ./internal/github/ghfake12Building subPackage ./internal/httpx13Building subPackage ./internal/integration14github.com/Mic92/gitea-mq/internal/integration: no non-test Go files in /build/source/internal/integration15Building subPackage ./internal/logutil16Building subPackage ./internal/merge17Building subPackage ./internal/monitor18Building subPackage ./internal/poller19Building subPackage ./internal/queue20Building subPackage ./internal/registry21Building subPackage ./internal/store/pg22Building subPackage ./internal/testutil23Building subPackage ./internal/web24Building subPackage ./internal/webhookcheckPhase
25ok github.com/Mic92/gitea-mq/internal/batch 4.689s26ok github.com/Mic92/gitea-mq/internal/config 0.008s27ok github.com/Mic92/gitea-mq/internal/discovery 1.426s28ok github.com/Mic92/gitea-mq/internal/forge 0.006s29ok github.com/Mic92/gitea-mq/internal/gitea 0.814s30ok github.com/Mic92/gitea-mq/internal/github 0.360s31ok github.com/Mic92/gitea-mq/internal/httpx 0.035s32The files belonging to this database system will be owned by user "nixbld".33This user must also own the server process.3435The database cluster will be initialized with locale "C".36The default database encoding has accordingly been set to "SQL_ASCII".37The default text search configuration will be set to "english".3839Data page checksums are enabled.4041creating directory /build/gitea-mq-test-postgres3123221218/data ... ok42creating subdirectories ... ok43selecting dynamic shared memory implementation ... posix44selecting default "max_connections" ... 10045selecting default "shared_buffers" ... 128MB46selecting default time zone ... UTC47creating configuration files ... ok48running bootstrap script ... ok49performing post-bootstrap initialization ... ok50syncing data to disk ... ok5152initdb: warning: enabling "trust" authentication for local connections53initdb: 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.5455Success. You can now start the database server using:5657 pg_ctl -D /build/gitea-mq-test-postgres3123221218/data -l logfile start58592026-11-05 09:35:00.221 UTC [43683] LOG: starting PostgreSQL 18.6 on aarch64-unknown-linux-gnu, compiled by clang version 21.1.8, 64-bit602026-11-05 09:35:00.222 UTC [43683] LOG: listening on Unix socket "/build/gitea-mq-test-postgres3123221218/.s.PGSQL.5432"612026-11-05 09:35:00.226 UTC [43690] LOG: database system was shut down at 2026-11-05 09:35:00 UTC622026-11-05 09:35:00.230 UTC [43683] LOG: database system is ready to accept connections632026/11/05 09:35:00 cmd/web.go:273:runWeb() [I] Starting Gitea on PID: 43743642026/11/05 09:35:00 cmd/web.go:117:showWebStartupMessage() [I] Gitea version: 28.2.0 built with go1.27.3 : sqlite, sqlite_unlock_notify652026/11/05 09:35:00 cmd/web.go:118:showWebStartupMessage() [I] * RunMode: prod662026/11/05 09:35:00 cmd/web.go:119:showWebStartupMessage() [I] * AppPath: /nix/store/a9fg4l9hgpqbksvg7qgb8y26c03hsnf1-gitea-28.2.0/bin/gitea672026/11/05 09:35:00 cmd/web.go:120:showWebStartupMessage() [I] * WorkPath: /build/gitea-mq-test-gitea3606021249682026/11/05 09:35:00 cmd/web.go:121:showWebStartupMessage() [I] * CustomPath: /build/gitea-mq-test-gitea3606021249/custom692026/11/05 09:35:00 cmd/web.go:122:showWebStartupMessage() [I] * ConfigFile: /build/gitea-mq-test-gitea3606021249/custom/conf/app.ini702026/11/05 09:35:00 cmd/web.go:123:showWebStartupMessage() [I] Prepare to run web server712026/11/05 09:35:00 routers/init.go:117:InitWebInstalled() [I] Git version: 2.56.0 (home: /build/gitea-mq-test-gitea3606021249/data/home)722026/11/05 09:35:01 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.0732026/11/05 09:35:02 .../ssh_key_authorized_keys.go:55:rewriteAllPublicKeys.1() [W] Unable to remove temporary authorized keys file: /build/gitea-mq-test-gitea3606021249/git-home/.ssh/authorized_keys.tmp: Error: remove /build/gitea-mq-test-gitea3606021249/git-home/.ssh/authorized_keys.tmp: no such file or directory742026/11/05 09:35: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.075New user 'testuser' has been successfully created!762026-11-05 09:35:03.050 UTC [43905] ERROR: relation "goose_db_version" does not exist at character 36772026-11-05 09:35:03.050 UTC [43905] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC782026/11/05 09:35:03 OK 001_initial.sql (10.36ms)792026/11/05 09:35:03 OK 002_check_status_target_url.sql (1.17ms)802026/11/05 09:35:03 OK 003_add_forge.sql (2.12ms)812026/11/05 09:35:03 OK 004_batches.sql (5.57ms)822026/11/05 09:35:03 OK 005_priority.sql (1.27ms)832026/11/05 09:35:03 goose: successfully migrated database to version: 584DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash85DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash86DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash87DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash88DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash89DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash90DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash912026/11/05 09:35:06 INFO enqueued PR pr=1 position=1922026/11/05 09:35:06 INFO enqueued PR from automerge detection pr=1 position=1932026/11/05 09:35:06 INFO started testing pr=1 branch=gitea-mq/1 sha=5d6239018d0707389c41dc38cbaa8da41b0737da942026/11/05 09:35:06 INFO started testing for head-of-queue pr=1 branch=gitea-mq/1952026/11/05 09:35:06 INFO all checks passed pr=1962026/11/05 09:35:07 INFO dequeued PR pr=1972026/11/05 09:35:07 .../automerge/automerge.go:125:handleAutoMergeItem() [E] AutoMerge: failed to auto merge pull request [1]: failed to merge PR:1: PullRequest[1] already merged982026/11/05 09:35:07 INFO removed merged PR from queue pr=1992026-11-05 09:35:07.588 UTC [45753] ERROR: relation "goose_db_version" does not exist at character 361002026-11-05 09:35:07.588 UTC [45753] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC1012026/11/05 09:35:07 OK 001_initial.sql (10.78ms)1022026/11/05 09:35:07 OK 002_check_status_target_url.sql (933.51µs)1032026/11/05 09:35:07 OK 003_add_forge.sql (2.21ms)1042026/11/05 09:35:07 OK 004_batches.sql (5.75ms)1052026/11/05 09:35:07 OK 005_priority.sql (1.27ms)1062026/11/05 09:35:07 goose: successfully migrated database to version: 5107DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/batch-e2e.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash108DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/batch-e2e.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash109DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/batch-e2e.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash110DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/batch-e2e.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash111DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/batch-e2e.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash112DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/batch-e2e.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash113DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/batch-e2e.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash1142026/11/05 09:35:09 INFO enqueued PR pr=2 position=11152026/11/05 09:35:09 INFO enqueued PR from automerge detection pr=2 position=11162026/11/05 09:35:09 INFO enqueued PR pr=1 position=21172026/11/05 09:35:09 INFO enqueued PR from automerge detection pr=1 position=21182026/11/05 09:35:09 INFO batch formed batch=1 branch=main members=21192026/11/05 09:35:10 INFO batch built batch=1 build=1 sha=eabd27eaa5317815e44ea552d3bb24994b50a5dc current=2 pending=01202026/11/05 09:35:10 INFO batch landed batch=1 sha=eabd27eaa5317815e44ea552d3bb24994b50a5dc prs=21212026/11/05 09:35:10 services/pull/merge_merge.go:21:doMergeStyleMerge() [E] <PullRequest [3]testuser/batch-e2e#2[main...feature-2]> Unable to make final commit: git commit <PullRequest [3]testuser/batch-e2e#2[main...feature-2]>: exit status 1 - 122On branch base123You are in a sparse checkout with 100% of tracked files present.124125Changes not staged for commit:126 (use "git add/rm <file>..." to update what will be committed)127 (use "git restore <file>..." to discard changes in working directory)128 deleted: README.md129 deleted: a.txt130 deleted: b.txt131132no changes added to commit (use "git add" and/or "git commit -a")1332026/11/05 09:35:10 .../automerge/automerge.go:125:handleAutoMergeItem() [E] AutoMerge: failed to auto merge pull request [3]: failed to merge PR:3: git commit <PullRequest [3]testuser/batch-e2e#2[main...feature-2]>: exit status 1 - 134On branch base135You are in a sparse checkout with 100% of tracked files present.136137Changes not staged for commit:138 (use "git add/rm <file>..." to update what will be committed)139 (use "git restore <file>..." to discard changes in working directory)140 deleted: README.md141 deleted: a.txt142 deleted: b.txt143144no changes added to commit (use "git add" and/or "git commit -a")1452026/11/05 09:35:14 .../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 branch1462026/11/05 09:35:14 .../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 branch1472026/11/05 09:35:14 INFO batch done batch=1 landed=2 ejected=0 builds=1 flaky=false148DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/cache-private-test.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash149DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/cache-private-test.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash150DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/cache-private-test.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash151DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/cache-private-test.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash152DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/cache-private-test.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash153DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/cache-private-test.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash154DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/cache-private-test.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash155DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/ff-test.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash156DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/ff-test.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash157DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/ff-test.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash158DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/ff-test.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash159DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/ff-test.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash160DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/ff-test.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash161DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/ff-test.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash162DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/stack-test.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash163DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/stack-test.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash164DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/stack-test.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash165DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/stack-test.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash166DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/stack-test.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash167DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/stack-test.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash168DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/stack-test.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash169DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/label-test.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash170DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/label-test.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash171DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/label-test.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash172DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/label-test.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash173DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/label-test.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash174DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/label-test.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash175DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/label-test.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash1762026/11/05 09:35:21 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 177To /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/webhook-events.git178 ! [remote rejected] HEAD -> main (pre-receive hook declined)179error: failed to push some refs to '/build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/webhook-events.git': remote: fatal: cannot exec 'hooks/pre-receive': No such file or directory 180To /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/webhook-events.git181 ! [remote rejected] HEAD -> main (pre-receive hook declined)182error: failed to push some refs to '/build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/webhook-events.git'1831842026/11/05 09:35:21 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 185To /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/webhook-events.git186 ! [remote rejected] HEAD -> main (pre-receive hook declined)187error: failed to push some refs to '/build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/webhook-events.git': remote: fatal: cannot exec 'hooks/pre-receive': No such file or directory 188To /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/webhook-events.git189 ! [remote rejected] HEAD -> main (pre-receive hook declined)190error: failed to push some refs to '/build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/webhook-events.git'191192--- FAIL: TestGiteaEnsureWebhookSubscribesPREvents (0.13s)193 gitea_webhook_test.go:24: 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-gitea3606021249/data/gitea-repositories/testuser/webhook-events.git\n ! [remote rejected] HEAD -> main (pre-receive hook declined)\nerror: failed to push some refs to '/build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/webhook-events.git': remote: fatal: cannot exec 'hooks/pre-receive': No such file or directory \nTo /build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/webhook-events.git\n ! [remote rejected] HEAD -> main (pre-receive hook declined)\nerror: failed to push some refs to '/build/gitea-mq-test-gitea3606021249/data/gitea-repositories/testuser/webhook-events.git'\n\n","url":"http://127.0.0.1:40837/api/swagger"}1942026-11-05 09:35:21.888 UTC [50784] ERROR: relation "goose_db_version" does not exist at character 361952026-11-05 09:35:21.888 UTC [50784] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC1962026/11/05 09:35:21 OK 001_initial.sql (10.58ms)1972026/11/05 09:35:21 OK 002_check_status_target_url.sql (871.67µs)1982026/11/05 09:35:21 OK 003_add_forge.sql (2.14ms)1992026/11/05 09:35:21 OK 004_batches.sql (5.54ms)2002026/11/05 09:35:21 OK 005_priority.sql (1.38ms)2012026/11/05 09:35:21 goose: successfully migrated database to version: 52022026/11/05 09:35:21 INFO enqueued PR pr=1 position=12032026/11/05 09:35:21 INFO enqueued PR from automerge detection pr=1 position=12042026/11/05 09:35:21 INFO enqueued PR pr=2 position=22052026/11/05 09:35:21 INFO enqueued PR from automerge detection pr=2 position=22062026/11/05 09:35:21 INFO enqueued PR pr=3 position=32072026/11/05 09:35:21 INFO enqueued PR from automerge detection pr=3 position=32082026/11/05 09:35:21 INFO batch formed batch=1 branch=main members=32092026/11/05 09:35:21 INFO batch built batch=1 build=1 sha=merge(merge(merge(sha-main,sha1),sha2),sha3) current=3 pending=02102026/11/05 09:35:21 INFO batch landed batch=1 sha=merge(merge(merge(sha-main,sha1),sha2),sha3) prs=32112026/11/05 09:35:21 INFO batch done batch=1 landed=3 ejected=0 builds=1 flaky=false2122026-11-05 09:35:22.005 UTC [50787] ERROR: relation "goose_db_version" does not exist at character 362132026-11-05 09:35:22.005 UTC [50787] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC2142026/11/05 09:35:22 OK 001_initial.sql (10.31ms)2152026/11/05 09:35:22 OK 002_check_status_target_url.sql (682.37µs)2162026/11/05 09:35:22 OK 003_add_forge.sql (2.29ms)2172026/11/05 09:35:22 OK 004_batches.sql (5.51ms)2182026/11/05 09:35:22 OK 005_priority.sql (1.23ms)2192026/11/05 09:35:22 goose: successfully migrated database to version: 52202026/11/05 09:35:22 INFO enqueued PR pr=1 position=12212026/11/05 09:35:22 INFO enqueued PR from automerge detection pr=1 position=12222026/11/05 09:35:22 INFO started testing pr=1 branch=gitea-mq/1 sha=merge(sha-main,sha-head)2232026/11/05 09:35:22 INFO started testing for head-of-queue pr=1 branch=gitea-mq/12242026/11/05 09:35:22 INFO all checks passed pr=12252026/11/05 09:35:22 INFO dequeued PR pr=12262026/11/05 09:35:22 INFO removed merged PR from queue pr=1227FAIL2282026-11-05 09:35:22.127 UTC [43683] LOG: received smart shutdown request2292026-11-05 09:35:22.130 UTC [43683] LOG: background worker "logical replication launcher" (PID 43693) exited with exit code 12302026-11-05 09:35:22.131 UTC [43688] LOG: shutting down2312026-11-05 09:35:22.131 UTC [43688] LOG: checkpoint starting: shutdown immediate2322026-11-05 09:35:22.352 UTC [43688] LOG: checkpoint complete: wrote 3969 buffers (24.2%), wrote 3 SLRU buffers; 0 WAL file(s) added, 0 removed, 1 recycled; write=0.069 s, sync=0.151 s, total=0.221 s; sync files=1317, longest=0.002 s, average=0.001 s; distance=18250 kB, estimate=18250 kB; lsn=0/2938650, redo lsn=0/29386502332026-11-05 09:35:22.383 UTC [43683] LOG: database system is shut down234FAIL github.com/Mic92/gitea-mq/internal/integration 23.046s235FAIL