viewing logs

job succeeded

veritas

time taken
11 seconds
started at
Tue Jul 22 15:29:04 2025
updated at
Tue Jul 22 15:29:15 2025
log uuid
11e769b0-6afd-4361-b82c-90e0b675ec74
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 e9554a8..bc5c795
Fast-forward
 README.org | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

    jointhefreeworld badge

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 15:29:07+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] Basic Numeric Tests
    ? pass - expected: 1, sut: 1
    ? pass - expected: 1, sut: 1
    ? pass - expected: 0, sut: 0
    [?? assert] checks if addition works
    ? pass - expected: 4, sut: 4
  [? test] Check that function calls work
    ? pass - expected: 42, sut: 42
+----------------------------------------------+
[? 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
+----------------------------------------------+
[? suite] Complex Data Structure Tests
  [? test] Association List Lookups
    [?? assert] Lookup 'age' in alist
    ? pass - expected: 30, sut: 30
    [?? assert] Lookup non-existent key should be #f
    ? pass - expected: #f, sut: #f
    [?? assert] Lookup 'name' in alist
    ? pass - expected: Alice, sut: Alice
  [? 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
+----------------------------------------------+
[? suite] str
  [? test] String Operation Tests
    ? pass - expected: hello world, sut: hello world
    ? pass - expected: #t, sut: #t
    ? pass - expected: #f, sut: #f
+----------------------------------------------+
[? suite] Predicate Tests
  [? test] List Predicates
    [?? assert] Pair should be a pair
    ? pass - expected: #t, sut: #t
    [?? assert] Empty list should not be a pair
    ? pass - expected: #f, sut: #f
    [?? assert] Empty list should be null
    ? pass - expected: #t, sut: #t
    [?? assert] Non-empty list should not be null
    ? pass - expected: #f, sut: #f
  [? test] Even Number Checks
    [?? assert] 0 should be even
    ? pass - expected: #t, sut: #t
    [?? assert] 1 should not be even
    ? pass - expected: #f, sut: #f
    [?? assert] 4 should be even
    ? pass - expected: #t, sut: #t
    [?? assert] 7 should not be even
    ? pass - expected: #f, sut: #f
+----------------------------------------------+
[? suite] List Manipulation Tests
  [? test] List Length
    [?? assert] Length of list with 3 elements
    ? pass - expected: 3, sut: 3
    [?? assert] Length of list with one element
    ? pass - expected: 1, sut: 1
    [?? assert] Length of empty list
    ? pass - expected: 0, sut: 0
  [? test] List Concatenation
    [?? assert] Concatenate non-empty list with empty
    ? pass - expected: (x y), sut: (x y)
    [?? assert] Concatenate two empty lists
    ? pass - expected: (), sut: ()
    [?? 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)
  [? test] Get First Element
    [?? assert] First element of an empty list should be #f
    ? pass - expected: #f, sut: #f
    [?? assert] First element of a symbol list
    ? pass - expected: a, sut: a
    [?? assert] First element of a number list
    ? pass - expected: 1, sut: 1
  [? test] some test without suite
    ? pass - expected: 1, sut: 1
+----------------------------------------------+
[? benchmark]
 
[?? run #0]
%     cumulative   self             
time   seconds     seconds  procedure
 57.14      0.32      0.20  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
 35.71      0.12      0.12  fibers/scheduler.scm:360:0:yield-current-task
  7.14    875.23      0.02  veritas/unit/simple.scm:175:0:factorial
  0.00      0.45      0.00  anon #x25d620c0
  0.00      0.35      0.00  veritas/veritas.scm:136:84
  0.00      0.32      0.00  %after-gc-thunk
---
Sample count: 14
Total time: 0.346115555 seconds (0.314190269 seconds in GC)

[?? run #1]
%     cumulative   self             
time   seconds     seconds  procedure
100.00      0.06      0.06  fibers/scheduler.scm:360:0:yield-current-task
  0.00    412.47      0.00  veritas/unit/simple.scm:175:0:factorial
  0.00      0.12      0.00  anon #x25d620c0
  0.00      0.06      0.00  veritas/veritas.scm:136:84
  0.00      0.06      0.00  %after-gc-thunk
  0.00      0.06      0.00  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
---
Sample count: 2
Total time: 0.057873797 seconds (0.0460454 seconds in GC)
%     cumulative   self             
time   seconds     seconds  procedure
 85.71      0.16      0.16  fibers/scheduler.scm:360:0:yield-current-task
 14.29      0.16      0.03  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00    842.48      0.00  veritas/unit/simple.scm:175:0:factorial
  0.00      0.32      0.00  anon #x25d620c0
  0.00      0.18      0.00  veritas/veritas.scm:136:84
  0.00      0.16      0.00  %after-gc-thunk
---
Sample count: 7
Total time: 0.184585682 seconds (0.119047675 seconds in GC)
%     cumulative   self             
time   seconds     seconds  procedure
 78.57      0.28      0.28  fibers/scheduler.scm:360:0:yield-current-task
 21.43      0.33      0.08  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00   1011.62      0.00  veritas/unit/simple.scm:175:0:factorial
  0.00      0.61      0.00  anon #x25d620c0
  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.357652543 seconds (0.161676338 seconds in GC)

[?? run #2]
%     cumulative   self             
time   seconds     seconds  procedure
100.00      0.06      0.06  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00    379.24      0.00  veritas/unit/simple.scm:175:0:factorial
  0.00      0.06      0.00  veritas/veritas.scm:136:84
  0.00      0.06      0.00  %after-gc-thunk
  0.00      0.06      0.00  anon #x25d620c0
---
Sample count: 1
Total time: 0.05918231 seconds (0.0465201 seconds in GC)
%     cumulative   self             
time   seconds     seconds  procedure
 60.00      0.18      0.11  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
 40.00      0.07      0.07  fibers/scheduler.scm:360:0:yield-current-task
  0.00    794.16      0.00  veritas/unit/simple.scm:175:0:factorial
  0.00      0.25      0.00  anon #x25d620c0
  0.00      0.18      0.00  veritas/veritas.scm:136:84
  0.00      0.18      0.00  %after-gc-thunk
---
Sample count: 5
Total time: 0.181472078 seconds (0.115821679 seconds in GC)
%     cumulative   self             
time   seconds     seconds  procedure
 53.85      0.32      0.18  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
 38.46      0.13      0.13  fibers/scheduler.scm:360:0:yield-current-task
  7.69    874.38      0.03  veritas/unit/simple.scm:175:0:factorial
  0.00      0.45      0.00  anon #x25d620c0
  0.00      0.34      0.00  veritas/veritas.scm:136:84
  0.00      0.32      0.00  %after-gc-thunk
---
Sample count: 13
Total time: 0.343133308 seconds (0.156412081 seconds in GC)

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