[Bug 1807262] Re: stein unit tests fail with sqlalchemy.exc.NoSuchTableError: migration_tmp

Stephen Finucane sfinucan at redhat.com
Tue Jan 8 18:16:47 UTC 2019


Steps to reproduce using a Fedora container, courtesy of sean-k-mooney.

#create fedora29 docker container or use a fedora 29 host
sudo docker run --rm -it fedora bash
# recreate bug
yum install -y tox git python2-devel libffi-devel make gcc
cd ~
git clone http://github.com/openstack/nova
cd nova/
tox -e py27 -- test_create_fails_instance
#passes
dnf list --installed | grep sqlite
# shoudl be using 3.24
dnf install -y sqlite
tox -e py27 -- test_create_fails_instance
# fails

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to migrate in Ubuntu.
https://bugs.launchpad.net/bugs/1807262

Title:
  stein unit tests fail with sqlalchemy.exc.NoSuchTableError:
  migration_tmp

Status in sqlalchemy-migrate:
  New
Status in cinder package in Ubuntu:
  Fix Released
Status in migrate package in Ubuntu:
  Fix Released
Status in nova package in Ubuntu:
  Fix Released
Status in sqlite3 package in Ubuntu:
  Invalid

Bug description:
  Several tests that use sqlite fail with:
  "sqlalchemy.exc.NoSuchTableError: migration_tmp". I'm currently
  hitting this with nova and cinder packages in disco.

  Note this started sometime after 11/19 when nova
  2:19.0.0~b1~git2018111953.3e756ff674-0ubuntu1 was uploaded (and built
  successfully at the time).

  After doing some digging this appears to occur with libsqlite3-0
  3.26.0-1 but does not occur with libsqlite3-0 3.25.3-1. Here are some
  more details on that, shown by running a failing unit test from the
  cinder package: https://paste.ubuntu.com/p/hsnQFQD572/

  Update: The test in the paste above also works successfully with
  libsqlite3-0 3.25.3-2.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sqlalchemy-migrate/+bug/1807262/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list