← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1613318] [NEW] Separate alembic branch upgrades not tested in the gate

 

Public bug reported:

The devstack setup and neutron migration tests do not check separate
alembic branch migrations. Thus we do not catch things like [1].

The test should ensure that the following succeeds:
  neutron-db-manage upgrade --expand
  neutron-db-manage upgrade --contract

It should produce the same final schema as:
    neutron-db-manage upgrade heads

We should add this check to the test_migrations so that all subprojects
inherit it also.

[1] https://launchpad.net/bugs/1613299

** Affects: neutron
     Importance: High
     Assignee: Ann Taraday (akamyshnikova)
         Status: Confirmed


** Tags: db functional-tests

** Tags added: db functional-tests

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1613318

Title:
  Separate alembic branch upgrades not tested in the gate

Status in neutron:
  Confirmed

Bug description:
  The devstack setup and neutron migration tests do not check separate
  alembic branch migrations. Thus we do not catch things like [1].

  The test should ensure that the following succeeds:
    neutron-db-manage upgrade --expand
    neutron-db-manage upgrade --contract

  It should produce the same final schema as:
      neutron-db-manage upgrade heads

  We should add this check to the test_migrations so that all
  subprojects inherit it also.

  [1] https://launchpad.net/bugs/1613299

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1613318/+subscriptions


Follow ups