gitea-mq-0.1.0
checks.x86_64-linux.nixos-eta
· build #615
· raw
unpackPhase
1unpacking source archive /nix/store/zbsglm83x5a9dx835nzhyka8wc41130v-source2source root is sourcebuildPhase
3Building subPackage ./cmd/gitea-mq4Building subPackage ./internal/batch5Building subPackage ./internal/config6Building subPackage ./internal/discovery7Building subPackage ./internal/forge8Building subPackage ./internal/gitea9Building subPackage ./internal/github10Building subPackage ./internal/github/ghfake11Building subPackage ./internal/integration12github.com/Mic92/gitea-mq/internal/integration: no non-test Go files in /build/source/internal/integration13Building subPackage ./internal/logutil14Building subPackage ./internal/merge15Building subPackage ./internal/monitor16Building subPackage ./internal/poller17Building subPackage ./internal/queue18Building subPackage ./internal/registry19Building subPackage ./internal/store/pg20Building subPackage ./internal/testutil21Building subPackage ./internal/web22Building subPackage ./internal/webhook23buildPhase completed in 46 secondscheckPhase
24ok github.com/Mic92/gitea-mq/internal/batch 17.344s25ok github.com/Mic92/gitea-mq/internal/config 0.027s26ok github.com/Mic92/gitea-mq/internal/discovery 7.923s27ok github.com/Mic92/gitea-mq/internal/forge 0.019s28ok github.com/Mic92/gitea-mq/internal/gitea 1.756s29ok github.com/Mic92/gitea-mq/internal/github 0.217s30The files belonging to this database system will be owned by user "nixbld".31This user must also own the server process.3233The database cluster will be initialized with locale "C".34The default database encoding has accordingly been set to "SQL_ASCII".35The default text search configuration will be set to "english".3637Data page checksums are enabled.3839creating directory /build/gitea-mq-test-postgres840753969/data ... ok40creating subdirectories ... ok41selecting dynamic shared memory implementation ... posix42selecting default "max_connections" ... 10043selecting default "shared_buffers" ... 128MB44selecting default time zone ... UTC45creating configuration files ... ok46running bootstrap script ... ok47performing post-bootstrap initialization ... ok48syncing data to disk ... ok4950initdb: warning: enabling "trust" authentication for local connections51initdb: 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.5253Success. You can now start the database server using:5455 pg_ctl -D /build/gitea-mq-test-postgres840753969/data -l logfile start56572026-10-08 18:16:41.594 UTC [10635] LOG: starting PostgreSQL 18.6 on x86_64-pc-linux-gnu, compiled by clang version 21.1.8, 64-bit582026-10-08 18:16:41.605 UTC [10635] LOG: listening on Unix socket "/build/gitea-mq-test-postgres840753969/.s.PGSQL.5432"592026-10-08 18:16:41.648 UTC [10643] LOG: database system was shut down at 2026-10-08 18:16:39 UTC602026-10-08 18:16:41.656 UTC [10645] FATAL: the database system is starting up612026-10-08 18:16:41.664 UTC [10635] LOG: database system is ready to accept connections622026/10/08 18:16:41 cmd/web.go:263:runWeb() [I] Starting Gitea on PID: 10651632026/10/08 18:16:42 cmd/web.go:115:showWebStartupMessage() [I] Gitea version: 1.27.3 built with go1.26.8 : sqlite, sqlite_unlock_notify642026/10/08 18:16:42 cmd/web.go:116:showWebStartupMessage() [I] * RunMode: prod652026/10/08 18:16:42 cmd/web.go:117:showWebStartupMessage() [I] * AppPath: /nix/store/s8027r0z14bc2jr3kxnxxvf62sw8calf-gitea-1.27.3/bin/gitea662026/10/08 18:16:42 cmd/web.go:118:showWebStartupMessage() [I] * WorkPath: /build/gitea-mq-test-gitea3033748288672026/10/08 18:16:42 cmd/web.go:119:showWebStartupMessage() [I] * CustomPath: /build/gitea-mq-test-gitea3033748288/custom682026/10/08 18:16:42 cmd/web.go:120:showWebStartupMessage() [I] * ConfigFile: /build/gitea-mq-test-gitea3033748288/custom/conf/app.ini692026/10/08 18:16:42 cmd/web.go:121:showWebStartupMessage() [I] Prepare to run web server702026/10/08 18:16:42 routers/init.go:117:InitWebInstalled() [I] Git version: 2.55.0 (home: /build/gitea-mq-test-gitea3033748288/data/home)712026/10/08 18:16:42 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.0722026/10/08 18:17:11 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/10/08 18:17:25 .../v3@v3.10.0/command_run.go:382:(*Command).run() [W] [Slow SQL Query] SELECT `id`, `lower_name`, `name`, `full_name`, `email`, `keep_email_private`, `email_notifications_preference`, `passwd`, `passwd_hash_algo`, `must_change_password`, `login_type`, `login_source`, `login_name`, `type`, `location`, `website`, `rands`, `salt`, `language`, `description`, `created_unix`, `updated_unix`, `last_login_unix`, `last_repo_visibility`, `max_repo_creation`, `is_active`, `is_admin`, `is_restricted`, `allow_git_hook`, `allow_import_local`, `allow_create_organization`, `prohibit_login`, `avatar`, `avatar_email`, `use_custom_avatar`, `num_followers`, `num_following`, `num_stars`, `num_repos`, `num_teams`, `num_members`, `visibility`, `repo_admin_change_team_access`, `diff_view_style`, `theme`, `keep_activity_private` FROM `user` LIMIT 1 [] - 13.224133236s74New user 'testuser' has been successfully created!752026-10-08 18:17:25.597 UTC [10725] ERROR: relation "goose_db_version" does not exist at character 36762026-10-08 18:17:25.597 UTC [10725] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC772026/10/08 18:17:25 OK 001_initial.sql (39.89ms)782026/10/08 18:17:25 OK 002_check_status_target_url.sql (10.96ms)792026/10/08 18:17:25 OK 003_add_forge.sql (12.14ms)802026/10/08 18:17:25 OK 004_batches.sql (16.57ms)812026/10/08 18:17:25 goose: successfully migrated database to version: 482--- FAIL: TestFullMergeQueueFlow (0.42s)83 e2e_test.go:49: create token: Post "http://127.0.0.1:41141/api/v1/users/testuser/tokens": dial tcp 127.0.0.1:41141: connect: connection refused842026-10-08 18:17:26.058 UTC [10738] ERROR: relation "goose_db_version" does not exist at character 36852026-10-08 18:17:26.058 UTC [10738] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC862026/10/08 18:17:26 OK 001_initial.sql (65.96ms)872026/10/08 18:17:26 OK 002_check_status_target_url.sql (17.02ms)882026/10/08 18:17:26 OK 003_add_forge.sql (11ms)892026/10/08 18:17:26 OK 004_batches.sql (11.89ms)902026/10/08 18:17:26 goose: successfully migrated database to version: 491--- FAIL: TestGitea_BatchFlow_Green (0.44s)92 gitea_batch_test.go:39: create token: Post "http://127.0.0.1:41141/api/v1/users/testuser/tokens": dial tcp 127.0.0.1:41141: connect: connection refused93--- FAIL: TestMergeBranches_PrivateRepo_CachedClone (0.00s)94 gitea_cache_test.go:25: create token: Post "http://127.0.0.1:41141/api/v1/users/testuser/tokens": dial tcp 127.0.0.1:41141: connect: connection refused95--- FAIL: TestFastForwardRef_RealGitea (0.00s)96 gitea_ff_test.go:26: create token: Post "http://127.0.0.1:41141/api/v1/users/testuser/tokens": dial tcp 127.0.0.1:41141: connect: connection refused97--- FAIL: TestStackMerges_RealGitea (0.00s)98 gitea_ff_test.go:94: create token: Post "http://127.0.0.1:41141/api/v1/users/testuser/tokens": dial tcp 127.0.0.1:41141: connect: connection refused992026-10-08 18:17:26.652 UTC [10741] ERROR: relation "goose_db_version" does not exist at character 361002026-10-08 18:17:26.652 UTC [10741] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC1012026/10/08 18:17:26 OK 001_initial.sql (73.2ms)1022026/10/08 18:17:26 OK 002_check_status_target_url.sql (26.42ms)1032026/10/08 18:17:26 OK 003_add_forge.sql (15.93ms)1042026/10/08 18:17:26 OK 004_batches.sql (35.03ms)1052026/10/08 18:17:26 goose: successfully migrated database to version: 41062026/10/08 18:17:26 INFO enqueued PR pr=1 position=11072026/10/08 18:17:26 INFO enqueued PR from automerge detection pr=1 position=11082026/10/08 18:17:26 INFO enqueued PR pr=2 position=21092026/10/08 18:17:26 INFO enqueued PR from automerge detection pr=2 position=21102026/10/08 18:17:26 INFO enqueued PR pr=3 position=31112026/10/08 18:17:26 INFO enqueued PR from automerge detection pr=3 position=31122026/10/08 18:17:26 INFO batch formed batch=1 branch=main members=31132026/10/08 18:17:26 INFO batch built batch=1 build=1 sha=merge(merge(merge(sha-main,sha1),sha2),sha3) current=3 pending=01142026/10/08 18:17:26 INFO batch landed batch=1 sha=merge(merge(merge(sha-main,sha1),sha2),sha3) prs=31152026/10/08 18:17:26 INFO batch done batch=1 landed=3 ejected=0 builds=1 flaky=false1162026-10-08 18:17:27.147 UTC [10745] ERROR: relation "goose_db_version" does not exist at character 361172026-10-08 18:17:27.147 UTC [10745] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC1182026/10/08 18:17:27 OK 001_initial.sql (14.47ms)1192026/10/08 18:17:27 OK 002_check_status_target_url.sql (12.95ms)1202026/10/08 18:17:27 OK 003_add_forge.sql (15.26ms)1212026/10/08 18:17:27 OK 004_batches.sql (12.55ms)1222026/10/08 18:17:27 goose: successfully migrated database to version: 41232026/10/08 18:17:27 INFO enqueued PR pr=1 position=11242026/10/08 18:17:27 INFO enqueued PR from automerge detection pr=1 position=11252026/10/08 18:17:27 INFO started testing pr=1 branch=gitea-mq/1 sha=merge(sha-main,sha-head)1262026/10/08 18:17:27 INFO started testing for head-of-queue pr=1 branch=gitea-mq/11272026/10/08 18:17:27 INFO all checks passed pr=11282026/10/08 18:17:27 INFO dequeued PR pr=1 was_head=true1292026/10/08 18:17:27 INFO removed merged PR from queue pr=1130FAIL1312026/10/08 18:17:27 .../graceful/manager_unix.go:144:(*Manager).handleSignals() [W] PID 10651. Received SIGTERM. Shutting down...1322026/10/08 18:17:27 .../graceful/manager_unix.go:154:(*Manager).handleSignals() [W] PID: 10651. Background context for manager closed - context canceled - Shutting down...1332026/10/08 18:17:27 services/cron/tasks.go:142:(*Task).RunWithUser.1() [E] CreateNotice: context canceled1342026/10/08 18:17:27 models/repo.go:234:CheckRepoStats() [W] CheckRepoStats: Cancelled before repository count 'num_watches'1352026/10/08 18:17:27 services/cron/tasks.go:142:(*Task).RunWithUser.1() [E] CreateNotice: context canceled1362026/10/08 18:17:27 services/cron/tasks.go:142:(*Task).RunWithUser.1() [E] CreateNotice: context canceled1372026/10/08 18:17:27 models/git/branch.go:310:RemoveOldDeletedBranches() [E] DeletedBranchesCleanup: context canceled1382026/10/08 18:17:27 .../migrations/update.go:21:UpdateMigrationPosterID() [W] UpdateMigrationPosterID aborted before github1392026/10/08 18:17:27 services/cron/tasks.go:142:(*Task).RunWithUser.1() [E] CreateNotice: context canceled1402026/10/08 18:17:27 .../actions/clear_tasks.go:181:CancelAbandonedJobs() [W] find abandoned jobs: context canceled1412026/10/08 18:17:27 services/cron/tasks.go:142:(*Task).RunWithUser.1() [E] CreateNotice: context canceled1422026/10/08 18:17:27 services/cron/tasks.go:142:(*Task).RunWithUser.1() [E] CreateNotice: context canceled1432026/10/08 18:17:27 services/cron/tasks.go:142:(*Task).RunWithUser.1() [E] CreateNotice: context canceled1442026-10-08 18:17:27.823 UTC [10635] LOG: received smart shutdown request1452026-10-08 18:17:27.844 UTC [10635] LOG: background worker "logical replication launcher" (PID 10648) exited with exit code 11462026-10-08 18:17:27.851 UTC [10641] LOG: shutting down1472026-10-08 18:17:27.874 UTC [10641] LOG: checkpoint starting: shutdown immediate1482026-10-08 18:17:34.204 UTC [10641] LOG: checkpoint complete: wrote 3926 buffers (24.0%), wrote 3 SLRU buffers; 0 WAL file(s) added, 0 removed, 1 recycled; write=0.394 s, sync=5.851 s, total=6.354 s; sync files=1317, longest=0.030 s, average=0.005 s; distance=18230 kB, estimate=18230 kB; lsn=0/29336D8, redo lsn=0/29336D81492026-10-08 18:17:34.271 UTC [10635] LOG: database system is shut down150FAIL github.com/Mic92/gitea-mq/internal/integration 55.886s151FAIL