← Back to team overview

openstack team mailing list archive

Re: Melange Unittests

 

On 04/05/2012 07:12 PM, Jason Kölker wrote:
On Fri, 2012-04-06 at 00:04 +0000, Brian Lamar wrote:
Can anyone enlighten me as to why the gate-melange-unittests-python26 job is only running a single test? The first time it ran it correctly found all 500+ tests but now it seems to be just running one. :(

This is happening locally for me too and I'm not quite sure where the disconnect is. I don't see any obvious changes in the code between the good/bad test runs that might account for this discrepancy.

Any pointing in the right direction would be appreciated!

If I run nosetests on a fresh checkout of master:

********************************************************************
$ nosetests

    test_config_file                                             OK  0.00
/home/corvus/melange/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/engine/reflection.py:47: SAWarning: Did not recognize type 'BIGINT' of column 'allocatable_ip_counter'
  ret = fn(self, con, *args, **kw)
/home/corvus/melange/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/engine/reflection.py:47: SAWarning: Did not recognize type 'BIGINT' of column 'address'
  ret = fn(self, con, *args, **kw)
/home/corvus/melange/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/engine/reflection.py:47: SAWarning: Did not recognize type 'BIGINT' of column 'next_address'
  ret = fn(self, con, *args, **kw)

----------------------------------------------------------------------
Ran 1 test in 1.102s

OK

********************************************************************

And an exit code of 0. If I disable the openstack nose plugin (edit setup.cfg) and re-run, I get this:


********************************************************************
$ nosetests
./home/corvus/melange/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/engine/reflection.py:47: SAWarning: Did not recognize type 'BIGINT' of column 'allocatable_ip_counter'
  ret = fn(self, con, *args, **kw)
/home/corvus/melange/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/engine/reflection.py:47: SAWarning: Did not recognize type 'BIGINT' of column 'address'
  ret = fn(self, con, *args, **kw)
/home/corvus/melange/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/engine/reflection.py:47: SAWarning: Did not recognize type 'BIGINT' of column 'next_address'
  ret = fn(self, con, *args, **kw)
EE
======================================================================
ERROR: test suite for <module 'melange.tests.functional' from '/home/corvus/melange/melange/tests/functional/__init__.pyc'>
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/corvus/melange/.tox/py27/local/lib/python2.7/site-packages/nose/suite.py", line 208, in run
    self.setUp()
File "/home/corvus/melange/.tox/py27/local/lib/python2.7/site-packages/nose/suite.py", line 291, in setUp
    self.setupContext(ancestor)
File "/home/corvus/melange/.tox/py27/local/lib/python2.7/site-packages/nose/suite.py", line 314, in setupContext
    try_run(context, names)
File "/home/corvus/melange/.tox/py27/local/lib/python2.7/site-packages/nose/util.py", line 478, in try_run
    return func()
File "/home/corvus/melange/melange/tests/functional/__init__.py", line 32, in setup
    db_api.db_reset(conf, db_based_ip_generator, db_based_mac_generator)
File "/home/corvus/melange/melange/db/sqlalchemy/api.py", line 259, in db_reset
    db_sync(options)
File "/home/corvus/melange/melange/db/sqlalchemy/api.py", line 246, in db_sync
    migration.db_sync(options, version, repo_path)
File "/home/corvus/melange/melange/db/sqlalchemy/migration.py", line 124, in db_sync
    upgrade(options, version=version, repo_path=repo_path)
File "/home/corvus/melange/melange/db/sqlalchemy/migration.py", line 66, in upgrade
    return versioning_api.upgrade(sql_connection, repo_path, version)
File "/home/corvus/melange/.tox/py27/local/lib/python2.7/site-packages/migrate/versioning/api.py", line 186, in upgrade return _migrate(url, repository, version, upgrade=True, err=err, **opts)
  File "<string>", line 2, in _migrate
File "/home/corvus/melange/.tox/py27/local/lib/python2.7/site-packages/migrate/versioning/util/__init__.py", line 159, in with_engine
    return f(*a, **kw)
File "/home/corvus/melange/.tox/py27/local/lib/python2.7/site-packages/migrate/versioning/api.py", line 366, in _migrate
    schema.runchange(ver, change, changeset.step)
File "/home/corvus/melange/.tox/py27/local/lib/python2.7/site-packages/migrate/versioning/schema.py", line 91, in runchange
    change.run(self.engine, step)
File "/home/corvus/melange/.tox/py27/local/lib/python2.7/site-packages/migrate/versioning/script/py.py", line 145, in run
    script_func(engine)
File "/home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/002_device_id_to_uuid.py", line 29, in upgrade
    _db_connect()
File "/home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/002_device_id_to_uuid.py", line 62, in _db_connect
    conf, app = config.Config.load_paste_app('melange', options, args)
File "/home/corvus/melange/melange/common/config.py", line 37, in load_paste_app
    conf, app = openstack_config.load_paste_app(*args, **kwargs)
File "/home/corvus/melange/melange/openstack/common/config.py", line 283, in load_paste_app
    args, config_dir)
