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