viewing logs
job succeeded
veritas
- time taken
- 10 seconds
- started at
- Wed Jul 23 23:37:20 2025
- updated at
- Wed Jul 23 23:37:30 2025
- log uuid
9b3b40e1-6851-46b3-a681-279fcdcf6b09
inspect the job's lambda expression
(lambda()
`((task . ("make-test" "pull-and-deploy"))
(project . "veritas")
(branch-name . "trunk")
(clone-url . "https://codeberg.org/jjba23/veritas.git")))
starting new job...
-> running command: cd /etc/byggsteg/job-clone/veritas/trunk && uname -a
Linux wolk-jjba 6.15.5-gnu #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux
-> running command: cd /etc/byggsteg/job-clone/veritas/trunk && git pull
Updating 2e35b98..120d1f7
Fast-forward
Makefile | 2 ++
README.org | 22 +++++++++++++---------
2 files changed, 15 insertions(+), 9 deletions(-)
-> running command: cd /etc/byggsteg/job-clone/veritas/trunk && git log --name-status HEAD^..HEAD
commit 120d1f75c829d4b082ead57b192c9b14a6da3d85
Author: Josep Bigorra <jjbigorra@gmail.com>
Date: Wed Jul 23 23:37:10 2025 +0200
??
M Makefile
M README.org
-> running command: cd /etc/byggsteg/job-clone/veritas/trunk && make test
make[1]: Entering directory '/etc/byggsteg/job-clone/veritas/trunk'
[1m[INFO] 2025-07-23 23:37:22+02:00 - formatting all Scheme files[0m
find . -maxdepth 8 -name "*.scm" -type f -exec guix style -f {} \;
guix shell -m manifest.scm -- \
guile --fresh-auto-compile -L ./src \
-L ./test \
-c '((@ (veritas runner) run-unit-tests))'
scanning directories for unit tests...
scanning present working directory for unit tests...
found unit tests: (simple.scm)
+----------------------------------------------+
[[1m? suite[0m] [1mComplex Data Structure Tests[0m
[[1m? test[0m] [1mVector Operations[0m
[[1m?? assert[0m] [1mVector ref at index 0[0m
[0;32m? pass - expect: 1, got: 1[0m
[[1m?? assert[0m] [1mVector ref at index 1[0m
[0;32m? pass - expect: 2, got: 2[0m
[[1m?? assert[0m] [1mVector length[0m
[0;32m? pass - expect: 3, got: 3[0m
[[1m? test[0m] [1mAssociation List Lookups[0m
[[1m?? assert[0m] [1mLookup non-existent key should be #f[0m
[0;32m? pass - expect: #f, got: #f[0m
[[1m?? assert[0m] [1mLookup 'name' in alist[0m
[0;32m? pass - expect: Alice, got: Alice[0m
[[1m?? assert[0m] [1mLookup 'age' in alist[0m
[0;32m? pass - expect: 30, got: 30[0m
[[1m? test[0m] [1msome test without suite[0m
[0;32m? pass - expect: 1, got: 1[0m
+----------------------------------------------+
[[1m? suite[0m] [1mstr[0m
[[1m? test[0m] [1mString Operation Tests[0m
[0;32m? pass - expect: hello world, got: hello world[0m
[0;32m? pass - expect: #f, got: #f[0m
[0;32m? pass - expect: #t, got: #t[0m
+----------------------------------------------+
[[1m? suite[0m] [1mList Manipulation Tests[0m
[[1m? test[0m] [1mGet First Element[0m
[[1m?? assert[0m] [1mFirst element of a symbol list[0m
[0;32m? pass - expect: a, got: a[0m
[[1m?? assert[0m] [1mFirst element of an empty list should be #f[0m
[0;32m? pass - expect: #f, got: #f[0m
[[1m?? assert[0m] [1mFirst element of a number list[0m
[0;32m? pass - expect: 1, got: 1[0m
[[1m? test[0m] [1mList Length[0m
[[1m?? assert[0m] [1mLength of empty list[0m
[0;32m? pass - expect: 0, got: 0[0m
[[1m?? assert[0m] [1mLength of list with 3 elements[0m
[0;32m? pass - expect: 3, got: 3[0m
[[1m?? assert[0m] [1mLength of list with one element[0m
[0;32m? pass - expect: 1, got: 1[0m
[[1m? test[0m] [1mList Concatenation[0m
[[1m?? assert[0m] [1mConcatenate non-empty list with empty[0m
[0;32m? pass - expect: (x y), got: (x y)[0m
[[1m?? assert[0m] [1mConcatenate two empty lists[0m
[0;32m? pass - expect: (), got: ()[0m
[[1m?? assert[0m] [1mConcatenate two non-empty lists[0m
[0;32m? pass - expect: (1 2 3 4 5), got: (1 2 3 4 5)[0m
[[1m?? assert[0m] [1mConcatenate empty list with non-empty[0m
[0;32m? pass - expect: (a b), got: (a b)[0m
+----------------------------------------------+
[[1m? suite[0m] [1mError Handling Tests[0m
[[1m? test[0m] [1mDivision by Zero Error[0m
[[1m?? assert[0m] [1mShould signal error on division by zero[0m
[0;32m? pass - success catching error: misc-error: (#f Division by zero () #f)[0m
[[1m? test[0m] [1mNo Error on Valid Division[0m
[[1m?? assert[0m] [1mShould not signal error on valid division[0m
[0;32m? pass - success running without errors[0m
[[1m?? assert[0m] [1mValid division result[0m
[0;32m? pass - expect: 5, got: 5[0m
+----------------------------------------------+
[[1m? suite[0m] [1mBasic Suite[0m
[[1m? test[0m] [1mBasic Numeric Tests[0m
[[1m?? assert[0m] [1mchecks if addition works[0m
[0;32m? pass - expect: 4, got: 4[0m
[0;32m? pass - expect: 1, got: 1[0m
[0;32m? pass - expect: 1, got: 1[0m
[0;32m? pass - expect: 0, got: 0[0m
[[1m? test[0m] [1mCheck that function calls work[0m
[0;32m? pass - expect: 42, got: 42[0m
+----------------------------------------------+
[[1m? suite[0m] [1mPredicate Tests[0m
[[1m? test[0m] [1mList Predicates[0m
[[1m?? assert[0m] [1mPair should be a pair[0m
[0;32m? pass - expect: #t, got: #t[0m
[[1m?? assert[0m] [1mNon-empty list should not be null[0m
[0;32m? pass - expect: #f, got: #f[0m
[[1m?? assert[0m] [1mEmpty list should not be a pair[0m
[0;32m? pass - expect: #f, got: #f[0m
[[1m?? assert[0m] [1mEmpty list should be null[0m
[0;32m? pass - expect: #t, got: #t[0m
[[1m? test[0m] [1mEven Number Checks[0m
[[1m?? assert[0m] [1m7 should not be even[0m
[0;32m? pass - expect: #f, got: #f[0m
[[1m?? assert[0m] [1m0 should be even[0m
[0;32m? pass - expect: #t, got: #t[0m
[[1m?? assert[0m] [1m4 should be even[0m
[0;32m? pass - expect: #t, got: #t[0m
[[1m?? assert[0m] [1m1 should not be even[0m
[0;32m? pass - expect: #f, got: #f[0m
+----------------------------------------------+
[[1m? benchmark[0m]
[?? [1mrun #0[0m]
% cumulative self
time seconds seconds procedure
66.67 0.23 0.23 fibers/scheduler.scm:360:0:yield-current-task
33.33 0.34 0.11 override/fibers/events-impl.scm:80:0:pump-epoll-guardian
0.00 808.92 0.00 veritas/unit/simple.scm:175:0:factorial
0.00 0.56 0.00 anon #x11ced0c0
0.00 0.34 0.00 %after-gc-thunk
0.00 0.34 0.00 veritas/veritas.scm:136:84
---
Sample count: 12
Total time: 0.337813529 seconds (0.313024683 seconds in GC)
[?? [1mrun #1[0m]
% cumulative self
time seconds seconds procedure
100.00 0.08 0.08 fibers/scheduler.scm:360:0:yield-current-task
0.00 598.78 0.00 veritas/unit/simple.scm:175:0:factorial
0.00 0.17 0.00 anon #x11ced0c0
0.00 0.08 0.00 %after-gc-thunk
0.00 0.08 0.00 override/fibers/events-impl.scm:80:0:pump-epoll-guardian
0.00 0.08 0.00 veritas/veritas.scm:136:84
---
Sample count: 3
Total time: 0.082680895 seconds (0.069916822 seconds in GC)
% cumulative self
time seconds seconds procedure
71.43 0.25 0.25 fibers/scheduler.scm:360:0:yield-current-task
28.57 0.34 0.10 override/fibers/events-impl.scm:80:0:pump-epoll-guardian
0.00 1147.36 0.00 veritas/unit/simple.scm:175:0:factorial
0.00 0.59 0.00 anon #x11ced0c0
0.00 0.34 0.00 %after-gc-thunk
0.00 0.34 0.00 veritas/veritas.scm:136:84
---
Sample count: 14
Total time: 0.34307938 seconds (0.251679099 seconds in GC)
[?? [1mrun #2[0m]
% cumulative self
time seconds seconds procedure
100.00 0.10 0.10 fibers/scheduler.scm:360:0:yield-current-task
0.00 638.95 0.00 veritas/unit/simple.scm:175:0:factorial
0.00 0.18 0.00 anon #x11ced0c0
0.00 0.10 0.00 veritas/veritas.scm:136:84
0.00 0.08 0.00 %after-gc-thunk
0.00 0.08 0.00 override/fibers/events-impl.scm:80:0:pump-epoll-guardian
---
Sample count: 5
Total time: 0.101475594 seconds (0.090259393 seconds in GC)
% cumulative self
time seconds seconds procedure
84.62 0.24 0.24 fibers/scheduler.scm:360:0:yield-current-task
15.38 0.26 0.04 override/fibers/events-impl.scm:80:0:pump-epoll-guardian
0.00 940.75 0.00 veritas/unit/simple.scm:175:0:factorial
0.00 0.50 0.00 anon #x11ced0c0
0.00 0.28 0.00 veritas/veritas.scm:136:84
0.00 0.26 0.00 %after-gc-thunk
---
Sample count: 13
Total time: 0.282774295 seconds (0.173859044 seconds in GC)
[1m?? info - ran 8 tasks in: 0 seconds, 490088 microseconds[0mmake[1]: Leaving directory '/etc/byggsteg/job-clone/veritas/trunk'
-> running command: cd /etc/byggsteg/job-clone/veritas/trunk && sudo make deploy
guix shell -m manifest.scm -- emacs -Q --batch \
--eval '(progn (find-file "/etc/byggsteg/job-clone/veritas/trunk/docs/api-documentation.org")(org-html-export-to-html)(message "finished publishing Veritas API documentation"))'
mkdir -pv "/srv/http/jointhefreeworld.org"/manuals/veritas-api-documentation
mkdir: map '/srv/http/jointhefreeworld.org/manuals/veritas-api-documentation' is aangemaakt
rm -rfv "/srv/http/jointhefreeworld.org"/manuals/veritas-api-documentation/index.html
mv -v docs/api-documentation.html "/srv/http/jointhefreeworld.org"/manuals/veritas-api-documentation/index.html
hernoemd 'docs/api-documentation.html' -> '/srv/http/jointhefreeworld.org/manuals/veritas-api-documentation/index.html'