starting new job...
→ running command: cd "/etc/byggsteg/job-clone//byggsteg/trunk" && git reset --hard && git pull
HEAD is now at 1b82e14 feat: Fake path in test
Already up to date.
→ running command: cd /etc/byggsteg/job-clone/byggsteg/trunk && uname -a
Linux wolk-jjba 7.1.5-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 1b82e14d60c55c0e64e06b709e7bc9da93c8ae8b
Author: Josep Bigorra <jjbigorra@gmail.com>
Date: Sat Oct 24 10:08:14 2026 +0200
feat: Fake path in test
M test/veritas/unit/tasks-spec.scm
→ running command: cd /etc/byggsteg/job-clone/byggsteg/trunk && maak test
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling ./test/veritas/unit/log-poll-spec.scm
;;; compiling ./app/views/logs.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
;;; 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
;;; compiling ./lib/byggsteg/faces.scm
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 (kracht prelude)
WARNING: (byggsteg html): imported module (hygguile hygguile) overrides core binding `select'
;;; compiled
scanning directories for unit tests...
scanning present working directory for unit tests...
shuffled the files with seed 342391734 (replay with VERITAS_SEED=342391734)
found unit tests: (log-poll-spec.scm form-width-spec.scm artifact-spec.scm retry-spec.scm user-bootstrap-spec.scm password-reset-spec.scm analytics-spec.scm log-streaming-spec.scm terminal-glass-spec.scm container-spec.scm about-page-spec.scm retention-spec.scm job-pipeline-spec.scm api-v2-spec.scm logs-page-spec.scm job-pipelines-spec.scm footer-version-spec.scm error-pages-spec.scm deployment-identity-spec.scm console-resources-spec.scm ansi-spec.scm logs-live-spec.scm runners-spec.scm password-strength-spec.scm job-search-spec.scm heatmap-spec.scm tasks-spec.scm)
running unit tests from file: log-poll-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 342391734 (replay with VERITAS_SEED=342391734)
+----------------------------------------------+
[📑 suite] what a page following a job is answered with
[🧪 test] a job that is still writing is answered with its output and its state
[⚙️ assert] the answer carries the status, the mark of work in progress, and the output
✅ got: (#t #t #t #t #t)
[⚙️ assert] and it is closed where its place ends, with nothing left open
✅ got: />
[🧪 test] a job that is over is answered with the run's own readings
[⚙️ assert] the answer says the job stopped, and how it went
✅ got: (#t #t #t)
[⚙️ assert] and the mark of work in progress is left empty, and hidden
✅ got: (#t #f)
[⚙️ assert] and the output is not sent again to say it has not changed
✅ got: (#f #f)
[⚙️ assert] a job that failed says so where the page reads its status
✅ got: job failed
[🧪 test] the retry a finished job allows arrives with the answer
[⚙️ assert] a reader who may submit a retry is drawn one
✅ got: (#t #t)
[⚙️ assert] a reader who may not is drawn an empty place rather than a form
✅ got: (#t #f #t)
ℹ️ info - ran 1 tasks in: 0 seconds, 21667 microseconds
running unit tests from file: form-width-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 342391734 (replay with VERITAS_SEED=342391734)
+----------------------------------------------+
[📑 suite] the width of a field
[🧪 test] every field is allowed to be as narrow as the screen
[⚙️ assert] every control of the run-job form may shrink
✅ got: ()
[⚙️ assert] every control of the profile form may shrink
✅ got: ()
[⚙️ assert] every control of the search form may shrink
✅ got: ()
[⚙️ assert] every control of the locale chooser may shrink
✅ got: ()
[🧪 test] the field a job is written in is the console's own, not a copy
[⚙️ assert] the job field carries the face's own height
✅ got: #t
[⚙️ assert] and is as wide as the room it is given
✅ got: #t
[⚙️ assert] and no wider than a reading line
✅ got: #t
[⚙️ assert] with no width of its own written at the call site
✅ got: max-w-196
[⚙️ assert] the address the form leads to is held by a box that may break it
✅ got: #t
[🧪 test] every field is dressed in the console's own faces
[⚙️ assert] the job field is a field of this console
✅ got: ()
[⚙️ assert] so is the profile field
✅ got: ()
[⚙️ assert] so is the search field
✅ got: ()
[⚙️ assert] so is the locale chooser
✅ got: ()
[🧪 test] no page of the console forces a width
[⚙️ assert] the run-job form holds no minimum width
✅ got: ()
[⚙️ assert] the profile form holds no minimum width
✅ got: ()
[⚙️ assert] the search form holds no minimum width
✅ got: ()
[⚙️ assert] the locale chooser holds no minimum width
✅ got: ()
ℹ️ info - ran 1 tasks in: 0 seconds, 71825 microseconds
running unit tests from file: artifact-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 342391734 (replay with VERITAS_SEED=342391734)
+----------------------------------------------+
[📑 suite] artifacts
[🧪 test] the table a collection writes to is the table the migrations make
[⚙️ assert] the artifact migration adds the artifact table
✅ got: (id job_id title artifact_path artifact_size created_at updated_at)
[🧪 test] a collected tarball is recorded, and the job it was built by finds it
[⚙️ assert] an artifact is read back by its id
✅ got: #t
[⚙️ assert] the artifact keeps the job that collected it
✅ got: spec-artifact-job
[⚙️ assert] the artifact keeps the size it was written with
✅ got: 2048
[⚙️ assert] both collections of one job are its artifacts
✅ got: (((id . spec-artifact-1) (job-id . spec-artifact-job) (title . byggsteg-job.tar.gz) (artifact-path . /tmp/byggsteg-artifact-spec-2016/spec-artifact-job.tar.gz) (artifact-size . 2048) (created-at . 1792829574) (updated-at . #f)) ((id . spec-artifact-2) (job-id . spec-artifact-job) (title . byggsteg-job-2.tar.gz) (artifact-path . /tmp/byggsteg-artifact-spec-2016/spec-artifact-job-2.tar.gz) (artifact-size . 4096) (created-at . 1792829574) (updated-at . #f)))
[⚙️ assert] a job nothing was collected for draws no artifacts
✅ got: ()
[🧪 test] only a file inside the artifact directory may be downloaded
[⚙️ assert] no row outside the artifact directory is servable
✅ got: ()
[⚙️ assert] a recorded tarball inside it is servable
✅ got: #t
[⚙️ assert] a row with no path is not servable
✅ got: #f
[🧪 test] a job asks for one tarball of bare paths, or a bundle per name
[⚙️ assert] a list of paths is one unnamed bundle, in the order written
✅ got: ((#f dist/wikimusic-api docs/manual))
[⚙️ assert] each named bundle keeps its name and its paths
✅ got: ((binaries dist bin) (docs docs/manual))
[⚙️ assert] bare paths and bundles mix, and keep the order they were written in
✅ got: ((#f README.org) (binaries dist) (docs docs/manual))
[⚙️ assert] a bundle written as one list is a name and the paths behind it
✅ got: ((binaries dist bin))
[⚙️ assert] a name written as a symbol is read as the name it spells
✅ got: ((binaries dist))
[⚙️ assert] one path written without its list is still one path
✅ got: ((#f dist/app))
[⚙️ assert] a field of nothing asks for nothing
✅ got: ()
[⚙️ assert] a bundle that names no path is dropped rather than packed empty
✅ got: ()
[🧪 test] forgetting a job's artifacts takes the tarballs and the rows
[⚙️ assert] both go, and a row naming a file outside the directory leaves it alone
✅ got: ((forgotten 3) (rows-left 0) (tarballs-gone (#f #f)) (a-file-outside-the-directory-was-left-alone #t))
[🧪 test] a sweep removes the tarballs no row points at, and nothing else
[⚙️ assert] the old orphan goes; the fresh one, the named one, a name byggsteg never writes and a directory stay
✅ got: ((removed (/tmp/byggsteg-artifact-spec-2016/orphan-old.tar.gz)) (the-old-orphan-is-gone #f) (the-fresh-one-is-kept #t) (one-a-row-still-names-is-kept #t) (a-name-byggsteg-never-writes-is-left #t) (a-directory-is-left #t))
[🧪 test] a download is offered under a name a header can carry
[⚙️ assert] a title becomes a plain file name
✅ got: my-build--trunk-..-x.tar.gz
[⚙️ assert] the second tarball of one job is numbered
✅ got: byggsteg-job-2.tar.gz
[⚙️ assert] a named bundle is offered under its own name
✅ got: (binaries.tar.gz binaries-2.tar.gz docs-manual.tar.gz)
[⚙️ assert] a size is read in the unit a reader can hold in mind
✅ got: 2.0 KiB
ℹ️ info - ran 1 tasks in: 0 seconds, 42655 microseconds
running unit tests from file: retry-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 342391734 (replay with VERITAS_SEED=342391734)
+----------------------------------------------+
[📑 suite] where a retry is offered
[🧪 test] a list offers a retry only for a job that failed
[⚙️ assert] a green or a running row has nothing to retry; the red one does
✅ got: ((failed . #t) (succeeded . #f) (running . #f) (queued . #f))
[⚙️ assert] and the row the rule answers for is the row that carries the button
✅ got: ((failed . #t) (succeeded . #f) (running . #f) (queued . #f))
[🧪 test] a job's own page offers a retry whatever its status
[⚙️ assert] every job but one still running can be run again from its page
✅ got: ((failed . #t) (succeeded . #t) (running . #f) (queued . #t))
[🧪 test] a reader who may not submit a retry is offered none
[⚙️ assert] with no permission at all, neither a row nor a job's own page offers a retry
✅ got: ((failed . #f) (succeeded . #f) (running . #f) (queued . #f))
[⚙️ assert] and the page is no more generous than the list: a form a reader cannot send is not drawn
✅ got: ((failed . #f) (succeeded . #f) (running . #f) (queued . #f))
[⚙️ assert] holding byggsteg:job-create, the rules read exactly as they do for a super user
✅ got: ((failed . #t) (succeeded . #f) (running . #f) (queued . #f))
[⚙️ assert] and the row that rule answers for is the row that carries the form, for a reader who may send it
✅ got: ((failed . #t) (succeeded . #f) (running . #f) (queued . #f))
[⚙️ assert] while a reader who may not send one is drawn no form, however red the row
✅ got: ((failed . #f) (succeeded . #f) (running . #f) (queued . #f))
ℹ️ info - ran 1 tasks in: 0 seconds, 19438 microseconds
running unit tests from file: user-bootstrap-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 342391734 (replay with VERITAS_SEED=342391734)
+----------------------------------------------+
[📑 suite] user bootstrap
[🧪 test] the first account is a super user a sign-in recognizes
[⚙️ assert] the row holds the username, the email, a hash of the password and every permission
✅ got: ((the-account-is-there #t) (with-the-username-given alice) (and-the-email-given alice@example.org) (the-password-is-not-stored #f) (but-the-hash-of-it-is #t) (and-another-password-is-not #f) (it-is-stored-with-a-salt-of-its-own #t) (it-holds-every-permission (byggsteg:job-create byggsteg:job-delete byggsteg:profile-create byggsteg:profile-delete byggsteg:user-create byggsteg:user-delete byggsteg:modify-permissions)))
[🧪 test] an account named its own permissions, or none
[⚙️ assert] a limited account holds what was asked for, an empty one holds nothing, and an email names one account
✅ got: ((the-limited-account-was-made #t) (with-exactly-the-permissions-named (byggsteg:job-create byggsteg:profile-create)) (its-password-works-too #t) (an-account-can-be-made-with-none ()) (and-it-signs-in-all-the-same #t) (two-accounts-cannot-share-an-email #f))
ℹ️ info - ran 1 tasks in: 0 seconds, 6561 microseconds
running unit tests from file: password-reset-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 342391734 (replay with VERITAS_SEED=342391734)
+----------------------------------------------+
[📑 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, 1285 microseconds
running unit tests from file: analytics-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 342391734 (replay with VERITAS_SEED=342391734)
+----------------------------------------------+
[📑 suite] the page-view script a deployment may put on its pages
[🧪 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 deployment that reports nowhere puts the script on no page
[⚙️ assert] no page names the service
✅ got: symbanta
[🧪 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
[🧪 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"
ℹ️ info - ran 1 tasks in: 0 seconds, 56907 microseconds
running unit tests from file: log-streaming-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 342391734 (replay with VERITAS_SEED=342391734)
+----------------------------------------------+
[📑 suite] job log streaming
[🧪 test] output reaches the log a batch at a time, whole
[⚙️ assert] the line that completes the batch is the one that writes
✅ got: ((calls-before-the-batch-completes 0) (text-held one
two
) (written-by-the-batch (one
two
three
)) (written-at-the-end (one
two
three
)) (calls-at-the-end 1))
[🧪 test] a buffer writes only when it has something new to say
[⚙️ assert] nothing gathered, and nothing gathered again, are not writes
✅ got: ((calls-of-an-empty-buffer 0) (first-flush (one
)) (calls-after-two-flushes 1))
[🧪 test] a command is announced the way a finished log announces it
[⚙️ assert] the banner names the command and starts its own line
✅ got: ((names-the-command #t) (starts-its-own-line #t))
[🧪 test] a running job's log row is refreshed while it runs
[⚙️ assert] two lines are held, and the batch that completes three is written
✅ got: ((before-the-batch ) (the-batch-is-in-the-row #t) (the-whole-log-is-in-the-row #t) (the-end-is-in-the-row #t))
[🧪 test] one job's log is the log that is written
[⚙️ assert] streaming into a job writes its log and no other
✅ got: ((the-job-log-is-written #t) (the-other-log-is-untouched ))
ℹ️ info - ran 1 tasks in: 0 seconds, 17757 microseconds
running unit tests from file: terminal-glass-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 342391734 (replay with VERITAS_SEED=342391734)
+----------------------------------------------+
[📑 suite] terminal glass
[🧪 test] a pane closes its decorations and keeps its content outside them
[⚙️ assert] no element of a pane is closed on itself
✅ got: />
[⚙️ assert] the content sits two elements deep: the pane and its layer
✅ got: 2
ℹ️ info - ran 1 tasks in: 0 seconds, 1517 microseconds
running unit tests from file: container-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 342391734 (replay with VERITAS_SEED=342391734)
+----------------------------------------------+
[📑 suite] Container Suite
[🧪 test] A deployment that names a runner runs the runtime as it
[⚙️ assert] the runtime is started as the other account
✅ got: #t
[⚙️ assert] and the account is named
✅ got: #t
[⚙️ assert] HOME is passed through sudo
✅ got: #t
[⚙️ assert] and so is the runtime directory of that account
✅ got: #t
[🧪 test] A socket that is not there is not handed out
[⚙️ assert] A DOCKER_HOST that points at nothing is worse than none
✅ got: ()
[🧪 test] A job that names no image runs on the machine
[⚙️ assert] Nothing is wrapped when nothing asked for it
✅ got: maak test
[⚙️ assert] No image, no runtime
✅ got: maak test
[⚙️ assert] A runtime of none leaves the command alone
✅ got: maak test
[🧪 test] The deployment says which runtime, and none is a real answer
[⚙️ assert] podman is taken at its word
✅ got: podman
[⚙️ assert] so is docker
✅ got: docker
[⚙️ assert] none is a runtime a deployment may name
✅ got: none
[🧪 test] A podman build is the caller's, rootless
[⚙️ assert] keep-id maps the container's user to the caller
✅ got: #t
[⚙️ assert] the build is not root
✅ got: #f
[🧪 test] The image is the word before the shell's arguments
[⚙️ assert] the image is what -lc runs in
✅ got: example/build:1
[⚙️ assert] the shell is named as the entrypoint
✅ got: --entrypoint
[🧪 test] The clone is mounted where it already is
[⚙️ assert] The workdir is named
✅ got: #t
[⚙️ assert] and mounted at the same path
✅ got: #t
[⚙️ assert] the shell is the entrypoint
✅ got: #t
[⚙️ assert] the command is a login shell's -c
✅ got: #t
[🧪 test] The runtime an image is built with can be named per deployment
[⚙️ assert] BYGGSTEG_CONTAINER_IMAGE is the default image
✅ got: alpine
[⚙️ assert] and empty means no default image
✅ got: #f
[🧪 test] An executable is found in PATH by its full path
[⚙️ assert] a program that is installed is found
✅ got: #t
[⚙️ assert] a program that is not is not
✅ got: #f
[⚙️ assert] an absolute name is not looked up in PATH
✅ got: #f
[🧪 test] A job that names its own runtime keeps it
[⚙️ assert] the job's own DOCKER_HOST is what the command sees
✅ got: #t
[⚙️ assert] and byggsteg does not add a second one
✅ got: #f
[🧪 test] A socket that exists is the one a client is told about
[⚙️ assert] DOCKER_HOST wins when the deployment set it
✅ got: /tmp/byggsteg-container-spec-2016.sock
[⚙️ assert] the job is handed one DOCKER_HOST
✅ got: #t
[⚙️ assert] the reaper is off unless a deployment wants it
✅ got: #t
[⚙️ assert] the reaper is told which socket is mounted
✅ got: #t
[🧪 test] A docker build names the user to write as
[⚙️ assert] docker has no keep-id, so the identity is named
✅ got: #t
[⚙️ assert] and the podman-only flag is not passed
✅ got: #f
[🧪 test] A locale the job names is left as it is
[⚙️ assert] the job's locale is passed
✅ got: #t
[⚙️ assert] and not overruled by the default
✅ got: #f
[🧪 test] The job's environment reaches the container
[⚙️ assert] variables are passed with --env
✅ got: #t
[⚙️ assert] the job's own variables are passed as written
✅ got: #t
[⚙️ assert] a locale is named when the job named none
✅ got: #t
ℹ️ info - ran 1 tasks in: 0 seconds, 28179 microseconds
running unit tests from file: about-page-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 342391734 (replay with VERITAS_SEED=342391734)
+----------------------------------------------+
[📑 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, 133175 microseconds
running unit tests from file: retention-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 342391734 (replay with VERITAS_SEED=342391734)
❌ error - task raised an error: misc-error: (#f statement already finalized ~S (#<<sqlite-stmt> pointer: #<pointer 0x29ae89f8> live?: #f reset?: #t cached?: #f>) #f)
ℹ️ info - ran 1 tasks in: 0 seconds, 94367 microseconds
❌ error -
aborting due to error in test case...
/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/logs.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/unit/log-poll-spec.scm.go
;;; compiling ./test/veritas/unit/form-width-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/unit/form-width-spec.scm.go
WARNING: (byggsteg html): `get-short-commit-sha' imported from both (hygguile hygguile) and (kracht prelude)
WARNING: (byggsteg html): imported module (hygguile hygguile) overrides core binding `select'
;;; compiling ./test/veritas/unit/artifact-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/unit/artifact-spec.scm.go
;;; compiling ./test/veritas/unit/retry-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/unit/retry-spec.scm.go
;;; compiling ./test/veritas/unit/user-bootstrap-spec.scm
;;; compiling ./lib/byggsteg/user-bootstrap.scm
;;; compiling ./lib/byggsteg/sqlite/user.scm
;;; compiling ./lib/byggsteg/domain/user.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/domain/user.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/sqlite/user.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/user-bootstrap.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/unit/user-bootstrap-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
;;; compiling ./test/veritas/support/deployment.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/support/deployment.scm.go
;;; 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/log-streaming-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/unit/log-streaming-spec.scm.go
;;; compiling ./test/veritas/unit/terminal-glass-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/unit/terminal-glass-spec.scm.go
;;; compiling ./test/veritas/unit/container-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/unit/container-spec.scm.go
;;; compiling ./test/veritas/unit/about-page-spec.scm
;;; compiling ./app/views/about.scm
;;; 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
;;; compiling ./test/veritas/unit/retention-spec.scm
;;; compiling ./lib/byggsteg/job/retention.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/job/retention.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/unit/retention-spec.scm.go
Backtrace:
In ice-9/boot-9.scm:
1784:12 7 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In unknown file:
6 (apply-smob/0 #<thunk 7f3d8b315340>)
In ice-9/boot-9.scm:
733:2 5 (call-with-prompt _ _ #<procedure default-prompt-handler (k proc)>)
In ice-9/eval.scm:
619:8 4 (_ #(#(#<directory (guile-user) 7f3d8b318c80>)))
In ice-9/command-line.scm:
187:19 3 (_ #<input: custom-port 7f3d8b3003f0>)
In unknown file:
2 (eval ((@ (maak main) main)) #<directory (guile-user) 7f3d8b318c80>)
In srfi/srfi-1.scm:
750:9 1 (for-each #<procedure 7f3d894c1198 at maak/maak.scm:87:12 (task)> (test))
In maak/dsl.scm:
89:12 0 ($ _ #:verbose? _ #:join _)
maak/dsl.scm:89:12: In procedure $:
Non-zero exit code when running!
Command: 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))'
Exit code: 1
--------------------------------------------------------------
Maak: 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.