empiredan opened a new issue, #1036:
URL: https://github.com/apache/incubator-pegasus/issues/1036

   Unit test `tools_common.asio_network_provider_connection_threshold` 
sometimes failed for the following error:
   ```
   [----------] 4 tests from tools_common
   [ RUN      ] tools_common.asio_net_provider
   [       OK ] tools_common.asio_net_provider (9 ms)
   [ RUN      ] tools_common.asio_udp_provider
   [       OK ] tools_common.asio_udp_provider (1007 ms)
   [ RUN      ] tools_common.sim_net_provider
   [       OK ] tools_common.sim_net_provider (6 ms)
   [ RUN      ] tools_common.asio_network_provider_connection_threshold
   
/__w/incubator-pegasus/incubator-pegasus/rdsn/src/runtime/test/netprovider.cpp:95:
 Failure
   Value of: ERR_TIMEOUT == ec
     Actual: false
   Expected: true
   [  FAILED  ] tools_common.asio_network_provider_connection_threshold (1078 
ms)
   [----------] 4 tests from tools_common (2100 ms total)
   ```
   
   
   The messages from logging are as below: 
   ```
   [  FAILED  ] 1 test, listed below:
   [  FAILED  ] tools_common.asio_network_provider_connection_threshold
    1 FAILED TEST
   dsn exit with code 1
   run dsn_runtime_tests config-test.ini failed
   ---- ls ----
   total 123528
   drwxr-xr-x 3 root root      4096 Jul  6 07:34 CMakeFiles
   -rw-r--r-- 1 root root     33775 Jul  6 07:34 Makefile
   -rwxr-xr-x 1 root root      1238 Jul  6 07:34 clear.sh
   -rw-r--r-- 1 root root      1320 Jul  6 07:34 cmake_install.cmake
   -rw-r--r-- 1 root root       134 Jul  6 07:34 command.txt
   -rw-r--r-- 1 root root      4068 Jul  6 07:34 config-test-corrupt-message.ini
   -rw-r--r-- 1 root root      3416 Jul  6 07:34 config-test-sim.ini
   -rw-r--r-- 1 root root      4210 Jul  6 07:34 config-test.ini
   drwxr-xr-x 8 root root      4096 Jul  6 08:29 data
   -rwxr-xr-x 1 root root 126408200 Jul  6 07:49 dsn_runtime_tests
   -rw-r--r-- 1 root root       255 Jul  6 07:34 gtest.filter
   -rwxr-xr-x 1 root root      2309 Jul  6 07:34 run.sh
   ./data/log/log.1.txt
   ---- tail -n 100 log.1.txt ----
   W2022-07-06 08:29:50.739 (1657096190739289399 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
server_negotiation.cpp:137:do_challenge(): 
SERVER_NEGOTIATION(CLIENT=127.0.0.1:10086): negotiation failed, with err = 
ERR_TIMEOUT, msg = ERR_TIMEOUT
   D2022-07-06 08:29:50.739 (1657096190739366503 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: fail_point.cpp:79:cfg(): add 
fail_point [name: sasl_server_wrapper_start, task: Return(ERR_OK), frequency: 
100%, max_count: -1]
   D2022-07-06 08:29:50.739 (1657096190739423206 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: fail_point.cpp:79:cfg(): add 
fail_point [name: sasl_wrapper_retrieve_username, task: Return(ERR_OK), 
frequency: 100%, max_count: -1]
   W2022-07-06 08:29:50.739 (1657096190739454508 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
negotiation.cpp:65:check_status(): SERVER_NEGOTIATION(CLIENT=127.0.0.1:10086): 
get message(negotiation_select_mechanisms) while expect(negotiation_initiate)
   D2022-07-06 08:29:50.739 (1657096190739507511 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: fail_point.cpp:79:cfg(): add 
fail_point [name: sasl_server_wrapper_start, task: Return(ERR_OK), frequency: 
100%, max_count: -1]
   D2022-07-06 08:29:50.739 (1657096190739574915 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: fail_point.cpp:79:cfg(): add 
fail_point [name: sasl_wrapper_retrieve_username, task: Return(ERR_TIMEOUT), 
frequency: 100%, max_count: -1]
   D2022-07-06 08:29:50.739 (1657096190739613517 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: fail_point.cpp:155:eval(): fail 
on sasl_server_wrapper_start
   D2022-07-06 08:29:50.739 (1657096190739629218 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: fail_point.cpp:155:eval(): fail 
on sasl_wrapper_retrieve_username
   W2022-07-06 08:29:50.739 (1657096190739644719 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
server_negotiation.cpp:151:do_challenge(): 
SERVER_NEGOTIATION(CLIENT=127.0.0.1:10086): retrive user name failed: with err 
= ERR_TIMEOUT, msg = ERR_TIMEOUT
   D2022-07-06 08:29:50.739 (1657096190739715122 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: fail_point.cpp:79:cfg(): add 
fail_point [name: sasl_server_wrapper_start, task: Return(ERR_SASL_INCOMPLETE), 
frequency: 100%, max_count: -1]
   D2022-07-06 08:29:50.739 (1657096190739778426 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: fail_point.cpp:79:cfg(): add 
fail_point [name: sasl_wrapper_retrieve_username, task: Return(ERR_OK), 
frequency: 100%, max_count: -1]
   D2022-07-06 08:29:50.739 (1657096190739833729 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: fail_point.cpp:155:eval(): fail 
on sasl_server_wrapper_start
   E2022-07-06 08:29:50.744 (1657096190744628594 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 14
   E2022-07-06 08:29:50.744 (1657096190744640495 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 15
   E2022-07-06 08:29:50.744 (1657096190744652295 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 16
   E2022-07-06 08:29:50.744 (1657096190744664096 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 17
   E2022-07-06 08:29:50.744 (1657096190744688497 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 18
   E2022-07-06 08:29:50.744 (1657096190744709299 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 19
   E2022-07-06 08:29:50.744 (1657096190744722599 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 20
   E2022-07-06 08:29:50.744 (1657096190744734800 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 21
   E2022-07-06 08:29:50.744 (1657096190744746701 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 22
   E2022-07-06 08:29:50.744 (1657096190744765302 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 23
   E2022-07-06 08:29:50.744 (1657096190744778302 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 24
   E2022-07-06 08:29:50.744 (1657096190744793103 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 25
   E2022-07-06 08:29:50.744 (1657096190744805704 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 26
   E2022-07-06 08:29:50.744 
(1657096190744[817](https://github.com/apache/incubator-pegasus/runs/7210178250?check_suite_focus=true#step:8:818)505
 4841) client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 27
   E2022-07-06 08:29:50.744 (1657096190744829305 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 28
   E2022-07-06 08:29:50.744 (1657096190744841006 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 29
   E2022-07-06 08:29:50.744 (1657096190744852807 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 30
   E2022-07-06 08:29:50.744 (1657096190744870108 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 31
   E2022-07-06 08:29:50.744 
(16570961907448[828](https://github.com/apache/incubator-pegasus/runs/7210178250?check_suite_focus=true#step:8:829)08
 4841) client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 32
   E2022-07-06 08:29:50.744 (1657096190744894609 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 33
   E2022-07-06 08:29:50.744 (1657096190744906310 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 34
   E2022-07-06 08:29:50.744 (1657096190744992114 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 35
   E2022-07-06 08:29:50.745 (1657096190745006915 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 36
   E2022-07-06 08:29:50.745 (1657096190745024716 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 37
   E2022-07-06 08:29:50.745 (1657096190745036717 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 38
   E2022-07-06 08:29:50.745 (1657096190745059618 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 39
   E2022-07-06 08:29:50.745 (1657096190745079419 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 40
   E2022-07-06 08:29:50.745 (1657096190745091720 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 41
   E2022-07-06 08:29:50.745 (1657096190745103420 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 42
   E2022-07-06 08:29:50.745 (1657096190745115121 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 43
   E2022-07-06 08:29:50.745 (1657096190745126922 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 44
   E2022-07-06 08:29:50.745 (1657096190745138722 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 45
   E2022-07-06 08:29:50.745 (1657096190745150523 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 46
   E2022-07-06 08:29:50.745 (1657096190745166624 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:166:parse_request_header(): hdr_length should be 48, 
but 47
   E2022-07-06 08:29:50.745 
(1657096190745[833](https://github.com/apache/incubator-pegasus/runs/7210178250?check_suite_focus=true#step:8:834)261
 
4[841](https://github.com/apache/incubator-pegasus/runs/7210178250?check_suite_focus=true#step:8:842))
 client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:113:create_message_from_request_blob(): invalid 
message type: 2
   E2022-07-06 08:29:50.745 
(16570961[907](https://github.com/apache/incubator-pegasus/runs/7210178250?check_suite_focus=true#step:8:908)45941667
 4841) client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:113:create_message_from_request_blob(): invalid 
message type: 65
   E2022-07-06 08:29:50.746 (1657096190746741211 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
thrift_message_parser.cpp:113:create_message_from_request_blob(): invalid 
message type: 65
   D2022-07-06 08:29:50.751 (1657096190751307364 4841) 
client.THREAD_POOL_DEFAULT0.000012d400010001: 
tracer.cpp:117:tracer_on_task_end(): LPC_CONTROL_SERVICE_APP EXEC END, task_id 
= 000012d400010001, err = ERR_OK
   ERROR: run dsn_runtime_tests failed, return_code = 1
   Error: Process completed with exit code 1.
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to