Files
stack/agents/rocko/work/queue-56/out/runs-tests.log
T

51 lines
3.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
✔ isRunId accepts the run id shape and nothing else (1.673322ms)
✔ a missing data root or runs directory lists nothing (2.484645ms)
✔ runs as a regular file lists nothing, as before (0.904005ms)
✔ listRunIds keeps r- names only, sorted oldest first (1.157425ms)
✔ listRunRecords returns each result, or null for an incomplete or unreadable one (2.412977ms)
✔ readRunRecord returns documents and artifacts in directory order (1.628667ms)
✔ readRunRecord is null for a missing run, a dangling link or a file (1.084271ms)
✔ readRunRecord and readRunDocument refuse an invalid run id before touching the disk (1.044359ms)
✔ readRunDocument reads only the three run documents (0.837895ms)
✔ a link inside the data root is followed (1.571328ms)
✔ a data root that is itself a link is trusted as configured (0.9115ms)
✔ a run directory linked out of the data root is never read (1.032763ms)
✔ a document linked out of the data root reads as null (1.651968ms)
✔ a runs directory linked out of the data root refuses (0.9743ms)
✔ a relative link that climbs out of the data root refuses (0.753436ms)
✔ a sibling whose name starts with the data root's name is outside it (0.869964ms)
✔ a link loop refuses instead of reading as missing (0.998801ms)
✔ an unreadable runs directory refuses instead of listing nothing (0.706462ms)
✔ an unreadable run directory refuses instead of reading as missing (0.727334ms)
✔ a link to the data root's parent is outside it (0.619388ms)
✔ listRunIds sorts whatever order the directory returns (1.204458ms)
✔ listRunRecords lists an r- name that isn't a valid run id, as before (0.759264ms)
✔ the readers write nothing (3.124064ms)
✔ no pointer is null (2.06006ms)
✔ the pointer release.sh writes reads back (1.253317ms)
✔ a pointer that isn't the version 1 shape refuses with exit 2 (2.510411ms)
✔ a pointer that is a directory refuses with exit 4 (1.188753ms)
✔ a state file linked out of the data root refuses (1.074534ms)
✔ a state directory linked out of the data root refuses (0.628466ms)
✔ a state directory linked out to nothing reads as no release and an empty log (0.568961ms)
✔ a missing log is empty (0.501754ms)
✔ the log reads oldest first and counts malformed lines (1.269789ms)
✔ last must be a positive integer (0.577624ms)
✔ the state readers write nothing (0.939778ms)
✔ list prints each run in the established format (109.147436ms)
✔ show prints the run in the established format (100.576139ms)
✔ show of a missing run and an invalid id exit 4 as before (145.04362ms)
✔ list and show refuse a runs directory linked out of the data root (172.596296ms)
✔ show refuses a run linked out of the data root; list reports it unknown (169.239482ms)
✔ list shows an r- name that isn't a valid run id, as before (86.181593ms)
✔ show refuses an invalid id before reading the config (58.252566ms)
ℹ tests 41
ℹ suites 0
ℹ pass 41
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 911.848651
rc=0