0s autopkgtest [10:22:37]: starting date and time: 2024-06-16 10:22:37+0000 0s autopkgtest [10:22:37]: git checkout: 433ed4cb Merge branch 'skia/nova_flock' into 'ubuntu/5.34+prod' 0s autopkgtest [10:22:37]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.1lbv1p0r/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python-django-crispy-forms --apt-upgrade djangorestframework-filters --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python-django-crispy-forms/2.1-2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@lcy02-46.secgroup --name adt-oracular-amd64-djangorestframework-filters-20240616-102237-juju-7f2275-prod-proposed-migration-environment-3-0c529d95-a361-4acd-a46c-6b72f09cbe87 --image adt/ubuntu-oracular-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-3 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 59s autopkgtest [10:23:36]: testbed dpkg architecture: amd64 59s autopkgtest [10:23:36]: testbed apt version: 2.9.3 59s autopkgtest [10:23:36]: @@@@@@@@@@@@@@@@@@@@ test bed setup 59s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [110 kB] 59s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [7052 B] 59s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [389 kB] 59s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [36.1 kB] 59s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [2576 B] 59s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main amd64 Packages [53.8 kB] 59s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/main i386 Packages [38.2 kB] 59s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/restricted amd64 Packages [28.9 kB] 59s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/restricted i386 Packages [6732 B] 59s Get:10 http://ftpmaster.internal/ubuntu oracular-proposed/universe i386 Packages [138 kB] 59s Get:11 http://ftpmaster.internal/ubuntu oracular-proposed/universe amd64 Packages [317 kB] 59s Get:12 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse i386 Packages [3884 B] 59s Get:13 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse amd64 Packages [8364 B] 59s Fetched 1140 kB in 0s (4396 kB/s) 59s Reading package lists... 61s Reading package lists... 61s Building dependency tree... 61s Reading state information... 61s Calculating upgrade... 62s The following packages will be upgraded: 62s apt apt-utils libapt-pkg6.0t64 libldap-common libldap2 62s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 62s Need to get 2875 kB of archives. 62s After this operation, 11.3 kB of additional disk space will be used. 62s Get:1 http://ftpmaster.internal/ubuntu oracular/main amd64 libapt-pkg6.0t64 amd64 2.9.5 [1023 kB] 62s Get:2 http://ftpmaster.internal/ubuntu oracular/main amd64 apt amd64 2.9.5 [1403 kB] 62s Get:3 http://ftpmaster.internal/ubuntu oracular/main amd64 apt-utils amd64 2.9.5 [223 kB] 62s Get:4 http://ftpmaster.internal/ubuntu oracular/main amd64 libldap-common all 2.6.7+dfsg-1~exp1ubuntu9 [31.5 kB] 62s Get:5 http://ftpmaster.internal/ubuntu oracular/main amd64 libldap2 amd64 2.6.7+dfsg-1~exp1ubuntu9 [195 kB] 62s Fetched 2875 kB in 0s (32.8 MB/s) 62s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74430 files and directories currently installed.) 62s Preparing to unpack .../libapt-pkg6.0t64_2.9.5_amd64.deb ... 62s Unpacking libapt-pkg6.0t64:amd64 (2.9.5) over (2.9.3) ... 62s Setting up libapt-pkg6.0t64:amd64 (2.9.5) ... 62s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74430 files and directories currently installed.) 62s Preparing to unpack .../archives/apt_2.9.5_amd64.deb ... 62s Unpacking apt (2.9.5) over (2.9.3) ... 63s Setting up apt (2.9.5) ... 63s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74430 files and directories currently installed.) 63s Preparing to unpack .../apt-utils_2.9.5_amd64.deb ... 63s Unpacking apt-utils (2.9.5) over (2.9.3) ... 63s Preparing to unpack .../libldap-common_2.6.7+dfsg-1~exp1ubuntu9_all.deb ... 63s Unpacking libldap-common (2.6.7+dfsg-1~exp1ubuntu9) over (2.6.7+dfsg-1~exp1ubuntu8) ... 63s Preparing to unpack .../libldap2_2.6.7+dfsg-1~exp1ubuntu9_amd64.deb ... 63s Unpacking libldap2:amd64 (2.6.7+dfsg-1~exp1ubuntu9) over (2.6.7+dfsg-1~exp1ubuntu8) ... 63s Setting up apt-utils (2.9.5) ... 63s Setting up libldap-common (2.6.7+dfsg-1~exp1ubuntu9) ... 63s Setting up libldap2:amd64 (2.6.7+dfsg-1~exp1ubuntu9) ... 63s Processing triggers for man-db (2.12.1-2) ... 65s Processing triggers for libc-bin (2.39-0ubuntu9) ... 67s Reading package lists... 67s Building dependency tree... 67s Reading state information... 67s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 67s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 67s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 67s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 67s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 69s Reading package lists... 69s Reading package lists... 69s Building dependency tree... 69s Reading state information... 69s Calculating upgrade... 69s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 69s Reading package lists... 70s Building dependency tree... 70s Reading state information... 70s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 70s autopkgtest [10:23:47]: rebooting testbed after setup commands that affected boot 73s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 85s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 89s autopkgtest [10:24:06]: testbed running kernel: Linux 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 90s autopkgtest [10:24:07]: @@@@@@@@@@@@@@@@@@@@ apt-source djangorestframework-filters 90s Get:1 http://ftpmaster.internal/ubuntu oracular/universe djangorestframework-filters 1.0.0.dev2-2ubuntu1 (dsc) [2584 B] 90s Get:2 http://ftpmaster.internal/ubuntu oracular/universe djangorestframework-filters 1.0.0.dev2-2ubuntu1 (tar) [41.4 kB] 90s Get:3 http://ftpmaster.internal/ubuntu oracular/universe djangorestframework-filters 1.0.0.dev2-2ubuntu1 (diff) [3372 B] 91s gpgv: Signature made Fri Aug 25 19:53:13 2023 UTC 91s gpgv: using RSA key E92FD0B36B14F1F4D8E0EB2F106DA1C8C3CBBF14 91s gpgv: Can't check signature: No public key 91s dpkg-source: warning: cannot verify inline signature for ./djangorestframework-filters_1.0.0.dev2-2ubuntu1.dsc: no acceptable signature found 91s autopkgtest [10:24:08]: testing package djangorestframework-filters version 1.0.0.dev2-2ubuntu1 91s autopkgtest [10:24:08]: build not needed 91s autopkgtest [10:24:08]: test test-suite: preparing testbed 92s Reading package lists... 92s Building dependency tree... 92s Reading state information... 92s Starting pkgProblemResolver with broken count: 0 92s Starting 2 pkgProblemResolver with broken count: 0 92s Done 93s The following additional packages will be installed: 93s fonts-font-awesome fonts-glyphicons-halflings libjs-bootstrap libjs-jquery 93s libjs-prettify python3-asgiref python3-django python3-django-crispy-forms 93s python3-django-filters python3-djangorestframework 93s python3-djangorestframework-filters python3-iniconfig python3-packaging 93s python3-pluggy python3-pytest python3-pytest-django python3-sqlparse 93s Suggested packages: 93s bpython3 geoip-database-contrib gettext ipython3 libgdal20 93s libsqlite3-mod-spatialite python-django-doc python3-bcrypt python3-flup 93s python3-memcache python3-mysqldb python3-pil python3-psycopg2 93s python3-selenium python3-sqlite python-django-crispy-forms-doc 93s python-django-filters-doc python-djangorestframework-doc python-sqlparse-doc 93s Recommended packages: 93s javascript-common python3-coreapi python3-coreschema python3-django-guardian 93s python3-markdown python3-psycopg2 93s The following NEW packages will be installed: 93s autopkgtest-satdep fonts-font-awesome fonts-glyphicons-halflings 93s libjs-bootstrap libjs-jquery libjs-prettify python3-asgiref python3-django 93s python3-django-crispy-forms python3-django-filters 93s python3-djangorestframework python3-djangorestframework-filters 93s python3-iniconfig python3-packaging python3-pluggy python3-pytest 93s python3-pytest-django python3-sqlparse 93s 0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded. 93s Need to get 5044 kB/5045 kB of archives. 93s After this operation, 34.3 MB of additional disk space will be used. 93s Get:1 /tmp/autopkgtest.DHNVMa/1-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [748 B] 93s Get:2 http://ftpmaster.internal/ubuntu oracular/main amd64 fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 93s Get:3 http://ftpmaster.internal/ubuntu oracular/universe amd64 fonts-glyphicons-halflings all 1.009~3.4.1+dfsg-3 [118 kB] 93s Get:4 http://ftpmaster.internal/ubuntu oracular/universe amd64 libjs-bootstrap all 3.4.1+dfsg-3 [129 kB] 93s Get:5 http://ftpmaster.internal/ubuntu oracular/main amd64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 93s Get:6 http://ftpmaster.internal/ubuntu oracular/universe amd64 libjs-prettify all 2015.12.04+dfsg-1.1 [39.3 kB] 93s Get:7 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-asgiref all 3.8.1-1 [24.8 kB] 93s Get:8 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-sqlparse all 0.5.0-1 [32.4 kB] 93s Get:9 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-django all 3:4.2.13-1 [2919 kB] 93s Get:10 http://ftpmaster.internal/ubuntu oracular-proposed/universe amd64 python3-django-crispy-forms all 2.1-2 [27.6 kB] 93s Get:11 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-django-filters all 24.2-1 [48.8 kB] 93s Get:12 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-djangorestframework all 3.15.1-2 [446 kB] 93s Get:13 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-djangorestframework-filters all 1.0.0.dev2-2ubuntu1 [25.4 kB] 93s Get:14 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 93s Get:15 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-packaging all 24.0-1 [41.1 kB] 93s Get:16 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 93s Get:17 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-pytest all 7.4.4-1 [305 kB] 93s Get:18 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-pytest-django all 4.5.2-3 [18.5 kB] 93s Fetched 5044 kB in 0s (51.9 MB/s) 93s Selecting previously unselected package fonts-font-awesome. 93s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74430 files and directories currently installed.) 93s Preparing to unpack .../00-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 93s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 93s Selecting previously unselected package fonts-glyphicons-halflings. 93s Preparing to unpack .../01-fonts-glyphicons-halflings_1.009~3.4.1+dfsg-3_all.deb ... 93s Unpacking fonts-glyphicons-halflings (1.009~3.4.1+dfsg-3) ... 93s Selecting previously unselected package libjs-bootstrap. 93s Preparing to unpack .../02-libjs-bootstrap_3.4.1+dfsg-3_all.deb ... 93s Unpacking libjs-bootstrap (3.4.1+dfsg-3) ... 93s Selecting previously unselected package libjs-jquery. 93s Preparing to unpack .../03-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 93s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 93s Selecting previously unselected package libjs-prettify. 93s Preparing to unpack .../04-libjs-prettify_2015.12.04+dfsg-1.1_all.deb ... 93s Unpacking libjs-prettify (2015.12.04+dfsg-1.1) ... 93s Selecting previously unselected package python3-asgiref. 93s Preparing to unpack .../05-python3-asgiref_3.8.1-1_all.deb ... 93s Unpacking python3-asgiref (3.8.1-1) ... 93s Selecting previously unselected package python3-sqlparse. 93s Preparing to unpack .../06-python3-sqlparse_0.5.0-1_all.deb ... 93s Unpacking python3-sqlparse (0.5.0-1) ... 94s Selecting previously unselected package python3-django. 94s Preparing to unpack .../07-python3-django_3%3a4.2.13-1_all.deb ... 94s Unpacking python3-django (3:4.2.13-1) ... 94s Selecting previously unselected package python3-django-crispy-forms. 94s Preparing to unpack .../08-python3-django-crispy-forms_2.1-2_all.deb ... 94s Unpacking python3-django-crispy-forms (2.1-2) ... 94s Selecting previously unselected package python3-django-filters. 94s Preparing to unpack .../09-python3-django-filters_24.2-1_all.deb ... 94s Unpacking python3-django-filters (24.2-1) ... 94s Selecting previously unselected package python3-djangorestframework. 94s Preparing to unpack .../10-python3-djangorestframework_3.15.1-2_all.deb ... 94s Unpacking python3-djangorestframework (3.15.1-2) ... 94s Selecting previously unselected package python3-djangorestframework-filters. 94s Preparing to unpack .../11-python3-djangorestframework-filters_1.0.0.dev2-2ubuntu1_all.deb ... 94s Unpacking python3-djangorestframework-filters (1.0.0.dev2-2ubuntu1) ... 94s Selecting previously unselected package python3-iniconfig. 94s Preparing to unpack .../12-python3-iniconfig_1.1.1-2_all.deb ... 94s Unpacking python3-iniconfig (1.1.1-2) ... 94s Selecting previously unselected package python3-packaging. 94s Preparing to unpack .../13-python3-packaging_24.0-1_all.deb ... 94s Unpacking python3-packaging (24.0-1) ... 95s Selecting previously unselected package python3-pluggy. 95s Preparing to unpack .../14-python3-pluggy_1.5.0-1_all.deb ... 95s Unpacking python3-pluggy (1.5.0-1) ... 95s Selecting previously unselected package python3-pytest. 95s Preparing to unpack .../15-python3-pytest_7.4.4-1_all.deb ... 95s Unpacking python3-pytest (7.4.4-1) ... 95s Selecting previously unselected package python3-pytest-django. 95s Preparing to unpack .../16-python3-pytest-django_4.5.2-3_all.deb ... 95s Unpacking python3-pytest-django (4.5.2-3) ... 95s Selecting previously unselected package autopkgtest-satdep. 95s Preparing to unpack .../17-1-autopkgtest-satdep.deb ... 95s Unpacking autopkgtest-satdep (0) ... 95s Setting up python3-iniconfig (1.1.1-2) ... 95s Setting up fonts-glyphicons-halflings (1.009~3.4.1+dfsg-3) ... 95s Setting up python3-packaging (24.0-1) ... 95s Setting up python3-sqlparse (0.5.0-1) ... 95s Setting up python3-pluggy (1.5.0-1) ... 95s Setting up libjs-prettify (2015.12.04+dfsg-1.1) ... 95s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 95s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 95s Setting up libjs-bootstrap (3.4.1+dfsg-3) ... 95s Setting up python3-asgiref (3.8.1-1) ... 95s Setting up python3-django (3:4.2.13-1) ... 96s Setting up python3-pytest (7.4.4-1) ... 97s Setting up python3-pytest-django (4.5.2-3) ... 97s Setting up python3-djangorestframework (3.15.1-2) ... 97s Setting up python3-django-crispy-forms (2.1-2) ... 97s Setting up python3-django-filters (24.2-1) ... 97s Setting up python3-djangorestframework-filters (1.0.0.dev2-2ubuntu1) ... 97s Setting up autopkgtest-satdep (0) ... 97s Processing triggers for man-db (2.12.1-2) ... 100s (Reading database ... 81499 files and directories currently installed.) 100s Removing autopkgtest-satdep (0) ... 101s autopkgtest [10:24:18]: test test-suite: cp -r tests/ $AUTOPKGTEST_TMP/tests && cd $AUTOPKGTEST_TMP && DJANGO_SETTINGS_MODULE=tests.settings python3 -m pytest 101s autopkgtest [10:24:18]: test test-suite: [----------------------- 102s ============================= test session starts ============================== 102s platform linux -- Python 3.12.4, pytest-7.4.4, pluggy-1.5.0 102s django: settings: tests.settings (from env) 102s rootdir: /tmp/autopkgtest.DHNVMa/autopkgtest_tmp 102s plugins: django-4.5.2 102s collected 151 items 102s 102s tests/test_backends.py ............FF.... [ 11%] 102s tests/test_complex_ops.py ................ [ 22%] 102s tests/test_filtering.py .......................... [ 39%] 102s tests/test_filters.py ... [ 41%] 103s tests/test_filterset.py ................................................ [ 73%] 103s ....... [ 78%] 103s tests/test_forms.py ...... [ 82%] 103s tests/test_regressions.py ........ [ 87%] 103s tests/test_utils.py ....... [ 92%] 103s tests/related/test_exclude.py ....... [ 96%] 103s tests/related/test_filter.py ..... [100%] 103s 103s =================================== FAILURES =================================== 103s __ BackendCrispyFormsRenderingTests.test_crispy_forms_filterset_compatibility __ 103s 103s self = 103s 103s def test_crispy_forms_filterset_compatibility(self): 103s class SimpleCrispyFilterSet(FilterSet): 103s class Meta: 103s model = models.User 103s fields = ['username'] 103s 103s class SimpleViewSet(views.FilterFieldsUserViewSet): 103s filterset_class = SimpleCrispyFilterSet 103s 103s > self.assertHTMLEqual(self.render(SimpleViewSet), """ 103s

