viewing logs

job succeeded

veritas

time taken
9 seconds
started at
Tue Jul 22 15:08:00 2025
updated at
Tue Jul 22 15:08:09 2025
log uuid
fb245320-adc7-4f45-976e-b6fd83eaa2b5
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 a87df1f..3aa21e7
Fast-forward
 README.org                   | 19 ++++++++----
 src/veritas/model.scm        | 10 ++++++-
 src/veritas/prelude.scm      | 45 ++++++++++++++++------------
 src/veritas/reporter.scm     | 48 ++++++++++++++++++++++++++++++
 src/veritas/runner.scm       |  3 --
 src/veritas/veritas.scm      | 71 ++++++++++++++++++++++++++++----------------
 test/veritas/unit/simple.scm | 12 ++++++++
 7 files changed, 154 insertions(+), 54 deletions(-)

-> running command: cd /etc/byggsteg/job-clone/veritas/trunk && git log --name-status HEAD^..HEAD
commit 3aa21e73f2ac1d7619cc65701347591a783a8f66
Author: Josep Bigorra <jjbigorra@gmail.com>
Date:   Tue Jul 22 15:07:22 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 15:08:02+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] str
  [? test] String Operation Tests
    ? pass - expected: #f, sut: #f
    ? pass - expected: hello world, sut: hello world
    ? pass - expected: #t, sut: #t
+----------------------------------------------+
[? suite] Predicate Tests
  [? test] List Predicates
    [?? assert] Empty list should be null
    ? pass - expected: #t, sut: #t
    [?? assert] Empty list should not be a pair
    ? pass - expected: #f, sut: #f
    [?? assert] Pair should be a pair
    ? pass - expected: #t, sut: #t
    [?? assert] Non-empty list should not be null
    ? pass - expected: #f, sut: #f
  [? test] Even Number Checks
    [?? assert] 1 should not be even
    ? pass - expected: #f, sut: #f
    [?? assert] 0 should be even
    ? pass - expected: #t, sut: #t
    [?? 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 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] List Length
    [?? assert] Length of list with one element
    ? pass - expected: 1, sut: 1
    [?? assert] Length of empty list
    ? pass - expected: 0, sut: 0
    [?? assert] Length of list with 3 elements
    ? pass - expected: 3, sut: 3
  [? test] some test without suite
    ? pass - expected: 1, sut: 1
+----------------------------------------------+
[? suite] Complex Data Structure Tests
  [? test] Vector Operations
    [?? assert] Vector ref at index 0
    ? pass - expected: 1, sut: 1
    [?? assert] Vector ref at index 1
    ? pass - expected: 2, sut: 2
    [?? assert] Vector length
    ? pass - expected: 3, sut: 3
  [? 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
+----------------------------------------------+
[? 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] Valid division result
    ? pass - expected: 5, sut: 5
    [?? assert] Should not signal error on valid division
    ? pass - success running without errors
+----------------------------------------------+
[? suite] Basic Suite
  [? test] Check that function calls work
    ? pass - expected: 42, sut: 42
  [? test] Basic Numeric Tests
    [?? assert] checks if addition works
    ? pass - expected: 4, sut: 4
    ? pass - expected: 0, sut: 0
    ? pass - expected: 1, sut: 1
    ? pass - expected: 1, sut: 1
+----------------------------------------------+
[? benchmark]
 
[?? run #0]
%     cumulative   self             
time   seconds     seconds  procedure
 75.00      0.24      0.24  fibers/scheduler.scm:360:0:yield-current-task
 25.00      0.33      0.08  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00    763.61      0.00  veritas/unit/simple.scm:175:0:factorial
  0.00      0.57      0.00  anon #x311b60c0
  0.00      0.33      0.00  veritas/veritas.scm:136:84
  0.00      0.33      0.00  %after-gc-thunk
---
Sample count: 12
Total time: 0.325147947 seconds (0.305428232 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    434.46      0.00  veritas/unit/simple.scm:175:0:factorial
  0.00      0.12      0.00  anon #x311b60c0
  0.00      0.06      0.00  veritas/veritas.scm:136:84
  0.00      0.06      0.00  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00      0.06      0.00  %after-gc-thunk
---
Sample count: 2
Total time: 0.057890059 seconds (0.047342673 seconds in GC)
%     cumulative   self             
time   seconds     seconds  procedure
 84.62      0.31      0.31  fibers/scheduler.scm:360:0:yield-current-task
 15.38      0.37      0.06  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00   1099.48      0.00  veritas/unit/simple.scm:175:0:factorial
  0.00      0.68      0.00  anon #x311b60c0
  0.00      0.37      0.00  veritas/veritas.scm:136:84
  0.00      0.37      0.00  %after-gc-thunk
---
Sample count: 13
Total time: 0.366981453 seconds (0.289479874 seconds in GC)

[?? run #2]
%     cumulative   self             
time   seconds     seconds  procedure
 75.00      0.21      0.21  fibers/scheduler.scm:360:0:yield-current-task
 25.00      0.28      0.07  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00   1099.01      0.00  veritas/unit/simple.scm:175:0:factorial
  0.00      0.50      0.00  anon #x311b60c0
  0.00      0.28      0.00  veritas/veritas.scm:136:84
  0.00      0.28      0.00  %after-gc-thunk
---
Sample count: 12
Total time: 0.284171868 seconds (0.268629597 seconds in GC)
%     cumulative   self             
time   seconds     seconds  procedure
 66.67      0.21      0.21  fibers/scheduler.scm:360:0:yield-current-task
 26.67      0.30      0.08  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  6.67   1009.91      0.02  veritas/unit/simple.scm:175:0:factorial
  0.00      0.51      0.00  anon #x311b60c0
  0.00      0.32      0.00  veritas/veritas.scm:136:84
  0.00      0.30      0.00  %after-gc-thunk
---
Sample count: 15
Total time: 0.318154204 seconds (0.038655006 seconds in GC)

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