viewing logs

job succeeded

veritas

time taken
11 seconds
started at
Fri Jul 25 08:15:20 2025
updated at
Fri Jul 25 08:15:31 2025
log uuid
11e9164b-8c27-46f1-869d-6476075d98e3
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 12fecae..4c1041e
Fast-forward
 test/veritas/unit/numeric.scm | 62 +++++++++++++++++++++++++++++++++++++++++++
 test/veritas/unit/simple.scm  | 26 ------------------
 2 files changed, 62 insertions(+), 26 deletions(-)
 create mode 100644 test/veritas/unit/numeric.scm

-> running command: cd /etc/byggsteg/job-clone/veritas/trunk && git log --name-status HEAD^..HEAD
commit 4c1041ef954dc5d603e423ed73918e82f6d18900
Author: Josep Bigorra <jjbigorra@gmail.com>
Date:   Fri Jul 25 08:14:50 2025 +0200

     ??

A	test/veritas/unit/numeric.scm
M	test/veritas/unit/simple.scm

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

[INFO] 2025-07-25 08:15:22+02:00 - formatting all Scheme files
find . -maxdepth 8 -name "*.scm" -type f -exec guix style -f {} \;
VERITAS_RUN_BENCHMARKS=true VERITAS_TEST_TYPE=unit \
	guix shell -m manifest.scm -- \
	guile --fresh-auto-compile -L ./src \
	-L ./test \
	-c '((@ (veritas runner) run-tests))'

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

found unit tests: (da/da.scm simple.scm numeric.scm)

running unit tests from file: da/da.scm, entrypoint: spec


