Log: 621s autopkgtest [15:20:33]: test command1: cat runtests.py; python3 runtests.py 621s autopkgtest [15:20:33]: test command1: [----------------------- 621s #!/usr/bin/env python 621s 621s import sys 621s import django 621s from os.path import dirname, abspath 621s 621s from django.conf import settings 621s 621s settings.configure( 621s DATABASES = { 621s 'default': { 621s 'ENGINE': 'django.db.backends.sqlite3', 621s 'NAME': ':memory:' 621s } 621s }, 621s INSTALLED_APPS=[ 621s 'django.contrib.auth', 621s 'django.contrib.contenttypes', 621s 'django.contrib.sessions', 621s 'django.contrib.sites', 621s 'bootstrapform', 621s ], 621s MIDDLEWARE = ( 621s 'django.contrib.sessions.middleware.SessionMiddleware', 621s 'django.middleware.common.CommonMiddleware', 621s 'django.middleware.csrf.CsrfViewMiddleware', 621s 'django.contrib.auth.middleware.AuthenticationMiddleware', 621s 'django.contrib.messages.middleware.MessageMiddleware', 621s 'django.middleware.clickjacking.XFrameOptionsMiddleware', 621s ), 621s SITE_ID=1, 621s DEBUG=False, 621s ROOT_URLCONF='', 621s TEMPLATES = [ # For >= Django 1.10 621s { 621s 'BACKEND': 'django.template.backends.django.DjangoTemplates', 621s 'APP_DIRS': True, 621s 'OPTIONS': { 621s 'context_processors': [ 621s 'django.contrib.auth.context_processors.auth', 621s ], 621s }, 621s }, 621s ], 621s ) 621s 621s 621s def runtests(**test_args): 621s from django.test.utils import get_runner 621s 621s parent = dirname(abspath(__file__)) 621s sys.path.insert(0, parent) 621s 621s try: 621s django.setup() 621s except: 621s pass 621s 621s TestRunner = get_runner(settings) 621s test_runner = TestRunner(verbosity=1, interactive=True) 621s failures = test_runner.run_tests(['bootstrapform'], test_args) 621s sys.exit(failures) 621s 621s 621s if __name__ == '__main__': 621s runtests(*sys.argv[1:]) 622s /tmp/autopkgtest.jexV0O/build.cZx/src/runtests.py:61: RemovedInDjango50Warning: The extra_tests argument is deprecated. 622s failures = test_runner.run_tests(['bootstrapform'], test_args) 622s Found 1 test(s). 622s Traceback (most recent call last): 622s File "/tmp/autopkgtest.jexV0O/build.cZx/src/runtests.py", line 66, in <module> 622s runtests(*sys.argv[1:]) 622s File "/tmp/autopkgtest.jexV0O/build.cZx/src/runtests.py", line 61, in runtests 622s failures = test_runner.run_tests(['bootstrapform'], test_args) 622s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 622s File "/usr/lib/python3/dist-packages/django/test/runner.py", line 1060, in run_tests 622s self.run_checks(databases) 622s File "/usr/lib/python3/dist-packages/django/test/runner.py", line 977, in run_checks 622s call_command("check", verbosity=self.verbosity, databases=databases) 622s File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 110, in call_command 622s app_name = get_commands()[command_name] 622s ^^^^^^^^^^^^^^ 622s File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 76, in get_commands 622s for app_config in reversed(apps.get_app_configs()): 622s ^^^^^^^^^^^^^^^^^^^^^^ 622s File "/usr/lib/python3/dist-packages/django/apps/registry.py", line 147, in get_app_configs 622s self.check_apps_ready() 622s File "/usr/lib/python3/dist-packages/django/apps/registry.py", line 138, in check_apps_ready 622s raise AppRegistryNotReady("Apps aren't loaded yet.") 622s django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet. 622s autopkgtest [15:20:34]: test command1: -----------------------]
Log: ------- ------- --- db.backends. sqlite3' , contrib. auth', contrib. contenttypes' , contrib. sessions' , contrib. sites', contrib. sessions. middleware. SessionMiddlewa re', middleware. common. CommonMiddlewar e', middleware. csrf.CsrfViewMi ddleware' , contrib. auth.middleware .Authentication Middleware' , contrib. messages. middleware. MessageMiddlewa re', middleware. clickjacking. XFrameOptionsMi ddleware' , template. backends. django. DjangoTemplates ', processors' : [ contrib. auth.context_ processors. auth', **test_ args): abspath( __file_ _)) settings) verbosity= 1, interactive=True) run_tests( ['bootstrapform '], test_args) *sys.argv[ 1:]) t.jexV0O/ build.cZx/ src/runtests. py:61: RemovedInDjango 50Warning: The extra_tests argument is deprecated. run_tests( ['bootstrapform '], test_args) st.jexV0O/ build.cZx/ src/runtests. py", line 66, in <module> *sys.argv[ 1:]) st.jexV0O/ build.cZx/ src/runtests. py", line 61, in runtests run_tests( ['bootstrapform '], test_args) ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^ python3/ dist-packages/ django/ test/runner. py", line 1060, in run_tests checks( databases) python3/ dist-packages/ django/ test/runner. py", line 977, in run_checks "check" , verbosity= self.verbosity, databases= databases) python3/ dist-packages/ django/ core/management /__init_ _.py", line 110, in call_command )[command_ name] python3/ dist-packages/ django/ core/management /__init_ _.py", line 76, in get_commands apps.get_ app_configs( )): ^^^^^^^ ^^^^^^^ ^ python3/ dist-packages/ django/ apps/registry. py", line 147, in get_app_configs apps_ready( ) python3/ dist-packages/ django/ apps/registry. py", line 138, in check_apps_ready eady("Apps aren't loaded yet.") core.exceptions .AppRegistryNot Ready: Apps aren't loaded yet. ------- ------- --]
621s autopkgtest [15:20:33]: test command1: cat runtests.py; python3 runtests.py
621s autopkgtest [15:20:33]: test command1: [------
621s #!/usr/bin/env python
621s
621s import sys
621s import django
621s from os.path import dirname, abspath
621s
621s from django.conf import settings
621s
621s settings.configure(
621s DATABASES = {
621s 'default': {
621s 'ENGINE': 'django.
621s 'NAME': ':memory:'
621s }
621s },
621s INSTALLED_APPS=[
621s 'django.
621s 'django.
621s 'django.
621s 'django.
621s 'bootstrapform',
621s ],
621s MIDDLEWARE = (
621s 'django.
621s 'django.
621s 'django.
621s 'django.
621s 'django.
621s 'django.
621s ),
621s SITE_ID=1,
621s DEBUG=False,
621s ROOT_URLCONF='',
621s TEMPLATES = [ # For >= Django 1.10
621s {
621s 'BACKEND': 'django.
621s 'APP_DIRS': True,
621s 'OPTIONS': {
621s 'context_
621s 'django.
621s ],
621s },
621s },
621s ],
621s )
621s
621s
621s def runtests(
621s from django.test.utils import get_runner
621s
621s parent = dirname(
621s sys.path.insert(0, parent)
621s
621s try:
621s django.setup()
621s except:
621s pass
621s
621s TestRunner = get_runner(
621s test_runner = TestRunner(
621s failures = test_runner.
621s sys.exit(failures)
621s
621s
621s if __name__ == '__main__':
621s runtests(
622s /tmp/autopkgtes
622s failures = test_runner.
622s Found 1 test(s).
622s Traceback (most recent call last):
622s File "/tmp/autopkgte
622s runtests(
622s File "/tmp/autopkgte
622s failures = test_runner.
622s ^^^^^^^
622s File "/usr/lib/
622s self.run_
622s File "/usr/lib/
622s call_command(
622s File "/usr/lib/
622s app_name = get_commands(
622s ^^^^^^^^^^^^^^
622s File "/usr/lib/
622s for app_config in reversed(
622s ^^^^^^^
622s File "/usr/lib/
622s self.check_
622s File "/usr/lib/
622s raise AppRegistryNotR
622s django.
622s autopkgtest [15:20:34]: test command1: -------