You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Andrei Budnik (JIRA)" <ji...@apache.org> on 2018/01/15 15:56:00 UTC

[jira] [Commented] (MESOS-7028) NetSocketTest.EOFBeforeRecv is flaky

    [ https://issues.apache.org/jira/browse/MESOS-7028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16326364#comment-16326364 ] 

Andrei Budnik commented on MESOS-7028:
--------------------------------------

Steps to reproduce:
1) Add a `{{::sleep(1);}}` after [server_socket.shutdown()|https://github.com/apache/mesos/blob/4959887230a7d7c55629083be978810f48b780a3/3rdparty/libprocess/src/tests/socket_tests.cpp#L195] 
2) recompile `make check`
3) launch the test:
{code:java}
GLOG_v=3 sudo GLOG_v=3 ./3rdparty/libprocess/libprocess-tests --gtest_filter=Encryption/NetSocketTest.EOFBeforeRecv/0 --gtest_break_on_failure --gtest_repeat=1 --verbose
{code}

> NetSocketTest.EOFBeforeRecv is flaky
> ------------------------------------
>
>                 Key: MESOS-7028
>                 URL: https://issues.apache.org/jira/browse/MESOS-7028
>             Project: Mesos
>          Issue Type: Bug
>          Components: libprocess, test
>         Environment: ASF CI, autotools, gcc, CentOS 7, libevent/SSL enabled;
> Mac OS with SSL enabled;
> CentOS 6 with SSL enabled;
>            Reporter: Greg Mann
>            Assignee: Greg Mann
>            Priority: Major
>              Labels: flaky, flaky-test, libprocess, mesosphere, socket, ssl
>         Attachments: NetSocketTest.EOFBeforeRecv-vlog3.txt
>
>
> This was observed on ASF CI:
> {code}
> [ RUN      ] Encryption/NetSocketTest.EOFBeforeRecv/0
> I0128 03:48:51.444228 27745 openssl.cpp:419] CA file path is unspecified! NOTE: Set CA file path with LIBPROCESS_SSL_CA_FILE=<filepath>
> I0128 03:48:51.444252 27745 openssl.cpp:424] CA directory path unspecified! NOTE: Set CA directory path with LIBPROCESS_SSL_CA_DIR=<dirpath>
> I0128 03:48:51.444257 27745 openssl.cpp:429] Will not verify peer certificate!
> NOTE: Set LIBPROCESS_SSL_VERIFY_CERT=1 to enable peer certificate verification
> I0128 03:48:51.444262 27745 openssl.cpp:435] Will only verify peer certificate if presented!
> NOTE: Set LIBPROCESS_SSL_REQUIRE_CERT=1 to require peer certificate verification
> I0128 03:48:51.447341 27745 process.cpp:1246] libprocess is initialized on 172.17.0.2:45515 with 16 worker threads
> ../../../3rdparty/libprocess/src/tests/socket_tests.cpp:196: Failure
> Failed to wait 15secs for client->recv()
> [  FAILED  ] Encryption/NetSocketTest.EOFBeforeRecv/0, where GetParam() = "SSL" (15269 ms)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)