viewing logs

job succeeded

veritas

time taken
9 seconds
started at
Wed Jul 23 23:33:21 2025
updated at
Wed Jul 23 23:33:30 2025
log uuid
1f7cf0e2-a881-440a-be2d-839cbceaa5dc
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 ff5a664..2e35b98
Fast-forward
 docs/api-documentation.org | 37 +++++++++++++++++++++++++++++++++----
 1 file changed, 33 insertions(+), 4 deletions(-)

-> running command: cd /etc/byggsteg/job-clone/veritas/trunk && git log --name-status HEAD^..HEAD
commit 2e35b989cf3c4d81630dd19bdf4ef7344111034e
Author: Josep Bigorra <jjbigorra@gmail.com>
Date:   Wed Jul 23 23:33:11 2025 +0200

     ??

M	docs/api-documentation.org

-> running command: cd /etc/byggsteg/job-clone/veritas/trunk && make test
make[1]: Entering directory '/etc/byggsteg/job-clone/veritas/trunk'

[INFO] 2025-07-23 23:33:22+02:00 - formatting all Scheme files
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)


+----------------------------------------------+
[? suite] Predicate Tests
  [? test] Even Number Checks
    [?? assert] 0 should be even
    ? pass - expect: #t, got: #t
    [?? assert] 4 should be even
    ? pass - expect: #t, got: #t
    [?? assert] 1 should not be even
    ? pass - expect: #f, got: #f
    [?? assert] 7 should not be even
    ? pass - expect: #f, got: #f
  [? test] List Predicates
    [?? assert] Empty list should not be a pair
    ? pass - expect: #f, got: #f
    [?? assert] Empty list should be null
    ? pass - expect: #t, got: #t
    [?? assert] Pair should be a pair
    ? pass - expect: #t, got: #t
    [?? assert] Non-empty list should not be null
    ? pass - expect: #f, got: #f
  [? test] some test without suite
    ? pass - expect: 1, got: 1
+----------------------------------------------+
[? suite] Complex Data Structure Tests
  [? test] Vector Operations
    [?? assert] Vector length
    ? pass - expect: 3, got: 3
    [?? assert] Vector ref at index 1
    ? pass - expect: 2, got: 2
    [?? assert] Vector ref at index 0
    ? pass - expect: 1, got: 1
  [? test] Association List Lookups
    [?? assert] Lookup 'age' in alist
    ? pass - expect: 30, got: 30
    [?? assert] Lookup non-existent key should be #f
    ? pass - expect: #f, got: #f
    [?? assert] Lookup 'name' in alist
    ? pass - expect: Alice, got: Alice
+----------------------------------------------+
[? suite] Basic Suite
  [? test] Basic Numeric Tests
    ? pass - expect: 1, got: 1
    [?? assert] checks if addition works
    ? pass - expect: 4, got: 4
    ? pass - expect: 0, got: 0
    ? pass - expect: 1, got: 1
  [? test] Check that function calls work
    ? pass - expect: 42, got: 42
+----------------------------------------------+
[? suite] str
  [? test] String Operation Tests
    ? pass - expect: hello world, got: hello world
    ? pass - expect: #f, got: #f
    ? pass - expect: #t, got: #t
