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 #631, job #2442
- 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: 1.333484 - 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: 0.624738 - 1722:01:59
... - 1822:01:59
1..2 - 1922:01:59
ok 1 - column pixel contract - 2022:01:59
--- - 2122:01:59
duration_ms: 3.56336 - 2222:01:59
type: 'suite' - 2322:01:59
... - 2422:01:59
# Subtest: PpdaCompositor (compositor.rs rules) - 2522:02:00
# Subtest: nearer depth wins - 2622:02:00
ok 1 - nearer depth wins - 2722:02:00
--- - 2822:02:00
duration_ms: 1.450125 - 2922:02:00
... - 3022:02:00
# Subtest: tie within epsilon keeps lower layer (body) - 3122:02:00
ok 2 - tie within epsilon keeps lower layer (body) - 3222:02:00
--- - 3322:02:00
duration_ms: 0.246154 - 3422:02:00
... - 3522:02:00
# Subtest: zero diffuse alpha skips layer - 3622:02:00
ok 3 - zero diffuse alpha skips layer - 3722:02:00
--- - 3822:02:00
duration_ms: 0.236837 - 3922:02:00
... - 4022:02:00
# Subtest: zero depth alpha skips layer - 4122:02:00
ok 4 - zero depth alpha skips layer - 4222:02:00
--- - 4322:02:00
duration_ms: 0.236376 - 4422:02:00
... - 4522:02:00
1..4 - 4622:02:00
ok 2 - PpdaCompositor (compositor.rs rules) - 4722:02:00
--- - 4822:02:00
duration_ms: 4.126271 - 4922:02:00
type: 'suite' - 5022:02:00
... - 5122:02:00
# Subtest: DepthDecode encodings - 5222:02:00
# Subtest: gray 8/16 roundtrip via encode/decode value - 5322:02:00
ok 1 - gray 8/16 roundtrip via encode/decode value - 5422:02:00
--- - 5522:02:00
duration_ms: 1.4901 - 5622:02:00
... - 5722:02:00
# Subtest: rgb_bands fills R then G then B - 5822:02:00
ok 2 - rgb_bands fills R then G then B - 5922:02:00
--- - 6022:02:00
duration_ms: 0.394945 - 6122:02:00
... - 6222:02:00
# Subtest: rgb_bands rejects invalid order - 6322:02:00
ok 3 - rgb_bands rejects invalid order - 6422:02:00
--- - 6522:02:00
duration_ms: 0.422187 - 6622:02:00
... - 6722:02:00
# Subtest: rgb_packed positional - 6822:02:00
ok 4 - rgb_packed positional - 6922:02:00
--- - 7022:02:00
duration_ms: 0.280158 - 7122:02:00
... - 7222:02:00
# Subtest: distanceMeters uses near/far - 7322:02:00
ok 5 - distanceMeters uses near/far - 7422:02:00
--- - 7522:02:00
duration_ms: 0.20129 - 7622:02:00
... - 7722:02:00
1..5 - 7822:02:00
ok 3 - DepthDecode encodings - 7922:02:00
--- - 8022:02:00
duration_ms: 4.689313 - 8122:02:00
type: 'suite' - 8222:02:00
... - 8322:02:00
# Subtest: FloorCast math - 8422:02:00
# Subtest: floorHit below horizon returns positive path and isCeiling false - 8522:02:00
ok 1 - floorHit below horizon returns positive path and isCeiling false - 8622:02:00
--- - 8722:02:00
duration_ms: 1.336701 - 8822:02:00
... - 8922:02:00
# Subtest: floorHit above horizon is ceiling - 9022:02:00
ok 2 - floorHit above horizon is ceiling - 9122:02:00
--- - 9222:02:00
duration_ms: 0.195899 - 9322:02:00
... - 9422:02:00
# Subtest: posZ matches wall projection: bottom row ≈ one cell away - 9522:02:00
ok 3 - posZ matches wall projection: bottom row ≈ one cell away - 9622:02:00
--- - 9722:02:00
duration_ms: 0.255202 - 9822:02:00
... - 9922:02:00
# Subtest: perspective: farther rows (nearer horizon) have larger rowDist - 10022:02:00
ok 4 - perspective: farther rows (nearer horizon) have larger rowDist - 10122:02:00
--- - 10222:02:00
duration_ms: 0.197803 - 10322:02:00
... - 10422:02:00
# Subtest: sampleNearest wraps and picks texel - 10522:02:00
ok 5 - sampleNearest wraps and picks texel - 10622:02:00
--- - 10722:02:00
duration_ms: 0.961643 - 10822:02:00
... - 10922:02:00
# Subtest: render of checkerboard floor yields many unique colours (not flat) - 11022:02:00
ok 6 - render of checkerboard floor yields many unique colours (not flat) - 11122:02:00
--- - 11222:02:00
duration_ms: 34.127017 - 11322:02:00
... - 11422:02:00
# Subtest: render with real stone.png yields many source texel colours on the floor - 11522:02:00
ok 7 - render with real stone.png yields many source texel colours on the floor - 11622:02:00
--- - 11722:02:00
duration_ms: 67.666928 - 11822:02:00
... - 11922:02:00
1..7 - 12022:02:00
ok 4 - FloorCast math - 12122:02:00
--- - 12222:02:00
duration_ms: 106.729201 - 12322:02:00
type: 'suite' - 12422:02:00
... - 12522:02:00
# Subtest: LevelFormat schema v1 - 12622:02:00
# Subtest: validates default empty level in a pack - 12722:02:00
ok 1 - validates default empty level in a pack - 12822:02:00
--- - 12922:02:00
duration_ms: 4.913196 - 13022:02:00
... - 13122:02:00
# Subtest: rejects unknown format_version - 13222:02:00
ok 2 - rejects unknown format_version - 13322:02:00
--- - 13422:02:00
duration_ms: 3.463421 - 13522:02:00
... - 13622:02:00
# Subtest: rejects walls length mismatch - 13722:02:00
ok 3 - rejects walls length mismatch - 13822:02:00
--- - 13922:02:00
duration_ms: 0.358355 - 14022:02:00
... - 14122:02:00
# Subtest: rejects unknown floor texture - 14222:02:00
ok 4 - rejects unknown floor texture - 14322:02:00
--- - 14422:02:00
duration_ms: 0.288083 - 14522:02:00
... - 14622:02:00
# Subtest: migrates legacy Levels[] to pack with floors/ceilings/lights - 14722:02:00
ok 5 - migrates legacy Levels[] to pack with floors/ceilings/lights - 14822:02:00
--- - 14922:02:00
duration_ms: 0.934553 - 15022:02:00
... - 15122:02:00
# Subtest: findLevelIndex by id, name, and index - 15222:02:00
ok 6 - findLevelIndex by id, name, and index - 15322:02:00
--- - 15422:02:00
duration_ms: 0.326165 - 15522:02:00
... - 15622:02:00
# Subtest: toRuntimeLevel maps walls→tiles and spawn yaw - 15722:02:00
ok 7 - toRuntimeLevel maps walls→tiles and spawn yaw - 15822:02:00
--- - 15922:02:00
duration_ms: 0.42935 - 16022:02:00
... - 16122:02:00
# Subtest: migrates v1 pack to v2 with ambient defaults - 16222:02:00
ok 8 - migrates v1 pack to v2 with ambient defaults - 16322:02:00
--- - 16422:02:00
duration_ms: 3.259748 - 16522:02:00
... - 16622:02:00
# Subtest: parses build/levels.json - 16722:02:00
ok 9 - parses build/levels.json - 16822:02:00
--- - 16922:02:00
duration_ms: 2.465429 - 17022:02:00
... - 17122:02:00
1..9 - 17222:02:00
ok 5 - LevelFormat schema v1 - 17322:02:00
--- - 17422:02:00
duration_ms: 21.602058 - 17522:02:00
type: 'suite' - 17622:02:00
... - 17722:02:00
# Subtest: Lighting - 17822:02:00
# Subtest: attenuation reaches 0 at range and 1 at distance 0 - 17922:02:00
ok 1 - attenuation reaches 0 at range and 1 at distance 0 - 18022:02:00
--- - 18122:02:00
duration_ms: 1.241601 - 18222:02:00
... - 18322:02:00
# Subtest: shadeRgb with light in front of floor is brighter than ambient - 18422:02:00
ok 2 - shadeRgb with light in front of floor is brighter than ambient - 18522:02:00
--- - 18622:02:00
duration_ms: 0.368425 - 18722:02:00
... - 18822:02:00
# Subtest: LOS blocked by solid wall tile between light and sample - 18922:02:00
ok 3 - LOS blocked by solid wall tile between light and sample - 19022:02:00
--- - 19122:02:00
duration_ms: 0.284286 - 19222:02:00
... - 19322:02:00
# Subtest: decodeNormalRgb maps 128,128,255 toward +Z - 19422:02:00
ok 4 - decodeNormalRgb maps 128,128,255 toward +Z - 19522:02:00
--- - 19622:02:00
duration_ms: 0.218242 - 19722:02:00
... - 19822:02:00
# Subtest: worldDirToView: light to the character-right yields +X in view at yaw 0 - 19922:02:00
ok 5 - worldDirToView: light to the character-right yields +X in view at yaw 0 - 20022:02:00
--- - 20122:02:00
duration_ms: 0.262205 - 20222:02:00
... - 20322:02:00
# Subtest: shadePaperdollPixel: light on left (+view X or -) differs from light on right - 20422:02:00
ok 6 - shadePaperdollPixel: light on left (+view X or -) differs from light on right - 20522:02:00
--- - 20622:02:00
duration_ms: 0.487489 - 20722:02:00
... - 20822:02:00
1..6 - 20922:02:00
ok 6 - Lighting - 21022:02:00
--- - 21122:02:00
duration_ms: 5.001943 - 21222:02:00
type: 'suite' - 21322:02:00
... - 21422:02:00
# Subtest: sprite occlusion z-buffer - 21522:02:00
# Subtest: wall blocks farther sprite pixels - 21622:02:00
ok 1 - wall blocks farther sprite pixels - 21722:02:00
--- - 21822:02:00
duration_ms: 1.206075 - 21922:02:00
... - 22022:02:00
# Subtest: nearer sprite wins over previous sprite - 22122:02:00
ok 2 - nearer sprite wins over previous sprite - 22222:02:00
--- - 22322:02:00
duration_ms: 0.267254 - 22422:02:00
... - 22522:02:00
1..2 - 22622:02:00
ok 7 - sprite occlusion z-buffer - 22722:02:00
--- - 22822:02:00
duration_ms: 3.077934 - 22922:02:00
type: 'suite' - 23022:02:00
... - 23122:02:00
# Subtest: PpdaLoader - 23222:02:00
# Subtest: loads vendored male-body atlas - 23322:02:00
ok 1 - loads vendored male-body atlas - 23422:02:00
--- - 23522:02:00
duration_ms: 3.832127 - 23622:02:00
... - 23722:02:00
# Subtest: body and sword are compatible - 23822:02:00
ok 2 - body and sword are compatible - 23922:02:00
--- - 24022:02:00
duration_ms: 2.50262 - 24122:02:00
... - 24222:02:00
# Subtest: rejects path traversal in map files - 24322:02:00
ok 3 - rejects path traversal in map files - 24422:02:00
--- - 24522:02:00
duration_ms: 0.384916 - 24622:02:00
... - 24722:02:00
# Subtest: rejects unknown format_version - 24822:02:00
ok 4 - rejects unknown format_version - 24922:02:00
--- - 25022:02:00
duration_ms: 0.184569 - 25122:02:00
... - 25222:02:00
1..4 - 25322:02:00
ok 8 - PpdaLoader - 25422:02:00
--- - 25522:02:00
duration_ms: 10.119744 - 25622:02:00
type: 'suite' - 25722:02:00
... - 25822:02:00
# Subtest: textureColumnIndex - 25922:02:00
# Subtest: maps 0 to first column - 26022:02:00
ok 1 - maps 0 to first column - 26122:02:00
--- - 26222:02:00
duration_ms: 2.890932 - 26322:02:00
... - 26422:02:00
# Subtest: maps almost-1 to last column - 26522:02:00
ok 2 - maps almost-1 to last column - 26622:02:00
--- - 26722:02:00
duration_ms: 0.225996 - 26822:02:00
... - 26922:02:00
# Subtest: clamps above 1 - 27022:02:00
ok 3 - clamps above 1 - 27122:02:00
--- - 27222:02:00
duration_ms: 0.217881 - 27322:02:00
... - 27422:02:00
# Subtest: clamps below 0 - 27522:02:00
ok 4 - clamps below 0 - 27622:02:00
--- - 27722:02:00
duration_ms: 0.283365 - 27822:02:00
... - 27922:02:00
# Subtest: covers every source column for a dense tileX sweep - 28022:02:00
ok 5 - covers every source column for a dense tileX sweep - 28122:02:00
--- - 28222:02:00
duration_ms: 0.338979 - 28322:02:00
... - 28422:02:00
1..5 - 28522:02:00
ok 9 - textureColumnIndex - 28622:02:00
--- - 28722:02:00
duration_ms: 5.875029 - 28822:02:00
type: 'suite' - 28922:02:00
... - 29022:02:00
# Subtest: textureColumnUv - 29122:02:00
# Subtest: always has source width 1 in UV space - 29222:02:00
ok 1 - always has source width 1 in UV space - 29322:02:00
--- - 29422:02:00
duration_ms: 0.347386 - 29522:02:00
... - 29622:02:00
1..1 - 29722:02:00
ok 10 - textureColumnUv - 29822:02:00
--- - 29922:02:00
duration_ms: 0.628235 - 30022:02:00
type: 'suite' - 30122:02:00
... - 30222:02:00
# Subtest: faceTileX (no +1 bias) - 30322:02:00
# Subtest: north face uses local/size without +1/size shift - 30422:02:00
ok 1 - north face uses local/size without +1/size shift - 30522:02:00
--- - 30622:02:00
duration_ms: 0.370228 - 30722:02:00
... - 30822:02:00
# Subtest: south face mirrors - 30922:02:00
ok 2 - south face mirrors - 31022:02:00
--- - 31122:02:00
duration_ms: 1.101437 - 31222:02:00
... - 31322:02:00
1..2 - 31422:02:00
ok 11 - faceTileX (no +1 bias) - 31522:02:00
--- - 31622:02:00
duration_ms: 1.922836 - 31722:02:00
type: 'suite' - 31822:02:00
... - 31922:02:00
# Subtest: PpdaViewFrame - 32022:02:00
# Subtest: picks nearest yaw - 32122:02:00
ok 1 - picks nearest yaw - 32222:02:00
--- - 32322:02:00
duration_ms: 1.339787 - 32422:02:00
... - 32522:02:00
# Subtest: frameIndex wraps - 32622:02:00
ok 2 - frameIndex wraps - 32722:02:00
--- - 32822:02:00
duration_ms: 23.450112 - 32922:02:00
... - 33022:02:00
# Subtest: uvRect from view - 33122:02:00
ok 3 - uvRect from view - 33222:02:00
--- - 33322:02:00
duration_ms: 0.380918 - 33422:02:00
... - 33522:02:00
# Subtest: relativeYawDeg front when looking at facing NPC - 33622:02:00
ok 4 - relativeYawDeg front when looking at facing NPC - 33722:02:00
--- - 33822:02:00
duration_ms: 0.338027 - 33922:02:00
... - 34022:02:00
1..4 - 34122:02:00
ok 12 - PpdaViewFrame - 34222:02:00
--- - 34322:02:00
duration_ms: 27.454184 - 34422:02:00
type: 'suite' - 34522:02:00
... - 34622:02:00
# Subtest: World.rayCast - 34722:02:00
# Subtest: hits a solid wall ahead of spawn looking slightly south of east - 34822:02:00
ok 1 - hits a solid wall ahead of spawn looking slightly south of east - 34922:02:00
--- - 35022:02:00
duration_ms: 2.760115 - 35122:02:00
... - 35222:02:00
# Subtest: tileX stays in [0,1] for many angles - 35322:02:00
ok 2 - tileX stays in [0,1] for many angles - 35422:02:00
--- - 35522:02:00
duration_ms: 3.671925 - 35622:02:00
... - 35722:02:00
1..2 - 35822:02:00
ok 13 - World.rayCast - 35922:02:00
--- - 36022:02:00
duration_ms: 7.997972 - 36122:02:00
type: 'suite' - 36222:02:00
... - 36322:02:00
1..13 - 36422:02:00
# tests 53 - 36522:02:00
# suites 13 - 36622:02:00
# pass 53 - 36722:02:00
# fail 0 - 36822:02:00
# cancelled 0 - 36922:02:00
# skipped 0 - 37022:02:00
# todo 0 - 37122:02:00
# duration_ms 215.432997