Your message dated Fri, 16 Oct 2020 16:17:23 +0000
with message-id <[email protected]>
and subject line Bug#923727: fixed in ruby-mysql2 0.5.3-1
has caused the Debian Bug report #923727,
regarding ruby-mysql2 failts its autopkg tests
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
923727: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923727
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:ruby-mysql2
Version: 0.5.2-1
Severity: important
Tags: sid buster patch
https://ci.debian.net/data/packages/unstable/amd64/r/ruby-mysql2/latest-autopkgtest/log.gz
autopkgtest [06:50:44]: test command1: [-----------------------
┌──────────────────────────────────────────────────────────────────────────────┐
│ Checking Rubygems dependency resolution on ruby2.5 │
└──────────────────────────────────────────────────────────────────────────────┘
GEM_PATH= ruby2.5 -e gem\ \"mysql2\"
┌──────────────────────────────────────────────────────────────────────────────┐
│ 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
cp spec/configuration.yml.example spec/configuration.yml
cp spec/my.cnf.example spec/my.cnf
./debian/start_mysqld_and_run.sh ruby2.5 -S rspec
+ mktemp -d
+ MYTEMP_DIR=/tmp/tmp.TKVPPE4PwJ
+ whoami
+ ME=debci
+ export MYSQL_UNIX_PORT=/tmp/tmp.TKVPPE4PwJ/mysql.sock
+ DO_MYSQL_USER=root
+ DO_MYSQL_PASS=
+ DO_MYSQL_DBNAME=test
+ DO_MYSQL_DATABASE=/test
+ mysql_install_db --no-defaults --datadir=/tmp/tmp.TKVPPE4PwJ --force
--skip-name-resolve --user=root
chown: changing ownership of '/tmp/tmp.TKVPPE4PwJ': Operation not permitted
Cannot change ownership of the database directories to the 'root'
user. Check that you have the necessary permissions and try again.
rake aborted!
Command failed with status (1): [./debian/start_mysqld_and_run.sh ruby2.5 -...]
/tmp/autopkgtest-lxc.jy3256ab/downtmp/build.RJn/src/debian/ruby-tests.rake:8:in
`block in <top (required)>'
Tasks: TOP => default
(See full trace by running task with --trace)
mv .gem2deb.lib lib
mv .gem2deb.ext ext
autopkgtest [06:50:45]: test command1: -----------------------]
autopkgtest [06:50:45]: test command1: - - - - - - - - - - results - - - - - -
- - - -
command1 FAIL non-zero exit status 1
autopkgtest [06:50:45]: @@@@@@@@@@@@@@@@@@@@ summary
command1 FAIL non-zero exit status 1
Ubuntu has a patch for the debian/start_mysqld_and_run.sh script, and passes the
autopkg tests (and skipping some further tests).
- d/start_mysqld_and_run.sh: Fixes FTBFS with MySQL 5.7
- Skip randomly failing test
The test checks that server resources are freed when a statement
is closed, but this doesn't always happen immediately, causing
random failures.
diff -Nru ruby-mysql2-0.5.2/debian/patches/series ruby-mysql2-0.5.2/debian/patches/series
--- ruby-mysql2-0.5.2/debian/patches/series 2019-01-04 19:34:23.000000000 +0000
+++ ruby-mysql2-0.5.2/debian/patches/series 2019-03-04 12:10:47.000000000 +0000
@@ -3,3 +3,4 @@
remove_rpath_compilation_flag.patch
skip-problematic-tests.patch
trust-library-ABI.patch
+skip-randomly-failing-test.patch
diff -Nru ruby-mysql2-0.5.2/debian/patches/skip-randomly-failing-test.patch ruby-mysql2-0.5.2/debian/patches/skip-randomly-failing-test.patch
--- ruby-mysql2-0.5.2/debian/patches/skip-randomly-failing-test.patch 1970-01-01 00:00:00.000000000 +0000
+++ ruby-mysql2-0.5.2/debian/patches/skip-randomly-failing-test.patch 2019-03-04 12:10:47.000000000 +0000
@@ -0,0 +1,21 @@
+Description: Skip randomly failing test
+ The test tries to verify internal server behavior (garbage collection)
+ and will randomly fail because the server doesn't always free
+ up resources immediately.
+
+Author: Lars Tangvald <[email protected]>
+Bug: https://github.com/brianmario/mysql2/issues/937
+Forwarded: not-needed
+Last-Update: 2018-01-31
+
+--- a/spec/mysql2/statement_spec.rb
++++ b/spec/mysql2/statement_spec.rb
+@@ -696,7 +696,7 @@ RSpec.describe Mysql2::Statement do
+ end
+
+ context 'close' do
+- it 'should free server resources' do
++ xit 'should free server resources' do
+ stmt = @client.prepare 'SELECT 1'
+ GC.disable
+ expect { stmt.close }.to change(&method(:stmt_count)).by(-1)
diff -Nru ruby-mysql2-0.5.2/debian/start_mysqld_and_run.sh ruby-mysql2-0.5.2/debian/start_mysqld_and_run.sh
--- ruby-mysql2-0.5.2/debian/start_mysqld_and_run.sh 2019-01-04 19:34:23.000000000 +0000
+++ ruby-mysql2-0.5.2/debian/start_mysqld_and_run.sh 2019-03-04 12:10:47.000000000 +0000
@@ -17,12 +17,8 @@
DO_MYSQL_DBNAME=test
DO_MYSQL_DATABASE=/${DO_MYSQL_DBNAME}
-mysql_install_db --no-defaults --datadir=${MYTEMP_DIR} --force --skip-name-resolve --user=${DO_MYSQL_USER}
-cat >${MYTEMP_DIR}/init.sql <<EOT
-UPDATE mysql.user SET plugin = "";
-FLUSH PRIVILEGES;
-EOT
-/usr/sbin/mysqld --no-defaults --user=${DO_MYSQL_USER} --socket=${MYSQL_UNIX_PORT} --datadir=${MYTEMP_DIR} --skip-networking --init-file=${MYTEMP_DIR}/init.sql &
+mysql_install_db --no-defaults --datadir=${MYTEMP_DIR} --insecure --basedir=/usr --user=${DO_MYSQL_USER}
+/usr/sbin/mysqld --no-defaults --user=${DO_MYSQL_USER} --socket=${MYSQL_UNIX_PORT} --datadir=${MYTEMP_DIR} --skip-networking &
echo -n pinging mysqld.
attempts=0
while ! /usr/bin/mysqladmin --socket=${MYSQL_UNIX_PORT} ping ; do
@@ -40,4 +36,6 @@
}
trap cleanup INT EXIT TERM
+mysql --user=${DO_MYSQL_USER} --socket=${MYSQL_UNIX_PORT} --execute "GRANT ALL PRIVILEGES ON ${DO_MYSQL_DBNAME}.* TO '${DO_MYSQL_USER}'@'localhost' IDENTIFIED BY '${DO_MYSQL_PASS}'; CREATE DATABASE test;"
+
"$@"
--- End Message ---
--- Begin Message ---
Source: ruby-mysql2
Source-Version: 0.5.3-1
Done: Utkarsh Gupta <[email protected]>
We believe that the bug you reported is fixed in the latest version of
ruby-mysql2, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Utkarsh Gupta <[email protected]> (supplier of updated ruby-mysql2 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 16 Oct 2020 14:33:43 +0530
Source: ruby-mysql2
Architecture: source
Version: 0.5.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team
<[email protected]>
Changed-By: Utkarsh Gupta <[email protected]>
Closes: 923727
Changes:
ruby-mysql2 (0.5.3-1) unstable; urgency=medium
.
[ Utkarsh Gupta ]
* Add salsa-ci.yml
.
[ Debian Janitor ]
* Update standards version to 4.4.1, no changes needed.
* Bump debhelper from old 11 to 12.
* Set debhelper-compat version in Build-Depends.
* Set upstream metadata fields: Repository, Repository-Browse.
* Set upstream metadata fields: Bug-Database, Bug-Submit, Repository.
* Update standards version to 4.5.0, no changes needed.
.
[ Cédric Boutillier ]
* [ci skip] Update team name
* [ci skip] Add .gitattributes to keep unwanted files out of the source
package
.
[ Utkarsh Gupta ]
* Switch d/watch to point to g/h tarball
* New upstream version 0.5.3
* Refresh d/patches
* Apply diff to fix FTBFS (Closes: #923727)
* Add myself as an uploader
* Remove unnecessary dependency on the Ruby interpreter
* Bump debhelper-compat to 13
* Fix package wrt cme
* Apply wrap-and-sort
Checksums-Sha1:
53c5463ddb0fed228f9c8f79eab0b8d9f236a0f8 2208 ruby-mysql2_0.5.3-1.dsc
afdd1dfe2f7424d03eddd059a8b0227ef46ff607 107917 ruby-mysql2_0.5.3.orig.tar.gz
1bab290f0960ba7ded99ccb7944a95e23dc40604 7316 ruby-mysql2_0.5.3-1.debian.tar.xz
6900659150ffed277131bc451333b3a750498f3e 10704
ruby-mysql2_0.5.3-1_amd64.buildinfo
Checksums-Sha256:
3600eaaeaac5604609025a7081e034ae0e132d65ecb1f50c0718b1e6c18e4f91 2208
ruby-mysql2_0.5.3-1.dsc
a11d72f79c43e5ffe9bbaa3ab6bc10ea6f777fcedfbf101c88b96e1fec950790 107917
ruby-mysql2_0.5.3.orig.tar.gz
405bfe1557aa11880ab4e80d6d5e8f6c61d163d055d50e7bead83781f23c627d 7316
ruby-mysql2_0.5.3-1.debian.tar.xz
056dba722ab56ed1a0aa154ac2edbd09ba36bee5d08b4182ba848d40cc6ba0a2 10704
ruby-mysql2_0.5.3-1_amd64.buildinfo
Files:
e5553d729a4b034c42322f1754a15b06 2208 ruby optional ruby-mysql2_0.5.3-1.dsc
0c714fc0e5871836ab5e37f8135d78b7 107917 ruby optional
ruby-mysql2_0.5.3.orig.tar.gz
5c46420f9bc2e60e036ed11de2e6903d 7316 ruby optional
ruby-mysql2_0.5.3-1.debian.tar.xz
df6923b44cc5c47de807ecb220aeae51 10704 ruby optional
ruby-mysql2_0.5.3-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJHBAEBCAAxFiEEbJ0QSEqa5Mw4X3xxgj6WdgbDS5YFAl+Jv/YTHHV0a2Fyc2hA
ZGViaWFuLm9yZwAKCRCCPpZ2BsNLlvl6EACVZT9THro2F8HLbizK6CkucPIF+bdW
2dKaTBBej5nGHhAmAGPF68wef3J+fqkqyxknCDs7FUmSM86cPGeKMs4DF6H2cHu4
vkIf40leV4V23WS3IHBY6EE2P8C8sIgbwEEtylWK82CTvSivv9Ix9hkWN7Zc1xbF
uGKUyt0QRhaHQ05fWfSctzeJSQA3/c7RJN4wwuXADQJD7v9RhF6oUiATc9Cyk4N0
BkbIeVqyahqC/4Mq1dHqld7/yovLj4iyEdET/2Ks3/9diwjZQvdVXwNbfYP3pQi+
RI/ySsVQFOjx0Z/pUkQiz8rbzT1/CHJnAtoW8CShzxYyZirqZOogSnNlVyTlcN4q
JlKOd/8q7DwxSgLk7RtLPujk4b3XWyW1rDCR1JBzNROyfgIWsWPn/4polpFD9JRI
+C5CQ9p/ODWPqNqEzLcm/u7o/lxgN6fq0AYCFv8+IPX789Pss8QeVU+PmLVwcFsZ
GRK4mZSJ4iAG1R659cjB6XUb8yXlUZ3yCrV3maUiz+hg+cBbujvsYTWKGL5JvfNP
UCOHG3uqzCKbpiyJJmaeQn+1K2XVDmtGe46cpBlNdrpWSi4d856PEZRifUbTd5g8
S7nRY9iIHGlWm1wJ0vnznPqcGT8/pJ/BN0WEJ3/cn+MClkG6peFhMCPBw2vY9T5o
mlcWO3684h7B9w==
=Tp5I
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers