this derivation will be built: /nix/store/5s6m4ax0d956sfhc5brvwk12djhr7kqw-gitea-mq-0.1.0.drv building '/nix/store/5s6m4ax0d956sfhc5brvwk12djhr7kqw-gitea-mq-0.1.0.drv' on 'ssh-ng://nix@jamie' building '/nix/store/5s6m4ax0d956sfhc5brvwk12djhr7kqw-gitea-mq-0.1.0.drv' gitea-mq-0.1.0> Running phase: unpackPhase gitea-mq-0.1.0> unpacking source archive /nix/store/3k9phrlq5nda01b8mhf5hm8s4rw0i7sb-source gitea-mq-0.1.0> source root is source gitea-mq-0.1.0> Running phase: patchPhase gitea-mq-0.1.0> Running phase: updateAutotoolsGnuConfigScriptsPhase gitea-mq-0.1.0> Running phase: configurePhase gitea-mq-0.1.0> Running phase: buildPhase gitea-mq-0.1.0> Building subPackage ./cmd/gitea-mq gitea-mq-0.1.0> Building subPackage ./internal/batch gitea-mq-0.1.0> Building subPackage ./internal/config gitea-mq-0.1.0> Building subPackage ./internal/discovery gitea-mq-0.1.0> Building subPackage ./internal/forge gitea-mq-0.1.0> Building subPackage ./internal/gitea gitea-mq-0.1.0> Building subPackage ./internal/github gitea-mq-0.1.0> Building subPackage ./internal/github/ghfake gitea-mq-0.1.0> Building subPackage ./internal/integration gitea-mq-0.1.0> github.com/Mic92/gitea-mq/internal/integration: no non-test Go files in /build/source/internal/integration gitea-mq-0.1.0> Building subPackage ./internal/merge gitea-mq-0.1.0> Building subPackage ./internal/monitor gitea-mq-0.1.0> Building subPackage ./internal/poller gitea-mq-0.1.0> Building subPackage ./internal/queue gitea-mq-0.1.0> Building subPackage ./internal/registry gitea-mq-0.1.0> Building subPackage ./internal/store/pg gitea-mq-0.1.0> Building subPackage ./internal/testutil gitea-mq-0.1.0> Building subPackage ./internal/web gitea-mq-0.1.0> Building subPackage ./internal/webhook gitea-mq-0.1.0> Running phase: checkPhase gitea-mq-0.1.0> ok github.com/Mic92/gitea-mq/internal/batch 3.645s gitea-mq-0.1.0> ok github.com/Mic92/gitea-mq/internal/config 0.031s gitea-mq-0.1.0> ok github.com/Mic92/gitea-mq/internal/discovery 1.454s gitea-mq-0.1.0> ok github.com/Mic92/gitea-mq/internal/forge 0.034s gitea-mq-0.1.0> ok github.com/Mic92/gitea-mq/internal/gitea 0.036s gitea-mq-0.1.0> ok github.com/Mic92/gitea-mq/internal/github 0.251s gitea-mq-0.1.0> The files belonging to this database system will be owned by user "nixbld". gitea-mq-0.1.0> This user must also own the server process. gitea-mq-0.1.0> gitea-mq-0.1.0> The database cluster will be initialized with locale "C". gitea-mq-0.1.0> The default database encoding has accordingly been set to "SQL_ASCII". gitea-mq-0.1.0> The default text search configuration will be set to "english". gitea-mq-0.1.0> gitea-mq-0.1.0> Data page checksums are disabled. gitea-mq-0.1.0> gitea-mq-0.1.0> creating directory /build/gitea-mq-test-postgres1883241115/data ... ok gitea-mq-0.1.0> creating subdirectories ... ok gitea-mq-0.1.0> selecting dynamic shared memory implementation ... posix gitea-mq-0.1.0> selecting default "max_connections" ... 100 gitea-mq-0.1.0> selecting default "shared_buffers" ... 128MB gitea-mq-0.1.0> selecting default time zone ... UTC gitea-mq-0.1.0> creating configuration files ... ok gitea-mq-0.1.0> running bootstrap script ... ok gitea-mq-0.1.0> performing post-bootstrap initialization ... ok gitea-mq-0.1.0> syncing data to disk ... ok gitea-mq-0.1.0> gitea-mq-0.1.0> initdb: warning: enabling "trust" authentication for local connections gitea-mq-0.1.0> 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. gitea-mq-0.1.0> gitea-mq-0.1.0> Success. You can now start the database server using: gitea-mq-0.1.0> gitea-mq-0.1.0> pg_ctl -D /build/gitea-mq-test-postgres1883241115/data -l logfile start gitea-mq-0.1.0> gitea-mq-0.1.0> 2026-06-25 13:19:55.627 UTC [96175] LOG: starting PostgreSQL 17.10 on x86_64-pc-linux-gnu, compiled by clang version 21.1.8, 64-bit gitea-mq-0.1.0> 2026-06-25 13:19:55.627 UTC [96175] LOG: listening on Unix socket "/build/gitea-mq-test-postgres1883241115/.s.PGSQL.5432" gitea-mq-0.1.0> 2026-06-25 13:19:55.632 UTC [96179] LOG: database system was shut down at 2026-06-25 13:19:55 UTC gitea-mq-0.1.0> 2026-06-25 13:19:55.638 UTC [96175] LOG: database system is ready to accept connections gitea-mq-0.1.0> 2026/06/25 13:19:55 cmd/web.go:263:runWeb() [I] Starting Gitea on PID: 96185 gitea-mq-0.1.0> 2026/06/25 13:19:55 cmd/web.go:115:showWebStartupMessage() [I] Gitea version: 1.26.4 built with go1.26.3 : sqlite, sqlite_unlock_notify gitea-mq-0.1.0> 2026/06/25 13:19:55 cmd/web.go:116:showWebStartupMessage() [I] * RunMode: prod gitea-mq-0.1.0> 2026/06/25 13:19:55 cmd/web.go:117:showWebStartupMessage() [I] * AppPath: /nix/store/493m1wfasarvkpqgvpp1vigciy80b3by-gitea-1.26.4/bin/gitea gitea-mq-0.1.0> 2026/06/25 13:19:55 cmd/web.go:118:showWebStartupMessage() [I] * WorkPath: /build/gitea-mq-test-gitea3888255528 gitea-mq-0.1.0> 2026/06/25 13:19:55 cmd/web.go:119:showWebStartupMessage() [I] * CustomPath: /build/gitea-mq-test-gitea3888255528/custom gitea-mq-0.1.0> 2026/06/25 13:19:55 cmd/web.go:120:showWebStartupMessage() [I] * ConfigFile: /build/gitea-mq-test-gitea3888255528/custom/conf/app.ini gitea-mq-0.1.0> 2026/06/25 13:19:55 cmd/web.go:121:showWebStartupMessage() [I] Prepare to run web server gitea-mq-0.1.0> 2026/06/25 13:19:55 routers/init.go:117:InitWebInstalled() [I] Git version: 2.54.0 (home: /build/gitea-mq-test-gitea3888255528/data/home) gitea-mq-0.1.0> New user 'testuser' has been successfully created! gitea-mq-0.1.0> 2026-06-25 13:19:57.945 UTC [96428] ERROR: relation "goose_db_version" does not exist at character 36 gitea-mq-0.1.0> 2026-06-25 13:19:57.945 UTC [96428] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC gitea-mq-0.1.0> 2026/06/25 13:19:57 OK 001_initial.sql (13.71ms) gitea-mq-0.1.0> 2026/06/25 13:19:57 OK 002_check_status_target_url.sql (819.35µs) gitea-mq-0.1.0> 2026/06/25 13:19:57 OK 003_add_forge.sql (1.85ms) gitea-mq-0.1.0> 2026/06/25 13:19:57 OK 004_batches.sql (4.46ms) gitea-mq-0.1.0> 2026/06/25 13:19:57 goose: successfully migrated database to version: 4 gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> 2026/06/25 13:20:02 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 1 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:20:02 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 2 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:20:02 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 1 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:20:02 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 2 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:20:02 INFO enqueued PR pr=1 position=1 gitea-mq-0.1.0> 2026/06/25 13:20:02 INFO enqueued PR from automerge detection pr=1 position=1 gitea-mq-0.1.0> 2026/06/25 13:20:03 INFO started testing pr=1 branch=gitea-mq/1 sha=3461009611b31d97dcf34c29a5ddcf93b15f570a gitea-mq-0.1.0> 2026/06/25 13:20:03 INFO started testing for head-of-queue pr=1 branch=gitea-mq/1 gitea-mq-0.1.0> 2026/06/25 13:20:03 INFO all checks passed pr=1 gitea-mq-0.1.0> 2026/06/25 13:20:04 .../actions/notifier_helper.go:114:(*notifyInput).Notify() [E] an error occurred while executing the CreateRef actions method: gitRepo.GetRefCommitID: object does not exist [id: refs/heads/gitea-mq/1, rel_path: ] gitea-mq-0.1.0> 2026/06/25 13:20:04 .../actions/notifier_helper.go:114:(*notifyInput).Notify() [E] an error occurred while executing the PushCommits actions method: gitRepo.GetRefCommitID: object does not exist [id: refs/heads/gitea-mq/1, rel_path: ] gitea-mq-0.1.0> 2026/06/25 13:20:04 services/repository/push.go:219:pushUpdates() [E] repo_module.CacheRef %!s(int64=1)/gitea-mq/1 failed: object does not exist [id: refs/heads/gitea-mq/1, rel_path: ] gitea-mq-0.1.0> 2026/06/25 13:20:05 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 1 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:20:05 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 2 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:20:05 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 3 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:20:05 INFO dequeued PR pr=1 was_head=true gitea-mq-0.1.0> 2026/06/25 13:20:05 INFO removed merged PR from queue pr=1 gitea-mq-0.1.0> 2026-06-25 13:20:05.326 UTC [99614] ERROR: relation "goose_db_version" does not exist at character 36 gitea-mq-0.1.0> 2026-06-25 13:20:05.326 UTC [99614] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC gitea-mq-0.1.0> 2026/06/25 13:20:05 OK 001_initial.sql (6.5ms) gitea-mq-0.1.0> 2026/06/25 13:20:05 OK 002_check_status_target_url.sql (629.77µs) gitea-mq-0.1.0> 2026/06/25 13:20:05 OK 003_add_forge.sql (1.31ms) gitea-mq-0.1.0> 2026/06/25 13:20:05 OK 004_batches.sql (3.75ms) gitea-mq-0.1.0> 2026/06/25 13:20:05 goose: successfully migrated database to version: 4 gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/batch-e2e.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/batch-e2e.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/batch-e2e.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/batch-e2e.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/batch-e2e.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/batch-e2e.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/batch-e2e.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> 2026/06/25 13:20:08 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 6 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:20:08 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 7 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:20:08 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 4 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:20:08 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 5 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:20:08 INFO enqueued PR pr=2 position=1 gitea-mq-0.1.0> 2026/06/25 13:20:08 INFO enqueued PR from automerge detection pr=2 position=1 gitea-mq-0.1.0> 2026/06/25 13:20:08 INFO enqueued PR pr=1 position=2 gitea-mq-0.1.0> 2026/06/25 13:20:08 INFO enqueued PR from automerge detection pr=1 position=2 gitea-mq-0.1.0> 2026/06/25 13:20:08 INFO batch formed batch=1 branch=main members=2 gitea-mq-0.1.0> 2026/06/25 13:20:08 INFO batch built batch=1 build=1 sha=9d208076e36b3bac502bc723c9b892e95643e151 current=2 pending=0 gitea-mq-0.1.0> 2026/06/25 13:20:09 INFO batch fast-forward raced; rebuilding batch=1 retry=1 gitea-mq-0.1.0> 2026/06/25 13:20:09 .../actions/notifier_helper.go:114:(*notifyInput).Notify() [E] an error occurred while executing the CreateRef actions method: gitRepo.GetRefCommitID: object does not exist [id: refs/heads/gitea-mq/batch/1, rel_path: ] gitea-mq-0.1.0> 2026/06/25 13:20:09 .../actions/notifier_helper.go:114:(*notifyInput).Notify() [E] an error occurred while executing the PushCommits actions method: gitRepo.GetRefCommitID: object does not exist [id: refs/heads/gitea-mq/batch/1, rel_path: ] gitea-mq-0.1.0> 2026/06/25 13:20:09 services/repository/push.go:219:pushUpdates() [E] repo_module.CacheRef %!s(int64=2)/gitea-mq/batch/1 failed: object does not exist [id: refs/heads/gitea-mq/batch/1, rel_path: ] gitea-mq-0.1.0> 2026/06/25 13:20:09 INFO batch built batch=1 build=2 sha=76f0e0e356cbcc9518bef4c889e5fcd41759320a current=2 pending=0 gitea-mq-0.1.0> --- FAIL: TestGitea_BatchFlow_Green (4.50s) gitea-mq-0.1.0> gitea_batch_test.go:149: main = "76f0e0e356cbcc9518bef4c889e5fcd41759320a", want "9d208076e36b3bac502bc723c9b892e95643e151" gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/ff-test.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/ff-test.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/ff-test.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/ff-test.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/ff-test.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/ff-test.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/ff-test.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/stack-test.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/stack-test.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/stack-test.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/stack-test.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/stack-test.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/stack-test.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3888255528/data/gitea-repositories/testuser/stack-test.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> 2026-06-25 13:20:14.857 UTC [106761] ERROR: relation "goose_db_version" does not exist at character 36 gitea-mq-0.1.0> 2026-06-25 13:20:14.857 UTC [106761] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC gitea-mq-0.1.0> 2026/06/25 13:20:14 OK 001_initial.sql (6.9ms) gitea-mq-0.1.0> 2026/06/25 13:20:14 OK 002_check_status_target_url.sql (741.5µs) gitea-mq-0.1.0> 2026/06/25 13:20:14 OK 003_add_forge.sql (1.38ms) gitea-mq-0.1.0> 2026/06/25 13:20:14 OK 004_batches.sql (3.46ms) gitea-mq-0.1.0> 2026/06/25 13:20:14 goose: successfully migrated database to version: 4 gitea-mq-0.1.0> 2026/06/25 13:20:14 INFO enqueued PR pr=1 position=1 gitea-mq-0.1.0> 2026/06/25 13:20:14 INFO enqueued PR from automerge detection pr=1 position=1 gitea-mq-0.1.0> 2026/06/25 13:20:14 INFO enqueued PR pr=2 position=2 gitea-mq-0.1.0> 2026/06/25 13:20:14 INFO enqueued PR from automerge detection pr=2 position=2 gitea-mq-0.1.0> 2026/06/25 13:20:14 INFO enqueued PR pr=3 position=3 gitea-mq-0.1.0> 2026/06/25 13:20:14 INFO enqueued PR from automerge detection pr=3 position=3 gitea-mq-0.1.0> 2026/06/25 13:20:14 INFO batch formed batch=1 branch=main members=3 gitea-mq-0.1.0> 2026/06/25 13:20:14 INFO batch built batch=1 build=1 sha=merge(merge(merge(sha-main,sha1),sha2),sha3) current=3 pending=0 gitea-mq-0.1.0> 2026/06/25 13:20:14 INFO dequeued PR pr=1 was_head=true gitea-mq-0.1.0> 2026/06/25 13:20:14 INFO dequeued PR pr=2 was_head=true gitea-mq-0.1.0> 2026/06/25 13:20:14 INFO dequeued PR pr=3 was_head=true gitea-mq-0.1.0> 2026/06/25 13:20:14 INFO batch landed batch=1 sha=merge(merge(merge(sha-main,sha1),sha2),sha3) prs=3 gitea-mq-0.1.0> 2026/06/25 13:20:14 INFO batch done batch=1 landed=3 ejected=0 builds=1 flaky=false gitea-mq-0.1.0> 2026-06-25 13:20:14.959 UTC [106779] ERROR: relation "goose_db_version" does not exist at character 36 gitea-mq-0.1.0> 2026-06-25 13:20:14.959 UTC [106779] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC gitea-mq-0.1.0> 2026/06/25 13:20:14 OK 001_initial.sql (6.77ms) gitea-mq-0.1.0> 2026/06/25 13:20:14 OK 002_check_status_target_url.sql (580.11µs) gitea-mq-0.1.0> 2026/06/25 13:20:14 OK 003_add_forge.sql (1.39ms) gitea-mq-0.1.0> 2026/06/25 13:20:14 OK 004_batches.sql (3.38ms) gitea-mq-0.1.0> 2026/06/25 13:20:14 goose: successfully migrated database to version: 4 gitea-mq-0.1.0> 2026/06/25 13:20:14 INFO enqueued PR pr=1 position=1 gitea-mq-0.1.0> 2026/06/25 13:20:14 INFO enqueued PR from automerge detection pr=1 position=1 gitea-mq-0.1.0> 2026/06/25 13:20:14 INFO started testing pr=1 branch=gitea-mq/1 sha=merge(sha-main,sha-head) gitea-mq-0.1.0> 2026/06/25 13:20:14 INFO started testing for head-of-queue pr=1 branch=gitea-mq/1 gitea-mq-0.1.0> 2026/06/25 13:20:14 INFO all checks passed pr=1 gitea-mq-0.1.0> 2026/06/25 13:20:14 INFO dequeued PR pr=1 was_head=true gitea-mq-0.1.0> 2026/06/25 13:20:14 INFO removed merged PR from queue pr=1 gitea-mq-0.1.0> FAIL gitea-mq-0.1.0> 2026/06/25 13:20:14 .../graceful/manager_unix.go:144:(*Manager).handleSignals() [W] PID 96185. Received SIGTERM. Shutting down... gitea-mq-0.1.0> 2026/06/25 13:20:14 .../graceful/manager_unix.go:154:(*Manager).handleSignals() [W] PID: 96185. Background context for manager closed - context canceled - Shutting down... gitea-mq-0.1.0> 2026-06-25 13:20:15.078 UTC [96175] LOG: received smart shutdown request gitea-mq-0.1.0> 2026-06-25 13:20:15.082 UTC [96175] LOG: background worker "logical replication launcher" (PID 96182) exited with exit code 1 gitea-mq-0.1.0> 2026-06-25 13:20:15.083 UTC [96177] LOG: shutting down gitea-mq-0.1.0> 2026-06-25 13:20:15.084 UTC [96177] LOG: checkpoint starting: shutdown immediate gitea-mq-0.1.0> 2026-06-25 13:20:15.446 UTC [96177] LOG: checkpoint complete: wrote 3884 buffers (23.7%); 0 WAL file(s) added, 0 removed, 1 recycled; write=0.074 s, sync=0.287 s, total=0.364 s; sync files=1309, longest=0.002 s, average=0.001 s; distance=17711 kB, estimate=17711 kB; lsn=0/2638820, redo lsn=0/2638820 gitea-mq-0.1.0> 2026-06-25 13:20:15.473 UTC [96175] LOG: database system is shut down gitea-mq-0.1.0> FAIL github.com/Mic92/gitea-mq/internal/integration 20.729s gitea-mq-0.1.0> FAIL error: build of '/nix/store/5s6m4ax0d956sfhc5brvwk12djhr7kqw-gitea-mq-0.1.0.drv' on 'ssh-ng://nix@jamie' failed: Cannot build '/nix/store/5s6m4ax0d956sfhc5brvwk12djhr7kqw-gitea-mq-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/fkh3qc8vzmn2dda0jqbj1d15aacffj0x-gitea-mq-0.1.0 Last 25 log lines: > 2026-06-25 13:20:14.959 UTC [106779] ERROR: relation "goose_db_version" does not exist at character 36 > 2026-06-25 13:20:14.959 UTC [106779] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC > 2026/06/25 13:20:14 OK 001_initial.sql (6.77ms) > 2026/06/25 13:20:14 OK 002_check_status_target_url.sql (580.11µs) > 2026/06/25 13:20:14 OK 003_add_forge.sql (1.39ms) > 2026/06/25 13:20:14 OK 004_batches.sql (3.38ms) > 2026/06/25 13:20:14 goose: successfully migrated database to version: 4 > 2026/06/25 13:20:14 INFO enqueued PR pr=1 position=1 > 2026/06/25 13:20:14 INFO enqueued PR from automerge detection pr=1 position=1 > 2026/06/25 13:20:14 INFO started testing pr=1 branch=gitea-mq/1 sha=merge(sha-main,sha-head) > 2026/06/25 13:20:14 INFO started testing for head-of-queue pr=1 branch=gitea-mq/1 > 2026/06/25 13:20:14 INFO all checks passed pr=1 > 2026/06/25 13:20:14 INFO dequeued PR pr=1 was_head=true > 2026/06/25 13:20:14 INFO removed merged PR from queue pr=1 > FAIL > 2026/06/25 13:20:14 .../graceful/manager_unix.go:144:(*Manager).handleSignals() [W] PID 96185. Received SIGTERM. Shutting down... > 2026/06/25 13:20:14 .../graceful/manager_unix.go:154:(*Manager).handleSignals() [W] PID: 96185. Background context for manager closed - context canceled - Shutting down... > 2026-06-25 13:20:15.078 UTC [96175] LOG: received smart shutdown request > 2026-06-25 13:20:15.082 UTC [96175] LOG: background worker "logical replication launcher" (PID 96182) exited with exit code 1 > 2026-06-25 13:20:15.083 UTC [96177] LOG: shutting down > 2026-06-25 13:20:15.084 UTC [96177] LOG: checkpoint starting: shutdown immediate > 2026-06-25 13:20:15.446 UTC [96177] LOG: checkpoint complete: wrote 3884 buffers (23.7%); 0 WAL file(s) added, 0 removed, 1 recycled; write=0.074 s, sync=0.287 s, total=0.364 s; sync files=1309, longest=0.002 s, average=0.001 s; distance=17711 kB, estimate=17711 kB; lsn=0/2638820, redo lsn=0/2638820 > 2026-06-25 13:20:15.473 UTC [96175] LOG: database system is shut down > FAIL github.com/Mic92/gitea-mq/internal/integration 20.729s > FAIL For full logs, run: nix log /nix/store/5s6m4ax0d956sfhc5brvwk12djhr7kqw-gitea-mq-0.1.0.drv error: Cannot build '/nix/store/5s6m4ax0d956sfhc5brvwk12djhr7kqw-gitea-mq-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/fkh3qc8vzmn2dda0jqbj1d15aacffj0x-gitea-mq-0.1.0