[DRE-maint] Bug#890075: ruby-http ftbfs (test failures with 2.5)

Matthias Klose doko at debian.org
Sat Feb 10 20:47:14 UTC 2018


Package: src:ruby-http
Version: 2.2.2-1
Severity: serious

ruby-http ftbfs for 2.5, but not for 2.3 in unstable:

Failures:

  1) HTTP.via anonymous proxy ssl responds with the endpoint's body
     Failure/Error: @socket.connect

     OpenSSL::SSL::SSLError:
       SSL_connect returned=1 errno=0 state=SSLv3/TLS write finished: sslv3
alert unsupported certificate
     # ./lib/http/timeout/null.rb:26:in `connect'
     # ./lib/http/timeout/null.rb:26:in `connect_ssl'
     # ./lib/http/timeout/null.rb:35:in `start_tls'
     # ./lib/http/connection.rb:158:in `start_tls'
     # ./lib/http/connection.rb:44:in `initialize'
     # ./lib/http/client.rb:60:in `new'
     # ./lib/http/client.rb:60:in `perform'
     # ./lib/http/client.rb:41:in `request'
     # ./lib/http/chainable.rb:19:in `get'
     # ./spec/lib/http_spec.rb:115:in `block (5 levels) in <top (required)>'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in
with_around_and_singleton_context_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in
with_around_example_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in
`run_around_example_hooks_for'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in
`with_around_example_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in
`with_around_and_singleton_context_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:628:in `block in
run_examples'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels)
in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels)
in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in
`with_suite_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112:in `run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke'
     # /usr/bin/rspec:4:in `<main>'

  2) HTTP.via anonymous proxy ssl ignores credentials
     Failure/Error: @socket.connect

     OpenSSL::SSL::SSLError:
       SSL_connect returned=1 errno=0 state=SSLv3/TLS write finished: sslv3
alert unsupported certificate
     # ./lib/http/timeout/null.rb:26:in `connect'
     # ./lib/http/timeout/null.rb:26:in `connect_ssl'
     # ./lib/http/timeout/null.rb:35:in `start_tls'
     # ./lib/http/connection.rb:158:in `start_tls'
     # ./lib/http/connection.rb:44:in `initialize'
     # ./lib/http/client.rb:60:in `new'
     # ./lib/http/client.rb:60:in `perform'
     # ./lib/http/client.rb:41:in `request'
     # ./lib/http/chainable.rb:19:in `get'
     # ./spec/lib/http_spec.rb:120:in `block (5 levels) in <top (required)>'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in
with_around_and_singleton_context_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in
with_around_example_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in
`run_around_example_hooks_for'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in
`with_around_example_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in
`with_around_and_singleton_context_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:628:in `block in
run_examples'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels)
in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels)
in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in
`with_suite_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112:in `run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke'
     # /usr/bin/rspec:4:in `<main>'

  3) HTTP.via proxy with authentication ssl responds with the endpoint's body
     Failure/Error: @socket.connect

     OpenSSL::SSL::SSLError:
       SSL_connect returned=1 errno=0 state=SSLv3/TLS write finished: sslv3
alert unsupported certificate
     # ./lib/http/timeout/null.rb:26:in `connect'
     # ./lib/http/timeout/null.rb:26:in `connect_ssl'
     # ./lib/http/timeout/null.rb:35:in `start_tls'
     # ./lib/http/connection.rb:158:in `start_tls'
     # ./lib/http/connection.rb:44:in `initialize'
     # ./lib/http/client.rb:60:in `new'
     # ./lib/http/client.rb:60:in `perform'
     # ./lib/http/client.rb:41:in `request'
     # ./lib/http/chainable.rb:19:in `get'
     # ./spec/lib/http_spec.rb:151:in `block (5 levels) in <top (required)>'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in
