#643

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

success

21c051e — Eugene Blikh

go.mod: take the corrected switcher panel from ecore

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

Artifacts

cover.out 305.6 KiB download »
bench.txt 11.3 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
[#643] 2026/08/23 12:44:10 Running build on srht-build-1.lab.local
[#643] 2026/08/23 12:44:10 Booting image alpine/edge (default) on port 22742
Waiting for VM to come up...
ssh: connect to host localhost port 22742: Connection refused
Attempt 1...
kex_exchange_identification: read: Connection reset by peer
Connection reset by 127.0.0.1 port 22742
Attempt 2...
Warning: Permanently added '[localhost]:22742' (ED25519) to the list of known hosts.
Warning: Permanently added '[localhost]:22742' (ED25519) to the list of known hosts.
[#643] 2026/08/23 12:44:21 preconfigure: ok
[#643] 2026/08/23 12:44:21 Waiting for guest to settle
[#643] 2026/08/23 12:44:21 Sending tasks
[#643] 2026/08/23 12:44:24 Sending build environment
[#643] 2026/08/23 12:44:24 Sending secrets
[#643] 2026/08/23 12:44:24 Resolving secret apk-ci-s3
[#643] 2026/08/23 12:44:24 Resolving secret 7dde4219-0783-4581-a67d-c94749de3600
[#643] 2026/08/23 12:44:25 Resolving secret 0e5b3530-6f19-4f30-9b73-9339dd382e46
[#643] 2026/08/23 12:44:25 Resolving secret c7968415-1a6d-4ca0-a188-150fb7f57b65
[#643] 2026/08/23 12:44:25 Installing packages
Warning: Permanently added '[localhost]:22742' (ED25519) to the list of known hosts.
OK: 527.2 MiB in 143 packages
Warning: Permanently added '[localhost]:22742' (ED25519) to the list of known hosts.
( 1/16) Installing go (1.27.0-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: 854.7 MiB in 159 packages
[#643] 2026/08/23 12:44:49 Cloning repositories
Cloning into 'sr-ht-cover'...
+ git -C sr-ht-cover checkout -q 21c051ec66482e2f00cdf6026fc16423b804a498
+ git -C sr-ht-cover submodule update --init --recursive
[#643] 2026/08/23 12:44:50 Running task cacher_install
[#643] 2026/08/23 12:44:51 Running task cacher_init
[#643] 2026/08/23 12:44:51 Running task scss
[#643] 2026/08/23 12:44:52 Running task keygen
[#643] 2026/08/23 12:44:53 Running task version
[#643] 2026/08/23 12:44:53 Running task cache_restore
[#643] 2026/08/23 12:45:10 Running task postgres
[#643] 2026/08/23 12:45:12 Running task test
[#643] 2026/08/23 12:47:25 Running task build
[#643] 2026/08/23 12:49:01 Running task publish
[#643] 2026/08/23 12:49:02 Running task publish_artifacts
[#643] 2026/08/23 12:49:03 Running task cache_save
[#643] 2026/08/23 12:49:16 Running task bench
[#643] 2026/08/23 12:51:39 Running task coverage
[#643] 2026/08/23 12:51:39 Uploading cover.out
[#643] 2026/08/23 12:51:40 https://phoebe.lab.local:3900/srht/builds/~bigbes/643/85ab0473fcf9eb7f/cover.out
[#643] 2026/08/23 12:51:40 Uploading bench.txt
[#643] 2026/08/23 12:51:40 https://phoebe.lab.local:3900/srht/builds/~bigbes/643/85ab0473fcf9eb7f/bench.txt
qemu-system-x86_64: terminating on signal 15 from pid 258384 (/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
+ building 0.9.1_git94 from v0.9.1-94-g21c051e
desc=v0.9.1-94-g21c051e
+ base=v0.9.1-94-g21c051e
+ case "$base" in
+ n=v0.9.1-94
+ ver=v0.9.1
+ ver=0.9.1_git94
+ echo 'export PKGVER=0.9.1_git94 SRHT_VERSION=v0.9.1-94-g21c051e'
+ echo 'building 0.9.1_git94 from v0.9.1-94-g21c051e'
+ 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/65a7182bf0157c82.tar.zst
++ cacher key 'gocache/{hash}.tar.zst' --hash-from sr-ht-cover/go.sum
+ KEY_GOC=gocache/65a7182bf0157c82.tar.zst
+ echo 'export KEY_MOD=gomod/65a7182bf0157c82.tar.zst KEY_GOC=gocache/65a7182bf0157c82.tar.zst'
+ cacher dir download gomod/65a7182bf0157c82.tar.zst /home/build/go/pkg/mod --optional
Cache MISS — gomod/65a7182bf0157c82.tar.zst
+ cacher dir download gocache/65a7182bf0157c82.tar.zst /home/build/.cache/go-build --optional
Cache MISS — gocache/65a7182bf0157c82.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
23
24
+ 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	4.381s	coverage: 96.9% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-cover/authn	0.121s	coverage: 97.3% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-cover/cmd/coversrht	0.224s	coverage: 43.0% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-cover/cmd/coversrht-migrate	0.320s	coverage: 43.9% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-cover/contrib/dev-stub	0.111s	coverage: 69.5% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-cover/core	0.052s	coverage: 94.7% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-cover/db	7.494s	coverage: 88.1% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-cover/gitx	0.366s	coverage: 95.3% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-cover/graph	0.091s	coverage: 92.5% 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	3.437s	coverage: 97.9% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-cover/internal/build	0.009s	coverage: [no statements]
?   	sourcecraft.dev/bigbes/sr-ht-cover/internal/smoke	[no test files]
ok  	sourcecraft.dev/bigbes/sr-ht-cover/internal/svcname	0.019s	coverage: [no statements]
ok  	sourcecraft.dev/bigbes/sr-ht-cover/mcpsrv	1.152s	coverage: 98.7% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-cover/service	0.950s	coverage: 92.0% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-cover/web	2.267s	coverage: 94.6% of statements
+ tail -1
+ go tool cover -func=/home/build/cover.out
total:									(statements)										61.8%
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
+ cd sr-ht-cover
+ REPODEST=/home/build/packages
+ abuild -d
>>> cov.sr.ht: Building build/cov.sr.ht 0.9.1_git94-r0 (using abuild 3.18.0_rc5-r0) started Sun, 23 Aug 2026 12:47:25 +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
(5.8 ms, 167 kB, 129 kB,  77.2%,  29 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-94-g21c051e" -o coversrht ./cmd/coversrht
go build -ldflags "-X sourcecraft.dev/bigbes/sr-ht-cover/internal/build.Version=v0.9.1-94-g21c051e" -o coversrht-migrate ./cmd/coversrht-migrate
./coversrht is stamped 21c051ec66482e2f00cdf6026fc16423b804a498
>>> 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
/home/build/sr-ht-cover/pkg/cov.sr.ht/usr/bin/coversrht is stamped 21c051ec66482e2f00cdf6026fc16423b804a498
/home/build/sr-ht-cover/pkg/cov.sr.ht/usr/bin/coversrht embeds main.min.4667e724.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: 32.4 MB
>>> cov.sr.ht*: Compressing data...
>>> cov.sr.ht*: Create checksum...
>>> cov.sr.ht*: Create cov.sr.ht-0.9.1_git94-r0.apk
>>> cov.sr.ht: Build complete at Sun, 23 Aug 2026 12:49:01 +0000 elapsed time 0h 1m 36s
>>> 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_git94-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_git94-r0.apk
+ rclone copyto /home/build/packages/build/x86_64/cov.sr.ht-0.9.1_git94-r0.apk garage:repo/alpine/v3.22/bigbes/x86_64/cov.sr.ht-0.9.1_git94-r0.apk
2026/08/23 12:49:01 NOTICE: Config file "/home/build/.config/rclone/rclone.conf" not found - using defaults
++ basename /home/build/packages/build/x86_64/cov.sr.ht-0.9.1_git94-r0.apk
+ echo 'uploaded cov.sr.ht-0.9.1_git94-r0.apk'
+ read -r f
uploaded cov.sr.ht-0.9.1_git94-r0.apk
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/cov.sr.ht-0.9.1_git94-r0.apk
+ echo 'published cov.sr.ht-0.9.1_git94-r0.apk -> 201'
published cov.sr.ht-0.9.1_git94-r0.apk -> 201
index: https://artifacts.srht.bigb.es/~bigbes/main/apk/v3.22/x86_64/APKINDEX.tar.gz
+ 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/65a7182bf0157c82.tar.zst /home/build/go/pkg/mod
Packing /home/build/go/pkg/mod → gomod/65a7182bf0157c82.tar.zst
+ cacher dir upload gocache/65a7182bf0157c82.tar.zst /home/build/.cache/go-build
Packing /home/build/.cache/go-build → gocache/65a7182bf0157c82.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
156
157
158
159
+ cd sr-ht-cover
+ '[' -z 'postgresql://build@127.0.0.1/coversrht_test?sslmode=disable' ']'
+ make -s bench
+ cat /home/build/bench.txt
+ 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
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/api	0.015s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/authn	0.014s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/cmd/coversrht	0.039s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/cmd/coversrht-migrate	0.012s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/contrib/dev-stub	0.038s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/core	0.011s
goos: linux
goarch: amd64
pkg: sourcecraft.dev/bigbes/sr-ht-cover/db
cpu: AMD Ryzen 7 3700X 8-Core Processor             
BenchmarkTrend/all-refs-2         	     682	   2073805 ns/op	   68598 B/op	    2102 allocs/op
BenchmarkTrend/all-refs-2         	     639	   1738595 ns/op	   68597 B/op	    2102 allocs/op
BenchmarkTrend/all-refs-2         	     762	   1443834 ns/op	   68598 B/op	    2102 allocs/op
BenchmarkTrend/all-refs-2         	     782	   1293612 ns/op	   68599 B/op	    2102 allocs/op
BenchmarkTrend/all-refs-2         	     810	   1858186 ns/op	   68598 B/op	    2102 allocs/op
BenchmarkTrend/all-refs-2         	     832	   2387268 ns/op	   68597 B/op	    2102 allocs/op
BenchmarkTrend/all-refs-2         	     543	   2053275 ns/op	   68597 B/op	    2102 allocs/op
BenchmarkTrend/all-refs-2         	     798	   1344011 ns/op	   68599 B/op	    2102 allocs/op
BenchmarkTrend/all-refs-2         	     849	   1686651 ns/op	   68598 B/op	    2102 allocs/op
BenchmarkTrend/all-refs-2         	     877	   1543577 ns/op	   68598 B/op	    2102 allocs/op
BenchmarkTrend/on-ref-2           	     457	   2656650 ns/op	   68709 B/op	    2071 allocs/op
BenchmarkTrend/on-ref-2           	     870	   1510466 ns/op	   68709 B/op	    2071 allocs/op
BenchmarkTrend/on-ref-2           	     723	   1782658 ns/op	   68710 B/op	    2071 allocs/op
BenchmarkTrend/on-ref-2           	     559	   2329358 ns/op	   68710 B/op	    2071 allocs/op
BenchmarkTrend/on-ref-2           	     586	   1864106 ns/op	   68709 B/op	    2071 allocs/op
BenchmarkTrend/on-ref-2           	     849	   1453582 ns/op	   68710 B/op	    2071 allocs/op
BenchmarkTrend/on-ref-2           	     760	   1499645 ns/op	   68710 B/op	    2071 allocs/op
BenchmarkTrend/on-ref-2           	     742	   2867730 ns/op	   68710 B/op	    2071 allocs/op
BenchmarkTrend/on-ref-2           	     655	   3098356 ns/op	   68709 B/op	    2071 allocs/op
BenchmarkTrend/on-ref-2           	     418	   3310462 ns/op	   68708 B/op	    2071 allocs/op
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/db	30.630s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/gitx	0.026s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/graph	0.025s
?   	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      	   20200	     61268 ns/op	  16.14 MB/s	   22984 B/op	     155 allocs/op
BenchmarkParse/go/1x-2      	   19131	     58592 ns/op	  16.88 MB/s	   22984 B/op	     155 allocs/op
BenchmarkParse/go/1x-2      	   19140	     63837 ns/op	  15.49 MB/s	   22984 B/op	     155 allocs/op
BenchmarkParse/go/1x-2      	   23032	     55538 ns/op	  17.81 MB/s	   22984 B/op	     155 allocs/op
BenchmarkParse/go/1x-2      	   25267	     46590 ns/op	  21.23 MB/s	   22984 B/op	     155 allocs/op
BenchmarkParse/go/1x-2      	   31231	     39298 ns/op	  25.17 MB/s	   22984 B/op	     155 allocs/op
BenchmarkParse/go/1x-2      	   27056	     37738 ns/op	  26.21 MB/s	   22984 B/op	     155 allocs/op
BenchmarkParse/go/1x-2      	   27711	     40023 ns/op	  24.71 MB/s	   22984 B/op	     155 allocs/op
BenchmarkParse/go/1x-2      	   51666	     25200 ns/op	  39.25 MB/s	   22984 B/op	     155 allocs/op
BenchmarkParse/go/1x-2      	   34749	     38074 ns/op	  25.98 MB/s	   22984 B/op	     155 allocs/op
BenchmarkParse/go/32x-2     	     962	   1329124 ns/op	  26.88 MB/s	  509232 B/op	    4358 allocs/op
BenchmarkParse/go/32x-2     	     706	   1668733 ns/op	  21.41 MB/s	  509232 B/op	    4358 allocs/op
BenchmarkParse/go/32x-2     	     904	   1556923 ns/op	  22.95 MB/s	  509232 B/op	    4358 allocs/op
BenchmarkParse/go/32x-2     	     739	   1539157 ns/op	  23.21 MB/s	  509232 B/op	    4358 allocs/op
BenchmarkParse/go/32x-2     	     931	   1494400 ns/op	  23.91 MB/s	  509232 B/op	    4358 allocs/op
BenchmarkParse/go/32x-2     	     813	   1552080 ns/op	  23.02 MB/s	  509232 B/op	    4358 allocs/op
BenchmarkParse/go/32x-2     	     939	   1420335 ns/op	  25.15 MB/s	  509232 B/op	    4358 allocs/op
BenchmarkParse/go/32x-2     	     742	   1556641 ns/op	  22.95 MB/s	  509232 B/op	    4358 allocs/op
BenchmarkParse/go/32x-2     	     780	   1632460 ns/op	  21.88 MB/s	  509232 B/op	    4358 allocs/op
BenchmarkParse/go/32x-2     	     721	   1564824 ns/op	  22.83 MB/s	  509232 B/op	    4358 allocs/op
BenchmarkParse/lcov/1x-2    	   14944	     94499 ns/op	   4.88 MB/s	   73776 B/op	     120 allocs/op
BenchmarkParse/lcov/1x-2    	   12592	     91862 ns/op	   5.02 MB/s	   73776 B/op	     120 allocs/op
BenchmarkParse/lcov/1x-2    	   14650	     79062 ns/op	   5.83 MB/s	   73776 B/op	     120 allocs/op
BenchmarkParse/lcov/1x-2    	   10000	    135156 ns/op	   3.41 MB/s	   73776 B/op	     120 allocs/op
BenchmarkParse/lcov/1x-2    	   10000	    119228 ns/op	   3.87 MB/s	   73776 B/op	     120 allocs/op
BenchmarkParse/lcov/1x-2    	   10000	    104145 ns/op	   4.43 MB/s	   73776 B/op	     120 allocs/op
BenchmarkParse/lcov/1x-2    	    9470	    123465 ns/op	   3.73 MB/s	   73776 B/op	     120 allocs/op
BenchmarkParse/lcov/1x-2    	   10000	    105198 ns/op	   4.38 MB/s	   73776 B/op	     120 allocs/op
BenchmarkParse/lcov/1x-2    	   10000	    113660 ns/op	   4.06 MB/s	   73776 B/op	     120 allocs/op
BenchmarkParse/lcov/1x-2    	   12152	    100871 ns/op	   4.57 MB/s	   73776 B/op	     120 allocs/op
BenchmarkParse/lcov/32x-2   	    1983	    594171 ns/op	  25.58 MB/s	  185423 B/op	    3554 allocs/op
BenchmarkParse/lcov/32x-2   	    2274	    640737 ns/op	  23.72 MB/s	  185424 B/op	    3554 allocs/op
BenchmarkParse/lcov/32x-2   	    1927	    630124 ns/op	  24.12 MB/s	  185424 B/op	    3554 allocs/op
BenchmarkParse/lcov/32x-2   	    2510	    603222 ns/op	  25.20 MB/s	  185424 B/op	    3554 allocs/op
BenchmarkParse/lcov/32x-2   	    1801	    601470 ns/op	  25.27 MB/s	  185424 B/op	    3554 allocs/op
BenchmarkParse/lcov/32x-2   	    2774	    465145 ns/op	  32.68 MB/s	  185424 B/op	    3554 allocs/op
BenchmarkParse/lcov/32x-2   	    2559	    472976 ns/op	  32.14 MB/s	  185424 B/op	    3554 allocs/op
BenchmarkParse/lcov/32x-2   	    2605	    501969 ns/op	  30.28 MB/s	  185424 B/op	    3554 allocs/op
BenchmarkParse/lcov/32x-2   	    3081	    461596 ns/op	  32.93 MB/s	  185424 B/op	    3554 allocs/op
BenchmarkParse/lcov/32x-2   	    2340	    499381 ns/op	  30.44 MB/s	  185424 B/op	    3554 allocs/op
BenchmarkParse/cobertura/1x-2         	    9529	    120673 ns/op	  12.08 MB/s	   27280 B/op	     412 allocs/op
BenchmarkParse/cobertura/1x-2         	   10658	    115012 ns/op	  12.68 MB/s	   27280 B/op	     412 allocs/op
BenchmarkParse/cobertura/1x-2         	   12235	     99171 ns/op	  14.70 MB/s	   27280 B/op	     412 allocs/op
BenchmarkParse/cobertura/1x-2         	   12213	    110091 ns/op	  13.24 MB/s	   27280 B/op	     412 allocs/op
BenchmarkParse/cobertura/1x-2         	   10000	    111615 ns/op	  13.06 MB/s	   27280 B/op	     412 allocs/op
BenchmarkParse/cobertura/1x-2         	   10000	    102623 ns/op	  14.21 MB/s	   27280 B/op	     412 allocs/op
BenchmarkParse/cobertura/1x-2         	   10000	    121097 ns/op	  12.04 MB/s	   27280 B/op	     412 allocs/op
BenchmarkParse/cobertura/1x-2         	   12139	     91638 ns/op	  15.91 MB/s	   27280 B/op	     412 allocs/op
BenchmarkParse/cobertura/1x-2         	   10000	    102396 ns/op	  14.24 MB/s	   27280 B/op	     412 allocs/op
BenchmarkParse/cobertura/1x-2         	   13881	     88735 ns/op	  16.43 MB/s	   27280 B/op	     412 allocs/op
BenchmarkParse/cobertura/32x-2        	     564	   2063289 ns/op	  16.39 MB/s	  435352 B/op	   10015 allocs/op
BenchmarkParse/cobertura/32x-2        	     595	   2390842 ns/op	  14.14 MB/s	  435352 B/op	   10015 allocs/op
BenchmarkParse/cobertura/32x-2        	     645	   2141718 ns/op	  15.79 MB/s	  435352 B/op	   10015 allocs/op
BenchmarkParse/cobertura/32x-2        	     499	   2077812 ns/op	  16.27 MB/s	  435352 B/op	   10015 allocs/op
BenchmarkParse/cobertura/32x-2        	     465	   2189057 ns/op	  15.45 MB/s	  435352 B/op	   10015 allocs/op
BenchmarkParse/cobertura/32x-2        	     676	   1860173 ns/op	  18.18 MB/s	  435352 B/op	   10015 allocs/op
BenchmarkParse/cobertura/32x-2        	     685	   2008121 ns/op	  16.84 MB/s	  435352 B/op	   10015 allocs/op
BenchmarkParse/cobertura/32x-2        	     505	   2519731 ns/op	  13.42 MB/s	  435352 B/op	   10015 allocs/op
BenchmarkParse/cobertura/32x-2        	     500	   2456049 ns/op	  13.77 MB/s	  435352 B/op	   10015 allocs/op
BenchmarkParse/cobertura/32x-2        	     506	   2266133 ns/op	  14.92 MB/s	  435352 B/op	   10015 allocs/op
BenchmarkLines/encode-2               	     938	   1470230 ns/op	 1096130 B/op	      26 allocs/op
BenchmarkLines/encode-2               	     795	   1493152 ns/op	 1095877 B/op	      26 allocs/op
BenchmarkLines/encode-2               	     781	   1478703 ns/op	 1095541 B/op	      26 allocs/op
BenchmarkLines/encode-2               	    1789	    730993 ns/op	 1095233 B/op	      26 allocs/op
BenchmarkLines/encode-2               	    1296	    863606 ns/op	 1095595 B/op	      26 allocs/op
BenchmarkLines/encode-2               	    1410	    857141 ns/op	 1095369 B/op	      26 allocs/op
BenchmarkLines/encode-2               	    1293	    864541 ns/op	 1095794 B/op	      26 allocs/op
BenchmarkLines/encode-2               	    1210	    932699 ns/op	 1095386 B/op	      26 allocs/op
BenchmarkLines/encode-2               	    1441	    998973 ns/op	 1095557 B/op	      26 allocs/op
BenchmarkLines/encode-2               	    1082	   1128278 ns/op	 1095710 B/op	      26 allocs/op
BenchmarkLines/decode-2               	    2956	    359434 ns/op	   3.04 MB/s	  113875 B/op	    1229 allocs/op
BenchmarkLines/decode-2               	    2322	    440158 ns/op	   2.49 MB/s	  113875 B/op	    1229 allocs/op
BenchmarkLines/decode-2               	    2781	    409536 ns/op	   2.67 MB/s	  113876 B/op	    1229 allocs/op
BenchmarkLines/decode-2               	    3597	    528283 ns/op	   2.07 MB/s	  113876 B/op	    1229 allocs/op
BenchmarkLines/decode-2               	    3080	    496031 ns/op	   2.21 MB/s	  113877 B/op	    1229 allocs/op
BenchmarkLines/decode-2               	    3813	    312372 ns/op	   3.50 MB/s	  113874 B/op	    1229 allocs/op
BenchmarkLines/decode-2               	    4216	    398623 ns/op	   2.74 MB/s	  113875 B/op	    1229 allocs/op
BenchmarkLines/decode-2               	    2074	    548789 ns/op	   1.99 MB/s	  113877 B/op	    1229 allocs/op
BenchmarkLines/decode-2               	    2598	    460107 ns/op	   2.38 MB/s	  113876 B/op	    1229 allocs/op
BenchmarkLines/decode-2               	    3332	    445928 ns/op	   2.45 MB/s	  113876 B/op	    1229 allocs/op
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/ingest	99.372s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/internal/build	0.037s
?   	sourcecraft.dev/bigbes/sr-ht-cover/internal/smoke	[no test files]
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/internal/svcname	0.015s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/mcpsrv	0.010s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/service	0.007s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-cover/web	0.029s
uploading bench.txt to https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-cover/runs?commit=21c051ec66482e2f00cdf6026fc16423b804a498&ref=master&key=643&job_url=https://builds.srht.bigb.es/~bigbes/job/643&visibility=public
+ url='https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-cover/runs?commit=21c051ec66482e2f00cdf6026fc16423b804a498&ref=master&key=643&job_url=https://builds.srht.bigb.es/~bigbes/job/643'
+ url='https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-cover/runs?commit=21c051ec66482e2f00cdf6026fc16423b804a498&ref=master&key=643&job_url=https://builds.srht.bigb.es/~bigbes/job/643&visibility=public'
+ echo 'uploading bench.txt to https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-cover/runs?commit=21c051ec66482e2f00cdf6026fc16423b804a498&ref=master&key=643&job_url=https://builds.srht.bigb.es/~bigbes/job/643&visibility=public'
+ set +x
{"id":85,"url":"https://bench.srht.bigb.es/~bigbes/sr-ht-cover/runs/85","benchmarks":10,"measurements":370,"new_benchmarks":0,"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
uploading cover.out to https://cov.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-cover/reports?commit=21c051ec66482e2f00cdf6026fc16423b804a498&ref=master&key=643&job_url=https://builds.srht.bigb.es/~bigbes/job/643
+ url='https://cov.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-cover/reports?commit=21c051ec66482e2f00cdf6026fc16423b804a498&ref=master&key=643&job_url=https://builds.srht.bigb.es/~bigbes/job/643'
+ echo 'uploading cover.out to https://cov.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-cover/reports?commit=21c051ec66482e2f00cdf6026fc16423b804a498&ref=master&key=643&job_url=https://builds.srht.bigb.es/~bigbes/job/643'
+ set +x
{"id":87,"url":"https://cov.srht.bigb.es/~bigbes/sr-ht-cover/reports/87","metric":"statements","total":6769,"covered":4182,"pct":61.78165164721524,"files":72,"files_matched":72,"delta_pct":0,"errors":[]}
Build complete: success a month ago (took 7 minutes)