0s autopkgtest [16:08:38]: starting date and time: 2024-07-26 16:08:38+0000 0s autopkgtest [16:08:38]: git checkout: fd3bed09 nova: allow more retries for quota issues 0s autopkgtest [16:08:38]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.1irgfkgo/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-2@bos01-ppc64el-19.secgroup --name adt-oracular-ppc64el-djangorestframework-filters-20240726-160838-juju-7f2275-prod-proposed-migration-environment-2-0c16ca2f-ad71-4196-ae8c-8163de590bc9 --image adt/ubuntu-oracular-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --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://us.ports.ubuntu.com/ubuntu-ports/ 124s autopkgtest [16:10:42]: testbed dpkg architecture: ppc64el 124s autopkgtest [16:10:42]: testbed apt version: 2.9.6 124s autopkgtest [16:10:42]: @@@@@@@@@@@@@@@@@@@@ test bed setup 125s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [126 kB] 125s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [50.6 kB] 126s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [436 kB] 126s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [4288 B] 126s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [8548 B] 126s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main ppc64el Packages [76.3 kB] 126s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/main ppc64el c-n-f Metadata [2116 B] 126s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/restricted ppc64el Packages [1368 B] 126s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/restricted ppc64el c-n-f Metadata [120 B] 126s Get:10 http://ftpmaster.internal/ubuntu oracular-proposed/universe ppc64el Packages [486 kB] 126s Get:11 http://ftpmaster.internal/ubuntu oracular-proposed/universe ppc64el c-n-f Metadata [8952 B] 126s Get:12 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse ppc64el Packages [1448 B] 126s Get:13 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse ppc64el c-n-f Metadata [120 B] 127s Fetched 1203 kB in 1s (1377 kB/s) 127s Reading package lists... 130s Reading package lists... 130s Building dependency tree... 130s Reading state information... 130s Calculating upgrade... 130s The following packages will be upgraded: 130s bpfcc-tools bpftrace libbpfcc liblz4-1 python3-bpfcc 131s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 131s Need to get 14.4 MB of archives. 131s After this operation, 42.8 MB of additional disk space will be used. 131s Get:1 http://ftpmaster.internal/ubuntu oracular/main ppc64el liblz4-1 ppc64el 1.9.4-3 [80.7 kB] 131s Get:2 http://ftpmaster.internal/ubuntu oracular/main ppc64el libbpfcc ppc64el 0.30.0+ds-1ubuntu2 [693 kB] 131s Get:3 http://ftpmaster.internal/ubuntu oracular/main ppc64el python3-bpfcc all 0.30.0+ds-1ubuntu2 [40.3 kB] 131s Get:4 http://ftpmaster.internal/ubuntu oracular/main ppc64el bpfcc-tools all 0.30.0+ds-1ubuntu2 [697 kB] 131s Get:5 http://ftpmaster.internal/ubuntu oracular/main ppc64el bpftrace ppc64el 0.21.0-1ubuntu6 [12.9 MB] 134s Fetched 14.4 MB in 3s (4917 kB/s) 134s (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 ... 72779 files and directories currently installed.) 134s Preparing to unpack .../liblz4-1_1.9.4-3_ppc64el.deb ... 134s Unpacking liblz4-1:ppc64el (1.9.4-3) over (1.9.4-2) ... 134s Setting up liblz4-1:ppc64el (1.9.4-3) ... 134s (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 ... 72779 files and directories currently installed.) 134s Preparing to unpack .../libbpfcc_0.30.0+ds-1ubuntu2_ppc64el.deb ... 134s Unpacking libbpfcc:ppc64el (0.30.0+ds-1ubuntu2) over (0.29.1+ds-1ubuntu7) ... 134s Preparing to unpack .../python3-bpfcc_0.30.0+ds-1ubuntu2_all.deb ... 134s Unpacking python3-bpfcc (0.30.0+ds-1ubuntu2) over (0.29.1+ds-1ubuntu7) ... 134s Preparing to unpack .../bpfcc-tools_0.30.0+ds-1ubuntu2_all.deb ... 134s Unpacking bpfcc-tools (0.30.0+ds-1ubuntu2) over (0.29.1+ds-1ubuntu7) ... 134s Preparing to unpack .../bpftrace_0.21.0-1ubuntu6_ppc64el.deb ... 134s Unpacking bpftrace (0.21.0-1ubuntu6) over (0.20.2-1ubuntu4) ... 135s Setting up libbpfcc:ppc64el (0.30.0+ds-1ubuntu2) ... 135s Setting up python3-bpfcc (0.30.0+ds-1ubuntu2) ... 135s Setting up bpftrace (0.21.0-1ubuntu6) ... 135s Setting up bpfcc-tools (0.30.0+ds-1ubuntu2) ... 135s Processing triggers for man-db (2.12.1-2) ... 135s Processing triggers for libc-bin (2.39-0ubuntu9) ... 135s Reading package lists... 136s Building dependency tree... 136s Reading state information... 136s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 136s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 136s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 136s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 136s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 138s Reading package lists... 138s Reading package lists... 138s Building dependency tree... 138s Reading state information... 138s Calculating upgrade... 138s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 138s Reading package lists... 139s Building dependency tree... 139s Reading state information... 139s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 142s autopkgtest [16:11:00]: testbed running kernel: Linux 6.8.0-31-generic #31-Ubuntu SMP Sat Apr 20 00:05:55 UTC 2024 142s autopkgtest [16:11:00]: @@@@@@@@@@@@@@@@@@@@ apt-source djangorestframework-filters 144s Get:1 http://ftpmaster.internal/ubuntu oracular/universe djangorestframework-filters 1.0.0.dev2-2ubuntu1 (dsc) [2584 B] 144s Get:2 http://ftpmaster.internal/ubuntu oracular/universe djangorestframework-filters 1.0.0.dev2-2ubuntu1 (tar) [41.4 kB] 144s Get:3 http://ftpmaster.internal/ubuntu oracular/universe djangorestframework-filters 1.0.0.dev2-2ubuntu1 (diff) [3372 B] 144s gpgv: Signature made Fri Aug 25 19:53:13 2023 UTC 144s gpgv: using RSA key E92FD0B36B14F1F4D8E0EB2F106DA1C8C3CBBF14 144s gpgv: Can't check signature: No public key 144s dpkg-source: warning: cannot verify inline signature for ./djangorestframework-filters_1.0.0.dev2-2ubuntu1.dsc: no acceptable signature found 144s autopkgtest [16:11:02]: testing package djangorestframework-filters version 1.0.0.dev2-2ubuntu1 144s autopkgtest [16:11:02]: build not needed 145s autopkgtest [16:11:03]: test test-suite: preparing testbed 146s Reading package lists... 147s Building dependency tree... 147s Reading state information... 147s Starting pkgProblemResolver with broken count: 0 147s Starting 2 pkgProblemResolver with broken count: 0 147s Done 147s The following additional packages will be installed: 147s fonts-font-awesome fonts-glyphicons-halflings libjs-bootstrap libjs-jquery 147s libjs-prettify python3-asgiref python3-django python3-django-crispy-forms 147s python3-django-filters python3-djangorestframework 147s python3-djangorestframework-filters python3-iniconfig python3-packaging 147s python3-pluggy python3-pytest python3-pytest-django python3-sqlparse 147s Suggested packages: 147s bpython3 geoip-database-contrib gettext ipython3 libgdal20 147s libsqlite3-mod-spatialite python-django-doc python3-bcrypt python3-flup 147s python3-memcache python3-mysqldb python3-pil python3-psycopg2 147s python3-selenium python3-sqlite python-django-crispy-forms-doc 147s python-django-filters-doc python-djangorestframework-doc python-sqlparse-doc 147s Recommended packages: 147s javascript-common python3-coreapi python3-coreschema python3-django-guardian 147s python3-markdown python3-psycopg2 147s The following NEW packages will be installed: 147s autopkgtest-satdep fonts-font-awesome fonts-glyphicons-halflings 147s libjs-bootstrap libjs-jquery libjs-prettify python3-asgiref python3-django 147s python3-django-crispy-forms python3-django-filters 147s python3-djangorestframework python3-djangorestframework-filters 147s python3-iniconfig python3-packaging python3-pluggy python3-pytest 147s python3-pytest-django python3-sqlparse 147s 0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded. 147s Need to get 5043 kB/5044 kB of archives. 147s After this operation, 34.3 MB of additional disk space will be used. 147s Get:1 /tmp/autopkgtest.7QDIED/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [748 B] 148s Get:2 http://ftpmaster.internal/ubuntu oracular/main ppc64el fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 148s Get:3 http://ftpmaster.internal/ubuntu oracular/universe ppc64el fonts-glyphicons-halflings all 1.009~3.4.1+dfsg-3 [118 kB] 148s Get:4 http://ftpmaster.internal/ubuntu oracular/universe ppc64el libjs-bootstrap all 3.4.1+dfsg-3 [129 kB] 148s Get:5 http://ftpmaster.internal/ubuntu oracular/main ppc64el libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 148s Get:6 http://ftpmaster.internal/ubuntu oracular/universe ppc64el libjs-prettify all 2015.12.04+dfsg-1.1 [39.3 kB] 148s Get:7 http://ftpmaster.internal/ubuntu oracular/main ppc64el python3-asgiref all 3.8.1-1 [24.8 kB] 148s Get:8 http://ftpmaster.internal/ubuntu oracular/main ppc64el python3-sqlparse all 0.5.1-1 [32.6 kB] 148s Get:9 http://ftpmaster.internal/ubuntu oracular/main ppc64el python3-django all 3:4.2.14-1 [2917 kB] 148s Get:10 http://ftpmaster.internal/ubuntu oracular-proposed/universe ppc64el python3-django-crispy-forms all 2.1-2 [27.6 kB] 148s Get:11 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-django-filters all 24.2-1 [48.8 kB] 148s Get:12 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-djangorestframework all 3.15.2-1 [445 kB] 148s Get:13 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-djangorestframework-filters all 1.0.0.dev2-2ubuntu1 [25.4 kB] 148s Get:14 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 148s Get:15 http://ftpmaster.internal/ubuntu oracular/main ppc64el python3-packaging all 24.1-1 [41.4 kB] 148s Get:16 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-pluggy all 1.5.0-1 [21.0 kB] 148s Get:17 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-pytest all 7.4.4-1 [305 kB] 148s Get:18 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-pytest-django all 4.5.2-3 [18.5 kB] 149s Fetched 5043 kB in 1s (4943 kB/s) 149s Selecting previously unselected package fonts-font-awesome. 149s (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 ... 72786 files and directories currently installed.) 149s Preparing to unpack .../00-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 149s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 149s Selecting previously unselected package fonts-glyphicons-halflings. 149s Preparing to unpack .../01-fonts-glyphicons-halflings_1.009~3.4.1+dfsg-3_all.deb ... 149s Unpacking fonts-glyphicons-halflings (1.009~3.4.1+dfsg-3) ... 149s Selecting previously unselected package libjs-bootstrap. 149s Preparing to unpack .../02-libjs-bootstrap_3.4.1+dfsg-3_all.deb ... 149s Unpacking libjs-bootstrap (3.4.1+dfsg-3) ... 149s Selecting previously unselected package libjs-jquery. 149s Preparing to unpack .../03-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 149s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 149s Selecting previously unselected package libjs-prettify. 149s Preparing to unpack .../04-libjs-prettify_2015.12.04+dfsg-1.1_all.deb ... 149s Unpacking libjs-prettify (2015.12.04+dfsg-1.1) ... 149s Selecting previously unselected package python3-asgiref. 149s Preparing to unpack .../05-python3-asgiref_3.8.1-1_all.deb ... 149s Unpacking python3-asgiref (3.8.1-1) ... 149s Selecting previously unselected package python3-sqlparse. 149s Preparing to unpack .../06-python3-sqlparse_0.5.1-1_all.deb ... 149s Unpacking python3-sqlparse (0.5.1-1) ... 149s Selecting previously unselected package python3-django. 149s Preparing to unpack .../07-python3-django_3%3a4.2.14-1_all.deb ... 149s Unpacking python3-django (3:4.2.14-1) ... 150s Selecting previously unselected package python3-django-crispy-forms. 150s Preparing to unpack .../08-python3-django-crispy-forms_2.1-2_all.deb ... 150s Unpacking python3-django-crispy-forms (2.1-2) ... 150s Selecting previously unselected package python3-django-filters. 150s Preparing to unpack .../09-python3-django-filters_24.2-1_all.deb ... 150s Unpacking python3-django-filters (24.2-1) ... 150s Selecting previously unselected package python3-djangorestframework. 150s Preparing to unpack .../10-python3-djangorestframework_3.15.2-1_all.deb ... 150s Unpacking python3-djangorestframework (3.15.2-1) ... 150s Selecting previously unselected package python3-djangorestframework-filters. 150s Preparing to unpack .../11-python3-djangorestframework-filters_1.0.0.dev2-2ubuntu1_all.deb ... 150s Unpacking python3-djangorestframework-filters (1.0.0.dev2-2ubuntu1) ... 150s Selecting previously unselected package python3-iniconfig. 150s Preparing to unpack .../12-python3-iniconfig_1.1.1-2_all.deb ... 150s Unpacking python3-iniconfig (1.1.1-2) ... 150s Selecting previously unselected package python3-packaging. 150s Preparing to unpack .../13-python3-packaging_24.1-1_all.deb ... 150s Unpacking python3-packaging (24.1-1) ... 150s Selecting previously unselected package python3-pluggy. 150s Preparing to unpack .../14-python3-pluggy_1.5.0-1_all.deb ... 150s Unpacking python3-pluggy (1.5.0-1) ... 150s Selecting previously unselected package python3-pytest. 150s Preparing to unpack .../15-python3-pytest_7.4.4-1_all.deb ... 150s Unpacking python3-pytest (7.4.4-1) ... 150s Selecting previously unselected package python3-pytest-django. 150s Preparing to unpack .../16-python3-pytest-django_4.5.2-3_all.deb ... 150s Unpacking python3-pytest-django (4.5.2-3) ... 150s Selecting previously unselected package autopkgtest-satdep. 150s Preparing to unpack .../17-1-autopkgtest-satdep.deb ... 150s Unpacking autopkgtest-satdep (0) ... 150s Setting up python3-iniconfig (1.1.1-2) ... 150s Setting up fonts-glyphicons-halflings (1.009~3.4.1+dfsg-3) ... 150s Setting up python3-packaging (24.1-1) ... 150s Setting up python3-sqlparse (0.5.1-1) ... 151s Setting up python3-pluggy (1.5.0-1) ... 151s Setting up libjs-prettify (2015.12.04+dfsg-1.1) ... 151s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 151s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 151s Setting up libjs-bootstrap (3.4.1+dfsg-3) ... 151s Setting up python3-asgiref (3.8.1-1) ... 151s Setting up python3-django (3:4.2.14-1) ... 152s Setting up python3-pytest (7.4.4-1) ... 153s Setting up python3-pytest-django (4.5.2-3) ... 153s Setting up python3-djangorestframework (3.15.2-1) ... 153s Setting up python3-django-crispy-forms (2.1-2) ... 153s Setting up python3-django-filters (24.2-1) ... 154s Setting up python3-djangorestframework-filters (1.0.0.dev2-2ubuntu1) ... 154s Setting up autopkgtest-satdep (0) ... 154s Processing triggers for man-db (2.12.1-2) ... 157s (Reading database ... 79855 files and directories currently installed.) 157s Removing autopkgtest-satdep (0) ... 157s autopkgtest [16:11:15]: test test-suite: cp -r tests/ $AUTOPKGTEST_TMP/tests && cd $AUTOPKGTEST_TMP && DJANGO_SETTINGS_MODULE=tests.settings python3 -m pytest 157s autopkgtest [16:11:15]: test test-suite: [----------------------- 159s ============================= test session starts ============================== 159s platform linux -- Python 3.12.4, pytest-7.4.4, pluggy-1.5.0 159s django: settings: tests.settings (from env) 159s rootdir: /tmp/autopkgtest.7QDIED/autopkgtest_tmp 159s plugins: django-4.5.2 159s collected 151 items 159s 159s tests/test_backends.py ............FF.... [ 11%] 159s tests/test_complex_ops.py ................ [ 22%] 159s tests/test_filtering.py .......................... [ 39%] 159s tests/test_filters.py ... [ 41%] 160s tests/test_filterset.py ................................................ [ 73%] 160s ....... [ 78%] 160s tests/test_forms.py ...... [ 82%] 160s tests/test_regressions.py ........ [ 87%] 160s tests/test_utils.py ....... [ 92%] 160s tests/related/test_exclude.py ....... [ 96%] 160s tests/related/test_filter.py ..... [100%] 160s 160s =================================== FAILURES =================================== 160s __ BackendCrispyFormsRenderingTests.test_crispy_forms_filterset_compatibility __ 160s 160s self = 160s 160s def test_crispy_forms_filterset_compatibility(self): 160s class SimpleCrispyFilterSet(FilterSet): 160s class Meta: 160s model = models.User 160s fields = ['username'] 160s 160s class SimpleViewSet(views.FilterFieldsUserViewSet): 160s filterset_class = SimpleCrispyFilterSet 160s 160s > self.assertHTMLEqual(self.render(SimpleViewSet), """ 160s

