BlueGit

timfa raytracer

unit_tests

Pipelines Pipeline Editor

Passed Started 7 days ago by timfa

Raw

Running on Steve

Log timestamps in UTC.

  1. 122:02:25Using docker image node:20-bookworm ...
  2. 222:02:25Using docker image sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 for node:20-bookworm with digest node@sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 ...
  1. 322:02:25Running on Steve via BlueGit...
  2. 422:02:25Working directory: /workspace
  3. 522:02:25Pipeline #633, job #2447
  1. 622:02:25TAP version 13
  2. 722:02:25# Subtest: column pixel contract
  3. 822:02:25 # Subtest: legacy bug (sw=widthLine, max(1,...)) cannot reach column 0 or use sw=1
  4. 922:02:25 ok 1 - legacy bug (sw=widthLine, max(1,...)) cannot reach column 0 or use sw=1
  5. 1022:02:25 ---
  6. 1122:02:25 duration_ms: 40.421527
  7. 1222:02:25 ...
  8. 1322:02:25 # Subtest: simulated wall sample uses one source column per screen column
  9. 1422:02:25 ok 2 - simulated wall sample uses one source column per screen column
  10. 1522:02:25 ---
  11. 1622:02:25 duration_ms: 0.599511
  12. 1722:02:25 ...
  13. 1822:02:25 1..2
  14. 1922:02:25ok 1 - column pixel contract
  15. 2022:02:25 ---
  16. 2122:02:25 duration_ms: 43.248199
  17. 2222:02:25 type: 'suite'
  18. 2322:02:25 ...
  19. 2422:02:25# Subtest: PpdaCompositor (compositor.rs rules)
  20. 2522:02:25 # Subtest: nearer depth wins
  21. 2622:02:25 ok 1 - nearer depth wins
  22. 2722:02:25 ---
  23. 2822:02:25 duration_ms: 1.398637
  24. 2922:02:25 ...
  25. 3022:02:25 # Subtest: tie within epsilon keeps lower layer (body)
  26. 3122:02:25 ok 2 - tie within epsilon keeps lower layer (body)
  27. 3222:02:25 ---
  28. 3322:02:25 duration_ms: 0.272984
  29. 3422:02:25 ...
  30. 3522:02:25 # Subtest: zero diffuse alpha skips layer
  31. 3622:02:25 ok 3 - zero diffuse alpha skips layer
  32. 3722:02:25 ---
  33. 3822:02:25 duration_ms: 0.264288
  34. 3922:02:25 ...
  35. 4022:02:25 # Subtest: zero depth alpha skips layer
  36. 4122:02:25 ok 4 - zero depth alpha skips layer
  37. 4222:02:25 ---
  38. 4322:02:25 duration_ms: 2.218063
  39. 4422:02:25 ...
  40. 4522:02:25 1..4
  41. 4622:02:25ok 2 - PpdaCompositor (compositor.rs rules)
  42. 4722:02:25 ---
  43. 4822:02:25 duration_ms: 7.228482
  44. 4922:02:25 type: 'suite'
  45. 5022:02:25 ...
  46. 5122:02:25# Subtest: DepthDecode encodings
  47. 5222:02:25 # Subtest: gray 8/16 roundtrip via encode/decode value
  48. 5322:02:25 ok 1 - gray 8/16 roundtrip via encode/decode value
  49. 5422:02:25 ---
  50. 5522:02:25 duration_ms: 1.512894
  51. 5622:02:25 ...
  52. 5722:02:25 # Subtest: rgb_bands fills R then G then B
  53. 5822:02:25 ok 2 - rgb_bands fills R then G then B
  54. 5922:02:25 ---
  55. 6022:02:25 duration_ms: 0.304013
  56. 6122:02:25 ...
  57. 6222:02:25 # Subtest: rgb_bands rejects invalid order
  58. 6322:02:25 ok 3 - rgb_bands rejects invalid order
  59. 6422:02:25 ---
  60. 6522:02:25 duration_ms: 0.355441
  61. 6622:02:25 ...
  62. 6722:02:25 # Subtest: rgb_packed positional
  63. 6822:02:25 ok 4 - rgb_packed positional
  64. 6922:02:25 ---
  65. 7022:02:25 duration_ms: 0.282463
  66. 7122:02:25 ...
  67. 7222:02:25 # Subtest: distanceMeters uses near/far
  68. 7322:02:25 ok 5 - distanceMeters uses near/far
  69. 7422:02:25 ---
  70. 7522:02:25 duration_ms: 0.191921
  71. 7622:02:25 ...
  72. 7722:02:25 1..5
  73. 7822:02:25ok 3 - DepthDecode encodings
  74. 7922:02:25 ---
  75. 8022:02:25 duration_ms: 4.387885
  76. 8122:02:25 type: 'suite'
  77. 8222:02:25 ...
  78. 8322:02:25# Subtest: FloorCast math
  79. 8422:02:25 # Subtest: floorHit below horizon returns positive path and isCeiling false
  80. 8522:02:25 ok 1 - floorHit below horizon returns positive path and isCeiling false
  81. 8622:02:25 ---
  82. 8722:02:25 duration_ms: 1.364142
  83. 8822:02:25 ...
  84. 8922:02:25 # Subtest: floorHit above horizon is ceiling
  85. 9022:02:25 ok 2 - floorHit above horizon is ceiling
  86. 9122:02:25 ---
  87. 9222:02:25 duration_ms: 0.201971
  88. 9322:02:25 ...
  89. 9422:02:25 # Subtest: posZ matches wall projection: bottom row ≈ one cell away
  90. 9522:02:25 ok 3 - posZ matches wall projection: bottom row ≈ one cell away
  91. 9622:02:25 ---
  92. 9722:02:25 duration_ms: 0.236767
  93. 9822:02:25 ...
  94. 9922:02:25 # Subtest: perspective: farther rows (nearer horizon) have larger rowDist
  95. 10022:02:25 ok 4 - perspective: farther rows (nearer horizon) have larger rowDist
  96. 10122:02:25 ---
  97. 10222:02:25 duration_ms: 0.211319
  98. 10322:02:25 ...
  99. 10422:02:25 # Subtest: sampleNearest wraps and picks texel
  100. 10522:02:25 ok 5 - sampleNearest wraps and picks texel
  101. 10622:02:25 ---
  102. 10722:02:25 duration_ms: 1.907908
  103. 10822:02:25 ...
  104. 10922:02:25 # Subtest: render of checkerboard floor yields many unique colours (not flat)
  105. 11022:02:25 ok 6 - render of checkerboard floor yields many unique colours (not flat)
  106. 11122:02:25 ---
  107. 11222:02:25 duration_ms: 19.353297
  108. 11322:02:25 ...
  109. 11422:02:25 # Subtest: render with real stone.png yields many source texel colours on the floor
  110. 11522:02:25 ok 7 - render with real stone.png yields many source texel colours on the floor
  111. 11622:02:25 ---
  112. 11722:02:25 duration_ms: 27.740754
  113. 11822:02:25 ...
  114. 11922:02:25 1..7
  115. 12022:02:25ok 4 - FloorCast math
  116. 12122:02:25 ---
  117. 12222:02:25 duration_ms: 55.963757
  118. 12322:02:25 type: 'suite'
  119. 12422:02:25 ...
  120. 12522:02:25# Subtest: LevelFormat schema v1
  121. 12622:02:25 # Subtest: validates default empty level in a pack
  122. 12722:02:25 ok 1 - validates default empty level in a pack
  123. 12822:02:25 ---
  124. 12922:02:25 duration_ms: 1.952512
  125. 13022:02:25 ...
  126. 13122:02:25 # Subtest: rejects unknown format_version
  127. 13222:02:25 ok 2 - rejects unknown format_version
  128. 13322:02:25 ---
  129. 13422:02:25 duration_ms: 0.542292
  130. 13522:02:25 ...
  131. 13622:02:25 # Subtest: rejects walls length mismatch
  132. 13722:02:25 ok 3 - rejects walls length mismatch
  133. 13822:02:25 ---
  134. 13922:02:25 duration_ms: 0.267334
  135. 14022:02:25 ...
  136. 14122:02:25 # Subtest: rejects unknown floor texture
  137. 14222:02:25 ok 4 - rejects unknown floor texture
  138. 14322:02:25 ---
  139. 14422:02:25 duration_ms: 0.263807
  140. 14522:02:25 ...
  141. 14622:02:25 # Subtest: migrates legacy Levels[] to pack with floors/ceilings/lights
  142. 14722:02:25 ok 5 - migrates legacy Levels[] to pack with floors/ceilings/lights
  143. 14822:02:25 ---
  144. 14922:02:25 duration_ms: 0.844172
  145. 15022:02:25 ...
  146. 15122:02:25 # Subtest: findLevelIndex by id, name, and index
  147. 15222:02:25 ok 6 - findLevelIndex by id, name, and index
  148. 15322:02:25 ---
  149. 15422:02:25 duration_ms: 0.28142
  150. 15522:02:25 ...
  151. 15622:02:25 # Subtest: toRuntimeLevel maps walls→tiles and spawn yaw
  152. 15722:02:25 ok 7 - toRuntimeLevel maps walls→tiles and spawn yaw
  153. 15822:02:25 ---
  154. 15922:02:25 duration_ms: 0.388032
  155. 16022:02:25 ...
  156. 16122:02:25 # Subtest: migrates v1 pack to v2 with ambient defaults
  157. 16222:02:25 ok 8 - migrates v1 pack to v2 with ambient defaults
  158. 16322:02:25 ---
  159. 16422:02:25 duration_ms: 0.342536
  160. 16522:02:25 ...
  161. 16622:02:25 # Subtest: parses build/levels.json
  162. 16722:02:25 ok 9 - parses build/levels.json
  163. 16822:02:25 ---
  164. 16922:02:25 duration_ms: 2.009509
  165. 17022:02:25 ...
  166. 17122:02:25 1..9
  167. 17222:02:25ok 5 - LevelFormat schema v1
  168. 17322:02:25 ---
  169. 17422:02:25 duration_ms: 8.950289
  170. 17522:02:25 type: 'suite'
  171. 17622:02:25 ...
  172. 17722:02:25# Subtest: Lighting
  173. 17822:02:25 # Subtest: attenuation reaches 0 at range and 1 at distance 0
  174. 17922:02:25 ok 1 - attenuation reaches 0 at range and 1 at distance 0
  175. 18022:02:25 ---
  176. 18122:02:25 duration_ms: 1.387407
  177. 18222:02:25 ...
  178. 18322:02:25 # Subtest: shadeRgb with light in front of floor is brighter than ambient
  179. 18422:02:25 ok 2 - shadeRgb with light in front of floor is brighter than ambient
  180. 18522:02:25 ---
  181. 18622:02:25 duration_ms: 0.444759
  182. 18722:02:25 ...
  183. 18822:02:25 # Subtest: LOS blocked by solid wall tile between light and sample
  184. 18922:02:25 ok 3 - LOS blocked by solid wall tile between light and sample
  185. 19022:02:25 ---
  186. 19122:02:25 duration_ms: 0.331565
  187. 19222:02:25 ...
  188. 19322:02:25 # Subtest: decodeNormalRgb maps 128,128,255 toward +Z
  189. 19422:02:25 ok 4 - decodeNormalRgb maps 128,128,255 toward +Z
  190. 19522:02:25 ---
  191. 19622:02:25 duration_ms: 0.253017
  192. 19722:02:25 ...
  193. 19822:02:25 # Subtest: worldDirToView: light to the character-right yields +X in view at yaw 0
  194. 19922:02:25 ok 5 - worldDirToView: light to the character-right yields +X in view at yaw 0
  195. 20022:02:25 ---
  196. 20122:02:25 duration_ms: 0.287533
  197. 20222:02:25 ...
  198. 20322:02:25 # Subtest: shadePaperdollPixel: light on left (+view X or -) differs from light on right
  199. 20422:02:25 ok 6 - shadePaperdollPixel: light on left (+view X or -) differs from light on right
  200. 20522:02:25 ---
  201. 20622:02:25 duration_ms: 0.782505
  202. 20722:02:25 ...
  203. 20822:02:25 1..6
  204. 20922:02:25ok 6 - Lighting
  205. 21022:02:25 ---
  206. 21122:02:25 duration_ms: 5.611453
  207. 21222:02:25 type: 'suite'
  208. 21322:02:25 ...
  209. 21422:02:25# Subtest: sprite occlusion z-buffer
  210. 21522:02:25 # Subtest: wall blocks farther sprite pixels
  211. 21622:02:25 ok 1 - wall blocks farther sprite pixels
  212. 21722:02:25 ---
  213. 21822:02:25 duration_ms: 1.704605
  214. 21922:02:25 ...
  215. 22022:02:25 # Subtest: nearer sprite wins over previous sprite
  216. 22122:02:25 ok 2 - nearer sprite wins over previous sprite
  217. 22222:02:25 ---
  218. 22322:02:25 duration_ms: 0.257917
  219. 22422:02:25 ...
  220. 22522:02:25 1..2
  221. 22622:02:25ok 7 - sprite occlusion z-buffer
  222. 22722:02:25 ---
  223. 22822:02:25 duration_ms: 3.9982
  224. 22922:02:25 type: 'suite'
  225. 23022:02:25 ...
  226. 23122:02:25# Subtest: PpdaLoader
  227. 23222:02:25 # Subtest: loads vendored male-body atlas
  228. 23322:02:25 ok 1 - loads vendored male-body atlas
  229. 23422:02:25 ---
  230. 23522:02:25 duration_ms: 2.501067
  231. 23622:02:25 ...
  232. 23722:02:25 # Subtest: body and sword are compatible
  233. 23822:02:25 ok 2 - body and sword are compatible
  234. 23922:02:25 ---
  235. 24022:02:25 duration_ms: 2.63579
  236. 24122:02:25 ...
  237. 24222:02:25 # Subtest: rejects path traversal in map files
  238. 24322:02:25 ok 3 - rejects path traversal in map files
  239. 24422:02:25 ---
  240. 24522:02:25 duration_ms: 0.423559
  241. 24622:02:25 ...
  242. 24722:02:25 # Subtest: rejects unknown format_version
  243. 24822:02:25 ok 4 - rejects unknown format_version
  244. 24922:02:25 ---
  245. 25022:02:25 duration_ms: 0.30764
  246. 25122:02:25 ...
  247. 25222:02:25 1..4
  248. 25322:02:25ok 8 - PpdaLoader
  249. 25422:02:25 ---
  250. 25522:02:25 duration_ms: 8.434886
  251. 25622:02:25 type: 'suite'
  252. 25722:02:25 ...
  253. 25822:02:25# Subtest: textureColumnIndex
  254. 25922:02:25 # Subtest: maps 0 to first column
  255. 26022:02:25 ok 1 - maps 0 to first column
  256. 26122:02:25 ---
  257. 26222:02:25 duration_ms: 1.159898
  258. 26322:02:25 ...
  259. 26422:02:25 # Subtest: maps almost-1 to last column
  260. 26522:02:25 ok 2 - maps almost-1 to last column
  261. 26622:02:25 ---
  262. 26722:02:25 duration_ms: 0.181472
  263. 26822:02:25 ...
  264. 26922:02:25 # Subtest: clamps above 1
  265. 27022:02:25 ok 3 - clamps above 1
  266. 27122:02:25 ---
  267. 27222:02:25 duration_ms: 0.172635
  268. 27322:02:25 ...
  269. 27422:02:25 # Subtest: clamps below 0
  270. 27522:02:25 ok 4 - clamps below 0
  271. 27622:02:25 ---
  272. 27722:02:25 duration_ms: 0.23871
  273. 27822:02:25 ...
  274. 27922:02:25 # Subtest: covers every source column for a dense tileX sweep
  275. 28022:02:25 ok 5 - covers every source column for a dense tileX sweep
  276. 28122:02:25 ---
  277. 28222:02:25 duration_ms: 0.325103
  278. 28322:02:25 ...
  279. 28422:02:25 1..5
  280. 28522:02:25ok 9 - textureColumnIndex
  281. 28622:02:25 ---
  282. 28722:02:25 duration_ms: 3.725796
  283. 28822:02:25 type: 'suite'
  284. 28922:02:25 ...
  285. 29022:02:25# Subtest: textureColumnUv
  286. 29122:02:25 # Subtest: always has source width 1 in UV space
  287. 29222:02:25 ok 1 - always has source width 1 in UV space
  288. 29322:02:25 ---
  289. 29422:02:25 duration_ms: 0.295748
  290. 29522:02:25 ...
  291. 29622:02:25 1..1
  292. 29722:02:25ok 10 - textureColumnUv
  293. 29822:02:25 ---
  294. 29922:02:25 duration_ms: 0.529969
  295. 30022:02:25 type: 'suite'
  296. 30122:02:25 ...
  297. 30222:02:25# Subtest: faceTileX (no +1 bias)
  298. 30322:02:25 # Subtest: north face uses local/size without +1/size shift
  299. 30422:02:25 ok 1 - north face uses local/size without +1/size shift
  300. 30522:02:25 ---
  301. 30622:02:25 duration_ms: 0.330593
  302. 30722:02:25 ...
  303. 30822:02:25 # Subtest: south face mirrors
  304. 30922:02:25 ok 2 - south face mirrors
  305. 31022:02:25 ---
  306. 31122:02:25 duration_ms: 0.976461
  307. 31222:02:25 ...
  308. 31322:02:25 1..2
  309. 31422:02:25ok 11 - faceTileX (no +1 bias)
  310. 31522:02:25 ---
  311. 31622:02:25 duration_ms: 1.688965
  312. 31722:02:25 type: 'suite'
  313. 31822:02:25 ...
  314. 31922:02:25# Subtest: PpdaViewFrame
  315. 32022:02:25 # Subtest: picks nearest yaw
  316. 32122:02:25 ok 1 - picks nearest yaw
  317. 32222:02:25 ---
  318. 32322:02:25 duration_ms: 0.809236
  319. 32422:02:25 ...
  320. 32522:02:25 # Subtest: frameIndex wraps
  321. 32622:02:25 ok 2 - frameIndex wraps
  322. 32722:02:25 ---
  323. 32822:02:25 duration_ms: 0.198244
  324. 32922:02:25 ...
  325. 33022:02:25 # Subtest: uvRect from view
  326. 33122:02:25 ok 3 - uvRect from view
  327. 33222:02:25 ---
  328. 33322:02:25 duration_ms: 0.204296
  329. 33422:02:25 ...
  330. 33522:02:25 # Subtest: relativeYawDeg front when looking at facing NPC
  331. 33622:02:25 ok 4 - relativeYawDeg front when looking at facing NPC
  332. 33722:02:25 ---
  333. 33822:02:25 duration_ms: 0.194016
  334. 33922:02:25 ...
  335. 34022:02:25 1..4
  336. 34122:02:25ok 12 - PpdaViewFrame
  337. 34222:02:25 ---
  338. 34322:02:25 duration_ms: 2.76254
  339. 34422:02:25 type: 'suite'
  340. 34522:02:25 ...
  341. 34622:02:25# Subtest: World.rayCast
  342. 34722:02:25 # Subtest: hits a solid wall ahead of spawn looking slightly south of east
  343. 34822:02:26 ok 1 - hits a solid wall ahead of spawn looking slightly south of east
  344. 34922:02:26 ---
  345. 35022:02:26 duration_ms: 4.274992
  346. 35122:02:26 ...
  347. 35222:02:26 # Subtest: tileX stays in [0,1] for many angles
  348. 35322:02:26 ok 2 - tileX stays in [0,1] for many angles
  349. 35422:02:26 ---
  350. 35522:02:26 duration_ms: 4.611637
  351. 35622:02:26 ...
  352. 35722:02:26 1..2
  353. 35822:02:26ok 13 - World.rayCast
  354. 35922:02:26 ---
  355. 36022:02:26 duration_ms: 10.550406
  356. 36122:02:26 type: 'suite'
  357. 36222:02:26 ...
  358. 36322:02:261..13
  359. 36422:02:26# tests 53
  360. 36522:02:26# suites 13
  361. 36622:02:26# pass 53
  362. 36722:02:26# fail 0
  363. 36822:02:26# cancelled 0
  364. 36922:02:26# skipped 0
  365. 37022:02:26# todo 0
  366. 37122:02:26# duration_ms 296.902034