starting new job...
→ running command: cd "/etc/byggsteg/job-clone//wikimusic/trunk" && git reset --hard && git pull
HEAD is now at b0d9420 chore: Update guile-veritas
Already up to date.
→ running command: cd /etc/byggsteg/job-clone/wikimusic/trunk && uname -a
Linux wolk-jjba 7.1.5-gnu #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux
→ running command: cd /etc/byggsteg/job-clone/wikimusic/trunk && git log --name-status HEAD^..HEAD
commit b0d9420eefc62e37b3d0e565bdf6f4ef4e0efcbe
Author: Josep Bigorra <jjbigorra@gmail.com>
Date: Tue Oct 20 14:00:31 2026 +0200
chore: Update guile-veritas
M manifest.scm
→ running command: cd /etc/byggsteg/job-clone/wikimusic/trunk && maak test
scanning directories for unit tests...
scanning present working directory for unit tests...
shuffled the files with seed 783480585 (replay with VERITAS_SEED=783480585)
found unit tests: (assets-spec.scm domain-spec.scm about-spec.scm guitarpro-view-spec.scm guitarpro-spec.scm auth-spec.scm config-spec.scm sql-spec.scm views-spec.scm error-pages-spec.scm controller-spec.scm)
running unit tests from file: assets-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 783480585 (replay with VERITAS_SEED=783480585)
+----------------------------------------------+
[📑 suite] A fetched stylesheet names the files beside it
[🧪 test] every face the answer named is a face to fetch
[⚙️ assert] three faces, three files
✅ got: ((https://fonts.gstatic.com/s/intelonemono/v25/aaa111.woff2 . intelonemono-symbols2-italic.woff2) (https://fonts.gstatic.com/s/intelonemono/v25/bbb222.woff2 . intelonemono-latin.woff2) (https://fonts.gstatic.com/s/plusjakartasans/v9/ccc333.woff2 . plusjakartasans-latin-italic.woff2))
[🧪 test] the address of the host it came from is gone
[⚙️ assert] no gstatic face is asked for
✅ got: #t
[⚙️ assert] nor any other absolute address
✅ got: #t
[⚙️ assert] the file beside it is named instead
✅ got: #t
[🧪 test] what the face says about itself is kept
[⚙️ assert] the format stays on the line
✅ got: #t
[⚙️ assert] so does what the face asks of the reader
✅ got: #t
[⚙️ assert] and the range it carries
✅ got: #t
[⚙️ assert] the line saying which subset follows
✅ got: #t
[⚙️ assert] and the stylesheet is as long as it was
✅ got: 27
[🧪 test] each face is named for the block it stands in
[⚙️ assert] the addresses and the names line up
✅ got: ((https://fonts.gstatic.com/s/intelonemono/v25/aaa111.woff2 . intelonemono-symbols2-italic.woff2) (https://fonts.gstatic.com/s/intelonemono/v25/bbb222.woff2 . intelonemono-latin.woff2) (https://fonts.gstatic.com/s/plusjakartasans/v9/ccc333.woff2 . plusjakartasans-latin-italic.woff2))
+----------------------------------------------+
[📑 suite] An icon set is copied with what is served of it
[🧪 test] the face names the file that is beside it, and only it
[⚙️ assert] the woff2 clause ends the list
✅ got: #t
[⚙️ assert] the older woff is not named
✅ got: #t
[⚙️ assert] nor the ttf
✅ got: #t
[⚙️ assert] nor the svg
✅ got: #t
[🧪 test] a stylesheet with nothing to prune is left alone
[⚙️ assert] the text comes back as it went in
✅ got: @font-face {
font-family: "Phosphor";
src:
url("./Phosphor.woff2") format("woff2");
font-weight: normal;
font-style: normal;
font-display: block;
}
.ph {
font-family: "Phosphor" !important;
line-height: 1;
}
[🧪 test] what is left is still a stylesheet
[⚙️ assert] the braces still balance
✅ got: 2
[⚙️ assert] and they close as often
✅ got: 2
[⚙️ assert] the face keeps its family
✅ got: #t
[⚙️ assert] and the class the glyphs are worn with
✅ got: #t
[⚙️ assert] no clause is left dangling
✅ got: #t
+----------------------------------------------+
[📑 suite] A face is named after what it carries
[🧪 test] the family, the subset and the slope are all in the name
[⚙️ assert] a straight face names no slope
✅ got: intelonemono-latin.woff2
[⚙️ assert] a sloped one says so
✅ got: plusjakartasans-latin-italic.woff2
[⚙️ assert] and a subset that is not latin is kept apart
✅ got: intelonemono-symbols2-italic.woff2
ℹ️ info - ran 3 tasks in: 0 seconds, 29033 microseconds
running unit tests from file: domain-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 783480585 (replay with VERITAS_SEED=783480585)
+----------------------------------------------+
[📑 suite] What a sort control means
[🧪 test] the clause names a column and a direction, and nothing else
[⚙️ assert] the column is a symbol
✅ got: #t
[⚙️ assert] the direction is one of the two words
✅ got: #t
[⚙️ assert] and a clause is all there is to it
✅ got: 2
[🧪 test] every sort the pages offer maps onto its own clause
[⚙️ assert] newest first
✅ got: ((created-at desc))
[⚙️ assert] oldest first
✅ got: ((created-at asc))
[⚙️ assert] edited most recently
✅ got: ((last-edited-at desc))
[⚙️ assert] edited longest ago
✅ got: ((last-edited-at asc))
[⚙️ assert] by name, descending
✅ got: ((display-name desc))
[⚙️ assert] by name, ascending
✅ got: ((display-name asc))
[⚙️ assert] most viewed first
✅ got: ((views desc))
[⚙️ assert] least viewed first
✅ got: ((views asc))
[🧪 test] a sort that is spelled like SQL is not passed through
[⚙️ assert] "views desc; DROP TABLE songs" sorts by default
✅ got: ((last-edited-at desc))
[⚙️ assert] "display-name asc --" sorts by default
✅ got: ((last-edited-at desc))
[⚙️ assert] "(drop-table)" sorts by default
✅ got: ((last-edited-at desc))
[⚙️ assert] "views\") desc" sorts by default
✅ got: ((last-edited-at desc))
[🧪 test] something the page does not offer sorts the default way
[⚙️ assert] an unknown sort falls back
✅ got: ((last-edited-at desc))
[⚙️ assert] so does an empty one
✅ got: ((last-edited-at desc))
+----------------------------------------------+
[📑 suite] Which related rows belong to an entry
[🧪 test] an artist is matched on the artist's identifier
[⚙️ assert] the row naming this artist
✅ got: (((artist-identifier . artist-1) (genre-identifier . genre-1) (song-identifier . song-1) (display-name . the one that matches)))
[🧪 test] a song is matched on the song's identifier
[⚙️ assert] the row naming this song
✅ got: (((artist-identifier . artist-1) (genre-identifier . genre-1) (song-identifier . song-1) (display-name . the one that matches)))
[🧪 test] the identifier compared against is the entry's own
[⚙️ assert] a row naming a song is not the artist's row
✅ got: ()
[⚙️ assert] nor is another entry's row this one's
✅ got: ()
[🧪 test] a genre is matched on the genre's identifier
[⚙️ assert] the row naming this genre
✅ got: (((artist-identifier . artist-1) (genre-identifier . genre-1) (song-identifier . song-1) (display-name . the one that matches)))
ℹ️ info - ran 2 tasks in: 0 seconds, 5743 microseconds
running unit tests from file: about-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 783480585 (replay with VERITAS_SEED=783480585)
+----------------------------------------------+
[📑 suite] What the page says the project is
[🧪 test] it introduces the list of what a reader can do
[⚙️ assert] the list is introduced
✅ got: #t
[🧪 test] it names what the project is
[⚙️ assert] the community is named
✅ got: #t
[⚙️ assert] and what it works towards
✅ got: #t
[🧪 test] it ends on an invitation
[⚙️ assert] the last line is the invitation
✅ got: #t
[🧪 test] it says what the project is built on
[⚙️ assert] the language is named
✅ got: #t
[⚙️ assert] and so is the architecture
✅ got: #t
+----------------------------------------------+
[📑 suite] The order the page says things in
[🧪 test] the list stands under the sentence that introduces it
[⚙️ assert] the introduction comes first
✅ got: #t
[🧪 test] the promises keep the order they were written in
[⚙️ assert] each one follows the one before it
✅ got: #t
[🧪 test] the account of the place comes before the ask
[⚙️ assert] nothing is asked for before anything is said
✅ got: #t
+----------------------------------------------+
[📑 suite] The words the two pages share
[🧪 test] the one ask is the same control on both pages
[⚙️ assert] the about page asks
✅ got: #t
[⚙️ assert] and so does the front page
✅ got: #t
[⚙️ assert] offered in the project's own words
✅ got: #t
[🧪 test] both pages close on the same invitation
[⚙️ assert] the about page invites
✅ got: #t
[⚙️ assert] and so does the front page
✅ got: #t
[🧪 test] the account of the project belongs to the about page
[⚙️ assert] the front page is still the collection
✅ got: #f
[🧪 test] both pages name the place the same way
[⚙️ assert] the about page says it
✅ got: #t
[⚙️ assert] and so does the front page
✅ got: #t
+----------------------------------------------+
[📑 suite] The front page as a way in
[🧪 test] the search control carries the words to the collection
[⚙️ assert] the form names the collection
✅ got: #t
[⚙️ assert] and the field its words are read from
✅ got: #t
[🧪 test] a page with no artists to show is still the whole page
[⚙️ assert] no heading over nothing
✅ got: #f
[🧪 test] both shelves of the collection are shown, songs first
[⚙️ assert] the songs are there
✅ got: #t
[⚙️ assert] and so are the artists
✅ got: #t
[⚙️ assert] in the order they are read
✅ got: #t
[⚙️ assert] with a way to the rest of them
✅ got: #t
[🧪 test] the first screen says what is in the place
[⚙️ assert] the summary is read under the tagline
✅ got: #t
[⚙️ assert] and it is read after it
✅ got: #t
+----------------------------------------------+
[📑 suite] The word the link is offered in
[🧪 test] ja_JP has a word for it
[⚙️ assert] the label is translated
✅ got: #t
[🧪 test] en_US has a word for it
[⚙️ assert] the label is translated
✅ got: #t
[🧪 test] es_ES has a word for it
[⚙️ assert] the label is translated
✅ got: #t
[🧪 test] nl_NL has a word for it
[⚙️ assert] the label is translated
✅ got: #t
+----------------------------------------------+
[📑 suite] The link to the page
[🧪 test] every page offers it
[⚙️ assert] the footer links to it
✅ got: #t
[⚙️ assert] and says where it leads
✅ got: #t
+----------------------------------------------+
[📑 suite] What the page tells a crawler
[🧪 test] the description is the page's own one
[⚙️ assert] a search result shows the community
✅ got: #t
[🧪 test] the page says what kind of page it is
[⚙️ assert] the page states its own type
✅ got: #t
[⚙️ assert] and names the community as its subject
✅ got: #t
[🧪 test] the title names the community
[⚙️ assert] the page is titled
✅ got: #t
+----------------------------------------------+
[📑 suite] The pages of an instance that asks for nothing
[🧪 test] the about page asks for nothing
[⚙️ assert] there is no control
✅ got: #f
[⚙️ assert] and none of the words that are on one
✅ got: #f
[⚙️ assert] and nothing about what the money pays for
✅ got: #f
[🧪 test] and the front page asks for nothing either
[⚙️ assert] there is no control
✅ got: #f
[⚙️ assert] and none of the words that are on one
✅ got: #f
[🧪 test] what the pages are for is still said
[⚙️ assert] the promises are still made
✅ got: #t
[⚙️ assert] and the front page still invites
✅ got: #t
+----------------------------------------------+
[📑 suite] What the page promises a reader can do
[🧪 test] “Organize information with structured met…” is promised
[⚙️ assert] it is an item of the list
✅ got: #t
[⚙️ assert] and it is said once
✅ got: 1
[🧪 test] “Contribute by adding new compositions, a…” is promised
[⚙️ assert] it is an item of the list
✅ got: #t
[⚙️ assert] and it is said once
✅ got: 1
[🧪 test] “Discover music from diverse genres and t…” is promised
[⚙️ assert] it is an item of the list
✅ got: #t
[⚙️ assert] and it is said once
✅ got: 1
[🧪 test] “Learn through curated resources that con…” is promised
[⚙️ assert] it is an item of the list
✅ got: #t
[⚙️ assert] and it is said once
✅ got: 1
ℹ️ info - ran 9 tasks in: 1 seconds, 39067 microseconds
running unit tests from file: guitarpro-view-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 783480585 (replay with VERITAS_SEED=783480585)
+----------------------------------------------+
[📑 suite] The name a tab is saved under
[🧪 test] a name is still made of nothing
[⚙️ assert] a version with no name of its own
✅ got: wikimusic-tab.gp5
[⚙️ assert] and a song the page has not read yet
✅ got: wikimusic-tab.gp5
[🧪 test] the name says which song and which version it is
[⚙️ assert] the two together
✅ got: A Song - v1.gp5
[🧪 test] the characters a file name cannot hold are replaced
[⚙️ assert] a song whose name holds a slash and a colon
✅ got: A-B- C-D-.gp5
+----------------------------------------------+
[📑 suite] The section a version's tab is offered in
[🧪 test] the controls and the score are on the page before they are used
[⚙️ assert] the controls start hidden
✅ got: #t
[⚙️ assert] the place a score is drawn in
✅ got: #t
[🧪 test] and the offer to draw it here, which is a button and not a script
[⚙️ assert] the button
✅ got: #t
[🧪 test] the words the player shows are the page's own
[⚙️ assert] while it loads
✅ got: #t
[⚙️ assert] once it is drawn
✅ got: #t
[⚙️ assert] and when it cannot be drawn
✅ got: #t
[⚙️ assert] the state while loading is a place the script reaches
✅ got: #t
[⚙️ assert] and the state once drawn
✅ got: #t
[⚙️ assert] and the state that failed
✅ got: #t
[🧪 test] a version carrying no tab is offered none
[⚙️ assert] a field a reader never touched
✅ got: ()
[⚙️ assert] and a version whose tab is not a tab at all
✅ got: ()
[🧪 test] a version carrying a tab offers it for download
[⚙️ assert] the link to the file
✅ got: #t
[⚙️ assert] and the name it is saved under
✅ got: #t
[🧪 test] each version's section is named after the version it is
[⚙️ assert] the score of the second version
✅ got: #t
[⚙️ assert] and not the first version's
✅ got: #t
[🧪 test] a tab whose header cannot be read says so and is still a download
[⚙️ assert] the sentence
✅ got: #t
[🧪 test] playing and stopping are offered once there is something to play
[⚙️ assert] playing
✅ got: #t
[⚙️ assert] and stopping
✅ got: #t
+----------------------------------------------+
[📑 suite] What a tab's own header is shown as
[🧪 test] a key is listed by the name of the key and not the count
[⚙️ assert] two flats is B flat
✅ got: Bb
[🧪 test] a field its author left empty is not listed at all
[⚙️ assert] an empty artist
✅ got: #f
[⚙️ assert] an album that was never read
✅ got: #f
[⚙️ assert] a key with no name
✅ got: #f
[🧪 test] every field a tab's author filled in is listed
[⚙️ assert] the title
✅ got: a title
[⚙️ assert] the artist
✅ got: an artist
[⚙️ assert] the album
✅ got: an album
[⚙️ assert] who tabbed it
✅ got: a tabber
[🧪 test] the numbers a header always carries are always listed
[⚙️ assert] the measures
✅ got: 42
[⚙️ assert] the tracks
✅ got: 3
[🧪 test] a tempo is written as a reader reads it
[⚙️ assert] a tempo in beats per minute
✅ got: 132 bpm
ℹ️ info - ran 3 tasks in: 0 seconds, 30666 microseconds
running unit tests from file: guitarpro-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 783480585 (replay with VERITAS_SEED=783480585)
+----------------------------------------------+
[📑 suite] What a data URL holds
[🧪 test] an empty value is not a data URL
[⚙️ assert] the empty string
✅ got: #f
[⚙️ assert] nor is a path
✅ got: #f
[🧪 test] a data URL that holds something other than base64 holds no bytes
[⚙️ assert] a text data URL
✅ got: #f
[⚙️ assert] a base64 text that does not decode
✅ got: #f
[🧪 test] a version's own file is read through its data URL
[⚙️ assert] the title
✅ got: through a data url
[⚙️ assert] the tempo
✅ got: 90
[🧪 test] a base64 data URL is one, and its bytes come back
[⚙️ assert] a file posted by a browser
✅ got: #t
[⚙️ assert] the bytes after the comma
✅ got: hi
+----------------------------------------------+
[📑 suite] What a base64 text spells
[🧪 test] a text whose bytes are known decodes to them
[⚙️ assert] two characters
✅ got: h
[⚙️ assert] three characters
✅ got: hi
[⚙️ assert] five characters
✅ got: hello
[⚙️ assert] six characters is two whole groups
✅ got: hello!
[🧪 test] a text broken across lines is read as one
[⚙️ assert] whitespace between the characters is ignored
✅ got: hello
[🧪 test] the encoding a browser does round-trips through the decoder
[⚙️ assert] one character, the shortest text that needs padding
✅ got: a
[⚙️ assert] one whole group of three
✅ got: abc
[⚙️ assert] a word
✅ got: wikimusic
[⚙️ assert] a text whose bytes are not its characters
✅ got: a title with an accent: café
[🧪 test] a text that is not base64 is refused rather than guessed at
[⚙️ assert] a character outside the alphabet
✅ success catching error: misc-error: (#f base64-decode-string: not a base64 character ~S (*) #f)
[⚙️ assert] a text that ends in a lone character
✅ success catching error: misc-error: (#f base64-decode-string: the text ends in a lone base64 character () #f)
+----------------------------------------------+
[📑 suite] What the header of a Guitar Pro 5 file declares
[🧪 test] a header written by a release after 5.0 is read the same way
[⚙️ assert] the tempo of a 5.1 file
✅ got: 155
[⚙️ assert] the track count of a 5.1 file
✅ got: 5
[⚙️ assert] the tempo of a 5.0 file
✅ got: 155
[⚙️ assert] the track count of a 5.0 file
✅ got: 5
[🧪 test] a field whose two lengths disagree is refused
[⚙️ assert] a string that claims a length it does not have
✅ got: #f
[🧪 test] a file of the right generation that is cut short is refused
[⚙️ assert] a header missing its last fields
✅ got: #f
[⚙️ assert] a file missing its whole header
✅ got: #f
[🧪 test] a file whose counts cannot be true is refused
[⚙️ assert] a negative measure count
✅ got: #f
[🧪 test] the reader consumes exactly the header and nothing more
[⚙️ assert] the plain file
✅ got: 1063
[⚙️ assert] a file with no title
✅ got: 1056
[⚙️ assert] a file with a long title
✅ got: 1093
[⚙️ assert] a file with two notice lines
✅ got: 1092
[⚙️ assert] a file of the earlier release
✅ got: 1058
[⚙️ assert] a file with numbers at their widest
✅ got: 1063
[🧪 test] every field of a written file is read back
[⚙️ assert] the release
✅ got: (5 10)
[⚙️ assert] the title
✅ got: a title
[⚙️ assert] the artist, two fields along
✅ got: an artist
[⚙️ assert] the notice lines, in order
✅ got: (first notice second notice)
[⚙️ assert] the lyrics
✅ got: (the words of the song)
[⚙️ assert] the tempo
✅ got: 132
[⚙️ assert] the key signature
✅ got: -2
[⚙️ assert] the key it names
✅ got: Bb
[⚙️ assert] the measures
✅ got: 42
[⚙️ assert] the tracks
✅ got: 3
[🧪 test] a file that is not a readable Guitar Pro 5 file is answered with #f
[⚙️ assert] nothing at all
✅ got: #f
[⚙️ assert] a text file
✅ got: #f
[⚙️ assert] a pdf
✅ got: #f
[⚙️ assert] a Guitar Pro 4 file
✅ got: #f
+----------------------------------------------+
[📑 suite] The key a header names
[🧪 test] a number no signature has is not named at all
[⚙️ assert] one flat too many
✅ got: #f
[⚙️ assert] and one sharp too many
✅ got: #f
[🧪 test] each signature of the fifteen is named
[⚙️ assert] no accidentals is C
✅ got: C
[⚙️ assert] two flats is B flat
✅ got: Bb
[⚙️ assert] one sharp is G
✅ got: G
[⚙️ assert] seven sharps is C sharp
✅ got: C#
[⚙️ assert] seven flats is C flat
✅ got: Cb
ℹ️ info - ran 4 tasks in: 0 seconds, 55734 microseconds;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /etc/byggsteg/job-clone/wikimusic/trunk/env.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wikimusic/trunk/env.scm.go
;;; compiling ./test/veritas/unit/assets-spec.scm
;;; compiling ./resources/assets/fetch.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wikimusic/trunk/resources/assets/fetch.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wikimusic/trunk/test/veritas/unit/assets-spec.scm.go
;;; compiling ./test/veritas/unit/domain-spec.scm
;;; compiling ./lib/wikimusic/domain.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wikimusic/trunk/lib/wikimusic/domain.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wikimusic/trunk/test/veritas/unit/domain-spec.scm.go
;;; compiling ./test/veritas/unit/about-spec.scm
;;; compiling ./test/support/deployment.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wikimusic/trunk/test/support/deployment.scm.go
;;; compiling ./app/views/about.scm
;;; compiling ./lib/wikimusic/config.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wikimusic/trunk/lib/wikimusic/config.scm.go
;;; compiling ./lib/wikimusic/html.scm
WARNING: (hygguile hygguile): imported module (hygguile components select) overrides core binding `select'
;;; compiling ./lib/wikimusic/seo.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wikimusic/trunk/lib/wikimusic/seo.scm.go
WARNING: (wikimusic html): imported module (hygguile hygguile) overrides core binding `select'
WARNING: (wikimusic html): `get-short-commit-sha' imported from both (kracht prelude) and (hygguile hygguile)
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wikimusic/trunk/lib/wikimusic/html.scm.go
;;; compiling ./lib/wikimusic/prose.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wikimusic/trunk/lib/wikimusic/prose.scm.go
;;; compiling ./app/views/index.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wikimusic/trunk/app/views/index.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wikimusic/trunk/app/views/about.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wikimusic/trunk/test/veritas/unit/about-spec.scm.go
WARNING: (wikimusic html): `get-short-commit-sha' imported from both (kracht prelude) and (hygguile hygguile)
WARNING: (wikimusic html): imported module (hygguile hygguile) overrides core binding `select'
;;; compiling ./test/veritas/unit/guitarpro-view-spec.scm
;;; compiling ./app/views/song-content-view.scm
;;; compiling ./lib/wikimusic/guitarpro.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wikimusic/trunk/lib/wikimusic/guitarpro.scm.go
;;; compiling ./lib/wikimusic/domain/guitar-chord-guide.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wikimusic/trunk/lib/wikimusic/domain/guitar-chord-guide.scm.go
WARNING: (app views song-content-view): imported module (hygguile hygguile) overrides core binding `select'
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wikimusic/trunk/app/views/song-content-view.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wikimusic/trunk/test/veritas/unit/guitarpro-view-spec.scm.go
;;; compiling ./test/veritas/unit/guitarpro-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wikimusic/trunk/test/veritas/unit/guitarpro-spec.scm.go
;;; compiling ./test/veritas/unit/auth-spec.scm
;;; compiling ./lib/wikimusic/auth.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wikimusic/trunk/lib/wikimusic/auth.scm.go
;;; compiled
running unit tests from file: auth-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 783480585 (replay with VERITAS_SEED=783480585)
+----------------------------------------------+
[📑 suite] Checking a password
[🧪 test] a row with no usable hash is refused rather than crashed on
[⚙️ assert] no hash is not a legacy hash
✅ got: #f
[⚙️ assert] nor is something that is not a string
✅ got: #f
[🧪 test] a hash that cannot be read is not a match
[⚙️ assert] no hash at all
✅ got: #f
[⚙️ assert] an argon2id salt that is not hexadecimal
✅ got: #f
[⚙️ assert] an argon2id cost that is not a number
✅ got: #f
[⚙️ assert] an argon2id hash with a field missing
✅ got: #f
[⚙️ assert] a pbkdf2 hash with a field missing
✅ got: #f
+----------------------------------------------+
[📑 suite] Passwords on file
[🧪 test] a hash names the scheme it was derived with
[⚙️ assert] an argon2id hash says so
✅ got: argon2id
[⚙️ assert] and carries iterations, memory, lanes, salt and key
✅ got: 6
[⚙️ assert] a pbkdf2 hash says so
✅ got: pbkdf2-sha256
[⚙️ assert] and carries iterations, salt and key
✅ got: 4
+----------------------------------------------+
[📑 suite] The permissions column
[🧪 test] anything that is not a list of permissions is an empty list
[⚙️ assert] an empty column
✅ got: ()
[⚙️ assert] no column at all
✅ got: ()
[⚙️ assert] an unreadable column
✅ got: ()
[⚙️ assert] a bare symbol
✅ got: ()
[⚙️ assert] a string
✅ got: ()
[🧪 test] a row written before the change still yields its permissions
[⚙️ assert] a quasiquoted list is unwrapped
✅ got: (wikimusic:song-create)
[⚙️ assert] the long spelling of it too
✅ got: (wikimusic:song-create)
[🧪 test] a list of permissions is read as written
[⚙️ assert] one permission
✅ got: (wikimusic:song-create)
[⚙️ assert] several, in order
✅ got: (wikimusic:song-create wikimusic:artist-delete)
[🧪 test] the column is read, never run
[⚙️ assert] a form naming a procedure comes back as data
✅ got: (system rm -rf /)
[⚙️ assert] and so does a lambda
✅ got: (lambda (x) x)
+----------------------------------------------+
[📑 suite] Reading a session
[🧪 test] a token that has been altered does not openerror decrypting token: misc-error: (#f ~A (bewaking: the sealed data could not be opened: unknown, retired or wrong key, or the data was altered.) #f)error decrypting token: misc-error: (#f ~A (bewaking: the sealed data could not be opened: unknown, retired or wrong key, or the data was altered.) #f)
[⚙️ assert] a truncated token
✅ got: #f
[⚙️ assert] a token with something appended
✅ got: #f
[🧪 test] every way of failing is the same noerror decrypting token: misc-error: (#f ~A (open-envelope: not a bewaking envelope (expected BWK3).) #f)error decrypting token: misc-error: (#f ~A (open-envelope: not a bewaking envelope (expected BWK3).) #f)/root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wikimusic/trunk/test/veritas/unit/auth-spec.scm.go
[⚙️ assert] no token at all
✅ got: #f
[⚙️ assert] a false token
✅ got: #f
[⚙️ assert] an empty cookie
✅ got: #f
[⚙️ assert] a cookie that is not even an envelope
✅ got: #f
[⚙️ assert] a cookie of some other shape
✅ got: #f
[🧪 test] an expired session is no session
[⚙️ assert] a validity that is already behind it
✅ got: #f
[🧪 test] a token sealed under another key is not ourserror decrypting token: misc-error: (#f ~A (bewaking: the sealed data could not be opened: unknown, retired or wrong key, or the data was altered.) #f)error decrypting token: misc-error: (#f ~A (bewaking: the sealed data could not be opened: unknown, retired or wrong key, or the data was altered.) #f)
[⚙️ assert] a token sealed with a key we do not hold
✅ got: #f
[⚙️ assert] nor one signed with another
✅ got: #f
[🧪 test] a token sealed with the project's keys names its owner
[⚙️ assert] the owner's identifier comes back
✅ got: 8b3f6a1e-1c2d-4e5f-8a9b-0c1d2e3f4a5b
[⚙️ assert] and the permissions it was sealed with
✅ got: (wikimusic:song-create)
[⚙️ assert] the payload carries its own expiry
✅ got: #t
[🧪 test] a route's permission has to be one the session holds
[⚙️ assert] the permission it holds is granted
✅ got: #t
[⚙️ assert] and so is a set it holds in full
✅ got: #t
[⚙️ assert] one it does not hold is refused
✅ got: #f
[⚙️ assert] with no permission asked for, a session is enough
✅ got: #t
ℹ️ info - ran 4 tasks in: 1 seconds, 86032 microseconds
❌ error -
aborting due to error in test case...
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /etc/byggsteg/job-clone/wikimusic/trunk/maak.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/wikimusic/trunk/maak.scm.go
Backtrace:
In ice-9/boot-9.scm:
1784:12 7 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In unknown file:
6 (apply-smob/0 #<thunk 7f88abb15340>)
In ice-9/boot-9.scm:
733:2 5 (call-with-prompt _ _ #<procedure default-prompt-handler (k proc)>)
In ice-9/eval.scm:
619:8 4 (_ #(#(#<directory (guile-user) 7f88abb18c80>)))
In ice-9/command-line.scm:
187:19 3 (_ #<input: custom-port 7f88abb003f0>)
In unknown file:
2 (eval ((@ (maak main) main)) #<directory (guile-user) 7f88abb18c80>)
In srfi/srfi-1.scm:
750:9 1 (for-each #<procedure 7f88a9cfe198 at maak/maak.scm:87:12 (task)> (test))
In maak/dsl.scm:
89:12 0 ($ _ #:verbose? _ #:join _)
maak/dsl.scm:89:12: In procedure $:
Non-zero exit code when running!
Command: guix time-machine --channels=channels.scm -- shell -m manifest.scm -- guile -L ./lib -L ./test -L . -c '(load "env.scm") ((@ (veritas runner) run-tests))'
Exit code: 1
--------------------------------------------------------------
Maak: the infinitely extensible command runner
Loading tasks from Maak file: /etc/byggsteg/job-clone/wikimusic/trunk/maak.scm
Executing Maak tasks: test
--------------------------------------------------------------
=> Running Maak task: test
Run the project's test suite, one spec at a time, from test/veritas.