dtorkin

Untitled

May 26th, 2025 (edited)
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.11 KB | None | 0 0
  1. dtorkin@ubuntu1:~/Desktop/practice$ nc localhost 12345
  2. EVENT;SVM_ID:0;Type:LinkStatus;Details:NewStatus=2,AssignedLAK=0x08
  3. EVENT;SVM_ID:1;Type:LinkStatus;Details:NewStatus=2,AssignedLAK=0x09
  4. EVENT;SVM_ID:2;Type:LinkStatus;Details:NewStatus=2,AssignedLAK=0x0A
  5. EVENT;SVM_ID:3;Type:LinkStatus;Details:NewStatus=2,AssignedLAK=0x0B
  6.  
  7. dtorkin@ubuntu1:~/Desktop/practice$ sudo ./uvm_app --wait-for-gui OR
  8. [sudo] пароль для dtorkin:
  9. UVM: Option --wait-for-gui enabled. Will wait for GUI connection.
  10. DEBUG UVM: Effective RadarMode selected: 0
  11. UVM: Загрузка конфигурации...
  12. Configuration parsed successfully from 'config.ini'.
  13. Found configurations for 4 SVM instances in file.
  14. --- Effective Configuration ---
  15. interface_type = ethernet
  16. UVM Target: 192.168.189.129:8080
  17. SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
  18. Simulate Control Failure: No
  19. Disconnect After: -1 messages
  20. Simulate Response Timeout: No
  21. Send Warning on Confirm: No (TKS: 1)
  22. SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
  23. Simulate Control Failure: No
  24. Disconnect After: -1 messages
  25. Simulate Response Timeout: No
  26. Send Warning on Confirm: No (TKS: 1)
  27. SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
  28. Simulate Control Failure: No
  29. Disconnect After: -1 messages
  30. Simulate Response Timeout: No
  31. Send Warning on Confirm: No (TKS: 1)
  32. SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
  33. Simulate Control Failure: No
  34. Disconnect After: -1 messages
  35. Simulate Response Timeout: No
  36. Send Warning on Confirm: No (TKS: 1)
  37. -----------------------------
  38. UVM: Found 4 SVM configurations in config file.
  39. Thread-safe UVM request queue created with capacity 50
  40. Thread-safe UVM Response queue created with capacity 200
  41. UVM: Connecting to SVMs...
  42. DEBUG UVM: IP before loop: 192.168.189.129
  43. UVM: Attempting to connect to SVM ID 0 (IP: 192.168.189.129, Port: 8080)...
  44. DEBUG UVM: Preparing to create interface for SVM 0 with IP=192.168.189.129, Port=8080
  45. Ethernet: Connected to 192.168.189.129:8080 (handle: 3)
  46. UVM: Successfully connected to SVM ID 0 (Handle: 3).
  47. UVM: Attempting to connect to SVM ID 1 (IP: 192.168.189.129, Port: 8081)...
  48. DEBUG UVM: Preparing to create interface for SVM 1 with IP=192.168.189.129, Port=8081
  49. Ethernet: Connected to 192.168.189.129:8081 (handle: 4)
  50. UVM: Successfully connected to SVM ID 1 (Handle: 4).
  51. UVM: Attempting to connect to SVM ID 2 (IP: 192.168.189.129, Port: 8082)...
  52. DEBUG UVM: Preparing to create interface for SVM 2 with IP=192.168.189.129, Port=8082
  53. Ethernet: Connected to 192.168.189.129:8082 (handle: 5)
  54. UVM: Successfully connected to SVM ID 2 (Handle: 5).
  55. UVM: Attempting to connect to SVM ID 3 (IP: 192.168.189.129, Port: 8083)...
  56. DEBUG UVM: Preparing to create interface for SVM 3 with IP=192.168.189.129, Port=8083
  57. Ethernet: Connected to 192.168.189.129:8083 (handle: 6)
  58. UVM: Successfully connected to SVM ID 3 (Handle: 6).
  59. UVM: Connected to 4 out of 4 configured SVMs.
  60. UVM: Запуск потоков Sender, Receiver(s) и GUI Server...
  61. UVM: Waiting for GUI client to connect on port 12345 (or press Ctrl+C)...
  62. UVM Sender thread started.
  63. UVM Receiver thread started for SVM ID 1 (handle: 4).
  64. UVM Receiver thread started for SVM ID 2 (handle: 5).
  65. UVM Receiver thread started for SVM ID 0 (handle: 3).
  66. UVM Receiver thread started for SVM ID 3 (handle: 6).
  67. GUI Server: Starting listener on port 12345
  68. GUI Server: Waiting for GUI connection on port 12345...
  69. GUI Server: Accepted connection from 127.0.0.1:35234 (FD 8)
  70. GUI Server: Sending initial state to new GUI client (FD 8).
  71. GUI Server: Initial state sent to GUI client (FD 8).
  72. UVM: GUI client connected! Proceeding with SVM operations.
  73. UVM: All necessary threads started. Selected RadarMode: 0
  74. UVM: Начало основного цикла управления SVM (Параллельная подготовка)...
  75. UVM Main (SVM 0): Отправка команды подготовки типа 128 (Num 0). Состояние до: 0
  76.  
  77. dtorkin@ubuntu1:~/Desktop/practice$ sudo ./svm_app
  78. SVM Multi-Port Server starting...
  79. Message handlers initialized.
  80. SVM: Loading configuration...
  81. Configuration parsed successfully from 'config.ini'.
  82. Found configurations for 4 SVM instances in file.
  83. --- Effective Configuration ---
  84. interface_type = ethernet
  85. UVM Target: 192.168.189.129:8080
  86. SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
  87. Simulate Control Failure: No
  88. Disconnect After: -1 messages
  89. Simulate Response Timeout: No
  90. Send Warning on Confirm: No (TKS: 1)
  91. SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
  92. Simulate Control Failure: No
  93. Disconnect After: -1 messages
  94. Simulate Response Timeout: No
  95. Send Warning on Confirm: No (TKS: 1)
  96. SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
  97. Simulate Control Failure: No
  98. Disconnect After: -1 messages
  99. Simulate Response Timeout: No
  100. Send Warning on Confirm: No (TKS: 1)
  101. SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
  102. Simulate Control Failure: No
  103. Disconnect After: -1 messages
  104. Simulate Response Timeout: No
  105. Send Warning on Confirm: No (TKS: 1)
  106. -----------------------------
  107. SVM: Will attempt to start 4 instances based on config.
  108. DEBUG SVM MAIN - Instance 0 Settings: LAK=0x08, simulate_control_failure=0, disconnect_after=-1, simulate_timeout=0, send_warning=0, tks=1
  109. DEBUG SVM MAIN - Instance 1 Settings: LAK=0x09, simulate_control_failure=0, disconnect_after=-1, simulate_timeout=0, send_warning=0, tks=1
  110. DEBUG SVM MAIN - Instance 2 Settings: LAK=0x0A, simulate_control_failure=0, disconnect_after=-1, simulate_timeout=0, send_warning=0, tks=1
  111. DEBUG SVM MAIN - Instance 3 Settings: LAK=0x0B, simulate_control_failure=0, disconnect_after=-1, simulate_timeout=0, send_warning=0, tks=1
  112. SVM: Loading configuration...
  113. Configuration parsed successfully from 'config.ini'.
  114. Found configurations for 4 SVM instances in file.
  115. --- Effective Configuration ---
  116. interface_type = ethernet
  117. UVM Target: 192.168.189.129:8080
  118. SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
  119. Simulate Control Failure: No
  120. Disconnect After: -1 messages
  121. Simulate Response Timeout: No
  122. Send Warning on Confirm: No (TKS: 1)
  123. SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
  124. Simulate Control Failure: No
  125. Disconnect After: -1 messages
  126. Simulate Response Timeout: No
  127. Send Warning on Confirm: No (TKS: 1)
  128. SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
  129. Simulate Control Failure: No
  130. Disconnect After: -1 messages
  131. Simulate Response Timeout: No
  132. Send Warning on Confirm: No (TKS: 1)
  133. SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
  134. Simulate Control Failure: No
  135. Disconnect After: -1 messages
  136. Simulate Response Timeout: No
  137. Send Warning on Confirm: No (TKS: 1)
  138. -----------------------------
  139. SVM: Will attempt to start 4 instances based on config.
  140. Thread-safe QueuedMessage queue created with capacity 400
  141. SVM: Listener thread 0 initiated for Port 8080 (LAK 0x08).
  142. SVM: Listener thread 1 initiated for Port 8081 (LAK 0x09).
  143. SVM: Listener thread 2 initiated for Port 8082 (LAK 0x0A).
  144. SVM: Listener thread 3 initiated for Port 8083 (LAK 0x0B).
  145. SVM: Starting common threads (Timer, Sender)...
  146. Ethernet: Listening on port 8080 (handle: 3)
  147. Ethernet: Listening on port 8082 (handle: 5)
  148. Listener thread started for SVM ID 2 (LAK 0x0A, Port 8082, Listen FD 5)
  149. Listener (SVM 2): Waiting for connection on port 8082...
  150. Ethernet: Listening on port 8081 (handle: 4)
  151. Listener thread started for SVM ID 1 (LAK 0x09, Port 8081, Listen FD 4)
  152. Listener (SVM 1): Waiting for connection on port 8081...
  153. SVM Timer thread started.
  154. SVM Sender thread started (reads global outgoing queue).
  155. Listener thread started for SVM ID 0 (LAK 0x08, Port 8080, Listen FD 3)
  156. Listener (SVM 0): Waiting for connection on port 8080...
  157. Ethernet: Listening on port 8083 (handle: 7)
  158. Listener thread started for SVM ID 3 (LAK 0x0B, Port 8083, Listen FD 7)
  159. Listener (SVM 3): Waiting for connection on port 8083...
  160. SVM: All common threads started. 4 listeners active. Running...
  161. SVM Main: Waiting for shutdown signal...
  162. Listener (SVM 0): Accepted connection from 192.168.189.128:59488 (Client FD 9)
  163. Thread-safe QueuedMessage queue created with capacity 100
  164. Listener (SVM 0): Instance activated. Worker threads started.
  165. SVM Processor thread started for instance 0.
  166. SVM Receiver thread started for instance 0 (handle: 9).
  167. Listener (SVM 1): Accepted connection from 192.168.189.128:55536 (Client FD 8)
  168. Thread-safe QueuedMessage queue created with capacity 100
  169. SVM Receiver thread started for instance 1 (handle: 8).
  170. Listener (SVM 2): Accepted connection from 192.168.189.128:54268 (Client FD 6)
  171. Thread-safe QueuedMessage queue created with capacity 100
  172. SVM Processor thread started for instance 1.
  173. Listener (SVM 3): Accepted connection from 192.168.189.128:43400 (Client FD 10)
  174. Thread-safe QueuedMessage queue created with capacity 100
  175. SVM Processor thread started for instance 2.
  176. Listener (SVM 1): Instance activated. Worker threads started.
  177. Listener (SVM 2): Instance activated. Worker threads started.
  178. Listener (SVM 3): Instance activated. Worker threads started.
  179. SVM Receiver thread started for instance 3 (handle: 10).
  180. SVM Processor thread started for instance 3.
  181. SVM Receiver thread started for instance 2 (handle: 6).
  182.  
  183.  
Advertisement
Add Comment
Please, Sign In to add comment