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