graph: accept a meta.sr.ht token, so /query can be federated
| 0 Bytes | (missing) |
| 409.8 KiB | download » |
| view log » | |
| cacher_install | view log » |
| cacher_init | view log » |
| scss | view log » |
| keygen | view log » |
| version | view log » |
| cache_restore | view log » |
| postgres | view log » |
| test | view log » |
| build | view log » |
| publish | view log » |
| publish_artifacts | view log » |
| cache_save | view log » |
| coverage | view log » |
| bench | view log » |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
[#505] 2026/08/16 19:31:10 Running build on srht-build-1.lab.local [#505] 2026/08/16 19:31:10 Booting image alpine/edge (default) on port 22604 Waiting for VM to come up... ssh: connect to host localhost port 22604: Connection refused Attempt 1... kex_exchange_identification: read: Connection reset by peer Connection reset by 127.0.0.1 port 22604 Attempt 2... Warning: Permanently added '[localhost]:22604' (ED25519) to the list of known hosts. Warning: Permanently added '[localhost]:22604' (ED25519) to the list of known hosts. [#505] 2026/08/16 19:31:21 preconfigure: ok [#505] 2026/08/16 19:31:21 Waiting for guest to settle [#505] 2026/08/16 19:31:21 Sending tasks [#505] 2026/08/16 19:31:24 Sending build environment [#505] 2026/08/16 19:31:24 Sending secrets [#505] 2026/08/16 19:31:24 Resolving secret e322d5a2-b6b5-4425-aa37-12b038282461 [#505] 2026/08/16 19:31:24 Resolving secret 7dde4219-0783-4581-a67d-c94749de3600 [#505] 2026/08/16 19:31:24 Resolving secret 0e5b3530-6f19-4f30-9b73-9339dd382e46 [#505] 2026/08/16 19:31:25 Resolving secret c7968415-1a6d-4ca0-a188-150fb7f57b65 [#505] 2026/08/16 19:31:25 Installing packages Warning: Permanently added '[localhost]:22604' (ED25519) to the list of known hosts. ( 1/15) Upgrading libblkid (2.42.2-r0 -> 2.42.2-r1) ( 2/15) Upgrading libuuid (2.42.2-r0 -> 2.42.2-r1) ( 3/15) Upgrading python3 (3.14.5-r2 -> 3.14.7-r0) ( 4/15) Upgrading python3-pycache-pyc0 (3.14.5-r2 -> 3.14.7-r0) ( 5/15) Upgrading pyc (3.14.5-r2 -> 3.14.7-r0) ( 6/15) Upgrading python3-pyc (3.14.5-r2 -> 3.14.7-r0) ( 7/15) Upgrading openssh-keygen (10.4_p1-r2 -> 10.5_p1-r0) ( 8/15) Upgrading openssh-client-common (10.4_p1-r2 -> 10.5_p1-r0) ( 9/15) Upgrading openssh-client-default (10.4_p1-r2 -> 10.5_p1-r0) (10/15) Upgrading openssh-sftp-server (10.4_p1-r2 -> 10.5_p1-r0) (11/15) Upgrading openssh-server-common (10.4_p1-r2 -> 10.5_p1-r0) Installing file to etc/ssh/sshd_config.apk-new (12/15) Upgrading openssh-server-common-openrc (10.4_p1-r2 -> 10.5_p1-r0) (13/15) Upgrading openssh-server (10.4_p1-r2 -> 10.5_p1-r0) Executing openssh-server-10.5_p1-r0.post-upgrade (14/15) Upgrading openssh (10.4_p1-r2 -> 10.5_p1-r0) (15/15) Upgrading blkid (2.42.2-r0 -> 2.42.2-r1) Executing busybox-1.38.0-r4.trigger OK: 527.1 MiB in 142 packages Warning: Permanently added '[localhost]:22604' (ED25519) to the list of known hosts. ( 1/16) Installing go (1.26.5-r0) ( 2/16) Installing minify (2.24.17-r0) ( 3/16) Installing postgresql-common (1.3-r0) Executing postgresql-common-1.3-r0.pre-install ( 4/16) Installing lz4-libs (1.10.0-r1) ( 5/16) Installing libpq (18.6-r0) ( 6/16) Installing postgresql18-client (18.6-r0) ( 7/16) Installing icu-data-en (78.1-r0) Executing icu-data-en-78.1-r0.post-install * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. ( 8/16) Installing icu-libs (78.1-r0) ( 9/16) Installing liburing (2.15-r0) (10/16) Installing libxml2 (2.13.9-r2) (11/16) Installing postgresql18 (18.6-r0) Executing postgresql18-18.6-r0.post-install * * If you want to use JIT in PostgreSQL, install postgresql18-jit or * postgresql-jit (if you didn't install specific major version of postgresql). * (12/16) Installing postgresql-common-openrc (1.3-r0) (13/16) Installing postgresql18-openrc (18.6-r0) (14/16) Installing rclone (1.74.4-r1) (15/16) Installing libsass (3.6.6-r0) (16/16) Installing sassc (3.6.2-r5) Executing busybox-1.38.0-r4.trigger Executing postgresql-common-1.3-r0.trigger * find: /usr/share/man: No such file or directory * Setting postgresql18 as the default version * find: /usr/share/man: No such file or directory OK: 846.6 MiB in 158 packages [#505] 2026/08/16 19:31:33 Cloning repositories Cloning into 'sr-ht-bench'... + git -C sr-ht-bench checkout -q 46a5d578a20c4e9eced96e916d8e82269a681ed9 + git -C sr-ht-bench submodule update --init --recursive [#505] 2026/08/16 19:31:34 Running task cacher_install [#505] 2026/08/16 19:31:35 Running task cacher_init [#505] 2026/08/16 19:31:36 Running task scss [#505] 2026/08/16 19:31:36 Running task keygen [#505] 2026/08/16 19:31:37 Running task version [#505] 2026/08/16 19:31:37 Running task cache_restore [#505] 2026/08/16 19:31:52 Running task postgres [#505] 2026/08/16 19:31:54 Running task test [#505] 2026/08/16 19:35:02 Uploading bench.txt [#505] 2026/08/16 19:35:02 Error reading artifact file: File not found [#505] 2026/08/16 19:35:02 Uploading cover.out [#505] 2026/08/16 19:35:02 https://phoebe.lab.local:3900/srht/builds/~bigbes/505/0175b53cc14d1b29/cover.out [#505] 2026/08/16 19:35:02 Build failed. [#505] 2026/08/16 19:35:02 The build environment will be kept alive for 10 minutes. [#505] 2026/08/16 19:35:02 To log in with SSH and examine it, use the following command: [#505] 2026/08/16 19:35:02 [#505] 2026/08/16 19:35:02 ssh -t builds@srht-build-1.lab.local connect 505 [#505] 2026/08/16 19:35:02 [#505] 2026/08/16 19:35:02 After logging in, the deadline is increased to your remaining build time. [#505] 2026/08/16 19:45:02 Deadline elapsed. Terminating build environment. [#505] 2026/08/16 19:45:02 Error: Running task on guest: exit status 2 qemu-system-x86_64: terminating on signal 15 from pid 142240 (/bin/sh) |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
+ curl -sSL https://bigbes.pages.srht.bigb.es/ci-cacher/install.sh + sh install.sh: fetching https://bigbes.pages.srht.bigb.es/ci-cacher/cacher-linux-amd64 install.sh: checksum ok install.sh: added /home/build/.local/bin to ~/.buildenv PATH install.sh: installed → /home/build/.local/bin/cacher _ ___ __ _ ___ _ __ | |__ ___ _ __ / __/ _` |/ __| '_ \| '_ \ / _ \ '__| | (_| (_| | (__| | | | | | | __/ | \___\__,_|\___|_| |_|_| |_|\___|_| cacher: S3-backed CI cache helper for builds.sr.ht — replaces .builds/lib/ci-lib.sh go.bigb.es/cacher GitVersion: 0.2.2 GitCommit: 333189a20b7bb2b7440b083e151afd24bb5a61d4 GitTreeState: dirty BuildDate: 2026-08-06T22:16:13Z BuiltBy: unknown Clean: false GoVersion: go1.26.3 Compiler: gc ModuleSum: unknown Platform: linux/amd64 install.sh: note — /home/build/.local/bin is not on your PATH |
1 2 3 4 5 6 7 8 9 |
+ cacher init --endpoint https://s3.bigb.es --region garage --bucket docker-cache --prefix sr-ht-bench/deps --key-file /home/build/.s3-cache-key-id --secret-file /home/build/.s3-cache-key-secret wrote /home/build/.config/cacher/config.toml endpoint=https://s3.bigb.es region=garage bucket=docker-cache prefix=sr-ht-bench/deps key_id_len=26 key_id_prefix=GK secret_len=64 ping bucket: OK put canary: OK get canary: OK delete canary: OK doctor: all checks passed |
1 2 3 4 |
+ cacher dir download scss/0.84.5-779ad9f174ea5ab7e755f6df0ec9e5912d67dd16.tar.zst /home/build/scss --exec $'\n git clone --depth 1 --branch "$CORE_VER" \\\n https://git.sr.ht/~sircmpwn/core.sr.ht /tmp/core\n mkdir -p ~/scss/bootstrap\n cp /tmp/core/scss/*.scss /tmp/core/scss/*.css ~/scss/\n git init -q /tmp/bootstrap\n git -C /tmp/bootstrap remote add origin https://github.com/twbs/bootstrap\n git -C /tmp/bootstrap fetch -q --depth 1 origin "$BOOTSTRAP_REV"\n git -C /tmp/bootstrap checkout -q FETCH_HEAD\n cp -r /tmp/bootstrap/scss ~/scss/bootstrap/scss\n' Cache HIT — scss/0.84.5-779ad9f174ea5ab7e755f6df0ec9e5912d67dd16.tar.zst → extract /home/build/scss + sudo mkdir -p /usr/share/sourcehut + sudo cp -r /home/build/scss /usr/share/sourcehut/scss |
1 2 3 4 5 6 7 8 9 10 11 |
+ cd sr-ht-bench ++ git describe --tags --always --dirty + desc=46a5d57 + base=46a5d57 + case "$base" in ++ git rev-list --count HEAD + ver=0.0.199 + echo 'export PKGVER=0.0.199 SRHT_VERSION=46a5d57' + echo 'building 0.0.199 from 46a5d57' building 0.0.199 from 46a5d57 + git status --porcelain |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
++ cacher key 'gomod/{hash}.tar.zst' --hash-from sr-ht-bench/go.sum
+ KEY_MOD=gomod/37a60f1dbeae7342.tar.zst
++ cacher key 'gocache/{hash}.tar.zst' --hash-from sr-ht-bench/go.sum
+ KEY_GOC=gocache/37a60f1dbeae7342.tar.zst
+ echo 'export KEY_MOD=gomod/37a60f1dbeae7342.tar.zst KEY_GOC=gocache/37a60f1dbeae7342.tar.zst'
+ cacher dir download gomod/37a60f1dbeae7342.tar.zst /home/build/go/pkg/mod --optional
Cache MISS — gomod/37a60f1dbeae7342.tar.zst
+ cacher dir download gocache/37a60f1dbeae7342.tar.zst /home/build/.cache/go-build --optional
Cache MISS — gocache/37a60f1dbeae7342.tar.zst
+ cd sr-ht-bench
+ chmod -R u+w /home/build/go/pkg/mod
+ true
+ go mod verify
+ go mod download
+ go mod verify
all modules verified
+ git status --porcelain
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
+ sudo install -d -o postgres -g postgres /run/postgresql /var/lib/postgresql/data + sudo -u postgres initdb -D /var/lib/postgresql/data The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with this locale configuration: locale provider: libc LC_COLLATE: C LC_CTYPE: C.UTF-8 LC_MESSAGES: C LC_MONETARY: C LC_NUMERIC: C LC_TIME: C The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are enabled. fixing permissions on existing directory /var/lib/postgresql/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 Success. 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. + sudo -u postgres pg_ctl -D /var/lib/postgresql/data -l /tmp/pg.log -w start -o '-k /run/postgresql -h 127.0.0.1 -c fsync=off -c full_page_writes=off -c synchronous_commit=off' waiting for server to start.... done server started ++ id -un + sudo -u postgres createuser -s build ++ id -un + sudo -u postgres createdb -O build benchsrht_test ++ id -un + echo 'export BENCHSRHT_TEST_PG='\''postgresql://build@127.0.0.1/benchsrht_test?sslmode=disable'\''' |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
+ cd sr-ht-bench
+ '[' -z 'postgresql://build@127.0.0.1/benchsrht_test?sslmode=disable' ']'
+ make -s cover COVERPROFILE=/home/build/cover.out
ok sourcecraft.dev/bigbes/sr-ht-bench/api 51.684s coverage: 95.2% of statements
ok sourcecraft.dev/bigbes/sr-ht-bench/authn 0.008s coverage: 97.3% of statements
ok sourcecraft.dev/bigbes/sr-ht-bench/cmd/benchsrht 10.098s coverage: 51.5% of statements
ok sourcecraft.dev/bigbes/sr-ht-bench/cmd/benchsrht-migrate 0.256s coverage: 75.3% of statements
ok sourcecraft.dev/bigbes/sr-ht-bench/core 0.094s coverage: 100.0% of statements
--- FAIL: TestRunBodyReadIsChargedInBytes (6.42s)
run_test.go:307: on linux/amd64, GOMAXPROCS=2, 1 reader(s): 1048576 bytes of body held 1317880 each, 10485760 bytes held 2216432 each; charged 2097152, flat to within 524288
run_test.go:315:
Error Trace: /home/build/sr-ht-bench/db/run_test.go:315
Error: "2216432" is not less than or equal to "2097152"
Test: TestRunBodyReadIsChargedInBytes
Messages: 1 reader(s) of a 10485760-byte body held 2216432 each against the 2097152 db.artifactReadHeapBytes charges
run_test.go:322:
Error Trace: /home/build/sr-ht-bench/db/run_test.go:322
Error: "898552" is not less than or equal to "524288"
Test: TestRunBodyReadIsChargedInBytes
Messages: a body ten times larger cost 898552 bytes more per reader, so the read is charged as a factor of the body and not in bytes: 2216432 against 1317880
run_test.go:307: on linux/amd64, GOMAXPROCS=2, 4 reader(s): 1048576 bytes of body held 421672 each, 10485760 bytes held 492154 each; charged 2097152, flat to within 524288
run_test.go:307: on linux/amd64, GOMAXPROCS=2, 8 reader(s): 1048576 bytes of body held 299176 each, 10485760 bytes held 344844 each; charged 2097152, flat to within 524288
FAIL
coverage: 76.8% of statements
FAIL sourcecraft.dev/bigbes/sr-ht-bench/db 105.576s
ok sourcecraft.dev/bigbes/sr-ht-bench/graph 0.021s coverage: 79.8% of statements
sourcecraft.dev/bigbes/sr-ht-bench/graph/api coverage: 0.0% of statements
sourcecraft.dev/bigbes/sr-ht-bench/graph/model coverage: 0.0% of statements
ok sourcecraft.dev/bigbes/sr-ht-bench/ingest 3.197s coverage: 95.6% of statements
ok sourcecraft.dev/bigbes/sr-ht-bench/mcpsrv 0.481s coverage: 94.9% of statements
ok sourcecraft.dev/bigbes/sr-ht-bench/service 98.918s coverage: 89.8% of statements
ok sourcecraft.dev/bigbes/sr-ht-bench/web 1.439s coverage: 87.4% of statements
FAIL
make: *** [Makefile:225: cover] Error 1
|