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

Changes:

[jsirois] Fixup SecurityTest flakiness under CI.

[jsirois] Try to trap GlobalFixture tear down exceptions.

[jsirois] Kill tear-down debugging and use the more-modern standard __linux__.

[jsirois] One more __linux__ correction.

------------------------------------------
[...truncated 8672 lines...]
[artifact:dependencies] Downloading: 
org/sonatype/sisu/sisu-inject-bean/2.3.0/sisu-inject-bean-2.3.0.jar from 
repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Downloading: 
org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1.jar from repository 
central at http://repo1.maven.org/maven2
[artifact:dependencies] Downloading: 
commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.jar from 
repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Downloading: 
com/googlecode/jslint4java/jslint4java/1.4.6/jslint4java-1.4.6.jar from 
repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Transferring 169K from central
[artifact:dependencies] Transferring 282K from central
[artifact:dependencies] Transferring 44K from central
[artifact:dependencies] Transferring 84K from central
[artifact:dependencies] Downloading: 
org/codehaus/plexus/plexus-classworlds/2.4/plexus-classworlds-2.4.jar from 
repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Downloading: 
org/apache/maven/maven-artifact/3.0.4/maven-artifact-3.0.4.jar from repository 
central at http://repo1.maven.org/maven2
[artifact:dependencies] Downloading: 
org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar from repository 
central at http://repo1.maven.org/maven2
[artifact:dependencies] Transferring 46K from central
[artifact:dependencies] Transferring 51K from central
[artifact:dependencies] Transferring 349K from central
[artifact:dependencies] Downloading: 
org/codehaus/plexus/plexus-interpolation/1.1/plexus-interpolation-1.1.jar from 
repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Downloading: 
org/apache/maven/maven-project/3.0-alpha-2/maven-project-3.0-alpha-2.jar from 
repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Transferring 35K from central
[artifact:dependencies] Transferring 139K from central
[artifact:dependencies] Downloading: 
org/sonatype/sisu/sisu-guava/0.9.9/sisu-guava-0.9.9.jar from repository central 
at http://repo1.maven.org/maven2
[artifact:dependencies] Downloading: 
org/codehaus/plexus/plexus-container-default/1.0-beta-3.0.5/plexus-container-default-1.0-beta-3.0.5.jar
 from repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Downloading: 
org/apache/maven/maven-compat/3.0-alpha-2/maven-compat-3.0-alpha-2.jar from 
repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Transferring 1472K from central
[artifact:dependencies] Transferring 204K from central
[artifact:dependencies] Transferring 232K from central
[artifact:dependencies] Downloading: 
org/apache/maven/maven-project-builder/3.0-alpha-2/maven-project-builder-3.0-alpha-2.jar
 from repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Transferring 165K from central
     [copy] Copying 39 files to /thrift/lib/js/test/build/lib

jslint:

lint:

dependencies:

init:
    [mkdir] Created dir: /thrift/lib/js/test/build/js/lib
    [mkdir] Created dir: /thrift/lib/js/test/build/log
    [mkdir] Created dir: /thrift/lib/js/test/build/test
    [mkdir] Created dir: /thrift/lib/js/test/build/test/log

xvfb:
     [echo] check if Xvfb is available:
     [exec] Execute failed: java.io.IOException: Cannot run program "Xvfb": 
error=2, No such file or directory

phantomjs:

compile:
    [javac] Compiling 29 source files to /thrift/lib/js/test/build/test
    [javac] warning: Supported source version 'RELEASE_6' from annotation 
processor 'org.sonatype.guice.bean.scanners.index.SisuIndexAPT6' less than 
-source '1.7'
    [javac] 1 warning
    [javac] Compiling 1 source file to /thrift/lib/js/test/build/test
    [javac] warning: Supported source version 'RELEASE_6' from annotation 
processor 'org.sonatype.guice.bean.scanners.index.SisuIndexAPT6' less than 
-source '1.7'
    [javac] Note: /thrift/lib/js/test/src/test/Httpd.java uses or overrides a 
deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: /thrift/lib/js/test/src/test/Httpd.java uses unchecked or 
unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 warning

jstest:
      [jar] Building jar: /thrift/lib/js/test/build/jstest.jar

proxy:

