[DRE-maint] Bug#873576: closed by Lucas Nussbaum <lucas at debian.org> (Bug#873576: fixed in ruby-rest-client 2.0.2-3)

Adrian Bunk bunk at debian.org
Sun Nov 5 15:14:28 UTC 2017


Control: reopen -1

On Tue, Oct 31, 2017 at 10:39:17AM +0000, Debian Bug Tracking System wrote:
>...
>  ruby-rest-client (2.0.2-3) unstable; urgency=medium
>  .
>    * Add patches from Steve Langasek <steve.langasek at ubuntu.com> to fix
>      network-dependent tests. Closes: 873576
>      + proxy-proof-tests.patch
>      + disable-network-tests.patch
>...

ruby-rest-client still FTBFS without network access:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-rest-client.html

...
Failures:

  1) RestClient::Request timeouts raises OpenTimeout when it hits an open timeout
     Failure/Error:
       expect { request.execute }.to(
         raise_error(RestClient::Exceptions::OpenTimeout))

       expected RestClient::Exceptions::OpenTimeout, got #<SocketError: Failed to open TCP connection to www.mozilla.org:80 (getaddrinfo: Temporary failure in name resolution)> with backtrace:
         # ./lib/restclient/request.rb:715:in `transmit'
         # ./lib/restclient/request.rb:145:in `execute'
         # ./spec/integration/request_spec.rb:23:in `block (4 levels) in <top (required)>'
         # ./spec/integration/request_spec.rb:23:in `block (3 levels) in <top (required)>'
     # ./spec/integration/request_spec.rb:23:in `block (3 levels) in <top (required)>'

Finished in 1.8 seconds (files took 4.02 seconds to load)
285 examples, 1 failure

Failed examples:

rspec ./spec/integration/request_spec.rb:17 # RestClient::Request timeouts raises OpenTimeout when it hits an open timeout

Randomized with seed 2408

/usr/bin/ruby2.3 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
ERROR: Test "ruby2.3" failed. Exiting.
dh_auto_install: dh_ruby --install /build/1st/ruby-rest-client-2.0.2/debian/ruby-rest-client returned exit code 1
debian/rules:6: recipe for target 'binary' failed
make: *** [binary] Error 1



cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



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