0s autopkgtest [08:50:48]: starting date and time: 2025-12-03 08:50:48+0000 0s autopkgtest [08:50:48]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [08:50:48]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.j3vjzoe1/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:python3-defaults --apt-upgrade django-compression-middleware --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.13.9-2 -- lxd -r lxd-armhf-10.145.243.46 lxd-armhf-10.145.243.46:autopkgtest/ubuntu/resolute/armhf 23s autopkgtest [08:51:11]: testbed dpkg architecture: armhf 25s autopkgtest [08:51:13]: testbed apt version: 3.1.12 30s autopkgtest [08:51:18]: @@@@@@@@@@@@@@@@@@@@ test bed setup 32s autopkgtest [08:51:20]: testbed release detected to be: None 42s autopkgtest [08:51:30]: updating testbed package index (apt update) 45s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 45s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [124 kB] 45s Get:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease [124 kB] 45s Get:4 http://ftpmaster.internal/ubuntu resolute-security InRelease [124 kB] 45s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [147 kB] 45s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [981 kB] 46s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [25.2 kB] 46s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [186 kB] 46s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [678 kB] 46s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [8468 B] 46s Get:11 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.4 MB] 46s Get:12 http://ftpmaster.internal/ubuntu resolute/main Sources [1414 kB] 46s Get:13 http://ftpmaster.internal/ubuntu resolute/multiverse Sources [305 kB] 46s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1366 kB] 47s Get:15 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [15.5 MB] 47s Get:16 http://ftpmaster.internal/ubuntu resolute/multiverse armhf Packages [175 kB] 50s Fetched 42.6 MB in 5s (7963 kB/s) 51s Reading package lists... 58s autopkgtest [08:51:46]: upgrading testbed (apt dist-upgrade and autopurge) 61s Reading package lists... 61s Building dependency tree... 61s Reading state information... 61s Calculating upgrade... 62s The following packages will be upgraded: 62s libpython3-stdlib python3 python3-gdbm python3-minimal 62s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 62s Need to get 72.9 kB of archives. 62s After this operation, 2048 B of additional disk space will be used. 62s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-minimal armhf 3.13.9-2 [28.1 kB] 62s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3 armhf 3.13.9-2 [23.0 kB] 62s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libpython3-stdlib armhf 3.13.9-2 [10.8 kB] 62s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-gdbm armhf 3.13.9-2 [11.0 kB] 63s Fetched 72.9 kB in 1s (105 kB/s) 63s (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 ... 65928 files and directories currently installed.) 63s Preparing to unpack .../python3-minimal_3.13.9-2_armhf.deb ... 63s Unpacking python3-minimal (3.13.9-2) over (3.13.7-1) ... 63s Setting up python3-minimal (3.13.9-2) ... 64s (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 ... 65928 files and directories currently installed.) 64s Preparing to unpack .../python3_3.13.9-2_armhf.deb ... 64s Unpacking python3 (3.13.9-2) over (3.13.7-1) ... 64s Preparing to unpack .../libpython3-stdlib_3.13.9-2_armhf.deb ... 64s Unpacking libpython3-stdlib:armhf (3.13.9-2) over (3.13.7-1) ... 64s Preparing to unpack .../python3-gdbm_3.13.9-2_armhf.deb ... 64s Unpacking python3-gdbm (3.13.9-2) over (3.13.9-1) ... 64s Setting up python3-gdbm (3.13.9-2) ... 64s Setting up libpython3-stdlib:armhf (3.13.9-2) ... 64s Setting up python3 (3.13.9-2) ... 64s Processing triggers for man-db (2.13.1-1) ... 67s Reading package lists... 68s Building dependency tree... 68s Reading state information... 68s Solving dependencies... 69s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 71s autopkgtest [08:51:59]: rebooting testbed after setup commands that affected boot 126s autopkgtest [08:52:54]: testbed running kernel: Linux 6.8.0-87-generic #88~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 14 14:00:09 UTC 2 160s autopkgtest [08:53:28]: @@@@@@@@@@@@@@@@@@@@ apt-source django-compression-middleware 176s Get:1 http://ftpmaster.internal/ubuntu resolute/universe django-compression-middleware 0.5.0-1 (dsc) [2420 B] 176s Get:2 http://ftpmaster.internal/ubuntu resolute/universe django-compression-middleware 0.5.0-1 (tar) [20.0 kB] 176s Get:3 http://ftpmaster.internal/ubuntu resolute/universe django-compression-middleware 0.5.0-1 (diff) [2100 B] 176s gpgv: Signature made Tue Oct 24 10:22:07 2023 UTC 176s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 176s gpgv: Can't check signature: No public key 176s dpkg-source: warning: cannot verify inline signature for ./django-compression-middleware_0.5.0-1.dsc: no acceptable signature found 176s autopkgtest [08:53:44]: testing package django-compression-middleware version 0.5.0-1 182s autopkgtest [08:53:50]: build not needed 186s autopkgtest [08:53:54]: test run-tests: preparing testbed 190s Reading package lists... 191s Building dependency tree... 191s Reading state information... 191s Solving dependencies... 192s The following NEW packages will be installed: 192s libpython3.14-minimal libpython3.14-stdlib python3-all python3-asgiref 192s python3-brotli python3-django python3-django-compression-middleware 192s python3-iniconfig python3-pluggy python3-pytest python3-sqlparse 192s python3-zstandard python3.14 python3.14-minimal 192s 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. 192s Need to get 10.2 MB of archives. 192s After this operation, 54.3 MB of additional disk space will be used. 192s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.14-minimal armhf 3.14.0-4 [892 kB] 194s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf python3.14-minimal armhf 3.14.0-4 [2146 kB] 195s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.14-stdlib armhf 3.14.0-4 [2270 kB] 196s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf python3.14 armhf 3.14.0-4 [805 kB] 196s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-all armhf 3.13.9-2 [892 B] 196s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf python3-asgiref all 3.9.1-2 [24.9 kB] 196s Get:7 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-brotli armhf 1.1.0-2build6 [327 kB] 196s Get:8 http://ftpmaster.internal/ubuntu resolute/main armhf python3-sqlparse all 0.5.3-1 [32.9 kB] 196s Get:9 http://ftpmaster.internal/ubuntu resolute/main armhf python3-django all 3:5.2.4-1ubuntu3 [3037 kB] 197s Get:10 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-zstandard armhf 0.25.0-1 [370 kB] 197s Get:11 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-django-compression-middleware all 0.5.0-1 [10.1 kB] 197s Get:12 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-iniconfig all 2.1.0-1 [6840 B] 197s Get:13 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pluggy all 1.6.0-1 [21.0 kB] 197s Get:14 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pytest all 8.3.5-2 [252 kB] 197s Fetched 10.2 MB in 5s (2036 kB/s) 197s Selecting previously unselected package libpython3.14-minimal:armhf. 197s (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 ... 65928 files and directories currently installed.) 197s Preparing to unpack .../00-libpython3.14-minimal_3.14.0-4_armhf.deb ... 197s Unpacking libpython3.14-minimal:armhf (3.14.0-4) ... 198s Selecting previously unselected package python3.14-minimal. 198s Preparing to unpack .../01-python3.14-minimal_3.14.0-4_armhf.deb ... 198s Unpacking python3.14-minimal (3.14.0-4) ... 198s Selecting previously unselected package libpython3.14-stdlib:armhf. 198s Preparing to unpack .../02-libpython3.14-stdlib_3.14.0-4_armhf.deb ... 198s Unpacking libpython3.14-stdlib:armhf (3.14.0-4) ... 198s Selecting previously unselected package python3.14. 198s Preparing to unpack .../03-python3.14_3.14.0-4_armhf.deb ... 198s Unpacking python3.14 (3.14.0-4) ... 198s Selecting previously unselected package python3-all. 198s Preparing to unpack .../04-python3-all_3.13.9-2_armhf.deb ... 198s Unpacking python3-all (3.13.9-2) ... 198s Selecting previously unselected package python3-asgiref. 199s Preparing to unpack .../05-python3-asgiref_3.9.1-2_all.deb ... 199s Unpacking python3-asgiref (3.9.1-2) ... 199s Selecting previously unselected package python3-brotli. 199s Preparing to unpack .../06-python3-brotli_1.1.0-2build6_armhf.deb ... 199s Unpacking python3-brotli (1.1.0-2build6) ... 199s Selecting previously unselected package python3-sqlparse. 199s Preparing to unpack .../07-python3-sqlparse_0.5.3-1_all.deb ... 199s Unpacking python3-sqlparse (0.5.3-1) ... 199s Selecting previously unselected package python3-django. 199s Preparing to unpack .../08-python3-django_3%3a5.2.4-1ubuntu3_all.deb ... 199s Unpacking python3-django (3:5.2.4-1ubuntu3) ... 200s Selecting previously unselected package python3-zstandard. 200s Preparing to unpack .../09-python3-zstandard_0.25.0-1_armhf.deb ... 200s Unpacking python3-zstandard (0.25.0-1) ... 200s Selecting previously unselected package python3-django-compression-middleware. 200s Preparing to unpack .../10-python3-django-compression-middleware_0.5.0-1_all.deb ... 200s Unpacking python3-django-compression-middleware (0.5.0-1) ... 200s Selecting previously unselected package python3-iniconfig. 200s Preparing to unpack .../11-python3-iniconfig_2.1.0-1_all.deb ... 200s Unpacking python3-iniconfig (2.1.0-1) ... 200s Selecting previously unselected package python3-pluggy. 201s Preparing to unpack .../12-python3-pluggy_1.6.0-1_all.deb ... 201s Unpacking python3-pluggy (1.6.0-1) ... 201s Selecting previously unselected package python3-pytest. 201s Preparing to unpack .../13-python3-pytest_8.3.5-2_all.deb ... 201s Unpacking python3-pytest (8.3.5-2) ... 201s Setting up python3-iniconfig (2.1.0-1) ... 201s Setting up libpython3.14-minimal:armhf (3.14.0-4) ... 201s Setting up python3-zstandard (0.25.0-1) ... 202s Setting up python3-sqlparse (0.5.3-1) ... 202s Setting up python3-brotli (1.1.0-2build6) ... 203s Setting up python3-pluggy (1.6.0-1) ... 203s Setting up python3.14-minimal (3.14.0-4) ... 204s Setting up python3-asgiref (3.9.1-2) ... 204s Setting up python3-django (3:5.2.4-1ubuntu3) ... 208s Setting up libpython3.14-stdlib:armhf (3.14.0-4) ... 208s Setting up python3-pytest (8.3.5-2) ... 209s Setting up python3-django-compression-middleware (0.5.0-1) ... 209s Setting up python3.14 (3.14.0-4) ... 211s Setting up python3-all (3.13.9-2) ... 211s Processing triggers for man-db (2.13.1-1) ... 211s Processing triggers for systemd (257.9-0ubuntu2) ... 224s autopkgtest [08:54:32]: test run-tests: [----------------------- 227s ============================= test session starts ============================== 227s platform linux -- Python 3.14.0, pytest-8.3.5, pluggy-1.6.0 -- /usr/bin/python3.14 227s cachedir: .pytest_cache 227s rootdir: /tmp/autopkgtest.qLl0Uq/autopkgtest_tmp 227s plugins: typeguard-4.4.2 227s collecting ... collected 25 items 227s 227s tests/test_decorator.py::CompressPageDecoratorTest::test_normal_page PASSED [ 4%] 227s tests/test_decorator.py::CompressPageDecoratorTest::test_small_page PASSED [ 8%] 227s tests/test_decorator.py::CompressPageDecoratorTest::test_streaming_page PASSED [ 12%] 227s tests/test_interactions.py::GZipMiddlewareTest::test_compress_deterministic PASSED [ 16%] 227s tests/test_interactions.py::GZipMiddlewareTest::test_compress_file_response PASSED [ 20%] 227s tests/test_interactions.py::GZipMiddlewareTest::test_compress_non_200_response PASSED [ 24%] 227s tests/test_interactions.py::GZipMiddlewareTest::test_compress_response PASSED [ 28%] 227s tests/test_interactions.py::GZipMiddlewareTest::test_compress_streaming_response PASSED [ 32%] 227s tests/test_interactions.py::GZipMiddlewareTest::test_compress_streaming_response_unicode PASSED [ 36%] 227s tests/test_interactions.py::GZipMiddlewareTest::test_no_compress_compressed_response PASSED [ 40%] 227s tests/test_interactions.py::GZipMiddlewareTest::test_no_compress_incompressible_response PASSED [ 44%] 227s tests/test_interactions.py::GZipMiddlewareTest::test_no_compress_short_response PASSED [ 48%] 227s tests/test_interactions.py::ETagGZipMiddlewareTest::test_etag_match PASSED [ 52%] 227s tests/test_interactions.py::ETagGZipMiddlewareTest::test_strong_etag_modified PASSED [ 56%] 227s tests/test_interactions.py::ETagGZipMiddlewareTest::test_weak_etag_not_modified PASSED [ 60%] 227s tests/test_middleware.py::MiddlewareTestCase::test_content_encoding_parsing PASSED [ 64%] 227s tests/test_middleware.py::MiddlewareTestCase::test_etag_is_updated_if_present PASSED [ 68%] 227s tests/test_middleware.py::MiddlewareTestCase::test_middleware_compress_response PASSED [ 72%] 227s tests/test_middleware.py::MiddlewareTestCase::test_middleware_compress_response_zstd PASSED [ 76%] 227s tests/test_middleware.py::MiddlewareTestCase::test_middleware_wont_compress_if_client_not_accept PASSED [ 80%] 227s tests/test_middleware.py::MiddlewareTestCase::test_middleware_wont_compress_if_invalid_header PASSED [ 84%] 227s tests/test_middleware.py::MiddlewareTestCase::test_middleware_wont_compress_if_response_is_already_compressed PASSED [ 88%] 227s tests/test_middleware.py::MiddlewareTestCase::test_middleware_wont_compress_response_if_response_is_small PASSED [ 92%] 227s tests/test_middleware.py::StreamingTest::test_compress_streaming_response PASSED [ 96%] 227s tests/test_middleware.py::StreamingTest::test_compress_streaming_response_unicode PASSED [100%] 227s 227s ============================== 25 passed in 0.47s ============================== 228s ============================= test session starts ============================== 228s platform linux -- Python 3.13.9, pytest-8.3.5, pluggy-1.6.0 -- /usr/bin/python3.13 228s cachedir: .pytest_cache 228s rootdir: /tmp/autopkgtest.qLl0Uq/autopkgtest_tmp 228s plugins: typeguard-4.4.2 228s collecting ... collected 25 items 228s 228s tests/test_decorator.py::CompressPageDecoratorTest::test_normal_page PASSED [ 4%] 228s tests/test_decorator.py::CompressPageDecoratorTest::test_small_page PASSED [ 8%] 228s tests/test_decorator.py::CompressPageDecoratorTest::test_streaming_page PASSED [ 12%] 228s tests/test_interactions.py::GZipMiddlewareTest::test_compress_deterministic PASSED [ 16%] 228s tests/test_interactions.py::GZipMiddlewareTest::test_compress_file_response PASSED [ 20%] 228s tests/test_interactions.py::GZipMiddlewareTest::test_compress_non_200_response PASSED [ 24%] 228s tests/test_interactions.py::GZipMiddlewareTest::test_compress_response PASSED [ 28%] 228s tests/test_interactions.py::GZipMiddlewareTest::test_compress_streaming_response PASSED [ 32%] 228s tests/test_interactions.py::GZipMiddlewareTest::test_compress_streaming_response_unicode PASSED [ 36%] 228s tests/test_interactions.py::GZipMiddlewareTest::test_no_compress_compressed_response PASSED [ 40%] 228s tests/test_interactions.py::GZipMiddlewareTest::test_no_compress_incompressible_response PASSED [ 44%] 228s tests/test_interactions.py::GZipMiddlewareTest::test_no_compress_short_response PASSED [ 48%] 228s tests/test_interactions.py::ETagGZipMiddlewareTest::test_etag_match PASSED [ 52%] 228s tests/test_interactions.py::ETagGZipMiddlewareTest::test_strong_etag_modified PASSED [ 56%] 228s tests/test_interactions.py::ETagGZipMiddlewareTest::test_weak_etag_not_modified PASSED [ 60%] 228s tests/test_middleware.py::MiddlewareTestCase::test_content_encoding_parsing PASSED [ 64%] 228s tests/test_middleware.py::MiddlewareTestCase::test_etag_is_updated_if_present PASSED [ 68%] 228s tests/test_middleware.py::MiddlewareTestCase::test_middleware_compress_response PASSED [ 72%] 228s tests/test_middleware.py::MiddlewareTestCase::test_middleware_compress_response_zstd PASSED [ 76%] 228s tests/test_middleware.py::MiddlewareTestCase::test_middleware_wont_compress_if_client_not_accept PASSED [ 80%] 228s tests/test_middleware.py::MiddlewareTestCase::test_middleware_wont_compress_if_invalid_header PASSED [ 84%] 228s tests/test_middleware.py::MiddlewareTestCase::test_middleware_wont_compress_if_response_is_already_compressed PASSED [ 88%] 228s tests/test_middleware.py::MiddlewareTestCase::test_middleware_wont_compress_response_if_response_is_small PASSED [ 92%] 228s tests/test_middleware.py::StreamingTest::test_compress_streaming_response PASSED [ 96%] 228s tests/test_middleware.py::StreamingTest::test_compress_streaming_response_unicode PASSED [100%] 228s 228s ============================== 25 passed in 0.35s ============================== 229s autopkgtest [08:54:37]: test run-tests: -----------------------] 235s run-tests PASS 235s autopkgtest [08:54:43]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 241s autopkgtest [08:54:49]: @@@@@@@@@@@@@@@@@@@@ summary 241s run-tests PASS