[DRE-maint] Bug#752944: ruby-webmock: FTBFS - 210 tests failing

Michael Tautschnig mt at debian.org
Fri Jun 27 23:59:04 UTC 2014


Package: ruby-webmock
Version: 1.17.4-2
Severity: serious
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error.

[...]
Running tests for ruby2.1 using debian/ruby-tests.rake ...
/usr/bin/ruby2.1 -S rspec spec/acceptance/curb/curb_spec.rb spec/acceptance/em_http_request/em_http_request_spec.rb spec/acceptance/excon/excon_spec.rb spec/acceptance/http_gem/http_gem_spec.rb spec/acceptance/httpclient/httpclient_spec.rb spec/acceptance/net_http/net_http_spec.rb spec/acceptance/net_http/real_net_http_spec.rb spec/acceptance/typhoeus/typhoeus_hydra_spec.rb spec/quality_spec.rb spec/unit/api_spec.rb spec/unit/errors_spec.rb spec/unit/http_lib_adapters/http_lib_adapter_registry_spec.rb spec/unit/http_lib_adapters/http_lib_adapter_spec.rb spec/unit/matchers/hash_including_matcher_spec.rb spec/unit/rack_response_spec.rb spec/unit/request_execution_verifier_spec.rb spec/unit/request_pattern_spec.rb spec/unit/request_registry_spec.rb spec/unit/request_signature_spec.rb spec/unit/request_stub_spec.rb spec/unit/response_spec.rb spec/unit/stub_registry_spec.rb spec/unit/stub_request_snippet_spec.rb spec/unit/util/hash_counter_spec.rb spec/unit/util/hash_keys_stringifier_spec.rb spec/unit/util/headers_spec.rb spec/unit/util/json_spec.rb spec/unit/util/query_mapper_spec.rb spec/unit/util/uri_spec.rb spec/unit/util/version_checker_spec.rb spec/unit/webmock_spec.rb -c -f progress -r ./spec/spec_helper.rb
Run options:
  include {:focus=>true}
  exclude {:without_webmock=>true}

All examples were filtered out; ignoring {:focus=>true}
[...]
Failures:

  1) HTTP Gem with WebMock allows a response with multiple values for the same header to be recorded and played back exactly as-is
     Failure/Error: real_response = http_request(:get, webmock_server_url)
     NoMethodError:
       undefined method `response' for #<HTTP::Response:0x00000007d9abc8>
     # ./spec/acceptance/http_gem/http_gem_spec_helper.rb:7:in `http_request'
     # ./spec/acceptance/shared/complex_cross_concern_behaviors.rb:7:in `block (2 levels) in <top (required)>'


(and 209 further failures follow)


The full build log is attached; please do let me know if the problem is
unreproducible, in which case I shall try to investigate further.

Best,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-webmock-build-log.txt.gz
Type: application/x-gunzip
Size: 21507 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20140628/fc5638f5/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20140628/fc5638f5/attachment-0001.sig>


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