unit_tests
Passed Started 7 days ago by timfa
Running on Steve
Log timestamps in UTC.
- 121:44:33
Using docker image node:20-bookworm ... - 221:44:33
Using docker image sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 for node:20-bookworm with digest node@sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 ...
- 321:44:33
Running on Steve via BlueGit... - 421:44:33
Working directory: /workspace - 521:44:33
Pipeline #623, job #2424
- 621:44:33
TAP version 13 - 721:44:33
# Subtest: column pixel contract - 821:44:33
# Subtest: legacy bug (sw=widthLine, max(1,...)) cannot reach column 0 or use sw=1 - 921:44:33
ok 1 - legacy bug (sw=widthLine, max(1,...)) cannot reach column 0 or use sw=1 - 1021:44:33
--- - 1121:44:33
duration_ms: 0.848048 - 1221:44:33
... - 1321:44:33
# Subtest: simulated wall sample uses one source column per screen column - 1421:44:33
ok 2 - simulated wall sample uses one source column per screen column - 1521:44:33
--- - 1621:44:33
duration_ms: 0.378002 - 1721:44:33
... - 1821:44:33
1..2 - 1921:44:33
ok 1 - column pixel contract - 2021:44:33
--- - 2121:44:33
duration_ms: 2.211368 - 2221:44:33
type: 'suite' - 2321:44:33
... - 2421:44:33
# Subtest: PpdaCompositor (compositor.rs rules) - 2521:44:33
# Subtest: nearer depth wins - 2621:44:33
ok 1 - nearer depth wins - 2721:44:34
--- - 2821:44:34
duration_ms: 1.265035 - 2921:44:34
... - 3021:44:34
# Subtest: tie within epsilon keeps lower layer (body) - 3121:44:34
ok 2 - tie within epsilon keeps lower layer (body) - 3221:44:34
--- - 3321:44:34
duration_ms: 0.242387 - 3421:44:34
... - 3521:44:34
# Subtest: zero diffuse alpha skips layer - 3621:44:34
ok 3 - zero diffuse alpha skips layer - 3721:44:34
--- - 3821:44:34
duration_ms: 0.236767 - 3921:44:34
... - 4021:44:34
# Subtest: zero depth alpha skips layer - 4121:44:34
ok 4 - zero depth alpha skips layer - 4221:44:34
--- - 4321:44:34
duration_ms: 0.230214 - 4421:44:34
... - 4521:44:34
1..4 - 4621:44:34
ok 2 - PpdaCompositor (compositor.rs rules) - 4721:44:34
--- - 4821:44:34
duration_ms: 3.764726 - 4921:44:34
type: 'suite' - 5021:44:34
... - 5121:44:34
# Subtest: DepthDecode encodings - 5221:44:34
# Subtest: gray 8/16 roundtrip via encode/decode value - 5321:44:34
ok 1 - gray 8/16 roundtrip via encode/decode value - 5421:44:34
--- - 5521:44:34
duration_ms: 3.363461 - 5621:44:34
... - 5721:44:34
# Subtest: rgb_bands fills R then G then B - 5821:44:34
ok 2 - rgb_bands fills R then G then B - 5921:44:34
--- - 6021:44:34
duration_ms: 0.344189 - 6121:44:34
... - 6221:44:34
# Subtest: rgb_bands rejects invalid order - 6321:44:34
ok 3 - rgb_bands rejects invalid order - 6421:44:34
--- - 6521:44:34
duration_ms: 0.362082 - 6621:44:34
... - 6721:44:34
# Subtest: rgb_packed positional - 6821:44:34
ok 4 - rgb_packed positional - 6921:44:34
--- - 7021:44:34
duration_ms: 0.330433 - 7121:44:34
... - 7221:44:34
# Subtest: distanceMeters uses near/far - 7321:44:34
ok 5 - distanceMeters uses near/far - 7421:44:34
--- - 7521:44:34
duration_ms: 0.202101 - 7621:44:34
... - 7721:44:34
1..5 - 7821:44:34
ok 3 - DepthDecode encodings - 7921:44:34
--- - 8021:44:34
duration_ms: 21.476295 - 8121:44:34
type: 'suite' - 8221:44:34
... - 8321:44:34
# Subtest: FloorCast math - 8421:44:34
# Subtest: floorHit below horizon returns positive wy path and isCeiling false - 8521:44:34
ok 1 - floorHit below horizon returns positive wy path and isCeiling false - 8621:44:34
--- - 8721:44:34
duration_ms: 1.422301 - 8821:44:34
... - 8921:44:34
# Subtest: floorHit above horizon is ceiling - 9021:44:34
ok 2 - floorHit above horizon is ceiling - 9121:44:34
--- - 9221:44:34
duration_ms: 0.190919 - 9321:44:34
... - 9421:44:34
# Subtest: sampleNearest wraps and picks texel - 9521:44:34
ok 3 - sampleNearest wraps and picks texel - 9621:44:34
--- - 9721:44:34
duration_ms: 1.010074 - 9821:44:34
... - 9921:44:34
# Subtest: render fills floor pixels from texMap and leaves black where null - 10021:44:34
ok 4 - render fills floor pixels from texMap and leaves black where null - 10121:44:34
--- - 10221:44:34
duration_ms: 37.82249 - 10321:44:34
... - 10421:44:34
# Subtest: perspective: farther rows have larger world step (rowDist grows toward horizon) - 10521:44:34
ok 5 - perspective: farther rows have larger world step (rowDist grows toward horizon) - 10621:44:34
--- - 10721:44:34
duration_ms: 0.21788 - 10821:44:34
... - 10921:44:34
1..5 - 11021:44:34
ok 4 - FloorCast math - 11121:44:34
--- - 11221:44:34
duration_ms: 42.574608 - 11321:44:34
type: 'suite' - 11421:44:34
... - 11521:44:34
# Subtest: LevelFormat schema v1 - 11621:44:34
# Subtest: validates default empty level in a pack - 11721:44:34
ok 1 - validates default empty level in a pack - 11821:44:34
--- - 11921:44:34
duration_ms: 1.140971 - 12021:44:34
... - 12121:44:34
# Subtest: rejects unknown format_version - 12221:44:34
ok 2 - rejects unknown format_version - 12321:44:34
--- - 12421:44:34
duration_ms: 0.358075 - 12521:44:34
... - 12621:44:34
# Subtest: rejects walls length mismatch - 12721:44:34
ok 3 - rejects walls length mismatch - 12821:44:34
--- - 12921:44:34
duration_ms: 0.174709 - 13021:44:34
... - 13121:44:34
# Subtest: rejects unknown floor texture - 13221:44:34
ok 4 - rejects unknown floor texture - 13321:44:34
--- - 13421:44:34
duration_ms: 0.156675 - 13521:44:34
... - 13621:44:34
# Subtest: migrates legacy Levels[] to pack with floors/ceilings/lights - 13721:44:34
ok 5 - migrates legacy Levels[] to pack with floors/ceilings/lights - 13821:44:34
--- - 13921:44:34
duration_ms: 0.617724 - 14021:44:34
... - 14121:44:34
# Subtest: findLevelIndex by id, name, and index - 14221:44:34
ok 6 - findLevelIndex by id, name, and index - 14321:44:34
--- - 14421:44:34
duration_ms: 0.182614 - 14521:44:34
... - 14621:44:34
# Subtest: toRuntimeLevel maps walls→tiles and spawn yaw - 14721:44:34
ok 7 - toRuntimeLevel maps walls→tiles and spawn yaw - 14821:44:34
--- - 14921:44:34
duration_ms: 0.1804 - 15021:44:34
... - 15121:44:34
# Subtest: parses build/levels.json - 15221:44:34
ok 8 - parses build/levels.json - 15321:44:34
--- - 15421:44:34
duration_ms: 0.469295 - 15521:44:34
... - 15621:44:34
1..8 - 15721:44:34
ok 5 - LevelFormat schema v1 - 15821:44:34
--- - 15921:44:34
duration_ms: 4.613948 - 16021:44:34
type: 'suite' - 16121:44:34
... - 16221:44:34
# Subtest: sprite occlusion z-buffer - 16321:44:34
# Subtest: wall blocks farther sprite pixels - 16421:44:34
ok 1 - wall blocks farther sprite pixels - 16521:44:34
--- - 16621:44:34
duration_ms: 1.227223 - 16721:44:34
... - 16821:44:34
# Subtest: nearer sprite wins over previous sprite - 16921:44:34
ok 2 - nearer sprite wins over previous sprite - 17021:44:34
--- - 17121:44:34
duration_ms: 0.249891 - 17221:44:34
... - 17321:44:34
1..2 - 17421:44:34
ok 6 - sprite occlusion z-buffer - 17521:44:34
--- - 17621:44:34
duration_ms: 2.987933 - 17721:44:34
type: 'suite' - 17821:44:34
... - 17921:44:34
# Subtest: PpdaLoader - 18021:44:34
# Subtest: loads vendored male-body atlas - 18121:44:34
ok 1 - loads vendored male-body atlas - 18221:44:34
--- - 18321:44:34
duration_ms: 1.586551 - 18421:44:34
... - 18521:44:34
# Subtest: body and sword are compatible - 18621:44:34
ok 2 - body and sword are compatible - 18721:44:34
--- - 18821:44:34
duration_ms: 2.009207 - 18921:44:34
... - 19021:44:34
# Subtest: rejects path traversal in map files - 19121:44:34
ok 3 - rejects path traversal in map files - 19221:44:34
--- - 19321:44:34
duration_ms: 0.329041 - 19421:44:34
... - 19521:44:34
# Subtest: rejects unknown format_version - 19621:44:34
ok 4 - rejects unknown format_version - 19721:44:34
--- - 19821:44:34
duration_ms: 0.238469 - 19921:44:34
... - 20021:44:34
1..4 - 20121:44:34
ok 7 - PpdaLoader - 20221:44:34
--- - 20321:44:34
duration_ms: 5.397135 - 20421:44:34
type: 'suite' - 20521:44:34
... - 20621:44:34
# Subtest: textureColumnIndex - 20721:44:34
# Subtest: maps 0 to first column - 20821:44:34
ok 1 - maps 0 to first column - 20921:44:34
--- - 21021:44:34
duration_ms: 1.18307 - 21121:44:34
... - 21221:44:34
# Subtest: maps almost-1 to last column - 21321:44:34
ok 2 - maps almost-1 to last column - 21421:44:34
--- - 21521:44:34
duration_ms: 0.178105 - 21621:44:34
... - 21721:44:34
# Subtest: clamps above 1 - 21821:44:34
ok 3 - clamps above 1 - 21921:44:34
--- - 22021:44:34
duration_ms: 0.194096 - 22121:44:34
... - 22221:44:34
# Subtest: clamps below 0 - 22321:44:34
ok 4 - clamps below 0 - 22421:44:34
--- - 22521:44:34
duration_ms: 0.272925 - 22621:44:34
... - 22721:44:34
# Subtest: covers every source column for a dense tileX sweep - 22821:44:34
ok 5 - covers every source column for a dense tileX sweep - 22921:44:34
--- - 23021:44:34
duration_ms: 0.332587 - 23121:44:34
... - 23221:44:34
1..5 - 23321:44:34
ok 8 - textureColumnIndex - 23421:44:34
--- - 23521:44:34
duration_ms: 4.055996 - 23621:44:34
type: 'suite' - 23721:44:34
... - 23821:44:34
# Subtest: textureColumnUv - 23921:44:34
# Subtest: always has source width 1 in UV space - 24021:44:34
ok 1 - always has source width 1 in UV space - 24121:44:34
--- - 24221:44:34
duration_ms: 0.319472 - 24321:44:34
... - 24421:44:34
1..1 - 24521:44:34
ok 9 - textureColumnUv - 24621:44:34
--- - 24721:44:34
duration_ms: 0.64715 - 24821:44:34
type: 'suite' - 24921:44:34
... - 25021:44:34
# Subtest: faceTileX (no +1 bias) - 25121:44:34
# Subtest: north face uses local/size without +1/size shift - 25221:44:34
ok 1 - north face uses local/size without +1/size shift - 25321:44:34
--- - 25421:44:34
duration_ms: 0.47219 - 25521:44:34
... - 25621:44:34
# Subtest: south face mirrors - 25721:44:34
ok 2 - south face mirrors - 25821:44:34
--- - 25921:44:34
duration_ms: 1.267911 - 26021:44:34
... - 26121:44:34
1..2 - 26221:44:34
ok 10 - faceTileX (no +1 bias) - 26321:44:34
--- - 26421:44:34
duration_ms: 2.219313 - 26521:44:34
type: 'suite' - 26621:44:34
... - 26721:44:34
# Subtest: PpdaViewFrame - 26821:44:34
# Subtest: picks nearest yaw - 26921:44:34
ok 1 - picks nearest yaw - 27021:44:34
--- - 27121:44:34
duration_ms: 1.076389 - 27221:44:34
... - 27321:44:34
# Subtest: frameIndex wraps - 27421:44:34
ok 2 - frameIndex wraps - 27521:44:34
--- - 27621:44:34
duration_ms: 0.234171 - 27721:44:34
... - 27821:44:34
# Subtest: uvRect from view - 27921:44:34
ok 3 - uvRect from view - 28021:44:34
--- - 28121:44:34
duration_ms: 0.242247 - 28221:44:34
... - 28321:44:34
# Subtest: relativeYawDeg front when looking at facing NPC - 28421:44:34
ok 4 - relativeYawDeg front when looking at facing NPC - 28521:44:34
--- - 28621:44:34
duration_ms: 0.246755 - 28721:44:34
... - 28821:44:34
1..4 - 28921:44:34
ok 11 - PpdaViewFrame - 29021:44:34
--- - 29121:44:34
duration_ms: 3.22576 - 29221:44:34
type: 'suite' - 29321:44:34
... - 29421:44:34
# Subtest: World.rayCast - 29521:44:34
# Subtest: hits a solid wall ahead of spawn looking slightly south of east - 29621:44:34
ok 1 - hits a solid wall ahead of spawn looking slightly south of east - 29721:44:34
--- - 29821:44:34
duration_ms: 3.260567 - 29921:44:34
... - 30021:44:34
# Subtest: tileX stays in [0,1] for many angles - 30121:44:34
ok 2 - tileX stays in [0,1] for many angles - 30221:44:34
--- - 30321:44:34
duration_ms: 4.845124 - 30421:44:34
... - 30521:44:34
1..2 - 30621:44:34
ok 12 - World.rayCast - 30721:44:34
--- - 30821:44:34
duration_ms: 9.201115 - 30921:44:34
type: 'suite' - 31021:44:34
... - 31121:44:34
1..12 - 31221:44:34
# tests 44 - 31321:44:34
# suites 12 - 31421:44:34
# pass 44 - 31521:44:34
# fail 0 - 31621:44:34
# cancelled 0 - 31721:44:34
# skipped 0 - 31821:44:34
# todo 0 - 31921:44:34
# duration_ms 222.83092