+----------------------------------------------+
[? suite] List Manipulation Tests
  [? test] List Concatenation
    [?? 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)
    [?? 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)
  [? test] Get First Element
    [?? 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
    [?? assert] First element of a symbol list
    ? pass - expect: a, got: a
  [? test] List Length
    [?? assert] Length of list with 3 elements
    ? pass - expect: 3, got: 3
    [?? assert] Length of list with one element
    ? pass - expect: 1, got: 1
    [?? assert] Length of empty list
    ? pass - expect: 0, got: 0
?? info - ran 1 tasks in: 0 seconds, 10642 microseconds
running unit tests from file: simple.scm, entrypoint: spec


+----------------------------------------------+
[? 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
+----------------------------------------------+
[? suite] Basic Suite
  [? test] Check that function calls work
    ? pass - expect: 42, got: 42
+----------------------------------------------+
[? suite] Predicate Tests
  [? test] List Predicates
    [?? assert] Non-empty list should not be null
    ? pass - expect: #f, got: #f
    [?? 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
+----------------------------------------------+
[? suite] str
  [? test] String Operation Tests
    ? pass - expect: #t, got: #t
    ? pass - expect: #f, got: #f
    ? pass - expect: hello world, got: hello world
+----------------------------------------------+
[? 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 'name' in alist
    ? pass - expect: Alice, got: Alice
    [?? assert] Lookup 'age' in alist
    ? pass - expect: 30, got: 30
    [?? assert] Lookup non-existent key should be #f
    ? pass - expect: #f, got: #f
  [? test] some test without suite
    ? pass - expect: 1, got: 1
+----------------------------------------------+
[? benchmark]
Recursive computation of the factorial of 10000


[? run #0]
%     cumulative   self             
time   seconds     seconds  procedure
 50.00    471.59      0.04  veritas/unit/simple.scm:108:0:factorial
 50.00      0.04      0.04  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00      0.09      0.00  veritas/veritas.scm:172:93
  0.00      0.04      0.00  %after-gc-thunk
  0.00      0.04      0.00  anon #x3f7410c0
---
Sample count: 2
Total time: 0.086284158 seconds (0.068731427 seconds in GC)
%     cumulative   self             
time   seconds     seconds  procedure
 60.00      0.19      0.16  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
 30.00    697.73      0.08  veritas/unit/simple.scm:108:0:factorial
 10.00      0.03      0.03  fibers/scheduler.scm:360:0:yield-current-task
  0.00      0.27      0.00  veritas/veritas.scm:172:93
  0.00      0.21      0.00  anon #x3f7410c0
  0.00      0.19      0.00  %after-gc-thunk
---
Sample count: 10
Total time: 0.266532573 seconds (0.165225667 seconds in GC)

[? run #1]
%     cumulative   self             
time   seconds     seconds  procedure
100.00    308.09      0.05  veritas/unit/simple.scm:108:0:factorial
  0.00      0.05      0.00  veritas/veritas.scm:172:93
---
Sample count: 2
Total time: 0.046035307 seconds (0.035468393 seconds in GC)
%     cumulative   self             
time   seconds     seconds  procedure
 57.14      0.11      0.11  fibers/scheduler.scm:360:0:yield-current-task
 28.57    864.55      0.05  veritas/unit/simple.scm:108:0:factorial
 14.29      0.14      0.03  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00      0.24      0.00  anon #x3f7410c0
  0.00      0.19      0.00  veritas/veritas.scm:172:93
  0.00      0.14      0.00  %after-gc-thunk
---
Sample count: 7
Total time: 0.190119067 seconds (0.125972292 seconds in GC)
%     cumulative   self             
time   seconds     seconds  procedure
 50.00      0.15      0.15  fibers/scheduler.scm:360:0:yield-current-task
 28.57      0.23      0.08  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
 21.43    820.47      0.06  veritas/unit/simple.scm:108:0:factorial
  0.00      0.39      0.00  anon #x3f7410c0
  0.00      0.29      0.00  veritas/veritas.scm:172:93
  0.00      0.23      0.00  %after-gc-thunk
  0.00      0.02      0.00  system/vm/program.scm:104:0:program-address-range
  0.00      0.02      0.00  statprof.scm:251:4:profile-signal-handler
  0.00      0.02      0.00  make-stack
---
Sample count: 14
Total time: 0.29104326 seconds (0.111020963 seconds in GC)

[? run #2]
No samples recorded.
%     cumulative   self             
time   seconds     seconds  procedure
 50.00    390.32      0.03  veritas/unit/simple.scm:108:0:factorial
 50.00      0.03      0.03  fibers/scheduler.scm:360:0:yield-current-task
  0.00      0.06      0.00  anon #x3f7410c0
  0.00      0.06      0.00  veritas/veritas.scm:172:93
  0.00      0.03      0.00  %after-gc-thunk
  0.00      0.03      0.00  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
---
Sample count: 2
Total time: 0.056298801 seconds (0.043350764 seconds in GC)
%     cumulative   self             
time   seconds     seconds  procedure
 40.00      0.08      0.05  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
 40.00      0.05      0.05  fibers/scheduler.scm:360:0:yield-current-task
 20.00    655.98      0.03  veritas/unit/simple.scm:108:0:factorial
  0.00      0.13      0.00  anon #x3f7410c0
  0.00      0.13      0.00  veritas/veritas.scm:172:93
  0.00      0.08      0.00  %after-gc-thunk
---
Sample count: 5
Total time: 0.125383774 seconds (0.066167834 seconds in GC)
%     cumulative   self             
time   seconds     seconds  procedure
 54.55      0.15      0.15  fibers/scheduler.scm:360:0:yield-current-task
 27.27      0.20      0.08  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
 18.18    949.75      0.05  veritas/unit/simple.scm:108:0:factorial
  0.00      0.36      0.00  anon #x3f7410c0
  0.00      0.28      0.00  veritas/veritas.scm:172:93
  0.00      0.20      0.00  %after-gc-thunk
---
Sample count: 11
Total time: 0.279680823 seconds (0.146389022 seconds in GC)
%     cumulative   self             
time   seconds     seconds  procedure
 50.00      0.14      0.14  fibers/scheduler.scm:360:0:yield-current-task
 25.00    871.97      0.07  veritas/unit/simple.scm:108:0:factorial
 25.00      0.19      0.07  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00      0.33      0.00  anon #x3f7410c0
  0.00      0.28      0.00  veritas/veritas.scm:172:93
  0.00      0.19      0.00  %after-gc-thunk
---
Sample count: 12
Total time: 0.279821026 seconds (0.0 seconds in GC)

?? info - ran 7 tasks in: 1 seconds, -498849 microseconds
running unit tests from file: numeric.scm, entrypoint: spec


+----------------------------------------------+
[? suite] Predicate Tests
  [? test] Even Number Checks
    [?? assert] 7 should not be even
    ? pass - expect: #f, got: #f
    [?? 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
+----------------------------------------------+
[? suite] Basic Suite
  [? test] Basic Numeric Tests
    [?? assert] checks if addition works
    ? pass - expect: 4, got: 4
    ? pass - expect: 0, got: 0
    ? pass - expect: 1, got: 1
    ? pass - expect: 1, got: 1
?? info - ran 2 tasks in: 0 seconds, 3582 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 "/srv/http/jointhefreeworld.org"/manuals/veritas-api-documentation
rm -rfv "/srv/http/jointhefreeworld.org"/manuals/veritas-api-documentation/index.html
'/srv/http/jointhefreeworld.org/manuals/veritas-api-documentation/index.html' is verwijderd
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'