[Python-modules-team] Bug#735815: sqlobject: FTBFS: Tests failures

David Suárez david.sephirot at gmail.com
Fri Jan 17 20:19:55 UTC 2014


Source: sqlobject
Version: 1.5.0-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140114 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <sqlobject.sqlite.sqliteconnection.SQLiteConnection instance at 0x22a0170>
> conn = <sqlite3.Connection object at 0x23adb10>
> soInstance = <TestException (not initialized)>, id = None, names = ['name']
> values = ['test']
> 
>     def _queryInsertID(self, conn, soInstance, id, names, values):
>         table = soInstance.sqlmeta.table
>         idName = soInstance.sqlmeta.idName
>         c = conn.cursor()
>         if id is not None:
>             names = [idName] + names
>             values = [id] + values
>         q = self._insertSQL(table, names, values)
>         if self.debug:
>             self.printDebug(conn, q, 'QueryIns')
> >       self._executeRetry(conn, c, q)
> 
> ../../../sqlobject/sqlite/sqliteconnection.py:238: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <sqlobject.sqlite.sqliteconnection.SQLiteConnection instance at 0x22a0170>
> conn = <sqlite3.Connection object at 0x23adb10>
> cursor = <sqlite3.Cursor object at 0x3206ce0>
> query = "INSERT INTO test_exception (name) VALUES ('test')"
> 
>     def _executeRetry(self, conn, cursor, query):
>         if self.debug:
>             self.printDebug(conn, query, 'QueryR')
>         try:
>             return cursor.execute(query)
>         except self.module.OperationalError, e:
>             raise OperationalError(ErrorMessage(e))
>         except self.module.IntegrityError, e:
>             msg = ErrorMessage(e)
>             if msg.startswith('column') and msg.endswith('not unique'):
>                 raise DuplicateEntryError(msg)
>             else:
> >               raise IntegrityError(msg)
> E               IntegrityError: UNIQUE constraint failed: test_exception.name
> 
> ../../../sqlobject/sqlite/sqliteconnection.py:210: IntegrityError
> ============== 1 failed, 272 passed, 62 skipped in 10.52 seconds ===============
> E: pybuild pybuild:256: test: plugin distutils failed with: exit code=1: cd /«PKGBUILDDIR»/.pybuild/pythonX.Y_2.7/build; python2.7 -m pytest "{dir}"
> dh_auto_test: pybuild --test -i python{version} -p 2.7 --dir . returned exit code 13

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/01/14/sqlobject_1.5.0-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Python-modules-team mailing list