#497

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

success

03faa17 — Eugene Blikh

go.mod: take the shared libraries' current heads

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

Artifacts

cover.out 264.1 KiB download »
bench.txt 11.2 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 »
bench view log »
coverage 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
95
[#497] 2026/08/16 10:04:59 Running build on srht-build-1.lab.local
[#497] 2026/08/16 10:04:59 Booting image alpine/edge (default) on port 22596
Waiting for VM to come up...
ssh: connect to host localhost port 22596: Connection refused
Attempt 1...
kex_exchange_identification: read: Connection reset by peer
Connection reset by 127.0.0.1 port 22596
Attempt 2...
Warning: Permanently added '[localhost]:22596' (ED25519) to the list of known hosts.
Warning: Permanently added '[localhost]:22596' (ED25519) to the list of known hosts.
[#497] 2026/08/16 10:05:09 preconfigure: ok
[#497] 2026/08/16 10:05:09 Waiting for guest to settle
[#497] 2026/08/16 10:05:09 Sending tasks
[#497] 2026/08/16 10:05:12 Sending build environment
[#497] 2026/08/16 10:05:13 Sending secrets
[#497] 2026/08/16 10:05:13 Resolving secret apk-ci-s3
[#497] 2026/08/16 10:05:13 Resolving secret 7dde4219-0783-4581-a67d-c94749de3600
[#497] 2026/08/16 10:05:13 Resolving secret 0e5b3530-6f19-4f30-9b73-9339dd382e46
[#497] 2026/08/16 10:05:14 Resolving secret c7968415-1a6d-4ca0-a188-150fb7f57b65
[#497] 2026/08/16 10:05:14 Installing packages
Warning: Permanently added '[localhost]:22596' (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]:22596' (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
[#497] 2026/08/16 10:05:34 Cloning repositories
Cloning into 'sr-ht-cover'...
+ git -C sr-ht-cover checkout -q 03faa171c6a2f4e2656142c8cf70987c3bf0ba8d
+ git -C sr-ht-cover submodule update --init --recursive
[#497] 2026/08/16 10:05:35 Running task cacher_install
[#497] 2026/08/16 10:05:36 Running task cacher_init
[#497] 2026/08/16 10:05:36 Running task scss
[#497] 2026/08/16 10:05:37 Running task keygen
[#497] 2026/08/16 10:05:38 Running task version
[#497] 2026/08/16 10:05:38 Running task cache_restore
[#497] 2026/08/16 10:06:08 Running task postgres
[#497] 2026/08/16 10:06:10 Running task test
[#497] 2026/08/16 10:08:24 Running task build
[#497] 2026/08/16 10:10:09 Running task publish
[#497] 2026/08/16 10:10:10 Running task publish_artifacts
[#497] 2026/08/16 10:10:11 Running task cache_save
[#497] 2026/08/16 10:10:26 Running task bench
[#497] 2026/08/16 10:12:52 Running task coverage
[#497] 2026/08/16 10:12:53 Uploading cover.out
[#497] 2026/08/16 10:12:53 https://phoebe.lab.local:3900/srht/builds/~bigbes/497/7e44659d7fd50c23/cover.out
[#497] 2026/08/16 10:12:53 Uploading bench.txt
[#497] 2026/08/16 10:12:53 https://phoebe.lab.local:3900/srht/builds/~bigbes/497/7e44659d7fd50c23/bench.txt
qemu-system-x86_64: terminating on signal 15 from pid 135685 (/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-cover/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-cover/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
12
+ cd sr-ht-cover
++ git describe --tags --always --dirty
+ desc=v0.9.1-29-g03faa17
+ base=v0.9.1-29-g03faa17
+ case "$base" in
+ n=v0.9.1-29
+ ver=v0.9.1
+ ver=0.9.1_git29
+ echo 'export PKGVER=0.9.1_git29 SRHT_VERSION=v0.9.1-29-g03faa17'
building 0.9.1_git29 from v0.9.1-29-g03faa17
+ echo 'building 0.9.1_git29 from v0.9.1-29-g03faa17'
+ 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-cover/go.sum
+ KEY_MOD=gomod/f57a84dfabf7fb92.tar.zst
++ cacher key 'gocache/{hash}.tar.zst' --hash-from sr-ht-cover/go.sum
+ KEY_GOC=gocache/f57a84dfabf7fb92.tar.zst
+ echo 'export KEY_MOD=gomod/f57a84dfabf7fb92.tar.zst KEY_GOC=gocache/f57a84dfabf7fb92.tar.zst'
+ cacher dir download gomod/f57a84dfabf7fb92.tar.zst /home/build/go/pkg/mod --optional
Cache MISS — gomod/f57a84dfabf7fb92.tar.zst
+ cacher dir download gocache/f57a84dfabf7fb92.tar.zst /home/build/.cache/go-build --optional
Cache MISS — gocache/f57a84dfabf7fb92.tar.zst
+ cd sr-ht-cover
+ chmod -R u+w /home/build/go/pkg/mod
+ true
+ go mod verify
+ go mod download
+ go mod verify
all modules verified
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 coversrht_test
++ id -un
+ echo 'export COVERSRHT_TEST_PG='\''postgresql://build@127.0.0.1/coversrht_test?sslmode=disable'\'''
test
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
+ cd sr-ht-cover
+ '[' -z 'postgresql://build@127.0.0.1/coversrht_test?sslmode=disable' ']'
+ go test -covermode=atomic -coverprofile=/home/build/cover.out ./...
ok  	sourcecraft.dev/bigbes/sr-ht-cover/api	3.924s	coverage: 96.6% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-cover/authn	0.023s	coverage: 96.9% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-cover/cmd/coversrht	0.160s	coverage: 53.6% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-cover/cmd/coversrht-migrate	0.437s	coverage: 49.4% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-cover/core	0.061s	coverage: 94.7% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-cover/db	7.422s	coverage: 87.2% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-cover/gitx	0.331s	coverage: 94.3% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-cover/graph	0.044s	coverage: 85.7% of statements
	sourcecraft.dev/bigbes/sr-ht-cover/graph/api		coverage: 0.0% of statements
	sourcecraft.dev/bigbes/sr-ht-cover/graph/model		coverage: 0.0% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-cover/ingest	5.425s	coverage: 97.4% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-cover/internal/build	0.008s	coverage: [no statements]
?   	sourcecraft.dev/bigbes/sr-ht-cover/internal/smoke	[no test files]
ok  	sourcecraft.dev/bigbes/sr-ht-cover/mcpsrv	1.401s	coverage: 98.8% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-cover/service	1.036s	coverage: 91.4% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-cover/web	1.729s	coverage: 91.9% of statements
+ tail -1
+ go tool cover -func=/home/build/cover.out
total:									(statements)										57.7%
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-cover
+ REPODEST=/home/build/packages
+ abuild -d
>>> cov.sr.ht: Building build/cov.sr.ht 0.9.1_git29-r0 (using abuild 3.18.0_rc5-r0) started Sun, 16 Aug 2026 10:08:24 +0000
>>> cov.sr.ht: Validating /home/build/sr-ht-cover/APKBUILD...
>>> WARNING: cov.sr.ht: AGENTS.md is not in $source/$install/$triggers
>>> WARNING: cov.sr.ht: CLAUDE.md is not in $source/$install/$triggers
>>> WARNING: cov.sr.ht: Makefile is not in $source/$install/$triggers
>>> WARNING: cov.sr.ht: README.md is not in $source/$install/$triggers
>>> WARNING: cov.sr.ht: SPEC.md is not in $source/$install/$triggers
>>> WARNING: cov.sr.ht: api is not in $source/$install/$triggers
>>> WARNING: cov.sr.ht: authn is not in $source/$install/$triggers
>>> WARNING: cov.sr.ht: cmd is not in $source/$install/$triggers
>>> WARNING: cov.sr.ht: config.example.ini is not in $source/$install/$triggers
>>> WARNING: cov.sr.ht: contrib is not in $source/$install/$triggers
>>> WARNING: cov.sr.ht: core is not in $source/$install/$triggers
>>> WARNING: cov.sr.ht: db is not in $source/$install/$triggers
>>> WARNING: cov.sr.ht: docs is not in $source/$install/$triggers
>>> WARNING: cov.sr.ht: gitx is not in $source/$install/$triggers
>>> WARNING: cov.sr.ht: go.mod is not in $source/$install/$triggers
>>> WARNING: cov.sr.ht: go.sum is not in $source/$install/$triggers
>>> WARNING: cov.sr.ht: graph is not in $source/$install/$triggers
>>> WARNING: cov.sr.ht: ingest is not in $source/$install/$triggers
>>> WARNING: cov.sr.ht: internal is not in $source/$install/$triggers
>>> WARNING: cov.sr.ht: mcpsrv is not in $source/$install/$triggers
>>> WARNING: cov.sr.ht: migrations is not in $source/$install/$triggers
>>> WARNING: cov.sr.ht: schema.sql is not in $source/$install/$triggers
>>> WARNING: cov.sr.ht: scss is not in $source/$install/$triggers
>>> WARNING: cov.sr.ht: service is not in $source/$install/$triggers
>>> WARNING: cov.sr.ht: web is not in $source/$install/$triggers
>>> cov.sr.ht: Cleaning up srcdir
>>> cov.sr.ht: Cleaning up pkgdir
>>> cov.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
( 11 ms, 164 kB, 127 kB,  77.2%,  15 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
go build -ldflags "-X sourcecraft.dev/bigbes/sr-ht-cover/internal/build.Version=v0.9.1-29-g03faa17" -o coversrht ./cmd/coversrht
go build -ldflags "-X sourcecraft.dev/bigbes/sr-ht-cover/internal/build.Version=v0.9.1-29-g03faa17" -o coversrht-migrate ./cmd/coversrht-migrate
./coversrht is stamped 03faa171c6a2f4e2656142c8cf70987c3bf0ba8d
>>> cov.sr.ht: Entering fakeroot...
install -Dm755 coversrht /home/build/sr-ht-cover/pkg/cov.sr.ht/usr/bin/coversrht
install -Dm755 coversrht-migrate /home/build/sr-ht-cover/pkg/cov.sr.ht/usr/bin/coversrht-migrate
mkdir -p /home/build/sr-ht-cover/pkg/cov.sr.ht/usr/share/sourcehut/migrations/cov.sr.ht
install -Dm644 -t /home/build/sr-ht-cover/pkg/cov.sr.ht/usr/share/sourcehut/migrations/cov.sr.ht migrations/*.sql
install -Dm644 schema.sql /home/build/sr-ht-cover/pkg/cov.sr.ht/usr/share/sourcehut/cov.sr.ht.sql
libfakeroot internal error: payload not recognized!
/home/build/sr-ht-cover/pkg/cov.sr.ht/usr/bin/coversrht is stamped 03faa171c6a2f4e2656142c8cf70987c3bf0ba8d
/home/build/sr-ht-cover/pkg/cov.sr.ht/usr/bin/coversrht embeds main.min.cea868d9.css
>>> cov.sr.ht*: Running postcheck for cov.sr.ht
>>> cov.sr.ht*: Preparing package cov.sr.ht...
>>> cov.sr.ht*: Stripping binaries
>>> cov.sr.ht*: Tracing dependencies...
>>> cov.sr.ht*: Package size: 31.3 MB
>>> cov.sr.ht*: Compressing data...
>>> cov.sr.ht*: Create checksum...
>>> cov.sr.ht*: Create cov.sr.ht-0.9.1_git29-r0.apk
>>> cov.sr.ht: Build complete at Sun, 16 Aug 2026 10:10:09 +0000 elapsed time 0h 1m 45s
>>> cov.sr.ht: Cleaning up srcdir
>>> cov.sr.ht: Cleaning up pkgdir
>>> cov.sr.ht: Cleaning up tmpdir
>>> cov.sr.ht: Updating the build/x86_64 repository index...
>>> cov.sr.ht: Signing the index...
+ find /home/build/packages -name '*.apk'
/home/build/packages/build/x86_64/cov.sr.ht-0.9.1_git29-r0.apk
publish
1
2
3
4
5
6
7
8
9
10
11
12
+ set +x
+ find /home/build/packages -name '*.apk' -print
+ read -r f
++ basename /home/build/packages/build/x86_64/cov.sr.ht-0.9.1_git29-r0.apk
+ rclone copyto /home/build/packages/build/x86_64/cov.sr.ht-0.9.1_git29-r0.apk garage:repo/alpine/v3.22/bigbes/x86_64/cov.sr.ht-0.9.1_git29-r0.apk
2026/08/16 10:10:10 NOTICE: Config file "/home/build/.config/rclone/rclone.conf" not found - using defaults
uploaded cov.sr.ht-0.9.1_git29-r0.apk
++ basename /home/build/packages/build/x86_64/cov.sr.ht-0.9.1_git29-r0.apk
+ echo 'uploaded cov.sr.ht-0.9.1_git29-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
published cov.sr.ht-0.9.1_git29-r0.apk -> 201
index: https://artifacts.srht.bigb.es/~bigbes/main/apk/v3.22/x86_64/APKINDEX.tar.gz
++ basename /home/build/packages/build/x86_64/cov.sr.ht-0.9.1_git29-r0.apk
+ echo 'published cov.sr.ht-0.9.1_git29-r0.apk -> 201'
+ test -z ''
+ 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/f57a84dfabf7fb92.tar.zst /home/build/go/pkg/mod
Packing /home/build/go/pkg/mod → gomod/f57a84dfabf7fb92.tar.zst
+ cacher dir upload gocache/f57a84dfabf7fb92.tar.zst /home/build/.cache/go-build
Packing /home/build/.cache/go-build → gocache/f57a84dfabf7fb92.tar.zst
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
+ cd sr-ht-cover
+ '[' -z 'postgresql://build@127.0.0.1/coversrht_test?sslmode=disable' ']'
+ make -s bench
+ cat /home/build/bench.txt
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/api	0.013s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/authn	0.023s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/cmd/coversrht	0.037s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/cmd/coversrht-migrate	0.013s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/core	0.057s
goos: linux
goarch: amd64
pkg: sourcecraft.dev/bigbes/sr-ht-cover/db
cpu: AMD Ryzen 7 3700X 8-Core Processor             
BenchmarkTrend/all-refs-2         	     861	   1389382 ns/op	   68583 B/op	    2102 allocs/op
BenchmarkTrend/all-refs-2         	     511	   2103171 ns/op	   68582 B/op	    2102 allocs/op
BenchmarkTrend/all-refs-2         	     866	   1247782 ns/op	   68582 B/op	    2102 allocs/op
BenchmarkTrend/all-refs-2         	     987	   1172929 ns/op	   68582 B/op	    2102 allocs/op
BenchmarkTrend/all-refs-2         	    1041	   1165072 ns/op	   68582 B/op	    2102 allocs/op
BenchmarkTrend/all-refs-2         	     928	   1422479 ns/op	   68582 B/op	    2102 allocs/op
BenchmarkTrend/all-refs-2         	     628	   1623696 ns/op	   68581 B/op	    2102 allocs/op
BenchmarkTrend/all-refs-2         	     739	   1688170 ns/op	   68582 B/op	    2102 allocs/op
BenchmarkTrend/all-refs-2         	     772	   1532197 ns/op	   68582 B/op	    2102 allocs/op
BenchmarkTrend/all-refs-2         	     973	   1849429 ns/op	   68582 B/op	    2102 allocs/op
BenchmarkTrend/on-ref-2           	     877	   2343271 ns/op	   68694 B/op	    2071 allocs/op
BenchmarkTrend/on-ref-2           	     462	   2259824 ns/op	   68694 B/op	    2071 allocs/op
BenchmarkTrend/on-ref-2           	     656	   2014853 ns/op	   68694 B/op	    2071 allocs/op
BenchmarkTrend/on-ref-2           	     535	   3295249 ns/op	   68695 B/op	    2071 allocs/op
BenchmarkTrend/on-ref-2           	     746	   1505949 ns/op	   68694 B/op	    2071 allocs/op
BenchmarkTrend/on-ref-2           	     718	   1594878 ns/op	   68695 B/op	    2071 allocs/op
BenchmarkTrend/on-ref-2           	     577	   1977643 ns/op	   68695 B/op	    2071 allocs/op
BenchmarkTrend/on-ref-2           	     901	   2012310 ns/op	   68695 B/op	    2071 allocs/op
BenchmarkTrend/on-ref-2           	     649	   1792819 ns/op	   68695 B/op	    2071 allocs/op
BenchmarkTrend/on-ref-2           	     678	   1524821 ns/op	   68694 B/op	    2071 allocs/op
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/db	28.398s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/gitx	0.017s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/graph	0.011s
?   	sourcecraft.dev/bigbes/sr-ht-cover/graph/api	[no test files]
?   	sourcecraft.dev/bigbes/sr-ht-cover/graph/model	[no test files]
goos: linux
goarch: amd64
pkg: sourcecraft.dev/bigbes/sr-ht-cover/ingest
cpu: AMD Ryzen 7 3700X 8-Core Processor             
BenchmarkParse/go/1x-2      	   16831	     71519 ns/op	  13.83 MB/s	   22984 B/op	     155 allocs/op
BenchmarkParse/go/1x-2      	   18666	     63421 ns/op	  15.59 MB/s	   22984 B/op	     155 allocs/op
BenchmarkParse/go/1x-2      	   22852	     53285 ns/op	  18.56 MB/s	   22984 B/op	     155 allocs/op
BenchmarkParse/go/1x-2      	   22564	     54423 ns/op	  18.17 MB/s	   22984 B/op	     155 allocs/op
BenchmarkParse/go/1x-2      	   19354	     60810 ns/op	  16.26 MB/s	   22984 B/op	     155 allocs/op
BenchmarkParse/go/1x-2      	   19096	     61416 ns/op	  16.10 MB/s	   22984 B/op	     155 allocs/op
BenchmarkParse/go/1x-2      	   19990	     59776 ns/op	  16.55 MB/s	   22984 B/op	     155 allocs/op
BenchmarkParse/go/1x-2      	   18517	     78985 ns/op	  12.52 MB/s	   22984 B/op	     155 allocs/op
BenchmarkParse/go/1x-2      	   19162	     61656 ns/op	  16.04 MB/s	   22984 B/op	     155 allocs/op
BenchmarkParse/go/1x-2      	   22240	     57470 ns/op	  17.21 MB/s	   22984 B/op	     155 allocs/op
BenchmarkParse/go/32x-2     	     690	   1611486 ns/op	  22.17 MB/s	  509232 B/op	    4358 allocs/op
BenchmarkParse/go/32x-2     	     764	   1874100 ns/op	  19.06 MB/s	  509239 B/op	    4358 allocs/op
BenchmarkParse/go/32x-2     	     612	   1891539 ns/op	  18.89 MB/s	  509232 B/op	    4358 allocs/op
BenchmarkParse/go/32x-2     	     547	   2246330 ns/op	  15.90 MB/s	  509232 B/op	    4358 allocs/op
BenchmarkParse/go/32x-2     	     720	   1713430 ns/op	  20.85 MB/s	  509232 B/op	    4358 allocs/op
BenchmarkParse/go/32x-2     	     669	   1982252 ns/op	  18.02 MB/s	  509232 B/op	    4358 allocs/op
BenchmarkParse/go/32x-2     	     568	   2030736 ns/op	  17.59 MB/s	  509232 B/op	    4358 allocs/op
BenchmarkParse/go/32x-2     	     624	   1799307 ns/op	  19.85 MB/s	  509232 B/op	    4358 allocs/op
BenchmarkParse/go/32x-2     	     747	   2049506 ns/op	  17.43 MB/s	  509232 B/op	    4358 allocs/op
BenchmarkParse/go/32x-2     	     577	   1826966 ns/op	  19.55 MB/s	  509232 B/op	    4358 allocs/op
BenchmarkParse/lcov/1x-2    	   12415	    104466 ns/op	   4.41 MB/s	   73776 B/op	     120 allocs/op
BenchmarkParse/lcov/1x-2    	    8690	    142552 ns/op	   3.23 MB/s	   73776 B/op	     120 allocs/op
BenchmarkParse/lcov/1x-2    	   11518	    109217 ns/op	   4.22 MB/s	   73776 B/op	     120 allocs/op
BenchmarkParse/lcov/1x-2    	   10000	    126023 ns/op	   3.66 MB/s	   73776 B/op	     120 allocs/op
BenchmarkParse/lcov/1x-2    	    9912	    122915 ns/op	   3.75 MB/s	   73776 B/op	     120 allocs/op
BenchmarkParse/lcov/1x-2    	   10000	    101864 ns/op	   4.53 MB/s	   73776 B/op	     120 allocs/op
BenchmarkParse/lcov/1x-2    	   14446	     82039 ns/op	   5.62 MB/s	   73776 B/op	     120 allocs/op
BenchmarkParse/lcov/1x-2    	   10000	    105807 ns/op	   4.36 MB/s	   73776 B/op	     120 allocs/op
BenchmarkParse/lcov/1x-2    	   13651	     85574 ns/op	   5.39 MB/s	   73776 B/op	     120 allocs/op
BenchmarkParse/lcov/1x-2    	   10000	    103321 ns/op	   4.46 MB/s	   73776 B/op	     120 allocs/op
BenchmarkParse/lcov/32x-2   	    1872	    603730 ns/op	  25.18 MB/s	  185423 B/op	    3554 allocs/op
BenchmarkParse/lcov/32x-2   	    2010	    574254 ns/op	  26.47 MB/s	  185424 B/op	    3554 allocs/op
BenchmarkParse/lcov/32x-2   	    2362	    451265 ns/op	  33.68 MB/s	  185423 B/op	    3554 allocs/op
BenchmarkParse/lcov/32x-2   	    2794	    505846 ns/op	  30.05 MB/s	  185423 B/op	    3554 allocs/op
BenchmarkParse/lcov/32x-2   	    2785	    405915 ns/op	  37.45 MB/s	  185424 B/op	    3554 allocs/op
BenchmarkParse/lcov/32x-2   	    3212	    340209 ns/op	  44.68 MB/s	  185423 B/op	    3554 allocs/op
BenchmarkParse/lcov/32x-2   	    3928	    345821 ns/op	  43.95 MB/s	  185423 B/op	    3554 allocs/op
BenchmarkParse/lcov/32x-2   	    3254	    377666 ns/op	  40.25 MB/s	  185423 B/op	    3554 allocs/op
BenchmarkParse/lcov/32x-2   	    2728	    525811 ns/op	  28.91 MB/s	  185424 B/op	    3554 allocs/op
BenchmarkParse/lcov/32x-2   	    2301	    576706 ns/op	  26.36 MB/s	  185424 B/op	    3554 allocs/op
BenchmarkParse/cobertura/1x-2         	    9344	    120297 ns/op	  12.12 MB/s	   27280 B/op	     412 allocs/op
BenchmarkParse/cobertura/1x-2         	   11011	    119449 ns/op	  12.21 MB/s	   27280 B/op	     412 allocs/op
BenchmarkParse/cobertura/1x-2         	    9105	    155804 ns/op	   9.36 MB/s	   27280 B/op	     412 allocs/op
BenchmarkParse/cobertura/1x-2         	    6504	    169685 ns/op	   8.59 MB/s	   27280 B/op	     412 allocs/op
BenchmarkParse/cobertura/1x-2         	   10000	    143398 ns/op	  10.17 MB/s	   27280 B/op	     412 allocs/op
BenchmarkParse/cobertura/1x-2         	    7965	    174044 ns/op	   8.38 MB/s	   27280 B/op	     412 allocs/op
BenchmarkParse/cobertura/1x-2         	   10000	    163172 ns/op	   8.94 MB/s	   27280 B/op	     412 allocs/op
BenchmarkParse/cobertura/1x-2         	   10000	    156678 ns/op	   9.31 MB/s	   27280 B/op	     412 allocs/op
BenchmarkParse/cobertura/1x-2         	   10000	    146325 ns/op	   9.96 MB/s	   27280 B/op	     412 allocs/op
BenchmarkParse/cobertura/1x-2         	    9249	    123541 ns/op	  11.80 MB/s	   27280 B/op	     412 allocs/op
BenchmarkParse/cobertura/32x-2        	     483	   2622028 ns/op	  12.90 MB/s	  435352 B/op	   10015 allocs/op
BenchmarkParse/cobertura/32x-2        	     480	   2767615 ns/op	  12.22 MB/s	  435352 B/op	   10015 allocs/op
BenchmarkParse/cobertura/32x-2        	     470	   2977034 ns/op	  11.36 MB/s	  435352 B/op	   10015 allocs/op
BenchmarkParse/cobertura/32x-2        	     370	   3141919 ns/op	  10.76 MB/s	  435352 B/op	   10015 allocs/op
BenchmarkParse/cobertura/32x-2        	     399	   2779755 ns/op	  12.16 MB/s	  435352 B/op	   10015 allocs/op
BenchmarkParse/cobertura/32x-2        	     372	   3530614 ns/op	   9.58 MB/s	  435352 B/op	   10015 allocs/op
BenchmarkParse/cobertura/32x-2        	     388	   2792777 ns/op	  12.11 MB/s	  435352 B/op	   10015 allocs/op
BenchmarkParse/cobertura/32x-2        	     370	   3020008 ns/op	  11.20 MB/s	  435352 B/op	   10015 allocs/op
BenchmarkParse/cobertura/32x-2        	     471	   2670488 ns/op	  12.66 MB/s	  435352 B/op	   10015 allocs/op
BenchmarkParse/cobertura/32x-2        	     302	   3630141 ns/op	   9.31 MB/s	  435352 B/op	   10015 allocs/op
BenchmarkLines/encode-2               	    1057	   1389392 ns/op	  832761 B/op	      28 allocs/op
BenchmarkLines/encode-2               	     564	   2198472 ns/op	  832749 B/op	      28 allocs/op
BenchmarkLines/encode-2               	     592	   2255136 ns/op	  832666 B/op	      27 allocs/op
BenchmarkLines/encode-2               	    1015	   1522761 ns/op	  832725 B/op	      27 allocs/op
BenchmarkLines/encode-2               	     762	   1940401 ns/op	  832690 B/op	      27 allocs/op
BenchmarkLines/encode-2               	    1551	   1633983 ns/op	  832611 B/op	      27 allocs/op
BenchmarkLines/encode-2               	     724	   1608296 ns/op	  832556 B/op	      27 allocs/op
BenchmarkLines/encode-2               	     874	   2024910 ns/op	  832711 B/op	      28 allocs/op
BenchmarkLines/encode-2               	     722	   1820039 ns/op	  832536 B/op	      27 allocs/op
BenchmarkLines/encode-2               	     771	   1802050 ns/op	  832404 B/op	      27 allocs/op
BenchmarkLines/decode-2               	    2078	    715482 ns/op	   1.49 MB/s	  114032 B/op	    1232 allocs/op
BenchmarkLines/decode-2               	    2114	    535322 ns/op	   2.00 MB/s	  114032 B/op	    1232 allocs/op
BenchmarkLines/decode-2               	    2010	    601417 ns/op	   1.78 MB/s	  114032 B/op	    1232 allocs/op
BenchmarkLines/decode-2               	    2008	    622593 ns/op	   1.72 MB/s	  114032 B/op	    1232 allocs/op
BenchmarkLines/decode-2               	    1545	    767892 ns/op	   1.39 MB/s	  114032 B/op	    1232 allocs/op
BenchmarkLines/decode-2               	    2109	    620569 ns/op	   1.72 MB/s	  114032 B/op	    1232 allocs/op
BenchmarkLines/decode-2               	    1870	    633460 ns/op	   1.69 MB/s	  114032 B/op	    1232 allocs/op
BenchmarkLines/decode-2               	    1833	    669344 ns/op	   1.60 MB/s	  114032 B/op	    1232 allocs/op
BenchmarkLines/decode-2               	    2068	    611381 ns/op	   1.75 MB/s	  114032 B/op	    1232 allocs/op
BenchmarkLines/decode-2               	    2139	    567468 ns/op	   1.88 MB/s	  114032 B/op	    1232 allocs/op
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/ingest	102.854s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/internal/build	0.015s
?   	sourcecraft.dev/bigbes/sr-ht-cover/internal/smoke	[no test files]
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/mcpsrv	0.013s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/service	0.017s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/web	0.048s
+ grep -q '^BenchmarkParse' /home/build/bench.txt
+ grep -q '^BenchmarkTrend' /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-cover/runs
++ git rev-parse HEAD
uploading bench.txt to https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-cover/runs?commit=03faa171c6a2f4e2656142c8cf70987c3bf0ba8d&ref=master&key=497&job_url=https://builds.srht.bigb.es/~bigbes/job/497&visibility=public
+ url='https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-cover/runs?commit=03faa171c6a2f4e2656142c8cf70987c3bf0ba8d&ref=master&key=497&job_url=https://builds.srht.bigb.es/~bigbes/job/497'
+ url='https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-cover/runs?commit=03faa171c6a2f4e2656142c8cf70987c3bf0ba8d&ref=master&key=497&job_url=https://builds.srht.bigb.es/~bigbes/job/497&visibility=public'
+ echo 'uploading bench.txt to https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-cover/runs?commit=03faa171c6a2f4e2656142c8cf70987c3bf0ba8d&ref=master&key=497&job_url=https://builds.srht.bigb.es/~bigbes/job/497&visibility=public'
+ set +x
{"id":12,"url":"https://bench.srht.bigb.es/~bigbes/sr-ht-cover/runs/12","benchmarks":10,"measurements":370,"new_benchmarks":10,"errors":[],"errors_total":0,"results_rejected":0}

coverage
1
2
3
4
5
6
7
8
9
10
11
+ cd sr-ht-cover
+ '[' '!' -r /home/build/.srht-token ']'
+ ref=master
+ ref=master
+ url=https://cov.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-cover/reports
++ git rev-parse HEAD
+ url='https://cov.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-cover/reports?commit=03faa171c6a2f4e2656142c8cf70987c3bf0ba8d&ref=master&key=497&job_url=https://builds.srht.bigb.es/~bigbes/job/497'
+ echo 'uploading cover.out to https://cov.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-cover/reports?commit=03faa171c6a2f4e2656142c8cf70987c3bf0ba8d&ref=master&key=497&job_url=https://builds.srht.bigb.es/~bigbes/job/497'
+ set +x
uploading cover.out to https://cov.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-cover/reports?commit=03faa171c6a2f4e2656142c8cf70987c3bf0ba8d&ref=master&key=497&job_url=https://builds.srht.bigb.es/~bigbes/job/497
{"id":14,"url":"https://cov.srht.bigb.es/~bigbes/sr-ht-cover/reports/14","metric":"statements","total":5151,"covered":2973,"pct":57.71694816540478,"files":66,"files_matched":66,"delta_pct":-32.59349397946823,"errors":[]}
Build complete: success a month ago (took 7 minutes)