starting new job...
→ running command: cd "/etc/byggsteg/job-clone//wolk-jjba/trunk" && git reset --hard && git pull
HEAD is now at b704062 feat: Improve testing
From https://codeberg.org/jjba23/wolk-jjba
b704062..2282f65 trunk -> origin/trunk
Updating b704062..2282f65
Fast-forward
README.org | 41 ++++++---
config.scm | 27 +++++-
test/veritas/unit/operating-system-spec.scm | 127 ++++++++++++++++++----------
3 files changed, 139 insertions(+), 56 deletions(-)
→ running command: cd /etc/byggsteg/job-clone/wolk-jjba/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/wolk-jjba/trunk && git log --name-status HEAD^..HEAD
commit 2282f65c27defeeeaa925c2641ce66ccbc4f3520
Author: Josep Bigorra <jjbigorra@gmail.com>
Date: Sun Oct 25 01:15:49 2026 +0200
feat: Improve testing
M README.org
M config.scm
M test/veritas/unit/operating-system-spec.scm
→ running command: cd /etc/byggsteg/job-clone/wolk-jjba/trunk && maak test
channels.scm:47:6: warning: channel 'jointhefreeworld' is not trusted
scanning directories for unit tests...
scanning present working directory for unit tests...
shuffled the files with seed 93446446 (replay with VERITAS_SEED=93446446)
found unit tests: (certbot-spec.scm temp-spec.scm secrets-spec.scm logging-spec.scm iptables-spec.scm nginx-spec.scm gfs-spec.scm containers-spec.scm radio-spec.scm operating-system-spec.scm jobs-spec.scm sysctl-spec.scm prelude-spec.scm bash-spec.scm maintenance-spec.scm)
running unit tests from file: certbot-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 93446446 (replay with VERITAS_SEED=93446446)
+----------------------------------------------+
[📑 suite] Certbot Suite
[🧪 test] Each certificate has a vhost
[⚙️ assert] No certificate is requested for an unserved name
✅ got: ()
[🧪 test] A certificate request covers the apex and its www
[⚙️ assert] The www alias is requested by default
✅ got: (example.org www.example.org)
[⚙️ assert] with-www? #f requests the apex alone
✅ got: (naked.example)
[🧪 test] Each vhost has a certificate
[⚙️ assert] Every TLS vhost name is covered by a certificate
✅ got: ()
[🧪 test] The capability keeps the documented account and webroot
[⚙️ assert] The ACME account address is set
✅ got: jjbigorra@gmail.com
[⚙️ assert] HTTP-01 challenges are answered from /srv/http
✅ got: /srv/http
[🧪 test] Every certificate reloads nginx
[⚙️ assert] A deploy hook is attached to each request
✅ got: #t
[⚙️ assert] All of them are the one nginx reload hook
✅ got: #t
[⚙️ assert] The hook reads nginx's pid file
✅ got: #t
[⚙️ assert] The hook reloads nginx with SIGHUP
✅ got: #t
[🧪 test] Fifteen certificates are requested
[⚙️ assert] The count matches the list in the module
✅ got: 15
[⚙️ assert] No domain is requested twice
✅ got: 28
ℹ️ info - ran 1 tasks in: 0 seconds, 7900 microseconds
running unit tests from file: temp-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 93446446 (replay with VERITAS_SEED=93446446)
+----------------------------------------------+
[📑 suite] Temporary Directory Suite
[🧪 test] Removal takes the whole tree, and a missing path is fine
[⚙️ assert] Removal reports success
✅ got: #t
[⚙️ assert] The tree is gone, not just its files
✅ got: #t
[⚙️ assert] Removing what is not there is not an error
✅ got: #t
[⚙️ assert] Neither is a path that never existed
✅ got: #t
[🧪 test] A directory that is already there is never handed out
[⚙️ assert] The second call chose another name
✅ got: #t
[⚙️ assert] The new fixture does not inherit the last run's files
✅ got: #t
[⚙️ assert] And the directory that was there is left alone
✅ got: #t
[🧪 test] Two calls never make the same directory
[⚙️ assert] Every fixture has a name of its own
✅ got: #t
[⚙️ assert] And every one of them was created
✅ got: #t
[⚙️ assert] Each starts empty, so no run inherits files
✅ got: #t
[⚙️ assert] And none of them is readable by another user
✅ got: #t
[🧪 test] The directory is named after the fixture, in TMPDIR
[⚙️ assert] The prefix names the suite that made it
✅ got: #t
[⚙️ assert] And it is created in the directory asked for
✅ got: #t
ℹ️ info - ran 1 tasks in: 0 seconds, 84081 microseconds
running unit tests from file: secrets-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 93446446 (replay with VERITAS_SEED=93446446)
+----------------------------------------------+
[📑 suite] Secrets Suite
[🧪 test] apply-secrets writes one 0600 auth.json per account
[⚙️ assert] The report names the registry
✅ got: docker.io
[⚙️ assert] And says the credential was applied
✅ got: applied
[⚙️ assert] joe has an auth file
✅ got: #t
[⚙️ assert] so does byggsteg-runner
✅ got: #t
[⚙️ assert] The auth file is readable by its owner only
✅ got: 384
[⚙️ assert] and so is the directory it lives in
✅ got: 448
[⚙️ assert] The file is the credential podman reads
✅ got: {"auths": {"docker.io": {"auth": "ampiYTIzOmRja3JfcGF0X1NQRUNUT0tFTg=="}}}
[🧪 test] A dry run writes nothing
[⚙️ assert] The dry run says what it would write
✅ got: would-write
[⚙️ assert] and writes nothing
✅ got: #t
[🧪 test] A token is read from the first line, trimmed
[⚙️ assert] Surrounding whitespace is dropped
✅ got: value-with-space
[⚙️ assert] An empty secret has no value
✅ got: #f
[⚙️ assert] Neither does one that is only whitespace
✅ got: #f
[⚙️ assert] A missing secret is #f, not an error
✅ got: #f
[🧪 test] The timer is scheduled, logged and rotated
[⚙️ assert] The capability provides a secrets-apply service
✅ got: #t
[⚙️ assert] It runs every quarter of an hour
✅ got: #t
[⚙️ assert] It runs the Scheme program, not a shell script
✅ got: #t
[⚙️ assert] Its log file is rotated with the rest
✅ got: #t
[⚙️ assert] And it is respawned
✅ got: #t
[🧪 test] A changed token does rewrite, atomically
[⚙️ assert] A new token is written
✅ got: written
[⚙️ assert] and the file holds the new credential
✅ got: {"auths": {"docker.io": {"auth": "ampiYTIzOmEtbmV3LXRva2Vu"}}}
[⚙️ assert] No temporary file is left behind
✅ got: #t
[🧪 test] An account that does not exist is skipped, the rest are written
[⚙️ assert] joe still gets a file
✅ got: #t
[⚙️ assert] The unknown account is reported as such
✅ got: no-such-user
[🧪 test] The program logs in every account that builds containers
[⚙️ assert] joe is passed to secrets-apply
✅ got: #t
[⚙️ assert] byggsteg-runner is passed to secrets-apply
✅ got: #t
[⚙️ assert] The timer applies; the dry run is for humans
✅ got: #t
[⚙️ assert] The program imports only this repository's module
✅ got: #t
[🧪 test] A credential that would need JSON escaping is refused
[⚙️ assert] A quote in the username is an error
✅ got: #t
[⚙️ assert] So is a backslash
✅ got: #t
[🧪 test] The base64 encoder matches RFC 4648
[⚙️ assert] One byte is padded with two =
✅ got: Zg==
[⚙️ assert] Two bytes are padded with one =
✅ got: Zm8=
[⚙️ assert] Three bytes need no padding
✅ got: Zm9v
[⚙️ assert] Four bytes carry into the next group
✅ got: Zm9vYg==
[⚙️ assert] The full vector
✅ got: Zm9vYmFy
[⚙️ assert] Nothing encodes to nothing
✅ got:
[⚙️ assert] A non-ASCII character is encoded as its UTF-8 bytes
✅ got: w6k=
[🧪 test] auth.json is the file podman reads
[⚙️ assert] One registry, one auth entry, base64 of user:token
✅ got: {"auths": {"docker.io": {"auth": "ampiYTIzOmRja3JfcGF0X1NQRUNUT0tFTg=="}}}
[⚙️ assert] The top-level key is auths
✅ got: #t
[⚙️ assert] The token itself never appears in the file
✅ got: #t
[🧪 test] A second run rewrites nothing
[⚙️ assert] The file is reported as unchanged
✅ got: unchanged
[⚙️ assert] The file is not replaced, not even by a rename
✅ got: 10367692
[⚙️ assert] And its contents are untouched
✅ got: {"auths": {"docker.io": {"auth": "ampiYTIzOmRja3JfcGF0X1NQRUNUT0tFTg=="}}}
[🧪 test] A missing secret is not an error
[⚙️ assert] The registry is reported as missing
✅ got: missing
[⚙️ assert] and no file is claimed for it
✅ got: ()
[⚙️ assert] Nothing is written for a secret that is not there
✅ got: #t
ℹ️ info - ran 1 tasks in: 0 seconds, 12943 microseconds
running unit tests from file: logging-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 93446446 (replay with VERITAS_SEED=93446446)
+----------------------------------------------+
[📑 suite] Logging Suite
[🧪 test] Urgent messages reach the console
[⚙️ assert] emergency and alert are written to /dev/console
✅ got: #t
[⚙️ assert] The emergency priority is named in the table
✅ got: #t
[⚙️ assert] The alert priority is named in the table
✅ got: #t
[⚙️ assert] Priorities are read through the Shepherd
✅ got: #t
[🧪 test] Everything else lands in the catch-all
[⚙️ assert] There is a catch-all file
✅ got: #t
[⚙️ assert] Private authorization messages are routed too
✅ got: #t
[⚙️ assert] Facilities are read through the Shepherd
✅ got: #t
[🧪 test] The capability replaces the Shepherd's destination
[⚙️ assert] The system log service survives the rewrite
✅ got: #t
[⚙️ assert] The configured destination is this module's procedure
✅ got: #t
[⚙️ assert] It is not the default catch-all destination
✅ got: #f
[🧪 test] The capability is a rewriting function, not a service
[⚙️ assert] The service list it is given comes back
✅ got: 1
[🧪 test] AUTH, mail and cron have their own files
[⚙️ assert] Authentication goes to auth.log
✅ got: #t
[⚙️ assert] Mail goes to mail.log
✅ got: #t
[⚙️ assert] Scheduled jobs go to cron.log
✅ got: #t
[⚙️ assert] Kernel messages go to kern.log
✅ got: #t
[⚙️ assert] Daemon messages go to daemon.log
✅ got: #t
ℹ️ info - ran 1 tasks in: 0 seconds, 3740 microseconds
running unit tests from file: iptables-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 93446446 (replay with VERITAS_SEED=93446446)
+----------------------------------------------+
[📑 suite] Firewall Suite
[🧪 test] IPv6 mirrors IPv4
[⚙️ assert] IPv6 serves HTTPS
✅ got: #t
[⚙️ assert] IPv6 serves SSH
✅ got: #t
[⚙️ assert] IPv6 accepts ICMPv6
✅ got: #t
[⚙️ assert] IPv6 does not expose PostgreSQL
✅ got: #f
[🧪 test] The rules are a default-deny set
[⚙️ assert] The loopback is trusted
✅ got: #t
[⚙️ assert] Replies to outbound connections are allowed
✅ got: #t
[⚙️ assert] Everything else is rejected
✅ got: #t
[⚙️ assert] IPv6 rejects with the IPv6 ICMP type
✅ got: #t
[🧪 test] The served ports are open
[⚙️ assert] SSH is on 2323
✅ got: #t
[⚙️ assert] HTTP is open for ACME challenges
✅ got: #t
[⚙️ assert] HTTPS is open
✅ got: #t
[⚙️ assert] HTTP/3 is open
✅ got: #t
[⚙️ assert] Icecast is open
✅ got: #t
[⚙️ assert] Icecast sees UDP sources
✅ got: #t
[⚙️ assert] Minecraft is open
✅ got: #t
[⚙️ assert] Minecraft sees UDP
✅ got: #t
[🧪 test] Private services stay closed
[⚙️ assert] PostgreSQL is not exposed
✅ got: #f
[⚙️ assert] Grafana is reached through nginx only
✅ got: #f
[⚙️ assert] Prometheus is reached through nginx only
✅ got: #f
[⚙️ assert] The lucidplan upstream is not exposed
✅ got: #f
[🧪 test] Both rule sets exist and are balanced
[⚙️ assert] The IPv4 rule set is not empty
✅ got: #t
[⚙️ assert] The IPv6 rule set is not empty
✅ got: #t
[⚙️ assert] IPv4 commits exactly once
✅ got: 1
[⚙️ assert] IPv6 commits exactly once
✅ got: 1
[🧪 test] Hostile traffic is bounded before it reaches a service
[⚙️ assert] Malformed packets are dropped, not parsed
✅ got: #t
[⚙️ assert] New SSH connections are rate limited per source
✅ got: #t
[⚙️ assert] Every served port has a per-source connection cap
✅ got: #t
[⚙️ assert] ICMP echo is rate limited before it is accepted
✅ got: #t
[⚙️ assert] and the excess is dropped, not queued
✅ got: #t
[⚙️ assert] IPv6 drops malformed packets too
✅ got: #t
[⚙️ assert] IPv6 caps connections per source
✅ got: #t
ℹ️ info - ran 1 tasks in: 0 seconds, 6246 microseconds
running unit tests from file: nginx-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 93446446 (replay with VERITAS_SEED=93446446)
+----------------------------------------------+
[📑 suite] Nginx Suite
[🧪 test] Minimal mode keeps only the ACME and metrics vhosts
[⚙️ assert] A new machine gets two blocks
✅ got: 2
[⚙️ assert] A configured machine serves seventeen
✅ got: 17
[🧪 test] A reverse proxy passes the client's view upstream
[⚙️ assert] The domain defaults to jointhefreeworld.org
✅ got: (probe.jointhefreeworld.org www.probe.jointhefreeworld.org)
[⚙️ assert] The vhost proxies to its own upstream
✅ got: #t
[⚙️ assert] The upstream learns the client's scheme
✅ got: #t
[⚙️ assert] WebSocket upgrades survive the proxy
✅ got: #t
[⚙️ assert] Static assets are cached upstream too
✅ got: #t
[⚙️ assert] with-gzip? #f disables upstream gzip
✅ got: #t
[⚙️ assert] with-cors? adds the CORS header
✅ got: #t
[🧪 test] A proxied static asset keeps the client's Host
[⚙️ assert] The server block sends the client's Host
✅ got: #t
[⚙️ assert] Upstream keepalive still speaks HTTP/1.1
✅ got: #t
[⚙️ assert] The asset location declares none, so it inherits
✅ got: #f
[🧪 test] The access log is nginx's logfmt format
[⚙️ assert] The capability selects its own log format
✅ got: wolk
[⚙️ assert] Request time is logged
✅ got: #t
[⚙️ assert] Upstream response time is logged
✅ got: #t
[⚙️ assert] The status code is logged
✅ got: #t
[🧪 test] The ACME vhost on port 80 is rate limited
[⚙️ assert] Plain HTTP gets a request bucket
✅ got: #t
[⚙️ assert] and a connection cap
✅ got: #t
[🧪 test] Upstreams are on loopback with keepalive
[⚙️ assert] No upstream leaves the machine
✅ got: #t
[⚙️ assert] Every request/response upstream keeps connections alive
✅ got: #t
[⚙️ assert] The streaming upstream is not pooled
✅ got: #t
[⚙️ assert] byggsteg listens where its daemon does
✅ got: (127.0.0.1:50002)
[🧪 test] A static vhost applies the shared security baseline
[⚙️ assert] HSTS is sent
✅ got: #t
[⚙️ assert] A CSP is sent
✅ got: #t
[⚙️ assert] nosniff is sent
✅ got: #t
[⚙️ assert] HTTP/2 is enabled
✅ got: #t
[⚙️ assert] Per-IP connections are capped
✅ got: #t
[⚙️ assert] with-listdir? turns the index on
✅ got: #t
[⚙️ assert] with-rate-limit? #f removes the request cap
✅ got: #f
[🧪 test] The static sites serve from /srv/http
[⚙️ assert] A static site is rooted at its own name
✅ got: /srv/http/jointhefreeworld.org
[⚙️ assert] A site may point somewhere else
✅ got: /srv/symbanta.jointhefreeworld.org
[🧪 test] The ACME vhost answers on plain HTTP and redirects
[⚙️ assert] The ACME vhost listens on port 80
✅ got: #t
[⚙️ assert] Minimal mode emits no TLS vhost
✅ got: #f
[⚙️ assert] Plain HTTP is redirected to HTTPS
✅ got: #t
[⚙️ assert] The ACME block answers for the Grafana name
✅ got: #t
[🧪 test] A static vhost serves its own directory
[⚙️ assert] with-www? #f leaves the bare name alone
✅ got: (example.test)
[⚙️ assert] The root is the site directory under /srv/http
✅ got: /srv/http/example.test
[⚙️ assert] The certificate follows the name
✅ got: /etc/letsencrypt/live/example.test/fullchain.pem
[⚙️ assert] TLS and QUIC are both served
✅ got: (443 ssl 443 quic)
[🧪 test] Every vhost has a server block
[⚙️ assert] The count is the one the README documents
✅ got: 17
[⚙️ assert] jointhefreeworld.org is served
✅ got: #t
[⚙️ assert] byggsteg is served
✅ got: #t
[⚙️ assert] torikomi is served
✅ got: #t
[⚙️ assert] symbanta is served
✅ got: #t
[🧪 test] Every vhost denies dotfiles
[⚙️ assert] The dotfile rule is the first location
✅ got: ~ /\.(?!well-known)
[⚙️ assert] and it denies everything
✅ got: (deny all;)
[🧪 test] The global block carries the tuning and the zones
[⚙️ assert] sendfile is on
✅ got: #t
[⚙️ assert] The proxy rate-limit zone exists
✅ got: #t
[⚙️ assert] The static rate-limit zone exists
✅ got: #t
[⚙️ assert] The WebSocket map is defined
✅ got: #t
[⚙️ assert] The nginx version is hidden
✅ got: #t
[🧪 test] Every upstream a vhost names is declared
[⚙️ assert] Ten upstreams are declared
✅ got: 10
[⚙️ assert] Each proxy_pass names a declared upstream
✅ got: ()
[🧪 test] The administrative vhosts are locked down
[⚙️ assert] Grafana uses the strict request bucket
✅ got: #t
[⚙️ assert] Prometheus uses the strict request bucket
✅ got: #t
[⚙️ assert] The node exporter uses the strict request bucket
✅ got: #t
[⚙️ assert] Grafana caps connections per address
✅ got: #t
[⚙️ assert] and not with the application bucket
✅ got: #f
[⚙️ assert] The node exporter is no longer public
✅ got: #t
[⚙️ assert] Grafana is not behind basic auth as well as its own login
✅ got: #f
[⚙️ assert] Prometheus keeps its password
✅ got: #t
[⚙️ assert] An admin vhost takes no large uploads
✅ got: #t
[🧪 test] Restricted vhosts carry basic authentication
[⚙️ assert] torikomi is password protected
✅ got: #t
ℹ️ info - ran 1 tasks in: 0 seconds, 95668 microseconds
running unit tests from file: gfs-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 93446446 (replay with VERITAS_SEED=93446446)
+----------------------------------------------+
[📑 suite] GFS Retention Suite
[🧪 test] Nothing older than a year survives, and a year is honoured
[⚙️ assert] 364 days old is still kept
✅ got: (364)
[⚙️ assert] 365 days and older are deleted (same month)
✅ got: (365 366 400)
[⚙️ assert] A year-old archive in another month is kept
✅ got: (300)
[🧪 test] Archive names identify an archive; sidecars and strays do not
[⚙️ assert] A tar archive carries its timestamp
✅ got: 1700000000
[⚙️ assert] So does an SQL dump
✅ got: 1700000000
[⚙️ assert] The checksum sidecar is not an archive
✅ got: #f
[⚙️ assert] A stray file is not an archive
✅ got: #f
[⚙️ assert] An unencrypted tarball is not an archive
✅ got: #f
[🧪 test] Running a command returns its lines and its exit status
[⚙️ assert] The output is read line by line
✅ got: (one two)
[⚙️ assert] The exit status is not swallowed
✅ got: 3
[🧪 test] Shell quoting survives an apostrophe
[⚙️ assert] A quote is escaped the POSIX way
✅ got: 'it'\''s'
[⚙️ assert] Spaces stay inside one word
✅ got: 'ls -1 /a b'
[🧪 test] Every archive is kept or deleted, never both
[⚙️ assert] The two lists partition the directory
✅ got: 40
[⚙️ assert] No archive appears in both
✅ got: ()
[⚙️ assert] Nothing kept is over a year old
✅ got: #t
[🧪 test] A run promotes, prunes and reports
[⚙️ assert] One long-term archive per project
✅ got: ((proj . 1))
[⚙️ assert] The newest mirror archive was promoted
✅ got: #t
[⚙️ assert] A stray file in the archive tree survives
✅ got: #t
[⚙️ assert] The expired archive was deleted
✅ got: #f
[⚙️ assert] Nothing outside the archive tree is deleted
✅ got: #t
[⚙️ assert] The promoted archive is not then deleted
✅ got: #t
[🧪 test] Past a week, the week's representative survives
[⚙️ assert] No week is represented twice
✅ got: 5
[⚙️ assert] A deleted archive's week is kept by another
✅ got: #t
[⚙️ assert] Those survivors are father archives
✅ got: #t
[🧪 test] Past a month, the month's representative survives
[⚙️ assert] No month is represented twice
✅ got: 7
[⚙️ assert] A deleted archive's month is kept by another
✅ got: #t
[⚙️ assert] Those survivors are grandfather archives
✅ got: #t
[🧪 test] Promotion is once per week and once per month
[⚙️ assert] An empty archive tree takes the newest
✅ got: ((1792584000 . proj-backup-1792584000.tar.gz.enc))
[⚙️ assert] A week that is already represented needs no copy
✅ got: ()
[⚙️ assert] A month that is already represented still takes a new week
✅ got: ((1792584000 . proj-backup-1792584000.tar.gz.enc))
[🧪 test] A dry run reports without touching the box
[⚙️ assert] No copy in a dry run
✅ got: ()
[⚙️ assert] No deletion in a dry run
✅ got: ()
[🧪 test] A run twice in a row changes nothing the second time
[⚙️ assert] The archive tree did not grow
✅ got: 2
[⚙️ assert] The second run copied nothing
✅ got: 2
[🧪 test] An unreachable box is a failure, not an empty directory
[⚙️ assert] No project is reported as counted
✅ got: ()
[⚙️ assert] Every unreachable project is reported
✅ got: (proj other)
[⚙️ assert] A silent empty directory would leave this empty
✅ got: #t
[🧪 test] Every archive up to a week old survives
[⚙️ assert] Ages 0 to 7 are all kept
✅ got: (0 1 2 3 4 5 6 7)
[⚙️ assert] Nothing in the son window is deleted
✅ got: ()
[⚙️ assert] All of them are kept as son
✅ got: #t
[🧪 test] Parsing sorts newest first and drops everything else
[⚙️ assert] Newest first, strays ignored
✅ got: (300 200 100)
[⚙️ assert] An empty directory parses to nothing
✅ got: ()
ℹ️ info - ran 1 tasks in: 0 seconds, 13305 microseconds
running unit tests from file: containers-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 93446446 (replay with VERITAS_SEED=93446446)
+----------------------------------------------+
[📑 suite] Containers Suite
[🧪 test] The activation prepares sessions and shares the checkout
[⚙️ assert] Runtime directories exist before any service
✅ got: #t
[⚙️ assert] The Byggsteg tree is made group-writable
✅ got: #t
[⚙️ assert] Only directories gain an execute bit
✅ got: #t
[🧪 test] The registry order is this machine's
[⚙️ assert] docker.io is searched first
✅ got: #t
[⚙️ assert] nothing here comes from the Fedora registry
✅ got: #f
[🧪 test] A Docker client is handed the socket the machine serves
[⚙️ assert] The socket lives beside the user's runtime dir
✅ got: /run/user/1002/podman/podman.sock
[⚙️ assert] The socket has a directory of its own
✅ got: /run/user/1002/podman
[⚙️ assert] DOCKER_HOST is a unix:// URL, not a path
✅ got: unix:///run/user/1002/podman/podman.sock
[⚙️ assert] The runtime directory is XDG's, by uid
✅ got: /run/user/0
[🧪 test] The storage driver works without root
[⚙️ assert] overlay is given a mount program
✅ got: #t
[⚙️ assert] The driver is still overlay
✅ got: #t
[🧪 test] The profile has everything a rootless build needs
[⚙️ assert] The storage driver's mount program is installed
✅ got: #t
[⚙️ assert] The fallback user-mode network is installed
✅ got: #t
[⚙️ assert] A `docker' command that is Podman is installed
✅ got: #t
[🧪 test] The API logs are rotated with the rest
[⚙️ assert] One log per API socket, plus the secrets timer
✅ got: (/var/log/wolk-jjba/secrets-apply.log /var/log/wolk-jjba/podman-api-joe.log /var/log/wolk-jjba/podman-api-byggsteg-runner.log)
[⚙️ assert] Every log the capability writes is rotated
✅ got: (/var/log/wolk-jjba/secrets-apply.log /var/log/wolk-jjba/podman-api-joe.log /var/log/wolk-jjba/podman-api-byggsteg-runner.log)
[🧪 test] Every podman user gets a Docker-compatible API socket
[⚙️ assert] One API service per account
✅ got: 2
[⚙️ assert] joe can run a testcontainers suite
✅ got: #t
[⚙️ assert] the CI can start a container through the API
✅ got: #t
[⚙️ assert] The service is `podman system service'
✅ got: #t
[⚙️ assert] An API socket is not allowed to time out
✅ got: #t
[⚙️ assert] It speaks HTTP over a unix socket
✅ got: #t
[⚙️ assert] The socket is the one DOCKER_HOST names
✅ got: #t
[⚙️ assert] The cgroup group survives the privilege drop
✅ got: #t
[⚙️ assert] The setuid helpers come first in PATH
✅ got: #t
[⚙️ assert] A killed socket is brought back
✅ got: #t
[🧪 test] Both accounts that build in containers are configured
[⚙️ assert] joe builds in containers by hand
✅ got: #t
[⚙️ assert] the CI builds in containers as its own user
✅ got: #t
[⚙️ assert] Every podman user has a subuid range
✅ got: (joe byggsteg-runner)
[⚙️ assert] Every podman user has a subgid range
✅ got: (joe byggsteg-runner)
[⚙️ assert] Each range is the kernel's usual 65536 IDs
✅ got: (65536 65536)
[⚙️ assert] The cgroup group owns the cgroup tree
✅ got: cgroup
[🧪 test] The engine does not assume systemd
[⚙️ assert] Guix System has no systemd to ask for a cgroup
✅ got: #t
[⚙️ assert] Rootless networking uses the packaged pasta
✅ got: #t
[🧪 test] A podman process is given a home and a runtime directory
[⚙️ assert] The storage graph root follows HOME
✅ got: #t
[⚙️ assert] Podman refuses a runtime dir that is not there
✅ got: #t
[⚙️ assert] A Docker client started by a build finds the API
✅ got: #t
[🧪 test] containers.conf is installed beside the files Guix writes
[⚙️ assert] The fourth /etc/containers file is added
✅ got: (containers/containers.conf)
[🧪 test] One session service prepares every account's runtime directory
[⚙️ assert] There is a sessions service
✅ got: #t
[⚙️ assert] It is provisioned once, under one name
✅ got: (podman-user-sessions)
[⚙️ assert] It is a one-shot: nothing to keep running
✅ got: #t
[⚙️ assert] It creates the XDG runtime directory
✅ got: #t
[⚙️ assert] It does it for every podman user
✅ got: #t
[⚙️ assert] It asks elogind to keep the directory
✅ got: #t
ℹ️ info - ran 1 tasks in: 0 seconds, 8448 microseconds
running unit tests from file: radio-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 93446446 (replay with VERITAS_SEED=93446446)
+----------------------------------------------+
[📑 suite] Radio Suite
[🧪 test] The live vhost carries the stream
[⚙️ assert] https://jointhefreeworld.org/radio/ is served
✅ got: #t
[🧪 test] Both timers are scheduled and rotated
[⚙️ assert] Two radio timers
✅ got: (radio-health mpd-scan)
[⚙️ assert] The health check runs every five minutes
✅ got: #t
[⚙️ assert] The library scan runs nightly
✅ got: #t
[⚙️ assert] Icecast's access log is rotated
✅ got: #t
[⚙️ assert] Its error log is rotated too
✅ got: #t
[⚙️ assert] And the job log
✅ got: #t
[🧪 test] MPD keeps its index on local disk, not on the mount
[⚙️ assert] The database is local
✅ got: /var/lib/mpd/tag_cache
[⚙️ assert] So is the state file that survives a restart
✅ got: /var/lib/mpd/state
[⚙️ assert] And the playlist directory
✅ got: /var/lib/mpd/playlists
[⚙️ assert] The library is the CIFS mount
✅ got: #t
[⚙️ assert] Eight megabytes of decode buffer absorb slow reads
✅ got: 8192
[🧪 test] MPD clients must authenticate, and the two passwords differ
[⚙️ assert] An admin and a read-only password
✅ got: (admin-pw@read,add,control,admin read-pw@read,add,control)
[🧪 test] No stream password is committed to the repository
[⚙️ assert] The old literal passwords are gone
✅ got: #t
[⚙️ assert] And the secret file is used instead
✅ got: #t
[🧪 test] The service provides the Icecast account
[⚙️ assert] The unprivileged user is part of the capability
✅ got: #t
[🧪 test] Passwords are escaped before they reach the XML
[⚙️ assert] All five metacharacters are escaped
✅ got: #t
[⚙️ assert] Nothing raw is left behind
✅ got: #t
[🧪 test] The activation creates what the Shepherd does not
[⚙️ assert] MPD's playlist directory
✅ got: #t
[⚙️ assert] The failure counter's directory
✅ got: #t
[🧪 test] The health job only intervenes after repeated failures
[⚙️ assert] Failures are counted across runs
✅ got: #t
[⚙️ assert] Three bad checks in a row are needed
✅ got: #t
[⚙️ assert] Icecast is restarted first
✅ got: #t
[⚙️ assert] Then MPD, which would otherwise reconnect to nothing
✅ got: #t
[🧪 test] The health job authenticates and watches every mount
[⚙️ assert] The main mount is checked
✅ got: #t
[⚙️ assert] The mobile mount is checked
✅ got: #t
[⚙️ assert] The MP3 mount is checked
✅ got: #t
[⚙️ assert] MPD liveness is a TCP connect
✅ got: #t
[⚙️ assert] The library mount is checked
✅ got: #t
[⚙️ assert] The player state comes from mpc's format string
✅ got: #t
[⚙️ assert] mpc authenticates with the password from the secret
✅ got: #t
[⚙️ assert] The secrets directory is the real one
✅ got: #t
[⚙️ assert] The password is read at run time
✅ got: #t;;; note: source file ./test/veritas/unit/certbot-spec.scm
;;; newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wolk-jjba/trunk/test/veritas/unit/certbot-spec.scm.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling ./test/veritas/unit/certbot-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wolk-jjba/trunk/test/veritas/unit/certbot-spec.scm.go
;;; note: source file ./test/veritas/unit/temp-spec.scm
;;; newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wolk-jjba/trunk/test/veritas/unit/temp-spec.scm.go
;;; compiling ./test/veritas/unit/temp-spec.scm
;;; note: source file ./test/veritas/temp.scm
;;; newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wolk-jjba/trunk/test/veritas/temp.scm.go
;;; compiling ./test/veritas/temp.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wolk-jjba/trunk/test/veritas/temp.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wolk-jjba/trunk/test/veritas/unit/temp-spec.scm.go
;;; compiling ./test/veritas/unit/secrets-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wolk-jjba/trunk/test/veritas/unit/secrets-spec.scm.go
;;; note: source file ./test/veritas/unit/logging-spec.scm
;;; newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wolk-jjba/trunk/test/veritas/unit/logging-spec.scm.go
;;; compiling ./test/veritas/unit/logging-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wolk-jjba/trunk/test/veritas/unit/logging-spec.scm.go
;;; note: source file ./test/veritas/unit/iptables-spec.scm
;;; newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wolk-jjba/trunk/test/veritas/unit/iptables-spec.scm.go
;;; compiling ./test/veritas/unit/iptables-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wolk-jjba/trunk/test/veritas/unit/iptables-spec.scm.go
;;; note: source file ./test/veritas/unit/nginx-spec.scm
;;; newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wolk-jjba/trunk/test/veritas/unit/nginx-spec.scm.go
;;; compiling ./test/veritas/unit/nginx-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wolk-jjba/trunk/test/veritas/unit/nginx-spec.scm.go
;;; note: source file ./test/veritas/unit/gfs-spec.scm
;;; newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wolk-jjba/trunk/test/veritas/unit/gfs-spec.scm.go
;;; compiling ./test/veritas/unit/gfs-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wolk-jjba/trunk/test/veritas/unit/gfs-spec.scm.go
gfs-backup: proj failed: misc-error (#f "cannot reach the Storage Box over ssh" () #f)
gfs-backup: other failed: misc-error (#f "cannot reach the Storage Box over ssh" () #f)
;;; note: source file ./test/veritas/unit/containers-spec.scm
;;; newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wolk-jjba/trunk/test/veritas/unit/containers-spec.scm.go
;;; compiling ./test/veritas/unit/containers-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wolk-jjba/trunk/test/veritas/unit/containers-spec.scm.go
;;; note: source file ./test/veritas/unit/radio-spec.scm
;;; newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wolk-jjba/trunk/test/veritas/unit/radio-spec.scm.go
;;; compiling ./test/veritas/unit/radio-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wolk-jjba/trunk/test/veritas/unit/radio-spec.scm.go
;;; note: source file ./test/veritas/unit/operating-system-spec.scm
;;; newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wolk-jjba/trunk/test/veritas/unit/operating-system-spec.scm.go
Backtrace:
In ice-9/threads.scm:
399:8 19 (_ _)
In ice-9/boot-9.scm:
3307:13 18 (_)
In ice-9/threads.scm:
399:8 17 (_ _)
In ice-9/boot-9.scm:
3596:20 16 (_)
2890:4 15 (save-module-excursion #<procedure 7f0e0cd17240 at ice-9/boot-9.scm:3597:21 ()>)
3616:26 14 (_)
In unknown file:
13 (primitive-load-path "wolk-jjba/packages" #<procedure 7f0e0e40c3a0 at ice-9/boot-9.scm:3603:37 ()>)
In wolk-jjba/packages.scm:
41:0 12 (_)
In ice-9/boot-9.scm:
3463:4 11 (define-module* _ #:filename _ #:pure _ #:version _ #:imports _ #:exports _ #:replacements _ #:re-exports _ #:re-export-replacements _ #:autoloads _ #:duplicates _ #:transformer _ #:declarative? _ #:inlinable-exports _)
2649:24 10 (call-with-deferred-observers #<procedure 7f0e0d367410 at ice-9/boot-9.scm:3464:5 ()>)
3476:24 9 (_)
231:29 8 (map1 (((gnu)) ((guix packages)) ((guix build-system gnu)) ((guix build-system guile)) ((guix git-download)) ((guix)) ((gnu packages ssh)) ((jointhefreeworld packages applications)) ((jointhefreeworld packages guile) #:prefix jtf:) ((ice-9 popen)) ((ice-9 textual-ports)) ((ice-9 time)) ((ice-9 format)) ((ice-9 string-fun)) ((ice-9 iconv)) ((guix licenses) #:prefix license:) ((ice-9 threads))))
231:29 7 (map1 (((guix packages)) ((guix build-system gnu)) ((guix build-system guile)) ((guix git-download)) ((guix)) ((gnu packages ssh)) ((jointhefreeworld packages applications)) ((jointhefreeworld packages guile) #:prefix jtf:) ((ice-9 popen)) ((ice-9 textual-ports)) ((ice-9 time)) ((ice-9 format)) ((ice-9 string-fun)) ((ice-9 iconv)) ((guix licenses) #:prefix license:) ((ice-9 threads))))
231:29 6 (map1 (((guix build-system gnu)) ((guix build-system guile)) ((guix git-download)) ((guix)) ((gnu packages ssh)) ((jointhefreeworld packages applications)) ((jointhefreeworld packages guile) #:prefix jtf:) ((ice-9 popen)) ((ice-9 textual-ports)) ((ice-9 time)) ((ice-9 format)) ((ice-9 string-fun)) ((ice-9 iconv)) ((guix licenses) #:prefix license:) ((ice-9 threads))))
231:29 5 (map1 (((guix build-system guile)) ((guix git-download)) ((guix)) ((gnu packages ssh)) ((jointhefreeworld packages applications)) ((jointhefreeworld packages guile) #:prefix jtf:) ((ice-9 popen)) ((ice-9 textual-ports)) ((ice-9 time)) ((ice-9 format)) ((ice-9 string-fun)) ((ice-9 iconv)) ((guix licenses) #:prefix license:) ((ice-9 threads))))
231:29 4 (map1 (((guix git-download)) ((guix)) ((gnu packages ssh)) ((jointhefreeworld packages applications)) ((jointhefreeworld packages guile) #:prefix jtf:) ((ice-9 popen)) ((ice-9 textual-ports)) ((ice-9 time)) ((ice-9 format)) ((ice-9 string-fun)) ((ice-9 iconv)) ((guix licenses) #:prefix license:) ((ice-9 threads))))
231:29 3 (map1 (((guix)) ((gnu packages ssh)) ((jointhefreeworld packages applications)) ((jointhefreeworld packages guile) #:prefix jtf:) ((ice-9 popen)) ((ice-9 textual-ports)) ((ice-9 time)) ((ice-9 format)) ((ice-9 string-fun)) ((ice-9 iconv)) ((guix licenses) #:prefix license:) ((ice-9 threads))))
231:29 2 (map1 (((gnu packages ssh)) ((jointhefreeworld packages applications)) ((jointhefreeworld packages guile) #:prefix jtf:) ((ice-9 popen)) ((ice-9 textual-ports)) ((ice-9 time)) ((ice-9 format)) ((ice-9 string-fun)) ((ice-9 iconv)) ((guix licenses) #:prefix license:) ((ice-9 threads))))
231:17 1 (map1 (((jointhefreeworld packages applications)) ((jointhefreeworld packages guile) #:prefix jtf:) ((ice-9 popen)) ((ice-9 textual-ports)) ((ice-9 time)) ((ice-9 format)) ((ice-9 string-fun)) ((ice-9 iconv)) ((guix licenses) #:prefix license:) ((ice-9 threads))))
3384:6 0 (resolve-interface (jointhefreeworld packages applications) #:select _ #:hide _ #:prefix _ #:renamer _ #:version _)
ice-9/boot-9.scm:3384:6: In procedure resolve-interface:
no code for module (jointhefreeworld packages applications)
Backtrace:
In ice-9/threads.scm:
399:8 19 (_ _)
In ice-9/boot-9.scm:
3307:13 18 (_)
In ice-9/threads.scm:
399:8 17 (_ _)
In ice-9/boot-9.scm:
3596:20 16 (_)
2890:4 15 (save-module-excursion #<procedure 7f6dbfb3a9c0 at ice-9/boot-9.scm:3597:21 ()>)
3616:26 14 (_)
In unknown file:
13 (primitive-load-path "wolk-jjba/packages" #<procedure 7f6dc1111960 at ice-9/boot-9.scm:3603:37 ()>)
In wolk-jjba/packages.scm:
41:0 12 (_)
In ice-9/boot-9.scm:
3463:4 11 (define-module* _ #:filename _ #:pure _ #:version _ #:imports _ #:exports _ #:replacements _ #:re-exports _ #:re-export-replacements _ #:autoloads _ #:duplicates _ #:transformer _ #:declarative? _ #:inlinable-exports _)
2649:24 10 (call-with-deferred-observers #<procedure 7f6dbfeda410 at ice-9/boot-9.scm:3464:5 ()>)
3476:24 9 (_)
231:29 8 (map1 (((gnu)) ((guix packages)) ((guix build-system gnu)) ((guix build-system guile)) ((guix git-download)) ((guix)) ((gnu packages ssh)) ((jointhefreeworld packages applications)) ((jointhefreeworld packages guile) #:prefix jtf:) ((ice-9 popen)) ((ice-9 textual-ports)) ((ice-9 time)) ((ice-9 format)) ((ice-9 string-fun)) ((ice-9 iconv)) ((guix licenses) #:prefix license:) ((ice-9 threads))))
231:29 7 (map1 (((guix packages)) ((guix build-system gnu)) ((guix build-system guile)) ((guix git-download)) ((guix)) ((gnu packages ssh)) ((jointhefreeworld packages applications)) ((jointhefreeworld packages guile) #:prefix jtf:) ((ice-9 popen)) ((ice-9 textual-ports)) ((ice-9 time)) ((ice-9 format)) ((ice-9 string-fun)) ((ice-9 iconv)) ((guix licenses) #:prefix license:) ((ice-9 threads))))
231:29 6 (map1 (((guix build-system gnu)) ((guix build-system guile)) ((guix git-download)) ((guix)) ((gnu packages ssh)) ((jointhefreeworld packages applications)) ((jointhefreeworld packages guile) #:prefix jtf:) ((ice-9 popen)) ((ice-9 textual-ports)) ((ice-9 time)) ((ice-9 format)) ((ice-9 string-fun)) ((ice-9 iconv)) ((guix licenses) #:prefix license:) ((ice-9 threads))))
231:29 5 (map1 (((guix build-system guile)) ((guix git-download)) ((guix)) ((gnu packages ssh)) ((jointhefreeworld packages applications)) ((jointhefreeworld packages guile) #:prefix jtf:) ((ice-9 popen)) ((ice-9 textual-ports)) ((ice-9 time)) ((ice-9 format)) ((ice-9 string-fun)) ((ice-9 iconv)) ((guix licenses) #:prefix license:) ((ice-9 threads))))
231:29 4 (map1 (((guix git-download)) ((guix)) ((gnu packages ssh)) ((jointhefreeworld packages applications)) ((jointhefreeworld packages guile) #:prefix jtf:) ((ice-9 popen)) ((ice-9 textual-ports)) ((ice-9 time)) ((ice-9 format)) ((ice-9 string-fun)) ((ice-9 iconv)) ((guix licenses) #:prefix license:) ((ice-9 threads))))
231:29 3 (map1 (((guix)) ((gnu packages ssh)) ((jointhefreeworld packages applications)) ((jointhefreeworld packages guile) #:prefix jtf:) ((ice-9 popen)) ((ice-9 textual-ports)) ((ice-9 time)) ((ice-9 format)) ((ice-9 string-fun)) ((ice-9 iconv)) ((guix licenses) #:prefix license:) ((ice-9 threads))))
231:29 2 (map1 (((gnu packages ssh)) ((jointhefreeworld packages applications)) ((jointhefreeworld packages guile) #:prefix jtf:) ((ice-9 popen)) ((ice-9 textual-ports)) ((ice-9 time)) ((ice-9 format)) ((ice-9 string-fun)) ((ice-9 iconv)) ((guix licenses) #:prefix license:) ((ice-9 threads))))
231:17 1 (map1 (((jointhefreeworld packages applications)) ((jointhefreeworld packages guile) #:prefix jtf:) ((ice-9 popen)) ((ice-9 textual-ports)) ((ice-9 time)) ((ice-9 format)) ((ice-9 string-fun)) ((ice-9 iconv)) ((guix licenses) #:prefix license:) ((ice-9 threads))))
3384:6 0 (resolve-interface (jointhefreeworld packages applications) #:select _ #:hide _ #:prefix _ #:renamer _ #:version _)
ice-9/boot-9.scm:3384:6: In procedure resolve-interface:
no code for module (jointhefreeworld packages applications)
[⚙️ assert] No password is baked into the job script
✅ got: #t
[⚙️ assert] The song count is read, for the empty-database case
✅ got: #t
[⚙️ assert] An empty database is rescanned, with its output off stdout
✅ got: #t
[🧪 test] MPD pushes the same audio into three mounts
[⚙️ assert] Three streams
✅ got: 3
[⚙️ assert] The mounts are the documented ones
✅ got: (/radio.opus /radio-low.opus /radio.mp3)
[⚙️ assert] Two Opus and one MP3 for reach
✅ got: (opus opus lame)
[⚙️ assert] 128k, 64k for mobile data, 96k MP3
✅ got: (128000 64000 96000)
[⚙️ assert] Every output stays connected between tracks
✅ got: #t
[⚙️ assert] Every output is an Icecast client
✅ got: #t
[⚙️ assert] Every output authenticates with the source password
✅ got: #t
[🧪 test] Icecast is configured from the secrets, at the sizes a phone needs
[⚙️ assert] The source password comes from the secret
✅ got: #t
[⚙️ assert] And so does the admin password
✅ got: #t
[⚙️ assert] The burst is 128 KiB, not Icecast's 64 KiB default
✅ got: #t
[⚙️ assert] The queue holds two bursts
✅ got: #t
[⚙️ assert] There is room for every mount plus one
✅ got: #t
[⚙️ assert] It listens on 6690
✅ got: #t
[⚙️ assert] / is the status page
✅ got: #t
[⚙️ assert] The web root is a placeholder for the store path
✅ got: #t
[🧪 test] nginx proxies the stream without buffering it
[⚙️ assert] A ^~ location wins over the static-asset regex
✅ got: ^~ /radio/
[⚙️ assert] Audio is forwarded, not buffered
✅ got: #t
[⚙️ assert] A stream is one request that never ends
✅ got: #t
[⚙️ assert] The upstream speaks HTTP/1.1
✅ got: #t
[⚙️ assert] Web players on another origin are allowed
✅ got: #t
[⚙️ assert] The stream is not cacheable
✅ got: #t
[⚙️ assert] The location repeats the security headers
✅ got: #t
[🧪 test] The scan job skips a library that is not there
[⚙️ assert] It asks whether the mount is up
✅ got: #t
[⚙️ assert] And says so instead of scanning
✅ got: #t
[⚙️ assert] Otherwise it refreshes the database
✅ got: #t
[⚙️ assert] It authenticates like every other mpc call
✅ got: #t
ℹ️ info - ran 1 tasks in: 0 seconds, 22797 microseconds
running unit tests from file: operating-system-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 93446446 (replay with VERITAS_SEED=93446446)
+----------------------------------------------+
[📑 suite] Operating System Suite
[🧪 test] The languages a visitor may ask for are compiled
[⚙️ assert] Japanese, Greek, Chinese (both scripts), Arabic and Russian
❌ fail - error, expect: (#t #t #t #t #t #t), got: (#f #f #f #f #f #f)
[🧪 test] A missing secrets directory fails the evaluation
[⚙️ assert] config.scm cannot silently ship without secrets
✅ got: #t
[🧪 test] The system configuration evaluates as an ordinary user
[⚙️ assert] config.scm evaluates without root
❌ fail - error, expect: 0, got: 256
[⚙️ assert] The host keeps its name
❌ fail - error, expect: wolk-jjba, got: (the child did not evaluate config.scm)
[⚙️ assert] The result is an operating-system
❌ fail - error, expect: #t, got: #f
[🧪 test] The passwords come from the secrets directory the environment names
[⚙️ assert] The admin password is the fixture's
❌ fail - error, expect: fixture-admin-password, got:
[⚙️ assert] The read password is the fixture's
❌ fail - error, expect: fixture-read-password, got:
[🧪 test] The machine still has its services
[⚙️ assert] The service list is the whole machine
❌ fail - error, expect: #t, got: #f
ℹ️ info - ran 1 tasks in: 0 seconds, 101737 microseconds
❌ error -
aborting due to error in test case...
;;; compiling ./test/veritas/unit/operating-system-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wolk-jjba/trunk/test/veritas/unit/operating-system-spec.scm.go
;;; note: source file /etc/byggsteg/job-clone/wolk-jjba/trunk/maak.scm
;;; newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/wolk-jjba/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/wolk-jjba/trunk/maak.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/wolk-jjba/trunk/maak.scm.go
maak: error: command failed (exit code 1): env VERITAS_JOBS=1 guix time-machine --channels=channels.scm -- shell -m manifest.scm -- guile -L ./src -L ./test -c '(use-modules (veritas runner)) (run-tests)'
hint: Fix the command above, or run `maak --dry-run' to inspect it first.
--------------------------------------------------------------
Maak 0.12.2: the infinitely extensible command runner
Loading tasks from Maak file: /etc/byggsteg/job-clone/wolk-jjba/trunk/maak.scm
Executing Maak tasks: test
--------------------------------------------------------------
=> Running Maak task: test
Run the Veritas unit-test suite, one process per test file.
Runs inside the manifest shell like the other Scheme tasks: the suite
imports (guix gexp) and (gnu services ...) and needs veritas, none of
which are in the machine's system profile, so a bare `guile' fails with
`no code for module (veritas runner)' -- which is what the Byggsteg CI
task `maak-test' used to hit.
The files run in parallel, one process each, in as many processes as
this machine may use up to four; VERITAS_JOBS overrides that count.
Four things are deliberate, so that a failure here is a failure of the
code under test rather than of the schedule:
- the order the files run in is shuffled, and the seed is printed:
`VERITAS_SEED=<the seed> VERITAS_SHUFFLE_FILES=true maak test'
replays a failing order, and `VERITAS_SHUFFLE_FILES=false' runs them
in the fixed one;
- every fixture is created under a name unique to the run and removed
when it ends (see test/veritas/temp.scm), so two workers -- or two CI
jobs sharing /tmp -- cannot collide on one;
- GUILE_LOAD_PATH is set to the pulled Guix's module directory, because
evaluating config.scm needs the jointhefreeworld channel and the pinned
shell does not carry it (see the comment below);
- a suite that needs the network or the machine's own root-only files
is a suite that fails for reasons nobody can act on, and there is
none of those: see the Commentary of each spec.
Executing: env VERITAS_JOBS=1 guix time-machine --channels=channels.scm -- shell -m manifest.scm -- guile -L ./src -L ./test -c '(use-modules (veritas runner)) (run-tests)'