[
https://issues.apache.org/jira/browse/MESOS-7076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Rojas updated MESOS-7076:
-----------------------------------
Description:
Running {{libprocess-tests}} on Mesos compiled with {{--enable-libevent
--enable-ssl}} on an operating system using libevent 2.1.8, SSL related tests
fail like
{noformat}
[ RUN ] SSLTest.SSLSocket
I0207 15:20:46.017881 2528580544 openssl.cpp:419] CA file path is unspecified!
NOTE: Set CA file path with LIBPROCESS_SSL_CA_FILE=<filepath>
I0207 15:20:46.017904 2528580544 openssl.cpp:424] CA directory path
unspecified! NOTE: Set CA directory path with LIBPROCESS_SSL_CA_DIR=<dirpath>
I0207 15:20:46.017918 2528580544 openssl.cpp:429] Will not verify peer
certificate!
NOTE: Set LIBPROCESS_SSL_VERIFY_CERT=1 to enable peer certificate verification
I0207 15:20:46.017923 2528580544 openssl.cpp:435] Will only verify peer
certificate if presented!
NOTE: Set LIBPROCESS_SSL_REQUIRE_CERT=1 to require peer certificate verification
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0207 15:20:46.033001 2528580544 openssl.cpp:419] CA file path is unspecified!
NOTE: Set CA file path with LIBPROCESS_SSL_CA_FILE=<filepath>
I0207 15:20:46.033179 2528580544 openssl.cpp:424] CA directory path
unspecified! NOTE: Set CA directory path with LIBPROCESS_SSL_CA_DIR=<dirpath>
I0207 15:20:46.033196 2528580544 openssl.cpp:429] Will not verify peer
certificate!
NOTE: Set LIBPROCESS_SSL_VERIFY_CERT=1 to enable peer certificate verification
I0207 15:20:46.033201 2528580544 openssl.cpp:435] Will only verify peer
certificate if presented!
NOTE: Set LIBPROCESS_SSL_REQUIRE_CERT=1 to require peer certificate verification
../../../3rdparty/libprocess/src/tests/ssl_tests.cpp:257: Failure
Failed to wait 15secs for Socket(socket.get()).recv()
[ FAILED ] SSLTest.SSLSocket (15196 ms)
{noformat}
Tests failing are
{noformat}
SSLTest.SSLSocket
SSLTest.NoVerifyBadCA
SSLTest.VerifyCertificate
SSLTest.ProtocolMismatch
SSLTest.ECDHESupport
SSLTest.PeerAddress
SSLTest.HTTPSGet
SSLTest.HTTPSPost
SSLTest.SilentSocket
SSLTest.ShutdownThenSend
SSLVerifyIPAdd/SSLTest.BasicSameProcess/0, where GetParam() = "false"
SSLVerifyIPAdd/SSLTest.BasicSameProcess/1, where GetParam() = "true"
SSLVerifyIPAdd/SSLTest.BasicSameProcessUnix/0, where GetParam() = "false"
SSLVerifyIPAdd/SSLTest.BasicSameProcessUnix/1, where GetParam() = "true"
SSLVerifyIPAdd/SSLTest.RequireCertificate/0, where GetParam() = "false"
SSLVerifyIPAdd/SSLTest.RequireCertificate/1, where GetParam() = "true"
{noformat}
was:
Running {{libprocess-tests}} on Mesos compiled with {{--enable-libevent
--enable-ssl}} on macOS with the libevent 2.1.8 installed through homebrew, SSL
related tests fail like
{noformat}
[ RUN ] SSLTest.SSLSocket
I0207 15:20:46.017881 2528580544 openssl.cpp:419] CA file path is unspecified!
NOTE: Set CA file path with LIBPROCESS_SSL_CA_FILE=<filepath>
I0207 15:20:46.017904 2528580544 openssl.cpp:424] CA directory path
unspecified! NOTE: Set CA directory path with LIBPROCESS_SSL_CA_DIR=<dirpath>
I0207 15:20:46.017918 2528580544 openssl.cpp:429] Will not verify peer
certificate!
NOTE: Set LIBPROCESS_SSL_VERIFY_CERT=1 to enable peer certificate verification
I0207 15:20:46.017923 2528580544 openssl.cpp:435] Will only verify peer
certificate if presented!
NOTE: Set LIBPROCESS_SSL_REQUIRE_CERT=1 to require peer certificate verification
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0207 15:20:46.033001 2528580544 openssl.cpp:419] CA file path is unspecified!
NOTE: Set CA file path with LIBPROCESS_SSL_CA_FILE=<filepath>
I0207 15:20:46.033179 2528580544 openssl.cpp:424] CA directory path
unspecified! NOTE: Set CA directory path with LIBPROCESS_SSL_CA_DIR=<dirpath>
I0207 15:20:46.033196 2528580544 openssl.cpp:429] Will not verify peer
certificate!
NOTE: Set LIBPROCESS_SSL_VERIFY_CERT=1 to enable peer certificate verification
I0207 15:20:46.033201 2528580544 openssl.cpp:435] Will only verify peer
certificate if presented!
NOTE: Set LIBPROCESS_SSL_REQUIRE_CERT=1 to require peer certificate verification
../../../3rdparty/libprocess/src/tests/ssl_tests.cpp:257: Failure
Failed to wait 15secs for Socket(socket.get()).recv()
[ FAILED ] SSLTest.SSLSocket (15196 ms)
{noformat}
Tests failing are
{noformat}
SSLTest.SSLSocket
SSLTest.NoVerifyBadCA
SSLTest.VerifyCertificate
SSLTest.ProtocolMismatch
SSLTest.ECDHESupport
SSLTest.PeerAddress
SSLTest.HTTPSGet
SSLTest.HTTPSPost
SSLTest.SilentSocket
SSLTest.ShutdownThenSend
SSLVerifyIPAdd/SSLTest.BasicSameProcess/0, where GetParam() = "false"
SSLVerifyIPAdd/SSLTest.BasicSameProcess/1, where GetParam() = "true"
SSLVerifyIPAdd/SSLTest.BasicSameProcessUnix/0, where GetParam() = "false"
SSLVerifyIPAdd/SSLTest.BasicSameProcessUnix/1, where GetParam() = "true"
SSLVerifyIPAdd/SSLTest.RequireCertificate/0, where GetParam() = "false"
SSLVerifyIPAdd/SSLTest.RequireCertificate/1, where GetParam() = "true"
{noformat}
> libprocess tests fail when using libevent 2.1.8
> -----------------------------------------------
>
> Key: MESOS-7076
> URL: https://issues.apache.org/jira/browse/MESOS-7076
> Project: Mesos
> Issue Type: Bug
> Components: libprocess, test
> Environment: macOS 10.12.3, libevent 2.1.8 (installed via Homebrew)
> Reporter: Jan Schlicht
> Assignee: Alexander Rojas
>
> Running {{libprocess-tests}} on Mesos compiled with {{--enable-libevent
> --enable-ssl}} on an operating system using libevent 2.1.8, SSL related tests
> fail like
> {noformat}
> [ RUN ] SSLTest.SSLSocket
> I0207 15:20:46.017881 2528580544 openssl.cpp:419] CA file path is
> unspecified! NOTE: Set CA file path with LIBPROCESS_SSL_CA_FILE=<filepath>
> I0207 15:20:46.017904 2528580544 openssl.cpp:424] CA directory path
> unspecified! NOTE: Set CA directory path with LIBPROCESS_SSL_CA_DIR=<dirpath>
> I0207 15:20:46.017918 2528580544 openssl.cpp:429] Will not verify peer
> certificate!
> NOTE: Set LIBPROCESS_SSL_VERIFY_CERT=1 to enable peer certificate verification
> I0207 15:20:46.017923 2528580544 openssl.cpp:435] Will only verify peer
> certificate if presented!
> NOTE: Set LIBPROCESS_SSL_REQUIRE_CERT=1 to require peer certificate
> verification
> WARNING: Logging before InitGoogleLogging() is written to STDERR
> I0207 15:20:46.033001 2528580544 openssl.cpp:419] CA file path is
> unspecified! NOTE: Set CA file path with LIBPROCESS_SSL_CA_FILE=<filepath>
> I0207 15:20:46.033179 2528580544 openssl.cpp:424] CA directory path
> unspecified! NOTE: Set CA directory path with LIBPROCESS_SSL_CA_DIR=<dirpath>
> I0207 15:20:46.033196 2528580544 openssl.cpp:429] Will not verify peer
> certificate!
> NOTE: Set LIBPROCESS_SSL_VERIFY_CERT=1 to enable peer certificate verification
> I0207 15:20:46.033201 2528580544 openssl.cpp:435] Will only verify peer
> certificate if presented!
> NOTE: Set LIBPROCESS_SSL_REQUIRE_CERT=1 to require peer certificate
> verification
> ../../../3rdparty/libprocess/src/tests/ssl_tests.cpp:257: Failure
> Failed to wait 15secs for Socket(socket.get()).recv()
> [ FAILED ] SSLTest.SSLSocket (15196 ms)
> {noformat}
> Tests failing are
> {noformat}
> SSLTest.SSLSocket
> SSLTest.NoVerifyBadCA
> SSLTest.VerifyCertificate
> SSLTest.ProtocolMismatch
> SSLTest.ECDHESupport
> SSLTest.PeerAddress
> SSLTest.HTTPSGet
> SSLTest.HTTPSPost
> SSLTest.SilentSocket
> SSLTest.ShutdownThenSend
> SSLVerifyIPAdd/SSLTest.BasicSameProcess/0, where GetParam() = "false"
> SSLVerifyIPAdd/SSLTest.BasicSameProcess/1, where GetParam() = "true"
> SSLVerifyIPAdd/SSLTest.BasicSameProcessUnix/0, where GetParam() = "false"
> SSLVerifyIPAdd/SSLTest.BasicSameProcessUnix/1, where GetParam() = "true"
> SSLVerifyIPAdd/SSLTest.RequireCertificate/0, where GetParam() = "false"
> SSLVerifyIPAdd/SSLTest.RequireCertificate/1, where GetParam() = "true"
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)