See <https://builds.apache.org/job/Thrift/315/changes>
Changes:
[bryanduxbury] THRIFT-1420. java: Nonblocking and HsHa server should make sure
to close all their socket connections when the selector exits
This patch makes the selector threads close out all of their open sockets
before completely exiting. In testing, this appears to alleviate issues with
hanging clients.
Patch: Thomas Kielbus
------------------------------------------
[...truncated 8636 lines...]
ERROR: testByte (__main__.AcceleratedBinaryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./TestClient.py", line 84, in setUp
self.transport.open()
File
"../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TTransport.py", line
150, in open
return self.__trans.open()
File "../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TSocket.py",
line 90, in open
raise TTransportException(type=TTransportException.NOT_OPEN,
message=message)
TTransportException: Could not connect to localhost:9090
======================================================================
ERROR: testDouble (__main__.AcceleratedBinaryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./TestClient.py", line 84, in setUp
self.transport.open()
File
"../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TTransport.py", line
150, in open
return self.__trans.open()
File "../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TSocket.py",
line 90, in open
raise TTransportException(type=TTransportException.NOT_OPEN,
message=message)
TTransportException: Could not connect to localhost:9090
======================================================================
ERROR: testEnum (__main__.AcceleratedBinaryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./TestClient.py", line 84, in setUp
self.transport.open()
File
"../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TTransport.py", line
150, in open
return self.__trans.open()
File "../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TSocket.py",
line 90, in open
raise TTransportException(type=TTransportException.NOT_OPEN,
message=message)
TTransportException: Could not connect to localhost:9090
======================================================================
ERROR: testException (__main__.AcceleratedBinaryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./TestClient.py", line 84, in setUp
self.transport.open()
File
"../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TTransport.py", line
150, in open
return self.__trans.open()
File "../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TSocket.py",
line 90, in open
raise TTransportException(type=TTransportException.NOT_OPEN,
message=message)
TTransportException: Could not connect to localhost:9090
======================================================================
ERROR: testI32 (__main__.AcceleratedBinaryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./TestClient.py", line 84, in setUp
self.transport.open()
File
"../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TTransport.py", line
150, in open
return self.__trans.open()
File "../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TSocket.py",
line 90, in open
raise TTransportException(type=TTransportException.NOT_OPEN,
message=message)
TTransportException: Could not connect to localhost:9090
======================================================================
ERROR: testI64 (__main__.AcceleratedBinaryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./TestClient.py", line 84, in setUp
self.transport.open()
File
"../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TTransport.py", line
150, in open
return self.__trans.open()
File "../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TSocket.py",
line 90, in open
raise TTransportException(type=TTransportException.NOT_OPEN,
message=message)
TTransportException: Could not connect to localhost:9090
======================================================================
ERROR: testList (__main__.AcceleratedBinaryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./TestClient.py", line 84, in setUp
self.transport.open()
File
"../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TTransport.py", line
150, in open
return self.__trans.open()
File "../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TSocket.py",
line 90, in open
raise TTransportException(type=TTransportException.NOT_OPEN,
message=message)
TTransportException: Could not connect to localhost:9090
======================================================================
ERROR: testMap (__main__.AcceleratedBinaryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./TestClient.py", line 84, in setUp
self.transport.open()
File
"../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TTransport.py", line
150, in open
return self.__trans.open()
File "../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TSocket.py",
line 90, in open
raise TTransportException(type=TTransportException.NOT_OPEN,
message=message)
TTransportException: Could not connect to localhost:9090
======================================================================
ERROR: testMapMap (__main__.AcceleratedBinaryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./TestClient.py", line 84, in setUp
self.transport.open()
File
"../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TTransport.py", line
150, in open
return self.__trans.open()
File "../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TSocket.py",
line 90, in open
raise TTransportException(type=TTransportException.NOT_OPEN,
message=message)
TTransportException: Could not connect to localhost:9090
======================================================================
ERROR: testMulti (__main__.AcceleratedBinaryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./TestClient.py", line 84, in setUp
self.transport.open()
File
"../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TTransport.py", line
150, in open
return self.__trans.open()
File "../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TSocket.py",
line 90, in open
raise TTransportException(type=TTransportException.NOT_OPEN,
message=message)
TTransportException: Could not connect to localhost:9090
======================================================================
ERROR: testNest (__main__.AcceleratedBinaryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./TestClient.py", line 84, in setUp
self.transport.open()
File
"../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TTransport.py", line
150, in open
return self.__trans.open()
File "../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TSocket.py",
line 90, in open
raise TTransportException(type=TTransportException.NOT_OPEN,
message=message)
TTransportException: Could not connect to localhost:9090
======================================================================
ERROR: testOneway (__main__.AcceleratedBinaryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./TestClient.py", line 84, in setUp
self.transport.open()
File
"../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TTransport.py", line
150, in open
return self.__trans.open()
File "../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TSocket.py",
line 90, in open
raise TTransportException(type=TTransportException.NOT_OPEN,
message=message)
TTransportException: Could not connect to localhost:9090
======================================================================
ERROR: testOnewayThenNormal (__main__.AcceleratedBinaryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./TestClient.py", line 84, in setUp
self.transport.open()
File
"../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TTransport.py", line
150, in open
return self.__trans.open()
File "../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TSocket.py",
line 90, in open
raise TTransportException(type=TTransportException.NOT_OPEN,
message=message)
TTransportException: Could not connect to localhost:9090
======================================================================
ERROR: testSet (__main__.AcceleratedBinaryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./TestClient.py", line 84, in setUp
self.transport.open()
File
"../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TTransport.py", line
150, in open
return self.__trans.open()
File "../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TSocket.py",
line 90, in open
raise TTransportException(type=TTransportException.NOT_OPEN,
message=message)
TTransportException: Could not connect to localhost:9090
======================================================================
ERROR: testString (__main__.AcceleratedBinaryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./TestClient.py", line 84, in setUp
self.transport.open()
File
"../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TTransport.py", line
150, in open
return self.__trans.open()
File "../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TSocket.py",
line 90, in open
raise TTransportException(type=TTransportException.NOT_OPEN,
message=message)
TTransportException: Could not connect to localhost:9090
======================================================================
ERROR: testStruct (__main__.AcceleratedBinaryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./TestClient.py", line 84, in setUp
self.transport.open()
File
"../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TTransport.py", line
150, in open
return self.__trans.open()
File "../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TSocket.py",
line 90, in open
raise TTransportException(type=TTransportException.NOT_OPEN,
message=message)
TTransportException: Could not connect to localhost:9090
======================================================================
ERROR: testTypedef (__main__.AcceleratedBinaryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./TestClient.py", line 84, in setUp
self.transport.open()
File
"../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TTransport.py", line
150, in open
return self.__trans.open()
File "../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TSocket.py",
line 90, in open
raise TTransportException(type=TTransportException.NOT_OPEN,
message=message)
TTransportException: Could not connect to localhost:9090
======================================================================
ERROR: testVoid (__main__.AcceleratedBinaryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./TestClient.py", line 84, in setUp
self.transport.open()
File
"../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TTransport.py", line
150, in open
return self.__trans.open()
File "../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TSocket.py",
line 90, in open
raise TTransportException(type=TTransportException.NOT_OPEN,
message=message)
TTransportException: Could not connect to localhost:9090
----------------------------------------------------------------------
Ran 18 tests in 0.005s
FAILED (errors=18)
ncludes gen-py-dynamicslots) TThreadPoolServer / compact proto / zlib=True /
SSL=True. 216 combinations tested.
Test run #217: (includes gen-py-default) Server=TProcessPoolServer,
Proto=accel, zlib=False, SSL=False
Testing server TProcessPoolServer: /usr/bin/python ./TestServer.py
--genpydir=gen-py-default --proto=accel --port=9090 TProcessPoolServer
Testing client: /usr/bin/python ./TestClient.py --genpydir=gen-py-default
--proto=accel --port=9090
Giving TProcessPoolServer (proto=accel,zlib=False,ssl=False) an extra 3 seconds
for child processes to terminate via alarm
Traceback (most recent call last):
File "./RunClientServer.py", line 185, in <module>
runServiceTest(genpydir, try_server, try_proto, options.port, with_zlib,
with_ssl)
File "./RunClientServer.py", line 136, in runServiceTest
raise Exception("Client subprocess failed, retcode=%d, args: %s" % (ret, '
'.join(cli_args)))
Exception: Client subprocess failed, retcode=1, args: /usr/bin/python
./TestClient.py --genpydir=gen-py-default --proto=accel --port=9090
FAIL: RunClientServer.py
==================
1 of 1 test failed
==================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory
`<https://builds.apache.org/job/Thrift/ws/thrift/test/py'>
make[2]: *** [check-am] Error 2
make[2]: Leaving directory
`<https://builds.apache.org/job/Thrift/ws/thrift/test/py'>
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory
`<https://builds.apache.org/job/Thrift/ws/thrift/test'>
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
Recording test results
Publishing Javadoc
Updating THRIFT-1420