You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
101 lines
6.4 KiB
101 lines
6.4 KiB
=== ETCP Two-Instance Connection Test === |
|
|
|
Creating server instance... |
|
[CONFIG DEBUG] Opening config file: test_server.conf |
|
[CONFIG DEBUG] Successfully opened config file |
|
[CONFIG DEBUG] Checking config - priv_key='67b705a92b41bcaae105af2d6a17743faa7b26ccebba8b3b9b0af05e9cd1d5fb' (len=64), pub_key='1c55e4ccae7c4470707759086738b10681bf88b81f198cc2ab54a647d1556e17c65e6b1833e0c771e5a39382c03067c388915a4c732191bc130480f20f8e00b9' (len=128), node_id=1229782938247303441 |
|
[CONFIG DEBUG] Validation results - need_priv_key=0, need_pub_key=0, need_node_id=0 |
|
[CONFIG DEBUG] Opening config file: test_server.conf |
|
[CONFIG DEBUG] Successfully opened config file |
|
INFO: sc_init_local_keys: public_key len=128, private_key len=64 |
|
INFO: sc_validate_key: uECC_valid_public_key returned 0 |
|
INFO: sc_init_local_keys: keys initialized successfully |
|
[ETCP] Successfully bound socket to local address, family=2 |
|
INFO: Registered ETCP socket with uasync (fd=5) |
|
[ETCP] Socket 0x5b8429757280 (fd=5) registered and active |
|
Initialized server test on 127.0.0.1:9001 (links: 0) |
|
Initialized 0 connections |
|
Server instance ready (node_id=1111111111111111) |
|
|
|
Creating client instance... |
|
[CONFIG DEBUG] Opening config file: test_client.conf |
|
[CONFIG DEBUG] Successfully opened config file |
|
[CONFIG DEBUG] Checking config - priv_key='4813d31d28b7e9829247f488c6be7672f2bdf61b2508333128e386d1759afed2' (len=64), pub_key='c594f33c91f3a2222795c2c110c527bf214ad1009197ce14556cb13df3c461b3c373bed8f205a8dd1fc0c364f90bf471d7c6f5db49564c33e4235d268569ac71' (len=128), node_id=2459565876494606882 |
|
[CONFIG DEBUG] Validation results - need_priv_key=0, need_pub_key=0, need_node_id=0 |
|
[CONFIG DEBUG] Opening config file: test_client.conf |
|
[CONFIG DEBUG] Successfully opened config file |
|
INFO: sc_init_local_keys: public_key len=128, private_key len=64 |
|
INFO: sc_validate_key: uECC_valid_public_key returned 0 |
|
INFO: sc_init_local_keys: keys initialized successfully |
|
[ETCP] Successfully bound socket to local address, family=2 |
|
INFO: Registered ETCP socket with uasync (fd=8) |
|
[ETCP] Socket 0x5b84297585c0 (fd=8) registered and active |
|
Initialized server test on 127.0.0.1:9002 (links: 0) |
|
INFO: init_connections: setting peer public key for client test_client |
|
INFO: sc_validate_key: uECC_valid_public_key returned 0 |
|
INFO: init_connections: successfully set peer public key for client test_client |
|
INFO: Sending INIT request to link, node_id=2459565876494606882, retry=0 |
|
[ETCP] INIT sending to 127.0.0.1:9001, link=0x5b84297589d0, conn_fd=8 |
|
[ETCP DUMP] ECTP_ENCRYPT_SEND: len=77; dump: 02 22 22 22 22 22 22 22 22 05 dc 00 1e c5 94 f3 3c 91 f3 a2 22 27 95 c2 c1 10 c5 27 bf 21 4a d1 00 91 97 ce 14 55 6c b1 3d f3 c4 61 b3 c3 73 be d8 f2 05 a8 dd 1f c0 c3 64 f9 0b f4 71 d7 c6 f5 db 49 56 4c 33 e4 23 5d 26 85 69 ac 71 |
|
[ETCP] Sending packet to 127.0.0.1:9001, size=91 |
|
Added client test_client with 1 links |
|
Initialized 1 connections |
|
Client instance ready (node_id=2222222222222222) |
|
|
|
Starting connection monitoring... |
|
Running event loop... |
|
|
|
Waiting 2 seconds for server initialization... |
|
[ETCP DUMP] RECV in:: len=91; dump: 3b 80 7d cf fa bd 7d e1 eb a6 01 cf 58 bf 72 7a 85 53 71 57 fa b0 55 87 5f f8 b2 c5 94 f3 3c 91 f3 a2 22 27 95 c2 c1 10 c5 27 bf 21 4a d1 00 91 97 ce 14 55 6c b1 3d f3 c4 61 b3 c3 73 be d8 f2 05 a8 dd 1f c0 c3 64 f9 0b f4 71 d7 c6 f5 db 49 56 4c 33 e4 23 5d 26 85 69 ac 71 |
|
c5 94 f3 3c 91 f3 a2 22 27 95 c2 c1 10 c5 27 bf 21 4a d1 00 91 97 ce 14 55 6c b1 3d f3 c4 61 b3 c3 73 be d8 f2 05 a8 dd 1f c0 c3 64 f9 0b f4 71 d7 c6 f5 db 49 56 4c 33 e4 23 5d 26 85 69 ac 71 INFO: sc_validate_key: uECC_valid_public_key returned 0 |
|
[ETCP DEBUG] Send INIT RESPONSE |
|
[ETCP DUMP] ECTP_ENCRYPT_SEND: len=11; dump: 03 11 11 11 11 11 11 11 11 00 00 |
|
[ETCP] Sending packet to 127.0.0.1:9002, size=25 |
|
[ETCP DUMP] RECV in:: len=25; dump: 33 80 7c fc c9 8e 4e d2 d8 95 32 ca 84 21 9f 71 d7 f9 31 cf a0 68 84 f8 74 |
|
[ETCP DUMP] RECV decrypted:: len=11; dump: 03 11 11 11 11 11 11 11 11 00 00 |
|
[ETCP] code=3 |
|
INFO: Received INIT_RESPONSE from server_node_id=1229782938247303441, mtu=0 |
|
[ETCP] Link initialized successfully! Server node_id=1229782938247303441, mmake[1]: *** Нет правила для сборки цели «test_ll_queue_new.c», требуемой для «test_ll_queue-test_ll_queue_new.o». Останов. |
|
make: *** [Makefile:1494: check-am] Ошибка 2 |
|
test_ll_queue.c:20: warning: "DEBUG_CATEGORY_LL_QUEUE" redefined |
|
20 | #define DEBUG_CATEGORY_LL_QUEUE 1 |
|
| |
|
In file included from test_ll_queue.c:16: |
|
../lib/debug_config.h:32: note: this is the location of the previous definition |
|
32 | #define DEBUG_CATEGORY_LL_QUEUE ((debug_category_t)1 << 1) // ll_queue module |
|
| |
|
test_ll_queue.c: In function ‘test_memory_pool_integration’: |
|
test_ll_queue.c:670:21: error: ‘entry_data3’ undeclared (first use in this function) |
|
670 | queue_data_free(entry_data3); |
|
| ^~~~~~~~~~~ |
|
test_ll_queue.c:670:21: note: each undeclared identifier is reported only once for each function it appears in |
|
test_ll_queue.c: In function ‘test_edge_cases’: |
|
test_ll_queue.c:719:21: error: ‘entry_retrieved’ undeclared (first use in this function) |
|
719 | queue_data_free(entry_retrieved); |
|
| ^~~~~~~~~~~~~~~ |
|
test_ll_queue.c: In function ‘test_memory_pool_vs_malloc_performance’: |
|
test_ll_queue.c:1005:31: error: ‘entry_data’ undeclared (first use in this function) |
|
1005 | queue_data_put(q, entry_data, data->id); |
|
| ^~~~~~~~~~ |
|
make: *** [Makefile:1086: test_ll_queue-test_ll_queue.o] Ошибка 1 |
|
test_ll_queue.c:20: warning: "DEBUG_CATEGORY_LL_QUEUE" redefined |
|
20 | #define DEBUG_CATEGORY_LL_QUEUE 1 |
|
| |
|
In file included from test_ll_queue.c:16: |
|
../lib/debug_config.h:32: note: this is the location of the previous definition |
|
32 | #define DEBUG_CATEGORY_LL_QUEUE ((debug_category_t)1 << 1) // ll_queue module |
|
| |
|
test_ll_queue.c:20: warning: "DEBUG_CATEGORY_LL_QUEUE" redefined |
|
20 | #define DEBUG_CATEGORY_LL_QUEUE 1 |
|
| |
|
In file included from test_ll_queue.c:16: |
|
../lib/debug_config.h:32: note: this is the location of the previous definition |
|
32 | #define DEBUG_CATEGORY_LL_QUEUE ((debug_category_t)1 << 1) // ll_queue module |
|
| |
|
test_ll_queue.c:20: warning: "DEBUG_CATEGORY_LL_QUEUE" redefined |
|
20 | #define DEBUG_CATEGORY_LL_QUEUE 1 |
|
| |
|
In file included from test_ll_queue.c:16: |
|
../lib/debug_config.h:32: note: this is the location of the previous definition |
|
32 | #define DEBUG_CATEGORY_LL_QUEUE ((debug_category_t)1 << 1) // ll_queue module |
|
|
|
|
|