Debian Bug report logs - #796010
python-pymysql: FTBFS: InternalError: (1317, u'Query execution was interrupted')

version graph

Package: src:python-pymysql; Maintainer for src:python-pymysql is Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>;

Reported by: Chris Lamb <lamby@debian.org>

Date: Tue, 18 Aug 2015 15:06:02 UTC

Severity: serious

Found in version python-pymysql/0.6.2-1

Fixed in version python-pymysql/0.6.2-2

Done: Thomas Goirand <zigo@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-builds@lists.alioth.debian.org, PKG OpenStack <openstack-devel@lists.alioth.debian.org>:
Bug#796010; Package src:python-pymysql. (Tue, 18 Aug 2015 15:06:06 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-builds@lists.alioth.debian.org, PKG OpenStack <openstack-devel@lists.alioth.debian.org>. (Tue, 18 Aug 2015 15:06:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: submit@bugs.debian.org
Subject: python-pymysql: FTBFS: InternalError: (1317, u'Query execution was interrupted')
Date: Tue, 18 Aug 2015 16:03:30 +0100
[Message part 1 (text/plain, inline)]
Source: python-pymysql
Version: 0.6.2-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Dear Maintainer,

python-pymysql fails to build from source on unstable/amd64:

  [..]

  + /usr/bin/mysqladmin --socket=/tmp/tmp.esZkDTUWIW/mysql.sock ping
  mysqld is alive
  + mysql --socket=/tmp/tmp.esZkDTUWIW/mysql.sock --execute=CREATE
  DATABASE test_pymysql;
  + mysql --socket=/tmp/tmp.esZkDTUWIW/mysql.sock --execute=CREATE
  DATABASE test_pymysql2;
  + echo [
  {"unix_socket": "/tmp/tmp.esZkDTUWIW/mysql.sock", "user": "root",
  "passwd": "", "db": "test_pymysql", "use_unicode": true},
  {"unix_socket": "/tmp/tmp.esZkDTUWIW/mysql.sock", "user": "root",
  "passwd": "", "db": "test_pymysql2" }
  ]
  + pyversions -vr
  pyversions: missing X(S)-Python-Version in control file, fall back to
  debian/pyversions
  pyversions: missing debian/pyversions file, fall back to supported
  versions
  + PYTHONS=2.7
  + py3versions -vr
  py3versions: no X-Python3-Version in control file, using supported
  versions
  + PYTHON3S=3.4
  + PYTHONPATH=. PYTHON=python2.7 python2.7 runtests.py
  ....................F......................sE..x......s.........................................................x.......
  ======================================================================
  ERROR: test_issue_36 (pymysql.tests.test_issues.TestNewIssues)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File
    "/tmp/buildd/python-pymysql-0.6.2/pymysql/tests/test_issues.py",
    line 200, in test_issue_36
      conn.kill(kill_id)
    File "/tmp/buildd/python-pymysql-0.6.2/pymysql/connections.py", line
    739, in kill
      return self._read_ok_packet()
    File "/tmp/buildd/python-pymysql-0.6.2/pymysql/connections.py", line
    658, in _read_ok_packet
      pkt = self._read_packet()
    File "/tmp/buildd/python-pymysql-0.6.2/pymysql/connections.py", line
    826, in _read_packet
      packet.check_error()
    File "/tmp/buildd/python-pymysql-0.6.2/pymysql/connections.py", line
    370, in check_error
      raise_mysql_exception(self._data)
    File "/tmp/buildd/python-pymysql-0.6.2/pymysql/err.py", line 116, in
    raise_mysql_exception
      _check_mysql_exception(errinfo)
    File "/tmp/buildd/python-pymysql-0.6.2/pymysql/err.py", line 112, in
    _check_mysql_exception
      raise InternalError(errno, errorvalue)
  InternalError: (1317, u'Query execution was interrupted')
  
  ======================================================================
  FAIL: test_datatypes (pymysql.tests.test_basic.TestConversion)
  test every data type
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/tmp/buildd/python-pymysql-0.6.2/pymysql/tests/test_basic.py",
    line 29, in test_datatypes
      self.assertEqual(datetime.datetime(*v[8].timetuple()[:6]), r[8])
  AssertionError: datetime.datetime(2015, 7, 21, 15, 58, 57) !=
  datetime.datetime(2015, 7, 21, 15, 58, 58)
  
  ----------------------------------------------------------------------
  Ran 120 tests in 4.993s
  
  FAILED (failures=1, errors=1, skipped=2, expected failures=2)
  Set max_allowed_packet to bigger than 17MB
  No garbages!
  debian/rules:25: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 1
  make[1]: Leaving directory '/tmp/buildd/python-pymysql-0.6.2'
  debian/rules:10: recipe for target 'build' failed
  make: *** [build] Error 2
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  [..]