with_around_and_singleton_context_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in
with_around_example_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in
`run_around_example_hooks_for'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in
`with_around_example_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in
`with_around_and_singleton_context_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:628:in `block in
run_examples'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels)
in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels)
in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in
`with_suite_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112:in `run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke'
     # /usr/bin/rspec:4:in `<main>'

  4) HTTP::Client working with SSL just works
     Failure/Error: @socket.connect

     OpenSSL::SSL::SSLError:
       SSL_connect returned=1 errno=0 state=SSLv3/TLS write finished: sslv3
alert unsupported certificate
     # ./lib/http/timeout/null.rb:26:in `connect'
     # ./lib/http/timeout/null.rb:26:in `connect_ssl'
     # ./lib/http/timeout/null.rb:35:in `start_tls'
     # ./lib/http/connection.rb:158:in `start_tls'
     # ./lib/http/connection.rb:44:in `initialize'
     # ./lib/http/client.rb:60:in `new'
     # ./lib/http/client.rb:60:in `perform'
     # ./lib/http/client.rb:41:in `request'
     # ./lib/http/chainable.rb:19:in `get'
     # ./spec/lib/http/client_spec.rb:223:in `block (3 levels) in <top (required)>'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in
with_around_and_singleton_context_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in
with_around_example_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in
`run_around_example_hooks_for'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in
`with_around_example_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in
`with_around_and_singleton_context_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:628:in `block in
run_examples'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels)
in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels)
in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in
`with_suite_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112:in `run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke'
     # /usr/bin/rspec:4:in `<main>'

  5) HTTP::Client working with SSL fails with OpenSSL::SSL::SSLError if host
mismatch
     Failure/Error:
       expect { client.get(dummy_ssl.endpoint.gsub("127.0.0.1", "localhost")) }.
         to raise_error(OpenSSL::SSL::SSLError, /does not match/)

       expected OpenSSL::SSL::SSLError with message matching /does not match/,
got #<OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3/TLS
write finished: sslv3 alert unsupported certificate> with backtrace:
         # ./lib/http/timeout/null.rb:26:in `connect'
         # ./lib/http/timeout/null.rb:26:in `connect_ssl'
         # ./lib/http/timeout/null.rb:35:in `start_tls'
         # ./lib/http/connection.rb:158:in `start_tls'
         # ./lib/http/connection.rb:44:in `initialize'
         # ./lib/http/client.rb:60:in `new'
         # ./lib/http/client.rb:60:in `perform'
         # ./lib/http/client.rb:41:in `request'
         # ./lib/http/chainable.rb:19:in `get'
         # ./spec/lib/http/client_spec.rb:228:in `block (4 levels) in <top
(required)>'
         #
/usr/lib/ruby/vendor_ruby/rspec/matchers/built_in/raise_error.rb:52:in `matches?'
         # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:50:in `block
in handle_matcher'
         # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:27:in
`with_matcher'
         # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:48:in
`handle_matcher'
         #
/usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:65:in `to'
         #
/usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:101:in `to'
         # ./spec/lib/http/client_spec.rb:228:in `block (3 levels) in <top
(required)>'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in
with_around_and_singleton_context_hooks'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in
with_around_example_hooks'
         # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `block in run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in
`run_around_example_hooks_for'
         # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in
`with_around_example_hooks'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in
`with_around_and_singleton_context_hooks'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:628:in `block
in run_examples'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in
`run_examples'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block
in run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3
levels) in run_specs'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2
levels) in run_specs'
         # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in
`with_suite_hooks'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in
run_specs'
         # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112:in `run_specs'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke'
         # /usr/bin/rspec:4:in `<main>'
     # /usr/lib/ruby/vendor_ruby/rspec/support.rb:97:in `block in <module:Support>'
     # /usr/lib/ruby/vendor_ruby/rspec/support.rb:106:in `notify_failure'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/fail_with.rb:35:in `fail_with'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:40:in
`handle_failure'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:50:in `block in
handle_matcher'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:27:in `with_matcher'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:48:in
`handle_matcher'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:65:in `to'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:101:in
`to'
     # ./spec/lib/http/client_spec.rb:228:in `block (3 levels) in <top (required)>'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in