File "/home/corvus/melange/melange/openstack/common/config.py", line 252, in load_paste_config
    "Cannot load application %s" % app_name)
RuntimeError: Unable to locate any configuration file. Cannot load application melange
-------------------- >> begin captured logging << --------------------
melange.db.sqlalchemy.session: INFO: Creating SQLAlchemy engine with args: {'pool_recycle': 3600, 'convert_unicode': True, 'echo': False}
migrate.versioning.util: DEBUG: Constructing engine
migrate.versioning.repository: DEBUG: Loading repository /home/corvus/melange/melange/db/sqlalchemy/migrate_repo... migrate.versioning.script.base: DEBUG: Loading script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/001_base_schema.py... migrate.versioning.script.base: DEBUG: Script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/001_base_schema.py loaded successfully migrate.versioning.script.base: DEBUG: Loading script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/002_device_id_to_uuid.py... migrate.versioning.script.base: DEBUG: Script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/002_device_id_to_uuid.py loaded successfully migrate.versioning.repository: DEBUG: Repository /home/corvus/melange/melange/db/sqlalchemy/migrate_repo loaded successfully migrate.versioning.repository: DEBUG: Config: OrderedDict([('db_settings', OrderedDict([('__name__', 'db_settings'), ('repository_id', 'Melange Migrations'), ('version_table', 'migrate_version'), ('required_dbs', "['mysql','postgres','sqlite']")]))]) migrate.versioning.util: DEBUG: Disposing SQLAlchemy engine Engine(sqlite:///melange_test.sqlite)
migrate.versioning.util: DEBUG: Constructing engine
migrate.versioning.repository: DEBUG: Loading repository /home/corvus/melange/melange/db/sqlalchemy/migrate_repo... migrate.versioning.script.base: DEBUG: Loading script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/001_base_schema.py... migrate.versioning.script.base: DEBUG: Script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/001_base_schema.py loaded successfully migrate.versioning.script.base: DEBUG: Loading script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/002_device_id_to_uuid.py... migrate.versioning.script.base: DEBUG: Script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/002_device_id_to_uuid.py loaded successfully migrate.versioning.repository: DEBUG: Repository /home/corvus/melange/melange/db/sqlalchemy/migrate_repo loaded successfully migrate.versioning.repository: DEBUG: Config: OrderedDict([('db_settings', OrderedDict([('__name__', 'db_settings'), ('repository_id', 'Melange Migrations'), ('version_table', 'migrate_version'), ('required_dbs', "['mysql','postgres','sqlite']")]))]) migrate.versioning.util: DEBUG: Disposing SQLAlchemy engine Engine(sqlite:///melange_test.sqlite) melange.db.migration: INFO: Upgrading sqlite:///melange_test.sqlite to version latest
migrate.versioning.util: DEBUG: Constructing engine
migrate.versioning.repository: DEBUG: Loading repository /home/corvus/melange/melange/db/sqlalchemy/migrate_repo... migrate.versioning.script.base: DEBUG: Loading script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/001_base_schema.py... migrate.versioning.script.base: DEBUG: Script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/001_base_schema.py loaded successfully migrate.versioning.script.base: DEBUG: Loading script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/002_device_id_to_uuid.py... migrate.versioning.script.base: DEBUG: Script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/002_device_id_to_uuid.py loaded successfully migrate.versioning.repository: DEBUG: Repository /home/corvus/melange/melange/db/sqlalchemy/migrate_repo loaded successfully migrate.versioning.repository: DEBUG: Config: OrderedDict([('db_settings', OrderedDict([('__name__', 'db_settings'), ('repository_id', 'Melange Migrations'), ('version_table', 'migrate_version'), ('required_dbs', "['mysql','postgres','sqlite']")]))])
migrate.versioning.api: INFO: 0 -> 1...
melange.db.migrate_repo.schema: INFO: creating table policies
melange.db.migrate_repo.schema: INFO: creating table ip_ranges
melange.db.migrate_repo.schema: INFO: creating table ip_octets
melange.db.migrate_repo.schema: INFO: creating table ip_blocks
melange.db.migrate_repo.schema: INFO: creating table ip_routes
melange.db.migrate_repo.schema: INFO: creating table mac_address_ranges
melange.db.migrate_repo.schema: INFO: creating table interfaces
melange.db.migrate_repo.schema: INFO: creating table mac_addresses
melange.db.migrate_repo.schema: INFO: creating table ip_addresses
melange.db.migrate_repo.schema: INFO: creating table ip_nats
melange.db.migrate_repo.schema: INFO: creating table allocatable_ips
melange.db.migrate_repo.schema: INFO: creating table allowed_ips
melange.db.migrate_repo.schema: INFO: creating table allocatable_macs
migrate.versioning.api: INFO: done
migrate.versioning.api: INFO: 1 -> 2...
migrate.versioning.util: DEBUG: Disposing SQLAlchemy engine Engine(sqlite:///melange_test.sqlite)
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test suite for <module 'melange.tests.unit' from '/home/corvus/melange/melange/tests/unit/__init__.pyc'>
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/corvus/melange/.tox/py27/local/lib/python2.7/site-packages/nose/suite.py", line 208, in run
    self.setUp()
File "/home/corvus/melange/.tox/py27/local/lib/python2.7/site-packages/nose/suite.py", line 291, in setUp
    self.setupContext(ancestor)
File "/home/corvus/melange/.tox/py27/local/lib/python2.7/site-packages/nose/suite.py", line 314, in setupContext
    try_run(context, names)
File "/home/corvus/melange/.tox/py27/local/lib/python2.7/site-packages/nose/util.py", line 478, in try_run
    return func()
File "/home/corvus/melange/melange/tests/unit/__init__.py", line 78, in setup
    db_api.db_reset(conf, db_based_ip_generator, db_based_mac_generator)
File "/home/corvus/melange/melange/db/sqlalchemy/api.py", line 259, in db_reset
    db_sync(options)
File "/home/corvus/melange/melange/db/sqlalchemy/api.py", line 246, in db_sync
    migration.db_sync(options, version, repo_path)
File "/home/corvus/melange/melange/db/sqlalchemy/migration.py", line 124, in db_sync
    upgrade(options, version=version, repo_path=repo_path)
File "/home/corvus/melange/melange/db/sqlalchemy/migration.py", line 66, in upgrade
    return versioning_api.upgrade(sql_connection, repo_path, version)
File "/home/corvus/melange/.tox/py27/local/lib/python2.7/site-packages/migrate/versioning/api.py", line 186, in upgrade return _migrate(url, repository, version, upgrade=True, err=err, **opts)
  File "<string>", line 2, in _migrate
File "/home/corvus/melange/.tox/py27/local/lib/python2.7/site-packages/migrate/versioning/util/__init__.py", line 159, in with_engine
    return f(*a, **kw)
File "/home/corvus/melange/.tox/py27/local/lib/python2.7/site-packages/migrate/versioning/api.py", line 366, in _migrate
    schema.runchange(ver, change, changeset.step)
File "/home/corvus/melange/.tox/py27/local/lib/python2.7/site-packages/migrate/versioning/schema.py", line 91, in runchange
    change.run(self.engine, step)
File "/home/corvus/melange/.tox/py27/local/lib/python2.7/site-packages/migrate/versioning/script/py.py", line 145, in run
    script_func(engine)
File "/home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/002_device_id_to_uuid.py", line 29, in upgrade
    _db_connect()
File "/home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/002_device_id_to_uuid.py", line 62, in _db_connect
    conf, app = config.Config.load_paste_app('melange', options, args)
File "/home/corvus/melange/melange/common/config.py", line 37, in load_paste_app
    conf, app = openstack_config.load_paste_app(*args, **kwargs)
File "/home/corvus/melange/melange/openstack/common/config.py", line 283, in load_paste_app
    args, config_dir)
File "/home/corvus/melange/melange/openstack/common/config.py", line 252, in load_paste_config
    "Cannot load application %s" % app_name)
RuntimeError: Unable to locate any configuration file. Cannot load application melange
-------------------- >> begin captured logging << --------------------
melange.db.sqlalchemy.session: INFO: Creating SQLAlchemy engine with args: {'pool_recycle': 3600, 'convert_unicode': True, 'echo': False}
migrate.versioning.util: DEBUG: Constructing engine
migrate.versioning.repository: DEBUG: Loading repository /home/corvus/melange/melange/db/sqlalchemy/migrate_repo... migrate.versioning.script.base: DEBUG: Loading script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/001_base_schema.py... migrate.versioning.script.base: DEBUG: Script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/001_base_schema.py loaded successfully migrate.versioning.script.base: DEBUG: Loading script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/002_device_id_to_uuid.py... migrate.versioning.script.base: DEBUG: Script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/002_device_id_to_uuid.py loaded successfully migrate.versioning.repository: DEBUG: Repository /home/corvus/melange/melange/db/sqlalchemy/migrate_repo loaded successfully migrate.versioning.repository: DEBUG: Config: OrderedDict([('db_settings', OrderedDict([('__name__', 'db_settings'), ('repository_id', 'Melange Migrations'), ('version_table', 'migrate_version'), ('required_dbs', "['mysql','postgres','sqlite']")]))]) migrate.versioning.util: DEBUG: Disposing SQLAlchemy engine Engine(sqlite:///melange_test.sqlite)
migrate.versioning.util: DEBUG: Constructing engine
migrate.versioning.repository: DEBUG: Loading repository /home/corvus/melange/melange/db/sqlalchemy/migrate_repo... migrate.versioning.script.base: DEBUG: Loading script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/001_base_schema.py... migrate.versioning.script.base: DEBUG: Script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/001_base_schema.py loaded successfully migrate.versioning.script.base: DEBUG: Loading script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/002_device_id_to_uuid.py... migrate.versioning.script.base: DEBUG: Script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/002_device_id_to_uuid.py loaded successfully migrate.versioning.repository: DEBUG: Repository /home/corvus/melange/melange/db/sqlalchemy/migrate_repo loaded successfully migrate.versioning.repository: DEBUG: Config: OrderedDict([('db_settings', OrderedDict([('__name__', 'db_settings'), ('repository_id', 'Melange Migrations'), ('version_table', 'migrate_version'), ('required_dbs', "['mysql','postgres','sqlite']")]))]) migrate.versioning.util: DEBUG: Disposing SQLAlchemy engine Engine(sqlite:///melange_test.sqlite) melange.db.migration: INFO: Upgrading sqlite:///melange_test.sqlite to version latest
migrate.versioning.util: DEBUG: Constructing engine
migrate.versioning.repository: DEBUG: Loading repository /home/corvus/melange/melange/db/sqlalchemy/migrate_repo... migrate.versioning.script.base: DEBUG: Loading script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/001_base_schema.py... migrate.versioning.script.base: DEBUG: Script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/001_base_schema.py loaded successfully migrate.versioning.script.base: DEBUG: Loading script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/002_device_id_to_uuid.py... migrate.versioning.script.base: DEBUG: Script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/002_device_id_to_uuid.py loaded successfully migrate.versioning.repository: DEBUG: Repository /home/corvus/melange/melange/db/sqlalchemy/migrate_repo loaded successfully migrate.versioning.repository: DEBUG: Config: OrderedDict([('db_settings', OrderedDict([('__name__', 'db_settings'), ('repository_id', 'Melange Migrations'), ('version_table', 'migrate_version'), ('required_dbs', "['mysql','postgres','sqlite']")]))])
migrate.versioning.api: INFO: 0 -> 1...
melange.db.migrate_repo.schema: INFO: creating table policies
melange.db.migrate_repo.schema: INFO: creating table ip_ranges
melange.db.migrate_repo.schema: INFO: creating table ip_octets
melange.db.migrate_repo.schema: INFO: creating table ip_blocks
melange.db.migrate_repo.schema: INFO: creating table ip_routes
melange.db.migrate_repo.schema: INFO: creating table mac_address_ranges
melange.db.migrate_repo.schema: INFO: creating table interfaces
melange.db.migrate_repo.schema: INFO: creating table mac_addresses
melange.db.migrate_repo.schema: INFO: creating table ip_addresses
melange.db.migrate_repo.schema: INFO: creating table ip_nats
melange.db.migrate_repo.schema: INFO: creating table allocatable_ips
melange.db.migrate_repo.schema: INFO: creating table allowed_ips
melange.db.migrate_repo.schema: INFO: creating table allocatable_macs
migrate.versioning.api: INFO: done
migrate.versioning.api: INFO: 1 -> 2...
migrate.versioning.util: DEBUG: Disposing SQLAlchemy engine Engine(sqlite:///melange_test.sqlite) melange.db.sqlalchemy.session: INFO: Creating SQLAlchemy engine with args: {'pool_recycle': 3600, 'convert_unicode': True, 'echo': False}
migrate.versioning.util: DEBUG: Constructing engine
migrate.versioning.repository: DEBUG: Loading repository /home/corvus/melange/melange/db/sqlalchemy/migrate_repo... migrate.versioning.script.base: DEBUG: Loading script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/001_base_schema.py... migrate.versioning.script.base: DEBUG: Script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/001_base_schema.py loaded successfully migrate.versioning.script.base: DEBUG: Loading script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/002_device_id_to_uuid.py... migrate.versioning.script.base: DEBUG: Script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/002_device_id_to_uuid.py loaded successfully migrate.versioning.repository: DEBUG: Repository /home/corvus/melange/melange/db/sqlalchemy/migrate_repo loaded successfully migrate.versioning.repository: DEBUG: Config: OrderedDict([('db_settings', OrderedDict([('__name__', 'db_settings'), ('repository_id', 'Melange Migrations'), ('version_table', 'migrate_version'), ('required_dbs', "['mysql','postgres','sqlite']")]))]) migrate.versioning.util: DEBUG: Disposing SQLAlchemy engine Engine(sqlite:///melange_test.sqlite)
migrate.versioning.util: DEBUG: Constructing engine
migrate.versioning.repository: DEBUG: Loading repository /home/corvus/melange/melange/db/sqlalchemy/migrate_repo... migrate.versioning.script.base: DEBUG: Loading script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/001_base_schema.py... migrate.versioning.script.base: DEBUG: Script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/001_base_schema.py loaded successfully migrate.versioning.script.base: DEBUG: Loading script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/002_device_id_to_uuid.py... migrate.versioning.script.base: DEBUG: Script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/002_device_id_to_uuid.py loaded successfully migrate.versioning.repository: DEBUG: Repository /home/corvus/melange/melange/db/sqlalchemy/migrate_repo loaded successfully migrate.versioning.repository: DEBUG: Config: OrderedDict([('db_settings', OrderedDict([('__name__', 'db_settings'), ('repository_id', 'Melange Migrations'), ('version_table', 'migrate_version'), ('required_dbs', "['mysql','postgres','sqlite']")]))]) migrate.versioning.util: DEBUG: Disposing SQLAlchemy engine Engine(sqlite:///melange_test.sqlite) melange.db.migration: INFO: Upgrading sqlite:///melange_test.sqlite to version latest
migrate.versioning.util: DEBUG: Constructing engine
migrate.versioning.repository: DEBUG: Loading repository /home/corvus/melange/melange/db/sqlalchemy/migrate_repo... migrate.versioning.script.base: DEBUG: Loading script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/001_base_schema.py... migrate.versioning.script.base: DEBUG: Script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/001_base_schema.py loaded successfully migrate.versioning.script.base: DEBUG: Loading script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/002_device_id_to_uuid.py... migrate.versioning.script.base: DEBUG: Script /home/corvus/melange/melange/db/sqlalchemy/migrate_repo/versions/002_device_id_to_uuid.py loaded successfully migrate.versioning.repository: DEBUG: Repository /home/corvus/melange/melange/db/sqlalchemy/migrate_repo loaded successfully migrate.versioning.repository: DEBUG: Config: OrderedDict([('db_settings', OrderedDict([('__name__', 'db_settings'), ('repository_id', 'Melange Migrations'), ('version_table', 'migrate_version'), ('required_dbs', "['mysql','postgres','sqlite']")]))])
migrate.versioning.api: INFO: 0 -> 1...
melange.db.migrate_repo.schema: INFO: creating table policies
melange.db.migrate_repo.schema: INFO: creating table ip_ranges
melange.db.migrate_repo.schema: INFO: creating table ip_octets
melange.db.migrate_repo.schema: INFO: creating table ip_blocks
melange.db.migrate_repo.schema: INFO: creating table ip_routes
melange.db.migrate_repo.schema: INFO: creating table mac_address_ranges
melange.db.migrate_repo.schema: INFO: creating table interfaces
melange.db.migrate_repo.schema: INFO: creating table mac_addresses
melange.db.migrate_repo.schema: INFO: creating table ip_addresses
melange.db.migrate_repo.schema: INFO: creating table ip_nats
melange.db.migrate_repo.schema: INFO: creating table allocatable_ips
melange.db.migrate_repo.schema: INFO: creating table allowed_ips
melange.db.migrate_repo.schema: INFO: creating table allocatable_macs
migrate.versioning.api: INFO: done
migrate.versioning.api: INFO: 1 -> 2...
migrate.versioning.util: DEBUG: Disposing SQLAlchemy engine Engine(sqlite:///melange_test.sqlite)
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 1 test in 0.795s

FAILED (errors=2)

********************************************************************

And an exit code of 1.

-Jim


References