[DRE-maint] Bug#912908: curl breaks ruby-curb autopkgtest
Paul Gevers
elbrus at debian.org
Sun Nov 4 20:29:27 GMT 2018
Source: curl, ruby-curb
Control: found -1 curl/7.62.0-1
Control: found -1 ruby-curb/0.9.6-1
X-Debbugs-CC: debian-ci at lists.debian.org
User: debian-ci at lists.debian.org
Usertags: breaks needs-update
Dear maintainers,
With a recent upload of curl the autopkgtest of ruby-curb fails in
testing when that autopkgtest is run with the binary packages of curl
from unstable. It passes when run with only packages from testing. In
tabular form:
pass fail
curl from testing 7.62.0-1
ruby-curb from testing 0.9.6-1
all others from testing from testing
I copied some of the output at the bottom of this report. As a bystander
it is difficult for me to judge if it's just the reference data that
needs updating, or if this is really showing something is broken.
Currently this regression is contributing to the delay of the migration
of curl 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? If needed, please
change the bug's severity.
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=curl
https://ci.debian.net/data/autopkgtest/testing/amd64/r/ruby-curb/1259666/log.gz
autopkgtest [04:34:43]: test command1: gem2deb-test-runner --autopkgtest
--check-dependencies 2>&1
autopkgtest [04:34:43]: test command1: [-----------------------
┌──────────────────────────────────────────────────────────────────────────────┐
│ Checking Rubygems dependency resolution on ruby2.5
│
└──────────────────────────────────────────────────────────────────────────────┘
GEM_PATH= ruby2.5 -e gem\ \"curb\"
┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby2.5 from debian/ruby-tests.rake
│
└──────────────────────────────────────────────────────────────────────────────┘
mv lib .gem2deb.lib
mv ext .gem2deb.ext
RUBYLIB=. GEM_PATH= ruby2.5 -S rake -f debian/ruby-tests.rake
Loaded suite /usr/lib/ruby/vendor_ruby/rake/rake_test_loader
Started
.........F
===============================================================================
Failure: test_class_perform_01(TestCurbCurlEasy)
/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:44:in
`test_class_perform_01'
41: assert_instance_of Curl::Easy, c =
Curl::Easy.perform($TEST_URL)
42: assert_match(/^# DO NOT REMOVE THIS COMMENT/, c.body_str)
43: assert_match(/^# DO NOT REMOVE THIS COMMENT/, c.body)
=> 44: assert_equal "", c.header_str
45: end
46:
47: def test_class_perform_02
<"">(UTF-8) expected but was
<"Content-Length: 5445\r\n" +
"Accept-ranges: bytes\r\n" +
"Last-Modified: Sun, 04 Nov 2018 04:34:35 GMT\r\n" +
"\r\n">(ASCII-8BIT)
diff:
+ Content-Length: 5445
+ Accept-ranges: bytes
+ Last-Modified: Sun, 04 Nov 2018 04:34:35 GMT
? Encoding: UTF -8
? ASCII BIT
===============================================================================
F
===============================================================================
Failure: test_class_perform_02(TestCurbCurlEasy)
/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:52:in
`test_class_perform_02'
49: assert_instance_of Curl::Easy, c =
Curl::Easy.perform($TEST_URL) { |curl| curl.on_body { |d| data << d;
d.length } }
50:
51: assert_nil c.body_str
=> 52: assert_equal "", c.header_str
53: assert_match(/^# DO NOT REMOVE THIS COMMENT/, data)
54: end
55:
<"">(UTF-8) expected but was
<"Content-Length: 5445\r\n" +
"Accept-ranges: bytes\r\n" +
"Last-Modified: Sun, 04 Nov 2018 04:34:35 GMT\r\n" +
"\r\n">(ASCII-8BIT)
diff:
+ Content-Length: 5445
+ Accept-ranges: bytes
+ Last-Modified: Sun, 04 Nov 2018 04:34:35 GMT
? Encoding: UTF -8
? ASCII BIT
===============================================================================
........................F
===============================================================================
Failure: test_get_01(TestCurbCurlEasy)
/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:147:in
`test_get_01'
144: c = Curl::Easy.new($TEST_URL)
145: assert_equal true, c.http_get
146: assert_match(/^# DO NOT REMOVE THIS COMMENT/, c.body_str)
=> 147: assert_equal "", c.header_str
148: end
149:
150: def test_get_02
<"">(UTF-8) expected but was
<"Content-Length: 5445\r\n" +
"Accept-ranges: bytes\r\n" +
"Last-Modified: Sun, 04 Nov 2018 04:34:35 GMT\r\n" +
"\r\n">(ASCII-8BIT)
diff:
+ Content-Length: 5445
+ Accept-ranges: bytes
+ Last-Modified: Sun, 04 Nov 2018 04:34:35 GMT
? Encoding: UTF -8
? ASCII BIT
===============================================================================
F
===============================================================================
Failure: test_get_02(TestCurbCurlEasy)
/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:159:in
`test_get_02'
156: assert_equal true, c.http_get
157:
158: assert_nil c.body_str
=> 159: assert_equal "", c.header_str
160: assert_match(/^# DO NOT REMOVE THIS COMMENT/, data)
161: end
162:
<"">(UTF-8) expected but was
<"Content-Length: 5445\r\n" +
"Accept-ranges: bytes\r\n" +
"Last-Modified: Sun, 04 Nov 2018 04:34:35 GMT\r\n" +
"\r\n">(ASCII-8BIT)
diff:
+ Content-Length: 5445
+ Accept-ranges: bytes
+ Last-Modified: Sun, 04 Nov 2018 04:34:35 GMT
? Encoding: UTF -8
? ASCII BIT
===============================================================================
................................................................#<Thread:0x0000559dd3829fd0@/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:26
run> terminated with exception (report_on_exception is true):
/usr/lib/ruby/vendor_ruby/test/unit/assertions.rb:55:in `block in
assert_block': <"">("UTF-8") expected but was
(Test::Unit::AssertionFailedError)
<"Content-Length: 5445\r\n" +
"Accept-ranges: bytes\r\n" +
"Last-Modified: Sun, 04 Nov 2018 04:34:35 GMT\r\n" +
"\r\n">("ASCII-8BIT").
diff:
+ Content-Length: 5445
+ Accept-ranges: bytes
+ Last-Modified: Sun, 04 Nov 2018 04:34:35 GMT
from /usr/lib/ruby/vendor_ruby/test/unit/assertions.rb:1636:in
`_wrap_assertion'
from /usr/lib/ruby/vendor_ruby/test/unit/assertions.rb:53:in `assert_block'
from /usr/lib/ruby/vendor_ruby/test/unit/assertions.rb:240:in
`assert_equal'
from
/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:31:in
`block (3 levels) in test_threads'
from
/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:27:in
`times'
from
/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:27:in
`block (2 levels) in test_threads'
#<Thread:0x0000559dd382a0e8@/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:26
run> terminated with exception (report_on_exception is true):
/usr/lib/ruby/vendor_ruby/test/unit/assertions.rb:55:in `block in
assert_block': <"">("UTF-8") expected but was
(Test::Unit::AssertionFailedError)
<"Content-Length: 5445\r\n" +
"Accept-ranges: bytes\r\n" +
"Last-Modified: Sun, 04 Nov 2018 04:34:35 GMT\r\n" +
"\r\n">("ASCII-8BIT").
diff:
+ Content-Length: 5445
+ Accept-ranges: bytes
+ Last-Modified: Sun, 04 Nov 2018 04:34:35 GMT
from /usr/lib/ruby/vendor_ruby/test/unit/assertions.rb:1636:in
`_wrap_assertion'
from /usr/lib/ruby/vendor_ruby/test/unit/assertions.rb:53:in `assert_block'
from /usr/lib/ruby/vendor_ruby/test/unit/assertions.rb:240:in
`assert_equal'
from
/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:31:in
`block (3 levels) in test_threads'
from
/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:27:in
`times'
from
/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:27:in
`block (2 levels) in test_threads'
#<Thread:0x0000559dd382a200@/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:26
run> terminated with exception (report_on_exception is true):
/usr/lib/ruby/vendor_ruby/test/unit/assertions.rb:55:in `block in
assert_block': <"">("UTF-8") expected but was
(Test::Unit::AssertionFailedError)
<"Content-Length: 5445\r\n" +
"Accept-ranges: bytes\r\n" +
"Last-Modified: Sun, 04 Nov 2018 04:34:35 GMT\r\n" +
"\r\n">("ASCII-8BIT").
diff:
+ Content-Length: 5445
+ Accept-ranges: bytes
+ Last-Modified: Sun, 04 Nov 2018 04:34:35 GMT
from /usr/lib/ruby/vendor_ruby/test/unit/assertions.rb:1636:in
`_wrap_assertion'
from /usr/lib/ruby/vendor_ruby/test/unit/assertions.rb:53:in `assert_block'
from /usr/lib/ruby/vendor_ruby/test/unit/assertions.rb:240:in
`assert_equal'
from
/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:31:in
`block (3 levels) in test_threads'
from
/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:27:in
`times'
from
/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:27:in
`block (2 levels) in test_threads'
#<Thread:0x0000559dd382a318@/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:26
run> terminated with exception (report_on_exception is true):
/usr/lib/ruby/vendor_ruby/test/unit/assertions.rb:55:in `block in
assert_block': <"">("UTF-8") expected but was
(Test::Unit::AssertionFailedError)
<"Content-Length: 5445\r\n" +
"Accept-ranges: bytes\r\n" +
"Last-Modified: Sun, 04 Nov 2018 04:34:35 GMT\r\n" +
"\r\n">("ASCII-8BIT").
diff:
+ Content-Length: 5445
+ Accept-ranges: bytes
+ Last-Modified: Sun, 04 Nov 2018 04:34:35 GMT
from /usr/lib/ruby/vendor_ruby/test/unit/assertions.rb:1636:in
`_wrap_assertion'
from /usr/lib/ruby/vendor_ruby/test/unit/assertions.rb:53:in `assert_block'
from /usr/lib/ruby/vendor_ruby/test/unit/assertions.rb:240:in
`assert_equal'
from
/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:31:in
`block (3 levels) in test_threads'
from
/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:27:in
`times'
from
/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:27:in
`block (2 levels) in test_threads'
#<Thread:0x0000559dd382a458@/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:26
run> terminated with exception (report_on_exception is true):
/usr/lib/ruby/vendor_ruby/test/unit/assertions.rb:55:in `block in
assert_block': <"">("UTF-8") expected but was
(Test::Unit::AssertionFailedError)
<"Content-Length: 5445\r\n" +
"Accept-ranges: bytes\r\n" +
"Last-Modified: Sun, 04 Nov 2018 04:34:35 GMT\r\n" +
"\r\n">("ASCII-8BIT").
diff:
+ Content-Length: 5445
+ Accept-ranges: bytes
+ Last-Modified: Sun, 04 Nov 2018 04:34:35 GMT
from /usr/lib/ruby/vendor_ruby/test/unit/assertions.rb:1636:in
`_wrap_assertion'
from /usr/lib/ruby/vendor_ruby/test/unit/assertions.rb:53:in `assert_block'
from /usr/lib/ruby/vendor_ruby/test/unit/assertions.rb:240:in
`assert_equal'
from
/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:31:in
`block (3 levels) in test_threads'
from
/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:27:in
`times'
from
/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:27:in
`block (2 levels) in test_threads'
F
===============================================================================
Failure: test_threads(TestCurbCurlEasy)
/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:31:in
`block (3 levels) in test_threads'
28: c = Curl.get($TEST_URL)
29: assert_match(/^# DO NOT REMOVE THIS COMMENT/, c.body_str)
30: assert_match(/^# DO NOT REMOVE THIS COMMENT/, c.body)
=> 31: assert_equal "", c.header_str
32: assert_equal "", c.head
33: end
34: end
/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:27:in
`times'
/tmp/autopkgtest-lxc.vc2wtoi2/downtmp/build.qsd/src/tests/tc_curl_easy.rb:27:in
`block (2 levels) in test_threads'
<"">(UTF-8) expected but was
<"Content-Length: 5445\r\n" +
"Accept-ranges: bytes\r\n" +
"Last-Modified: Sun, 04 Nov 2018 04:34:35 GMT\r\n" +
"\r\n">(ASCII-8BIT)
diff:
+ Content-Length: 5445
+ Accept-ranges: bytes
+ Last-Modified: Sun, 04 Nov 2018 04:34:35 GMT
? Encoding: UTF -8
? ASCII BIT
===============================================================================
......................................................
Finished in 6.261904961 seconds.
-------------------------------------------------------------------------------
156 tests, 628 assertions, 5 failures, 0 errors, 0 pendings, 0
omissions, 0 notifications
96.7949% passed
-------------------------------------------------------------------------------
24.91 tests/s, 100.29 assertions/s
rake aborted!
Command failed with status (1)
Tasks: TOP => default => unittests
(See full trace by running task with --trace)
mv .gem2deb.lib lib
mv .gem2deb.ext ext
autopkgtest [04:34:51]: test command1: -----------------------]
-------------- 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/20181104/5c2b38bc/attachment-0001.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list