Field filters

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

Field filters

160s
160s
160s 160s
160s 160s
160s
160s 160s
160s Writer 160s 160s
160s 160s
160s 160s
160s
160s
160s 160s 160s
160s """) 160s 160s tests/test_backends.py:376: 160s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 160s tests/test_backends.py:24: in render 160s return backend().to_html(request, view.get_queryset(), view) 160s /usr/lib/python3/dist-packages/rest_framework_filters/backends.py:50: in to_html 160s return super().to_html(request, queryset, view) 160s /usr/lib/python3/dist-packages/django_filters/rest_framework/backends.py:81: in to_html 160s template = loader.get_template(self.template) 160s /usr/lib/python3/dist-packages/django/template/loader.py:15: in get_template 160s return engine.get_template(template_name) 160s /usr/lib/python3/dist-packages/django/template/backends/django.py:33: in get_template 160s return Template(self.engine.get_template(template_name), self) 160s /usr/lib/python3/dist-packages/django/template/engine.py:175: in get_template 160s template, origin = self.find_template(template_name) 160s /usr/lib/python3/dist-packages/django/template/engine.py:157: in find_template 160s template = loader.get_template(name, skip=skip) 160s /usr/lib/python3/dist-packages/django/template/loaders/cached.py:57: in get_template 160s template = super().get_template(template_name, skip) 160s /usr/lib/python3/dist-packages/django/template/loaders/base.py:28: in get_template 160s return Template( 160s /usr/lib/python3/dist-packages/django/template/base.py:154: in __init__ 160s self.nodelist = self.compile_nodelist() 160s /usr/lib/python3/dist-packages/django/template/base.py:200: in compile_nodelist 160s return parser.parse() 160s /usr/lib/python3/dist-packages/django/template/base.py:513: in parse 160s raise self.error(token, e) 160s /usr/lib/python3/dist-packages/django/template/base.py:511: in parse 160s compiled_result = compile_func(self, token) 160s /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:238: in do_uni_form 160s template_pack = "'%s'" % get_template_pack() 160s /usr/lib/python3/dist-packages/crispy_forms/utils.py:16: in get_template_pack 160s return getattr(settings, "CRISPY_TEMPLATE_PACK") 160s /usr/lib/python3/dist-packages/django/conf/__init__.py:104: in __getattr__ 160s val = getattr(_wrapped, name) 160s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 160s 160s self = , name = 'CRISPY_TEMPLATE_PACK' 160s 160s def __getattr__(self, name): 160s if not name.isupper() or name in self._deleted: 160s raise AttributeError 160s > return getattr(self.default_settings, name) 160s E AttributeError: 'Settings' object has no attribute 'CRISPY_TEMPLATE_PACK' 160s 160s /usr/lib/python3/dist-packages/django/conf/__init__.py:331: AttributeError 160s =============================== warnings summary =============================== 160s ../../../usr/lib/python3/dist-packages/django/conf/__init__.py:241 160s /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. 160s warnings.warn( 160s 160s tests/test_complex_ops.py::CombineComplexQuerysetTests::test_AND 160s /tmp/autopkgtest.7QDIED/autopkgtest_tmp/tests/test_complex_ops.py:202: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). 160s self.assertQuerysetEqual( 160s 160s tests/test_complex_ops.py::CombineComplexQuerysetTests::test_OR 160s /tmp/autopkgtest.7QDIED/autopkgtest_tmp/tests/test_complex_ops.py:217: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). 160s self.assertQuerysetEqual( 160s 160s tests/test_complex_ops.py::CombineComplexQuerysetTests::test_negation 160s /tmp/autopkgtest.7QDIED/autopkgtest_tmp/tests/test_complex_ops.py:232: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). 160s self.assertQuerysetEqual( 160s 160s tests/test_complex_ops.py::CombineComplexQuerysetTests::test_single 160s /tmp/autopkgtest.7QDIED/autopkgtest_tmp/tests/test_complex_ops.py:187: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). 160s self.assertQuerysetEqual( 160s 160s tests/test_filtering.py::RelatedFilterTests::test_relatedfilter_for_aliased_nested_relationships 160s /tmp/autopkgtest.7QDIED/autopkgtest_tmp/tests/test_filtering.py:256: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). 160s self.assertQuerysetEqual(f1.qs, [3], lambda p: p.pk) 160s 160s tests/test_filtering.py::RelatedFilterTests::test_relatedfilter_for_aliased_nested_relationships 160s /tmp/autopkgtest.7QDIED/autopkgtest_tmp/tests/test_filtering.py:257: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). 160s self.assertQuerysetEqual(f2.qs, [4], lambda p: p.pk) 160s 160s tests/test_filtering.py::RelatedFilterTests::test_relatedfilter_for_aliased_nested_relationships 160s /tmp/autopkgtest.7QDIED/autopkgtest_tmp/tests/test_filtering.py:258: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). 160s self.assertQuerysetEqual(f3.qs, [], lambda p: p.pk) 160s 160s tests/test_filtering.py::RelatedFilterTests::test_relatedfilter_for_aliased_nested_relationships 160s /tmp/autopkgtest.7QDIED/autopkgtest_tmp/tests/test_filtering.py:259: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). 160s self.assertQuerysetEqual(f4.qs, [], lambda p: p.pk) 160s 160s tests/related/test_exclude.py: 11 warnings 160s tests/related/test_filter.py: 7 warnings 160s /tmp/autopkgtest.7QDIED/autopkgtest_tmp/tests/related/data.py:105: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). 160s self.assertQuerysetEqual(qs, expected, attrgetter('pk'), False) 160s 160s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 160s =========================== short test summary info ============================ 160s FAILED tests/test_backends.py::BackendCrispyFormsRenderingTests::test_crispy_forms_filterset_compatibility 160s FAILED tests/test_backends.py::BackendCrispyFormsRenderingTests::test_related_filterset_crispy_forms 160s ================== 2 failed, 149 passed, 27 warnings in 1.68s ================== 160s autopkgtest [16:11:18]: test test-suite: -----------------------] 161s autopkgtest [16:11:19]: test test-suite: - - - - - - - - - - results - - - - - - - - - - 161s test-suite FAIL non-zero exit status 1 161s autopkgtest [16:11:19]: @@@@@@@@@@@@@@@@@@@@ summary 161s test-suite FAIL non-zero exit status 1 176s nova [W] Using flock in scalingstack-bos01-ppc64el 176s Creating nova instance adt-oracular-ppc64el-djangorestframework-filters-20240726-160838-juju-7f2275-prod-proposed-migration-environment-2-0c16ca2f-ad71-4196-ae8c-8163de590bc9 from image adt/ubuntu-oracular-ppc64el-server-20240726.img (UUID ed8577b4-418a-4114-bbc6-d96f99af327c)...