starting new job...
→ running command: dir='/etc/byggsteg/job-clone//byggsteg/trunk'
branch='trunk'
if ! command -v git >/dev/null 2>&1; then
echo 'byggsteg: git is not on this deployment PATH, so the clone cannot be updated' >&2
exit 1
fi
if ! cd "$dir"; then
echo "byggsteg: cannot enter the clone $dir" >&2
exit 1
fi
root=$(git rev-parse --show-toplevel 2>/dev/null)
if [ "$root" != "$(pwd -P)" ]; then
echo "byggsteg: $dir is not a git checkout; remove it and the next run clones it again" >&2
exit 1
fi
if ! origin=$(git remote get-url origin 2>/dev/null); then
echo "byggsteg: $dir has no origin remote to fetch $branch from" >&2
exit 1
fi
before=$(git rev-parse --short HEAD 2>/dev/null) || before=none
attempt=1
while :; do
if GIT_TERMINAL_PROMPT=0 git fetch --quiet origin "+refs/heads/$branch:refs/remotes/origin/$branch"; then
break
fi
if [ "$attempt" -ge 3 ]; then
echo "byggsteg: could not fetch $branch from $origin after 3 attempts; is the branch still there, and is the remote reachable?" >&2
exit 1
fi
echo "byggsteg: fetching $branch from $origin failed; retrying in $((attempt * 2))s" >&2
sleep $((attempt * 2))
attempt=$((attempt + 1))
done
if ! git checkout --quiet --force -B "$branch" FETCH_HEAD; then
echo "byggsteg: fetched $branch from $origin but could not check it out" >&2
exit 1
fi
after=$(git rev-parse --short HEAD)
if [ "$before" = "$after" ]; then
echo "byggsteg: $branch was already at $after"
else
echo "byggsteg: $branch moved from $before to $after"
fi
byggsteg: trunk moved from 74bf32e to 151b4c2
→ running command: cd /etc/byggsteg/job-clone/byggsteg/trunk && uname -a
Linux wolk-jjba 7.2.11-gnu #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux
→ running command: cd /etc/byggsteg/job-clone/byggsteg/trunk && git log --name-status HEAD^..HEAD
commit 151b4c29063860221e56e1ed38bb9583d22aa996
Author: Josep Bigorra <jjbigorra@gmail.com>
Date: Thu Nov 5 16:30:11 2026 +0100
feat: Improve job graph
M README.org
M app/views/jobs.scm
M app/views/logs.scm
A lib/byggsteg/job/log-sections.scm
M lib/byggsteg/job/pipeline.scm
M lib/byggsteg/job/steps.scm
M lib/byggsteg/sqlite/artifact.scm
M lib/byggsteg/sqlite/log.scm
M lib/byggsteg/sqlite/profile.scm
M lib/byggsteg/sqlite/user.scm
M lib/byggsteg/sqlite/util.scm
M logo.svg
M manifest.scm
M pub/img/byggsteg-logo.png
M pub/img/byggsteg-logo.svg
M pub/js/byggsteg-log.js
M test/veritas/unit/job-pipelines-spec.scm
A test/veritas/unit/job-usage-spec.scm
M test/veritas/unit/log-poll-spec.scm
A test/veritas/unit/log-sections-spec.scm
A test/veritas/unit/matrix-spec.scm
M test/veritas/unit/tasks-spec.scm
→ running command: cd /etc/byggsteg/job-clone/byggsteg/trunk && maak test
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 100.0%
substitute:
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 0.0%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 1.0%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 2.0%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 3.0%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 4.0%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 5.1%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 6.1%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 7.1%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 8.1%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 9.1%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 10.1%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 11.1%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 12.1%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 13.1%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 14.1%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 15.2%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 16.2%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 17.2%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 18.2%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 19.2%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 20.2%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 21.2%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 22.2%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 23.2%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 24.2%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 25.3%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 26.3%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 27.3%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 28.3%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 29.3%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 30.3%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 31.3%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 32.3%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 33.3%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 34.3%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 35.4%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 36.4%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 37.4%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 38.4%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 39.4%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 40.4%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 41.4%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 42.4%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 43.4%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 44.4%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 45.5%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 46.5%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 47.5%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 48.5%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 49.5%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 50.5%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 51.5%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 52.5%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 53.5%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 54.5%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 55.6%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 56.6%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 57.6%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 58.6%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 59.6%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 60.6%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 61.6%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 62.6%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 63.6%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 64.6%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 65.7%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 66.7%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 67.7%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 68.7%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 69.7%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 70.7%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 71.7%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 72.7%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 73.7%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 74.7%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 75.8%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 76.8%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 77.8%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 78.8%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 79.8%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 80.8%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 81.8%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 82.8%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 83.8%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 84.8%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 85.9%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 86.9%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 87.9%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 88.9%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 89.9%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 90.9%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 91.9%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 92.9%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 93.9%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 94.9%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 96.0%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 97.0%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 98.0%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 99.0%
The following derivation will be built:
/gnu/store/qk7si62vm52s6yn5gfk971gl6fr9vjd1-profile.drv
0.0 MB will be downloaded
..
building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
building directory of Info manuals...
building profile with 22 packages...
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling ./test/veritas/unit/about-page-spec.scm
;;; compiling ./test/veritas/support/deployment.scm
;;; compiling ./lib/byggsteg/preferences.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/preferences.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/support/deployment.scm.go
;;; compiling ./app/views/about.scm
;;; compiling ./lib/byggsteg/faces.scm
;;; compiling ./lib/byggsteg/ansi.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/ansi.scm.go
WARNING: (hygguile hygguile): imported module (hygguile components select) overrides core binding `select'
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/faces.scm.go
;;; compiling ./lib/byggsteg/html.scm
;;; compiling ./lib/byggsteg/permissions.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/permissions.scm.go
;;; compiling ./lib/byggsteg/version.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/version.scm.go
;;; compiling ./lib/byggsteg/job/pipeline.scm
;;; compiling ./lib/byggsteg/artifacts.scm
;;; compiling ./lib/byggsteg/upkeep.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/upkeep.scm.go
;;; compiling ./lib/byggsteg/domain/artifact.scm
;;; compiling ./lib/byggsteg/domain/repo.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/domain/repo.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/domain/artifact.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/artifacts.scm.go
;;; compiling ./lib/byggsteg/job/steps.scm
;;; compiling ./lib/byggsteg/container.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/container.scm.go
;;; compiling ./lib/byggsteg/job/runners.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/job/runners.scm.go
;;; compiling ./lib/byggsteg/job/streaming.scm
;;; compiling ./lib/byggsteg/domain/log.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/domain/log.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/job/streaming.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/job/steps.scm.go
;;; compiling ./lib/byggsteg/job/tasks.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/job/tasks.scm.go
;;; compiling ./lib/byggsteg/domain/job.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/domain/job.scm.go
;;; compiling ./lib/byggsteg/sqlite/job.scm
;;; compiling ./lib/byggsteg/sqlite/util.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/sqlite/util.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/sqlite/job.scm.go
;;; compiling ./lib/byggsteg/sqlite/log.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/sqlite/log.scm.go
;;; compiling ./lib/byggsteg/sqlite/artifact.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/sqlite/artifact.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/job/pipeline.scm.go
WARNING: (byggsteg html): `get-short-commit-sha' imported from both (hygguile hygguile) and
scanning directories for unit tests...
scanning present working directory for unit tests...
shuffled the files with seed 867763826 (replay with VERITAS_SEED=867763826)
found unit tests: (about-page-spec.scm job-usage-spec.scm deployment-identity-spec.scm runners-spec.scm password-reset-spec.scm analytics-spec.scm sqlite-spec.scm clones-spec.scm footer-version-spec.scm job-pipeline-spec.scm log-poll-spec.scm api-v2-spec.scm retry-spec.scm log-sections-spec.scm error-pages-spec.scm artifact-spec.scm terminal-glass-spec.scm container-spec.scm matrix-spec.scm password-strength-spec.scm form-width-spec.scm heatmap-spec.scm job-pipelines-spec.scm logs-page-spec.scm console-resources-spec.scm ansi-spec.scm job-search-spec.scm retention-spec.scm log-streaming-spec.scm user-bootstrap-spec.scm tasks-spec.scm logs-live-spec.scm)
running unit tests from file: about-page-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 867763826 (replay with VERITAS_SEED=867763826)
+----------------------------------------------+
[📑 suite] about page
[🧪 test] the page a crawler is handed says what it is
[⚙️ assert] it declares itself a document of this deployment✅ got: <!DOCTYPE html>
[⚙️ assert] it is dressed in the same sheet as every other page✅ got: /css/byggsteg.olive.min.css
[⚙️ assert] its canonical address is the page's own✅ got: /about
[⚙️ assert] its title names the deployment and the page✅ got: <title>byggsteg - about</title>
[🧪 test] the account is on the page, and it is this deployment's
[⚙️ assert] the story names the people, the framework and the three doors✅ got: ()
[⚙️ assert] and it holds nothing the page was never meant to say✅ got: ()
[⚙️ assert] the page opens under the console's own prompt✅ got: $ byggsteg --origin
[🧪 test] the page can be read on a phone
[⚙️ assert] no panel of it forces a width wider than the screen✅ got: ()
[⚙️ assert] the panels are told they may shrink✅ got: min-w-0
[🧪 test] the page is built by the components rather than describing them
[⚙️ assert] no component call was left un-made in the markup✅ got: ()
[⚙️ assert] every element of the page is an element a browser knows✅ got: ()
[⚙️ assert] no element of the page is closed on itself✅ got: ()ℹ️ info - ran 1 tasks in: 0 seconds, 156754 microseconds
running unit tests from file: job-usage-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 867763826 (replay with VERITAS_SEED=867763826)
+----------------------------------------------+
[📑 suite] what a command cost
[🧪 test] a command's wall time is measured
[⚙️ assert] the command succeeded and its step says so✅ got: succeeded
[⚙️ assert] the wall time is a measured number✅ got: #t
[⚙️ assert] and the line a reader sees says how long it took✅ got: #t
[🧪 test] a failed command says its exit and its time
[⚙️ assert] the step failed✅ got: failed
[⚙️ assert] and the completion names the exit and the time✅ got: #t
[🧪 test] CPU and peak memory are measured when GNU time is available
[⚙️ assert] a deployment with GNU time reads both, and one without reads neither✅ got: (#t #t)ℹ️ info - ran 1 tasks in: 0 seconds, 22061 microseconds
running unit tests from file: deployment-identity-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 867763826 (replay with VERITAS_SEED=867763826)
+----------------------------------------------+
[📑 suite] what a deployment calls itself
[🧪 test] an unnamed deployment is this project's own
[⚙️ assert] the project's name is the name by default✅ got: byggsteg
[⚙️ assert] and its sentence of description is there to be announced✅ got: #t
[⚙️ assert] the footer leads to the project's own source✅ got: https://codeberg.org/jjba23/byggsteg
[⚙️ assert] and the landing page shows the project's own mark✅ got: src="/img/byggsteg-logo.png"
[🧪 test] the mark and the sentence are the deployment's own as well
[⚙️ assert] another deployment shows another mark✅ got: https://example.org/mark.png
[⚙️ assert] and is announced with its own sentence✅ got: a build server of our own
[🧪 test] the places a page sends a reader are the deployment's own
[⚙️ assert] the footer's source link follows the deployment✅ got: https://example.org/src
[⚙️ assert] the job form's guide follows it too✅ got: https://example.org/src
[⚙️ assert] the footer's manual link follows it✅ got: https://example.org/src/manual
[⚙️ assert] and so do the links the account of it ends with✅ got: https://example.org/src
[⚙️ assert] and a renamed console sends nobody to codeberg✅ got: codeberg.org
[⚙️ assert] nor in the crawler's reading of where to get it✅ got: codeRepository":"https://codeberg.org
[🧪 test] the name a deployment chose is the name it is read by
[⚙️ assert] the wordmark says it✅ got: >buildbot
[⚙️ assert] the card a shared link is drawn as says it✅ got: og:site_name" content="buildbot"
[⚙️ assert] and the JSON-LD a crawler reads says it✅ got: "name":"buildbot"
[⚙️ assert] with no byggsteg left in the card of a renamed console✅ got: og:site_name" content="byggsteg"
[⚙️ assert] nor in the crawler's reading of it✅ got: "name":"byggsteg"ℹ️ info - ran 1 tasks in: 0 seconds, 169146 microseconds
running unit tests from file: runners-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 867763826 (replay with VERITAS_SEED=867763826)
+----------------------------------------------+
[📑 suite] Runners Suite
[🧪 test] The order is the table's, and Make is the fallback
[⚙️ assert] a justfile wins over a Makefile✅ got: just
[⚙️ assert] a maak.scm wins over a justfile✅ got: maak
[⚙️ assert] a Makefile wins over Cargo.toml, which wraps it✅ got: make
[⚙️ assert] a lockfile names the package manager✅ got: pnpm
[⚙️ assert] a clone with no marker is a Make checkout✅ got: make
[⚙️ assert] and so is one that is not there✅ got: make
[🧪 test] A name may carry the runner it wants
[⚙️ assert] a bare name asks the checkout✅ got: (#f . test)
[⚙️ assert] just- asks Just✅ got: (just . test)
[⚙️ assert] npm- asks npm✅ got: (npm . test)
[⚙️ assert] a target that itself begins with a runner's name is still reachable✅ got: (make . just-deploy)
[⚙️ assert] a machine task is not split✅ got: (#f . pull-and-restart)
[🧪 test] Every runner in the table is named once, and names a program
[⚙️ assert] No runner is named twice✅ got: 12
[⚙️ assert] A runner's name is one word, since it is a command✅ got: #t
[🧪 test] The checkout's files say which runner it is
[⚙️ assert] a maak.scm is a Maak checkout✅ got: maak
[⚙️ assert] a justfile is a Just checkout✅ got: just
[⚙️ assert] a Taskfile.yml is a go-task checkout✅ got: task
[⚙️ assert] a maskfile.md is a Mask checkout✅ got: mask
[⚙️ assert] a Rakefile is a Rake checkout✅ got: rake
[⚙️ assert] a Makefile is a Make checkout✅ got: make
[⚙️ assert] a dune-project is a Dune checkout✅ got: dune
[⚙️ assert] a Cargo.toml is a Cargo checkout✅ got: cargo
[⚙️ assert] a deno.json is a Deno checkout✅ got: deno
[⚙️ assert] a pnpm-lock.yaml is a pnpm checkout✅ got: pnpm
[⚙️ assert] a yarn.lock is a yarn checkout✅ got: yarn
[⚙️ assert] a package.json is an npm checkout✅ got: npm
[🧪 test] A runner answers with the words that run a target
[⚙️ assert] Make takes the target alone✅ got: (make test)
[⚙️ assert] so does Just✅ got: (just test)
[⚙️ assert] npm runs a script, so `run' stays✅ got: (npm run test)
[⚙️ assert] and so does pnpm✅ got: (pnpm run build)
[⚙️ assert] Deno's tasks are a subcommand✅ got: (deno task test)
[⚙️ assert] Dune's targets are subcommands of their own✅ got: (dune test)ℹ️ info - ran 1 tasks in: 0 seconds, 23820 microseconds
running unit tests from file: password-reset-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 867763826 (replay with VERITAS_SEED=867763826)
+----------------------------------------------+
[📑 suite] a password-reset link
[🧪 test] a link is worth following for the week after it was made
[⚙️ assert] yesterday is usable, the last instant of the week is usable, the instant after is not✅ got: ((made-a-minute-ago #t) (made-yesterday #t) (made-inside-the-week #t) (made-exactly-a-week-ago #f) (made-a-week-and-a-day-ago #f))
[🧪 test] a link this deployment cannot date is not followed
[⚙️ assert] no row, no date and a date that is not a number all answer the same as an old link✅ got: ((no-such-token #f) (a-row-without-a-date #f) (a-row-whose-date-is-not-an-instant #f))ℹ️ info - ran 1 tasks in: 0 seconds, 1211 microseconds
running unit tests from file: analytics-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 867763826 (replay with VERITAS_SEED=867763826)
+----------------------------------------------+
[📑 suite] the page-view script a deployment may put on its pages
[🧪 test] a deployment that reports nowhere puts the script on no page
[⚙️ assert] no page names the service✅ got: symbanta
[🧪 test] a deployment that keeps its files elsewhere names that host
[⚙️ assert] the script moves to the asset host with everything else✅ got: src="https://assets.example.org/js/symbanta.js"
[🧪 test] and the deployment has the script it names
[⚙️ assert] pub/js/symbanta.js is there to be served✅ got: #t
[🧪 test] a page reports itself to the service this project names
[⚙️ assert] the page carries a page-view script✅ got: #t
[⚙️ assert] and it is the file this deployment serves✅ got: src="/js/symbanta.js"
[⚙️ assert] which names the service it reports to✅ got: data-endpoint="https://api.symbanta.jointhefreeworld.org/v1/events/register"
[⚙️ assert] and how often, in milliseconds✅ got: data-interval="4000"
[🧪 test] a deployment with a service of its own reports there
[⚙️ assert] the page names that service✅ got: data-endpoint="https://events.example.org/v1/events/register"
[⚙️ assert] at the rate that deployment asked for✅ got: data-interval="9000"
[⚙️ assert] and not to the service this project names✅ got: api.symbanta.jointhefreeworld.orgℹ️ info - ran 1 tasks in: 0 seconds, 56117 microseconds
running unit tests from file: sqlite-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 867763826 (replay with VERITAS_SEED=867763826)
+----------------------------------------------+
[📑 suite] SQLite Suite
[🧪 test] A row written is a row read, after the collector has run
[⚙️ assert] the twelve jobs are there, and each is the one that was written✅ got: (spec job 12 spec job 11 spec job 10 spec job 9 spec job 8 spec job 7 spec job 6 spec job 5 spec job 4 spec job 3 spec job 2 spec job 1)
[🧪 test] The same statement answers again and again
[⚙️ assert] twenty readings of one statement all answer the same row✅ got: (spec job 1 spec job 1 spec job 1 spec job 1 spec job 1 spec job 1 spec job 1 spec job 1 spec job 1 spec job 1 spec job 1 spec job 1 spec job 1 spec job 1 spec job 1 spec job 1 spec job 1 spec job 1 spec job 1 spec job 1)
[⚙️ assert] and a statement nothing has bound yet still answers with its placeholders taken✅ got: ()
[⚙️ assert] a write after twenty reads still writes✅ got: spec job 1, updated
[🧪 test] A statement is reused after it has done its work
[⚙️ assert] the jobs a filter finds are the jobs it found the time before✅ got: 0
[⚙️ assert] and a job that is in progress is the one the filter finds✅ got: (spec job 2)
[⚙️ assert] a row removed is gone, and the rest are still there✅ got: (sqlite-spec-1 sqlite-spec-10 sqlite-spec-11 sqlite-spec-12 sqlite-spec-2 sqlite-spec-4 sqlite-spec-5 sqlite-spec-6 sqlite-spec-7 sqlite-spec-8 sqlite-spec-9)ℹ️ info - ran 1 tasks in: 0 seconds, 464750 microseconds
running unit tests from file: clones-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 867763826 (replay with VERITAS_SEED=867763826)
+----------------------------------------------+
[📑 suite] the clones a deployment keeps
[🧪 test] no element of the page is closed on itself
[⚙️ assert] no panel, row or place of the page swallows what follows it✅ got: ()
[🧪 test] what stands in the clone directory is read, and nothing else is
[⚙️ assert] one reading per project, sorted✅ got: (alpha beta epsilon)
[⚙️ assert] a link in the directory is not a project✅ got: #f
[⚙️ assert] a name beginning with a dot is not a project✅ got: #f
[🧪 test] every clone of a project can be pointed at another origin
[⚙️ assert] every checkout of the project was set, and the branch that is not one was reported✅ got: ((changed . 2) (not-changed notes))
[⚙️ assert] both checkouts now pull from the new address✅ got: (https://example.org/moved.git https://example.org/moved.git)
[⚙️ assert] a branch that was never a checkout is not made one✅ got: #f
[⚙️ assert] a project with no checkout is left as it was✅ got: ((changed . 0) (not-changed trunk))
[⚙️ assert] a project that is not there has no branch to point✅ got: ((changed . 0) (not-changed))
[⚙️ assert] and a clone of another project is left where it was✅ got: https://example.org/alpha.git
[🧪 test] a name that climbs out of the directory removes nothing
[⚙️ assert] a branch that climbs answers nothing was removed✅ got: #f
[⚙️ assert] so does a project that climbs✅ got: #f
[⚙️ assert] a project named `..' is not the directory above✅ got: #f
[⚙️ assert] the project it would have reached is untouched✅ got: #t
[⚙️ assert] a link is not a clone, so nothing is removed✅ got: #f
[⚙️ assert] and the tree it names is left where it is✅ got: #t
[🧪 test] a clone directory with nothing in it is read as one
[⚙️ assert] a directory that is not there has no projects✅ got: ()
[⚙️ assert] and the page says so✅ got: #t
[🧪 test] a name that is not one thing under the directory names no path
[⚙️ assert] the path of a branch of a project✅ got: /tmp/byggsteg-clones-spec-10691/alpha/trunk
[⚙️ assert] and the path of a project✅ got: /tmp/byggsteg-clones-spec-10691/alpha
[⚙️ assert] the project "" names no path✅ got: #f
[⚙️ assert] the project "." names no path✅ got: #f
[⚙️ assert] the project ".." names no path✅ got: #f
[⚙️ assert] the project "alpha/trunk" names no path✅ got: #f
[⚙️ assert] the project "alpha/../beta" names no path✅ got: #f
[⚙️ assert] the project "alpha\x00trunk" names no path✅ got: #f
[⚙️ assert] the branch "" names no path✅ got: #f
[⚙️ assert] the branch "." names no path✅ got: #f
[⚙️ assert] the branch ".." names no path✅ got: #f
[⚙️ assert] the branch "../beta" names no path✅ got: #f
[⚙️ assert] the branch "notes/../../alpha" names no path✅ got: #f
[🧪 test] a clone, and a project's clones, can be removed
[⚙️ assert] removing a branch answers the path that went✅ got: /tmp/byggsteg-clones-spec-edits-10691/gamma/trunk
[⚙️ assert] and the clone is gone✅ got: #f
[⚙️ assert] the project's other branches stay✅ got: #t
[⚙️ assert] a clone that is not there is not an error✅ got: #f
[⚙️ assert] removing a project answers how many clones went✅ got: 2
[⚙️ assert] and the project's directory is gone whole✅ got: #f
[⚙️ assert] a project that is not there is not an error✅ got: #f
[🧪 test] the page draws the two forms for a reader who may send them
[⚙️ assert] a reader holding the permission is offered the removal✅ got: #t
[⚙️ assert] and the removal of a whole project beside it✅ got: #t
[⚙️ assert] and the origin field✅ got: #t
[⚙️ assert] the page says which directory it read✅ got: #t
[⚙️ assert] a clone that pulls from nowhere is said to✅ got: #t
[⚙️ assert] a visitor is offered no removal✅ got: #f
[⚙️ assert] and no origin field✅ got: #f
[⚙️ assert] and no removal of a project✅ got: #f
[⚙️ assert] the reading itself is everyone's✅ got: #t
[🧪 test] the fixture is the one the readings below are about
[⚙️ assert] the throwaway clone directories were made✅ got: #t
[⚙️ assert] a clone has a checkout's own configuration✅ got: #t
[🧪 test] a clone says where it pulls from and how much room it takes
[⚙️ assert] every branch of the project, sorted✅ got: (feature notes trunk)
[⚙️ assert] a clone is read as the address it would pull from✅ got: https://example.org/alpha.git
[⚙️ assert] an ssh address is read as it stands✅ got: git@example.org:alpha-feature.git
[⚙️ assert] a branch that is not a checkout pulls from nowhere✅ got: #f
[⚙️ assert] and a clone says where it stands✅ got: /tmp/byggsteg-clones-spec-10691/alpha/trunk
[⚙️ assert] a tree that was measured is read in bytes✅ got: #t
[⚙️ assert] a project that is not there has no clones✅ got: ()
[🧪 test] the page says what the last edit did
[⚙️ assert] a count of what was pointed at the new origin✅ got: #t
[⚙️ assert] and which of the branches was left where it was✅ got: #t
[⚙️ assert] a removal that removed nothing says so✅ got: #t
[⚙️ assert] and one that removed a clone says how many✅ got: #t
[⚙️ assert] a page that was asked to say nothing says nothing✅ got: #fℹ️ info - ran 1 tasks in: 1 seconds, -787081 microseconds
running unit tests from file: footer-version-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 867763826 (replay with VERITAS_SEED=867763826)
+----------------------------------------------+
[📑 suite] the release a deployment is
[🧪 test] the footer names it, and the commit beside it
[⚙️ assert] the release the tree is at, read from (byggsteg version)✅ got: version: 1.19.5 (
[⚙️ assert] and the commit it was built from, bracketed after it✅ got: #t
(kracht prelude)
WARNING: (byggsteg html): imported module (hygguile hygguile) overrides core binding `select'
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/html.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/app/views/about.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/unit/about-page-spec.scm.go
WARNING: (byggsteg html): `get-short-commit-sha' imported from both (hygguile hygguile) and (kracht prelude)
;;; compiling ./test/veritas/unit/job-usage-spec.scm
;;; compiling ./lib/byggsteg/job/log-sections.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/job/log-sections.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/unit/job-usage-spec.scm.go
;;; compiling ./test/veritas/unit/deployment-identity-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/unit/deployment-identity-spec.scm.go
;;; compiling ./test/veritas/unit/runners-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/unit/runners-spec.scm.go
;;; compiling ./test/veritas/unit/password-reset-spec.scm
;;; compiling ./lib/byggsteg/domain/password-reset.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/domain/password-reset.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/unit/password-reset-spec.scm.go
;;; compiling ./test/veritas/unit/analytics-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/unit/analytics-spec.scm.go
;;; compiling ./test/veritas/unit/sqlite-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/unit/sqlite-spec.scm.go
;;; compiling ./test/veritas/unit/clones-spec.scm
;;; compiling ./lib/byggsteg/clones.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/clones.scm.go
;;; compiling ./app/views/clones.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/app/views/clones.scm.go
;;; test/veritas/unit/clones-spec.scm:222:19: warning: possibly unbound variable `match:end'
;;; test/veritas/unit/clones-spec.scm:223:25: warning: possibly unbound variable `match:substring'
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/unit/clones-spec.scm.go
;;; compiling ./test/veritas/unit/footer-version-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/unit/footer-version-spec.scm.go
;;; compiling ./test/veritas/unit/job-pipeline-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/unit/job-pipeline-spec.scm.go
Backtrace:
19 (apply-smob/0 #<thunk 7f3f8bb06320>)
In ice-9/boot-9.scm:
733:2 18 (call-with-prompt _ _ #<procedure default-prompt-handler (k proc)>)
In ice-9/eval.scm:
619:8 17 (_ #(#(#<directory (guile-user) 7f3f8bb09c80>)))
In ice-9/command-line.scm:
187:19 16 (_ #<input: custom-port 7f3f8baf03f0>)
In unknown file:
15 (eval (begin (setlocale LC_ALL "C.UTF-8") (use-modules (veritas runner)) (run-tests)) #<directory (guile-user) 7f3f8bb09c80>)
In veritas/runner.scm:
453:16 14 (run-tests)
In srfi/srfi-1.scm:
750:9 13 (for-each #<procedure 7f3f886f11c0 at veritas/runner.scm:453:26 (file)> _)
In veritas/runner.scm:
66:13 12 (run-test-file #:test-file _ #:test-type _ #:entrypoint-function _)
In ice-9/threads.scm:
399:8 11 (_ _)
In ice-9/boot-9.scm:
3307:13 10 (_)
In ice-9/threads.scm:
399:8 9 (_ _)
In ice-9/boot-9.scm:
3596:20 8 (_)
2890:4 7 (save-module-excursion _)
3616:26 6 (_)
In unknown file:
5 (primitive-load-path "veritas/unit/job-pipeline-spec" #<procedure 7f3f881f7da0 at ice-9/boot-9.scm:3603:37 ()>)
In test/veritas/unit/job-pipeline-spec.scm:
116:6 4 (_)
In byggsteg/sqlite/util.scm:
123:16 3 (with-prepared-statement _ _ _)
229:18 2 (_)
In sqlite3.scm:
391:21 1 (sqlite-prepare #<<sqlite-db> pointer: #<pointer 0x12700f18> open?: #f stmts: #<hash-table 7f3f8623f6e0 0/31>> "INSERT INTO \"log\" (\"id\", \"title\", \"job_id\", \"log_data\", \"created_at\") VALUES (?, ?, ?, ?, ?)" #:cache? _)
355:6 0 (_ #<<sqlite-db> pointer: #<pointer 0x12700f18> open?: #f stmts: #<hash-table 7f3f8623f6e0 0/31>> "INSERT INTO \"log\" (\"id\", \"title\", \"job_id\", \"log_data\", \"created_at\") VALUES (?, ?, ?, ?, ?)" #:cache? _)
sqlite3.scm:355:6: database already closed #<<sqlite-db> pointer: #<pointer 0x12700f18> open?: #f stmts: #<hash-table 7f3f8623f6e0 0/31>>
ℹ️ info - ran 1 tasks in: 0 seconds, 52531 microseconds
running unit tests from file: job-pipeline-spec.scm, entrypoint: spec
maak: error: command failed (exit code 1): guix time-machine --channels=channels.scm -- shell -m manifest.scm -- guile --fresh-auto-compile -L ./lib -L . -L ./test -c '(begin (setlocale LC_ALL "C.UTF-8") (use-modules (veritas runner)) (run-tests))'
hint: Fix the command above, or run `maak --dry-run' to inspect it first.
--------------------------------------------------------------
Maak 0.14.0: the infinitely extensible command runner
Loading tasks from Maak file: /etc/byggsteg/job-clone/byggsteg/trunk/maak.scm
Executing Maak tasks: test
--------------------------------------------------------------
=> Running Maak task: test
Run the project's test suite.
The specs live under test/veritas/unit. That is where the runner looks for
suites -- given the test root ./test, the module prefix `veritas' and the suite
name `unit' -- and it is also what their own `(veritas unit ...)' module names
resolve to on the load path below.
The run names the locale it reads in rather than inheriting one, and it names it
before the runner is asked for: Guile reads a page by the locale in force, and a
pattern over a page that holds a character outside ASCII reports matches where
there are none under a locale that names no encoding. `C.UTF-8' is that name
for a machine that has never generated a locale -- a service, a container, and
this project's own continuous integration, where the job that tests byggsteg is
run by a byggsteg daemon whose Shepherd unit names no locale at all. The suite
reads the pages of this console, whose prose, whose marks and whose console
output are not ASCII; run without a locale it would find elements no browser
knows and fail for a reason that has nothing to do with the change it was run to
judge. Naming it here is part of what the pinned manifest is for: a run of the
suite reads the same pages wherever the pipeline runs.
The specs are compiled rather than read from a cache. A compiled spec outlives
the library it was compiled against -- Guile decides a compiled file is still
good by the spec's own text, and not by the macros and procedures that text was
compiled with -- so a spec compiled before `(veritas veritas)' changed shape is
loaded afterwards as if it still had the old one. What that reads like is a
failure inside this project: `Wrong type to apply: #<syntax-transformer test>'
at the first test of a suite, on a spec whose source is untouched and whose
suite passes when compiled afresh. Compiling from source every run costs a few
seconds and makes the reading depend on the specs alone, which is what a suite
that is run to judge a change has to be.
Executing: guix time-machine --channels=channels.scm -- shell -m manifest.scm -- guile --fresh-auto-compile -L ./lib -L . -L ./test -c '(begin (setlocale LC_ALL "C.UTF-8") (use-modules (veritas runner)) (run-tests))'