[DRE-maint] Bug#848757: ruby-http: FTBFS: ERROR: Test "ruby2.3" failed: Failure/Error: @socket.connect
Lucas Nussbaum
lucas at debian.org
Mon Dec 19 21:19:37 UTC 2016
Source: ruby-http
Version: 1.0.2-3
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20161219 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> Failure/Error: @socket.connect
>
> OpenSSL::SSL::SSLError:
> SSL_connect returned=1 errno=0 state=unknown state: sslv3 alert unsupported certificate
> # ./lib/http/timeout/null.rb:24:in `connect'
> # ./lib/http/timeout/null.rb:24:in `connect_ssl'
> # ./lib/http/timeout/null.rb:33:in `start_tls'
> # ./lib/http/connection.rb:161:in `start_tls'
> # ./lib/http/connection.rb:37:in `initialize'
> # ./lib/http/client.rb:62:in `new'
> # ./lib/http/client.rb:62:in `perform'
> # ./lib/http/client.rb:43:in `request'
> # ./lib/http/chainable.rb:18:in `get'
> # ./spec/lib/http_spec.rb:138: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:496:in `block in with_around_and_singleton_context_hooks'
> # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:453:in `block in with_around_example_hooks'
> # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `block in run'
> # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:602:in `run_around_example_hooks_for'
> # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `run'
> # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:453:in `with_around_example_hooks'
> # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:496: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:627:in `block in run_examples'
> # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:623:in `map'
> # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:623:in `run_examples'
> # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:589:in `run'
> # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `block in run'
> # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `map'
> # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run'
> # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `block in run'
> # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `map'
> # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run'
> # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `block in run'
> # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `map'
> # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run'
> # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block (3 levels) in run_specs'
> # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `map'
> # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block (2 levels) in run_specs'
> # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1835:in `with_suite_hooks'
> # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112:in `block in run_specs'
> # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:77:in `report'
> # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:111: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>'
>
> Top 10 slowest examples (10.03 seconds, 81.5% of total time):
> HTTP::Client timeouts with a global timeout it resets state when reusing connections does not timeout
> 4.05 seconds ./spec/support/http_handling_shared.rb:98
> HTTP::Client timeouts with a per operation timeout read of 2.5 does not time out
> 2 seconds ./spec/support/http_handling_shared.rb:61
> HTTP::Client working with SSL timeouts with a global timeout errors if connecting takes too long
> 1.01 seconds ./spec/support/http_handling_shared.rb:80
> HTTP::Client timeouts with a global timeout errors if reading takes too long
> 1 seconds ./spec/support/http_handling_shared.rb:88
> HTTP::Client timeouts with a global timeout errors if connecting takes too long
> 1 seconds ./spec/support/http_handling_shared.rb:80
> HTTP::Client working with SSL just works
> 0.62093 seconds ./spec/lib/http/client_spec.rb:221
> HTTP.via proxy with authentication ssl responds with the endpoint's body
> 0.09404 seconds ./spec/lib/http_spec.rb:137
> HTTP.via anonymous proxy ssl responds with the endpoint's body
> 0.0939 seconds ./spec/lib/http_spec.rb:101
> HTTP.via anonymous proxy ssl ignores credentials
> 0.0917 seconds ./spec/lib/http_spec.rb:106
> HTTP getting resources with a large request body with a global timeout with a 68000 body and 82 of fuzzing returns a large body
> 0.06762 seconds ./spec/lib/http_spec.rb:63
>
> Top 10 slowest example groups:
> HTTP::Client
> 0.18571 seconds average (10.21 seconds / 55 examples) ./spec/lib/http/client_spec.rb:7
> HTTP
> 0.01837 seconds average (1.78 seconds / 97 examples) ./spec/lib/http_spec.rb:8
> HTTP::Request
> 0.00148 seconds average (0.05613 seconds / 38 examples) ./spec/lib/http/request_spec.rb:3
> HTTP::Redirector
> 0.0014 seconds average (0.04893 seconds / 35 examples) ./spec/lib/http/redirector_spec.rb:1
> HTTP::Options form
> 0.00091 seconds average (0.00183 seconds / 2 examples) ./spec/lib/http/options/form_spec.rb:1
> HTTP::Options
> 0.00087 seconds average (0.00174 seconds / 2 examples) ./spec/lib/http/options_spec.rb:1
> HTTP::Headers::Mixin
> 0.00084 seconds average (0.00251 seconds / 3 examples) ./spec/lib/http/headers/mixin_spec.rb:1
> HTTP::Request::Writer
> 0.00074 seconds average (0.00741 seconds / 10 examples) ./spec/lib/http/request/writer_spec.rb:3
> HTTP::Options merge
> 0.0007 seconds average (0.0021 seconds / 3 examples) ./spec/lib/http/options/merge_spec.rb:2
> HTTP::Response
> 0.00059 seconds average (0.01124 seconds / 19 examples) ./spec/lib/http/response_spec.rb:1
>
> Finished in 12.32 seconds (files took 0.9914 seconds to load)
> 734 examples, 19 failures, 9 pending
>
> Failed examples:
>
> rspec ./spec/lib/http/client_spec.rb:221 # HTTP::Client working with SSL just works
> rspec ./spec/lib/http/client_spec.rb:226 # HTTP::Client working with SSL fails with OpenSSL::SSL::SSLError if host mismatch
> rspec ./spec/lib/http/client_spec.rb:236 # HTTP::Client working with SSL with SSL options instead of a context just works
> rspec './spec/lib/http/client_spec.rb[1:7:1:3:2]' # HTTP::Client working with SSL timeouts with a global timeout errors if reading takes too long
> rspec './spec/lib/http/client_spec.rb[1:7:1:3:3:1]' # HTTP::Client working with SSL timeouts with a global timeout it resets state when reusing connections does not timeout
> rspec './spec/lib/http/client_spec.rb[1:7:1:1:1]' # HTTP::Client working with SSL timeouts without timeouts works
> rspec './spec/lib/http/client_spec.rb[1:7:1:2:1]' # HTTP::Client working with SSL timeouts with a per operation timeout works
> rspec './spec/lib/http/client_spec.rb[1:7:1:2:2:1:1]' # HTTP::Client working with SSL timeouts with a per operation timeout connection of 1 does not time out
> rspec './spec/lib/http/client_spec.rb[1:7:1:2:3:2:1]' # HTTP::Client working with SSL timeouts with a per operation timeout read of 2.5 does not time out
> rspec './spec/lib/http/client_spec.rb[1:7:2:2:1]' # HTTP::Client working with SSL connection reuse when disabled opens new sockets
> rspec './spec/lib/http/client_spec.rb[1:7:2:1:2]' # HTTP::Client working with SSL connection reuse when enabled re-uses the socket
> rspec './spec/lib/http/client_spec.rb[1:7:2:1:4:1]' # HTTP::Client working with SSL connection reuse when enabled when trying to read a stale body errors
> rspec './spec/lib/http/client_spec.rb[1:7:2:1:5:1]' # HTTP::Client working with SSL connection reuse when enabled when reading a cached body succeeds
> rspec './spec/lib/http/client_spec.rb[1:7:2:1:1:1]' # HTTP::Client working with SSL connection reuse when enabled without a host infers host from persistent config
> rspec './spec/lib/http/client_spec.rb[1:7:2:1:6:1]' # HTTP::Client working with SSL connection reuse when enabled with a socket issue transparently reopens
> rspec './spec/lib/http/client_spec.rb[1:7:2:1:3:1]' # HTTP::Client working with SSL connection reuse when enabled on a mixed state re-opens the connection
> rspec ./spec/lib/http_spec.rb:101 # HTTP.via anonymous proxy ssl responds with the endpoint's body
> rspec ./spec/lib/http_spec.rb:106 # HTTP.via anonymous proxy ssl ignores credentials
> rspec ./spec/lib/http_spec.rb:137 # HTTP.via proxy with authentication ssl responds with the endpoint's body
>
> Randomized with seed 34096
>
> /usr/bin/ruby2.3 /usr/bin/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed
> ERROR: Test "ruby2.3" failed:
The full build log is available from:
http://aws-logs.debian.net/2016/12/19/ruby-http_1.0.2-3_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Pkg-ruby-extras-maintainers
mailing list