viewing logs

job succeeded

veritas

time taken
11 seconds
started at
Tue Jul 22 22:03:02 2025
updated at
Tue Jul 22 22:03:13 2025
log uuid
521b9d1e-874d-4b35-882b-17a92c588bbc
inspect the job's lambda expression
(lambda()
  `((task . "make-test")
    (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 1f4312c..586c4cc
Fast-forward
 README.org | 31 ++++++++++++++++++++++++++-----
 1 file changed, 26 insertions(+), 5 deletions(-)

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

     ??

M	README.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-22 22:03:05+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] Basic Suite
  [? test] Check that function calls work
    ? pass - expected: 42, sut: 42
  [? test] Basic Numeric Tests
    ? pass - expected: 0, sut: 0
    [?? assert] checks if addition works
    ? pass - expected: 4, sut: 4
    ? pass - expected: 1, sut: 1
    ? pass - expected: 1, sut: 1
+----------------------------------------------+
[? suite] str
  [? test] String Operation Tests
    ? pass - expected: hello world, sut: hello world
    ? pass - expected: #f, sut: #f
    ? pass - expected: #t, sut: #t
+----------------------------------------------+
[? suite] List Manipulation Tests
  [? test] Get First Element
    [?? assert] First element of a symbol list
    ? pass - expected: a, sut: a
    [?? assert] First element of a number list
    ? pass - expected: 1, sut: 1
    [?? assert] First element of an empty list should be #f
    ? pass - expected: #f, sut: #f
  [? test] List Concatenation
    [?? assert] Concatenate non-empty list with empty
    ? pass - expected: (x y), sut: (x y)
    [?? assert] Concatenate two non-empty lists
    ? pass - expected: (1 2 3 4 5), sut: (1 2 3 4 5)
    [?? assert] Concatenate empty list with non-empty
    ? pass - expected: (a b), sut: (a b)
    [?? assert] Concatenate two empty lists
    ? pass - expected: (), sut: ()
  [? test] List Length
    [?? assert] Length of empty list
    ? pass - expected: 0, sut: 0
    [?? assert] Length of list with one element
    ? pass - expected: 1, sut: 1
    [?? assert] Length of list with 3 elements
    ? pass - expected: 3, sut: 3
+----------------------------------------------+
[? suite] Complex Data Structure Tests
  [? test] Vector Operations
    [?? assert] Vector length
    ? pass - expected: 3, sut: 3
    [?? assert] Vector ref at index 0
    ? pass - expected: 1, sut: 1
    [?? assert] Vector ref at index 1
    ? pass - expected: 2, sut: 2
  [? test] Association List Lookups
    [?? assert] Lookup non-existent key should be #f
    ? pass - expected: #f, sut: #f
    [?? assert] Lookup 'name' in alist
    ? pass - expected: Alice, sut: Alice
    [?? assert] Lookup 'age' in alist
    ? pass - expected: 30, sut: 30
+----------------------------------------------+
[? suite] Predicate Tests
  [? test] List Predicates
    [?? assert] Empty list should be null
    ? pass - expected: #t, sut: #t
    [?? assert] Pair should be a pair
    ? pass - expected: #t, sut: #t
    [?? assert] Non-empty list should not be null
    ? pass - expected: #f, sut: #f
    [?? assert] Empty list should not be a pair
    ? pass - expected: #f, sut: #f
  [? test] Even Number Checks
    [?? assert] 4 should be even
    ? pass - expected: #t, sut: #t
    [?? assert] 0 should be even
    ? pass - expected: #t, sut: #t
    [?? assert] 1 should not be even
    ? pass - expected: #f, sut: #f
    [?? assert] 7 should not be even
    ? pass - expected: #f, sut: #f
  [? test] some test without suite
    ? pass - expected: 1, sut: 1
+----------------------------------------------+
[? 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 - expected: 5, sut: 5
+----------------------------------------------+
[? benchmark]
 
[?? run #0]
%     cumulative   self             
time   seconds     seconds  procedure
 46.15      0.29      0.15  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
 46.15      0.15      0.15  fibers/scheduler.scm:360:0:yield-current-task
  7.69      0.02      0.02  ice-9/popen.scm:182:0:reap-pipes
  0.00    770.68      0.00  veritas/unit/simple.scm:175:0:factorial
  0.00      0.47      0.00  anon #x7b590c0
  0.00      0.32      0.00  %after-gc-thunk
  0.00      0.32      0.00  veritas/veritas.scm:136:84
---
Sample count: 13
Total time: 0.319032539 seconds (0.293344954 seconds in GC)

[?? run #1]
%     cumulative   self             
time   seconds     seconds  procedure
 85.71      0.32      0.32  fibers/scheduler.scm:360:0:yield-current-task
 14.29      0.37      0.05  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00   1075.51      0.00  veritas/unit/simple.scm:175:0:factorial
  0.00      0.69      0.00  anon #x7b590c0
  0.00      0.37      0.00  %after-gc-thunk
  0.00      0.37      0.00  veritas/veritas.scm:136:84
---
Sample count: 14
Total time: 0.373191782 seconds (0.354008047 seconds in GC)

[?? run #2]
No samples recorded.
%     cumulative   self             
time   seconds     seconds  procedure
 50.00      0.06      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    452.11      0.00  veritas/unit/simple.scm:175:0:factorial
  0.00      0.10      0.00  anon #x7b590c0
  0.00      0.06      0.00  %after-gc-thunk
  0.00      0.06      0.00  veritas/veritas.scm:136:84
---
Sample count: 2
Total time: 0.063516723 seconds (0.049658838 seconds in GC)
%     cumulative   self             
time   seconds     seconds  procedure
 64.29      0.23      0.23  fibers/scheduler.scm:360:0:yield-current-task
 28.57      0.33      0.10  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  7.14   1127.58      0.03  veritas/unit/simple.scm:175:0:factorial
  0.00      0.56      0.00  anon #x7b590c0
  0.00      0.36      0.00  veritas/veritas.scm:136:84
  0.00      0.33      0.00  %after-gc-thunk
---
Sample count: 14
Total time: 0.358409942 seconds (0.271286905 seconds in GC)

?? info - ran 8 tasks in: 0 seconds, 584655 microsecondsmake[1]: Leaving directory '/etc/byggsteg/job-clone/veritas/trunk'