viewing logs

job succeeded

veritas

time taken
98 seconds
started at
Mon Jul 28 19:26:46 2025
updated at
Mon Jul 28 19:28:24 2025
log uuid
1fb3a4c3-35a6-421c-adca-9733743c1c96
inspect the job's lambda expression
(lambda()
  `((task . "make-test")
    (project . "veritas")
    (branch-name . "improve-examples")            
    (clone-url . "https://codeberg.org/jjba23/veritas.git")))            
    

starting new job...

-> running command: cd /etc/byggsteg/job-clone/veritas/improve-examples && 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/improve-examples && git pull
Already up to date.

-> running command: cd /etc/byggsteg/job-clone/veritas/improve-examples && git log --name-status HEAD^..HEAD
commit e7071c6ad4a210e794669dcfdea13917a6328bba
Author: Josep Bigorra <jjbigorra@gmail.com>
Date:   Mon Jul 28 19:26:39 2025 +0200

    ???? fix: Fix trigger CI on pushing

M	.woodpecker/byggsteg.yaml

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

[INFO] 2025-07-28 19:28:16+02:00 - formatting all Scheme files
find . -maxdepth 8 -name "*.scm" -type f -exec guix style -f {} \;
VERITAS_REPORTER="monotone-reporter" \
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: (more/lists.scm numeric.scm simple.scm introduction.scm)

+----------------------------------------------+
running unit tests from file: more/lists.scm, entrypoint: spec

#f
------------------------------------------
[suite] List Manipulation Tests
  [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 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)
    [assert] Concatenate empty list with non-empty
    [pass] expect: (a b), got: (a b)
    [assert] Concatenate two empty lists
    [pass] expect: (), got: ()
  [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
[info] ran 1 tasks in: 0 seconds, 10872 microseconds
+----------------------------------------------+
running unit tests from file: numeric.scm, entrypoint: spec

#f
------------------------------------------
[suite] Predicate Tests
  [test] Even Number Checks
    [assert] 1 should not be even
    [pass] expect: #f, got: #f
    [assert] 4 should be even
    [pass] expect: #t, got: #t
    [assert] 7 should not be even
    [pass] expect: #f, got: #f
    [assert] 0 should be even
    [pass] expect: #t, got: #t
------------------------------------------
[suite] Basic Suite
  [test] Basic Numeric Tests
    [pass] expect: 1, got: 1
    [pass] expect: 0, got: 0
    [assert] checks if addition works
    [pass] expect: 4, got: 4
    [pass] expect: 1, got: 1
[info] ran 2 tasks in: 0 seconds, 9983 microseconds
[debug] assertion-results: (#t #t #t #t #t #t #t #t)
+----------------------------------------------+
running unit tests from file: simple.scm, entrypoint: spec

#f
------------------------------------------
[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 'name' in alist
    [pass] expect: Alice, got: Alice
    [assert] Lookup non-existent key should be #f
    [pass] expect: #f, got: #f
------------------------------------------
[suite] Basic Suite
  [test] Check that function calls work
    [pass] expect: 42, got: 42
------------------------------------------
[suite] Error Handling Tests
  [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
  [test] Division by Zero Error
    [assert] Should signal error on division by zero
    [pass] success catching error: misc-error: (#f Division by zero () #f)
------------------------------------------
[suite] str
  [test] String Operation Tests
    [pass] expect: hello world, got: hello world
    [pass] expect: #f, got: #f
    [pass] expect: #t, got: #t
  [test] some test without suite
    [pass] expect: 1, got: 1
------------------------------------------
[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
[info] ran 6 tasks in: 0 seconds, 12794 microseconds
+----------------------------------------------+
running unit tests from file: introduction.scm, entrypoint: spec

((reporter-name . emoji-reporter) (log-pass . #<procedure 7f2e2c194d80 at veritas/reporter.scm:104:47 (msg)>) (log-fail . #<procedure 7f2e2c194d98 at veritas/reporter.scm:114:14 (msg)>) (log-debug . #<procedure 7f2e2c194db0 at veritas/reporter.scm:121:15 (msg)>) (log-info . #<procedure 7f2e2c194dc8 at veritas/reporter.scm:128:14 (msg)>) (log-error . #<procedure 7f2e2c194de0 at veritas/reporter.scm:135:15 (msg)>) (log-test . #<procedure 7f2e2c194df8 at veritas/reporter.scm:142:14 (msg)>) (log-benchmark . #<procedure 7f2e2c194e10 at veritas/reporter.scm:155:19 (msg)>) (log-suite . #<procedure 7f2e2c194e28 at veritas/reporter.scm:189:15 (msg)>) (log-assert . #<procedure 7f2e2c194e40 at veritas/reporter.scm:203:16 (msg)>))
+----------------------------------------------+
[? suite] Testing Logic and List Operations
  [? test] List Summation
    [?? assert] Sum of elements 1 through 5 should be 15
    ? pass - expect: 15, got: 15
    [?? assert] Sum of an empty list should be 0
    ? pass - expect: 0, got: 0
  [? test] Number Classification Logic
    [?? assert] 99 should be classified as positive
    ? pass - expect: positive, got: positive
    [?? assert] 0 should be classified as zero
    ? pass - expect: zero, got: zero
    [?? assert] -1 should be classified as negative
    ? pass - expect: negative, got: negative
+----------------------------------------------+
[? benchmark]
Computation of the factorial of 10000


[? run #0]
%     cumulative   self             
time   seconds     seconds  procedure
100.00      0.30      0.30  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00    705.86      0.00  veritas/unit/introduction.scm:114:0:factorial
  0.00      0.30      0.00  veritas/veritas.scm:173:93
  0.00      0.30      0.00  %after-gc-thunk
  0.00      0.30      0.00  anon #x1948a0c0
---
Sample count: 13
Total time: 0.2978002 seconds (0.277435604 seconds in GC)

[? run #1]
%     cumulative   self             
time   seconds     seconds  procedure
100.00      0.27      0.27  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00    779.41      0.00  veritas/unit/introduction.scm:114:0:factorial
  0.00      0.27      0.00  veritas/veritas.scm:173:93
  0.00      0.27      0.00  %after-gc-thunk
  0.00      0.27      0.00  anon #x1948a0c0
---
Sample count: 13
Total time: 0.26627511 seconds (0.244117057 seconds in GC)

+----------------------------------------------+
[? suite] Advanced Veritas Features
  [? test] A test with a complex computation block
    [?? assert] Complex computation inside an assertion
    ? pass - expect: 144, got: 144
+----------------------------------------------+
[? suite] Getting Started with Assertions
  [? test] Basic String and Predicate Tests
    [?? assert] 10 should be greater than 5
    ? pass - expect: #t, got: #t
    [?? assert] String comparison should be case-sensitive
    ? pass - expect: #f, got: #f
    [?? assert] Greeting should be personalized
    ? pass - expect: Hello, Veritas!, got: Hello, Veritas!
    [?? assert] Greeting should contain the provided name
    ? pass - expect: #t, got: #t
+----------------------------------------------+
[? suite] Error and Exception Handling
  [? test] Valid summation should not throw an error
    [?? assert] Should not fail with a valid list of numbers
    ? pass - success running without errors
  [? test] Summing a list with non-numeric elements
    [?? assert] Should fail when list contains non-numbers
    ? pass - success catching error: wrong-type-arg: (+ Wrong type argument in position ~A: ~S (2 a) (a))
?? info - ran 5 tasks in: 1 seconds, -688661 microseconds((reporter-name . emoji-reporter) (log-pass . #<procedure 7f2e2c194d80 at veritas/reporter.scm:104:47 (msg)>) (log-fail . #<procedure 7f2e2c194d98 at veritas/reporter.scm:114:14 (msg)>) (log-debug . #<procedure 7f2e2c194db0 at veritas/reporter.scm:121:15 (msg)>) (log-info . #<procedure 7f2e2c194dc8 at veritas/reporter.scm:128:14 (msg)>) (log-error . #<procedure 7f2e2c194de0 at veritas/reporter.scm:135:15 (msg)>) (log-test . #<procedure 7f2e2c194df8 at veritas/reporter.scm:142:14 (msg)>) (log-benchmark . #<procedure 7f2e2c194e10 at veritas/reporter.scm:155:19 (msg)>) (log-suite . #<procedure 7f2e2c194e28 at veritas/reporter.scm:189:15 (msg)>) (log-assert . #<procedure 7f2e2c194e40 at veritas/reporter.scm:203:16 (msg)>))
+----------------------------------------------+
[? suite] Testing Logic and List Operations
  [? test] Number Classification Logic
    [?? assert] 99 should be classified as positive
    ? pass - expect: positive, got: positive
    [?? assert] -1 should be classified as negative
    ? pass - expect: negative, got: negative
    [?? assert] 0 should be classified as zero
    ? pass - expect: zero, got: zero
  [? test] List Summation
    [?? assert] Sum of elements 1 through 5 should be 15
    ? pass - expect: 15, got: 15
    [?? assert] Sum of an empty list should be 0
    ? pass - expect: 0, got: 0
+----------------------------------------------+
[? suite] Error and Exception Handling
  [? test] Summing a list with non-numeric elements
    [?? assert] Should fail when list contains non-numbers
    ? pass - success catching error: wrong-type-arg: (+ Wrong type argument in position ~A: ~S (2 a) (a))
  [? test] Valid summation should not throw an error
    [?? assert] Should not fail with a valid list of numbers
    ? pass - success running without errors
+----------------------------------------------+
[? suite] Getting Started with Assertions
  [? test] Basic String and Predicate Tests
    [?? assert] String comparison should be case-sensitive
    ? pass - expect: #f, got: #f
    [?? assert] 10 should be greater than 5
    ? pass - expect: #t, got: #t
    [?? assert] Greeting should contain the provided name
    ? pass - expect: #t, got: #t
    [?? assert] Greeting should be personalized
    ? pass - expect: Hello, Veritas!, got: Hello, Veritas!
+----------------------------------------------+
[? suite] Advanced Veritas Features
  [? test] A test with a complex computation block
    [?? assert] Complex computation inside an assertion
    ? pass - expect: 144, got: 144
+----------------------------------------------+
[? benchmark]
Computation of the factorial of 10000


[? run #0]
%     cumulative   self             
time   seconds     seconds  procedure
100.00      0.08      0.08  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00    620.44      0.00  veritas/unit/introduction.scm:114:0:factorial
  0.00      0.08      0.00  veritas/veritas.scm:173:93
  0.00      0.08      0.00  %after-gc-thunk
  0.00      0.08      0.00  anon #x1948a0c0
---
Sample count: 3
Total time: 0.081801889 seconds (0.078430656 seconds in GC)
%     cumulative   self             
time   seconds     seconds  procedure
 60.00      0.08      0.08  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
 40.00    841.88      0.05  veritas/unit/introduction.scm:114:0:factorial
  0.00      0.13      0.00  veritas/veritas.scm:173:93
  0.00      0.08      0.00  %after-gc-thunk
  0.00      0.08      0.00  anon #x1948a0c0
---
Sample count: 5
Total time: 0.125510971 seconds (0.040966861 seconds in GC)
%     cumulative   self             
time   seconds     seconds  procedure
 50.00      0.12      0.10  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
 37.50   1083.36      0.07  veritas/unit/introduction.scm:114:0:factorial
 12.50      0.02      0.02  fibers/scheduler.scm:360:0:yield-current-task
  0.00      0.19      0.00  veritas/veritas.scm:173:93
  0.00      0.14      0.00  anon #x1948a0c0
  0.00      0.12      0.00  %after-gc-thunk
---
Sample count: 8
Total time: 0.190589997 seconds (0.063288337 seconds in GC)
%     cumulative   self             
time   seconds     seconds  procedure
 50.00      0.27      0.17  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
 28.57      0.10      0.10  fibers/scheduler.scm:360:0:yield-current-task
 21.43   1309.81      0.07  veritas/unit/introduction.scm:114:0:factorial
  0.00      0.37      0.00  anon #x1948a0c0
  0.00      0.35      0.00  veritas/veritas.scm:173:93
  0.00      0.27      0.00  %after-gc-thunk
---
Sample count: 14
Total time: 0.34531058 seconds (0.148731694 seconds in GC)

[? run #1]
%     cumulative   self             
time   seconds     seconds  procedure
 83.33      0.12      0.12  fibers/scheduler.scm:360:0:yield-current-task
 16.67      0.12      0.02  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00    940.68      0.00  veritas/unit/introduction.scm:114:0:factorial
  0.00      0.24      0.00  anon #x1948a0c0
  0.00      0.15      0.00  veritas/veritas.scm:173:93
  0.00      0.12      0.00  %after-gc-thunk
---
Sample count: 6
Total time: 0.146534756 seconds (0.139719188 seconds in GC)
%     cumulative   self             
time   seconds     seconds  procedure
 77.78      0.17      0.17  fibers/scheduler.scm:360:0:yield-current-task
 22.22      0.17      0.05  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00   1207.89      0.00  veritas/unit/introduction.scm:114:0:factorial
  0.00      0.34      0.00  anon #x1948a0c0
  0.00      0.22      0.00  veritas/veritas.scm:173:93
  0.00      0.17      0.00  %after-gc-thunk
---
Sample count: 9
Total time: 0.221748826 seconds (0.073801441 seconds in GC)
%     cumulative   self             
time   seconds     seconds  procedure
 72.73      0.19      0.19  fibers/scheduler.scm:360:0:yield-current-task
 18.18      0.17      0.05  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  9.09   1307.44      0.02  veritas/unit/introduction.scm:114:0:factorial
  0.00      0.36      0.00  anon #x1948a0c0
  0.00      0.27      0.00  veritas/veritas.scm:173:93
  0.00      0.17      0.00  %after-gc-thunk
---
Sample count: 11
Total time: 0.267364256 seconds (0.044272394 seconds in GC)
%     cumulative   self             
time   seconds     seconds  procedure
 71.43      0.25      0.25  fibers/scheduler.scm:360:0:yield-current-task
 14.29   1432.65      0.05  veritas/unit/introduction.scm:114:0:factorial
 14.29      0.20      0.05  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00      0.44      0.00  anon #x1948a0c0
  0.00      0.35      0.00  veritas/veritas.scm:173:93
  0.00      0.20      0.00  %after-gc-thunk
---
Sample count: 14
Total time: 0.345578949 seconds (0.075029179 seconds in GC)
%     cumulative   self             
time   seconds     seconds  procedure
 68.75      0.27      0.27  fibers/scheduler.scm:360:0:yield-current-task
 18.75      0.22      0.07  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
 12.50   1472.46      0.05  veritas/unit/introduction.scm:114:0:factorial
  0.00      0.50      0.00  anon #x1948a0c0
  0.00      0.40      0.00  veritas/veritas.scm:173:93
  0.00      0.22      0.00  %after-gc-thunk
---
Sample count: 16
Total time: 0.398212039 seconds (0.048427004 seconds in GC)
%     cumulative   self             
time   seconds     seconds  procedure
 64.71      0.28      0.28  fibers/scheduler.scm:360:0:yield-current-task
 17.65   1481.13      0.08  veritas/unit/introduction.scm:114:0:factorial
 17.65      0.23      0.08  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00      0.50      0.00  anon #x1948a0c0
  0.00      0.43      0.00  veritas/veritas.scm:173:93
  0.00      0.23      0.00  %after-gc-thunk
---
Sample count: 17
Total time: 0.425000278 seconds (0.026088277 seconds in GC)

?? info - ran 5 tasks in: 0 seconds, 425277 microsecondsmake[1]: Leaving directory '/etc/byggsteg/job-clone/veritas/improve-examples'