0s autopkgtest [10:26:19]: starting date and time: 2024-06-16 10:26:19+0000 0s autopkgtest [10:26:19]: git checkout: 433ed4cb Merge branch 'skia/nova_flock' into 'ubuntu/5.34+prod' 0s autopkgtest [10:26:19]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.q2_9v_g9/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@bos01-ppc64el-13.secgroup --name adt-oracular-ppc64el-djangorestframework-filters-20240616-102619-juju-7f2275-prod-proposed-migration-environment-3-80684555-47ae-4835-b959-a794cc03b6a6 --image adt/ubuntu-oracular-ppc64el-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://us.ports.ubuntu.com/ubuntu-ports/ 163s autopkgtest [10:29:02]: testbed dpkg architecture: ppc64el 163s autopkgtest [10:29:02]: testbed apt version: 2.9.5 163s autopkgtest [10:29:02]: @@@@@@@@@@@@@@@@@@@@ test bed setup 164s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [110 kB] 164s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [36.1 kB] 165s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [7052 B] 165s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [389 kB] 165s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [2576 B] 165s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main ppc64el Packages [42.8 kB] 165s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/restricted ppc64el Packages [1860 B] 165s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/universe ppc64el Packages [312 kB] 165s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse ppc64el Packages [2532 B] 165s Fetched 905 kB in 1s (1082 kB/s) 165s Reading package lists... 167s Reading package lists... 168s Building dependency tree... 168s Reading state information... 168s Calculating upgrade... 168s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 168s Reading package lists... 168s Building dependency tree... 168s Reading state information... 169s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 169s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 169s Get:2 http://ftpmaster.internal/ubuntu oracular InRelease [110 kB] 169s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 170s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 170s Get:5 http://ftpmaster.internal/ubuntu oracular/main Sources [1384 kB] 170s Get:6 http://ftpmaster.internal/ubuntu oracular/universe Sources [20.1 MB] 172s Get:7 http://ftpmaster.internal/ubuntu oracular/main ppc64el Packages [1348 kB] 172s Get:8 http://ftpmaster.internal/ubuntu oracular/universe ppc64el Packages [15.2 MB] 177s Fetched 38.1 MB in 8s (4495 kB/s) 178s Reading package lists... 178s Reading package lists... 179s Building dependency tree... 179s Reading state information... 179s Calculating upgrade... 179s The following packages will be upgraded: 179s libldap-common libldap2 179s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 179s Need to get 262 kB of archives. 179s After this operation, 0 B of additional disk space will be used. 179s Get:1 http://ftpmaster.internal/ubuntu oracular/main ppc64el libldap-common all 2.6.7+dfsg-1~exp1ubuntu9 [31.5 kB] 179s Get:2 http://ftpmaster.internal/ubuntu oracular/main ppc64el libldap2 ppc64el 2.6.7+dfsg-1~exp1ubuntu9 [231 kB] 180s Fetched 262 kB in 0s (633 kB/s) 180s (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 ... 72676 files and directories currently installed.) 180s Preparing to unpack .../libldap-common_2.6.7+dfsg-1~exp1ubuntu9_all.deb ... 180s Unpacking libldap-common (2.6.7+dfsg-1~exp1ubuntu9) over (2.6.7+dfsg-1~exp1ubuntu8) ... 180s Preparing to unpack .../libldap2_2.6.7+dfsg-1~exp1ubuntu9_ppc64el.deb ... 180s Unpacking libldap2:ppc64el (2.6.7+dfsg-1~exp1ubuntu9) over (2.6.7+dfsg-1~exp1ubuntu8) ... 180s Setting up libldap-common (2.6.7+dfsg-1~exp1ubuntu9) ... 180s Setting up libldap2:ppc64el (2.6.7+dfsg-1~exp1ubuntu9) ... 180s Processing triggers for man-db (2.12.1-2) ... 180s Processing triggers for libc-bin (2.39-0ubuntu9) ... 180s Reading package lists... 181s Building dependency tree... 181s Reading state information... 181s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 183s autopkgtest [10:29:22]: testbed running kernel: Linux 6.8.0-31-generic #31-Ubuntu SMP Sat Apr 20 00:05:55 UTC 2024 184s autopkgtest [10:29:23]: @@@@@@@@@@@@@@@@@@@@ apt-source djangorestframework-filters 185s Get:1 http://ftpmaster.internal/ubuntu oracular/universe djangorestframework-filters 1.0.0.dev2-2ubuntu1 (dsc) [2584 B] 185s Get:2 http://ftpmaster.internal/ubuntu oracular/universe djangorestframework-filters 1.0.0.dev2-2ubuntu1 (tar) [41.4 kB] 185s Get:3 http://ftpmaster.internal/ubuntu oracular/universe djangorestframework-filters 1.0.0.dev2-2ubuntu1 (diff) [3372 B] 185s gpgv: Signature made Fri Aug 25 19:53:13 2023 UTC 185s gpgv: using RSA key E92FD0B36B14F1F4D8E0EB2F106DA1C8C3CBBF14 185s gpgv: Can't check signature: No public key 185s dpkg-source: warning: cannot verify inline signature for ./djangorestframework-filters_1.0.0.dev2-2ubuntu1.dsc: no acceptable signature found 185s autopkgtest [10:29:24]: testing package djangorestframework-filters version 1.0.0.dev2-2ubuntu1 186s autopkgtest [10:29:25]: build not needed 186s autopkgtest [10:29:25]: test test-suite: preparing testbed 187s Reading package lists... 187s Building dependency tree... 187s Reading state information... 187s Starting pkgProblemResolver with broken count: 0 187s Starting 2 pkgProblemResolver with broken count: 0 187s Done 188s The following additional packages will be installed: 188s fonts-font-awesome fonts-glyphicons-halflings libjs-bootstrap libjs-jquery 188s libjs-prettify python3-asgiref python3-django python3-django-crispy-forms 188s python3-django-filters python3-djangorestframework 188s python3-djangorestframework-filters python3-iniconfig python3-packaging 188s python3-pluggy python3-pytest python3-pytest-django python3-sqlparse 188s Suggested packages: 188s bpython3 geoip-database-contrib gettext ipython3 libgdal20 188s libsqlite3-mod-spatialite python-django-doc python3-bcrypt python3-flup 188s python3-memcache python3-mysqldb python3-pil python3-psycopg2 188s python3-selenium python3-sqlite python-django-crispy-forms-doc 188s python-django-filters-doc python-djangorestframework-doc python-sqlparse-doc 188s Recommended packages: 188s javascript-common python3-coreapi python3-coreschema python3-django-guardian 188s python3-markdown python3-psycopg2 188s The following NEW packages will be installed: 188s autopkgtest-satdep fonts-font-awesome fonts-glyphicons-halflings 188s libjs-bootstrap libjs-jquery libjs-prettify python3-asgiref python3-django 188s python3-django-crispy-forms python3-django-filters 188s python3-djangorestframework python3-djangorestframework-filters 188s python3-iniconfig python3-packaging python3-pluggy python3-pytest 188s python3-pytest-django python3-sqlparse 188s 0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded. 188s Need to get 5044 kB/5045 kB of archives. 188s After this operation, 34.3 MB of additional disk space will be used. 188s Get:1 /tmp/autopkgtest.AoSooa/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [748 B] 188s Get:2 http://ftpmaster.internal/ubuntu oracular/main ppc64el fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 188s Get:3 http://ftpmaster.internal/ubuntu oracular/universe ppc64el fonts-glyphicons-halflings all 1.009~3.4.1+dfsg-3 [118 kB] 188s Get:4 http://ftpmaster.internal/ubuntu oracular/universe ppc64el libjs-bootstrap all 3.4.1+dfsg-3 [129 kB] 188s Get:5 http://ftpmaster.internal/ubuntu oracular/main ppc64el libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 189s Get:6 http://ftpmaster.internal/ubuntu oracular/universe ppc64el libjs-prettify all 2015.12.04+dfsg-1.1 [39.3 kB] 189s Get:7 http://ftpmaster.internal/ubuntu oracular/main ppc64el python3-asgiref all 3.8.1-1 [24.8 kB] 189s Get:8 http://ftpmaster.internal/ubuntu oracular/main ppc64el python3-sqlparse all 0.5.0-1 [32.4 kB] 189s Get:9 http://ftpmaster.internal/ubuntu oracular/main ppc64el python3-django all 3:4.2.13-1 [2919 kB] 189s Get:10 http://ftpmaster.internal/ubuntu oracular-proposed/universe ppc64el python3-django-crispy-forms all 2.1-2 [27.6 kB] 189s Get:11 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-django-filters all 24.2-1 [48.8 kB] 189s Get:12 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-djangorestframework all 3.15.1-2 [446 kB] 189s Get:13 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-djangorestframework-filters all 1.0.0.dev2-2ubuntu1 [25.4 kB] 189s Get:14 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 189s Get:15 http://ftpmaster.internal/ubuntu oracular/main ppc64el python3-packaging all 24.0-1 [41.1 kB] 189s Get:16 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-pluggy all 1.5.0-1 [21.0 kB] 189s Get:17 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-pytest all 7.4.4-1 [305 kB] 190s Get:18 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-pytest-django all 4.5.2-3 [18.5 kB] 190s Fetched 5044 kB in 2s (2658 kB/s) 190s Selecting previously unselected package fonts-font-awesome. 190s (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 ... 72676 files and directories currently installed.) 190s Preparing to unpack .../00-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 190s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 190s Selecting previously unselected package fonts-glyphicons-halflings. 190s Preparing to unpack .../01-fonts-glyphicons-halflings_1.009~3.4.1+dfsg-3_all.deb ... 190s Unpacking fonts-glyphicons-halflings (1.009~3.4.1+dfsg-3) ... 190s Selecting previously unselected package libjs-bootstrap. 190s Preparing to unpack .../02-libjs-bootstrap_3.4.1+dfsg-3_all.deb ... 190s Unpacking libjs-bootstrap (3.4.1+dfsg-3) ... 190s Selecting previously unselected package libjs-jquery. 190s Preparing to unpack .../03-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 190s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 190s Selecting previously unselected package libjs-prettify. 190s Preparing to unpack .../04-libjs-prettify_2015.12.04+dfsg-1.1_all.deb ... 190s Unpacking libjs-prettify (2015.12.04+dfsg-1.1) ... 190s Selecting previously unselected package python3-asgiref. 190s Preparing to unpack .../05-python3-asgiref_3.8.1-1_all.deb ... 190s Unpacking python3-asgiref (3.8.1-1) ... 190s Selecting previously unselected package python3-sqlparse. 190s Preparing to unpack .../06-python3-sqlparse_0.5.0-1_all.deb ... 190s Unpacking python3-sqlparse (0.5.0-1) ... 190s Selecting previously unselected package python3-django. 190s Preparing to unpack .../07-python3-django_3%3a4.2.13-1_all.deb ... 190s Unpacking python3-django (3:4.2.13-1) ... 191s Selecting previously unselected package python3-django-crispy-forms. 191s Preparing to unpack .../08-python3-django-crispy-forms_2.1-2_all.deb ... 191s Unpacking python3-django-crispy-forms (2.1-2) ... 191s Selecting previously unselected package python3-django-filters. 191s Preparing to unpack .../09-python3-django-filters_24.2-1_all.deb ... 191s Unpacking python3-django-filters (24.2-1) ... 191s Selecting previously unselected package python3-djangorestframework. 191s Preparing to unpack .../10-python3-djangorestframework_3.15.1-2_all.deb ... 191s Unpacking python3-djangorestframework (3.15.1-2) ... 191s Selecting previously unselected package python3-djangorestframework-filters. 191s Preparing to unpack .../11-python3-djangorestframework-filters_1.0.0.dev2-2ubuntu1_all.deb ... 191s Unpacking python3-djangorestframework-filters (1.0.0.dev2-2ubuntu1) ... 191s Selecting previously unselected package python3-iniconfig. 191s Preparing to unpack .../12-python3-iniconfig_1.1.1-2_all.deb ... 191s Unpacking python3-iniconfig (1.1.1-2) ... 191s Selecting previously unselected package python3-packaging. 191s Preparing to unpack .../13-python3-packaging_24.0-1_all.deb ... 191s Unpacking python3-packaging (24.0-1) ... 191s Selecting previously unselected package python3-pluggy. 191s Preparing to unpack .../14-python3-pluggy_1.5.0-1_all.deb ... 191s Unpacking python3-pluggy (1.5.0-1) ... 191s Selecting previously unselected package python3-pytest. 191s Preparing to unpack .../15-python3-pytest_7.4.4-1_all.deb ... 191s Unpacking python3-pytest (7.4.4-1) ... 191s Selecting previously unselected package python3-pytest-django. 191s Preparing to unpack .../16-python3-pytest-django_4.5.2-3_all.deb ... 191s Unpacking python3-pytest-django (4.5.2-3) ... 191s Selecting previously unselected package autopkgtest-satdep. 191s Preparing to unpack .../17-1-autopkgtest-satdep.deb ... 191s Unpacking autopkgtest-satdep (0) ... 191s Setting up python3-iniconfig (1.1.1-2) ... 191s Setting up fonts-glyphicons-halflings (1.009~3.4.1+dfsg-3) ... 191s Setting up python3-packaging (24.0-1) ... 192s Setting up python3-sqlparse (0.5.0-1) ... 192s Setting up python3-pluggy (1.5.0-1) ... 192s Setting up libjs-prettify (2015.12.04+dfsg-1.1) ... 192s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 192s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 192s Setting up libjs-bootstrap (3.4.1+dfsg-3) ... 192s Setting up python3-asgiref (3.8.1-1) ... 192s Setting up python3-django (3:4.2.13-1) ... 194s Setting up python3-pytest (7.4.4-1) ... 194s Setting up python3-pytest-django (4.5.2-3) ... 194s Setting up python3-djangorestframework (3.15.1-2) ... 195s Setting up python3-django-crispy-forms (2.1-2) ... 195s Setting up python3-django-filters (24.2-1) ... 195s Setting up python3-djangorestframework-filters (1.0.0.dev2-2ubuntu1) ... 195s Setting up autopkgtest-satdep (0) ... 195s Processing triggers for man-db (2.12.1-2) ... 198s (Reading database ... 79745 files and directories currently installed.) 198s Removing autopkgtest-satdep (0) ... 199s autopkgtest [10:29:38]: test test-suite: cp -r tests/ $AUTOPKGTEST_TMP/tests && cd $AUTOPKGTEST_TMP && DJANGO_SETTINGS_MODULE=tests.settings python3 -m pytest 199s autopkgtest [10:29:38]: test test-suite: [----------------------- 200s ============================= test session starts ============================== 200s platform linux -- Python 3.12.4, pytest-7.4.4, pluggy-1.5.0 200s django: settings: tests.settings (from env) 200s rootdir: /tmp/autopkgtest.AoSooa/autopkgtest_tmp 200s plugins: django-4.5.2 200s collected 151 items 200s 201s tests/test_backends.py ............FF.... [ 11%] 201s tests/test_complex_ops.py ................ [ 22%] 201s tests/test_filtering.py .......................... [ 39%] 201s tests/test_filters.py ... [ 41%] 201s tests/test_filterset.py ................................................ [ 73%] 201s ....... [ 78%] 201s tests/test_forms.py ...... [ 82%] 201s tests/test_regressions.py ........ [ 87%] 201s tests/test_utils.py ....... [ 92%] 201s tests/related/test_exclude.py ....... [ 96%] 201s tests/related/test_filter.py ..... [100%] 201s 201s =================================== FAILURES =================================== 201s __ BackendCrispyFormsRenderingTests.test_crispy_forms_filterset_compatibility __ 201s 201s self = 201s 201s def test_crispy_forms_filterset_compatibility(self): 201s class SimpleCrispyFilterSet(FilterSet): 201s class Meta: 201s model = models.User 201s fields = ['username'] 201s 201s class SimpleViewSet(views.FilterFieldsUserViewSet): 201s filterset_class = SimpleCrispyFilterSet 201s 201s > self.assertHTMLEqual(self.render(SimpleViewSet), """ 201s

Field filters

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

Field filters

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