starting new job...
→ running command: dir='/etc/byggsteg/job-clone//pingwing/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 ba4f52a to 9f5aa20
✓ command finished in 0.59s
→ running command: cd /etc/byggsteg/job-clone/pingwing/trunk && uname -a
Linux wolk-jjba 7.2.11-gnu #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux
✓ command finished in 0.01s
→ running command: cd /etc/byggsteg/job-clone/pingwing/trunk && git log --name-status HEAD^..HEAD
commit 9f5aa201ae239c09b91a333c305feb6d8d6035e1
Author: Josep Bigorra <jjbigorra@gmail.com>
Date: Sat Nov 7 11:24:36 2026 +0100
chore: release v0.6.0
A MINOR release: the licence changed hands, the pipeline changed host, and the
mail's type system gained its serif face -- no task type, template, setting or
environment variable moved, so an integrator has nothing to do but read the
terms.
CHANGELOG.org is new: the release notes live there from now on, one dated
section per release, and the manual links it.
The suite is red, and was before this release: two assertions in
templates-spec -- the doctype one and a 5-where-4-was-expected count -- fail on
HEAD as they fail here. They are named in the notes rather than fixed under a
release commit that is meant to carry no behaviour.
A CHANGELOG.org
M README.org
✓ command finished in 0.01s
→ running command: cd /etc/byggsteg/job-clone/pingwing/trunk && maak test
scanning directories for unit tests...
scanning present working directory for unit tests...
shuffled the files with seed 815729980 (replay with VERITAS_SEED=815729980)
found unit tests: (mail-spec.scm task-repository-spec.scm templates-spec.scm)
running unit tests from file: mail-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 815729980 (replay with VERITAS_SEED=815729980)
+----------------------------------------------+
[📑 suite] quoted-printable
[🧪 test] a trailing space is escaped
[⚙️ assert] a space before a newline cannot be eaten
✅ got: tail=20
[🧪 test] non-ASCII is escaped byte by byte
[⚙️ assert] an accented character travels as its bytes
✅ got: =C3=A9
[🧪 test] a leading dot is escaped so SMTP cannot end DATA early
[⚙️ assert] a line that starts with a dot is encoded
✅ got: =2Edot
[🧪 test] lines are split with CRLF
[⚙️ assert] a newline becomes CRLF
✅ got: one
two
[🧪 test] an equals sign is escaped
[⚙️ assert] the escape character escapes itself
✅ got: a=3Db
+----------------------------------------------+
[📑 suite] headers
[🧪 test] a bare address carries no angle brackets
[⚙️ assert] an address with no name is just the address
✅ got: j@x.y
[🧪 test] ASCII is left readable
[⚙️ assert] nothing is encoded that needs no encoding
✅ got: hello
[🧪 test] non-ASCII is encoded
[⚙️ assert] an accented subject is base64 encoded
✅ got: =?UTF-8?B?
[🧪 test] the date is an RFC 5322 date
[⚙️ assert] the date header is the shape a mail server reads
✅ got: Sat, 07 Nov 2026 11:25:03 +0100
[🧪 test] a line break cannot inject a header
[⚙️ assert] a CRLF in a value cannot open a header of its own
✅ got:
[🧪 test] a display name with a comma is quoted
[⚙️ assert] a comma in a display name is quoted
✅ got: "Doe, Jane" <j@x.y>
+----------------------------------------------+
[📑 suite] the message
[🧪 test] both parts are present
[⚙️ assert] the plain and the HTML body are both there
✅ got: #t
[🧪 test] a Message-ID is generated
[⚙️ assert] the message carries an id of its own
✅ got: Message-ID: <
[🧪 test] a Date header is present
[⚙️ assert] the message is dated
✅ got: Date:
[🧪 test] the boundary opens and closes
[⚙️ assert] a multipart message declares its boundary
✅ got: #t
[🧪 test] the id is appended to the subject
[⚙️ assert] a reader can match the mail to the task
✅ got: Subject: Hi the-id
[🧪 test] every line ends CRLF (no bare LF)
[⚙️ assert] no bare newline survives into the message
✅ got: #f
[🧪 test] the HTML part is carried through as the caller wrote it
[⚙️ assert] the body's own markup survives
✅ got: <p>html body</p>
[⚙️ assert] no doctype is invented here
✅ got: 0
ℹ️ info - ran 3 tasks in: 0 seconds, 20212 microseconds
running unit tests from file: task-repository-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 815729980 (replay with VERITAS_SEED=815729980);;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling ./test/veritas/unit/mail-spec.scm
;;; compiling ./lib/pingwing/mail.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/pingwing/trunk/lib/pingwing/mail.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/pingwing/trunk/test/veritas/unit/mail-spec.scm.go
;;; compiling ./test/veritas/unit/task-repository-spec.scm
;;; compiling ./lib/pingwing/sqlite/util.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/pingwing/trunk/lib/pingwing/sqlite/util.scm.go
;;; compiling ./lib/pingwing/sqlite/task.scm
;;; compiling ./lib/pingwing/domain/task.scm
;;; compiling ./lib/pingwing/domain/repo.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/pingwing/trunk/lib/pingwing/domain/repo.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/pingwing/trunk/lib/pingwing/domain/task.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/pingwing/trunk/lib/pingwing/sqlite/task.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/pingwing/trunk/test/veritas/unit/task-repository-spec.scm.go
+----------------------------------------------+
[📑 suite] reading the queue
[🧪 test] the next task is the oldest pending one
[⚙️ assert] a queue answers in the order it was filled
✅ got: queue-oldest
[🧪 test] the list an operator reads carries the metadata and no secrets
[⚙️ assert] the newest first, and only the columns an operator needs
✅ got: (queue-newest queue-middle queue-oldest)
[⚙️ assert] a reset link must not be on the way to a browser
✅ got: #f
[🧪 test] a batch is the oldest first and as long as it was asked for
[⚙️ assert] a sweep takes the batch it asked for, oldest first
✅ got: (queue-oldest queue-middle)
[⚙️ assert] a batch never carries a column the row does not have
✅ got: (queue-oldest queue-middle queue-newest)
+----------------------------------------------+
[📑 suite] a worker that stopped
[🧪 test] a task old enough to be abandoned goes back in the queue
[⚙️ assert] a processing task older than the threshold is pending again
✅ got: pending
[🧪 test] the claim of a task in flight is not undone by the sweep
[⚙️ assert] a claim written a moment ago is newer than the threshold
✅ got: processing
[🧪 test] a task a worker is still on is not taken away from it
[⚙️ assert] a processing task newer than the threshold is left alone
✅ got: processing
+----------------------------------------------+
[📑 suite] binding, not splicing
[🧪 test] a value that spells out SQL changes nothing
[⚙️ assert] the table the value named is still there
❌ fail - error, expect: 4, got: 5
[🧪 test] a subject with an apostrophe in it round-trips unchanged
[⚙️ assert] O'Brien is a name, not the end of a literal
✅ got: O'Brien'); DROP TABLE tasks; -- "quoted" & <b>bold</b>
+----------------------------------------------+
[📑 suite] updating and deleting
[🧪 test] a deleted task is gone
[⚙️ assert] nothing answers for a task that was deleted
✅ got: #f
[🧪 test] an update writes the columns it names
[⚙️ assert] the status and the attempt count are what was written
✅ got: (complete 2)
+----------------------------------------------+
[📑 suite] claiming
[🧪 test] a claimed task is no longer pending
[⚙️ assert] claiming takes the task out of the queue
✅ got: #f
[⚙️ assert] and the row says it is being processed
✅ got: processing
[🧪 test] claiming an already claimed task changes nothing
[⚙️ assert] a task another sweep took is left alone
✅ got: processing
ℹ️ info - ran 5 tasks in: 0 seconds, 21885 microseconds
❌ error -
aborting due to error in test case...
;;; note: source file /etc/byggsteg/job-clone/pingwing/trunk/maak.scm
;;; newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/pingwing/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/pingwing/trunk/maak.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/pingwing/trunk/maak.scm.go
maak: error: command failed (exit code 1): guix time-machine --channels=channels.scm -- shell -m manifest.scm -- guile -L ./lib -L . -L ./test -c '(begin (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/pingwing/trunk/maak.scm
Executing Maak tasks: test
--------------------------------------------------------------
=> Running Maak task: test
Run the project's test suite with Veritas.
The runner scans ./test for suites and loads each spec as a module, which is
why the specs under test/veritas/unit are named `(veritas unit ...)': that is
the name the runner derives from where they sit, and `-L ./test' is what lets
Guile resolve it.
Execute command:
guix time-machine --channels=channels.scm -- shell -m manifest.scm -- guile -L ./lib -L . -L ./test -c '(begin (use-modules (veritas runner)) (run-tests))'
Executing: guix time-machine --channels=channels.scm -- shell -m manifest.scm -- guile -L ./lib -L . -L ./test -c '(begin (use-modules (veritas runner)) (run-tests))'
✗ command failed (exit 1) after 5.89s