See <https://builds.apache.org/job/Thrift/369/changes>

Changes:

[jfarrell] Thrift-1467:Possible AV with empty strings when using JSON protocol
Client:delphi
Patch: Jens Geyer

Fixes exception raised on empty json strings.

------------------------------------------
[...truncated 8568 lines...]
OK
...ERROR:root:Exception test PASSES.
Traceback (most recent call last):
  File "../../lib/py/build/lib.linux-x86_64-2.6/thrift/server/TServer.py", line 
160, in serveClient
    self.processor.process(iprot, oprot)
  File "gen-py-dynamicslots/ThriftTest/ThriftTest.py", line 797, in process
    self._processMap[name](self, seqid, iprot, oprot)
  File "gen-py-dynamicslots/ThriftTest/ThriftTest.py", line 993, in 
process_testException
    self._handler.testException(args.arg)
  File "./TestServer.py", line 112, in testException
    raise ValueError("Exception test PASSES.")
ValueError: Exception test PASSES.
...............
----------------------------------------------------------------------
Ran 18 tests in 0.403s

OK
ots --proto=accel --port=9090 --zlib --ssl
OK: Finished (includes gen-py-dynamicslots)  TThreadPoolServer / accel proto / 
zlib=True / SSL=True.   208 combinations tested.

Test run #209:  (includes gen-py-dynamicslots) Server=TThreadPoolServer,  
Proto=binary,  zlib=False,  SSL=False
Testing server TThreadPoolServer: /usr/bin/python ./TestServer.py 
--genpydir=gen-py-dynamicslots --proto=binary --port=9090 TThreadPoolServer
Testing client: /usr/bin/python ./TestClient.py --genpydir=gen-py-dynamicslots 
--proto=binary --port=9090
OK: Finished (includes gen-py-dynamicslots)  TThreadPoolServer / binary proto / 
zlib=False / SSL=False.   209 combinations tested.

Test run #210:  (includes gen-py-dynamicslots) Server=TThreadPoolServer,  
Proto=binary,  zlib=False,  SSL=True
Testing server TThreadPoolServer: /usr/bin/python ./TestServer.py 
--genpydir=gen-py-dynamicslots --proto=binary --port=9090 --ssl 
TThreadPoolServer
Testing client: /usr/bin/python ./TestClient.py --genpydir=gen-py-dynamicslots 
--proto=binary --port=9090 --ssl
OK: Finished (includes gen-py-dynamicslots)  TThreadPoolServer / binary proto / 
zlib=False / SSL=True.   210 combinations tested.

Test run #211:  (includes gen-py-dynamicslots) Server=TThreadPoolServer,  
Proto=binary,  zlib=True,  SSL=False
Testing server TThreadPoolServer: /usr/bin/python ./TestServer.py 
--genpydir=gen-py-dynamicslots --proto=binary --port=9090 --zlib 
TThreadPoolServer
Testing client: /usr/bin/python ./TestClient.py --genpydir=gen-py-dynamicslots 
--proto=binary --port=9090 --zlib
OK: Finished (includes gen-py-dynamicslots)  TThreadPoolServer / binary proto / 
zlib=True / SSL=False.   211 combinations tested.

Test run #212:  (includes gen-py-dynamicslots) Server=TThreadPoolServer,  
Proto=binary,  zlib=True,  SSL=True
Testing server TThreadPoolServer: /usr/bin/python ./TestServer.py 
--genpydir=gen-py-dynamicslots --proto=binary --port=9090 --zlib --ssl 
TThreadPoolServer
Testing client: /usr/bin/python ./TestClient.py --genpydir=gen-py-dynamicslots 
--proto=binary --port=9090 --zlib --ssl
OK: Finished (includes gen-py-dynamicslots)  TThreadPoolServer / binary proto / 
zlib=True / SSL=True.   212 combinations tested.

Test run #213:  (includes gen-py-dynamicslots) Server=TThreadPoolServer,  
Proto=compact,  zlib=False,  SSL=False
Testing server TThreadPoolServer: /usr/bin/python ./TestServer.py 
--genpydir=gen-py-dynamicslots --proto=compact --port=9090 TThreadPoolServer
Testing client: /usr/bin/python ./TestClient.py --genpydir=gen-py-dynamicslots 
--proto=compact --port=9090
OK: Finished (includes gen-py-dynamicslots)  TThreadPoolServer / compact proto 
/ zlib=False / SSL=False.   213 combinations tested.

Test run #214:  (includes gen-py-dynamicslots) Server=TThreadPoolServer,  
Proto=compact,  zlib=False,  SSL=True
Testing server TThreadPoolServer: /usr/bin/python ./TestServer.py 
--genpydir=gen-py-dynamicslots --proto=compact --port=9090 --ssl 
TThreadPoolServer
Testing client: /usr/bin/python ./TestClient.py --genpydir=gen-py-dynamicslots 
--proto=compact --port=9090 --ssl
OK: Finished (includes gen-py-dynamicslots)  TThreadPoolServer / compact proto 
/ zlib=False / SSL=True.   214 combinations tested.

Test run #215:  (includes gen-py-dynamicslots) Server=TThreadPoolServer,  
Proto=compact,  zlib=True,  SSL=False
Testing server TThreadPoolServer: /usr/bin/python ./TestServer.py 
--genpydir=gen-py-dynamicslots --proto=compact --port=9090 --zlib 
TThreadPoolServer
Testing client: /usr/bin/python ./TestClient.py --genpydir=gen-py-dynamicslots 
--proto=compact --port=9090 --zlib
OK: Finished (includes gen-py-dynamicslots)  TThreadPoolServer / compact proto 
/ zlib=True / SSL=False.   215 combinations tested.

Test run #216:  (includes gen-py-dynamicslots) Server=TThreadPoolServer,  
Proto=compact,  zlib=True,  SSL=True
Testing server TThreadPoolServer: /usr/bin/python ./TestServer.py 
--genpydir=gen-py-dynamicslots --proto=compact --port=9090 --zlib --ssl 
TThreadPoolServer
Testing client: /usr/bin/python ./TestClient.py --genpydir=gen-py-dynamicslots 
--proto=compact --port=9090 --zlib --ssl
OK: Finished (iEEEEEEEEEEEEE.....
======================================================================
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

----------------------------------------------------------------------
Ran 18 tests in 0.009s

FAILED (errors=13)
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-1467

Reply via email to