remove proxy to fix error on mac dist ut
Created by: lelelelelez
在paddle/scripts/paddle_build.sh里,执行mac的单测时,如果不去掉代理,Mac_CI中test_fl_listen_and_serv_op
failed。(错误链接见 #24696 历史记录)
[06:24:40][Step 1/1] 372/845 Test #350: test_fl_listen_and_serv_op ...........................................***Failed 12.49 sec
[06:24:40][Step 1/1] darwin
[06:24:40][Step 1/1] I0525 14:52:06.025272 112766976 grpc_server.cc:477] Server listening on 127.0.0.1:6000 successful, selected port: 6000
[06:24:40][Step 1/1] W0525 14:52:11.526304 111693824 init.cc:222] Warning: PaddlePaddle catches a failure signal, it may not work properly
[06:24:40][Step 1/1] W0525 14:52:11.526589 111693824 init.cc:224] You could check whether you killed PaddlePaddle thread/process accidentally or report the case to PaddlePaddle
[06:24:40][Step 1/1] W0525 14:52:11.526763 111693824 init.cc:227] The detail failure signal is:
[06:24:40][Step 1/1]
[06:24:40][Step 1/1] W0525 14:52:11.526929 111693824 init.cc:230] *** Aborted at 1590389531 (unix time) try "date -d @1590389531" if you are using GNU date ***
[06:24:40][Step 1/1] W0525 14:52:11.527444 111693824 init.cc:230] PC: @ 0x0 (unknown)
[06:24:40][Step 1/1] W0525 14:52:11.527747 111693824 init.cc:230] *** SIGSEGV (@0x10381aa3a) received by PID 96337 (TID 0x700006a85000) stack trace: ***
[06:24:40][Step 1/1] W0525 14:52:11.528072 111693824 init.cc:230] @ 0x7fff7e950b3d _sigtramp
[06:24:40][Step 1/1] W0525 14:52:11.528300 111693824 init.cc:230] @ 0x7fff7e973ab4 _os_log_cmp_key
[06:24:40][Step 1/1] W0525 14:52:11.528488 111693824 init.cc:230] @ 0x7fff7e821a5e rb_tree_find_node
[06:24:40][Step 1/1] W0525 14:52:11.528673 111693824 init.cc:230] @ 0x7fff7e971c81 os_log_create
[06:24:40][Step 1/1] W0525 14:52:11.528897 111693824 init.cc:230] @ 0x7fff7e8808e7 gai_log_init
[06:24:40][Step 1/1] W0525 14:52:11.529078 111693824 init.cc:230] @ 0x7fff7e957cf4 __pthread_once_handler
[06:24:40][Step 1/1] W0525 14:52:11.529254 111693824 init.cc:230] @ 0x7fff7e94dacb _os_once_callout
[06:24:40][Step 1/1] W0525 14:52:11.529465 111693824 init.cc:230] @ 0x7fff7e957c8f pthread_once
[06:24:40][Step 1/1] W0525 14:52:11.529645 111693824 init.cc:230] @ 0x7fff7e87fc0b gai_log
[06:24:40][Step 1/1] W0525 14:52:11.529822 111693824 init.cc:230] @ 0x7fff7e88094e _gai_nat64_v4_synthesize
[06:24:40][Step 1/1] W0525 14:52:11.530031 111693824 init.cc:230] @ 0x7fff7e85eeb2 _gai_nat64_synthesis
[06:24:40][Step 1/1] W0525 14:52:11.530241 111693824 init.cc:230] @ 0x7fff7e85e893 si_addrinfo
[06:24:40][Step 1/1] W0525 14:52:11.530447 111693824 init.cc:230] @ 0x7fff7e85e262 _getaddrinfo_internal
[06:24:40][Step 1/1] W0525 14:52:11.530656 111693824 init.cc:230] @ 0x7fff7e85e15d getaddrinfo
[06:24:40][Step 1/1] W0525 14:52:11.532513 111693824 init.cc:230] @ 0x115ecb9fc grpc_polling_entity_del_from_pollset_set()
[06:24:40][Step 1/1] W0525 14:52:11.533272 111693824 init.cc:230] @ 0x115ecbeff grpc_resolved_addresses_destroy()
[06:24:40][Step 1/1] W0525 14:52:11.533824 111693824 init.cc:230] @ 0x115eca79a grpc_executor_set_threading()
[06:24:40][Step 1/1] W0525 14:52:11.534442 111693824 init.cc:230] @ 0x115eaf4ed gpr_thd_new()
[06:24:40][Step 1/1] W0525 14:52:11.534726 111693824 init.cc:230] @ 0x7fff7e95933d _pthread_body
[06:24:40][Step 1/1] W0525 14:52:11.535037 111693824 init.cc:230] @ 0x7fff7e95c2a7 _pthread_start
[06:24:40][Step 1/1] W0525 14:52:13.537420 111693824 init.cc:222] Warning: PaddlePaddle catches a failure signal, it may not work properly
[06:24:40][Step 1/1] W0525 14:52:13.537704 111693824 init.cc:224] You could check whether you killed PaddlePaddle thread/process accidentally or report the case to PaddlePaddle
[06:24:40][Step 1/1] W0525 14:52:13.537880 111693824 init.cc:227] The detail failure signal is:
[06:24:40][Step 1/1]
[06:24:40][Step 1/1] W0525 14:52:13.538043 111693824 init.cc:230] *** Aborted at 1590389533 (unix time) try "date -d @1590389533" if you are using GNU date ***
[06:24:40][Step 1/1] W0525 14:52:13.538609 111693824 init.cc:230] PC: @ 0x0 (unknown)
[06:24:40][Step 1/1] W0525 14:52:13.538863 111693824 init.cc:230] *** SIGSEGV (@0x10381aa3a) received by PID 96488 (TID 0x700006a85000) stack trace: ***
[06:24:40][Step 1/1] W0525 14:52:13.539098 111693824 init.cc:230] @ 0x7fff7e950b3d _sigtramp
[06:24:40][Step 1/1] W0525 14:52:13.539319 111693824 init.cc:230] @ 0x7fff7e973ab4 _os_log_cmp_key
[06:24:40][Step 1/1] W0525 14:52:13.539505 111693824 init.cc:230] @ 0x7fff7e821a5e rb_tree_find_node
[06:24:40][Step 1/1] W0525 14:52:13.539710 111693824 init.cc:230] @ 0x7fff7e971c81 os_log_create
[06:24:40][Step 1/1] W0525 14:52:13.539892 111693824 init.cc:230] @ 0x7fff7e8808e7 gai_log_init
[06:24:40][Step 1/1] W0525 14:52:13.540076 111693824 init.cc:230] @ 0x7fff7e957cf4 __pthread_once_handler
[06:24:40][Step 1/1] W0525 14:52:13.540282 111693824 init.cc:230] @ 0x7fff7e94dacb _os_once_callout
[06:24:40][Step 1/1] W0525 14:52:13.540593 111693824 init.cc:230] @ 0x7fff7e957c8f pthread_once
[06:24:40][Step 1/1] W0525 14:52:13.540835 111693824 init.cc:230] @ 0x7fff7e87fc0b gai_log
[06:24:40][Step 1/1] W0525 14:52:13.541077 111693824 init.cc:230] @ 0x7fff7e88094e _gai_nat64_v4_synthesize
[06:24:40][Step 1/1] W0525 14:52:13.541363 111693824 init.cc:230] @ 0x7fff7e85eeb2 _gai_nat64_synthesis
[06:24:40][Step 1/1] W0525 14:52:13.541646 111693824 init.cc:230] @ 0x7fff7e85e893 si_addrinfo
[06:24:40][Step 1/1] W0525 14:52:13.541924 111693824 init.cc:230] @ 0x7fff7e85e262 _getaddrinfo_internal
[06:24:40][Step 1/1] W0525 14:52:13.542212 111693824 init.cc:230] @ 0x7fff7e85e15d getaddrinfo
[06:24:40][Step 1/1] W0525 14:52:13.544765 111693824 init.cc:230] @ 0x115ecb9fc grpc_polling_entity_del_from_pollset_set()
[06:24:40][Step 1/1] W0525 14:52:13.545704 111693824 init.cc:230] @ 0x115ecbeff grpc_resolved_addresses_destroy()
[06:24:40][Step 1/1] W0525 14:52:13.546432 111693824 init.cc:230] @ 0x115eca79a grpc_executor_set_threading()
[06:24:40][Step 1/1] W0525 14:52:13.547156 111693824 init.cc:230] @ 0x115eaf4ed gpr_thd_new()
[06:24:40][Step 1/1] W0525 14:52:13.547466 111693824 init.cc:230] @ 0x7fff7e95933d _pthread_body
[06:24:40][Step 1/1] W0525 14:52:13.547736 111693824 init.cc:230] @ 0x7fff7e95c2a7 _pthread_start
[06:24:40][Step 1/1] rm: trainer*dms*: No such file or directory
[06:24:40][Step 1/1] rm: pserver*dms*: No such file or directory
[06:24:40][Step 1/1] test_fl_listen_and_serv_op failed
[06:24:40][Step 1/1] E.
[06:24:40][Step 1/1] ======================================================================
[06:24:40][Step 1/1] ERROR: test_handle_signal_in_serv_op (test_fl_listen_and_serv_op.TestFlListenAndServOp)
[06:24:40][Step 1/1] run pserver on CPU in sync mode.
[06:24:40][Step 1/1] ----------------------------------------------------------------------
[06:24:40][Step 1/1] Traceback (most recent call last):
[06:24:40][Step 1/1] File "/home/teamcity/work/e84e6e698a3f913d/build/python/paddle/fluid/tests/unittests/test_fl_listen_and_serv_op.py", line 212, in test_handle_signal_in_serv_op
[06:24:40][Step 1/1] os.kill(t1.pid, signal.SIGINT)
[06:24:40][Step 1/1] OSError: [Errno 3] No such process
[06:24:40][Step 1/1]
[06:24:40][Step 1/1] ----------------------------------------------------------------------
[06:24:40][Step 1/1] Ran 2 tests in 9.686s
[06:24:40][Step 1/1]
[06:24:40][Step 1/1] FAILED (errors=1)
将代理去掉后:
export http_proxy= export https_proxy=
上述情况不会出现。 请问这个原因是什么?