dtorkin

Untitled

May 18th, 2025 (edited)
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.10 KB | None | 0 0
  1. dtorkin@ubuntu1:~/Desktop/practice$ sudo ./uvm_app OR
  2. UVM: Effective RadarMode selected: OR (0)
  3. UVM: Загрузка конфигурации...
  4. Configuration parsed successfully from 'config.ini'.
  5. Found configurations for 1 SVM instances in file.
  6. Found configurations for 2 SVM instances in file.
  7. Found configurations for 3 SVM instances in file.
  8. Found configurations for 4 SVM instances in file.
  9. --- Effective Configuration ---
  10. interface_type = ethernet
  11. UVM Target: 192.168.189.129:8080
  12. Keep-Alive Timeout: 15 seconds
  13. Response Timeout: 5 seconds
  14. SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
  15. Simulate Control Failure: No
  16. Disconnect After: -1 messages
  17. Simulate Response Timeout: No
  18. Send Warning on Confirm: No (TKS: 1)
  19. SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
  20. Simulate Control Failure: Yes
  21. Disconnect After: -1 messages
  22. Simulate Response Timeout: No
  23. Send Warning on Confirm: No (TKS: 1)
  24. SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
  25. Simulate Control Failure: No
  26. Disconnect After: -1 messages
  27. Simulate Response Timeout: Yes
  28. Send Warning on Confirm: No (TKS: 1)
  29. SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
  30. Simulate Control Failure: No
  31. Disconnect After: 5 messages
  32. Simulate Response Timeout: No
  33. Send Warning on Confirm: No (TKS: 1)
  34. -----------------------------
  35. UVM: Found 4 SVM configurations in config file.
  36. Thread-safe UVM request queue created with capacity 50
  37. Thread-safe UVM Response queue created with capacity 200
  38. UVM: Connecting to SVMs...
  39. UVM: Attempting to connect to SVM ID 0 (IP: 192.168.189.129, Port: 8080)...
  40. Ethernet: Connected to 192.168.189.129:8080 (handle: 3)
  41. UVM: Successfully connected to SVM ID 0 (Handle: 3).
  42. UVM: Attempting to connect to SVM ID 1 (IP: 192.168.189.129, Port: 8081)...
  43. Ethernet: Connected to 192.168.189.129:8081 (handle: 4)
  44. UVM: Successfully connected to SVM ID 1 (Handle: 4).
  45. UVM: Attempting to connect to SVM ID 2 (IP: 192.168.189.129, Port: 8082)...
  46. Ethernet: Connected to 192.168.189.129:8082 (handle: 5)
  47. UVM: Successfully connected to SVM ID 2 (Handle: 5).
  48. UVM: Attempting to connect to SVM ID 3 (IP: 192.168.189.129, Port: 8083)...
  49. Ethernet: Connected to 192.168.189.129:8083 (handle: 6)
  50. UVM: Successfully connected to SVM ID 3 (Handle: 6).
  51. UVM: Connected to 4 out of 4 configured SVMs.
  52. UVM: Запуск потоков Sender, Receiver(s) и GUI Server...
  53. UVM: All necessary threads started. Selected RadarMode: OR
  54. UVM Sender thread started.
  55. UVM: Entering main processing loop (Ctrl+C to exit)...
  56. UVM Receiver thread started for SVM ID 1 (handle: 4).
  57. UVM Receiver thread started for SVM ID 0 (handle: 3).
  58. UVM Receiver thread started for SVM ID 2 (handle: 5).
  59. GUI Server: Starting listener on port 12345
  60. GUI Server: Waiting for GUI connection on port 12345...
  61. UVM Receiver thread started for SVM ID 3 (handle: 6).
  62. GUI Server: Accepted connection from 127.0.0.1:40010 (FD 8)
  63. GUI Server: Sending initial state to new GUI client (FD 8).
  64. GUI Server: Initial state sent to GUI client (FD 8).
  65. ^C
  66. UVM: Received shutdown signal. Exiting...
  67. Thread-safe UVM request queue shutdown initiated.
  68. Thread-safe UVM Response queue shutdown initiated.
  69. DEBUG_UVM_MAIN_LOOP: SVM 0 Evaluating send. Status: ACTIVE, Stage: IDLE, ExpectedResp: UNKNOWN_MSG_TYPE, CurrentMsgNum: 0
  70. DEBUG_UVM_MAIN_LOOP: SVM 0 (LAK 0x08) Stage IDLE, preparing InitChannel (MsgNum 0).
  71. Sender Thread: Request queue empty and shutdown signaled. Exiting.
  72. UVM Main: Failed to enqueue request (type SEND_MESSAGE, target_svm_id 0)
  73. UVM Sender thread finished.
  74. DEBUG_UVM_MAIN_LOOP: SVM 0 FAILED to enqueue request for stage IDLE.
  75. DEBUG_UVM_MAIN_LOOP: SVM 1 Evaluating send. Status: ACTIVE, Stage: IDLE, ExpectedResp: UNKNOWN_MSG_TYPE, CurrentMsgNum: 0
  76. DEBUG_UVM_MAIN_LOOP: SVM 1 (LAK 0x09) Stage IDLE, preparing InitChannel (MsgNum 0).
  77. UVM Main: Failed to enqueue request (type SEND_MESSAGE, target_svm_id 1)
  78. DEBUG_UVM_MAIN_LOOP: SVM 1 FAILED to enqueue request for stage IDLE.
  79. DEBUG_UVM_MAIN_LOOP: SVM 2 Evaluating send. Status: ACTIVE, Stage: IDLE, ExpectedResp: UNKNOWN_MSG_TYPE, CurrentMsgNum: 0
  80. DEBUG_UVM_MAIN_LOOP: SVM 2 (LAK 0x0A) Stage IDLE, preparing InitChannel (MsgNum 0).
  81. UVM Main: Failed to enqueue request (type SEND_MESSAGE, target_svm_id 2)
  82. DEBUG_UVM_MAIN_LOOP: SVM 2 FAILED to enqueue request for stage IDLE.
  83. DEBUG_UVM_MAIN_LOOP: SVM 3 Evaluating send. Status: ACTIVE, Stage: IDLE, ExpectedResp: UNKNOWN_MSG_TYPE, CurrentMsgNum: 0
  84. DEBUG_UVM_MAIN_LOOP: SVM 3 (LAK 0x0B) Stage IDLE, preparing InitChannel (MsgNum 0).
  85. UVM Main: Failed to enqueue request (type SEND_MESSAGE, target_svm_id 3)
  86. DEBUG_UVM_MAIN_LOOP: SVM 3 FAILED to enqueue request for stage IDLE.
  87. DEBUG_UVM_MAIN_LOOP: SVM 0 Keep-Alive TIMEOUT! Last activity 21s ago. Marking FAILED.
  88. receive_protocol_message: Соединение закрыто при чтении заголовка.
  89. DEBUG_UVM_MAIN_LOOP: SVM 1 Keep-Alive TIMEOUT! Last activity 21s ago. Marking FAILED.
  90. DEBUG_UVM_MAIN_LOOP: SVM 2 Keep-Alive TIMEOUT! Last activity 21s ago. Marking FAILED.
  91. UVM Receiver thread for SVM ID 0 finished.
  92. receive_protocol_message: Соединение закрыто при чтении заголовка.
  93. receive_protocol_message: Соединение закрыто при чтении заголовка.
  94. DEBUG_UVM_MAIN_LOOP: SVM 3 Keep-Alive TIMEOUT! Last activity 21s ago. Marking FAILED.
  95. UVM: Initiating shutdown of sender and receiver threads...
  96. Thread-safe UVM request queue shutdown initiated.
  97. UVM: Waiting for sender thread to join...
  98. UVM: Sender thread joined.
  99. UVM: Waiting for receiver thread for SVM ID 0 to join...
  100. UVM: Receiver thread for SVM ID 0 joined.
  101. UVM: Waiting for receiver thread for SVM ID 1 to join...
  102. UVM Receiver thread for SVM ID 2 finished.
  103. UVM Receiver thread for SVM ID 1 finished.
  104. UVM: Receiver thread for SVM ID 1 joined.
  105. UVM: Waiting for receiver thread for SVM ID 2 to join...
  106. UVM: Receiver thread for SVM ID 2 joined.
  107. UVM: Waiting for receiver thread for SVM ID 3 to join...
  108. receive_protocol_message: Соединение закрыто при чтении заголовка.
  109. UVM Receiver thread for SVM ID 3 finished.
  110. UVM: Receiver thread for SVM ID 3 joined.
  111. UVM: Waiting for GUI server thread to join...
  112. GUI Server: Loop for client FD 8 ended.
  113. GUI Server: Thread shutting down.
  114. UVM: GUI server thread joined.
  115. UVM: Завершение работы и очистка ресурсов...
  116. Ethernet Interface destroyed.
  117. Ethernet Interface destroyed.
  118. Ethernet Interface destroyed.
  119. Ethernet Interface destroyed.
  120. Thread-safe UVM request queue destroyed
  121. Thread-safe UVM Response queue destroyed
  122. UVM: Очистка завершена. Выход.
  123.  
  124.  
  125. dtorkin@ubuntu1:~/Desktop/practice$ sudo ./svm_app
  126. SVM Multi-Port Server starting...
  127. Message handlers initialized.
  128. SVM: Loading configuration...
  129. Configuration parsed successfully from 'config.ini'.
  130. Found configurations for 1 SVM instances in file.
  131. Found configurations for 2 SVM instances in file.
  132. Found configurations for 3 SVM instances in file.
  133. Found configurations for 4 SVM instances in file.
  134. --- Effective Configuration ---
  135. interface_type = ethernet
  136. UVM Target: 192.168.189.129:8080
  137. Keep-Alive Timeout: 15 seconds
  138. Response Timeout: 5 seconds
  139. SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
  140. Simulate Control Failure: No
  141. Disconnect After: -1 messages
  142. Simulate Response Timeout: No
  143. Send Warning on Confirm: No (TKS: 1)
  144. SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
  145. Simulate Control Failure: Yes
  146. Disconnect After: -1 messages
  147. Simulate Response Timeout: No
  148. Send Warning on Confirm: No (TKS: 1)
  149. SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
  150. Simulate Control Failure: No
  151. Disconnect After: -1 messages
  152. Simulate Response Timeout: Yes
  153. Send Warning on Confirm: No (TKS: 1)
  154. SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
  155. Simulate Control Failure: No
  156. Disconnect After: 5 messages
  157. Simulate Response Timeout: No
  158. Send Warning on Confirm: No (TKS: 1)
  159. -----------------------------
  160. SVM: Will attempt to start 4 instances based on config.
  161. DEBUG SVM MAIN - Instance 0 Settings: LAK=0x08, simulate_control_failure=0, disconnect_after=-1, simulate_timeout=0, send_warning=0, tks=1
  162. DEBUG SVM MAIN - Instance 1 Settings: LAK=0x09, simulate_control_failure=1, disconnect_after=-1, simulate_timeout=0, send_warning=0, tks=1
  163. DEBUG SVM MAIN - Instance 2 Settings: LAK=0x0A, simulate_control_failure=0, disconnect_after=-1, simulate_timeout=1, send_warning=0, tks=1
  164. DEBUG SVM MAIN - Instance 3 Settings: LAK=0x0B, simulate_control_failure=0, disconnect_after=5, simulate_timeout=0, send_warning=0, tks=1
  165. SVM: Loading configuration...
  166. Configuration parsed successfully from 'config.ini'.
  167. Found configurations for 1 SVM instances in file.
  168. Found configurations for 2 SVM instances in file.
  169. Found configurations for 3 SVM instances in file.
  170. Found configurations for 4 SVM instances in file.
  171. --- Effective Configuration ---
  172. interface_type = ethernet
  173. UVM Target: 192.168.189.129:8080
  174. Keep-Alive Timeout: 15 seconds
  175. Response Timeout: 5 seconds
  176. SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
  177. Simulate Control Failure: No
  178. Disconnect After: -1 messages
  179. Simulate Response Timeout: No
  180. Send Warning on Confirm: No (TKS: 1)
  181. SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
  182. Simulate Control Failure: Yes
  183. Disconnect After: -1 messages
  184. Simulate Response Timeout: No
  185. Send Warning on Confirm: No (TKS: 1)
  186. SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
  187. Simulate Control Failure: No
  188. Disconnect After: -1 messages
  189. Simulate Response Timeout: Yes
  190. Send Warning on Confirm: No (TKS: 1)
  191. SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
  192. Simulate Control Failure: No
  193. Disconnect After: 5 messages
  194. Simulate Response Timeout: No
  195. Send Warning on Confirm: No (TKS: 1)
  196. -----------------------------
  197. SVM: Will attempt to start 4 instances based on config.
  198. Thread-safe QueuedMessage queue created with capacity 400
  199. SVM: Listener thread 0 initiated for Port 8080 (LAK 0x08).
  200. SVM: Listener thread 1 initiated for Port 8081 (LAK 0x09).
  201. SVM: Listener thread 2 initiated for Port 8082 (LAK 0x0A).
  202. SVM: Listener thread 3 initiated for Port 8083 (LAK 0x0B).
  203. SVM: Starting common threads (Timer, Sender)...
  204. Ethernet: Listening on port 8080 (handle: 3)
  205. Listener thread started for SVM ID 0 (LAK 0x08, Port 8080, Listen FD 3)
  206. Listener (SVM 0): Waiting for connection on port 8080...
  207. SVM Timer thread started.
  208. Ethernet: Listening on port 8082 (handle: 5)
  209. Listener thread started for SVM ID 2 (LAK 0x0A, Port 8082, Listen FD 5)
  210. Listener (SVM 2): Waiting for connection on port 8082...
  211. Ethernet: Listening on port 8081 (handle: 7)
  212. Listener thread started for SVM ID 1 (LAK 0x09, Port 8081, Listen FD 7)
  213. Ethernet: Listening on port 8083 (handle: 8)
  214. Listener thread started for SVM ID 3 (LAK 0x0B, Port 8083, Listen FD 8)
  215. Listener (SVM 3): Waiting for connection on port 8083...
  216. SVM: All common threads started. 4 listeners active. Running...
  217. Listener (SVM 1): Waiting for connection on port 8081...
  218. SVM Sender thread started (reads global outgoing queue).
  219. SVM Main: Waiting for shutdown signal...
  220. Listener (SVM 0): Accepted connection from 192.168.189.128:39932 (Client FD 4)
  221. Thread-safe QueuedMessage queue created with capacity 100
  222. Listener (SVM 1): Accepted connection from 192.168.189.128:35050 (Client FD 10)
  223. Thread-safe QueuedMessage queue created with capacity 100
  224. Listener (SVM 1): Instance activated. Worker threads started.
  225. SVM Receiver thread started for instance 1 (handle: 10).
  226. SVM Processor thread started for instance 1.
  227. Listener (SVM 0): Instance activated. Worker threads started.
  228. SVM Receiver thread started for instance 0 (handle: 4).
  229. Listener (SVM 2): Accepted connection from 192.168.189.128:58812 (Client FD 6)
  230. Thread-safe QueuedMessage queue created with capacity 100
  231. Listener (SVM 2): Instance activated. Worker threads started.
  232. SVM Receiver thread started for instance 2 (handle: 6).
  233. SVM Processor thread started for instance 2.
  234. SVM Processor thread started for instance 0.
  235. Listener (SVM 3): Accepted connection from 192.168.189.128:52062 (Client FD 9)
  236. Thread-safe QueuedMessage queue created with capacity 100
  237. Listener (SVM 3): Instance activated. Worker threads started.
  238. SVM Receiver thread started for instance 3 (handle: 9).
  239. SVM Processor thread started for instance 3.
  240. ^C
  241. SVM: Received shutdown signal. Shutting down all listeners and instances...
  242. Thread-safe QueuedMessage queue shutdown initiated.
  243. SVM Sender thread finished.
  244. Timer thread stop signaled.
  245. SVM Main: Shutdown initiated. Waiting for threads to join...
  246. Timer thread stop signaled.
  247. SVM Timer thread stopped.
  248. SVM Main: Timer thread joined.
  249. SVM Main: Waiting for listener threads to join...
  250. receive_protocol_message: Соединение закрыто при чтении заголовка.
  251. Receiver Thread (Inst 1): Marked instance as inactive.
  252. Receiver Thread (Inst 1): Shutting down incoming queue.
  253. Thread-safe QueuedMessage queue shutdown initiated.
  254. Processor Thread (Inst 1): Incoming queue empty and shutdown. Exiting.
  255. SVM Receiver thread finished for instance 1.
  256. SVM Processor thread finished for instance 1.
  257. receive_protocol_message: Соединение закрыто при чтении заголовка.
  258. Receiver Thread (Inst 2): Marked instance as inactive.
  259. Receiver Thread (Inst 2): Shutting down incoming queue.
  260. Thread-safe QueuedMessage queue shutdown initiated.
  261. SVM Receiver thread finished for instance 2.
  262. Listener (SVM 1): Receiver thread joined.
  263. Listener (SVM 1): Processor thread joined.
  264. Listener (SVM 1): Worker threads finished. Cleaning up instance...
  265. Ethernet: Closing handle 10
  266. receive_protocol_message: Соединение закрыто при чтении заголовка.
  267. Receiver Thread (Inst 0): Marked instance as inactive.
  268. Receiver Thread (Inst 0): Shutting down incoming queue.
  269. Thread-safe QueuedMessage queue shutdown initiated.
  270. SVM Receiver thread finished for instance 0.
  271. Processor Thread (Inst 0): Incoming queue empty and shutdown. Exiting.
  272. SVM Processor thread finished for instance 0.
  273. Thread-safe QueuedMessage queue destroyed
  274. Listener (SVM 1): Instance deactivated. Ready for new connection.
  275. Listener thread for SVM ID 1 finished.
  276. Ethernet Interface destroyed.
  277. Processor Thread (Inst 2): Incoming queue empty and shutdown. Exiting.
  278. SVM Processor thread finished for instance 2.
  279. receive_protocol_message: Соединение закрыто при чтении заголовка.
  280. Receiver Thread (Inst 3): Marked instance as inactive.
  281. Receiver Thread (Inst 3): Shutting down incoming queue.
  282. Thread-safe QueuedMessage queue shutdown initiated.
  283. SVM Receiver thread finished for instance 3.
  284. Processor Thread (Inst 3): Incoming queue empty and shutdown. Exiting.
  285. SVM Processor thread finished for instance 3.
  286. Listener (SVM 3): Receiver thread joined.
  287. Listener (SVM 2): Receiver thread joined.
  288. Listener (SVM 2): Processor thread joined.
  289. Listener (SVM 2): Worker threads finished. Cleaning up instance...
  290. Ethernet: Closing handle 6
  291. Listener (SVM 3): Processor thread joined.
  292. Listener (SVM 3): Worker threads finished. Cleaning up instance...
  293. Ethernet: Closing handle 9
  294. Thread-safe QueuedMessage queue destroyed
  295. Listener (SVM 3): Instance deactivated. Ready for new connection.
  296. Listener thread for SVM ID 3 finished.
  297. Ethernet Interface destroyed.
  298. Listener (SVM 0): Receiver thread joined.
  299. Listener (SVM 0): Processor thread joined.
  300. Listener (SVM 0): Worker threads finished. Cleaning up instance...
  301. Ethernet: Closing handle 4
  302. Thread-safe QueuedMessage queue destroyed
  303. Listener (SVM 0): Instance deactivated. Ready for new connection.
  304. Listener thread for SVM ID 0 finished.
  305. Ethernet Interface destroyed.
  306. Thread-safe QueuedMessage queue destroyed
  307. Listener (SVM 2): Instance deactivated. Ready for new connection.
  308. Listener thread for SVM ID 2 finished.
  309. Ethernet Interface destroyed.
  310. SVM Main: Listener thread for SVM ID 0 joined.
  311. SVM Main: Listener thread for SVM ID 1 joined.
  312. SVM Main: Listener thread for SVM ID 2 joined.
  313. SVM Main: Listener thread for SVM ID 3 joined.
  314. SVM Main: All listener threads joined.
  315. SVM Main: Sender thread joined.
  316. SVM: Cleaning up queues...
  317. Thread-safe QueuedMessage queue destroyed
  318. SVM: Cleaning up synchronization primitives...
  319. SVM: Cleanup finished. Exiting.
  320.  
Advertisement
Add Comment
Please, Sign In to add comment