[
https://issues.apache.org/jira/browse/THRIFT-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14935919#comment-14935919
]
Jens Geyer commented on THRIFT-3362:
------------------------------------
Full log:
{code}
jens@SusiSorglos:~/Arbeitsfläche/Thrift/lib/cpp> make check
Making check in .
make[1]: Entering directory '/home/jens/Arbeitsfläche/Thrift/lib/cpp'
make[1]: Nothing to be done for 'check-am'.
make[1]: Leaving directory '/home/jens/Arbeitsfläche/Thrift/lib/cpp'
Making check in test
make[1]: Entering directory '/home/jens/Arbeitsfläche/Thrift/lib/cpp/test'
make check-am
make[2]: Entering directory '/home/jens/Arbeitsfläche/Thrift/lib/cpp/test'
make UnitTests TFDTransportTest TPipedTransportTest DebugProtoTest
JSONProtoTest OptionalRequiredTest RecursiveTest SpecializationTest
AllProtocolsTest TransportTest TInterruptTest TServerIntegrationTest
SecurityTest ZlibTest TFileTransportTest link_test OpenSSLManualInitTest
EnumTest TNonblockingServerTest
make[3]: Entering directory '/home/jens/Arbeitsfläche/Thrift/lib/cpp/test'
make[3]: 'UnitTests' is up to date.
make[3]: 'TFDTransportTest' is up to date.
make[3]: 'TPipedTransportTest' is up to date.
make[3]: 'DebugProtoTest' is up to date.
make[3]: 'JSONProtoTest' is up to date.
make[3]: 'OptionalRequiredTest' is up to date.
make[3]: 'RecursiveTest' is up to date.
make[3]: 'SpecializationTest' is up to date.
make[3]: 'AllProtocolsTest' is up to date.
make[3]: 'TransportTest' is up to date.
make[3]: 'TInterruptTest' is up to date.
make[3]: 'TServerIntegrationTest' is up to date.
make[3]: 'SecurityTest' is up to date.
make[3]: 'ZlibTest' is up to date.
make[3]: 'TFileTransportTest' is up to date.
make[3]: 'link_test' is up to date.
make[3]: 'OpenSSLManualInitTest' is up to date.
make[3]: 'EnumTest' is up to date.
make[3]: 'TNonblockingServerTest' is up to date.
make[3]: Leaving directory '/home/jens/Arbeitsfläche/Thrift/lib/cpp/test'
make check-TESTS
make[3]: Entering directory '/home/jens/Arbeitsfläche/Thrift/lib/cpp/test'
An error message from getaddrinfo on the console is expected:
Thrift: Tue Sep 29 23:34:41 2015 getaddrinfo -2: Name or service not known
*** No errors detected
PASS: UnitTests
Thrift: Tue Sep 29 23:34:48 2015 ~TFDTransport TTransportException:
'TFDTransport::close(): Bad file descriptor'
*** No errors detected
PASS: TFDTransportTest
*** No errors detected
PASS: TPipedTransportTest
*** No errors detected
PASS: DebugProtoTest
*** No errors detected
PASS: JSONProtoTest
*** No errors detected
PASS: OptionalRequiredTest
*** No errors detected
PASS: RecursiveTest
*** No errors detected
PASS: SpecializationTest
TBinaryProtocol => OK
TLEBinaryProtocol => OK
TCompactProtocol => OK
*** No errors detected
PASS: AllProtocolsTest
Timeout alarm expired; attempting to unblock transport
Timeout alarm expired; attempting to unblock transport
Timeout alarm expired; attempting to unblock transport
Timeout alarm expired; attempting to unblock transport
Timeout alarm expired; attempting to unblock transport
Timeout alarm expired; attempting to unblock transport
Timeout alarm expired; attempting to unblock transport
Timeout alarm expired; attempting to unblock transport
Timeout alarm expired; attempting to unblock transport
Timeout alarm expired; attempting to unblock transport
*** No errors detected
PASS: TransportTest
*** No errors detected
PASS: TInterruptTest
*** No errors detected
PASS: TServerIntegrationTest
FAIL: SecurityTest
seed: 1443562561
*** No errors detected
PASS: ZlibTest
*** No errors detected
PASS: TFileTransportTest
PASS: link_test
*** No errors detected
PASS: OpenSSLManualInitTest
*** No errors detected
PASS: EnumTest
Thrift: Tue Sep 29 23:36:37 2015 TNonblockingServer: Serving on port 12345, 1
io threads.
Thrift: Tue Sep 29 23:36:37 2015 TNonblockingServer: using libevent
2.0.21-stable method epoll
Thrift: Tue Sep 29 23:36:37 2015 TNonblocking: IO thread #0 registered for
listen.
Thrift: Tue Sep 29 23:36:37 2015 TNonblocking: IO thread #0 registered for
notify.
Thrift: Tue Sep 29 23:36:37 2015 TNonblockingServer: IO thread #0 entering
loop...
Thrift: Tue Sep 29 23:36:37 2015 PthreadThread::join(): detached thread
Thrift: Tue Sep 29 23:36:37 2015 TNonblockingServer: IO thread #0 run() done!
Thrift: Tue Sep 29 23:36:37 2015 TNonblocking: join done for IO thread #0
Thrift: Tue Sep 29 23:36:37 2015 TNonblockingServer: Serving on port 54769, 1
io threads.
Thrift: Tue Sep 29 23:36:37 2015 TNonblockingServer: using libevent
2.0.21-stable method epoll
Thrift: Tue Sep 29 23:36:37 2015 TNonblocking: IO thread #0 registered for
listen.
Thrift: Tue Sep 29 23:36:37 2015 TNonblocking: IO thread #0 registered for
notify.
Thrift: Tue Sep 29 23:36:37 2015 TNonblockingServer: IO thread #0 entering
loop...
Thrift: Tue Sep 29 23:36:37 2015 PthreadThread::join(): detached thread
Thrift: Tue Sep 29 23:36:37 2015 TNonblockingServer: IO thread #0 run() done!
Thrift: Tue Sep 29 23:36:37 2015 TNonblocking: join done for IO thread #0
Thrift: Tue Sep 29 23:36:37 2015 TNonblockingServer: Serving on port 60743, 1
io threads.
Thrift: Tue Sep 29 23:36:37 2015 TNonblockingServer: using libevent
2.0.21-stable method epoll
Thrift: Tue Sep 29 23:36:37 2015 TNonblocking: IO thread #0 registered for
listen.
Thrift: Tue Sep 29 23:36:37 2015 TNonblocking: IO thread #0 registered for
notify.
Thrift: Tue Sep 29 23:36:37 2015 TNonblockingServer: IO thread #0 entering
loop...
Thrift: Tue Sep 29 23:36:37 2015 PthreadThread::join(): detached thread
*** No errors detected
PASS: TNonblockingServerTest
====================
1 of 19 tests failed
====================
Makefile:1289: recipe for target 'check-TESTS' failed
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory '/home/jens/Arbeitsfläche/Thrift/lib/cpp/test'
Makefile:1412: recipe for target 'check-am' failed
make[2]: *** [check-am] Error 2
make[2]: Leaving directory '/home/jens/Arbeitsfläche/Thrift/lib/cpp/test'
Makefile:1415: recipe for target 'check' failed
make[1]: *** [check] Error 2
make[1]: Leaving directory '/home/jens/Arbeitsfläche/Thrift/lib/cpp/test'
Makefile:1574: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1
{code}
> make check fails for C++
> ------------------------
>
> Key: THRIFT-3362
> URL: https://issues.apache.org/jira/browse/THRIFT-3362
> Project: Thrift
> Issue Type: Bug
> Components: C++ - Library, Test Suite
> Environment: openSUSE
> Reporter: Jens Geyer
>
> When I run "make check" inside {{lib/cpp}} I get this error:
> {code}
> FAIL: SecurityTest
> {code}
> No more information besides that, and all other tests succeed. When I run
> the SecurityTest test alone, it succeeds - it fails only with make check. I
> have no idea why, and I can't get the test routine to print more log info to
> the console with make check. I already tried adding --log_level
> and --report_level to no avail, again this works well when run standalone.
> I'm a bit stuck here. Maybe the problem lies in my setup, but I have no idea
> what to look for. Any helpful advice would be really great.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)