starting new job...
→ running command: cd "/etc/byggsteg/job-clone//byggsteg/trunk" && git reset --hard && git pull
HEAD is now at c1fa851 chore: Release v1.17.0
From https://codeberg.org/jjba23/byggsteg
c1fa851..7143def trunk -> origin/trunk
* [new tag] v1.17.0 -> v1.17.0
* [new tag] v1.18.0 -> v1.18.0
Updating c1fa851..7143def
Fast-forward
.gitignore | 4 +
README.org | 156 ++++++++-
app/views/index.scm | 105 +++---
lib/byggsteg/container.scm | 455 +++++++++++++++++++++++++
lib/byggsteg/job/pipeline.scm | 125 +++----
lib/byggsteg/job/runners.scm | 207 +++++++++++
lib/byggsteg/job/steps.scm | 193 ++++++++---
lib/byggsteg/job/tasks.scm | 196 +++++++++++
lib/byggsteg/preferences.scm | 53 +++
maak.scm | 15 +
pub/openapi.yaml | 9 +
sys/i18n/locale/en_US/LC_MESSAGES/translate.po | 14 +
sys/i18n/locale/es_ES/LC_MESSAGES/translate.mo | Bin 2487 -> 3473 bytes
sys/i18n/locale/es_ES/LC_MESSAGES/translate.po | 22 ++
sys/i18n/locale/ja_JP/LC_MESSAGES/translate.mo | Bin 2633 -> 3746 bytes
sys/i18n/locale/ja_JP/LC_MESSAGES/translate.po | 20 ++
sys/i18n/locale/nl_NL/LC_MESSAGES/translate.mo | Bin 2308 -> 3296 bytes
sys/i18n/locale/nl_NL/LC_MESSAGES/translate.po | 22 ++
sys/i18n/locale/translate.pot | 14 +
test/byggsteg/env.scm | 74 ++++
test/veritas/unit/api-v2-spec.scm | 32 +-
test/veritas/unit/container-spec.scm | 287 ++++++++++++++++
test/veritas/unit/runners-spec.scm | 194 +++++++++++
test/veritas/unit/tasks-spec.scm | 291 ++++++++++++++++
24 files changed, 2301 insertions(+), 187 deletions(-)
create mode 100644 lib/byggsteg/container.scm
create mode 100644 lib/byggsteg/job/runners.scm
create mode 100644 lib/byggsteg/job/tasks.scm
create mode 100644 test/byggsteg/env.scm
create mode 100644 test/veritas/unit/container-spec.scm
create mode 100644 test/veritas/unit/runners-spec.scm
create mode 100644 test/veritas/unit/tasks-spec.scm
→ 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 7143deffa0387773c76c92099aa3d4f9883d1f59
Author: Josep Bigorra <jjbigorra@gmail.com>
Date: Sat Oct 24 10:03:08 2026 +0200
feat: Add more runners
M README.org
M app/views/index.scm
M lib/byggsteg/job/pipeline.scm
A lib/byggsteg/job/runners.scm
M lib/byggsteg/job/steps.scm
A lib/byggsteg/job/tasks.scm
M pub/openapi.yaml
M sys/i18n/locale/en_US/LC_MESSAGES/translate.po
M sys/i18n/locale/es_ES/LC_MESSAGES/translate.mo
M sys/i18n/locale/es_ES/LC_MESSAGES/translate.po
M sys/i18n/locale/ja_JP/LC_MESSAGES/translate.mo
M sys/i18n/locale/ja_JP/LC_MESSAGES/translate.po
M sys/i18n/locale/nl_NL/LC_MESSAGES/translate.mo
M sys/i18n/locale/nl_NL/LC_MESSAGES/translate.po
M sys/i18n/locale/translate.pot
M test/veritas/unit/api-v2-spec.scm
A test/veritas/unit/runners-spec.scm
A 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/error-pages-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 ./lib/byggsteg/errors.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) a
scanning directories for unit tests...
scanning present working directory for unit tests...
shuffled the files with seed 448602590 (replay with VERITAS_SEED=448602590)
found unit tests: (error-pages-spec.scm user-bootstrap-spec.scm log-streaming-spec.scm artifact-spec.scm tasks-spec.scm job-search-spec.scm logs-page-spec.scm job-pipelines-spec.scm api-v2-spec.scm runners-spec.scm terminal-glass-spec.scm ansi-spec.scm password-reset-spec.scm job-pipeline-spec.scm container-spec.scm footer-version-spec.scm retention-spec.scm about-page-spec.scm logs-live-spec.scm console-resources-spec.scm log-poll-spec.scm retry-spec.scm form-width-spec.scm deployment-identity-spec.scm heatmap-spec.scm analytics-spec.scm password-strength-spec.scm)
running unit tests from file: error-pages-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 448602590 (replay with VERITAS_SEED=448602590)
+----------------------------------------------+
[📑 suite] error pages
[🧪 test] a page is built by the components rather than describing them
[⚙️ assert] no page carries a component call instead of its element
✅ got: ()
[⚙️ assert] the 404 page heads with the code and traces it in a pre
✅ got: ()
[🧪 test] no page closes an element on itself
[⚙️ assert] no element of a status page swallows what follows it
✅ got: ()
[🧪 test] each status answers with a page of this deployment's console
[⚙️ assert] the 400 page carries the chrome, the code and its words
✅ got: ()
[⚙️ assert] the 401 page carries the chrome, the code and its words
✅ got: ()
[⚙️ assert] the 404 page carries the chrome, the code and its words
✅ got: ()
[⚙️ assert] the 500 page carries the chrome, the code and its words
✅ got: ()
[🧪 test] a page a reader can act on
[⚙️ assert] a missing credential is answered with the way to sign in
✅ got: /login
[⚙️ assert] a path that answers nothing still leads to the job queue
✅ got: /logs
[⚙️ assert] a server-side failure wears the red hairline
✅ got: border-redwood-700
[⚙️ assert] a client error keeps the phosphor hairline
✅ got: border-redwood-700
[🧪 test] Artanis is handed a page for each status
[⚙️ assert] every status has a handler that answers with a string
✅ got: ()
[⚙️ assert] a status the table does not name still gets a page
✅ got: #t
[⚙️ assert] and it names the status it was asked for
✅ got: 418 unexpected status
ℹ️ info - ran 1 tasks in: 0 seconds, 76200 microseconds
running unit tests from file: user-bootstrap-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 448602590 (replay with VERITAS_SEED=448602590)
+----------------------------------------------+
[📑 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, 21843 microseconds
running unit tests from file: log-streaming-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 448602590 (replay with VERITAS_SEED=448602590)
+----------------------------------------------+
[📑 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, 15181 microseconds
running unit tests from file: artifact-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 448602590 (replay with VERITAS_SEED=448602590)
+----------------------------------------------+
[📑 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-1720/spec-artifact-job.tar.gz) (artifact-size . 2048) (created-at . 1792829030) (updated-at . #f)) ((id . spec-artifact-2) (job-id . spec-artifact-job) (title . byggsteg-job-2.tar.gz) (artifact-path . /tmp/byggsteg-artifact-spec-1720/spec-artifact-job-2.tar.gz) (artifact-size . 4096) (created-at . 1792829030) (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-1720/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, 31720 microseconds
running unit tests from file: tasks-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 448602590 (replay with VERITAS_SEED=448602590)
+----------------------------------------------+
[📑 suite] Tasks Suite
[🧪 test] The runner is the checkout's
[⚙️ assert] A clone with a maak.scm is a Maak checkout
✅ got: maak
[⚙️ assert] A clone with a justfile is a Just checkout
✅ got: just
[⚙️ assert] a justfile wins over a Makefile beside it
✅ got: just
[⚙️ assert] A clone without one is a Make checkout
✅ got: make
[⚙️ assert] A clone that is not there is read as Make
✅ got: make
[🧪 test] Every task is named once and described
[⚙️ assert] No task is named twice
✅ got: 64
[⚙️ assert] Every task has a reading, since a client is handed it
✅ got: #t
[⚙️ assert] A name is one word, so a job can write it
✅ got: #t
[🧪 test] The three families are all there, and none is empty
[⚙️ assert] a target a project is likely to have
✅ got: #t
[⚙️ assert] a task done by the machine
✅ got: #t
[⚙️ assert] the one that runs anything
✅ got: #t
[⚙️ assert] The list is the groups, in the order they are read in
✅ got: (build test lint check fmt docs package migrate clean coverage benchmark smoke e2e audit maak-build maak-test maak-lint maak-check maak-fmt maak-docs maak-package maak-migrate maak-clean maak-coverage maak-benchmark maak-smoke maak-e2e maak-audit just-build just-test just-lint just-check just-fmt just-docs just-package just-migrate just-clean just-coverage just-benchmark just-smoke just-e2e just-audit make-build make-test make-lint make-check make-fmt make-docs make-package make-migrate make-clean make-coverage make-benchmark make-smoke make-e2e make-audit deploy maak-deploy make-deploy restart pull-and-deploy pull-and-restart byggsteg-version trivial)
[🧪 test] A target the vocabulary does not name is still a target
[⚙️ assert] publish is run as the target it names
✅ got: #t
[⚙️ assert] and the project's own target did the work
❌ fail - error, expect: make-published, got: bash: line 1: make: command not found
[🧪 test] A name is split into the runner it names and the target it wants
[⚙️ assert] A bare name names no runner
✅ got: (#f . test)
[⚙️ assert] maak- names Maak
✅ got: (maak . test)
[⚙️ assert] just- names Just
✅ got: (just . test)
[⚙️ assert] make- names Make
✅ got: (make . test)
[⚙️ assert] A target nobody has heard of can still name a runner
✅ got: (make . publish)
[⚙️ assert] A machine task is not split
✅ got: (#f . pull-and-restart)
[🧪 test] Every target can also be asked for by runner
[⚙️ assert] Each bare target has a spelling for every advertised runner
✅ got: #t
[⚙️ assert] The bare name and those spellings are the whole target family
✅ got: 56
[🧪 test] A task is advertised, or it is a target the project invented
[⚙️ assert] a bare target is advertised
✅ got: #t
[⚙️ assert] so is a spelling of one
✅ got: #t
[⚙️ assert] and Just's spelling of one
✅ got: #t
[⚙️ assert] a target only the project has is not in the vocabulary
✅ got: #f
[⚙️ assert] and neither is a machine task
✅ got: #f
[🧪 test] A bare target runs with the checkout's runner
[⚙️ assert] test on a Make checkout is make test
✅ got: #t
[⚙️ assert] and it ran
❌ fail - error, expect: #t, got: #f
[⚙️ assert] the target the Makefile has ran
❌ fail - error, expect: make-tested, got: bash: line 1: make: command not found
[⚙️ assert] test on a Maak checkout is maak test
✅ got: #t
[⚙️ assert] with the target named, and not the project name
✅ got: #t
[⚙️ assert] test on a Just checkout is just test
✅ got: #t
[⚙️ assert] and the justfile's target ran
✅ got: #t
[⚙️ assert] a justfile beside a Makefile is still the Just checkout
✅ got: #t
[🧪 test] A prefixed target runs with the runner it names
[⚙️ assert] maak-test asks Maak, even when a Makefile is there
✅ got: #t
[⚙️ assert] make-test asks Make on the same checkout
✅ got: #t
ℹ️ info - ran 1 tasks in: 0 seconds, 10926 microseconds
❌ error -
aborting due to error in test case...
nd (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/lib/byggsteg/errors.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/unit/error-pages-spec.scm.go
WARNING: (byggsteg html): `get-short-commit-sha' imported from both (hygguile hygguile) and (kracht prelude)
;;; 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/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/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/tasks-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/unit/tasks-spec.scm.go
;;; note: source file /etc/byggsteg/job-clone/byggsteg/trunk/maak.scm
;;; newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/maak.scm.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /etc/byggsteg/job-clone/byggsteg/trunk/maak.scm
;;; /etc/byggsteg/job-clone/byggsteg/trunk/maak.scm:588:0: warning: shadows previous definition of `i18n-init-es' at /etc/byggsteg/job-clone/byggsteg/trunk/maak.scm:584:0
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/maak.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 7fd656d15340>)
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) 7fd656d18c80>)))
In ice-9/command-line.scm:
187:19 3 (_ #<input: custom-port 7fd656d003f0>)
In unknown file:
2 (eval ((@ (maak main) main)) #<directory (guile-user) 7fd656d18c80>)
In srfi/srfi-1.scm:
750:9 1 (for-each #<procedure 7fd654f14198 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.