See <https://builds.apache.org/job/Thrift-precommit/69/changes>

Changes:

[nsuke] THRIFT-3612 Add Python C extension for compact protocol

[nsuke] THRIFT-3613 Port Python C extension to Python 3

------------------------------------------
[...truncated 9371 lines...]
Requirement already satisfied (use --upgrade to upgrade): six in 
/usr/lib/python3/dist-packages (from -r requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): 
backports.ssl-match-hostname in /usr/local/lib/python3.4/dist-packages (from -r 
requirements.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): ipaddress in 
/usr/local/lib/python3.4/dist-packages (from -r requirements.txt (line 3))
Cleaning up...
/usr/bin/python3 setup.py build
running build
running build_py
running build_ext
/usr/bin/pip install -r requirements.txt || /usr/bin/pip install --user -r 
requirements.txt
Requirement already satisfied (use --upgrade to upgrade): six in 
/usr/lib/python2.7/dist-packages (from -r requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): 
backports.ssl-match-hostname in /usr/local/lib/python2.7/dist-packages (from -r 
requirements.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): ipaddress in 
/usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 3))
Cleaning up...
/usr/bin/python setup.py build
running build
running build_py
running build_ext
/usr/bin/python3 test/thrift_json.py
.
----------------------------------------------------------------------
Ran 1 test in 0.000s

OK
/usr/bin/python3 test/test_sslsocket.py
Fsys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=4, 
family=AddressFamily.AF_INET6, type=SocketKind.SOCK_STREAM, proto=0, 
laddr=('::1', 23458, 0, 0), raddr=('::1', 60942, 0, 0)>
Error while connecting with ('::1', 23458, 0, 0). Trying next one.
Traceback (most recent call last):
  File 
"/thrift/lib/py/build/lib.linux-x86_64-3.4/thrift/transport/TSSLSocket.py", 
line 283, in open
    self.handle.connect(ip_port)
  File "/usr/lib/python3.4/ssl.py", line 864, in connect
    self._real_connect(addr, False)
  File "/usr/lib/python3.4/ssl.py", line 855, in _real_connect
    self.do_handshake()
  File "/usr/lib/python3.4/ssl.py", line 828, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:600)
/thrift/lib/py/build/lib.linux-x86_64-3.4/thrift/transport/TSSLSocket.py:280: 
ResourceWarning: unclosed <ssl.SSLSocket fd=4, family=AddressFamily.AF_INET6, 
type=2049, proto=0, laddr=('::1', 60943, 0, 0)>
  self.handle = self._wrap_socket(plain_sock)
Error while accepting from ('::1', 60943, 0, 0)
Traceback (most recent call last):
  File 
"/thrift/lib/py/build/lib.linux-x86_64-3.4/thrift/transport/TSSLSocket.py", 
line 418, in accept
    client = self._wrap_socket(plain_client)
  File 
"/thrift/lib/py/build/lib.linux-x86_64-3.4/thrift/transport/TSSLSocket.py", 
line 181, in _wrap_socket
    server_hostname=self._server_hostname)
  File "/usr/lib/python3.4/ssl.py", line 365, in wrap_socket
    _context=self)
  File "/usr/lib/python3.4/ssl.py", line 601, in __init__
    self.do_handshake()
  File "/usr/lib/python3.4/ssl.py", line 828, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: NO_CERTIFICATE_RETURNED] no certificate returned 
(_ssl.c:600)
Error while connecting with ('127.0.0.1', 23458).
Traceback (most recent call last):
  File 
"/thrift/lib/py/build/lib.linux-x86_64-3.4/thrift/transport/TSSLSocket.py", 
line 283, in open
    self.handle.connect(ip_port)
  File "/usr/lib/python3.4/ssl.py", line 864, in connect
    self._real_connect(addr, False)
  File "/usr/lib/python3.4/ssl.py", line 855, in _real_connect
    self.do_handshake()
  File "/usr/lib/python3.4/ssl.py", line 828, in do_handshake
    self._sslobj.do_handshake()
socket.timeout: _ssl.c:584: The handshake operation timed out
Error while connecting with ('::1', 23458, 0, 0). Trying next one.
Traceback (most recent call last):
  File 
"/thrift/lib/py/build/lib.linux-x86_64-3.4/thrift/transport/TSSLSocket.py", 
line 283, in open
    self.handle.connect(ip_port)
  File "/usr/lib/python3.4/ssl.py", line 864, in connect
    self._real_connect(addr, False)
  File "/usr/lib/python3.4/ssl.py", line 855, in _real_connect
    self.do_handshake()
  File "/usr/lib/python3.4/ssl.py", line 828, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:600)
Error while accepting from ('::1', 60945, 0, 0)
Traceback (most recent call last):
  File 
"/thrift/lib/py/build/lib.linux-x86_64-3.4/thrift/transport/TSSLSocket.py", 
line 418, in accept
    client = self._wrap_socket(plain_client)
  File 
