See <https://builds.apache.org/job/Thrift/457/changes>
Changes: [cpiro] fix TApplicationException not imported in Python gencode used unconditionally in the generated code. "from thrift.Thrift import *" included it before r1169492 but not since. Reviewed By: dreiss ------------------------------------------ [...truncated 3656 lines...] testNestedMixedx2 (__main__.AcceleratedBinaryTest) ... ok testBools (__main__.CompactProtocolTest) ... ok testSerializeV1 (__main__.AcceleratedBinaryTest) ... ok testSerializeV2 (__main__.AcceleratedBinaryTest) ... ok testCompactStruct (__main__.CompactProtocolTest) ... ok testBackwards (__main__.CompactProtocolTest) ... ok testBools (__main__.CompactProtocolTest) ... ok testCompactStruct (__main__.CompactProtocolTest) ... ok testForwards (__main__.CompactProtocolTest) ... ok testLargeDeltas (__main__.CompactProtocolTest) ... ok testForwards (__main__.CompactProtocolTest) ... ok testLargeDeltas (__main__.CompactProtocolTest) ... ok testListBonks (__main__.CompactProtocolTest) ... ok testNestedListsBonk (__main__.CompactProtocolTest) ... ok testNestedListsI32x2 (__main__.CompactProtocolTest) ... ok testListBonks (__main__.CompactProtocolTest) ... ok testNestedListsI32x3 (__main__.CompactProtocolTest) ... ok testNestedListsBonk (__main__.CompactProtocolTest) ... ok testNestedMixedx2 (__main__.CompactProtocolTest) ... ok testNestedListsI32x2 (__main__.CompactProtocolTest) ... ok testNestedListsI32x3 (__main__.CompactProtocolTest) ... ok testNestedMixedx2 (__main__.CompactProtocolTest) ... ok testSerializeV1 (__main__.CompactProtocolTest) ... ok testSerializeV2 (__main__.CompactProtocolTest) ... ok Test FramedTransport and BinaryProtocolAccelerated ... ok testSerializeThenDeserialize (__main__.SerializersTest) ... ok testSerializeV1 (__main__.CompactProtocolTest) ... ok testSerializeV2 (__main__.CompactProtocolTest) ... ok Test FramedTransport and BinaryProtocolAccelerated ... ok testSerializeThenDeserialize (__main__.SerializersTest) ... ok ---------------------------------------------------------------------- Ran 38 tests in 0.020s OK ok ---------------------------------------------------------------------- Ran 38 tests in 0.020s OK Test that TBinaryProtocolAccelerated throws an EOFError when it reaches the end of the stream ... ok Test that TBinaryProtocol throws an EOFError when it reaches the end of the stream ... Test that TBinaryProtocolAccelerated throws an EOFError when it reaches the end of the stream ... ok Test that TCompactProtocol throws an EOFError when it reaches the end of the stream ... ok Test that TBinaryProtocol throws an EOFError when it reaches the end of the stream ... ok Test that readAll on any type of transport throws an EOFError ... ok ---------------------------------------------------------------------- Ran 4 tests in 0.003s OK ok Test that TCompactProtocol throws an EOFError when it reaches the end of the stream ... ok Test that readAll on any type of transport throws an EOFError ... ok ---------------------------------------------------------------------- Ran 4 tests in 0.003s OK testConnectTimeout (__main__.TimeoutTest) ... testConnectTimeout (__main__.TimeoutTest) ... ok testWriteTimeout (__main__.TimeoutTest) ... ok testWriteTimeout (__main__.TimeoutTest) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.033s OK ok ---------------------------------------------------------------------- Ran 2 tests in 0.033s OK EEEEE............. ====================================================================== 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 149, in open return self.__trans.open() File "../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TSocket.py", line 99, in 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 149, in open return self.__trans.open() File "../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TSocket.py", line 99, in 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 149, in open return self.__trans.open() File "../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TSocket.py", line 99, in 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 149, in open return self.__trans.open() File "../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TSocket.py", line 99, in 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 149, in open return self.__trans.open() File "../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TSocket.py", line 99, in open message=message) TTransportException: Could not connect to localhost:9090 ---------------------------------------------------------------------- Ran 18 tests in 0.673s FAILED (errors=5) ---------------- Executing individual test scripts with various generated code directories Directories to be tested: gen-py-default, gen-py-slots, gen-py-newstyle, gen-py-newstyleslots, gen-py-dynamic, gen-py-dynamicslots Scripts to be tested: SerializationTest.py, TestEof.py, TestSyntax.py, TestSocket.py ---------------- Testing script: /usr/bin/python ./SerializationTest.py --genpydir=gen-py-default ---- Testing script: /usr/bin/python ./TestEof.py --genpydir=gen-py-default ---- Testing script: /usr/bin/python ./TestSyntax.py --genpydir=gen-py-default ---- Testing script: /usr/bin/python ./TestSocket.py --genpydir=gen-py-default ---- Testing script: /usr/bin/python ./SerializationTest.py --genpydir=gen-py-slots ---- Testing script: /usr/bin/python ./TestEof.py --genpydir=gen-py-slots ---- Testing script: /usr/bin/python ./TestSyntax.py --genpydir=gen-py-slots ---- Testing script: /usr/bin/python ./TestSocket.py --genpydir=gen-py-slots ---- Testing script: /usr/bin/python ./SerializationTest.py --genpydir=gen-py-newstyle ---- Testing script: /usr/bin/python ./TestEof.py --genpydir=gen-py-newstyle ---- Testing script: /usr/bin/python ./TestSyntax.py --genpydir=gen-py-newstyle ---- Testing script: /usr/bin/python ./TestSocket.py --genpydir=gen-py-newstyle ---- Testing script: /usr/bin/python ./SerializationTest.py --genpydir=gen-py-newstyleslots ---- Testing script: /usr/bin/python ./TestEof.py --genpydir=gen-py-newstyleslots ---- Testing script: /usr/bin/python ./TestSyntax.py --genpydir=gen-py-newstyleslots ---- Testing script: /usr/bin/python ./TestSocket.py --genpydir=gen-py-newstyleslots ---- Testing script: /usr/bin/python ./SerializationTest.py --genpydir=gen-py-dynamic ---- Testing script: /usr/bin/python ./TestEof.py --genpydir=gen-py-dynamic ---- Testing script: /usr/bin/python ./TestSyntax.py --genpydir=gen-py-dynamic ---- Testing script: /usr/bin/python ./TestSocket.py --genpydir=gen-py-dynamic ---- Testing script: /usr/bin/python ./SerializationTest.py --genpydir=gen-py-dynamicslots ---- Testing script: /usr/bin/python ./TestEof.py --genpydir=gen-py-dynamicslots ---- Testing script: /usr/bin/python ./TestSyntax.py --genpydir=gen-py-dynamicslots ---- Testing script: /usr/bin/python ./TestSocket.py --genpydir=gen-py-dynamicslots ---- ---------------- Executing Client/Server tests with various generated code directories Servers to be tested: TSimpleServer, TThreadedServer, TThreadPoolServer, TProcessPoolServer, TForkingServer, TNonblockingServer, THttpServer Directories to be tested: gen-py-default, gen-py-slots, gen-py-newstyle, gen-py-newstyleslots, gen-py-dynamic, gen-py-dynamicslots Protocols to be tested: accel, binary, compact Options to be tested: ZLIB(yes/no), SSL(yes/no) ---------------- Test run #1: (includes gen-py-default) Server=TSimpleServer, Proto=accel, zlib=False, SSL=False Testing server TSimpleServer: /usr/bin/python ./TestServer.py --genpydir=gen-py-default --proto=accel --port=9090 TSimpleServer Testing client: /usr/bin/python ./TestClient.py --genpydir=gen-py-default --proto=accel --port=9090 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