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

Changes:

[jfarrell] Thrift-1379: fix uninitialized enum values in thrift C++ objects
Client: cpp
Patch: Dave Watson

The thrift-generated code for C++ class objects does not provide any
initialization for enum values, so they wind up containing random/uninitialized
data. This causes problems when clients do not send argument data, as the server
receives random data rather than zero for unpassed args.
Enums should be initialized to zero.

[jfarrell] Thrift-1377: abort PHP deserialization on unknown field type
client: php
Patch: Dave Watson

Previously the code incorrectly ignored unknown field types. After
reading the field header, if it was an unknown type it would incorrectly
assume there was no data, and start trying to read the next field
immediately.

[jfarrell] Thrift-1376: Make port specification option in thrift remote
Client: py
Patch: Dave Watson

The thrift-generated Python service client allows overriding the default 
host/port by doing "-h host:port" on the command line. Oftentimes, you want to 
override the host but not the port, as most services run on well-defined ports.

[jfarrell] Thrift-1375: fixed a hex char conversion bug in TJSONProtocol
Client: java
Patch: Dave Watson

Fixed a hex char conversion bug in TJSONProtocol: 10 ~ 15 <=> 'a' ~ 'f'.

[jfarrell] Thrift-1373: Fix user-defined exception generation in thrift (python)
Client: py
Patch: Dave Watson

Fixed python code generation so that user-defined exceptions have a
base class of TException rather than Exception.

------------------------------------------
[...truncated 3161 lines...]

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:192]
 64-bit constant "281474976710655" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:192]
 64-bit constant "72057594037927935" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:192]
 64-bit constant "9223372036854775807" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:201]
 64-bit constant "9223372036854775807" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:208]
 64-bit constant "9223372036854775807" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:355]
 No field key specified for field1, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:356]
 No field key specified for field2, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:357]
 No field key specified for field3, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:358]
 No field key specified for field4, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:359]
 No field key specified for field5, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:360]
 No field key specified for field6, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:361]
 No field key specified for field7, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:362]
 No field key specified for field8, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:363]
 No field key specified for field9, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:364]
 No field key specified for field10, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:365]
 No field key specified for field11, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:366]
 No field key specified for field12, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:41]
 64-bit constant "10000000000" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:173]
 64-bit constant "1099511627775" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:183]
 64-bit constant "4294967295" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:183]
 64-bit constant "1099511627775" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:183]
 64-bit constant "281474976710655" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:183]
 64-bit constant "72057594037927935" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:183]
 64-bit constant "9223372036854775807" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:192]
 64-bit constant "4294967295" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:192]
 64-bit constant "1099511627775" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:192]
 64-bit constant "281474976710655" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:192]
 64-bit constant "72057594037927935" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:192]
 64-bit constant "9223372036854775807" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:201]
 64-bit constant "9223372036854775807" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:208]
 64-bit constant "9223372036854775807" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:355]
 No field key specified for field1, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:356]
 No field key specified for field2, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:357]
 No field key specified for field3, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:358]
 No field key specified for field4, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:359]
 No field key specified for field5, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:360]
 No field key specified for field6, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:361]
 No field key specified for field7, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:362]
 No field key specified for field8, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:363]
 No field key specified for field9, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:364]
 No field key specified for field10, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:365]
 No field key specified for field11, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:366]
 No field key specified for field12, resulting protocol may have conflicts or 
not be backwards compatible!

