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...]
    should read byte
    should read i16
    should read i32
    should read i64
    should read double
    should read string
    should read string with unicode characters
    should read binary
    should read long binary
  Thrift::JsonProtocolFactory
    should create a JsonProtocol

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
  generated the right files
  did not generate the wrong files
  has a service class in the right place
  has a struct in the right place
  required an included file
  extended a service

NonblockingServer
  Thrift::NonblockingServer
    should handle basic message passing (FAILED - 1)
    should handle concurrent clients (FAILED - 2)
    should handle messages from more than 5 long-lived connections (FAILED 
- 3)
#<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)>'
    should shut down when asked (FAILED - 4)
#<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)>'
    should continue processing active messages when shutting down (FAILED 
- 5)
#<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)>'
    should kill active messages when they don't expire while shutting down 
(FAILED - 6)
    should allow shutting down in response to a message (FAILED - 7)

Processor
  Thrift::Processor
    should call process_<message> when it receives that message
    should raise an ApplicationException when the received message cannot 
be processed
    should pass args off to the args class
    should write out a reply when asked

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
    should serialize structs to binary by default (FAILED - 8)
    should serialize structs to the given protocol (FAILED - 9)
  Thrift::Deserializer
    should deserialize structs from binary by default (FAILED - 10)
    should deserialize structs from the given protocol (FAILED - 11)

Thrift::ServerSocket
  Thrift::ServerSocket
    should create a handle when calling listen
    should accept an optional host argument
    should create a Thrift::Socket to wrap accepted sockets
    should close the handle when closed
    should return nil when accepting if there is no handle
    should return true for closed? when appropriate

Server
Pending:
  Client Thrift::Client should increment the sequence id when sending 
messages
    # it seems sequence ids are completely ignored right now
    # ./spec/client_spec.rb:55

Failures:

  1) NonblockingServer Thrift::NonblockingServer should handle basic message 
passing
     Failure/Error: [[email protected]
     Thrift::TransportException:
       Could not connect to localhost:43251: Connection refused - 
connect(2)
     # ./lib/thrift/transport/socket.rb:54:in `rescue in open'
     # ./lib/thrift/transport/socket.rb:36:in `open'
     # ./lib/thrift/transport/framed_transport.rb:37:in `open'
     # ./spec/nonblocking_server_spec.rb:68:in `open'
     # ./spec/nonblocking_server_spec.rb:140:in `setup_client'
     # ./spec/nonblocking_server_spec.rb:178:in `block (3 levels) in <top 
(required)>'

  2) NonblockingServer Thrift::NonblockingServer should handle concurrent 
clients
     Failure/Error: [[email protected]
     Thrift::TransportException:
       Could not connect to localhost:43251: Connection refused - 
connect(2)
     # ./lib/thrift/transport/socket.rb:54:in `rescue in open'
     # ./lib/thrift/transport/socket.rb:36:in `open'
     # ./lib/thrift/transport/framed_transport.rb:37:in `open'
     # ./spec/nonblocking_server_spec.rb:68:in `open'
     # ./spec/nonblocking_server_spec.rb:140:in `setup_client'
     # ./spec/nonblocking_server_spec.rb:190:in `block (5 levels) in <top 
(required)>'

  3) NonblockingServer Thrift::NonblockingServer should handle messages from 
more than 5 long-lived connections
     Failure/Error: [[email protected]
     Thrift::TransportException:
       Could not connect to localhost:43251: Connection refused - 
connect(2)
     # ./lib/thrift/transport/socket.rb:54:in `rescue in open'
     # ./lib/thrift/transport/socket.rb:36:in `open'
     # ./lib/thrift/transport/framed_transport.rb:37:in `open'
     # ./spec/nonblocking_server_spec.rb:68:in `open'
     # ./spec/nonblocking_server_spec.rb:140:in `setup_client'
     # ./spec/nonblocking_server_spec.rb:190:in `block (5 levels) in <top 
(required)>'

  4) NonblockingServer Thrift::NonblockingServer should shut down when asked
     Failure/Error: [[email protected]
     Thrift::TransportException:
       Could not connect to localhost:43251: Connection refused - 
connect(2)
     # ./lib/thrift/transport/socket.rb:54:in `rescue in open'
     # ./lib/thrift/transport/socket.rb:36:in `open'
     # ./lib/thrift/transport/framed_transport.rb:37:in `open'
     # ./spec/nonblocking_server_spec.rb:68:in `open'
     # ./spec/nonblocking_server_spec.rb:140:in `setup_client'
     # ./spec/nonblocking_server_spec.rb:190:in `block (5 levels) in <top 
(required)>'

  5) NonblockingServer Thrift::NonblockingServer should continue processing 
