[DRE-maint] Bug#987331: ruby-mysql2: flaky autopkgtest

Sebastian Ramacher sramacher at debian.org
Wed Apr 21 22:21:29 BST 2021


Source: ruby-mysql2
Version: 0.5.3-2
Severity: serious
X-Debbugs-Cc: sramacher at debian.org

Many of the autopkgtest runs on amd64 fail with:
| Failures:
|
|   1) Mysql2::Result streaming should raise an exception if streaming ended due to a timeout
|      Failure/Error:
|        expect do
|          res.each_with_index do |_, i|
|            # Exhaust the first result packet then trigger a timeout
|            sleep 4 if i > 0 && i % 1000 == 0
|          end
|        end.to raise_error(Mysql2::Error, /Lost connection/)
|
|        expected Mysql2::Error with message matching /Lost connection/ but nothing was raised
|      # ./spec/mysql2/result_spec.rb:164:in `block (3 levels) in <top (required)>'
|
| Finished in 42.81 seconds (files took 0.2193 seconds to load)
| 321 examples, 1 failure, 5 pending

See also https://ci.debian.net/data/autopkgtest/testing/amd64/r/ruby-mysql2/11803835/log.gz

Cheers
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20210421/f3ec4936/attachment.sig>


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