[DRE-maint] Bug#746104: ruby-faraday-middleware: FTBFS: ERROR: Test "ruby2.0" failed

David Suárez david.sephirot at gmail.com
Sun Apr 27 12:22:14 UTC 2014


Source: ruby-faraday-middleware
Version: 0.9.0-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140426 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
>      NoMethodError:
>        undefined method `parse_body?' for {:body=>[123, {"username"=>"sferik"}, 456]}:Hash
>      # /usr/lib/ruby/vendor_ruby/faraday/response.rb:16:in `on_complete'
>      # ./spec/rashify_spec.rb:44:in `block (3 levels) in <top (required)>'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:114:in `instance_eval'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:114:in `block in run'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `with_around_each_hooks'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:111:in `run'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:390:in `block in run_examples'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:386:in `map'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:386:in `run_examples'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:371:in `run'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:372:in `block in run'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:372:in `map'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:372:in `run'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/command_line.rb:28:in `block (2 levels) in run'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/command_line.rb:28:in `map'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/command_line.rb:28:in `block in run'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:58:in `report'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/command_line.rb:25:in `run'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:80:in `run'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:17:in `block in autorun'
> 
> Finished in 0.18195 seconds
> 176 examples, 50 failures
> 
> Failed examples:
> 
> rspec ./spec/chunked_spec.rb:42 # FaradayMiddleware::Chunked transfer-encoding chunked doesn't change an empty body
> rspec ./spec/chunked_spec.rb:46 # FaradayMiddleware::Chunked transfer-encoding chunked parses a basic chunked body
> rspec ./spec/chunked_spec.rb:50 # FaradayMiddleware::Chunked transfer-encoding chunked parses a chunked body with no ending chunk
> rspec ./spec/chunked_spec.rb:54 # FaradayMiddleware::Chunked transfer-encoding chunked parses a chunked body with no trailing CRLF on the data chunk
> rspec ./spec/chunked_spec.rb:58 # FaradayMiddleware::Chunked transfer-encoding chunked parses a chunked body with an extension
> rspec ./spec/chunked_spec.rb:62 # FaradayMiddleware::Chunked transfer-encoding chunked parses a chunked body with two extensions
> rspec ./spec/chunked_spec.rb:66 # FaradayMiddleware::Chunked transfer-encoding chunked parses a chunked body with two chunks
> rspec ./spec/chunked_spec.rb:74 # FaradayMiddleware::Chunked transfer-encoding chunked,chunked parses a basic chunked body
> rspec ./spec/mashify_spec.rb:16 # FaradayMiddleware::Mashify when used creates a Hashie::Mash from the body
> rspec ./spec/mashify_spec.rb:22 # FaradayMiddleware::Mashify when used handles strings
> rspec ./spec/mashify_spec.rb:28 # FaradayMiddleware::Mashify when used handles arrays
> rspec ./spec/mashify_spec.rb:35 # FaradayMiddleware::Mashify when used handles arrays of hashes
> rspec ./spec/mashify_spec.rb:42 # FaradayMiddleware::Mashify when used handles nested arrays of hashes
> rspec ./spec/mashify_spec.rb:49 # FaradayMiddleware::Mashify when used handles mixed arrays
> rspec ./spec/mashify_spec.rb:57 # FaradayMiddleware::Mashify when used allows for use of custom Mash subclasses at the class level
> rspec ./spec/mashify_spec.rb:67 # FaradayMiddleware::Mashify when used allows for use of custom Mash subclasses at the instance level
> rspec ./spec/oauth2_spec.rb:65 # FaradayMiddleware::OAuth2 default token configured clears default with empty explicit token
> rspec ./spec/parse_json_spec.rb:63 # FaradayMiddleware::ParseJson chokes on invalid json
> rspec ./spec/parse_json_spec.rb:10 # FaradayMiddleware::ParseJson no type matching nullifies empty body
> rspec ./spec/parse_json_spec.rb:14 # FaradayMiddleware::ParseJson no type matching parses json body
> rspec ./spec/parse_json_spec.rb:24 # FaradayMiddleware::ParseJson with preserving raw parses json body
> rspec ./spec/parse_json_spec.rb:30 # FaradayMiddleware::ParseJson with preserving raw can opt out of preserving raw
> rspec ./spec/parse_json_spec.rb:39 # FaradayMiddleware::ParseJson with regexp type matching parses json body of correct type
> rspec ./spec/parse_json_spec.rb:53 # FaradayMiddleware::ParseJson with array type matching parses json body of correct type
> rspec ./spec/parse_json_spec.rb:88 # FaradayMiddleware::ParseJson with mime type fix corrects compatible type and data
> rspec ./spec/parse_json_spec.rb:94 # FaradayMiddleware::ParseJson with mime type fix corrects compatible type even when data starts with whitespace
> rspec ./spec/parse_json_spec.rb:102 # FaradayMiddleware::ParseJson HEAD responses nullifies the body if it's only one space
> rspec ./spec/parse_json_spec.rb:107 # FaradayMiddleware::ParseJson HEAD responses nullifies the body if it's two spaces
> rspec ./spec/parse_marshal_spec.rb:5 # FaradayMiddleware::ParseMarshal restores a marshaled dump
> rspec ./spec/parse_marshal_spec.rb:9 # FaradayMiddleware::ParseMarshal nulifies blank response
> rspec ./spec/parse_marshal_spec.rb:13 # FaradayMiddleware::ParseMarshal chokes on invalid content
> rspec ./spec/parse_xml_spec.rb:66 # FaradayMiddleware::ParseXml chokes on invalid xml
> rspec ./spec/parse_xml_spec.rb:13 # FaradayMiddleware::ParseXml no type matching turns empty body into empty hash
> rspec ./spec/parse_xml_spec.rb:17 # FaradayMiddleware::ParseXml no type matching parses xml body
> rspec ./spec/parse_xml_spec.rb:27 # FaradayMiddleware::ParseXml with preserving raw parses xml body
> rspec ./spec/parse_xml_spec.rb:33 # FaradayMiddleware::ParseXml with preserving raw can opt out of preserving raw
> rspec ./spec/parse_xml_spec.rb:42 # FaradayMiddleware::ParseXml with regexp type matching parses xml body of correct type
> rspec ./spec/parse_xml_spec.rb:56 # FaradayMiddleware::ParseXml with array type matching parses xml body of correct type
> rspec ./spec/parse_yaml_spec.rb:50 # FaradayMiddleware::ParseYaml chokes on invalid yaml
> rspec ./spec/parse_yaml_spec.rb:10 # FaradayMiddleware::ParseYaml no type matching returns false for empty body
> rspec ./spec/parse_yaml_spec.rb:14 # FaradayMiddleware::ParseYaml no type matching parses yaml body
> rspec ./spec/parse_yaml_spec.rb:24 # FaradayMiddleware::ParseYaml with preserving raw parses yaml body
> rspec ./spec/parse_yaml_spec.rb:30 # FaradayMiddleware::ParseYaml with preserving raw can opt out of preserving raw
> rspec ./spec/parse_yaml_spec.rb:39 # FaradayMiddleware::ParseYaml with regexp type matching parses json body of correct type
> rspec ./spec/rashify_spec.rb:9 # FaradayMiddleware::Rashify when used creates a Hashie::Rash from the body
> rspec ./spec/rashify_spec.rb:15 # FaradayMiddleware::Rashify when used handles strings
> rspec ./spec/rashify_spec.rb:21 # FaradayMiddleware::Rashify when used handles hashes and decamelcase the keys
> rspec ./spec/rashify_spec.rb:28 # FaradayMiddleware::Rashify when used handles arrays
> rspec ./spec/rashify_spec.rb:35 # FaradayMiddleware::Rashify when used handles arrays of hashes
> rspec ./spec/rashify_spec.rb:42 # FaradayMiddleware::Rashify when used handles mixed arrays
> /usr/bin/ruby2.0 -S rspec ./spec/chunked_spec.rb ./spec/encode_json_spec.rb ./spec/follow_redirects_spec.rb ./spec/mashify_spec.rb ./spec/method_override_spec.rb ./spec/oauth2_spec.rb ./spec/oauth_spec.rb ./spec/parse_dates_spec.rb ./spec/parse_json_spec.rb ./spec/parse_marshal_spec.rb ./spec/parse_xml_spec.rb ./spec/parse_yaml_spec.rb ./spec/rashify_spec.rb failed
> ERROR: Test "ruby2.0" failed: 

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/04/26/ruby-faraday-middleware_0.9.0-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-ruby-extras-maintainers mailing list