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

Changes:

[jfarrell] THRIFT-1413: Generated code does not read MapEnd / ListEnd / SetEnd
Client: delphi
Patch: Jens Geyer

The generated code lacks calls to ReadMapEnd, ReadListEnd and ReadSetEnd. 
Although actually no problem occurs with the BinaryProtocol, other protocols 
(like JSON) do some important things there.

[jfarrell] Thrift-1408: Delphi Test Server: Exception test case fails due to 
naming conflict with e.message
Client: delphi
Patch: jens Geyer

Fix name comflict with e.message

------------------------------------------
[...truncated 5169 lines...]

----------------------------------------------------------------------
Ran 2 tests in 0.032s

OK
testBackwards (__main__.NormalBinaryTest) ... testBackwards 
(__main__.NormalBinaryTest) ... ok
testBools (__main__.NormalBinaryTest) ... ok
testCompactStruct (__main__.NormalBinaryTest) ... ok
testBools (__main__.NormalBinaryTest) ... ok
testCompactStruct (__main__.NormalBinaryTest) ... ok
testForwards (__main__.NormalBinaryTest) ... ok
testLargeDeltas (__main__.NormalBinaryTest) ... ok
testForwards (__main__.NormalBinaryTest) ... ok
testLargeDeltas (__main__.NormalBinaryTest) ... ok
testListBonks (__main__.NormalBinaryTest) ... ok
testNestedListsBonk (__main__.NormalBinaryTest) ... ok
testListBonks (__main__.NormalBinaryTest) ... ok
testNestedListsI32x2 (__main__.NormalBinaryTest) ... ok
testNestedListsBonk (__main__.NormalBinaryTest) ... ok
testNestedListsI32x3 (__main__.NormalBinaryTest) ... ok
testNestedMixedx2 (__main__.NormalBinaryTest) ... ok
testNestedListsI32x2 (__main__.NormalBinaryTest) ... ok
testNestedListsI32x3 (__main__.NormalBinaryTest) ... ok
testNestedMixedx2 (__main__.NormalBinaryTest) ... ok
testSerializeV1 (__main__.NormalBinaryTest) ... ok
testSerializeV2 (__main__.NormalBinaryTest) ... ok
testSerializeV1 (__main__.NormalBinaryTest) ... ok
testBackwards (__main__.AcceleratedBinaryTest) ... ok
testSerializeV2 (__main__.NormalBinaryTest) ... ok
testBools (__main__.AcceleratedBinaryTest) ... ok
testCompactStruct (__main__.AcceleratedBinaryTest) ... ok
testBackwards (__main__.AcceleratedBinaryTest) ... ok
testForwards (__main__.AcceleratedBinaryTest) ... ok
testBools (__main__.AcceleratedBinaryTest) ... ok
testLargeDeltas (__main__.AcceleratedBinaryTest) ... ok
testCompactStruct (__main__.AcceleratedBinaryTest) ... ok
testListBonks (__main__.AcceleratedBinaryTest) ... ok
testNestedListsBonk (__main__.AcceleratedBinaryTest)ok ... 
testForwards (__main__.AcceleratedBinaryTest) ... ok
testLargeDeltas (__main__.AcceleratedBinaryTest)ok ... 
testNestedListsI32x2 (__main__.AcceleratedBinaryTest) ... ok
testListBonks (__main__.AcceleratedBinaryTest) ... ok
testNestedListsI32x3 (__main__.AcceleratedBinaryTest) ... ok
testNestedListsBonk (__main__.AcceleratedBinaryTest) ... ok
testNestedMixedx2 (__main__.AcceleratedBinaryTest) ... ok
testNestedListsI32x2 (__main__.AcceleratedBinaryTest) ... ok
testSerializeV1 (__main__.AcceleratedBinaryTest) ... ok
testSerializeV2 (__main__.AcceleratedBinaryTest) ... ok
testNestedListsI32x3 (__main__.AcceleratedBinaryTest) ... ok
testBackwards (__main__.CompactProtocolTest) ... ok
testNestedMixedx2 (__main__.AcceleratedBinaryTest) ... ok
testSerializeV1 (__main__.AcceleratedBinaryTest) ... ok
testSerializeV2 (__main__.AcceleratedBinaryTest) ... ok
ok
testBackwards (__main__.CompactProtocolTest) ... testBools 
(__main__.CompactProtocolTest) ... ok
testCompactStruct (__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
testListBonks (__main__.CompactProtocolTest) ... ok
testNestedListsI32x2 (__main__.CompactProtocolTest) ... ok
testNestedListsBonk (__main__.CompactProtocolTest) ... ok
testNestedListsI32x3 (__main__.CompactProtocolTest) ... ok
testNestedListsI32x2 (__main__.CompactProtocolTest) ... ok
testNestedMixedx2 (__main__.CompactProtocolTest) ... ok
testNestedListsI32x3 (__main__.CompactProtocolTest) ... ok
testNestedMixedx2 (__main__.CompactProtocolTest) ... ok
testSerializeV1 (__main__.CompactProtocolTest) ... ok
testSerializeV2 (__main__.CompactProtocolTest) ... ok
testSerializeV1 (__main__.CompactProtocolTest) ... ok
Test FramedTransport and BinaryProtocolAccelerated ... ok
testSerializeV2 (__main__.CompactProtocolTest) ... ok
testSerializeThenDeserialize (__main__.SerializersTest) ... ok
Test FramedTransport and BinaryProtocolAccelerated ... ok
testSerializeThenDeserialize (__main__.SerializersTest) ... ok

----------------------------------------------------------------------
Ran 38 tests in 0.015s

OK
ok

----------------------------------------------------------------------
Ran 38 tests in 0.015s

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 TBinaryProtocol 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 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
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
...F..............
======================================================================
FAIL: testException (__main__.AcceleratedBinaryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./TestClient.py", line 185, in testException
    self.assertEqual(x_repr, 'Xception(errorCode=1001, message=\'Xception\')')
AssertionError: "Xception(errorCode=1001, _message='Xception')" != 
"Xception(errorCode=1001, message='Xception')"

----------------------------------------------------------------------
Ran 18 tests in 0.679s

FAILED (failures=1)
----------------
 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 
`/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/py'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory 
`/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/py'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory 
`/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test'
make: *** [check-recursive] Error 1
Build step 'Execute shell' marked build as failure
[TASKS] Skipping publisher since build result is FAILURE
[WARNINGS] Skipping publisher since build result is FAILURE
Archiving artifacts
Updating THRIFT-1413
Updating THRIFT-1408
Recording test results
Publishing Javadoc

Reply via email to