with_around_and_singleton_context_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in
with_around_example_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in
`run_around_example_hooks_for'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in
`with_around_example_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in
`with_around_and_singleton_context_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:628:in `block in
run_examples'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels)
in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels)
in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in
`with_suite_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112:in `run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke'
     # /usr/bin/rspec:4:in `<main>'

  6) HTTP::Client working with SSL timeouts with a per operation timeout works
     Failure/Error: @socket.connect_nonblock

     OpenSSL::SSL::SSLError:
       SSL_connect returned=1 errno=0 state=SSLv3/TLS write finished: sslv3
alert unsupported certificate
     Shared Example Group: "HTTP handling" called from
./spec/lib/http/client_spec.rb:218
     # ./lib/http/timeout/per_operation.rb:33:in `connect_nonblock'
     # ./lib/http/timeout/per_operation.rb:33:in `block (2 levels) in connect_ssl'
     # ./lib/http/timeout/null.rb:67:in `rescue_writable'
     # ./lib/http/timeout/per_operation.rb:32:in `block in connect_ssl'
     # ./lib/http/timeout/null.rb:59:in `rescue_readable'
     # ./lib/http/timeout/per_operation.rb:31:in `connect_ssl'
     # ./lib/http/timeout/null.rb:35:in `start_tls'
     # ./lib/http/connection.rb:158:in `start_tls'
     # ./lib/http/connection.rb:44:in `initialize'
     # ./lib/http/client.rb:60:in `new'
     # ./lib/http/client.rb:60:in `perform'
     # ./lib/http/client.rb:41:in `request'
     # ./lib/http/chainable.rb:19:in `get'
     # ./spec/support/http_handling_shared.rb:33:in `block (4 levels) in <top
(required)>'
     # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:298:in `block (2
levels) in let'
     # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:157:in `block (3
levels) in fetch_or_store'
     # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:157:in `fetch'
     # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:157:in `block (2
levels) in fetch_or_store'
     # /usr/lib/ruby/vendor_ruby/rspec/support/reentrant_mutex.rb:23:in
`synchronize'
     # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:156:in `block in
fetch_or_store'
     # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:155:in `fetch'
     # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:155:in
`fetch_or_store'
     # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:298:in `block in
let'
     # ./spec/support/http_handling_shared.rb:36:in `block (4 levels) in <top
(required)>'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in
with_around_and_singleton_context_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in
with_around_example_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in
`run_around_example_hooks_for'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in
`with_around_example_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in
`with_around_and_singleton_context_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:628:in `block in
run_examples'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels)
in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels)
in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in
`with_suite_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112:in `run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke'
     # /usr/bin/rspec:4:in `<main>'

  7) HTTP::Client working with SSL timeouts with a per operation timeout
connection of 1 does not time out
     Failure/Error: expect { response }.to_not raise_error

       expected no Exception, got #<OpenSSL::SSL::SSLError: SSL_connect
returned=1 errno=0 state=SSLv3/TLS write finished: sslv3 alert unsupported
certificate> with backtrace:
         # ./lib/http/timeout/per_operation.rb:33:in `connect_nonblock'
         # ./lib/http/timeout/per_operation.rb:33:in `block (2 levels) in
connect_ssl'
         # ./lib/http/timeout/null.rb:67:in `rescue_writable'
         # ./lib/http/timeout/per_operation.rb:32:in `block in connect_ssl'
         # ./lib/http/timeout/null.rb:59:in `rescue_readable'
         # ./lib/http/timeout/per_operation.rb:31:in `connect_ssl'
         # ./lib/http/timeout/null.rb:35:in `start_tls'
         # ./lib/http/connection.rb:158:in `start_tls'
         # ./lib/http/connection.rb:44:in `initialize'
         # ./lib/http/client.rb:60:in `new'
         # ./lib/http/client.rb:60:in `perform'
         # ./lib/http/client.rb:41:in `request'
         # ./lib/http/chainable.rb:19:in `get'
         # ./spec/support/http_handling_shared.rb:33:in `block (4 levels) in
