cuboid 0.0.3 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (495) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/Gemfile +0 -2
  4. data/README.md +14 -13
  5. data/cuboid.gemspec +0 -4
  6. data/lib/cuboid/application.rb +10 -10
  7. data/lib/cuboid/option_groups/agent.rb +54 -0
  8. data/lib/cuboid/option_groups/paths.rb +13 -4
  9. data/lib/cuboid/options.rb +1 -1
  10. data/lib/cuboid/processes/{dispatchers.rb → agents.rb} +40 -26
  11. data/lib/cuboid/processes/executables/agent.rb +5 -0
  12. data/lib/cuboid/processes/helpers/agents.rb +23 -0
  13. data/lib/cuboid/processes/helpers/instances.rb +4 -4
  14. data/lib/cuboid/processes/helpers.rb +1 -1
  15. data/lib/cuboid/processes/instances.rb +22 -10
  16. data/lib/cuboid/processes/schedulers.rb +16 -3
  17. data/lib/cuboid/processes.rb +2 -2
  18. data/lib/cuboid/report.rb +1 -0
  19. data/lib/cuboid/rest/server/instance_helpers.rb +13 -13
  20. data/lib/cuboid/rest/server/routes/dispatcher.rb +11 -11
  21. data/lib/cuboid/rest/server/routes/grid.rb +8 -8
  22. data/lib/cuboid/rest/server/routes/instances.rb +1 -1
  23. data/lib/cuboid/rest/server.rb +5 -5
  24. data/lib/cuboid/rpc/client/{dispatcher.rb → agent.rb} +4 -4
  25. data/lib/cuboid/rpc/client/instance.rb +2 -2
  26. data/lib/cuboid/rpc/client.rb +1 -1
  27. data/lib/cuboid/rpc/server/agent/node.rb +247 -0
  28. data/lib/cuboid/rpc/server/{dispatcher → agent}/service.rb +13 -13
  29. data/lib/cuboid/rpc/server/{dispatcher.rb → agent.rb} +62 -32
  30. data/lib/cuboid/rpc/server/application_wrapper.rb +6 -4
  31. data/lib/cuboid/rpc/server/instance.rb +4 -4
  32. data/lib/cuboid/rpc/server/scheduler.rb +13 -12
  33. data/lib/cuboid.rb +0 -3
  34. data/lib/version +1 -1
  35. data/spec/cuboid/option_groups/dispatcher_spec.rb +2 -2
  36. data/spec/cuboid/option_groups/paths_spec.rb +6 -3
  37. data/spec/cuboid/rest/server_spec.rb +46 -46
  38. data/spec/cuboid/rpc/client/dispatcher_spec.rb +2 -2
  39. data/spec/cuboid/rpc/server/dispatcher/node_spec.rb +65 -65
  40. data/spec/cuboid/rpc/server/dispatcher/service_spec.rb +16 -16
  41. data/spec/cuboid/rpc/server/dispatcher_spec.rb +187 -72
  42. data/spec/cuboid/rpc/server/scheduler_spec.rb +8 -8
  43. data/spec/support/fixtures/executables/node.rb +3 -3
  44. data/spec/support/fixtures/mock_app/test_service.rb +8 -8
  45. data/spec/support/fixtures/mock_app.rb +1 -1
  46. data/spec/support/fixtures/services/echo.rb +6 -6
  47. data/spec/support/helpers/resets.rb +1 -1
  48. data/spec/support/lib/web_server_client.rb +2 -2
  49. data/spec/support/lib/web_server_dispatcher.rb +1 -1
  50. data/spec/support/logs/Agent - 2486896-44236.log +6 -0
  51. data/spec/support/logs/Agent - 2487229-16390.log +6 -0
  52. data/spec/support/logs/Agent - 2487520-2511.log +6 -0
  53. data/spec/support/logs/Agent - 2487522-24008.log +6 -0
  54. data/spec/support/logs/Agent - 2487526-3383.log +6 -0
  55. data/spec/support/logs/Agent - 2487528-23713.log +10 -0
  56. data/spec/support/logs/Agent - 2487530-42875.log +10 -0
  57. data/spec/support/logs/Agent - 2487533-14182.log +10 -0
  58. data/spec/support/logs/Agent - 2487535-32486.log +10 -0
  59. data/spec/support/logs/Agent - 2487537-30578.log +10 -0
  60. data/spec/support/logs/Agent - 2487539-65402.log +10 -0
  61. data/spec/support/logs/Agent - 2493974-23066.log +6 -0
  62. data/spec/support/logs/Agent - 2501716-11729.log +6 -0
  63. data/spec/support/logs/Agent - 2501724-48638.log +6 -0
  64. data/spec/support/logs/Agent - 2501961-60077.log +6 -0
  65. data/spec/support/logs/Agent - 2501976-10941.log +10 -0
  66. data/spec/support/logs/Agent - 2502050-45312.log +10 -0
  67. data/spec/support/logs/Agent - 2502131-45940.log +10 -0
  68. data/spec/support/logs/Agent - 2502139-59848.log +10 -0
  69. data/spec/support/logs/Agent - 2502262-46629.log +10 -0
  70. data/spec/support/logs/Agent - 2502298-28395.log +10 -0
  71. data/spec/support/logs/Scheduler - 2486608-59709.log +3 -0
  72. data/spec/support/logs/Scheduler - 2486612-44110.log +27 -0
  73. data/spec/support/logs/Scheduler - 2486723-50393.log +3 -0
  74. data/spec/support/logs/Scheduler - 2486727-21620.log +27 -0
  75. data/spec/support/logs/Scheduler - 2486877-37845.log +3 -0
  76. data/spec/support/logs/Scheduler - 2486881-3624.log +1 -0
  77. data/spec/support/logs/Scheduler - 2486911-24752.log +3 -0
  78. data/spec/support/logs/Scheduler - 2486919-48535.log +27 -0
  79. data/spec/support/logs/Scheduler - 2486985-8897.log +1 -0
  80. data/spec/support/logs/Scheduler - 2487211-7516.log +3 -0
  81. data/spec/support/logs/Scheduler - 2487215-2831.log +1 -0
  82. data/spec/support/logs/Scheduler - 2487246-7826.log +3 -0
  83. data/spec/support/logs/Scheduler - 2487256-35669.log +6 -0
  84. data/spec/support/logs/Scheduler - 2487272-11542.log +4 -0
  85. data/spec/support/logs/Scheduler - 2487278-9621.log +1 -0
  86. data/spec/support/logs/Scheduler - 2487291-24094.log +3 -0
  87. data/spec/support/logs/Scheduler - 2487299-60095.log +6 -0
  88. data/spec/support/logs/Scheduler - 2487368-7706.log +3 -0
  89. data/spec/support/logs/Scheduler - 2487378-9859.log +6 -0
  90. data/spec/support/logs/Scheduler - 2487396-17812.log +3 -0
  91. data/spec/support/logs/Scheduler - 2487407-25543.log +6 -0
  92. data/spec/support/logs/Scheduler - 2487451-44767.log +4 -0
  93. data/spec/support/logs/Scheduler - 2487506-1422.log +6 -0
  94. data/spec/support/logs/Scheduler - 2487541-38068.log +1 -0
  95. data/spec/support/logs/Scheduler - 2487544-21866.log +1 -0
  96. data/spec/support/logs/Scheduler - 2487548-15245.log +1 -0
  97. data/spec/support/logs/Scheduler - 2487551-34905.log +1 -0
  98. data/spec/support/logs/Scheduler - 2487554-22142.log +1 -0
  99. data/spec/support/logs/Scheduler - 2487562-35113.log +1 -0
  100. data/spec/support/logs/Scheduler - 2487565-55125.log +3 -0
  101. data/spec/support/logs/Scheduler - 2487569-48845.log +6 -0
  102. data/spec/support/logs/Scheduler - 2487576-57192.log +4 -0
  103. data/spec/support/logs/Scheduler - 2487583-17991.log +1 -0
  104. data/spec/support/logs/Scheduler - 2487586-30014.log +1 -0
  105. data/spec/support/logs/Scheduler - 2487591-6472.log +1 -0
  106. data/spec/support/logs/Scheduler - 2487594-2195.log +1 -0
  107. data/spec/support/logs/Scheduler - 2487598-55808.log +3 -0
  108. data/spec/support/logs/Scheduler - 2487605-7400.log +1 -0
  109. data/spec/support/logs/Scheduler - 2487607-4337.log +1 -0
  110. data/spec/support/logs/Scheduler - 2487610-25835.log +1 -0
  111. data/spec/support/logs/Scheduler - 2493623-45209.log +3 -0
  112. data/spec/support/logs/Scheduler - 2493714-59407.log +1 -0
  113. data/spec/support/logs/Scheduler - 2494470-61696.log +3 -0
  114. data/spec/support/logs/Scheduler - 2494723-2810.log +6 -0
  115. data/spec/support/logs/Scheduler - 2495458-22112.log +4 -0
  116. data/spec/support/logs/Scheduler - 2496034-4076.log +1 -0
  117. data/spec/support/logs/Scheduler - 2496119-62253.log +3 -0
  118. data/spec/support/logs/Scheduler - 2496210-50380.log +6 -0
  119. data/spec/support/logs/Scheduler - 2497536-24922.log +3 -0
  120. data/spec/support/logs/Scheduler - 2497786-13515.log +6 -0
  121. data/spec/support/logs/Scheduler - 2498774-16911.log +3 -0
  122. data/spec/support/logs/Scheduler - 2498961-4742.log +6 -0
  123. data/spec/support/logs/Scheduler - 2500340-16045.log +4 -0
  124. data/spec/support/logs/Scheduler - 2500980-26158.log +6 -0
  125. data/spec/support/logs/Scheduler - 2502381-26435.log +1 -0
  126. data/spec/support/logs/Scheduler - 2502463-62965.log +1 -0
  127. data/spec/support/logs/Scheduler - 2502547-53434.log +1 -0
  128. data/spec/support/logs/Scheduler - 2502628-43720.log +1 -0
  129. data/spec/support/logs/Scheduler - 2502643-58379.log +1 -0
  130. data/spec/support/logs/Scheduler - 2502873-64893.log +1 -0
  131. data/spec/support/logs/Scheduler - 2502954-43885.log +3 -0
  132. data/spec/support/logs/Scheduler - 2503039-52147.log +6 -0
  133. data/spec/support/logs/Scheduler - 2503768-28831.log +4 -0
  134. data/spec/support/logs/Scheduler - 2504259-24533.log +1 -0
  135. data/spec/support/logs/Scheduler - 2504343-56967.log +1 -0
  136. data/spec/support/logs/Scheduler - 2504502-25085.log +1 -0
  137. data/spec/support/logs/Scheduler - 2504587-30789.log +1 -0
  138. data/spec/support/logs/Scheduler - 2504608-56601.log +3 -0
  139. data/spec/support/logs/Scheduler - 2504760-36374.log +1 -0
  140. data/spec/support/logs/Scheduler - 2504841-49675.log +1 -0
  141. data/spec/support/logs/Scheduler - 2504923-15781.log +1 -0
  142. data/spec/support/reports/18be00bff4371738c7c7013b284b415b.crf +0 -0
  143. data/spec/support/reports/1ca39d410c2cf1f652eb8c320d6682bd.crf +0 -0
  144. data/spec/support/reports/266a09d73152ce2f3d2951f1dab133f3.crf +0 -0
  145. data/spec/support/reports/2929bee9c126b2695dc569b693fef574.crf +0 -0
  146. data/spec/support/reports/2b9ce956f7060163d7a0b78603dc05ca.crf +0 -0
  147. data/spec/support/reports/46bcffd844008e71c7d90a76baf8597d.crf +0 -0
  148. data/spec/support/reports/620287cfdc373595385cf2471e1d4523.crf +0 -0
  149. data/spec/support/reports/75fecdd5e006942292e02e6a223e7279.crf +0 -0
  150. data/spec/support/reports/81cca53163bbab5ccf4d5f0401d5adcd.crf +0 -0
  151. data/spec/support/reports/8c204ee129fe1bd6c5964d29ae5d03ae.crf +0 -0
  152. data/spec/support/reports/aadbf2c1544b0e11174853fb4883a38c.crf +0 -0
  153. data/spec/support/reports/c360a2833f3e635e69036916010edeac.crf +0 -0
  154. data/spec/support/reports/e96abea937f1ed3f89bc2ec5397522db.crf +0 -0
  155. data/spec/support/reports/f3d542036e17f6a66e11bfacb2fb3366.crf +0 -0
  156. data/spec/support/snapshots/Cuboid 2022-02-01 13_10_28 +0200 a06d9bd7db81b1b4fb077ceadcc3895f.csf +0 -0
  157. data/spec/support/snapshots/Cuboid 2022-02-01 13_10_42 +0200 36c68859faf144eed9ff9c01ae754217.csf +0 -0
  158. data/spec/support/snapshots/Cuboid 2022-02-01 13_24_42 +0200 5a26112a913330ee8763b2982a4d42df.csf +0 -0
  159. data/spec/support/snapshots/Cuboid 2022-02-01 13_24_56 +0200 190856b98ac7099eb553ed3abcfbcb87.csf +0 -0
  160. metadata +306 -768
  161. data/lib/cuboid/option_groups/dispatcher.rb +0 -38
  162. data/lib/cuboid/processes/executables/dispatcher.rb +0 -5
  163. data/lib/cuboid/processes/helpers/dispatchers.rb +0 -23
  164. data/lib/cuboid/rpc/server/dispatcher/node.rb +0 -247
  165. data/logs/error-3207383.log +0 -106
  166. data/logs/error-3207482.log +0 -106
  167. data/logs/error-3208344.log +0 -109
  168. data/logs/error-3208460.log +0 -106
  169. data/logs/error-903730.log +0 -105
  170. data/logs/error-903846.log +0 -105
  171. data/logs/error-904783.log +0 -108
  172. data/logs/error-905101.log +0 -105
  173. data/spec/support/logs/Dispatcher - 3204062-27546.log +0 -6
  174. data/spec/support/logs/Dispatcher - 3207166-30195.log +0 -6
  175. data/spec/support/logs/Dispatcher - 3207418-16491.log +0 -6
  176. data/spec/support/logs/Dispatcher - 3207420-23797.log +0 -6
  177. data/spec/support/logs/Dispatcher - 3207424-64333.log +0 -6
  178. data/spec/support/logs/Dispatcher - 3207427-50621.log +0 -10
  179. data/spec/support/logs/Dispatcher - 3207429-15351.log +0 -10
  180. data/spec/support/logs/Dispatcher - 3207432-3685.log +0 -10
  181. data/spec/support/logs/Dispatcher - 3207436-43126.log +0 -10
  182. data/spec/support/logs/Dispatcher - 3207438-58131.log +0 -10
  183. data/spec/support/logs/Dispatcher - 3207440-32187.log +0 -10
  184. data/spec/support/logs/Dispatcher - 3207654-42085.log +0 -6
  185. data/spec/support/logs/Dispatcher - 3207769-16303.log +0 -6
  186. data/spec/support/logs/Dispatcher - 3207771-31196.log +0 -6
  187. data/spec/support/logs/Dispatcher - 3207773-53419.log +0 -6
  188. data/spec/support/logs/Dispatcher - 3207775-17015.log +0 -6
  189. data/spec/support/logs/Dispatcher - 3207787-56572.log +0 -6
  190. data/spec/support/logs/Dispatcher - 3207799-41227.log +0 -6
  191. data/spec/support/logs/Dispatcher - 3207815-49397.log +0 -6
  192. data/spec/support/logs/Dispatcher - 3207817-13826.log +0 -6
  193. data/spec/support/logs/Dispatcher - 3207819-46821.log +0 -6
  194. data/spec/support/logs/Dispatcher - 3207821-37991.log +0 -6
  195. data/spec/support/logs/Dispatcher - 3207825-52955.log +0 -6
  196. data/spec/support/logs/Dispatcher - 3207829-12122.log +0 -6
  197. data/spec/support/logs/Dispatcher - 3207831-58485.log +0 -16
  198. data/spec/support/logs/Dispatcher - 3207833-47083.log +0 -14
  199. data/spec/support/logs/Dispatcher - 3207837-53679.log +0 -10
  200. data/spec/support/logs/Dispatcher - 3207847-12037.log +0 -16
  201. data/spec/support/logs/Dispatcher - 3207852-64296.log +0 -14
  202. data/spec/support/logs/Dispatcher - 3207858-56473.log +0 -10
  203. data/spec/support/logs/Dispatcher - 3207864-26736.log +0 -6
  204. data/spec/support/logs/Dispatcher - 3207866-24113.log +0 -6
  205. data/spec/support/logs/Dispatcher - 3207870-6896.log +0 -6
  206. data/spec/support/logs/Dispatcher - 3207873-16434.log +0 -6
  207. data/spec/support/logs/Dispatcher - 3207885-31058.log +0 -6
  208. data/spec/support/logs/Dispatcher - 3207891-19927.log +0 -6
  209. data/spec/support/logs/Dispatcher - 3207897-41533.log +0 -6
  210. data/spec/support/logs/Dispatcher - 3207903-26815.log +0 -6
  211. data/spec/support/logs/Dispatcher - 3207909-25294.log +0 -6
  212. data/spec/support/logs/Dispatcher - 3207929-51610.log +0 -6
  213. data/spec/support/logs/Dispatcher - 3207990-8943.log +0 -16
  214. data/spec/support/logs/Dispatcher - 3208000-30657.log +0 -14
  215. data/spec/support/logs/Dispatcher - 3208010-54017.log +0 -10
  216. data/spec/support/logs/Dispatcher - 3208041-58792.log +0 -16
  217. data/spec/support/logs/Dispatcher - 3208047-50811.log +0 -14
  218. data/spec/support/logs/Dispatcher - 3208051-52018.log +0 -10
  219. data/spec/support/logs/Dispatcher - 3208067-46852.log +0 -6
  220. data/spec/support/logs/Dispatcher - 3208075-56209.log +0 -6
  221. data/spec/support/logs/Dispatcher - 3208088-4783.log +0 -6
  222. data/spec/support/logs/Dispatcher - 3208100-47518.log +0 -6
  223. data/spec/support/logs/Dispatcher - 3208115-25109.log +0 -6
  224. data/spec/support/logs/Dispatcher - 3208127-46551.log +0 -6
  225. data/spec/support/logs/Dispatcher - 3208133-2576.log +0 -6
  226. data/spec/support/logs/Dispatcher - 3208138-25988.log +0 -6
  227. data/spec/support/logs/Dispatcher - 3208299-19611.log +0 -6
  228. data/spec/support/logs/Dispatcher - 3208330-35076.log +0 -6
  229. data/spec/support/logs/Dispatcher - 3208340-32759.log +0 -6
  230. data/spec/support/logs/Dispatcher - 903393-34771.log +0 -6
  231. data/spec/support/logs/Dispatcher - 903765-19862.log +0 -6
  232. data/spec/support/logs/Dispatcher - 903767-43611.log +0 -6
  233. data/spec/support/logs/Dispatcher - 903770-34337.log +0 -6
  234. data/spec/support/logs/Dispatcher - 903774-7484.log +0 -10
  235. data/spec/support/logs/Dispatcher - 903777-5256.log +0 -10
  236. data/spec/support/logs/Dispatcher - 903780-12391.log +0 -10
  237. data/spec/support/logs/Dispatcher - 903782-54621.log +0 -10
  238. data/spec/support/logs/Dispatcher - 903786-46071.log +0 -10
  239. data/spec/support/logs/Dispatcher - 903794-48819.log +0 -10
  240. data/spec/support/logs/Dispatcher - 903906-54562.log +0 -6
  241. data/spec/support/logs/Dispatcher - 904068-37293.log +0 -6
  242. data/spec/support/logs/Dispatcher - 904070-53492.log +0 -6
  243. data/spec/support/logs/Dispatcher - 904073-27607.log +0 -6
  244. data/spec/support/logs/Dispatcher - 904075-41641.log +0 -6
  245. data/spec/support/logs/Dispatcher - 904099-53541.log +0 -6
  246. data/spec/support/logs/Dispatcher - 904112-10508.log +0 -6
  247. data/spec/support/logs/Dispatcher - 904132-5791.log +0 -6
  248. data/spec/support/logs/Dispatcher - 904141-56406.log +0 -6
  249. data/spec/support/logs/Dispatcher - 904147-21550.log +0 -6
  250. data/spec/support/logs/Dispatcher - 904149-20120.log +0 -6
  251. data/spec/support/logs/Dispatcher - 904155-33639.log +0 -6
  252. data/spec/support/logs/Dispatcher - 904161-53730.log +0 -6
  253. data/spec/support/logs/Dispatcher - 904169-49991.log +0 -16
  254. data/spec/support/logs/Dispatcher - 904172-39635.log +0 -14
  255. data/spec/support/logs/Dispatcher - 904192-9525.log +0 -10
  256. data/spec/support/logs/Dispatcher - 904206-3529.log +0 -16
  257. data/spec/support/logs/Dispatcher - 904211-16856.log +0 -14
  258. data/spec/support/logs/Dispatcher - 904216-49974.log +0 -10
  259. data/spec/support/logs/Dispatcher - 904228-16891.log +0 -6
  260. data/spec/support/logs/Dispatcher - 904231-34999.log +0 -6
  261. data/spec/support/logs/Dispatcher - 904236-50872.log +0 -6
  262. data/spec/support/logs/Dispatcher - 904238-25464.log +0 -6
  263. data/spec/support/logs/Dispatcher - 904251-43339.log +0 -6
  264. data/spec/support/logs/Dispatcher - 904256-18461.log +0 -6
  265. data/spec/support/logs/Dispatcher - 904266-59699.log +0 -6
  266. data/spec/support/logs/Dispatcher - 904279-17401.log +0 -6
  267. data/spec/support/logs/Dispatcher - 904289-48953.log +0 -6
  268. data/spec/support/logs/Dispatcher - 904309-22599.log +0 -6
  269. data/spec/support/logs/Dispatcher - 904386-44447.log +0 -16
  270. data/spec/support/logs/Dispatcher - 904409-51015.log +0 -14
  271. data/spec/support/logs/Dispatcher - 904420-34336.log +0 -10
  272. data/spec/support/logs/Dispatcher - 904455-24852.log +0 -16
  273. data/spec/support/logs/Dispatcher - 904459-54769.log +0 -14
  274. data/spec/support/logs/Dispatcher - 904464-49280.log +0 -10
  275. data/spec/support/logs/Dispatcher - 904490-41571.log +0 -6
  276. data/spec/support/logs/Dispatcher - 904495-62362.log +0 -6
  277. data/spec/support/logs/Dispatcher - 904517-14314.log +0 -6
  278. data/spec/support/logs/Dispatcher - 904529-30060.log +0 -6
  279. data/spec/support/logs/Dispatcher - 904538-61870.log +0 -6
  280. data/spec/support/logs/Dispatcher - 904553-59343.log +0 -6
  281. data/spec/support/logs/Dispatcher - 904563-59027.log +0 -6
  282. data/spec/support/logs/Dispatcher - 904576-62144.log +0 -6
  283. data/spec/support/logs/Dispatcher - 904742-2935.log +0 -6
  284. data/spec/support/logs/Dispatcher - 904771-62183.log +0 -6
  285. data/spec/support/logs/Dispatcher - 904780-13353.log +0 -6
  286. data/spec/support/logs/Instance - 3208178-11741.error.log +0 -106
  287. data/spec/support/logs/Instance - 3208181-15143.error.log +0 -106
  288. data/spec/support/logs/Instance - 3208183-7742.error.log +0 -106
  289. data/spec/support/logs/Instance - 904628-41184.error.log +0 -105
  290. data/spec/support/logs/Instance - 904631-38626.error.log +0 -105
  291. data/spec/support/logs/Instance - 904634-37879.error.log +0 -105
  292. data/spec/support/logs/Scheduler - 3203309-65225.log +0 -3
  293. data/spec/support/logs/Scheduler - 3203315-52999.log +0 -6
  294. data/spec/support/logs/Scheduler - 3204127-50400.log +0 -3
  295. data/spec/support/logs/Scheduler - 3204138-29313.log +0 -6
  296. data/spec/support/logs/Scheduler - 3204154-9476.log +0 -4
  297. data/spec/support/logs/Scheduler - 3204163-52855.log +0 -1
  298. data/spec/support/logs/Scheduler - 3204175-31574.log +0 -3
  299. data/spec/support/logs/Scheduler - 3204194-7097.log +0 -6
  300. data/spec/support/logs/Scheduler - 3204251-11724.log +0 -3
  301. data/spec/support/logs/Scheduler - 3204262-10820.log +0 -4
  302. data/spec/support/logs/Scheduler - 3207131-48958.log +0 -3
  303. data/spec/support/logs/Scheduler - 3207138-8974.log +0 -6
  304. data/spec/support/logs/Scheduler - 3207187-62652.log +0 -3
  305. data/spec/support/logs/Scheduler - 3207197-19207.log +0 -6
  306. data/spec/support/logs/Scheduler - 3207218-27080.log +0 -4
  307. data/spec/support/logs/Scheduler - 3207228-4393.log +0 -1
  308. data/spec/support/logs/Scheduler - 3207240-7381.log +0 -3
  309. data/spec/support/logs/Scheduler - 3207252-53772.log +0 -6
  310. data/spec/support/logs/Scheduler - 3207306-56622.log +0 -3
  311. data/spec/support/logs/Scheduler - 3207318-9939.log +0 -6
  312. data/spec/support/logs/Scheduler - 3207342-36988.log +0 -3
  313. data/spec/support/logs/Scheduler - 3207352-31746.log +0 -6
  314. data/spec/support/logs/Scheduler - 3207383-56973.log +0 -4
  315. data/spec/support/logs/Scheduler - 3207400-19390.log +0 -6
  316. data/spec/support/logs/Scheduler - 3207442-63021.log +0 -1
  317. data/spec/support/logs/Scheduler - 3207445-42476.log +0 -1
  318. data/spec/support/logs/Scheduler - 3207450-45489.log +0 -1
  319. data/spec/support/logs/Scheduler - 3207453-18262.log +0 -1
  320. data/spec/support/logs/Scheduler - 3207458-47234.log +0 -1
  321. data/spec/support/logs/Scheduler - 3207462-5628.log +0 -1
  322. data/spec/support/logs/Scheduler - 3207464-14620.log +0 -3
  323. data/spec/support/logs/Scheduler - 3207468-4793.log +0 -6
  324. data/spec/support/logs/Scheduler - 3207482-45268.log +0 -4
  325. data/spec/support/logs/Scheduler - 3207494-44991.log +0 -1
  326. data/spec/support/logs/Scheduler - 3207498-21429.log +0 -1
  327. data/spec/support/logs/Scheduler - 3207503-54136.log +0 -1
  328. data/spec/support/logs/Scheduler - 3207507-43714.log +0 -1
  329. data/spec/support/logs/Scheduler - 3207512-38735.log +0 -3
  330. data/spec/support/logs/Scheduler - 3207516-64075.log +0 -1
  331. data/spec/support/logs/Scheduler - 3207523-26974.log +0 -1
  332. data/spec/support/logs/Scheduler - 3207527-30807.log +0 -1
  333. data/spec/support/logs/Scheduler - 3208261-26059.log +0 -16
  334. data/spec/support/logs/Scheduler - 3208278-13735.log +0 -6
  335. data/spec/support/logs/Scheduler - 3208287-55638.log +0 -6
  336. data/spec/support/logs/Scheduler - 3208303-38465.log +0 -6
  337. data/spec/support/logs/Scheduler - 3208334-43532.log +0 -3
  338. data/spec/support/logs/Scheduler - 3208344-20376.log +0 -5
  339. data/spec/support/logs/Scheduler - 3208351-38224.log +0 -1
  340. data/spec/support/logs/Scheduler - 3208355-9843.log +0 -1
  341. data/spec/support/logs/Scheduler - 3208357-43942.log +0 -1
  342. data/spec/support/logs/Scheduler - 3208360-58330.log +0 -1
  343. data/spec/support/logs/Scheduler - 3208363-23807.log +0 -1
  344. data/spec/support/logs/Scheduler - 3208366-29256.log +0 -1
  345. data/spec/support/logs/Scheduler - 3208369-25684.log +0 -1
  346. data/spec/support/logs/Scheduler - 3208372-28479.log +0 -3
  347. data/spec/support/logs/Scheduler - 3208382-34006.log +0 -3
  348. data/spec/support/logs/Scheduler - 3208396-57942.log +0 -3
  349. data/spec/support/logs/Scheduler - 3208402-34617.log +0 -3
  350. data/spec/support/logs/Scheduler - 3208406-31477.log +0 -4
  351. data/spec/support/logs/Scheduler - 3208418-25154.log +0 -1
  352. data/spec/support/logs/Scheduler - 3208423-3948.log +0 -4
  353. data/spec/support/logs/Scheduler - 3208428-21648.log +0 -1
  354. data/spec/support/logs/Scheduler - 3208434-64685.log +0 -1
  355. data/spec/support/logs/Scheduler - 3208440-58157.log +0 -16
  356. data/spec/support/logs/Scheduler - 3208460-6293.log +0 -4
  357. data/spec/support/logs/Scheduler - 3208467-29409.log +0 -1
  358. data/spec/support/logs/Scheduler - 3208470-12825.log +0 -1
  359. data/spec/support/logs/Scheduler - 3208473-52401.log +0 -1
  360. data/spec/support/logs/Scheduler - 3208476-6567.log +0 -1
  361. data/spec/support/logs/Scheduler - 3208480-28476.log +0 -3
  362. data/spec/support/logs/Scheduler - 3208488-36893.log +0 -1
  363. data/spec/support/logs/Scheduler - 3208490-11932.log +0 -1
  364. data/spec/support/logs/Scheduler - 3208493-56676.log +0 -1
  365. data/spec/support/logs/Scheduler - 3208509-46176.log +0 -1
  366. data/spec/support/logs/Scheduler - 3208513-14321.log +0 -1
  367. data/spec/support/logs/Scheduler - 3208517-10539.log +0 -1
  368. data/spec/support/logs/Scheduler - 3208521-30079.log +0 -2
  369. data/spec/support/logs/Scheduler - 903345-9616.log +0 -3
  370. data/spec/support/logs/Scheduler - 903353-58507.log +0 -6
  371. data/spec/support/logs/Scheduler - 903417-55835.log +0 -3
  372. data/spec/support/logs/Scheduler - 903427-18261.log +0 -6
  373. data/spec/support/logs/Scheduler - 903439-36633.log +0 -4
  374. data/spec/support/logs/Scheduler - 903455-41936.log +0 -1
  375. data/spec/support/logs/Scheduler - 903506-60484.log +0 -3
  376. data/spec/support/logs/Scheduler - 903519-10519.log +0 -6
  377. data/spec/support/logs/Scheduler - 903593-8109.log +0 -3
  378. data/spec/support/logs/Scheduler - 903614-61308.log +0 -6
  379. data/spec/support/logs/Scheduler - 903667-39623.log +0 -3
  380. data/spec/support/logs/Scheduler - 903683-35117.log +0 -6
  381. data/spec/support/logs/Scheduler - 903730-34262.log +0 -4
  382. data/spec/support/logs/Scheduler - 903747-57287.log +0 -6
  383. data/spec/support/logs/Scheduler - 903798-40499.log +0 -1
  384. data/spec/support/logs/Scheduler - 903801-5479.log +0 -1
  385. data/spec/support/logs/Scheduler - 903806-11293.log +0 -1
  386. data/spec/support/logs/Scheduler - 903811-52201.log +0 -1
  387. data/spec/support/logs/Scheduler - 903813-54636.log +0 -1
  388. data/spec/support/logs/Scheduler - 903827-5581.log +0 -1
  389. data/spec/support/logs/Scheduler - 903830-48439.log +0 -3
  390. data/spec/support/logs/Scheduler - 903835-17198.log +0 -6
  391. data/spec/support/logs/Scheduler - 903846-28718.log +0 -4
  392. data/spec/support/logs/Scheduler - 903855-45172.log +0 -1
  393. data/spec/support/logs/Scheduler - 903864-11909.log +0 -1
  394. data/spec/support/logs/Scheduler - 903869-1794.log +0 -1
  395. data/spec/support/logs/Scheduler - 903873-59405.log +0 -1
  396. data/spec/support/logs/Scheduler - 903880-3155.log +0 -3
  397. data/spec/support/logs/Scheduler - 903887-52240.log +0 -1
  398. data/spec/support/logs/Scheduler - 903889-27541.log +0 -1
  399. data/spec/support/logs/Scheduler - 903895-16003.log +0 -1
  400. data/spec/support/logs/Scheduler - 904706-61946.log +0 -16
  401. data/spec/support/logs/Scheduler - 904725-2441.log +0 -6
  402. data/spec/support/logs/Scheduler - 904736-12992.log +0 -6
  403. data/spec/support/logs/Scheduler - 904744-61626.log +0 -6
  404. data/spec/support/logs/Scheduler - 904774-45665.log +0 -3
  405. data/spec/support/logs/Scheduler - 904783-51443.log +0 -5
  406. data/spec/support/logs/Scheduler - 904791-45170.log +0 -1
  407. data/spec/support/logs/Scheduler - 904793-58901.log +0 -1
  408. data/spec/support/logs/Scheduler - 904801-2336.log +0 -1
  409. data/spec/support/logs/Scheduler - 904803-10954.log +0 -1
  410. data/spec/support/logs/Scheduler - 904806-25343.log +0 -1
  411. data/spec/support/logs/Scheduler - 904810-23633.log +0 -1
  412. data/spec/support/logs/Scheduler - 904814-27547.log +0 -1
  413. data/spec/support/logs/Scheduler - 904819-53508.log +0 -3
  414. data/spec/support/logs/Scheduler - 904826-41103.log +0 -3
  415. data/spec/support/logs/Scheduler - 904835-20113.log +0 -3
  416. data/spec/support/logs/Scheduler - 904866-61722.log +0 -3
  417. data/spec/support/logs/Scheduler - 904878-18373.log +0 -4
  418. data/spec/support/logs/Scheduler - 904999-46113.log +0 -1
  419. data/spec/support/logs/Scheduler - 905011-23507.log +0 -4
  420. data/spec/support/logs/Scheduler - 905017-8299.log +0 -1
  421. data/spec/support/logs/Scheduler - 905028-51728.log +0 -1
  422. data/spec/support/logs/Scheduler - 905031-16092.log +0 -16
  423. data/spec/support/logs/Scheduler - 905101-65244.log +0 -4
  424. data/spec/support/logs/Scheduler - 905224-20698.log +0 -1
  425. data/spec/support/logs/Scheduler - 905234-53973.log +0 -1
  426. data/spec/support/logs/Scheduler - 905241-48042.log +0 -1
  427. data/spec/support/logs/Scheduler - 905334-30796.log +0 -1
  428. data/spec/support/logs/Scheduler - 905337-14399.log +0 -3
  429. data/spec/support/logs/Scheduler - 905350-31560.log +0 -1
  430. data/spec/support/logs/Scheduler - 905353-63541.log +0 -1
  431. data/spec/support/logs/Scheduler - 905359-22685.log +0 -1
  432. data/spec/support/logs/Scheduler - 905362-31483.log +0 -1
  433. data/spec/support/logs/Scheduler - 905365-28301.log +0 -1
  434. data/spec/support/logs/Scheduler - 905369-51335.log +0 -1
  435. data/spec/support/logs/Scheduler - 905373-43552.log +0 -2
  436. data/spec/support/logs/error-3206970.log +0 -801
  437. data/spec/support/logs/error-903103.log +0 -797
  438. data/spec/support/logs/output_spec_3206970.log +0 -390
  439. data/spec/support/logs/output_spec_903103.log +0 -390
  440. data/spec/support/reports/010223f6102d7d7ef50d7061f5a7c120.crf +0 -0
  441. data/spec/support/reports/0efcc0441bc58e27299737fc0e8bdb4a.crf +0 -0
  442. data/spec/support/reports/1444c78cae8a70d9a8f64a5b84579248.crf +0 -0
  443. data/spec/support/reports/16d1cdae64bbcf0b2083bc1870940fe8.crf +0 -0
  444. data/spec/support/reports/22cd328dd5adf2e5830db3eaf3e6d2fa.crf +0 -0
  445. data/spec/support/reports/26f5f97b84015ea1b3ebfaa04e6863f2.crf +0 -0
  446. data/spec/support/reports/40d544db82e9be4328c8bb16f2abbe96.crf +0 -0
  447. data/spec/support/reports/432466f64ec7b3a9e3a51e6c0c0f2b68.crf +0 -0
  448. data/spec/support/reports/493d52465fdd74388e1c1769e738fe0a.crf +0 -0
  449. data/spec/support/reports/49593f3c7dcff9466cebd4a3f71df16e.crf +0 -0
  450. data/spec/support/reports/4a875ccf578b82ea8af0661d09a0c9a2.crf +0 -0
  451. data/spec/support/reports/4fe265d0f318a758fff8f9c117d85c70.crf +0 -0
  452. data/spec/support/reports/5405af2d7e6bdba82761b3deb0316abb.crf +0 -0
  453. data/spec/support/reports/5801342bc5e7553ca065d9fc76b80a31.crf +0 -0
  454. data/spec/support/reports/5ca817d21692604d643a1ec4b9d698f8.crf +0 -0
  455. data/spec/support/reports/60a48dd87c16aaba48705cfa1102e6f0.crf +0 -0
  456. data/spec/support/reports/61b93d5be434e58e8286bc24375df5a6.crf +0 -0
  457. data/spec/support/reports/62ae63c7a653ccc450a042c83be6272e.crf +0 -0
  458. data/spec/support/reports/6dfba35f84478f2f8740989650e5c9b2.crf +0 -0
  459. data/spec/support/reports/72d8ff7e33ea0a4fa3208de46060ecb4.crf +0 -0
  460. data/spec/support/reports/7e73587e8be563c70f2864bb9982d4ac.crf +0 -0
  461. data/spec/support/reports/8a20cd9e7ea1f083c463f85990e48b9d.crf +0 -0
  462. data/spec/support/reports/8e22c8f69d18bfdc387ac2e2c73fd994.crf +0 -0
  463. data/spec/support/reports/99de7d4c926e154d9df18bbb66044360.crf +0 -0
  464. data/spec/support/reports/a8cda3f125d6de78da7e601e17ae02e0.crf +0 -0
  465. data/spec/support/reports/aa6b3e0cabbfa8f622cc3faa5e70d82d.crf +0 -0
  466. data/spec/support/reports/ad7582cad690ca1f6ec5529766dacecd.crf +0 -0
  467. data/spec/support/reports/af253c3c9e54c7efc1eb19a1ba0bc45b.crf +0 -0
  468. data/spec/support/reports/b57af832ae733e1a4182138f8373029d.crf +0 -0
  469. data/spec/support/reports/c266644ae90cff19058101b06c2410bd.crf +0 -0
  470. data/spec/support/reports/c684686518f8bb5af1fc05632b2ee3a1.crf +0 -0
  471. data/spec/support/reports/d0de163911157b30b56076653a01bd04.crf +0 -0
  472. data/spec/support/reports/d11cb8c19f0ef398e393e461d48fab49.crf +0 -0
  473. data/spec/support/reports/d29486b6155119827e12d512f38cf1a5.crf +0 -0
  474. data/spec/support/reports/d6348fa0f269cef7861d8a55ccb817b8.crf +0 -0
  475. data/spec/support/reports/d68cddd22874664f66ea296768de93cb.crf +0 -0
  476. data/spec/support/reports/d73172a30f03f6e4f73e77a379876368.crf +0 -0
  477. data/spec/support/reports/e0113960b4015876416519d1e36c6174.crf +0 -0
  478. data/spec/support/reports/e684ad3b2061330bf8016b0cda4c8aeb.crf +0 -0
  479. data/spec/support/reports/e6bec3c23e6367f309a43b6faec6c1af.crf +0 -0
  480. data/spec/support/reports/eadbebf5e6e8a2b325cdc82a4a667d1a.crf +0 -0
  481. data/spec/support/reports/fe4ca4a133464c018e8405dd73064f04.crf +0 -0
  482. data/spec/support/snapshots/Cuboid 2021-11-28 11_34_27 +0200 7757c257352bfa7abdfc764fa978115c.csf +0 -0
  483. data/spec/support/snapshots/Cuboid 2021-11-28 11_34_41 +0200 30367c49c18c17b84f6cdbfad6fe8209.csf +0 -0
  484. data/spec/support/snapshots/Cuboid 2021-11-28 11_35_24 +0200 0faa83c7ec023eca9e68e959b2b6a991.csf +0 -0
  485. data/spec/support/snapshots/Cuboid 2021-11-28 11_35_38 +0200 e61c3dae449133e330c24f9d1d34bc17.csf +0 -0
  486. data/spec/support/snapshots/Cuboid 2021-11-28 11_45_36 +0200 ef5b013868ce241f47ebef4f0ee96d23.csf +0 -0
  487. data/spec/support/snapshots/Cuboid 2021-11-28 11_45_42 +0200 ae63b2e851a211039d4dfa999bfc1f79.csf +0 -0
  488. data/spec/support/snapshots/Cuboid 2021-11-28 11_45_45 +0200 59a5d8a5ef5de0937e0d8a697d3a06cb.csf +0 -0
  489. data/spec/support/snapshots/Cuboid 2021-12-26 08_10_45 +0200 7534324302d1127f33460417057c0d99.csf +0 -0
  490. data/spec/support/snapshots/Cuboid 2021-12-26 08_10_59 +0200 2e45425f623e46a876531b65ff3319d4.csf +0 -0
  491. data/spec/support/snapshots/Cuboid 2021-12-26 08_14_43 +0200 d570989be752d5e9f930379a7f861028.csf +0 -0
  492. data/spec/support/snapshots/Cuboid 2021-12-26 08_14_57 +0200 37fe4c6328f04448257e962065d49d05.csf +0 -0
  493. data/spec/support/snapshots/Cuboid 2021-12-26 08_25_10 +0200 728fc33e7947c9dc606d69d7b9202dbc.csf +0 -0
  494. data/spec/support/snapshots/Cuboid 2021-12-26 08_25_15 +0200 cde4edd9a05a4183ff301d157654cb30.csf +0 -0
  495. data/spec/support/snapshots/Cuboid 2021-12-26 08_25_17 +0200 e47c2b6d6354bca5f07fd2903aefd262.csf +0 -0
