unit_tests
Passed Started 7 days ago by timfa
Running on Steve
Log timestamps in UTC.
- 122:00:41
Using docker image node:20-bookworm ... - 222:00:41
Using docker image sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 for node:20-bookworm with digest node@sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 ...
- 322:00:41
Running on Steve via BlueGit... - 422:00:41
Working directory: /workspace - 522:00:41
Pipeline #629, job #2437
- 622:00:41
TAP version 13 - 722:00:41
# Subtest: column pixel contract - 822:00:41
# Subtest: legacy bug (sw=widthLine, max(1,...)) cannot reach column 0 or use sw=1 - 922:00:41
ok 1 - legacy bug (sw=widthLine, max(1,...)) cannot reach column 0 or use sw=1 - 1022:00:41
--- - 1122:00:41
duration_ms: 1.403036 - 1222:00:41
... - 1322:00:41
# Subtest: simulated wall sample uses one source column per screen column - 1422:00:41
ok 2 - simulated wall sample uses one source column per screen column - 1522:00:41
--- - 1622:00:41
duration_ms: 0.661287 - 1722:00:41
... - 1822:00:41
1..2 - 1922:00:41
ok 1 - column pixel contract - 2022:00:41
--- - 2122:00:41
duration_ms: 3.562218 - 2222:00:41
type: 'suite' - 2322:00:41
... - 2422:00:41
# Subtest: PpdaCompositor (compositor.rs rules) - 2522:00:41
# Subtest: nearer depth wins - 2622:00:41
ok 1 - nearer depth wins - 2722:00:41
--- - 2822:00:41
duration_ms: 4.384448 - 2922:00:41
... - 3022:00:41
# Subtest: tie within epsilon keeps lower layer (body) - 3122:00:41
ok 2 - tie within epsilon keeps lower layer (body) - 3222:00:41
--- - 3322:00:41
duration_ms: 0.246334 - 3422:00:41
... - 3522:00:41
# Subtest: zero diffuse alpha skips layer - 3622:00:41
ok 3 - zero diffuse alpha skips layer - 3722:00:41
--- - 3822:00:41
duration_ms: 0.242467 - 3922:00:41
... - 4022:00:41
# Subtest: zero depth alpha skips layer - 4122:00:41
ok 4 - zero depth alpha skips layer - 4222:00:41
--- - 4322:00:41
duration_ms: 0.218391 - 4422:00:41
... - 4522:00:41
1..4 - 4622:00:41
ok 2 - PpdaCompositor (compositor.rs rules) - 4722:00:41
--- - 4822:00:41
duration_ms: 6.964935 - 4922:00:41
type: 'suite' - 5022:00:41
... - 5122:00:41
# Subtest: DepthDecode encodings - 5222:00:41
# Subtest: gray 8/16 roundtrip via encode/decode value - 5322:00:41
ok 1 - gray 8/16 roundtrip via encode/decode value - 5422:00:41
--- - 5522:00:41
duration_ms: 1.491703 - 5622:00:41
... - 5722:00:41
# Subtest: rgb_bands fills R then G then B - 5822:00:41
ok 2 - rgb_bands fills R then G then B - 5922:00:41
--- - 6022:00:41
duration_ms: 0.311067 - 6122:00:41
... - 6222:00:41
# Subtest: rgb_bands rejects invalid order - 6322:00:41
ok 3 - rgb_bands rejects invalid order - 6422:00:41
--- - 6522:00:41
duration_ms: 0.393993 - 6622:00:41
... - 6722:00:41
# Subtest: rgb_packed positional - 6822:00:41
ok 4 - rgb_packed positional - 6922:00:41
--- - 7022:00:41
duration_ms: 0.288555 - 7122:00:41
... - 7222:00:41
# Subtest: distanceMeters uses near/far - 7322:00:41
ok 5 - distanceMeters uses near/far - 7422:00:41
--- - 7522:00:41
duration_ms: 0.211239 - 7622:00:41
... - 7722:00:41
1..5 - 7822:00:41
ok 3 - DepthDecode encodings - 7922:00:41
--- - 8022:00:41
duration_ms: 4.503612 - 8122:00:41
type: 'suite' - 8222:00:41
... - 8322:00:41
# Subtest: FloorCast math - 8422:00:41
# Subtest: floorHit below horizon returns positive path and isCeiling false - 8522:00:41
ok 1 - floorHit below horizon returns positive path and isCeiling false - 8622:00:41
--- - 8722:00:41
duration_ms: 1.353222 - 8822:00:41
... - 8922:00:41
# Subtest: floorHit above horizon is ceiling - 9022:00:41
ok 2 - floorHit above horizon is ceiling - 9122:00:41
--- - 9222:00:41
duration_ms: 0.198244 - 9322:00:41
... - 9422:00:41
# Subtest: posZ matches wall projection: bottom row ≈ one cell away - 9522:00:41
ok 3 - posZ matches wall projection: bottom row ≈ one cell away - 9622:00:41
--- - 9722:00:41
duration_ms: 0.220907 - 9822:00:41
... - 9922:00:41
# Subtest: perspective: farther rows (nearer horizon) have larger rowDist - 10022:00:41
ok 4 - perspective: farther rows (nearer horizon) have larger rowDist - 10122:00:41
--- - 10222:00:41
duration_ms: 0.189929 - 10322:00:41
... - 10422:00:41
# Subtest: sampleNearest wraps and picks texel - 10522:00:41
ok 5 - sampleNearest wraps and picks texel - 10622:00:41
--- - 10722:00:41
duration_ms: 0.971883 - 10822:00:41
... - 10922:00:41
# Subtest: render of checkerboard floor yields many unique colours (not flat) - 11022:00:41
ok 6 - render of checkerboard floor yields many unique colours (not flat) - 11122:00:41
--- - 11222:00:41
duration_ms: 45.191533 - 11322:00:41
... - 11422:00:41
# Subtest: render with real stone.png yields many source texel colours on the floor - 11522:00:41
ok 7 - render with real stone.png yields many source texel colours on the floor - 11622:00:41
--- - 11722:00:41
duration_ms: 51.588275 - 11822:00:41
... - 11922:00:41
1..7 - 12022:00:41
ok 4 - FloorCast math - 12122:00:41
--- - 12222:00:41
duration_ms: 101.701438 - 12322:00:41
type: 'suite' - 12422:00:41
... - 12522:00:41
# Subtest: LevelFormat schema v1 - 12622:00:41
# Subtest: validates default empty level in a pack - 12722:00:41
ok 1 - validates default empty level in a pack - 12822:00:41
--- - 12922:00:41
duration_ms: 1.837104 - 13022:00:41
... - 13122:00:41
# Subtest: rejects unknown format_version - 13222:00:41
ok 2 - rejects unknown format_version - 13322:00:41
--- - 13422:00:41
duration_ms: 0.560176 - 13522:00:41
... - 13622:00:41
# Subtest: rejects walls length mismatch - 13722:00:41
ok 3 - rejects walls length mismatch - 13822:00:41
--- - 13922:00:41
duration_ms: 0.320324 - 14022:00:41
... - 14122:00:41
# Subtest: rejects unknown floor texture - 14222:00:41
ok 4 - rejects unknown floor texture - 14322:00:41
--- - 14422:00:41
duration_ms: 0.240484 - 14522:00:41
... - 14622:00:41
# Subtest: migrates legacy Levels[] to pack with floors/ceilings/lights - 14722:00:41
ok 5 - migrates legacy Levels[] to pack with floors/ceilings/lights - 14822:00:41
--- - 14922:00:41
duration_ms: 0.84861 - 15022:00:41
... - 15122:00:41
# Subtest: findLevelIndex by id, name, and index - 15222:00:41
ok 6 - findLevelIndex by id, name, and index - 15322:00:41
--- - 15422:00:41
duration_ms: 0.271262 - 15522:00:41
... - 15622:00:41
# Subtest: toRuntimeLevel maps walls→tiles and spawn yaw - 15722:00:41
ok 7 - toRuntimeLevel maps walls→tiles and spawn yaw - 15822:00:41
--- - 15922:00:41
duration_ms: 0.384184 - 16022:00:41
... - 16122:00:41
# Subtest: migrates v1 pack to v2 with ambient defaults - 16222:00:41
ok 8 - migrates v1 pack to v2 with ambient defaults - 16322:00:41
--- - 16422:00:41
duration_ms: 0.314603 - 16522:00:41
... - 16622:00:41
# Subtest: parses build/levels.json - 16722:00:41
ok 9 - parses build/levels.json - 16822:00:41
--- - 16922:00:41
duration_ms: 1.618082 - 17022:00:41
... - 17122:00:41
1..9 - 17222:00:41
ok 5 - LevelFormat schema v1 - 17322:00:41
--- - 17422:00:41
duration_ms: 8.382778 - 17522:00:41
type: 'suite' - 17622:00:41
... - 17722:00:41
# Subtest: Lighting - 17822:00:41
# Subtest: attenuation reaches 0 at range and 1 at distance 0 - 17922:00:41
ok 1 - attenuation reaches 0 at range and 1 at distance 0 - 18022:00:41
--- - 18122:00:41
duration_ms: 2.722584 - 18222:00:41
... - 18322:00:41
# Subtest: shadeRgb with light in front of floor is brighter than ambient - 18422:00:41
ok 2 - shadeRgb with light in front of floor is brighter than ambient - 18522:00:41
--- - 18622:00:41
duration_ms: 0.412879 - 18722:00:41
... - 18822:00:41
# Subtest: LOS blocked by solid wall tile between light and sample - 18922:00:41
ok 3 - LOS blocked by solid wall tile between light and sample - 19022:00:41
--- - 19122:00:41
duration_ms: 0.281431 - 19222:00:41
... - 19322:00:41
# Subtest: decodeNormalRgb maps 128,128,255 toward +Z - 19422:00:41
ok 4 - decodeNormalRgb maps 128,128,255 toward +Z - 19522:00:41
--- - 19622:00:41
duration_ms: 0.223191 - 19722:00:41
... - 19822:00:41
# Subtest: worldDirToView: light to the character-right yields +X in view at yaw 0 - 19922:00:41
ok 5 - worldDirToView: light to the character-right yields +X in view at yaw 0 - 20022:00:41
--- - 20122:00:41
duration_ms: 0.273155 - 20222:00:41
... - 20322:00:41
# Subtest: shadePaperdollPixel: light on left (+view X or -) differs from light on right - 20422:00:41
ok 6 - shadePaperdollPixel: light on left (+view X or -) differs from light on right - 20522:00:41
--- - 20622:00:41
duration_ms: 0.62558 - 20722:00:41
... - 20822:00:41
1..6 - 20922:00:41
ok 6 - Lighting - 21022:00:41
--- - 21122:00:41
duration_ms: 6.421179 - 21222:00:41
type: 'suite' - 21322:00:41
... - 21422:00:41
# Subtest: sprite occlusion z-buffer - 21522:00:41
# Subtest: wall blocks farther sprite pixels - 21622:00:41
ok 1 - wall blocks farther sprite pixels - 21722:00:41
--- - 21822:00:41
duration_ms: 1.185195 - 21922:00:41
... - 22022:00:41
# Subtest: nearer sprite wins over previous sprite - 22122:00:41
ok 2 - nearer sprite wins over previous sprite - 22222:00:41
--- - 22322:00:41
duration_ms: 0.287271 - 22422:00:41
... - 22522:00:41
1..2 - 22622:00:41
ok 7 - sprite occlusion z-buffer - 22722:00:41
--- - 22822:00:41
duration_ms: 3.023883 - 22922:00:41
type: 'suite' - 23022:00:41
... - 23122:00:41
# Subtest: PpdaLoader - 23222:00:41
# Subtest: loads vendored male-body atlas - 23322:00:41
ok 1 - loads vendored male-body atlas - 23422:00:41
--- - 23522:00:41
duration_ms: 23.092036 - 23622:00:41
... - 23722:00:41
# Subtest: body and sword are compatible - 23822:00:41
ok 2 - body and sword are compatible - 23922:00:41
--- - 24022:00:41
duration_ms: 3.183804 - 24122:00:41
... - 24222:00:41
# Subtest: rejects path traversal in map files - 24322:00:41
ok 3 - rejects path traversal in map files - 24422:00:41
--- - 24522:00:41
duration_ms: 0.432576 - 24622:00:41
... - 24722:00:41
# Subtest: rejects unknown format_version - 24822:00:41
ok 4 - rejects unknown format_version - 24922:00:41
--- - 25022:00:41
duration_ms: 0.24948 - 25122:00:41
... - 25222:00:41
1..4 - 25322:00:41
ok 8 - PpdaLoader - 25422:00:41
--- - 25522:00:41
duration_ms: 28.994388 - 25622:00:41
type: 'suite' - 25722:00:41
... - 25822:00:41
# Subtest: textureColumnIndex - 25922:00:42
# Subtest: maps 0 to first column - 26022:00:42
ok 1 - maps 0 to first column - 26122:00:42
--- - 26222:00:42
duration_ms: 1.244627 - 26322:00:42
... - 26422:00:42
# Subtest: maps almost-1 to last column - 26522:00:42
ok 2 - maps almost-1 to last column - 26622:00:42
--- - 26722:00:42
duration_ms: 0.208623 - 26822:00:42
... - 26922:00:42
# Subtest: clamps above 1 - 27022:00:42
ok 3 - clamps above 1 - 27122:00:42
--- - 27222:00:42
duration_ms: 0.207982 - 27322:00:42
... - 27422:00:42
# Subtest: clamps below 0 - 27522:00:42
ok 4 - clamps below 0 - 27622:00:42
--- - 27722:00:42
duration_ms: 0.343057 - 27822:00:42
... - 27922:00:42
# Subtest: covers every source column for a dense tileX sweep - 28022:00:42
ok 5 - covers every source column for a dense tileX sweep - 28122:00:42
--- - 28222:00:42
duration_ms: 0.475076 - 28322:00:42
... - 28422:00:42
1..5 - 28522:00:42
ok 9 - textureColumnIndex - 28622:00:42
--- - 28722:00:42
duration_ms: 4.374078 - 28822:00:42
type: 'suite' - 28922:00:42
... - 29022:00:42
# Subtest: textureColumnUv - 29122:00:42
# Subtest: always has source width 1 in UV space - 29222:00:42
ok 1 - always has source width 1 in UV space - 29322:00:42
--- - 29422:00:42
duration_ms: 0.345491 - 29522:00:42
... - 29622:00:42
1..1 - 29722:00:42
ok 10 - textureColumnUv - 29822:00:42
--- - 29922:00:42
duration_ms: 0.608187 - 30022:00:42
type: 'suite' - 30122:00:42
... - 30222:00:42
# Subtest: faceTileX (no +1 bias) - 30322:00:42
# Subtest: north face uses local/size without +1/size shift - 30422:00:42
ok 1 - north face uses local/size without +1/size shift - 30522:00:42
--- - 30622:00:42
duration_ms: 0.365218 - 30722:00:42
... - 30822:00:42
# Subtest: south face mirrors - 30922:00:42
ok 2 - south face mirrors - 31022:00:42
--- - 31122:00:42
duration_ms: 1.112308 - 31222:00:42
... - 31322:00:42
1..2 - 31422:00:42
ok 11 - faceTileX (no +1 bias) - 31522:00:42
--- - 31622:00:42
duration_ms: 1.871269 - 31722:00:42
type: 'suite' - 31822:00:42
... - 31922:00:42
# Subtest: PpdaViewFrame - 32022:00:42
# Subtest: picks nearest yaw - 32122:00:42
ok 1 - picks nearest yaw - 32222:00:42
--- - 32322:00:42
duration_ms: 1.127005 - 32422:00:42
... - 32522:00:42
# Subtest: frameIndex wraps - 32622:00:42
ok 2 - frameIndex wraps - 32722:00:42
--- - 32822:00:42
duration_ms: 0.374797 - 32922:00:42
... - 33022:00:42
# Subtest: uvRect from view - 33122:00:42
ok 3 - uvRect from view - 33222:00:42
--- - 33322:00:42
duration_ms: 0.296479 - 33422:00:42
... - 33522:00:42
# Subtest: relativeYawDeg front when looking at facing NPC - 33622:00:42
ok 4 - relativeYawDeg front when looking at facing NPC - 33722:00:42
--- - 33822:00:42
duration_ms: 0.294515 - 33922:00:42
... - 34022:00:42
1..4 - 34122:00:42
ok 12 - PpdaViewFrame - 34222:00:42
--- - 34322:00:42
duration_ms: 25.711868 - 34422:00:42
type: 'suite' - 34522:00:42
... - 34622:00:42
# Subtest: World.rayCast - 34722:00:42
# Subtest: hits a solid wall ahead of spawn looking slightly south of east - 34822:00:42
ok 1 - hits a solid wall ahead of spawn looking slightly south of east - 34922:00:42
--- - 35022:00:42
duration_ms: 4.396811 - 35122:00:42
... - 35222:00:42
# Subtest: tileX stays in [0,1] for many angles - 35322:00:42
ok 2 - tileX stays in [0,1] for many angles - 35422:00:42
--- - 35522:00:42
duration_ms: 5.319061 - 35622:00:42
... - 35722:00:42
1..2 - 35822:00:42
ok 13 - World.rayCast - 35922:00:42
--- - 36022:00:42
duration_ms: 11.329375 - 36122:00:42
type: 'suite' - 36222:00:42
... - 36322:00:42
1..13 - 36422:00:42
# tests 53 - 36522:00:42
# suites 13 - 36622:00:42
# pass 53 - 36722:00:42
# fail 0 - 36822:00:42
# cancelled 0 - 36922:00:42
# skipped 0 - 37022:00:42
# todo 0 - 37122:00:42
# duration_ms 232.976276