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