Field filters

103s
103s
103s 103s
103s 103s
103s
103s 103s
103s """) 103s 103s tests/test_backends.py:346: 103s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 103s tests/test_backends.py:24: in render 103s return backend().to_html(request, view.get_queryset(), view) 103s /usr/lib/python3/dist-packages/rest_framework_filters/backends.py:50: in to_html 103s return super().to_html(request, queryset, view) 103s /usr/lib/python3/dist-packages/django_filters/rest_framework/backends.py:81: in to_html 103s template = loader.get_template(self.template) 103s /usr/lib/python3/dist-packages/django/template/loader.py:15: in get_template 103s return engine.get_template(template_name) 103s /usr/lib/python3/dist-packages/django/template/backends/django.py:33: in get_template 103s return Template(self.engine.get_template(template_name), self) 103s /usr/lib/python3/dist-packages/django/template/engine.py:175: in get_template 103s template, origin = self.find_template(template_name) 103s /usr/lib/python3/dist-packages/django/template/engine.py:157: in find_template 103s template = loader.get_template(name, skip=skip) 103s /usr/lib/python3/dist-packages/django/template/loaders/cached.py:57: in get_template 103s template = super().get_template(template_name, skip) 103s /usr/lib/python3/dist-packages/django/template/loaders/base.py:28: in get_template 103s return Template( 103s /usr/lib/python3/dist-packages/django/template/base.py:154: in __init__ 103s self.nodelist = self.compile_nodelist() 103s /usr/lib/python3/dist-packages/django/template/base.py:200: in compile_nodelist 103s return parser.parse() 103s /usr/lib/python3/dist-packages/django/template/base.py:513: in parse 103s raise self.error(token, e) 103s /usr/lib/python3/dist-packages/django/template/base.py:511: in parse 103s compiled_result = compile_func(self, token) 103s /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:238: in do_uni_form 103s template_pack = "'%s'" % get_template_pack() 103s /usr/lib/python3/dist-packages/crispy_forms/utils.py:16: in get_template_pack 103s return getattr(settings, "CRISPY_TEMPLATE_PACK") 103s /usr/lib/python3/dist-packages/django/conf/__init__.py:104: in __getattr__ 103s val = getattr(_wrapped, name) 103s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 103s 103s self = , name = 'CRISPY_TEMPLATE_PACK' 103s 103s def __getattr__(self, name): 103s if not name.isupper() or name in self._deleted: 103s raise AttributeError 103s > return getattr(self.default_settings, name) 103s E AttributeError: 'Settings' object has no attribute 'CRISPY_TEMPLATE_PACK' 103s 103s /usr/lib/python3/dist-packages/django/conf/__init__.py:331: AttributeError 103s _____ BackendCrispyFormsRenderingTests.test_related_filterset_crispy_forms _____ 103s 103s self = 103s 103s def test_related_filterset_crispy_forms(self): 103s class UserFilter(FilterSet): 103s username = filters.CharFilter() 103s 103s class NoteFilter(FilterSet): 103s author = filters.RelatedFilter( 103s filterset=UserFilter, 103s queryset=models.User.objects.all(), 103s label='Writer', 103s ) 103s 103s class RelatedViewSet(views.NoteViewSet): 103s filterset_class = NoteFilter 103s 103s > self.assertHTMLEqual(self.render(RelatedViewSet), """ 103s

