dtorkin

Untitled

May 20th, 2025 (edited)
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.38 KB | None | 0 0
  1. dtorkin@ubuntu1:~/Desktop/practice$ sudo ./uvm_app OR
  2. UVM Application (Iteration 2 - Init & Control Sequence)
  3. UVM: Loading configuration...
  4. Configuration parsed successfully from 'config.ini'.
  5. Found configurations for 4 SVM instances in file.
  6. --- Effective Configuration ---
  7. interface_type = ethernet
  8. UVM Target: 192.168.189.129:8080
  9. SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
  10. Simulate Control Failure: No
  11. Disconnect After: -1 messages
  12. Simulate Response Timeout: No
  13. Send Warning on Confirm: No (TKS: 1)
  14. SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
  15. Simulate Control Failure: Yes
  16. Disconnect After: -1 messages
  17. Simulate Response Timeout: No
  18. Send Warning on Confirm: No (TKS: 1)
  19. SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
  20. Simulate Control Failure: No
  21. Disconnect After: -1 messages
  22. Simulate Response Timeout: Yes
  23. Send Warning on Confirm: No (TKS: 1)
  24. SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
  25. Simulate Control Failure: No
  26. Disconnect After: 5 messages
  27. Simulate Response Timeout: No
  28. Send Warning on Confirm: No (TKS: 1)
  29. -----------------------------
  30. UVM: Found 4 SVM configurations to connect to.
  31. Thread-safe UVM request queue created with capacity 50
  32. Thread-safe UVM Response queue created with capacity 200
  33. UVM: Connecting to SVMs...
  34. UVM: Attempting to connect to SVM ID 0 (IP: 192.168.189.129, Port: 8080)...
  35. Ethernet: Connected to 192.168.189.129:8080 (handle: 3)
  36. UVM: Attempting to connect to SVM ID 1 (IP: 192.168.189.129, Port: 8081)...
  37. Ethernet: Connected to 192.168.189.129:8081 (handle: 4)
  38. UVM: Attempting to connect to SVM ID 2 (IP: 192.168.189.129, Port: 8082)...
  39. Ethernet: Connected to 192.168.189.129:8082 (handle: 5)
  40. UVM: Attempting to connect to SVM ID 3 (IP: 192.168.189.129, Port: 8083)...
  41. Ethernet: Connected to 192.168.189.129:8083 (handle: 6)
  42. UVM: Connected to 4 SVMs.
  43. UVM: Starting Sender, Receiver(s), and GUI Server threads...
  44. UVM: All threads started.
  45.  
  46. UVM Main: Sending initial 'Init Channel' to active SVMs...
  47. UVM Main: 'Init Channel' (Num 0) enqueued for SVM ID 0 (LAK 0x08).
  48. UVM Main: 'Init Channel' (Num 0) enqueued for SVM ID 1 (LAK 0x09).
  49. UVM Main: 'Init Channel' (Num 0) enqueued for SVM ID 2 (LAK 0x0A).
  50. UVM Main: 'Init Channel' (Num 0) enqueued for SVM ID 3 (LAK 0x0B).
  51. UVM: Main processing loop started (Iteration 2 - Init & Control Sequence)...
  52. UVM Sender thread started.
  53. Отправка сообщения через Ethernet: Тип=128, Номер=0, Длина тела=2, Общий размер=8, Handle=3
  54. Отправка сообщения через Ethernet: Тип=128, Номер=0, Длина тела=2, Общий размер=8, Handle=4
  55. Отправка сообщения через Ethernet: Тип=128, Номер=0, Длина тела=2, Общий размер=8, Handle=5
  56. Отправка сообщения через Ethernet: Тип=128, Номер=0, Длина тела=2, Общий размер=8, Handle=6
  57. UVM Receiver thread started for SVM ID 2 (handle: 5).
  58. UVM Receiver thread started for SVM ID 3 (handle: 6).
  59. UVM Receiver thread started for SVM ID 0 (handle: 3).
  60. GUI Server: Starting listener on port 12345
  61. GUI Server: Waiting for GUI connection on port 12345...
  62. UVM Receiver thread started for SVM ID 1 (handle: 4).
  63. Получено сообщение через Ethernet: Тип=129, Номер=0, Длина тела=12, Handle=5
  64. Получено сообщение через Ethernet: Тип=129, Номер=0, Длина тела=12, Handle=4
  65. UVM Main: Processing message type 129 from SVM ID 2 (Assigned LAK 0x0A, Num 0)
  66. UVM Main: Sent 'Provesti Kontrol' (Num 1) to SVM ID 2.
  67. UVM Main: Processing message type 129 from SVM ID 1 (Assigned LAK 0x09, Num 0)
  68. UVM Main: Sent 'Provesti Kontrol' (Num 1) to SVM ID 1.
  69. Отправка сообщения через Ethernet: Тип=1, Номер=1, Длина тела=1, Общий размер=7, Handle=5
  70. Отправка сообщения через Ethernet: Тип=1, Номер=1, Длина тела=1, Общий размер=7, Handle=4
  71. Получено сообщение через Ethernet: Тип=3, Номер=1, Длина тела=8, Handle=4
  72. UVM Main: Processing message type 3 from SVM ID 1 (Assigned LAK 0x09, Num 1)
  73. UVM Main: 'Podtverzhdenie Kontrolya' OK for SVM ID 1.
  74. UVM Main: Sent 'Vydat Rezultaty Kontrolya' (Num 2) to SVM ID 1.
  75. Отправка сообщения через Ethernet: Тип=2, Номер=2, Длина тела=1, Общий размер=7, Handle=4
  76. Получено сообщение через Ethernet: Тип=4, Номер=2, Длина тела=8, Handle=4
  77. UVM Main: Processing message type 4 from SVM ID 1 (Assigned LAK 0x09, Num 2)
  78. UVM Main: 'Rezultaty Kontrolya' received for SVM ID 1. RSK=0x3E
  79. Получено сообщение через Ethernet: Тип=3, Номер=1, Длина тела=8, Handle=5
  80. UVM Main: Processing message type 3 from SVM ID 2 (Assigned LAK 0x0A, Num 1)
  81. UVM Main: 'Podtverzhdenie Kontrolya' OK for SVM ID 2.
  82. UVM Main: Sent 'Vydat Rezultaty Kontrolya' (Num 2) to SVM ID 2.
  83. Отправка сообщения через Ethernet: Тип=2, Номер=2, Длина тела=1, Общий размер=7, Handle=5
  84.  
  85.  
  86. dtorkin@ubuntu1:~/Desktop/practice$ sudo ./svm_app
  87. SVM Multi-Port Server starting...
  88. Message handlers initialized.
  89. SVM: Loading configuration...
  90. Configuration parsed successfully from 'config.ini'.
  91. Found configurations for 4 SVM instances in file.
  92. --- Effective Configuration ---
  93. interface_type = ethernet
  94. UVM Target: 192.168.189.129:8080
  95. SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
  96. Simulate Control Failure: No
  97. Disconnect After: -1 messages
  98. Simulate Response Timeout: No
  99. Send Warning on Confirm: No (TKS: 1)
  100. SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
  101. Simulate Control Failure: Yes
  102. Disconnect After: -1 messages
  103. Simulate Response Timeout: No
  104. Send Warning on Confirm: No (TKS: 1)
  105. SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
  106. Simulate Control Failure: No
  107. Disconnect After: -1 messages
  108. Simulate Response Timeout: Yes
  109. Send Warning on Confirm: No (TKS: 1)
  110. SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
  111. Simulate Control Failure: No
  112. Disconnect After: 5 messages
  113. Simulate Response Timeout: No
  114. Send Warning on Confirm: No (TKS: 1)
  115. -----------------------------
  116. SVM: Will attempt to start 4 instances based on config.
  117. DEBUG SVM MAIN - Instance 0 Settings: LAK=0x08, simulate_control_failure=0, disconnect_after=-1, simulate_timeout=0, send_warning=0, tks=1
  118. DEBUG SVM MAIN - Instance 1 Settings: LAK=0x09, simulate_control_failure=1, disconnect_after=-1, simulate_timeout=0, send_warning=0, tks=1
  119. DEBUG SVM MAIN - Instance 2 Settings: LAK=0x0A, simulate_control_failure=0, disconnect_after=-1, simulate_timeout=1, send_warning=0, tks=1
  120. DEBUG SVM MAIN - Instance 3 Settings: LAK=0x0B, simulate_control_failure=0, disconnect_after=5, simulate_timeout=0, send_warning=0, tks=1
  121. SVM: Loading configuration...
  122. Configuration parsed successfully from 'config.ini'.
  123. Found configurations for 4 SVM instances in file.
  124. --- Effective Configuration ---
  125. interface_type = ethernet
  126. UVM Target: 192.168.189.129:8080
  127. SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
  128. Simulate Control Failure: No
  129. Disconnect After: -1 messages
  130. Simulate Response Timeout: No
  131. Send Warning on Confirm: No (TKS: 1)
  132. SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
  133. Simulate Control Failure: Yes
  134. Disconnect After: -1 messages
  135. Simulate Response Timeout: No
  136. Send Warning on Confirm: No (TKS: 1)
  137. SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
  138. Simulate Control Failure: No
  139. Disconnect After: -1 messages
  140. Simulate Response Timeout: Yes
  141. Send Warning on Confirm: No (TKS: 1)
  142. SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
  143. Simulate Control Failure: No
  144. Disconnect After: 5 messages
  145. Simulate Response Timeout: No
  146. Send Warning on Confirm: No (TKS: 1)
  147. -----------------------------
  148. SVM: Will attempt to start 4 instances based on config.
  149. Thread-safe QueuedMessage queue created with capacity 400
  150. SVM: Listener thread 0 initiated for Port 8080 (LAK 0x08).
  151. SVM: Listener thread 1 initiated for Port 8081 (LAK 0x09).
  152. SVM: Listener thread 2 initiated for Port 8082 (LAK 0x0A).
  153. SVM: Listener thread 3 initiated for Port 8083 (LAK 0x0B).
  154. SVM: Starting common threads (Timer, Sender)...
  155. SVM: All common threads started. 4 listeners active. Running...
  156. Ethernet: Listening on port 8081 (handle: 3)
  157. Listener thread started for SVM ID 1 (LAK 0x09, Port 8081, Listen FD 3)
  158. Listener (SVM 1): Waiting for connection on port 8081...
  159. SVM Main: Waiting for shutdown signal...
  160. Ethernet: Listening on port 8082 (handle: 4)
  161. Listener thread started for SVM ID 2 (LAK 0x0A, Port 8082, Listen FD 4)
  162. Listener (SVM 2): Waiting for connection on port 8082...
  163. Ethernet: Listening on port 8080 (handle: 5)
  164. Listener thread started for SVM ID 0 (LAK 0x08, Port 8080, Listen FD 5)
  165. Listener (SVM 0): Waiting for connection on port 8080...
  166. Ethernet: Listening on port 8083 (handle: 7)
  167. Listener thread started for SVM ID 3 (LAK 0x0B, Port 8083, Listen FD 7)
  168. Listener (SVM 3): Waiting for connection on port 8083...
  169. SVM Sender thread started (reads global outgoing queue).
  170. SVM Timer thread started.
  171. Listener (SVM 0): Accepted connection from 192.168.189.128:38260 (Client FD 9)
  172. Thread-safe QueuedMessage queue created with capacity 100
  173. SVM Receiver thread started for instance 0 (handle: 9).
  174. SVM Receiver thread finished for instance 0.
  175. Listener (SVM 0): Instance activated. Worker threads started.
  176. SVM Processor thread started for instance 0.
  177. Listener (SVM 0): Receiver thread joined.
  178. Listener (SVM 2): Accepted connection from 192.168.189.128:43930 (Client FD 8)
  179. Thread-safe QueuedMessage queue created with capacity 100
  180. Listener (SVM 2): Instance activated. Worker threads started.
  181. Listener (SVM 1): Accepted connection from 192.168.189.128:55750 (Client FD 6)
  182. Thread-safe QueuedMessage queue created with capacity 100
  183. Listener (SVM 1): Instance activated. Worker threads started.
  184. SVM Receiver thread started for instance 1 (handle: 6).
  185. SVM Processor thread started for instance 1.
  186. SVM Processor thread started for instance 2.
  187. Listener (SVM 3): Accepted connection from 192.168.189.128:54524 (Client FD 10)
  188. Thread-safe QueuedMessage queue created with capacity 100
  189. SVM Receiver thread started for instance 3 (handle: 10).
  190. SVM Receiver thread finished for instance 3.
  191. Получено сообщение через Ethernet: Тип=128, Номер=0, Длина тела=2, Handle=6
  192. Processor (Inst 1): Обработка 'Инициализация канала'
  193. Параметры: LAUVM=0x1, LAK=0x09 (assigned)
  194. SVM (Inst 1): Эмуляция выключения лазера...
  195. Listener (SVM 3): Instance activated. Worker threads started.
  196. SVM Receiver thread started for instance 2 (handle: 8).
  197. Получено сообщение через Ethernet: Тип=128, Номер=0, Длина тела=2, Handle=8
  198. SVM Processor thread started for instance 3.
  199. Listener (SVM 3): Receiver thread joined.
  200. Ответ 'Подтверждение инициализации' сформирован (LAK=0x09).
  201. Processor (Inst 2): Обработка 'Инициализация канала'
  202. Параметры: LAUVM=0x1, LAK=0x0A (assigned)
  203. SVM (Inst 2): Эмуляция выключения лазера...
  204. Ответ 'Подтверждение инициализации' сформирован (LAK=0x0A).
  205. Отправка сообщения через Ethernet: Тип=129, Номер=0, Длина тела=12, Общий размер=18, Handle=6
  206. Отправка сообщения через Ethernet: Тип=129, Номер=0, Длина тела=12, Общий размер=18, Handle=8
  207. Получено сообщение через Ethernet: Тип=1, Номер=1, Длина тела=1, Handle=8
  208. Processor (Inst 2): Обработка 'Провести контроль'
  209. Получено сообщение через Ethernet: Тип=1, Номер=1, Длина тела=1, Handle=6
  210. SVM (Inst 2): Эмуляция самопроверки...
  211. Processor (Inst 1): Обработка 'Провести контроль'
  212. SVM (Inst 1): Эмуляция самопроверки...
  213. SVM (Inst 2, LAK 0x0A): SIMULATING response delay for 'Podtverzhdenie Kontrolya' AND preparing to stop responding.
  214. Ответ 'Подтверждение контроля' сформирован.
  215. Отправка сообщения через Ethernet: Тип=3, Номер=1, Длина тела=8, Общий размер=14, Handle=6
  216. Получено сообщение через Ethernet: Тип=2, Номер=2, Длина тела=1, Handle=6
  217. Processor (Inst 1): Обработка 'Выдать результаты контроля'
  218. SVM (Inst 1, LAK 0x09): SIMULATING control failure (RSK=0x3E).
  219. Ответ 'Результаты контроля' сформирован.
  220. Отправка сообщения через Ethernet: Тип=4, Номер=2, Длина тела=8, Общий размер=14, Handle=6
  221. Ответ 'Подтверждение контроля' сформирован.
  222. Отправка сообщения через Ethernet: Тип=3, Номер=1, Длина тела=8, Общий размер=14, Handle=8
  223. Получено сообщение через Ethernet: Тип=2, Номер=2, Длина тела=1, Handle=8
  224. Processor (Inst 2, LAK 0x0A): SIMULATING NO RESPONSE for 'Vydat Rezultaty Kontrolya' due to timeout simulation.
  225.  
  226.  
Advertisement
Add Comment
Please, Sign In to add comment