#582

~bigbes/sr-ht-bench/commits/master/.build.yml

success

6f469da — Eugene Blikh

api: tell caches that no answer of the REST surface may be kept

Owner
~bigbes
Created
a month ago
Updated
a month ago
Build manifest
view manifest »

Artifacts

bench.txt 4.9 KiB download »
cover.out 410.0 KiB download »
Build artifacts are pruned after 90 days.

Tasks

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 »
go to bottom »
go to top »
setup
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
[#582] 2026/08/22 06:36:26 Running build on srht-build-1.lab.local
[#582] 2026/08/22 06:36:26 Booting image alpine/edge (default) on port 22681
Waiting for VM to come up...
ssh: connect to host localhost port 22681: Connection refused
Attempt 1...
kex_exchange_identification: read: Connection reset by peer
Connection reset by 127.0.0.1 port 22681
Attempt 2...
Warning: Permanently added '[localhost]:22681' (ED25519) to the list of known hosts.
Warning: Permanently added '[localhost]:22681' (ED25519) to the list of known hosts.
[#582] 2026/08/22 06:36:36 preconfigure: ok
[#582] 2026/08/22 06:36:36 Waiting for guest to settle
[#582] 2026/08/22 06:36:36 Sending tasks
[#582] 2026/08/22 06:36:40 Sending build environment
[#582] 2026/08/22 06:36:40 Sending secrets
[#582] 2026/08/22 06:36:40 Resolving secret e322d5a2-b6b5-4425-aa37-12b038282461
[#582] 2026/08/22 06:36:40 Resolving secret 7dde4219-0783-4581-a67d-c94749de3600
[#582] 2026/08/22 06:36:40 Resolving secret 0e5b3530-6f19-4f30-9b73-9339dd382e46
[#582] 2026/08/22 06:36:41 Resolving secret c7968415-1a6d-4ca0-a188-150fb7f57b65
[#582] 2026/08/22 06:36:41 Installing packages
Warning: Permanently added '[localhost]:22681' (ED25519) to the list of known hosts.
( 1/16) Upgrading libgcc (15.2.0-r8 -> 15.2.0-r9)
( 2/16) Upgrading libstdc++ (15.2.0-r8 -> 15.2.0-r9)
( 3/16) Upgrading libgcc-static (15.2.0-r8 -> 15.2.0-r9)
( 4/16) Upgrading libgomp (15.2.0-r8 -> 15.2.0-r9)
( 5/16) Upgrading libatomic (15.2.0-r8 -> 15.2.0-r9)
( 6/16) Upgrading gcc (15.2.0-r8 -> 15.2.0-r9)
( 7/16) Upgrading libstdc++-dev (15.2.0-r8 -> 15.2.0-r9)
( 8/16) Upgrading g++ (15.2.0-r8 -> 15.2.0-r9)
( 9/16) Upgrading libexpat (2.8.2-r0 -> 2.8.3-r0)
(10/16) Upgrading ncurses-terminfo-base (6.6_p20260516-r0 -> 6.6_p20260815-r0)
(11/16) Upgrading libncursesw (6.6_p20260516-r0 -> 6.6_p20260815-r0)
(12/16) Installing eudev-libs (3.2.14-r7)
(13/16) Upgrading device-mapper-libs (2.03.35-r4 -> 2.03.35-r5)
(14/16) Upgrading libpanelw (6.6_p20260516-r0 -> 6.6_p20260815-r0)
(15/16) Upgrading mercurial-pyc (7.2.3-r0 -> 7.2.4-r0)
(16/16) Upgrading mercurial (7.2.3-r0 -> 7.2.4-r0)
Executing busybox-1.38.0-r4.trigger
OK: 527.2 MiB in 143 packages
Warning: Permanently added '[localhost]:22681' (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.7 MiB in 159 packages
[#582] 2026/08/22 06:36:59 Cloning repositories
Cloning into 'sr-ht-bench'...
+ git -C sr-ht-bench checkout -q 6f469daa97b083f5e3f7839caf1eb5954a4b3d72
+ git -C sr-ht-bench submodule update --init --recursive
[#582] 2026/08/22 06:37:01 Running task cacher_install
[#582] 2026/08/22 06:37:01 Running task cacher_init
[#582] 2026/08/22 06:37:02 Running task scss
[#582] 2026/08/22 06:37:02 Running task keygen
[#582] 2026/08/22 06:37:02 Running task version
[#582] 2026/08/22 06:37:03 Running task cache_restore
[#582] 2026/08/22 06:37:08 Running task postgres
[#582] 2026/08/22 06:37:09 Running task test
[#582] 2026/08/22 06:39:32 Running task build
[#582] 2026/08/22 06:39:40 Running task publish
[#582] 2026/08/22 06:39:40 Running task publish_artifacts
[#582] 2026/08/22 06:39:41 Running task cache_save
[#582] 2026/08/22 06:39:41 Running task coverage
[#582] 2026/08/22 06:39:42 Running task bench
[#582] 2026/08/22 06:40:39 Uploading bench.txt
[#582] 2026/08/22 06:40:39 https://phoebe.lab.local:3900/srht/builds/~bigbes/582/2ab874cbb2bfa7e7/bench.txt
[#582] 2026/08/22 06:40:39 Uploading cover.out
[#582] 2026/08/22 06:40:39 https://phoebe.lab.local:3900/srht/builds/~bigbes/582/2ab874cbb2bfa7e7/cover.out
qemu-system-x86_64: terminating on signal 15 from pid 226547 (/bin/sh)
cacher_install
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
cacher_init
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
scss
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
keygen
1
2
3
+ SUDO=sudo
+ abuild-keygen -a -n -i -q
writing RSA key
version
1
2
3
4
5
6
7
8
9
10
11
+ cd sr-ht-bench
++ git describe --tags --always --dirty
+ desc=6f469da
+ base=6f469da
+ case "$base" in
++ git rev-list --count HEAD
+ ver=0.0.202
+ echo 'export PKGVER=0.0.202 SRHT_VERSION=6f469da'
+ echo 'building 0.0.202 from 6f469da'
building 0.0.202 from 6f469da
+ git status --porcelain
cache_restore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
++ cacher key 'gomod/{hash}.tar.zst' --hash-from sr-ht-bench/go.sum
+ KEY_MOD=gomod/efd77b38ab360c96.tar.zst
++ cacher key 'gocache/{hash}.tar.zst' --hash-from sr-ht-bench/go.sum
+ KEY_GOC=gocache/efd77b38ab360c96.tar.zst
+ echo 'export KEY_MOD=gomod/efd77b38ab360c96.tar.zst KEY_GOC=gocache/efd77b38ab360c96.tar.zst'
+ cacher dir download gomod/efd77b38ab360c96.tar.zst /home/build/go/pkg/mod --optional
Cache HIT  — gomod/efd77b38ab360c96.tar.zst → extract /home/build/go/pkg/mod
+ cacher dir download gocache/efd77b38ab360c96.tar.zst /home/build/.cache/go-build --optional
Cache HIT  — gocache/efd77b38ab360c96.tar.zst → extract /home/build/.cache/go-build
+ cd sr-ht-bench
+ chmod -R u+w /home/build/go/pkg/mod
+ go mod verify
+ go mod download
+ go mod verify
all modules verified
+ git status --porcelain
postgres
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'\'''
test
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
+ 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	57.979s	coverage: 95.2% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-bench/authn	(cached)	coverage: 97.3% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-bench/cmd/benchsrht	5.586s	coverage: 51.8% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-bench/cmd/benchsrht-migrate	0.259s	coverage: 83.7% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-bench/core	0.098s	coverage: 100.0% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-bench/db	96.604s	coverage: 76.8% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-bench/graph	(cached)	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	4.303s	coverage: 95.6% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-bench/mcpsrv	(cached)	coverage: 94.9% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-bench/service	77.159s	coverage: 89.8% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-bench/web	(cached)	coverage: 87.4% of statements
+ + tail -1
go tool cover -func=/home/build/cover.out
total:									(statements)										51.3%
build
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
+ cd sr-ht-bench
+ REPODEST=/home/build/packages
+ abuild -d
>>> bench.sr.ht: Building build/bench.sr.ht 0.0.202-r0 (using abuild 3.18.0_rc5-r0) started Sat, 22 Aug 2026 06:39:32 +0000
>>> bench.sr.ht: Validating /home/build/sr-ht-bench/APKBUILD...
>>> WARNING: bench.sr.ht: AGENTS.md is not in $source/$install/$triggers
>>> WARNING: bench.sr.ht: CLAUDE.md is not in $source/$install/$triggers
>>> WARNING: bench.sr.ht: Makefile is not in $source/$install/$triggers
>>> WARNING: bench.sr.ht: README.md is not in $source/$install/$triggers
>>> WARNING: bench.sr.ht: SPEC.md is not in $source/$install/$triggers
>>> WARNING: bench.sr.ht: api is not in $source/$install/$triggers
>>> WARNING: bench.sr.ht: authn is not in $source/$install/$triggers
>>> WARNING: bench.sr.ht: cmd is not in $source/$install/$triggers
>>> WARNING: bench.sr.ht: config.example.ini is not in $source/$install/$triggers
>>> WARNING: bench.sr.ht: contrib is not in $source/$install/$triggers
>>> WARNING: bench.sr.ht: core is not in $source/$install/$triggers
>>> WARNING: bench.sr.ht: db is not in $source/$install/$triggers
>>> WARNING: bench.sr.ht: docs is not in $source/$install/$triggers
>>> WARNING: bench.sr.ht: go.mod is not in $source/$install/$triggers
>>> WARNING: bench.sr.ht: go.sum is not in $source/$install/$triggers
>>> WARNING: bench.sr.ht: graph is not in $source/$install/$triggers
>>> WARNING: bench.sr.ht: ingest is not in $source/$install/$triggers
>>> WARNING: bench.sr.ht: mcpsrv is not in $source/$install/$triggers
>>> WARNING: bench.sr.ht: migrations is not in $source/$install/$triggers
>>> WARNING: bench.sr.ht: schema.sql is not in $source/$install/$triggers
>>> WARNING: bench.sr.ht: scss is not in $source/$install/$triggers
>>> WARNING: bench.sr.ht: service is not in $source/$install/$triggers
>>> WARNING: bench.sr.ht: web is not in $source/$install/$triggers
>>> bench.sr.ht: Cleaning up srcdir
>>> bench.sr.ht: Cleaning up pkgdir
>>> bench.sr.ht: Cleaning up tmpdir
mkdir -p web/static
rm -f web/static/main.css web/static/main.min.*.css
sassc -I/usr/share/sourcehut/scss scss/main.scss web/static/main.css
/usr/share/sourcehut/scss/contrast.scss:72 DEBUG: #fff was adjusted to #fff but this is not enough contrast to #007bff (AERT).
/usr/share/sourcehut/scss/contrast.scss:72 DEBUG: #fff was adjusted to #fff but this is not enough contrast to #17a2b8 (AERT).
/usr/share/sourcehut/scss/contrast.scss:72 DEBUG: #fff was adjusted to #fff but this is not enough contrast to #dc3545 (AERT).
minify -o web/static/main.min.css web/static/main.css
(3.0 ms, 163 kB, 126 kB,  77.2%,  54 MB/s) - web/static/main.css to web/static/main.min.css
mv web/static/main.min.css \
	web/static/main.min.$(sha256sum web/static/main.min.css | cut -c1-8).css
rm -f web/static/main.css
!! src/
!! tmp/
!! web/static/main.min.6b623c96.css
go build -o benchsrht ./cmd/benchsrht
go build -o benchsrht-migrate ./cmd/benchsrht-migrate
./benchsrht is stamped 6f469daa97b083f5e3f7839caf1eb5954a4b3d72
>>> bench.sr.ht: Entering fakeroot...
install -Dm755 benchsrht /home/build/sr-ht-bench/pkg/bench.sr.ht/usr/bin/benchsrht
install -Dm755 benchsrht-migrate /home/build/sr-ht-bench/pkg/bench.sr.ht/usr/bin/benchsrht-migrate
mkdir -p /home/build/sr-ht-bench/pkg/bench.sr.ht/usr/share/sourcehut/migrations/bench.sr.ht
install -Dm644 -t /home/build/sr-ht-bench/pkg/bench.sr.ht/usr/share/sourcehut/migrations/bench.sr.ht migrations/*.sql
install -Dm644 schema.sql /home/build/sr-ht-bench/pkg/bench.sr.ht/usr/share/sourcehut/bench.sr.ht.sql
/home/build/sr-ht-bench/pkg/bench.sr.ht/usr/bin/benchsrht is stamped 6f469daa97b083f5e3f7839caf1eb5954a4b3d72
/home/build/sr-ht-bench/pkg/bench.sr.ht/usr/bin/benchsrht embeds main.min.6b623c96.css
>>> bench.sr.ht*: Running postcheck for bench.sr.ht
>>> bench.sr.ht*: Preparing package bench.sr.ht...
>>> bench.sr.ht*: Stripping binaries
>>> bench.sr.ht*: Tracing dependencies...
>>> bench.sr.ht*: Package size: 25.4 MB
>>> bench.sr.ht*: Compressing data...
>>> bench.sr.ht*: Create checksum...
>>> bench.sr.ht*: Create bench.sr.ht-0.0.202-r0.apk
>>> bench.sr.ht: Build complete at Sat, 22 Aug 2026 06:39:39 +0000 elapsed time 0h 0m 7s
>>> bench.sr.ht: Cleaning up srcdir
>>> bench.sr.ht: Cleaning up pkgdir
>>> bench.sr.ht: Cleaning up tmpdir
>>> bench.sr.ht: Updating the build/x86_64 repository index...
>>> bench.sr.ht: Signing the index...
+ find /home/build/packages -name '*.apk'
/home/build/packages/build/x86_64/bench.sr.ht-0.0.202-r0.apk
publish
1
2
3
4
5
6
7
8
9
10
11
12
13
+ '[' '!' -r /home/build/.apk-ci.env ']'
+ set +x
+ find /home/build/packages -name '*.apk' -print
+ read -r f
++ basename /home/build/packages/build/x86_64/bench.sr.ht-0.0.202-r0.apk
+ rclone copyto /home/build/packages/build/x86_64/bench.sr.ht-0.0.202-r0.apk garage:repo/alpine/v3.22/bigbes/x86_64/bench.sr.ht-0.0.202-r0.apk
2026/08/22 06:39:40 NOTICE: Config file "/home/build/.config/rclone/rclone.conf" not found - using defaults
++ basename /home/build/packages/build/x86_64/bench.sr.ht-0.0.202-r0.apk
+ echo 'uploaded bench.sr.ht-0.0.202-r0.apk'
uploaded bench.sr.ht-0.0.202-r0.apk
+ read -r f
published; apk-mirror on phoebe re-indexes within 15 minutes
+ echo 'published; apk-mirror on phoebe re-indexes within 15 minutes'
publish_artifacts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
+ '[' '!' -r /home/build/.srht-token ']'
++ find /home/build/packages -name '*.apk'
++ wc -l
+ count=1
+ test 1 -gt 0
+ url=https://artifacts.srht.bigb.es/api/v1/pkg/~bigbes/main/apk/v3.22
+ failed=
++ find /home/build/packages -name '*.apk'
+ for file in $(find "$HOME/packages" -name '*.apk')
+ set +x
+ case "$code" in
++ basename /home/build/packages/build/x86_64/bench.sr.ht-0.0.202-r0.apk
published bench.sr.ht-0.0.202-r0.apk -> 201
+ echo 'published bench.sr.ht-0.0.202-r0.apk -> 201'
+ test -z ''
index: https://artifacts.srht.bigb.es/~bigbes/main/apk/v3.22/x86_64/APKINDEX.tar.gz
+ echo 'index: https://artifacts.srht.bigb.es/~bigbes/main/apk/v3.22/x86_64/APKINDEX.tar.gz'
cache_save
1
2
3
4
+ cacher dir upload gomod/efd77b38ab360c96.tar.zst /home/build/go/pkg/mod
Skipped — gomod/efd77b38ab360c96.tar.zst already present (use --force)
+ cacher dir upload gocache/efd77b38ab360c96.tar.zst /home/build/.cache/go-build
Skipped — gocache/efd77b38ab360c96.tar.zst already present (use --force)
coverage
1
2
3
4
5
6
7
8
9
10
11
12
+ cd sr-ht-bench
+ '[' '!' -r /home/build/.srht-token ']'
+ test -s /home/build/cover.out
+ ref=master
+ ref=master
+ url=https://cov.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-bench/reports
++ git rev-parse HEAD
+ url='https://cov.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-bench/reports?commit=6f469daa97b083f5e3f7839caf1eb5954a4b3d72&ref=master&key=582&job_url=https://builds.srht.bigb.es/~bigbes/job/582'
+ uploading cover.out to https://cov.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-bench/reports?commit=6f469daa97b083f5e3f7839caf1eb5954a4b3d72&ref=master&key=582&job_url=https://builds.srht.bigb.es/~bigbes/job/582
echo 'uploading cover.out to https://cov.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-bench/reports?commit=6f469daa97b083f5e3f7839caf1eb5954a4b3d72&ref=master&key=582&job_url=https://builds.srht.bigb.es/~bigbes/job/582'
+ set +x
{"id":58,"url":"https://cov.srht.bigb.es/~bigbes/sr-ht-bench/reports/58","metric":"statements","total":7845,"covered":4025,"pct":51.306564690885914,"files":67,"files_matched":67,"delta_pct":0.012417043302079378,"errors":[]}
bench
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
+ cd sr-ht-bench
+ '[' -z 'postgresql://build@127.0.0.1/benchsrht_test?sslmode=disable' ']'
+ make -s bench
+ cat /home/build/bench.txt
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-bench/api	0.010s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-bench/authn	0.011s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-bench/cmd/benchsrht	0.023s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-bench/cmd/benchsrht-migrate	0.008s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-bench/core	0.006s
goos: linux
goarch: amd64
pkg: sourcecraft.dev/bigbes/sr-ht-bench/db
cpu: AMD Ryzen 7 3700X 8-Core Processor             
BenchmarkSeries/all-refs-2         	     658	   1808741 ns/op	  124671 B/op	    4692 allocs/op
BenchmarkSeries/all-refs-2         	     735	   1681450 ns/op	  124671 B/op	    4692 allocs/op
BenchmarkSeries/all-refs-2         	     668	   1793847 ns/op	  124670 B/op	    4692 allocs/op
BenchmarkSeries/all-refs-2         	     656	   1782251 ns/op	  124669 B/op	    4692 allocs/op
BenchmarkSeries/all-refs-2         	     687	   1638414 ns/op	  124669 B/op	    4692 allocs/op
BenchmarkSeries/all-refs-2         	     740	   1642325 ns/op	  124670 B/op	    4692 allocs/op
BenchmarkSeries/all-refs-2         	     678	   1831477 ns/op	  124669 B/op	    4692 allocs/op
BenchmarkSeries/all-refs-2         	     714	   1864752 ns/op	  124670 B/op	    4692 allocs/op
BenchmarkSeries/all-refs-2         	     675	   1808180 ns/op	  124669 B/op	    4692 allocs/op
BenchmarkSeries/all-refs-2         	     610	   1880932 ns/op	  124671 B/op	    4692 allocs/op
BenchmarkSeries/on-ref-2           	     672	   1791951 ns/op	  124799 B/op	    4634 allocs/op
BenchmarkSeries/on-ref-2           	     620	   1833136 ns/op	  124799 B/op	    4634 allocs/op
BenchmarkSeries/on-ref-2           	     608	   1698997 ns/op	  124796 B/op	    4634 allocs/op
BenchmarkSeries/on-ref-2           	     712	   1702740 ns/op	  124797 B/op	    4634 allocs/op
BenchmarkSeries/on-ref-2           	     663	   1754708 ns/op	  124798 B/op	    4634 allocs/op
BenchmarkSeries/on-ref-2           	     751	   1582714 ns/op	  124797 B/op	    4634 allocs/op
BenchmarkSeries/on-ref-2           	     714	   1598723 ns/op	  124798 B/op	    4634 allocs/op
BenchmarkSeries/on-ref-2           	     764	   1790595 ns/op	  124796 B/op	    4634 allocs/op
BenchmarkSeries/on-ref-2           	     660	   1779070 ns/op	  124798 B/op	    4634 allocs/op
BenchmarkSeries/on-ref-2           	     658	   1777659 ns/op	  124797 B/op	    4634 allocs/op
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-bench/db	26.611s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-bench/graph	0.006s
?   	sourcecraft.dev/bigbes/sr-ht-bench/graph/api	[no test files]
?   	sourcecraft.dev/bigbes/sr-ht-bench/graph/model	[no test files]
goos: linux
goarch: amd64
pkg: sourcecraft.dev/bigbes/sr-ht-bench/ingest
cpu: AMD Ryzen 7 3700X 8-Core Processor             
BenchmarkIngest/1pkg-2         	   33518	     37016 ns/op	  28.69 MB/s	   22186 B/op	     249 allocs/op
BenchmarkIngest/1pkg-2         	   32074	     36525 ns/op	  29.08 MB/s	   22186 B/op	     249 allocs/op
BenchmarkIngest/1pkg-2         	   34510	     34991 ns/op	  30.35 MB/s	   22186 B/op	     249 allocs/op
BenchmarkIngest/1pkg-2         	   34731	     36836 ns/op	  28.83 MB/s	   22186 B/op	     249 allocs/op
BenchmarkIngest/1pkg-2         	   30771	     39857 ns/op	  26.65 MB/s	   22186 B/op	     249 allocs/op
BenchmarkIngest/1pkg-2         	   32979	     35940 ns/op	  29.55 MB/s	   22186 B/op	     249 allocs/op
BenchmarkIngest/1pkg-2         	   31723	     37343 ns/op	  28.44 MB/s	   22186 B/op	     249 allocs/op
BenchmarkIngest/1pkg-2         	   33670	     37610 ns/op	  28.24 MB/s	   22186 B/op	     249 allocs/op
BenchmarkIngest/1pkg-2         	   36189	     33701 ns/op	  31.51 MB/s	   22186 B/op	     249 allocs/op
BenchmarkIngest/1pkg-2         	   35282	     34550 ns/op	  30.74 MB/s	   22186 B/op	     249 allocs/op
BenchmarkIngest/32pkg-2        	    1250	   1003551 ns/op	  35.87 MB/s	  480126 B/op	    6387 allocs/op
BenchmarkIngest/32pkg-2        	     862	   1255023 ns/op	  28.68 MB/s	  480139 B/op	    6387 allocs/op
BenchmarkIngest/32pkg-2        	     950	   1194693 ns/op	  30.13 MB/s	  480132 B/op	    6387 allocs/op
BenchmarkIngest/32pkg-2        	    1060	   1236591 ns/op	  29.11 MB/s	  480132 B/op	    6387 allocs/op
BenchmarkIngest/32pkg-2        	     900	   1253180 ns/op	  28.73 MB/s	  480131 B/op	    6387 allocs/op
BenchmarkIngest/32pkg-2        	     975	   1134322 ns/op	  31.74 MB/s	  480135 B/op	    6387 allocs/op
BenchmarkIngest/32pkg-2        	    1226	    986090 ns/op	  36.51 MB/s	  480125 B/op	    6387 allocs/op
BenchmarkIngest/32pkg-2        	    1174	   1019795 ns/op	  35.30 MB/s	  480127 B/op	    6387 allocs/op
BenchmarkIngest/32pkg-2        	    1201	   1026791 ns/op	  35.06 MB/s	  480128 B/op	    6387 allocs/op
BenchmarkIngest/32pkg-2        	    1219	   1072299 ns/op	  33.57 MB/s	  480133 B/op	    6387 allocs/op
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-bench/ingest	24.192s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-bench/mcpsrv	0.004s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-bench/service	0.004s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-bench/web	0.004s
+ grep -q '^BenchmarkIngest' /home/build/bench.txt
+ grep -q '^BenchmarkSeries' /home/build/bench.txt
+ '[' '!' -r /home/build/.srht-token ']'
+ ref=master
+ ref=master
+ url=https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-bench/runs
++ git rev-parse HEAD
+ url='https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-bench/runs?commit=6f469daa97b083f5e3f7839caf1eb5954a4b3d72&ref=master&key=582&job_url=https://builds.srht.bigb.es/~bigbes/job/582'
+ url='https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-bench/runs?commit=6f469daa97b083f5e3f7839caf1eb5954a4b3d72&ref=master&key=582&job_url=https://builds.srht.bigb.es/~bigbes/job/582&visibility=public'
+ echo uploading bench.txt to https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-bench/runs?commit=6f469daa97b083f5e3f7839caf1eb5954a4b3d72&ref=master&key=582&job_url=https://builds.srht.bigb.es/~bigbes/job/582&visibility=public
'uploading bench.txt to https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-bench/runs?commit=6f469daa97b083f5e3f7839caf1eb5954a4b3d72&ref=master&key=582&job_url=https://builds.srht.bigb.es/~bigbes/job/582&visibility=public'
+ set +x
{"id":57,"url":"https://bench.srht.bigb.es/~bigbes/sr-ht-bench/runs/57","benchmarks":4,"measurements":140,"new_benchmarks":0,"errors":[],"errors_total":0,"results_rejected":0}

Build complete: success a month ago (took 4 minutes)