[DRE-maint] Bug#867649: ruby-flowdock: FTBFS: ERROR: Test "ruby2.3" failed: Failure/Error: resp = self.class.delete(api_url(path), :basic_auth => {:username => @api_token, :password => ''}, :headers => headers)
Lucas Nussbaum
lucas at debian.org
Sat Jul 8 06:27:44 UTC 2017
Source: ruby-flowdock
Version: 0.7.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: resp = self.class.delete(api_url(path), :basic_auth => {:username => @api_token, :password => ''}, :headers => headers)
>
> WebMock::NetConnectNotAllowedError:
> Real HTTP connections are disabled. Unregistered request: DELETE https://api.flowdock.com/v1/some_path with headers {'Accept'=>'application/json', 'Authorization'=>'Basic NWJmYmJmZjk1ODEzMWFjNzo=', 'Content-Type'=>'application/json'}
>
> You can stub this request with the following snippet:
>
> stub_request(:delete, "https://api.flowdock.com/v1/some_path").
> with(headers: {'Accept'=>'application/json', 'Authorization'=>'Basic NWJmYmJmZjk1ODEzMWFjNzo=', 'Content-Type'=>'application/json'}).
> to_return(status: 200, body: "", headers: {})
>
> registered request stubs:
>
> stub_request(:delete, "https://5bfbbff958131ac7:@api.flowdock.com/v1/some_path").
> with(headers: {'Accept'=>'application/json', 'Content-Type'=>'application/json'})
>
> ============================================================
> # ./lib/flowdock.rb:188:in `delete'
> # ./spec/flowdock_spec.rb:460:in `block (4 levels) in <top (required)>'
>
> Deprecation Warnings:
>
> Using `should_not` from rspec-expectations' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` with `config.expect_with(:rspec) { |c| c.syntax = :should }` instead. Called from /<<PKGBUILDDIR>>/spec/flowdock_spec.rb:6:in `block (3 levels) in <top (required)>'.
>
>
> If you need more of the backtrace for any of these deprecations to
> identify where to make the necessary changes, you can configure
> `config.raise_errors_for_deprecations!`, and it will turn the
> deprecation warnings into errors, giving you the full backtrace.
>
> 1 deprecation warning total
>
> Finished in 0.06967 seconds (files took 0.66419 seconds to load)
> 39 examples, 8 failures
>
> Failed examples:
>
> rspec ./spec/flowdock_spec.rb:379 # Flowdock::Client with api_token posting to chat posts to /messages
> rspec ./spec/flowdock_spec.rb:388 # Flowdock::Client with api_token posting to chat posts to /comments
> rspec ./spec/flowdock_spec.rb:397 # Flowdock::Client with api_token posting to chat posts to /private/:user_id/messages
> rspec ./spec/flowdock_spec.rb:417 # Flowdock::Client with api_token posting to chat handles error responses
> rspec ./spec/flowdock_spec.rb:428 # Flowdock::Client with api_token GET does abstract get with params
> rspec ./spec/flowdock_spec.rb:437 # Flowdock::Client with api_token POST does abstract post with body
> rspec ./spec/flowdock_spec.rb:447 # Flowdock::Client with api_token PUT does abstract put with body
> rspec ./spec/flowdock_spec.rb:456 # Flowdock::Client with api_token DELETE does abstract delete with params
>
> /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-flowdock_0.7.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