The full build log is attached or can be viewed here:

  https://reproducible.debian.net/logs/unstable/amd64/python-pymysql_0.6.2-1.build1.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
[python-pymysql.0.6.2-1.unstable.amd64.log.txt (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, corey.bryant@canonical.com, PKG OpenStack <openstack-devel@lists.alioth.debian.org>:
Bug#796010; Package src:python-pymysql. (Mon, 24 Aug 2015 21:18:04 GMT) (full text, mbox, link).


Acknowledgement sent to Corey Bryant <corey.bryant@canonical.com>:
Extra info received and forwarded to list. Copy sent to corey.bryant@canonical.com, PKG OpenStack <openstack-devel@lists.alioth.debian.org>. (Mon, 24 Aug 2015 21:18:05 GMT) (full text, mbox, link).


Message #10 received at 796010@bugs.debian.org (full text, mbox, reply):

From: Corey Bryant <corey.bryant@canonical.com>
To: Debian Bug Tracking System <796010@bugs.debian.org>
Subject: python-pymysql: The attached patch fixes the failing tests for python-pymysql.
Date: Mon, 24 Aug 2015 17:16:42 -0400
[Message part 1 (text/plain, inline)]
Package: python-pymysql
Version: 0.6.2-1
Followup-For: Bug #796010
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu wily ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * d/p/test-issue-36.patch: Added to fix failing test, test_issue_36().
  * d/p/test-datatypes.patch: Added to fix failing test, test_datatypes.

Thanks for considering the patch.


-- System Information:
Debian Release: jessie/sid
  APT prefers vivid-updates
  APT policy: (500, 'vivid-updates'), (500, 'vivid-security'), (500, 'vivid'), (100, 'vivid-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.19.0-26-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
[python-pymysql_0.6.2-1ubuntu1.debdiff (text/x-diff, attachment)]

Reply sent to Thomas Goirand <zigo@debian.org>:
You have taken responsibility. (Wed, 26 Aug 2015 15:42:14 GMT) (full text, mbox, link).


Notification sent to Chris Lamb <lamby@debian.org>:
Bug acknowledged by developer. (Wed, 26 Aug 2015 15:42:14 GMT) (full text, mbox, link).


Message #15 received at 796010-close@bugs.debian.org (full text, mbox, reply):

From: Thomas Goirand <zigo@debian.org>
To: 796010-close@bugs.debian.org
Subject: Bug#796010: fixed in python-pymysql 0.6.2-2
Date: Wed, 26 Aug 2015 15:40:09 +0000
Source: python-pymysql
Source-Version: 0.6.2-2

We believe that the bug you reported is fixed in the latest version of
python-pymysql, 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 796010@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <zigo@debian.org> (supplier of updated python-pymysql 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 26 Aug 2015 13:54:54 +0000
Source: python-pymysql
Binary: python-pymysql python3-pymysql
Architecture: source all
Version: 0.6.2-2
Distribution: unstable
Urgency: medium
Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
Changed-By: Thomas Goirand <zigo@debian.org>
Description:
 python-pymysql - Pure-Python MySQL driver - Python 2.x
 python3-pymysql - Pure-Python MySQL Driver - Python 3.x
Closes: 796010
Changes:
 python-pymysql (0.6.2-2) unstable; urgency=medium
 .
   * Fixes FTBFS by adding Corey Bryant patch (Closes: #796010).
   * Removed ancient six patch.
   * Fixed watch file.
Checksums-Sha1:
 2b4d5c4af625258601962f5a0efbe5656c194e8a 2171 python-pymysql_0.6.2-2.dsc
 cf491e642974c496369cd9718081277982cc3867 4504 python-pymysql_0.6.2-2.debian.tar.xz
 5b0e947c3a9390df94bb706e6d243014044e65ff 47434 python-pymysql_0.6.2-2_all.deb
 32b3f903e1ce3c611e0c5c028fdb4a32f0c40208 47292 python3-pymysql_0.6.2-2_all.deb
Checksums-Sha256:
 3bc1debce476a146505a1cf664a8d21745d55621d68c8e91fb6c6e3d21928b74 2171 python-pymysql_0.6.2-2.dsc
 3ead81b3a023714d83b8b2d75c7dbf5cb2f9595a18fe6b81444b17098ffd4255 4504 python-pymysql_0.6.2-2.debian.tar.xz
 5c4ac897645bd3faa84f43f9837ca58926ce81c4b647c774f2bb9c9c81c038f6 47434 python-pymysql_0.6.2-2_all.deb
 d772076f14a62099fddf725cc9fb00d80e423d6da47ac8b691795dcc92979e11 47292 python3-pymysql_0.6.2-2_all.deb
Files:
 2393347f95ca05a780fa6a512f605e36 2171 python optional python-pymysql_0.6.2-2.dsc
 2ec6458c3bc9198c0353bc8dbfb55f51 4504 python optional python-pymysql_0.6.2-2.debian.tar.xz
 a7e60125d41f53018b48c863dda116f5 47434 python optional python-pymysql_0.6.2-2_all.deb
 3e7a231f51d2a06dae11c55f17c19e35 47292 python optional python3-pymysql_0.6.2-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJV3cfAAAoJENQWrRWsa0P+y7YP/jz+qdJQfJGZYwmVCvkub2Be
Vn9DObg0lBwSal2on8j7qhK1tIpKbOAmFDvhjJk7z+JxCvQP9wlcXIKlT92YMZG0
YybdaFAU8BpFxVzuKdpQgKVQg7qSrt2GSACRQ/MNciqlwoQTibOFwLQcyc1qGyQT
qzqyEFBDM1m+bg07Lg7pKIun7au5grmnhmfv1dFJr7t+oskXr43waGa5jtjUuEuQ
jTJMkhfWT7etlsmfy6vyIj7uexI3pG0vDeBDQopikjKafV1BkGES8bMjz19vt7gA
U0qPKn7Jk5iGmKFVBAvocRkdcWD29k/u/av6wxBEgIN+0HrZb8vdPiPoEKvn8Jmh
6t0KrEbISlm4JUTYpoIi/vfOUouKUu89RwsRKK065Ocn1SJF+KNHWjT7RURr1qjU
pVeDVWftTMfBXWdhVP1LpDscBWsDEAeq+uIQp+B80iYTqzbqRRwc7TKSbnKuQ0fG
CSQjK81GOA31VIKFlM618A7mX2dKqyxWz4xOXIOJk4O13qtvHMFsON/RIwVbV8Kt
EgyQXg1S0S+Z+uixkt1x16StrOaox7MvM++3SsmMN3IeNV7wa1xgvbRvXgtzf4IL
kboBrayqDQSam4AlBifP5mYxGsW0IGzxqD8Dk7E3xMZMKBDGaJpuMHAw9q4h8CfE
fcPIKfBBTKJx6j+MhSew
=et9U
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 29 Sep 2015 07:29:08 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Jan 4 20:21:53 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.