Source: ruby-chef-utils Version: 16.12.3-2 Severity: important User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu impish
Hi Pirate, The ruby-chef-utils package does not build from source on Ubuntu builders because it tries to access the Internet during build, and fails when it cannot reach a remote host: [...] Failures: 1) ChefUtils::DSL::PlatformFamily on centos8 reports false for rhel6? Failure/Error: let(:node) { Fauxhai.mock(options).data } SocketError: Failed to open TCP connection to raw.githubusercontent.com:443 (getaddrinfo: Name or service not known) # /usr/share/rubygems-integration/all/gems/fauxhai-7.4.0/lib/fauxhai/mocker.rb:50:in `block in data' # /usr/share/rubygems-integration/all/gems/fauxhai-7.4.0/lib/fauxhai/mocker.rb:72:in `data' # ./spec/unit/dsl/platform_family_spec.rb:36:in `block (2 levels) in <top (required)>' # ./spec/unit/dsl/platform_family_spec.rb:30:in `block (2 levels) in pf_reports_true_for' # ------------------ # --- Caused by: --- # SocketError: # getaddrinfo: Name or service not known [...] (https://launchpad.net/ubuntu/+source/ruby-chef-utils/16.12.3-2/+build/21689349) This failure is reproducible by pointing raw.githubusercontent.com in /etc/hosts to a host that returns connection refused on port 443. The problem seems to be that the tests require ruby-fauxhai to report on platforms for which it has no local data, causing it to fall back to the website. I'm not sure if this is properly a fauxhai or a ruby-chef-utils bug, but it makes the package unbuildable in Ubuntu, or on Debian systems without a network. -- 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 https://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
signature.asc
Description: PGP signature