active messages when shutting down
     Failure/Error: super
     Errno::EADDRINUSE:
       Address already in use - bind(2)
     # ./lib/thrift/transport/server_socket.rb:40:in `initialize'
     # ./lib/thrift/transport/server_socket.rb:40:in `new'
     # ./lib/thrift/transport/server_socket.rb:40:in `listen'
     # ./spec/nonblocking_server_spec.rb:97:in `listen'
     # ./lib/thrift/server/nonblocking_server.rb:41:in `serve'
     # ./spec/nonblocking_server_spec.rb:116:in `block (4 levels) in <top 
(required)>'

  6) NonblockingServer Thrift::NonblockingServer should kill active messages 
when they don't expire while shutting down
     Failure/Error: super
     Errno::EADDRINUSE:
       Address already in use - bind(2)
     # ./lib/thrift/transport/server_socket.rb:40:in `initialize'
     # ./lib/thrift/transport/server_socket.rb:40:in `new'
     # ./lib/thrift/transport/server_socket.rb:40:in `listen'
     # ./spec/nonblocking_server_spec.rb:97:in `listen'
     # ./lib/thrift/server/nonblocking_server.rb:41:in `serve'
     # ./spec/nonblocking_server_spec.rb:116:in `block (4 levels) in <top 
(required)>'

  7) NonblockingServer Thrift::NonblockingServer should allow shutting down in 
response to a message
     Failure/Error: super
     Errno::EADDRINUSE:
       Address already in use - bind(2)
     # ./lib/thrift/transport/server_socket.rb:40:in `initialize'
     # ./lib/thrift/transport/server_socket.rb:40:in `new'
     # ./lib/thrift/transport/server_socket.rb:40:in `listen'
     # ./spec/nonblocking_server_spec.rb:97:in `listen'
     # ./lib/thrift/server/nonblocking_server.rb:41:in `serve'
     # ./spec/nonblocking_server_spec.rb:116:in `block (4 levels) in <top 
(required)>'

  8) Serializer Thrift::Serializer should serialize structs to binary by default
     Failure/Error: Unable to find matching line from 
backtrace
     NoMethodError:
       undefined method `serve' for nil:NilClass
     # ./spec/nonblocking_server_spec.rb:116:in `block (4 levels) in <top 
(required)>'

  9) Serializer Thrift::Serializer should serialize structs to the given 
protocol
     Failure/Error: Unable to find matching line from 
backtrace
     NoMethodError:
       undefined method `serve' for nil:NilClass
     # ./spec/nonblocking_server_spec.rb:116:in `block (4 levels) in <top 
(required)>'

  10) Serializer Thrift::Deserializer should deserialize structs from binary by 
default
     Failure/Error: Unable to find matching line from 
backtrace
     NoMethodError:
       undefined method `serve' for nil:NilClass
     # ./spec/nonblocking_server_spec.rb:116:in `block (4 levels) in <top 
(required)>'

  11) Serializer Thrift::Deserializer should deserialize structs from the given 
protocol
     Failure/Error: Unable to find matching line from 
backtrace
     NoMethodError:
       undefined method `serve' for nil:NilClass
     # ./spec/nonblocking_server_spec.rb:116:in `block (4 levels) in <top 
(required)>'

Finished in 0.28648 seconds
282 examples, 11 failures, 1 pending

Failed examples:

rspec ./spec/nonblocking_server_spec.rb:177 # NonblockingServer 
Thrift::NonblockingServer should handle basic message passing
rspec ./spec/nonblocking_server_spec.rb:184 # NonblockingServer 
Thrift::NonblockingServer should handle concurrent clients
rspec ./spec/nonblocking_server_spec.rb:202 # NonblockingServer 
Thrift::NonblockingServer should handle messages from more than 5 long-lived 
connections
rspec ./spec/nonblocking_server_spec.rb:227 # NonblockingServer 
Thrift::NonblockingServer should shut down when asked
rspec ./spec/nonblocking_server_spec.rb:235 # NonblockingServer 
Thrift::NonblockingServer should continue processing active messages when 
shutting down
rspec ./spec/nonblocking_server_spec.rb:245 # NonblockingServer 
Thrift::NonblockingServer should kill active messages when they don't expire 
while shutting down
rspec ./spec/nonblocking_server_spec.rb:256 # NonblockingServer 
Thrift::NonblockingServer should allow shutting down in response to a 
message
rspec ./spec/serializer_spec.rb:25 # Serializer 
Thrift::Serializer should serialize structs to binary by default
rspec ./spec/serializer_spec.rb:31 # Serializer 
Thrift::Serializer should serialize structs to the given protocol
rspec ./spec/serializer_spec.rb:47 # Serializer 
Thrift::Deserializer should deserialize structs from binary by default
rspec ./spec/serializer_spec.rb:53 # Serializer 
Thrift::Deserializer should deserialize structs from the given protocol
/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

Reply via email to