@@ -1,38 +0,0 @@
1
- module Cuboid::OptionGroups
2
-
3
- # Holds options for {RPC::Server::Dispatcher} servers.
4
- #
5
- # @author Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>
6
- class Dispatcher < Cuboid::OptionGroup
7
-
8
- # @return [String]
9
- # URL of a {RPC::Server::Dispatcher}.
10
- attr_accessor :url
11
-
12
- # @return [Array<Integer>]
13
- # Range of ports to use when spawning instances, first entry should be
14
- # the lowest port number, last the max port number.
15
- attr_accessor :instance_port_range
16
-
17
- # @return [String]
18
- # The URL of a neighbouring {RPC::Server::Dispatcher}, applicable when
19
- # {RPC::Server::Dispatcher} are connected to each other to form a Grid.
20
- #
21
- # @see RPC::Server::Dispatcher::Node
22
- attr_accessor :neighbour
23
-
24
- # @return [Float]
25
- # How regularly to check for neighbour statuses.
26
- attr_accessor :ping_interval
27
-
28
- # @return [String]
29
- # Dispatcher name.
30
- attr_accessor :name
31
-
32
- set_defaults(
33
- ping_interval: 5.0,
34
- instance_port_range: [1025, 65535]
35
- )
36
-
37
- end
38
- end
@@ -1,5 +0,0 @@
1
- require Options.paths.lib + 'rpc/server/dispatcher'
2
-
3
- Arachni::Reactor.global.run do
4
- RPC::Server::Dispatcher.new
5
- end
@@ -1,23 +0,0 @@
1
- # @param (see Cuboid::Processes::Dispatchers#spawn)
2
- # @return (see Cuboid::Processes::Dispatchers#spawn)
3
- def dispatcher_spawn( *args )
4
- Cuboid::Processes::Dispatchers.spawn( *args )
5
- end
6
-
7
- # @param (see Cuboid::Processes::Dispatchers#kill)
8
- # @return (see Cuboid::Processes::Dispatchers#kill)
9
- def dispatcher_kill( *args )
10
- Cuboid::Processes::Dispatchers.kill( *args )
11
- end
12
-
13
- # @param (see Cuboid::Processes::Dispatchers#killall)
14
- # @return (see Cuboid::Processes::Dispatchers#killall)
15
- def dispatcher_killall
16
- Cuboid::Processes::Dispatchers.killall
17
- end
18
-
19
- # @param (see Cuboid::Processes::Dispatchers#connect)
20
- # @return (see Cuboid::Processes::Dispatchers#connect)
21
- def dispatcher_connect( *args )
22
- Cuboid::Processes::Dispatchers.connect( *args )
23
- end
@@ -1,247 +0,0 @@
1
- module Cuboid
2
-
3
- require Options.paths.lib + 'rpc/server/output'
4
-
5
- module RPC
6
-
7
- # Dispatcher node class, helps maintain a list of all available Dispatchers in
8
- # the grid and announce itself to neighbouring Dispatchers.
9
- #
10
- # As soon as a new Node is fired up it checks-in with its neighbour and grabs
11
- # a list of all available peers.
12
- #
13
- # As soon as it receives the peer list it then announces itself to them.
14
- #
15
- # Upon convergence there will be a grid of Dispatchers each one with its own
16
- # copy of all available Dispatcher URLs.
17
- #
18
- # @author Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>
19
- class Server::Dispatcher::Node
20
- include UI::Output
21
-
22
- # Initializes the node by:
23
- #
24
- # * Adding the neighbour (if the user has supplied one) to the peer list.
25
- # * Getting the neighbour's peer list and appending them to its own.
26
- # * Announces itself to the neighbour and instructs it to propagate our URL
27
- # to the others.
28
- #
29
- # @param [Cuboid::Options] options
30
- # @param [Server::Base] server
31
- # Dispatcher's RPC server.
32
- # @param [String] logfile
33
- # Where to send the output.
34
- def initialize( options, server, logfile = nil )
35
- @options = options
36
- @server = server
37
- @url = @server.url
38
-
39
- reroute_to_file( logfile ) if logfile
40
-
41
- print_status 'Initializing grid node...'
42
-
43
- @dead_nodes = Set.new
44
- @neighbours = Set.new
45
- @nodes_info_cache = []
46
-
47
- if (neighbour = @options.dispatcher.neighbour)
48
- # Grab the neighbour's neighbours.
49
- connect_to_peer( neighbour ).neighbours do |urls|
50
- if urls.rpc_exception?
51
- add_dead_neighbour( neighbour )
52
- print_info "Neighbour seems dead: #{neighbour}"
53
- add_dead_neighbour( neighbour )
54
- next
55
- end
56
-
57
- # Add neighbour and announce it to everyone.
58
- add_neighbour( neighbour, true )
59
-
60
- urls.each { |url| @neighbours << url if url != @url }
61
- end
62
- end
63
-
64
- print_status 'Node ready.'
65
-
66
- log_updated_neighbours
67
-
68
- Arachni::Reactor.global.at_interval( @options.dispatcher.ping_interval ) do
69
- ping
70
- check_for_comebacks
71
- end
72
- end
73
-
74
- # @return [Boolean]
75
- # `true` if grid member, `false` otherwise.
76
- def grid_member?
77
- @neighbours.any?
78
- end
79
-
80
- def unplug
81
- @neighbours.each do |peer|
82
- connect_to_peer( peer ).remove_neighbour( @url ) {}
83
- end
84
-
85
- @neighbours.clear
86
- @dead_nodes.clear
87
-
88
- nil
89
- end
90
-
91
- # Adds a neighbour to the peer list.
92
- #
93
- # @param [String] node_url
94
- # URL of a neighbouring node.
95
- # @param [Boolean] propagate
96
- # Whether or not to announce the new node to the peers.
97
- def add_neighbour( node_url, propagate = false )
98
- # we don't want ourselves in the Set
99
- return false if node_url == @url
100
- return false if @neighbours.include?( node_url )
101
-
102
- print_status "Adding neighbour: #{node_url}"
103
-
104
- @neighbours << node_url
105
- log_updated_neighbours
106
- announce( node_url ) if propagate
107
-
108
- connect_to_peer( node_url ).add_neighbour( @url, propagate ) do |res|
109
- next if !res.rpc_exception?
110
- add_dead_neighbour( node_url )
111
- print_status "Neighbour seems dead: #{node_url}"
112
- end
113
- true
114
- end
115
-
116
- def remove_neighbour( url )
117
- @neighbours.delete url
118
- @dead_nodes.delete url
119
- nil
120
- end
121
-
122
- # @return [Array]
123
- # Neighbour/node/peer URLs.
124
- def neighbours
125
- @neighbours.to_a
126
- end
127
-
128
- def neighbours_with_info( &block )
129
- fail 'This method requires a block!' if !block_given?
130
-
131
- @neighbours_cmp = ''
132
-
133
- if @nodes_info_cache.empty? || @neighbours_cmp != neighbours.to_s
134
- @neighbours_cmp = neighbours.to_s
135
-
136
- each = proc do |neighbour, iter|
137
- connect_to_peer( neighbour ).info do |info|
138
- if info.rpc_exception?
139
- print_info "Neighbour seems dead: #{neighbour}"
140
- add_dead_neighbour( neighbour )
141
- log_updated_neighbours
142
-
143
- iter.return( nil )
144
- else
145
- iter.return( info )
146
- end
147
- end
148
- end
149
-
150
- after = proc do |nodes|
151
- @nodes_info_cache = nodes.compact
152
- block.call( @nodes_info_cache )
153
- end
154
-
155
- Arachni::Reactor.global.create_iterator( neighbours ).map( each, after )
156
- else
157
- block.call( @nodes_info_cache )
158
- end
159
- end
160
-
161
- # @return [Hash]
162
- #
163
- # * `url` -- This node's URL.
164
- # * `name` -- Nickname
165
- # * `neighbours` -- Array of neighbours.
166
- def info
167
- {
168
- 'url' => @url,
169
- 'name' => @options.dispatcher.name,
170
- 'neighbours' => @neighbours.to_a,
171
- 'unreachable_neighbours' => @dead_nodes.to_a
172
- }
173
- end
174
-
175
- def alive?
176
- true
177
- end
178
-
179
- private
180
-
181
- def add_dead_neighbour( url )
182
- remove_neighbour( url )
183
- @dead_nodes << url
184
- end
185
-
186
- def log_updated_neighbours
187
- print_info 'Updated neighbours:'
188
-
189
- if !neighbours.empty?
190
- neighbours.each { |node| print_info( '---- ' + node ) }
191
- else
192
- print_info '<empty>'
193
- end
194
- end
195
-
196
- def ping
197
- neighbours.each do |neighbour|
198
- connect_to_peer( neighbour ).alive? do |res|
199
- next if !res.rpc_exception?
200
- add_dead_neighbour( neighbour )
201
- print_status "Found dead neighbour: #{neighbour} "
202
- end
203
- end
204
- end
205
-
206
- def check_for_comebacks
207
- @dead_nodes.dup.each do |url|
208
- neighbour = connect_to_peer( url )
209
- neighbour.alive? do |res|
210
- next if res.rpc_exception?
211
-
212
- print_status "Dispatcher came back to life: #{url}"
213
- ([@url] | neighbours).each do |node|
214
- neighbour.add_neighbour( node ){}
215
- end
216
-
217
- add_neighbour( url )
218
- @dead_nodes.delete url
219
- end
220
- end
221
- end
222
-
223
- # Announces the node to the ones in the peer list
224
- #
225
- # @param [String] node
226
- # URL
227
- def announce( node )
228
- print_status "Advertising: #{node}"
229
-
230
- neighbours.each do |peer|
231
- next if peer == node
232
-
233
- print_info '---- to: ' + peer
234
- connect_to_peer( peer ).add_neighbour( node ) do |res|
235
- add_dead_neighbour( peer ) if res.rpc_exception?
236
- end
237
- end
238
- end
239
-
240
- def connect_to_peer( url )
241
- @rpc_clients ||= {}
242
- @rpc_clients[url] ||= Client::Dispatcher.new( url ).node
243
- end
244
-
245
- end
246
- end
247
- end
@@ -1,106 +0,0 @@
1
-
2
- 2021-12-26 08:18:38 +0200 --------------------------------------------------------------------------------
3
- ENV:
4
- ---
5
- PROFILEHOME: ''
6
- LESSOPEN: "| /usr/bin/lesspipe %s"
7
- KDE_FULL_SESSION: 'true'
8
- LANGUAGE: en_US:en
9
- rvm_pretty_print_flag: auto
10
- USER: zapotek
11
- PAM_KWALLET5_LOGIN: "/run/user/1000/kwallet5.socket"
12
- BUNDLER_VERSION: 2.3.0.dev
13
- XDG_SEAT: seat0
14
- COMP_WORDBREAKS: " \t\n\"'><;|&(:"
15
- SSH_AGENT_PID: '2706'
16
- XDG_SESSION_TYPE: x11
17
- KONSOLE_VERSION: '191203'
18
- SHLVL: '1'
19
- RUBYOPT: "-r/home/zapotek/.rvm/rubies/ruby-3.1.0-preview1/lib/ruby/3.1.0/bundler/setup"
20
- HOME: "/home/zapotek"
21
- OLDPWD: "/home/zapotek/workspace/ng/scnr/ui-cli"
22
- DESKTOP_SESSION: plasma
23
- QTDIR: "/usr/local/qt"
24
- BUNDLER_ORIG_BUNDLER_VERSION: BUNDLER_ENVIRONMENT_PRESERVER_INTENTIONALLY_NIL
25
- SHELL_SESSION_ID: 4651ba726e8b43b099b43e3320712b07
26
- GTK_RC_FILES: "/etc/gtk/gtkrc:/home/zapotek/.gtkrc:/home/zapotek/.config/gtkrc"
27
- GTK_MODULES: gail:atk-bridge
28
- XDG_SEAT_PATH: "/org/freedesktop/DisplayManager/Seat0"
29
- KDE_SESSION_VERSION: '5'
30
- KONSOLE_DBUS_SESSION: "/Sessions/7"
31
- DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus
32
- COLORTERM: truecolor
33
- MANDATORY_PATH: "/usr/share/gconf/plasma.mandatory.path"
34
- QT_QPA_PLATFORMTHEME: appmenu-qt5
35
- LOGNAME: zapotek
36
- WINDOWID: '52428807'
37
- rvm_bin_path: "/home/zapotek/.rvm/bin"
38
- QT_AUTO_SCREEN_SCALE_FACTOR: '0'
39
- _: "/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@cuboid/bin/rake"
40
- RUBYLIB: ''
41
- RUBY_VERSION: ruby-3.1.0-preview1
42
- XDG_SESSION_CLASS: user
43
- DEFAULTS_PATH: "/usr/share/gconf/plasma.default.path"
44
- COLORFGBG: 15;0
45
- IRBRC: "/home/zapotek/.rvm/rubies/ruby-3.1.0-preview1/.irbrc"
46
- TERM: xterm-256color
47
- XDG_SESSION_ID: '3'
48
- GTK2_MODULES: overlay-scrollbar
49
- GTK2_RC_FILES: "/etc/gtk-2.0/gtkrc:/home/zapotek/.gtkrc-2.0:/home/zapotek/.config/gtkrc-2.0"
50
- PATH: "/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@cuboid/bin:/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@global/bin:/home/zapotek/.rvm/rubies/ruby-3.1.0-preview1/bin:/home/zapotek/.rvm/bin:/usr/local/lib/nodejs/node-v12.18.0-linux-x64/bin:/home/zapotek/.cargo/bin:/usr/local/qt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
51
- SESSION_MANAGER: local/zonster:@/tmp/.ICE-unix/2783,unix/zonster:/tmp/.ICE-unix/2783
52
- XDG_SESSION_PATH: "/org/freedesktop/DisplayManager/Session1"
53
- XDG_RUNTIME_DIR: "/run/user/1000"
54
- XCURSOR_THEME: breeze_cursors
55
- BUNDLER_ORIG_MANPATH: "/usr/local/qt/doc/man:"
56
- BUNDLE_BIN_PATH: "/home/zapotek/.rvm/rubies/ruby-3.1.0-preview1/lib/ruby/gems/3.1.0/gems/bundler-2.3.0.dev/libexec/bundle"
57
- MY_RUBY_HOME: "/home/zapotek/.rvm/rubies/ruby-3.1.0-preview1"
58
- DISPLAY: ":0"
59
- LANG: en_US.UTF-8
60
- XDG_CURRENT_DESKTOP: KDE
61
- XDG_SESSION_DESKTOP: KDE
62
- XAUTHORITY: "/tmp/xauth-1000-_0"
63
- LS_COLORS: 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'
64
- SSH_AUTH_SOCK: "/tmp/ssh-Sup7fBK1Ag1y/agent.2543"
65
- SHELL: "/bin/bash"
66
- GOPATH: "/home/zapotek/workspace/gocode/"
67
- BUNDLER_ORIG_BUNDLE_BIN_PATH: BUNDLER_ENVIRONMENT_PRESERVER_INTENTIONALLY_NIL
68
- BUNDLER_ORIG_RUBYOPT: BUNDLER_ENVIRONMENT_PRESERVER_INTENTIONALLY_NIL
69
- QT_ACCESSIBILITY: '1'
70
- rvm_prefix: "/home/zapotek"
71
- GEM_HOME: "/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@cuboid"
72
- LESSCLOSE: "/usr/bin/lesspipe %s %s"
73
- KONSOLE_DBUS_SERVICE: ":1.50"
74
- BUNDLER_ORIG_RB_USER_INSTALL: BUNDLER_ENVIRONMENT_PRESERVER_INTENTIONALLY_NIL
75
- rvm_version: 1.29.12 (latest)
76
- GPG_AGENT_INFO: "/run/user/1000/gnupg/S.gpg-agent:0:1"
77
- BUNDLE_GEMFILE: "/home/zapotek/workspace/qadron/cuboid/Gemfile"
78
- XDG_VTNR: '1'
79
- BUNDLER_ORIG_GEM_HOME: "/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@cuboid"
80
- PWD: "/home/zapotek/workspace/qadron/cuboid"
81
- GEM_PATH: "/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@cuboid:/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@global"
82
- XDG_CONFIG_DIRS: "/etc/xdg/xdg-plasma:/etc/xdg:/usr/share/kubuntu-default-settings/kf5-settings"
83
- XDG_DATA_DIRS: "/usr/share/plasma:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/var/lib/snapd/desktop"
84
- KDE_SESSION_UID: '1000'
85
- rvm_ruby_string: ruby-3.1.0-preview1
86
- BUNDLER_ORIG_BUNDLE_GEMFILE: BUNDLER_ENVIRONMENT_PRESERVER_INTENTIONALLY_NIL
87
- BUNDLER_ORIG_GEM_PATH: "/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@cuboid:/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@global"
88
- BUNDLER_ORIG_PATH: "/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@cuboid/bin:/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@global/bin:/home/zapotek/.rvm/rubies/ruby-3.1.0-preview1/bin:/home/zapotek/.rvm/bin:/usr/local/lib/nodejs/node-v12.18.0-linux-x64/bin:/home/zapotek/.cargo/bin:/usr/local/qt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
89
- MANPATH: "/usr/local/qt/doc/man:"
90
- rvm_path: "/home/zapotek/.rvm"
91
- rvm_delete_flag: '0'
92
- BUNDLER_ORIG_RUBYLIB: BUNDLER_ENVIRONMENT_PRESERVER_INTENTIONALLY_NIL
93
- CUBOID_SPAWN_OPTIONS: BAh7DzoKcGF0aHN7DjoJcm9vdEkiKy9ob21lL3phcG90ZWsvd29ya3NwYWNlL3FhZHJvbi9jdWJvaWQvBjoGRVQ6DnNuYXBzaG90c0kiQi9ob21lL3phcG90ZWsvd29ya3NwYWNlL3FhZHJvbi9jdWJvaWQvc3BlYy9zdXBwb3J0L3NuYXBzaG90cy8GOwdUOgxyZXBvcnRzSSJAL2hvbWUvemFwb3Rlay93b3Jrc3BhY2UvcWFkcm9uL2N1Ym9pZC9zcGVjL3N1cHBvcnQvcmVwb3J0cy8GOwdUOglsb2dzSSI9L2hvbWUvemFwb3Rlay93b3Jrc3BhY2UvcWFkcm9uL2N1Ym9pZC9zcGVjL3N1cHBvcnQvbG9ncy8GOwdUOghsaWJJIjYvaG9tZS96YXBvdGVrL3dvcmtzcGFjZS9xYWRyb24vY3Vib2lkL2xpYi9jdWJvaWQvBjsHVDoQZXhlY3V0YWJsZXNJIkwvaG9tZS96YXBvdGVrL3dvcmtzcGFjZS9xYWRyb24vY3Vib2lkL2xpYi9jdWJvaWQvcHJvY2Vzc2VzL2V4ZWN1dGFibGVzLwY7B1Q6DHN1cHBvcnRJIj4vaG9tZS96YXBvdGVrL3dvcmtzcGFjZS9xYWRyb24vY3Vib2lkL2xpYi9jdWJvaWQvc3VwcG9ydC8GOwdUOgttaXhpbnNJIkUvaG9tZS96YXBvdGVrL3dvcmtzcGFjZS9xYWRyb24vY3Vib2lkL2xpYi9jdWJvaWQvc3VwcG9ydC9taXhpbnMvBjsHVDoQYXBwbGljYXRpb25JIk0vaG9tZS96YXBvdGVrL3dvcmtzcGFjZS9xYWRyb24vY3Vib2lkL3NwZWMvc3VwcG9ydC9maXh0dXJlcy8vbW9ja19hcHAucmIGOwdUOg5kYXRhc3RvcmV7ADoPZGlzcGF0Y2hlcnsIOhJwaW5nX2ludGVydmFsZgY1OhhpbnN0YW5jZV9wb3J0X3JhbmdlWwdpAgEEaQL//zoIdXJsMDoLb3V0cHV0ewA6C3JlcG9ydHsGOglwYXRoMDoIcnBjewo6GWNvbm5lY3Rpb25fcG9vbF9zaXplaQY6E3NlcnZlcl9hZGRyZXNzSSIOMTI3LjAuMC4xBjsHVDoQc2VydmVyX3BvcnRpAo3eOhJzZXJ2ZXJfc29ja2V0MDocc2VydmVyX2V4dGVybmFsX2FkZHJlc3MwOg5zY2hlZHVsZXJ7BzsSQBI7E1sHaQIBBGkC//86DXNuYXBzaG90ewY7F0kiQi9ob21lL3phcG90ZWsvd29ya3NwYWNlL3FhZHJvbi9jdWJvaWQvc3BlYy9zdXBwb3J0L3NuYXBzaG90cy8GOwdUOgtzeXN0ZW17BjoObWF4X3Nsb3RzaQ86EmF1dGhvcml6ZWRfYnkw
94
- --------------------------------------------------------------------------------
95
- OPTIONS:
96
- ---
97
- datastore: {}
98
- scheduler:
99
- ping_interval: 5.0
100
- instance_port_range:
101
- - 1025
102
- - 65535
103
- url: 127.0.0.1:56973
104
- authorized_by:
105
- --------------------------------------------------------------------------------
106
- [2021-12-26 08:18:38 +0200] [dcc80431ec94be76d81ce47b3a3e3148] Failed: [Arachni::RPC::Exceptions::ConnectionError] Connection closed [Connection refused - connect(2) for 127.0.0.1:49338]
@@ -1,106 +0,0 @@
1
-
2
- 2021-12-26 08:19:29 +0200 --------------------------------------------------------------------------------
3
- ENV:
4
- ---
5
- PROFILEHOME: ''
6
- LESSOPEN: "| /usr/bin/lesspipe %s"
7
- KDE_FULL_SESSION: 'true'
8
- LANGUAGE: en_US:en
9
- rvm_pretty_print_flag: auto
10
- USER: zapotek
11
- PAM_KWALLET5_LOGIN: "/run/user/1000/kwallet5.socket"
12
- BUNDLER_VERSION: 2.3.0.dev
13
- XDG_SEAT: seat0
14
- COMP_WORDBREAKS: " \t\n\"'><;|&(:"
15
- SSH_AGENT_PID: '2706'
16
- XDG_SESSION_TYPE: x11
17
- KONSOLE_VERSION: '191203'
18
- SHLVL: '1'
19
- RUBYOPT: "-r/home/zapotek/.rvm/rubies/ruby-3.1.0-preview1/lib/ruby/3.1.0/bundler/setup"
20
- HOME: "/home/zapotek"
21
- OLDPWD: "/home/zapotek/workspace/ng/scnr/ui-cli"
22
- DESKTOP_SESSION: plasma
23
- QTDIR: "/usr/local/qt"
24
- BUNDLER_ORIG_BUNDLER_VERSION: BUNDLER_ENVIRONMENT_PRESERVER_INTENTIONALLY_NIL
25
- SHELL_SESSION_ID: 4651ba726e8b43b099b43e3320712b07
26
- GTK_RC_FILES: "/etc/gtk/gtkrc:/home/zapotek/.gtkrc:/home/zapotek/.config/gtkrc"
27
- GTK_MODULES: gail:atk-bridge
28
- XDG_SEAT_PATH: "/org/freedesktop/DisplayManager/Seat0"
29
- KDE_SESSION_VERSION: '5'
30
- KONSOLE_DBUS_SESSION: "/Sessions/7"
31
- DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus
32
- COLORTERM: truecolor
33
- MANDATORY_PATH: "/usr/share/gconf/plasma.mandatory.path"
34
- QT_QPA_PLATFORMTHEME: appmenu-qt5
35
- LOGNAME: zapotek
36
- WINDOWID: '52428807'
37
- rvm_bin_path: "/home/zapotek/.rvm/bin"
38
- QT_AUTO_SCREEN_SCALE_FACTOR: '0'
39
- _: "/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@cuboid/bin/rake"
40
- RUBYLIB: ''
41
- RUBY_VERSION: ruby-3.1.0-preview1
42
- XDG_SESSION_CLASS: user
43
- DEFAULTS_PATH: "/usr/share/gconf/plasma.default.path"
44
- COLORFGBG: 15;0
45
- IRBRC: "/home/zapotek/.rvm/rubies/ruby-3.1.0-preview1/.irbrc"
46
- TERM: xterm-256color
47
- XDG_SESSION_ID: '3'
48
- GTK2_MODULES: overlay-scrollbar
49
- GTK2_RC_FILES: "/etc/gtk-2.0/gtkrc:/home/zapotek/.gtkrc-2.0:/home/zapotek/.config/gtkrc-2.0"
50
- PATH: "/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@cuboid/bin:/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@global/bin:/home/zapotek/.rvm/rubies/ruby-3.1.0-preview1/bin:/home/zapotek/.rvm/bin:/usr/local/lib/nodejs/node-v12.18.0-linux-x64/bin:/home/zapotek/.cargo/bin:/usr/local/qt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
51
- SESSION_MANAGER: local/zonster:@/tmp/.ICE-unix/2783,unix/zonster:/tmp/.ICE-unix/2783
52
- XDG_SESSION_PATH: "/org/freedesktop/DisplayManager/Session1"
53
- XDG_RUNTIME_DIR: "/run/user/1000"
54
- XCURSOR_THEME: breeze_cursors
55
- BUNDLER_ORIG_MANPATH: "/usr/local/qt/doc/man:"
56
- BUNDLE_BIN_PATH: "/home/zapotek/.rvm/rubies/ruby-3.1.0-preview1/lib/ruby/gems/3.1.0/gems/bundler-2.3.0.dev/libexec/bundle"
57
- MY_RUBY_HOME: "/home/zapotek/.rvm/rubies/ruby-3.1.0-preview1"
58
- DISPLAY: ":0"
59
- LANG: en_US.UTF-8
60
- XDG_CURRENT_DESKTOP: KDE
61
- XDG_SESSION_DESKTOP: KDE
62
- XAUTHORITY: "/tmp/xauth-1000-_0"
63
- LS_COLORS: 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'
64
- SSH_AUTH_SOCK: "/tmp/ssh-Sup7fBK1Ag1y/agent.2543"
65
- SHELL: "/bin/bash"
66
- GOPATH: "/home/zapotek/workspace/gocode/"
67
- BUNDLER_ORIG_BUNDLE_BIN_PATH: BUNDLER_ENVIRONMENT_PRESERVER_INTENTIONALLY_NIL
68
- BUNDLER_ORIG_RUBYOPT: BUNDLER_ENVIRONMENT_PRESERVER_INTENTIONALLY_NIL
69
- QT_ACCESSIBILITY: '1'
70
- rvm_prefix: "/home/zapotek"
71
- GEM_HOME: "/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@cuboid"
72
- LESSCLOSE: "/usr/bin/lesspipe %s %s"
73
- KONSOLE_DBUS_SERVICE: ":1.50"
74
- BUNDLER_ORIG_RB_USER_INSTALL: BUNDLER_ENVIRONMENT_PRESERVER_INTENTIONALLY_NIL
75
- rvm_version: 1.29.12 (latest)
76
- GPG_AGENT_INFO: "/run/user/1000/gnupg/S.gpg-agent:0:1"
77
- BUNDLE_GEMFILE: "/home/zapotek/workspace/qadron/cuboid/Gemfile"
78
- XDG_VTNR: '1'
79
- BUNDLER_ORIG_GEM_HOME: "/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@cuboid"
80
- PWD: "/home/zapotek/workspace/qadron/cuboid"
81
- GEM_PATH: "/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@cuboid:/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@global"
82
- XDG_CONFIG_DIRS: "/etc/xdg/xdg-plasma:/etc/xdg:/usr/share/kubuntu-default-settings/kf5-settings"
83
- XDG_DATA_DIRS: "/usr/share/plasma:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/var/lib/snapd/desktop"
84
- KDE_SESSION_UID: '1000'
85
- rvm_ruby_string: ruby-3.1.0-preview1
86
- BUNDLER_ORIG_BUNDLE_GEMFILE: BUNDLER_ENVIRONMENT_PRESERVER_INTENTIONALLY_NIL
87
- BUNDLER_ORIG_GEM_PATH: "/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@cuboid:/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@global"
88
- BUNDLER_ORIG_PATH: "/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@cuboid/bin:/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@global/bin:/home/zapotek/.rvm/rubies/ruby-3.1.0-preview1/bin:/home/zapotek/.rvm/bin:/usr/local/lib/nodejs/node-v12.18.0-linux-x64/bin:/home/zapotek/.cargo/bin:/usr/local/qt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
89
- MANPATH: "/usr/local/qt/doc/man:"
90
- rvm_path: "/home/zapotek/.rvm"
91
- rvm_delete_flag: '0'
92
- BUNDLER_ORIG_RUBYLIB: BUNDLER_ENVIRONMENT_PRESERVER_INTENTIONALLY_NIL
93
- CUBOID_SPAWN_OPTIONS: BAh7DzoKcGF0aHN7DjoJcm9vdEkiKy9ob21lL3phcG90ZWsvd29ya3NwYWNlL3FhZHJvbi9jdWJvaWQvBjoGRVQ6DnNuYXBzaG90c0kiQi9ob21lL3phcG90ZWsvd29ya3NwYWNlL3FhZHJvbi9jdWJvaWQvc3BlYy9zdXBwb3J0L3NuYXBzaG90cy8GOwdUOgxyZXBvcnRzSSJAL2hvbWUvemFwb3Rlay93b3Jrc3BhY2UvcWFkcm9uL2N1Ym9pZC9zcGVjL3N1cHBvcnQvcmVwb3J0cy8GOwdUOglsb2dzSSI9L2hvbWUvemFwb3Rlay93b3Jrc3BhY2UvcWFkcm9uL2N1Ym9pZC9zcGVjL3N1cHBvcnQvbG9ncy8GOwdUOghsaWJJIjYvaG9tZS96YXBvdGVrL3dvcmtzcGFjZS9xYWRyb24vY3Vib2lkL2xpYi9jdWJvaWQvBjsHVDoQZXhlY3V0YWJsZXNJIkwvaG9tZS96YXBvdGVrL3dvcmtzcGFjZS9xYWRyb24vY3Vib2lkL2xpYi9jdWJvaWQvcHJvY2Vzc2VzL2V4ZWN1dGFibGVzLwY7B1Q6DHN1cHBvcnRJIj4vaG9tZS96YXBvdGVrL3dvcmtzcGFjZS9xYWRyb24vY3Vib2lkL2xpYi9jdWJvaWQvc3VwcG9ydC8GOwdUOgttaXhpbnNJIkUvaG9tZS96YXBvdGVrL3dvcmtzcGFjZS9xYWRyb24vY3Vib2lkL2xpYi9jdWJvaWQvc3VwcG9ydC9taXhpbnMvBjsHVDoQYXBwbGljYXRpb25JIk0vaG9tZS96YXBvdGVrL3dvcmtzcGFjZS9xYWRyb24vY3Vib2lkL3NwZWMvc3VwcG9ydC9maXh0dXJlcy8vbW9ja19hcHAucmIGOwdUOg5kYXRhc3RvcmV7ADoPZGlzcGF0Y2hlcnsIOhJwaW5nX2ludGVydmFsZgY1OhhpbnN0YW5jZV9wb3J0X3JhbmdlWwdpAgEEaQL//zoIdXJsMDoLb3V0cHV0ewA6C3JlcG9ydHsGOglwYXRoMDoIcnBjewk6GWNvbm5lY3Rpb25fcG9vbF9zaXplaQY6E3NlcnZlcl9hZGRyZXNzSSIOMTI3LjAuMC4xBjsHVDoQc2VydmVyX3BvcnRpAtSwOhxzZXJ2ZXJfZXh0ZXJuYWxfYWRkcmVzczA6DnNjaGVkdWxlcnsHOxJAEjsTWwdpAgEEaQL//zoNc25hcHNob3R7BjsXSSJCL2hvbWUvemFwb3Rlay93b3Jrc3BhY2UvcWFkcm9uL2N1Ym9pZC9zcGVjL3N1cHBvcnQvc25hcHNob3RzLwY7B1Q6C3N5c3RlbXsGOg5tYXhfc2xvdHNpDzoSYXV0aG9yaXplZF9ieTA=
94
- --------------------------------------------------------------------------------
95
- OPTIONS:
96
- ---
97
- datastore: {}
98
- scheduler:
99
- ping_interval: 5.0
100
- instance_port_range:
101
- - 1025
102
- - 65535
103
- url: 127.0.0.1:45268
104
- authorized_by:
105
- --------------------------------------------------------------------------------
106
- [2021-12-26 08:19:29 +0200] [759410110ebb70b8a25b47628ac4b0ea] Failed: [Arachni::RPC::Exceptions::ConnectionError] Connection closed [Connection refused - connect(2) for 127.0.0.1:46009]
@@ -1,109 +0,0 @@
1
-
2
- 2021-12-26 08:27:04 +0200 --------------------------------------------------------------------------------
3
- ENV:
4
- ---
5
- PROFILEHOME: ''
6
- LESSOPEN: "| /usr/bin/lesspipe %s"
7
- KDE_FULL_SESSION: 'true'
8
- LANGUAGE: en_US:en
9
- rvm_pretty_print_flag: auto
10
- USER: zapotek
11
- PAM_KWALLET5_LOGIN: "/run/user/1000/kwallet5.socket"
12
- BUNDLER_VERSION: 2.3.0.dev
13
- XDG_SEAT: seat0
14
- COMP_WORDBREAKS: " \t\n\"'><;|&(:"
15
- SSH_AGENT_PID: '2706'
16
- XDG_SESSION_TYPE: x11
17
- KONSOLE_VERSION: '191203'
18
- SHLVL: '1'
19
- RUBYOPT: "-r/home/zapotek/.rvm/rubies/ruby-3.1.0-preview1/lib/ruby/3.1.0/bundler/setup"
20
- HOME: "/home/zapotek"
21
- OLDPWD: "/home/zapotek/workspace/ng/scnr/ui-cli"
22
- DESKTOP_SESSION: plasma
23
- QTDIR: "/usr/local/qt"
24
- BUNDLER_ORIG_BUNDLER_VERSION: BUNDLER_ENVIRONMENT_PRESERVER_INTENTIONALLY_NIL
25
- SHELL_SESSION_ID: 4651ba726e8b43b099b43e3320712b07
26
- GTK_RC_FILES: "/etc/gtk/gtkrc:/home/zapotek/.gtkrc:/home/zapotek/.config/gtkrc"
27
- GTK_MODULES: gail:atk-bridge
28
- XDG_SEAT_PATH: "/org/freedesktop/DisplayManager/Seat0"
29
- KDE_SESSION_VERSION: '5'
30
- KONSOLE_DBUS_SESSION: "/Sessions/7"
31
- DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus
32
- COLORTERM: truecolor
33
- MANDATORY_PATH: "/usr/share/gconf/plasma.mandatory.path"
34
- QT_QPA_PLATFORMTHEME: appmenu-qt5
35
- LOGNAME: zapotek
36
- WINDOWID: '52428807'
37
- rvm_bin_path: "/home/zapotek/.rvm/bin"
38
- QT_AUTO_SCREEN_SCALE_FACTOR: '0'
39
- _: "/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@cuboid/bin/rake"
40
- RUBYLIB: ''
41
- RUBY_VERSION: ruby-3.1.0-preview1
42
- XDG_SESSION_CLASS: user
43
- DEFAULTS_PATH: "/usr/share/gconf/plasma.default.path"
44
- COLORFGBG: 15;0
45
- IRBRC: "/home/zapotek/.rvm/rubies/ruby-3.1.0-preview1/.irbrc"
46
- TERM: xterm-256color
47
- XDG_SESSION_ID: '3'
48
- GTK2_MODULES: overlay-scrollbar
49
- GTK2_RC_FILES: "/etc/gtk-2.0/gtkrc:/home/zapotek/.gtkrc-2.0:/home/zapotek/.config/gtkrc-2.0"
50
- PATH: "/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@cuboid/bin:/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@global/bin:/home/zapotek/.rvm/rubies/ruby-3.1.0-preview1/bin:/home/zapotek/.rvm/bin:/usr/local/lib/nodejs/node-v12.18.0-linux-x64/bin:/home/zapotek/.cargo/bin:/usr/local/qt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
51
- SESSION_MANAGER: local/zonster:@/tmp/.ICE-unix/2783,unix/zonster:/tmp/.ICE-unix/2783
52
- XDG_SESSION_PATH: "/org/freedesktop/DisplayManager/Session1"
53
- XDG_RUNTIME_DIR: "/run/user/1000"
54
- XCURSOR_THEME: breeze_cursors
55
- BUNDLER_ORIG_MANPATH: "/usr/local/qt/doc/man:"
56
- BUNDLE_BIN_PATH: "/home/zapotek/.rvm/rubies/ruby-3.1.0-preview1/lib/ruby/gems/3.1.0/gems/bundler-2.3.0.dev/libexec/bundle"
57
- MY_RUBY_HOME: "/home/zapotek/.rvm/rubies/ruby-3.1.0-preview1"
58
- DISPLAY: ":0"
59
- LANG: en_US.UTF-8
60
- XDG_CURRENT_DESKTOP: KDE
61
- XDG_SESSION_DESKTOP: KDE
62
- XAUTHORITY: "/tmp/xauth-1000-_0"
63
- LS_COLORS: 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'
64
- SSH_AUTH_SOCK: "/tmp/ssh-Sup7fBK1Ag1y/agent.2543"
65
- SHELL: "/bin/bash"
66
- GOPATH: "/home/zapotek/workspace/gocode/"
67
- BUNDLER_ORIG_BUNDLE_BIN_PATH: BUNDLER_ENVIRONMENT_PRESERVER_INTENTIONALLY_NIL
68
- BUNDLER_ORIG_RUBYOPT: BUNDLER_ENVIRONMENT_PRESERVER_INTENTIONALLY_NIL
69
- QT_ACCESSIBILITY: '1'
70
- rvm_prefix: "/home/zapotek"
71
- GEM_HOME: "/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@cuboid"
72
- LESSCLOSE: "/usr/bin/lesspipe %s %s"
73
- KONSOLE_DBUS_SERVICE: ":1.50"
74
- BUNDLER_ORIG_RB_USER_INSTALL: BUNDLER_ENVIRONMENT_PRESERVER_INTENTIONALLY_NIL
75
- rvm_version: 1.29.12 (latest)
76
- GPG_AGENT_INFO: "/run/user/1000/gnupg/S.gpg-agent:0:1"
77
- BUNDLE_GEMFILE: "/home/zapotek/workspace/qadron/cuboid/Gemfile"
78
- XDG_VTNR: '1'
79
- BUNDLER_ORIG_GEM_HOME: "/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@cuboid"
80
- PWD: "/home/zapotek/workspace/qadron/cuboid"
81
- GEM_PATH: "/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@cuboid:/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@global"
82
- XDG_CONFIG_DIRS: "/etc/xdg/xdg-plasma:/etc/xdg:/usr/share/kubuntu-default-settings/kf5-settings"
83
- XDG_DATA_DIRS: "/usr/share/plasma:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/var/lib/snapd/desktop"
84
- KDE_SESSION_UID: '1000'
85
- rvm_ruby_string: ruby-3.1.0-preview1
86
- BUNDLER_ORIG_BUNDLE_GEMFILE: BUNDLER_ENVIRONMENT_PRESERVER_INTENTIONALLY_NIL
87
- BUNDLER_ORIG_GEM_PATH: "/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@cuboid:/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@global"
88
- BUNDLER_ORIG_PATH: "/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@cuboid/bin:/home/zapotek/.rvm/gems/ruby-3.1.0-preview1@global/bin:/home/zapotek/.rvm/rubies/ruby-3.1.0-preview1/bin:/home/zapotek/.rvm/bin:/usr/local/lib/nodejs/node-v12.18.0-linux-x64/bin:/home/zapotek/.cargo/bin:/usr/local/qt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
89
- MANPATH: "/usr/local/qt/doc/man:"
90
- rvm_path: "/home/zapotek/.rvm"
91
- rvm_delete_flag: '0'
92
- BUNDLER_ORIG_RUBYLIB: BUNDLER_ENVIRONMENT_PRESERVER_INTENTIONALLY_NIL
93
- CUBOID_SPAWN_OPTIONS: BAh7DzoKcGF0aHN7DjoJcm9vdEkiKy9ob21lL3phcG90ZWsvd29ya3NwYWNlL3FhZHJvbi9jdWJvaWQvBjoGRVQ6DnNuYXBzaG90c0kiQi9ob21lL3phcG90ZWsvd29ya3NwYWNlL3FhZHJvbi9jdWJvaWQvc3BlYy9zdXBwb3J0L3NuYXBzaG90cy8GOwdUOgxyZXBvcnRzSSJAL2hvbWUvemFwb3Rlay93b3Jrc3BhY2UvcWFkcm9uL2N1Ym9pZC9zcGVjL3N1cHBvcnQvcmVwb3J0cy8GOwdUOglsb2dzSSI9L2hvbWUvemFwb3Rlay93b3Jrc3BhY2UvcWFkcm9uL2N1Ym9pZC9zcGVjL3N1cHBvcnQvbG9ncy8GOwdUOghsaWJJIjYvaG9tZS96YXBvdGVrL3dvcmtzcGFjZS9xYWRyb24vY3Vib2lkL2xpYi9jdWJvaWQvBjsHVDoQZXhlY3V0YWJsZXNJIkwvaG9tZS96YXBvdGVrL3dvcmtzcGFjZS9xYWRyb24vY3Vib2lkL2xpYi9jdWJvaWQvcHJvY2Vzc2VzL2V4ZWN1dGFibGVzLwY7B1Q6DHN1cHBvcnRJIj4vaG9tZS96YXBvdGVrL3dvcmtzcGFjZS9xYWRyb24vY3Vib2lkL2xpYi9jdWJvaWQvc3VwcG9ydC8GOwdUOgttaXhpbnNJIkUvaG9tZS96YXBvdGVrL3dvcmtzcGFjZS9xYWRyb24vY3Vib2lkL2xpYi9jdWJvaWQvc3VwcG9ydC9taXhpbnMvBjsHVDoQYXBwbGljYXRpb25JIk0vaG9tZS96YXBvdGVrL3dvcmtzcGFjZS9xYWRyb24vY3Vib2lkL3NwZWMvc3VwcG9ydC9maXh0dXJlcy8vbW9ja19hcHAucmIGOwdUOg5kYXRhc3RvcmV7ADoPZGlzcGF0Y2hlcnsIOhJwaW5nX2ludGVydmFsZgY1OhhpbnN0YW5jZV9wb3J0X3JhbmdlWwdpAgEEaQL//zoIdXJsSSIUMTI3LjAuMC4xOjMyNzU5BjsHVDoLb3V0cHV0ewA6C3JlcG9ydHsGOglwYXRoMDoIcnBjewk6GWNvbm5lY3Rpb25fcG9vbF9zaXplaQY6E3NlcnZlcl9hZGRyZXNzSSIOMTI3LjAuMC4xBjsHVDoQc2VydmVyX3BvcnRpAphPOhxzZXJ2ZXJfZXh0ZXJuYWxfYWRkcmVzczA6DnNjaGVkdWxlcnsHOxJmCDAuNTsTWwdpAgEEaQL//zoNc25hcHNob3R7BjsXSSJCL2hvbWUvemFwb3Rlay93b3Jrc3BhY2UvcWFkcm9uL2N1Ym9pZC9zcGVjL3N1cHBvcnQvc25hcHNob3RzLwY7B1Q6C3N5c3RlbXsGOg5tYXhfc2xvdHNpDzoSYXV0aG9yaXplZF9ieTA=
94
- --------------------------------------------------------------------------------
95
- OPTIONS:
96
- ---
97
- datastore: {}
98
- scheduler:
99
- ping_interval: 0.5
100
- instance_port_range:
101
- - 1025
102
- - 65535
103
- url: 127.0.0.1:20376
104
- authorized_by:
105
- --------------------------------------------------------------------------------
106
- [2021-12-26 08:27:04 +0200] Failed to contact Dispatcher at: 127.0.0.1:32759
107
- [2021-12-26 08:27:04 +0200] [Arachni::RPC::Exceptions::ConnectionError] Connection closed [Connection refused - connect(2) for 127.0.0.1:32759]
108
- [2021-12-26 08:27:06 +0200] Failed to contact Dispatcher at: 127.0.0.1:32759
109
- [2021-12-26 08:27:06 +0200] [Arachni::RPC::Exceptions::ConnectionError] Connection closed [Connection refused - connect(2) for 127.0.0.1:32759]