ci: track core.sr.ht 0.84.7 for the shared SCSS
| 60.4 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 |
[#704] 2026/08/31 06:07:05 Worker version 0.105.5 (built on 2026-08-31) [#704] 2026/08/31 06:07:05 Running build on srht-build-1.lab.local [#704] 2026/08/31 06:07:05 Booting image alpine/edge (default) on port 22803 Waiting for VM to come up... ssh: connect to host localhost port 22803: Connection refused Attempt 1... kex_exchange_identification: read: Connection reset by peer Connection reset by 127.0.0.1 port 22803 Attempt 2... Warning: Permanently added '[localhost]:22803' (ED25519) to the list of known hosts. Warning: Permanently added '[localhost]:22803' (ED25519) to the list of known hosts. [#704] 2026/08/31 06:07:15 preconfigure: ok [#704] 2026/08/31 06:07:15 Waiting for guest to settle [#704] 2026/08/31 06:07:15 Sending tasks [#704] 2026/08/31 06:07:18 Sending build environment [#704] 2026/08/31 06:07:18 Sending secrets [#704] 2026/08/31 06:07:18 Resolving secret apk-ci-s3 [#704] 2026/08/31 06:07:19 Resolving secret 7dde4219-0783-4581-a67d-c94749de3600 [#704] 2026/08/31 06:07:19 Resolving secret 0e5b3530-6f19-4f30-9b73-9339dd382e46 [#704] 2026/08/31 06:07:19 Resolving secret c7968415-1a6d-4ca0-a188-150fb7f57b65 [#704] 2026/08/31 06:07:20 Installing packages Warning: Permanently added '[localhost]:22803' (ED25519) to the list of known hosts. OK: 527.2 MiB in 142 packages Warning: Permanently added '[localhost]:22803' (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 158 packages [#704] 2026/08/31 06:07:43 Cloning repositories Cloning into 'sr-ht-tokens'... + git -C sr-ht-tokens checkout -q 9a4371e1a8d5eeaaa67df44a57988d533d866ee1 + git -C sr-ht-tokens submodule update --init --recursive [#704] 2026/08/31 06:07:43 Running task cacher_install [#704] 2026/08/31 06:07:44 Running task cacher_init [#704] 2026/08/31 06:07:45 Running task scss [#704] 2026/08/31 06:07:49 Running task keygen [#704] 2026/08/31 06:07:50 Running task version [#704] 2026/08/31 06:07:50 Running task cache_restore [#704] 2026/08/31 06:07:55 Running task postgres [#704] 2026/08/31 06:07:56 Running task test [#704] 2026/08/31 06:08:01 Running task build [#704] 2026/08/31 06:08:12 Running task publish [#704] 2026/08/31 06:08:13 Running task publish_artifacts [#704] 2026/08/31 06:08:15 Running task cache_save [#704] 2026/08/31 06:08:15 Running task coverage [#704] 2026/08/31 06:08:16 Running task bench [#704] 2026/08/31 06:12:37 Uploading cover.out [#704] 2026/08/31 06:12:37 https://phoebe.lab.local:3900/srht/builds/~bigbes/704/3faa7ffe5fdcb8b1/cover.out [#704] 2026/08/31 06:12:37 Uploading bench.txt [#704] 2026/08/31 06:12:37 https://phoebe.lab.local:3900/srht/builds/~bigbes/704/3faa7ffe5fdcb8b1/bench.txt qemu-system-x86_64: terminating on signal 15 from pid 367662 (/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 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
+ cacher dir download scss/0.84.7-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 MISS — scss/0.84.7-779ad9f174ea5ab7e755f6df0ec9e5912d67dd16.tar.zst Running — sh -c "\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" Cloning into '/tmp/core'... warning: refs/tags/0.84.7 7fc4121435c4aae7c3298a303eb8eb2cd332ef1d is not a commit! Note: switching to '513b4af8f6c1bf6882e16569f93d04588e49f7d4'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c <new-branch-name> Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false Packing /home/build/scss → scss/0.84.7-779ad9f174ea5ab7e755f6df0ec9e5912d67dd16.tar.zst Cached → scss/0.84.7-779ad9f174ea5ab7e755f6df0ec9e5912d67dd16.tar.zst + 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=9a4371e + base=9a4371e + case "$base" in ++ git rev-list --count HEAD + ver=0.0.49 + echo 'export PKGVER=0.0.49 SRHT_VERSION=9a4371e' building 0.0.49 from 9a4371e + echo 'building 0.0.49 from 9a4371e' + 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/7bff880eb96a5cd0.tar.zst
++ cacher key 'gocache/{hash}.tar.zst' --hash-from sr-ht-tokens/go.sum
+ KEY_GOC=gocache/7bff880eb96a5cd0.tar.zst
+ echo 'export KEY_MOD=gomod/7bff880eb96a5cd0.tar.zst KEY_GOC=gocache/7bff880eb96a5cd0.tar.zst'
+ cacher dir download gomod/7bff880eb96a5cd0.tar.zst /home/build/go/pkg/mod --optional
Cache HIT — gomod/7bff880eb96a5cd0.tar.zst → extract /home/build/go/pkg/mod
+ cacher dir download gocache/7bff880eb96a5cd0.tar.zst /home/build/.cache/go-build --optional
Cache HIT — gocache/7bff880eb96a5cd0.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 (cached) coverage: 86.2% 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 2.161s coverage: 73.4% of statements ? sourcecraft.dev/bigbes/sr-ht-tokens/internal/build [no test files] ok sourcecraft.dev/bigbes/sr-ht-tokens/service 0.016s coverage: 87.4% of statements ok sourcecraft.dev/bigbes/sr-ht-tokens/web (cached) coverage: 93.3% of statements + tail -1 + go tool cover -func=/home/build/cover.out total: (statements) 69.2% |
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.49-r0 (using abuild 3.18.0_rc5-r1) started Mon, 31 Aug 2026 06:08:01 +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 ( 10 ms, 162 kB, 125 kB, 77.2%, 16 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=9a4371e" -o tokensrht ./cmd/tokensrht go build -ldflags "-X sourcecraft.dev/bigbes/sr-ht-tokens/internal/build.Version=9a4371e" -o tokensrht-migrate ./cmd/tokensrht-migrate ./tokensrht is stamped 9a4371e1a8d5eeaaa67df44a57988d533d866ee1 >>> 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 9a4371e1a8d5eeaaa67df44a57988d533d866ee1 /home/build/sr-ht-tokens/pkg/tokens.sr.ht/usr/bin/tokensrht embeds main.min.152a5b52.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: 22.3 MB >>> tokens.sr.ht*: Compressing data... >>> tokens.sr.ht*: Create checksum... >>> tokens.sr.ht*: Create tokens.sr.ht-0.0.49-r0.apk >>> tokens.sr.ht: Build complete at Mon, 31 Aug 2026 06:08:12 +0000 elapsed time 0h 0m 11s >>> 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.49-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.49-r0.apk + rclone copyto /home/build/packages/build/x86_64/tokens.sr.ht-0.0.49-r0.apk garage:repo/alpine/v3.22/bigbes/x86_64/tokens.sr.ht-0.0.49-r0.apk 2026/08/31 06:08:13 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.49-r0.apk + uploaded tokens.sr.ht-0.0.49-r0.apk echo 'uploaded tokens.sr.ht-0.0.49-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 ']' ++ wc -l ++ find /home/build/packages -name '*.apk' + 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.49-r0.apk + echo 'published tokens.sr.ht-0.0.49-r0.apk -> 201' + test -z '' + echo 'index: https://artifacts.srht.bigb.es/~bigbes/main/apk/v3.22/x86_64/APKINDEX.tar.gz' published tokens.sr.ht-0.0.49-r0.apk -> 201 index: https://artifacts.srht.bigb.es/~bigbes/main/apk/v3.22/x86_64/APKINDEX.tar.gz |
1 2 3 4 |
+ cacher dir upload gomod/7bff880eb96a5cd0.tar.zst /home/build/go/pkg/mod Skipped — gomod/7bff880eb96a5cd0.tar.zst already present (use --force) + cacher dir upload gocache/7bff880eb96a5cd0.tar.zst /home/build/.cache/go-build Skipped — gocache/7bff880eb96a5cd0.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.015s goos: linux goarch: amd64 pkg: sourcecraft.dev/bigbes/sr-ht-tokens/authn cpu: AMD Ryzen 7 3700X 8-Core Processor BenchmarkParseBearer/bearer-2 11181926 97.79 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 11652243 106.0 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 10465370 103.6 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 10891320 108.3 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 11141482 110.9 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 12265395 101.6 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 13085806 102.4 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 12949437 105.7 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 12047130 104.5 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/bearer-2 12130518 99.27 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 12955028 92.83 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 15192970 84.35 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 14937042 86.51 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 15200420 82.30 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 14518477 83.03 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 12466344 87.69 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 15495802 85.93 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 15752217 87.00 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 16408840 83.86 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/other-scheme-2 15728185 86.85 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 38831040 37.73 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 35558286 35.33 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 32006943 35.27 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 40477431 35.26 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 36741358 32.03 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 34002139 34.77 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 30483822 36.54 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 36859684 32.69 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 33634866 33.50 ns/op 0 B/op 0 allocs/op BenchmarkParseBearer/absent-2 30833980 34.87 ns/op 0 B/op 0 allocs/op BenchmarkValidateTokenShape/valid-2 11470821 96.43 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 12369814 91.10 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 10474731 104.9 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 13800622 86.05 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 15529086 91.46 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 11280751 115.7 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 9786093 117.2 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 11641672 107.8 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 10086584 114.9 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/valid-2 11010162 122.4 ns/op 32 B/op 1 allocs/op BenchmarkValidateTokenShape/not-ours-2 232158 7015 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 213912 4885 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 191295 7493 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 209601 5964 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 209294 5716 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 214992 6852 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 195183 7106 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 241173 5650 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 184443 6053 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/not-ours-2 251491 6041 ns/op 1528 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 224694 5477 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 210619 4922 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 270684 4499 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 304276 3999 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 353156 3634 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 373220 4418 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 242244 4679 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 350781 4230 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 255453 5134 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/trailing-newline-2 198406 5797 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 302652 5048 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 238478 4659 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 322040 4149 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 207522 5161 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 390692 4104 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 261594 4445 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 234696 4867 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 228288 4573 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 362878 3810 ns/op 1512 B/op 11 allocs/op BenchmarkValidateTokenShape/bad-base64-2 357650 3189 ns/op 1512 B/op 11 allocs/op BenchmarkParentVerify/live-2 1591626 718.8 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 1507341 765.1 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 1248700 956.4 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 1574768 740.5 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 1771431 720.7 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 1609927 772.5 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 1537413 823.6 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 1344092 885.5 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 1477735 809.1 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/live-2 1368349 849.7 ns/op 96 B/op 2 allocs/op BenchmarkParentVerify/unknown-2 202688 7979 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 171640 7767 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 198889 8180 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 187216 7180 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 160504 7908 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 170308 6784 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 221835 5122 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 206912 6298 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 159772 7348 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/unknown-2 126440 7996 ns/op 1768 B/op 17 allocs/op BenchmarkParentVerify/malformed-2 234265 6535 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 192092 7094 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 219297 6356 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 166587 6838 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 186031 6571 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 131826 7813 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 183808 6650 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 240993 5732 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 182558 6078 ns/op 1528 B/op 11 allocs/op BenchmarkParentVerify/malformed-2 185508 6126 ns/op 1528 B/op 11 allocs/op PASS ok sourcecraft.dev/bigbes/sr-ht-tokens/authn 125.979s ? 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.008s goos: linux goarch: amd64 pkg: sourcecraft.dev/bigbes/sr-ht-tokens/db cpu: AMD Ryzen 7 3700X 8-Core Processor BenchmarkGenerateToken-2 2487699 467.3 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 2942436 431.5 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 3207242 389.5 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 3068374 376.1 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 3863478 330.9 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 3907225 351.4 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 3239788 358.4 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 3262792 413.0 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 3119308 378.8 ns/op 160 B/op 3 allocs/op BenchmarkGenerateToken-2 3663487 398.6 ns/op 160 B/op 3 allocs/op BenchmarkHashToken-2 5784163 200.6 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 6791690 208.2 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 5772364 175.2 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 6797133 194.0 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 5786787 207.2 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 4844094 218.8 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 6572797 182.2 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 6966938 164.8 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 8327766 135.1 ns/op 64 B/op 1 allocs/op BenchmarkHashToken-2 8679516 175.2 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 5968323 216.5 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 6299972 207.4 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 6711002 194.6 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 5892478 224.5 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 5517079 216.7 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 5771925 200.5 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 7076328 198.3 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 5673666 203.5 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 5569272 212.0 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/hit-2 5683347 212.3 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 6035520 209.3 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 5616495 209.6 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 7661269 182.3 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 6864403 182.9 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 6474762 179.9 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 7392679 179.1 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 7017603 188.1 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 6791606 190.2 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 6591843 193.6 ns/op 64 B/op 1 allocs/op BenchmarkTokenMatches/miss-2 6139346 220.0 ns/op 64 B/op 1 allocs/op PASS ok sourcecraft.dev/bigbes/sr-ht-tokens/db 50.298s ? 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 298947 3618 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 511594 3147 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 611079 3224 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 491139 3183 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 460045 2994 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 380956 3190 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 411644 2774 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 420058 2781 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 483882 2900 ns/op 1360 B/op 20 allocs/op BenchmarkSeal-2 423772 3024 ns/op 1360 B/op 20 allocs/op BenchmarkMintToken/parent-2 1000000 1077 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1251577 948.8 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1284777 937.4 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1247480 984.8 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1290159 944.8 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1000000 1133 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1345345 875.3 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1332177 937.4 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1353174 940.1 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/parent-2 1324311 893.6 ns/op 544 B/op 10 allocs/op BenchmarkMintToken/working-stateless-2 543091 2178 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 601840 2199 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 448560 2334 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 477150 2227 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 512053 2915 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 434547 2817 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 440260 2730 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 600884 2811 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 443707 2450 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-stateless-2 594787 2440 ns/op 1264 B/op 21 allocs/op BenchmarkMintToken/working-registered-2 366900 3329 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 460201 3489 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 357840 3273 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 439940 3265 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 396505 3075 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 359102 3143 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 454056 5250 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 254217 5001 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 238802 5671 ns/op 1768 B/op 27 allocs/op BenchmarkMintToken/working-registered-2 349347 5083 ns/op 1768 B/op 27 allocs/op BenchmarkExchange/stateless-2 208230 5526 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 257805 5176 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 235227 5051 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 271885 4834 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 307686 5140 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 231684 4907 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 200294 5167 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 292753 4176 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 370368 4336 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/stateless-2 299138 4068 ns/op 1608 B/op 27 allocs/op BenchmarkExchange/registered-2 204574 6513 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 162516 6175 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 275173 5556 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 258068 5230 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 217898 6249 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 184688 7059 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 223972 7032 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 223977 6934 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 183273 6873 ns/op 2088 B/op 32 allocs/op BenchmarkExchange/registered-2 182984 6815 ns/op 2088 B/op 32 allocs/op PASS ok sourcecraft.dev/bigbes/sr-ht-tokens/service 79.572s PASS ok sourcecraft.dev/bigbes/sr-ht-tokens/web 0.055s uploading bench.txt to https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-tokens/runs?commit=9a4371e1a8d5eeaaa67df44a57988d533d866ee1&ref=master&key=704&job_url=https://builds.srht.bigb.es/~bigbes/job/704&visibility=public + 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=9a4371e1a8d5eeaaa67df44a57988d533d866ee1&ref=master&key=704&job_url=https://builds.srht.bigb.es/~bigbes/job/704' + url='https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-tokens/runs?commit=9a4371e1a8d5eeaaa67df44a57988d533d866ee1&ref=master&key=704&job_url=https://builds.srht.bigb.es/~bigbes/job/704&visibility=public' + echo 'uploading bench.txt to https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-tokens/runs?commit=9a4371e1a8d5eeaaa67df44a57988d533d866ee1&ref=master&key=704&job_url=https://builds.srht.bigb.es/~bigbes/job/704&visibility=public' + set +x {"id":93,"url":"https://bench.srht.bigb.es/~bigbes/sr-ht-tokens/runs/93","benchmarks":20,"measurements":600,"new_benchmarks":0,"errors":[],"errors_total":0,"results_rejected":0} |