BlueGit

timfa raytracer

unit_tests

Pipelines Pipeline Editor

Passed Started 7 days ago by timfa

Raw

Running on Steve

Log timestamps in UTC.

  1. 121:52:11Using docker image node:20-bookworm ...
  2. 221:52:11Using docker image sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 for node:20-bookworm with digest node@sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 ...
  1. 321:52:11Running on Steve via BlueGit...
  2. 421:52:11Working directory: /workspace
  3. 521:52:11Pipeline #625, job #2428
  1. 621:52:11TAP version 13
  2. 721:52:11# Subtest: column pixel contract
  3. 821:52:11 # Subtest: legacy bug (sw=widthLine, max(1,...)) cannot reach column 0 or use sw=1
  4. 921:52:11 ok 1 - legacy bug (sw=widthLine, max(1,...)) cannot reach column 0 or use sw=1
  5. 1021:52:11 ---
  6. 1121:52:11 duration_ms: 1.257
  7. 1221:52:11 ...
  8. 1321:52:11 # Subtest: simulated wall sample uses one source column per screen column
  9. 1421:52:11 ok 2 - simulated wall sample uses one source column per screen column
  10. 1521:52:11 ---
  11. 1621:52:11 duration_ms: 0.572019
  12. 1721:52:11 ...
  13. 1821:52:11 1..2
  14. 1921:52:11ok 1 - column pixel contract
  15. 2021:52:11 ---
  16. 2121:52:11 duration_ms: 3.30931
  17. 2221:52:11 type: 'suite'
  18. 2321:52:11 ...
  19. 2421:52:11# Subtest: PpdaCompositor (compositor.rs rules)
  20. 2521:52:11 # Subtest: nearer depth wins
  21. 2621:52:11 ok 1 - nearer depth wins
  22. 2721:52:11 ---
  23. 2821:52:11 duration_ms: 1.641896
  24. 2921:52:11 ...
  25. 3021:52:11 # Subtest: tie within epsilon keeps lower layer (body)
  26. 3121:52:11 ok 2 - tie within epsilon keeps lower layer (body)
  27. 3221:52:11 ---
  28. 3321:52:11 duration_ms: 0.245112
  29. 3421:52:11 ...
  30. 3521:52:11 # Subtest: zero diffuse alpha skips layer
  31. 3621:52:11 ok 3 - zero diffuse alpha skips layer
  32. 3721:52:11 ---
  33. 3821:52:11 duration_ms: 0.247036
  34. 3921:52:11 ...
  35. 4021:52:11 # Subtest: zero depth alpha skips layer
  36. 4121:52:11 ok 4 - zero depth alpha skips layer
  37. 4221:52:11 ---
  38. 4321:52:11 duration_ms: 0.228681
  39. 4421:52:11 ...
  40. 4521:52:11 1..4
  41. 4621:52:11ok 2 - PpdaCompositor (compositor.rs rules)
  42. 4721:52:11 ---
  43. 4821:52:11 duration_ms: 4.222502
  44. 4921:52:11 type: 'suite'
  45. 5021:52:11 ...
  46. 5121:52:11# Subtest: DepthDecode encodings
  47. 5221:52:11 # Subtest: gray 8/16 roundtrip via encode/decode value
  48. 5321:52:11 ok 1 - gray 8/16 roundtrip via encode/decode value
  49. 5421:52:11 ---
  50. 5521:52:11 duration_ms: 1.347581
  51. 5621:52:11 ...
  52. 5721:52:11 # Subtest: rgb_bands fills R then G then B
  53. 5821:52:11 ok 2 - rgb_bands fills R then G then B
  54. 5921:52:11 ---
  55. 6021:52:11 duration_ms: 0.325093
  56. 6121:52:11 ...
  57. 6221:52:11 # Subtest: rgb_bands rejects invalid order
  58. 6321:52:11 ok 3 - rgb_bands rejects invalid order
  59. 6421:52:11 ---
  60. 6521:52:11 duration_ms: 0.28683
  61. 6621:52:11 ...
  62. 6721:52:11 # Subtest: rgb_packed positional
  63. 6821:52:11 ok 4 - rgb_packed positional
  64. 6921:52:11 ---
  65. 7021:52:11 duration_ms: 0.274137
  66. 7121:52:11 ...
  67. 7221:52:11 # Subtest: distanceMeters uses near/far
  68. 7321:52:11 ok 5 - distanceMeters uses near/far
  69. 7421:52:11 ---
  70. 7521:52:11 duration_ms: 0.211559
  71. 7621:52:11 ...
  72. 7721:52:11 1..5
  73. 7821:52:11ok 3 - DepthDecode encodings
  74. 7921:52:11 ---
  75. 8021:52:11 duration_ms: 4.03042
  76. 8121:52:11 type: 'suite'
  77. 8221:52:11 ...
  78. 8321:52:11# Subtest: FloorCast math
  79. 8421:52:11 # Subtest: floorHit below horizon returns positive path and isCeiling false
  80. 8521:52:11 ok 1 - floorHit below horizon returns positive path and isCeiling false
  81. 8621:52:11 ---
  82. 8721:52:11 duration_ms: 1.357009
  83. 8821:52:11 ...
  84. 8921:52:11 # Subtest: floorHit above horizon is ceiling
  85. 9021:52:11 ok 2 - floorHit above horizon is ceiling
  86. 9121:52:11 ---
  87. 9221:52:11 duration_ms: 0.220726
  88. 9321:52:11 ...
  89. 9421:52:11 # Subtest: posZ matches wall projection: bottom row ≈ one cell away
  90. 9521:52:11 ok 3 - posZ matches wall projection: bottom row ≈ one cell away
  91. 9621:52:11 ---
  92. 9721:52:11 duration_ms: 0.306788
  93. 9821:52:11 ...
  94. 9921:52:11 # Subtest: perspective: farther rows (nearer horizon) have larger rowDist
  95. 10021:52:11 ok 4 - perspective: farther rows (nearer horizon) have larger rowDist
  96. 10121:52:11 ---
  97. 10221:52:11 duration_ms: 0.198925
  98. 10321:52:11 ...
  99. 10421:52:11 # Subtest: sampleNearest wraps and picks texel
  100. 10521:52:11 ok 5 - sampleNearest wraps and picks texel
  101. 10621:52:11 ---
  102. 10721:52:11 duration_ms: 0.874539
  103. 10821:52:11 ...
  104. 10921:52:11 # Subtest: render of checkerboard floor yields many unique colours (not flat)
  105. 11021:52:11 ok 6 - render of checkerboard floor yields many unique colours (not flat)
  106. 11121:52:11 ---
  107. 11221:52:11 duration_ms: 16.728493
  108. 11321:52:11 ...
  109. 11421:52:11 # Subtest: render with real stone.png yields many source texel colours on the floor
  110. 11521:52:11 ok 7 - render with real stone.png yields many source texel colours on the floor
  111. 11621:52:11 ---
  112. 11721:52:11 duration_ms: 19.137706
  113. 11821:52:11 ...
  114. 11921:52:11 1..7
  115. 12021:52:11ok 4 - FloorCast math
  116. 12121:52:11 ---
  117. 12221:52:11 duration_ms: 40.829818
  118. 12321:52:11 type: 'suite'
  119. 12421:52:11 ...
  120. 12521:52:11# Subtest: LevelFormat schema v1
  121. 12621:52:11 # Subtest: validates default empty level in a pack
  122. 12721:52:11 ok 1 - validates default empty level in a pack
  123. 12821:52:11 ---
  124. 12921:52:11 duration_ms: 1.688594
  125. 13021:52:11 ...
  126. 13121:52:11 # Subtest: rejects unknown format_version
  127. 13221:52:11 ok 2 - rejects unknown format_version
  128. 13321:52:11 ---
  129. 13421:52:11 duration_ms: 0.427426
  130. 13521:52:11 ...
  131. 13621:52:11 # Subtest: rejects walls length mismatch
  132. 13721:52:11 ok 3 - rejects walls length mismatch
  133. 13821:52:11 ---
  134. 13921:52:11 duration_ms: 0.197181
  135. 14021:52:11 ...
  136. 14121:52:11 # Subtest: rejects unknown floor texture
  137. 14221:52:11 ok 4 - rejects unknown floor texture
  138. 14321:52:11 ---
  139. 14421:52:11 duration_ms: 0.180039
  140. 14521:52:11 ...
  141. 14621:52:11 # Subtest: migrates legacy Levels[] to pack with floors/ceilings/lights
  142. 14721:52:11 ok 5 - migrates legacy Levels[] to pack with floors/ceilings/lights
  143. 14821:52:11 ---
  144. 14921:52:11 duration_ms: 0.754332
  145. 15021:52:11 ...
  146. 15121:52:11 # Subtest: findLevelIndex by id, name, and index
  147. 15221:52:11 ok 6 - findLevelIndex by id, name, and index
  148. 15321:52:11 ---
  149. 15421:52:11 duration_ms: 0.264538
  150. 15521:52:11 ...
  151. 15621:52:11 # Subtest: toRuntimeLevel maps walls→tiles and spawn yaw
  152. 15721:52:11 ok 7 - toRuntimeLevel maps walls→tiles and spawn yaw
  153. 15821:52:11 ---
  154. 15921:52:11 duration_ms: 0.266763
  155. 16021:52:11 ...
  156. 16121:52:11 # Subtest: parses build/levels.json
  157. 16221:52:11 ok 8 - parses build/levels.json
  158. 16321:52:11 ---
  159. 16421:52:11 duration_ms: 0.691133
  160. 16521:52:11 ...
  161. 16621:52:11 1..8
  162. 16721:52:11ok 5 - LevelFormat schema v1
  163. 16821:52:11 ---
  164. 16921:52:11 duration_ms: 6.031132
  165. 17021:52:11 type: 'suite'
  166. 17121:52:11 ...
  167. 17221:52:11# Subtest: sprite occlusion z-buffer
  168. 17321:52:11 # Subtest: wall blocks farther sprite pixels
  169. 17421:52:11 ok 1 - wall blocks farther sprite pixels
  170. 17521:52:11 ---
  171. 17621:52:11 duration_ms: 1.227304
  172. 17721:52:11 ...
  173. 17821:52:11 # Subtest: nearer sprite wins over previous sprite
  174. 17921:52:11 ok 2 - nearer sprite wins over previous sprite
  175. 18021:52:11 ---
  176. 18121:52:11 duration_ms: 0.272924
  177. 18221:52:11 ...
  178. 18321:52:11 1..2
  179. 18421:52:11ok 6 - sprite occlusion z-buffer
  180. 18521:52:11 ---
  181. 18621:52:11 duration_ms: 2.963388
  182. 18721:52:11 type: 'suite'
  183. 18821:52:11 ...
  184. 18921:52:11# Subtest: PpdaLoader
  185. 19021:52:11 # Subtest: loads vendored male-body atlas
  186. 19121:52:11 ok 1 - loads vendored male-body atlas
  187. 19221:52:11 ---
  188. 19321:52:11 duration_ms: 2.755786
  189. 19421:52:11 ...
  190. 19521:52:11 # Subtest: body and sword are compatible
  191. 19621:52:11 ok 2 - body and sword are compatible
  192. 19721:52:11 ---
  193. 19821:52:11 duration_ms: 2.843682
  194. 19921:52:11 ...
  195. 20021:52:11 # Subtest: rejects path traversal in map files
  196. 20121:52:11 ok 3 - rejects path traversal in map files
  197. 20221:52:11 ---
  198. 20321:52:11 duration_ms: 0.455289
  199. 20421:52:11 ...
  200. 20521:52:11 # Subtest: rejects unknown format_version
  201. 20621:52:11 ok 4 - rejects unknown format_version
  202. 20721:52:11 ---
  203. 20821:52:11 duration_ms: 0.272795
  204. 20921:52:11 ...
  205. 21021:52:11 1..4
  206. 21121:52:11ok 7 - PpdaLoader
  207. 21221:52:11 ---
  208. 21321:52:11 duration_ms: 8.266167
  209. 21421:52:11 type: 'suite'
  210. 21521:52:11 ...
  211. 21621:52:11# Subtest: textureColumnIndex
  212. 21721:52:11 # Subtest: maps 0 to first column
  213. 21821:52:11 ok 1 - maps 0 to first column
  214. 21921:52:11 ---
  215. 22021:52:11 duration_ms: 1.323235
  216. 22121:52:11 ...
  217. 22221:52:11 # Subtest: maps almost-1 to last column
  218. 22321:52:11 ok 2 - maps almost-1 to last column
  219. 22421:52:11 ---
  220. 22521:52:11 duration_ms: 0.177024
  221. 22621:52:11 ...
  222. 22721:52:11 # Subtest: clamps above 1
  223. 22821:52:11 ok 3 - clamps above 1
  224. 22921:52:11 ---
  225. 23021:52:11 duration_ms: 0.171744
  226. 23121:52:11 ...
  227. 23221:52:11 # Subtest: clamps below 0
  228. 23321:52:11 ok 4 - clamps below 0
  229. 23421:52:11 ---
  230. 23521:52:11 duration_ms: 0.269478
  231. 23621:52:11 ...
  232. 23721:52:11 # Subtest: covers every source column for a dense tileX sweep
  233. 23821:52:11 ok 5 - covers every source column for a dense tileX sweep
  234. 23921:52:11 ---
  235. 24021:52:11 duration_ms: 0.304524
  236. 24121:52:11 ...
  237. 24221:52:11 1..5
  238. 24321:52:11ok 8 - textureColumnIndex
  239. 24421:52:11 ---
  240. 24521:52:11 duration_ms: 3.967541
  241. 24621:52:11 type: 'suite'
  242. 24721:52:11 ...
  243. 24821:52:11# Subtest: textureColumnUv
  244. 24921:52:11 # Subtest: always has source width 1 in UV space
  245. 25021:52:11 ok 1 - always has source width 1 in UV space
  246. 25121:52:11 ---
  247. 25221:52:11 duration_ms: 0.304905
  248. 25321:52:11 ...
  249. 25421:52:11 1..1
  250. 25521:52:11ok 9 - textureColumnUv
  251. 25621:52:11 ---
  252. 25721:52:11 duration_ms: 0.555467
  253. 25821:52:11 type: 'suite'
  254. 25921:52:11 ...
  255. 26021:52:11# Subtest: faceTileX (no +1 bias)
  256. 26121:52:11 # Subtest: north face uses local/size without +1/size shift
  257. 26221:52:11 ok 1 - north face uses local/size without +1/size shift
  258. 26321:52:11 ---
  259. 26421:52:11 duration_ms: 0.314854
  260. 26521:52:11 ...
  261. 26621:52:11 # Subtest: south face mirrors
  262. 26721:52:11 ok 2 - south face mirrors
  263. 26821:52:11 ---
  264. 26921:52:11 duration_ms: 1.790085
  265. 27021:52:11 ...
  266. 27121:52:11 1..2
  267. 27221:52:11ok 10 - faceTileX (no +1 bias)
  268. 27321:52:11 ---
  269. 27421:52:11 duration_ms: 2.516135
  270. 27521:52:11 type: 'suite'
  271. 27621:52:11 ...
  272. 27721:52:11# Subtest: PpdaViewFrame
  273. 27821:52:11 # Subtest: picks nearest yaw
  274. 27921:52:11 ok 1 - picks nearest yaw
  275. 28021:52:11 ---
  276. 28121:52:11 duration_ms: 0.819946
  277. 28221:52:11 ...
  278. 28321:52:11 # Subtest: frameIndex wraps
  279. 28421:52:11 ok 2 - frameIndex wraps
  280. 28521:52:11 ---
  281. 28621:52:11 duration_ms: 0.277734
  282. 28721:52:11 ...
  283. 28821:52:11 # Subtest: uvRect from view
  284. 28921:52:11 ok 3 - uvRect from view
  285. 29021:52:11 ---
  286. 29121:52:11 duration_ms: 0.271893
  287. 29221:52:11 ...
  288. 29321:52:11 # Subtest: relativeYawDeg front when looking at facing NPC
  289. 29421:52:11 ok 4 - relativeYawDeg front when looking at facing NPC
  290. 29521:52:11 ---
  291. 29621:52:11 duration_ms: 0.216829
  292. 29721:52:11 ...
  293. 29821:52:11 1..4
  294. 29921:52:11ok 11 - PpdaViewFrame
  295. 30021:52:11 ---
  296. 30121:52:11 duration_ms: 2.958559
  297. 30221:52:11 type: 'suite'
  298. 30321:52:11 ...
  299. 30421:52:11# Subtest: World.rayCast
  300. 30521:52:11 # Subtest: hits a solid wall ahead of spawn looking slightly south of east
  301. 30621:52:11 ok 1 - hits a solid wall ahead of spawn looking slightly south of east
  302. 30721:52:11 ---
  303. 30821:52:11 duration_ms: 4.006845
  304. 30921:52:11 ...
  305. 31021:52:11 # Subtest: tileX stays in [0,1] for many angles
  306. 31121:52:11 ok 2 - tileX stays in [0,1] for many angles
  307. 31221:52:11 ---
  308. 31321:52:11 duration_ms: 4.806263
  309. 31421:52:11 ...
  310. 31521:52:11 1..2
  311. 31621:52:11ok 12 - World.rayCast
  312. 31721:52:11 ---
  313. 31821:52:11 duration_ms: 10.533903
  314. 31921:52:11 type: 'suite'
  315. 32021:52:11 ...
  316. 32121:52:111..12
  317. 32221:52:11# tests 46
  318. 32321:52:11# suites 12
  319. 32421:52:11# pass 46
  320. 32521:52:11# fail 0
  321. 32621:52:11# cancelled 0
  322. 32721:52:11# skipped 0
  323. 32821:52:11# todo 0
  324. 32921:52:11# duration_ms 200.451399