0s autopkgtest [07:00:53]: starting date and time: 2026-02-10 07:00:53+0000 0s autopkgtest [07:00:53]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [07:00:53]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work._z947r4n/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-arm64 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@sto01-arm64-26.secgroup --name adt-resolute-arm64-debmutate-20260210-070053-juju-7f2275-prod-proposed-migration-environment-15-f545b6af-556a-49b0-a6e7-1cbb4d66c56e --image adt/ubuntu-resolute-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-autopkgtest-workers-arm64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-arm64-debmutate-20260210-070053-juju-7f2275-prod-proposed-migration-environment-15-f545b6af-556a-49b0-a6e7-1cbb4d66c56e from image adt/ubuntu-resolute-arm64-server-20260209.img (UUID 793037ca-75af-461b-82de-f8081300b2e3)... 55s autopkgtest [07:01:48]: testbed dpkg architecture: arm64 55s autopkgtest [07:01:48]: testbed apt version: 3.1.15 55s autopkgtest [07:01:48]: @@@@@@@@@@@@@@@@@@@@ test bed setup 56s autopkgtest [07:01:49]: testbed release detected to be: None 56s autopkgtest [07:01:49]: updating testbed package index (apt update) 57s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 57s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 57s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 57s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 57s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [31.1 kB] 57s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1727 kB] 57s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [178 kB] 57s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [263 kB] 57s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [6288 B] 57s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [120 B] 57s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [1769 kB] 57s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [31.3 kB] 57s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [23.0 kB] 57s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [688 B] 59s Fetched 4153 kB in 1s (4936 kB/s) 60s Reading package lists... 60s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 60s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 60s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 60s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 61s Reading package lists... 61s Reading package lists... 62s Building dependency tree... 62s Reading state information... 62s Calculating upgrade... 62s The following NEW packages will be installed: 62s gcc-16-base 62s The following packages will be upgraded: 62s cryptsetup-bin dracut-install iproute2 iptables libatomic1 libbrotli1 62s libcryptsetup12 libgcc-s1 libip4tc2 libip6tc2 libstdc++6 libxtables12 wget 62s 13 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 62s Need to get 3779 kB of archives. 62s After this operation, 218 kB of additional disk space will be used. 62s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-16-base arm64 16-20260208-1ubuntu1 [59.7 kB] 62s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 libgcc-s1 arm64 16-20260208-1ubuntu1 [60.9 kB] 62s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 iptables arm64 1.8.11-2ubuntu3 [386 kB] 62s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 libip4tc2 arm64 1.8.11-2ubuntu3 [24.3 kB] 62s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 libip6tc2 arm64 1.8.11-2ubuntu3 [24.7 kB] 62s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 libxtables12 arm64 1.8.11-2ubuntu3 [36.7 kB] 62s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 iproute2 arm64 6.18.0-1ubuntu1 [1171 kB] 63s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 libatomic1 arm64 16-20260208-1ubuntu1 [11.1 kB] 63s Get:9 http://ftpmaster.internal/ubuntu resolute/main arm64 libcryptsetup12 arm64 2:2.8.0-1ubuntu3 [274 kB] 63s Get:10 http://ftpmaster.internal/ubuntu resolute/main arm64 libstdc++6 arm64 16-20260208-1ubuntu1 [768 kB] 63s Get:11 http://ftpmaster.internal/ubuntu resolute/main arm64 wget arm64 1.25.0-2ubuntu4 [344 kB] 63s Get:12 http://ftpmaster.internal/ubuntu resolute/main arm64 cryptsetup-bin arm64 2:2.8.0-1ubuntu3 [227 kB] 63s Get:13 http://ftpmaster.internal/ubuntu resolute/main arm64 dracut-install arm64 109-11ubuntu1 [45.3 kB] 63s Get:14 http://ftpmaster.internal/ubuntu resolute/main arm64 libbrotli1 arm64 1.2.0-3 [346 kB] 63s dpkg-preconfigure: unable to re-open stdin: No such file or directory 63s Fetched 3779 kB in 1s (4533 kB/s) 64s Selecting previously unselected package gcc-16-base:arm64. 64s (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 ... 136597 files and directories currently installed.) 64s Preparing to unpack .../gcc-16-base_16-20260208-1ubuntu1_arm64.deb ... 64s Unpacking gcc-16-base:arm64 (16-20260208-1ubuntu1) ... 64s Setting up gcc-16-base:arm64 (16-20260208-1ubuntu1) ... 64s (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 ... 136602 files and directories currently installed.) 64s Preparing to unpack .../libgcc-s1_16-20260208-1ubuntu1_arm64.deb ... 64s Unpacking libgcc-s1:arm64 (16-20260208-1ubuntu1) over (15.2.0-12ubuntu1) ... 64s Setting up libgcc-s1:arm64 (16-20260208-1ubuntu1) ... 64s (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 ... 136602 files and directories currently installed.) 64s Preparing to unpack .../00-iptables_1.8.11-2ubuntu3_arm64.deb ... 64s Unpacking iptables (1.8.11-2ubuntu3) over (1.8.11-2ubuntu2) ... 64s Preparing to unpack .../01-libip4tc2_1.8.11-2ubuntu3_arm64.deb ... 64s Unpacking libip4tc2:arm64 (1.8.11-2ubuntu3) over (1.8.11-2ubuntu2) ... 64s Preparing to unpack .../02-libip6tc2_1.8.11-2ubuntu3_arm64.deb ... 64s Unpacking libip6tc2:arm64 (1.8.11-2ubuntu3) over (1.8.11-2ubuntu2) ... 65s Preparing to unpack .../03-libxtables12_1.8.11-2ubuntu3_arm64.deb ... 65s Unpacking libxtables12:arm64 (1.8.11-2ubuntu3) over (1.8.11-2ubuntu2) ... 65s Preparing to unpack .../04-iproute2_6.18.0-1ubuntu1_arm64.deb ... 65s Unpacking iproute2 (6.18.0-1ubuntu1) over (6.16.0-1ubuntu3) ... 65s Preparing to unpack .../05-libatomic1_16-20260208-1ubuntu1_arm64.deb ... 65s Unpacking libatomic1:arm64 (16-20260208-1ubuntu1) over (15.2.0-12ubuntu1) ... 65s Preparing to unpack .../06-libcryptsetup12_2%3a2.8.0-1ubuntu3_arm64.deb ... 65s Unpacking libcryptsetup12:arm64 (2:2.8.0-1ubuntu3) over (2:2.8.0-1ubuntu2) ... 65s Preparing to unpack .../07-libstdc++6_16-20260208-1ubuntu1_arm64.deb ... 65s Unpacking libstdc++6:arm64 (16-20260208-1ubuntu1) over (15.2.0-12ubuntu1) ... 65s Preparing to unpack .../08-wget_1.25.0-2ubuntu4_arm64.deb ... 65s Unpacking wget (1.25.0-2ubuntu4) over (1.25.0-2ubuntu3) ... 65s Preparing to unpack .../09-cryptsetup-bin_2%3a2.8.0-1ubuntu3_arm64.deb ... 65s Unpacking cryptsetup-bin (2:2.8.0-1ubuntu3) over (2:2.8.0-1ubuntu2) ... 66s Preparing to unpack .../10-dracut-install_109-11ubuntu1_arm64.deb ... 66s Unpacking dracut-install (109-11ubuntu1) over (109-9ubuntu1) ... 66s Preparing to unpack .../11-libbrotli1_1.2.0-3_arm64.deb ... 66s Unpacking libbrotli1:arm64 (1.2.0-3) over (1.1.0-2build6) ... 66s Setting up libip4tc2:arm64 (1.8.11-2ubuntu3) ... 66s Setting up wget (1.25.0-2ubuntu4) ... 66s Setting up libip6tc2:arm64 (1.8.11-2ubuntu3) ... 66s Setting up libbrotli1:arm64 (1.2.0-3) ... 66s Setting up libatomic1:arm64 (16-20260208-1ubuntu1) ... 66s Setting up libxtables12:arm64 (1.8.11-2ubuntu3) ... 66s Setting up dracut-install (109-11ubuntu1) ... 66s Setting up libcryptsetup12:arm64 (2:2.8.0-1ubuntu3) ... 66s Setting up libstdc++6:arm64 (16-20260208-1ubuntu1) ... 66s Setting up cryptsetup-bin (2:2.8.0-1ubuntu3) ... 66s Setting up iptables (1.8.11-2ubuntu3) ... 66s Setting up iproute2 (6.18.0-1ubuntu1) ... 66s Processing triggers for man-db (2.13.1-1build1) ... 67s Processing triggers for install-info (7.2-5) ... 67s Processing triggers for libc-bin (2.42-2ubuntu4) ... 67s autopkgtest [07:02:00]: upgrading testbed (apt dist-upgrade and autopurge) 67s 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. 68s 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. 72s autopkgtest [07:02:05]: testbed running kernel: Linux 6.19.0-3-generic #3-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 23 19:46:27 UTC 2026 72s autopkgtest [07:02:05]: @@@@@@@@@@@@@@@@@@@@ apt-source debmutate 73s Get:1 http://ftpmaster.internal/ubuntu resolute/universe debmutate 0.78 (dsc) [1496 B] 73s 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:06]: testing package debmutate version 0.78 73s autopkgtest [07:02:06]: build not needed 74s autopkgtest [07:02:07]: test testsuite: preparing testbed 74s Reading package lists... 74s Building dependency tree... 74s Reading state information... 74s Solving dependencies... 75s The following NEW packages will be installed: 75s python3-bs4 python3-debian python3-debmutate python3-merge3 python3-pcre2 75s python3-semver python3-soupsieve python3-tomlkit python3-tr 75s 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. 75s Need to get 469 kB of archives. 75s After this operation, 2444 kB of additional disk space will be used. 75s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-soupsieve all 2.8.3-1 [34.0 kB] 75s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-bs4 all 4.14.3-2build1 [84.8 kB] 75s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-debian all 1.0.1ubuntu2 [121 kB] 75s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 python3-pcre2 arm64 0.6.0+ds-1 [110 kB] 75s Get:5 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-merge3 all 0.0.8-1build1 [10.3 kB] 75s Get:6 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-tr all 0.1+git20161102.e74d4bd-1.1build1 [5370 B] 75s Get:7 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-debmutate all 0.78 [47.0 kB] 75s Get:8 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-semver all 3.0.2-1 [16.3 kB] 75s Get:9 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-tomlkit all 0.13.3-2 [39.1 kB] 76s Fetched 469 kB in 0s (1256 kB/s) 76s Selecting previously unselected package python3-soupsieve. 76s (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 ... 136605 files and directories currently installed.) 76s Preparing to unpack .../0-python3-soupsieve_2.8.3-1_all.deb ... 76s Unpacking python3-soupsieve (2.8.3-1) ... 76s Selecting previously unselected package python3-bs4. 76s Preparing to unpack .../1-python3-bs4_4.14.3-2build1_all.deb ... 76s Unpacking python3-bs4 (4.14.3-2build1) ... 76s Selecting previously unselected package python3-debian. 76s Preparing to unpack .../2-python3-debian_1.0.1ubuntu2_all.deb ... 76s Unpacking python3-debian (1.0.1ubuntu2) ... 76s Selecting previously unselected package python3-pcre2. 76s Preparing to unpack .../3-python3-pcre2_0.6.0+ds-1_arm64.deb ... 76s Unpacking python3-pcre2 (0.6.0+ds-1) ... 76s Selecting previously unselected package python3-merge3. 76s Preparing to unpack .../4-python3-merge3_0.0.8-1build1_all.deb ... 76s Unpacking python3-merge3 (0.0.8-1build1) ... 76s Selecting previously unselected package python3-tr. 76s Preparing to unpack .../5-python3-tr_0.1+git20161102.e74d4bd-1.1build1_all.deb ... 76s Unpacking python3-tr (0.1+git20161102.e74d4bd-1.1build1) ... 76s Selecting previously unselected package python3-debmutate. 76s Preparing to unpack .../6-python3-debmutate_0.78_all.deb ... 76s Unpacking python3-debmutate (0.78) ... 76s Selecting previously unselected package python3-semver. 76s Preparing to unpack .../7-python3-semver_3.0.2-1_all.deb ... 76s Unpacking python3-semver (3.0.2-1) ... 76s Selecting previously unselected package python3-tomlkit. 76s Preparing to unpack .../8-python3-tomlkit_0.13.3-2_all.deb ... 76s Unpacking python3-tomlkit (0.13.3-2) ... 76s Setting up python3-semver (3.0.2-1) ... 76s Setting up python3-merge3 (0.0.8-1build1) ... 76s Setting up python3-debian (1.0.1ubuntu2) ... 76s Setting up python3-tr (0.1+git20161102.e74d4bd-1.1build1) ... 76s Setting up python3-tomlkit (0.13.3-2) ... 77s Setting up python3-soupsieve (2.8.3-1) ... 77s Setting up python3-pcre2 (0.6.0+ds-1) ... 77s Setting up python3-bs4 (4.14.3-2build1) ... 77s Setting up python3-debmutate (0.78) ... 77s Processing triggers for man-db (2.13.1-1build1) ... 78s autopkgtest [07:02:11]: test testsuite: [----------------------- 79s ................./tmp/autopkgtest.l1yxPN/build.IQR/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). 79s timestamp=datetime.utcfromtimestamp(1604934305), 79s .............................../tmp/autopkgtest.l1yxPN/build.IQR/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). 79s timestamp=datetime.utcfromtimestamp(1604934305), 79s ./tmp/autopkgtest.l1yxPN/build.IQR/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). 79s timestamp=datetime.utcfromtimestamp(1604934305), 79s ./tmp/autopkgtest.l1yxPN/build.IQR/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). 79s Version("0.29"), timestamp=datetime.utcfromtimestamp(1604934305) 79s ..Unexpected line while looking for first heading: lalalalala 79s Found eof where expected first heading 79s ..............................................................................sed -e 's/@lintian-brush-test@/testvalue/' < debian/control.in > debian/control 79s .sed -e 's/@OTHERSTUFF@/Vcs-Git: example.com/' < debian/control.in > debian/control 79s .sed -e 's/@lintian-brush-test@/testvalue/' < debian/control.in > debian/control 79s .s.............................................................................................................................................E.........EEEE........EE.................... 79s ====================================================================== 79s ERROR: test_html_search (tests.test_watch.HtmlSearchTests.test_html_search) 79s ---------------------------------------------------------------------- 79s Traceback (most recent call last): 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/debmutate/watch.py", line 259, in html_search 79s yield (m.substring(1), urljoin(base_url, m.substring(0))) 79s ^^^^^^^^^^^ 79s AttributeError: 'NoneType' object has no attribute 'substring' 79s 79s During handling of the above exception, another exception occurred: 79s 79s Traceback (most recent call last): 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/tests/test_watch.py", line 449, in test_html_search 79s list( 79s ~~~~^ 79s html_search( 79s ^^^^^^^^^^^^ 79s body, "/foo-(\\d+\\.\\d+)\\.tar\\.gz", "https://example.com/" 79s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 79s ) 79s ^ 79s ), 79s ^ 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/debmutate/watch.py", line 260, in html_search 79s except pcre2.exceptions.MatchError: 79s ^^^^^^^^^^^^^^^^ 79s AttributeError: module 'pcre2' has no attribute 'exceptions' 79s 79s ====================================================================== 79s ERROR: test_parse_subst_expr (tests.test_watch.ParseWatchFileTests.test_parse_subst_expr) 79s ---------------------------------------------------------------------- 79s Traceback (most recent call last): 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/debmutate/watch.py", line 332, in uversionmangle 79s return apply_sed_expr(vm, version) 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/debmutate/watch.py", line 209, in apply_sed_expr 79s return cast(str, pcre2.substitute(pattern, replacement, orig)) 79s ^^^^^^^^^^^^^^^^ 79s AttributeError: module 'pcre2' has no attribute 'substitute' 79s 79s During handling of the above exception, another exception occurred: 79s 79s Traceback (most recent call last): 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/tests/test_watch.py", line 311, in test_parse_subst_expr 79s self.assertEqual("1.0", wf.entries[0].uversionmangle("1.0")) 79s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^ 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/debmutate/watch.py", line 333, in uversionmangle 79s except pcre2.exceptions.LibraryError as e: 79s ^^^^^^^^^^^^^^^^ 79s AttributeError: module 'pcre2' has no attribute 'exceptions' 79s 79s ====================================================================== 79s ERROR: test_parse_subst_expr_escape (tests.test_watch.ParseWatchFileTests.test_parse_subst_expr_escape) 79s ---------------------------------------------------------------------- 79s Traceback (most recent call last): 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/debmutate/watch.py", line 332, in uversionmangle 79s return apply_sed_expr(vm, version) 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/debmutate/watch.py", line 209, in apply_sed_expr 79s return cast(str, pcre2.substitute(pattern, replacement, orig)) 79s ^^^^^^^^^^^^^^^^ 79s AttributeError: module 'pcre2' has no attribute 'substitute' 79s 79s During handling of the above exception, another exception occurred: 79s 79s Traceback (most recent call last): 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/tests/test_watch.py", line 364, in test_parse_subst_expr_escape 79s self.assertEqual("1.0", wf.entries[0].uversionmangle("1.0")) 79s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^ 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/debmutate/watch.py", line 333, in uversionmangle 79s except pcre2.exceptions.LibraryError as e: 79s ^^^^^^^^^^^^^^^^ 79s AttributeError: module 'pcre2' has no attribute 'exceptions' 79s 79s ====================================================================== 79s ERROR: test_parse_subst_expr_invalid (tests.test_watch.ParseWatchFileTests.test_parse_subst_expr_invalid) 79s ---------------------------------------------------------------------- 79s Traceback (most recent call last): 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/debmutate/watch.py", line 332, in uversionmangle 79s return apply_sed_expr(vm, version) 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/debmutate/watch.py", line 206, in apply_sed_expr 79s (kind, (pattern, replacement, flags)) = parse_sed_expr(vm) 79s ~~~~~~~~~~~~~~^^^^ 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/debmutate/watch.py", line 161, in parse_sed_expr 79s return ("s", parse_subst_expr(vm)) 79s ~~~~~~~~~~~~~~~~^^^^ 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/debmutate/watch.py", line 174, in parse_subst_expr 79s raise InvalidUVersionMangle(vm) 79s debmutate.watch.InvalidUVersionMangle: s/(\d)[_\.\-\+]?((RC|rc|pre|alpha)\d*)$$1~$2 79s 79s During handling of the above exception, another exception occurred: 79s 79s Traceback (most recent call last): 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/tests/test_watch.py", line 393, in test_parse_subst_expr_invalid 79s self.assertRaises( 79s ~~~~~~~~~~~~~~~~~^ 79s InvalidUVersionMangle, wf.entries[0].uversionmangle, "1.0alpha1" 79s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 79s ) 79s ^ 79s File "/usr/lib/python3.13/unittest/case.py", line 795, in assertRaises 79s return context.handle('assertRaises', args, kwargs) 79s ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 79s File "/usr/lib/python3.13/unittest/case.py", line 238, in handle 79s callable_obj(*args, **kwargs) 79s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/debmutate/watch.py", line 333, in uversionmangle 79s except pcre2.exceptions.LibraryError as e: 79s ^^^^^^^^^^^^^^^^ 79s AttributeError: module 'pcre2' has no attribute 'exceptions' 79s 79s ====================================================================== 79s ERROR: test_parse_subst_expr_percent (tests.test_watch.ParseWatchFileTests.test_parse_subst_expr_percent) 79s ---------------------------------------------------------------------- 79s Traceback (most recent call last): 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/debmutate/watch.py", line 332, in uversionmangle 79s return apply_sed_expr(vm, version) 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/debmutate/watch.py", line 209, in apply_sed_expr 79s return cast(str, pcre2.substitute(pattern, replacement, orig)) 79s ^^^^^^^^^^^^^^^^ 79s AttributeError: module 'pcre2' has no attribute 'substitute' 79s 79s During handling of the above exception, another exception occurred: 79s 79s Traceback (most recent call last): 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/tests/test_watch.py", line 379, in test_parse_subst_expr_percent 79s self.assertEqual("1.0", wf.entries[0].uversionmangle("1.0")) 79s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^ 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/debmutate/watch.py", line 333, in uversionmangle 79s except pcre2.exceptions.LibraryError as e: 79s ^^^^^^^^^^^^^^^^ 79s AttributeError: module 'pcre2' has no attribute 'exceptions' 79s 79s ====================================================================== 79s ERROR: test_plain_search (tests.test_watch.PlainSearchTests.test_plain_search) 79s ---------------------------------------------------------------------- 79s Traceback (most recent call last): 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/tests/test_watch.py", line 488, in test_plain_search 79s list( 79s ~~~~^ 79s plain_search( 79s ^^^^^^^^^^^^^ 79s body, "foo-(\\d+\\.\\d+)\\.tar\\.gz", "https://example.com/" 79s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 79s ) 79s ^ 79s ), 79s ^ 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/debmutate/watch.py", line 267, in plain_search 79s for m in pcre2.scan(matching_pattern.encode(), body): 79s ^^^^^^^^^^ 79s AttributeError: module 'pcre2' has no attribute 'scan' 79s 79s ====================================================================== 79s ERROR: test_search (tests.test_watch.SearchTests.test_search) 79s ---------------------------------------------------------------------- 79s Traceback (most recent call last): 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/debmutate/watch.py", line 259, in html_search 79s yield (m.substring(1), urljoin(base_url, m.substring(0))) 79s ^^^^^^^^^^^ 79s AttributeError: 'NoneType' object has no attribute 'substring' 79s 79s During handling of the above exception, another exception occurred: 79s 79s Traceback (most recent call last): 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/tests/test_watch.py", line 540, in test_search 79s list( 79s ~~~~^ 79s search( 79s ^^^^^^^ 79s ...<5 lines>... 79s ) 79s ^ 79s ), 79s ^ 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/debmutate/watch.py", line 291, in search 79s yield from searchers[searchmode]( 79s resp.read(), _subst(matching_pattern, package), url 79s ) 79s File "/tmp/autopkgtest.l1yxPN/build.IQR/src/debmutate/watch.py", line 260, in html_search 79s except pcre2.exceptions.MatchError: 79s ^^^^^^^^^^^^^^^^ 79s AttributeError: module 'pcre2' has no attribute 'exceptions' 79s 79s ---------------------------------------------------------------------- 79s Ran 319 tests in 0.247s 79s 79s FAILED (errors=7, skipped=1) 79s autopkgtest [07:02:12]: test testsuite: -----------------------] 80s autopkgtest [07:02:13]: test testsuite: - - - - - - - - - - results - - - - - - - - - - 80s testsuite FAIL non-zero exit status 1 80s autopkgtest [07:02:13]: @@@@@@@@@@@@@@@@@@@@ summary 80s testsuite FAIL non-zero exit status 1