api: pin the cache policy against a real listener, not a recorder
| 57.6 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 |
[#581] 2026/08/22 06:30:33 Running build on srht-build-1.lab.local [#581] 2026/08/22 06:30:33 Booting image alpine/edge (default) on port 22680 Waiting for VM to come up... ssh: connect to host localhost port 22680: Connection refused Attempt 1... kex_exchange_identification: read: Connection reset by peer Connection reset by 127.0.0.1 port 22680 Attempt 2... Warning: Permanently added '[localhost]:22680' (ED25519) to the list of known hosts. Warning: Permanently added '[localhost]:22680' (ED25519) to the list of known hosts. [#581] 2026/08/22 06:30:43 preconfigure: ok [#581] 2026/08/22 06:30:43 Waiting for guest to settle [#581] 2026/08/22 06:30:43 Sending tasks [#581] 2026/08/22 06:30:47 Sending build environment [#581] 2026/08/22 06:30:47 Sending secrets [#581] 2026/08/22 06:30:47 Resolving secret apk-ci-s3 [#581] 2026/08/22 06:30:47 Resolving secret 7dde4219-0783-4581-a67d-c94749de3600 [#581] 2026/08/22 06:30:47 Resolving secret 0e5b3530-6f19-4f30-9b73-9339dd382e46 [#581] 2026/08/22 06:30:48 Resolving secret c7968415-1a6d-4ca0-a188-150fb7f57b65 [#581] 2026/08/22 06:30:48 Installing packages Warning: Permanently added '[localhost]:22680' (ED25519) to the list of known hosts. ( 1/16) Upgrading libgcc (15.2.0-r8 -> 15.2.0-r9) ( 2/16) Upgrading libstdc++ (15.2.0-r8 -> 15.2.0-r9) ( 3/16) Upgrading libgcc-static (15.2.0-r8 -> 15.2.0-r9) ( 4/16) Upgrading libgomp (15.2.0-r8 -> 15.2.0-r9) ( 5/16) Upgrading libatomic (15.2.0-r8 -> 15.2.0-r9) ( 6/16) Upgrading gcc (15.2.0-r8 -> 15.2.0-r9) ( 7/16) Upgrading libstdc++-dev (15.2.0-r8 -> 15.2.0-r9) ( 8/16) Upgrading g++ (15.2.0-r8 -> 15.2.0-r9) ( 9/16) Upgrading libexpat (2.8.2-r0 -> 2.8.3-r0) (10/16) Upgrading ncurses-terminfo-base (6.6_p20260516-r0 -> 6.6_p20260815-r0) (11/16) Upgrading libncursesw (6.6_p20260516-r0 -> 6.6_p20260815-r0) (12/16) Installing eudev-libs (3.2.14-r7) (13/16) Upgrading device-mapper-libs (2.03.35-r4 -> 2.03.35-r5) (14/16) Upgrading libpanelw (6.6_p20260516-r0 -> 6.6_p20260815-r0) (15/16) Upgrading mercurial-pyc (7.2.3-r0 -> 7.2.4-r0) (16/16) Upgrading mercurial (7.2.3-r0 -> 7.2.4-r0) Executing busybox-1.38.0-r4.trigger OK: 527.2 MiB in 143 packages Warning: Permanently added '[localhost]:22680' (ED25519) to the list of known hosts. ( 1/16) Installing go (1.26.5-r0) ( 2/16) Installing minify (2.24.17-r0) ( 3/16) Installing postgresql-common (1.3-r0) Executing postgresql-common-1.3-r0.pre-install ( 4/16) Installing lz4-libs (1.10.0-r1) ( 5/16) Installing libpq (18.6-r0) ( 6/16) Installing postgresql18-client (18.6-r0) ( 7/16) Installing icu-data-en (78.1-r0) Executing icu-data-en-78.1-r0.post-install * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. ( 8/16) Installing icu-libs (78.1-r0) ( 9/16) Installing liburing (2.15-r0) (10/16) Installing libxml2 (2.13.9-r2) (11/16) Installing postgresql18 (18.6-r0) Executing postgresql18-18.6-r0.post-install * * If you want to use JIT in PostgreSQL, install postgresql18-jit or * postgresql-jit (if you didn't install specific major version of postgresql). * (12/16) Installing postgresql-common-openrc (1.3-r0) (13/16) Installing postgresql18-openrc (18.6-r0) (14/16) Installing rclone (1.74.4-r1) (15/16) Installing libsass (3.6.6-r0) (16/16) Installing sassc (3.6.2-r5) Executing busybox-1.38.0-r4.trigger Executing postgresql-common-1.3-r0.trigger * find: /usr/share/man: No such file or directory * Setting postgresql18 as the default version * find: /usr/share/man: No such file or directory OK: 846.7 MiB in 159 packages [#581] 2026/08/22 06:31:04 Cloning repositories Cloning into 'sr-ht-tokens'... + git -C sr-ht-tokens checkout -q 20270602f10938b83188272b0f598def6f9b7e37 + git -C sr-ht-tokens submodule update --init --recursive [#581] 2026/08/22 06:31:04 Running task cacher_install [#581] 2026/08/22 06:31:05 Running task cacher_init [#581] 2026/08/22 06:31:06 Running task scss [#581] 2026/08/22 06:31:06 Running task keygen [#581] 2026/08/22 06:31:06 Running task version [#581] 2026/08/22 06:31:07 Running task cache_restore [#581] 2026/08/22 06:31:11 Running task postgres [#581] 2026/08/22 06:31:13 Running task test [#581] 2026/08/22 06:31:17 Running task build [#581] 2026/08/22 06:31:25 Running task publish [#581] 2026/08/22 06:31:25 Running task publish_artifacts [#581] 2026/08/22 06:31:26 Running task cache_save [#581] 2026/08/22 06:31:27 Running task coverage [#581] 2026/08/22 06:31:27 Running task bench [#581] 2026/08/22 06:35:29 Uploading cover.out [#581] 2026/08/22 06:35:29 https://phoebe.lab.local:3900/srht/builds/~bigbes/581/f1c015d2475564ec/cover.out [#581] 2026/08/22 06:35:29 Uploading bench.txt [#581] 2026/08/22 06:35:29 https://phoebe.lab.local:3900/srht/builds/~bigbes/581/f1c015d2475564ec/bench.txt qemu-system-x86_64: terminating on signal 15 from pid 226190 (/bin/sh) |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
+ curl -sSL https://bigbes.pages.srht.bigb.es/ci-cacher/install.sh + sh install.sh: fetching https://bigbes.pages.srht.bigb.es/ci-cacher/cacher-linux-amd64 install.sh: checksum ok install.sh: added /home/build/.local/bin to ~/.buildenv PATH install.sh: installed → /home/build/.local/bin/cacher _ ___ __ _ ___ _ __ | |__ ___ _ __ / __/ _` |/ __| '_ \| '_ \ / _ \ '__| | (_| (_| | (__| | | | | | | __/ | \___\__,_|\___|_| |_|_| |_|\___|_| cacher: S3-backed CI cache helper for builds.sr.ht — replaces .builds/lib/ci-lib.sh go.bigb.es/cacher GitVersion: 0.2.2 GitCommit: 333189a20b7bb2b7440b083e151afd24bb5a61d4 GitTreeState: dirty BuildDate: 2026-08-06T22:16:13Z BuiltBy: unknown Clean: false GoVersion: go1.26.3 Compiler: gc ModuleSum: unknown Platform: linux/amd64 install.sh: note — /home/build/.local/bin is not on your PATH |
1 2 3 4 5 6 7 8 9 |
+ cacher init --endpoint https://s3.bigb.es --region garage --bucket docker-cache --prefix sr-ht-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=2027060 + base=2027060 + case "$base" in ++ git rev-list --count HEAD + ver=0.0.44 + echo 'export PKGVER=0.0.44 SRHT_VERSION=2027060' building 0.0.44 from 2027060 + echo 'building 0.0.44 from 2027060' + git status --porcelain |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
++ 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 HIT — gomod/341ca7f6532d7600.tar.zst → extract /home/build/go/pkg/mod
+ cacher dir download gocache/341ca7f6532d7600.tar.zst /home/build/.cache/go-build --optional
Cache HIT — gocache/341ca7f6532d7600.tar.zst → extract /home/build/.cache/go-build
+ cd sr-ht-tokens
+ chmod -R u+w /home/build/go/pkg/mod
+ 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' ']' + gofmt -l . + tee /tmp/fmt + test '!' -s /tmp/fmt + go vet ./... + go test -covermode=atomic -coverprofile=/home/build/cover.out ./... ok sourcecraft.dev/bigbes/sr-ht-tokens/api 0.011s coverage: 85.9% of statements ok sourcecraft.dev/bigbes/sr-ht-tokens/authn (cached) 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 (cached) coverage: 36.2% of statements ok sourcecraft.dev/bigbes/sr-ht-tokens/db 1.576s 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.018s coverage: 84.4% of statements ok sourcecraft.dev/bigbes/sr-ht-tokens/web 0.091s coverage: 90.4% of statements + + tail -1 go tool cover -func=/home/build/cover.out total: (statements) 69.9% |
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 |
+ cd sr-ht-tokens + REPODEST=/home/build/packages + abuild -d >>> tokens.sr.ht: Building build/tokens.sr.ht 0.0.44-r0 (using abuild 3.18.0_rc5-r0) started Sat, 22 Aug 2026 06:31:16 +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.3 ms, 162 kB, 125 kB, 77.2%, 37 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=2027060" -o tokensrht ./cmd/tokensrht go build -ldflags "-X sourcecraft.dev/bigbes/sr-ht-tokens/internal/build.Version=2027060" -o tokensrht-migrate ./cmd/tokensrht-migrate ./tokensrht is stamped 20270602f10938b83188272b0f598def6f9b7e37 >>> 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! /home/build/sr-ht-tokens/pkg/tokens.sr.ht/usr/bin/tokensrht is stamped 20270602f10938b83188272b0f598def6f9b7e37 /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.44-r0.apk >>> tokens.sr.ht: Build complete at Sat, 22 Aug 2026 06:31:24 +0000 elapsed time 0h 0m 8s >>> 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.44-r0.apk |
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/tokens.sr.ht-0.0.44-r0.apk + rclone copyto /home/build/packages/build/x86_64/tokens.sr.ht-0.0.44-r0.apk garage:repo/alpine/v3.22/bigbes/x86_64/tokens.sr.ht-0.0.44-r0.apk 2026/08/22 06:31:24 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.44-r0.apk + echo 'uploaded tokens.sr.ht-0.0.44-r0.apk' uploaded tokens.sr.ht-0.0.44-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' |
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.44-r0.apk published tokens.sr.ht-0.0.44-r0.apk -> 201 + echo 'published tokens.sr.ht-0.0.44-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 Skipped — gomod/341ca7f6532d7600.tar.zst already present (use --force) + cacher dir upload gocache/341ca7f6532d7600.tar.zst /home/build/.cache/go-build Skipped — gocache/341ca7f6532d7600.tar.zst already present (use --force) |
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.006s goos: linux goarch: amd64 pkg: sourcecraft.dev/bigbes/sr-ht-tokens/authn cpu: AMD Ryzen 7 3700X 8-Core Processor BenchmarkParseBearer/bearer-2 21102576 54.44 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 22439734 54.49 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 21252141 58.86 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 21732770 56.44 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 22527166 54.90 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 21568466 56.57 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 21638635 58.95 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 20932588 54.82 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 21440258 55.94 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 19443984 56.00 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 25606525 46.96 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 24093904 50.66 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 25705777 48.13 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 23061216 47.87 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 26204017 48.10 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 25460038 51.57 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 21441807 54.48 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 24287066 48.05 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 21638012 46.85 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 24817252 47.91 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 44426962 28.59 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 42449868 28.94 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 39816784 27.36 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 42987858 29.43 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 43674807 27.85 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 43403311 26.28 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 46037185 26.61 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 45842508 26.05 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 46818159 25.97 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 46016874 30.91 ns/op 0 B/op 0 allocs/op BenchmarkValidateTokenShape/valid-2 15628474 78.00 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 15320133 79.26 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 15128149 80.46 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 14688532 81.57 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 15509624 80.16 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 14908605 80.00 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 15266346 80.25 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 14710350 81.78 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 14135026 87.73 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 14465678 83.59 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/not-ours-2 442210 2867 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 396121 2964 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 426166 2796 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 415899 2805 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 405186 2880 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 413220 2807 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 389512 2954 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 425931 2784 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 400050 3052 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 374935 2912 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 378853 3147 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 376154 3040 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 429820 2895 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 426655 2768 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 396675 2977 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 411066 2783 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 427656 2748 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 336469 2989 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 375837 2940 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 436252 2861 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 388796 2845 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 464132 2591 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 447222 2593 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 468225 2517 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 498210 2469 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 462853 2540 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 439201 2587 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 479415 2608 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 455835 2544 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 417435 2632 ns/op 1512 B/op 11 allocs/op BenchmarkParentVerify/live-2 2034793 589.4 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 2027518 589.9 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 1992132 600.1 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 2013184 610.8 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 2002236 608.2 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 1816002 670.3 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 1890853 636.1 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 1780441 656.2 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 1921842 623.7 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 1883275 641.1 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/unknown-2 287682 4210 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 288439 4196 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 285708 4325 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 287206 4005 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 305311 4181 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 281647 4155 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 245955 4336 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 296040 4277 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 286131 4063 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 301796 3897 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/malformed-2 391915 3227 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 370216 3232 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 372880 3329 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 379358 3152 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 387840 3043 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 389793 3107 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 388555 3144 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 373807 3135 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 362631 3109 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 367568 3086 ns/op 1528 B/op 11 allocs/op PASS ok sourcecraft.dev/bigbes/sr-ht-tokens/authn 119.391s ? 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.005s goos: linux goarch: amd64 pkg: sourcecraft.dev/bigbes/sr-ht-tokens/db cpu: AMD Ryzen 7 3700X 8-Core Processor BenchmarkGenerateToken-2 4892569 260.6 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 4702915 274.9 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 4521926 257.2 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 4780216 256.2 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 4777669 250.7 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 4625476 254.5 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 4784828 250.8 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 4630465 254.5 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 4725472 256.3 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 4587970 253.9 ns/op 160 B/op 3 allocs/op BenchmarkHashToken-2 11040064 109.7 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 11473101 105.3 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 11423822 103.5 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 11723173 107.6 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 11185616 106.9 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 11244331 106.9 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 11094474 103.8 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 11758952 104.9 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 11316452 104.0 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 11205633 105.4 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 8652560 139.1 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 8342323 138.9 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 8938713 137.0 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 8726432 136.3 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 8542261 136.9 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 8781231 135.8 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 8766619 137.4 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 8688800 139.0 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 8680814 138.3 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 8675746 142.3 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 8164527 143.0 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 8380165 142.2 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 8633119 140.3 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 8718006 141.1 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 8330930 141.3 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 8566452 141.6 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 8285353 143.4 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 8335350 143.4 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 8656150 142.2 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 8625278 138.6 ns/op 64 B/op 1 allocs/op PASS ok sourcecraft.dev/bigbes/sr-ht-tokens/db 48.105s ? 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 592761 1761 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 664075 1718 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 761559 1674 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 726566 1697 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 704841 1701 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 732913 1667 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 763665 1691 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 722460 1681 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 730648 1666 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 692823 1677 ns/op 1360 B/op 20 allocs/op BenchmarkMintToken/parent-2 1543269 801.6 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1412889 837.2 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1499974 787.9 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1548750 772.7 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1571277 766.4 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1553766 770.0 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1546848 779.1 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1534485 773.1 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1548904 772.2 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1534550 783.6 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/working-stateless-2 686390 1731 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 684248 1722 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 678523 1767 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 716756 1739 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 671440 1699 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 706858 1724 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 732584 1755 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 661808 1686 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 725491 1740 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 683709 1697 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-registered-2 537442 2349 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 508921 2313 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 481275 2373 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 513892 2311 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 540836 2364 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 492619 2329 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 509062 2329 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 513493 2327 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 521554 2552 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 487617 2380 ns/op 1768 B/op 27 allocs/op BenchmarkExchange/stateless-2 431958 2628 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 444832 2634 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 477219 2633 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 431155 2619 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 468568 2529 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 493022 2553 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 465429 2555 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 478299 2535 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 463940 2553 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 475110 2542 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/registered-2 389036 3146 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 378861 3169 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 398011 3186 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 370134 3257 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 362355 3215 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 364220 3138 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 365054 3147 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 390427 3213 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 358267 3189 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 373605 3235 ns/op 2088 B/op 32 allocs/op PASS ok sourcecraft.dev/bigbes/sr-ht-tokens/service 71.979s PASS ok sourcecraft.dev/bigbes/sr-ht-tokens/web 0.006s + 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=20270602f10938b83188272b0f598def6f9b7e37&ref=master&key=581&job_url=https://builds.srht.bigb.es/~bigbes/job/581' + url='https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-tokens/runs?commit=20270602f10938b83188272b0f598def6f9b7e37&ref=master&key=581&job_url=https://builds.srht.bigb.es/~bigbes/job/581&visibility=public' + echo 'uploading bench.txt to https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-tokens/runs?commit=20270602f10938b83188272b0f598def6f9b7e37&ref=master&key=581&job_url=https://builds.srht.bigb.es/~bigbes/job/581&visibility=public' uploading bench.txt to https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-tokens/runs?commit=20270602f10938b83188272b0f598def6f9b7e37&ref=master&key=581&job_url=https://builds.srht.bigb.es/~bigbes/job/581&visibility=public + set +x {"id":56,"url":"https://bench.srht.bigb.es/~bigbes/sr-ht-tokens/runs/56","benchmarks":20,"measurements":600,"new_benchmarks":0,"errors":[],"errors_total":0,"results_rejected":0} |