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