See <https://builds.apache.org/job/Thrift/339/changes>
Changes: [jfarrell] Thrift-1432: Javascript struct constants declared in the same file as their struct definition will cause an error Client: js Patch: Mike Riley Flips print out of constants and structs within the generator to allow for use of constants within the structs. ------------------------------------------ [...truncated 4229 lines...] 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/TSSLSocket.py", line 87, 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/TZlibTransport.py", line 174, in open return self.__trans.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/TSSLSocket.py", line 87, 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/TZlibTransport.py", line 174, in open return self.__trans.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/TSSLSocket.py", line 87, 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/TZlibTransport.py", line 174, in open return self.__trans.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/TSSLSocket.py", line 87, 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/TZlibTransport.py", line 174, in open return self.__trans.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/TSSLSocket.py", line 87, 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/TZlibTransport.py", line 174, in open return self.__trans.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/TSSLSocket.py", line 87, 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/TZlibTransport.py", line 174, in open return self.__trans.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/TSSLSocket.py", line 87, 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/TZlibTransport.py", line 174, in open return self.__trans.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/TSSLSocket.py", line 87, 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/TZlibTransport.py", line 174, in open return self.__trans.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/TSSLSocket.py", line 87, 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/TZlibTransport.py", line 174, in open return self.__trans.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/TSSLSocket.py", line 87, 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/TZlibTransport.py", line 174, in open return self.__trans.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/TSSLSocket.py", line 87, 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/TZlibTransport.py", line 174, in open return self.__trans.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/TSSLSocket.py", line 87, 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/TZlibTransport.py", line 174, in open return self.__trans.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/TSSLSocket.py", line 87, 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/TZlibTransport.py", line 174, in open return self.__trans.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/TSSLSocket.py", line 87, 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/TZlibTransport.py", line 174, in open return self.__trans.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/TSSLSocket.py", line 87, 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/TZlibTransport.py", line 174, in open return self.__trans.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/TSSLSocket.py", line 87, in open raise TTransportException(type=TTransportException.NOT_OPEN, message=message) TTransportException: Could not connect to localhost:9090 ---------------------------------------------------------------------- Ran 18 tests in 0.008s FAILED (errors=18) proto / zlib=True / SSL=False. 3 combinations tested. Test run #4: (includes gen-py-default) Server=TSimpleServer, Proto=accel, zlib=True, SSL=True Testing server TSimpleServer: /usr/bin/python ./TestServer.py --genpydir=gen-py-default --proto=accel --port=9090 --zlib --ssl TSimpleServer Testing client: /usr/bin/python ./TestClient.py --genpydir=gen-py-default --proto=accel --port=9090 --zlib --ssl 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 --zlib --ssl 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-1432