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:59:05Using docker image node:20-bookworm ...
  2. 221:59:05Using docker image sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 for node:20-bookworm with digest node@sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 ...
  1. 321:59:05Running on Steve via BlueGit...
  2. 421:59:05Working directory: /workspace
  3. 521:59:05Pipeline #626, job #2430
  1. 621:59:05TAP version 13
  2. 721:59:05# Subtest: column pixel contract
  3. 821:59:05 # Subtest: legacy bug (sw=widthLine, max(1,...)) cannot reach column 0 or use sw=1
  4. 921:59:05 ok 1 - legacy bug (sw=widthLine, max(1,...)) cannot reach column 0 or use sw=1
  5. 1021:59:05 ---
  6. 1121:59:05 duration_ms: 1.322474
  7. 1221:59:05 ...
  8. 1321:59:05 # Subtest: simulated wall sample uses one source column per screen column
  9. 1421:59:05 ok 2 - simulated wall sample uses one source column per screen column
  10. 1521:59:05 ---
  11. 1621:59:05 duration_ms: 0.623986
  12. 1721:59:05 ...
  13. 1821:59:05 1..2
  14. 1921:59:05ok 1 - column pixel contract
  15. 2021:59:05 ---
  16. 2121:59:05 duration_ms: 3.437392
  17. 2221:59:05 type: 'suite'
  18. 2321:59:05 ...
  19. 2421:59:05# Subtest: PpdaCompositor (compositor.rs rules)
  20. 2521:59:05 # Subtest: nearer depth wins
  21. 2621:59:05 ok 1 - nearer depth wins
  22. 2721:59:05 ---
  23. 2821:59:05 duration_ms: 1.322674
  24. 2921:59:05 ...
  25. 3021:59:05 # Subtest: tie within epsilon keeps lower layer (body)
  26. 3121:59:05 ok 2 - tie within epsilon keeps lower layer (body)
  27. 3221:59:05 ---
  28. 3321:59:05 duration_ms: 0.224703
  29. 3421:59:05 ...
  30. 3521:59:05 # Subtest: zero diffuse alpha skips layer
  31. 3621:59:05 ok 3 - zero diffuse alpha skips layer
  32. 3721:59:05 ---
  33. 3821:59:05 duration_ms: 0.258758
  34. 3921:59:05 ...
  35. 4021:59:05 # Subtest: zero depth alpha skips layer
  36. 4121:59:05 ok 4 - zero depth alpha skips layer
  37. 4221:59:05 ---
  38. 4321:59:05 duration_ms: 0.230255
  39. 4421:59:05 ...
  40. 4521:59:05 1..4
  41. 4621:59:05ok 2 - PpdaCompositor (compositor.rs rules)
  42. 4721:59:05 ---
  43. 4821:59:05 duration_ms: 3.744151
  44. 4921:59:05 type: 'suite'
  45. 5021:59:05 ...
  46. 5121:59:05# Subtest: DepthDecode encodings
  47. 5221:59:05 # Subtest: gray 8/16 roundtrip via encode/decode value
  48. 5321:59:05 ok 1 - gray 8/16 roundtrip via encode/decode value
  49. 5421:59:05 ---
  50. 5521:59:05 duration_ms: 1.671021
  51. 5621:59:05 ...
  52. 5721:59:05 # Subtest: rgb_bands fills R then G then B
  53. 5821:59:05 ok 2 - rgb_bands fills R then G then B
  54. 5921:59:05 ---
  55. 6021:59:05 duration_ms: 0.311126
  56. 6121:59:05 ...
  57. 6221:59:05 # Subtest: rgb_bands rejects invalid order
  58. 6321:59:05 ok 3 - rgb_bands rejects invalid order
  59. 6421:59:05 ---
  60. 6521:59:05 duration_ms: 0.357624
  61. 6621:59:05 ...
  62. 6721:59:05 # Subtest: rgb_packed positional
  63. 6821:59:05 ok 4 - rgb_packed positional
  64. 6921:59:05 ---
  65. 7021:59:05 duration_ms: 0.273296
  66. 7121:59:05 ...
  67. 7221:59:05 # Subtest: distanceMeters uses near/far
  68. 7321:59:05 ok 5 - distanceMeters uses near/far
  69. 7421:59:05 ---
  70. 7521:59:05 duration_ms: 0.192974
  71. 7621:59:05 ...
  72. 7721:59:05 1..5
  73. 7821:59:05ok 3 - DepthDecode encodings
  74. 7921:59:05 ---
  75. 8021:59:05 duration_ms: 4.585437
  76. 8121:59:05 type: 'suite'
  77. 8221:59:05 ...
  78. 8321:59:05# Subtest: FloorCast math
  79. 8421:59:05 # Subtest: floorHit below horizon returns positive path and isCeiling false
  80. 8521:59:05 ok 1 - floorHit below horizon returns positive path and isCeiling false
  81. 8621:59:05 ---
  82. 8721:59:05 duration_ms: 0.862977
  83. 8821:59:05 ...
  84. 8921:59:05 # Subtest: floorHit above horizon is ceiling
  85. 9021:59:05 ok 2 - floorHit above horizon is ceiling
  86. 9121:59:05 ---
  87. 9221:59:05 duration_ms: 0.13255
  88. 9321:59:05 ...
  89. 9421:59:05 # Subtest: posZ matches wall projection: bottom row ≈ one cell away
  90. 9521:59:05 ok 3 - posZ matches wall projection: bottom row ≈ one cell away
  91. 9621:59:05 ---
  92. 9721:59:05 duration_ms: 0.145274
  93. 9821:59:05 ...
  94. 9921:59:05 # Subtest: perspective: farther rows (nearer horizon) have larger rowDist
  95. 10021:59:05 ok 4 - perspective: farther rows (nearer horizon) have larger rowDist
  96. 10121:59:05 ---
  97. 10221:59:05 duration_ms: 0.130897
  98. 10321:59:05 ...
  99. 10421:59:05 # Subtest: sampleNearest wraps and picks texel
  100. 10521:59:05 ok 5 - sampleNearest wraps and picks texel
  101. 10621:59:05 ---
  102. 10721:59:05 duration_ms: 0.618336
  103. 10821:59:05 ...
  104. 10921:59:05 # Subtest: render of checkerboard floor yields many unique colours (not flat)
  105. 11021:59:05 ok 6 - render of checkerboard floor yields many unique colours (not flat)
  106. 11121:59:05 ---
  107. 11221:59:05 duration_ms: 15.876209
  108. 11321:59:05 ...
  109. 11421:59:05 # Subtest: render with real stone.png yields many source texel colours on the floor
  110. 11521:59:05 ok 7 - render with real stone.png yields many source texel colours on the floor
  111. 11621:59:05 ---
  112. 11721:59:05 duration_ms: 72.109051
  113. 11821:59:05 ...
  114. 11921:59:05 1..7
  115. 12021:59:05ok 4 - FloorCast math
  116. 12121:59:05 ---
  117. 12221:59:05 duration_ms: 91.340498
  118. 12321:59:05 type: 'suite'
  119. 12421:59:05 ...
  120. 12521:59:05# Subtest: LevelFormat schema v1
  121. 12621:59:05 # Subtest: validates default empty level in a pack
  122. 12721:59:05 ok 1 - validates default empty level in a pack
  123. 12821:59:05 ---
  124. 12921:59:05 duration_ms: 1.830833
  125. 13021:59:05 ...
  126. 13121:59:05 # Subtest: rejects unknown format_version
  127. 13221:59:05 ok 2 - rejects unknown format_version
  128. 13321:59:05 ---
  129. 13421:59:05 duration_ms: 0.545639
  130. 13521:59:05 ...
  131. 13621:59:05 # Subtest: rejects walls length mismatch
  132. 13721:59:05 ok 3 - rejects walls length mismatch
  133. 13821:59:05 ---
  134. 13921:59:05 duration_ms: 0.23841
  135. 14021:59:05 ...
  136. 14121:59:05 # Subtest: rejects unknown floor texture
  137. 14221:59:05 ok 4 - rejects unknown floor texture
  138. 14321:59:05 ---
  139. 14421:59:05 duration_ms: 0.231256
  140. 14521:59:05 ...
  141. 14621:59:05 # Subtest: migrates legacy Levels[] to pack with floors/ceilings/lights
  142. 14721:59:05 ok 5 - migrates legacy Levels[] to pack with floors/ceilings/lights
  143. 14821:59:05 ---
  144. 14921:59:05 duration_ms: 0.856034
  145. 15021:59:05 ...
  146. 15121:59:05 # Subtest: findLevelIndex by id, name, and index
  147. 15221:59:05 ok 6 - findLevelIndex by id, name, and index
  148. 15321:59:05 ---
  149. 15421:59:05 duration_ms: 0.289936
  150. 15521:59:05 ...
  151. 15621:59:05 # Subtest: toRuntimeLevel maps walls→tiles and spawn yaw
  152. 15721:59:05 ok 7 - toRuntimeLevel maps walls→tiles and spawn yaw
  153. 15821:59:05 ---
  154. 15921:59:05 duration_ms: 0.363255
  155. 16021:59:05 ...
  156. 16121:59:05 # Subtest: migrates v1 pack to v2 with ambient defaults
  157. 16221:59:05 ok 8 - migrates v1 pack to v2 with ambient defaults
  158. 16321:59:05 ---
  159. 16421:59:05 duration_ms: 0.301338
  160. 16521:59:05 ...
  161. 16621:59:05 # Subtest: parses build/levels.json
  162. 16721:59:05 ok 9 - parses build/levels.json
  163. 16821:59:05 ---
  164. 16921:59:05 duration_ms: 2.176564
  165. 17021:59:05 ...
  166. 17121:59:05 1..9
  167. 17221:59:05ok 5 - LevelFormat schema v1
  168. 17321:59:05 ---
  169. 17421:59:05 duration_ms: 8.810054
  170. 17521:59:05 type: 'suite'
  171. 17621:59:05 ...
  172. 17721:59:05# Subtest: Lighting
  173. 17821:59:05 # Subtest: attenuation reaches 0 at range and 1 at distance 0
  174. 17921:59:05 ok 1 - attenuation reaches 0 at range and 1 at distance 0
  175. 18021:59:05 ---
  176. 18121:59:05 duration_ms: 1.32014
  177. 18221:59:05 ...
  178. 18321:59:05 # Subtest: shadeRgb with light in front of floor is brighter than ambient
  179. 18421:59:05 ok 2 - shadeRgb with light in front of floor is brighter than ambient
  180. 18521:59:05 ---
  181. 18621:59:05 duration_ms: 0.36572
  182. 18721:59:05 ...
  183. 18821:59:05 # Subtest: LOS blocked by solid wall tile between light and sample
  184. 18921:59:05 ok 3 - LOS blocked by solid wall tile between light and sample
  185. 19021:59:05 ---
  186. 19121:59:05 duration_ms: 0.289355
  187. 19221:59:05 ...
  188. 19321:59:05 # Subtest: decodeNormalRgb maps 128,128,255 toward +Z
  189. 19421:59:05 ok 4 - decodeNormalRgb maps 128,128,255 toward +Z
  190. 19521:59:05 ---
  191. 19621:59:05 duration_ms: 0.229443
  192. 19721:59:05 ...
  193. 19821:59:05 # Subtest: worldDirToView: light to the character-right yields +X in view at yaw 0
  194. 19921:59:05 ok 5 - worldDirToView: light to the character-right yields +X in view at yaw 0
  195. 20021:59:05 ---
  196. 20121:59:05 duration_ms: 0.279597
  197. 20221:59:05 ...
  198. 20321:59:05 # Subtest: shadePaperdollPixel: light on left (+view X or -) differs from light on right
  199. 20421:59:05 ok 6 - shadePaperdollPixel: light on left (+view X or -) differs from light on right
  200. 20521:59:05 ---
  201. 20621:59:05 duration_ms: 0.615781
  202. 20721:59:05 ...
  203. 20821:59:05 1..6
  204. 20921:59:05ok 6 - Lighting
  205. 21021:59:05 ---
  206. 21121:59:05 duration_ms: 4.921952
  207. 21221:59:05 type: 'suite'
  208. 21321:59:05 ...
  209. 21421:59:05# Subtest: sprite occlusion z-buffer
  210. 21521:59:05 # Subtest: wall blocks farther sprite pixels
  211. 21621:59:05 ok 1 - wall blocks farther sprite pixels
  212. 21721:59:05 ---
  213. 21821:59:05 duration_ms: 1.311192
  214. 21921:59:05 ...
  215. 22021:59:05 # Subtest: nearer sprite wins over previous sprite
  216. 22121:59:05 ok 2 - nearer sprite wins over previous sprite
  217. 22221:59:05 ---
  218. 22321:59:05 duration_ms: 0.309844
  219. 22421:59:05 ...
  220. 22521:59:05 1..2
  221. 22621:59:05ok 7 - sprite occlusion z-buffer
  222. 22721:59:05 ---
  223. 22821:59:05 duration_ms: 3.264366
  224. 22921:59:05 type: 'suite'
  225. 23021:59:05 ...
  226. 23121:59:05# Subtest: PpdaLoader
  227. 23221:59:05 # Subtest: loads vendored male-body atlas
  228. 23321:59:05 ok 1 - loads vendored male-body atlas
  229. 23421:59:05 ---
  230. 23521:59:05 duration_ms: 2.506226
  231. 23621:59:05 ...
  232. 23721:59:05 # Subtest: body and sword are compatible
  233. 23821:59:05 ok 2 - body and sword are compatible
  234. 23921:59:05 ---
  235. 24021:59:05 duration_ms: 2.721422
  236. 24121:59:05 ...
  237. 24221:59:05 # Subtest: rejects path traversal in map files
  238. 24321:59:05 ok 3 - rejects path traversal in map files
  239. 24421:59:05 ---
  240. 24521:59:05 duration_ms: 0.415844
  241. 24621:59:05 ...
  242. 24721:59:05 # Subtest: rejects unknown format_version
  243. 24821:59:05 ok 4 - rejects unknown format_version
  244. 24921:59:05 ---
  245. 25021:59:05 duration_ms: 0.271702
  246. 25121:59:05 ...
  247. 25221:59:05 1..4
  248. 25321:59:05ok 8 - PpdaLoader
  249. 25421:59:05 ---
  250. 25521:59:05 duration_ms: 7.715891
  251. 25621:59:05 type: 'suite'
  252. 25721:59:05 ...
  253. 25821:59:05# Subtest: textureColumnIndex
  254. 25921:59:05 # Subtest: maps 0 to first column
  255. 26021:59:05 ok 1 - maps 0 to first column
  256. 26121:59:05 ---
  257. 26221:59:05 duration_ms: 1.059698
  258. 26321:59:05 ...
  259. 26421:59:05 # Subtest: maps almost-1 to last column
  260. 26521:59:05 ok 2 - maps almost-1 to last column
  261. 26621:59:05 ---
  262. 26721:59:05 duration_ms: 0.152087
  263. 26821:59:05 ...
  264. 26921:59:05 # Subtest: clamps above 1
  265. 27021:59:05 ok 3 - clamps above 1
  266. 27121:59:05 ---
  267. 27221:59:05 duration_ms: 0.128813
  268. 27321:59:05 ...
  269. 27421:59:05 # Subtest: clamps below 0
  270. 27521:59:05 ok 4 - clamps below 0
  271. 27621:59:05 ---
  272. 27721:59:05 duration_ms: 0.184548
  273. 27821:59:05 ...
  274. 27921:59:05 # Subtest: covers every source column for a dense tileX sweep
  275. 28021:59:05 ok 5 - covers every source column for a dense tileX sweep
  276. 28121:59:05 ---
  277. 28221:59:05 duration_ms: 0.253909
  278. 28321:59:05 ...
  279. 28421:59:05 1..5
  280. 28521:59:05ok 9 - textureColumnIndex
  281. 28621:59:05 ---
  282. 28721:59:05 duration_ms: 3.33016
  283. 28821:59:05 type: 'suite'
  284. 28921:59:05 ...
  285. 29021:59:05# Subtest: textureColumnUv
  286. 29121:59:05 # Subtest: always has source width 1 in UV space
  287. 29221:59:05 ok 1 - always has source width 1 in UV space
  288. 29321:59:05 ---
  289. 29421:59:05 duration_ms: 0.250873
  290. 29521:59:05 ...
  291. 29621:59:05 1..1
  292. 29721:59:05ok 10 - textureColumnUv
  293. 29821:59:05 ---
  294. 29921:59:05 duration_ms: 0.434309
  295. 30021:59:05 type: 'suite'
  296. 30121:59:05 ...
  297. 30221:59:05# Subtest: faceTileX (no +1 bias)
  298. 30321:59:05 # Subtest: north face uses local/size without +1/size shift
  299. 30421:59:05 ok 1 - north face uses local/size without +1/size shift
  300. 30521:59:05 ---
  301. 30621:59:05 duration_ms: 0.251845
  302. 30721:59:05 ...
  303. 30821:59:05 # Subtest: south face mirrors
  304. 30921:59:05 ok 2 - south face mirrors
  305. 31021:59:05 ---
  306. 31121:59:05 duration_ms: 0.89072
  307. 31221:59:05 ...
  308. 31321:59:05 1..2
  309. 31421:59:05ok 11 - faceTileX (no +1 bias)
  310. 31521:59:05 ---
  311. 31621:59:05 duration_ms: 1.483658
  312. 31721:59:05 type: 'suite'
  313. 31821:59:05 ...
  314. 31921:59:05# Subtest: PpdaViewFrame
  315. 32021:59:05 # Subtest: picks nearest yaw
  316. 32121:59:05 ok 1 - picks nearest yaw
  317. 32221:59:05 ---
  318. 32321:59:05 duration_ms: 1.466566
  319. 32421:59:05 ...
  320. 32521:59:05 # Subtest: frameIndex wraps
  321. 32621:59:05 ok 2 - frameIndex wraps
  322. 32721:59:05 ---
  323. 32821:59:05 duration_ms: 0.319633
  324. 32921:59:05 ...
  325. 33021:59:05 # Subtest: uvRect from view
  326. 33121:59:05 ok 3 - uvRect from view
  327. 33221:59:05 ---
  328. 33321:59:05 duration_ms: 0.275159
  329. 33421:59:05 ...
  330. 33521:59:05 # Subtest: relativeYawDeg front when looking at facing NPC
  331. 33621:59:05 ok 4 - relativeYawDeg front when looking at facing NPC
  332. 33721:59:05 ---
  333. 33821:59:05 duration_ms: 43.010689
  334. 33921:59:05 ...
  335. 34021:59:05 1..4
  336. 34121:59:05ok 12 - PpdaViewFrame
  337. 34221:59:05 ---
  338. 34321:59:05 duration_ms: 49.728547
  339. 34421:59:05 type: 'suite'
  340. 34521:59:05 ...
  341. 34621:59:05# Subtest: World.rayCast
  342. 34721:59:05 # Subtest: hits a solid wall ahead of spawn looking slightly south of east
  343. 34821:59:05 ok 1 - hits a solid wall ahead of spawn looking slightly south of east
  344. 34921:59:05 ---
  345. 35021:59:05 duration_ms: 3.266981
  346. 35121:59:05 ...
  347. 35221:59:05 # Subtest: tileX stays in [0,1] for many angles
  348. 35321:59:05 ok 2 - tileX stays in [0,1] for many angles
  349. 35421:59:05 ---
  350. 35521:59:05 duration_ms: 3.775299
  351. 35621:59:05 ...
  352. 35721:59:05 1..2
  353. 35821:59:05ok 13 - World.rayCast
  354. 35921:59:05 ---
  355. 36021:59:05 duration_ms: 55.434086
  356. 36121:59:05 type: 'suite'
  357. 36221:59:05 ...
  358. 36321:59:051..13
  359. 36421:59:05# tests 53
  360. 36521:59:05# suites 13
  361. 36621:59:05# pass 53
  362. 36721:59:05# fail 0
  363. 36821:59:05# cancelled 0
  364. 36921:59:05# skipped 0
  365. 37021:59:05# todo 0
  366. 37121:59:05# duration_ms 260.353708