2016-06-15 07:02:00 |
Matthias Klose |
bug |
|
|
added bug |
2016-06-15 07:02:13 |
Matthias Klose |
python-pymysql (Ubuntu): assignee |
|
Ubuntu Server Team (ubuntu-server) |
|
2016-06-15 11:03:39 |
Robie Basak |
bug |
|
|
added subscriber Robie Basak |
2016-06-15 11:03:45 |
Robie Basak |
bug |
|
|
added subscriber Lars Tangvald |
2016-06-15 14:25:48 |
Robie Basak |
tags |
ftbfs |
ftbfs mysql-5.7-transition |
|
2016-06-16 09:20:19 |
Robie Basak |
nominated for series |
|
Ubuntu Xenial |
|
2016-06-16 09:20:19 |
Robie Basak |
bug task added |
|
python-pymysql (Ubuntu Xenial) |
|
2016-06-17 10:58:34 |
Robie Basak |
python-pymysql (Ubuntu): assignee |
Ubuntu Server Team (ubuntu-server) |
Lars Tangvald (lars-tangvald) |
|
2016-06-17 11:01:15 |
Robie Basak |
python-pymysql (Ubuntu Xenial): assignee |
|
Lars Tangvald (lars-tangvald) |
|
2016-06-17 11:01:17 |
Robie Basak |
python-pymysql (Ubuntu Xenial): importance |
Undecided |
High |
|
2016-06-17 11:01:20 |
Robie Basak |
python-pymysql (Ubuntu Xenial): status |
New |
Triaged |
|
2016-06-17 11:01:22 |
Robie Basak |
python-pymysql (Ubuntu): status |
Confirmed |
Triaged |
|
2016-06-23 22:33:43 |
Mathew Hodson |
python-pymysql (Ubuntu): milestone |
xenial-updates |
|
|
2016-06-23 22:33:45 |
Mathew Hodson |
python-pymysql (Ubuntu Xenial): milestone |
|
xenial-updates |
|
2016-06-28 08:01:33 |
Lars Tangvald |
attachment added |
|
Patch for test script and test failures https://bugs.launchpad.net/ubuntu/+source/python-pymysql/+bug/1592664/+attachment/4691464/+files/patch.txt |
|
2016-06-28 08:24:06 |
Ubuntu Foundations Team Bug Bot |
tags |
ftbfs mysql-5.7-transition |
ftbfs mysql-5.7-transition patch |
|
2016-06-28 08:24:15 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |
2016-07-05 10:03:32 |
Lars Tangvald |
attachment added |
|
debdiffyakkety.txt https://bugs.launchpad.net/ubuntu/+source/python-pymysql/+bug/1592664/+attachment/4695765/+files/debdiffyakkety.txt |
|
2016-07-05 10:04:08 |
Lars Tangvald |
attachment added |
|
debdiffxenial.txt https://bugs.launchpad.net/ubuntu/+source/python-pymysql/+bug/1592664/+attachment/4695766/+files/debdiffxenial.txt |
|
2016-07-14 13:18:18 |
Lars Tangvald |
description |
seen with a test rebuild on xenial:
http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20160614-xenial.html
debian/rules override_dh_auto_test
make[1]: Entering directory '/«PKGBUILDDIR»'
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
chmod +x debian/run_tests.sh
./debian/run_tests.sh
+ mktemp -d
+ MYTEMP_DIR=/tmp/tmp.i5ZAMugsdp
+ whoami
+ ME=buildd
+ mysql_install_db --no-defaults --datadir=/tmp/tmp.i5ZAMugsdp --force --skip-name-resolve --user=buildd
mysql_install_db: [ERROR] unknown option '--force'
2016-06-03 11:03:28 [ERROR] Unrecognized options
debian/rules:25: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/«PKGBUILDDIR»'
debian/rules:10: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2 |
Python-pymysql sets up MySQL in a temporary location for running its tests. It runs mysql_install_db and mysqld using options that have been removed in 5.7, causing d/run_tests.sh to fail.
Additionally, there's a test that fails in 5.7; It expects a deprecation warning that 5.7 gives, but only for python >= 3.2. The test failure has been fixed upstream: https://github.com/PyMySQL/PyMySQL/issues/478
[Impact]
Test run fails, causing build to fail
[Test Case]
Build python-pymysql from source
[Regression Potential]
The altered database init will not work with MySQL earlier than 5.7 (even the xenial patch that still uses mysql_install_db)
[Original description]
seen with a test rebuild on xenial:
http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20160614-xenial.html
debian/rules override_dh_auto_test
make[1]: Entering directory '/«PKGBUILDDIR»'
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
chmod +x debian/run_tests.sh
./debian/run_tests.sh
+ mktemp -d
+ MYTEMP_DIR=/tmp/tmp.i5ZAMugsdp
+ whoami
+ ME=buildd
+ mysql_install_db --no-defaults --datadir=/tmp/tmp.i5ZAMugsdp --force --skip-name-resolve --user=buildd
mysql_install_db: [ERROR] unknown option '--force'
2016-06-03 11:03:28 [ERROR] Unrecognized options
debian/rules:25: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/«PKGBUILDDIR»'
debian/rules:10: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2 |
|
2016-08-04 17:52:45 |
Robie Basak |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2016-08-23 13:26:04 |
Marc Deslauriers |
python-pymysql (Ubuntu Xenial): status |
Triaged |
Incomplete |
|
2016-08-29 07:27:15 |
Launchpad Janitor |
python-pymysql (Ubuntu): status |
Triaged |
Fix Released |
|
2016-09-16 05:29:39 |
Lars Tangvald |
attachment added |
|
debdiffxenial.txt https://bugs.launchpad.net/ubuntu/+source/python-pymysql/+bug/1592664/+attachment/4741763/+files/debdiffxenial.txt |
|
2016-10-03 08:52:19 |
Lars Tangvald |
python-pymysql (Ubuntu Xenial): status |
Incomplete |
In Progress |
|
2016-10-03 11:06:56 |
Marc Deslauriers |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2016-10-03 11:07:03 |
Marc Deslauriers |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2016-10-05 07:25:05 |
Martin Pitt |
python-pymysql (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2016-10-05 07:25:08 |
Martin Pitt |
bug |
|
|
added subscriber SRU Verification |
2016-10-05 07:25:13 |
Martin Pitt |
tags |
ftbfs mysql-5.7-transition patch |
ftbfs mysql-5.7-transition patch verification-needed |
|
2017-01-04 20:30:20 |
Ubuntu Foundations Team Bug Bot |
tags |
ftbfs mysql-5.7-transition patch verification-needed |
ftbfs mysql-5.7-transition patch removal-candidate verification-needed |
|
2017-01-06 10:38:29 |
Lars Tangvald |
tags |
ftbfs mysql-5.7-transition patch removal-candidate verification-needed |
ftbfs mysql-5.7-transition patch removal-candidate |
|
2017-01-06 11:03:56 |
Lars Tangvald |
tags |
ftbfs mysql-5.7-transition patch removal-candidate |
ftbfs mysql-5.7-transition patch removal-candidate verification-done |
|
2017-01-10 14:58:38 |
Matthias Klose |
tags |
ftbfs mysql-5.7-transition patch removal-candidate verification-done |
ftbfs mysql-5.7-transition patch verification-done |
|
2017-01-12 18:44:40 |
Launchpad Janitor |
python-pymysql (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2017-01-12 18:44:45 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|