[DRE-maint] Bug#867646: gist: FTBFS: ERROR: Test "ruby2.3" failed: Failure/Error: http.request request
Lucas Nussbaum
lucas at debian.org
Sat Jul 8 06:25:26 UTC 2017
Source: gist
Version: 4.5.0-3
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: http.request request
>
> WebMock::NetConnectNotAllowedError:
> Real HTTP connections are disabled. Unregistered request: POST https://api.github.com/authorizations with body '{"scopes":["gist"],"note":"The gist gem (2017-07-07 20:25:53 +0000)","note_url":"https://github.com/ConradIrwin/gist"}' with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'Authorization'=>'Basic Zm9vOmJhcg==', 'Content-Type'=>'application/json', 'User-Agent'=>'gist/4.5.0 (Net::HTTP, ruby 2.3.3p222 (2016-11-21) [x86_64-linux-gnu])'}
>
> You can stub this request with the following snippet:
>
> stub_request(:post, "https://api.github.com/authorizations").
> with(body: "{\"scopes\":[\"gist\"],\"note\":\"The gist gem (2017-07-07 20:25:53 +0000)\",\"note_url\":\"https://github.com/ConradIrwin/gist\"}",
> headers: {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'Authorization'=>'Basic Zm9vOmJhcg==', 'Content-Type'=>'application/json', 'User-Agent'=>'gist/4.5.0 (Net::HTTP, ruby 2.3.3p222 (2016-11-21) [x86_64-linux-gnu])'}).
> to_return(status: 200, body: "", headers: {})
>
> registered request stubs:
>
> stub_request(:post, "/https:\/\/foo:bar at api.github.com\/authorizations/")
> stub_request(:post, "/http:\/\/foo:bar at ghe.example.com\/api\/v3\/authorizations/")
> stub_request(:post, "/https:\/\/api.github.com\/gists/")
> stub_request(:post, "/http:\/\/ghe.example.com\/api\/v3\/gists/")
>
> ============================================================
> # ./lib/gist.rb:385:in `block in http'
> # ./lib/gist.rb:384:in `http'
> # ./lib/gist.rb:329:in `block in login!'
> # ./lib/gist.rb:308:in `loop'
> # ./lib/gist.rb:308:in `login!'
> # ./spec/ghe_spec.rb:66:in `block (4 levels) in <top (required)>'
>
> Finished in 0.05994 seconds (files took 0.65084 seconds to load)
> 22 examples, 3 failures
>
> Failed examples:
>
> rspec ./spec/ghe_spec.rb:46 # ... login! should access to api.github.com when $GITHUB_URL wasn't set
> rspec ./spec/ghe_spec.rb:54 # ... login! should access to ghe.example.com when $GITHUB_URL was set
> rspec ./spec/ghe_spec.rb:64 # ... login! when credentials are passed in uses them
>
> /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/gist_4.5.0-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