[DRE-maint] Bug#924542: ruby-oauth2: autopkgtest needs update for new version of ruby-faraday

Paul Gevers elbrus at debian.org
Thu Mar 14 09:32:16 GMT 2019


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

[X-Debbugs-CC: debian-ci at lists.debian.org, ruby-faraday at 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
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[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
breaks/conflicts.
[1] https://qa.debian.org/excuses.php?package=ruby-faraday

https://ci.debian.net/data/autopkgtest/testing/amd64/r/ruby-oauth2/2105981/log.gz

Failures:

  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
https://api.example.com/success'

       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
https://api.example.com/success"
       Diff:
       @@ -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
https://api.example.com/success
       +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
(required)>'


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20190314/7c32a597/attachment-0002.sig>


More information about the Pkg-ruby-extras-maintainers mailing list