[PKG-Openstack-devel] Bug#909989: keystone: FTBFS (failing tests)
Santiago Vila
sanvila at debian.org
Mon Oct 1 00:03:50 BST 2018
Package: src:keystone
Version: 2:14.0.0-1
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
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
dh build-indep --buildsystem=python_distutils --with python3,sphinxdoc,systemd
dh_update_autotools_config -i -O--buildsystem=python_distutils
dh_autoreconf -i -O--buildsystem=python_distutils
dh_auto_configure -i -O--buildsystem=python_distutils
dh_auto_configure: Please use the third-party "pybuild" build system instead of python-distutils
dh_auto_configure: This feature will be removed in compat 12.
debian/rules override_dh_auto_build
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
[... snipped ...]
File "/<<PKGBUILDDIR>>/keystone/common/sql/upgrades.py", line 62, in upgrade
self.schema_.runchange(ver, change, changeset.step)
File "/usr/lib/python3/dist-packages/migrate/versioning/schema.py", line 93, in runchange
change.run(self.engine, step)
File "/usr/lib/python3/dist-packages/migrate/versioning/script/py.py", line 148, in run
script_func(engine)
File "/<<PKGBUILDDIR>>/keystone/common/sql/contract_repo/versions/013_contract_protocol_cascade_delete_for_federated_user.py", line 26, in upgrade
refcolumns=[protocol_table.c.id, protocol_table.c.idp_id]).drop()
File "/usr/lib/python3/dist-packages/migrate/changeset/constraint.py", line 59, in drop
self.__do_imports('constraintdropper', *a, **kw)
File "/usr/lib/python3/dist-packages/migrate/changeset/constraint.py", line 32, in __do_imports
run_single_visitor(engine, visitorcallable, self, *a, **kw)
File "/usr/lib/python3/dist-packages/migrate/changeset/databases/visitor.py", line 85, in run_single_visitor
fn(element, **kwargs)
File "/usr/lib/python3/dist-packages/migrate/changeset/databases/sqlite.py", line 204, in visit_migrate_foreign_key_constraint
self.recreate_table(p[0].table, omit_constraints=[p[0].name])
File "/usr/lib/python3/dist-packages/migrate/changeset/databases/sqlite.py", line 100, in recreate_table
self.execute()
File "/usr/lib/python3/dist-packages/migrate/changeset/ansisql.py", line 44, in execute
return self.connection.execute(self.buffer.getvalue())
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 942, in execute
return self._execute_text(object, multiparams, params)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1104, in _execute_text
statement, parameters
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1200, in _execute_context
context)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1409, in _handle_dbapi_exception
util.raise_from_cause(newraise, exc_info)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 203, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 186, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1193, in _execute_context
context)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 508, in do_execute
cursor.execute(statement, parameters)
oslo_db.exception.DBNonExistentTable: (sqlite3.OperationalError) error in trigger federated_user_insert_trigger: no such table: main.migration_tmp [SQL: 'ALTER TABLE federated_user RENAME TO migration_tmp'] (Background on this error at: http://sqlalche.me/e/e3q8)
----------------------------------------------------------------------
Ran 5575 tests in 3360.083s
FAILED (failures=17, skipped=831)
make[1]: *** [debian/rules:55: override_dh_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:14: binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------
The build was made in my autobuilder with "dpkg-buildpackage -A"
but it also fails here:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/keystone.html
where you can get a full build log if you need it.
If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.
Thanks.
More information about the Openstack-devel
mailing list