starting new job...
→ running command: dir='/etc/byggsteg/job-clone//heks-linux/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 c411ea2 to 3b317f1
→ running command: cd /etc/byggsteg/job-clone/heks-linux/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/heks-linux/trunk && git log --name-status HEAD^..HEAD
commit 3b317f199c5004c6fa440e1595fadc7800ab512f
Author: Josep Bigorra <jjbigorra@gmail.com>
Date: Mon Nov 2 15:22:00 2026 +0100
feat: Fix lambdock on startup
M src/heks-linux/niri.scm
→ running command: cd /etc/byggsteg/job-clone/heks-linux/trunk && maak ci
channels.scm:42:6: warning: channel 'jointhefreeworld' is not trusted
--- ./src/heks-linux/mavericks.scm
+++ ./src/heks-linux/mavericks.scm
@@ -59,37 +59,37 @@
#:use-module (scriba scriba)
#:use-module (scriba auto)
#:export (mavericks-checkout-dir mavericks-assets-dir
- mavericks-fonts-dir mavericks-typefaces
- mavericks-script-dir mavericks-script-filename
- mavericks-font-families mavericks-font-files
- mavericks-script install-mavericks-config))
-
-(define s
- (scriba-auto-logger))
-
-;; --- where the artwork is ---
-
-;; The checkout this module came out of. The modules are loaded from
-;; <checkout>/src, so the checkout is the parent of whichever @code{%load-path}
-;; entry holds @file{heks-linux/mavericks.scm}.
-;;
-;; It is resolved instead of assumed because the path is written into the
-;; generated program at render time and read back later, from whatever directory
-;; the person happens to be in: a relative @code{./resources/mavericks} would be
-;; right when it was rendered and wrong when it was used. When nothing in the
-;; load path looks like this checkout - a REPL started somewhere else, a copy
-;; loaded out of a cache - the current directory is the only answer left, and
-;; the program reports the path it got rather than failing quietly.
-(define (mavericks-checkout-dir)
- "Return the root directory of the heks-linux checkout this module came from."
- (let loop ((dirs %load-path))
- (cond
- [(null? dirs)
- (or (getcwd) "/tmp")]
- [(file-exists? (string-append (car dirs) "/heks-linux/mavericks.scm"))
- (canonicalize-path (string-append (car dirs) "/.."))]
- [else
- (loop (cdr dirs))])))
+ mavericks-fonts-dir mavericks-typefaces
+ mavericks-script-dir mavericks-script-filename
+ mavericks-font-families mavericks-font-files
+ mavericks-script install-mavericks-config))
+
+(define s
+ (scriba-auto-logger))
+
+;; --- where the artwork is ---
+
+;; The checkout this module came out of. The modules are loaded from
+;; <checkout>/src, so the checkout is the parent of whichever @code{%load-path}
+;; entry holds @file{heks-linux/mavericks.scm}.
+;;
+;; It is resolved instead of assumed because the path is written into the
+;; generated program at render time and read back later, from whatever directory
+;; the person happens to be in: a relative @code{./resources/mavericks} would be
+;; right when it was rendered and wrong when it was used. When nothing in the
+;; load path looks like this checkout - a REPL started somewhere else, a copy
+;; loaded out of a cache - the current directory is the only answer left, and
+;; the program reports the path it got rather than failing quietly.
+(define (mavericks-checkout-dir)
+ "Return the root directory of the heks-linux checkout this module came from."
+ (let loop ((dirs %load-path))
+ (cond
+ [(null? dirs)
+ (or (getcwd) "/tmp")]
+ [(file-exists? (string-append (car dirs) "/heks-linux/mavericks.scm"))
+ (canonicalize-path (string-append (car dirs) "/.."))]
+ [else
+ (loop (cdr dirs))])))
;; The artwork itself, in the checkout rather than in an installation image: the
;; typefaces in @file{fonts}. They are Apple's, they are covered by
--- ./test/veritas/unit/fontconfig-spec.scm
+++ ./test/veritas/unit/fontconfig-spec.scm
@@ -260,13 +260,13 @@
(assert-equal #:expect 0
#:got
(length (parameterize ((fontconfig-sans-aliases '()))
- (fontconfig-sans-alias-matches)))
- #:name
- "A machine that wants the stock generics gets no alias rule")
- (assert-equal #:expect 1
- #:got
- (length (parameterize ((fontconfig-sans-aliases '("sans-serif")))
- (fontconfig-sans-alias-matches)))
+ (fontconfig-sans-alias-matches)))
+ #:name
+ "A machine that wants the stock generics gets no alias rule")
+ (assert-equal #:expect 1
+ #:got
+ (length (parameterize ((fontconfig-sans-aliases '("sans-serif")))
+ (fontconfig-sans-alias-matches)))
#:name "The list should be read from the parameter"))
(test "The Alias Rule Is Read Before The Fallback Rule"
--- ./test/veritas/unit/mavericks-spec.scm
+++ ./test/veritas/unit/mavericks-spec.scm
@@ -65,62 +65,62 @@
(define (files-of-type dir suffix)
"The files directly inside @var{dir} whose name ends in @var{suffix}."
(if (file-exists? dir)
- (filter (lambda (name) (string-suffix? suffix name))
- (scandir dir (lambda (name) (not (string-prefix? "." name)))))
- '()))
-
-(define (scratch-dir name)
- "A throwaway directory named @var{name}, unique to this run."
- (format #f "/tmp/heks-mavericks-spec-~a/~a"
- (getpid) name))
-
-(define (executable? path)
- "Whether @var{path} carries any execute bit."
- (not (zero? (logand (stat:perms (stat path)) #x49))))
-
-(define mavericks-suite
- (suite "Mavericks Artwork Suite"
- (test "The Program Is A POSIX Shell Script"
- (assert-true (string-prefix? "#!/usr/bin/env sh"
- (mavericks-script))
- #:name "The program should run under any sh")
- (assert-equal #:expect #f
- #:got
- (string-contains (mavericks-script) "[[")
- #:name "It must not use bash test syntax")
- (assert-equal #:expect #f
- #:got
- (string-contains (mavericks-script) "$RANDOM")
- #:name "It must not read the bash-only RANDOM")
- (assert-true (script-occurs? "set -u")
- #:name "An unset variable should stop it, not expand to nothing"))
-
- (test "It Names Every Face The Module Promises"
- (assert-true (every-face-occurs? (mavericks-font-files))
- #:name "Every file the module lists should be in the program")
- (assert-true (every-face-occurs? (mavericks-font-families))
- #:name "And every family it promises")
- (assert-true (script-occurs? "LucidaGrande.ttc")
- #:name "The interface face should be the one the desktop is drawn in")
- (assert-true (script-occurs? "|.Keyboard|")
- #:name
- "The key glyph face keeps the dot its family name carries")
- (assert-true (not (null? (mavericks-font-families)))
- #:name "A program that installs no faces is not a program"))
-
- (test "The Faces Ship With The Checkout"
- ;; The faces are files in this repository, and the program is only worth
- ;; writing if they are: a promise in a table that names a file nobody
- ;; committed is a copy that silently installs six faces on one machine
- ;; and seven on another.
- (assert-equal #:expect '()
- #:got (absent-faces (mavericks-font-files))
- #:name "Every promised face should be in resources/mavericks/fonts")
- (assert-true (> (length (files-of-type (fonts-source-dir) ".ttf"))
- 0)
- #:name "The directory should hold more than the .ttc collections")
- (assert-true (file-exists? (format #f "~a/NOTICE"
- (mavericks-assets-dir)))
+ (filter (lambda (name) (string-suffix? suffix name))
+ (scandir dir (lambda (name) (not (string-prefix? "." name)))))
+ '()))
+
+(define (scratch-dir name)
+ "A throwaway directory named @var{name}, unique to this run."
+ (format #f "/tmp/heks-mavericks-spec-~a/~a"
+ (getpid) name))
+
+(define (executable? path)
+ "Whether @var{path} carries any execute bit."
+ (not (zero? (logand (stat:perms (stat path)) #x49))))
+
+(define mavericks-suite
+ (suite "Mavericks Artwork Suite"
+ (test "The Program Is A POSIX Shell Script"
+ (assert-true (string-prefix? "#!/usr/bin/env sh"
+ (mavericks-script))
+ #:name "The program should run under any sh")
+ (assert-equal #:expect #f
+ #:got
+ (string-contains (mavericks-script) "[[")
+ #:name "It must not use bash test syntax")
+ (assert-equal #:expect #f
+ #:got
+ (string-contains (mavericks-script) "$RANDOM")
+ #:name "It must not read the bash-only RANDOM")
+ (assert-true (script-occurs? "set -u")
+ #:name "An unset variable should stop it, not expand to nothing"))
+
+ (test "It Names Every Face The Module Promises"
+ (assert-true (every-face-occurs? (mavericks-font-files))
+ #:name "Every file the module lists should be in the program")
+ (assert-true (every-face-occurs? (mavericks-font-families))
+ #:name "And every family it promises")
+ (assert-true (script-occurs? "LucidaGrande.ttc")
+ #:name "The interface face should be the one the desktop is drawn in")
+ (assert-true (script-occurs? "|.Keyboard|")
+ #:name
+ "The key glyph face keeps the dot its family name carries")
+ (assert-true (not (null? (mavericks-font-families)))
+ #:name "A program that installs no faces is not a program"))
+
+ (test "The Faces Ship With The Checkout"
+ ;; The faces are files in this repository, and the program is only worth
+ ;; writing if they are: a promise in a table that names a file nobody
+ ;; committed is a copy that silently installs six faces on one machine
+ ;; and seven on another.
+ (assert-equal #:expect '()
+ #:got (absent-faces (mavericks-font-files))
+ #:name "Every promised face should be in resources/mavericks/fonts")
+ (assert-true (> (length (files-of-type (fonts-source-dir) ".ttf"))
+ 0)
+ #:name "The directory should hold more than the .ttc collections")
+ (assert-true (file-exists? (format #f "~a/NOTICE"
+ (mavericks-assets-dir)))
#:name "With the notice that says whose artwork it is"))
(test "The Wallpapers Do Not"
--------------------------------------------------------------
Maak 0.14.0: the infinitely extensible command runner
Loading tasks from Maak file: /etc/byggsteg/job-clone/heks-linux/trunk/maak.scm
Executing Maak tasks: ci
--------------------------------------------------------------
=> Running Maak task: ci
Ask the three questions a pipeline asks: formatted, compiling, passing.
`maak test' wraps the suite in `guix shell --container', which is what makes it
hermetic on a machine -- and what makes it impossible where the run is already
sandboxed. A Byggsteg job is itself a container, a second user namespace cannot
be created inside the first, and every pipeline run of this configuration failed
in `call-with-container' before the first test ran because of it.
So this task asks the same three questions with the container left to the
caller: `sift check' over the tree, a compile of every module, and the suite
without the wrapper (with a private HOME, so what the container was protecting
still holds). Coverage is not reported here: nothing in a pipeline reads it, and
`genhtml' failing on a machine that has no lcov is not a fact about the tests.
Execute command:
guix time-machine --channels=channels.scm -- shell -m manifest.scm -- sh -c 'set -eu
find . -maxdepth 8 -name "*.scm" -type f -print0 | xargs -0 sift check'
Executing: guix time-machine --channels=channels.scm -- shell -m manifest.scm -- sh -c 'set -eu
find . -maxdepth 8 -name "*.scm" -type f -print0 | xargs -0 sift check'
maak: error: command failed (exit code 123): guix time-machine --channels=channels.scm -- shell -m manifest.scm -- sh -c 'set -eu
find . -maxdepth 8 -name "*.scm" -type f -print0 | xargs -0 sift check'
hint: Fix the command above, or run `maak --dry-run' to inspect it first.