<top (required)>'
         # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:298:in
`block (2 levels) in let'
         # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:157:in
`block (3 levels) in fetch_or_store'
         # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:157:in `fetch'
         # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:157:in
`block (2 levels) in fetch_or_store'
         # /usr/lib/ruby/vendor_ruby/rspec/support/reentrant_mutex.rb:23:in
`synchronize'
         # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:156:in
`block in fetch_or_store'
         # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:155:in `fetch'
         # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:155:in
`fetch_or_store'
         # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:298:in
`block in let'
         # ./spec/support/http_handling_shared.rb:44:in `block (7 levels) in
<top (required)>'
         #
/usr/lib/ruby/vendor_ruby/rspec/matchers/built_in/raise_error.rb:52:in `matches?'
         #
/usr/lib/ruby/vendor_ruby/rspec/matchers/built_in/raise_error.rb:71:in
`does_not_match?'
         # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:78:in
`does_not_match?'
         # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:72:in `block
in handle_matcher'
         # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:27:in
`with_matcher'
         # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:70:in
`handle_matcher'
         #
/usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:78:in `not_to'
         #
/usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:106:in `not_to'
         # ./spec/support/http_handling_shared.rb:44:in `block (6 levels) in
<top (required)>'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in
with_around_and_singleton_context_hooks'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in
with_around_example_hooks'
         # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `block in run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in
`run_around_example_hooks_for'
         # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in
`with_around_example_hooks'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in
`with_around_and_singleton_context_hooks'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:628:in `block
in run_examples'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in
`run_examples'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block
in run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block
in run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block
in run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block
in run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block
in run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3
levels) in run_specs'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2
levels) in run_specs'
         # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in
`with_suite_hooks'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in
run_specs'
         # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112:in `run_specs'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke'
         # /usr/bin/rspec:4:in `<main>'
     Shared Example Group: "HTTP handling" called from
./spec/lib/http/client_spec.rb:218
     # /usr/lib/ruby/vendor_ruby/rspec/support.rb:97:in `block in <module:Support>'
     # /usr/lib/ruby/vendor_ruby/rspec/support.rb:106:in `notify_failure'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/fail_with.rb:35:in `fail_with'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:40:in
`handle_failure'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:72:in `block in
handle_matcher'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:27:in `with_matcher'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:70:in
`handle_matcher'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:78:in
`not_to'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:106:in
`not_to'
     # ./spec/support/http_handling_shared.rb:44:in `block (6 levels) in <top
(required)>'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in
with_around_and_singleton_context_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in
with_around_example_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in
`run_around_example_hooks_for'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in
`with_around_example_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in
`with_around_and_singleton_context_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:628:in `block in
run_examples'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels)
in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels)
in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in
`with_suite_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112:in `run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke'
     # /usr/bin/rspec:4:in `<main>'

  8) HTTP::Client working with SSL timeouts with a per operation timeout read of
2.5 does not time out
     Failure/Error: expect { client.get("#{server.endpoint}/sleep").body.to_s
}.to_not raise_error

       expected no Exception, got #<OpenSSL::SSL::SSLError: SSL_connect
returned=1 errno=0 state=SSLv3/TLS write finished: sslv3 alert unsupported
certificate> with backtrace:
         # ./lib/http/timeout/per_operation.rb:33:in `connect_nonblock'
         # ./lib/http/timeout/per_operation.rb:33:in `block (2 levels) in
