See <https://builds.apache.org/job/Thrift-precommit/281/changes>
Changes: [sukegawa.nobuaki] THRIFT-3724 Fix incorrect timeval conversion in libevent.d ------------------------------------------ [...truncated 46290 lines...] copying src/protocol/TProtocolDecorator.py -> build/lib.linux-x86_64-2.7/thrift/protocol creating 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/__init__.py -> 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/THttpClient.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/sslcompat.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/TSSLSocket.py -> build/lib.linux-x86_64-2.7/thrift/transport creating build/lib.linux-x86_64-2.7/thrift/server copying src/server/TNonblockingServer.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/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/THttpServer.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/ext x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Isrc -I/usr/include/python2.7 -c src/ext/module.cpp -o build/temp.linux-x86_64-2.7/src/ext/module.o cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default] x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Isrc -I/usr/include/python2.7 -c src/ext/types.cpp -o build/temp.linux-x86_64-2.7/src/ext/types.o cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default] x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Isrc -I/usr/include/python2.7 -c src/ext/binary.cpp -o build/temp.linux-x86_64-2.7/src/ext/binary.o cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default] x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Isrc -I/usr/include/python2.7 -c src/ext/compact.cpp -o build/temp.linux-x86_64-2.7/src/ext/compact.o cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default] c++ -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/ext/module.o build/temp.linux-x86_64-2.7/src/ext/types.o build/temp.linux-x86_64-2.7/src/ext/binary.o build/temp.linux-x86_64-2.7/src/ext/compact.o -o build/lib.linux-x86_64-2.7/thrift/protocol/fastbinary.so make check-local make[3]: Entering directory `/thrift/lib/py' /usr/bin/pip3 install -r requirements.txt || /usr/bin/pip3 install --user -r requirements.txt Requirement already satisfied (use --upgrade to upgrade): six in /usr/lib/python3/dist-packages (from -r requirements.txt (line 1)) Requirement already satisfied (use --upgrade to upgrade): backports.ssl-match-hostname>=3.5 in /usr/local/lib/python3.4/dist-packages (from -r requirements.txt (line 2)) Requirement already satisfied (use --upgrade to upgrade): ipaddress in /usr/local/lib/python3.4/dist-packages (from -r requirements.txt (line 3)) Cleaning up... /usr/bin/python3 setup.py build running build running build_py running build_ext /usr/bin/pip install -r requirements.txt || /usr/bin/pip install --user -r requirements.txt Requirement already satisfied (use --upgrade to upgrade): six in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 1)) Requirement already satisfied (use --upgrade to upgrade): backports.ssl-match-hostname>=3.5 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 2)) Requirement already satisfied (use --upgrade to upgrade): ipaddress in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 3)) Cleaning up... /usr/bin/python setup.py build running build running build_py running build_ext /usr/bin/python3 test/thrift_json.py . ---------------------------------------------------------------------- Ran 1 test in 0.001s OK /usr/bin/python3 test/test_sslsocket.py ........PROTOCOL_SSLv2 is not available ..test/test_sslsocket.py:66: ResourceWarning: unclosed <socket.socket fd=4, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0> self._server.listen() . ---------------------------------------------------------------------- Ran 11 tests in 0.407s OK /usr/bin/python test/thrift_json.py . ---------------------------------------------------------------------- Ran 1 test in 0.001s OK /usr/bin/python test/test_sslsocket.py ...skipping test_newer_tls .....PROTOCOL_SSLv2 is not available .skipping test_ssl_context .. ---------------------------------------------------------------------- Ran 11 tests in 0.281s OK make[3]: Leaving directory `/thrift/lib/py' make[2]: Leaving directory `/thrift/lib/py' Making check in erl make[2]: Entering directory `/thrift/lib/erl' for f in test/Thrift1151.thrift test/Thrift1475.thrift test/multiplexing.thrift ../../test/NameConflictTest.thrift ../../test/ThriftTest.thrift ; do \ ../../compiler/cpp/thrift --gen erl -o test $f ; \ done [WARNING:/thrift/lib/erl/test/Thrift1475.thrift:24] The "byte" type is a compatibility alias for "i8". Use "i8" to emphasize the signedness of this type. [WARNING:/thrift/lib/erl/test/Thrift1475.thrift:24] Consider using the more efficient "binary" type instead of "list<byte>". [WARNING:/thrift/test/ThriftTest.thrift:83] The "byte" type is a compatibility alias for "i8". Use "i8" to emphasize the signedness of this type. [WARNING:/thrift/test/ThriftTest.thrift:44] No generator named 'noexist' could be found! [WARNING:/thrift/test/ThriftTest.thrift:46] cpp generator does not accept 'noexist' as sub-namespace! ../../compiler/cpp/thrift --gen erl:legacynames -o test test/flags/LegacyNames.thrift ../../compiler/cpp/thrift --gen erl:maps -o test test/flags/Thrift3214.thrift touch .generated /usr/bin/rebar -C rebar.test.config get-deps ==> Entering directory `/thrift/lib/erl/deps/meck' ==> meck (get-deps) ==> Leaving directory `/thrift/lib/erl/deps/meck' ==> erl (get-deps) /usr/bin/rebar -C rebar.test.config compile ==> Entering directory `/thrift/lib/erl/deps/meck' ==> meck (compile) ==> Leaving directory `/thrift/lib/erl/deps/meck' ==> erl (compile) Compiled src/thrift_service.erl Compiled src/thrift_protocol.erl Compiled src/thrift_transport.erl Compiled src/thrift_server.erl Compiled src/thrift_framed_transport.erl Compiled src/thrift_transport_state_test.erl Compiled src/thrift_binary_protocol.erl src/thrift_json_protocol.erl:59: Warning: this clause cannot match because a previous clause at line 57 always matches Compiled src/thrift_json_protocol.erl Compiled src/thrift_buffered_transport.erl Compiled src/thrift_multiplexed_protocol.erl Compiled src/thrift_base64_transport.erl Compiled src/thrift_processor.erl Compiled src/thrift_client.erl Compiled src/thrift_client_util.erl Compiled src/thrift_memory_buffer.erl Compiled src/thrift_disk_log_transport.erl Compiled src/thrift_http_transport.erl Compiled src/thrift_membuffer_transport.erl Compiled src/thrift_socket_transport.erl src/thrift_reconnecting_client.erl:118: Warning: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information. src/thrift_reconnecting_client.erl:120: Warning: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information. Compiled src/thrift_reconnecting_client.erl Compiled src/thrift_sslsocket_transport.erl Compiled src/thrift_file_transport.erl Compiled src/thrift_compact_protocol.erl Compiled src/thrift_json_parser.erl Compiled src/thrift_multiplexed_map_wrapper.erl Compiled src/thrift_socket_server.erl /usr/bin/rebar -C rebar.test.config skip_deps=true eunit ==> erl (eunit) Compiled src/thrift_service.erl Compiled src/thrift_protocol.erl Compiled src/thrift_transport.erl Compiled test/stress_server.erl Compiled test/test_thrift_3214.erl Compiled test/name_conflict_test.erl Compiled test/test_thrift_compact_protocol.erl Compiled test/thrift_socket_server_test.erl Compiled test/gen-erl/thrift1475_types.erl Compiled test/gen-erl/legacyNames_thrift.erl Compiled test/test_disklog.erl Compiled test/gen-erl/thrift3214_types.erl Compiled test/gen-erl/multiplexing__calculator_thrift.erl Compiled test/gen-erl/multiplexing__weather_report_thrift.erl Compiled test/gen-erl/multiplexing_types.erl Compiled test/gen-erl/thrift_test_types.erl Compiled test/gen-erl/thrift_test_thrift.erl Compiled test/test_thrift_socket_transport.erl Compiled test/gen-erl/thrift1151_types.erl Compiled test/gen-erl/qualified_thrift.erl Compiled test/gen-erl/legacyNames_types.erl Compiled test/gen-erl/second_service_thrift.erl Compiled test/gen-erl/extern_thrift.erl Compiled test/gen-erl/name_conflict_test_types.erl Compiled test/test_thrift_1151.erl Compiled test/test_thrift_framed_transport.erl Compiled test/test_thrift_file_transport.erl Compiled test/test_thrift_membuffer_transport.erl Compiled test/legacy_names_test.erl Compiled test/multiplexing_test.erl Compiled test/thrift_test_test.erl Compiled test/test_thrift_buffered_transport.erl Compiled src/thrift_framed_transport.erl Compiled src/thrift_server.erl Compiled src/thrift_binary_protocol.erl Compiled src/thrift_transport_state_test.erl Compiled src/thrift_processor.erl Compiled src/thrift_multiplexed_protocol.erl Compiled src/thrift_buffered_transport.erl src/thrift_json_protocol.erl:59: Warning: this clause cannot match because a previous clause at line 57 always matches Compiled src/thrift_json_protocol.erl Compiled src/thrift_base64_transport.erl Compiled src/thrift_client_util.erl Compiled src/thrift_client.erl Compiled src/thrift_memory_buffer.erl Compiled src/thrift_disk_log_transport.erl Compiled src/thrift_membuffer_transport.erl Compiled src/thrift_http_transport.erl Compiled src/thrift_socket_transport.erl src/thrift_reconnecting_client.erl:118: Warning: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information. src/thrift_reconnecting_client.erl:120: Warning: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information. Compiled src/thrift_reconnecting_client.erl Compiled src/thrift_sslsocket_transport.erl Compiled src/thrift_file_transport.erl Compiled src/thrift_compact_protocol.erl Compiled src/thrift_multiplexed_map_wrapper.erl Compiled src/thrift_json_parser.erl Compiled src/thrift_socket_server.erl =INFO REPORT==== 9-Mar-2016::09:50:00 === thrift service listening on port 9090 =ERROR REPORT==== 9-Mar-2016::09:50:00 === {thrift_socket_server,282, {child_error,normal, <<"Program counter: 0x00002b42a82e0f28 (unknown function)\nCP: 0x00002b42a56f7328 (thrift_socket_server:terminate/2 + 216)\n\n0x00002b42a6347738 Return addr 0x00002b42af245378 (gen_server:try_terminate/3 + 136)\ny(0) normal\ny(1) 9090\n\n0x00002b42a6347750 Return addr 0x00002b42af247e20 (gen_server:terminate/7 + 152)\ny(0) Catch 0x00002b42af2453d8 (gen_server:try_terminate/3 + 232)\n\n0x00002b42a6347760 Return addr 0x00002b42a57af940 (proc_lib:init_p_do_apply/3 + 56)\ny(0) []\ny(1) {thrift_socket_server,9090,[{\"Multiplexing_Calculator\",multiplexing__calculator_thrift},{\"Multiplexing_WeatherReport\",multiplexing__weather_report_thrift}],[{\"Multiplexing_Calculator\",multiplexing_test},{\"Multiplexing_WeatherReport\",multiplexing_test},{\"error_handler\",multiplexing_test}],{local,multiplexing_test},2047,{127,0,0,1},#Port<0.29205>,<0.1059.0>,[{recv_timeout,500}],binary,false,false,[]}\ny(2) thrift_socket_server\ny(3) {'$gen_cast',stop}\ny(4) multiplexing_test\ny(5) normal\ny(6) normal\n\n0x00002b42a63477a0 Return addr 0x000000000088b1b8 (<terminate process normally>)\ny(0) Catch 0x00002b42a57af960 (proc_lib:init_p_do_apply/3 + 88)\n">>}} All 314 tests passed. make[2]: Leaving directory `/thrift/lib/erl' Making check in rb make[2]: Entering directory `/thrift/lib/rb' /usr/local/bin/bundle install Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. Fetching gem metadata from http://rubygems.org/......... Fetching version metadata from http://rubygems.org/.. Resolving dependencies... Rubygems 1.8.23 is not threadsafe, so your gems will be installed one at a time. Upgrade to Rubygems 2.1.0 or higher to enable parallel gem installation. Using rake 11.0.1 Using bundler 1.11.2 Installing daemons 1.2.3 Installing diff-lcs 1.1.3 Installing eventmachine 1.0.9.1 with native extensions Installing rack 1.5.5 Installing rspec-core 2.10.1 Installing rspec-mocks 2.10.1 Using thrift 1.0.0.0 from source at `.` Installing rspec-expectations 2.10.0 Installing rack-test 0.6.3 Installing thin 1.5.1 with native extensions Installing rspec 2.10.0 Bundle complete! 7 Gemfile dependencies, 13 gems now installed. Use `bundle show [gemname]` to see where a bundled gem is installed. /usr/local/bin/bundle exec rake build_ext rake aborted! NoMethodError: undefined method `last_comment' for #<Rake::Application:0x00000002deef70> /var/lib/gems/1.9.1/gems/rspec-core-2.10.1/lib/rspec/core/rake_task.rb:124:in `initialize' /thrift/lib/rb/Rakefile:30:in `new' /thrift/lib/rb/Rakefile:30:in `<top (required)>' (See full trace by running task with --trace) make[2]: *** [all-local] Error 1 make[2]: Leaving directory `/thrift/lib/rb' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/thrift/lib' make: *** [check-recursive] Error 1 Build step 'Execute shell' marked build as failure [WARNINGS] Skipping publisher since build result is FAILURE [TASKS] Skipping publisher since build result is FAILURE Archiving artifacts Compressed 142.93 MB of artifacts by 31.7% relative to #277 Publishing Javadoc Updating THRIFT-3724