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 #622, job #2422
- 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: 1.364553 - 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.627974 - 1721:44:33
... - 1821:44:33
1..2 - 1921:44:33
ok 1 - column pixel contract - 2021:44:33
--- - 2121:44:33
duration_ms: 6.46679 - 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:33
--- - 2821:44:33
duration_ms: 1.371696 - 2921:44:33
... - 3021:44:33
# Subtest: tie within epsilon keeps lower layer (body) - 3121:44:33
ok 2 - tie within epsilon keeps lower layer (body) - 3221:44:33
--- - 3321:44:33
duration_ms: 0.242046 - 3421:44:33
... - 3521:44:33
# Subtest: zero diffuse alpha skips layer - 3621:44:33
ok 3 - zero diffuse alpha skips layer - 3721:44:33
--- - 3821:44:33
duration_ms: 0.228892 - 3921:44:33
... - 4021:44:33
# Subtest: zero depth alpha skips layer - 4121:44:33
ok 4 - zero depth alpha skips layer - 4221:44:33
--- - 4321:44:33
duration_ms: 0.230735 - 4421:44:33
... - 4521:44:33
1..4 - 4621:44:33
ok 2 - PpdaCompositor (compositor.rs rules) - 4721:44:33
--- - 4821:44:33
duration_ms: 5.741834 - 4921:44:33
type: 'suite' - 5021:44:33
... - 5121:44:33
# Subtest: DepthDecode encodings - 5221:44:33
# Subtest: gray 8/16 roundtrip via encode/decode value - 5321:44:33
ok 1 - gray 8/16 roundtrip via encode/decode value - 5421:44:33
--- - 5521:44:33
duration_ms: 1.464401 - 5621:44:33
... - 5721:44:33
# Subtest: rgb_bands fills R then G then B - 5821:44:33
ok 2 - rgb_bands fills R then G then B - 5921:44:33
--- - 6021:44:33
duration_ms: 0.318059 - 6121:44:33
... - 6221:44:33
# Subtest: rgb_bands rejects invalid order - 6321:44:33
ok 3 - rgb_bands rejects invalid order - 6421:44:33
--- - 6521:44:33
duration_ms: 0.361822 - 6621:44:33
... - 6721:44:33
# Subtest: rgb_packed positional - 6821:44:33
ok 4 - rgb_packed positional - 6921:44:33
--- - 7021:44:33
duration_ms: 0.250994 - 7121:44:33
... - 7221:44:33
# Subtest: distanceMeters uses near/far - 7321:44:33
ok 5 - distanceMeters uses near/far - 7421:44:33
--- - 7521:44:33
duration_ms: 0.199425 - 7621:44:33
... - 7721:44:33
1..5 - 7821:44:33
ok 3 - DepthDecode encodings - 7921:44:33
--- - 8021:44:33
duration_ms: 4.378494 - 8121:44:33
type: 'suite' - 8221:44:33
... - 8321:44:33
# Subtest: FloorCast math - 8421:44:33
# Subtest: floorHit below horizon returns positive wy path and isCeiling false - 8521:44:33
ok 1 - floorHit below horizon returns positive wy path and isCeiling false - 8621:44:33
--- - 8721:44:33
duration_ms: 1.30543 - 8821:44:33
... - 8921:44:33
# Subtest: floorHit above horizon is ceiling - 9021:44:33
ok 2 - floorHit above horizon is ceiling - 9121:44:33
--- - 9221:44:33
duration_ms: 0.194015 - 9321:44:33
... - 9421:44:33
# Subtest: sampleNearest wraps and picks texel - 9521:44:33
ok 3 - sampleNearest wraps and picks texel - 9621:44:33
--- - 9721:44:33
duration_ms: 1.007249 - 9821:44:33
... - 9921:44:33
# Subtest: render fills floor pixels from texMap and leaves black where null - 10021:44:33
ok 4 - render fills floor pixels from texMap and leaves black where null - 10121:44:33
--- - 10221:44:33
duration_ms: 3.746953 - 10321:44:33
... - 10421:44:33
# Subtest: perspective: farther rows have larger world step (rowDist grows toward horizon) - 10521:44:33
ok 5 - perspective: farther rows have larger world step (rowDist grows toward horizon) - 10621:44:33
--- - 10721:44:33
duration_ms: 0.23854 - 10821:44:33
... - 10921:44:33
1..5 - 11021:44:33
ok 4 - FloorCast math - 11121:44:33
--- - 11221:44:33
duration_ms: 8.311287 - 11321:44:33
type: 'suite' - 11421:44:33
... - 11521:44:33
# Subtest: LevelFormat schema v1 - 11621:44:33
# Subtest: validates default empty level in a pack - 11721:44:33
ok 1 - validates default empty level in a pack - 11821:44:33
--- - 11921:44:33
duration_ms: 2.425753 - 12021:44:33
... - 12121:44:33
# Subtest: rejects unknown format_version - 12221:44:33
ok 2 - rejects unknown format_version - 12321:44:33
--- - 12421:44:33
duration_ms: 0.548184 - 12521:44:33
... - 12621:44:33
# Subtest: rejects walls length mismatch - 12721:44:33
ok 3 - rejects walls length mismatch - 12821:44:33
--- - 12921:44:33
duration_ms: 0.272373 - 13021:44:33
... - 13121:44:33
# Subtest: rejects unknown floor texture - 13221:44:33
ok 4 - rejects unknown floor texture - 13321:44:33
--- - 13421:44:33
duration_ms: 0.246615 - 13521:44:33
... - 13621:44:33
# Subtest: migrates legacy Levels[] to pack with floors/ceilings/lights - 13721:44:33
ok 5 - migrates legacy Levels[] to pack with floors/ceilings/lights - 13821:44:33
--- - 13921:44:33
duration_ms: 1.027638 - 14021:44:33
... - 14121:44:33
# Subtest: findLevelIndex by id, name, and index - 14221:44:33
ok 6 - findLevelIndex by id, name, and index - 14321:44:33
--- - 14421:44:33
duration_ms: 0.278756 - 14521:44:33
... - 14621:44:33
# Subtest: toRuntimeLevel maps walls→tiles and spawn yaw - 14721:44:33
ok 7 - toRuntimeLevel maps walls→tiles and spawn yaw - 14821:44:33
--- - 14921:44:33
duration_ms: 0.274778 - 15021:44:33
... - 15121:44:33
# Subtest: parses build/levels.json - 15221:44:33
ok 8 - parses build/levels.json - 15321:44:33
--- - 15421:44:33
duration_ms: 0.702034 - 15521:44:33
... - 15621:44:33
1..8 - 15721:44:33
ok 5 - LevelFormat schema v1 - 15821:44:33
--- - 15921:44:33
duration_ms: 8.006884 - 16021:44:33
type: 'suite' - 16121:44:33
... - 16221:44:33
# Subtest: sprite occlusion z-buffer - 16321:44:33
# Subtest: wall blocks farther sprite pixels - 16421:44:33
ok 1 - wall blocks farther sprite pixels - 16521:44:33
--- - 16621:44:33
duration_ms: 1.580138 - 16721:44:33
... - 16821:44:33
# Subtest: nearer sprite wins over previous sprite - 16921:44:33
ok 2 - nearer sprite wins over previous sprite - 17021:44:33
--- - 17121:44:33
duration_ms: 0.274407 - 17221:44:33
... - 17321:44:33
1..2 - 17421:44:33
ok 6 - sprite occlusion z-buffer - 17521:44:33
--- - 17621:44:33
duration_ms: 3.661914 - 17721:44:33
type: 'suite' - 17821:44:33
... - 17921:44:33
# Subtest: PpdaLoader - 18021:44:33
# Subtest: loads vendored male-body atlas - 18121:44:33
ok 1 - loads vendored male-body atlas - 18221:44:33
--- - 18321:44:33
duration_ms: 3.429024 - 18421:44:33
... - 18521:44:33
# Subtest: body and sword are compatible - 18621:44:33
ok 2 - body and sword are compatible - 18721:44:33
--- - 18821:44:33
duration_ms: 4.013606 - 18921:44:33
... - 19021:44:33
# Subtest: rejects path traversal in map files - 19121:44:33
ok 3 - rejects path traversal in map files - 19221:44:33
--- - 19321:44:33
duration_ms: 0.469896 - 19421:44:33
... - 19521:44:33
# Subtest: rejects unknown format_version - 19621:44:33
ok 4 - rejects unknown format_version - 19721:44:33
--- - 19821:44:33
duration_ms: 0.268266 - 19921:44:33
... - 20021:44:33
1..4 - 20121:44:33
ok 7 - PpdaLoader - 20221:44:33
--- - 20321:44:33
duration_ms: 10.195049 - 20421:44:33
type: 'suite' - 20521:44:33
... - 20621:44:33
# Subtest: textureColumnIndex - 20721:44:33
# Subtest: maps 0 to first column - 20821:44:33
ok 1 - maps 0 to first column - 20921:44:33
--- - 21021:44:33
duration_ms: 0.958477 - 21121:44:33
... - 21221:44:33
# Subtest: maps almost-1 to last column - 21321:44:33
ok 2 - maps almost-1 to last column - 21421:44:33
--- - 21521:44:33
duration_ms: 0.156976 - 21621:44:33
... - 21721:44:33
# Subtest: clamps above 1 - 21821:44:33
ok 3 - clamps above 1 - 21921:44:33
--- - 22021:44:33
duration_ms: 0.155072 - 22121:44:33
... - 22221:44:33
# Subtest: clamps below 0 - 22321:44:33
ok 4 - clamps below 0 - 22421:44:33
--- - 22521:44:33
duration_ms: 0.203153 - 22621:44:33
... - 22721:44:33
# Subtest: covers every source column for a dense tileX sweep - 22821:44:33
ok 5 - covers every source column for a dense tileX sweep - 22921:44:33
--- - 23021:44:33
duration_ms: 0.400555 - 23121:44:33
... - 23221:44:33
1..5 - 23321:44:33
ok 8 - textureColumnIndex - 23421:44:33
--- - 23521:44:33
duration_ms: 3.934227 - 23621:44:33
type: 'suite' - 23721:44:33
... - 23821:44:33
# Subtest: textureColumnUv - 23921:44:33
# Subtest: always has source width 1 in UV space - 24021:44:33
ok 1 - always has source width 1 in UV space - 24121:44:33
--- - 24221:44:33
duration_ms: 0.331194 - 24321:44:33
... - 24421:44:33
1..1 - 24521:44:33
ok 9 - textureColumnUv - 24621:44:33
--- - 24721:44:33
duration_ms: 0.61575 - 24821:44:33
type: 'suite' - 24921:44:33
... - 25021:44:33
# Subtest: faceTileX (no +1 bias) - 25121:44:33
# Subtest: north face uses local/size without +1/size shift - 25221:44:33
ok 1 - north face uses local/size without +1/size shift - 25321:44:33
--- - 25421:44:33
duration_ms: 0.305486 - 25521:44:33
... - 25621:44:33
# Subtest: south face mirrors - 25721:44:33
ok 2 - south face mirrors - 25821:44:33
--- - 25921:44:33
duration_ms: 0.971802 - 26021:44:33
... - 26121:44:33
1..2 - 26221:44:33
ok 10 - faceTileX (no +1 bias) - 26321:44:33
--- - 26421:44:33
duration_ms: 1.677111 - 26521:44:33
type: 'suite' - 26621:44:33
... - 26721:44:33
# Subtest: PpdaViewFrame - 26821:44:33
# Subtest: picks nearest yaw - 26921:44:33
ok 1 - picks nearest yaw - 27021:44:33
--- - 27121:44:33
duration_ms: 1.113389 - 27221:44:33
... - 27321:44:33
# Subtest: frameIndex wraps - 27421:44:33
ok 2 - frameIndex wraps - 27521:44:33
--- - 27621:44:33
duration_ms: 0.236786 - 27721:44:33
... - 27821:44:33
# Subtest: uvRect from view - 27921:44:33
ok 3 - uvRect from view - 28021:44:33
--- - 28121:44:33
duration_ms: 0.213473 - 28221:44:33
... - 28321:44:33
# Subtest: relativeYawDeg front when looking at facing NPC - 28421:44:33
ok 4 - relativeYawDeg front when looking at facing NPC - 28521:44:33
--- - 28621:44:33
duration_ms: 0.260351 - 28721:44:33
... - 28821:44:33
1..4 - 28921:44:33
ok 11 - PpdaViewFrame - 29021:44:33
--- - 29121:44:33
duration_ms: 3.308377 - 29221:44:33
type: 'suite' - 29321:44:33
... - 29421:44:33
# Subtest: World.rayCast - 29521:44:33
# Subtest: hits a solid wall ahead of spawn looking slightly south of east - 29621:44:33
ok 1 - hits a solid wall ahead of spawn looking slightly south of east - 29721:44:33
--- - 29821:44:33
duration_ms: 3.576502 - 29921:44:33
... - 30021:44:33
# Subtest: tileX stays in [0,1] for many angles - 30121:44:33
ok 2 - tileX stays in [0,1] for many angles - 30221:44:33
--- - 30321:44:33
duration_ms: 3.747875 - 30421:44:33
... - 30521:44:33
1..2 - 30621:44:33
ok 12 - World.rayCast - 30721:44:33
--- - 30821:44:33
duration_ms: 8.82193 - 30921:44:33
type: 'suite' - 31021:44:33
... - 31121:44:33
1..12 - 31221:44:33
# tests 44 - 31321:44:33
# suites 12 - 31421:44:33
# pass 44 - 31521:44:33
# fail 0 - 31621:44:33
# cancelled 0 - 31721:44:33
# skipped 0 - 31821:44:33
# todo 0 - 31921:44:33
# duration_ms 259.887726