+----------------------------------------------+
[? suite] Error Handling Tests
  [? test] No Error on Valid Division
    [?? assert] Valid division result
    ? pass - expect: 5, got: 5
    [?? assert] Should not signal error on valid division
    ? pass - success running without errors
  [? test] Division by Zero Error
    [?? assert] Should signal error on division by zero
    ? pass - success catching error: misc-error: (#f Division by zero () #f)
+----------------------------------------------+
[? suite] List Manipulation Tests
  [? test] List Length
    [?? assert] Length of empty list
    ? pass - expect: 0, got: 0
    [?? assert] Length of list with one element
    ? pass - expect: 1, got: 1
    [?? assert] Length of list with 3 elements
    ? pass - expect: 3, got: 3
  [? test] Get First Element
    [?? assert] First element of a symbol list
    ? pass - expect: a, got: a
    [?? assert] First element of an empty list should be #f
    ? pass - expect: #f, got: #f
    [?? assert] First element of a number list
    ? pass - expect: 1, got: 1
  [? test] List Concatenation
    [?? assert] Concatenate two empty lists
    ? pass - expect: (), got: ()
    [?? assert] Concatenate two non-empty lists
    ? pass - expect: (1 2 3 4 5), got: (1 2 3 4 5)
    [?? assert] Concatenate non-empty list with empty
    ? pass - expect: (x y), got: (x y)
    [?? assert] Concatenate empty list with non-empty
    ? pass - expect: (a b), got: (a b)
+----------------------------------------------+
[? benchmark]
 
[?? run #0]
%     cumulative   self             
time   seconds     seconds  procedure
 61.54      0.40      0.27  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
 30.77      0.13      0.13  fibers/scheduler.scm:360:0:yield-current-task
  7.69   1055.65      0.03  veritas/unit/simple.scm:175:0:factorial
  0.00      0.54      0.00  anon #x1e28b0c0
  0.00      0.44      0.00  veritas/veritas.scm:136:84
  0.00      0.40      0.00  %after-gc-thunk
---
Sample count: 13
Total time: 0.43634559 seconds (0.402311071 seconds in GC)

[?? run #1]
%     cumulative   self             
time   seconds     seconds  procedure
100.00      0.10      0.10  fibers/scheduler.scm:360:0:yield-current-task
  0.00    709.22      0.00  veritas/unit/simple.scm:175:0:factorial
  0.00      0.20      0.00  anon #x1e28b0c0
  0.00      0.10      0.00  %after-gc-thunk
  0.00      0.10      0.00  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00      0.10      0.00  veritas/veritas.scm:136:84
---
Sample count: 3
Total time: 0.10043762 seconds (0.088786584 seconds in GC)
%     cumulative   self             
time   seconds     seconds  procedure
 60.00      0.29      0.29  fibers/scheduler.scm:360:0:yield-current-task
 33.33      0.45      0.16  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  6.67   1455.19      0.03  veritas/unit/simple.scm:175:0:factorial
  0.00      0.74      0.00  anon #x1e28b0c0
  0.00      0.48      0.00  veritas/veritas.scm:136:84
  0.00      0.45      0.00  %after-gc-thunk
---
Sample count: 15
Total time: 0.481713179 seconds (0.36537724 seconds in GC)

[?? run #2]
No samples recorded.
%     cumulative   self             
time   seconds     seconds  procedure
100.00      0.07      0.07  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00    470.52      0.00  veritas/unit/simple.scm:175:0:factorial
  0.00      0.07      0.00  %after-gc-thunk
  0.00      0.07      0.00  anon #x1e28b0c0
  0.00      0.07      0.00  veritas/veritas.scm:136:84
---
Sample count: 2
Total time: 0.067433778 seconds (0.053503329 seconds in GC)
%     cumulative   self             
time   seconds     seconds  procedure
 69.23      0.31      0.31  fibers/scheduler.scm:360:0:yield-current-task
 23.08      0.41      0.10  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  7.69   1328.91      0.03  veritas/unit/simple.scm:175:0:factorial
  0.00      0.71      0.00  anon #x1e28b0c0
  0.00      0.44      0.00  veritas/veritas.scm:136:84
  0.00      0.41      0.00  %after-gc-thunk
---
Sample count: 13
Total time: 0.442482256 seconds (0.360520016 seconds in GC)

?? info - ran 8 tasks in: 0 seconds, 685628 microsecondsmake[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 /manuals/veritas-api-documentation
rm -rfv /manuals/veritas-api-documentation/index.html
'/manuals/veritas-api-documentation/index.html' is verwijderd
mv -v docs/api-documentation.html /manuals/veritas-api-documentation/index.html
hernoemd 'docs/api-documentation.html' -> '/manuals/veritas-api-documentation/index.html'