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