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 45 seconds Running phase: checkPhase ok github.com/Mic92/gitea-mq/internal/batch 20.470s ok github.com/Mic92/gitea-mq/internal/config 0.088s ok github.com/Mic92/gitea-mq/internal/discovery 8.056s ok github.com/Mic92/gitea-mq/internal/forge 0.061s ok github.com/Mic92/gitea-mq/internal/gitea 9.769s ok github.com/Mic92/gitea-mq/internal/github 1.218s ok github.com/Mic92/gitea-mq/internal/httpx 1.413s 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-postgres4204753141/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-postgres4204753141/data -l logfile start 2026-11-06 08:49:03.787 UTC [43201] LOG: starting PostgreSQL 18.6 on aarch64-unknown-linux-gnu, compiled by clang version 21.1.8, 64-bit 2026-11-06 08:49:03.788 UTC [43201] LOG: listening on Unix socket "/build/gitea-mq-test-postgres4204753141/.s.PGSQL.5432" 2026-11-06 08:49:03.793 UTC [43209] LOG: database system was shut down at 2026-11-06 08:49:03 UTC 2026-11-06 08:49:03.798 UTC [43201] LOG: database system is ready to accept connections 2026/11/06 08:49:08 cmd/web.go:273:runWeb() [I] Starting Gitea on PID: 43262 2026/11/06 08:49:08 cmd/web.go:117:showWebStartupMessage() [I] Gitea version: 28.2.0 built with go1.27.3 : sqlite, sqlite_unlock_notify 2026/11/06 08:49:08 cmd/web.go:118:showWebStartupMessage() [I] * RunMode: prod 2026/11/06 08:49:08 cmd/web.go:119:showWebStartupMessage() [I] * AppPath: /nix/store/a9fg4l9hgpqbksvg7qgb8y26c03hsnf1-gitea-28.2.0/bin/gitea 2026/11/06 08:49:08 cmd/web.go:120:showWebStartupMessage() [I] * WorkPath: /build/gitea-mq-test-gitea1869953259 2026/11/06 08:49:08 cmd/web.go:121:showWebStartupMessage() [I] * CustomPath: /build/gitea-mq-test-gitea1869953259/custom 2026/11/06 08:49:08 cmd/web.go:122:showWebStartupMessage() [I] * ConfigFile: /build/gitea-mq-test-gitea1869953259/custom/conf/app.ini 2026/11/06 08:49:08 cmd/web.go:123:showWebStartupMessage() [I] Prepare to run web server 2026/11/06 08:49:08 routers/init.go:117:InitWebInstalled() [I] Git version: 2.56.0 (home: /build/gitea-mq-test-gitea1869953259/data/home) 2026/11/06 08:49:09 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:49:10 .../ssh_key_authorized_keys.go:55:rewriteAllPublicKeys.1() [W] Unable to remove temporary authorized keys file: /build/gitea-mq-test-gitea1869953259/git-home/.ssh/authorized_keys.tmp: Error: remove /build/gitea-mq-test-gitea1869953259/git-home/.ssh/authorized_keys.tmp: no such file or directory 2026/11/06 08:49:14 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:49:15.191 UTC [43425] ERROR: relation "goose_db_version" does not exist at character 36 2026-11-06 08:49:15.191 UTC [43425] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/11/06 08:49:15 OK 001_initial.sql (316.52ms) 2026/11/06 08:49:15 OK 002_check_status_target_url.sql (1.37ms) 2026/11/06 08:49:15 OK 003_add_forge.sql (4.15ms) 2026/11/06 08:49:15 OK 004_batches.sql (7.05ms) 2026/11/06 08:49:15 OK 005_priority.sql (1.89ms) 2026/11/06 08:49:15 goose: successfully migrated database to version: 5 DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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:49:18 HTTPRequest [W] router: slow POST /api/v1/repos/testuser/e2e-mq-test/contents/README.md for 127.0.0.1:45278, elapsed 3145.6ms @ repo/file.go:436(repo.CreateFile) --- FAIL: TestFullMergeQueueFlow (10.68s) e2e_test.go:67: POST /repos/testuser/e2e-mq-test/contents/README.md: Post "http://127.0.0.1:44035/api/v1/repos/testuser/e2e-mq-test/contents/README.md": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2026-11-06 08:49:25.845 UTC [43633] ERROR: relation "goose_db_version" does not exist at character 36 2026-11-06 08:49:25.845 UTC [43633] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/11/06 08:49:27 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:49:27 OK 001_initial.sql (1.38s) 2026/11/06 08:49:27 OK 002_check_status_target_url.sql (5.64ms) 2026/11/06 08:49:27 OK 003_add_forge.sql (5.41ms) 2026/11/06 08:49:27 OK 004_batches.sql (11.82ms) 2026/11/06 08:49:27 OK 005_priority.sql (7.29ms) 2026/11/06 08:49:27 goose: successfully migrated database to version: 5 DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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:49:30 HTTPRequest [W] router: slow POST /api/v1/repos/testuser/batch-e2e/contents/README.md for 127.0.0.1:55690, elapsed 3323.6ms @ repo/file.go:436(repo.CreateFile) --- FAIL: TestGitea_BatchFlow_Green (11.81s) gitea_batch_test.go:49: POST /repos/testuser/batch-e2e/contents/README.md: Post "http://127.0.0.1:44035/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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:49:37 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:49:41 HTTPRequest [W] router: slow POST /testuser/cache-private-test.git/git-receive-pack for 127.0.0.1:48658, elapsed 3934.5ms @ repo/githttp.go:430(repo.ServiceReceivePack) 2026/11/06 08:49:49 HTTPRequest [W] router: slow POST /testuser/cache-private-test.git/git-receive-pack for 127.0.0.1:44900, elapsed 3146.1ms @ repo/githttp.go:430(repo.ServiceReceivePack) 2026/11/06 08:50:20 HTTPRequest [W] router: slow POST /testuser/cache-private-test.git/git-receive-pack for 127.0.0.1:34552, elapsed 3760.8ms @ repo/githttp.go:430(repo.ServiceReceivePack) 2026/11/06 08:50:39 HTTPRequest [W] router: slow POST /testuser/cache-private-test.git/git-receive-pack for 127.0.0.1:48740, elapsed 3873.5ms @ repo/githttp.go:430(repo.ServiceReceivePack) 2026/11/06 08:50:56 HTTPRequest [W] router: slow POST /testuser/cache-private-test.git/git-receive-pack for 127.0.0.1:32824, elapsed 3206.6ms @ repo/githttp.go:430(repo.ServiceReceivePack) DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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:51:13 HTTPRequest [W] router: slow POST /testuser/ff-test.git/git-receive-pack for 127.0.0.1:43278, elapsed 3180.5ms @ repo/githttp.go:430(repo.ServiceReceivePack) 2026/11/06 08:51:37 HTTPRequest [W] router: slow POST /testuser/ff-test.git/git-receive-pack for 127.0.0.1:39420, elapsed 3733.8ms @ repo/githttp.go:430(repo.ServiceReceivePack) 2026/11/06 08:51:54 HTTPRequest [W] router: slow POST /testuser/ff-test.git/git-receive-pack for 127.0.0.1:49170, elapsed 3761.7ms @ repo/githttp.go:430(repo.ServiceReceivePack) DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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:52:02 HTTPRequest [W] router: slow POST /testuser/stack-test.git/git-receive-pack for 127.0.0.1:49200, elapsed 3284.8ms @ repo/githttp.go:430(repo.ServiceReceivePack) 2026/11/06 08:52:08 HTTPRequest [W] router: slow POST /testuser/stack-test.git/git-receive-pack for 127.0.0.1:52594, elapsed 3930.3ms @ repo/githttp.go:430(repo.ServiceReceivePack) 2026/11/06 08:52:19 HTTPRequest [W] router: slow POST /testuser/stack-test.git/git-receive-pack for 127.0.0.1:52488, elapsed 3512.2ms @ repo/githttp.go:430(repo.ServiceReceivePack) 2026/11/06 08:52:41 HTTPRequest [W] router: slow POST /testuser/stack-test.git/git-receive-pack for 127.0.0.1:33202, elapsed 3894.4ms @ repo/githttp.go:430(repo.ServiceReceivePack) 2026/11/06 08:52:59 HTTPRequest [W] router: slow POST /testuser/stack-test.git/git-receive-pack for 127.0.0.1:33538, elapsed 3635.7ms @ repo/githttp.go:430(repo.ServiceReceivePack) DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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-gitea1869953259/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:53:23 HTTPRequest [W] router: slow POST /api/v1/repos/testuser/merge-label-auth/contents/README.md for 127.0.0.1:43266, elapsed 3462.4ms @ repo/file.go:436(repo.CreateFile) --- FAIL: TestGiteaMergeLabelFromForkIsUnauthorized (10.11s) gitea_merge_label_test.go:29: POST /repos/testuser/merge-label-auth/contents/README.md: Post "http://127.0.0.1:44035/api/v1/repos/testuser/merge-label-auth/contents/README.md": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2026/11/06 08:53:30 INFO created webhook owner=testuser repo=webhook-events url=https://mq.example.com/webhook/gitea 2026-11-06 08:53:30.890 UTC [47189] ERROR: relation "goose_db_version" does not exist at character 36 2026-11-06 08:53:30.890 UTC [47189] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/11/06 08:53:30 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:53:30 OK 001_initial.sql (33.56ms) 2026/11/06 08:53:30 OK 002_check_status_target_url.sql (902.75µs) 2026/11/06 08:53:30 OK 003_add_forge.sql (2.21ms) 2026/11/06 08:53:30 OK 004_batches.sql (6.64ms) 2026/11/06 08:53:30 OK 005_priority.sql (1.47ms) 2026/11/06 08:53:30 goose: successfully migrated database to version: 5 2026/11/06 08:53:30 INFO enqueued PR pr=1 position=1 2026/11/06 08:53:30 INFO enqueued PR from automerge detection pr=1 position=1 2026/11/06 08:53:30 INFO enqueued PR pr=2 position=2 2026/11/06 08:53:30 INFO enqueued PR from automerge detection pr=2 position=2 2026/11/06 08:53:30 INFO enqueued PR pr=3 position=3 2026/11/06 08:53:30 INFO enqueued PR from automerge detection pr=3 position=3 2026/11/06 08:53:30 INFO batch formed batch=1 branch=main members=3 2026/11/06 08:53:30 INFO batch built batch=1 build=1 sha=merge(merge(merge(sha-main,sha1),sha2),sha3) current=3 pending=0 2026/11/06 08:53:30 INFO batch landed batch=1 sha=merge(merge(merge(sha-main,sha1),sha2),sha3) prs=3 2026/11/06 08:53:30 INFO batch done batch=1 landed=3 ejected=0 builds=1 flaky=false 2026-11-06 08:53:31.077 UTC [47192] ERROR: relation "goose_db_version" does not exist at character 36 2026-11-06 08:53:31.077 UTC [47192] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC 2026/11/06 08:53:31 OK 001_initial.sql (59.15ms) 2026/11/06 08:53:31 OK 002_check_status_target_url.sql (1.5ms) 2026/11/06 08:53:31 OK 003_add_forge.sql (2.46ms) 2026/11/06 08:53:31 OK 004_batches.sql (8.62ms) 2026/11/06 08:53:31 OK 005_priority.sql (1.35ms) 2026/11/06 08:53:31 goose: successfully migrated database to version: 5 2026/11/06 08:53:31 INFO enqueued PR pr=1 position=1 2026/11/06 08:53:31 INFO enqueued PR from automerge detection pr=1 position=1 2026/11/06 08:53:31 INFO started testing pr=1 branch=gitea-mq/1 sha=merge(sha-main,sha-head) 2026/11/06 08:53:31 INFO started testing for head-of-queue pr=1 branch=gitea-mq/1 2026/11/06 08:53:31 INFO all checks passed pr=1 2026/11/06 08:53:31 INFO dequeued PR pr=1 2026/11/06 08:53:31 INFO removed merged PR from queue pr=1 FAIL 2026/11/06 08:53:31 .../graceful/manager_unix.go:144:(*Manager).handleSignals() [W] PID 43262. Received SIGTERM. Shutting down... 2026/11/06 08:53:31 .../graceful/manager_unix.go:154:(*Manager).handleSignals() [W] PID: 43262. Background context for manager closed - context canceled - Shutting down... 2026-11-06 08:53:31.367 UTC [43201] LOG: received smart shutdown request 2026-11-06 08:53:31.373 UTC [43201] LOG: background worker "logical replication launcher" (PID 43212) exited with exit code 1 2026-11-06 08:53:31.373 UTC [43207] LOG: shutting down 2026-11-06 08:53:31.376 UTC [43207] LOG: checkpoint starting: shutdown immediate 2026-11-06 08:53:31.637 UTC [43207] LOG: checkpoint complete: wrote 3975 buffers (24.3%), wrote 3 SLRU buffers; 0 WAL file(s) added, 0 removed, 1 recycled; write=0.092 s, sync=0.163 s, total=0.263 s; sync files=1326, longest=0.005 s, average=0.001 s; distance=18593 kB, estimate=18593 kB; lsn=0/298E298, redo lsn=0/298E298 2026-11-06 08:53:31.723 UTC [43201] LOG: database system is shut down FAIL github.com/Mic92/gitea-mq/internal/integration 273.011s FAIL