Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dtorkin@ubuntu1:~/Desktop/practice$ sudo ./uvm_app OR
- UVM: Effective RadarMode selected: OR (0)
- UVM: Загрузка конфигурации...
- Configuration parsed successfully from 'config.ini'.
- Found configurations for 1 SVM instances in file.
- Found configurations for 2 SVM instances in file.
- Found configurations for 3 SVM instances in file.
- Found configurations for 4 SVM instances in file.
- --- Effective Configuration ---
- interface_type = ethernet
- UVM Target: 192.168.189.129:8080
- Keep-Alive Timeout: 15 seconds
- Response Timeout: 5 seconds
- SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
- Simulate Control Failure: No
- Disconnect After: -1 messages
- Simulate Response Timeout: No
- Send Warning on Confirm: No (TKS: 1)
- SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
- Simulate Control Failure: Yes
- Disconnect After: -1 messages
- Simulate Response Timeout: No
- Send Warning on Confirm: No (TKS: 1)
- SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
- Simulate Control Failure: No
- Disconnect After: -1 messages
- Simulate Response Timeout: Yes
- Send Warning on Confirm: No (TKS: 1)
- SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
- Simulate Control Failure: No
- Disconnect After: 5 messages
- Simulate Response Timeout: No
- Send Warning on Confirm: No (TKS: 1)
- -----------------------------
- UVM: Found 4 SVM configurations in config file.
- Thread-safe UVM request queue created with capacity 50
- Thread-safe UVM Response queue created with capacity 200
- UVM: Connecting to SVMs...
- UVM: Attempting to connect to SVM ID 0 (IP: 192.168.189.129, Port: 8080)...
- Ethernet: Connected to 192.168.189.129:8080 (handle: 3)
- UVM: Successfully connected to SVM ID 0 (Handle: 3).
- UVM: Attempting to connect to SVM ID 1 (IP: 192.168.189.129, Port: 8081)...
- Ethernet: Connected to 192.168.189.129:8081 (handle: 4)
- UVM: Successfully connected to SVM ID 1 (Handle: 4).
- UVM: Attempting to connect to SVM ID 2 (IP: 192.168.189.129, Port: 8082)...
- Ethernet: Connected to 192.168.189.129:8082 (handle: 5)
- UVM: Successfully connected to SVM ID 2 (Handle: 5).
- UVM: Attempting to connect to SVM ID 3 (IP: 192.168.189.129, Port: 8083)...
- Ethernet: Connected to 192.168.189.129:8083 (handle: 6)
- UVM: Successfully connected to SVM ID 3 (Handle: 6).
- UVM: Connected to 4 out of 4 configured SVMs.
- UVM: Запуск потоков Sender, Receiver(s) и GUI Server...
- UVM: All necessary threads started. Selected RadarMode: OR
- UVM Sender thread started.
- UVM: Entering main processing loop (Ctrl+C to exit)...
- UVM Receiver thread started for SVM ID 1 (handle: 4).
- UVM Receiver thread started for SVM ID 0 (handle: 3).
- UVM Receiver thread started for SVM ID 2 (handle: 5).
- GUI Server: Starting listener on port 12345
- GUI Server: Waiting for GUI connection on port 12345...
- UVM Receiver thread started for SVM ID 3 (handle: 6).
- GUI Server: Accepted connection from 127.0.0.1:40010 (FD 8)
- GUI Server: Sending initial state to new GUI client (FD 8).
- GUI Server: Initial state sent to GUI client (FD 8).
- ^C
- UVM: Received shutdown signal. Exiting...
- Thread-safe UVM request queue shutdown initiated.
- Thread-safe UVM Response queue shutdown initiated.
- DEBUG_UVM_MAIN_LOOP: SVM 0 Evaluating send. Status: ACTIVE, Stage: IDLE, ExpectedResp: UNKNOWN_MSG_TYPE, CurrentMsgNum: 0
- DEBUG_UVM_MAIN_LOOP: SVM 0 (LAK 0x08) Stage IDLE, preparing InitChannel (MsgNum 0).
- Sender Thread: Request queue empty and shutdown signaled. Exiting.
- UVM Main: Failed to enqueue request (type SEND_MESSAGE, target_svm_id 0)
- UVM Sender thread finished.
- DEBUG_UVM_MAIN_LOOP: SVM 0 FAILED to enqueue request for stage IDLE.
- DEBUG_UVM_MAIN_LOOP: SVM 1 Evaluating send. Status: ACTIVE, Stage: IDLE, ExpectedResp: UNKNOWN_MSG_TYPE, CurrentMsgNum: 0
- DEBUG_UVM_MAIN_LOOP: SVM 1 (LAK 0x09) Stage IDLE, preparing InitChannel (MsgNum 0).
- UVM Main: Failed to enqueue request (type SEND_MESSAGE, target_svm_id 1)
- DEBUG_UVM_MAIN_LOOP: SVM 1 FAILED to enqueue request for stage IDLE.
- DEBUG_UVM_MAIN_LOOP: SVM 2 Evaluating send. Status: ACTIVE, Stage: IDLE, ExpectedResp: UNKNOWN_MSG_TYPE, CurrentMsgNum: 0
- DEBUG_UVM_MAIN_LOOP: SVM 2 (LAK 0x0A) Stage IDLE, preparing InitChannel (MsgNum 0).
- UVM Main: Failed to enqueue request (type SEND_MESSAGE, target_svm_id 2)
- DEBUG_UVM_MAIN_LOOP: SVM 2 FAILED to enqueue request for stage IDLE.
- DEBUG_UVM_MAIN_LOOP: SVM 3 Evaluating send. Status: ACTIVE, Stage: IDLE, ExpectedResp: UNKNOWN_MSG_TYPE, CurrentMsgNum: 0
- DEBUG_UVM_MAIN_LOOP: SVM 3 (LAK 0x0B) Stage IDLE, preparing InitChannel (MsgNum 0).
- UVM Main: Failed to enqueue request (type SEND_MESSAGE, target_svm_id 3)
- DEBUG_UVM_MAIN_LOOP: SVM 3 FAILED to enqueue request for stage IDLE.
- DEBUG_UVM_MAIN_LOOP: SVM 0 Keep-Alive TIMEOUT! Last activity 21s ago. Marking FAILED.
- receive_protocol_message: Соединение закрыто при чтении заголовка.
- DEBUG_UVM_MAIN_LOOP: SVM 1 Keep-Alive TIMEOUT! Last activity 21s ago. Marking FAILED.
- DEBUG_UVM_MAIN_LOOP: SVM 2 Keep-Alive TIMEOUT! Last activity 21s ago. Marking FAILED.
- UVM Receiver thread for SVM ID 0 finished.
- receive_protocol_message: Соединение закрыто при чтении заголовка.
- receive_protocol_message: Соединение закрыто при чтении заголовка.
- DEBUG_UVM_MAIN_LOOP: SVM 3 Keep-Alive TIMEOUT! Last activity 21s ago. Marking FAILED.
- UVM: Initiating shutdown of sender and receiver threads...
- Thread-safe UVM request queue shutdown initiated.
- UVM: Waiting for sender thread to join...
- UVM: Sender thread joined.
- UVM: Waiting for receiver thread for SVM ID 0 to join...
- UVM: Receiver thread for SVM ID 0 joined.
- UVM: Waiting for receiver thread for SVM ID 1 to join...
- UVM Receiver thread for SVM ID 2 finished.
- UVM Receiver thread for SVM ID 1 finished.
- UVM: Receiver thread for SVM ID 1 joined.
- UVM: Waiting for receiver thread for SVM ID 2 to join...
- UVM: Receiver thread for SVM ID 2 joined.
- UVM: Waiting for receiver thread for SVM ID 3 to join...
- receive_protocol_message: Соединение закрыто при чтении заголовка.
- UVM Receiver thread for SVM ID 3 finished.
- UVM: Receiver thread for SVM ID 3 joined.
- UVM: Waiting for GUI server thread to join...
- GUI Server: Loop for client FD 8 ended.
- GUI Server: Thread shutting down.
- UVM: GUI server thread joined.
- UVM: Завершение работы и очистка ресурсов...
- Ethernet Interface destroyed.
- Ethernet Interface destroyed.
- Ethernet Interface destroyed.
- Ethernet Interface destroyed.
- Thread-safe UVM request queue destroyed
- Thread-safe UVM Response queue destroyed
- UVM: Очистка завершена. Выход.
- dtorkin@ubuntu1:~/Desktop/practice$ sudo ./svm_app
- SVM Multi-Port Server starting...
- Message handlers initialized.
- SVM: Loading configuration...
- Configuration parsed successfully from 'config.ini'.
- Found configurations for 1 SVM instances in file.
- Found configurations for 2 SVM instances in file.
- Found configurations for 3 SVM instances in file.
- Found configurations for 4 SVM instances in file.
- --- Effective Configuration ---
- interface_type = ethernet
- UVM Target: 192.168.189.129:8080
- Keep-Alive Timeout: 15 seconds
- Response Timeout: 5 seconds
- SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
- Simulate Control Failure: No
- Disconnect After: -1 messages
- Simulate Response Timeout: No
- Send Warning on Confirm: No (TKS: 1)
- SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
- Simulate Control Failure: Yes
- Disconnect After: -1 messages
- Simulate Response Timeout: No
- Send Warning on Confirm: No (TKS: 1)
- SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
- Simulate Control Failure: No
- Disconnect After: -1 messages
- Simulate Response Timeout: Yes
- Send Warning on Confirm: No (TKS: 1)
- SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
- Simulate Control Failure: No
- Disconnect After: 5 messages
- Simulate Response Timeout: No
- Send Warning on Confirm: No (TKS: 1)
- -----------------------------
- SVM: Will attempt to start 4 instances based on config.
- DEBUG SVM MAIN - Instance 0 Settings: LAK=0x08, simulate_control_failure=0, disconnect_after=-1, simulate_timeout=0, send_warning=0, tks=1
- DEBUG SVM MAIN - Instance 1 Settings: LAK=0x09, simulate_control_failure=1, disconnect_after=-1, simulate_timeout=0, send_warning=0, tks=1
- DEBUG SVM MAIN - Instance 2 Settings: LAK=0x0A, simulate_control_failure=0, disconnect_after=-1, simulate_timeout=1, send_warning=0, tks=1
- DEBUG SVM MAIN - Instance 3 Settings: LAK=0x0B, simulate_control_failure=0, disconnect_after=5, simulate_timeout=0, send_warning=0, tks=1
- SVM: Loading configuration...
- Configuration parsed successfully from 'config.ini'.
- Found configurations for 1 SVM instances in file.
- Found configurations for 2 SVM instances in file.
- Found configurations for 3 SVM instances in file.
- Found configurations for 4 SVM instances in file.
- --- Effective Configuration ---
- interface_type = ethernet
- UVM Target: 192.168.189.129:8080
- Keep-Alive Timeout: 15 seconds
- Response Timeout: 5 seconds
- SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
- Simulate Control Failure: No
- Disconnect After: -1 messages
- Simulate Response Timeout: No
- Send Warning on Confirm: No (TKS: 1)
- SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
- Simulate Control Failure: Yes
- Disconnect After: -1 messages
- Simulate Response Timeout: No
- Send Warning on Confirm: No (TKS: 1)
- SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
- Simulate Control Failure: No
- Disconnect After: -1 messages
- Simulate Response Timeout: Yes
- Send Warning on Confirm: No (TKS: 1)
- SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
- Simulate Control Failure: No
- Disconnect After: 5 messages
- Simulate Response Timeout: No
- Send Warning on Confirm: No (TKS: 1)
- -----------------------------
- SVM: Will attempt to start 4 instances based on config.
- Thread-safe QueuedMessage queue created with capacity 400
- SVM: Listener thread 0 initiated for Port 8080 (LAK 0x08).
- SVM: Listener thread 1 initiated for Port 8081 (LAK 0x09).
- SVM: Listener thread 2 initiated for Port 8082 (LAK 0x0A).
- SVM: Listener thread 3 initiated for Port 8083 (LAK 0x0B).
- SVM: Starting common threads (Timer, Sender)...
- Ethernet: Listening on port 8080 (handle: 3)
- Listener thread started for SVM ID 0 (LAK 0x08, Port 8080, Listen FD 3)
- Listener (SVM 0): Waiting for connection on port 8080...
- SVM Timer thread started.
- Ethernet: Listening on port 8082 (handle: 5)
- Listener thread started for SVM ID 2 (LAK 0x0A, Port 8082, Listen FD 5)
- Listener (SVM 2): Waiting for connection on port 8082...
- Ethernet: Listening on port 8081 (handle: 7)
- Listener thread started for SVM ID 1 (LAK 0x09, Port 8081, Listen FD 7)
- Ethernet: Listening on port 8083 (handle: 8)
- Listener thread started for SVM ID 3 (LAK 0x0B, Port 8083, Listen FD 8)
- Listener (SVM 3): Waiting for connection on port 8083...
- SVM: All common threads started. 4 listeners active. Running...
- Listener (SVM 1): Waiting for connection on port 8081...
- SVM Sender thread started (reads global outgoing queue).
- SVM Main: Waiting for shutdown signal...
- Listener (SVM 0): Accepted connection from 192.168.189.128:39932 (Client FD 4)
- Thread-safe QueuedMessage queue created with capacity 100
- Listener (SVM 1): Accepted connection from 192.168.189.128:35050 (Client FD 10)
- Thread-safe QueuedMessage queue created with capacity 100
- Listener (SVM 1): Instance activated. Worker threads started.
- SVM Receiver thread started for instance 1 (handle: 10).
- SVM Processor thread started for instance 1.
- Listener (SVM 0): Instance activated. Worker threads started.
- SVM Receiver thread started for instance 0 (handle: 4).
- Listener (SVM 2): Accepted connection from 192.168.189.128:58812 (Client FD 6)
- Thread-safe QueuedMessage queue created with capacity 100
- Listener (SVM 2): Instance activated. Worker threads started.
- SVM Receiver thread started for instance 2 (handle: 6).
- SVM Processor thread started for instance 2.
- SVM Processor thread started for instance 0.
- Listener (SVM 3): Accepted connection from 192.168.189.128:52062 (Client FD 9)
- Thread-safe QueuedMessage queue created with capacity 100
- Listener (SVM 3): Instance activated. Worker threads started.
- SVM Receiver thread started for instance 3 (handle: 9).
- SVM Processor thread started for instance 3.
- ^C
- SVM: Received shutdown signal. Shutting down all listeners and instances...
- Thread-safe QueuedMessage queue shutdown initiated.
- SVM Sender thread finished.
- Timer thread stop signaled.
- SVM Main: Shutdown initiated. Waiting for threads to join...
- Timer thread stop signaled.
- SVM Timer thread stopped.
- SVM Main: Timer thread joined.
- SVM Main: Waiting for listener threads to join...
- receive_protocol_message: Соединение закрыто при чтении заголовка.
- Receiver Thread (Inst 1): Marked instance as inactive.
- Receiver Thread (Inst 1): Shutting down incoming queue.
- Thread-safe QueuedMessage queue shutdown initiated.
- Processor Thread (Inst 1): Incoming queue empty and shutdown. Exiting.
- SVM Receiver thread finished for instance 1.
- SVM Processor thread finished for instance 1.
- receive_protocol_message: Соединение закрыто при чтении заголовка.
- Receiver Thread (Inst 2): Marked instance as inactive.
- Receiver Thread (Inst 2): Shutting down incoming queue.
- Thread-safe QueuedMessage queue shutdown initiated.
- SVM Receiver thread finished for instance 2.
- Listener (SVM 1): Receiver thread joined.
- Listener (SVM 1): Processor thread joined.
- Listener (SVM 1): Worker threads finished. Cleaning up instance...
- Ethernet: Closing handle 10
- receive_protocol_message: Соединение закрыто при чтении заголовка.
- Receiver Thread (Inst 0): Marked instance as inactive.
- Receiver Thread (Inst 0): Shutting down incoming queue.
- Thread-safe QueuedMessage queue shutdown initiated.
- SVM Receiver thread finished for instance 0.
- Processor Thread (Inst 0): Incoming queue empty and shutdown. Exiting.
- SVM Processor thread finished for instance 0.
- Thread-safe QueuedMessage queue destroyed
- Listener (SVM 1): Instance deactivated. Ready for new connection.
- Listener thread for SVM ID 1 finished.
- Ethernet Interface destroyed.
- Processor Thread (Inst 2): Incoming queue empty and shutdown. Exiting.
- SVM Processor thread finished for instance 2.
- receive_protocol_message: Соединение закрыто при чтении заголовка.
- Receiver Thread (Inst 3): Marked instance as inactive.
- Receiver Thread (Inst 3): Shutting down incoming queue.
- Thread-safe QueuedMessage queue shutdown initiated.
- SVM Receiver thread finished for instance 3.
- Processor Thread (Inst 3): Incoming queue empty and shutdown. Exiting.
- SVM Processor thread finished for instance 3.
- Listener (SVM 3): Receiver thread joined.
- Listener (SVM 2): Receiver thread joined.
- Listener (SVM 2): Processor thread joined.
- Listener (SVM 2): Worker threads finished. Cleaning up instance...
- Ethernet: Closing handle 6
- Listener (SVM 3): Processor thread joined.
- Listener (SVM 3): Worker threads finished. Cleaning up instance...
- Ethernet: Closing handle 9
- Thread-safe QueuedMessage queue destroyed
- Listener (SVM 3): Instance deactivated. Ready for new connection.
- Listener thread for SVM ID 3 finished.
- Ethernet Interface destroyed.
- Listener (SVM 0): Receiver thread joined.
- Listener (SVM 0): Processor thread joined.
- Listener (SVM 0): Worker threads finished. Cleaning up instance...
- Ethernet: Closing handle 4
- Thread-safe QueuedMessage queue destroyed
- Listener (SVM 0): Instance deactivated. Ready for new connection.
- Listener thread for SVM ID 0 finished.
- Ethernet Interface destroyed.
- Thread-safe QueuedMessage queue destroyed
- Listener (SVM 2): Instance deactivated. Ready for new connection.
- Listener thread for SVM ID 2 finished.
- Ethernet Interface destroyed.
- SVM Main: Listener thread for SVM ID 0 joined.
- SVM Main: Listener thread for SVM ID 1 joined.
- SVM Main: Listener thread for SVM ID 2 joined.
- SVM Main: Listener thread for SVM ID 3 joined.
- SVM Main: All listener threads joined.
- SVM Main: Sender thread joined.
- SVM: Cleaning up queues...
- Thread-safe QueuedMessage queue destroyed
- SVM: Cleaning up synchronization primitives...
- SVM: Cleanup finished. Exiting.
Advertisement
Add Comment
Please, Sign In to add comment