0s autopkgtest [16:08:39]: starting date and time: 2024-07-26 16:08:39+0000 0s autopkgtest [16:08:39]: git checkout: fd3bed09 nova: allow more retries for quota issues 0s autopkgtest [16:08:39]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.1wznj_rh/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@lcy02-89.secgroup --name adt-oracular-amd64-djangorestframework-filters-20240726-160838-juju-7f2275-prod-proposed-migration-environment-2-9cf184e3-92ba-4dd7-801f-51f99270f25a --image adt/ubuntu-oracular-amd64-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://ftpmaster.internal/ubuntu/ 106s autopkgtest [16:10:25]: testbed dpkg architecture: amd64 106s autopkgtest [16:10:25]: testbed apt version: 2.9.6 106s autopkgtest [16:10:25]: @@@@@@@@@@@@@@@@@@@@ test bed setup 106s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [126 kB] 107s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [50.6 kB] 107s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [8548 B] 107s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [436 kB] 107s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [4288 B] 107s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main amd64 Packages [94.8 kB] 107s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/main i386 Packages [53.4 kB] 107s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/main amd64 c-n-f Metadata [2116 B] 107s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/restricted amd64 Packages [34.9 kB] 107s Get:10 http://ftpmaster.internal/ubuntu oracular-proposed/restricted i386 Packages [6244 B] 107s Get:11 http://ftpmaster.internal/ubuntu oracular-proposed/restricted amd64 c-n-f Metadata [368 B] 107s Get:12 http://ftpmaster.internal/ubuntu oracular-proposed/universe amd64 Packages [498 kB] 107s Get:13 http://ftpmaster.internal/ubuntu oracular-proposed/universe i386 Packages [296 kB] 107s Get:14 http://ftpmaster.internal/ubuntu oracular-proposed/universe amd64 c-n-f Metadata [9900 B] 107s Get:15 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse amd64 Packages [8792 B] 107s Get:16 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse i386 Packages [3052 B] 107s Get:17 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse amd64 c-n-f Metadata [276 B] 108s Fetched 1634 kB in 0s (4588 kB/s) 108s Reading package lists... 109s Reading package lists... 110s Building dependency tree... 110s Reading state information... 110s Calculating upgrade... 110s The following packages will be upgraded: 110s bpfcc-tools bpftrace libbpfcc liblz4-1 mawk python3-bpfcc 110s 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 110s Need to get 13.9 MB of archives. 110s After this operation, 37.8 MB of additional disk space will be used. 110s Get:1 http://ftpmaster.internal/ubuntu oracular/main amd64 liblz4-1 amd64 1.9.4-3 [63.1 kB] 110s Get:2 http://ftpmaster.internal/ubuntu oracular/main amd64 mawk amd64 1.3.4.20240622-2 [127 kB] 110s Get:3 http://ftpmaster.internal/ubuntu oracular/main amd64 libbpfcc amd64 0.30.0+ds-1ubuntu2 [644 kB] 110s Get:4 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-bpfcc all 0.30.0+ds-1ubuntu2 [40.3 kB] 110s Get:5 http://ftpmaster.internal/ubuntu oracular/main amd64 bpfcc-tools all 0.30.0+ds-1ubuntu2 [697 kB] 111s Get:6 http://ftpmaster.internal/ubuntu oracular/main amd64 bpftrace amd64 0.21.0-1ubuntu6 [12.3 MB] 111s Fetched 13.9 MB in 0s (44.5 MB/s) 111s (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 ... 74523 files and directories currently installed.) 111s Preparing to unpack .../liblz4-1_1.9.4-3_amd64.deb ... 111s Unpacking liblz4-1:amd64 (1.9.4-3) over (1.9.4-2) ... 111s Setting up liblz4-1:amd64 (1.9.4-3) ... 111s (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 ... 74523 files and directories currently installed.) 111s Preparing to unpack .../mawk_1.3.4.20240622-2_amd64.deb ... 111s Unpacking mawk (1.3.4.20240622-2) over (1.3.4.20240622-1) ... 112s Preparing to unpack .../libbpfcc_0.30.0+ds-1ubuntu2_amd64.deb ... 112s Unpacking libbpfcc:amd64 (0.30.0+ds-1ubuntu2) over (0.29.1+ds-1ubuntu7) ... 112s Preparing to unpack .../python3-bpfcc_0.30.0+ds-1ubuntu2_all.deb ... 112s Unpacking python3-bpfcc (0.30.0+ds-1ubuntu2) over (0.29.1+ds-1ubuntu7) ... 112s Preparing to unpack .../bpfcc-tools_0.30.0+ds-1ubuntu2_all.deb ... 112s Unpacking bpfcc-tools (0.30.0+ds-1ubuntu2) over (0.29.1+ds-1ubuntu7) ... 112s Preparing to unpack .../bpftrace_0.21.0-1ubuntu6_amd64.deb ... 112s Unpacking bpftrace (0.21.0-1ubuntu6) over (0.20.2-1ubuntu4) ... 112s Setting up mawk (1.3.4.20240622-2) ... 112s Setting up libbpfcc:amd64 (0.30.0+ds-1ubuntu2) ... 112s Setting up python3-bpfcc (0.30.0+ds-1ubuntu2) ... 112s Setting up bpftrace (0.21.0-1ubuntu6) ... 112s Setting up bpfcc-tools (0.30.0+ds-1ubuntu2) ... 112s Processing triggers for man-db (2.12.1-2) ... 113s Processing triggers for libc-bin (2.39-0ubuntu9) ... 114s Reading package lists... 114s Building dependency tree... 114s Reading state information... 114s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 115s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 115s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 115s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 115s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 116s Reading package lists... 116s Reading package lists... 116s Building dependency tree... 116s Reading state information... 117s Calculating upgrade... 117s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 117s Reading package lists... 117s Building dependency tree... 117s Reading state information... 118s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 119s autopkgtest [16:10:38]: testbed running kernel: Linux 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 119s autopkgtest [16:10:38]: @@@@@@@@@@@@@@@@@@@@ apt-source djangorestframework-filters 119s Get:1 http://ftpmaster.internal/ubuntu oracular/universe djangorestframework-filters 1.0.0.dev2-2ubuntu1 (dsc) [2584 B] 119s Get:2 http://ftpmaster.internal/ubuntu oracular/universe djangorestframework-filters 1.0.0.dev2-2ubuntu1 (tar) [41.4 kB] 119s Get:3 http://ftpmaster.internal/ubuntu oracular/universe djangorestframework-filters 1.0.0.dev2-2ubuntu1 (diff) [3372 B] 120s gpgv: Signature made Fri Aug 25 19:53:13 2023 UTC 120s gpgv: using RSA key E92FD0B36B14F1F4D8E0EB2F106DA1C8C3CBBF14 120s gpgv: Can't check signature: No public key 120s dpkg-source: warning: cannot verify inline signature for ./djangorestframework-filters_1.0.0.dev2-2ubuntu1.dsc: no acceptable signature found 120s autopkgtest [16:10:39]: testing package djangorestframework-filters version 1.0.0.dev2-2ubuntu1 120s autopkgtest [16:10:39]: build not needed 120s autopkgtest [16:10:39]: test test-suite: preparing testbed 120s Reading package lists... 121s Building dependency tree... 121s Reading state information... 121s Starting pkgProblemResolver with broken count: 0 121s Starting 2 pkgProblemResolver with broken count: 0 121s Done 121s The following additional packages will be installed: 121s fonts-font-awesome fonts-glyphicons-halflings libjs-bootstrap libjs-jquery 121s libjs-prettify python3-asgiref python3-django python3-django-crispy-forms 121s python3-django-filters python3-djangorestframework 121s python3-djangorestframework-filters python3-iniconfig python3-packaging 121s python3-pluggy python3-pytest python3-pytest-django python3-sqlparse 121s python3-tz 121s Suggested packages: 121s bpython3 geoip-database-contrib gettext ipython3 libgdal20 121s libsqlite3-mod-spatialite python-django-doc python3-bcrypt python3-flup 121s python3-memcache python3-mysqldb python3-pil python3-psycopg2 121s python3-selenium python3-sqlite python-django-crispy-forms-doc 121s python-django-filters-doc python-djangorestframework-doc python-sqlparse-doc 121s Recommended packages: 121s javascript-common python3-coreapi python3-coreschema python3-django-guardian 121s python3-markdown python3-psycopg2 122s The following NEW packages will be installed: 122s autopkgtest-satdep fonts-font-awesome fonts-glyphicons-halflings 122s libjs-bootstrap libjs-jquery libjs-prettify python3-asgiref python3-django 122s python3-django-crispy-forms python3-django-filters 122s python3-djangorestframework python3-djangorestframework-filters 122s python3-iniconfig python3-packaging python3-pluggy python3-pytest 122s python3-pytest-django python3-sqlparse python3-tz 122s 0 upgraded, 19 newly installed, 0 to remove and 0 not upgraded. 122s Need to get 5075 kB/5075 kB of archives. 122s After this operation, 34.4 MB of additional disk space will be used. 122s Get:1 /tmp/autopkgtest.ncyniC/1-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [752 B] 122s Get:2 http://ftpmaster.internal/ubuntu oracular/main amd64 fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 122s Get:3 http://ftpmaster.internal/ubuntu oracular/universe amd64 fonts-glyphicons-halflings all 1.009~3.4.1+dfsg-3 [118 kB] 122s Get:4 http://ftpmaster.internal/ubuntu oracular/universe amd64 libjs-bootstrap all 3.4.1+dfsg-3 [129 kB] 122s Get:5 http://ftpmaster.internal/ubuntu oracular/main amd64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 122s Get:6 http://ftpmaster.internal/ubuntu oracular/universe amd64 libjs-prettify all 2015.12.04+dfsg-1.1 [39.3 kB] 122s Get:7 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-asgiref all 3.8.1-1 [24.8 kB] 122s Get:8 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-sqlparse all 0.5.1-1 [32.6 kB] 122s Get:9 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-django all 3:4.2.14-1 [2917 kB] 122s Get:10 http://ftpmaster.internal/ubuntu oracular-proposed/universe amd64 python3-django-crispy-forms all 2.1-2 [27.6 kB] 122s Get:11 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-django-filters all 24.2-1 [48.8 kB] 122s Get:12 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-tz all 2024.1-2 [31.4 kB] 122s Get:13 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-djangorestframework all 3.15.2-1 [445 kB] 122s Get:14 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-djangorestframework-filters all 1.0.0.dev2-2ubuntu1 [25.4 kB] 122s Get:15 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 122s Get:16 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-packaging all 24.1-1 [41.4 kB] 122s Get:17 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 122s Get:18 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-pytest all 7.4.4-1 [305 kB] 122s Get:19 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-pytest-django all 4.5.2-3 [18.5 kB] 122s Fetched 5075 kB in 0s (31.7 MB/s) 122s Selecting previously unselected package fonts-font-awesome. 122s (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 ... 74530 files and directories currently installed.) 122s Preparing to unpack .../00-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 122s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 122s Selecting previously unselected package fonts-glyphicons-halflings. 122s Preparing to unpack .../01-fonts-glyphicons-halflings_1.009~3.4.1+dfsg-3_all.deb ... 122s Unpacking fonts-glyphicons-halflings (1.009~3.4.1+dfsg-3) ... 122s Selecting previously unselected package libjs-bootstrap. 122s Preparing to unpack .../02-libjs-bootstrap_3.4.1+dfsg-3_all.deb ... 122s Unpacking libjs-bootstrap (3.4.1+dfsg-3) ... 122s Selecting previously unselected package libjs-jquery. 122s Preparing to unpack .../03-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 122s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 122s Selecting previously unselected package libjs-prettify. 122s Preparing to unpack .../04-libjs-prettify_2015.12.04+dfsg-1.1_all.deb ... 122s Unpacking libjs-prettify (2015.12.04+dfsg-1.1) ... 122s Selecting previously unselected package python3-asgiref. 122s Preparing to unpack .../05-python3-asgiref_3.8.1-1_all.deb ... 122s Unpacking python3-asgiref (3.8.1-1) ... 122s Selecting previously unselected package python3-sqlparse. 122s Preparing to unpack .../06-python3-sqlparse_0.5.1-1_all.deb ... 122s Unpacking python3-sqlparse (0.5.1-1) ... 122s Selecting previously unselected package python3-django. 122s Preparing to unpack .../07-python3-django_3%3a4.2.14-1_all.deb ... 122s Unpacking python3-django (3:4.2.14-1) ... 123s Selecting previously unselected package python3-django-crispy-forms. 123s Preparing to unpack .../08-python3-django-crispy-forms_2.1-2_all.deb ... 123s Unpacking python3-django-crispy-forms (2.1-2) ... 123s Selecting previously unselected package python3-django-filters. 123s Preparing to unpack .../09-python3-django-filters_24.2-1_all.deb ... 123s Unpacking python3-django-filters (24.2-1) ... 123s Selecting previously unselected package python3-tz. 123s Preparing to unpack .../10-python3-tz_2024.1-2_all.deb ... 123s Unpacking python3-tz (2024.1-2) ... 123s Selecting previously unselected package python3-djangorestframework. 123s Preparing to unpack .../11-python3-djangorestframework_3.15.2-1_all.deb ... 123s Unpacking python3-djangorestframework (3.15.2-1) ... 124s Selecting previously unselected package python3-djangorestframework-filters. 124s Preparing to unpack .../12-python3-djangorestframework-filters_1.0.0.dev2-2ubuntu1_all.deb ... 124s Unpacking python3-djangorestframework-filters (1.0.0.dev2-2ubuntu1) ... 124s Selecting previously unselected package python3-iniconfig. 124s Preparing to unpack .../13-python3-iniconfig_1.1.1-2_all.deb ... 124s Unpacking python3-iniconfig (1.1.1-2) ... 124s Selecting previously unselected package python3-packaging. 124s Preparing to unpack .../14-python3-packaging_24.1-1_all.deb ... 124s Unpacking python3-packaging (24.1-1) ... 124s Selecting previously unselected package python3-pluggy. 124s Preparing to unpack .../15-python3-pluggy_1.5.0-1_all.deb ... 124s Unpacking python3-pluggy (1.5.0-1) ... 124s Selecting previously unselected package python3-pytest. 124s Preparing to unpack .../16-python3-pytest_7.4.4-1_all.deb ... 124s Unpacking python3-pytest (7.4.4-1) ... 124s Selecting previously unselected package python3-pytest-django. 124s Preparing to unpack .../17-python3-pytest-django_4.5.2-3_all.deb ... 124s Unpacking python3-pytest-django (4.5.2-3) ... 124s Selecting previously unselected package autopkgtest-satdep. 124s Preparing to unpack .../18-1-autopkgtest-satdep.deb ... 124s Unpacking autopkgtest-satdep (0) ... 124s Setting up python3-iniconfig (1.1.1-2) ... 124s Setting up fonts-glyphicons-halflings (1.009~3.4.1+dfsg-3) ... 124s Setting up python3-tz (2024.1-2) ... 124s Setting up python3-packaging (24.1-1) ... 124s Setting up python3-sqlparse (0.5.1-1) ... 124s Setting up python3-pluggy (1.5.0-1) ... 125s Setting up libjs-prettify (2015.12.04+dfsg-1.1) ... 125s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 125s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 125s Setting up libjs-bootstrap (3.4.1+dfsg-3) ... 125s Setting up python3-asgiref (3.8.1-1) ... 125s Setting up python3-django (3:4.2.14-1) ... 126s Setting up python3-pytest (7.4.4-1) ... 126s Setting up python3-pytest-django (4.5.2-3) ... 126s Setting up python3-djangorestframework (3.15.2-1) ... 127s Setting up python3-django-crispy-forms (2.1-2) ... 127s Setting up python3-django-filters (24.2-1) ... 127s Setting up python3-djangorestframework-filters (1.0.0.dev2-2ubuntu1) ... 127s Setting up autopkgtest-satdep (0) ... 127s Processing triggers for man-db (2.12.1-2) ... 129s (Reading database ... 81615 files and directories currently installed.) 129s Removing autopkgtest-satdep (0) ... 130s autopkgtest [16:10:49]: test test-suite: cp -r tests/ $AUTOPKGTEST_TMP/tests && cd $AUTOPKGTEST_TMP && DJANGO_SETTINGS_MODULE=tests.settings python3 -m pytest 130s autopkgtest [16:10:49]: test test-suite: [----------------------- 131s ============================= test session starts ============================== 131s platform linux -- Python 3.12.4, pytest-7.4.4, pluggy-1.5.0 131s django: settings: tests.settings (from env) 131s rootdir: /tmp/autopkgtest.ncyniC/autopkgtest_tmp 131s plugins: django-4.5.2 131s collected 151 items 131s 131s tests/test_backends.py ............FF.... [ 11%] 131s tests/test_complex_ops.py ................ [ 22%] 131s tests/test_filtering.py .......................... [ 39%] 131s tests/test_filters.py ... [ 41%] 132s tests/test_filterset.py ................................................ [ 73%] 132s ....... [ 78%] 132s tests/test_forms.py ...... [ 82%] 132s tests/test_regressions.py ........ [ 87%] 132s tests/test_utils.py ....... [ 92%] 132s tests/related/test_exclude.py ....... [ 96%] 132s tests/related/test_filter.py ..... [100%] 132s 132s =================================== FAILURES =================================== 132s __ BackendCrispyFormsRenderingTests.test_crispy_forms_filterset_compatibility __ 132s 132s self = 132s 132s def test_crispy_forms_filterset_compatibility(self): 132s class SimpleCrispyFilterSet(FilterSet): 132s class Meta: 132s model = models.User 132s fields = ['username'] 132s 132s class SimpleViewSet(views.FilterFieldsUserViewSet): 132s filterset_class = SimpleCrispyFilterSet 132s 132s > self.assertHTMLEqual(self.render(SimpleViewSet), """ 132s

Field filters

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

Field filters

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