[Python-modules-team] Bug#763252: django-nose: FTBFS: Tests failures
David Suárez
david.sephirot at gmail.com
Sun Sep 28 17:00:23 UTC 2014
Source: django-nose
Version: 1.2-2
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140926 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/«PKGBUILDDIR»'
> py3versions: no X-Python3-Version in control file, using supported versions
> set -e; \
> for python in python2.7; do \
> PYTHON=$python ./runtests.sh; \
> done
> PASS: normal settings
> PASS: normal settings (--help)
> PASS: django_nose.run_tests format
> PASS: django_nose.run_tests format (--help)
> FAIL: via run_tests API
> nosetests testapp.test_only_this --verbosity=1
> Creating test database for alias 'default'...
> Traceback (most recent call last):
> File "testapp/runtests.py", line 23, in <module>
> runtests(*sys.argv[1:])
> File "testapp/runtests.py", line 18, in runtests
> failures = runner.run_tests(test_labels)
> File "/«PKGBUILDDIR»/django_nose/runner.py", line 200, in run_tests
> result = self.run_suite(nose_argv)
> File "/«PKGBUILDDIR»/django_nose/runner.py", line 147, in run_suite
> addplugins=plugins_to_add)
> File "/usr/lib/python2.7/dist-packages/nose/core.py", line 121, in __init__
> **extra_args)
> File "/usr/lib/python2.7/unittest/main.py", line 95, in __init__
> self.runTests()
> File "/usr/lib/python2.7/dist-packages/nose/core.py", line 207, in runTests
> result = self.testRunner.run(self.test)
> File "/usr/lib/python2.7/dist-packages/nose/core.py", line 50, in run
> wrapper = self.config.plugins.prepareTest(test)
> File "/usr/lib/python2.7/dist-packages/nose/plugins/manager.py", line 99, in __call__
> return self.call(*arg, **kw)
> File "/usr/lib/python2.7/dist-packages/nose/plugins/manager.py", line 167, in simple
> result = meth(*arg, **kw)
> File "/«PKGBUILDDIR»/django_nose/plugin.py", line 75, in prepareTest
> self.old_names = self.runner.setup_databases()
> File "/«PKGBUILDDIR»/django_nose/runner.py", line 383, in setup_databases
> return super(NoseTestSuiteRunner, self).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.")
> django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
> debian/rules:15: recipe for target 'override_dh_auto_test' failed
> make[1]: *** [override_dh_auto_test] Error 1
The full build log is available from:
http://aws-logs.debian.net/ftbfs-logs/2014/09/26/django-nose_1.2-2_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Python-modules-team
mailing list