viewing logs

job succeeded

veritas

time taken
11 seconds
started at
Mon Jul 28 19:29:27 2025
updated at
Mon Jul 28 19:29:38 2025
log uuid
d40ec00d-3a90-419a-89ae-fce281019e91
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 c769283..08f734f
Fast-forward
 .woodpecker/byggsteg.yaml          |  27 ++++---
 .woodpecker/tag-bumper.yaml        |   6 +-
 Makefile                           |   4 +-
 README.org                         |  15 ++--
 docs/api-documentation.org         |  12 +++-
 src/veritas/assert.scm             |  10 +--
 src/veritas/reporter.scm           |  66 +++++++++--------
 src/veritas/veritas.scm            |  32 ++++++---
 test/veritas/unit/introduction.scm | 141 +++++++++++++++++++++++++++++++++++++
 test/veritas/unit/more/lists.scm   |   2 +-
 test/veritas/unit/numeric.scm      |   5 +-
 test/veritas/unit/simple.scm       |  16 +----
 12 files changed, 253 insertions(+), 83 deletions(-)
 create mode 100644 test/veritas/unit/introduction.scm

-> running command: cd /etc/byggsteg/job-clone/veritas/trunk && git log --name-status HEAD^..HEAD
commit 08f734ffdf26f9be628623f99aa914e0fdca97b5
Merge: c769283 e7071c6
Author: Josep Bigorra (Joe) <jjbigorra@gmail.com>
Date:   Mon Jul 28 19:28:59 2025 +0200

    Merge pull request '??improve reporter and examples, documentation' (#4) from improve-examples into trunk
    
    Reviewed-on: https://codeberg.org/jjba23/veritas/pulls/4

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

commit ba90ac44d9a4c04d4bc8542f55297ceef06fde64
Author: Josep Bigorra <jjbigorra@gmail.com>
Date:   Mon Jul 28 19:24:54 2025 +0200

    ???? ci: Trigger tests on pushing to PR

M	.woodpecker/byggsteg.yaml

commit fefe06d4216cacbfc03c3ec05e2368af92dd29c1
Author: Josep Bigorra <jjbigorra@gmail.com>
Date:   Mon Jul 28 19:22:43 2025 +0200

    ???? ci: Trigger tests on pushing to PR

M	.woodpecker/byggsteg.yaml

commit f7d15122d4fd696755cc1b4714d22c6ebbf99bef
Author: Josep Bigorra <jjbigorra@gmail.com>
Date:   Mon Jul 28 17:03:25 2025 +0200

    ?????? update: CI plugins
    
    - Bump jointhefreeworld woodpecker CI to v0.1.12
    - Bump byggsteg woodpecker CI to v0.1.32
    
    Keywords: #ci #update #byggsteg #woodpecker #jointhefreeworld

M	.woodpecker/byggsteg.yaml
M	.woodpecker/tag-bumper.yaml

commit 4a041a367cd5a6cdfff52038714f38a7f5121334
Author: Josep Bigorra <jjbigorra@gmail.com>
Date:   Sun Jul 27 00:19:58 2025 +0200

     ??

M	test/veritas/unit/introduction.scm

commit 2124693511b967723c28735b0ddcb0344af7cc96
Author: Josep Bigorra <jjbigorra@gmail.com>
Date:   Sun Jul 27 00:18:07 2025 +0200

     ??

M	test/veritas/unit/introduction.scm

commit 42744c2a71efd0535ce906e2caa3a15c9afd48f9
Author: Josep Bigorra <jjbigorra@gmail.com>
Date:   Sun Jul 27 00:14:23 2025 +0200

    reporter via env, better??

M	Makefile
M	README.org
M	docs/api-documentation.org
M	src/veritas/assert.scm
M	src/veritas/reporter.scm
M	src/veritas/veritas.scm
M	test/veritas/unit/more/lists.scm
M	test/veritas/unit/numeric.scm
M	test/veritas/unit/simple.scm

commit f4e220a3a57b318ac94379d04e5e4bb999ce3d5f
Author: Josep Bigorra <jjbigorra@gmail.com>
Date:   Fri Jul 25 10:39:57 2025 +0200

     ??

M	README.org

commit a2feeae404da9018eed4aa64b7ed2f66686c542b
Author: Josep Bigorra <jjbigorra@gmail.com>
Date:   Fri Jul 25 10:36:37 2025 +0200

     ??

M	docs/api-documentation.org
A	test/veritas/unit/introduction.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-28 19:29:28+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: (simple.scm more/lists.scm introduction.scm numeric.scm)

+----------------------------------------------+
running unit tests from file: simple.scm, entrypoint: spec

#f
  [test] some test without suite
    [pass] expect: 1, got: 1
------------------------------------------
[suite] str
  [test] String Operation Tests
    [pass] expect: #t, got: #t
    [pass] expect: #f, got: #f
    [pass] expect: hello world, got: hello world
------------------------------------------
[suite] Predicate Tests
  [test] List Predicates
    [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] Non-empty list should not be null
    [pass] expect: #f, got: #f
    [assert] Pair should be a pair
    [pass] expect: #t, got: #t
------------------------------------------
[suite] Basic Suite
  [test] Check that function calls work
    [pass] expect: 42, got: 42
------------------------------------------
[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 non-existent key should be #f
    [pass] expect: #f, got: #f
    [assert] Lookup 'age' in alist
    [pass] expect: 30, got: 30
    [assert] Lookup 'name' in alist
    [pass] expect: Alice, got: Alice
------------------------------------------
[suite] Error Handling Tests
  [test] No Error on Valid Division
    [assert] Valid division result
    [pass] expect: 5, got: 5
    [assert] Should not signal error on valid division
    [pass] success running without errors
  [test] Division by Zero Error
    [assert] Should signal error on division by zero
    [pass] success catching error: misc-error: (#f Division by zero () #f)
[info] ran 6 tasks in: 0 seconds, 13341 microseconds
+----------------------------------------------+
running unit tests from file: more/lists.scm, entrypoint: spec

#f
------------------------------------------
[suite] List Manipulation Tests
  [test] Get First Element
    [assert] First element of a number list
    [pass] expect: 1, got: 1
    [assert] First element of an empty list should be #f
    [pass] expect: #f, got: #f
    [assert] First element of a symbol list
    [pass] expect: a, got: a
  [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: ()
[info] ran 1 tasks in: 0 seconds, 11663 microseconds
+----------------------------------------------+
running unit tests from file: introduction.scm, entrypoint: spec

((reporter-name . emoji-reporter) (log-pass . #<procedure 7f721cca0d80 at veritas/reporter.scm:104:47 (msg)>) (log-fail . #<procedure 7f721cca0d98 at veritas/reporter.scm:114:14 (msg)>) (log-debug . #<procedure 7f721cca0db0 at veritas/reporter.scm:121:15 (msg)>) (log-info . #<procedure 7f721cca0dc8 at veritas/reporter.scm:128:14 (msg)>) (log-error . #<procedure 7f721cca0de0 at veritas/reporter.scm:135:15 (msg)>) (log-test . #<procedure 7f721cca0df8 at veritas/reporter.scm:142:14 (msg)>) (log-benchmark . #<procedure 7f721cca0e10 at veritas/reporter.scm:155:19 (msg)>) (log-suite . #<procedure 7f721cca0e28 at veritas/reporter.scm:189:15 (msg)>) (log-assert . #<procedure 7f721cca0e40 at veritas/reporter.scm:203:16 (msg)>))
+----------------------------------------------+
[? suite] Getting Started with Assertions
  [? test] Basic String and Predicate Tests
    [?? assert] Greeting should contain the provided name
    ? pass - expect: #t, got: #t
    [?? 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!
+----------------------------------------------+
[? suite] Testing Logic and List Operations
  [? test] Number Classification Logic
    [?? assert] 0 should be classified as zero
    ? pass - expect: zero, got: zero
    [?? assert] 99 should be classified as positive
    ? pass - expect: positive, got: positive
    [?? assert] -1 should be classified as negative
    ? pass - expect: negative, got: negative
  [? 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
+----------------------------------------------+
[? benchmark]
Computation of the factorial of 10000


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

[? run #1]
%     cumulative   self             
time   seconds     seconds  procedure
100.00      0.35      0.35  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00    980.75      0.00  veritas/unit/introduction.scm:114:0:factorial
  0.00      0.35      0.00  veritas/veritas.scm:173:93
  0.00      0.35      0.00  anon #xc1d90c0
  0.00      0.35      0.00  %after-gc-thunk
---
Sample count: 14
Total time: 0.346676919 seconds (0.327160053 seconds in GC)

+----------------------------------------------+
[? 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] Advanced Veritas Features
  [? test] A test with a complex computation block
    [?? assert] Complex computation inside an assertion
    ? pass - expect: 144, got: 144
?? info - ran 5 tasks in: 0 seconds, 332120 microseconds((reporter-name . emoji-reporter) (log-pass . #<procedure 7f721cca0d80 at veritas/reporter.scm:104:47 (msg)>) (log-fail . #<procedure 7f721cca0d98 at veritas/reporter.scm:114:14 (msg)>) (log-debug . #<procedure 7f721cca0db0 at veritas/reporter.scm:121:15 (msg)>) (log-info . #<procedure 7f721cca0dc8 at veritas/reporter.scm:128:14 (msg)>) (log-error . #<procedure 7f721cca0de0 at veritas/reporter.scm:135:15 (msg)>) (log-test . #<procedure 7f721cca0df8 at veritas/reporter.scm:142:14 (msg)>) (log-benchmark . #<procedure 7f721cca0e10 at veritas/reporter.scm:155:19 (msg)>) (log-suite . #<procedure 7f721cca0e28 at veritas/reporter.scm:189:15 (msg)>) (log-assert . #<procedure 7f721cca0e40 at veritas/reporter.scm:203:16 (msg)>))
+----------------------------------------------+
[? 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] 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 contain the provided name
    ? pass - expect: #t, got: #t
    [?? assert] Greeting should be personalized
    ? pass - expect: Hello, Veritas!, got: Hello, Veritas!
+----------------------------------------------+
[? 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
+----------------------------------------------+
[? benchmark]
Computation of the factorial of 10000


[? run #0]
%     cumulative   self             
time   seconds     seconds  procedure
 73.33      0.24      0.24  fibers/scheduler.scm:360:0:yield-current-task
 26.67      0.32      0.09  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00   1177.66      0.00  veritas/unit/introduction.scm:114:0:factorial
  0.00      0.56      0.00  anon #xc1d90c0
  0.00      0.32      0.00  veritas/veritas.scm:173:93
  0.00      0.32      0.00  %after-gc-thunk
---
Sample count: 15
Total time: 0.324317973 seconds (0.309573055 seconds in GC)

[? run #1]
%     cumulative   self             
time   seconds     seconds  procedure
 87.50      0.28      0.28  fibers/scheduler.scm:360:0:yield-current-task
 12.50      0.32      0.04  override/fibers/events-impl.scm:80:0:pump-epoll-guardian
  0.00   1162.35      0.00  veritas/unit/introduction.scm:114:0:factorial
  0.00      0.60      0.00  anon #xc1d90c0
  0.00      0.32      0.00  veritas/veritas.scm:173:93
  0.00      0.32      0.00  %after-gc-thunk
---
Sample count: 16
Total time: 0.321834467 seconds (0.309476284 seconds in GC)

?? info - ran 5 tasks in: 0 seconds, 327294 microseconds
+----------------------------------------------+
running unit tests from file: numeric.scm, entrypoint: spec

#f
------------------------------------------
[suite] Basic Suite
  [test] Basic Numeric Tests
    [pass] expect: 1, got: 1
    [assert] checks if addition works
    [pass] expect: 4, got: 4
    [pass] expect: 0, got: 0
    [pass] expect: 1, got: 1
------------------------------------------
[suite] Predicate Tests
  [test] Even Number Checks
    [assert] 4 should be even
    [pass] expect: #t, got: #t
    [assert] 1 should not be even
    [pass] expect: #f, got: #f
    [assert] 0 should be even
    [pass] expect: #t, got: #t
    [assert] 7 should not be even
    [pass] expect: #f, got: #f
[info] ran 2 tasks in: 0 seconds, 2405 microseconds
[debug] assertion-results: (#t #t #t #t #t #t #t #t)make[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'