Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ecore_con tests timeout #349

Open
Coquinho opened this issue Jul 28, 2020 · 2 comments
Open

ecore_con tests timeout #349

Coquinho opened this issue Jul 28, 2020 · 2 comments
Assignees
Labels
bug windows-native Related to port of EFL to natively compile in Windows with clang-cl

Comments

@Coquinho
Copy link
Contributor

ecore_con tests is getting timeout, at both tests of ecore_con_test_ecore_con_eet.c.

It seems that while connecting it hangs at ecore_main_loop_begin waiting for a call of
ecore_main_loop_end that never happens, thus giving the timeout.

The problem seems to be related to src/bin/ecore_con/efl_net_proxy_helper.c as pointed out in 3a915e2.

Here is my little strange debug for now:

>> meson test -C build ecore_con-suite --v

Running suite(s): Ecore_Con
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: ecore_con_test_ecore_con_eet_svr_cl_fn: 116
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: ecore_con_test_ecore_con_eet_svr_cl_fn: 117
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: ecore_con_test_ecore_con_eet_svr_cl_fn: 118
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: ecore_con_test_ecore_con_eet_svr_cl_fn: 119
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: ecore_con_test_ecore_con_eet_svr_cl_fn: 120
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: ecore_con_test_ecore_con_eet_svr_cl_fn: 122
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: ecore_con_test_ecore_con_eet_svr_cl_fn: 123
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: ecore_con_test_ecore_con_eet_svr_cl_fn: 125
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: ecore_con_test_ecore_con_eet_svr_cl_fn: 127
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: ecore_con_test_ecore_con_eet_svr_cl_fn: 129
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: ecore_con_test_ecore_con_eet_svr_cl_fn: 130
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: ecore_con_test_ecore_con_eet_svr_cl_fn: 132
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: ecore_con_test_ecore_con_eet_svr_cl_fn: 134
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: ecore_con_test_ecore_con_eet_svr_cl_fn: 135
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: ecore_con_test_ecore_con_eet_svr_cl_fn: 137
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: ecore_con_test_ecore_con_eet_svr_cl_fn: 139
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: ecore_con_test_ecore_con_eet_svr_cl_fn: 142
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: ecore_con_test_ecore_con_eet_svr_cl_fn: 144
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: ecore_con_test_ecore_con_eet_svr_cl_fn: 146
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: ecore_con_test_ecore_con_eet_svr_cl_fn: 147
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: ecore_con_test_ecore_con_eet_svr_cl_fn: 149
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: ecore_con_test_ecore_con_eet_svr_cl_fn: 150
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: ecore_con_test_ecore_con_eet_svr_cl_fn: 152
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: ecore_con_test_ecore_con_eet_svr_cl_fn: 155
 == ../src/lib/ecore/ecore_main.c: _ecore_main_loop_begin: 1208
 == ../src/lib/ecore/ecore_main.c: _ecore_main_loop_begin: 1222
 == ../src/lib/ecore/ecore_main.c: _ecore_main_loop_begin: 1223
 == ../src/lib/ecore/ecore_main.c: _ecore_main_loop_begin: 1224
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: _eet_svr_cnct_cb: 86
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: _eet_svr_cnct_cb: 87
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: _eet_svr_cnct_cb: 88
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: _eet_svr_cnct_cb: 89
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: _eet_svr_cnct_cb: 90
 == ../src/tests/ecore_con/ecore_con_test_ecore_con_eet.c: _eet_svr_cnct_cb: 96
 == ../src/lib/ecore/ecore_main.c: _ecore_main_loop_begin: 1227
ERR:ecore_con ../src/lib/ecore_con/efl_net_server_fd.c:469 _efl_net_server_fd_process_incoming_data() accept(188): (
null)
 == ../src/lib/ecore/ecore_main.c: _ecore_main_loop_begin: 1227
 == ../src/lib/ecore/ecore_main.c: _ecore_main_loop_begin: 1227
 == ../src/lib/ecore/ecore_main.c: _ecore_main_loop_begin: 1227
ecore_con-suite time out (After 30 seconds)
SUCCESS: The process with PID 5020 (child process of PID 2264) has been terminated.
SUCCESS: The process with PID 2264 (child process of PID 4280) has been terminated.
1/1 ecore_con-suite TIMEOUT        30.10s
@Coquinho Coquinho added the bug label Jul 28, 2020
@Coquinho Coquinho self-assigned this Jul 28, 2020
@joaoantoniocardoso
Copy link
Contributor

