See <https://builds.apache.org/job/Thrift/459/changes>
Changes: [roger] THRIFT-1336 thrift: added server and processor test code Patch: Dave Watson - rework made by roger ------------------------------------------ [...truncated 12981 lines...] [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:183] 64-bit constant "1099511627775" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:183] 64-bit constant "281474976710655" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:183] 64-bit constant "72057594037927935" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:183] 64-bit constant "9223372036854775807" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:192] 64-bit constant "4294967295" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:192] 64-bit constant "1099511627775" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:192] 64-bit constant "281474976710655" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:192] 64-bit constant "72057594037927935" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:192] 64-bit constant "9223372036854775807" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:201] 64-bit constant "9223372036854775807" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:208] 64-bit constant "9223372036854775807" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:355] No field key specified for field1, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:356] No field key specified for field2, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:357] No field key specified for field3, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:358] No field key specified for field4, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:359] No field key specified for field5, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:360] No field key specified for field6, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:361] No field key specified for field7, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:362] No field key specified for field8, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:363] No field key specified for field9, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:364] No field key specified for field10, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:365] No field key specified for field11, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:366] No field key specified for field12, resulting protocol may have conflicts or not be backwards compatible! ../../compiler/cpp/thrift --gen hs ../ThriftTest.thrift sh run-test.sh ConstantsDemo Generating bindings... Running test... SERVER: Ready... SERVER: SERVER: Got blingity SERVER: SERVER: Got blangity CLIENT: 31 SUCCESS sh run-test.sh DebugProtoTest Generating bindings... [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:41] 64-bit constant "10000000000" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:173] 64-bit constant "1099511627775" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:183] 64-bit constant "4294967295" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:183] 64-bit constant "1099511627775" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:183] 64-bit constant "281474976710655" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:183] 64-bit constant "72057594037927935" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:183] 64-bit constant "9223372036854775807" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:192] 64-bit constant "4294967295" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:192] 64-bit constant "1099511627775" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:192] 64-bit constant "281474976710655" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:192] 64-bit constant "72057594037927935" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:192] 64-bit constant "9223372036854775807" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:201] 64-bit constant "9223372036854775807" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:208] 64-bit constant "9223372036854775807" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:355] No field key specified for field1, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:356] No field key specified for field2, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:357] No field key specified for field3, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:358] No field key specified for field4, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:359] No field key specified for field5, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:360] No field key specified for field6, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:361] No field key specified for field7, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:362] No field key specified for field8, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:363] No field key specified for field9, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:364] No field key specified for field10, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:365] No field key specified for field11, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:366] No field key specified for field12, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:41] 64-bit constant "10000000000" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:173] 64-bit constant "1099511627775" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:183] 64-bit constant "4294967295" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:183] 64-bit constant "1099511627775" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:183] 64-bit constant "281474976710655" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:183] 64-bit constant "72057594037927935" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:183] 64-bit constant "9223372036854775807" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:192] 64-bit constant "4294967295" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:192] 64-bit constant "1099511627775" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:192] 64-bit constant "281474976710655" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:192] 64-bit constant "72057594037927935" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:192] 64-bit constant "9223372036854775807" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:201] 64-bit constant "9223372036854775807" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:208] 64-bit constant "9223372036854775807" may not work in all languages. [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:355] No field key specified for field1, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:356] No field key specified for field2, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:357] No field key specified for field3, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:358] No field key specified for field4, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:359] No field key specified for field5, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:360] No field key specified for field6, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:361] No field key specified for field7, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:362] No field key specified for field8, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:363] No field key specified for field9, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:364] No field key specified for field10, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:365] No field key specified for field11, resulting protocol may have conflicts or not be backwards compatible! [WARNING:<https://builds.apache.org/job/Thrift/ws/thrift/test/DebugProtoTest.thrift>:366] No field key specified for field12, resulting protocol may have conflicts or not be backwards compatible! Running test... SERVER: Ready... SERVER: Got janky method call: Just 42 CLIENT: 31 SERVER: Got voidMethod method call SERVER: Got primitiveMethod call CLIENT: 42 SERVER: Got structMethod call CLIENT: CompactProtoTestStruct {f_CompactProtoTestStruct_a_byte = Just 1, f_CompactProtoTestStruct_a_i16 = Just 2, f_CompactProtoTestStruct_a_i32 = Just 3, f_CompactProtoTestStruct_a_i64 = Just 4, f_CompactProtoTestStruct_a_double = Just 0.1, f_CompactProtoTestStruct_a_string = Just "abcdef", f_CompactProtoTestStruct_a_binary = Just Empty, f_CompactProtoTestStruct_true_field = Just True, f_CompactProtoTestStruct_false_field = Just False, f_CompactProtoTestStruct_empty_struct_field = Just Empty, f_CompactProtoTestStruct_byte_list = Nothing, f_CompactProtoTestStruct_i16_list = Nothing, f_CompactProtoTestStruct_i32_list = Nothing, f_CompactProtoTestStruct_i64_list = Nothing, f_CompactProtoTestStruct_double_list = Nothing, f_CompactProtoTestStruct_string_list = Nothing, f_CompactProtoTestStruct_binary_list = Nothing, f_CompactProtoTestStruct_boolean_list = Nothing, f_CompactProtoTestStruct_struct_list = Just [Empty], f_CompactProtoTestStruct_byte_set = Nothing, f_CompactProtoTestStruct_i16_set = Nothing, f_CompactProtoTestStruct_i32_set = Nothing, f_CompactProtoTestStruct_i64_set = Nothing, f_CompactProtoTestStruct_double_set = Nothing, f_CompactProtoTestStruct_string_set = Nothing, f_CompactProtoTestStruct_binary_set = Nothing, f_CompactProtoTestStruct_boolean_set = Nothing, f_CompactProtoTestStruct_struct_set = Nothing, f_CompactProtoTestStruct_byte_byte_map = Nothing, f_CompactProtoTestStruct_i16_byte_map = Nothing, f_CompactProtoTestStruct_i32_byte_map = Nothing, f_CompactProtoTestStruct_i64_byte_map = Nothing, f_CompactProtoTestStruct_double_byte_map = Nothing, f_CompactProtoTestStruct_string_byte_map = Nothing, f_CompactProtoTestStruct_binary_byte_map = Nothing, f_CompactProtoTestStruct_boolean_byte_map = Nothing, f_CompactProtoTestStruct_byte_i16_map = Nothing, f_CompactProtoTestStruct_byte_i32_map = Nothing, f_CompactProtoTestStruct_byte_i64_map = Nothing, f_CompactProtoTestStruct_byte_double_map = Nothing, f_CompactProtoTestStruct_byte_string_map = Nothing, f_CompactProtoTestStruct_byte_binary_map = Nothing, f_CompactProtoTestStruct_byte_boolean_map = Nothing, f_CompactProtoTestStruct_list_byte_map = Nothing, f_CompactProtoTestStruct_set_byte_map = Nothing, f_CompactProtoTestStruct_map_byte_map = Nothing, f_CompactProtoTestStruct_byte_map_map = Nothing, f_CompactProtoTestStruct_byte_set_map = Nothing, f_CompactProtoTestStruct_byte_list_map = Nothing} SERVER: Got methodWithDefaultArgs: Just 42 SERVER: Got onewayMethod SERVER: Got identity method: Just 42 CLIENT: 42 SUCCESS sh run-test.sh ThriftTest Generating bindings... Running test... SERVER: Ready... SERVER: bya CLIENT: bya SERVER: 8 CLIENT: 8 SERVER: -8 CLIENT: -8 SERVER: 32 CLIENT: 32 SERVER: -32 CLIENT: -32 SERVER: 64 CLIENT: 64 SERVER: -64 CLIENT: -64 SERVER: 3.14 CLIENT: 3.14 SERVER: -3.14 CLIENT: -3.14 SERVER: fromList [(1,1),(2,2),(3,3)] CLIENT: fromList [(1,1),(2,2),(3,3)] SERVER: fromList [("0","numeric key"),("a","123"),("a b","with spaces "),("same","same")] CLIENT: fromList [("0","numeric key"),("a","123"),("a b","with spaces "),("same","same")] SERVER: [1,2,3,4,5] CLIENT: [1,2,3,4,5] SERVER: fromList [1,2,3,4,5] CLIENT: fromList [1,2,3,4,5] SERVER: Xtruct {f_Xtruct_string_thing = Just "hi", f_Xtruct_byte_thing = Just 4, f_Xtruct_i32_thing = Just 5, f_Xtruct_i64_thing = Nothing} CLIENT: Xtruct {f_Xtruct_string_thing = Just "hi", f_Xtruct_byte_thing = Just 4, f_Xtruct_i32_thing = Just 5, f_Xtruct_i64_thing = Nothing} CLIENT: Xception {f_Xception_errorCode = Just 1, f_Xception_message = Just "bya"} CLIENT: Xception {f_Xception_errorCode = Just 1, f_Xception_message = Just "xyz"} CLIENT: ok SUCCESS make[2]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/thrift/test/hs'> make[2]: Entering directory `<https://builds.apache.org/job/Thrift/ws/thrift/test'> make check-local make[3]: Entering directory `<https://builds.apache.org/job/Thrift/ws/thrift/test'> ../compiler/cpp/thrift --gen html -r ../test/ThriftTest.thrift make[3]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/thrift/test'> make[2]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/thrift/test'> make[1]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/thrift/test'> make[1]: Entering directory `<https://builds.apache.org/job/Thrift/ws/thrift'> make[1]: Nothing to be done for `check-am'. make[1]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/thrift'> + make dist { test ! -d "thrift-0.9.0-dev" || { find "thrift-0.9.0-dev" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr "thrift-0.9.0-dev"; }; } test -d "thrift-0.9.0-dev" || mkdir "thrift-0.9.0-dev" (cd compiler/cpp && make top_distdir=../../thrift-0.9.0-dev distdir=../../thrift-0.9.0-dev/compiler/cpp \ am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir) make[1]: Entering directory `<https://builds.apache.org/job/Thrift/ws/thrift/compiler/cpp'> make[1]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/thrift/compiler/cpp'> (cd lib && make top_distdir=../thrift-0.9.0-dev distdir=../thrift-0.9.0-dev/lib \ am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir) make[1]: Entering directory `<https://builds.apache.org/job/Thrift/ws/thrift/lib'> (cd cpp && make top_distdir=../../thrift-0.9.0-dev distdir=../../thrift-0.9.0-dev/lib/cpp \ am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir) make[2]: Entering directory `<https://builds.apache.org/job/Thrift/ws/thrift/lib/cpp'> /usr/bin/moc-qt4 -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork src/thrift/qt/TQTcpServer.h -o src/thrift/qt/moc_TQTcpServer.cpp make[2]: *** No rule to make target `src/thrift/processor/test/gen-cpp/ChildService.h', needed by `distdir'. Stop. make[2]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/thrift/lib/cpp'> make[1]: *** [distdir] Error 1 make[1]: Leaving directory `<https://builds.apache.org/job/Thrift/ws/thrift/lib'> make: *** [distdir] Error 1 Build step 'Execute shell' marked build as failure [WARNINGS] Skipping publisher since build result is FAILURE [TASKS] Skipping publisher since build result is FAILURE Archiving artifacts Recording test results Publishing Javadoc Updating THRIFT-1336