[PKG-Openstack-devel] Bug#764837: factory-boy: FTBFS - tests fail with "AppRegistryNotReady: Apps aren't loaded yet."

Michael Tautschnig mt at debian.org
Sat Oct 11 14:57:52 UTC 2014


Package: factory-boy
Version: 2.4.1-2
Severity: serious
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error.

[...]
  File "/srv/jenkins-slave/workspace/sid-goto-cc-factory-boy/factory-boy-2.4.1/tests/test_django.py", line 85, in setUpModule
    runner_state = runner.setup_databases()
  File "/usr/lib/python2.7/dist-packages/django/test/runner.py", line 109, in setup_databases
    return setup_databases(self.verbosity, self.interactive, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/test/runner.py", line 299, in setup_databases
    serialize=connection.settings_dict.get("TEST_SERIALIZE", True),
  File "/usr/lib/python2.7/dist-packages/django/db/backends/creation.py", line 374, in create_test_db
    test_flush=True,
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 93, in call_command
    app_name = get_commands()[name]
  File "/usr/lib/python2.7/dist-packages/django/utils/lru_cache.py", line 101, in wrapper
    result = user_function(*args, **kwds)
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 73, in get_commands
    for app_config in reversed(list(apps.get_app_configs())):
  File "/usr/lib/python2.7/dist-packages/django/apps/registry.py", line 137, in get_app_configs
    self.check_apps_ready()
  File "/usr/lib/python2.7/dist-packages/django/apps/registry.py", line 124, in check_apps_ready
    raise AppRegistryNotReady("Apps aren't loaded yet.")
AppRegistryNotReady: Apps aren't loaded yet.

----------------------------------------------------------------------
Ran 295 tests in 0.273s

FAILED (errors=4, skipped=10)
Creating test database for alias 'default'...
Creating test database for alias 'default'...
Creating test database for alias 'default'...
Creating test database for alias 'default'...
debian/rules:29: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1


The full build log is attached; please do let me know if the problem is
unreproducible, in which case I shall try to investigate further.

Best,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: factory-boy-build-log.txt.gz
Type: application/x-gunzip
Size: 10724 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20141011/1e14f5b1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20141011/1e14f5b1/attachment.sig>


More information about the Openstack-devel mailing list