You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2014/12/14 00:24:44 UTC

Build failed in Jenkins: Thrift #1401

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

Changes:

[jensg] THRIFT-2884 Map does not serialize correctly for JSON protocol in Go library

------------------------------------------
[...truncated 1424 lines...]
    [javac]   found:    Iterator
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TBaseHelper.java>:186: warning: [unchecked] unchecked call to compare(T,T) as a member of the raw type Comparator
    [javac]       lastComparison = comparator.compare(entryA.getKey(), entryB.getKey());
    [javac]                                          ^
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in interface Comparator
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TBaseHelper.java>:190: warning: [unchecked] unchecked call to compare(T,T) as a member of the raw type Comparator
    [javac]       lastComparison = comparator.compare(entryA.getValue(), entryB.getValue());
    [javac]                                          ^
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in interface Comparator
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TBaseProcessor.java>:39: warning: [unchecked] unchecked call to process(int,TProtocol,TProtocol,I) as a member of the raw type ProcessFunction
    [javac]     fn.process(msg.seqid, in, out, iface);
    [javac]               ^
    [javac]   where I is a type-variable:
    [javac]     I extends Object declared in class ProcessFunction
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TNonblockingMultiFetchClient.java>:162: warning: [unchecked] unchecked call to FutureTask(Runnable,V) as a member of the raw type FutureTask
    [javac]     FutureTask<?> task = new FutureTask(multiFetch, null);
    [javac]                          ^
    [javac]   where V is a type-variable:
    [javac]     V extends Object declared in class FutureTask
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:75: warning: [unchecked] unchecked conversion
    [javac]       return deepCopyMap((Map)o);
    [javac]                          ^
    [javac]   required: Map<Object,Object>
    [javac]   found:    Map
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:84: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Map
    [javac]       copy.put(deepCopyObject(entry.getKey()), deepCopyObject(entry.getValue()));
    [javac]               ^
    [javac]   where K,V are type-variables:
    [javac]     K extends Object declared in interface Map
    [javac]     V extends Object declared in interface Map
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:92: warning: [unchecked] unchecked call to add(E) as a member of the raw type Set
    [javac]       copy.add(deepCopyObject(o));
    [javac]               ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in interface Set
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:100: warning: [unchecked] unchecked call to add(E) as a member of the raw type List
    [javac]       copy.add(deepCopyObject(o));
    [javac]               ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in interface List
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:138: warning: [unchecked] unchecked call to read(TProtocol,T) as a member of the raw type IScheme
    [javac]     schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
    [javac]                                                    ^
    [javac]   where T is a type-variable:
    [javac]     T extends TBase declared in interface IScheme
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:152: warning: [unchecked] unchecked call to write(TProtocol,T) as a member of the raw type IScheme
    [javac]     schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
    [javac]                                                     ^
    [javac]   where T is a type-variable:
    [javac]     T extends TBase declared in interface IScheme
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:208: warning: [unchecked] getScheme() in TUnionStandardSchemeFactory implements <S>getScheme() in SchemeFactory
    [javac]     public TUnionStandardScheme getScheme() {
    [javac]                                 ^
    [javac]   return type requires unchecked conversion from TUnionStandardScheme to S
    [javac]   where S is a type-variable:
    [javac]     S extends IScheme declared in method <S>getScheme()
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:217: warning: [unchecked] unchecked assignment to variable setField_ as member of raw type TUnion
    [javac]       struct.setField_ = null;
    [javac]             ^
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:226: warning: [unchecked] unchecked assignment to variable setField_ as member of raw type TUnion
    [javac]         struct.setField_ = struct.enumForId(field.id);
    [javac]               ^
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:243: warning: [unchecked] unchecked call to getFieldDesc(F) as a member of the raw type TUnion
    [javac]       oprot.writeFieldBegin(struct.getFieldDesc(struct.setField_));
    [javac]                                                ^
    [javac]   where F is a type-variable:
    [javac]     F extends TFieldIdEnum declared in class TUnion
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:252: warning: [unchecked] getScheme() in TUnionTupleSchemeFactory implements <S>getScheme() in SchemeFactory
    [javac]     public TUnionTupleScheme getScheme() {
    [javac]                              ^
    [javac]   return type requires unchecked conversion from TUnionTupleScheme to S
    [javac]   where S is a type-variable:
    [javac]     S extends IScheme declared in method <S>getScheme()
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:261: warning: [unchecked] unchecked assignment to variable setField_ as member of raw type TUnion
    [javac]       struct.setField_ = null;
    [javac]             ^
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:266: warning: [unchecked] unchecked assignment to variable setField_ as member of raw type TUnion
    [javac]         struct.setField_ = struct.enumForId(fieldID);
    [javac]               ^
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/async/TAsyncMethodCall.java>:229: warning: [unchecked] unchecked cast
    [javac]     callback.onComplete((T)this);
    [javac]                            ^
    [javac]   required: T
    [javac]   found:    TAsyncMethodCall<T>
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in class TAsyncMethodCall
    [javac] 45 warnings

dist:
    [mkdir] Created dir: <https://builds.apache.org/job/Thrift/ws/lib/java/build/META-INF>
     [copy] Copying 1 file to <https://builds.apache.org/job/Thrift/ws/lib/java/build/META-INF>
     [copy] Copying 1 file to <https://builds.apache.org/job/Thrift/ws/lib/java/build/META-INF>
      [jar] Building jar: <https://builds.apache.org/job/Thrift/1401/artifact/lib/java/build/libthrift-1.0.0.jar>

BUILD SUCCESSFUL
Total time: 4 seconds
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/java'>
Making all in js/test
make[3]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/js/test'>
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/js/test'>
Making all in py
make[3]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/py'>
/usr/bin/python setup.py build
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/thrift
copying src/TSCons.py -> build/lib.linux-x86_64-2.7/thrift
copying src/TMultiplexedProcessor.py -> build/lib.linux-x86_64-2.7/thrift
copying src/TSerialization.py -> build/lib.linux-x86_64-2.7/thrift
copying src/TTornado.py -> build/lib.linux-x86_64-2.7/thrift
copying src/__init__.py -> build/lib.linux-x86_64-2.7/thrift
copying src/Thrift.py -> build/lib.linux-x86_64-2.7/thrift
creating build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TProtocolDecorator.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TBase.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TCompactProtocol.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TBinaryProtocol.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TJSONProtocol.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TMultiplexedProtocol.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/__init__.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TProtocol.py -> build/lib.linux-x86_64-2.7/thrift/protocol
creating build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/TTwisted.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/TZlibTransport.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/TTransport.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/TSocket.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/THttpClient.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/__init__.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/TSSLSocket.py -> build/lib.linux-x86_64-2.7/thrift/transport
creating build/lib.linux-x86_64-2.7/thrift/server
copying src/server/THttpServer.py -> build/lib.linux-x86_64-2.7/thrift/server
copying src/server/TProcessPoolServer.py -> build/lib.linux-x86_64-2.7/thrift/server
copying src/server/TServer.py -> build/lib.linux-x86_64-2.7/thrift/server
copying src/server/__init__.py -> build/lib.linux-x86_64-2.7/thrift/server
copying src/server/TNonblockingServer.py -> build/lib.linux-x86_64-2.7/thrift/server
running build_ext
building 'thrift.protocol.fastbinary' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
creating build/temp.linux-x86_64-2.7/src/protocol
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c src/protocol/fastbinary.c -o build/temp.linux-x86_64-2.7/src/protocol/fastbinary.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/src/protocol/fastbinary.o -o build/lib.linux-x86_64-2.7/thrift/protocol/fastbinary.so
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/py'>
Making all in perl
make[3]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
Making all in test
make[4]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/perl/test'>
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/perl/test'>
make[4]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
/usr/bin/perl Makefile.PL MAKEFILE=Makefile-perl.mk INSTALLDIRS=vendor INSTALL_BASE=/usr/local
Writing Makefile-perl.mk for Thrift
Writing MYMETA.yml and MYMETA.json
make -f Makefile-perl.mk
make[5]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
cp lib/Thrift/BinaryProtocol.pm blib/lib/Thrift/BinaryProtocol.pm
cp lib/Thrift/Server.pm blib/lib/Thrift/Server.pm
cp lib/Thrift/MemoryBuffer.pm blib/lib/Thrift/MemoryBuffer.pm
cp lib/Thrift/Socket.pm blib/lib/Thrift/Socket.pm
cp lib/Thrift/Transport.pm blib/lib/Thrift/Transport.pm
cp lib/Thrift.pm blib/lib/Thrift.pm
cp lib/Thrift/HttpClient.pm blib/lib/Thrift/HttpClient.pm
cp lib/Thrift/Protocol.pm blib/lib/Thrift/Protocol.pm
cp lib/Thrift/BufferedTransport.pm blib/lib/Thrift/BufferedTransport.pm
cp lib/Thrift/FramedTransport.pm blib/lib/Thrift/FramedTransport.pm
make[5]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
find blib -name 'Makefile*' -exec rm -f {} \;
make[4]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
Making all in php
make[3]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/php'>
Making all in test
make[4]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/php/test'>
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/php/test'>
make[4]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/php'>
cd src/ext/thrift_protocol/ && make
make[5]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol'>
/bin/bash <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/libtool> --mode=install cp ./thrift_protocol.la <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/modules>
libtool: install: cp ./.libs/thrift_protocol.so <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/modules/thrift_protocol.so>
libtool: install: cp ./.libs/thrift_protocol.lai <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/modules/thrift_protocol.la>
libtool: finish: PATH="/home/jenkins/tools/java/latest1.7/bin:/usr/bin:/bin:/home/hudson/tools/ant/latest/bin:/sbin" ldconfig -n <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/modules>
----------------------------------------------------------------------
Libraries have been installed in:
   <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/modules>

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------

Build complete.
Don't forget to run 'make test'.

make[5]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol'>
make[4]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/php'>
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/php'>
Making all in go
make[3]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/go'>
Making all in .
make[4]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/go'>
/usr/bin/go test ./thrift
--- FAIL: TestWriteJSONProtocolMap (0.00 seconds)
	json_protocol_test.go:611: Bad key for map index 0, wrote: 0, expected:  , error: Unable to parse number starting with character '{'
--- FAIL: TestSerializer (0.00 seconds)
	serializer_test.go:163: Test 1 Failed for JSON protocol
			 Unable to Deserialize struct
			 error reading map end: %!s(MISSING)
	serializer_test.go:163: Test 2 Failed for JSON protocol
			 Unable to Deserialize struct
			 error reading map end: %!s(MISSING)
FAIL
FAIL	_<https://builds.apache.org/job/Thrift/ws/lib/go/thrift>	0.017s
make[4]: *** [check-local] Error 1
make[4]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/go'>
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/go'>
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib'>
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/'>
make: *** [all] Error 2
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
Sending artifact delta relative to Thrift #1396
Archived 4 artifacts
Archive block size is 32768
Received 476 blocks and 40228742 bytes
Compression is 27.9%
Took 12 sec
Publishing Javadoc
Updating THRIFT-2884

Jenkins build is back to normal : Thrift #1406

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Thrift/1406/changes>


Build failed in Jenkins: Thrift #1405

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Thrift/1405/changes>

Changes:

[jensg] THRIFT-2894 PHP json serializer skips maps with int/bool keys

------------------------------------------
[...truncated 1424 lines...]
    [javac]   found:    Iterator
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TBaseHelper.java>:186: warning: [unchecked] unchecked call to compare(T,T) as a member of the raw type Comparator
    [javac]       lastComparison = comparator.compare(entryA.getKey(), entryB.getKey());
    [javac]                                          ^
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in interface Comparator
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TBaseHelper.java>:190: warning: [unchecked] unchecked call to compare(T,T) as a member of the raw type Comparator
    [javac]       lastComparison = comparator.compare(entryA.getValue(), entryB.getValue());
    [javac]                                          ^
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in interface Comparator
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TBaseProcessor.java>:39: warning: [unchecked] unchecked call to process(int,TProtocol,TProtocol,I) as a member of the raw type ProcessFunction
    [javac]     fn.process(msg.seqid, in, out, iface);
    [javac]               ^
    [javac]   where I is a type-variable:
    [javac]     I extends Object declared in class ProcessFunction
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TNonblockingMultiFetchClient.java>:162: warning: [unchecked] unchecked call to FutureTask(Runnable,V) as a member of the raw type FutureTask
    [javac]     FutureTask<?> task = new FutureTask(multiFetch, null);
    [javac]                          ^
    [javac]   where V is a type-variable:
    [javac]     V extends Object declared in class FutureTask
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:75: warning: [unchecked] unchecked conversion
    [javac]       return deepCopyMap((Map)o);
    [javac]                          ^
    [javac]   required: Map<Object,Object>
    [javac]   found:    Map
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:84: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Map
    [javac]       copy.put(deepCopyObject(entry.getKey()), deepCopyObject(entry.getValue()));
    [javac]               ^
    [javac]   where K,V are type-variables:
    [javac]     K extends Object declared in interface Map
    [javac]     V extends Object declared in interface Map
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:92: warning: [unchecked] unchecked call to add(E) as a member of the raw type Set
    [javac]       copy.add(deepCopyObject(o));
    [javac]               ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in interface Set
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:100: warning: [unchecked] unchecked call to add(E) as a member of the raw type List
    [javac]       copy.add(deepCopyObject(o));
    [javac]               ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in interface List
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:138: warning: [unchecked] unchecked call to read(TProtocol,T) as a member of the raw type IScheme
    [javac]     schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
    [javac]                                                    ^
    [javac]   where T is a type-variable:
    [javac]     T extends TBase declared in interface IScheme
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:152: warning: [unchecked] unchecked call to write(TProtocol,T) as a member of the raw type IScheme
    [javac]     schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
    [javac]                                                     ^
    [javac]   where T is a type-variable:
    [javac]     T extends TBase declared in interface IScheme
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:208: warning: [unchecked] getScheme() in TUnionStandardSchemeFactory implements <S>getScheme() in SchemeFactory
    [javac]     public TUnionStandardScheme getScheme() {
    [javac]                                 ^
    [javac]   return type requires unchecked conversion from TUnionStandardScheme to S
    [javac]   where S is a type-variable:
    [javac]     S extends IScheme declared in method <S>getScheme()
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:217: warning: [unchecked] unchecked assignment to variable setField_ as member of raw type TUnion
    [javac]       struct.setField_ = null;
    [javac]             ^
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:226: warning: [unchecked] unchecked assignment to variable setField_ as member of raw type TUnion
    [javac]         struct.setField_ = struct.enumForId(field.id);
    [javac]               ^
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:243: warning: [unchecked] unchecked call to getFieldDesc(F) as a member of the raw type TUnion
    [javac]       oprot.writeFieldBegin(struct.getFieldDesc(struct.setField_));
    [javac]                                                ^
    [javac]   where F is a type-variable:
    [javac]     F extends TFieldIdEnum declared in class TUnion
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:252: warning: [unchecked] getScheme() in TUnionTupleSchemeFactory implements <S>getScheme() in SchemeFactory
    [javac]     public TUnionTupleScheme getScheme() {
    [javac]                              ^
    [javac]   return type requires unchecked conversion from TUnionTupleScheme to S
    [javac]   where S is a type-variable:
    [javac]     S extends IScheme declared in method <S>getScheme()
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:261: warning: [unchecked] unchecked assignment to variable setField_ as member of raw type TUnion
    [javac]       struct.setField_ = null;
    [javac]             ^
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:266: warning: [unchecked] unchecked assignment to variable setField_ as member of raw type TUnion
    [javac]         struct.setField_ = struct.enumForId(fieldID);
    [javac]               ^
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/async/TAsyncMethodCall.java>:229: warning: [unchecked] unchecked cast
    [javac]     callback.onComplete((T)this);
    [javac]                            ^
    [javac]   required: T
    [javac]   found:    TAsyncMethodCall<T>
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in class TAsyncMethodCall
    [javac] 45 warnings

dist:
    [mkdir] Created dir: <https://builds.apache.org/job/Thrift/ws/lib/java/build/META-INF>
     [copy] Copying 1 file to <https://builds.apache.org/job/Thrift/ws/lib/java/build/META-INF>
     [copy] Copying 1 file to <https://builds.apache.org/job/Thrift/ws/lib/java/build/META-INF>
      [jar] Building jar: <https://builds.apache.org/job/Thrift/1405/artifact/lib/java/build/libthrift-1.0.0.jar>

BUILD SUCCESSFUL
Total time: 4 seconds
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/java'>
Making all in js/test
make[3]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/js/test'>
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/js/test'>
Making all in py
make[3]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/py'>
/usr/bin/python setup.py build
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/thrift
copying src/TSCons.py -> build/lib.linux-x86_64-2.7/thrift
copying src/TMultiplexedProcessor.py -> build/lib.linux-x86_64-2.7/thrift
copying src/TSerialization.py -> build/lib.linux-x86_64-2.7/thrift
copying src/TTornado.py -> build/lib.linux-x86_64-2.7/thrift
copying src/__init__.py -> build/lib.linux-x86_64-2.7/thrift
copying src/Thrift.py -> build/lib.linux-x86_64-2.7/thrift
creating build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TProtocolDecorator.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TBase.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TCompactProtocol.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TBinaryProtocol.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TJSONProtocol.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TMultiplexedProtocol.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/__init__.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TProtocol.py -> build/lib.linux-x86_64-2.7/thrift/protocol
creating build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/TTwisted.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/TZlibTransport.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/TTransport.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/TSocket.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/THttpClient.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/__init__.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/TSSLSocket.py -> build/lib.linux-x86_64-2.7/thrift/transport
creating build/lib.linux-x86_64-2.7/thrift/server
copying src/server/THttpServer.py -> build/lib.linux-x86_64-2.7/thrift/server
copying src/server/TProcessPoolServer.py -> build/lib.linux-x86_64-2.7/thrift/server
copying src/server/TServer.py -> build/lib.linux-x86_64-2.7/thrift/server
copying src/server/__init__.py -> build/lib.linux-x86_64-2.7/thrift/server
copying src/server/TNonblockingServer.py -> build/lib.linux-x86_64-2.7/thrift/server
running build_ext
building 'thrift.protocol.fastbinary' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
creating build/temp.linux-x86_64-2.7/src/protocol
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c src/protocol/fastbinary.c -o build/temp.linux-x86_64-2.7/src/protocol/fastbinary.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/src/protocol/fastbinary.o -o build/lib.linux-x86_64-2.7/thrift/protocol/fastbinary.so
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/py'>
Making all in perl
make[3]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
Making all in test
make[4]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/perl/test'>
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/perl/test'>
make[4]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
/usr/bin/perl Makefile.PL MAKEFILE=Makefile-perl.mk INSTALLDIRS=vendor INSTALL_BASE=/usr/local
Writing Makefile-perl.mk for Thrift
Writing MYMETA.yml and MYMETA.json
make -f Makefile-perl.mk
make[5]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
cp lib/Thrift/MemoryBuffer.pm blib/lib/Thrift/MemoryBuffer.pm
cp lib/Thrift.pm blib/lib/Thrift.pm
cp lib/Thrift/Transport.pm blib/lib/Thrift/Transport.pm
cp lib/Thrift/BufferedTransport.pm blib/lib/Thrift/BufferedTransport.pm
cp lib/Thrift/BinaryProtocol.pm blib/lib/Thrift/BinaryProtocol.pm
cp lib/Thrift/Server.pm blib/lib/Thrift/Server.pm
cp lib/Thrift/Protocol.pm blib/lib/Thrift/Protocol.pm
cp lib/Thrift/FramedTransport.pm blib/lib/Thrift/FramedTransport.pm
cp lib/Thrift/Socket.pm blib/lib/Thrift/Socket.pm
cp lib/Thrift/HttpClient.pm blib/lib/Thrift/HttpClient.pm
make[5]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
find blib -name 'Makefile*' -exec rm -f {} \;
make[4]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
Making all in php
make[3]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/php'>
Making all in test
make[4]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/php/test'>
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/php/test'>
make[4]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/php'>
cd src/ext/thrift_protocol/ && make
make[5]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol'>
/bin/bash <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/libtool> --mode=install cp ./thrift_protocol.la <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/modules>
libtool: install: cp ./.libs/thrift_protocol.so <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/modules/thrift_protocol.so>
libtool: install: cp ./.libs/thrift_protocol.lai <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/modules/thrift_protocol.la>
libtool: finish: PATH="/home/jenkins/tools/java/latest1.7/bin:/usr/bin:/bin:/home/hudson/tools/ant/latest/bin:/sbin" ldconfig -n <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/modules>
----------------------------------------------------------------------
Libraries have been installed in:
   <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/modules>

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------

Build complete.
Don't forget to run 'make test'.

make[5]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol'>
make[4]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/php'>
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/php'>
Making all in go
make[3]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/go'>
Making all in .
make[4]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/go'>
/usr/bin/go test ./thrift
--- FAIL: TestWriteJSONProtocolMap (0.00 seconds)
	json_protocol_test.go:611: Bad key for map index 0, wrote: 0, expected:  , error: Unable to parse number starting with character '{'
--- FAIL: TestSerializer (0.00 seconds)
	serializer_test.go:163: Test 1 Failed for JSON protocol
			 Unable to Deserialize struct
			 error reading map end: %!s(MISSING)
	serializer_test.go:163: Test 2 Failed for JSON protocol
			 Unable to Deserialize struct
			 error reading map end: %!s(MISSING)
FAIL
FAIL	_<https://builds.apache.org/job/Thrift/ws/lib/go/thrift>	0.020s
make[4]: *** [check-local] Error 1
make[4]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/go'>
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/go'>
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib'>
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/'>
make: *** [all] Error 2
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
Sending artifact delta relative to Thrift #1396
Archived 4 artifacts
Archive block size is 32768
Received 476 blocks and 40228742 bytes
Compression is 27.9%
Took 12 sec
Publishing Javadoc
Updating THRIFT-2894

Build failed in Jenkins: Thrift #1404

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Thrift/1404/changes>

Changes:

[jensg] THRIFT-2890 binary data may lose bytes with JSON transport under specific circumstances

------------------------------------------
[...truncated 1424 lines...]
    [javac]   found:    Iterator
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TBaseHelper.java>:186: warning: [unchecked] unchecked call to compare(T,T) as a member of the raw type Comparator
    [javac]       lastComparison = comparator.compare(entryA.getKey(), entryB.getKey());
    [javac]                                          ^
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in interface Comparator
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TBaseHelper.java>:190: warning: [unchecked] unchecked call to compare(T,T) as a member of the raw type Comparator
    [javac]       lastComparison = comparator.compare(entryA.getValue(), entryB.getValue());
    [javac]                                          ^
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in interface Comparator
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TBaseProcessor.java>:39: warning: [unchecked] unchecked call to process(int,TProtocol,TProtocol,I) as a member of the raw type ProcessFunction
    [javac]     fn.process(msg.seqid, in, out, iface);
    [javac]               ^
    [javac]   where I is a type-variable:
    [javac]     I extends Object declared in class ProcessFunction
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TNonblockingMultiFetchClient.java>:162: warning: [unchecked] unchecked call to FutureTask(Runnable,V) as a member of the raw type FutureTask
    [javac]     FutureTask<?> task = new FutureTask(multiFetch, null);
    [javac]                          ^
    [javac]   where V is a type-variable:
    [javac]     V extends Object declared in class FutureTask
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:75: warning: [unchecked] unchecked conversion
    [javac]       return deepCopyMap((Map)o);
    [javac]                          ^
    [javac]   required: Map<Object,Object>
    [javac]   found:    Map
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:84: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Map
    [javac]       copy.put(deepCopyObject(entry.getKey()), deepCopyObject(entry.getValue()));
    [javac]               ^
    [javac]   where K,V are type-variables:
    [javac]     K extends Object declared in interface Map
    [javac]     V extends Object declared in interface Map
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:92: warning: [unchecked] unchecked call to add(E) as a member of the raw type Set
    [javac]       copy.add(deepCopyObject(o));
    [javac]               ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in interface Set
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:100: warning: [unchecked] unchecked call to add(E) as a member of the raw type List
    [javac]       copy.add(deepCopyObject(o));
    [javac]               ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in interface List
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:138: warning: [unchecked] unchecked call to read(TProtocol,T) as a member of the raw type IScheme
    [javac]     schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
    [javac]                                                    ^
    [javac]   where T is a type-variable:
    [javac]     T extends TBase declared in interface IScheme
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:152: warning: [unchecked] unchecked call to write(TProtocol,T) as a member of the raw type IScheme
    [javac]     schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
    [javac]                                                     ^
    [javac]   where T is a type-variable:
    [javac]     T extends TBase declared in interface IScheme
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:208: warning: [unchecked] getScheme() in TUnionStandardSchemeFactory implements <S>getScheme() in SchemeFactory
    [javac]     public TUnionStandardScheme getScheme() {
    [javac]                                 ^
    [javac]   return type requires unchecked conversion from TUnionStandardScheme to S
    [javac]   where S is a type-variable:
    [javac]     S extends IScheme declared in method <S>getScheme()
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:217: warning: [unchecked] unchecked assignment to variable setField_ as member of raw type TUnion
    [javac]       struct.setField_ = null;
    [javac]             ^
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:226: warning: [unchecked] unchecked assignment to variable setField_ as member of raw type TUnion
    [javac]         struct.setField_ = struct.enumForId(field.id);
    [javac]               ^
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:243: warning: [unchecked] unchecked call to getFieldDesc(F) as a member of the raw type TUnion
    [javac]       oprot.writeFieldBegin(struct.getFieldDesc(struct.setField_));
    [javac]                                                ^
    [javac]   where F is a type-variable:
    [javac]     F extends TFieldIdEnum declared in class TUnion
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:252: warning: [unchecked] getScheme() in TUnionTupleSchemeFactory implements <S>getScheme() in SchemeFactory
    [javac]     public TUnionTupleScheme getScheme() {
    [javac]                              ^
    [javac]   return type requires unchecked conversion from TUnionTupleScheme to S
    [javac]   where S is a type-variable:
    [javac]     S extends IScheme declared in method <S>getScheme()
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:261: warning: [unchecked] unchecked assignment to variable setField_ as member of raw type TUnion
    [javac]       struct.setField_ = null;
    [javac]             ^
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:266: warning: [unchecked] unchecked assignment to variable setField_ as member of raw type TUnion
    [javac]         struct.setField_ = struct.enumForId(fieldID);
    [javac]               ^
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/async/TAsyncMethodCall.java>:229: warning: [unchecked] unchecked cast
    [javac]     callback.onComplete((T)this);
    [javac]                            ^
    [javac]   required: T
    [javac]   found:    TAsyncMethodCall<T>
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in class TAsyncMethodCall
    [javac] 45 warnings

dist:
    [mkdir] Created dir: <https://builds.apache.org/job/Thrift/ws/lib/java/build/META-INF>
     [copy] Copying 1 file to <https://builds.apache.org/job/Thrift/ws/lib/java/build/META-INF>
     [copy] Copying 1 file to <https://builds.apache.org/job/Thrift/ws/lib/java/build/META-INF>
      [jar] Building jar: <https://builds.apache.org/job/Thrift/1404/artifact/lib/java/build/libthrift-1.0.0.jar>

BUILD SUCCESSFUL
Total time: 9 seconds
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/java'>
Making all in js/test
make[3]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/js/test'>
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/js/test'>
Making all in py
make[3]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/py'>
/usr/bin/python setup.py build
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/thrift
copying src/TSCons.py -> build/lib.linux-x86_64-2.7/thrift
copying src/TMultiplexedProcessor.py -> build/lib.linux-x86_64-2.7/thrift
copying src/TSerialization.py -> build/lib.linux-x86_64-2.7/thrift
copying src/TTornado.py -> build/lib.linux-x86_64-2.7/thrift
copying src/__init__.py -> build/lib.linux-x86_64-2.7/thrift
copying src/Thrift.py -> build/lib.linux-x86_64-2.7/thrift
creating build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TProtocolDecorator.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TBase.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TCompactProtocol.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TBinaryProtocol.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TJSONProtocol.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TMultiplexedProtocol.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/__init__.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TProtocol.py -> build/lib.linux-x86_64-2.7/thrift/protocol
creating build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/TTwisted.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/TZlibTransport.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/TTransport.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/TSocket.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/THttpClient.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/__init__.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/TSSLSocket.py -> build/lib.linux-x86_64-2.7/thrift/transport
creating build/lib.linux-x86_64-2.7/thrift/server
copying src/server/THttpServer.py -> build/lib.linux-x86_64-2.7/thrift/server
copying src/server/TProcessPoolServer.py -> build/lib.linux-x86_64-2.7/thrift/server
copying src/server/TServer.py -> build/lib.linux-x86_64-2.7/thrift/server
copying src/server/__init__.py -> build/lib.linux-x86_64-2.7/thrift/server
copying src/server/TNonblockingServer.py -> build/lib.linux-x86_64-2.7/thrift/server
running build_ext
building 'thrift.protocol.fastbinary' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
creating build/temp.linux-x86_64-2.7/src/protocol
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c src/protocol/fastbinary.c -o build/temp.linux-x86_64-2.7/src/protocol/fastbinary.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/src/protocol/fastbinary.o -o build/lib.linux-x86_64-2.7/thrift/protocol/fastbinary.so
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/py'>
Making all in perl
make[3]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
Making all in test
make[4]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/perl/test'>
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/perl/test'>
make[4]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
/usr/bin/perl Makefile.PL MAKEFILE=Makefile-perl.mk INSTALLDIRS=vendor INSTALL_BASE=/usr/local
Writing Makefile-perl.mk for Thrift
Writing MYMETA.yml and MYMETA.json
make -f Makefile-perl.mk
make[5]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
cp lib/Thrift/FramedTransport.pm blib/lib/Thrift/FramedTransport.pm
cp lib/Thrift/Server.pm blib/lib/Thrift/Server.pm
cp lib/Thrift/MemoryBuffer.pm blib/lib/Thrift/MemoryBuffer.pm
cp lib/Thrift/BufferedTransport.pm blib/lib/Thrift/BufferedTransport.pm
cp lib/Thrift/Socket.pm blib/lib/Thrift/Socket.pm
cp lib/Thrift/HttpClient.pm blib/lib/Thrift/HttpClient.pm
cp lib/Thrift/BinaryProtocol.pm blib/lib/Thrift/BinaryProtocol.pm
cp lib/Thrift.pm blib/lib/Thrift.pm
cp lib/Thrift/Protocol.pm blib/lib/Thrift/Protocol.pm
cp lib/Thrift/Transport.pm blib/lib/Thrift/Transport.pm
make[5]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
find blib -name 'Makefile*' -exec rm -f {} \;
make[4]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
Making all in php
make[3]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/php'>
Making all in test
make[4]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/php/test'>
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/php/test'>
make[4]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/php'>
cd src/ext/thrift_protocol/ && make
make[5]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol'>
/bin/bash <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/libtool> --mode=install cp ./thrift_protocol.la <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/modules>
libtool: install: cp ./.libs/thrift_protocol.so <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/modules/thrift_protocol.so>
libtool: install: cp ./.libs/thrift_protocol.lai <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/modules/thrift_protocol.la>
libtool: finish: PATH="/home/jenkins/tools/java/latest1.7/bin:/usr/bin:/bin:/home/hudson/tools/ant/latest/bin:/sbin" ldconfig -n <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/modules>
----------------------------------------------------------------------
Libraries have been installed in:
   <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/modules>

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------

Build complete.
Don't forget to run 'make test'.

make[5]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol'>
make[4]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/php'>
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/php'>
Making all in go
make[3]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/go'>
Making all in .
make[4]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/go'>
/usr/bin/go test ./thrift
--- FAIL: TestWriteJSONProtocolMap (0.00 seconds)
	json_protocol_test.go:611: Bad key for map index 0, wrote: 0, expected:  , error: Unable to parse number starting with character '{'
--- FAIL: TestSerializer (0.00 seconds)
	serializer_test.go:163: Test 1 Failed for JSON protocol
			 Unable to Deserialize struct
			 error reading map end: %!s(MISSING)
	serializer_test.go:163: Test 2 Failed for JSON protocol
			 Unable to Deserialize struct
			 error reading map end: %!s(MISSING)
FAIL
FAIL	_<https://builds.apache.org/job/Thrift/ws/lib/go/thrift>	0.021s
make[4]: *** [check-local] Error 1
make[4]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/go'>
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/go'>
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib'>
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/'>
make: *** [all] Error 2
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
Sending artifact delta relative to Thrift #1396
Archived 4 artifacts
Archive block size is 32768
Received 476 blocks and 40228742 bytes
Compression is 27.9%
Took 11 sec
Publishing Javadoc
Updating THRIFT-2890

Build failed in Jenkins: Thrift #1403

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Thrift/1403/changes>

Changes:

[jensg] THRIFT-2891 binary data may cause a failure with JSON transport under specific circumstances

------------------------------------------
[...truncated 1424 lines...]
    [javac]   found:    Iterator
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TBaseHelper.java>:186: warning: [unchecked] unchecked call to compare(T,T) as a member of the raw type Comparator
    [javac]       lastComparison = comparator.compare(entryA.getKey(), entryB.getKey());
    [javac]                                          ^
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in interface Comparator
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TBaseHelper.java>:190: warning: [unchecked] unchecked call to compare(T,T) as a member of the raw type Comparator
    [javac]       lastComparison = comparator.compare(entryA.getValue(), entryB.getValue());
    [javac]                                          ^
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in interface Comparator
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TBaseProcessor.java>:39: warning: [unchecked] unchecked call to process(int,TProtocol,TProtocol,I) as a member of the raw type ProcessFunction
    [javac]     fn.process(msg.seqid, in, out, iface);
    [javac]               ^
    [javac]   where I is a type-variable:
    [javac]     I extends Object declared in class ProcessFunction
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TNonblockingMultiFetchClient.java>:162: warning: [unchecked] unchecked call to FutureTask(Runnable,V) as a member of the raw type FutureTask
    [javac]     FutureTask<?> task = new FutureTask(multiFetch, null);
    [javac]                          ^
    [javac]   where V is a type-variable:
    [javac]     V extends Object declared in class FutureTask
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:75: warning: [unchecked] unchecked conversion
    [javac]       return deepCopyMap((Map)o);
    [javac]                          ^
    [javac]   required: Map<Object,Object>
    [javac]   found:    Map
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:84: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Map
    [javac]       copy.put(deepCopyObject(entry.getKey()), deepCopyObject(entry.getValue()));
    [javac]               ^
    [javac]   where K,V are type-variables:
    [javac]     K extends Object declared in interface Map
    [javac]     V extends Object declared in interface Map
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:92: warning: [unchecked] unchecked call to add(E) as a member of the raw type Set
    [javac]       copy.add(deepCopyObject(o));
    [javac]               ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in interface Set
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:100: warning: [unchecked] unchecked call to add(E) as a member of the raw type List
    [javac]       copy.add(deepCopyObject(o));
    [javac]               ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in interface List
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:138: warning: [unchecked] unchecked call to read(TProtocol,T) as a member of the raw type IScheme
    [javac]     schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
    [javac]                                                    ^
    [javac]   where T is a type-variable:
    [javac]     T extends TBase declared in interface IScheme
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:152: warning: [unchecked] unchecked call to write(TProtocol,T) as a member of the raw type IScheme
    [javac]     schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
    [javac]                                                     ^
    [javac]   where T is a type-variable:
    [javac]     T extends TBase declared in interface IScheme
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:208: warning: [unchecked] getScheme() in TUnionStandardSchemeFactory implements <S>getScheme() in SchemeFactory
    [javac]     public TUnionStandardScheme getScheme() {
    [javac]                                 ^
    [javac]   return type requires unchecked conversion from TUnionStandardScheme to S
    [javac]   where S is a type-variable:
    [javac]     S extends IScheme declared in method <S>getScheme()
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:217: warning: [unchecked] unchecked assignment to variable setField_ as member of raw type TUnion
    [javac]       struct.setField_ = null;
    [javac]             ^
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:226: warning: [unchecked] unchecked assignment to variable setField_ as member of raw type TUnion
    [javac]         struct.setField_ = struct.enumForId(field.id);
    [javac]               ^
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:243: warning: [unchecked] unchecked call to getFieldDesc(F) as a member of the raw type TUnion
    [javac]       oprot.writeFieldBegin(struct.getFieldDesc(struct.setField_));
    [javac]                                                ^
    [javac]   where F is a type-variable:
    [javac]     F extends TFieldIdEnum declared in class TUnion
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:252: warning: [unchecked] getScheme() in TUnionTupleSchemeFactory implements <S>getScheme() in SchemeFactory
    [javac]     public TUnionTupleScheme getScheme() {
    [javac]                              ^
    [javac]   return type requires unchecked conversion from TUnionTupleScheme to S
    [javac]   where S is a type-variable:
    [javac]     S extends IScheme declared in method <S>getScheme()
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:261: warning: [unchecked] unchecked assignment to variable setField_ as member of raw type TUnion
    [javac]       struct.setField_ = null;
    [javac]             ^
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:266: warning: [unchecked] unchecked assignment to variable setField_ as member of raw type TUnion
    [javac]         struct.setField_ = struct.enumForId(fieldID);
    [javac]               ^
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/async/TAsyncMethodCall.java>:229: warning: [unchecked] unchecked cast
    [javac]     callback.onComplete((T)this);
    [javac]                            ^
    [javac]   required: T
    [javac]   found:    TAsyncMethodCall<T>
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in class TAsyncMethodCall
    [javac] 45 warnings

dist:
    [mkdir] Created dir: <https://builds.apache.org/job/Thrift/ws/lib/java/build/META-INF>
     [copy] Copying 1 file to <https://builds.apache.org/job/Thrift/ws/lib/java/build/META-INF>
     [copy] Copying 1 file to <https://builds.apache.org/job/Thrift/ws/lib/java/build/META-INF>
      [jar] Building jar: <https://builds.apache.org/job/Thrift/1403/artifact/lib/java/build/libthrift-1.0.0.jar>

BUILD SUCCESSFUL
Total time: 4 seconds
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/java'>
Making all in js/test
make[3]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/js/test'>
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/js/test'>
Making all in py
make[3]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/py'>
/usr/bin/python setup.py build
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/thrift
copying src/TSCons.py -> build/lib.linux-x86_64-2.7/thrift
copying src/TMultiplexedProcessor.py -> build/lib.linux-x86_64-2.7/thrift
copying src/TSerialization.py -> build/lib.linux-x86_64-2.7/thrift
copying src/TTornado.py -> build/lib.linux-x86_64-2.7/thrift
copying src/__init__.py -> build/lib.linux-x86_64-2.7/thrift
copying src/Thrift.py -> build/lib.linux-x86_64-2.7/thrift
creating build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TProtocolDecorator.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TBase.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TCompactProtocol.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TBinaryProtocol.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TJSONProtocol.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TMultiplexedProtocol.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/__init__.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TProtocol.py -> build/lib.linux-x86_64-2.7/thrift/protocol
creating build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/TTwisted.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/TZlibTransport.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/TTransport.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/TSocket.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/THttpClient.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/__init__.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/TSSLSocket.py -> build/lib.linux-x86_64-2.7/thrift/transport
creating build/lib.linux-x86_64-2.7/thrift/server
copying src/server/THttpServer.py -> build/lib.linux-x86_64-2.7/thrift/server
copying src/server/TProcessPoolServer.py -> build/lib.linux-x86_64-2.7/thrift/server
copying src/server/TServer.py -> build/lib.linux-x86_64-2.7/thrift/server
copying src/server/__init__.py -> build/lib.linux-x86_64-2.7/thrift/server
copying src/server/TNonblockingServer.py -> build/lib.linux-x86_64-2.7/thrift/server
running build_ext
building 'thrift.protocol.fastbinary' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
creating build/temp.linux-x86_64-2.7/src/protocol
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c src/protocol/fastbinary.c -o build/temp.linux-x86_64-2.7/src/protocol/fastbinary.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/src/protocol/fastbinary.o -o build/lib.linux-x86_64-2.7/thrift/protocol/fastbinary.so
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/py'>
Making all in perl
make[3]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
Making all in test
make[4]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/perl/test'>
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/perl/test'>
make[4]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
/usr/bin/perl Makefile.PL MAKEFILE=Makefile-perl.mk INSTALLDIRS=vendor INSTALL_BASE=/usr/local
Writing Makefile-perl.mk for Thrift
Writing MYMETA.yml and MYMETA.json
make -f Makefile-perl.mk
make[5]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
cp lib/Thrift/BinaryProtocol.pm blib/lib/Thrift/BinaryProtocol.pm
cp lib/Thrift/MemoryBuffer.pm blib/lib/Thrift/MemoryBuffer.pm
cp lib/Thrift/HttpClient.pm blib/lib/Thrift/HttpClient.pm
cp lib/Thrift/BufferedTransport.pm blib/lib/Thrift/BufferedTransport.pm
cp lib/Thrift/Server.pm blib/lib/Thrift/Server.pm
cp lib/Thrift/FramedTransport.pm blib/lib/Thrift/FramedTransport.pm
cp lib/Thrift/Socket.pm blib/lib/Thrift/Socket.pm
cp lib/Thrift/Transport.pm blib/lib/Thrift/Transport.pm
cp lib/Thrift/Protocol.pm blib/lib/Thrift/Protocol.pm
cp lib/Thrift.pm blib/lib/Thrift.pm
make[5]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
find blib -name 'Makefile*' -exec rm -f {} \;
make[4]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
Making all in php
make[3]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/php'>
Making all in test
make[4]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/php/test'>
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/php/test'>
make[4]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/php'>
cd src/ext/thrift_protocol/ && make
make[5]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol'>
/bin/bash <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/libtool> --mode=install cp ./thrift_protocol.la <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/modules>
libtool: install: cp ./.libs/thrift_protocol.so <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/modules/thrift_protocol.so>
libtool: install: cp ./.libs/thrift_protocol.lai <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/modules/thrift_protocol.la>
libtool: finish: PATH="/home/jenkins/tools/java/latest1.7/bin:/usr/bin:/bin:/home/hudson/tools/ant/latest/bin:/sbin" ldconfig -n <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/modules>
----------------------------------------------------------------------
Libraries have been installed in:
   <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/modules>

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------

Build complete.
Don't forget to run 'make test'.

make[5]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol'>
make[4]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/php'>
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/php'>
Making all in go
make[3]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/go'>
Making all in .
make[4]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/go'>
/usr/bin/go test ./thrift
--- FAIL: TestWriteJSONProtocolMap (0.00 seconds)
	json_protocol_test.go:611: Bad key for map index 0, wrote: 0, expected:  , error: Unable to parse number starting with character '{'
--- FAIL: TestSerializer (0.00 seconds)
	serializer_test.go:163: Test 1 Failed for JSON protocol
			 Unable to Deserialize struct
			 error reading map end: %!s(MISSING)
	serializer_test.go:163: Test 2 Failed for JSON protocol
			 Unable to Deserialize struct
			 error reading map end: %!s(MISSING)
FAIL
FAIL	_<https://builds.apache.org/job/Thrift/ws/lib/go/thrift>	0.019s
make[4]: *** [check-local] Error 1
make[4]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/go'>
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/go'>
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib'>
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/'>
make: *** [all] Error 2
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
Sending artifact delta relative to Thrift #1396
Archived 4 artifacts
Archive block size is 32768
Received 476 blocks and 40228742 bytes
Compression is 27.9%
Took 12 sec
Publishing Javadoc
Updating THRIFT-2891

Build failed in Jenkins: Thrift #1402

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Thrift/1402/changes>

Changes:

[jensg] THRIFT-2890 binary data may lose bytes with JSON transport under specific circumstances

------------------------------------------
[...truncated 1425 lines...]
    [javac]   found:    Iterator
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TBaseHelper.java>:186: warning: [unchecked] unchecked call to compare(T,T) as a member of the raw type Comparator
    [javac]       lastComparison = comparator.compare(entryA.getKey(), entryB.getKey());
    [javac]                                          ^
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in interface Comparator
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TBaseHelper.java>:190: warning: [unchecked] unchecked call to compare(T,T) as a member of the raw type Comparator
    [javac]       lastComparison = comparator.compare(entryA.getValue(), entryB.getValue());
    [javac]                                          ^
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in interface Comparator
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TBaseProcessor.java>:39: warning: [unchecked] unchecked call to process(int,TProtocol,TProtocol,I) as a member of the raw type ProcessFunction
    [javac]     fn.process(msg.seqid, in, out, iface);
    [javac]               ^
    [javac]   where I is a type-variable:
    [javac]     I extends Object declared in class ProcessFunction
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TNonblockingMultiFetchClient.java>:162: warning: [unchecked] unchecked call to FutureTask(Runnable,V) as a member of the raw type FutureTask
    [javac]     FutureTask<?> task = new FutureTask(multiFetch, null);
    [javac]                          ^
    [javac]   where V is a type-variable:
    [javac]     V extends Object declared in class FutureTask
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:75: warning: [unchecked] unchecked conversion
    [javac]       return deepCopyMap((Map)o);
    [javac]                          ^
    [javac]   required: Map<Object,Object>
    [javac]   found:    Map
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:84: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Map
    [javac]       copy.put(deepCopyObject(entry.getKey()), deepCopyObject(entry.getValue()));
    [javac]               ^
    [javac]   where K,V are type-variables:
    [javac]     K extends Object declared in interface Map
    [javac]     V extends Object declared in interface Map
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:92: warning: [unchecked] unchecked call to add(E) as a member of the raw type Set
    [javac]       copy.add(deepCopyObject(o));
    [javac]               ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in interface Set
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:100: warning: [unchecked] unchecked call to add(E) as a member of the raw type List
    [javac]       copy.add(deepCopyObject(o));
    [javac]               ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in interface List
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:138: warning: [unchecked] unchecked call to read(TProtocol,T) as a member of the raw type IScheme
    [javac]     schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
    [javac]                                                    ^
    [javac]   where T is a type-variable:
    [javac]     T extends TBase declared in interface IScheme
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:152: warning: [unchecked] unchecked call to write(TProtocol,T) as a member of the raw type IScheme
    [javac]     schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
    [javac]                                                     ^
    [javac]   where T is a type-variable:
    [javac]     T extends TBase declared in interface IScheme
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:208: warning: [unchecked] getScheme() in TUnionStandardSchemeFactory implements <S>getScheme() in SchemeFactory
    [javac]     public TUnionStandardScheme getScheme() {
    [javac]                                 ^
    [javac]   return type requires unchecked conversion from TUnionStandardScheme to S
    [javac]   where S is a type-variable:
    [javac]     S extends IScheme declared in method <S>getScheme()
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:217: warning: [unchecked] unchecked assignment to variable setField_ as member of raw type TUnion
    [javac]       struct.setField_ = null;
    [javac]             ^
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:226: warning: [unchecked] unchecked assignment to variable setField_ as member of raw type TUnion
    [javac]         struct.setField_ = struct.enumForId(field.id);
    [javac]               ^
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:243: warning: [unchecked] unchecked call to getFieldDesc(F) as a member of the raw type TUnion
    [javac]       oprot.writeFieldBegin(struct.getFieldDesc(struct.setField_));
    [javac]                                                ^
    [javac]   where F is a type-variable:
    [javac]     F extends TFieldIdEnum declared in class TUnion
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:252: warning: [unchecked] getScheme() in TUnionTupleSchemeFactory implements <S>getScheme() in SchemeFactory
    [javac]     public TUnionTupleScheme getScheme() {
    [javac]                              ^
    [javac]   return type requires unchecked conversion from TUnionTupleScheme to S
    [javac]   where S is a type-variable:
    [javac]     S extends IScheme declared in method <S>getScheme()
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:261: warning: [unchecked] unchecked assignment to variable setField_ as member of raw type TUnion
    [javac]       struct.setField_ = null;
    [javac]             ^
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/TUnion.java>:266: warning: [unchecked] unchecked assignment to variable setField_ as member of raw type TUnion
    [javac]         struct.setField_ = struct.enumForId(fieldID);
    [javac]               ^
    [javac] <https://builds.apache.org/job/Thrift/ws/lib/java/src/org/apache/thrift/async/TAsyncMethodCall.java>:229: warning: [unchecked] unchecked cast
    [javac]     callback.onComplete((T)this);
    [javac]                            ^
    [javac]   required: T
    [javac]   found:    TAsyncMethodCall<T>
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in class TAsyncMethodCall
    [javac] 45 warnings

dist:
    [mkdir] Created dir: <https://builds.apache.org/job/Thrift/ws/lib/java/build/META-INF>
     [copy] Copying 1 file to <https://builds.apache.org/job/Thrift/ws/lib/java/build/META-INF>
     [copy] Copying 1 file to <https://builds.apache.org/job/Thrift/ws/lib/java/build/META-INF>
      [jar] Building jar: <https://builds.apache.org/job/Thrift/1402/artifact/lib/java/build/libthrift-1.0.0.jar>

BUILD SUCCESSFUL
Total time: 4 seconds
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/java'>
Making all in js/test
make[3]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/js/test'>
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/js/test'>
Making all in py
make[3]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/py'>
/usr/bin/python setup.py build
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/thrift
copying src/TSCons.py -> build/lib.linux-x86_64-2.7/thrift
copying src/TMultiplexedProcessor.py -> build/lib.linux-x86_64-2.7/thrift
copying src/TSerialization.py -> build/lib.linux-x86_64-2.7/thrift
copying src/TTornado.py -> build/lib.linux-x86_64-2.7/thrift
copying src/__init__.py -> build/lib.linux-x86_64-2.7/thrift
copying src/Thrift.py -> build/lib.linux-x86_64-2.7/thrift
creating build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TProtocolDecorator.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TBase.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TCompactProtocol.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TBinaryProtocol.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TJSONProtocol.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TMultiplexedProtocol.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/__init__.py -> build/lib.linux-x86_64-2.7/thrift/protocol
copying src/protocol/TProtocol.py -> build/lib.linux-x86_64-2.7/thrift/protocol
creating build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/TTwisted.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/TZlibTransport.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/TTransport.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/TSocket.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/THttpClient.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/__init__.py -> build/lib.linux-x86_64-2.7/thrift/transport
copying src/transport/TSSLSocket.py -> build/lib.linux-x86_64-2.7/thrift/transport
creating build/lib.linux-x86_64-2.7/thrift/server
copying src/server/THttpServer.py -> build/lib.linux-x86_64-2.7/thrift/server
copying src/server/TProcessPoolServer.py -> build/lib.linux-x86_64-2.7/thrift/server
copying src/server/TServer.py -> build/lib.linux-x86_64-2.7/thrift/server
copying src/server/__init__.py -> build/lib.linux-x86_64-2.7/thrift/server
copying src/server/TNonblockingServer.py -> build/lib.linux-x86_64-2.7/thrift/server
running build_ext
building 'thrift.protocol.fastbinary' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
creating build/temp.linux-x86_64-2.7/src/protocol
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c src/protocol/fastbinary.c -o build/temp.linux-x86_64-2.7/src/protocol/fastbinary.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/src/protocol/fastbinary.o -o build/lib.linux-x86_64-2.7/thrift/protocol/fastbinary.so
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/py'>
Making all in perl
make[3]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
Making all in test
make[4]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/perl/test'>
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/perl/test'>
make[4]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
/usr/bin/perl Makefile.PL MAKEFILE=Makefile-perl.mk INSTALLDIRS=vendor INSTALL_BASE=/usr/local
Writing Makefile-perl.mk for Thrift
Writing MYMETA.yml and MYMETA.json
make -f Makefile-perl.mk
make[5]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
cp lib/Thrift/Socket.pm blib/lib/Thrift/Socket.pm
cp lib/Thrift.pm blib/lib/Thrift.pm
cp lib/Thrift/MemoryBuffer.pm blib/lib/Thrift/MemoryBuffer.pm
cp lib/Thrift/Server.pm blib/lib/Thrift/Server.pm
cp lib/Thrift/BinaryProtocol.pm blib/lib/Thrift/BinaryProtocol.pm
cp lib/Thrift/Protocol.pm blib/lib/Thrift/Protocol.pm
cp lib/Thrift/BufferedTransport.pm blib/lib/Thrift/BufferedTransport.pm
cp lib/Thrift/FramedTransport.pm blib/lib/Thrift/FramedTransport.pm
cp lib/Thrift/HttpClient.pm blib/lib/Thrift/HttpClient.pm
cp lib/Thrift/Transport.pm blib/lib/Thrift/Transport.pm
make[5]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
find blib -name 'Makefile*' -exec rm -f {} \;
make[4]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/perl'>
Making all in php
make[3]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/php'>
Making all in test
make[4]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/php/test'>
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/php/test'>
make[4]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/php'>
cd src/ext/thrift_protocol/ && make
make[5]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol'>
/bin/bash <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/libtool> --mode=install cp ./thrift_protocol.la <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/modules>
libtool: install: cp ./.libs/thrift_protocol.so <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/modules/thrift_protocol.so>
libtool: install: cp ./.libs/thrift_protocol.lai <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/modules/thrift_protocol.la>
libtool: finish: PATH="/home/jenkins/tools/java/latest1.7/bin:/usr/bin:/bin:/home/hudson/tools/ant/latest/bin:/sbin" ldconfig -n <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/modules>
----------------------------------------------------------------------
Libraries have been installed in:
   <https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol/modules>

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------

Build complete.
Don't forget to run 'make test'.

make[5]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/php/src/ext/thrift_protocol'>
make[4]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/php'>
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/php'>
Making all in go
make[3]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/go'>
Making all in .
make[4]: Entering directory `<https://builds.apache.org/job/Thrift/ws/lib/go'>
/usr/bin/go test ./thrift
--- FAIL: TestWriteJSONProtocolMap (0.00 seconds)
	json_protocol_test.go:611: Bad key for map index 0, wrote: 0, expected:  , error: Unable to parse number starting with character '{'
--- FAIL: TestSerializer (0.00 seconds)
	serializer_test.go:163: Test 1 Failed for JSON protocol
			 Unable to Deserialize struct
			 error reading map end: %!s(MISSING)
	serializer_test.go:163: Test 2 Failed for JSON protocol
			 Unable to Deserialize struct
			 error reading map end: %!s(MISSING)
FAIL
FAIL	_<https://builds.apache.org/job/Thrift/ws/lib/go/thrift>	0.018s
make[4]: *** [check-local] Error 1
make[4]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/go'>
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib/go'>
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/lib'>
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/'>
make: *** [all] Error 2
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
Sending artifact delta relative to Thrift #1396
Archived 4 artifacts
Archive block size is 32768
Received 476 blocks and 40228742 bytes
Compression is 27.9%
Took 11 sec
Publishing Javadoc
Updating THRIFT-2890