"/thrift/lib/py/build/lib.linux-x86_64-3.4/thrift/transport/TSSLSocket.py", 
line 181, in _wrap_socket
    server_hostname=self._server_hostname)
  File "/usr/lib/python3.4/ssl.py", line 365, in wrap_socket
    _context=self)
  File "/usr/lib/python3.4/ssl.py", line 601, in __init__
    self.do_handshake()
  File "/usr/lib/python3.4/ssl.py", line 828, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: NO_CERTIFICATE_RETURNED] no certificate returned 
(_ssl.c:600)
/thrift/lib/py/build/lib.linux-x86_64-3.4/thrift/transport/TSSLSocket.py:280: 
ResourceWarning: unclosed <ssl.SSLSocket fd=5, family=AddressFamily.AF_INET6, 
type=2049, proto=0, laddr=('::1', 60945, 0, 0)>
  self.handle = self._wrap_socket(plain_sock)
Error while connecting with ('127.0.0.1', 23458).
Traceback (most recent call last):
  File 
"/thrift/lib/py/build/lib.linux-x86_64-3.4/thrift/transport/TSSLSocket.py", 
line 283, in open
    self.handle.connect(ip_port)
  File "/usr/lib/python3.4/ssl.py", line 864, in connect
    self._real_connect(addr, False)
  File "/usr/lib/python3.4/ssl.py", line 855, in _real_connect
    self.do_handshake()
  File "/usr/lib/python3.4/ssl.py", line 828, in do_handshake
    self._sslobj.do_handshake()
socket.timeout: _ssl.c:584: The handshake operation timed out
..Fsys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=4, 
family=AddressFamily.AF_INET6, type=SocketKind.SOCK_STREAM, proto=0, 
laddr=('::1', 23458, 0, 0), raddr=('::1', 60950, 0, 0)>
F/thrift/lib/py/build/lib.linux-x86_64-3.4/thrift/transport/TSSLSocket.py:253: 
DeprecationWarning: validate is deprecated. Use cert_reqs=ssl.CERT_REQUIRED 
instead
  DeprecationWarning)
/thrift/lib/py/build/lib.linux-x86_64-3.4/thrift/transport/TSSLSocket.py:253: 
DeprecationWarning: validate is deprecated. Use cert_reqs=ssl.CERT_NONE instead
  DeprecationWarning)
.sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=5, 
family=AddressFamily.AF_INET6, type=SocketKind.SOCK_STREAM, proto=0, 
laddr=('::1', 23458, 0, 0), raddr=('::1', 60951, 0, 0)>
./thrift/lib/py/build/lib.linux-x86_64-3.4/thrift/transport/TSSLSocket.py:265: 
DeprecationWarning: Use cert_reqs instead
  warnings.warn('Use cert_reqs instead', DeprecationWarning)
.Error while accepting from ('::1', 60953, 0, 0)
Traceback (most recent call last):
  File 
"/thrift/lib/py/build/lib.linux-x86_64-3.4/thrift/transport/TSSLSocket.py", 
line 418, in accept
    client = self._wrap_socket(plain_client)
  File 
"/thrift/lib/py/build/lib.linux-x86_64-3.4/thrift/transport/TSSLSocket.py", 
line 181, in _wrap_socket
    server_hostname=self._server_hostname)
  File "/usr/lib/python3.4/ssl.py", line 365, in wrap_socket
    _context=self)
  File "/usr/lib/python3.4/ssl.py", line 601, in __init__
    self.do_handshake()
  File "/usr/lib/python3.4/ssl.py", line 828, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:600)
Error while connecting with ('::1', 23458, 0, 0). Trying next one.
Traceback (most recent call last):
  File 
"/thrift/lib/py/build/lib.linux-x86_64-3.4/thrift/transport/TSSLSocket.py", 
line 283, in open
    self.handle.connect(ip_port)
  File "/usr/lib/python3.4/ssl.py", line 864, in connect
    self._real_connect(addr, False)
  File "/usr/lib/python3.4/ssl.py", line 855, in _real_connect
    self.do_handshake()
  File "/usr/lib/python3.4/ssl.py", line 828, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake 
failure (_ssl.c:600)
/thrift/lib/py/build/lib.linux-x86_64-3.4/thrift/transport/TSSLSocket.py:280: 
ResourceWarning: unclosed <ssl.SSLSocket fd=5, family=AddressFamily.AF_INET6, 
type=2049, proto=0, laddr=('::1', 60953, 0, 0), raddr=('::1', 23458, 0, 0)>
  self.handle = self._wrap_socket(plain_sock)
Error while connecting with ('127.0.0.1', 23458).
Traceback (most recent call last):
  File 
"/thrift/lib/py/build/lib.linux-x86_64-3.4/thrift/transport/TSSLSocket.py", 
line 283, in open
    self.handle.connect(ip_port)
  File "/usr/lib/python3.4/ssl.py", line 864, in connect
    self._real_connect(addr, False)
  File "/usr/lib/python3.4/ssl.py", line 855, in _real_connect
    self.do_handshake()
  File "/usr/lib/python3.4/ssl.py", line 828, in do_handshake
    self._sslobj.do_handshake()
