viewing logs

job succeeded

veritas

time taken
9 seconds
started at
Wed Jul 23 23:22:19 2025
updated at
Wed Jul 23 23:22:28 2025
log uuid
49552f47-53ac-4a3a-a633-9ee7bb024d87
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 1238a4f..ff5a664
Fast-forward
 .woodpecker/byggsteg.yaml  |   2 +-
 Makefile                   |   9 +++
 README.org                 |  16 ++++-
 docs/api-documentation.org | 158 +++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 182 insertions(+), 3 deletions(-)
 create mode 100644 docs/api-documentation.org

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

    documentation??

M	.woodpecker/byggsteg.yaml
M	Makefile
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:22:19+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)


  [? test] some test without suite
    ? pass - expect: 1, got: 1
+----------------------------------------------+
[? suite] Basic Suite
  [? test] Check that function calls work
    ? pass - expect: 42, got: 42
  [? test] Basic Numeric Tests
    [?? assert] checks if addition works
    ? pass - expect: 4, got: 4
    ? pass - expect: 1, got: 1
    ? pass - expect: 1, got: 1
    ? pass - expect: 0, got: 0
+----------------------------------------------+
[? suite] Complex Data Structure Tests
  [? test] Vector Operations
    [?? assert] Vector ref at index 1
    ? pass - expect: 2, got: 2
    [?? assert] Vector length
    ? pass - expect: 3, got: 3
    [?? 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] Predicate Tests
  [? test] Even Number Checks
    [?? assert] 0 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
    [?? assert] 4 should be even
    ? pass - expect: #t, got: #t
  [? test] List Predicates
    [?? assert] Empty list should not be a pair
    ? pass - expect: #f, got: #f
    [?? assert] Non-empty list should not be null
    ? pass - expect: #f, got: #f
    [?? assert] Pair should be a pair
    ? pass - expect: #t, got: #t
    [?? assert] Empty list should be null
    ? pass - expect: #t, got: #t
+----------------------------------------------+
[? suite] str
  [? test] String Operation Tests
    ? pass - expect: #t, got: #t
    ? pass - expect: hello world, got: hello world
    ? pass - expect: #f, got: #f
+----------------------------------------------+
[? suite] List Manipulation Tests
  [? 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 Length
    [?? assert] Length of list with one element
    ? pass - expect: 1, got: 1
    [?? assert] Length of list with 3 elements
    ? pass - expect: 3, got: 3
    [?? assert] Length of empty list
    ? pass - expect: 0, got: 0
  [? test] List Concatenation
    [?? assert] Concatenate empty list with non-empty
    ? pass - expect: (a b), got: (a b)
    [?? 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)
+----------------------------------------------+
[? 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] Should not signal error on valid division
    ? pass - success running without errors
    [?? assert] Valid division result
    ? pass - expect: 5, got: 5
+----------------------------------------------+
[? benchmark]
 
[?? run #0]
%     cumulative   self             
time   seconds     seconds  procedure
 69.23      0.37      0.26  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
 30.77      0.12      0.12  fibers/scheduler.scm:360:0:yield-current-task
  0.00    899.88      0.00  veritas/unit/simple.scm:175:0:factorial
  0.00      0.49      0.00  anon #x373050c0
  0.00      0.37      0.00  %after-gc-thunk
  0.00      0.37      0.00  veritas/veritas.scm:136:84
---
Sample count: 13
Total time: 0.374924169 seconds (0.34508764 seconds in GC)

[?? run #1]
%     cumulative   self             
time   seconds     seconds  procedure
 50.00      0.07      0.03  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
 50.00      0.03      0.03  fibers/scheduler.scm:360:0:yield-current-task
  0.00    486.73      0.00  veritas/unit/simple.scm:175:0:factorial
  0.00      0.10      0.00  anon #x373050c0
  0.00      0.07      0.00  %after-gc-thunk
  0.00      0.07      0.00  veritas/veritas.scm:136:84
---
Sample count: 2
Total time: 0.066158266 seconds (0.055007979 seconds in GC)
%     cumulative   self             
time   seconds     seconds  procedure
 66.67      0.17      0.17  fibers/scheduler.scm:360:0:yield-current-task
 33.33      0.23      0.09  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00   1016.68      0.00  veritas/unit/simple.scm:175:0:factorial
  0.00      0.40      0.00  anon #x373050c0
  0.00      0.26      0.00  veritas/veritas.scm:136:84
  0.00      0.23      0.00  %after-gc-thunk
---
Sample count: 9
Total time: 0.256643245 seconds (0.18403883 seconds in GC)
%     cumulative   self             
time   seconds     seconds  procedure
 69.23      0.25      0.25  fibers/scheduler.scm:360:0:yield-current-task
 30.77      0.31      0.11  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00   1091.70      0.00  veritas/unit/simple.scm:175:0:factorial
  0.00      0.57      0.00  anon #x373050c0
  0.00      0.37      0.00  veritas/veritas.scm:136:84
  0.00      0.31      0.00  %after-gc-thunk
---
Sample count: 13
Total time: 0.367386946 seconds (0.104456773 seconds in GC)
%     cumulative   self             
time   seconds     seconds  procedure
 69.23      0.25      0.25  fibers/scheduler.scm:360:0:yield-current-task
 30.77      0.31      0.11  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00   1091.96      0.00  veritas/unit/simple.scm:175:0:factorial
  0.00      0.57      0.00  anon #x373050c0
  0.00      0.37      0.00  veritas/veritas.scm:136:84
  0.00      0.31      0.00  %after-gc-thunk
---
Sample count: 13
Total time: 0.367472216 seconds (0.0 seconds in GC)

[?? run #2]
%     cumulative   self             
time   seconds     seconds  procedure
 86.67      0.34      0.34  fibers/scheduler.scm:360:0:yield-current-task
 13.33      0.39      0.05  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00   1272.44      0.00  veritas/unit/simple.scm:175:0:factorial
  0.00      0.72      0.00  anon #x373050c0
  0.00      0.39      0.00  %after-gc-thunk
  0.00      0.39      0.00  veritas/veritas.scm:136:84
---
Sample count: 15
Total time: 0.387033943 seconds (0.375367629 seconds in GC)

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