0s autopkgtest [07:00:54]: starting date and time: 2026-02-10 07:00:54+0000 0s autopkgtest [07:00:54]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [07:00:54]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.onz6iygf/out --timeout-copy=6000 --needs-internet=try --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python-pcre2 --apt-upgrade debmutate --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python-pcre2/0.6.0+ds-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@sto01-ppc64el-3.secgroup --name adt-resolute-ppc64el-debmutate-20260210-070054-juju-7f2275-prod-proposed-migration-environment-15-21987777-af25-405b-994f-8e9af31b37dd --image adt/ubuntu-resolute-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-autopkgtest-workers-ppc64el -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-ppc64el-debmutate-20260210-070054-juju-7f2275-prod-proposed-migration-environment-15-21987777-af25-405b-994f-8e9af31b37dd from image adt/ubuntu-resolute-ppc64el-server-20260209.img (UUID f7f31435-4cd1-4090-aa55-59cfefa097ca)... 54s autopkgtest [07:01:48]: testbed dpkg architecture: ppc64el 55s autopkgtest [07:01:49]: testbed apt version: 3.1.15 55s autopkgtest [07:01:49]: @@@@@@@@@@@@@@@@@@@@ test bed setup 55s autopkgtest [07:01:49]: testbed release detected to be: None 56s autopkgtest [07:01:50]: updating testbed package index (apt update) 56s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 56s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 56s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 56s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 56s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1727 kB] 56s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [31.1 kB] 56s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [178 kB] 56s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [261 kB] 56s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [1728 kB] 56s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [20.2 kB] 57s Fetched 4069 kB in 1s (5552 kB/s) 58s Reading package lists... 58s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 58s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 58s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 58s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 59s Reading package lists... 59s Reading package lists... 59s Building dependency tree... 59s Reading state information... 60s Calculating upgrade... 60s The following NEW packages will be installed: 60s gcc-16-base 60s The following packages will be upgraded: 60s cryptsetup-bin dracut-install iproute2 iptables libatomic1 libbrotli1 60s libcryptsetup12 libgcc-s1 libip4tc2 libip6tc2 libstdc++6 libxtables12 wget 60s 13 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 60s Need to get 4597 kB of archives. 60s After this operation, 279 kB of additional disk space will be used. 60s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-16-base ppc64el 16-20260208-1ubuntu1 [59.7 kB] 60s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgcc-s1 ppc64el 16-20260208-1ubuntu1 [39.3 kB] 60s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el iptables ppc64el 1.8.11-2ubuntu3 [464 kB] 60s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el libip4tc2 ppc64el 1.8.11-2ubuntu3 [27.8 kB] 60s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el libip6tc2 ppc64el 1.8.11-2ubuntu3 [28.2 kB] 60s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxtables12 ppc64el 1.8.11-2ubuntu3 [41.2 kB] 60s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el iproute2 ppc64el 6.18.0-1ubuntu1 [1458 kB] 60s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el libatomic1 ppc64el 16-20260208-1ubuntu1 [11.0 kB] 60s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcryptsetup12 ppc64el 2:2.8.0-1ubuntu3 [404 kB] 60s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el libstdc++6 ppc64el 16-20260208-1ubuntu1 [930 kB] 60s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el wget ppc64el 1.25.0-2ubuntu4 [401 kB] 60s Get:12 http://ftpmaster.internal/ubuntu resolute/main ppc64el cryptsetup-bin ppc64el 2:2.8.0-1ubuntu3 [250 kB] 60s Get:13 http://ftpmaster.internal/ubuntu resolute/main ppc64el dracut-install ppc64el 109-11ubuntu1 [51.3 kB] 60s Get:14 http://ftpmaster.internal/ubuntu resolute/main ppc64el libbrotli1 ppc64el 1.2.0-3 [431 kB] 60s dpkg-preconfigure: unable to re-open stdin: No such file or directory 60s Fetched 4597 kB in 0s (12.1 MB/s) 61s Selecting previously unselected package gcc-16-base:ppc64el. 61s (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 ... 122003 files and directories currently installed.) 61s Preparing to unpack .../gcc-16-base_16-20260208-1ubuntu1_ppc64el.deb ... 61s Unpacking gcc-16-base:ppc64el (16-20260208-1ubuntu1) ... 61s Setting up gcc-16-base:ppc64el (16-20260208-1ubuntu1) ... 61s (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 ... 122008 files and directories currently installed.) 61s Preparing to unpack .../libgcc-s1_16-20260208-1ubuntu1_ppc64el.deb ... 61s Unpacking libgcc-s1:ppc64el (16-20260208-1ubuntu1) over (15.2.0-12ubuntu1) ... 61s Setting up libgcc-s1:ppc64el (16-20260208-1ubuntu1) ... 61s (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 ... 122008 files and directories currently installed.) 61s Preparing to unpack .../00-iptables_1.8.11-2ubuntu3_ppc64el.deb ... 61s Unpacking iptables (1.8.11-2ubuntu3) over (1.8.11-2ubuntu2) ... 62s Preparing to unpack .../01-libip4tc2_1.8.11-2ubuntu3_ppc64el.deb ... 62s Unpacking libip4tc2:ppc64el (1.8.11-2ubuntu3) over (1.8.11-2ubuntu2) ... 62s Preparing to unpack .../02-libip6tc2_1.8.11-2ubuntu3_ppc64el.deb ... 62s Unpacking libip6tc2:ppc64el (1.8.11-2ubuntu3) over (1.8.11-2ubuntu2) ... 62s Preparing to unpack .../03-libxtables12_1.8.11-2ubuntu3_ppc64el.deb ... 62s Unpacking libxtables12:ppc64el (1.8.11-2ubuntu3) over (1.8.11-2ubuntu2) ... 62s Preparing to unpack .../04-iproute2_6.18.0-1ubuntu1_ppc64el.deb ... 62s Unpacking iproute2 (6.18.0-1ubuntu1) over (6.16.0-1ubuntu3) ... 62s Preparing to unpack .../05-libatomic1_16-20260208-1ubuntu1_ppc64el.deb ... 62s Unpacking libatomic1:ppc64el (16-20260208-1ubuntu1) over (15.2.0-12ubuntu1) ... 62s Preparing to unpack .../06-libcryptsetup12_2%3a2.8.0-1ubuntu3_ppc64el.deb ... 63s Unpacking libcryptsetup12:ppc64el (2:2.8.0-1ubuntu3) over (2:2.8.0-1ubuntu2) ... 63s Preparing to unpack .../07-libstdc++6_16-20260208-1ubuntu1_ppc64el.deb ... 63s Unpacking libstdc++6:ppc64el (16-20260208-1ubuntu1) over (15.2.0-12ubuntu1) ... 64s Preparing to unpack .../08-wget_1.25.0-2ubuntu4_ppc64el.deb ... 64s Unpacking wget (1.25.0-2ubuntu4) over (1.25.0-2ubuntu3) ... 64s Preparing to unpack .../09-cryptsetup-bin_2%3a2.8.0-1ubuntu3_ppc64el.deb ... 64s Unpacking cryptsetup-bin (2:2.8.0-1ubuntu3) over (2:2.8.0-1ubuntu2) ... 64s Preparing to unpack .../10-dracut-install_109-11ubuntu1_ppc64el.deb ... 64s Unpacking dracut-install (109-11ubuntu1) over (109-9ubuntu1) ... 64s Preparing to unpack .../11-libbrotli1_1.2.0-3_ppc64el.deb ... 64s Unpacking libbrotli1:ppc64el (1.2.0-3) over (1.1.0-2build6) ... 64s Setting up libip4tc2:ppc64el (1.8.11-2ubuntu3) ... 64s Setting up wget (1.25.0-2ubuntu4) ... 65s Setting up libip6tc2:ppc64el (1.8.11-2ubuntu3) ... 65s Setting up libbrotli1:ppc64el (1.2.0-3) ... 65s Setting up libatomic1:ppc64el (16-20260208-1ubuntu1) ... 65s Setting up libxtables12:ppc64el (1.8.11-2ubuntu3) ... 65s Setting up dracut-install (109-11ubuntu1) ... 65s Setting up libcryptsetup12:ppc64el (2:2.8.0-1ubuntu3) ... 65s Setting up libstdc++6:ppc64el (16-20260208-1ubuntu1) ... 65s Setting up cryptsetup-bin (2:2.8.0-1ubuntu3) ... 65s Setting up iptables (1.8.11-2ubuntu3) ... 65s Setting up iproute2 (6.18.0-1ubuntu1) ... 65s Processing triggers for man-db (2.13.1-1build1) ... 68s Processing triggers for install-info (7.2-5) ... 68s Processing triggers for libc-bin (2.42-2ubuntu4) ... 68s autopkgtest [07:02:02]: upgrading testbed (apt dist-upgrade and autopurge) 68s Reading package lists... 68s Building dependency tree... 68s Reading state information... 68s Calculating upgrade... 68s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 69s Reading package lists... 69s Building dependency tree... 69s Reading state information... 69s Solving dependencies... 69s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 71s autopkgtest [07:02:05]: testbed running kernel: Linux 6.19.0-3-generic #3-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 23 20:13:51 UTC 2026 71s autopkgtest [07:02:05]: @@@@@@@@@@@@@@@@@@@@ apt-source debmutate 72s Get:1 http://ftpmaster.internal/ubuntu resolute/universe debmutate 0.78 (dsc) [1496 B] 72s Get:2 http://ftpmaster.internal/ubuntu resolute/universe debmutate 0.78 (tar) [68.6 kB] 73s gpgv: Signature made Wed Nov 12 02:00:09 2025 UTC 73s gpgv: using RSA key E3939120702FEA41D181D373869D24B4EE7B4DA6 73s gpgv: issuer "jelmer@debian.org" 73s gpgv: Can't check signature: No public key 73s dpkg-source: warning: cannot verify inline signature for ./debmutate_0.78.dsc: no acceptable signature found 73s autopkgtest [07:02:07]: testing package debmutate version 0.78 73s autopkgtest [07:02:07]: build not needed 73s autopkgtest [07:02:07]: test testsuite: preparing testbed 73s Reading package lists... 73s Building dependency tree... 73s Reading state information... 74s Solving dependencies... 74s The following NEW packages will be installed: 74s python3-bs4 python3-debian python3-debmutate python3-merge3 python3-pcre2 74s python3-semver python3-soupsieve python3-tomlkit python3-tr 74s 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. 74s Need to get 478 kB of archives. 74s After this operation, 2442 kB of additional disk space will be used. 74s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-soupsieve all 2.8.3-1 [34.0 kB] 74s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-bs4 all 4.14.3-2build1 [84.8 kB] 74s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-debian all 1.0.1ubuntu2 [121 kB] 74s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el python3-pcre2 ppc64el 0.6.0+ds-1 [120 kB] 74s Get:5 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-merge3 all 0.0.8-1build1 [10.3 kB] 74s Get:6 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-tr all 0.1+git20161102.e74d4bd-1.1build1 [5370 B] 74s Get:7 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-debmutate all 0.78 [47.0 kB] 74s Get:8 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-semver all 3.0.2-1 [16.3 kB] 74s Get:9 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-tomlkit all 0.13.3-2 [39.1 kB] 74s Fetched 478 kB in 0s (8416 kB/s) 74s Selecting previously unselected package python3-soupsieve. 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 ... 122011 files and directories currently installed.) 74s Preparing to unpack .../0-python3-soupsieve_2.8.3-1_all.deb ... 74s Unpacking python3-soupsieve (2.8.3-1) ... 74s Selecting previously unselected package python3-bs4. 74s Preparing to unpack .../1-python3-bs4_4.14.3-2build1_all.deb ... 74s Unpacking python3-bs4 (4.14.3-2build1) ... 74s Selecting previously unselected package python3-debian. 74s Preparing to unpack .../2-python3-debian_1.0.1ubuntu2_all.deb ... 74s Unpacking python3-debian (1.0.1ubuntu2) ... 74s Selecting previously unselected package python3-pcre2. 74s Preparing to unpack .../3-python3-pcre2_0.6.0+ds-1_ppc64el.deb ... 74s Unpacking python3-pcre2 (0.6.0+ds-1) ... 74s Selecting previously unselected package python3-merge3. 74s Preparing to unpack .../4-python3-merge3_0.0.8-1build1_all.deb ... 74s Unpacking python3-merge3 (0.0.8-1build1) ... 74s Selecting previously unselected package python3-tr. 74s Preparing to unpack .../5-python3-tr_0.1+git20161102.e74d4bd-1.1build1_all.deb ... 74s Unpacking python3-tr (0.1+git20161102.e74d4bd-1.1build1) ... 74s Selecting previously unselected package python3-debmutate. 74s Preparing to unpack .../6-python3-debmutate_0.78_all.deb ... 74s Unpacking python3-debmutate (0.78) ... 74s Selecting previously unselected package python3-semver. 74s Preparing to unpack .../7-python3-semver_3.0.2-1_all.deb ... 74s Unpacking python3-semver (3.0.2-1) ... 74s Selecting previously unselected package python3-tomlkit. 74s Preparing to unpack .../8-python3-tomlkit_0.13.3-2_all.deb ... 74s Unpacking python3-tomlkit (0.13.3-2) ... 74s Setting up python3-semver (3.0.2-1) ... 74s Setting up python3-merge3 (0.0.8-1build1) ... 74s Setting up python3-debian (1.0.1ubuntu2) ... 74s Setting up python3-tr (0.1+git20161102.e74d4bd-1.1build1) ... 75s Setting up python3-tomlkit (0.13.3-2) ... 75s Setting up python3-soupsieve (2.8.3-1) ... 75s Setting up python3-pcre2 (0.6.0+ds-1) ... 75s Setting up python3-bs4 (4.14.3-2build1) ... 75s Setting up python3-debmutate (0.78) ... 75s Processing triggers for man-db (2.13.1-1build1) ... 76s autopkgtest [07:02:10]: test testsuite: [----------------------- 77s ................./tmp/autopkgtest.pqbDni/build.cIj/src/tests/test_changelog.py:89: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). 77s timestamp=datetime.utcfromtimestamp(1604934305), 77s .............................../tmp/autopkgtest.pqbDni/build.cIj/src/tests/test_changelog.py:202: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). 77s timestamp=datetime.utcfromtimestamp(1604934305), 77s ./tmp/autopkgtest.pqbDni/build.cIj/src/tests/test_changelog.py:168: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). 77s timestamp=datetime.utcfromtimestamp(1604934305), 77s ./tmp/autopkgtest.pqbDni/build.cIj/src/tests/test_changelog.py:138: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). 77s Version("0.29"), timestamp=datetime.utcfromtimestamp(1604934305) 77s ..Unexpected line while looking for first heading: lalalalala 77s Found eof where expected first heading 77s .................................................................................s.........sed -e 's/@lintian-brush-test@/testvalue/' < debian/control.in > debian/control 77s sed -e 's/@OTHERSTUFF@/Vcs-Git: example.com/' < debian/control.in > debian/control 77s sed -e 's/@lintian-brush-test@/testvalue/' < debian/control.in > debian/control 77s ....................................................................................................................................E.........EEEE........EE.................... 77s ====================================================================== 77s ERROR: test_html_search (tests.test_watch.HtmlSearchTests.test_html_search) 77s ---------------------------------------------------------------------- 77s Traceback (most recent call last): 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/debmutate/watch.py", line 259, in html_search 77s yield (m.substring(1), urljoin(base_url, m.substring(0))) 77s ^^^^^^^^^^^ 77s AttributeError: 'NoneType' object has no attribute 'substring' 77s 77s During handling of the above exception, another exception occurred: 77s 77s Traceback (most recent call last): 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/tests/test_watch.py", line 449, in test_html_search 77s list( 77s ~~~~^ 77s html_search( 77s ^^^^^^^^^^^^ 77s body, "/foo-(\\d+\\.\\d+)\\.tar\\.gz", "https://example.com/" 77s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 77s ) 77s ^ 77s ), 77s ^ 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/debmutate/watch.py", line 260, in html_search 77s except pcre2.exceptions.MatchError: 77s ^^^^^^^^^^^^^^^^ 77s AttributeError: module 'pcre2' has no attribute 'exceptions' 77s 77s ====================================================================== 77s ERROR: test_parse_subst_expr (tests.test_watch.ParseWatchFileTests.test_parse_subst_expr) 77s ---------------------------------------------------------------------- 77s Traceback (most recent call last): 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/debmutate/watch.py", line 332, in uversionmangle 77s return apply_sed_expr(vm, version) 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/debmutate/watch.py", line 209, in apply_sed_expr 77s return cast(str, pcre2.substitute(pattern, replacement, orig)) 77s ^^^^^^^^^^^^^^^^ 77s AttributeError: module 'pcre2' has no attribute 'substitute' 77s 77s During handling of the above exception, another exception occurred: 77s 77s Traceback (most recent call last): 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/tests/test_watch.py", line 311, in test_parse_subst_expr 77s self.assertEqual("1.0", wf.entries[0].uversionmangle("1.0")) 77s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^ 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/debmutate/watch.py", line 333, in uversionmangle 77s except pcre2.exceptions.LibraryError as e: 77s ^^^^^^^^^^^^^^^^ 77s AttributeError: module 'pcre2' has no attribute 'exceptions' 77s 77s ====================================================================== 77s ERROR: test_parse_subst_expr_escape (tests.test_watch.ParseWatchFileTests.test_parse_subst_expr_escape) 77s ---------------------------------------------------------------------- 77s Traceback (most recent call last): 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/debmutate/watch.py", line 332, in uversionmangle 77s return apply_sed_expr(vm, version) 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/debmutate/watch.py", line 209, in apply_sed_expr 77s return cast(str, pcre2.substitute(pattern, replacement, orig)) 77s ^^^^^^^^^^^^^^^^ 77s AttributeError: module 'pcre2' has no attribute 'substitute' 77s 77s During handling of the above exception, another exception occurred: 77s 77s Traceback (most recent call last): 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/tests/test_watch.py", line 364, in test_parse_subst_expr_escape 77s self.assertEqual("1.0", wf.entries[0].uversionmangle("1.0")) 77s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^ 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/debmutate/watch.py", line 333, in uversionmangle 77s except pcre2.exceptions.LibraryError as e: 77s ^^^^^^^^^^^^^^^^ 77s AttributeError: module 'pcre2' has no attribute 'exceptions' 77s 77s ====================================================================== 77s ERROR: test_parse_subst_expr_invalid (tests.test_watch.ParseWatchFileTests.test_parse_subst_expr_invalid) 77s ---------------------------------------------------------------------- 77s Traceback (most recent call last): 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/debmutate/watch.py", line 332, in uversionmangle 77s return apply_sed_expr(vm, version) 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/debmutate/watch.py", line 206, in apply_sed_expr 77s (kind, (pattern, replacement, flags)) = parse_sed_expr(vm) 77s ~~~~~~~~~~~~~~^^^^ 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/debmutate/watch.py", line 161, in parse_sed_expr 77s return ("s", parse_subst_expr(vm)) 77s ~~~~~~~~~~~~~~~~^^^^ 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/debmutate/watch.py", line 174, in parse_subst_expr 77s raise InvalidUVersionMangle(vm) 77s debmutate.watch.InvalidUVersionMangle: s/(\d)[_\.\-\+]?((RC|rc|pre|alpha)\d*)$$1~$2 77s 77s During handling of the above exception, another exception occurred: 77s 77s Traceback (most recent call last): 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/tests/test_watch.py", line 393, in test_parse_subst_expr_invalid 77s self.assertRaises( 77s ~~~~~~~~~~~~~~~~~^ 77s InvalidUVersionMangle, wf.entries[0].uversionmangle, "1.0alpha1" 77s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 77s ) 77s ^ 77s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 77s return context.handle('assertRaises', args, kwargs) 77s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 77s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 77s callable_obj(*args, **kwargs) 77s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/debmutate/watch.py", line 333, in uversionmangle 77s except pcre2.exceptions.LibraryError as e: 77s ^^^^^^^^^^^^^^^^ 77s AttributeError: module 'pcre2' has no attribute 'exceptions' 77s 77s ====================================================================== 77s ERROR: test_parse_subst_expr_percent (tests.test_watch.ParseWatchFileTests.test_parse_subst_expr_percent) 77s ---------------------------------------------------------------------- 77s Traceback (most recent call last): 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/debmutate/watch.py", line 332, in uversionmangle 77s return apply_sed_expr(vm, version) 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/debmutate/watch.py", line 209, in apply_sed_expr 77s return cast(str, pcre2.substitute(pattern, replacement, orig)) 77s ^^^^^^^^^^^^^^^^ 77s AttributeError: module 'pcre2' has no attribute 'substitute' 77s 77s During handling of the above exception, another exception occurred: 77s 77s Traceback (most recent call last): 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/tests/test_watch.py", line 379, in test_parse_subst_expr_percent 77s self.assertEqual("1.0", wf.entries[0].uversionmangle("1.0")) 77s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^ 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/debmutate/watch.py", line 333, in uversionmangle 77s except pcre2.exceptions.LibraryError as e: 77s ^^^^^^^^^^^^^^^^ 77s AttributeError: module 'pcre2' has no attribute 'exceptions' 77s 77s ====================================================================== 77s ERROR: test_plain_search (tests.test_watch.PlainSearchTests.test_plain_search) 77s ---------------------------------------------------------------------- 77s Traceback (most recent call last): 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/tests/test_watch.py", line 488, in test_plain_search 77s list( 77s ~~~~^ 77s plain_search( 77s ^^^^^^^^^^^^^ 77s body, "foo-(\\d+\\.\\d+)\\.tar\\.gz", "https://example.com/" 77s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 77s ) 77s ^ 77s ), 77s ^ 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/debmutate/watch.py", line 267, in plain_search 77s for m in pcre2.scan(matching_pattern.encode(), body): 77s ^^^^^^^^^^ 77s AttributeError: module 'pcre2' has no attribute 'scan' 77s 77s ====================================================================== 77s ERROR: test_search (tests.test_watch.SearchTests.test_search) 77s ---------------------------------------------------------------------- 77s Traceback (most recent call last): 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/debmutate/watch.py", line 259, in html_search 77s yield (m.substring(1), urljoin(base_url, m.substring(0))) 77s ^^^^^^^^^^^ 77s AttributeError: 'NoneType' object has no attribute 'substring' 77s 77s During handling of the above exception, another exception occurred: 77s 77s Traceback (most recent call last): 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/tests/test_watch.py", line 540, in test_search 77s list( 77s ~~~~^ 77s search( 77s ^^^^^^^ 77s ...<5 lines>... 77s ) 77s ^ 77s ), 77s ^ 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/debmutate/watch.py", line 291, in search 77s yield from searchers[searchmode]( 77s resp.read(), _subst(matching_pattern, package), url 77s ) 77s File "/tmp/autopkgtest.pqbDni/build.cIj/src/debmutate/watch.py", line 260, in html_search 77s except pcre2.exceptions.MatchError: 77s ^^^^^^^^^^^^^^^^ 77s AttributeError: module 'pcre2' has no attribute 'exceptions' 77s 77s ---------------------------------------------------------------------- 77s Ran 319 tests in 0.307s 77s 77s FAILED (errors=7, skipped=1) 77s autopkgtest [07:02:11]: test testsuite: -----------------------] 78s autopkgtest [07:02:12]: test testsuite: - - - - - - - - - - results - - - - - - - - - - 78s testsuite FAIL non-zero exit status 1 78s autopkgtest [07:02:12]: @@@@@@@@@@@@@@@@@@@@ summary 78s testsuite FAIL non-zero exit status 1