Field filters

103s
103s
103s 103s
103s 103s
103s
103s 103s
103s Writer 103s 103s
103s 103s
103s 103s
103s
103s
103s 103s 103s
103s """) 103s 103s tests/test_backends.py:376: 103s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 103s tests/test_backends.py:24: in render 103s return backend().to_html(request, view.get_queryset(), view) 103s /usr/lib/python3/dist-packages/rest_framework_filters/backends.py:50: in to_html 103s return super().to_html(request, queryset, view) 103s /usr/lib/python3/dist-packages/django_filters/rest_framework/backends.py:81: in to_html 103s template = loader.get_template(self.template) 103s /usr/lib/python3/dist-packages/django/template/loader.py:15: in get_template 103s return engine.get_template(template_name) 103s /usr/lib/python3/dist-packages/django/template/backends/django.py:33: in get_template 103s return Template(self.engine.get_template(template_name), self) 103s /usr/lib/python3/dist-packages/django/template/engine.py:175: in get_template 103s template, origin = self.find_template(template_name) 103s /usr/lib/python3/dist-packages/django/template/engine.py:157: in find_template 103s template = loader.get_template(name, skip=skip) 103s /usr/lib/python3/dist-packages/django/template/loaders/cached.py:57: in get_template 103s template = super().get_template(template_name, skip) 103s /usr/lib/python3/dist-packages/django/template/loaders/base.py:28: in get_template 103s return Template( 103s /usr/lib/python3/dist-packages/django/template/base.py:154: in __init__ 103s self.nodelist = self.compile_nodelist() 103s /usr/lib/python3/dist-packages/django/template/base.py:200: in compile_nodelist 103s return parser.parse() 103s /usr/lib/python3/dist-packages/django/template/base.py:513: in parse 103s raise self.error(token, e) 103s /usr/lib/python3/dist-packages/django/template/base.py:511: in parse 103s compiled_result = compile_func(self, token) 103s /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:238: in do_uni_form 103s template_pack = "'%s'" % get_template_pack() 103s /usr/lib/python3/dist-packages/crispy_forms/utils.py:16: in get_template_pack 103s return getattr(settings, "CRISPY_TEMPLATE_PACK") 103s /usr/lib/python3/dist-packages/django/conf/__init__.py:104: in __getattr__ 103s val = getattr(_wrapped, name) 103s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 103s 103s self = , name = 'CRISPY_TEMPLATE_PACK' 103s 103s def __getattr__(self, name): 103s if not name.isupper() or name in self._deleted: 103s raise AttributeError 103s > return getattr(self.default_settings, name) 103s E AttributeError: 'Settings' object has no attribute 'CRISPY_TEMPLATE_PACK' 103s 103s /usr/lib/python3/dist-packages/django/conf/__init__.py:331: AttributeError 103s =============================== warnings summary =============================== 103s ../../../usr/lib/python3/dist-packages/django/conf/__init__.py:241 103s /usr/lib/python3/dist-packages/django/conf/__init__.py:241: RemovedInDjango50Warning: The default value of USE_TZ will change from False to True in Django 5.0. Set USE_TZ to False in your project settings if you want to keep the current default behavior. 103s warnings.warn( 103s 103s tests/test_complex_ops.py::CombineComplexQuerysetTests::test_AND 103s /tmp/autopkgtest.DHNVMa/autopkgtest_tmp/tests/test_complex_ops.py:202: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). 103s self.assertQuerysetEqual( 103s 103s tests/test_complex_ops.py::CombineComplexQuerysetTests::test_OR 103s /tmp/autopkgtest.DHNVMa/autopkgtest_tmp/tests/test_complex_ops.py:217: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). 103s self.assertQuerysetEqual( 103s 103s tests/test_complex_ops.py::CombineComplexQuerysetTests::test_negation 103s /tmp/autopkgtest.DHNVMa/autopkgtest_tmp/tests/test_complex_ops.py:232: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). 103s self.assertQuerysetEqual( 103s 103s tests/test_complex_ops.py::CombineComplexQuerysetTests::test_single 103s /tmp/autopkgtest.DHNVMa/autopkgtest_tmp/tests/test_complex_ops.py:187: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). 103s self.assertQuerysetEqual( 103s 103s tests/test_filtering.py::RelatedFilterTests::test_relatedfilter_for_aliased_nested_relationships 103s /tmp/autopkgtest.DHNVMa/autopkgtest_tmp/tests/test_filtering.py:256: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). 103s self.assertQuerysetEqual(f1.qs, [3], lambda p: p.pk) 103s 103s tests/test_filtering.py::RelatedFilterTests::test_relatedfilter_for_aliased_nested_relationships 103s /tmp/autopkgtest.DHNVMa/autopkgtest_tmp/tests/test_filtering.py:257: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). 103s self.assertQuerysetEqual(f2.qs, [4], lambda p: p.pk) 103s 103s tests/test_filtering.py::RelatedFilterTests::test_relatedfilter_for_aliased_nested_relationships 103s /tmp/autopkgtest.DHNVMa/autopkgtest_tmp/tests/test_filtering.py:258: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). 103s self.assertQuerysetEqual(f3.qs, [], lambda p: p.pk) 103s 103s tests/test_filtering.py::RelatedFilterTests::test_relatedfilter_for_aliased_nested_relationships 103s /tmp/autopkgtest.DHNVMa/autopkgtest_tmp/tests/test_filtering.py:259: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). 103s self.assertQuerysetEqual(f4.qs, [], lambda p: p.pk) 103s 103s tests/related/test_exclude.py: 11 warnings 103s tests/related/test_filter.py: 7 warnings 103s /tmp/autopkgtest.DHNVMa/autopkgtest_tmp/tests/related/data.py:105: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). 103s self.assertQuerysetEqual(qs, expected, attrgetter('pk'), False) 103s 103s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 103s =========================== short test summary info ============================ 103s FAILED tests/test_backends.py::BackendCrispyFormsRenderingTests::test_crispy_forms_filterset_compatibility 103s FAILED tests/test_backends.py::BackendCrispyFormsRenderingTests::test_related_filterset_crispy_forms 103s ================== 2 failed, 149 passed, 27 warnings in 1.42s ================== 103s autopkgtest [10:24:20]: test test-suite: -----------------------] 103s autopkgtest [10:24:20]: test test-suite: - - - - - - - - - - results - - - - - - - - - - 103s test-suite FAIL non-zero exit status 1 104s autopkgtest [10:24:21]: @@@@@@@@@@@@@@@@@@@@ summary 104s test-suite FAIL non-zero exit status 1 115s nova [W] Skipping flock for amd64 115s Creating nova instance adt-oracular-amd64-djangorestframework-filters-20240616-102237-juju-7f2275-prod-proposed-migration-environment-3-0c529d95-a361-4acd-a46c-6b72f09cbe87 from image adt/ubuntu-oracular-amd64-server-20240615.img (UUID 94fd7b6f-4495-4684-bd31-1d1deeaa1788)...