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