[DRE-maint] Bug#974093: ruby-httparty breaks ruby-gitlab autopkgtest: Gitlab::Client.create_merge_request_discussion posts the correct resource
Paul Gevers
elbrus at debian.org
Mon Nov 9 20:13:54 GMT 2020
Source: ruby-httparty, ruby-gitlab
Control: found -1 ruby-httparty/0.18.1-1
Control: found -1 ruby-gitlab/4.14.1-1
Severity: serious
Tags: sid bullseye
X-Debbugs-CC: debian-ci at lists.debian.org
User: debian-ci at lists.debian.org
Usertags: breaks needs-update
Dear maintainer(s),
With a recent upload of ruby-httparty the autopkgtest of ruby-gitlab
fails in testing when that autopkgtest is run with the binary packages
of ruby-httparty from unstable. It passes when run with only packages
from testing. In tabular form:
pass fail
ruby-httparty from testing 0.18.1-1
ruby-gitlab from testing 4.14.1-1
all others from testing from testing
Interestingly enough, the test passes in unstable on amd64 and i386. So,
this most likely is a *versioned* relation (either Depends, Breaks
and/or Test Depends) missing somewhere and the migration software is
missing this information to trigger the right combination from unstable
in testing.
I copied some of the output at the bottom of this report.
Currently this regression is blocking the migration of ruby-httparty to
testing [1]. Due to the nature of this issue, I filed this bug report
against both packages. Can you please investigate the situation and
reassign the bug to the right package?
More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
Paul
[1] https://qa.debian.org/excuses.php?package=ruby-httparty
https://ci.debian.net/data/autopkgtest/testing/amd64/r/ruby-gitlab/8027911/log.gz
Failures:
1) Gitlab::Client.create_merge_request_discussion posts the correct
resource
Failure/Error:
expect(a_post('/projects/3/merge_requests/2/discussions')
.with(body: 'body=Discussion&position[old_line]=1')).to
have_been_made
The request POST
https://api.example.com/projects/3/merge_requests/2/discussions with
body "body=Discussion&position[old_line]=1" with headers
{'Private-Token'=>'secret'} was expected to execute 1 time but it
executed 0 times
The following requests were made:
POST
https://api.example.com/projects/3/merge_requests/2/discussions with
body 'body=Discussion&position%5Bold_line%5D=1' with headers
{'Accept'=>'application/json',
'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',
'Content-Type'=>'application/x-www-form-urlencoded',
'Private-Token'=>'secret', 'User-Agent'=>'Gitlab Ruby Gem 4.14.1'} was
made 1 time
============================================================
# ./spec/gitlab/client/merge_requests_spec.rb:305:in `block (3
levels) in <top (required)>'
2) Gitlab::Client.create_pipeline when variables are passed calls with
the correct body
Failure/Error: expect(a_post(pipeline_path).with(body:
expected_body)).to have_been_made
The request POST
https://api.example.com/projects/3/pipeline?ref=master with body
"variables[][key]=VAR1&variables[][value]=value&variables[][key]=VAR2&variables[][value]=value"
with headers {'Private-Token'=>'secret'} was expected to execute 1 time
but it executed 0 times
The following requests were made:
POST https://api.example.com/projects/3/pipeline?ref=master with
headers {'Accept'=>'application/json',
'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',
'Content-Type'=>'application/x-www-form-urlencoded',
'Private-Token'=>'secret', 'User-Agent'=>'Gitlab Ruby Gem 4.14.1'} was
made 1 time
POST https://api.example.com/projects/3/pipeline?ref=master with
body
'variables%5B%5D%5Bkey%5D=VAR1&variables%5B%5D%5Bvalue%5D=value&variables%5B%5D%5Bkey%5D=VAR2&variables%5B%5D%5Bvalue%5D=value'
with headers {'Accept'=>'application/json',
'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',
'Content-Type'=>'application/x-www-form-urlencoded',
'Private-Token'=>'secret', 'User-Agent'=>'Gitlab Ruby Gem 4.14.1'} was
made 1 time
============================================================
# ./spec/gitlab/client/pipelines_spec.rb:70:in `block (4 levels) in
<top (required)>'
Finished in 2.54 seconds (files took 1.01 seconds to load)
1081 examples, 2 failures
-------------- 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/20201109/95a96cca/attachment.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list