0s autopkgtest [09:27:00]: starting date and time: 2025-04-14 09:27:00+0000 0s autopkgtest [09:27:00]: git checkout: 9986aa8c Merge branch 'skia/fix_network_interface' into 'ubuntu/production' 0s autopkgtest [09:27:00]: host juju-7f2275-prod-proposed-migration-environment-23; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.dm0fdxc3/out --timeout-copy=6000 -a i386 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:pymupdf --apt-upgrade pymupdf --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=pymupdf/1.25.4+ds1-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-23@bos03-14.secgroup --name adt-plucky-i386-pymupdf-20250414-092700-juju-7f2275-prod-proposed-migration-environment-23-0f57364e-ef60-4cbc-a785-496f98a7c137 --image adt/ubuntu-plucky-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-23 --net-id=net_prod-proposed-migration-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 48s autopkgtest [09:27:48]: testbed dpkg architecture: amd64 48s autopkgtest [09:27:48]: testbed apt version: 3.0.0 48s autopkgtest [09:27:48]: @@@@@@@@@@@@@@@@@@@@ test bed setup 49s autopkgtest [09:27:49]: testbed release detected to be: None 49s autopkgtest [09:27:49]: updating testbed package index (apt update) 50s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [265 kB] 50s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 50s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 50s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 50s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [5192 B] 50s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [204 kB] 50s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [9948 B] 50s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [2508 B] 50s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [3776 B] 50s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 c-n-f Metadata [288 B] 50s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 c-n-f Metadata [232 B] 50s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [61.6 kB] 50s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [130 kB] 50s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 c-n-f Metadata [9496 B] 50s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [6168 B] 50s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [2300 B] 50s Get:17 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 c-n-f Metadata [440 B] 51s Fetched 701 kB in 1s (868 kB/s) 51s Reading package lists... 52s autopkgtest [09:27:52]: upgrading testbed (apt dist-upgrade and autopurge) 52s Reading package lists... 52s Building dependency tree... 52s Reading state information... 53s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 53s Starting 2 pkgProblemResolver with broken count: 0 53s Done 53s Entering ResolveByKeep 53s 53s Calculating upgrade... 54s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 54s Reading package lists... 54s Building dependency tree... 54s Reading state information... 54s Starting pkgProblemResolver with broken count: 0 54s Starting 2 pkgProblemResolver with broken count: 0 54s Done 54s Solving dependencies... 55s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 57s autopkgtest [09:27:57]: testbed running kernel: Linux 6.14.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Sun Apr 6 15:05:05 UTC 2025 57s autopkgtest [09:27:57]: @@@@@@@@@@@@@@@@@@@@ apt-source pymupdf 62s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/universe pymupdf 1.25.4+ds1-1 (dsc) [2055 B] 62s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe pymupdf 1.25.4+ds1-1 (tar) [70.8 MB] 62s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/universe pymupdf 1.25.4+ds1-1 (diff) [16.3 kB] 62s gpgv: Signature made Tue Mar 18 21:43:30 2025 UTC 62s gpgv: using RSA key 406220C8B8552802378CCE411F5C7A8B45564314 62s gpgv: issuer "bage@debian.org" 62s gpgv: Can't check signature: No public key 62s dpkg-source: warning: cannot verify inline signature for ./pymupdf_1.25.4+ds1-1.dsc: no acceptable signature found 64s autopkgtest [09:28:04]: testing package pymupdf version 1.25.4+ds1-1 64s autopkgtest [09:28:04]: build not needed 70s autopkgtest [09:28:10]: test python3-fitz: preparing testbed 70s Reading package lists... 71s Building dependency tree... 71s Reading state information... 71s Starting pkgProblemResolver with broken count: 0 71s Starting 2 pkgProblemResolver with broken count: 0 71s Done 71s The following NEW packages will be installed: 71s libgraphite2-3 libgumbo3 libharfbuzz0b libjbig2dec0 libjpeg-turbo8 libjpeg8 71s libmujs3 libmupdf25.1 libopenjp2-7 python3-fitz python3-mupdf 71s python3-pymupdf 71s 0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded. 71s Need to get 38.0 MB of archives. 71s After this operation, 98.1 MB of additional disk space will be used. 71s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libgraphite2-3 amd64 1.3.14-2ubuntu1 [73.1 kB] 72s Get:2 http://ftpmaster.internal/ubuntu plucky/universe amd64 libgumbo3 amd64 0.13.0+dfsg-2 [127 kB] 72s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libharfbuzz0b amd64 10.2.0-1 [543 kB] 72s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libjbig2dec0 amd64 0.20-1build3 [65.0 kB] 72s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 libjpeg-turbo8 amd64 2.1.5-3ubuntu2 [179 kB] 72s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 libjpeg8 amd64 8c-2ubuntu11 [2148 B] 72s Get:7 http://ftpmaster.internal/ubuntu plucky/universe amd64 libmujs3 amd64 1.3.6-1 [134 kB] 72s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libopenjp2-7 amd64 2.5.3-2 [218 kB] 72s Get:9 http://ftpmaster.internal/ubuntu plucky/universe amd64 libmupdf25.1 amd64 1.25.1+ds1-5build2 [33.9 MB] 73s Get:10 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-mupdf amd64 1.25.1+ds1-5build2 [2387 kB] 73s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 python3-pymupdf amd64 1.25.4+ds1-1 [299 kB] 73s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 python3-fitz all 1.25.4+ds1-1 [14.6 kB] 74s Fetched 38.0 MB in 2s (19.0 MB/s) 74s Selecting previously unselected package libgraphite2-3:amd64. 74s (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 ... 115893 files and directories currently installed.) 74s Preparing to unpack .../00-libgraphite2-3_1.3.14-2ubuntu1_amd64.deb ... 74s Unpacking libgraphite2-3:amd64 (1.3.14-2ubuntu1) ... 74s Selecting previously unselected package libgumbo3:amd64. 74s Preparing to unpack .../01-libgumbo3_0.13.0+dfsg-2_amd64.deb ... 74s Unpacking libgumbo3:amd64 (0.13.0+dfsg-2) ... 74s Selecting previously unselected package libharfbuzz0b:amd64. 74s Preparing to unpack .../02-libharfbuzz0b_10.2.0-1_amd64.deb ... 74s Unpacking libharfbuzz0b:amd64 (10.2.0-1) ... 74s Selecting previously unselected package libjbig2dec0:amd64. 74s Preparing to unpack .../03-libjbig2dec0_0.20-1build3_amd64.deb ... 74s Unpacking libjbig2dec0:amd64 (0.20-1build3) ... 74s Selecting previously unselected package libjpeg-turbo8:amd64. 74s Preparing to unpack .../04-libjpeg-turbo8_2.1.5-3ubuntu2_amd64.deb ... 74s Unpacking libjpeg-turbo8:amd64 (2.1.5-3ubuntu2) ... 74s Selecting previously unselected package libjpeg8:amd64. 74s Preparing to unpack .../05-libjpeg8_8c-2ubuntu11_amd64.deb ... 74s Unpacking libjpeg8:amd64 (8c-2ubuntu11) ... 74s Selecting previously unselected package libmujs3:amd64. 74s Preparing to unpack .../06-libmujs3_1.3.6-1_amd64.deb ... 74s Unpacking libmujs3:amd64 (1.3.6-1) ... 74s Selecting previously unselected package libopenjp2-7:amd64. 74s Preparing to unpack .../07-libopenjp2-7_2.5.3-2_amd64.deb ... 74s Unpacking libopenjp2-7:amd64 (2.5.3-2) ... 74s Selecting previously unselected package libmupdf25.1. 74s Preparing to unpack .../08-libmupdf25.1_1.25.1+ds1-5build2_amd64.deb ... 74s Unpacking libmupdf25.1 (1.25.1+ds1-5build2) ... 75s Selecting previously unselected package python3-mupdf. 75s Preparing to unpack .../09-python3-mupdf_1.25.1+ds1-5build2_amd64.deb ... 75s Unpacking python3-mupdf (1.25.1+ds1-5build2) ... 75s Selecting previously unselected package python3-pymupdf. 75s Preparing to unpack .../10-python3-pymupdf_1.25.4+ds1-1_amd64.deb ... 75s Unpacking python3-pymupdf (1.25.4+ds1-1) ... 75s Selecting previously unselected package python3-fitz. 75s Preparing to unpack .../11-python3-fitz_1.25.4+ds1-1_all.deb ... 75s Unpacking python3-fitz (1.25.4+ds1-1) ... 75s Setting up libgraphite2-3:amd64 (1.3.14-2ubuntu1) ... 75s Setting up libmujs3:amd64 (1.3.6-1) ... 75s Setting up libjbig2dec0:amd64 (0.20-1build3) ... 75s Setting up libgumbo3:amd64 (0.13.0+dfsg-2) ... 75s Setting up libjpeg-turbo8:amd64 (2.1.5-3ubuntu2) ... 75s Setting up libopenjp2-7:amd64 (2.5.3-2) ... 75s Setting up libharfbuzz0b:amd64 (10.2.0-1) ... 75s Setting up libjpeg8:amd64 (8c-2ubuntu11) ... 75s Setting up libmupdf25.1 (1.25.1+ds1-5build2) ... 75s Setting up python3-mupdf (1.25.1+ds1-5build2) ... 75s Setting up python3-pymupdf (1.25.4+ds1-1) ... 76s Setting up python3-fitz (1.25.4+ds1-1) ... 76s Processing triggers for libc-bin (2.41-6ubuntu1) ... 77s autopkgtest [09:28:17]: testbed environment configured for cross-architecture building 77s autopkgtest [09:28:17]: test python3-fitz: env --chdir=/ python3 -c "import fitz" 77s autopkgtest [09:28:17]: test python3-fitz: [----------------------- 78s autopkgtest [09:28:18]: test python3-fitz: -----------------------] 78s python3-fitz PASS (superficial) 78s autopkgtest [09:28:18]: test python3-fitz: - - - - - - - - - - results - - - - - - - - - - 78s autopkgtest [09:28:18]: test pytests: preparing testbed 79s Reading package lists... 79s Building dependency tree... 79s Reading state information... 79s Starting pkgProblemResolver with broken count: 0 79s Starting 2 pkgProblemResolver with broken count: 0 79s Done 80s The following NEW packages will be installed: 80s python3-all python3-iniconfig python3-packaging python3-pluggy 80s python3-psutil python3-pytest 80s 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 80s Need to get 527 kB of archives. 80s After this operation, 2826 kB of additional disk space will be used. 80s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-all amd64 3.13.3-1 [882 B] 80s Get:2 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 80s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.2-1 [51.5 kB] 80s Get:4 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 80s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-psutil amd64 5.9.8-2build3 [196 kB] 80s Get:6 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest all 8.3.5-1 [252 kB] 81s Fetched 527 kB in 1s (963 kB/s) 81s Selecting previously unselected package python3-all. 81s (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 ... 115970 files and directories currently installed.) 81s Preparing to unpack .../0-python3-all_3.13.3-1_amd64.deb ... 81s Unpacking python3-all (3.13.3-1) ... 81s Selecting previously unselected package python3-iniconfig. 81s Preparing to unpack .../1-python3-iniconfig_1.1.1-2_all.deb ... 81s Unpacking python3-iniconfig (1.1.1-2) ... 81s Selecting previously unselected package python3-packaging. 81s Preparing to unpack .../2-python3-packaging_24.2-1_all.deb ... 81s Unpacking python3-packaging (24.2-1) ... 81s Selecting previously unselected package python3-pluggy. 81s Preparing to unpack .../3-python3-pluggy_1.5.0-1_all.deb ... 81s Unpacking python3-pluggy (1.5.0-1) ... 81s Selecting previously unselected package python3-psutil. 81s Preparing to unpack .../4-python3-psutil_5.9.8-2build3_amd64.deb ... 81s Unpacking python3-psutil (5.9.8-2build3) ... 81s Selecting previously unselected package python3-pytest. 81s Preparing to unpack .../5-python3-pytest_8.3.5-1_all.deb ... 81s Unpacking python3-pytest (8.3.5-1) ... 81s Setting up python3-iniconfig (1.1.1-2) ... 81s Setting up python3-all (3.13.3-1) ... 81s Setting up python3-psutil (5.9.8-2build3) ... 81s Setting up python3-packaging (24.2-1) ... 81s Setting up python3-pluggy (1.5.0-1) ... 82s Setting up python3-pytest (8.3.5-1) ... 82s Processing triggers for man-db (2.13.0-1) ... 84s autopkgtest [09:28:24]: testbed environment configured for cross-architecture building 84s autopkgtest [09:28:24]: test pytests: [----------------------- 84s === python3.13 === 84s ============================= test session starts ============================== 84s platform linux -- Python 3.13.3, pytest-8.3.5, pluggy-1.5.0 -- /usr/bin/python3.13 84s cachedir: .pytest_cache 84s rootdir: /tmp/autopkgtest.IhLTXO/autopkgtest_tmp 84s plugins: typeguard-4.4.2 85s collecting ... collected 327 items / 239 deselected / 88 selected 85s 85s tests/test_2548.py::test_2548 PASSED [ 1%] 85s tests/test_2634.py::test_2634 PASSED [ 2%] 85s tests/test_2904.py::test_2904 PASSED [ 3%] 86s tests/test_2907.py::test_2907 PASSED [ 4%] 86s tests/test_4141.py::test_4141 PASSED [ 5%] 86s tests/test_badfonts.py::test_survive_names PASSED [ 6%] 86s tests/test_balance_count.py::test_q_count PASSED [ 7%] 86s tests/test_barcode.py::test_barcode PASSED [ 9%] 86s tests/test_cluster_drawings.py::test_cluster1 PASSED [ 10%] 86s tests/test_cluster_drawings.py::test_cluster2 PASSED [ 11%] 86s tests/test_cluster_drawings.py::test_cluster3 PASSED [ 12%] 86s tests/test_crypting.py::test_encryption PASSED [ 13%] 86s tests/test_drawings.py::test_drawings1 PASSED [ 14%] 86s tests/test_drawings.py::test_drawings2 PASSED [ 15%] 86s tests/test_drawings.py::test_drawings3 PASSED [ 17%] 86s tests/test_drawings.py::test_2365 PASSED [ 18%] 86s tests/test_drawings.py::test_2462 PASSED [ 19%] 86s tests/test_drawings.py::test_2556 PASSED [ 20%] 86s tests/test_drawings.py::test_3207 PASSED [ 21%] 86s tests/test_drawings.py::test_3591 PASSED [ 22%] 86s tests/test_embeddedfiles.py::test_embedded1 PASSED [ 23%] 86s tests/test_embeddedfiles.py::test_4050 PASSED [ 25%] 86s tests/test_extractimage.py::test_extract_image PASSED [ 26%] 86s tests/test_extractimage.py::test_2348 PASSED [ 27%] 86s tests/test_extractimage.py::test_delete_image PASSED [ 28%] 86s tests/test_geometry.py::test_rect PASSED [ 29%] 86s tests/test_geometry.py::test_irect PASSED [ 30%] 86s tests/test_geometry.py::test_inversion PASSED [ 31%] 86s tests/test_geometry.py::test_matrix PASSED [ 32%] 86s tests/test_geometry.py::test_point PASSED [ 34%] 86s tests/test_geometry.py::test_algebra PASSED [ 35%] 86s tests/test_geometry.py::test_quad PASSED [ 36%] 86s tests/test_geometry.py::test_pageboxes PASSED [ 37%] 86s tests/test_geometry.py::test_3163 PASSED [ 38%] 86s tests/test_geometry.py::test_3182 PASSED [ 39%] 86s tests/test_imagebbox.py::test_image_bbox PASSED [ 40%] 86s tests/test_imagebbox.py::test_bboxlog PASSED [ 42%] 86s tests/test_imagemasks.py::test_imagemask1 PASSED [ 43%] 86s tests/test_imagemasks.py::test_imagemask2 PASSED [ 44%] 86s tests/test_import.py::test_import PASSED [ 45%] 86s tests/test_insertimage.py::test_insert PASSED [ 46%] 87s tests/test_insertimage.py::test_compress PASSED [ 47%] 88s tests/test_insertimage.py::test_3087 PASSED [ 48%] 106s tests/test_memory.py::test_2791 PASSED [ 50%] 106s tests/test_memory.py::test_4090 PASSED [ 51%] 106s tests/test_memory.py::test_4125 FAILED [ 52%] 106s tests/test_metadata.py::test_metadata PASSED [ 53%] 106s tests/test_metadata.py::test_erase_meta PASSED [ 54%] 106s tests/test_metadata.py::test_3237 PASSED [ 55%] 106s tests/test_named_links.py::test_2886 PASSED [ 56%] 106s tests/test_named_links.py::test_2922 PASSED [ 57%] 106s tests/test_named_links.py::test_3301 PASSED [ 59%] 106s tests/test_nonpdf.py::test_isnopdf PASSED [ 60%] 106s tests/test_nonpdf.py::test_pageids PASSED [ 61%] 106s tests/test_nonpdf.py::test_layout PASSED [ 62%] 106s tests/test_object_manipulation.py::test_rotation1 PASSED [ 63%] 106s tests/test_object_manipulation.py::test_rotation2 PASSED [ 64%] 106s tests/test_object_manipulation.py::test_trailer PASSED [ 65%] 106s tests/test_object_manipulation.py::test_valid_name PASSED [ 67%] 106s tests/test_optional_content.py::test_oc1 PASSED [ 68%] 106s tests/test_optional_content.py::test_oc2 PASSED [ 69%] 106s tests/test_optional_content.py::test_3143 PASSED [ 70%] 106s tests/test_optional_content.py::test_3180 PASSED [ 71%] 107s tests/test_page_links.py::test_page_links_generator PASSED [ 72%] 107s tests/test_pagelabels.py::test_setlabels PASSED [ 73%] 107s tests/test_pagelabels.py::test_labels_styleA PASSED [ 75%] 107s tests/test_remove-rotation.py::test_remove_rotation PASSED [ 76%] 107s tests/test_rtl.py::test_rtl PASSED [ 77%] 107s tests/test_showpdfpage.py::test_insert PASSED [ 78%] 107s tests/test_showpdfpage.py::test_2742 PASSED [ 79%] 107s tests/test_spikes.py::test_spikes FAILED [ 80%] 107s tests/test_textsearch.py::test_search1 PASSED [ 81%] 107s tests/test_textsearch.py::test_search2 PASSED [ 82%] 107s tests/test_textsearch.py::test_search3 PASSED [ 84%] 107s tests/test_widgets.py::test_text PASSED [ 85%] 107s tests/test_widgets.py::test_checkbox PASSED [ 86%] 107s tests/test_widgets.py::test_listbox PASSED [ 87%] 107s tests/test_widgets.py::test_combobox PASSED [ 88%] 107s tests/test_widgets.py::test_text2 PASSED [ 89%] 107s tests/test_widgets.py::test_2333 PASSED [ 90%] 107s tests/test_widgets.py::test_2411 PASSED [ 92%] 107s tests/test_widgets.py::test_2391 PASSED [ 93%] 107s tests/test_widgets.py::test_3216 PASSED [ 94%] 107s tests/test_widgets.py::test_add_widget PASSED [ 95%] 107s tests/test_widgets.py::test_interfield_calculation PASSED [ 96%] 107s tests/test_widgets.py::test_3950 PASSED [ 97%] 107s tests/test_widgets.py::test_4004 PASSED [ 98%] 107s tests/test_widgets.py::test_4055 PASSED [100%] 107s 107s =================================== FAILURES =================================== 107s __________________________________ test_4125 ___________________________________ 107s 107s def test_4125(): 107s if os.environ.get('PYMUPDF_RUNNING_ON_VALGRIND') == '1': 107s print(f'test_4125(): not running because PYMUPDF_RUNNING_ON_VALGRIND=1.') 107s return 107s if platform.system().startswith('MSYS_NT-'): 107s print(f'test_4125(): not running on msys2 - psutil not available.') 107s return 107s 107s print('') 107s print(f'test_4125(): {platform.python_version()=}.') 107s 107s path = os.path.normpath(f'{__file__}/../../tests/resources/test_4125.pdf') 107s import gc 107s import psutil 107s 107s root = os.path.normpath(f'{__file__}/../..') 107s sys.path.insert(0, root) 107s try: 107s > import pipcl 107s E ModuleNotFoundError: No module named 'pipcl' 107s 107s tests/test_memory.py:162: ModuleNotFoundError 107s ----------------------------- Captured stdout call ----------------------------- 107s 107s test_4125(): platform.python_version()='3.13.3'. 107s _________________________________ test_spikes __________________________________ 107s 107s def test_spikes(): 107s """Check suppression of text spikes caused by long miters.""" 107s root = os.path.abspath(f"{__file__}/../..") 107s spikes_yes = pathlib.Path(f"{root}/docs/images/spikes-yes.png") 107s spikes_no = pathlib.Path(f"{root}/docs/images/spikes-no.png") 107s doc = pymupdf.open() 107s text = "NATO MEMBERS" # some text provoking spikes ("N", "M") 107s point = (10, 35) # insert point 107s 107s # make text provoking spikes 107s page = doc.new_page(width=200, height=50) # small page 107s page.insert_text( 107s point, 107s text, 107s fontsize=20, 107s render_mode=1, # stroke text only 107s border_width=0.3, # causes thick border lines 107s miter_limit=None, # do not care about miter spikes 107s ) 107s # write same text in white over the previous for better demo purpose 107s page.insert_text(point, text, fontsize=20, color=(1, 1, 1)) 107s pix1 = page.get_pixmap() 107s > assert pix1.tobytes() == spikes_yes.read_bytes() 107s 107s tests/test_spikes.py:28: 107s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 107s /usr/lib/python3.13/pathlib/_abc.py:625: in read_bytes 107s with self.open(mode='rb') as f: 107s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 107s 107s self = PosixPath('/tmp/autopkgtest.IhLTXO/autopkgtest_tmp/docs/images/spikes-yes.png') 107s mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None 107s 107s def open(self, mode='r', buffering=-1, encoding=None, 107s errors=None, newline=None): 107s """ 107s Open the file pointed to by this path and return a file object, as 107s the built-in open() function does. 107s """ 107s if "b" not in mode: 107s encoding = io.text_encoding(encoding) 107s > return io.open(self, mode, buffering, encoding, errors, newline) 107s E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.IhLTXO/autopkgtest_tmp/docs/images/spikes-yes.png' 107s 107s /usr/lib/python3.13/pathlib/_local.py:539: FileNotFoundError 107s =============================== warnings summary =============================== 107s :488 107s :488: DeprecationWarning: builtin type SwigPyPacked has no __module__ attribute 107s 107s :488 107s :488: DeprecationWarning: builtin type SwigPyObject has no __module__ attribute 107s 107s :488 107s :488: DeprecationWarning: builtin type swigvarlink has no __module__ attribute 107s 107s tests/test_drawings.py::test_drawings1 107s /tmp/autopkgtest.IhLTXO/autopkgtest_tmp/tests/test_drawings.py:18: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/autopkgtest.IhLTXO/autopkgtest_tmp/tests/resources/symbols.txt' mode='r' encoding='UTF-8'> 107s symbols_text = open(symbols).read() # expected result 107s Enable tracemalloc to get traceback where the object was allocated. 107s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 107s 107s tests/test_metadata.py::test_metadata 107s /tmp/autopkgtest.IhLTXO/autopkgtest_tmp/tests/test_metadata.py:18: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/autopkgtest.IhLTXO/autopkgtest_tmp/tests/resources/metadata.txt' mode='r' encoding='UTF-8'> 107s assert json.dumps(doc.metadata) == open(metafile).read() 107s Enable tracemalloc to get traceback where the object was allocated. 107s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 107s 107s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 107s =========================== short test summary info ============================ 107s FAILED tests/test_memory.py::test_4125 - ModuleNotFoundError: No module named... 107s FAILED tests/test_spikes.py::test_spikes - FileNotFoundError: [Errno 2] No su... 107s ========== 2 failed, 86 passed, 239 deselected, 5 warnings in 22.50s =========== 107s :0: DeprecationWarning: builtin type swigvarlink has no __module__ attribute 107s autopkgtest [09:28:47]: test pytests: -----------------------] 108s pytests FAIL non-zero exit status 1 108s autopkgtest [09:28:48]: test pytests: - - - - - - - - - - results - - - - - - - - - - 108s autopkgtest [09:28:48]: @@@@@@@@@@@@@@@@@@@@ summary 108s python3-fitz PASS (superficial) 108s pytests FAIL non-zero exit status 1 125s nova [W] Skipping flock for amd64 125s Creating nova instance adt-plucky-i386-pymupdf-20250414-092700-juju-7f2275-prod-proposed-migration-environment-23-0f57364e-ef60-4cbc-a785-496f98a7c137 from image adt/ubuntu-plucky-amd64-server-20250413.img (UUID ce7bceb9-7fec-43e7-b671-8afcf6291286)... 125s nova [W] Timed out waiting for 012fde30-d15a-48bc-a74f-0e70a262dbc9 to get deleted.