Your message dated Thu, 09 Apr 2020 21:49:44 +0000 with message-id <[email protected]> and subject line Bug#890075: fixed in ruby-http 4.4.1-1 has caused the Debian Bug report #890075, regarding ruby-http ftbfs (test failures with 2.5) to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 890075: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890075 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---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'
--- End Message ---
--- Begin Message ---Source: ruby-http Source-Version: 4.4.1-1 Done: Utkarsh Gupta <[email protected]> We believe that the bug you reported is fixed in the latest version of ruby-http, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Utkarsh Gupta <[email protected]> (supplier of updated ruby-http package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Fri, 10 Apr 2020 02:54:16 +0530 Source: ruby-http Architecture: source Version: 4.4.1-1 Distribution: unstable Urgency: medium Maintainer: Debian Ruby Extras Maintainers <[email protected]> Changed-By: Utkarsh Gupta <[email protected]> Closes: 858140 890075 Changes: ruby-http (4.4.1-1) unstable; urgency=medium . * New upstream version 4.4.1 - Fixes test failures (Closes: #890075) * Replace ruby-http-parser.rb with ruby-http-parser * Tighten dependency on ruby-http-form-data * Remove unnecessary Breaks * Refresh d/patches - Don't access internet during build (Closes: #858140) * Re-enable tests * Fix package wrt cme * Drop runtime dependency on ruby interpreter * Add myself as an uploader * Add salsa-ci.yml * Add Breaks for ruby-twitter Checksums-Sha1: 38cd4764de2f89e8e1ae60b5b9e207605137bca1 2227 ruby-http_4.4.1-1.dsc 1300b61353f8ac3c97d6c0f7002ec4c989be884e 73401 ruby-http_4.4.1.orig.tar.gz b7bb8511a7427aa23fe21f7abc7cd7a9023fcfdb 4824 ruby-http_4.4.1-1.debian.tar.xz 72cc8d784164c66a8c96c2663529aa0472a520be 9945 ruby-http_4.4.1-1_amd64.buildinfo Checksums-Sha256: 0d7f3fe4b43d8f9cad45fb3456162fb609bba66d272c4a65f400b7e1e89ac595 2227 ruby-http_4.4.1-1.dsc e60535017cfc8f674802611421b2b9c9ed229a0d2d794dddf73e768fedf60f5b 73401 ruby-http_4.4.1.orig.tar.gz 4002ee8045442620cb9f10e31ba6261abdd68e577ca3643777d83e3d94bd577b 4824 ruby-http_4.4.1-1.debian.tar.xz d4cae895124f782d09dbaf30694e07befb1dd836ef33791ee6cc66d9ec8d9202 9945 ruby-http_4.4.1-1_amd64.buildinfo Files: 081590800357c5cf530bd5ea4814bfd6 2227 ruby optional ruby-http_4.4.1-1.dsc 838b7486509f21009ff443b04281c45d 73401 ruby optional ruby-http_4.4.1.orig.tar.gz 6e4a0855aa23b581837d7c07a16ce332 4824 ruby optional ruby-http_4.4.1-1.debian.tar.xz f2b25ca71ba9d6b31fc48a83d36c8b16 9945 ruby optional ruby-http_4.4.1-1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQJHBAEBCAAxFiEEbJ0QSEqa5Mw4X3xxgj6WdgbDS5YFAl6PlCITHHV0a2Fyc2hA ZGViaWFuLm9yZwAKCRCCPpZ2BsNLllIyEADnc0Hh+ICCs3NDWNCCRogu1haIGyGP E/vhNEA6WnlWGqtY596W0RVEplyt3oak9boNOpVj+dfn5Kp839fl4IYBOSwxsHBH QEcq3zinbzAwWjRsU5Td1ZhQNxbgnMJxmw9BCwq8fSABy2kYxGlh0rQWTC1dlO8M OvjmvehUs81s3JKD2oPM8DD7Ps64/+9ZokXdqQjEMdn1MmBDUCsofeZUhWq5AIET 1xkdHjjyl88TuIvdYc9wKlSLiTngN7IKJBrnPwlaeL4cUDFOSknw9f4YJn/VS5sS VV7tpHshWkNTcssBLwmq8vMtepfPiXr4vMRa4PNlVmGabSp2SjXwdz4FAdIKWo/Y 0gcHeQOHzA6Z0qdji/+0d6in2oKTf+NCKY0noAu7bkTgPawsTC3hnly4ReRev3Xd d04ZPFxaqZfMFUknvjWtVuxw/CmGkbR/M6fUu2LC30HlGGzuBf6tPXc1kKE3Wi2i RgerqSBQ4Nj1dBVa0Nd84DMlqo587z5ljdPTQK/k5H5FXkWTHsxHGa+9Uu0aKzMz zoe0DhYxXWQft1gtv9tqND+rD3GOyMTJJVKVBKbwabTiNLQu3tzBmqBsnMJS52UJ nvzJp32OxZAVoKZJFKkyuIC+aZRgQkkppKIJ/X/7MrsHyBgnBE4rbWnQbhc7FJzc lWDUyPfe8eixNQ== =+bpY -----END PGP SIGNATURE-----
--- End Message ---

