viewing logs

job succeeded

kracht

time taken
6 seconds
started at
Mon Aug 25 21:12:50 2025
updated at
Mon Aug 25 21:12:56 2025
log uuid
7bea13ed-42b5-491b-8094-1b8bf2236b61
inspect the job's lambda expression
(lambda()
  `((task . ("make-test" "pull-and-deploy"))
    (project . "kracht")
    (branch-name . "trunk")            
    (clone-url . "https://codeberg.org/jjba23/kracht.git")))
    
starting new job...


-> running command: cd /etc/byggsteg/job-clone/kracht/trunk && git pull

From https://codeberg.org/jjba23/kracht
   b3d1f15..c83f493  trunk      -> origin/trunk
Updating b3d1f15..c83f493
Fast-forward
 .gitignore    |  3 ++-
 direvent.conf | 40 ++++++++++++++++++++++++++++
 maak.scm      | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 manifest.scm  |  2 ++
 4 files changed, 127 insertions(+), 1 deletion(-)
 create mode 100644 direvent.conf
 create mode 100644 maak.scm


-> running command: cd /etc/byggsteg/job-clone/kracht/trunk && uname -a

Linux wolk-jjba 6.15.9-gnu #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux


-> running command: cd /etc/byggsteg/job-clone/kracht/trunk && git log --name-status HEAD^..HEAD

commit c83f49358f0c1667b9b50b02b9b9c47aa3d592fb
Author: Josep Bigorra <jjbigorra@gmail.com>
Date:   Mon Aug 25 21:11:57 2025 +0200

    ???? fix: Improve manifest.scm

M	.gitignore
A	direvent.conf
A	maak.scm
M	manifest.scm


-> running command: cd /etc/byggsteg/job-clone/kracht/trunk && make test

make[1]: Entering directory '/etc/byggsteg/job-clone/kracht/trunk'
guix shell -m manifest.scm -- \
	guile -L ./src \
	-L ./test \
	-c "((@ (veritas runner) run-tests))"
The following derivation will be built:
  /gnu/store/mc1hs3m51wbx7d1vrdjnwlk4lb1i480d-profile.drv

building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
building directory of Info manuals...
building profile with 7 packages...

scanning directories for unit tests...
scanning present working directory for unit tests...

found unit tests: (prelude-spec.scm)


running unit tests from file: prelude-spec.scm, entrypoint: spec


1 + 1 = 2 and 2 + 2 = 4

[INFO] 3 + 3 = 6 and 4 + 4 = 8

[INFO] 5 + 5 = 10 and 6 + 6 = 12

[ERROR] fake message: something totally expected

warning! could not decode pair (): wrong-type-arg: (car Wrong type argument in position 1 (expecting pair): ~S (()) (()))

warning! could not decode pair (key-only): wrong-type-arg: (car Wrong type argument in position 1 (expecting pair): ~S (()) (()))

warning! could not decode pair (key1): wrong-type-arg: (car Wrong type argument in position 1 (expecting pair): ~S (()) (()))

warning! could not decode pair (key2): wrong-type-arg: (car Wrong type argument in position 1 (expecting pair): ~S (()) (()))

warning! could not decode pair (b): wrong-type-arg: (car Wrong type argument in position 1 (expecting pair): ~S (()) (()))

+----------------------------------------------+
[? suite] Prelude test suite
  [? test] empty-string? tests
    [?? assert] empty-string? with non-empty string
    ? pass - expect: #f, got: #f
    [?? assert] empty-string? with empty string
    ? pass - expect: #t, got: #t
    [?? assert] empty-string? with whitespace
    ? pass - expect: #f, got: #f
  [? test] non-empty-string? tests
    [?? assert] non-empty-string? with whitespace
    ? pass - expect: #t, got: #t
    [?? assert] non-empty-string? with empty string
    ? pass - expect: #f, got: #f
    [?? assert] non-empty-string? with #t
    ? pass - expect: #t, got: #t
    [?? assert] non-empty-string? with non-empty string
    ? pass - expect: #t, got: #t
    [?? assert] non-empty-string? with #f
    ? pass - expect: #f, got: #f
  [? test] alist-from-url-encoded-body
    [?? assert] at symbol character (%40)
    ? pass - expect: ((email . test@example.com)), got: ((email . test@example.com))
    [?? assert] plus sign (%2B) - often used for space, but distinct from actual '+'
    ? pass - expect: ((code . a+b)), got: ((code . a+b))
    [?? assert] semicolon character (%3B)
    ? pass - expect: ((cookie . id;user)), got: ((cookie . id;user))
    [?? assert] comma character (%2C)
    ? pass - expect: ((list . a,b,c)), got: ((list . a,b,c))
    [?? assert] keys and values with special characters (URL-encoded)
    ? pass - expect: ((param_1 . value with spaces) (param/2 . another_value!)), got: ((param_1 . value with spaces) (param/2 . another_value!))
    [?? assert] dollar sign character (%24)
    ? pass - expect: ((amount . $100)), got: ((amount . $100))
    [?? assert] square brackets characters (%5B, %5D)
    ? pass - expect: ((array . [1,2])), got: ((array . [1,2]))
    [?? assert] parentheses characters (%28, %29)
    ? pass - expect: ((func . f(x))), got: ((func . f(x)))
    [?? assert] empty body
    ? pass - expect: (), got: ()
    [?? assert] hash/pound sign character (%23)
    ? pass - expect: ((tag . #important)), got: ((tag . #important))
    [?? assert] question mark character (%3F)
    ? pass - expect: ((query . what?)), got: ((query . what?))
    [?? assert] empty key and empty value
    ? pass - expect: (), got: ()
    [?? assert] multiple keys, no equals sign
    ? pass - expect: ((key1 . ) (key2 . )), got: ((key1 . ) (key2 . ))
    [?? assert] slash character (%2F)
    ? pass - expect: ((path . /usr/local)), got: ((path . /usr/local))
    [?? assert] value with no key (unlikely but possible from split)
    ? pass - expect: (( . value)), got: (( . value))
    [?? assert] duplicate keys
    ? pass - expect: ((item . apple) (item . orange)), got: ((item . apple) (item . orange))
    [?? assert] exclamation mark character (%21)
    ? pass - expect: ((warning . danger!)), got: ((warning . danger!))
    [?? assert] key with no value
    ? pass - expect: ((key . )), got: ((key . ))
    [?? assert] mixed valid and malformed pairs
    ? pass - expect: ((a . 1) (b . ) (c . 3)), got: ((a . 1) (b . ) (c . 3))
    [?? assert] multiple encoded characters in one value
    ? pass - expect: ((complex . a&b=c?d e)), got: ((complex . a&b=c?d e))
    [?? assert] equals sign character (%3D)
    ? pass - expect: ((equation . x=y)), got: ((equation . x=y))
    [?? assert] backslash character (%5C)
    ? pass - expect: ((winpath . C:\Users\)), got: ((winpath . C:\Users\))
    [?? assert] ampersand character (%26)
    ? pass - expect: ((data . one&two)), got: ((data . one&two))
    [?? assert] colon character (%3A)
    ? pass - expect: ((protocol . http:)), got: ((protocol . http:))
    [?? assert] space character (%20)
    ? pass - expect: ((message . hello world)), got: ((message . hello world))
    [?? assert] multiple key-value pairs
    ? pass - expect: ((name . Jane Doe) (age . 30)), got: ((name . Jane Doe) (age . 30))
    [?? assert] unicode characters (e.g., '?' - %C3%A9 in UTF-8)
    ? pass - expect: ((name . fianc?)), got: ((name . fianc?))
    [?? assert] single key value pair
    ? pass - expect: ((name . John Doe)), got: ((name . John Doe))
    [?? assert] single key, no equals sign
    ? pass - expect: ((key-only . )), got: ((key-only . ))
    [?? assert] curly braces characters (%7B, %7D)
    ? pass - expect: ((json . {data})), got: ((json . {data}))
  [? test] assoc-ref-or-empty-str tests
    [?? assert] key found - non-string value
    ? pass - expect: 2, got: 2
    [?? assert] key is first element
    ? pass - expect: value, got: value
    [?? assert] empty alist
    ? pass - expect: , got: 
    [?? assert] key found - string value
    ? pass - expect: hello, got: hello
    [?? assert] key not found
    ? pass - expect: , got: 
    [?? assert] key is last element
    ? pass - expect: value, got: value
  [? test] string-drop tests
    [?? assert] string-drop-first-last-line normal case
    ? pass - expect: middle line, got: middle line
    [?? assert] string-drop-first-last-line single line
    ? pass - expect: , got: 
    [?? assert] string-drop-first-last single char
    ? pass - expect: a, got: a
    [?? assert] string-drop-first-last two chars
    ? pass - expect: ab, got: ab
    [?? assert] string-drop-first-last normal case
    ? pass - expect: ell, got: ell
    [?? assert] string-drop-first-last-line two lines
    ? pass - expect: , got: 
    [?? assert] string-drop-first-last empty string
    ? pass - expect: , got: 
    [?? assert] string-drop-first-last-line empty input
    ? pass - expect: , got: 
+----------------------------------------------+
[? suite] Another test suite
  [? test] html-escape tests
    [?? assert] Accented u
    ? pass - expect: ú, got: ú
    [?? assert] Single quote
    ? pass - expect: ', got: '
    [?? assert] Empty string
    ? pass - expect: , got: 
    [?? assert] Accented E
    ? pass - expect: É, got: É
    [?? assert] N-tilde
    ? pass - expect: ñ, got: ñ
    [?? assert] Accented I
    ? pass - expect: Í, got: Í
    [?? assert] Double quote
    ? pass - expect: ", got: "
    [?? assert] String with multiple occurrences
    ? pass - expect: He said, "It's a beautiful day!", got: He said, "It's a beautiful day!"
    [?? assert] Accented O
    ? pass - expect: Ó, got: Ó
    [?? assert] Accented o
    ? pass - expect: ó, got: ó
    [?? assert] String with no special characters
    ? pass - expect: Hello, World!, got: Hello, World!
    [?? assert] Accented U
    ? pass - expect: Ú, got: Ú
    [?? assert] C-cedilla
    ? pass - expect: ç, got: ç
    [?? assert] Example sentence escaped
    ? pass - expect: Ólá, múndo! Isto é um teste., got: Ólá, múndo! Isto é um teste.
    [?? assert] Accented i
    ? pass - expect: í, got: í
    [?? assert] Mix of quotes
    ? pass - expect: He's a "guy"., got: He's a "guy".
    [?? assert] Multiple accents
    ? pass - expect: Árvore é bonita, got: Árvore é bonita
  [? test] sha tests
    [?? assert] get-short-commit-sha works as expected
    ? pass - expect: #t, got: #t
  [? test] html-unescape tests
    [?? assert] Empty string
    ? pass - expect: , got: 
    [?? assert] C-cedilla entity
    ? pass - expect: ?, got: ?
    [?? assert] Accented A entity
    ? pass - expect: ?, got: ?
    [?? assert] Single quot entity
    ? pass - expect: ", got: "
    [?? assert] Example sentence unescaped
    ? pass - expect: ?l?, m?ndo! Isto ? um teste., got: ?l?, m?ndo! Isto ? um teste.
    [?? assert] String with no entities
    ? pass - expect: Hello, World!, got: Hello, World!
    [?? assert] Multiple entity occurrences
    ? pass - expect: It's a "quote"., got: It's a "quote".
    [?? assert] Single apos entity
    ? pass - expect: ', got: '
    [?? assert] Accented a entity
    ? pass - expect: ?, got: ?
    [?? assert] Mix of entities
    ? pass - expect: He's a "guy"., got: He's a "guy".
  [? test] Round-trip tests
    [?? assert] Escape then unescape
    ? pass - expect: Hello, it's a "test" with ?????., got: Hello, it's a "test" with ?????.
    [?? assert] Unescape then escape (for chars in alist)
    ? pass - expect: 'áéíóú", got: 'áéíóú"
    [?? assert] Example sentence
    ? pass - expect: Ol?, m?ndo! Isto ? um teste., got: Ol?, m?ndo! Isto ? um teste.
    [?? assert] Unescape then escape (assuming valid entities)
    ? pass - expect: <div>'test'</div>, got: <div>'test'</div>
  [? test] log tests;;; note: source file ./src/kracht/prelude.scm
;;;       newer than compiled /gnu/store/3hf3hs4cj4347gkhj7xr9vbpkc7hpp89-profile/lib/guile/3.0/site-ccache/kracht/prelude.go
;;; found fresh local cache at /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/kracht/trunk/src/kracht/prelude.scm.go
WARNING: (veritas unit prelude-spec): `log-info' imported from both (veritas veritas) and (kracht prelude)
WARNING: (veritas unit prelude-spec): `log-error' imported from both (veritas veritas) and (kracht prelude)

    [?? assert] log-message behaves as expected
    ? pass - expect: #t, got: #t
    [?? assert] log behaves as expected
    ? pass - expect: #t, got: #t
    [?? assert] log-error behaves as expected
    ? pass - expect: #t, got: #t
    [?? assert] log-info behaves as expected
    ? pass - expect: #t, got: #t
?? info - ran 2 tasks in: 0 seconds, 17744 microseconds

finished running tests
make[1]: Leaving directory '/etc/byggsteg/job-clone/kracht/trunk'


-> running command: cd /etc/byggsteg/job-clone/kracht/trunk && sudo make deploy

rm -rfv doc
guix shell -m manifest.scm -- documenta api ./src/kracht
API documentation saved to doc/api
guix shell -m manifest.scm -- texi2any -v --html \
	--css-ref="https://jointhefreeworld.org/static-assets/api-docs/css/style.css" ./doc/api/index.texi
index.texi: warning: een 'title'-commando en '@top' vereisen een titel
mv ./index ./doc/api-dist
rm -rfv "/srv/http/jointhefreeworld.org"/api-docs/kracht
'/srv/http/jointhefreeworld.org/api-docs/kracht/kracht_005fprelude.html' is verwijderd
'/srv/http/jointhefreeworld.org/api-docs/kracht/API.html' is verwijderd
map '/srv/http/jointhefreeworld.org/api-docs/kracht' is verwijderd
mkdir -p "/srv/http/jointhefreeworld.org"/api-docs/kracht
mv doc/api-dist/* "/srv/http/jointhefreeworld.org"/api-docs/kracht/
rm -rfv doc
map 'doc/api-dist' is verwijderd
'doc/api/index.texi' is verwijderd
map 'doc/api' is verwijderd
map 'doc' is verwijderd