py27 test broken after alembic update

Bug #1396117 reported by Sergey Reshetnyak
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
Critical
Sergey Reshetnyak
Icehouse
Fix Released
High
Sergey Reshetnyak
Juno
Fix Released
High
Sergey Reshetnyak

Bug Description

After update alembic to 0.7.0 version unit tests broken.

2014-11-25 08:43:25.303 | ----------------------------------------------------------------------
2014-11-25 08:43:25.303 | Traceback (most recent call last):
2014-11-25 08:43:25.303 | File "sahara/tests/unit/db/migration/test_migrations_base.py", line 139, in test_mysql_opportunistically
2014-11-25 08:43:25.304 | self._test_mysql_opportunistically()
2014-11-25 08:43:25.304 | File "sahara/tests/unit/db/migration/test_migrations_base.py", line 429, in _test_mysql_opportunistically
2014-11-25 08:43:25.304 | self.assertTrue(total.scalar() > 0, "No tables found. Wrong schema?")
2014-11-25 08:43:25.305 | File "/home/jenkins/workspace/gate-sahara-python27/.tox/py27/local/lib/python2.7/site-packages/unittest2/case.py", line 678, in assertTrue
2014-11-25 08:43:25.305 | raise self.failureException(msg)
2014-11-25 08:43:25.305 | AssertionError: False is not true : No tables found. Wrong schema?

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to sahara (master)

Fix proposed to branch: master
Review: https://review.openstack.org/137035

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to sahara (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/137469

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara (master)

Reviewed: https://review.openstack.org/137035
Committed: https://git.openstack.org/cgit/openstack/sahara/commit/?id=3bf970dffa218755ce3acedabca8d6d7eaf5b92b
Submitter: Jenkins
Branch: master

commit 3bf970dffa218755ce3acedabca8d6d7eaf5b92b
Author: Sergey Reshetnyak <email address hidden>
Date: Tue Nov 25 15:12:26 2014 +0300

    Fix broken unit tests

    After alembic update output of 'history' command in alembic changed

    Change-Id: I965250b25fc43a90a6df73316021f61b2a5e714d
    Closes-bug: #1396117

Changed in sahara:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara (stable/juno)

Reviewed: https://review.openstack.org/137469
Committed: https://git.openstack.org/cgit/openstack/sahara/commit/?id=f710fa450a46a394f2924475edf2d48fa2b0b598
Submitter: Jenkins
Branch: stable/juno

commit f710fa450a46a394f2924475edf2d48fa2b0b598
Author: Sergey Reshetnyak <email address hidden>
Date: Tue Nov 25 15:12:26 2014 +0300

    Fix broken unit tests

    After alembic update output of 'history' command in alembic changed

    Change-Id: I965250b25fc43a90a6df73316021f61b2a5e714d
    Closes-bug: #1396117

Thierry Carrez (ttx)
Changed in sahara:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to sahara (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/143838

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara (stable/icehouse)

Reviewed: https://review.openstack.org/143838
Committed: https://git.openstack.org/cgit/openstack/sahara/commit/?id=051f5ce552f403ab7d52888729df07452a92ab23
Submitter: Jenkins
Branch: stable/icehouse

commit 051f5ce552f403ab7d52888729df07452a92ab23
Author: Sergey Reshetnyak <email address hidden>
Date: Tue Nov 25 15:12:26 2014 +0300

    Fix broken unit tests

    After alembic update output of 'history' command in alembic changed

    Closes-bug: #1396117
    (cherry picked from commit 3bf970dffa218755ce3acedabca8d6d7eaf5b92b)

    Conflicts:
     sahara/tests/unit/db/migration/test_migrations_base.py

    Change-Id: I965250b25fc43a90a6df73316021f61b2a5e714d

tags: added: in-stable-icehouse
Thierry Carrez (ttx)
Changed in sahara:
milestone: kilo-1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.