0s autopkgtest [04:11:02]: starting date and time: 2024-03-23 04:11:02+0000 0s autopkgtest [04:11:02]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [04:11:02]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.w_qqwxt3/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --setup-commands /home/ubuntu/autopkgtest/setup-commands/setup-testbed --apt-pocket=proposed=src:sphinx --apt-upgrade python-django-debug-toolbar --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=sphinx/7.2.6-6 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos02-ppc64el-17.secgroup --name adt-noble-ppc64el-python-django-debug-toolbar-20240323-041102-juju-7f2275-prod-proposed-migration-environment-3 --image adt/ubuntu-noble-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,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 398s autopkgtest [04:17:40]: testbed dpkg architecture: ppc64el 398s autopkgtest [04:17:40]: testbed apt version: 2.7.12 398s autopkgtest [04:17:40]: @@@@@@@@@@@@@@@@@@@@ test bed setup 399s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 399s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 399s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [57.7 kB] 399s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [4001 kB] 400s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [495 kB] 400s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el Packages [668 kB] 400s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el c-n-f Metadata [3116 B] 400s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el Packages [1372 B] 400s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el c-n-f Metadata [116 B] 400s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el Packages [4259 kB] 400s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el c-n-f Metadata [8652 B] 400s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el Packages [61.5 kB] 400s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el c-n-f Metadata [116 B] 404s Fetched 9679 kB in 3s (3634 kB/s) 404s Reading package lists... 407s Reading package lists... 407s Building dependency tree... 407s Reading state information... 407s Calculating upgrade... 407s The following packages will be upgraded: 407s libbsd0 407s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 407s Need to get 56.9 kB of archives. 407s After this operation, 0 B of additional disk space will be used. 407s Get:1 http://ftpmaster.internal/ubuntu noble/main ppc64el libbsd0 ppc64el 0.12.1-1 [56.9 kB] 408s Fetched 56.9 kB in 0s (209 kB/s) 408s (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 ... 70156 files and directories currently installed.) 408s Preparing to unpack .../libbsd0_0.12.1-1_ppc64el.deb ... 408s Unpacking libbsd0:ppc64el (0.12.1-1) over (0.11.8-1) ... 408s Setting up libbsd0:ppc64el (0.12.1-1) ... 408s Processing triggers for libc-bin (2.39-0ubuntu2) ... 408s Reading package lists... 408s Building dependency tree... 408s Reading state information... 408s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 409s sh: Attempting to set up Debian/Ubuntu apt sources automatically 409s sh: Distribution appears to be Ubuntu 410s Reading package lists... 410s Building dependency tree... 410s Reading state information... 410s eatmydata is already the newest version (131-1). 410s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 410s Reading package lists... 410s Building dependency tree... 410s Reading state information... 411s dbus is already the newest version (1.14.10-4ubuntu1). 411s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 411s Reading package lists... 411s Building dependency tree... 411s Reading state information... 411s rng-tools-debian is already the newest version (2.4). 411s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 411s Reading package lists... 411s Building dependency tree... 411s Reading state information... 411s The following packages will be REMOVED: 411s cloud-init* python3-configobj* python3-debconf* 412s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 412s After this operation, 3256 kB disk space will be freed. 412s (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 ... 70156 files and directories currently installed.) 412s Removing cloud-init (24.1.2-0ubuntu1) ... 412s Removing python3-configobj (5.0.8-3) ... 412s Removing python3-debconf (1.5.86) ... 412s Processing triggers for man-db (2.12.0-3) ... 413s (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 ... 69767 files and directories currently installed.) 413s Purging configuration files for cloud-init (24.1.2-0ubuntu1) ... 413s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 413s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 413s invoke-rc.d: policy-rc.d denied execution of try-restart. 414s Reading package lists... 414s Building dependency tree... 414s Reading state information... 414s linux-generic is already the newest version (6.8.0-11.11+1). 414s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 414s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 414s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 414s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 417s Reading package lists... 417s Reading package lists... 417s Building dependency tree... 417s Reading state information... 417s Calculating upgrade... 418s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 418s Reading package lists... 418s Building dependency tree... 418s Reading state information... 418s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 418s autopkgtest [04:18:00]: rebooting testbed after setup commands that affected boot 595s autopkgtest [04:20:57]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP Wed Feb 14 00:33:03 UTC 2024 598s autopkgtest [04:21:00]: @@@@@@@@@@@@@@@@@@@@ apt-source python-django-debug-toolbar 601s Get:1 http://ftpmaster.internal/ubuntu noble/universe python-django-debug-toolbar 1:4.3-2 (dsc) [2705 B] 601s Get:2 http://ftpmaster.internal/ubuntu noble/universe python-django-debug-toolbar 1:4.3-2 (tar) [265 kB] 601s Get:3 http://ftpmaster.internal/ubuntu noble/universe python-django-debug-toolbar 1:4.3-2 (diff) [7816 B] 601s gpgv: Signature made Tue Feb 20 17:46:30 2024 UTC 601s gpgv: using RSA key B70DFC6F134FECFC011E62AA83016014251D1DB0 601s gpgv: Can't check signature: No public key 601s dpkg-source: warning: cannot verify inline signature for ./python-django-debug-toolbar_4.3-2.dsc: no acceptable signature found 601s autopkgtest [04:21:03]: testing package python-django-debug-toolbar version 1:4.3-2 602s autopkgtest [04:21:04]: build not needed 603s autopkgtest [04:21:05]: test testsuite: preparing testbed 605s Reading package lists... 605s Building dependency tree... 605s Reading state information... 605s Starting pkgProblemResolver with broken count: 0 605s Starting 2 pkgProblemResolver with broken count: 0 605s Done 605s The following additional packages will be installed: 605s fonts-font-awesome fonts-lato libjs-jquery libjs-sphinxdoc libjs-underscore 605s python-django-debug-toolbar-doc python3-all python3-asgiref python3-django 605s python3-django-debug-toolbar python3-django-jinja python3-html5lib 605s python3-sqlparse python3-webencodings sphinx-rtd-theme-common 605s Suggested packages: 605s python-django-doc python3-doc bpython3 geoip-database-contrib gettext 605s ipython3 libgdal20 libsqlite3-mod-spatialite python3-bcrypt python3-flup 605s python3-memcache python3-mysqldb python3-pil python3-psycopg2 605s python3-selenium python3-sqlite python3-genshi python3-lxml 605s python-sqlparse-doc 605s Recommended packages: 605s javascript-common 605s The following NEW packages will be installed: 605s autopkgtest-satdep fonts-font-awesome fonts-lato libjs-jquery 605s libjs-sphinxdoc libjs-underscore python-django-debug-toolbar-doc python3-all 605s python3-asgiref python3-django python3-django-debug-toolbar 605s python3-django-jinja python3-html5lib python3-sqlparse python3-webencodings 605s sphinx-rtd-theme-common 605s 0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded. 605s Need to get 9347 kB/9348 kB of archives. 605s After this operation, 43.8 MB of additional disk space will be used. 605s Get:1 /tmp/autopkgtest.aF3JCD/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [760 B] 605s Get:2 http://ftpmaster.internal/ubuntu noble/main ppc64el fonts-lato all 2.015-1 [2781 kB] 606s Get:3 http://ftpmaster.internal/ubuntu noble/main ppc64el fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 606s Get:4 http://ftpmaster.internal/ubuntu noble/main ppc64el libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 606s Get:5 http://ftpmaster.internal/ubuntu noble/main ppc64el libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 606s Get:6 http://ftpmaster.internal/ubuntu noble/main ppc64el libjs-sphinxdoc all 7.2.6-4 [149 kB] 606s Get:7 http://ftpmaster.internal/ubuntu noble/main ppc64el sphinx-rtd-theme-common all 2.0.0+dfsg-1 [1012 kB] 606s Get:8 http://ftpmaster.internal/ubuntu noble/universe ppc64el python-django-debug-toolbar-doc all 1:4.3-2 [62.9 kB] 606s Get:9 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-all ppc64el 3.12.1-0ubuntu2 [904 B] 606s Get:10 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-asgiref all 3.7.2-1 [24.8 kB] 606s Get:11 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-sqlparse all 0.4.4-1 [31.5 kB] 606s Get:12 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-django all 3:4.2.9-1 [4102 kB] 607s Get:13 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-django-debug-toolbar all 1:4.3-2 [104 kB] 607s Get:14 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-django-jinja all 2.11.0-1 [18.3 kB] 607s Get:15 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-webencodings all 0.5.1-5 [11.5 kB] 607s Get:16 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-html5lib all 1.1-5 [88.8 kB] 608s Fetched 9347 kB in 2s (4281 kB/s) 608s Selecting previously unselected package fonts-lato. 608s (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 ... 69712 files and directories currently installed.) 608s Preparing to unpack .../00-fonts-lato_2.015-1_all.deb ... 608s Unpacking fonts-lato (2.015-1) ... 608s Selecting previously unselected package fonts-font-awesome. 608s Preparing to unpack .../01-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 608s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 608s Selecting previously unselected package libjs-jquery. 608s Preparing to unpack .../02-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 608s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 608s Selecting previously unselected package libjs-underscore. 608s Preparing to unpack .../03-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 608s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 608s Selecting previously unselected package libjs-sphinxdoc. 608s Preparing to unpack .../04-libjs-sphinxdoc_7.2.6-4_all.deb ... 608s Unpacking libjs-sphinxdoc (7.2.6-4) ... 608s Selecting previously unselected package sphinx-rtd-theme-common. 608s Preparing to unpack .../05-sphinx-rtd-theme-common_2.0.0+dfsg-1_all.deb ... 608s Unpacking sphinx-rtd-theme-common (2.0.0+dfsg-1) ... 608s Selecting previously unselected package python-django-debug-toolbar-doc. 608s Preparing to unpack .../06-python-django-debug-toolbar-doc_1%3a4.3-2_all.deb ... 608s Unpacking python-django-debug-toolbar-doc (1:4.3-2) ... 608s Selecting previously unselected package python3-all. 608s Preparing to unpack .../07-python3-all_3.12.1-0ubuntu2_ppc64el.deb ... 609s Unpacking python3-all (3.12.1-0ubuntu2) ... 609s Selecting previously unselected package python3-asgiref. 609s Preparing to unpack .../08-python3-asgiref_3.7.2-1_all.deb ... 609s Unpacking python3-asgiref (3.7.2-1) ... 609s Selecting previously unselected package python3-sqlparse. 609s Preparing to unpack .../09-python3-sqlparse_0.4.4-1_all.deb ... 609s Unpacking python3-sqlparse (0.4.4-1) ... 609s Selecting previously unselected package python3-django. 609s Preparing to unpack .../10-python3-django_3%3a4.2.9-1_all.deb ... 609s Unpacking python3-django (3:4.2.9-1) ... 609s Selecting previously unselected package python3-django-debug-toolbar. 609s Preparing to unpack .../11-python3-django-debug-toolbar_1%3a4.3-2_all.deb ... 609s Unpacking python3-django-debug-toolbar (1:4.3-2) ... 609s Selecting previously unselected package python3-django-jinja. 609s Preparing to unpack .../12-python3-django-jinja_2.11.0-1_all.deb ... 609s Unpacking python3-django-jinja (2.11.0-1) ... 609s Selecting previously unselected package python3-webencodings. 609s Preparing to unpack .../13-python3-webencodings_0.5.1-5_all.deb ... 609s Unpacking python3-webencodings (0.5.1-5) ... 609s Selecting previously unselected package python3-html5lib. 609s Preparing to unpack .../14-python3-html5lib_1.1-5_all.deb ... 609s Unpacking python3-html5lib (1.1-5) ... 609s Selecting previously unselected package autopkgtest-satdep. 609s Preparing to unpack .../15-1-autopkgtest-satdep.deb ... 609s Unpacking autopkgtest-satdep (0) ... 609s Setting up fonts-lato (2.015-1) ... 609s Setting up python3-all (3.12.1-0ubuntu2) ... 609s Setting up python3-webencodings (0.5.1-5) ... 610s Setting up python3-sqlparse (0.4.4-1) ... 610s Setting up python3-html5lib (1.1-5) ... 610s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 610s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 610s Setting up sphinx-rtd-theme-common (2.0.0+dfsg-1) ... 610s Setting up python3-asgiref (3.7.2-1) ... 610s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 610s Setting up python3-django (3:4.2.9-1) ... 611s Setting up python3-django-jinja (2.11.0-1) ... 612s Setting up python3-django-debug-toolbar (1:4.3-2) ... 612s Setting up libjs-sphinxdoc (7.2.6-4) ... 612s Setting up python-django-debug-toolbar-doc (1:4.3-2) ... 612s Setting up autopkgtest-satdep (0) ... 612s Processing triggers for man-db (2.12.0-3) ... 615s (Reading database ... 76330 files and directories currently installed.) 615s Removing autopkgtest-satdep (0) ... 615s autopkgtest [04:21:17]: test testsuite: [----------------------- 616s 616s *************************** 616s *** Testing with python3.12 616s *************************** 616s 616s Content of current working folder: 616s 616s total 12 616s drwxr-xr-x 3 ubuntu ubuntu 4096 Mar 23 04:21 . 616s drwxrwxrwt 5 root root 4096 Mar 23 04:21 .. 616s drwxrwxr-x 6 ubuntu ubuntu 4096 Feb 1 19:23 tests 616s Running tests by calling: 'PYTHONPATH=. DJANGO_SETTINGS_MODULE=tests.settings /usr/bin/python3.12 /usr/bin/django-admin test -v2 tests 2>&1' 616s 616s Creating test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')... 616s Found 166 test(s). 616s Operations to perform: 616s Synchronize unmigrated apps: debug_toolbar, messages, staticfiles, tests 616s Apply all migrations: admin, auth, contenttypes, sessions 616s Synchronizing apps without migrations: 616s Creating tables... 616s Creating table tests_binary 616s Creating table tests_postgresjson 616s Running deferred SQL... 616s Running migrations: 616s Applying contenttypes.0001_initial... OK 616s Applying auth.0001_initial... OK 616s Applying admin.0001_initial... OK 616s Applying admin.0002_logentry_remove_auto_add... OK 616s Applying admin.0003_logentry_add_action_flag_choices... OK 616s Applying contenttypes.0002_remove_content_type_name... OK 616s Applying auth.0002_alter_permission_name_max_length... OK 616s Applying auth.0003_alter_user_email_max_length... OK 616s Applying auth.0004_alter_user_username_opts... OK 616s Applying auth.0005_alter_user_last_login_null... OK 616s Applying auth.0006_require_contenttypes_0002... OK 616s Applying auth.0007_alter_validators_add_error_messages... OK 616s Applying auth.0008_alter_user_username_max_length... OK 616s Applying auth.0009_alter_user_last_name_max_length... OK 616s Applying auth.0010_alter_group_name_max_length... OK 616s Applying auth.0011_update_proxy_permissions... OK 616s Applying auth.0012_alter_user_first_name_max_length... OK 616s Applying sessions.0001_initial... OK 616s System check identified no issues (0 silenced). 616s test_command (tests.commands.test_debugsqlshell.DebugSQLShellTestCase.test_command) ... ok 616s test_generate_server_timing (tests.panels.test_cache.CachePanelTestCase.test_generate_server_timing) ... ok 616s test_get_or_set_does_not_override_existing_value (tests.panels.test_cache.CachePanelTestCase.test_get_or_set_does_not_override_existing_value) ... ok 616s test_get_or_set_value (tests.panels.test_cache.CachePanelTestCase.test_get_or_set_value) ... ok 616s test_hits_and_misses (tests.panels.test_cache.CachePanelTestCase.test_hits_and_misses) ... ok 616s test_insert_content (tests.panels.test_cache.CachePanelTestCase.test_insert_content) 616s Test that the panel only inserts content after generate_stats and ... ok 616s test_recording (tests.panels.test_cache.CachePanelTestCase.test_recording) ... ok 616s test_recording_caches (tests.panels.test_cache.CachePanelTestCase.test_recording_caches) ... ok 616s test_escapes_panel_title (tests.panels.test_custom.CustomPanelTestCase.test_escapes_panel_title) ... ok 616s test_disabled (tests.panels.test_history.HistoryPanelTestCase.test_disabled) ... ok 616s test_post (tests.panels.test_history.HistoryPanelTestCase.test_post) ... ok 616s test_post_json (tests.panels.test_history.HistoryPanelTestCase.test_post_json) ... ok 616s test_urls (tests.panels.test_history.HistoryPanelTestCase.test_urls) ... ok 616s test_history_headers (tests.panels.test_history.HistoryViewsTestCase.test_history_headers) 616s Validate the headers injected from the history panel. ... ok 616s test_history_headers_unobserved (tests.panels.test_history.HistoryViewsTestCase.test_history_headers_unobserved) 616s Validate the headers aren't injected from the history panel. ... ok 616s test_history_panel_integration_content (tests.panels.test_history.HistoryViewsTestCase.test_history_panel_integration_content) 616s Verify the history panel's content renders properly.. ... ok 616s test_history_refresh (tests.panels.test_history.HistoryViewsTestCase.test_history_refresh) 616s Verify refresh history response has request variables. ... ok 616s test_history_sidebar (tests.panels.test_history.HistoryViewsTestCase.test_history_sidebar) 616s Validate the history sidebar view. ... ok 616s test_history_sidebar_expired_store_id (tests.panels.test_history.HistoryViewsTestCase.test_history_sidebar_expired_store_id) 616s Validate the history sidebar view. ... ok 616s test_history_sidebar_includes_history (tests.panels.test_history.HistoryViewsTestCase.test_history_sidebar_includes_history) 616s Validate the history sidebar view. ... ok 616s test_history_sidebar_invalid (tests.panels.test_history.HistoryViewsTestCase.test_history_sidebar_invalid) ... ok 617s test_view_executed_once (tests.panels.test_profiling.ProfilingPanelIntegrationTestCase.test_view_executed_once) ... ok 617s test_cum_time_threshold (tests.panels.test_profiling.ProfilingPanelTestCase.test_cum_time_threshold) 617s Test that cumulative time threshold excludes calls ... ok 617s test_generate_stats_no_profiler (tests.panels.test_profiling.ProfilingPanelTestCase.test_generate_stats_no_profiler) 617s Test generating stats with no profiler. ... ok 617s test_generate_stats_no_root_func (tests.panels.test_profiling.ProfilingPanelTestCase.test_generate_stats_no_root_func) 617s Test generating stats using profiler without root function. ... ok 617s test_insert_content (tests.panels.test_profiling.ProfilingPanelTestCase.test_insert_content) 617s Test that the panel only inserts content after generate_stats and ... ok 617s test_listcomp_escaped (tests.panels.test_profiling.ProfilingPanelTestCase.test_listcomp_escaped) ... skipped 'Python 3.12 no longer contains a frame for list comprehensions.' 617s test_regular_view (tests.panels.test_profiling.ProfilingPanelTestCase.test_regular_view) ... ok 617s test_insert_content (tests.panels.test_redirects.RedirectsPanelTestCase.test_insert_content) 617s Test that the panel only inserts content after generate_stats and ... ok 617s test_not_a_redirect (tests.panels.test_redirects.RedirectsPanelTestCase.test_not_a_redirect) ... ok 617s test_redirect (tests.panels.test_redirects.RedirectsPanelTestCase.test_redirect) ... ok 617s test_redirect_with_broken_context_processor (tests.panels.test_redirects.RedirectsPanelTestCase.test_redirect_with_broken_context_processor) ... ok 617s test_regular_response (tests.panels.test_redirects.RedirectsPanelTestCase.test_regular_response) ... ok 617s test_unknown_status_code (tests.panels.test_redirects.RedirectsPanelTestCase.test_unknown_status_code) ... ok 617s test_unknown_status_code_with_reason (tests.panels.test_redirects.RedirectsPanelTestCase.test_unknown_status_code_with_reason) ... ok 617s test_dict_for_request_in_method_get (tests.panels.test_request.RequestPanelTestCase.test_dict_for_request_in_method_get) 617s Test verifies the correctness of the statistics generation method ... ok 617s test_dict_for_request_in_method_post (tests.panels.test_request.RequestPanelTestCase.test_dict_for_request_in_method_post) 617s Test verifies the correctness of the statistics generation method ... ok 617s test_insert_content (tests.panels.test_request.RequestPanelTestCase.test_insert_content) 617s Test that the panel only inserts content after generate_stats and ... ok 617s test_list_for_request_in_method_post (tests.panels.test_request.RequestPanelTestCase.test_list_for_request_in_method_post) 617s Verify that the toolbar doesn't crash if request.POST contains unexpected data. ... ok 617s test_namespaced_url (tests.panels.test_request.RequestPanelTestCase.test_namespaced_url) ... ok 617s test_non_ascii_session (tests.panels.test_request.RequestPanelTestCase.test_non_ascii_session) ... ok 617s test_object_with_non_ascii_repr_in_request_params (tests.panels.test_request.RequestPanelTestCase.test_object_with_non_ascii_repr_in_request_params) ... ok 617s test_query_dict_for_request_in_method_get (tests.panels.test_request.RequestPanelTestCase.test_query_dict_for_request_in_method_get) 617s Test verifies the correctness of the statistics generation method ... ok 617s test_query_dict_for_request_in_method_post (tests.panels.test_request.RequestPanelTestCase.test_query_dict_for_request_in_method_post) 617s Test verifies the correctness of the statistics generation method ... ok 617s test_session_list_sorted_or_not (tests.panels.test_request.RequestPanelTestCase.test_session_list_sorted_or_not) 617s Verify the session is sorted when all keys are strings. ... ok 617s test_panel_title (tests.panels.test_settings.SettingsIntegrationTestCase.test_panel_title) ... ok 617s test_binary_param_force_text (tests.panels.test_sql.SQLPanelTestCase.test_binary_param_force_text) ... ok 617s test_bytes_query (tests.panels.test_sql.SQLPanelTestCase.test_bytes_query) ... skipped 'Test valid only on PostgreSQL' 617s test_chunked_cursor_wrapper_singleton (tests.panels.test_sql.SQLPanelTestCase.test_chunked_cursor_wrapper_singleton) ... ok 617s test_cursor_wrapper_async (tests.panels.test_sql.SQLPanelTestCase.test_cursor_wrapper_async) ... ok 617s test_cursor_wrapper_asyncio_ctx (tests.panels.test_sql.SQLPanelTestCase.test_cursor_wrapper_asyncio_ctx) ... ok 617s test_cursor_wrapper_singleton (tests.panels.test_sql.SQLPanelTestCase.test_cursor_wrapper_singleton) ... ok 617s test_disable_stacktraces (tests.panels.test_sql.SQLPanelTestCase.test_disable_stacktraces) ... ok 617s test_disabled (tests.panels.test_sql.SQLPanelTestCase.test_disabled) ... ok 617s test_erroneous_query (tests.panels.test_sql.SQLPanelTestCase.test_erroneous_query) 617s Test that an error in the query isn't swallowed by the middleware. ... skipped 'Test valid only on PostgreSQL' 617s test_execute_with_psycopg_composed_sql (tests.panels.test_sql.SQLPanelTestCase.test_execute_with_psycopg_composed_sql) 617s Test command executed using a Composed psycopg object is logged. ... skipped 'Test valid only on PostgreSQL' 617s test_flat_template_information (tests.panels.test_sql.SQLPanelTestCase.test_flat_template_information) 617s Test case for when the query is used in a flat template hierarchy ... ok 617s test_generate_server_timing (tests.panels.test_sql.SQLPanelTestCase.test_generate_server_timing) ... ok 617s test_insert_content (tests.panels.test_sql.SQLPanelTestCase.test_insert_content) 617s Test that the panel only inserts content after generate_stats and ... ok 617s test_insert_locals (tests.panels.test_sql.SQLPanelTestCase.test_insert_locals) 617s Test that the panel inserts locals() content. ... ok 617s test_json_param_conversion (tests.panels.test_sql.SQLPanelTestCase.test_json_param_conversion) ... skipped 'Test valid only on PostgreSQL' 617s test_nested_template_information (tests.panels.test_sql.SQLPanelTestCase.test_nested_template_information) 617s Test case for when the query is used in a nested template ... ok 617s test_non_ascii_query (tests.panels.test_sql.SQLPanelTestCase.test_non_ascii_query) ... ok 617s test_not_insert_locals (tests.panels.test_sql.SQLPanelTestCase.test_not_insert_locals) 617s Test that the panel does not insert locals() content. ... ok 617s test_param_conversion (tests.panels.test_sql.SQLPanelTestCase.test_param_conversion) ... ok 617s test_prettify_sql (tests.panels.test_sql.SQLPanelTestCase.test_prettify_sql) 617s Test case to validate that the PRETTIFY_SQL setting changes the output ... ok 617s test_raw_query_param_conversion (tests.panels.test_sql.SQLPanelTestCase.test_raw_query_param_conversion) ... skipped 'Test invalid for SQLite' 617s test_recording (tests.panels.test_sql.SQLPanelTestCase.test_recording) ... ok 617s test_recording_chunked_cursor (tests.panels.test_sql.SQLPanelTestCase.test_recording_chunked_cursor) ... skipped 'Test valid only on PostgreSQL' 617s test_regression_infinite_recursion (tests.panels.test_sql.SQLPanelTestCase.test_regression_infinite_recursion) 617s Test case for when the template loader runs a SQL query that causes ... ok 617s test_similar_and_duplicate_grouping (tests.panels.test_sql.SQLPanelTestCase.test_similar_and_duplicate_grouping) ... ok 617s test_simplification (tests.panels.test_sql.SQLPanelTestCase.test_simplification) 617s Test case to validate that select lists for .count() and .exist() queries do not ... ok 617s test_top_level_simplification (tests.panels.test_sql.SQLPanelTestCase.test_top_level_simplification) 617s Test case to validate that top-level select lists get elided, but other select ... ok 617s test_tuple_param_conversion (tests.panels.test_sql.SQLPanelTestCase.test_tuple_param_conversion) 617s Regression test for tuple parameter conversion. ... skipped 'Test valid only on PostgreSQL with psycopg2' 617s test_default_case (tests.panels.test_staticfiles.StaticFilesPanelTestCase.test_default_case) ... ok 617s test_finder_directory_does_not_exist (tests.panels.test_staticfiles.StaticFilesPanelTestCase.test_finder_directory_does_not_exist) 617s Misconfigure the static files settings and verify the toolbar runs. ... skipped 'Django>=4 handles missing dirs itself.' 617s test_insert_content (tests.panels.test_staticfiles.StaticFilesPanelTestCase.test_insert_content) 617s Test that the panel only inserts content after generate_stats and ... ok 617s test_django_jinja2 (tests.panels.test_template.JinjaTemplateTestCase.test_django_jinja2) ... ok 617s test_custom_context_processor (tests.panels.test_template.TemplatesPanelTestCase.test_custom_context_processor) ... ok 617s test_disabled (tests.panels.test_template.TemplatesPanelTestCase.test_disabled) ... ok 617s test_empty_context (tests.panels.test_template.TemplatesPanelTestCase.test_empty_context) ... ok 617s test_insert_content (tests.panels.test_template.TemplatesPanelTestCase.test_insert_content) 617s Test that the panel only inserts content after generate_stats and ... ok 617s test_lazyobject (tests.panels.test_template.TemplatesPanelTestCase.test_lazyobject) ... ok 617s test_lazyobject_eval (tests.panels.test_template.TemplatesPanelTestCase.test_lazyobject_eval) ... ok 617s test_object_with_non_ascii_repr_in_context (tests.panels.test_template.TemplatesPanelTestCase.test_object_with_non_ascii_repr_in_context) ... ok 617s test_queryset_hook (tests.panels.test_template.TemplatesPanelTestCase.test_queryset_hook) ... ok 617s test_template_repr (tests.panels.test_template.TemplatesPanelTestCase.test_template_repr) ... ok 617s test_app_version_from_VERSION (tests.panels.test_versions.VersionsPanelTestCase.test_app_version_from_VERSION) ... ok 617s test_app_version_from_get_version_fn (tests.panels.test_versions.VersionsPanelTestCase.test_app_version_from_get_version_fn) ... ok 617s test_app_version_from_underscore_version (tests.panels.test_versions.VersionsPanelTestCase.test_app_version_from_underscore_version) ... ok 617s test_incompatible_app_version_fn (tests.panels.test_versions.VersionsPanelTestCase.test_incompatible_app_version_fn) ... ok 617s test_defaults_to_django_language_code (tests.test_decorators.RenderWithToolbarLanguageTestCase.test_defaults_to_django_language_code) ... ok 617s test_uses_toolbar_language (tests.test_decorators.RenderWithToolbarLanguageTestCase.test_uses_toolbar_language) ... ok 617s test_initial_set_signed (tests.test_forms.TestSignedDataForm.test_initial_set_signed) ... ok 617s test_prevents_tampering (tests.test_forms.TestSignedDataForm.test_prevents_tampering) ... ok 617s test_signed_data (tests.test_forms.TestSignedDataForm.test_signed_data) ... ok 617s test_verified_data (tests.test_forms.TestSignedDataForm.test_verified_data) ... ok 617s test_auth_login_view_without_redirect (tests.test_integration.DebugToolbarIntegrationTestCase.test_auth_login_view_without_redirect) ... ok 617s test_html5_validation (tests.test_integration.DebugToolbarIntegrationTestCase.test_html5_validation) ... ok 617s test_intercept_redirects (tests.test_integration.DebugToolbarIntegrationTestCase.test_intercept_redirects) ... ok 617s test_load_panels (tests.test_integration.DebugToolbarIntegrationTestCase.test_load_panels) 617s Test that panels are not rendered during the request with ... ok 617s test_middleware (tests.test_integration.DebugToolbarIntegrationTestCase.test_middleware) ... ok 617s test_middleware_render_toolbar_json (tests.test_integration.DebugToolbarIntegrationTestCase.test_middleware_render_toolbar_json) 617s Verify the toolbar is rendered and data is stored for a json request. ... ok 617s test_non_utf8_charset (tests.test_integration.DebugToolbarIntegrationTestCase.test_non_utf8_charset) ... ok 617s test_render_panel_checks_show_toolbar (tests.test_integration.DebugToolbarIntegrationTestCase.test_render_panel_checks_show_toolbar) ... ok 617s test_render_panels_in_request (tests.test_integration.DebugToolbarIntegrationTestCase.test_render_panels_in_request) 617s Test that panels are are rendered during the request with ... ok 617s test_server_timing_headers (tests.test_integration.DebugToolbarIntegrationTestCase.test_server_timing_headers) ... ok 617s test_sql_explain_checks_show_toolbar (tests.test_integration.DebugToolbarIntegrationTestCase.test_sql_explain_checks_show_toolbar) ... ok 617s test_sql_explain_postgres_json_field (tests.test_integration.DebugToolbarIntegrationTestCase.test_sql_explain_postgres_json_field) ... skipped 'Test valid only on PostgreSQL' 617s test_sql_profile_checks_show_toolbar (tests.test_integration.DebugToolbarIntegrationTestCase.test_sql_profile_checks_show_toolbar) ... ok 617s test_sql_select_checks_show_toolbar (tests.test_integration.DebugToolbarIntegrationTestCase.test_sql_select_checks_show_toolbar) ... ok 618s test_template_source_checks_show_toolbar (tests.test_integration.DebugToolbarIntegrationTestCase.test_template_source_checks_show_toolbar) ... ok 618s test_template_source_errors (tests.test_integration.DebugToolbarIntegrationTestCase.test_template_source_errors) ... ok 618s test_timer_panel (tests.test_integration.DebugToolbarIntegrationTestCase.test_timer_panel) ... ok 618s test_view_returns_template_response (tests.test_integration.DebugToolbarIntegrationTestCase.test_view_returns_template_response) ... ok 618s test_cache_disable_instrumentation (tests.test_integration.DebugToolbarTestCase.test_cache_disable_instrumentation) 618s Verify that middleware cache usages before and after ... ok 618s test_cache_page (tests.test_integration.DebugToolbarTestCase.test_cache_page) ... ok 618s test_data_gone (tests.test_integration.DebugToolbarTestCase.test_data_gone) ... ok 618s test_include_package_urls (tests.test_integration.DebugToolbarTestCase.test_include_package_urls) 618s Test urlsconf that uses the debug_toolbar.urls in the include call ... ok 618s test_is_toolbar_request (tests.test_integration.DebugToolbarTestCase.test_is_toolbar_request) ... ok 618s test_is_toolbar_request_override_request_urlconf (tests.test_integration.DebugToolbarTestCase.test_is_toolbar_request_override_request_urlconf) 618s Test cases when the toolbar URL is configured on the request. ... ok 618s test_is_toolbar_request_without_djdt_urls (tests.test_integration.DebugToolbarTestCase.test_is_toolbar_request_without_djdt_urls) 618s Test cases when the toolbar urls aren't configured. ... ok 618s test_low_level_cache_view (tests.test_integration.DebugToolbarTestCase.test_low_level_cache_view) 618s Test cases when low level caching API is used within a request. ... ok 618s test_middleware_no_injection_when_encoded (tests.test_integration.DebugToolbarTestCase.test_middleware_no_injection_when_encoded) ... ok 618s test_middleware_response_insertion (tests.test_integration.DebugToolbarTestCase.test_middleware_response_insertion) ... ok 618s test_should_render_panels_RENDER_PANELS (tests.test_integration.DebugToolbarTestCase.test_should_render_panels_RENDER_PANELS) 618s The toolbar should force rendering panels on each request ... ok 618s test_should_render_panels_multiprocess (tests.test_integration.DebugToolbarTestCase.test_should_render_panels_multiprocess) 618s The toolbar should render the panels on each request when wsgi.multiprocess ... ok 618s test_show_toolbar (tests.test_integration.DebugToolbarTestCase.test_show_toolbar) ... ok 618s test_show_toolbar_DEBUG (tests.test_integration.DebugToolbarTestCase.test_show_toolbar_DEBUG) ... ok 618s test_show_toolbar_INTERNAL_IPS (tests.test_integration.DebugToolbarTestCase.test_show_toolbar_INTERNAL_IPS) ... ok 618s test_url_resolving_bad (tests.test_integration.DebugToolbarTestCase.test_url_resolving_bad) ... ok 618s test_url_resolving_mixed (tests.test_integration.DebugToolbarTestCase.test_url_resolving_mixed) ... ok 618s test_url_resolving_named (tests.test_integration.DebugToolbarTestCase.test_url_resolving_named) ... ok 618s test_url_resolving_positional (tests.test_integration.DebugToolbarTestCase.test_url_resolving_positional) ... ok 618s test_aliases (tests.panels.test_sql.SQLPanelMultiDBTestCase.test_aliases) ... ok 618s test_transaction_status (tests.panels.test_sql.SQLPanelMultiDBTestCase.test_transaction_status) 618s Test case for tracking the transaction status is properly associated with ... ok 618s test_check_good_configuration (tests.test_checks.ChecksTestCase.test_check_good_configuration) ... ok 618s test_check_gzip_middleware_error (tests.test_checks.ChecksTestCase.test_check_gzip_middleware_error) ... ok 618s test_check_middleware_classes_error (tests.test_checks.ChecksTestCase.test_check_middleware_classes_error) ... ok 618s test_check_missing_middleware_error (tests.test_checks.ChecksTestCase.test_check_missing_middleware_error) ... ok 618s test_check_w006_invalid (tests.test_checks.ChecksTestCase.test_check_w006_invalid) ... ok 618s test_check_w006_valid (tests.test_checks.ChecksTestCase.test_check_w006_valid) ... ok 618s test_check_w006_valid_nested_loaders (tests.test_checks.ChecksTestCase.test_check_w006_valid_nested_loaders) ... ok 618s test_check_w007_invalid (tests.test_checks.ChecksTestCase.test_check_w007_invalid) ... ok 618s test_check_w007_valid (tests.test_checks.ChecksTestCase.test_check_w007_valid) ... ok 618s test_panel_check_errors (tests.test_checks.ChecksTestCase.test_panel_check_errors) ... skipped 'Django>=4 handles missing dirs itself.' 618s test_panels_is_empty (tests.test_checks.ChecksTestCase.test_panels_is_empty) ... ok 618s test_ajax_dont_refresh (tests.test_integration.DebugToolbarLiveTestCase.test_ajax_dont_refresh) ... skipped "selenium isn't installed" 618s test_ajax_refresh (tests.test_integration.DebugToolbarLiveTestCase.test_ajax_refresh) ... skipped "selenium isn't installed" 618s test_basic (tests.test_integration.DebugToolbarLiveTestCase.test_basic) ... skipped "selenium isn't installed" 618s test_basic_jinja (tests.test_integration.DebugToolbarLiveTestCase.test_basic_jinja) ... skipped "selenium isn't installed" 618s test_displays_server_error (tests.test_integration.DebugToolbarLiveTestCase.test_displays_server_error) ... skipped "selenium isn't installed" 618s test_django_cached_template_loader (tests.test_integration.DebugToolbarLiveTestCase.test_django_cached_template_loader) ... skipped "selenium isn't installed" 618s test_expired_store (tests.test_integration.DebugToolbarLiveTestCase.test_expired_store) ... skipped "selenium isn't installed" 618s test_rerender_on_history_switch (tests.test_integration.DebugToolbarLiveTestCase.test_rerender_on_history_switch) ... skipped "selenium isn't installed" 618s test_sql_action_and_go_back (tests.test_integration.DebugToolbarLiveTestCase.test_sql_action_and_go_back) ... skipped "selenium isn't installed" 618s test_toolbar_language_will_render_to_default_language_when_not_set (tests.test_integration.DebugToolbarLiveTestCase.test_toolbar_language_will_render_to_default_language_when_not_set) ... skipped "selenium isn't installed" 618s test_toolbar_language_will_render_to_locale_when_set (tests.test_integration.DebugToolbarLiveTestCase.test_toolbar_language_will_render_to_locale_when_set) ... skipped "selenium isn't installed" 618s test_toolbar_language_will_render_to_locale_when_set_both (tests.test_integration.DebugToolbarLiveTestCase.test_toolbar_language_will_render_to_locale_when_set_both) ... skipped "selenium isn't installed" 618s test_class (tests.test_utils.GetNameFromObjTestCase.test_class) ... ok 618s test_func (tests.test_utils.GetNameFromObjTestCase.test_func) ... ok 618s test_lambda (tests.test_utils.GetNameFromObjTestCase.test_lambda) ... ok 618s test_importlib_path_issue_1612 (tests.test_utils.RenderStacktraceTestCase.test_importlib_path_issue_1612) ... ok 618s test_deprecated_functions (tests.test_utils.StackTraceTestCase.test_deprecated_functions) ... ok 618s test_get_stack_trace_skip (tests.test_utils.StackTraceTestCase.test_get_stack_trace_skip) ... ok 618s test_locals (tests.test_utils.StackTraceTestCase.test_locals) ... ok 618s 618s ---------------------------------------------------------------------- 618s Ran 166 tests in 1.683s 618s 618s OK (skipped=23) 618s Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')... 618s autopkgtest [04:21:20]: test testsuite: -----------------------] 621s autopkgtest [04:21:21]: test testsuite: - - - - - - - - - - results - - - - - - - - - - 621s testsuite PASS 621s autopkgtest [04:21:23]: @@@@@@@@@@@@@@@@@@@@ summary 621s testsuite PASS 678s Creating nova instance adt-noble-ppc64el-python-django-debug-toolbar-20240323-041102-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-ppc64el-server-20240322.img (UUID 8499323f-6fcd-4f77-8a53-77410adea6d3)...