You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@thrift.apache.org by GitBox <gi...@apache.org> on 2020/06/19 23:28:29 UTC

[GitHub] [thrift] cfriedt removed a comment on pull request #2007: THRIFT-5093: TMemoryBuffer fix wpos for policy == OBSERVER

cfriedt removed a comment on pull request #2007:
URL: https://github.com/apache/thrift/pull/2007#issuecomment-646589963


   On aarch64, completely unrelated failures (also works on x86_64, but not on aarch64). Error is specific to SSL.
   
   x86_64 machine is Ubuntu Bionic, aarch64 machine is Debian 10.2
   
   x86_64: libssl1.1 is already the newest version (1.1.1-1ubuntu2.1~18.04.6).
   aarch64: libssl1.1 is already the newest version (1.1.1d-0+deb10u3).
   
   ```console
   make[5]: Leaving directory '/home/chrisfriedt/workspace/thrift/lib/cpp/test'
   make  check-TESTS
   make[5]: Entering directory '/home/chrisfriedt/workspace/thrift/lib/cpp/test'
   Thrift: Tue Jun 16 07:16:22 2020 TSocket::open() connect() <Host: localhost Port: 46709>: Connection refused
   An error message from getaddrinfo on the console is expected:
   Thrift: Tue Jun 16 07:16:26 2020 getaddrinfo() -> -2; Name or service not known
   
   *** No errors detected
   PASS: UnitTests
   Thrift: Tue Jun 16 07:16:26 2020 ~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
   Thrift: Tue Jun 16 07:17:29 2020 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
   
   *** No errors detected
   PASS: TInterruptTest
   
   *** No errors detected
   PASS: TServerIntegrationTest
   Thrift: Tue Jun 16 07:17:49 2020 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
   Thrift: Tue Jun 16 07:17:49 2020 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
   Thrift: Tue Jun 16 07:17:49 2020 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
   Thrift: Tue Jun 16 07:17:49 2020 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
   terminate called after throwing an instance of 'boost::execution_aborted'
   
   *** 4 failures are detected in the test module "SecurityTest"
   FAIL: SecurityTest
   Thrift: Tue Jun 16 07:17:49 2020 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
   Thrift: Tue Jun 16 07:17:49 2020 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
   Thrift: Tue Jun 16 07:17:49 2020 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
   Thrift: Tue Jun 16 07:17:49 2020 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
   terminate called after throwing an instance of 'boost::execution_aborted'
   
   *** 4 failures are detected in the test module "SecurityFromBufferTest"
   FAIL: SecurityFromBufferTest
   seed: 1592306269
   
   *** No errors detected
   PASS: ZlibTest
   
   *** No errors detected
   PASS: TFileTransportTest
   PASS: link_test
   
   *** No errors detected
   PASS: OpenSSLManualInitTest
   *** No errors detected
   PASS: EnumTest
   
   *** No errors detected
   PASS: RenderedDoubleConstantsTest
   
   *** No errors detected
   PASS: AnnotationTest
   Thrift: Tue Jun 16 07:17:56 2020 TNonblockingServer: Serving with 1 io threads.
   Thrift: Tue Jun 16 07:17:56 2020 TNonblockingServer: using libevent 2.1.8-stable method epoll
   Thrift: Tue Jun 16 07:17:56 2020 TNonblocking: IO thread #0 registered for listen.
   Thrift: Tue Jun 16 07:17:56 2020 TNonblocking: IO thread #0 registered for notify.
   Thrift: Tue Jun 16 07:17:56 2020 TNonblockingServer: IO thread #0 entering loop...
   Thrift: Tue Jun 16 07:17:56 2020 TSocket::open() connect() <Host: localhost Port: 12345>: Connection refused
   Thrift: Tue Jun 16 07:17:56 2020 TNonblockingServer: IO thread #0 run() done!
   Thrift: Tue Jun 16 07:17:56 2020 TNonblocking: join done for IO thread #0
   Thrift: Tue Jun 16 07:17:56 2020 TNonblockingServer: Serving with 1 io threads.
   Thrift: Tue Jun 16 07:17:56 2020 TNonblockingServer: using libevent 2.1.8-stable method epoll
   Thrift: Tue Jun 16 07:17:56 2020 TNonblocking: IO thread #0 registered for listen.
   Thrift: Tue Jun 16 07:17:56 2020 TNonblocking: IO thread #0 registered for notify.
   Thrift: Tue Jun 16 07:17:56 2020 TNonblockingServer: IO thread #0 entering loop...
   Thrift: Tue Jun 16 07:17:56 2020 TSocket::open() connect() <Host: localhost Port: 33643>: Connection refused
   Thrift: Tue Jun 16 07:17:56 2020 TNonblockingServer: IO thread #0 run() done!
   Thrift: Tue Jun 16 07:17:56 2020 TNonblocking: join done for IO thread #0
   Thrift: Tue Jun 16 07:17:56 2020 TNonblockingServer: Serving with 1 io threads.
   Thrift: Tue Jun 16 07:17:56 2020 TNonblockingServer: using libevent 2.1.8-stable method epoll
   Thrift: Tue Jun 16 07:17:56 2020 TNonblocking: IO thread #0 registered for listen.
   Thrift: Tue Jun 16 07:17:56 2020 TNonblocking: IO thread #0 registered for notify.
   Thrift: Tue Jun 16 07:17:56 2020 TNonblockingServer: IO thread #0 entering loop...
   Thrift: Tue Jun 16 07:17:56 2020 TSocket::open() connect() <Host: localhost Port: 37905>: Connection refused
   Thrift: Tue Jun 16 07:17:56 2020 TNonblockingServer: IO thread #0 run() done!
   Thrift: Tue Jun 16 07:17:56 2020 TNonblocking: join done for IO thread #0
   
   *** No errors detected
   PASS: TNonblockingServerTest
   Thrift: Tue Jun 16 07:17:56 2020 TNonblockingServer: Serving with 1 io threads.
   Thrift: Tue Jun 16 07:17:56 2020 TNonblockingServer: using libevent 2.1.8-stable method epoll
   Thrift: Tue Jun 16 07:17:56 2020 TNonblocking: IO thread #0 registered for listen.
   Thrift: Tue Jun 16 07:17:56 2020 TNonblocking: IO thread #0 registered for notify.
   Thrift: Tue Jun 16 07:17:56 2020 TNonblockingServer: IO thread #0 entering loop...
   Thrift: Tue Jun 16 07:17:56 2020 TSocket::open() connect() <Host: localhost Port: 12345>: Connection refused
   Thrift: Tue Jun 16 07:17:56 2020 TConnection::workSocket(): client disconnected
   Thrift: Tue Jun 16 07:17:56 2020 SSL_shutdown: Broken pipe (SSL_error_code = 6)
   Thrift: Tue Jun 16 07:17:56 2020 TNonblockingServer: IO thread #0 run() done!
   Thrift: Tue Jun 16 07:17:56 2020 TNonblocking: join done for IO thread #0
   Thrift: Tue Jun 16 07:17:56 2020 TNonblockingServer: Serving with 1 io threads.
   Thrift: Tue Jun 16 07:17:56 2020 TNonblockingServer: using libevent 2.1.8-stable method epoll
   Thrift: Tue Jun 16 07:17:56 2020 TNonblocking: IO thread #0 registered for listen.
   Thrift: Tue Jun 16 07:17:56 2020 TNonblocking: IO thread #0 registered for notify.
   Thrift: Tue Jun 16 07:17:56 2020 TNonblockingServer: IO thread #0 entering loop...
   Thrift: Tue Jun 16 07:17:56 2020 TSocket::open() connect() <Host: localhost Port: 36637>: Connection refused
   Thrift: Tue Jun 16 07:17:56 2020 TConnection::workSocket(): client disconnected
   Thrift: Tue Jun 16 07:17:56 2020 SSL_shutdown: Broken pipe (SSL_error_code = 6)
   Thrift: Tue Jun 16 07:17:56 2020 TNonblockingServer: IO thread #0 run() done!
   Thrift: Tue Jun 16 07:17:56 2020 TNonblocking: join done for IO thread #0
   Thrift: Tue Jun 16 07:17:56 2020 TNonblockingServer: Serving with 1 io threads.
   Thrift: Tue Jun 16 07:17:56 2020 TNonblockingServer: using libevent 2.1.8-stable method epoll
   Thrift: Tue Jun 16 07:17:56 2020 TNonblocking: IO thread #0 registered for listen.
   Thrift: Tue Jun 16 07:17:56 2020 TNonblocking: IO thread #0 registered for notify.
   Thrift: Tue Jun 16 07:17:56 2020 TNonblockingServer: IO thread #0 entering loop...
   Thrift: Tue Jun 16 07:17:56 2020 TSocket::open() connect() <Host: localhost Port: 40159>: Connection refused
   Thrift: Tue Jun 16 07:17:56 2020 TConnection::workSocket(): client disconnected
   Thrift: Tue Jun 16 07:17:56 2020 SSL_shutdown: Broken pipe (SSL_error_code = 6)
   Thrift: Tue Jun 16 07:17:56 2020 TNonblockingServer: IO thread #0 run() done!
   Thrift: Tue Jun 16 07:17:56 2020 TNonblocking: join done for IO thread #0
   
   *** No errors detected
   PASS: TNonblockingSSLServerTest
   ====================
   2 of 23 tests failed
   ====================
   
    ./SecurityTest
   Running 1 test case...
   Thrift: Tue Jun 16 07:23:33 2020 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
   Thrift: Tue Jun 16 07:23:33 2020 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
   SecurityTest.cpp(268): error: in "SecurityTest/ssl_security_matrix":       Server = SSLTLS, Client = TLSv1_0 expected mConnected == 1 but was 0
   Thrift: Tue Jun 16 07:23:33 2020 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
   Thrift: Tue Jun 16 07:23:33 2020 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
   SecurityTest.cpp(268): error: in "SecurityTest/ssl_security_matrix":       Server = SSLTLS, Client = TLSv1_1 expected mConnected == 1 but was 0
   SecurityTest.cpp(149): fatal error: in "SecurityTest/ssl_security_matrix": N6apache6thrift9transport13TSSLExceptionE: SSL_CTX_set_cipher_list: bad value
   terminate called after throwing an instance of 'boost::execution_aborted'
   unknown location(0): fatal error: in "SecurityTest/ssl_security_matrix": signal: SIGABRT (application abort requested)
   SecurityTest.cpp(149): last checkpoint
   
   *** 4 failures are detected in the test module "SecurityTest"
   
   $ ./SecurityFromBufferTest
   Running 1 test case...
   Thrift: Tue Jun 16 07:19:42 2020 SSL_shutdown: Broken pipe (SSL_error_code = 5)
   Thrift: Tue Jun 16 07:19:42 2020 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
   Thrift: Tue Jun 16 07:19:42 2020 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
   SecurityFromBufferTest.cpp(245): error: in "SecurityFromBufferTest/ssl_security_matrix":       Server = SSLTLS, Client = TLSv1_0 expected mConnected == 1 but was 0
   Thrift: Tue Jun 16 07:19:42 2020 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
   Thrift: Tue Jun 16 07:19:42 2020 SSL_shutdown: shutdown while in init (SSL_error_code = 1)
   SecurityFromBufferTest.cpp(245): error: in "SecurityFromBufferTest/ssl_security_matrix":       Server = SSLTLS, Client = TLSv1_1 expected mConnected == 1 but was 0
   SecurityFromBufferTest.cpp(145): fatal error: in "SecurityFromBufferTest/ssl_security_matrix": N6apache6thrift9transport13TSSLExceptionE: SSL_CTX_set_cipher_list: bad value
   terminate called after throwing an instance of 'boost::execution_aborted'
   unknown location(0): fatal error: in "SecurityFromBufferTest/ssl_security_matrix": signal: SIGABRT (application abort requested)
   SecurityFromBufferTest.cpp(145): last checkpoint
   $ uname -a
   Linux penguin 4.19.113-08528-g5803a1c7e9f9 #1 SMP PREEMPT Thu Apr 2 15:16:47 PDT 2020 aarch64 GNU/Linux
   ```
   
   Just checked and both of those tests fail on master as well on this machine. Should be pretty safe.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org