jslibs:
      [get] Getting: http://code.jquery.com/jquery-1.11.3.min.js
      [get] To: /thrift/lib/js/test/build/js/lib/jquery.js
      [get] Getting: 
http://js-test-driver.googlecode.com/svn/trunk/JsTestDriver/contrib/qunit/src/equiv.js
      [get] To: /thrift/lib/js/test/build/js/lib/equiv.js
      [get] Getting: 
http://js-test-driver.googlecode.com/svn/trunk/JsTestDriver/contrib/qunit/src/QUnitAdapter.js
      [get] To: /thrift/lib/js/test/build/js/lib/QUnitAdapter.js
      [get] Getting: http://code.jquery.com/qunit/qunit-1.18.0.js
      [get] To: /thrift/lib/js/test/build/js/lib/qunit.js
      [get] Getting: http://code.jquery.com/qunit/qunit-1.18.0.css
      [get] To: /thrift/lib/js/test/build/js/lib/qunit.css
     [copy] Copying 1 file to /thrift/lib/js/test/build/js

unittest:

test:

BUILD SUCCESSFUL
Total time: 21 seconds
make[3]: Leaving directory `/thrift/lib/js/test'
make[2]: Leaving directory `/thrift/lib/js/test'
Making check in py
make[2]: Entering directory `/thrift/lib/py'
/usr/bin/pip3 install -r requirements.txt || /usr/bin/pip3 install --user -r 
requirements.txt
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
/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
make  check-local
make[3]: Entering directory `/thrift/lib/py'
/usr/bin/pip3 install -r requirements.txt || /usr/bin/pip3 install --user -r 
requirements.txt
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
/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', 46566, 0, 0)>
.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', 46573, 0, 0)>
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', 46574, 0, 0)>
F/thrift/lib/py/build/lib/thrift/transport/TSSLSocket.py:253: 
DeprecationWarning: validate is deprecated. Use cert_reqs=ssl.CERT_REQUIRED 
instead
  DeprecationWarning)
/thrift/lib/py/build/lib/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', 46575, 0, 0)>
F/thrift/lib/py/build/lib/thrift/transport/TSSLSocket.py:265: 
DeprecationWarning: Use cert_reqs instead
  warnings.warn('Use cert_reqs instead', DeprecationWarning)
.sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=4, 
family=AddressFamily.AF_INET6, type=SocketKind.SOCK_STREAM, proto=0, 
laddr=('::1', 23458, 0, 0), raddr=('::1', 46576, 0, 0)>
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 60, in run
    self.client = self._server.accept()
  File "/thrift/lib/py/build/lib/thrift/transport/TSSLSocket.py", line 418, in 
accept
    client = self._wrap_socket(plain_client)
  File "/thrift/lib/py/build/lib/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

PROTOCOL_SSLv2 is not available
.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', 46581, 0, 0)>
test/test_sslsocket.py:59: ResourceWarning: unclosed <socket.socket fd=3, 
family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0>
  self._server.listen()
F
======================================================================
FAIL: test_ciphers (__main__.TSSLSocketTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_sslsocket.py", line 221, in test_ciphers
    self._assert_connection_success(server, client)
  File "test/test_sslsocket.py", line 112, in _assert_connection_success
    self.assertTrue(acc.client is not None)
AssertionError: False is not true

======================================================================
FAIL: test_deprecation (__main__.TSSLSocketTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_sslsocket.py", line 140, in test_deprecation
    self._assert_connection_success(server, client)
  File "test/test_sslsocket.py", line 112, 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 268, in test_newer_tls
    self._assert_connection_success(server, client)
  File "test/test_sslsocket.py", line 112, 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 172, in test_server_cert
    self._assert_connection_success(server, client)
  File "test/test_sslsocket.py", line 112, in _assert_connection_success
    self.assertTrue(acc.client is not None)
AssertionError: False is not true

======================================================================
FAIL: test_set_server_cert (__main__.TSSLSocketTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_sslsocket.py", line 191, in test_set_server_cert
    self._assert_connection_success(server, client)
  File "test/test_sslsocket.py", line 112, 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 301, in test_ssl_context
    self._assert_connection_success(server, client)
  File "test/test_sslsocket.py", line 112, in _assert_connection_success
    self.assertTrue(acc.client is not None)
AssertionError: False is not true

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

----------------------------------------------------------------------
Ran 11 tests in 5.740s

FAILED (failures=7)
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

Reply via email to