unit_tests
Passed Started 7 days ago by timfa
Running on Steve
Log timestamps in UTC.
- 121:52:11
Using docker image node:20-bookworm ... - 221:52:11
Using docker image sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 for node:20-bookworm with digest node@sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 ...
- 321:52:11
Running on Steve via BlueGit... - 421:52:11
Working directory: /workspace - 521:52:11
Pipeline #625, job #2428
- 621:52:11
TAP version 13 - 721:52:11
# Subtest: column pixel contract - 821:52:11
# Subtest: legacy bug (sw=widthLine, max(1,...)) cannot reach column 0 or use sw=1 - 921:52:11
ok 1 - legacy bug (sw=widthLine, max(1,...)) cannot reach column 0 or use sw=1 - 1021:52:11
--- - 1121:52:11
duration_ms: 1.257 - 1221:52:11
... - 1321:52:11
# Subtest: simulated wall sample uses one source column per screen column - 1421:52:11
ok 2 - simulated wall sample uses one source column per screen column - 1521:52:11
--- - 1621:52:11
duration_ms: 0.572019 - 1721:52:11
... - 1821:52:11
1..2 - 1921:52:11
ok 1 - column pixel contract - 2021:52:11
--- - 2121:52:11
duration_ms: 3.30931 - 2221:52:11
type: 'suite' - 2321:52:11
... - 2421:52:11
# Subtest: PpdaCompositor (compositor.rs rules) - 2521:52:11
# Subtest: nearer depth wins - 2621:52:11
ok 1 - nearer depth wins - 2721:52:11
--- - 2821:52:11
duration_ms: 1.641896 - 2921:52:11
... - 3021:52:11
# Subtest: tie within epsilon keeps lower layer (body) - 3121:52:11
ok 2 - tie within epsilon keeps lower layer (body) - 3221:52:11
--- - 3321:52:11
duration_ms: 0.245112 - 3421:52:11
... - 3521:52:11
# Subtest: zero diffuse alpha skips layer - 3621:52:11
ok 3 - zero diffuse alpha skips layer - 3721:52:11
--- - 3821:52:11
duration_ms: 0.247036 - 3921:52:11
... - 4021:52:11
# Subtest: zero depth alpha skips layer - 4121:52:11
ok 4 - zero depth alpha skips layer - 4221:52:11
--- - 4321:52:11
duration_ms: 0.228681 - 4421:52:11
... - 4521:52:11
1..4 - 4621:52:11
ok 2 - PpdaCompositor (compositor.rs rules) - 4721:52:11
--- - 4821:52:11
duration_ms: 4.222502 - 4921:52:11
type: 'suite' - 5021:52:11
... - 5121:52:11
# Subtest: DepthDecode encodings - 5221:52:11
# Subtest: gray 8/16 roundtrip via encode/decode value - 5321:52:11
ok 1 - gray 8/16 roundtrip via encode/decode value - 5421:52:11
--- - 5521:52:11
duration_ms: 1.347581 - 5621:52:11
... - 5721:52:11
# Subtest: rgb_bands fills R then G then B - 5821:52:11
ok 2 - rgb_bands fills R then G then B - 5921:52:11
--- - 6021:52:11
duration_ms: 0.325093 - 6121:52:11
... - 6221:52:11
# Subtest: rgb_bands rejects invalid order - 6321:52:11
ok 3 - rgb_bands rejects invalid order - 6421:52:11
--- - 6521:52:11
duration_ms: 0.28683 - 6621:52:11
... - 6721:52:11
# Subtest: rgb_packed positional - 6821:52:11
ok 4 - rgb_packed positional - 6921:52:11
--- - 7021:52:11
duration_ms: 0.274137 - 7121:52:11
... - 7221:52:11
# Subtest: distanceMeters uses near/far - 7321:52:11
ok 5 - distanceMeters uses near/far - 7421:52:11
--- - 7521:52:11
duration_ms: 0.211559 - 7621:52:11
... - 7721:52:11
1..5 - 7821:52:11
ok 3 - DepthDecode encodings - 7921:52:11
--- - 8021:52:11
duration_ms: 4.03042 - 8121:52:11
type: 'suite' - 8221:52:11
... - 8321:52:11
# Subtest: FloorCast math - 8421:52:11
# Subtest: floorHit below horizon returns positive path and isCeiling false - 8521:52:11
ok 1 - floorHit below horizon returns positive path and isCeiling false - 8621:52:11
--- - 8721:52:11
duration_ms: 1.357009 - 8821:52:11
... - 8921:52:11
# Subtest: floorHit above horizon is ceiling - 9021:52:11
ok 2 - floorHit above horizon is ceiling - 9121:52:11
--- - 9221:52:11
duration_ms: 0.220726 - 9321:52:11
... - 9421:52:11
# Subtest: posZ matches wall projection: bottom row ≈ one cell away - 9521:52:11
ok 3 - posZ matches wall projection: bottom row ≈ one cell away - 9621:52:11
--- - 9721:52:11
duration_ms: 0.306788 - 9821:52:11
... - 9921:52:11
# Subtest: perspective: farther rows (nearer horizon) have larger rowDist - 10021:52:11
ok 4 - perspective: farther rows (nearer horizon) have larger rowDist - 10121:52:11
--- - 10221:52:11
duration_ms: 0.198925 - 10321:52:11
... - 10421:52:11
# Subtest: sampleNearest wraps and picks texel - 10521:52:11
ok 5 - sampleNearest wraps and picks texel - 10621:52:11
--- - 10721:52:11
duration_ms: 0.874539 - 10821:52:11
... - 10921:52:11
# Subtest: render of checkerboard floor yields many unique colours (not flat) - 11021:52:11
ok 6 - render of checkerboard floor yields many unique colours (not flat) - 11121:52:11
--- - 11221:52:11
duration_ms: 16.728493 - 11321:52:11
... - 11421:52:11
# Subtest: render with real stone.png yields many source texel colours on the floor - 11521:52:11
ok 7 - render with real stone.png yields many source texel colours on the floor - 11621:52:11
--- - 11721:52:11
duration_ms: 19.137706 - 11821:52:11
... - 11921:52:11
1..7 - 12021:52:11
ok 4 - FloorCast math - 12121:52:11
--- - 12221:52:11
duration_ms: 40.829818 - 12321:52:11
type: 'suite' - 12421:52:11
... - 12521:52:11
# Subtest: LevelFormat schema v1 - 12621:52:11
# Subtest: validates default empty level in a pack - 12721:52:11
ok 1 - validates default empty level in a pack - 12821:52:11
--- - 12921:52:11
duration_ms: 1.688594 - 13021:52:11
... - 13121:52:11
# Subtest: rejects unknown format_version - 13221:52:11
ok 2 - rejects unknown format_version - 13321:52:11
--- - 13421:52:11
duration_ms: 0.427426 - 13521:52:11
... - 13621:52:11
# Subtest: rejects walls length mismatch - 13721:52:11
ok 3 - rejects walls length mismatch - 13821:52:11
--- - 13921:52:11
duration_ms: 0.197181 - 14021:52:11
... - 14121:52:11
# Subtest: rejects unknown floor texture - 14221:52:11
ok 4 - rejects unknown floor texture - 14321:52:11
--- - 14421:52:11
duration_ms: 0.180039 - 14521:52:11
... - 14621:52:11
# Subtest: migrates legacy Levels[] to pack with floors/ceilings/lights - 14721:52:11
ok 5 - migrates legacy Levels[] to pack with floors/ceilings/lights - 14821:52:11
--- - 14921:52:11
duration_ms: 0.754332 - 15021:52:11
... - 15121:52:11
# Subtest: findLevelIndex by id, name, and index - 15221:52:11
ok 6 - findLevelIndex by id, name, and index - 15321:52:11
--- - 15421:52:11
duration_ms: 0.264538 - 15521:52:11
... - 15621:52:11
# Subtest: toRuntimeLevel maps walls→tiles and spawn yaw - 15721:52:11
ok 7 - toRuntimeLevel maps walls→tiles and spawn yaw - 15821:52:11
--- - 15921:52:11
duration_ms: 0.266763 - 16021:52:11
... - 16121:52:11
# Subtest: parses build/levels.json - 16221:52:11
ok 8 - parses build/levels.json - 16321:52:11
--- - 16421:52:11
duration_ms: 0.691133 - 16521:52:11
... - 16621:52:11
1..8 - 16721:52:11
ok 5 - LevelFormat schema v1 - 16821:52:11
--- - 16921:52:11
duration_ms: 6.031132 - 17021:52:11
type: 'suite' - 17121:52:11
... - 17221:52:11
# Subtest: sprite occlusion z-buffer - 17321:52:11
# Subtest: wall blocks farther sprite pixels - 17421:52:11
ok 1 - wall blocks farther sprite pixels - 17521:52:11
--- - 17621:52:11
duration_ms: 1.227304 - 17721:52:11
... - 17821:52:11
# Subtest: nearer sprite wins over previous sprite - 17921:52:11
ok 2 - nearer sprite wins over previous sprite - 18021:52:11
--- - 18121:52:11
duration_ms: 0.272924 - 18221:52:11
... - 18321:52:11
1..2 - 18421:52:11
ok 6 - sprite occlusion z-buffer - 18521:52:11
--- - 18621:52:11
duration_ms: 2.963388 - 18721:52:11
type: 'suite' - 18821:52:11
... - 18921:52:11
# Subtest: PpdaLoader - 19021:52:11
# Subtest: loads vendored male-body atlas - 19121:52:11
ok 1 - loads vendored male-body atlas - 19221:52:11
--- - 19321:52:11
duration_ms: 2.755786 - 19421:52:11
... - 19521:52:11
# Subtest: body and sword are compatible - 19621:52:11
ok 2 - body and sword are compatible - 19721:52:11
--- - 19821:52:11
duration_ms: 2.843682 - 19921:52:11
... - 20021:52:11
# Subtest: rejects path traversal in map files - 20121:52:11
ok 3 - rejects path traversal in map files - 20221:52:11
--- - 20321:52:11
duration_ms: 0.455289 - 20421:52:11
... - 20521:52:11
# Subtest: rejects unknown format_version - 20621:52:11
ok 4 - rejects unknown format_version - 20721:52:11
--- - 20821:52:11
duration_ms: 0.272795 - 20921:52:11
... - 21021:52:11
1..4 - 21121:52:11
ok 7 - PpdaLoader - 21221:52:11
--- - 21321:52:11
duration_ms: 8.266167 - 21421:52:11
type: 'suite' - 21521:52:11
... - 21621:52:11
# Subtest: textureColumnIndex - 21721:52:11
# Subtest: maps 0 to first column - 21821:52:11
ok 1 - maps 0 to first column - 21921:52:11
--- - 22021:52:11
duration_ms: 1.323235 - 22121:52:11
... - 22221:52:11
# Subtest: maps almost-1 to last column - 22321:52:11
ok 2 - maps almost-1 to last column - 22421:52:11
--- - 22521:52:11
duration_ms: 0.177024 - 22621:52:11
... - 22721:52:11
# Subtest: clamps above 1 - 22821:52:11
ok 3 - clamps above 1 - 22921:52:11
--- - 23021:52:11
duration_ms: 0.171744 - 23121:52:11
... - 23221:52:11
# Subtest: clamps below 0 - 23321:52:11
ok 4 - clamps below 0 - 23421:52:11
--- - 23521:52:11
duration_ms: 0.269478 - 23621:52:11
... - 23721:52:11
# Subtest: covers every source column for a dense tileX sweep - 23821:52:11
ok 5 - covers every source column for a dense tileX sweep - 23921:52:11
--- - 24021:52:11
duration_ms: 0.304524 - 24121:52:11
... - 24221:52:11
1..5 - 24321:52:11
ok 8 - textureColumnIndex - 24421:52:11
--- - 24521:52:11
duration_ms: 3.967541 - 24621:52:11
type: 'suite' - 24721:52:11
... - 24821:52:11
# Subtest: textureColumnUv - 24921:52:11
# Subtest: always has source width 1 in UV space - 25021:52:11
ok 1 - always has source width 1 in UV space - 25121:52:11
--- - 25221:52:11
duration_ms: 0.304905 - 25321:52:11
... - 25421:52:11
1..1 - 25521:52:11
ok 9 - textureColumnUv - 25621:52:11
--- - 25721:52:11
duration_ms: 0.555467 - 25821:52:11
type: 'suite' - 25921:52:11
... - 26021:52:11
# Subtest: faceTileX (no +1 bias) - 26121:52:11
# Subtest: north face uses local/size without +1/size shift - 26221:52:11
ok 1 - north face uses local/size without +1/size shift - 26321:52:11
--- - 26421:52:11
duration_ms: 0.314854 - 26521:52:11
... - 26621:52:11
# Subtest: south face mirrors - 26721:52:11
ok 2 - south face mirrors - 26821:52:11
--- - 26921:52:11
duration_ms: 1.790085 - 27021:52:11
... - 27121:52:11
1..2 - 27221:52:11
ok 10 - faceTileX (no +1 bias) - 27321:52:11
--- - 27421:52:11
duration_ms: 2.516135 - 27521:52:11
type: 'suite' - 27621:52:11
... - 27721:52:11
# Subtest: PpdaViewFrame - 27821:52:11
# Subtest: picks nearest yaw - 27921:52:11
ok 1 - picks nearest yaw - 28021:52:11
--- - 28121:52:11
duration_ms: 0.819946 - 28221:52:11
... - 28321:52:11
# Subtest: frameIndex wraps - 28421:52:11
ok 2 - frameIndex wraps - 28521:52:11
--- - 28621:52:11
duration_ms: 0.277734 - 28721:52:11
... - 28821:52:11
# Subtest: uvRect from view - 28921:52:11
ok 3 - uvRect from view - 29021:52:11
--- - 29121:52:11
duration_ms: 0.271893 - 29221:52:11
... - 29321:52:11
# Subtest: relativeYawDeg front when looking at facing NPC - 29421:52:11
ok 4 - relativeYawDeg front when looking at facing NPC - 29521:52:11
--- - 29621:52:11
duration_ms: 0.216829 - 29721:52:11
... - 29821:52:11
1..4 - 29921:52:11
ok 11 - PpdaViewFrame - 30021:52:11
--- - 30121:52:11
duration_ms: 2.958559 - 30221:52:11
type: 'suite' - 30321:52:11
... - 30421:52:11
# Subtest: World.rayCast - 30521:52:11
# Subtest: hits a solid wall ahead of spawn looking slightly south of east - 30621:52:11
ok 1 - hits a solid wall ahead of spawn looking slightly south of east - 30721:52:11
--- - 30821:52:11
duration_ms: 4.006845 - 30921:52:11
... - 31021:52:11
# Subtest: tileX stays in [0,1] for many angles - 31121:52:11
ok 2 - tileX stays in [0,1] for many angles - 31221:52:11
--- - 31321:52:11
duration_ms: 4.806263 - 31421:52:11
... - 31521:52:11
1..2 - 31621:52:11
ok 12 - World.rayCast - 31721:52:11
--- - 31821:52:11
duration_ms: 10.533903 - 31921:52:11
type: 'suite' - 32021:52:11
... - 32121:52:11
1..12 - 32221:52:11
# tests 46 - 32321:52:11
# suites 12 - 32421:52:11
# pass 46 - 32521:52:11
# fail 0 - 32621:52:11
# cancelled 0 - 32721:52:11
# skipped 0 - 32821:52:11
# todo 0 - 32921:52:11
# duration_ms 200.451399