connect_ssl'
         # ./lib/http/timeout/null.rb:67:in `rescue_writable'
         # ./lib/http/timeout/per_operation.rb:32:in `block in connect_ssl'
         # ./lib/http/timeout/null.rb:59:in `rescue_readable'
         # ./lib/http/timeout/per_operation.rb:31:in `connect_ssl'
         # ./lib/http/timeout/null.rb:35:in `start_tls'
         # ./lib/http/connection.rb:158:in `start_tls'
         # ./lib/http/connection.rb:44:in `initialize'
         # ./lib/http/client.rb:60:in `new'
         # ./lib/http/client.rb:60:in `perform'
         # ./lib/http/client.rb:41:in `request'
         # ./lib/http/chainable.rb:19:in `get'
         # ./spec/support/http_handling_shared.rb:62:in `block (7 levels) in
<top (required)>'
         #
/usr/lib/ruby/vendor_ruby/rspec/matchers/built_in/raise_error.rb:52:in `matches?'
         #
/usr/lib/ruby/vendor_ruby/rspec/matchers/built_in/raise_error.rb:71:in
`does_not_match?'
         # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:78:in
`does_not_match?'
         # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:72:in `block
in handle_matcher'
         # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:27:in
`with_matcher'
         # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:70:in
`handle_matcher'
         #
/usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:78:in `not_to'
         #
/usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:106:in `not_to'
         # ./spec/support/http_handling_shared.rb:62:in `block (6 levels) in
<top (required)>'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in
with_around_and_singleton_context_hooks'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in
with_around_example_hooks'
         # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `block in run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in
`run_around_example_hooks_for'
         # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in
`with_around_example_hooks'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in
`with_around_and_singleton_context_hooks'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:628:in `block
in run_examples'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in
`run_examples'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block
in run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block
in run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block
in run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block
in run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block
in run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3
levels) in run_specs'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2
levels) in run_specs'
         # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in
`with_suite_hooks'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in
run_specs'
         # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112:in `run_specs'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke'
         # /usr/bin/rspec:4:in `<main>'
     Shared Example Group: "HTTP handling" called from
./spec/lib/http/client_spec.rb:218
     # /usr/lib/ruby/vendor_ruby/rspec/support.rb:97:in `block in <module:Support>'
     # /usr/lib/ruby/vendor_ruby/rspec/support.rb:106:in `notify_failure'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/fail_with.rb:35:in `fail_with'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:40:in
`handle_failure'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:72:in `block in
handle_matcher'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:27:in `with_matcher'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:70:in
`handle_matcher'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:78:in
`not_to'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:106:in
`not_to'
     # ./spec/support/http_handling_shared.rb:62:in `block (6 levels) in <top
(required)>'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in
with_around_and_singleton_context_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in
with_around_example_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in
`run_around_example_hooks_for'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in
`with_around_example_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in
`with_around_and_singleton_context_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:628:in `block in
run_examples'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels)
in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels)
in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in
`with_suite_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112:in `run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke'
     # /usr/bin/rspec:4:in `<main>'

  9) HTTP::Client working with SSL timeouts with a per operation timeout read of
0 times out
     Failure/Error: expect { response }.to raise_error(HTTP::TimeoutError, /Read/i)

       expected HTTP::TimeoutError with message matching /Read/i, got
#<OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3/TLS write
finished: sslv3 alert unsupported certificate> with backtrace:
         # ./lib/http/timeout/per_operation.rb:33:in `connect_nonblock'
         # ./lib/http/timeout/per_operation.rb:33:in `block (2 levels) in
connect_ssl'
         # ./lib/http/timeout/null.rb:67:in `rescue_writable'
         # ./lib/http/timeout/per_operation.rb:32:in `block in connect_ssl'
         # ./lib/http/timeout/null.rb:59:in `rescue_readable'
         # ./lib/http/timeout/per_operation.rb:31:in `connect_ssl'
         # ./lib/http/timeout/null.rb:35:in `start_tls'
         # ./lib/http/connection.rb:158:in `start_tls'
         # ./lib/http/connection.rb:44:in `initialize'
         # ./lib/http/client.rb:60:in `new'
         # ./lib/http/client.rb:60:in `perform'
         # ./lib/http/client.rb:41:in `request'
         # ./lib/http/chainable.rb:19:in `get'
         # ./spec/support/http_handling_shared.rb:33:in `block (4 levels) in
