0s autopkgtest [09:27:02]: starting date and time: 2025-04-14 09:27:02+0000 0s autopkgtest [09:27:02]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [09:27:02]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.jixu598h/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:pymupdf --apt-upgrade pymupdf --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=pymupdf/1.25.4+ds1-1 -- lxd -r lxd-armhf-10.145.243.227 lxd-armhf-10.145.243.227:autopkgtest/ubuntu/plucky/armhf 31s autopkgtest [09:27:33]: testbed dpkg architecture: armhf 33s autopkgtest [09:27:35]: testbed apt version: 3.0.0 37s autopkgtest [09:27:39]: @@@@@@@@@@@@@@@@@@@@ test bed setup 38s autopkgtest [09:27:40]: testbed release detected to be: None 46s autopkgtest [09:27:48]: updating testbed package index (apt update) 47s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [265 kB] 48s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [265 kB] 48s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 48s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 48s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [204 kB] 48s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [5192 B] 48s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [9948 B] 48s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [3452 B] 48s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf c-n-f Metadata [288 B] 48s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf c-n-f Metadata [116 B] 48s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [109 kB] 48s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf c-n-f Metadata [4896 B] 48s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf c-n-f Metadata [116 B] 48s Get:14 http://ftpmaster.internal/ubuntu plucky/universe Sources [21.1 MB] 49s Get:15 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [15.3 MB] 54s Fetched 37.2 MB in 5s (7347 kB/s) 55s Reading package lists... 60s autopkgtest [09:28:02]: upgrading testbed (apt dist-upgrade and autopurge) 62s Reading package lists... 63s Building dependency tree... 63s Reading state information... 64s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 64s Starting 2 pkgProblemResolver with broken count: 0 64s Done 65s Entering ResolveByKeep 65s 65s Calculating upgrade... 66s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 68s Reading package lists... 69s Building dependency tree... 69s Reading state information... 69s Starting pkgProblemResolver with broken count: 0 70s Starting 2 pkgProblemResolver with broken count: 0 70s Done 70s Solving dependencies... 71s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 73s autopkgtest [09:28:15]: rebooting testbed after setup commands that affected boot 112s autopkgtest [09:28:54]: testbed running kernel: Linux 6.8.0-52-generic #53~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jan 15 18:10:51 UTC 2 136s autopkgtest [09:29:18]: @@@@@@@@@@@@@@@@@@@@ apt-source pymupdf 152s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/universe pymupdf 1.25.4+ds1-1 (dsc) [2055 B] 152s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe pymupdf 1.25.4+ds1-1 (tar) [70.8 MB] 152s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/universe pymupdf 1.25.4+ds1-1 (diff) [16.3 kB] 153s gpgv: Signature made Tue Mar 18 21:43:30 2025 UTC 153s gpgv: using RSA key 406220C8B8552802378CCE411F5C7A8B45564314 153s gpgv: issuer "bage@debian.org" 153s gpgv: Can't check signature: No public key 153s dpkg-source: warning: cannot verify inline signature for ./pymupdf_1.25.4+ds1-1.dsc: no acceptable signature found 154s autopkgtest [09:29:36]: testing package pymupdf version 1.25.4+ds1-1 156s autopkgtest [09:29:38]: build not needed 161s autopkgtest [09:29:43]: test python3-fitz: preparing testbed 163s Reading package lists... 163s Building dependency tree... 163s Reading state information... 163s Starting pkgProblemResolver with broken count: 0 164s Starting 2 pkgProblemResolver with broken count: 0 164s Done 165s The following NEW packages will be installed: 165s libfreetype6 libgraphite2-3 libgumbo3 libharfbuzz0b libjbig2dec0 165s libjpeg-turbo8 libjpeg8 libmujs3 libmupdf25.1 libopenjp2-7 python3-fitz 165s python3-mupdf python3-pymupdf 165s 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. 165s Need to get 37.3 MB of archives. 165s After this operation, 90.2 MB of additional disk space will be used. 165s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf libfreetype6 armhf 2.13.3+dfsg-1 [330 kB] 165s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf libgraphite2-3 armhf 1.3.14-2ubuntu1 [64.8 kB] 165s Get:3 http://ftpmaster.internal/ubuntu plucky/universe armhf libgumbo3 armhf 0.13.0+dfsg-2 [120 kB] 165s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libharfbuzz0b armhf 10.2.0-1 [464 kB] 166s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libjbig2dec0 armhf 0.20-1build3 [57.6 kB] 166s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libjpeg-turbo8 armhf 2.1.5-3ubuntu2 [127 kB] 166s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libjpeg8 armhf 8c-2ubuntu11 [2148 B] 166s Get:8 http://ftpmaster.internal/ubuntu plucky/universe armhf libmujs3 armhf 1.3.6-1 [114 kB] 166s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf libopenjp2-7 armhf 2.5.3-2 [172 kB] 166s Get:10 http://ftpmaster.internal/ubuntu plucky/universe armhf libmupdf25.1 armhf 1.25.1+ds1-5build2 [33.6 MB] 167s Get:11 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-mupdf armhf 1.25.1+ds1-5build2 [1977 kB] 167s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf python3-pymupdf armhf 1.25.4+ds1-1 [283 kB] 167s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf python3-fitz all 1.25.4+ds1-1 [14.6 kB] 167s Fetched 37.3 MB in 2s (18.9 MB/s) 168s Selecting previously unselected package libfreetype6:armhf. 168s (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 ... 63969 files and directories currently installed.) 168s Preparing to unpack .../00-libfreetype6_2.13.3+dfsg-1_armhf.deb ... 168s Unpacking libfreetype6:armhf (2.13.3+dfsg-1) ... 168s Selecting previously unselected package libgraphite2-3:armhf. 168s Preparing to unpack .../01-libgraphite2-3_1.3.14-2ubuntu1_armhf.deb ... 168s Unpacking libgraphite2-3:armhf (1.3.14-2ubuntu1) ... 168s Selecting previously unselected package libgumbo3:armhf. 168s Preparing to unpack .../02-libgumbo3_0.13.0+dfsg-2_armhf.deb ... 168s Unpacking libgumbo3:armhf (0.13.0+dfsg-2) ... 168s Selecting previously unselected package libharfbuzz0b:armhf. 168s Preparing to unpack .../03-libharfbuzz0b_10.2.0-1_armhf.deb ... 168s Unpacking libharfbuzz0b:armhf (10.2.0-1) ... 168s Selecting previously unselected package libjbig2dec0:armhf. 168s Preparing to unpack .../04-libjbig2dec0_0.20-1build3_armhf.deb ... 168s Unpacking libjbig2dec0:armhf (0.20-1build3) ... 168s Selecting previously unselected package libjpeg-turbo8:armhf. 168s Preparing to unpack .../05-libjpeg-turbo8_2.1.5-3ubuntu2_armhf.deb ... 168s Unpacking libjpeg-turbo8:armhf (2.1.5-3ubuntu2) ... 168s Selecting previously unselected package libjpeg8:armhf. 168s Preparing to unpack .../06-libjpeg8_8c-2ubuntu11_armhf.deb ... 168s Unpacking libjpeg8:armhf (8c-2ubuntu11) ... 168s Selecting previously unselected package libmujs3:armhf. 168s Preparing to unpack .../07-libmujs3_1.3.6-1_armhf.deb ... 168s Unpacking libmujs3:armhf (1.3.6-1) ... 168s Selecting previously unselected package libopenjp2-7:armhf. 168s Preparing to unpack .../08-libopenjp2-7_2.5.3-2_armhf.deb ... 168s Unpacking libopenjp2-7:armhf (2.5.3-2) ... 168s Selecting previously unselected package libmupdf25.1. 168s Preparing to unpack .../09-libmupdf25.1_1.25.1+ds1-5build2_armhf.deb ... 168s Unpacking libmupdf25.1 (1.25.1+ds1-5build2) ... 169s Selecting previously unselected package python3-mupdf. 169s Preparing to unpack .../10-python3-mupdf_1.25.1+ds1-5build2_armhf.deb ... 169s Unpacking python3-mupdf (1.25.1+ds1-5build2) ... 169s Selecting previously unselected package python3-pymupdf. 169s Preparing to unpack .../11-python3-pymupdf_1.25.4+ds1-1_armhf.deb ... 169s Unpacking python3-pymupdf (1.25.4+ds1-1) ... 169s Selecting previously unselected package python3-fitz. 169s Preparing to unpack .../12-python3-fitz_1.25.4+ds1-1_all.deb ... 169s Unpacking python3-fitz (1.25.4+ds1-1) ... 170s Setting up libgraphite2-3:armhf (1.3.14-2ubuntu1) ... 170s Setting up libmujs3:armhf (1.3.6-1) ... 170s Setting up libfreetype6:armhf (2.13.3+dfsg-1) ... 170s Setting up libjbig2dec0:armhf (0.20-1build3) ... 170s Setting up libgumbo3:armhf (0.13.0+dfsg-2) ... 170s Setting up libjpeg-turbo8:armhf (2.1.5-3ubuntu2) ... 170s Setting up libopenjp2-7:armhf (2.5.3-2) ... 170s Setting up libharfbuzz0b:armhf (10.2.0-1) ... 170s Setting up libjpeg8:armhf (8c-2ubuntu11) ... 170s Setting up libmupdf25.1 (1.25.1+ds1-5build2) ... 170s Setting up python3-mupdf (1.25.1+ds1-5build2) ... 170s Setting up python3-pymupdf (1.25.4+ds1-1) ... 171s Setting up python3-fitz (1.25.4+ds1-1) ... 171s Processing triggers for libc-bin (2.41-6ubuntu1) ... 179s autopkgtest [09:30:01]: test python3-fitz: env --chdir=/ python3 -c "import fitz" 179s autopkgtest [09:30:01]: test python3-fitz: [----------------------- 182s autopkgtest [09:30:04]: test python3-fitz: -----------------------] 186s autopkgtest [09:30:08]: test python3-fitz: - - - - - - - - - - results - - - - - - - - - - 186s python3-fitz PASS (superficial) 189s autopkgtest [09:30:11]: test pytests: preparing testbed 191s Reading package lists... 192s Building dependency tree... 192s Reading state information... 192s Starting pkgProblemResolver with broken count: 0 192s Starting 2 pkgProblemResolver with broken count: 0 192s Done 194s The following NEW packages will be installed: 194s python3-all python3-iniconfig python3-pluggy python3-psutil python3-pytest 194s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 194s Need to get 474 kB of archives. 194s After this operation, 2557 kB of additional disk space will be used. 194s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf python3-all armhf 3.13.3-1 [880 B] 194s Get:2 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 194s Get:3 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pluggy all 1.5.0-1 [21.0 kB] 194s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf python3-psutil armhf 5.9.8-2build3 [194 kB] 194s Get:5 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest all 8.3.5-1 [252 kB] 195s Fetched 474 kB in 1s (859 kB/s) 195s Selecting previously unselected package python3-all. 195s (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 ... 64052 files and directories currently installed.) 195s Preparing to unpack .../python3-all_3.13.3-1_armhf.deb ... 195s Unpacking python3-all (3.13.3-1) ... 195s Selecting previously unselected package python3-iniconfig. 195s Preparing to unpack .../python3-iniconfig_1.1.1-2_all.deb ... 195s Unpacking python3-iniconfig (1.1.1-2) ... 195s Selecting previously unselected package python3-pluggy. 195s Preparing to unpack .../python3-pluggy_1.5.0-1_all.deb ... 195s Unpacking python3-pluggy (1.5.0-1) ... 195s Selecting previously unselected package python3-psutil. 195s Preparing to unpack .../python3-psutil_5.9.8-2build3_armhf.deb ... 195s Unpacking python3-psutil (5.9.8-2build3) ... 195s Selecting previously unselected package python3-pytest. 195s Preparing to unpack .../python3-pytest_8.3.5-1_all.deb ... 195s Unpacking python3-pytest (8.3.5-1) ... 195s Setting up python3-iniconfig (1.1.1-2) ... 195s Setting up python3-all (3.13.3-1) ... 195s Setting up python3-psutil (5.9.8-2build3) ... 196s Setting up python3-pluggy (1.5.0-1) ... 196s Setting up python3-pytest (8.3.5-1) ... 197s Processing triggers for man-db (2.13.0-1) ... 205s autopkgtest [09:30:27]: test pytests: [----------------------- 207s === python3.13 === 208s ============================= test session starts ============================== 208s platform linux -- Python 3.13.3, pytest-8.3.5, pluggy-1.5.0 -- /usr/bin/python3.13 208s cachedir: .pytest_cache 208s rootdir: /tmp/autopkgtest.9Cw3S5/autopkgtest_tmp 208s plugins: typeguard-4.4.2 209s collecting ... collected 327 items / 239 deselected / 88 selected 209s 209s tests/test_2548.py::test_2548 PASSED [ 1%] 209s tests/test_2634.py::test_2634 PASSED [ 2%] 209s tests/test_2904.py::test_2904 PASSED [ 3%] 209s tests/test_2907.py::test_2907 PASSED [ 4%] 209s tests/test_4141.py::test_4141 PASSED [ 5%] 209s tests/test_badfonts.py::test_survive_names PASSED [ 6%] 209s tests/test_balance_count.py::test_q_count PASSED [ 7%] 210s tests/test_barcode.py::test_barcode PASSED [ 9%] 210s tests/test_cluster_drawings.py::test_cluster1 PASSED [ 10%] 210s tests/test_cluster_drawings.py::test_cluster2 PASSED [ 11%] 210s tests/test_cluster_drawings.py::test_cluster3 PASSED [ 12%] 210s tests/test_crypting.py::test_encryption PASSED [ 13%] 210s tests/test_drawings.py::test_drawings1 PASSED [ 14%] 210s tests/test_drawings.py::test_drawings2 PASSED [ 15%] 210s tests/test_drawings.py::test_drawings3 PASSED [ 17%] 210s tests/test_drawings.py::test_2365 PASSED [ 18%] 210s tests/test_drawings.py::test_2462 PASSED [ 19%] 210s tests/test_drawings.py::test_2556 PASSED [ 20%] 210s tests/test_drawings.py::test_3207 PASSED [ 21%] 210s tests/test_drawings.py::test_3591 PASSED [ 22%] 210s tests/test_embeddedfiles.py::test_embedded1 PASSED [ 23%] 210s tests/test_embeddedfiles.py::test_4050 PASSED [ 25%] 210s tests/test_extractimage.py::test_extract_image PASSED [ 26%] 210s tests/test_extractimage.py::test_2348 PASSED [ 27%] 210s tests/test_extractimage.py::test_delete_image PASSED [ 28%] 210s tests/test_geometry.py::test_rect PASSED [ 29%] 210s tests/test_geometry.py::test_irect PASSED [ 30%] 210s tests/test_geometry.py::test_inversion PASSED [ 31%] 210s tests/test_geometry.py::test_matrix PASSED [ 32%] 210s tests/test_geometry.py::test_point PASSED [ 34%] 210s tests/test_geometry.py::test_algebra PASSED [ 35%] 210s tests/test_geometry.py::test_quad PASSED [ 36%] 210s tests/test_geometry.py::test_pageboxes PASSED [ 37%] 210s tests/test_geometry.py::test_3163 PASSED [ 38%] 210s tests/test_geometry.py::test_3182 PASSED [ 39%] 211s tests/test_imagebbox.py::test_image_bbox PASSED [ 40%] 211s tests/test_imagebbox.py::test_bboxlog PASSED [ 42%] 211s tests/test_imagemasks.py::test_imagemask1 PASSED [ 43%] 211s tests/test_imagemasks.py::test_imagemask2 PASSED [ 44%] 211s tests/test_import.py::test_import PASSED [ 45%] 211s tests/test_insertimage.py::test_insert PASSED [ 46%] 212s tests/test_insertimage.py::test_compress PASSED [ 47%] 212s tests/test_insertimage.py::test_3087 PASSED [ 48%] 261s tests/test_memory.py::test_2791 PASSED [ 50%] 262s tests/test_memory.py::test_4090 PASSED [ 51%] 262s tests/test_memory.py::test_4125 FAILED [ 52%] 262s tests/test_metadata.py::test_metadata PASSED [ 53%] 262s tests/test_metadata.py::test_erase_meta PASSED [ 54%] 262s tests/test_metadata.py::test_3237 PASSED [ 55%] 262s tests/test_named_links.py::test_2886 PASSED [ 56%] 262s tests/test_named_links.py::test_2922 PASSED [ 57%] 262s tests/test_named_links.py::test_3301 PASSED [ 59%] 262s tests/test_nonpdf.py::test_isnopdf PASSED [ 60%] 262s tests/test_nonpdf.py::test_pageids PASSED [ 61%] 262s tests/test_nonpdf.py::test_layout PASSED [ 62%] 263s tests/test_object_manipulation.py::test_rotation1 PASSED [ 63%] 263s tests/test_object_manipulation.py::test_rotation2 PASSED [ 64%] 263s tests/test_object_manipulation.py::test_trailer PASSED [ 65%] 263s tests/test_object_manipulation.py::test_valid_name PASSED [ 67%] 263s tests/test_optional_content.py::test_oc1 PASSED [ 68%] 263s tests/test_optional_content.py::test_oc2 PASSED [ 69%] 263s tests/test_optional_content.py::test_3143 PASSED [ 70%] 263s tests/test_optional_content.py::test_3180 PASSED [ 71%] 263s tests/test_page_links.py::test_page_links_generator PASSED [ 72%] 263s tests/test_pagelabels.py::test_setlabels PASSED [ 73%] 263s tests/test_pagelabels.py::test_labels_styleA PASSED [ 75%] 263s tests/test_remove-rotation.py::test_remove_rotation PASSED [ 76%] 263s tests/test_rtl.py::test_rtl PASSED [ 77%] 263s tests/test_showpdfpage.py::test_insert PASSED [ 78%] 263s tests/test_showpdfpage.py::test_2742 PASSED [ 79%] 263s tests/test_spikes.py::test_spikes FAILED [ 80%] 263s tests/test_textsearch.py::test_search1 PASSED [ 81%] 263s tests/test_textsearch.py::test_search2 PASSED [ 82%] 263s tests/test_textsearch.py::test_search3 PASSED [ 84%] 263s tests/test_widgets.py::test_text PASSED [ 85%] 263s tests/test_widgets.py::test_checkbox PASSED [ 86%] 263s tests/test_widgets.py::test_listbox PASSED [ 87%] 263s tests/test_widgets.py::test_combobox PASSED [ 88%] 263s tests/test_widgets.py::test_text2 PASSED [ 89%] 263s tests/test_widgets.py::test_2333 PASSED [ 90%] 263s tests/test_widgets.py::test_2411 PASSED [ 92%] 263s tests/test_widgets.py::test_2391 PASSED [ 93%] 263s tests/test_widgets.py::test_3216 PASSED [ 94%] 263s tests/test_widgets.py::test_add_widget PASSED [ 95%] 263s tests/test_widgets.py::test_interfield_calculation PASSED [ 96%] 263s tests/test_widgets.py::test_3950 PASSED [ 97%] 263s tests/test_widgets.py::test_4004 PASSED [ 98%] 263s tests/test_widgets.py::test_4055 PASSED [100%] 263s 263s =================================== FAILURES =================================== 263s __________________________________ test_4125 ___________________________________ 263s 263s def test_4125(): 263s if os.environ.get('PYMUPDF_RUNNING_ON_VALGRIND') == '1': 263s print(f'test_4125(): not running because PYMUPDF_RUNNING_ON_VALGRIND=1.') 263s return 263s if platform.system().startswith('MSYS_NT-'): 263s print(f'test_4125(): not running on msys2 - psutil not available.') 263s return 263s 263s print('') 263s print(f'test_4125(): {platform.python_version()=}.') 263s 263s path = os.path.normpath(f'{__file__}/../../tests/resources/test_4125.pdf') 263s import gc 263s import psutil 263s 263s root = os.path.normpath(f'{__file__}/../..') 263s sys.path.insert(0, root) 263s try: 263s > import pipcl 263s E ModuleNotFoundError: No module named 'pipcl' 263s 263s tests/test_memory.py:162: ModuleNotFoundError 263s ----------------------------- Captured stdout call ----------------------------- 263s 263s test_4125(): platform.python_version()='3.13.3'. 263s _________________________________ test_spikes __________________________________ 263s 263s def test_spikes(): 263s """Check suppression of text spikes caused by long miters.""" 263s root = os.path.abspath(f"{__file__}/../..") 263s spikes_yes = pathlib.Path(f"{root}/docs/images/spikes-yes.png") 263s spikes_no = pathlib.Path(f"{root}/docs/images/spikes-no.png") 263s doc = pymupdf.open() 263s text = "NATO MEMBERS" # some text provoking spikes ("N", "M") 263s point = (10, 35) # insert point 263s 263s # make text provoking spikes 263s page = doc.new_page(width=200, height=50) # small page 263s page.insert_text( 263s point, 263s text, 263s fontsize=20, 263s render_mode=1, # stroke text only 263s border_width=0.3, # causes thick border lines 263s miter_limit=None, # do not care about miter spikes 263s ) 263s # write same text in white over the previous for better demo purpose 263s page.insert_text(point, text, fontsize=20, color=(1, 1, 1)) 263s pix1 = page.get_pixmap() 263s > assert pix1.tobytes() == spikes_yes.read_bytes() 263s 263s tests/test_spikes.py:28: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3.13/pathlib/_abc.py:625: in read_bytes 263s with self.open(mode='rb') as f: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s self = PosixPath('/tmp/autopkgtest.9Cw3S5/autopkgtest_tmp/docs/images/spikes-yes.png') 263s mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None 263s 263s def open(self, mode='r', buffering=-1, encoding=None, 263s errors=None, newline=None): 263s """ 263s Open the file pointed to by this path and return a file object, as 263s the built-in open() function does. 263s """ 263s if "b" not in mode: 263s encoding = io.text_encoding(encoding) 263s > return io.open(self, mode, buffering, encoding, errors, newline) 263s E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.9Cw3S5/autopkgtest_tmp/docs/images/spikes-yes.png' 263s 263s /usr/lib/python3.13/pathlib/_local.py:539: FileNotFoundError 263s =============================== warnings summary =============================== 263s :488 263s :488: DeprecationWarning: builtin type SwigPyPacked has no __module__ attribute 263s 263s :488 263s :488: DeprecationWarning: builtin type SwigPyObject has no __module__ attribute 263s 263s :488 263s :488: DeprecationWarning: builtin type swigvarlink has no __module__ attribute 263s 263s tests/test_drawings.py::test_drawings1 263s /tmp/autopkgtest.9Cw3S5/autopkgtest_tmp/tests/test_drawings.py:18: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/autopkgtest.9Cw3S5/autopkgtest_tmp/tests/resources/symbols.txt' mode='r' encoding='UTF-8'> 263s symbols_text = open(symbols).read() # expected result 263s Enable tracemalloc to get traceback where the object was allocated. 263s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 263s 263s tests/test_metadata.py::test_metadata 263s /tmp/autopkgtest.9Cw3S5/autopkgtest_tmp/tests/test_metadata.py:18: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/autopkgtest.9Cw3S5/autopkgtest_tmp/tests/resources/metadata.txt' mode='r' encoding='UTF-8'> 263s assert json.dumps(doc.metadata) == open(metafile).read() 263s Enable tracemalloc to get traceback where the object was allocated. 263s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 263s 263s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 263s =========================== short test summary info ============================ 263s FAILED tests/test_memory.py::test_4125 - ModuleNotFoundError: No module named... 263s FAILED tests/test_spikes.py::test_spikes - FileNotFoundError: [Errno 2] No su... 263s ========== 2 failed, 86 passed, 239 deselected, 5 warnings in 55.82s =========== 263s :0: DeprecationWarning: builtin type swigvarlink has no __module__ attribute 264s autopkgtest [09:31:26]: test pytests: -----------------------] 268s autopkgtest [09:31:30]: test pytests: - - - - - - - - - - results - - - - - - - - - - 268s pytests FAIL non-zero exit status 1 271s autopkgtest [09:31:33]: @@@@@@@@@@@@@@@@@@@@ summary 271s python3-fitz PASS (superficial) 271s pytests FAIL non-zero exit status 1