joaoantoniocardoso commented Aug 11, 2020

I got this when building with --verbose, possibly related:

../src/lib/ecore_con/efl_net_dialer_http.c(350,58): warning: disabled expansion of recursive macro [-Wdisabled-macro-expansion]
     ERR("socket action CURL_SOCKET_TIMEOUT failed: %s", curl_multi_strerror(r));
                                                         ^
../src/lib/ecore_con/efl_net_dialer_http.c(141,38): note: expanded from macro 'curl_multi_strerror'
--
../src/lib/ecore_con/efl_net_dialer_http.c(388,76): warning: disabled expansion of recursive macro [-Wdisabled-macro-expansion]
     ERR("socket action CURL_CSELECT_IN fd=" SOCKET_FMT " failed: %s", fd, curl_multi_strerror(r));
                                                                           ^
../src/lib/ecore_con/efl_net_dialer_http.c(141,38): note: expanded from macro 'curl_multi_strerror'
--
../src/lib/ecore_con/efl_net_dialer_http.c(402,77): warning: disabled expansion of recursive macro [-Wdisabled-macro-expansion]
     ERR("socket action CURL_CSELECT_OUT fd=" SOCKET_FMT " failed: %s", fd, curl_multi_strerror(r));
                                                                            ^
../src/lib/ecore_con/efl_net_dialer_http.c(141,38): note: expanded from macro 'curl_multi_strerror'
--
../src/lib/ecore_con/efl_net_dialer_http.c(689,58): warning: disabled expansion of recursive macro [-Wdisabled-macro-expansion]
     ERR("dialer=%p could not get response code: %s", o, curl_easy_strerror(r));
                                                         ^
../src/lib/ecore_con/efl_net_dialer_http.c(28,37): note: expanded from macro 'curl_easy_strerror'
--
../src/lib/ecore_con/efl_net_dialer_http.c(695,58): warning: disabled expansion of recursive macro [-Wdisabled-macro-expansion]
     ERR("dialer=%p could not get effective url: %s", o, curl_easy_strerror(r));
                                                         ^
../src/lib/ecore_con/efl_net_dialer_http.c(28,37): note: expanded from macro 'curl_easy_strerror'
--
../src/lib/ecore_con/efl_net_dialer_http.c(701,53): warning: disabled expansion of recursive macro [-Wdisabled-macro-expansion]
     ERR("dialer=%p could not get local IP: %s", o, curl_easy_strerror(r));
                                                    ^
../src/lib/ecore_con/efl_net_dialer_http.c(28,37): note: expanded from macro 'curl_easy_strerror'
--
../src/lib/ecore_con/efl_net_dialer_http.c(706,60): warning: disabled expansion of recursive macro [-Wdisabled-macro-expansion]
          ERR("dialer=%p could not get local port: %s", o, curl_easy_strerror(r));
                                                           ^
../src/lib/ecore_con/efl_net_dialer_http.c(28,37): note: expanded from macro 'curl_easy_strerror'
--
../src/lib/ecore_con/efl_net_dialer_http.c(722,67): warning: disabled expansion of recursive macro [-Wdisabled-macro-expansion]
     ERR("dialer=%p could not get effective HTTP version: %s", o, curl_easy_strerror(r));
                                                                  ^
../src/lib/ecore_con/efl_net_dialer_http.c(28,37): note: expanded from macro 'curl_easy_strerror'
--
../src/lib/ecore_con/efl_net_dialer_http.c(1999,53): warning: disabled expansion of recursive macro [-Wdisabled-macro-expansion]
     ERR("dialer=%p could not set password: %s", o, curl_easy_strerror(r));
                                                    ^
../src/lib/ecore_con/efl_net_dialer_http.c(28,37): note: expanded from macro 'curl_easy_strerror'

@JPTIZ
Copy link
Contributor

JPTIZ commented Aug 11, 2020

These are all errorlogs instructions, so I don't they would be directly related (although it would be nice to fix them).

@JPTIZ JPTIZ added the windows-native Related to port of EFL to natively compile in Windows with clang-cl label Oct 9, 2020
@JPTIZ JPTIZ added this to the Natively Compile in Windows milestone Oct 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug windows-native Related to port of EFL to natively compile in Windows with clang-cl
Projects
None yet
Development

No branches or pull requests

3 participants