[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#924542: ruby-oauth2: autopkgtest needs update for new version of ruby-faraday

Source: ruby-oauth2
Version: 1.4.1-1
Severity: important
User: debian-ci@lists.debian.org
Usertags: needs-update
Control: affects -1 src:ruby-faraday

[X-Debbugs-CC: debian-ci@lists.debian.org, ruby-faraday@packages.debian.org]

Dear maintainers,

With a recent upload of ruby-faraday the autopkgtest of ruby-oauth2
fails in testing when that autopkgtest is run with the binary packages
of ruby-faraday from unstable. It passes when run with only packages
from testing. In tabular form:
                       pass            fail
ruby-faraday           from testing    0.15.4-3
ruby-oauth2            from testing    1.4.1-1
versioned deps [0]     from testing    from unstable
all others             from testing    from testing

I copied some of the output at the bottom of this report. It seems you
need to adapt for new output to stdout. If possible, try to be
compatible with the old behavior as well, such that ruby-oauth2 and
ruby-faraday can migrate separately if needed. I am not convinced that
checking for specific strings in output to stdout of other packages is
smart in the context of autopkgtest, so you may even just disable this test.

Currently this regression is blocking (among other reasons)) the
migration of ruby-faraday to testing [1]. Of course, ruby-faraday
shouldn't just break your autopkgtest (or even worse, your package), but
it seems to me that the change in ruby-faraday was intended and your
package needs to update to the new situation.

More information about this bug and the reason for filing it can be found on


[0] You can see what packages were added from the second line of the log
file quoted below. The migration software adds source package from
unstable to the list if they are needed to install packages from
ruby-faraday/0.15.4-3. I.e. due to versioned dependencies or
[1] https://qa.debian.org/excuses.php?package=ruby-faraday



  1) OAuth2::Client#request outputs to $stdout when OAUTH_DEBUG=true
     Failure/Error: expect(output).to include 'INFO -- : get
https://api.example.com/success', 'INFO -- : get

       expected "I, [2019-03-14T06:10:25.890514 #3764]  INFO -- request:
GET https://api.example.com/success\nD, [201...atus 200\nD,
[2019-03-14T06:10:25.890639 #3764] DEBUG -- response: Content-Type:
\"text/awesome\"\n" to include "INFO -- : get
https://api.example.com/success"; and "INFO -- : get
       @@ -1,3 +1,5 @@
       -INFO -- : get https://api.example.com/success
       -INFO -- : get https://api.example.com/success
       +I, [2019-03-14T06:10:25.890514 #3764]  INFO -- request: GET
       +D, [2019-03-14T06:10:25.890589 #3764] DEBUG -- request:
User-Agent: "Faraday v0.15.4"
       +I, [2019-03-14T06:10:25.890621 #3764]  INFO -- response: Status 200
       +D, [2019-03-14T06:10:25.890639 #3764] DEBUG -- response:
Content-Type: "text/awesome"
     # ./spec/oauth2/client_spec.rb:181:in `block (3 levels) in <top

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: