See <https://builds.apache.org/job/Thrift-precommit/146/changes>
Changes:
[nsuke] THRIFT-3633 Travis "C C++ - GCC" build was using clang
------------------------------------------
[...truncated 5351 lines...]
[32m should read byte[0m
[32m should read i16[0m
[32m should read i32[0m
[32m should read i64[0m
[32m should read double[0m
[32m should read string[0m
[32m should read string with unicode characters[0m
[32m should read binary[0m
[32m should read long binary[0m
Thrift::JsonProtocolFactory
[32m should create a JsonProtocol[0m
namespaced generation
/thrift/lib/rb/spec/gen-rb/other_namespace/referenced_types.rb:11: warning:
already initialized constant ONE
/thrift/lib/rb/spec/gen-rb/other_namespace/referenced_types.rb:12: warning:
already initialized constant TWO
/thrift/lib/rb/spec/gen-rb/other_namespace/referenced_types.rb:13: warning:
already initialized constant VALUE_MAP
/thrift/lib/rb/spec/gen-rb/other_namespace/referenced_types.rb:14: warning:
already initialized constant VALID_VALUES
/thrift/lib/rb/spec/gen-rb/namespaced_spec_namespace/thrift_namespaced_spec_types.rb:14:
warning: already initialized constant GREETING
/thrift/lib/rb/spec/gen-rb/namespaced_spec_namespace/thrift_namespaced_spec_types.rb:16:
warning: already initialized constant FIELDS
/thrift/lib/rb/spec/gen-rb/namespaced_spec_namespace/namespaced_nonblocking_service.rb:117:
warning: already initialized constant ENGLISH
/thrift/lib/rb/spec/gen-rb/namespaced_spec_namespace/namespaced_nonblocking_service.rb:119:
warning: already initialized constant FIELDS
/thrift/lib/rb/spec/gen-rb/namespaced_spec_namespace/namespaced_nonblocking_service.rb:133:
warning: already initialized constant SUCCESS
/thrift/lib/rb/spec/gen-rb/namespaced_spec_namespace/namespaced_nonblocking_service.rb:135:
warning: already initialized constant FIELDS
/thrift/lib/rb/spec/gen-rb/namespaced_spec_namespace/namespaced_nonblocking_service.rb:150:
warning: already initialized constant FIELDS
/thrift/lib/rb/spec/gen-rb/namespaced_spec_namespace/namespaced_nonblocking_service.rb:164:
warning: already initialized constant SUCCESS
/thrift/lib/rb/spec/gen-rb/namespaced_spec_namespace/namespaced_nonblocking_service.rb:166:
warning: already initialized constant FIELDS
/thrift/lib/rb/spec/gen-rb/namespaced_spec_namespace/namespaced_nonblocking_service.rb:180:
warning: already initialized constant N
/thrift/lib/rb/spec/gen-rb/namespaced_spec_namespace/namespaced_nonblocking_service.rb:182:
warning: already initialized constant FIELDS
/thrift/lib/rb/spec/gen-rb/namespaced_spec_namespace/namespaced_nonblocking_service.rb:197:
warning: already initialized constant FIELDS
/thrift/lib/rb/spec/gen-rb/namespaced_spec_namespace/namespaced_nonblocking_service.rb:212:
warning: already initialized constant FIELDS
/thrift/lib/rb/spec/gen-rb/namespaced_spec_namespace/namespaced_nonblocking_service.rb:227:
warning: already initialized constant FIELDS
/thrift/lib/rb/spec/gen-rb/namespaced_spec_namespace/namespaced_nonblocking_service.rb:241:
warning: already initialized constant SECONDS
/thrift/lib/rb/spec/gen-rb/namespaced_spec_namespace/namespaced_nonblocking_service.rb:243:
warning: already initialized constant FIELDS
/thrift/lib/rb/spec/gen-rb/namespaced_spec_namespace/namespaced_nonblocking_service.rb:258:
warning: already initialized constant FIELDS
[32m generated the right files[0m
[32m did not generate the wrong files[0m
[32m has a service class in the right place[0m
[32m has a struct in the right place[0m
[32m required an included file[0m
[32m extended a service[0m
NonblockingServer
Thrift::NonblockingServer
[31m should handle basic message passing (FAILED - 1)[0m
[31m should handle concurrent clients (FAILED - 2)[0m
[31m should handle messages from more than 5 long-lived connections (FAILED
- 3)[0m
#<Errno::EADDRINUSE: Address already in use - bind(2)>
/thrift/lib/rb/lib/thrift/transport/server_socket.rb:40:in `initialize'
/thrift/lib/rb/lib/thrift/transport/server_socket.rb:40:in `new'
/thrift/lib/rb/lib/thrift/transport/server_socket.rb:40:in `listen'
/thrift/lib/rb/spec/nonblocking_server_spec.rb:97:in `listen'
/thrift/lib/rb/lib/thrift/server/nonblocking_server.rb:41:in `serve'
/thrift/lib/rb/spec/nonblocking_server_spec.rb:116:in `block (4 levels) in <top
(required)>'
[31m should shut down when asked (FAILED - 4)[0m
#<Errno::EADDRINUSE: Address already in use - bind(2)>
/thrift/lib/rb/lib/thrift/transport/server_socket.rb:40:in `initialize'
/thrift/lib/rb/lib/thrift/transport/server_socket.rb:40:in `new'
/thrift/lib/rb/lib/thrift/transport/server_socket.rb:40:in `listen'
/thrift/lib/rb/spec/nonblocking_server_spec.rb:97:in `listen'
/thrift/lib/rb/lib/thrift/server/nonblocking_server.rb:41:in `serve'
/thrift/lib/rb/spec/nonblocking_server_spec.rb:116:in `block (4 levels) in <top
(required)>'
[31m should continue processing active messages when shutting down (FAILED
- 5)[0m
#<Errno::EADDRINUSE: Address already in use - bind(2)>
/thrift/lib/rb/lib/thrift/transport/server_socket.rb:40:in `initialize'
/thrift/lib/rb/lib/thrift/transport/server_socket.rb:40:in `new'
/thrift/lib/rb/lib/thrift/transport/server_socket.rb:40:in `listen'
/thrift/lib/rb/spec/nonblocking_server_spec.rb:97:in `listen'
/thrift/lib/rb/lib/thrift/server/nonblocking_server.rb:41:in `serve'
/thrift/lib/rb/spec/nonblocking_server_spec.rb:116:in `block (4 levels) in <top
(required)>'
[31m should kill active messages when they don't expire while shutting down
(FAILED - 6)[0m
[31m should allow shutting down in response to a message (FAILED - 7)[0m
Processor
Thrift::Processor
[32m should call process_<message> when it receives that message[0m
[32m should raise an ApplicationException when the received message cannot
be processed[0m
[32m should pass args off to the args class[0m
[32m should write out a reply when asked[0m
Serializer#<NoMethodError: undefined method `serve' for nil:NilClass>
/thrift/lib/rb/spec/nonblocking_server_spec.rb:116:in `block (4 levels) in <top
(required)>'
Thrift::Serializer
[31m should serialize structs to binary by default (FAILED - 8)[0m
[31m should serialize structs to the given protocol (FAILED - 9)[0m
Thrift::Deserializer
[31m should deserialize structs from binary by default (FAILED - 10)[0m
[31m should deserialize structs from the given protocol (FAILED - 11)[0m
Thrift::ServerSocket
Thrift::ServerSocket
[32m should create a handle when calling listen[0m
[32m should accept an optional host argument[0m
[32m should create a Thrift::Socket to wrap accepted sockets[0m
[32m should close the handle when closed[0m
[32m should return nil when accepting if there is no handle[0m
[32m should return true for closed? when appropriate[0m
Server
Pending:
[33m Client Thrift::Client should increment the sequence id when sending
messages[0m
[36m # it seems sequence ids are completely ignored right now[0m
[36m # ./spec/client_spec.rb:55[0m
Failures:
1) NonblockingServer Thrift::NonblockingServer should handle basic message
passing
[31mFailure/Error:[0m [[email protected][0m
[31mThrift::TransportException:[0m
[31mCould not connect to localhost:43251: Connection refused -
connect(2)[0m
[36m # ./lib/thrift/transport/socket.rb:54:in `rescue in open'[0m
[36m # ./lib/thrift/transport/socket.rb:36:in `open'[0m
[36m # ./lib/thrift/transport/framed_transport.rb:37:in `open'[0m
[36m # ./spec/nonblocking_server_spec.rb:68:in `open'[0m
[36m # ./spec/nonblocking_server_spec.rb:140:in `setup_client'[0m
[36m # ./spec/nonblocking_server_spec.rb:178:in `block (3 levels) in <top
(required)>'[0m
2) NonblockingServer Thrift::NonblockingServer should handle concurrent
clients
[31mFailure/Error:[0m [[email protected][0m
[31mThrift::TransportException:[0m
[31mCould not connect to localhost:43251: Connection refused -
connect(2)[0m
[36m # ./lib/thrift/transport/socket.rb:54:in `rescue in open'[0m
[36m # ./lib/thrift/transport/socket.rb:36:in `open'[0m
[36m # ./lib/thrift/transport/framed_transport.rb:37:in `open'[0m
[36m # ./spec/nonblocking_server_spec.rb:68:in `open'[0m
[36m # ./spec/nonblocking_server_spec.rb:140:in `setup_client'[0m
[36m # ./spec/nonblocking_server_spec.rb:190:in `block (5 levels) in <top
(required)>'[0m
3) NonblockingServer Thrift::NonblockingServer should handle messages from
more than 5 long-lived connections
[31mFailure/Error:[0m [[email protected][0m
[31mThrift::TransportException:[0m
[31mCould not connect to localhost:43251: Connection refused -
connect(2)[0m
[36m # ./lib/thrift/transport/socket.rb:54:in `rescue in open'[0m
[36m # ./lib/thrift/transport/socket.rb:36:in `open'[0m
[36m # ./lib/thrift/transport/framed_transport.rb:37:in `open'[0m
[36m # ./spec/nonblocking_server_spec.rb:68:in `open'[0m
[36m # ./spec/nonblocking_server_spec.rb:140:in `setup_client'[0m
[36m # ./spec/nonblocking_server_spec.rb:190:in `block (5 levels) in <top
(required)>'[0m
4) NonblockingServer Thrift::NonblockingServer should shut down when asked
[31mFailure/Error:[0m [[email protected][0m
[31mThrift::TransportException:[0m
[31mCould not connect to localhost:43251: Connection refused -
connect(2)[0m
[36m # ./lib/thrift/transport/socket.rb:54:in `rescue in open'[0m
[36m # ./lib/thrift/transport/socket.rb:36:in `open'[0m
[36m # ./lib/thrift/transport/framed_transport.rb:37:in `open'[0m
[36m # ./spec/nonblocking_server_spec.rb:68:in `open'[0m
[36m # ./spec/nonblocking_server_spec.rb:140:in `setup_client'[0m
[36m # ./spec/nonblocking_server_spec.rb:190:in `block (5 levels) in <top
(required)>'[0m
5) NonblockingServer Thrift::NonblockingServer should continue processing
active messages when shutting down
[31mFailure/Error:[0m [31msuper[0m
[31mErrno::EADDRINUSE:[0m
[31mAddress already in use - bind(2)[0m
[36m # ./lib/thrift/transport/server_socket.rb:40:in `initialize'[0m
[36m # ./lib/thrift/transport/server_socket.rb:40:in `new'[0m
[36m # ./lib/thrift/transport/server_socket.rb:40:in `listen'[0m
[36m # ./spec/nonblocking_server_spec.rb:97:in `listen'[0m
[36m # ./lib/thrift/server/nonblocking_server.rb:41:in `serve'[0m
[36m # ./spec/nonblocking_server_spec.rb:116:in `block (4 levels) in <top
(required)>'[0m
6) NonblockingServer Thrift::NonblockingServer should kill active messages
when they don't expire while shutting down
[31mFailure/Error:[0m [31msuper[0m
[31mErrno::EADDRINUSE:[0m
[31mAddress already in use - bind(2)[0m
[36m # ./lib/thrift/transport/server_socket.rb:40:in `initialize'[0m
[36m # ./lib/thrift/transport/server_socket.rb:40:in `new'[0m
[36m # ./lib/thrift/transport/server_socket.rb:40:in `listen'[0m
[36m # ./spec/nonblocking_server_spec.rb:97:in `listen'[0m
[36m # ./lib/thrift/server/nonblocking_server.rb:41:in `serve'[0m
[36m # ./spec/nonblocking_server_spec.rb:116:in `block (4 levels) in <top
(required)>'[0m
7) NonblockingServer Thrift::NonblockingServer should allow shutting down in
response to a message
[31mFailure/Error:[0m [31msuper[0m
[31mErrno::EADDRINUSE:[0m
[31mAddress already in use - bind(2)[0m
[36m # ./lib/thrift/transport/server_socket.rb:40:in `initialize'[0m
[36m # ./lib/thrift/transport/server_socket.rb:40:in `new'[0m
[36m # ./lib/thrift/transport/server_socket.rb:40:in `listen'[0m
[36m # ./spec/nonblocking_server_spec.rb:97:in `listen'[0m
[36m # ./lib/thrift/server/nonblocking_server.rb:41:in `serve'[0m
[36m # ./spec/nonblocking_server_spec.rb:116:in `block (4 levels) in <top
(required)>'[0m
8) Serializer Thrift::Serializer should serialize structs to binary by default
[31mFailure/Error:[0m [31mUnable to find matching line from
backtrace[0m
[31mNoMethodError:[0m
[31mundefined method `serve' for nil:NilClass[0m
[36m # ./spec/nonblocking_server_spec.rb:116:in `block (4 levels) in <top
(required)>'[0m
9) Serializer Thrift::Serializer should serialize structs to the given
protocol
[31mFailure/Error:[0m [31mUnable to find matching line from
backtrace[0m
[31mNoMethodError:[0m
[31mundefined method `serve' for nil:NilClass[0m
[36m # ./spec/nonblocking_server_spec.rb:116:in `block (4 levels) in <top
(required)>'[0m
10) Serializer Thrift::Deserializer should deserialize structs from binary by
default
[31mFailure/Error:[0m [31mUnable to find matching line from
backtrace[0m
[31mNoMethodError:[0m
[31mundefined method `serve' for nil:NilClass[0m
[36m # ./spec/nonblocking_server_spec.rb:116:in `block (4 levels) in <top
(required)>'[0m
11) Serializer Thrift::Deserializer should deserialize structs from the given
protocol
[31mFailure/Error:[0m [31mUnable to find matching line from
backtrace[0m
[31mNoMethodError:[0m
[31mundefined method `serve' for nil:NilClass[0m
[36m # ./spec/nonblocking_server_spec.rb:116:in `block (4 levels) in <top
(required)>'[0m
Finished in 0.28648 seconds
[31m282 examples, 11 failures, 1 pending[0m
Failed examples:
[31mrspec ./spec/nonblocking_server_spec.rb:177[0m [36m# NonblockingServer
Thrift::NonblockingServer should handle basic message passing[0m
[31mrspec ./spec/nonblocking_server_spec.rb:184[0m [36m# NonblockingServer
Thrift::NonblockingServer should handle concurrent clients[0m
[31mrspec ./spec/nonblocking_server_spec.rb:202[0m [36m# NonblockingServer
Thrift::NonblockingServer should handle messages from more than 5 long-lived
connections[0m
[31mrspec ./spec/nonblocking_server_spec.rb:227[0m [36m# NonblockingServer
Thrift::NonblockingServer should shut down when asked[0m
[31mrspec ./spec/nonblocking_server_spec.rb:235[0m [36m# NonblockingServer
Thrift::NonblockingServer should continue processing active messages when
shutting down[0m
[31mrspec ./spec/nonblocking_server_spec.rb:245[0m [36m# NonblockingServer
Thrift::NonblockingServer should kill active messages when they don't expire
while shutting down[0m
[31mrspec ./spec/nonblocking_server_spec.rb:256[0m [36m# NonblockingServer
Thrift::NonblockingServer should allow shutting down in response to a
message[0m
[31mrspec ./spec/serializer_spec.rb:25[0m [36m# Serializer
Thrift::Serializer should serialize structs to binary by default[0m
[31mrspec ./spec/serializer_spec.rb:31[0m [36m# Serializer
Thrift::Serializer should serialize structs to the given protocol[0m
[31mrspec ./spec/serializer_spec.rb:47[0m [36m# Serializer
Thrift::Deserializer should deserialize structs from binary by default[0m
[31mrspec ./spec/serializer_spec.rb:53[0m [36m# Serializer
Thrift::Deserializer should deserialize structs from the given protocol[0m
/thrift/lib/rb/lib/thrift/transport/socket.rb:54:in `rescue in open': Could not
connect to localhost:43251: Connection refused - connect(2)
(Thrift::TransportException)
from /thrift/lib/rb/lib/thrift/transport/socket.rb:36:in `open'
from /thrift/lib/rb/lib/thrift/transport/framed_transport.rb:37:in
`open'
from /thrift/lib/rb/spec/nonblocking_server_spec.rb:68:in `open'
from /thrift/lib/rb/spec/nonblocking_server_spec.rb:140:in
`setup_client'
from /thrift/lib/rb/spec/nonblocking_server_spec.rb:190:in `block (5
levels) in <top (required)>'
rake aborted!
/usr/bin/ruby1.9.1 -S rspec ./spec/base_protocol_spec.rb
./spec/base_transport_spec.rb ./spec/binary_protocol_accelerated_spec.rb
./spec/binary_protocol_spec.rb ./spec/bytes_spec.rb ./spec/client_spec.rb
./spec/compact_protocol_spec.rb ./spec/exception_spec.rb ./spec/flat_spec.rb
./spec/http_client_spec.rb ./spec/json_protocol_spec.rb
./spec/namespaced_spec.rb ./spec/nonblocking_server_spec.rb
./spec/processor_spec.rb ./spec/serializer_spec.rb ./spec/server_socket_spec.rb
./spec/server_spec.rb ./spec/socket_spec.rb
./spec/struct_nested_containers_spec.rb ./spec/struct_spec.rb
./spec/thin_http_server_spec.rb ./spec/types_spec.rb ./spec/union_spec.rb
./spec/unix_socket_spec.rb --color --format d failed
/var/lib/gems/1.9.1/gems/rspec-core-2.10.1/lib/rspec/core/rake_task.rb:137:in
`block (2 levels) in initialize'
/var/lib/gems/1.9.1/gems/rspec-core-2.10.1/lib/rspec/core/rake_task.rb:127:in
`block in initialize'
Tasks: TOP => default => gem => spec => realspec
(See full trace by running task with --trace)
make[3]: *** [check-local] Error 1
make[3]: Leaving directory `/thrift/lib/rb'
make[2]: *** [check-am] Error 2
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
Publishing Javadoc
Update relevant JIRA issues is waiting for a checkpoint on Thrift-precommit #145
Updating THRIFT-3633