<top (required)>'
         # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:298:in
`block (2 levels) in let'
         # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:157:in
`block (3 levels) in fetch_or_store'
         # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:157:in `fetch'
         # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:157:in
`block (2 levels) in fetch_or_store'
         # /usr/lib/ruby/vendor_ruby/rspec/support/reentrant_mutex.rb:23:in
`synchronize'
         # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:156:in
`block in fetch_or_store'
         # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:155:in `fetch'
         # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:155:in
`fetch_or_store'
         # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:298:in
`block in let'
         # ./spec/support/http_handling_shared.rb:54:in `block (7 levels) in
<top (required)>'
         #
/usr/lib/ruby/vendor_ruby/rspec/matchers/built_in/raise_error.rb:52:in `matches?'
         # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:50:in `block
in handle_matcher'
         # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:27:in
`with_matcher'
         # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:48:in
`handle_matcher'
         #
/usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:65:in `to'
         #
/usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:101:in `to'
         # ./spec/support/http_handling_shared.rb:54:in `block (6 levels) in
<top (required)>'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in
with_around_and_singleton_context_hooks'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in
with_around_example_hooks'
         # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `block in run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in
`run_around_example_hooks_for'
         # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in
`with_around_example_hooks'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in
`with_around_and_singleton_context_hooks'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:628:in `block
in run_examples'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in
`run_examples'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block
in run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block
in run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block
in run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block
in run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block
in run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
         # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3
levels) in run_specs'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2
levels) in run_specs'
         # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in
`with_suite_hooks'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in
run_specs'
         # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112:in `run_specs'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run'
         # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke'
         # /usr/bin/rspec:4:in `<main>'
     Shared Example Group: "HTTP handling" called from
./spec/lib/http/client_spec.rb:218
     # /usr/lib/ruby/vendor_ruby/rspec/support.rb:97:in `block in <module:Support>'
     # /usr/lib/ruby/vendor_ruby/rspec/support.rb:106:in `notify_failure'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/fail_with.rb:35:in `fail_with'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:40:in
`handle_failure'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:50:in `block in
handle_matcher'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:27:in `with_matcher'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:48:in
`handle_matcher'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:65:in `to'
     # /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:101:in
`to'
     # ./spec/support/http_handling_shared.rb:54:in `block (6 levels) in <top
(required)>'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in
with_around_and_singleton_context_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in
with_around_example_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in
`run_around_example_hooks_for'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in
`with_around_example_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in
`with_around_and_singleton_context_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:628:in `block in
run_examples'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels)
in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels)
in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in
`with_suite_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112:in `run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke'
     # /usr/bin/rspec:4:in `<main>'

  10) HTTP::Client working with SSL timeouts with a global timeout errors if
reading takes too long
      Failure/Error:
        expect { client.get("#{server.endpoint}/sleep").body.to_s }.
          to raise_error(HTTP::TimeoutError, /Timed out/)

        expected HTTP::TimeoutError with message matching /Timed out/, got
#<OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3/TLS write
finished: sslv3 alert unsupported certificate> with backtrace:
          # ./lib/http/timeout/global.rb:37:in `connect_nonblock'
          # ./lib/http/timeout/global.rb:37:in `connect_ssl'
          # ./lib/http/timeout/null.rb:35:in `start_tls'
          # ./lib/http/connection.rb:158:in `start_tls'
          # ./lib/http/connection.rb:44:in `initialize'
          # ./lib/http/client.rb:60:in `new'
          # ./lib/http/client.rb:60:in `perform'
          # ./lib/http/client.rb:41:in `request'
          # ./lib/http/chainable.rb:19:in `get'
          # ./spec/support/http_handling_shared.rb:86:in `block (5 levels) in
<top (required)>'
          #
