[DRE-maint] Bug#867656: ruby-mixlib-install: FTBFS: ERROR: Test "ruby2.3" failed: Failure/Error: res = http.request(request)
Lucas Nussbaum
lucas at debian.org
Sat Jul 8 06:27:57 UTC 2017
Source: ruby-mixlib-install
Version: 1.1.0-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170707 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: res = http.request(request)
>
> WebMock::NetConnectNotAllowedError:
> Real HTTP connections are disabled. Unregistered request: GET https://bintray.com/api/v1/packages/chef/stable/chefdk/versions/0.7.0/files with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'Authorization'=>'Basic bWl4bGliLWluc3RhbGxAY2hlZjphODNkM2EyZmZhZDUwZWI5YTIyMzBmMjgxYTJlMTliNzBmZTBkYjJk', 'User-Agent'=>'Ruby'}
>
> You can stub this request with the following snippet:
>
> stub_request(:get, "https://bintray.com/api/v1/packages/chef/stable/chefdk/versions/0.7.0/files").
> with(headers: {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'Authorization'=>'Basic bWl4bGliLWluc3RhbGxAY2hlZjphODNkM2EyZmZhZDUwZWI5YTIyMzBmMjgxYTJlMTliNzBmZTBkYjJk', 'User-Agent'=>'Ruby'}).
> to_return(status: 200, body: "", headers: {})
>
> registered request stubs:
>
> stub_request(:get, "https://mixlib-install%40chef:a83d3a2ffad50eb9a2230f281a2e19b70fe0db2d@bintray.com/api/v1/packages/chef/stable/chefdk/versions/0.7.0/files").
> with(headers: {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Ruby'})
> stub_request(:get, "https://mixlib-install%40chef:a83d3a2ffad50eb9a2230f281a2e19b70fe0db2d@bintray.com/api/v1/packages/chef/stable/chefdk/versions/0.3.0/files").
> with(headers: {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Ruby'})
> stub_request(:get, "https://mixlib-install%40chef:a83d3a2ffad50eb9a2230f281a2e19b70fe0db2d@bintray.com/api/v1/packages/chef/stable/chefdk/versions/0.16.28/files").
> with(headers: {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Ruby'})
> stub_request(:get, "https://mixlib-install%40chef:a83d3a2ffad50eb9a2230f281a2e19b70fe0db2d@bintray.com/api/v1/packages/chef/stable/chefdk/versions/_latest").
> with(headers: {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Ruby'})
>
> ============================================================
> # ./lib/mixlib/install/backend/bintray.rb:71:in `bintray_get'
> # ./lib/mixlib/install/backend/bintray.rb:96:in `available_artifacts'
> # ./lib/mixlib/install/backend/base.rb:44:in `info'
> # ./lib/mixlib/install/backend.rb:31:in `info'
> # ./lib/mixlib/install.rb:46:in `artifact_info'
> # ./lib/mixlib/install.rb:100:in `upgrade_available?'
> # ./spec/mixlib/install_spec.rb:137:in `block (4 levels) in <top (required)>'
>
> Finished in 0.18617 seconds (files took 0.65727 seconds to load)
> 106 examples, 10 failures, 24 pending
>
> Failed examples:
>
> rspec ./spec/mixlib/install/backend/bintray_spec.rb:82 # Mixlib::Install::Backend::Bintray for chef/stable with :latest version returns all artifacts
> rspec ./spec/mixlib/install/backend/bintray_spec.rb:91 # Mixlib::Install::Backend::Bintray for chef/stable with :latest version with platform info returns a single artifact with correct info
> rspec ./spec/mixlib/install/backend/bintray_spec.rb:111 # Mixlib::Install::Backend::Bintray for a product without native 64-bit builds returns 32 bit package for 64 bit
> rspec ./spec/mixlib/install/backend/bintray_spec.rb:125 # Mixlib::Install::Backend::Bintray for a product with native 64-bit builds returns 64 bit package for 64 bit
> rspec ./spec/mixlib/install/backend/bintray_spec.rb:185 # Mixlib::Install::Backend::Bintray for a version with unique solaris publishing values finds an artifact
> rspec ./spec/mixlib/install/backend/bintray_spec.rb:254 # Mixlib::Install::Backend::Bintray for a missing version of a product raises an error
> rspec ./spec/mixlib/install/backend/bintray_spec.rb:267 # Mixlib::Install::Backend::Bintray for compliance uses product package name
> rspec ./spec/mixlib/install_spec.rb:114 # Mixlib::Install checking for upgrades with :latest, upgrade exists, :stable channel should report upgrade available
> rspec ./spec/mixlib/install_spec.rb:125 # Mixlib::Install checking for upgrades with specific version lower than current, :stable channel should report upgrade available
> rspec ./spec/mixlib/install_spec.rb:136 # Mixlib::Install checking for upgrades with specific version higher than current, :stable channel should report upgrade available
>
> /usr/bin/ruby2.3 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby2.3" failed:
The full build log is available from:
http://aws-logs.debian.net/2017/07/07/ruby-mixlib-install_1.1.0-1_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