Source: python-testing.mysqld
Version: 1.4.0-2
Severity: serious
Tags: buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-testing.mysqld.html

...
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:217: cd 
/build/1st/python-testing.mysqld-1.4.0/.pybuild/cpython2_2.7_testing.mysqld/build;
 python2.7 -m nose tests
....E.............
======================================================================
ERROR: test_copy_data_from_with_passwd (test_mysql.TestMysqld)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/build/1st/python-testing.mysqld-1.4.0/.pybuild/cpython2_2.7_testing.mysqld/build/tests/test_mysql.py",
 line 172, in test_copy_data_from_with_passwd
    cursor.execute("SET PASSWORD FOR 'root'@'localhost' = PASSWORD('secret'); 
FLUSH PRIVILEGES;")
  File "/usr/lib/python2.7/dist-packages/pymysql/cursors.py", line 165, in 
execute
    result = self._query(query)
  File "/usr/lib/python2.7/dist-packages/pymysql/cursors.py", line 321, in 
_query
    conn.query(q)
  File "/usr/lib/python2.7/dist-packages/pymysql/connections.py", line 860, in 
query
    self._affected_rows = self._read_query_result(unbuffered=unbuffered)
  File "/usr/lib/python2.7/dist-packages/pymysql/connections.py", line 1061, in 
_read_query_result
    result.read()
  File "/usr/lib/python2.7/dist-packages/pymysql/connections.py", line 1349, in 
read
    first_packet = self.connection._read_packet()
  File "/usr/lib/python2.7/dist-packages/pymysql/connections.py", line 1018, in 
_read_packet
    packet.check_error()
  File "/usr/lib/python2.7/dist-packages/pymysql/connections.py", line 384, in 
check_error
    err.raise_mysql_exception(self._data)
  File "/usr/lib/python2.7/dist-packages/pymysql/err.py", line 107, in 
raise_mysql_exception
    raise errorclass(errno, errval)
ProgrammingError: (1064, u"You have an error in your SQL syntax; check the 
manual that corresponds to your MariaDB server version for the right syntax to 
use near 'FLUSH PRIVILEGES' at line 1")

----------------------------------------------------------------------
Ran 18 tests in 255.407s

FAILED (errors=1)
E: pybuild pybuild:336: test: plugin distutils failed with: exit code=1: cd 
/build/1st/python-testing.mysqld-1.4.0/.pybuild/cpython2_2.7_testing.mysqld/build;
 python2.7 -m nose tests
dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7 returned 
exit code 13
make: *** [debian/rules:6: build] Error 25

Reply via email to