[DRE-maint] Bug#954731: vcr FTBFS with ruby-excon 0.72 currently in experimental

Pirate Praveen praveen at onenetbeyond.org
Sun Mar 22 15:56:39 GMT 2020


Package: ruby-vcr
Version: 4.0.0-2
Severity: important

Failures:

  1) Excon hook behaves like a hook into an HTTP library using Excon 
.stub_requests using specific match_attributes :headers returns the 
expected response for a {"X-Http-Header1"=>"val1"} request
     Failure/Error: raise 
VCR::Errors::UnhandledHTTPRequestError.new(vcr_request)

     VCR::Errors::UnhandledHTTPRequestError:


       
================================================================================
       An HTTP request has been made that VCR does not know how to 
handle:
         GET http://wrong-domain.com/wrong/path

       There is currently no cassette in use. There are a few ways
       you can configure VCR to handle this request:

         * If you're surprised VCR is raising this error
           and want insight about how VCR attempted to handle the 
request,
           you can use the debug_logger configuration option to log 
more details [1].
         * If you want VCR to record this request and play it back 
during future test
           runs, you should wrap your test (or this portion of your 
test) in a
           `VCR.use_cassette` block [2].
         * If you only want VCR to handle requests made while a 
cassette is in use,
           configure `allow_http_connections_when_no_cassette = true`. 
VCR will
           ignore this request since it is made when there is no 
cassette [3].
         * If you want VCR to ignore this request (and others like it), 
you can
           set an `ignore_request` callback [4].

       [1] 
https://www.relishapp.com/vcr/vcr/v/4-0-0/docs/configuration/debug-logging
       [2] 
https://www.relishapp.com/vcr/vcr/v/4-0-0/docs/getting-started
       [3] 
https://www.relishapp.com/vcr/vcr/v/4-0-0/docs/configuration/allow-http-connections-when-no-cassette
       [4] 
https://www.relishapp.com/vcr/vcr/v/4-0-0/docs/configuration/ignore-request
       
================================================================================
     Shared Example Group: "a hook into an HTTP library" called from 
./spec/lib/vcr/library_hooks/excon_spec.rb:15
     # ./lib/vcr/request_handler.rb:97:in `on_unhandled_request'
     # ./lib/vcr/request_handler.rb:24:in `handle'
     # ./lib/vcr/middleware/excon.rb:68:in `before_request'
     # ./lib/vcr/middleware/excon.rb:20:in `request_call'
     # ./spec/support/http_library_adapters.rb:226:in 
`make_http_request'
     # 
./spec/support/shared_example_groups/hook_into_http_library.rb:471:in 
`make_http_request'
     # 
./spec/support/shared_example_groups/hook_into_http_library.rb:429:in 
`block (3 levels) in matching_on'

full log attached

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-vcr.log
Type: text/x-log
Size: 270386 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20200322/7f031b91/attachment.bin>


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