veritas-fc880554-789d
job succeeded
- time taken
- 6 seconds
- started at
- Tue Jun 23 23:35:44 2026
- updated at
- Tue Jun 23 23:35:50 2026
- log uuid
fc880554-789d-4448-b011-246d289646ce
inspect the job's lambda expression
(lambda()
`((task . ("maak-test" "maak-deploy"))
(project . "veritas")
(branch-name . "trunk")
(clone-url . "https://codeberg.org/jjba23/veritas.git")
(env . ((VERITAS_REPORTER . monotone-reporter)
(VERITAS_RUN_BENCHMARKS . false)))))
starting new job...
-> running command: cd "/etc/byggsteg/job-clone//veritas/trunk" && git reset --hard && git pull
HEAD is now at 7c490fe docs: ????
From https://codeberg.org/jjba23/veritas
7c490fe..03503fe trunk -> origin/trunk
* [new tag] v0.3.8 -> v0.3.8
Updating 7c490fe..03503fe
Fast-forward
src/veritas/assert.scm | 276 +++++++++++++++++++++++++++++++++++++-----
src/veritas/prelude.scm | 5 +-
src/veritas/veritas.scm | 6 +
test/veritas/unit/numeric.scm | 11 ++
test/veritas/unit/simple.scm | 9 +-
5 files changed, 277 insertions(+), 30 deletions(-)
-> running command: cd /etc/byggsteg/job-clone/veritas/trunk && uname -a
Linux wolk-jjba 7.0.12-gnu #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux
-> running command: cd /etc/byggsteg/job-clone/veritas/trunk && git log --name-status HEAD^..HEAD
commit 03503fe4b292ba4ac62510b237e8a680789f4023
Author: Josep Bigorra <jjbigorra@gmail.com>
Date: Tue Jun 23 22:33:53 2026 +0200
feat: ??? Improve docstrings
M src/veritas/assert.scm
-> running command: cd /etc/byggsteg/job-clone/veritas/trunk && maak test
scanning directories for unit tests...
scanning present working directory for unit tests...
found unit tests: (lists.scm numeric.scm introduction.scm simple.scm)
running unit tests from file: lists.scm, entrypoint: spec
------------------------------------------
[suite] List Manipulation Tests
[test] Get First Element
[assert] First element of an empty list should be #f
[pass] assertion succesful, got: #f
[assert] First element of a number list
[pass] assertion succesful, got: 1
[assert] First element of a symbol list
[pass] assertion succesful, got: a
[test] List Length
[assert] Length of list with 3 elements
[pass] assertion succesful, got: 3
[assert] Length of empty list
[pass] assertion succesful, got: 0
[assert] Length of list with one element
[pass] assertion succesful, got: 1
[test] List Concatenation
[assert] Concatenate two empty lists
[pass] assertion succesful, got: ()
[assert] Concatenate non-empty list with empty
[pass] assertion succesful, got: (x y)
[assert] Concatenate two non-empty lists
[pass] assertion succesful, got: (1 2 3 4 5)
[assert] Concatenate empty list with non-empty
[pass] assertion succesful, got: (a b)
[info] ran 1 tasks in: 0 seconds, 2281 microseconds
running unit tests from file: numeric.scm, entrypoint: spec
------------------------------------------
[suite] Predicate Tests
[test] Even Number Checks
[assert] 1 should not be even
[pass] assertion succesful, got: #f
[assert] 0 should be even
[pass] assertion succesful, got: #t
[assert] 7 should not be even
[pass] assertion succesful, got: #f
[assert] 4 should be even
[pass] assertion succesful, got: #t
------------------------------------------
[suite] Basic Suite
[test] Basic Numeric Tests
[assert] checks if addition works
[pass] assertion succesful, got: 4
[assert] arithmetic approximation
[pass] assertion succesful, got: 0.99999999999
[pass] assertion succesful, got: 0
[pass] assertion succesful, got: 1
[assert] arithmetic approximation
[pass] assertion succesful, got: 0.9999999
[assert] arithmetic approximation
[pass] assertion succesful, got: 0.99999999999
[pass] assertion succesful, got: 1
[info] ran 2 tasks in: 0 seconds, 2168 microseconds
[debug] assertion-results: (#t #t #t #t #t #t #t #t #t #t #t)
running unit tests from file: introduction.scm, entrypoint: spec
------------------------------------------
[suite] Advanced Veritas Features
[info] TRANSIRE RUBICONEM
[info] ALEA IACTA EST
[test] A test with a complex computation block
[info] before test runs
[info] after test runs
[assert] Complex computation inside an assertion
[pass] assertion succesful, got: 144
------------------------------------------
[suite] Error and Exception Handling
[test] Valid summation should not throw an error
[assert] Should not fail with a valid list of numbers
[pass] success running without errors
[test] Summing a list with non-numeric elements
[assert] Should fail when list contains non-numbers
[pass] success catching error: wrong-type-arg: (+ Wrong type argument in position ~A: ~S (2 a) (a))
------------------------------------------
[suite] Testing Logic and List Operations
[test] Number Classification Logic
[assert] 99 should be classified as positive
[pass] assertion succesful, got: positive
[assert] -1 should be classified as negative
[pass] assertion succesful, got: negative
[assert] 0 should be classified as zero
[pass] assertion succesful, got: zero
[test] List Summation
[assert] Sum of elements 1 through 5 should be 15
[pass] assertion succesful, got: 15
[assert] Sum of an empty list should be 0
[pass] assertion succesful, got: 0
------------------------------------------
[suite] Getting Started with Assertions
[test] Basic String and Predicate Tests
[assert] Greeting should contain the provided name
[pass] assertion succesful, got: #t;;; note: source file ./src/veritas/prelude.scm
;;; newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/veritas/trunk/src/veritas/prelude.scm.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling ./src/veritas/prelude.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/veritas/trunk/src/veritas/prelude.scm.go
;;; note: source file ./src/veritas/veritas.scm
;;; newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/veritas/trunk/src/veritas/veritas.scm.go
;;; compiling ./src/veritas/veritas.scm
;;; note: source file ./src/veritas/assert.scm
;;; newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/veritas/trunk/src/veritas/assert.scm.go
;;; compiling ./src/veritas/assert.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/veritas/trunk/src/veritas/assert.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/veritas/trunk/src/veritas/veritas.scm.go
;;; note: source file ./test/veritas/unit/numeric.scm
;;; newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/veritas/trunk/test/veritas/unit/numeric.scm.go
;;; compiling ./test/veritas/unit/numeric.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/veritas/trunk/test/veritas/unit/numeric.scm.go
;;; note: source file ./test/veritas/unit/simple.scm
;;; newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/veritas/trunk/test/veritas/unit/simple.scm.go
;;; compiling ./test/veritas/unit/simple.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/veritas/trunk/test/veritas/unit/simple.scm.go
[assert] 10 should be greater than 5
[pass] assertion succesful, got: #t
[assert] String comparison should be case-sensitive
[pass] assertion succesful, got: #f
[assert] Greeting should be personalized
[pass] assertion succesful, got: Hello, Veritas!
+----------------------------------------------+
[benchmark]
Computation of the factorial of 10000
[run #0]
% cumulative self
time seconds seconds procedure
55.56 0.09 0.09 fibers/scheduler.scm:446:0:yield-current-task
44.44 0.16 0.07 override/fibers/events-impl.scm:81:0:pump-epoll-guardian
0.00 416.59 0.00 veritas/unit/introduction.scm:146:0:factorial
0.00 0.25 0.00 anon #x2d32a160
0.00 0.16 0.00 %after-gc-thunk
0.00 0.16 0.00 veritas/veritas.scm:213:93
---
Sample count: 9
Total time: 0.161003643 seconds (0.15324598 seconds in GC)
[run #1]
% cumulative self
time seconds seconds procedure
100.00 0.17 0.17 fibers/scheduler.scm:446:0:yield-current-task
0.00 485.98 0.00 veritas/unit/introduction.scm:146:0:factorial
0.00 0.34 0.00 anon #x2d32a160
0.00 0.17 0.00 %after-gc-thunk
0.00 0.17 0.00 override/fibers/events-impl.scm:81:0:pump-epoll-guardian
0.00 0.17 0.00 veritas/veritas.scm:213:93
---
Sample count: 10
Total time: 0.168976645 seconds (0.168557881 seconds in GC)
[info] ran 5 tasks in: 1 seconds, -763094 microseconds
running unit tests from file: simple.scm, entrypoint: spec
------------------------------------------
[suite] Predicate Tests
[test] List Predicates
[assert] Empty list should not be a pair
[pass] assertion succesful, got: #f
[assert] Pair should be a pair
[pass] assertion succesful, got: #t
[assert] Non-empty list should not be null
[pass] assertion succesful, got: #f
[assert] Empty list should be null
[pass] assertion succesful, got: #t
------------------------------------------
[suite] str
[test] String Operation Tests
[pass] assertion succesful, got: hello world
[pass] assertion succesful, got: #t
[pass] assertion succesful, got: #f
------------------------------------------
[suite] Basic Suite
[test] Do some assertions
[pass] assertion succesful, got: 1
[pass] assertion succesful, got: 1
[pass] assertion succesful, got: 1
[test] Check that function calls work
[pass] assertion succesful, got: 42
------------------------------------------
[suite] Error Handling Tests
[test] Division by Zero Error
[assert] Should signal error on division by zero
[pass] success catching error: misc-error: (#f Division by zero () #f)
[test] No Error on Valid Division
[assert] Valid division result
[pass] assertion succesful, got: 5
[assert] Should not signal error on valid division
[pass] success running without errors
[test] some test without suite
[pass] assertion succesful, got: 1
------------------------------------------
[suite] Complex Data Structure Tests
[test] Vector Operations
[assert] Vector ref at index 0
[pass] assertion succesful, got: 1
[assert] Vector ref at index 1
[pass] assertion succesful, got: 2
[assert] Vector length
[pass] assertion succesful, got: 3
[test] Association List Lookups
[assert] Lookup 'age' in alist
[pass] assertion succesful, got: 30
[assert] Lookup 'name' in alist
[pass] assertion succesful, got: Alice
[assert] Lookup non-existent key should be #f
[pass] assertion succesful, got: #f
[info] ran 6 tasks in: 0 seconds, 3002 microseconds
finished running tests
--------------------------------------------------------------
Maak: the infinitely extensible command runner
Loading tasks from Maak file: /etc/byggsteg/job-clone/veritas/trunk/maak.scm
Executing Maak tasks: test
--------------------------------------------------------------
=> Running Maak task: test
Run project's tests.
-> running command: cd /etc/byggsteg/job-clone/veritas/trunk && sudo maak deploy
;;; note: source file /etc/byggsteg/job-clone/veritas/trunk/src/veritas/assert.scm
;;; newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/veritas/trunk/src/veritas/assert.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/veritas/trunk/src/veritas/assert.scm
;;; note: source file /etc/byggsteg/job-clone/veritas/trunk/src/veritas/prelude.scm
;;; newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/veritas/trunk/src/veritas/prelude.scm.go
;;; compiling /etc/byggsteg/job-clone/veritas/trunk/src/veritas/prelude.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/veritas/trunk/src/veritas/prelude.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/veritas/trunk/src/veritas/assert.scm.go
;;; note: source file /etc/byggsteg/job-clone/veritas/trunk/src/veritas/veritas.scm
;;; newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/veritas/trunk/src/veritas/veritas.scm.go
;;; compiling /etc/byggsteg/job-clone/veritas/trunk/src/veritas/veritas.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/veritas/trunk/src/veritas/veritas.scm.go
API documentation saved to doc/api
index.texi:765: warning: @end hoort alleen voor te komen aan begin van regel
index.texi:780: warning: @end hoort alleen voor te komen aan begin van regel
index.texi:795: warning: @end hoort alleen voor te komen aan begin van regel
index.texi:810: warning: @end hoort alleen voor te komen aan begin van regel
index.texi:826: warning: @end hoort alleen voor te komen aan begin van regel
index.texi:842: warning: @end hoort alleen voor te komen aan begin van regel
index.texi: warning: een 'title'-commando en '@top' vereisen een titel
hernoemd './index' -> './doc/api-dist'
Warning (emacs): Cannot fontify source block (htmlize.el >= 1.34 required). Falling back to plain text. (see ???org-html-htmlize-output-type???)
finished publishing Veritas manual
'/srv/http/jointhefreeworld.org/api-docs/veritas/API.html' is verwijderd
'/srv/http/jointhefreeworld.org/api-docs/veritas/veritas_005fassert.html' is verwijderd
'/srv/http/jointhefreeworld.org/api-docs/veritas/veritas_005fmodel.html' is verwijderd
'/srv/http/jointhefreeworld.org/api-docs/veritas/veritas_005fprelude.html' is verwijderd
'/srv/http/jointhefreeworld.org/api-docs/veritas/veritas_005freporter.html' is verwijderd
'/srv/http/jointhefreeworld.org/api-docs/veritas/veritas_005frunner.html' is verwijderd
'/srv/http/jointhefreeworld.org/api-docs/veritas/veritas_005fshuffle.html' is verwijderd
'/srv/http/jointhefreeworld.org/api-docs/veritas/veritas_005fveritas.html' is verwijderd
map '/srv/http/jointhefreeworld.org/api-docs/veritas' is verwijderd
mkdir: map '/srv/http/jointhefreeworld.org/api-docs/veritas' is aangemaakt
hernoemd 'doc/api-dist/API.html' -> '/srv/http/jointhefreeworld.org/api-docs/veritas/API.html'
hernoemd 'doc/api-dist/veritas_005fassert.html' -> '/srv/http/jointhefreeworld.org/api-docs/veritas/veritas_005fassert.html'
hernoemd 'doc/api-dist/veritas_005fmodel.html' -> '/srv/http/jointhefreeworld.org/api-docs/veritas/veritas_005fmodel.html'
hernoemd 'doc/api-dist/veritas_005fprelude.html' -> '/srv/http/jointhefreeworld.org/api-docs/veritas/veritas_005fprelude.html'
hernoemd 'doc/api-dist/veritas_005freporter.html' -> '/srv/http/jointhefreeworld.org/api-docs/veritas/veritas_005freporter.html'
hernoemd 'doc/api-dist/veritas_005frunner.html' -> '/srv/http/jointhefreeworld.org/api-docs/veritas/veritas_005frunner.html'
hernoemd 'doc/api-dist/veritas_005fshuffle.html' -> '/srv/http/jointhefreeworld.org/api-docs/veritas/veritas_005fshuffle.html'
hernoemd 'doc/api-dist/veritas_005fveritas.html' -> '/srv/http/jointhefreeworld.org/api-docs/veritas/veritas_005fveritas.html'
'doc/api/index.texi' is verwijderd
map 'doc/api' is verwijderd
map 'doc/api-dist' is verwijderd
map 'doc' is verwijderd
'/srv/http/jointhefreeworld.org/manuals/veritas/index.html' is verwijderd
hernoemd 'docs/manual/en.html' -> '/srv/http/jointhefreeworld.org/manuals/veritas/index.html'
--------------------------------------------------------------
Maak: the infinitely extensible command runner
Loading tasks from Maak file: /etc/byggsteg/job-clone/veritas/trunk/maak.scm
Executing Maak tasks: deploy
--------------------------------------------------------------
=> Running Maak task: deploy
Deploy the project's documentation.
Execute command:
guix time-machine --channels=channels.scm -- shell -m manifest.scm -- documenta api ./src/veritas && texi2any -v --html --css-ref=https://jointhefreeworld.org/static/css/jointhefreeworld.css ./doc/api/index.texi
Execute command:
guix time-machine --channels=channels.scm -- shell -m manifest.scm -- emacs -Q --batch --eval '(progn (find-file "./docs/manual/en.org") (org-html-export-to-html) (message "finished publishing Veritas manual"))'