dtorkin

Untitled

May 18th, 2025 (edited)
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.55 KB | None | 0 0
  1. dtorkin@ubuntu1:~/Desktop/practice$ sudo ./uvm_app --wait-for-gui OR
  2. [sudo] пароль для dtorkin:
  3. UVM: Option --wait-for-gui enabled. Will wait for GUI connection.
  4. UVM: Effective RadarMode selected: OR (0)
  5. UVM: Загрузка конфигурации...
  6. Configuration parsed successfully from 'config.ini'.
  7. Found configurations for 1 SVM instances in file.
  8. Found configurations for 2 SVM instances in file.
  9. Found configurations for 3 SVM instances in file.
  10. Found configurations for 4 SVM instances in file.
  11. --- Effective Configuration ---
  12. interface_type = ethernet
  13. UVM Target: 192.168.189.129:8080
  14. Keep-Alive Timeout: 15 seconds
  15. Response Timeout: 5 seconds
  16. SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
  17. Simulate Control Failure: No
  18. Disconnect After: -1 messages
  19. Simulate Response Timeout: No
  20. Send Warning on Confirm: No (TKS: 1)
  21. SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
  22. Simulate Control Failure: Yes
  23. Disconnect After: -1 messages
  24. Simulate Response Timeout: No
  25. Send Warning on Confirm: No (TKS: 1)
  26. SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
  27. Simulate Control Failure: No
  28. Disconnect After: -1 messages
  29. Simulate Response Timeout: Yes
  30. Send Warning on Confirm: No (TKS: 1)
  31. SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
  32. Simulate Control Failure: No
  33. Disconnect After: 5 messages
  34. Simulate Response Timeout: No
  35. Send Warning on Confirm: No (TKS: 1)
  36. -----------------------------
  37. UVM: Found 4 SVM configurations in config file.
  38. Thread-safe UVM request queue created with capacity 50
  39. Thread-safe UVM Response queue created with capacity 200
  40. UVM: Connecting to SVMs...
  41. UVM: Attempting to connect to SVM ID 0 (IP: 192.168.189.129, Port: 8080)...
  42. Ethernet: Connected to 192.168.189.129:8080 (handle: 3)
  43. UVM: Successfully connected to SVM ID 0 (Handle: 3).
  44. UVM: Attempting to connect to SVM ID 1 (IP: 192.168.189.129, Port: 8081)...
  45. Ethernet: Connected to 192.168.189.129:8081 (handle: 4)
  46. UVM: Successfully connected to SVM ID 1 (Handle: 4).
  47. UVM: Attempting to connect to SVM ID 2 (IP: 192.168.189.129, Port: 8082)...
  48. Ethernet: Connected to 192.168.189.129:8082 (handle: 5)
  49. UVM: Successfully connected to SVM ID 2 (Handle: 5).
  50. UVM: Attempting to connect to SVM ID 3 (IP: 192.168.189.129, Port: 8083)...
  51. Ethernet: Connected to 192.168.189.129:8083 (handle: 6)
  52. UVM: Successfully connected to SVM ID 3 (Handle: 6).
  53. UVM: Connected to 4 out of 4 configured SVMs.
  54. UVM: Запуск потоков Sender, Receiver(s) и GUI Server...
  55. UVM Sender thread started.
  56. UVM: Waiting for GUI client to connect on port 12345 (or press Ctrl+C)...
  57. GUI Server: Starting listener on port 12345
  58. GUI Server: Waiting for GUI connection on port 12345...
  59. UVM Receiver thread started for SVM ID 1 (handle: 4).
  60. UVM Receiver thread started for SVM ID 2 (handle: 5).
  61. UVM Receiver thread started for SVM ID 3 (handle: 6).
  62. UVM Receiver thread started for SVM ID 0 (handle: 3).
  63. GUI Server: Accepted connection from 127.0.0.1:32900 (FD 8)
  64. GUI Server: Sending initial state to new GUI client (FD 8).
  65. GUI Server: Initial state sent to GUI client (FD 8).
  66. UVM: GUI client connected! Proceeding with SVM operations.
  67. UVM: All necessary threads started. Selected RadarMode: OR
  68. UVM: Entering main processing loop (Ctrl+C to exit)...
  69. ^C
  70. UVM: Received shutdown signal. Exiting...
  71. Thread-safe UVM request queue shutdown initiated.
  72. Thread-safe UVM Response queue shutdown initiated.
  73. Sender Thread: Request queue empty and shutdown signaled. Exiting.
  74. UVM Sender thread finished.
  75. DEBUG_UVM_MAIN_LOOP: SVM 0 Evaluating send. Status: ACTIVE, Stage: IDLE, ExpectedResp: UNKNOWN_MSG_TYPE
  76. DEBUG_UVM_MAIN_LOOP: SVM 0 Stage IDLE, preparing InitChannel (MsgNum 0).
  77. GUI Server: Loop for client FD 8 ended.
  78. GUI Server: Thread shutting down.
  79. ^C
  80. UVM: Received shutdown signal. Exiting...
  81. Thread-safe UVM request queue shutdown initiated.
  82. ^C
  83. UVM: Received shutdown signal. Exiting...
  84. Thread-safe UVM request queue shutdown initiated.
  85.  
  86. dtorkin@ubuntu1:~/Desktop/practice$ nc localhost 12345
  87. EVENT;SVM_ID:0;Type:LinkStatus;Details:NewStatus=2,AssignedLAK=0x08
  88. EVENT;SVM_ID:1;Type:LinkStatus;Details:NewStatus=2,AssignedLAK=0x09
  89. EVENT;SVM_ID:2;Type:LinkStatus;Details:NewStatus=2,AssignedLAK=0x0A
  90. EVENT;SVM_ID:3;Type:LinkStatus;Details:NewStatus=2,AssignedLAK=0x0B
  91.  
  92.  
  93.  
  94. dtorkin@ubuntu1:~/Desktop/practice$ ./svm_app
  95. SVM Multi-Port Server starting...
  96. Message handlers initialized.
  97. SVM: Loading configuration...
  98. Configuration parsed successfully from 'config.ini'.
  99. Found configurations for 1 SVM instances in file.
  100. Found configurations for 2 SVM instances in file.
  101. Found configurations for 3 SVM instances in file.
  102. Found configurations for 4 SVM instances in file.
  103. --- Effective Configuration ---
  104. interface_type = ethernet
  105. UVM Target: 192.168.189.129:8080
  106. Keep-Alive Timeout: 15 seconds
  107. Response Timeout: 5 seconds
  108. SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
  109. Simulate Control Failure: No
  110. Disconnect After: -1 messages
  111. Simulate Response Timeout: No
  112. Send Warning on Confirm: No (TKS: 1)
  113. SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
  114. Simulate Control Failure: Yes
  115. Disconnect After: -1 messages
  116. Simulate Response Timeout: No
  117. Send Warning on Confirm: No (TKS: 1)
  118. SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
  119. Simulate Control Failure: No
  120. Disconnect After: -1 messages
  121. Simulate Response Timeout: Yes
  122. Send Warning on Confirm: No (TKS: 1)
  123. SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
  124. Simulate Control Failure: No
  125. Disconnect After: 5 messages
  126. Simulate Response Timeout: No
  127. Send Warning on Confirm: No (TKS: 1)
  128. -----------------------------
  129. SVM: Will attempt to start 4 instances based on config.
  130. DEBUG SVM MAIN - Instance 0 Settings: LAK=0x08, simulate_control_failure=0, disconnect_after=-1, simulate_timeout=0, send_warning=0, tks=1
  131. DEBUG SVM MAIN - Instance 1 Settings: LAK=0x09, simulate_control_failure=1, disconnect_after=-1, simulate_timeout=0, send_warning=0, tks=1
  132. DEBUG SVM MAIN - Instance 2 Settings: LAK=0x0A, simulate_control_failure=0, disconnect_after=-1, simulate_timeout=1, send_warning=0, tks=1
  133. DEBUG SVM MAIN - Instance 3 Settings: LAK=0x0B, simulate_control_failure=0, disconnect_after=5, simulate_timeout=0, send_warning=0, tks=1
  134. SVM: Loading configuration...
  135. Configuration parsed successfully from 'config.ini'.
  136. Found configurations for 1 SVM instances in file.
  137. Found configurations for 2 SVM instances in file.
  138. Found configurations for 3 SVM instances in file.
  139. Found configurations for 4 SVM instances in file.
  140. --- Effective Configuration ---
  141. interface_type = ethernet
  142. UVM Target: 192.168.189.129:8080
  143. Keep-Alive Timeout: 15 seconds
  144. Response Timeout: 5 seconds
  145. SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
  146. Simulate Control Failure: No
  147. Disconnect After: -1 messages
  148. Simulate Response Timeout: No
  149. Send Warning on Confirm: No (TKS: 1)
  150. SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
  151. Simulate Control Failure: Yes
  152. Disconnect After: -1 messages
  153. Simulate Response Timeout: No
  154. Send Warning on Confirm: No (TKS: 1)
  155. SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
  156. Simulate Control Failure: No
  157. Disconnect After: -1 messages
  158. Simulate Response Timeout: Yes
  159. Send Warning on Confirm: No (TKS: 1)
  160. SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
  161. Simulate Control Failure: No
  162. Disconnect After: 5 messages
  163. Simulate Response Timeout: No
  164. Send Warning on Confirm: No (TKS: 1)
  165. -----------------------------
  166. SVM: Will attempt to start 4 instances based on config.
  167. Thread-safe QueuedMessage queue created with capacity 400
  168. SVM: Listener thread 0 initiated for Port 8080 (LAK 0x08).
  169. SVM: Listener thread 1 initiated for Port 8081 (LAK 0x09).
  170. SVM: Listener thread 2 initiated for Port 8082 (LAK 0x0A).
  171. Ethernet: Listening on port 8080 (handle: 3)
  172. Listener thread started for SVM ID 0 (LAK 0x08, Port 8080, Listen FD 3)
  173. Listener (SVM 0): Waiting for connection on port 8080...
  174. Ethernet: Listening on port 8081 (handle: 4)
  175. Listener thread started for SVM ID 1 (LAK 0x09, Port 8081, Listen FD 4)
  176. Listener (SVM 1): Waiting for connection on port 8081...
  177. SVM: Listener thread 3 initiated for Port 8083 (LAK 0x0B).
  178. SVM: Starting common threads (Timer, Sender)...
  179. SVM: All common threads started. 4 listeners active. Running...
  180. Ethernet: Listening on port 8082 (handle: 5)
  181. Ethernet: Listening on port 8083 (handle: 6)
  182. Listener thread started for SVM ID 3 (LAK 0x0B, Port 8083, Listen FD 6)
  183. Listener (SVM 3): Waiting for connection on port 8083...
  184. Listener thread started for SVM ID 2 (LAK 0x0A, Port 8082, Listen FD 5)
  185. SVM Main: Waiting for shutdown signal...
  186. SVM Timer thread started.
  187. SVM Sender thread started (reads global outgoing queue).
  188. Listener (SVM 2): Waiting for connection on port 8082...
  189. Listener (SVM 0): Accepted connection from 192.168.189.128:58880 (Client FD 7)
  190. Thread-safe QueuedMessage queue created with capacity 100
  191. Listener (SVM 0): Instance activated. Worker threads started.
  192. SVM Processor thread started for instance 0.
  193. Listener (SVM 1): Accepted connection from 192.168.189.128:54010 (Client FD 8)
  194. Thread-safe QueuedMessage queue created with capacity 100
  195. SVM Receiver thread started for instance 1 (handle: 8).
  196. SVM Receiver thread finished for instance 1.
  197. Listener (SVM 1): Instance activated. Worker threads started.
  198. Listener (SVM 1): Receiver thread joined.
  199. Listener (SVM 2): Accepted connection from 192.168.189.128:34124 (Client FD 10)
  200. Thread-safe QueuedMessage queue created with capacity 100
  201. Listener (SVM 2): Instance activated. Worker threads started.
  202. SVM Receiver thread started for instance 2 (handle: 10).
  203. Listener (SVM 3): Accepted connection from 192.168.189.128:45394 (Client FD 9)
  204. Thread-safe QueuedMessage queue created with capacity 100
  205. SVM Processor thread started for instance 2.
  206. Listener (SVM 3): Instance activated. Worker threads started.
  207. SVM Processor thread started for instance 1.
  208. SVM Receiver thread started for instance 0 (handle: 7).
  209. SVM Receiver thread started for instance 3 (handle: 9).
  210. SVM Processor thread started for instance 3.
  211. ^C
  212. SVM: Received shutdown signal. Shutting down all listeners and instances...
  213. Thread-safe QueuedMessage queue shutdown initiated.
  214. Timer thread stop signaled.
  215. SVM Main: Shutdown initiated. Waiting for threads to join...
  216. Timer thread stop signaled.
  217. SVM Sender thread finished.
  218. SVM Timer thread stopped.
  219. SVM Main: Timer thread joined.
  220. SVM Main: Waiting for listener threads to join...
  221. ^C
  222. SVM: Received shutdown signal. Shutting down all listeners and instances...
  223. Timer thread stop signaled.
  224. ^C
  225. SVM: Received shutdown signal. Shutting down all listeners and instances...
  226. Timer thread stop signaled.
  227.  
  228.  
Advertisement
Add Comment
Please, Sign In to add comment