Comment 2 for bug 1526675

Revision history for this message
Tomi Juvonen (tomi-juvonen-q) wrote :

I get kind of similar with Nova: nova.tests.unit.db.test_migrations.TestNovaMigrationsSQLite.test_models_sync

~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/home/tojuvone/nova/.tox/py27/lib/python2.7/site-packages/oslo_db/sqlalchemy/test_migrations.py", line 603, in test_models_sync
        "Models and migration scripts aren't in sync:\n%s" % msg)
      File "/home/tojuvone/nova/.tox/py27/lib/python2.7/site-packages/unittest2/case.py", line 690, in fail
        raise self.failureException(msg)
    AssertionError: Models and migration scripts aren't in sync:
    [ [ ( 'modify_type',
          None,
          'bw_usage_cache',
          'bw_in',
          { 'existing_nullable': True,
            'existing_server_default': False},
          INTEGER(),
          BigInteger())],
      [ ( 'modify_type',
          None,
          'bw_usage_cache',
          'bw_out',
          { 'existing_nullable': True,
            'existing_server_default': False},
          INTEGER(),
          BigInteger())],
      [ ( 'modify_type',
          None,
          'bw_usage_cache',
          'last_ctr_in',
          { 'existing_nullable': True,
            'existing_server_default': False},
          INTEGER(),
          BigInteger())],
      [ ( 'modify_type',
          None,
          'bw_usage_cache',
          'last_ctr_out',
          { 'existing_nullable': True,
            'existing_server_default': False},
          INTEGER(),
          BigInteger())],
      [ ( 'modify_type',
          None,
          'volume_usage_cache',
          'curr_read_bytes',
          { 'existing_nullable': True,
            'existing_server_default': False},
          INTEGER(),
          BigInteger())],
      [ ( 'modify_type',
          None,
          'volume_usage_cache',
          'curr_reads',
          { 'existing_nullable': True,
            'existing_server_default': False},
          INTEGER(),
          BigInteger())],
      [ ( 'modify_type',
          None,
          'volume_usage_cache',
          'curr_write_bytes',
          { 'existing_nullable': True,
            'existing_server_default': False},
          INTEGER(),
          BigInteger())],
      [ ( 'modify_type',
          None,
          'volume_usage_cache',
          'curr_writes',
          { 'existing_nullable': True,
            'existing_server_default': False},
          INTEGER(),
          BigInteger())],
      [ ( 'modify_type',
          None,
          'volume_usage_cache',
          'tot_read_bytes',
          { 'existing_nullable': True,
            'existing_server_default': False},
          INTEGER(),
          BigInteger())],
      [ ( 'modify_type',
          None,
          'volume_usage_cache',
          'tot_reads',
          { 'existing_nullable': True,
            'existing_server_default': False},
          INTEGER(),
          BigInteger())],
      [ ( 'modify_type',
          None,
          'volume_usage_cache',
          'tot_write_bytes',
          { 'existing_nullable': True,
            'existing_server_default': False},
          INTEGER(),
          BigInteger())],
      [ ( 'modify_type',
          None,
          'volume_usage_cache',
          'tot_writes',
          { 'existing_nullable': True,
            'existing_server_default': False},
          INTEGER(),
          BigInteger())]]