[DRE-maint] Bug#873576: ruby-rest-client: FTBFS without network access

Steve Langasek steve.langasek at canonical.com
Tue Aug 29 06:54:54 UTC 2017


Source: ruby-rest-client
Version: 2.0.2-2
Severity: serious
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu artful

Hi Lucas,

In Ubuntu, ruby-rest-client is failing to build because its test suite
depends on access to the Internet.  First error in the logs:

Failures:

  1) RestClient::Request timeouts raises ReadTimeout when it hits a read timeout via :read_timeout
     Failure/Error:
       expect { request.execute }.to(
         raise_error(RestClient::Exceptions::ReadTimeout))

       expected RestClient::Exceptions::ReadTimeout, got #<SocketError: Failed to open TCP connection to www.mozilla.org:443 (getaddrinfo: Name or service not known)> with backtrace:
         # ./lib/restclient/request.rb:715:in `transmit'
         # ./lib/restclient/request.rb:145:in `execute'
         # ./spec/integration/request_spec.rb:33:in `block (4 levels) in <top (required)>'
         # ./spec/integration/request_spec.rb:33:in `block (3 levels) in <top (required)>'
     # ./spec/integration/request_spec.rb:33:in `block (3 levels) in <top (required)>'

(https://launchpad.net/ubuntu/+source/ruby-rest-client/2.0.2-2/+build/13150212)

Packages should not require access to third-party network servers in order
to build, and I believe several of the Debian buildds have policies that
block network access during builds by design, so I think this should be
considered a serious bug.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20170828/43aeb4b7/attachment.sig>


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