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