go.mod: take the shared libraries' current heads
| 58.0 KiB | download » |
| 21.2 KiB | download » |
| view log » | |
| cacher_install | view log » |
| cacher_init | view log » |
| scss | view log » |
| keygen | view log » |
| version | view log » |
| cache_restore | view log » |
| postgres | view log » |
| test | view log » |
| build | view log » |
| publish | view log » |
| publish_artifacts | view log » |
| cache_save | view log » |
| coverage | view log » |
| bench | view log » |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
[#500] 2026/08/16 10:10:59 Running build on srht-build-1.lab.local [#500] 2026/08/16 10:10:59 Booting image alpine/edge (default) on port 22599 Waiting for VM to come up... ssh: connect to host localhost port 22599: Connection refused Attempt 1... kex_exchange_identification: read: Connection reset by peer Connection reset by 127.0.0.1 port 22599 Attempt 2... Warning: Permanently added '[localhost]:22599' (ED25519) to the list of known hosts. Warning: Permanently added '[localhost]:22599' (ED25519) to the list of known hosts. [#500] 2026/08/16 10:11:15 preconfigure: ok [#500] 2026/08/16 10:11:15 Waiting for guest to settle [#500] 2026/08/16 10:11:16 Sending tasks [#500] 2026/08/16 10:11:20 Sending build environment [#500] 2026/08/16 10:11:20 Sending secrets [#500] 2026/08/16 10:11:20 Resolving secret apk-ci-s3 [#500] 2026/08/16 10:11:21 Resolving secret 7dde4219-0783-4581-a67d-c94749de3600 [#500] 2026/08/16 10:11:21 Resolving secret 0e5b3530-6f19-4f30-9b73-9339dd382e46 [#500] 2026/08/16 10:11:21 Resolving secret c7968415-1a6d-4ca0-a188-150fb7f57b65 [#500] 2026/08/16 10:11:22 Installing packages Warning: Permanently added '[localhost]:22599' (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]:22599' (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 [#500] 2026/08/16 10:11:40 Cloning repositories Cloning into 'sr-ht-tokens'... + git -C sr-ht-tokens checkout -q b753f9e9b449840d49dd4391ea65b702f3f6e842 + git -C sr-ht-tokens submodule update --init --recursive [#500] 2026/08/16 10:11:41 Running task cacher_install [#500] 2026/08/16 10:11:43 Running task cacher_init [#500] 2026/08/16 10:11:43 Running task scss [#500] 2026/08/16 10:11:44 Running task keygen [#500] 2026/08/16 10:11:45 Running task version [#500] 2026/08/16 10:11:45 Running task cache_restore [#500] 2026/08/16 10:11:57 Running task postgres [#500] 2026/08/16 10:11:59 Running task test [#500] 2026/08/16 10:13:19 Running task build [#500] 2026/08/16 10:14:21 Running task publish [#500] 2026/08/16 10:14:22 Running task publish_artifacts [#500] 2026/08/16 10:14:23 Running task cache_save [#500] 2026/08/16 10:14:28 Running task coverage [#500] 2026/08/16 10:14:29 Running task bench [#500] 2026/08/16 10:18:36 Uploading cover.out [#500] 2026/08/16 10:18:37 https://phoebe.lab.local:3900/srht/builds/~bigbes/500/f0d6b4ed6757b941/cover.out [#500] 2026/08/16 10:18:37 Uploading bench.txt [#500] 2026/08/16 10:18:37 https://phoebe.lab.local:3900/srht/builds/~bigbes/500/f0d6b4ed6757b941/bench.txt qemu-system-x86_64: terminating on signal 15 from pid 136183 (/bin/sh) |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
+ sh + curl -sSL https://bigbes.pages.srht.bigb.es/ci-cacher/install.sh install.sh: fetching https://bigbes.pages.srht.bigb.es/ci-cacher/cacher-linux-amd64 install.sh: checksum ok install.sh: added /home/build/.local/bin to ~/.buildenv PATH install.sh: installed → /home/build/.local/bin/cacher _ ___ __ _ ___ _ __ | |__ ___ _ __ / __/ _` |/ __| '_ \| '_ \ / _ \ '__| | (_| (_| | (__| | | | | | | __/ | \___\__,_|\___|_| |_|_| |_|\___|_| cacher: S3-backed CI cache helper for builds.sr.ht — replaces .builds/lib/ci-lib.sh go.bigb.es/cacher GitVersion: 0.2.2 GitCommit: 333189a20b7bb2b7440b083e151afd24bb5a61d4 GitTreeState: dirty BuildDate: 2026-08-06T22:16:13Z BuiltBy: unknown Clean: false GoVersion: go1.26.3 Compiler: gc ModuleSum: unknown Platform: linux/amd64 install.sh: note — /home/build/.local/bin is not on your PATH |
1 2 3 4 5 6 7 8 9 |
+ cacher init --endpoint https://s3.bigb.es --region garage --bucket docker-cache --prefix sr-ht-tokens/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-tokens/deps key_id_len=26 key_id_prefix=GK secret_len=64 ping bucket: OK put canary: OK get canary: OK delete canary: OK doctor: all checks passed |
1 2 3 4 |
+ cacher dir download scss/0.84.5-779ad9f174ea5ab7e755f6df0ec9e5912d67dd16.tar.zst /home/build/scss --exec $'\n git clone --depth 1 --branch "$CORE_VER" \\\n https://git.sr.ht/~sircmpwn/core.sr.ht /tmp/core\n mkdir -p ~/scss/bootstrap\n cp /tmp/core/scss/*.scss /tmp/core/scss/*.css ~/scss/\n git init -q /tmp/bootstrap\n git -C /tmp/bootstrap remote add origin https://github.com/twbs/bootstrap\n git -C /tmp/bootstrap fetch -q --depth 1 origin "$BOOTSTRAP_REV"\n git -C /tmp/bootstrap checkout -q FETCH_HEAD\n cp -r /tmp/bootstrap/scss ~/scss/bootstrap/scss\n' Cache HIT — scss/0.84.5-779ad9f174ea5ab7e755f6df0ec9e5912d67dd16.tar.zst → extract /home/build/scss + sudo mkdir -p /usr/share/sourcehut + sudo cp -r /home/build/scss /usr/share/sourcehut/scss |
1 2 3 4 5 6 7 8 9 10 11 |
+ cd sr-ht-tokens ++ git describe --tags --always --dirty + desc=b753f9e + base=b753f9e + case "$base" in ++ git rev-list --count HEAD + ver=0.0.41 + echo 'export PKGVER=0.0.41 SRHT_VERSION=b753f9e' building 0.0.41 from b753f9e + echo 'building 0.0.41 from b753f9e' + git status --porcelain |
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-tokens/go.sum
+ KEY_MOD=gomod/341ca7f6532d7600.tar.zst
++ cacher key 'gocache/{hash}.tar.zst' --hash-from sr-ht-tokens/go.sum
+ KEY_GOC=gocache/341ca7f6532d7600.tar.zst
+ echo 'export KEY_MOD=gomod/341ca7f6532d7600.tar.zst KEY_GOC=gocache/341ca7f6532d7600.tar.zst'
+ cacher dir download gomod/341ca7f6532d7600.tar.zst /home/build/go/pkg/mod --optional
Cache MISS — gomod/341ca7f6532d7600.tar.zst
+ cacher dir download gocache/341ca7f6532d7600.tar.zst /home/build/.cache/go-build --optional
Cache MISS — gocache/341ca7f6532d7600.tar.zst
+ cd sr-ht-tokens
+ chmod -R u+w /home/build/go/pkg/mod
+ true
+ go mod verify
+ go mod download
+ go mod verify
all modules verified
|
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 tokenssrht_test ++ id -un + echo 'export TOKENSSRHT_TEST_PG='\''postgresql://build@127.0.0.1/tokenssrht_test?sslmode=disable'\''' |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
+ cd sr-ht-tokens + '[' -z 'postgresql://build@127.0.0.1/tokenssrht_test?sslmode=disable' ']' + tee /tmp/fmt + gofmt -l . + test '!' -s /tmp/fmt + go vet ./... + go test -covermode=atomic -coverprofile=/home/build/cover.out ./... ok sourcecraft.dev/bigbes/sr-ht-tokens/api 0.012s coverage: 85.7% of statements ok sourcecraft.dev/bigbes/sr-ht-tokens/authn 0.013s coverage: 98.7% of statements sourcecraft.dev/bigbes/sr-ht-tokens/cmd/tokensrht coverage: 0.0% of statements sourcecraft.dev/bigbes/sr-ht-tokens/cmd/tokensrht-migrate coverage: 0.0% of statements ok sourcecraft.dev/bigbes/sr-ht-tokens/core 0.004s coverage: 36.2% of statements ok sourcecraft.dev/bigbes/sr-ht-tokens/db 1.848s coverage: 73.0% of statements ? sourcecraft.dev/bigbes/sr-ht-tokens/internal/build [no test files] ok sourcecraft.dev/bigbes/sr-ht-tokens/service 0.021s coverage: 84.9% of statements ok sourcecraft.dev/bigbes/sr-ht-tokens/web 0.114s coverage: 90.4% of statements + + tail -1 go tool cover -func=/home/build/cover.out total: (statements) 70.0% |
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 |
+ cd sr-ht-tokens + REPODEST=/home/build/packages + abuild -d >>> tokens.sr.ht: Building build/tokens.sr.ht 0.0.41-r0 (using abuild 3.18.0_rc5-r0) started Sun, 16 Aug 2026 10:13:19 +0000 >>> tokens.sr.ht: Validating /home/build/sr-ht-tokens/APKBUILD... >>> WARNING: tokens.sr.ht: AGENTS.md is not in $source/$install/$triggers >>> WARNING: tokens.sr.ht: CLAUDE.md is not in $source/$install/$triggers >>> WARNING: tokens.sr.ht: Makefile is not in $source/$install/$triggers >>> WARNING: tokens.sr.ht: README.md is not in $source/$install/$triggers >>> WARNING: tokens.sr.ht: SPEC.md is not in $source/$install/$triggers >>> WARNING: tokens.sr.ht: api is not in $source/$install/$triggers >>> WARNING: tokens.sr.ht: authn is not in $source/$install/$triggers >>> WARNING: tokens.sr.ht: cmd is not in $source/$install/$triggers >>> WARNING: tokens.sr.ht: config.example.ini is not in $source/$install/$triggers >>> WARNING: tokens.sr.ht: core is not in $source/$install/$triggers >>> WARNING: tokens.sr.ht: db is not in $source/$install/$triggers >>> WARNING: tokens.sr.ht: docs is not in $source/$install/$triggers >>> WARNING: tokens.sr.ht: go.mod is not in $source/$install/$triggers >>> WARNING: tokens.sr.ht: go.sum is not in $source/$install/$triggers >>> WARNING: tokens.sr.ht: internal is not in $source/$install/$triggers >>> WARNING: tokens.sr.ht: migrations is not in $source/$install/$triggers >>> WARNING: tokens.sr.ht: schema.sql is not in $source/$install/$triggers >>> WARNING: tokens.sr.ht: scss is not in $source/$install/$triggers >>> WARNING: tokens.sr.ht: service is not in $source/$install/$triggers >>> WARNING: tokens.sr.ht: web is not in $source/$install/$triggers >>> tokens.sr.ht: Cleaning up srcdir >>> tokens.sr.ht: Cleaning up pkgdir >>> tokens.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 (4.2 ms, 162 kB, 125 kB, 77.2%, 39 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-tokens/internal/build.Version=b753f9e" -o tokensrht ./cmd/tokensrht go build -ldflags "-X sourcecraft.dev/bigbes/sr-ht-tokens/internal/build.Version=b753f9e" -o tokensrht-migrate ./cmd/tokensrht-migrate ./tokensrht is stamped b753f9e9b449840d49dd4391ea65b702f3f6e842 >>> tokens.sr.ht: Entering fakeroot... install -Dm755 tokensrht /home/build/sr-ht-tokens/pkg/tokens.sr.ht/usr/bin/tokensrht install -Dm755 tokensrht-migrate /home/build/sr-ht-tokens/pkg/tokens.sr.ht/usr/bin/tokensrht-migrate mkdir -p /home/build/sr-ht-tokens/pkg/tokens.sr.ht/usr/share/sourcehut/migrations/tokens.sr.ht install -Dm644 -t /home/build/sr-ht-tokens/pkg/tokens.sr.ht/usr/share/sourcehut/migrations/tokens.sr.ht migrations/*.sql install -Dm644 schema.sql /home/build/sr-ht-tokens/pkg/tokens.sr.ht/usr/share/sourcehut/tokens.sr.ht.sql libfakeroot internal error: payload not recognized! libfakeroot internal error: payload not recognized! /home/build/sr-ht-tokens/pkg/tokens.sr.ht/usr/bin/tokensrht is stamped b753f9e9b449840d49dd4391ea65b702f3f6e842 /home/build/sr-ht-tokens/pkg/tokens.sr.ht/usr/bin/tokensrht embeds main.min.ef61981e.css >>> tokens.sr.ht*: Running postcheck for tokens.sr.ht >>> tokens.sr.ht*: Preparing package tokens.sr.ht... >>> tokens.sr.ht*: Stripping binaries >>> tokens.sr.ht*: Tracing dependencies... >>> tokens.sr.ht*: Package size: 21.0 MB >>> tokens.sr.ht*: Compressing data... >>> tokens.sr.ht*: Create checksum... >>> tokens.sr.ht*: Create tokens.sr.ht-0.0.41-r0.apk >>> tokens.sr.ht: Build complete at Sun, 16 Aug 2026 10:14:21 +0000 elapsed time 0h 1m 2s >>> tokens.sr.ht: Cleaning up srcdir >>> tokens.sr.ht: Cleaning up pkgdir >>> tokens.sr.ht: Cleaning up tmpdir >>> tokens.sr.ht: Updating the build/x86_64 repository index... >>> tokens.sr.ht: Signing the index... + find /home/build/packages -name '*.apk' /home/build/packages/build/x86_64/tokens.sr.ht-0.0.41-r0.apk |
1 2 3 4 5 6 7 8 9 10 11 12 |
+ set +x + read -r f + find /home/build/packages -name '*.apk' -print ++ basename /home/build/packages/build/x86_64/tokens.sr.ht-0.0.41-r0.apk + rclone copyto /home/build/packages/build/x86_64/tokens.sr.ht-0.0.41-r0.apk garage:repo/alpine/v3.22/bigbes/x86_64/tokens.sr.ht-0.0.41-r0.apk 2026/08/16 10:14:21 NOTICE: Config file "/home/build/.config/rclone/rclone.conf" not found - using defaults ++ basename /home/build/packages/build/x86_64/tokens.sr.ht-0.0.41-r0.apk uploaded tokens.sr.ht-0.0.41-r0.apk published; apk-mirror on phoebe re-indexes within 15 minutes + echo 'uploaded tokens.sr.ht-0.0.41-r0.apk' + read -r f + echo 'published; apk-mirror on phoebe re-indexes within 15 minutes' |
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/tokens.sr.ht-0.0.41-r0.apk published tokens.sr.ht-0.0.41-r0.apk -> 201 + echo 'published tokens.sr.ht-0.0.41-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' |
1 2 3 4 |
+ cacher dir upload gomod/341ca7f6532d7600.tar.zst /home/build/go/pkg/mod Packing /home/build/go/pkg/mod → gomod/341ca7f6532d7600.tar.zst + cacher dir upload gocache/341ca7f6532d7600.tar.zst /home/build/.cache/go-build Packing /home/build/.cache/go-build → gocache/341ca7f6532d7600.tar.zst |
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 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 |
+ cd sr-ht-tokens + go test '-run=^$' -bench=. -benchmem -count=10 -timeout 20m ./... + cat /home/build/bench.txt PASS ok sourcecraft.dev/bigbes/sr-ht-tokens/api 0.009s goos: linux goarch: amd64 pkg: sourcecraft.dev/bigbes/sr-ht-tokens/authn cpu: AMD Ryzen 7 3700X 8-Core Processor BenchmarkParseBearer/bearer-2 18904788 69.74 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 13185666 80.12 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 19186395 84.30 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 17324344 67.56 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 16345765 68.86 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 19087620 69.25 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 16012372 75.66 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 17752585 68.44 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 17408506 66.48 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 19194724 61.66 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 26123808 53.01 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 22818648 52.70 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 26383297 52.47 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 23127674 62.90 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 23794152 55.15 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 22638511 51.47 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 23569200 55.28 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 25423792 49.53 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 18116538 57.92 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 24390687 55.75 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 39951253 31.26 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 38357770 35.91 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 31325487 37.54 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 37823220 31.51 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 35176839 33.34 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 36155340 32.30 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 45986437 27.77 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 41719962 28.98 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 42516158 29.22 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 41635081 29.82 ns/op 0 B/op 0 allocs/op BenchmarkValidateTokenShape/valid-2 14356738 88.16 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 14967916 88.98 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 13507644 88.52 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 14363440 89.53 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 12636816 98.98 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 13155567 89.31 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 12479047 87.52 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 13178360 97.17 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 12625597 99.81 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 12589173 94.55 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/not-ours-2 337602 3586 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 365702 3622 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 380845 4006 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 299356 3717 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 284131 3609 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 380318 3343 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 300738 3402 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 400423 3478 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 398917 3779 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 356672 3456 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 364149 3178 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 394470 3159 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 354980 3337 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 373590 3131 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 393213 3529 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 324388 3382 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 326416 3411 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 392067 3134 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 377446 3455 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 330715 3430 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 400744 2975 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 436204 3419 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 380184 3476 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 405865 2969 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 357913 3140 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 382441 2935 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 423082 3468 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 329085 3266 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 444786 2973 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 393578 3004 ns/op 1512 B/op 11 allocs/op BenchmarkParentVerify/live-2 1785338 691.7 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 1648874 717.7 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 1746661 693.9 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 1885875 647.5 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 1795228 767.9 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 1747532 676.2 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 1774766 660.7 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 1838794 649.9 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 1836501 649.6 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 1786905 658.5 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/unknown-2 255651 4836 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 289707 4677 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 313260 4431 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 277810 4397 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 276118 4372 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 254056 4423 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 275830 4402 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 287684 4947 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 237625 4748 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 288717 4788 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/malformed-2 309622 4000 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 353834 3887 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 250976 4056 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 337063 4076 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 280047 3754 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 299871 3896 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 350722 3848 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 272247 4318 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 353571 3996 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 271960 3976 ns/op 1528 B/op 11 allocs/op PASS ok sourcecraft.dev/bigbes/sr-ht-tokens/authn 124.196s ? sourcecraft.dev/bigbes/sr-ht-tokens/cmd/tokensrht [no test files] ? sourcecraft.dev/bigbes/sr-ht-tokens/cmd/tokensrht-migrate [no test files] PASS ok sourcecraft.dev/bigbes/sr-ht-tokens/core 0.003s goos: linux goarch: amd64 pkg: sourcecraft.dev/bigbes/sr-ht-tokens/db cpu: AMD Ryzen 7 3700X 8-Core Processor BenchmarkGenerateToken-2 4330723 311.8 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 3543603 337.5 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 3166305 336.4 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 3384184 320.0 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 3884270 313.0 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 4089739 318.3 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 3998329 285.6 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 4251385 290.0 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 4311405 296.7 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 4369832 288.2 ns/op 160 B/op 3 allocs/op BenchmarkHashToken-2 9881176 126.0 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 8197917 129.4 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 9931861 122.5 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 8822035 129.5 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 9662877 127.0 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 10536320 124.0 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 9514820 121.1 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 9994093 122.1 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 9268285 124.7 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 9945567 129.6 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 7576695 153.9 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 7014130 164.5 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 7630952 164.8 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 8593086 145.6 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 8340826 153.1 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 7859414 148.4 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 8557770 145.4 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 8242398 151.3 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 7988420 151.8 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 7614582 149.6 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 7908698 146.6 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 7960869 143.0 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 7885983 150.6 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 8502476 144.6 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 8547764 144.6 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 8795889 142.0 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 7896170 148.6 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 8049110 144.0 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 8154328 144.2 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 8376009 139.9 ns/op 64 B/op 1 allocs/op PASS ok sourcecraft.dev/bigbes/sr-ht-tokens/db 48.178s ? sourcecraft.dev/bigbes/sr-ht-tokens/internal/build [no test files] goos: linux goarch: amd64 pkg: sourcecraft.dev/bigbes/sr-ht-tokens/service cpu: AMD Ryzen 7 3700X 8-Core Processor BenchmarkSeal-2 600357 1752 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 730710 1719 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 603834 1811 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 614606 1758 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 732672 1893 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 585700 1893 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 686246 1960 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 692067 1853 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 624085 1819 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 662586 1804 ns/op 1360 B/op 20 allocs/op BenchmarkMintToken/parent-2 1500727 805.9 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1328544 898.7 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1286581 919.3 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1357900 887.7 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1324188 896.2 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1331623 910.5 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1302716 914.2 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1284795 937.1 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1333850 906.2 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1357520 900.8 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/working-stateless-2 568272 1963 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 658400 2127 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 683217 2003 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 625480 1963 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 613760 1997 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 599016 2057 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 580279 2090 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 576076 1942 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 600166 1878 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 661380 1900 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-registered-2 469232 2534 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 432888 2635 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 456985 2761 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 433306 2656 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 472963 2730 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 339180 2967 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 377883 2771 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 451354 2669 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 374028 2865 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 462416 2745 ns/op 1768 B/op 27 allocs/op BenchmarkExchange/stateless-2 427362 2965 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 441308 2938 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 392427 2851 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 396121 2848 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 409944 2952 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 435835 2972 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 404064 2946 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 396412 2816 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 400672 2676 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 457873 3064 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/registered-2 374067 3384 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 339271 3443 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 375919 3289 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 366158 3368 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 332388 3290 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 365701 3339 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 380012 3271 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 358362 3240 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 369481 3403 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 351018 3491 ns/op 2088 B/op 32 allocs/op PASS ok sourcecraft.dev/bigbes/sr-ht-tokens/service 72.120s PASS ok sourcecraft.dev/bigbes/sr-ht-tokens/web 0.008s + grep -q '^BenchmarkHashToken' /home/build/bench.txt + grep -q '^BenchmarkParentVerify/' /home/build/bench.txt + grep -q '^BenchmarkExchange/' /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-tokens/runs ++ git rev-parse HEAD + url='https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-tokens/runs?commit=b753f9e9b449840d49dd4391ea65b702f3f6e842&ref=master&key=500&job_url=https://builds.srht.bigb.es/~bigbes/job/500' + url='https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-tokens/runs?commit=b753f9e9b449840d49dd4391ea65b702f3f6e842&ref=master&key=500&job_url=https://builds.srht.bigb.es/~bigbes/job/500&visibility=public' uploading bench.txt to https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-tokens/runs?commit=b753f9e9b449840d49dd4391ea65b702f3f6e842&ref=master&key=500&job_url=https://builds.srht.bigb.es/~bigbes/job/500&visibility=public + echo 'uploading bench.txt to https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-tokens/runs?commit=b753f9e9b449840d49dd4391ea65b702f3f6e842&ref=master&key=500&job_url=https://builds.srht.bigb.es/~bigbes/job/500&visibility=public' + set +x {"id":18,"url":"https://bench.srht.bigb.es/~bigbes/sr-ht-tokens/runs/18","benchmarks":20,"measurements":600,"new_benchmarks":20,"errors":[],"errors_total":0,"results_rejected":0} |