unit_tests
Passed Started 7 days ago by timfa
Running on Steve
Log timestamps in UTC.
- 121:59:05
Using docker image node:20-bookworm ... - 221:59:05
Using docker image sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 for node:20-bookworm with digest node@sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 ...
- 321:59:05
Running on Steve via BlueGit... - 421:59:05
Working directory: /workspace - 521:59:05
Pipeline #627, job #2432
- 621:59:05
TAP version 13 - 721:59:05
# Subtest: column pixel contract - 821:59:05
# Subtest: legacy bug (sw=widthLine, max(1,...)) cannot reach column 0 or use sw=1 - 921:59:05
ok 1 - legacy bug (sw=widthLine, max(1,...)) cannot reach column 0 or use sw=1 - 1021:59:05
--- - 1121:59:05
duration_ms: 1.380253 - 1221:59:05
... - 1321:59:05
# Subtest: simulated wall sample uses one source column per screen column - 1421:59:05
ok 2 - simulated wall sample uses one source column per screen column - 1521:59:05
--- - 1621:59:06
duration_ms: 0.648032 - 1721:59:06
... - 1821:59:06
1..2 - 1921:59:06
ok 1 - column pixel contract - 2021:59:06
--- - 2121:59:06
duration_ms: 3.610759 - 2221:59:06
type: 'suite' - 2321:59:06
... - 2421:59:06
# Subtest: PpdaCompositor (compositor.rs rules) - 2521:59:06
# Subtest: nearer depth wins - 2621:59:06
ok 1 - nearer depth wins - 2721:59:06
--- - 2821:59:06
duration_ms: 1.473568 - 2921:59:06
... - 3021:59:06
# Subtest: tie within epsilon keeps lower layer (body) - 3121:59:06
ok 2 - tie within epsilon keeps lower layer (body) - 3221:59:06
--- - 3321:59:06
duration_ms: 0.226488 - 3421:59:06
... - 3521:59:06
# Subtest: zero diffuse alpha skips layer - 3621:59:06
ok 3 - zero diffuse alpha skips layer - 3721:59:06
--- - 3821:59:06
duration_ms: 0.268597 - 3921:59:06
... - 4021:59:06
# Subtest: zero depth alpha skips layer - 4121:59:06
ok 4 - zero depth alpha skips layer - 4221:59:06
--- - 4321:59:06
duration_ms: 0.237207 - 4421:59:06
... - 4521:59:06
1..4 - 4621:59:06
ok 2 - PpdaCompositor (compositor.rs rules) - 4721:59:06
--- - 4821:59:06
duration_ms: 4.086436 - 4921:59:06
type: 'suite' - 5021:59:06
... - 5121:59:06
# Subtest: DepthDecode encodings - 5221:59:06
# Subtest: gray 8/16 roundtrip via encode/decode value - 5321:59:06
ok 1 - gray 8/16 roundtrip via encode/decode value - 5421:59:06
--- - 5521:59:06
duration_ms: 1.523804 - 5621:59:06
... - 5721:59:06
# Subtest: rgb_bands fills R then G then B - 5821:59:06
ok 2 - rgb_bands fills R then G then B - 5921:59:06
--- - 6021:59:06
duration_ms: 0.303553 - 6121:59:06
... - 6221:59:06
# Subtest: rgb_bands rejects invalid order - 6321:59:06
ok 3 - rgb_bands rejects invalid order - 6421:59:06
--- - 6521:59:06
duration_ms: 0.375899 - 6621:59:06
... - 6721:59:06
# Subtest: rgb_packed positional - 6821:59:06
ok 4 - rgb_packed positional - 6921:59:06
--- - 7021:59:06
duration_ms: 0.265591 - 7121:59:06
... - 7221:59:06
# Subtest: distanceMeters uses near/far - 7321:59:06
ok 5 - distanceMeters uses near/far - 7421:59:06
--- - 7521:59:06
duration_ms: 0.194497 - 7621:59:06
... - 7721:59:06
1..5 - 7821:59:06
ok 3 - DepthDecode encodings - 7921:59:06
--- - 8021:59:06
duration_ms: 4.493483 - 8121:59:06
type: 'suite' - 8221:59:06
... - 8321:59:06
# Subtest: FloorCast math - 8421:59:06
# Subtest: floorHit below horizon returns positive path and isCeiling false - 8521:59:06
ok 1 - floorHit below horizon returns positive path and isCeiling false - 8621:59:06
--- - 8721:59:06
duration_ms: 1.329417 - 8821:59:06
... - 8921:59:06
# Subtest: floorHit above horizon is ceiling - 9021:59:06
ok 2 - floorHit above horizon is ceiling - 9121:59:06
--- - 9221:59:06
duration_ms: 40.445771 - 9321:59:06
... - 9421:59:06
# Subtest: posZ matches wall projection: bottom row ≈ one cell away - 9521:59:06
ok 3 - posZ matches wall projection: bottom row ≈ one cell away - 9621:59:06
--- - 9721:59:06
duration_ms: 0.233601 - 9821:59:06
... - 9921:59:06
# Subtest: perspective: farther rows (nearer horizon) have larger rowDist - 10021:59:06
ok 4 - perspective: farther rows (nearer horizon) have larger rowDist - 10121:59:06
--- - 10221:59:06
duration_ms: 0.179158 - 10321:59:06
... - 10421:59:06
# Subtest: sampleNearest wraps and picks texel - 10521:59:06
ok 5 - sampleNearest wraps and picks texel - 10621:59:06
--- - 10721:59:06
duration_ms: 0.855984 - 10821:59:06
... - 10921:59:06
# Subtest: render of checkerboard floor yields many unique colours (not flat) - 11021:59:06
ok 6 - render of checkerboard floor yields many unique colours (not flat) - 11121:59:06
--- - 11221:59:06
duration_ms: 18.184361 - 11321:59:06
... - 11421:59:06
# Subtest: render with real stone.png yields many source texel colours on the floor - 11521:59:06
ok 7 - render with real stone.png yields many source texel colours on the floor - 11621:59:06
--- - 11721:59:06
duration_ms: 19.357244 - 11821:59:06
... - 11921:59:06
1..7 - 12021:59:06
ok 4 - FloorCast math - 12121:59:06
--- - 12221:59:06
duration_ms: 84.149838 - 12321:59:06
type: 'suite' - 12421:59:06
... - 12521:59:06
# Subtest: LevelFormat schema v1 - 12621:59:06
# Subtest: validates default empty level in a pack - 12721:59:06
ok 1 - validates default empty level in a pack - 12821:59:06
--- - 12921:59:06
duration_ms: 39.031234 - 13021:59:06
... - 13121:59:06
# Subtest: rejects unknown format_version - 13221:59:06
ok 2 - rejects unknown format_version - 13321:59:06
--- - 13421:59:06
duration_ms: 0.412237 - 13521:59:06
... - 13621:59:06
# Subtest: rejects walls length mismatch - 13721:59:06
ok 3 - rejects walls length mismatch - 13821:59:06
--- - 13921:59:06
duration_ms: 0.188666 - 14021:59:06
... - 14121:59:06
# Subtest: rejects unknown floor texture - 14221:59:06
ok 4 - rejects unknown floor texture - 14321:59:06
--- - 14421:59:06
duration_ms: 0.158639 - 14521:59:06
... - 14621:59:06
# Subtest: migrates legacy Levels[] to pack with floors/ceilings/lights - 14721:59:06
ok 5 - migrates legacy Levels[] to pack with floors/ceilings/lights - 14821:59:06
--- - 14921:59:06
duration_ms: 0.585224 - 15021:59:06
... - 15121:59:06
# Subtest: findLevelIndex by id, name, and index - 15221:59:06
ok 6 - findLevelIndex by id, name, and index - 15321:59:06
--- - 15421:59:06
duration_ms: 0.183897 - 15521:59:06
... - 15621:59:06
# Subtest: toRuntimeLevel maps walls→tiles and spawn yaw - 15721:59:06
ok 7 - toRuntimeLevel maps walls→tiles and spawn yaw - 15821:59:06
--- - 15921:59:06
duration_ms: 0.246605 - 16021:59:06
... - 16121:59:06
# Subtest: migrates v1 pack to v2 with ambient defaults - 16221:59:06
ok 8 - migrates v1 pack to v2 with ambient defaults - 16321:59:06
--- - 16421:59:06
duration_ms: 0.208533 - 16521:59:06
... - 16621:59:06
# Subtest: parses build/levels.json - 16721:59:06
ok 9 - parses build/levels.json - 16821:59:06
--- - 16921:59:06
duration_ms: 1.417333 - 17021:59:06
... - 17121:59:06
1..9 - 17221:59:06
ok 5 - LevelFormat schema v1 - 17321:59:06
--- - 17421:59:06
duration_ms: 44.152722 - 17521:59:06
type: 'suite' - 17621:59:06
... - 17721:59:06
# Subtest: Lighting - 17821:59:06
# Subtest: attenuation reaches 0 at range and 1 at distance 0 - 17921:59:06
ok 1 - attenuation reaches 0 at range and 1 at distance 0 - 18021:59:06
--- - 18121:59:06
duration_ms: 1.320279 - 18221:59:06
... - 18321:59:06
# Subtest: shadeRgb with light in front of floor is brighter than ambient - 18421:59:06
ok 2 - shadeRgb with light in front of floor is brighter than ambient - 18521:59:06
--- - 18621:59:06
duration_ms: 0.430692 - 18721:59:06
... - 18821:59:06
# Subtest: LOS blocked by solid wall tile between light and sample - 18921:59:06
ok 3 - LOS blocked by solid wall tile between light and sample - 19021:59:06
--- - 19121:59:06
duration_ms: 0.304835 - 19221:59:06
... - 19321:59:06
# Subtest: decodeNormalRgb maps 128,128,255 toward +Z - 19421:59:06
ok 4 - decodeNormalRgb maps 128,128,255 toward +Z - 19521:59:06
--- - 19621:59:06
duration_ms: 0.303662 - 19721:59:06
... - 19821:59:06
# Subtest: worldDirToView: light to the character-right yields +X in view at yaw 0 - 19921:59:06
ok 5 - worldDirToView: light to the character-right yields +X in view at yaw 0 - 20021:59:06
--- - 20121:59:06
duration_ms: 0.344029 - 20221:59:06
... - 20321:59:06
# Subtest: shadePaperdollPixel: light on left (+view X or -) differs from light on right - 20421:59:06
ok 6 - shadePaperdollPixel: light on left (+view X or -) differs from light on right - 20521:59:06
--- - 20621:59:06
duration_ms: 0.751657 - 20721:59:06
... - 20821:59:06
1..6 - 20921:59:06
ok 6 - Lighting - 21021:59:06
--- - 21121:59:06
duration_ms: 5.44606 - 21221:59:06
type: 'suite' - 21321:59:06
... - 21421:59:06
# Subtest: sprite occlusion z-buffer - 21521:59:06
# Subtest: wall blocks farther sprite pixels - 21621:59:06
ok 1 - wall blocks farther sprite pixels - 21721:59:06
--- - 21821:59:06
duration_ms: 1.019643 - 21921:59:06
... - 22021:59:06
# Subtest: nearer sprite wins over previous sprite - 22121:59:06
ok 2 - nearer sprite wins over previous sprite - 22221:59:06
--- - 22321:59:06
duration_ms: 0.26028 - 22421:59:06
... - 22521:59:06
1..2 - 22621:59:06
ok 7 - sprite occlusion z-buffer - 22721:59:06
--- - 22821:59:06
duration_ms: 2.604281 - 22921:59:06
type: 'suite' - 23021:59:06
... - 23121:59:06
# Subtest: PpdaLoader - 23221:59:06
# Subtest: loads vendored male-body atlas - 23321:59:06
ok 1 - loads vendored male-body atlas - 23421:59:06
--- - 23521:59:06
duration_ms: 2.465549 - 23621:59:06
... - 23721:59:06
# Subtest: body and sword are compatible - 23821:59:06
ok 2 - body and sword are compatible - 23921:59:06
--- - 24021:59:06
duration_ms: 3.286227 - 24121:59:06
... - 24221:59:06
# Subtest: rejects path traversal in map files - 24321:59:06
ok 3 - rejects path traversal in map files - 24421:59:06
--- - 24521:59:06
duration_ms: 0.451982 - 24621:59:06
... - 24721:59:06
# Subtest: rejects unknown format_version - 24821:59:06
ok 4 - rejects unknown format_version - 24921:59:06
--- - 25021:59:06
duration_ms: 0.286871 - 25121:59:06
... - 25221:59:06
1..4 - 25321:59:06
ok 8 - PpdaLoader - 25421:59:06
--- - 25521:59:06
duration_ms: 8.506812 - 25621:59:06
type: 'suite' - 25721:59:06
... - 25821:59:06
# Subtest: textureColumnIndex - 25921:59:06
# Subtest: maps 0 to first column - 26021:59:06
ok 1 - maps 0 to first column - 26121:59:06
--- - 26221:59:06
duration_ms: 1.238085 - 26321:59:06
... - 26421:59:06
# Subtest: maps almost-1 to last column - 26521:59:06
ok 2 - maps almost-1 to last column - 26621:59:06
--- - 26721:59:06
duration_ms: 0.191852 - 26821:59:06
... - 26921:59:06
# Subtest: clamps above 1 - 27021:59:06
ok 3 - clamps above 1 - 27121:59:06
--- - 27221:59:06
duration_ms: 0.20156 - 27321:59:06
... - 27421:59:06
# Subtest: clamps below 0 - 27521:59:06
ok 4 - clamps below 0 - 27621:59:06
--- - 27721:59:06
duration_ms: 0.318601 - 27821:59:06
... - 27921:59:06
# Subtest: covers every source column for a dense tileX sweep - 28021:59:06
ok 5 - covers every source column for a dense tileX sweep - 28121:59:06
--- - 28221:59:06
duration_ms: 0.347385 - 28321:59:06
... - 28421:59:06
1..5 - 28521:59:06
ok 9 - textureColumnIndex - 28621:59:06
--- - 28721:59:06
duration_ms: 4.200632 - 28821:59:06
type: 'suite' - 28921:59:06
... - 29021:59:06
# Subtest: textureColumnUv - 29121:59:06
# Subtest: always has source width 1 in UV space - 29221:59:06
ok 1 - always has source width 1 in UV space - 29321:59:06
--- - 29421:59:06
duration_ms: 0.32903 - 29521:59:06
... - 29621:59:06
1..1 - 29721:59:06
ok 10 - textureColumnUv - 29821:59:06
--- - 29921:59:06
duration_ms: 0.59386 - 30021:59:06
type: 'suite' - 30121:59:06
... - 30221:59:06
# Subtest: faceTileX (no +1 bias) - 30321:59:06
# Subtest: north face uses local/size without +1/size shift - 30421:59:06
ok 1 - north face uses local/size without +1/size shift - 30521:59:06
--- - 30621:59:06
duration_ms: 0.358977 - 30721:59:06
... - 30821:59:06
# Subtest: south face mirrors - 30921:59:06
ok 2 - south face mirrors - 31021:59:06
--- - 31121:59:06
duration_ms: 1.599736 - 31221:59:06
... - 31321:59:06
1..2 - 31421:59:06
ok 11 - faceTileX (no +1 bias) - 31521:59:06
--- - 31621:59:06
duration_ms: 2.388133 - 31721:59:06
type: 'suite' - 31821:59:06
... - 31921:59:06
# Subtest: PpdaViewFrame - 32021:59:06
# Subtest: picks nearest yaw - 32121:59:06
ok 1 - picks nearest yaw - 32221:59:06
--- - 32321:59:06
duration_ms: 1.232745 - 32421:59:06
... - 32521:59:06
# Subtest: frameIndex wraps - 32621:59:06
ok 2 - frameIndex wraps - 32721:59:06
--- - 32821:59:06
duration_ms: 0.290298 - 32921:59:06
... - 33021:59:06
# Subtest: uvRect from view - 33121:59:06
ok 3 - uvRect from view - 33221:59:06
--- - 33321:59:06
duration_ms: 0.2757 - 33421:59:06
... - 33521:59:06
# Subtest: relativeYawDeg front when looking at facing NPC - 33621:59:06
ok 4 - relativeYawDeg front when looking at facing NPC - 33721:59:06
--- - 33821:59:06
duration_ms: 0.334831 - 33921:59:06
... - 34021:59:06
1..4 - 34121:59:06
ok 12 - PpdaViewFrame - 34221:59:06
--- - 34321:59:06
duration_ms: 3.837687 - 34421:59:06
type: 'suite' - 34521:59:06
... - 34621:59:06
# Subtest: World.rayCast - 34721:59:06
# Subtest: hits a solid wall ahead of spawn looking slightly south of east - 34821:59:06
ok 1 - hits a solid wall ahead of spawn looking slightly south of east - 34921:59:06
--- - 35021:59:06
duration_ms: 4.254733 - 35121:59:06
... - 35221:59:06
# Subtest: tileX stays in [0,1] for many angles - 35321:59:06
ok 2 - tileX stays in [0,1] for many angles - 35421:59:06
--- - 35521:59:06
duration_ms: 4.821442 - 35621:59:06
... - 35721:59:06
1..2 - 35821:59:06
ok 13 - World.rayCast - 35921:59:06
--- - 36021:59:06
duration_ms: 10.719435 - 36121:59:06
type: 'suite' - 36221:59:06
... - 36321:59:06
1..13 - 36421:59:06
# tests 53 - 36521:59:06
# suites 13 - 36621:59:06
# pass 53 - 36721:59:06
# fail 0 - 36821:59:06
# cancelled 0 - 36921:59:06
# skipped 0 - 37021:59:06
# todo 0 - 37121:59:06
# duration_ms 229.368688