0s autopkgtest [10:05:10]: starting date and time: 2024-11-13 10:05:10+0000 0s autopkgtest [10:05:10]: git checkout: 0acbae0a WIP show VirtSubproc stderr in real-time 0s autopkgtest [10:05:10]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.cogpmtdn/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults,src:python3-stdlib-extensions --apt-upgrade pystemd --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-33.secgroup --name adt-plucky-arm64-pystemd-20241113-100509-juju-7f2275-prod-proposed-migration-environment-2-7c9b21a4-bf2a-46df-b22e-1a18472dd5b3 --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 75s autopkgtest [10:06:25]: testbed dpkg architecture: arm64 75s autopkgtest [10:06:25]: testbed apt version: 2.9.8 75s autopkgtest [10:06:25]: @@@@@@@@@@@@@@@@@@@@ test bed setup 76s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 77s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 77s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 77s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [76.4 kB] 77s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [849 kB] 77s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [104 kB] 77s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [50.3 kB] 77s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [601 kB] 77s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [17.1 kB] 77s Fetched 1794 kB in 1s (1904 kB/s) 77s Reading package lists... 80s Reading package lists... 81s Building dependency tree... 81s Reading state information... 81s Calculating upgrade... 82s The following NEW packages will be installed: 82s python3.13-gdbm 82s The following packages will be upgraded: 82s libpython3-stdlib python3 python3-gdbm python3-minimal 83s 4 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 83s Need to get 101 kB of archives. 83s After this operation, 141 kB of additional disk space will be used. 83s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-minimal arm64 3.12.7-1 [27.4 kB] 83s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3 arm64 3.12.7-1 [24.0 kB] 83s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libpython3-stdlib arm64 3.12.7-1 [10.0 kB] 83s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-gdbm arm64 3.13.0-2 [30.7 kB] 83s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-gdbm arm64 3.12.7-1 [8642 B] 84s Fetched 101 kB in 0s (250 kB/s) 84s (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 ... 79924 files and directories currently installed.) 84s Preparing to unpack .../python3-minimal_3.12.7-1_arm64.deb ... 84s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 84s Setting up python3-minimal (3.12.7-1) ... 84s (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 ... 79924 files and directories currently installed.) 84s Preparing to unpack .../python3_3.12.7-1_arm64.deb ... 85s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 85s Preparing to unpack .../libpython3-stdlib_3.12.7-1_arm64.deb ... 85s Unpacking libpython3-stdlib:arm64 (3.12.7-1) over (3.12.6-0ubuntu1) ... 85s Selecting previously unselected package python3.13-gdbm. 85s Preparing to unpack .../python3.13-gdbm_3.13.0-2_arm64.deb ... 85s Unpacking python3.13-gdbm (3.13.0-2) ... 85s Preparing to unpack .../python3-gdbm_3.12.7-1_arm64.deb ... 85s Unpacking python3-gdbm:arm64 (3.12.7-1) over (3.12.6-1ubuntu1) ... 85s Setting up python3.13-gdbm (3.13.0-2) ... 85s Setting up libpython3-stdlib:arm64 (3.12.7-1) ... 85s Setting up python3 (3.12.7-1) ... 85s Setting up python3-gdbm:arm64 (3.12.7-1) ... 85s Processing triggers for man-db (2.12.1-3) ... 87s Reading package lists... 87s Building dependency tree... 87s Reading state information... 88s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 88s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 88s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 88s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 89s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 91s Reading package lists... 91s Reading package lists... 91s Building dependency tree... 91s Reading state information... 92s Calculating upgrade... 93s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 93s Reading package lists... 93s Building dependency tree... 93s Reading state information... 94s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 98s autopkgtest [10:06:48]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 99s autopkgtest [10:06:49]: @@@@@@@@@@@@@@@@@@@@ apt-source pystemd 100s Get:1 http://ftpmaster.internal/ubuntu plucky/universe pystemd 0.13.2-2 (dsc) [2172 B] 100s Get:2 http://ftpmaster.internal/ubuntu plucky/universe pystemd 0.13.2-2 (tar) [308 kB] 100s Get:3 http://ftpmaster.internal/ubuntu plucky/universe pystemd 0.13.2-2 (diff) [3268 B] 101s gpgv: Signature made Wed Mar 27 14:34:41 2024 UTC 101s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 101s gpgv: issuer "tchet@debian.org" 101s gpgv: Can't check signature: No public key 101s dpkg-source: warning: cannot verify inline signature for ./pystemd_0.13.2-2.dsc: no acceptable signature found 101s autopkgtest [10:06:51]: testing package pystemd version 0.13.2-2 101s autopkgtest [10:06:51]: build not needed 102s autopkgtest [10:06:52]: test upstream-unittests: preparing testbed 104s Reading package lists... 104s Building dependency tree... 104s Reading state information... 105s Starting pkgProblemResolver with broken count: 0 105s Starting 2 pkgProblemResolver with broken count: 0 105s Done 107s The following additional packages will be installed: 107s libpython3.13-minimal libpython3.13-stdlib libxslt1.1 python3-all 107s python3-lxml python3-psutil python3-pystemd python3.13 python3.13-minimal 107s Suggested packages: 107s python-lxml-doc python3.13-venv python3.13-doc binfmt-support 107s Recommended packages: 107s python3-bs4 python3-cssselect python3-html5lib 107s The following NEW packages will be installed: 107s autopkgtest-satdep libpython3.13-minimal libpython3.13-stdlib libxslt1.1 107s python3-all python3-lxml python3-psutil python3-pystemd python3.13 107s python3.13-minimal 107s 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. 107s Need to get 7644 kB/7645 kB of archives. 107s After this operation, 34.4 MB of additional disk space will be used. 107s Get:1 /tmp/autopkgtest.Vi0oNM/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [716 B] 107s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-minimal arm64 3.13.0-2 [877 kB] 107s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-minimal arm64 3.13.0-2 [2100 kB] 108s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-stdlib arm64 3.13.0-2 [2073 kB] 108s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libxslt1.1 arm64 1.1.39-0exp1ubuntu1 [167 kB] 108s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13 arm64 3.13.0-2 [719 kB] 108s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-all arm64 3.12.7-1 [890 B] 108s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-lxml arm64 5.3.0-1 [1205 kB] 108s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-psutil arm64 5.9.8-2build2 [196 kB] 108s Get:10 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pystemd arm64 0.13.2-2 [306 kB] 108s Fetched 7644 kB in 1s (8496 kB/s) 108s Selecting previously unselected package libpython3.13-minimal:arm64. 108s (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 ... 79931 files and directories currently installed.) 108s Preparing to unpack .../0-libpython3.13-minimal_3.13.0-2_arm64.deb ... 108s Unpacking libpython3.13-minimal:arm64 (3.13.0-2) ... 108s Selecting previously unselected package python3.13-minimal. 109s Preparing to unpack .../1-python3.13-minimal_3.13.0-2_arm64.deb ... 109s Unpacking python3.13-minimal (3.13.0-2) ... 109s Selecting previously unselected package libpython3.13-stdlib:arm64. 109s Preparing to unpack .../2-libpython3.13-stdlib_3.13.0-2_arm64.deb ... 109s Unpacking libpython3.13-stdlib:arm64 (3.13.0-2) ... 109s Selecting previously unselected package libxslt1.1:arm64. 109s Preparing to unpack .../3-libxslt1.1_1.1.39-0exp1ubuntu1_arm64.deb ... 109s Unpacking libxslt1.1:arm64 (1.1.39-0exp1ubuntu1) ... 109s Selecting previously unselected package python3.13. 109s Preparing to unpack .../4-python3.13_3.13.0-2_arm64.deb ... 109s Unpacking python3.13 (3.13.0-2) ... 109s Selecting previously unselected package python3-all. 109s Preparing to unpack .../5-python3-all_3.12.7-1_arm64.deb ... 109s Unpacking python3-all (3.12.7-1) ... 109s Selecting previously unselected package python3-lxml:arm64. 109s Preparing to unpack .../6-python3-lxml_5.3.0-1_arm64.deb ... 109s Unpacking python3-lxml:arm64 (5.3.0-1) ... 109s Selecting previously unselected package python3-psutil. 109s Preparing to unpack .../7-python3-psutil_5.9.8-2build2_arm64.deb ... 109s Unpacking python3-psutil (5.9.8-2build2) ... 109s Selecting previously unselected package python3-pystemd. 109s Preparing to unpack .../8-python3-pystemd_0.13.2-2_arm64.deb ... 109s Unpacking python3-pystemd (0.13.2-2) ... 109s Selecting previously unselected package autopkgtest-satdep. 109s Preparing to unpack .../9-1-autopkgtest-satdep.deb ... 109s Unpacking autopkgtest-satdep (0) ... 110s Setting up python3-psutil (5.9.8-2build2) ... 111s Setting up libpython3.13-minimal:arm64 (3.13.0-2) ... 111s Setting up libxslt1.1:arm64 (1.1.39-0exp1ubuntu1) ... 111s Setting up python3.13-minimal (3.13.0-2) ... 112s Setting up libpython3.13-stdlib:arm64 (3.13.0-2) ... 112s Setting up python3.13 (3.13.0-2) ... 114s Setting up python3-all (3.12.7-1) ... 114s Setting up python3-lxml:arm64 (5.3.0-1) ... 114s Setting up python3-pystemd (0.13.2-2) ... 115s Setting up autopkgtest-satdep (0) ... 115s Processing triggers for systemd (256.5-2ubuntu4) ... 115s Processing triggers for man-db (2.12.1-3) ... 115s Processing triggers for libc-bin (2.40-1ubuntu3) ... 122s (Reading database ... 80929 files and directories currently installed.) 122s Removing autopkgtest-satdep (0) ... 122s autopkgtest [10:07:12]: test upstream-unittests: [----------------------- 123s test_base (unittest.loader._FailedTest.test_base) ... ERROR 123s test_daemon (unittest.loader._FailedTest.test_daemon) ... ERROR 123s test_dbus_arg_parsing (unittest.loader._FailedTest.test_dbus_arg_parsing) ... ERROR 123s test_dbuslib (unittest.loader._FailedTest.test_dbuslib) ... ERROR 123s test_futures (unittest.loader._FailedTest.test_futures) ... ERROR 123s test_journal (unittest.loader._FailedTest.test_journal) ... ERROR 123s test_unit_signatures (unittest.loader._FailedTest.test_unit_signatures) ... ERROR 123s test_utils (unittest.loader._FailedTest.test_utils) ... ERROR 123s 123s ====================================================================== 123s ERROR: test_base (unittest.loader._FailedTest.test_base) 123s ---------------------------------------------------------------------- 123s ImportError: Failed to import test module: test_base 123s Traceback (most recent call last): 123s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 123s module = self._get_module_from_name(name) 123s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 123s __import__(name) 123s ~~~~~~~~~~^^^^^^ 123s File "/tmp/autopkgtest.Vi0oNM/autopkgtest_tmp/tests/test_base.py", line 13, in 123s from lxml import etree 123s ImportError: cannot import name 'etree' from 'lxml' (/usr/lib/python3/dist-packages/lxml/__init__.py) 123s 123s 123s ====================================================================== 123s ERROR: test_daemon (unittest.loader._FailedTest.test_daemon) 123s ---------------------------------------------------------------------- 123s ImportError: Failed to import test module: test_daemon 123s Traceback (most recent call last): 123s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 123s module = self._get_module_from_name(name) 123s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 123s __import__(name) 123s ~~~~~~~~~~^^^^^^ 123s File "/tmp/autopkgtest.Vi0oNM/autopkgtest_tmp/tests/test_daemon.py", line 12, in 123s from pystemd import daemon 123s File "/usr/lib/python3/dist-packages/pystemd/__init__.py", line 102, in 123s from pystemd import DBus, __version__, machine1, systemd1 123s File "/usr/lib/python3/dist-packages/pystemd/DBus/__init__.py", line 9, in 123s from pystemd.base import SDObject 123s File "/usr/lib/python3/dist-packages/pystemd/base.py", line 12, in 123s from lxml import etree 123s ImportError: cannot import name 'etree' from 'lxml' (/usr/lib/python3/dist-packages/lxml/__init__.py) 123s 123s 123s ====================================================================== 123s ERROR: test_dbus_arg_parsing (unittest.loader._FailedTest.test_dbus_arg_parsing) 123s ---------------------------------------------------------------------- 123s ImportError: Failed to import test module: test_dbus_arg_parsing 123s Traceback (most recent call last): 123s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 123s module = self._get_module_from_name(name) 123s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 123s __import__(name) 123s ~~~~~~~~~~^^^^^^ 123s File "/tmp/autopkgtest.Vi0oNM/autopkgtest_tmp/tests/test_dbus_arg_parsing.py", line 12, in 123s from pystemd.dbuslib import ( 123s ...<5 lines>... 123s ) 123s File "/usr/lib/python3/dist-packages/pystemd/__init__.py", line 102, in 123s from pystemd import DBus, __version__, machine1, systemd1 123s File "/usr/lib/python3/dist-packages/pystemd/DBus/__init__.py", line 9, in 123s from pystemd.base import SDObject 123s File "/usr/lib/python3/dist-packages/pystemd/base.py", line 12, in 123s from lxml import etree 123s ImportError: cannot import name 'etree' from 'lxml' (/usr/lib/python3/dist-packages/lxml/__init__.py) 123s 123s 123s ====================================================================== 123s ERROR: test_dbuslib (unittest.loader._FailedTest.test_dbuslib) 123s ---------------------------------------------------------------------- 123s ImportError: Failed to import test module: test_dbuslib 123s Traceback (most recent call last): 123s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 123s module = self._get_module_from_name(name) 123s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 123s __import__(name) 123s ~~~~~~~~~~^^^^^^ 123s File "/tmp/autopkgtest.Vi0oNM/autopkgtest_tmp/tests/test_dbuslib.py", line 16, in 123s from pystemd.dbusexc import DBusConnectionRefusedError, DBusFileNotFoundError 123s File "/usr/lib/python3/dist-packages/pystemd/__init__.py", line 102, in 123s from pystemd import DBus, __version__, machine1, systemd1 123s File "/usr/lib/python3/dist-packages/pystemd/DBus/__init__.py", line 9, in 123s from pystemd.base import SDObject 123s File "/usr/lib/python3/dist-packages/pystemd/base.py", line 12, in 123s from lxml import etree 123s ImportError: cannot import name 'etree' from 'lxml' (/usr/lib/python3/dist-packages/lxml/__init__.py) 123s 123s 123s ====================================================================== 123s ERROR: test_futures (unittest.loader._FailedTest.test_futures) 123s ---------------------------------------------------------------------- 123s ImportError: Failed to import test module: test_futures 123s Traceback (most recent call last): 123s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 123s module = self._get_module_from_name(name) 123s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 123s __import__(name) 123s ~~~~~~~~~~^^^^^^ 123s File "/tmp/autopkgtest.Vi0oNM/autopkgtest_tmp/tests/test_futures.py", line 10, in 123s import pystemd.futures 123s File "/usr/lib/python3/dist-packages/pystemd/__init__.py", line 102, in 123s from pystemd import DBus, __version__, machine1, systemd1 123s File "/usr/lib/python3/dist-packages/pystemd/DBus/__init__.py", line 9, in 123s from pystemd.base import SDObject 123s File "/usr/lib/python3/dist-packages/pystemd/base.py", line 12, in 123s from lxml import etree 123s ImportError: cannot import name 'etree' from 'lxml' (/usr/lib/python3/dist-packages/lxml/__init__.py) 123s 123s 123s ====================================================================== 123s ERROR: test_journal (unittest.loader._FailedTest.test_journal) 123s ---------------------------------------------------------------------- 123s ImportError: Failed to import test module: test_journal 123s Traceback (most recent call last): 123s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 123s module = self._get_module_from_name(name) 123s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 123s __import__(name) 123s ~~~~~~~~~~^^^^^^ 123s File "/tmp/autopkgtest.Vi0oNM/autopkgtest_tmp/tests/test_journal.py", line 13, in 123s import pystemd.journal 123s File "/usr/lib/python3/dist-packages/pystemd/__init__.py", line 102, in 123s from pystemd import DBus, __version__, machine1, systemd1 123s File "/usr/lib/python3/dist-packages/pystemd/DBus/__init__.py", line 9, in 123s from pystemd.base import SDObject 123s File "/usr/lib/python3/dist-packages/pystemd/base.py", line 12, in 123s from lxml import etree 123s ImportError: cannot import name 'etree' from 'lxml' (/usr/lib/python3/dist-packages/lxml/__init__.py) 123s 123s 123s ====================================================================== 123s ERROR: test_unit_signatures (unittest.loader._FailedTest.test_unit_signatures) 123s ---------------------------------------------------------------------- 123s ImportError: Failed to import test module: test_unit_signatures 123s Traceback (most recent call last): 123s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 123s module = self._get_module_from_name(name) 123s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 123s __import__(name) 123s ~~~~~~~~~~^^^^^^ 123s File "/tmp/autopkgtest.Vi0oNM/autopkgtest_tmp/tests/test_unit_signatures.py", line 12, in 123s import pystemd.systemd1.unit_signatures 123s File "/usr/lib/python3/dist-packages/pystemd/__init__.py", line 102, in 123s from pystemd import DBus, __version__, machine1, systemd1 123s File "/usr/lib/python3/dist-packages/pystemd/DBus/__init__.py", line 9, in 123s from pystemd.base import SDObject 123s File "/usr/lib/python3/dist-packages/pystemd/base.py", line 12, in 123s from lxml import etree 123s ImportError: cannot import name 'etree' from 'lxml' (/usr/lib/python3/dist-packages/lxml/__init__.py) 123s 123s 123s ====================================================================== 123s ERROR: test_utils (unittest.loader._FailedTest.test_utils) 123s ---------------------------------------------------------------------- 123s ImportError: Failed to import test module: test_utils 123s Traceback (most recent call last): 123s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 123s module = self._get_module_from_name(name) 123s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 123s __import__(name) 123s ~~~~~~~~~~^^^^^^ 123s File "/tmp/autopkgtest.Vi0oNM/autopkgtest_tmp/tests/test_utils.py", line 14, in 123s from pystemd.utils import x2char_star, x2cmdlist 123s File "/usr/lib/python3/dist-packages/pystemd/__init__.py", line 102, in 123s from pystemd import DBus, __version__, machine1, systemd1 123s File "/usr/lib/python3/dist-packages/pystemd/DBus/__init__.py", line 9, in 123s from pystemd.base import SDObject 123s File "/usr/lib/python3/dist-packages/pystemd/base.py", line 12, in 123s from lxml import etree 123s ImportError: cannot import name 'etree' from 'lxml' (/usr/lib/python3/dist-packages/lxml/__init__.py) 123s 123s 123s ---------------------------------------------------------------------- 123s Ran 8 tests in 0.001s 123s 123s FAILED (errors=8) 123s autopkgtest [10:07:13]: test upstream-unittests: -----------------------] 124s upstream-unittests FAIL non-zero exit status 1 124s autopkgtest [10:07:14]: test upstream-unittests: - - - - - - - - - - results - - - - - - - - - - 124s autopkgtest [10:07:14]: test pystemd-unit: preparing testbed 126s Reading package lists... 127s Building dependency tree... 127s Reading state information... 127s Starting pkgProblemResolver with broken count: 0 127s Starting 2 pkgProblemResolver with broken count: 0 127s Done 129s The following NEW packages will be installed: 129s autopkgtest-satdep 129s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 129s Need to get 0 B/724 B of archives. 129s After this operation, 0 B of additional disk space will be used. 129s Get:1 /tmp/autopkgtest.Vi0oNM/2-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [724 B] 129s Selecting previously unselected package autopkgtest-satdep. 129s (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 ... 80929 files and directories currently installed.) 129s Preparing to unpack .../2-autopkgtest-satdep.deb ... 129s Unpacking autopkgtest-satdep (0) ... 129s Setting up autopkgtest-satdep (0) ... 134s (Reading database ... 80929 files and directories currently installed.) 134s Removing autopkgtest-satdep (0) ... 135s autopkgtest [10:07:25]: test pystemd-unit: [----------------------- 135s Traceback (most recent call last): 135s File "/tmp/autopkgtest.Vi0oNM/autopkgtest_tmp/pystemd_unit", line 1, in 135s from pystemd.systemd1 import Unit 135s File "/usr/lib/python3/dist-packages/pystemd/__init__.py", line 102, in 135s from pystemd import DBus, __version__, machine1, systemd1 135s File "/usr/lib/python3/dist-packages/pystemd/DBus/__init__.py", line 9, in 135s from pystemd.base import SDObject 135s File "/usr/lib/python3/dist-packages/pystemd/base.py", line 12, in 135s from lxml import etree 135s ImportError: cannot import name 'etree' from 'lxml' (/usr/lib/python3/dist-packages/lxml/__init__.py) 136s autopkgtest [10:07:26]: test pystemd-unit: -----------------------] 136s autopkgtest [10:07:26]: test pystemd-unit: - - - - - - - - - - results - - - - - - - - - - 136s pystemd-unit FAIL non-zero exit status 1 136s autopkgtest [10:07:26]: test pystemd-unit: - - - - - - - - - - stderr - - - - - - - - - - 136s Traceback (most recent call last): 136s File "/tmp/autopkgtest.Vi0oNM/autopkgtest_tmp/pystemd_unit", line 1, in 136s from pystemd.systemd1 import Unit 136s File "/usr/lib/python3/dist-packages/pystemd/__init__.py", line 102, in 136s from pystemd import DBus, __version__, machine1, systemd1 136s File "/usr/lib/python3/dist-packages/pystemd/DBus/__init__.py", line 9, in 136s from pystemd.base import SDObject 136s File "/usr/lib/python3/dist-packages/pystemd/base.py", line 12, in 136s from lxml import etree 136s ImportError: cannot import name 'etree' from 'lxml' (/usr/lib/python3/dist-packages/lxml/__init__.py) 137s autopkgtest [10:07:27]: @@@@@@@@@@@@@@@@@@@@ summary 137s upstream-unittests FAIL non-zero exit status 1 137s pystemd-unit FAIL non-zero exit status 1 149s virt: nova [W] Skipping flock in bos03-arm64 149s virt: Creating nova instance adt-plucky-arm64-pystemd-20241113-100509-juju-7f2275-prod-proposed-migration-environment-2-7c9b21a4-bf2a-46df-b22e-1a18472dd5b3 from image adt/ubuntu-plucky-arm64-server-20241113.img (UUID 2d7760e6-2439-4200-89d6-5ed33e5c6330)...