test -d gen-py-dynamicslots || mkdir gen-py-dynamicslots
../../compiler/cpp/thrift --gen py:dynamic,slots -out gen-py-dynamicslots 
../ThriftTest.thrift
test -d gen-py-dynamicslots || mkdir gen-py-dynamicslots
../../compiler/cpp/thrift --gen py:dynamic,slots -out gen-py-dynamicslots 
../DebugProtoTest.thrift
[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:41]
 64-bit constant "10000000000" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:173]
 64-bit constant "1099511627775" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:183]
 64-bit constant "4294967295" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:183]
 64-bit constant "1099511627775" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:183]
 64-bit constant "281474976710655" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:183]
 64-bit constant "72057594037927935" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:183]
 64-bit constant "9223372036854775807" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:192]
 64-bit constant "4294967295" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:192]
 64-bit constant "1099511627775" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:192]
 64-bit constant "281474976710655" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:192]
 64-bit constant "72057594037927935" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:192]
 64-bit constant "9223372036854775807" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:201]
 64-bit constant "9223372036854775807" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:208]
 64-bit constant "9223372036854775807" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:355]
 No field key specified for field1, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:356]
 No field key specified for field2, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:357]
 No field key specified for field3, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:358]
 No field key specified for field4, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:359]
 No field key specified for field5, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:360]
 No field key specified for field6, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:361]
 No field key specified for field7, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:362]
 No field key specified for field8, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:363]
 No field key specified for field9, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:364]
 No field key specified for field10, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:365]
 No field key specified for field11, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:366]
 No field key specified for field12, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:41]
 64-bit constant "10000000000" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:173]
 64-bit constant "1099511627775" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:183]
 64-bit constant "4294967295" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:183]
 64-bit constant "1099511627775" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:183]
 64-bit constant "281474976710655" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:183]
 64-bit constant "72057594037927935" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:183]
 64-bit constant "9223372036854775807" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:192]
 64-bit constant "4294967295" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:192]
 64-bit constant "1099511627775" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:192]
 64-bit constant "281474976710655" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:192]
 64-bit constant "72057594037927935" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:192]
 64-bit constant "9223372036854775807" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:201]
 64-bit constant "9223372036854775807" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:208]
 64-bit constant "9223372036854775807" may not work in all languages.

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:355]
 No field key specified for field1, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:356]
 No field key specified for field2, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:357]
 No field key specified for field3, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:358]
 No field key specified for field4, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:359]
 No field key specified for field5, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:360]
 No field key specified for field6, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:361]
 No field key specified for field7, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:362]
 No field key specified for field8, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:363]
 No field key specified for field9, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:364]
 No field key specified for field10, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:365]
 No field key specified for field11, resulting protocol may have conflicts or 
not be backwards compatible!

[WARNING:/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/DebugProtoTest.thrift:366]
 No field key specified for field12, resulting protocol may have conflicts or 
not be backwards compatible!

make[3]: Nothing to be done for `RunClientServer.py'.
make[3]: Nothing to be done for `TestClient.py'.
make[3]: Nothing to be done for `TestServer.py'.
make[3]: Leaving directory 
`/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/py'
make  check-TESTS
make[3]: Entering directory 
`/x1/jenkins/jenkins-slave/workspace/Thrift/thrift/test/py'
Traceback (most recent call last):
  File "./SerializationTest.py", line 31, in <module>
    from ThriftTest.ttypes import *
  File "gen-py-default/ThriftTest/ttypes.py", line 745, in <module>
    class Xception(TException):
NameError: name 'TException' is not defined
----------------
 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
----
Traceback (most recent call last):
  File "./RunClientServer.py", line 162, in <module>
    runScriptTest(genpydir, script)
  File "./RunClientServer.py", line 102, in runScriptTest
    raise Exception("Script subprocess failed, retcode=%d, args: %s" % (ret, ' 
'.join(script_args)))
Exception: Script subprocess failed, retcode=1, args: /usr/bin/python 
./SerializationTest.py --genpydir=gen-py-default
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
Traceback (most recent call last):
  File "./SerializationTest.py", line 31, in <module>
    from ThriftTest.ttypes import *
  File "gen-py-default/ThriftTest/ttypes.py", line 745, in <module>
    class Xception(TException):
NameError: name 'TException' is not defined
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-1379
Updating THRIFT-1373
Updating THRIFT-1377
Updating THRIFT-1376
Updating THRIFT-1375
Recording test results
Publishing Javadoc

Reply via email to