socket.timeout: _ssl.c:584: The handshake operation timed out
Error while connecting with ('::1', 23458, 0, 0). Trying next one.
Traceback (most recent call last):
  File 
"/thrift/lib/py/build/lib.linux-x86_64-3.4/thrift/transport/TSSLSocket.py", 
line 283, in open
    self.handle.connect(ip_port)
  File "/usr/lib/python3.4/ssl.py", line 864, in connect
    self._real_connect(addr, False)
  File "/usr/lib/python3.4/ssl.py", line 855, in _real_connect
    self.do_handshake()
  File "/usr/lib/python3.4/ssl.py", line 828, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: UNSUPPORTED_PROTOCOL] unsupported protocol (_ssl.c:600)
/thrift/lib/py/build/lib.linux-x86_64-3.4/thrift/transport/TSSLSocket.py:280: 
ResourceWarning: unclosed <ssl.SSLSocket fd=5, family=AddressFamily.AF_INET6, 
type=2049, proto=0, laddr=('::1', 60955, 0, 0), raddr=('::1', 23458, 0, 0)>
  self.handle = self._wrap_socket(plain_sock)
Error while connecting with ('127.0.0.1', 23458).
Traceback (most recent call last):
  File 
"/thrift/lib/py/build/lib.linux-x86_64-3.4/thrift/transport/TSSLSocket.py", 
line 283, in open
    self.handle.connect(ip_port)
  File "/usr/lib/python3.4/ssl.py", line 864, in connect
    self._real_connect(addr, False)
  File "/usr/lib/python3.4/ssl.py", line 855, in _real_connect
    self.do_handshake()
  File "/usr/lib/python3.4/ssl.py", line 828, in do_handshake
    self._sslobj.do_handshake()
socket.timeout: _ssl.c:584: The handshake operation timed out
PROTOCOL_SSLv2 is not available
.Exception in thread Thread-11:
Traceback (most recent call last):
  File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
    self.run()
  File "test/test_sslsocket.py", line 59, in run
    self.client = self._server.accept()
  File 
"/thrift/lib/py/build/lib.linux-x86_64-3.4/thrift/transport/TSSLSocket.py", 
line 418, in accept
    client = self._wrap_socket(plain_client)
  File 
"/thrift/lib/py/build/lib.linux-x86_64-3.4/thrift/transport/TSSLSocket.py", 
line 181, in _wrap_socket
    server_hostname=self._server_hostname)
  File "/usr/lib/python3.4/ssl.py", line 365, in wrap_socket
    _context=self)
  File "/usr/lib/python3.4/ssl.py", line 601, in __init__
    self.do_handshake()
  File "/usr/lib/python3.4/ssl.py", line 828, in do_handshake
    self._sslobj.do_handshake()
ConnectionResetError: [Errno 104] Connection reset by peer

Fsys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=4, 
family=AddressFamily.AF_INET6, type=SocketKind.SOCK_STREAM, proto=0, 
laddr=('::1', 23458, 0, 0), raddr=('::1', 60957, 0, 0)>
test/test_sslsocket.py:58: ResourceWarning: unclosed <socket.socket fd=3, 
family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0>
  self._server.listen()
.
======================================================================
FAIL: test_ciphers (__main__.TSSLSocketTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_sslsocket.py", line 218, in test_ciphers
    self._assert_connection_success(server, client)
  File "test/test_sslsocket.py", line 109, in _assert_connection_success
    self.assertTrue(acc.client is not None)
AssertionError: False is not true

======================================================================
FAIL: test_newer_tls (__main__.TSSLSocketTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_sslsocket.py", line 265, in test_newer_tls
    self._assert_connection_success(server, client)
  File "test/test_sslsocket.py", line 109, in _assert_connection_success
    self.assertTrue(acc.client is not None)
AssertionError: False is not true

======================================================================
FAIL: test_server_cert (__main__.TSSLSocketTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_sslsocket.py", line 169, in test_server_cert
    self._assert_connection_success(server, client)
  File "test/test_sslsocket.py", line 109, in _assert_connection_success
    self.assertTrue(acc.client is not None)
AssertionError: False is not true

======================================================================
FAIL: test_ssl_context (__main__.TSSLSocketTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_sslsocket.py", line 298, in test_ssl_context
    self._assert_connection_success(server, client)
  File "test/test_sslsocket.py", line 109, in _assert_connection_success
    self.assertTrue(acc.client is not None)
AssertionError: False is not true

----------------------------------------------------------------------
Ran 11 tests in 5.714s

FAILED (failures=4)
make[3]: *** [py3-test] Error 1
make[3]: Leaving directory `/thrift/lib/py'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/thrift/lib/py'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/thrift/lib'
make: *** [check-recursive] Error 1
Build step 'Execute shell' marked build as failure
[WARNINGS] Skipping publisher since build result is FAILURE
[TASKS] Skipping publisher since build result is FAILURE
Archiving artifacts
Publishing Javadoc
Updating THRIFT-3613
Updating THRIFT-3612

Reply via email to