/usr/lib/ruby/vendor_ruby/rspec/matchers/built_in/raise_error.rb:52:in `matches?'
          # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:50:in `block
in handle_matcher'
          # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:27:in
`with_matcher'
          # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:48:in
`handle_matcher'
          #
/usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:65:in `to'
          #
/usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:101:in `to'
          # ./spec/support/http_handling_shared.rb:86:in `block (4 levels) in
<top (required)>'
          # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec'
          # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run'
          # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in
with_around_and_singleton_context_hooks'
          # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in
with_around_example_hooks'
          # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `block in run'
          # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in
`run_around_example_hooks_for'
          # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `run'
          # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in
`with_around_example_hooks'
          # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in
`with_around_and_singleton_context_hooks'
          # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run'
          # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:628:in `block
in run_examples'
          # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map'
          # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in
`run_examples'
          # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run'
          # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block
in run'
          # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
          # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
          # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block
in run'
          # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
          # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
          # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block
in run'
          # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
          # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
          # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3
levels) in run_specs'
          # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map'
          # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2
levels) in run_specs'
          # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in
`with_suite_hooks'
          # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in
run_specs'
          # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report'
          # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112:in `run_specs'
          # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run'
          # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run'
          # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke'
          # /usr/bin/rspec:4:in `<main>'
      Shared Example Group: "HTTP handling" called from
./spec/lib/http/client_spec.rb:218
      # /usr/lib/ruby/vendor_ruby/rspec/support.rb:97:in `block in <module:Support>'
      # /usr/lib/ruby/vendor_ruby/rspec/support.rb:106:in `notify_failure'
      # /usr/lib/ruby/vendor_ruby/rspec/expectations/fail_with.rb:35:in `fail_with'
      # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:40:in
`handle_failure'
      # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:50:in `block in
handle_matcher'
      # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:27:in `with_matcher'
      # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:48:in
`handle_matcher'
      # /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:65:in
`to'
      #
/usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:101:in `to'
      # ./spec/support/http_handling_shared.rb:86:in `block (4 levels) in <top
(required)>'
      # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec'
      # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run'
      # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in
with_around_and_singleton_context_hooks'
      # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in
with_around_example_hooks'
      # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `block in run'
      # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in
`run_around_example_hooks_for'
      # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `run'
      # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in
`with_around_example_hooks'
      # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in
`with_around_and_singleton_context_hooks'
      # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run'
      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:628:in `block in
run_examples'
      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map'
      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples'
      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run'
      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
      # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels)
in run_specs'
      # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map'
      # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels)
in run_specs'
      # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in
`with_suite_hooks'
      # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs'
      # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report'
      # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112:in `run_specs'
      # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run'
      # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run'
      # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke'
      # /usr/bin/rspec:4:in `<main>'

  11) HTTP::Client working with SSL timeouts with a global timeout it resets
state when reusing connections does not timeout
      Failure/Error: @socket.connect_nonblock

      OpenSSL::SSL::SSLError:
        SSL_connect returned=1 errno=0 state=SSLv3/TLS write finished: sslv3
alert unsupported certificate
      Shared Example Group: "HTTP handling" called from
./spec/lib/http/client_spec.rb:218
      # ./lib/http/timeout/global.rb:37:in `connect_nonblock'
      # ./lib/http/timeout/global.rb:37:in `connect_ssl'
      # ./lib/http/timeout/null.rb:35:in `start_tls'
      # ./lib/http/connection.rb:158:in `start_tls'
      # ./lib/http/connection.rb:44:in `initialize'
      # ./lib/http/client.rb:60:in `new'
      # ./lib/http/client.rb:60:in `perform'
      # ./lib/http/client.rb:41:in `request'
      # ./lib/http/chainable.rb:19:in `get'
      # ./spec/support/http_handling_shared.rb:96:in `block (5 levels) in <top
(required)>'
      # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec'
      # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run'
      # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in
with_around_and_singleton_context_hooks'



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