0s autopkgtest [00:27:34]: starting date and time: 2024-11-14 00:27:34+0000 0s autopkgtest [00:27:34]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [00:27:34]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.xjabclbb/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_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\n" >> /etc/environment' --apt-pocket=proposed=src:python3-defaults,src:python3-stdlib-extensions --apt-upgrade python-pkcs11 --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' -- lxd -r lxd-armhf-10.145.243.51 lxd-armhf-10.145.243.51:autopkgtest/ubuntu/plucky/armhf 52s autopkgtest [00:28:26]: testbed dpkg architecture: armhf 54s autopkgtest [00:28:28]: testbed apt version: 2.9.8 54s autopkgtest [00:28:28]: @@@@@@@@@@@@@@@@@@@@ test bed setup 61s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 62s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 62s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [101 kB] 62s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [17.2 kB] 62s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [971 kB] 62s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [104 kB] 62s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [668 kB] 62s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [17.2 kB] 62s Fetched 1958 kB in 1s (1961 kB/s) 62s Reading package lists... 79s tee: /proc/self/fd/2: Permission denied 100s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 100s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 101s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 101s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 102s Reading package lists... 103s Reading package lists... 103s Building dependency tree... 103s Reading state information... 103s Calculating upgrade... 104s The following NEW packages will be installed: 104s python3.13-gdbm 104s The following packages will be upgraded: 104s libgnutls30t64 libjson-glib-1.0-0 libjson-glib-1.0-common libnewt0.52 104s libpython3-stdlib libutempter0 python3 python3-gdbm python3-minimal 104s python3-newt whiptail 104s 11 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 104s Need to get 1207 kB of archives. 104s After this operation, 124 kB of additional disk space will be used. 104s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-minimal armhf 3.12.7-1 [27.4 kB] 104s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3 armhf 3.12.7-1 [24.0 kB] 104s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libpython3-stdlib armhf 3.12.7-1 [10.0 kB] 104s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libgnutls30t64 armhf 3.8.8-2ubuntu1 [955 kB] 104s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf python3-newt armhf 0.52.24-2ubuntu4 [19.7 kB] 104s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libnewt0.52 armhf 0.52.24-2ubuntu4 [39.2 kB] 104s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf whiptail armhf 0.52.24-2ubuntu4 [17.2 kB] 104s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.0-2 [29.5 kB] 104s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-gdbm armhf 3.12.7-1 [8642 B] 104s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.0+ds-3 [5586 B] 104s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.0+ds-3 [61.7 kB] 104s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libutempter0 armhf 1.2.1-4 [9062 B] 105s Fetched 1207 kB in 1s (2087 kB/s) 105s (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 ... 59559 files and directories currently installed.) 105s Preparing to unpack .../python3-minimal_3.12.7-1_armhf.deb ... 105s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 105s Setting up python3-minimal (3.12.7-1) ... 105s (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 ... 59559 files and directories currently installed.) 105s Preparing to unpack .../python3_3.12.7-1_armhf.deb ... 105s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 105s Preparing to unpack .../libpython3-stdlib_3.12.7-1_armhf.deb ... 105s Unpacking libpython3-stdlib:armhf (3.12.7-1) over (3.12.6-0ubuntu1) ... 105s Preparing to unpack .../libgnutls30t64_3.8.8-2ubuntu1_armhf.deb ... 105s Unpacking libgnutls30t64:armhf (3.8.8-2ubuntu1) over (3.8.6-2ubuntu1) ... 105s Setting up libgnutls30t64:armhf (3.8.8-2ubuntu1) ... 105s (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 ... 59559 files and directories currently installed.) 105s Preparing to unpack .../0-python3-newt_0.52.24-2ubuntu4_armhf.deb ... 105s Unpacking python3-newt:armhf (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 106s Preparing to unpack .../1-libnewt0.52_0.52.24-2ubuntu4_armhf.deb ... 106s Unpacking libnewt0.52:armhf (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 106s Preparing to unpack .../2-whiptail_0.52.24-2ubuntu4_armhf.deb ... 106s Unpacking whiptail (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 106s Selecting previously unselected package python3.13-gdbm. 106s Preparing to unpack .../3-python3.13-gdbm_3.13.0-2_armhf.deb ... 106s Unpacking python3.13-gdbm (3.13.0-2) ... 106s Preparing to unpack .../4-python3-gdbm_3.12.7-1_armhf.deb ... 106s Unpacking python3-gdbm:armhf (3.12.7-1) over (3.12.6-1ubuntu1) ... 106s Preparing to unpack .../5-libjson-glib-1.0-common_1.10.0+ds-3_all.deb ... 106s Unpacking libjson-glib-1.0-common (1.10.0+ds-3) over (1.10.0+ds-2) ... 106s Preparing to unpack .../6-libjson-glib-1.0-0_1.10.0+ds-3_armhf.deb ... 106s Unpacking libjson-glib-1.0-0:armhf (1.10.0+ds-3) over (1.10.0+ds-2) ... 106s Preparing to unpack .../7-libutempter0_1.2.1-4_armhf.deb ... 106s Unpacking libutempter0:armhf (1.2.1-4) over (1.2.1-3build1) ... 106s Setting up libnewt0.52:armhf (0.52.24-2ubuntu4) ... 106s Setting up libutempter0:armhf (1.2.1-4) ... 106s Setting up whiptail (0.52.24-2ubuntu4) ... 106s Setting up libjson-glib-1.0-common (1.10.0+ds-3) ... 106s Setting up python3.13-gdbm (3.13.0-2) ... 106s Setting up libpython3-stdlib:armhf (3.12.7-1) ... 106s Setting up python3 (3.12.7-1) ... 106s Setting up python3-newt:armhf (0.52.24-2ubuntu4) ... 106s Setting up libjson-glib-1.0-0:armhf (1.10.0+ds-3) ... 106s Setting up python3-gdbm:armhf (3.12.7-1) ... 106s Processing triggers for man-db (2.12.1-3) ... 107s Processing triggers for libc-bin (2.40-1ubuntu3) ... 107s Reading package lists... 108s Building dependency tree... 108s Reading state information... 108s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 110s autopkgtest [00:29:24]: rebooting testbed after setup commands that affected boot 177s autopkgtest [00:30:31]: testbed running kernel: Linux 6.8.0-48-generic #48~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 7 11:49:53 UTC 2 204s autopkgtest [00:30:58]: @@@@@@@@@@@@@@@@@@@@ apt-source python-pkcs11 214s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-pkcs11 0.7.0-1build2 (dsc) [2400 B] 214s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-pkcs11 0.7.0-1build2 (tar) [107 kB] 214s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-pkcs11 0.7.0-1build2 (diff) [7272 B] 214s gpgv: Signature made Wed Apr 10 17:57:46 2024 UTC 214s gpgv: using RSA key 25E3FF2D7F469DBE7D0D4E50AFCFEC8E669CE1C2 214s gpgv: Can't check signature: No public key 214s dpkg-source: warning: cannot verify inline signature for ./python-pkcs11_0.7.0-1build2.dsc: no acceptable signature found 214s autopkgtest [00:31:08]: testing package python-pkcs11 version 0.7.0-1build2 217s autopkgtest [00:31:11]: build not needed 219s autopkgtest [00:31:13]: test pybuild-autopkgtest: preparing testbed 230s Reading package lists... 230s Building dependency tree... 230s Reading state information... 230s Starting pkgProblemResolver with broken count: 0 231s Starting 2 pkgProblemResolver with broken count: 0 231s Done 231s The following additional packages will be installed: 231s autoconf automake autopoint autotools-dev build-essential cpp cpp-14 231s cpp-14-arm-linux-gnueabihf cpp-arm-linux-gnueabihf cython3 debhelper 231s debugedit dh-autoreconf dh-python dh-strip-nondeterminism docutils-common 231s dwz fonts-font-awesome fonts-lato g++ g++-14 g++-14-arm-linux-gnueabihf 231s g++-arm-linux-gnueabihf gcc gcc-14 gcc-14-arm-linux-gnueabihf 231s gcc-arm-linux-gnueabihf gettext intltool-debian libarchive-zip-perl libasan8 231s libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libdebhelper-perl libexpat1-dev 231s libfile-stripnondeterminism-perl libgcc-14-dev libgomp1 libisl23 231s libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl libmpc3 231s libpython3-all-dev libpython3-dev libpython3.12-dev libpython3.12t64 231s libpython3.13 libpython3.13-dev libpython3.13-minimal libpython3.13-stdlib 231s libsofthsm2 libstdc++-14-dev libtool libubsan1 linux-libc-dev m4 po-debconf 231s pybuild-plugin-autopkgtest python3-alabaster python3-all python3-all-dev 231s python3-asn1crypto python3-cached-property python3-defusedxml python3-dev 231s python3-docutils python3-imagesize python3-iniconfig python3-oscrypto 231s python3-packaging python3-pkcs11 python3-pluggy python3-pytest python3-roman 231s python3-setuptools-scm python3-snowballstemmer python3-sphinx 231s python3-sphinx-rtd-theme python3-sphinxcontrib.jquery python3.12-dev 231s python3.13 python3.13-dev python3.13-minimal rpcsvc-proto sgml-base softhsm2 231s softhsm2-common sphinx-common sphinx-rtd-theme-common xml-core zlib1g-dev 231s Suggested packages: 231s autoconf-archive gnu-standards autoconf-doc cpp-doc gcc-14-locales 231s cpp-14-doc cython-doc dh-make flit python3-build python3-installer 231s python3-wheel gcc-14-doc gcc-multilib manpages-dev flex bison gdb gcc-doc 231s gdb-arm-linux-gnueabihf gettext-doc libasprintf-dev libgettextpo-dev 231s libc-devtools glibc-doc libstdc++-14-doc libtool-doc gfortran 231s | fortran95-compiler gcj-jdk m4-doc libmail-box-perl docutils-doc 231s fonts-linuxlibertine | ttf-linux-libertine texlive-lang-french 231s texlive-latex-base texlive-latex-recommended python3-stemmer dvipng dvisvgm 231s fonts-freefont-otf imagemagick-6.q16 latexmk libjs-mathjax sphinx-doc 231s tex-gyre texlive-fonts-extra texlive-fonts-recommended texlive-latex-extra 231s texlive-plain-generic python3.13-venv python3.13-doc binfmt-support 231s sgml-base-doc 231s Recommended packages: 231s manpages manpages-dev libarchive-cpio-perl javascript-common libjson-xs-perl 231s libltdl-dev libmail-sendmail-perl libpaper-utils python3-pil 232s The following NEW packages will be installed: 232s autoconf automake autopkgtest-satdep autopoint autotools-dev build-essential 232s cpp cpp-14 cpp-14-arm-linux-gnueabihf cpp-arm-linux-gnueabihf cython3 232s debhelper debugedit dh-autoreconf dh-python dh-strip-nondeterminism 232s docutils-common dwz fonts-font-awesome fonts-lato g++ g++-14 232s g++-14-arm-linux-gnueabihf g++-arm-linux-gnueabihf gcc gcc-14 232s gcc-14-arm-linux-gnueabihf gcc-arm-linux-gnueabihf gettext intltool-debian 232s libarchive-zip-perl libasan8 libc-dev-bin libc6-dev libcc1-0 libcrypt-dev 232s libdebhelper-perl libexpat1-dev libfile-stripnondeterminism-perl 232s libgcc-14-dev libgomp1 libisl23 libjs-jquery libjs-sphinxdoc 232s libjs-underscore libjson-perl libmpc3 libpython3-all-dev libpython3-dev 232s libpython3.12-dev libpython3.12t64 libpython3.13 libpython3.13-dev 232s libpython3.13-minimal libpython3.13-stdlib libsofthsm2 libstdc++-14-dev 232s libtool libubsan1 linux-libc-dev m4 po-debconf pybuild-plugin-autopkgtest 232s python3-alabaster python3-all python3-all-dev python3-asn1crypto 232s python3-cached-property python3-defusedxml python3-dev python3-docutils 232s python3-imagesize python3-iniconfig python3-oscrypto python3-packaging 232s python3-pkcs11 python3-pluggy python3-pytest python3-roman 232s python3-setuptools-scm python3-snowballstemmer python3-sphinx 232s python3-sphinx-rtd-theme python3-sphinxcontrib.jquery python3.12-dev 232s python3.13 python3.13-dev python3.13-minimal rpcsvc-proto sgml-base softhsm2 232s softhsm2-common sphinx-common sphinx-rtd-theme-common xml-core zlib1g-dev 232s 0 upgraded, 96 newly installed, 0 to remove and 0 not upgraded. 232s Need to get 85.3 MB/85.3 MB of archives. 232s After this operation, 266 MB of additional disk space will be used. 232s Get:1 /tmp/autopkgtest.nC0czr/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [872 B] 232s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf fonts-lato all 2.015-1 [2781 kB] 232s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-minimal armhf 3.13.0-2 [866 kB] 232s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-minimal armhf 3.13.0-2 [1854 kB] 232s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf sgml-base all 1.31 [11.4 kB] 232s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf m4 armhf 1.4.19-4build1 [235 kB] 232s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf autoconf all 2.72-3 [382 kB] 232s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf autotools-dev all 20220109.1 [44.9 kB] 232s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf automake all 1:1.16.5-1.3ubuntu1 [558 kB] 232s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf autopoint all 0.22.5-2 [616 kB] 232s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf libc-dev-bin armhf 2.40-1ubuntu3 [19.2 kB] 232s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf linux-libc-dev armhf 6.11.0-8.8 [1628 kB] 232s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf libcrypt-dev armhf 1:4.4.36-4build1 [120 kB] 232s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf rpcsvc-proto armhf 1.4.2-0ubuntu7 [62.2 kB] 232s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libc6-dev armhf 2.40-1ubuntu3 [1370 kB] 232s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libisl23 armhf 0.27-1 [546 kB] 232s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libmpc3 armhf 1.3.1-1build2 [47.1 kB] 232s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14-arm-linux-gnueabihf armhf 14.2.0-8ubuntu1 [9219 kB] 233s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14 armhf 14.2.0-8ubuntu1 [1032 B] 233s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [5464 B] 233s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf cpp armhf 4:14.1.0-2ubuntu1 [22.4 kB] 233s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf libcc1-0 armhf 14.2.0-8ubuntu1 [43.3 kB] 233s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libgomp1 armhf 14.2.0-8ubuntu1 [125 kB] 233s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf libasan8 armhf 14.2.0-8ubuntu1 [2901 kB] 233s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf libubsan1 armhf 14.2.0-8ubuntu1 [1150 kB] 233s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-14-dev armhf 14.2.0-8ubuntu1 [897 kB] 233s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-arm-linux-gnueabihf armhf 14.2.0-8ubuntu1 [18.0 MB] 233s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14 armhf 14.2.0-8ubuntu1 [498 kB] 233s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [1222 B] 233s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf gcc armhf 4:14.1.0-2ubuntu1 [5002 B] 233s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++-14-dev armhf 14.2.0-8ubuntu1 [2569 kB] 233s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14-arm-linux-gnueabihf armhf 14.2.0-8ubuntu1 [10.5 MB] 234s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14 armhf 14.2.0-8ubuntu1 [19.9 kB] 234s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf g++-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [968 B] 234s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf g++ armhf 4:14.1.0-2ubuntu1 [1084 B] 234s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf build-essential armhf 12.10ubuntu1 [4928 B] 234s Get:37 http://ftpmaster.internal/ubuntu plucky/universe armhf cython3 armhf 3.0.11+dfsg-1ubuntu1 [2391 kB] 234s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libdebhelper-perl all 13.20ubuntu1 [94.2 kB] 234s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libtool all 2.4.7-7build1 [166 kB] 234s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf dh-autoreconf all 20 [16.1 kB] 234s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libarchive-zip-perl all 1.68-1 [90.2 kB] 234s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 234s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf dh-strip-nondeterminism all 1.14.0-1 [5058 B] 234s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf debugedit armhf 1:5.1-1 [46.5 kB] 234s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf dwz armhf 0.15-1build6 [116 kB] 234s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf gettext armhf 0.22.5-2 [995 kB] 234s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf intltool-debian all 0.35.0+20060710.6 [23.2 kB] 234s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf po-debconf all 1.0.21+nmu1 [233 kB] 234s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf debhelper all 13.20ubuntu1 [893 kB] 234s Get:50 http://ftpmaster.internal/ubuntu plucky/universe armhf dh-python all 6.20241024 [112 kB] 234s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf xml-core all 0.19 [20.3 kB] 234s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf docutils-common all 0.21.2+dfsg-2 [131 kB] 234s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 234s Get:54 http://ftpmaster.internal/ubuntu plucky/main armhf libexpat1-dev armhf 2.6.2-2 [121 kB] 234s Get:55 http://ftpmaster.internal/ubuntu plucky/main armhf libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 234s Get:56 http://ftpmaster.internal/ubuntu plucky/main armhf libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 234s Get:57 http://ftpmaster.internal/ubuntu plucky/main armhf libjs-sphinxdoc all 7.4.7-4 [158 kB] 234s Get:58 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-perl all 4.10000-1 [81.9 kB] 234s Get:59 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12t64 armhf 3.12.7-3 [2075 kB] 234s Get:60 http://ftpmaster.internal/ubuntu plucky/main armhf zlib1g-dev armhf 1:1.3.dfsg+really1.3.1-1ubuntu1 [880 kB] 234s Get:61 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-dev armhf 3.12.7-3 [4344 kB] 234s Get:62 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libpython3-dev armhf 3.12.7-1 [10.3 kB] 234s Get:63 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-stdlib armhf 3.13.0-2 [1972 kB] 234s Get:64 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13 armhf 3.13.0-2 [2045 kB] 234s Get:65 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-dev armhf 3.13.0-2 [4254 kB] 234s Get:66 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libpython3-all-dev armhf 3.12.7-1 [916 B] 234s Get:67 http://ftpmaster.internal/ubuntu plucky/universe armhf pybuild-plugin-autopkgtest all 6.20241024 [1746 B] 234s Get:68 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13 armhf 3.13.0-2 [719 kB] 234s Get:69 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-all armhf 3.12.7-1 [890 B] 234s Get:70 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-dev armhf 3.12.7-3 [505 kB] 234s Get:71 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-dev armhf 3.12.7-1 [26.7 kB] 234s Get:72 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-dev armhf 3.13.0-2 [507 kB] 234s Get:73 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-all-dev armhf 3.12.7-1 [914 B] 234s Get:74 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-asn1crypto all 1.5.1-3 [79.7 kB] 234s Get:75 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-cached-property all 1.5.2-1 [11.0 kB] 234s Get:76 http://ftpmaster.internal/ubuntu plucky/main armhf python3-defusedxml all 0.7.1-2 [42.0 kB] 234s Get:77 http://ftpmaster.internal/ubuntu plucky/main armhf python3-roman all 4.2-1 [10.0 kB] 234s Get:78 http://ftpmaster.internal/ubuntu plucky/main armhf python3-docutils all 0.21.2+dfsg-2 [409 kB] 234s Get:79 http://ftpmaster.internal/ubuntu plucky/main armhf python3-imagesize all 1.4.1-1 [6844 B] 234s Get:80 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 234s Get:81 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-oscrypto all 1.3.0-7 [128 kB] 234s Get:82 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.1-1 [41.4 kB] 234s Get:83 http://ftpmaster.internal/ubuntu plucky/main armhf sphinx-rtd-theme-common all 3.0.1+dfsg-1 [1012 kB] 234s Get:84 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pkcs11 armhf 0.7.0-1build2 [326 kB] 234s Get:85 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pluggy all 1.5.0-1 [21.0 kB] 234s Get:86 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest all 8.3.3-1 [251 kB] 234s Get:87 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-setuptools-scm all 8.1.0-1 [32.2 kB] 234s Get:88 http://ftpmaster.internal/ubuntu plucky/main armhf python3-snowballstemmer all 2.2.0-4build1 [59.8 kB] 234s Get:89 http://ftpmaster.internal/ubuntu plucky/main armhf sphinx-common all 7.4.7-4 [775 kB] 234s Get:90 http://ftpmaster.internal/ubuntu plucky/main armhf python3-alabaster all 0.7.16-0.1 [18.5 kB] 234s Get:91 http://ftpmaster.internal/ubuntu plucky/main armhf python3-sphinx all 7.4.7-4 [593 kB] 235s Get:92 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-sphinxcontrib.jquery all 4.1-5 [6678 B] 235s Get:93 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-sphinx-rtd-theme all 3.0.1+dfsg-1 [23.5 kB] 235s Get:94 http://ftpmaster.internal/ubuntu plucky/universe armhf softhsm2-common armhf 2.6.1-2.2ubuntu3 [6194 B] 235s Get:95 http://ftpmaster.internal/ubuntu plucky/universe armhf libsofthsm2 armhf 2.6.1-2.2ubuntu3 [230 kB] 235s Get:96 http://ftpmaster.internal/ubuntu plucky/universe armhf softhsm2 armhf 2.6.1-2.2ubuntu3 [155 kB] 235s Fetched 85.3 MB in 3s (28.4 MB/s) 235s Selecting previously unselected package fonts-lato. 235s (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 ... 59567 files and directories currently installed.) 235s Preparing to unpack .../00-fonts-lato_2.015-1_all.deb ... 235s Unpacking fonts-lato (2.015-1) ... 235s Selecting previously unselected package libpython3.13-minimal:armhf. 235s Preparing to unpack .../01-libpython3.13-minimal_3.13.0-2_armhf.deb ... 235s Unpacking libpython3.13-minimal:armhf (3.13.0-2) ... 236s Selecting previously unselected package python3.13-minimal. 236s Preparing to unpack .../02-python3.13-minimal_3.13.0-2_armhf.deb ... 236s Unpacking python3.13-minimal (3.13.0-2) ... 236s Selecting previously unselected package sgml-base. 236s Preparing to unpack .../03-sgml-base_1.31_all.deb ... 236s Unpacking sgml-base (1.31) ... 236s Selecting previously unselected package m4. 236s Preparing to unpack .../04-m4_1.4.19-4build1_armhf.deb ... 236s Unpacking m4 (1.4.19-4build1) ... 236s Selecting previously unselected package autoconf. 236s Preparing to unpack .../05-autoconf_2.72-3_all.deb ... 236s Unpacking autoconf (2.72-3) ... 236s Selecting previously unselected package autotools-dev. 236s Preparing to unpack .../06-autotools-dev_20220109.1_all.deb ... 236s Unpacking autotools-dev (20220109.1) ... 236s Selecting previously unselected package automake. 236s Preparing to unpack .../07-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 236s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 236s Selecting previously unselected package autopoint. 236s Preparing to unpack .../08-autopoint_0.22.5-2_all.deb ... 236s Unpacking autopoint (0.22.5-2) ... 236s Selecting previously unselected package libc-dev-bin. 236s Preparing to unpack .../09-libc-dev-bin_2.40-1ubuntu3_armhf.deb ... 236s Unpacking libc-dev-bin (2.40-1ubuntu3) ... 236s Selecting previously unselected package linux-libc-dev:armhf. 236s Preparing to unpack .../10-linux-libc-dev_6.11.0-8.8_armhf.deb ... 236s Unpacking linux-libc-dev:armhf (6.11.0-8.8) ... 236s Selecting previously unselected package libcrypt-dev:armhf. 236s Preparing to unpack .../11-libcrypt-dev_1%3a4.4.36-4build1_armhf.deb ... 236s Unpacking libcrypt-dev:armhf (1:4.4.36-4build1) ... 236s Selecting previously unselected package rpcsvc-proto. 236s Preparing to unpack .../12-rpcsvc-proto_1.4.2-0ubuntu7_armhf.deb ... 236s Unpacking rpcsvc-proto (1.4.2-0ubuntu7) ... 236s Selecting previously unselected package libc6-dev:armhf. 236s Preparing to unpack .../13-libc6-dev_2.40-1ubuntu3_armhf.deb ... 236s Unpacking libc6-dev:armhf (2.40-1ubuntu3) ... 236s Selecting previously unselected package libisl23:armhf. 236s Preparing to unpack .../14-libisl23_0.27-1_armhf.deb ... 236s Unpacking libisl23:armhf (0.27-1) ... 236s Selecting previously unselected package libmpc3:armhf. 236s Preparing to unpack .../15-libmpc3_1.3.1-1build2_armhf.deb ... 236s Unpacking libmpc3:armhf (1.3.1-1build2) ... 236s Selecting previously unselected package cpp-14-arm-linux-gnueabihf. 236s Preparing to unpack .../16-cpp-14-arm-linux-gnueabihf_14.2.0-8ubuntu1_armhf.deb ... 236s Unpacking cpp-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 237s Selecting previously unselected package cpp-14. 237s Preparing to unpack .../17-cpp-14_14.2.0-8ubuntu1_armhf.deb ... 237s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 237s Selecting previously unselected package cpp-arm-linux-gnueabihf. 237s Preparing to unpack .../18-cpp-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 237s Unpacking cpp-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 237s Selecting previously unselected package cpp. 237s Preparing to unpack .../19-cpp_4%3a14.1.0-2ubuntu1_armhf.deb ... 237s Unpacking cpp (4:14.1.0-2ubuntu1) ... 237s Selecting previously unselected package libcc1-0:armhf. 237s Preparing to unpack .../20-libcc1-0_14.2.0-8ubuntu1_armhf.deb ... 237s Unpacking libcc1-0:armhf (14.2.0-8ubuntu1) ... 237s Selecting previously unselected package libgomp1:armhf. 237s Preparing to unpack .../21-libgomp1_14.2.0-8ubuntu1_armhf.deb ... 237s Unpacking libgomp1:armhf (14.2.0-8ubuntu1) ... 237s Selecting previously unselected package libasan8:armhf. 237s Preparing to unpack .../22-libasan8_14.2.0-8ubuntu1_armhf.deb ... 237s Unpacking libasan8:armhf (14.2.0-8ubuntu1) ... 237s Selecting previously unselected package libubsan1:armhf. 237s Preparing to unpack .../23-libubsan1_14.2.0-8ubuntu1_armhf.deb ... 237s Unpacking libubsan1:armhf (14.2.0-8ubuntu1) ... 237s Selecting previously unselected package libgcc-14-dev:armhf. 237s Preparing to unpack .../24-libgcc-14-dev_14.2.0-8ubuntu1_armhf.deb ... 237s Unpacking libgcc-14-dev:armhf (14.2.0-8ubuntu1) ... 237s Selecting previously unselected package gcc-14-arm-linux-gnueabihf. 237s Preparing to unpack .../25-gcc-14-arm-linux-gnueabihf_14.2.0-8ubuntu1_armhf.deb ... 237s Unpacking gcc-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 238s Selecting previously unselected package gcc-14. 238s Preparing to unpack .../26-gcc-14_14.2.0-8ubuntu1_armhf.deb ... 238s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 238s Selecting previously unselected package gcc-arm-linux-gnueabihf. 238s Preparing to unpack .../27-gcc-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 238s Unpacking gcc-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 238s Selecting previously unselected package gcc. 238s Preparing to unpack .../28-gcc_4%3a14.1.0-2ubuntu1_armhf.deb ... 238s Unpacking gcc (4:14.1.0-2ubuntu1) ... 238s Selecting previously unselected package libstdc++-14-dev:armhf. 238s Preparing to unpack .../29-libstdc++-14-dev_14.2.0-8ubuntu1_armhf.deb ... 238s Unpacking libstdc++-14-dev:armhf (14.2.0-8ubuntu1) ... 238s Selecting previously unselected package g++-14-arm-linux-gnueabihf. 238s Preparing to unpack .../30-g++-14-arm-linux-gnueabihf_14.2.0-8ubuntu1_armhf.deb ... 238s Unpacking g++-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 238s Selecting previously unselected package g++-14. 238s Preparing to unpack .../31-g++-14_14.2.0-8ubuntu1_armhf.deb ... 238s Unpacking g++-14 (14.2.0-8ubuntu1) ... 238s Selecting previously unselected package g++-arm-linux-gnueabihf. 238s Preparing to unpack .../32-g++-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 238s Unpacking g++-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 238s Selecting previously unselected package g++. 238s Preparing to unpack .../33-g++_4%3a14.1.0-2ubuntu1_armhf.deb ... 238s Unpacking g++ (4:14.1.0-2ubuntu1) ... 238s Selecting previously unselected package build-essential. 238s Preparing to unpack .../34-build-essential_12.10ubuntu1_armhf.deb ... 238s Unpacking build-essential (12.10ubuntu1) ... 238s Selecting previously unselected package cython3. 238s Preparing to unpack .../35-cython3_3.0.11+dfsg-1ubuntu1_armhf.deb ... 238s Unpacking cython3 (3.0.11+dfsg-1ubuntu1) ... 238s Selecting previously unselected package libdebhelper-perl. 238s Preparing to unpack .../36-libdebhelper-perl_13.20ubuntu1_all.deb ... 238s Unpacking libdebhelper-perl (13.20ubuntu1) ... 238s Selecting previously unselected package libtool. 238s Preparing to unpack .../37-libtool_2.4.7-7build1_all.deb ... 238s Unpacking libtool (2.4.7-7build1) ... 238s Selecting previously unselected package dh-autoreconf. 238s Preparing to unpack .../38-dh-autoreconf_20_all.deb ... 238s Unpacking dh-autoreconf (20) ... 238s Selecting previously unselected package libarchive-zip-perl. 238s Preparing to unpack .../39-libarchive-zip-perl_1.68-1_all.deb ... 238s Unpacking libarchive-zip-perl (1.68-1) ... 238s Selecting previously unselected package libfile-stripnondeterminism-perl. 238s Preparing to unpack .../40-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 238s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 238s Selecting previously unselected package dh-strip-nondeterminism. 238s Preparing to unpack .../41-dh-strip-nondeterminism_1.14.0-1_all.deb ... 238s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 238s Selecting previously unselected package debugedit. 239s Preparing to unpack .../42-debugedit_1%3a5.1-1_armhf.deb ... 239s Unpacking debugedit (1:5.1-1) ... 239s Selecting previously unselected package dwz. 239s Preparing to unpack .../43-dwz_0.15-1build6_armhf.deb ... 239s Unpacking dwz (0.15-1build6) ... 239s Selecting previously unselected package gettext. 239s Preparing to unpack .../44-gettext_0.22.5-2_armhf.deb ... 239s Unpacking gettext (0.22.5-2) ... 239s Selecting previously unselected package intltool-debian. 239s Preparing to unpack .../45-intltool-debian_0.35.0+20060710.6_all.deb ... 239s Unpacking intltool-debian (0.35.0+20060710.6) ... 239s Selecting previously unselected package po-debconf. 239s Preparing to unpack .../46-po-debconf_1.0.21+nmu1_all.deb ... 239s Unpacking po-debconf (1.0.21+nmu1) ... 239s Selecting previously unselected package debhelper. 239s Preparing to unpack .../47-debhelper_13.20ubuntu1_all.deb ... 239s Unpacking debhelper (13.20ubuntu1) ... 239s Selecting previously unselected package dh-python. 239s Preparing to unpack .../48-dh-python_6.20241024_all.deb ... 239s Unpacking dh-python (6.20241024) ... 239s Selecting previously unselected package xml-core. 239s Preparing to unpack .../49-xml-core_0.19_all.deb ... 239s Unpacking xml-core (0.19) ... 239s Selecting previously unselected package docutils-common. 239s Preparing to unpack .../50-docutils-common_0.21.2+dfsg-2_all.deb ... 239s Unpacking docutils-common (0.21.2+dfsg-2) ... 239s Selecting previously unselected package fonts-font-awesome. 239s Preparing to unpack .../51-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 239s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 239s Selecting previously unselected package libexpat1-dev:armhf. 239s Preparing to unpack .../52-libexpat1-dev_2.6.2-2_armhf.deb ... 239s Unpacking libexpat1-dev:armhf (2.6.2-2) ... 239s Selecting previously unselected package libjs-jquery. 239s Preparing to unpack .../53-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 239s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 239s Selecting previously unselected package libjs-underscore. 239s Preparing to unpack .../54-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 239s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 239s Selecting previously unselected package libjs-sphinxdoc. 239s Preparing to unpack .../55-libjs-sphinxdoc_7.4.7-4_all.deb ... 239s Unpacking libjs-sphinxdoc (7.4.7-4) ... 239s Selecting previously unselected package libjson-perl. 239s Preparing to unpack .../56-libjson-perl_4.10000-1_all.deb ... 239s Unpacking libjson-perl (4.10000-1) ... 239s Selecting previously unselected package libpython3.12t64:armhf. 239s Preparing to unpack .../57-libpython3.12t64_3.12.7-3_armhf.deb ... 239s Unpacking libpython3.12t64:armhf (3.12.7-3) ... 239s Selecting previously unselected package zlib1g-dev:armhf. 239s Preparing to unpack .../58-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_armhf.deb ... 239s Unpacking zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 239s Selecting previously unselected package libpython3.12-dev:armhf. 239s Preparing to unpack .../59-libpython3.12-dev_3.12.7-3_armhf.deb ... 239s Unpacking libpython3.12-dev:armhf (3.12.7-3) ... 239s Selecting previously unselected package libpython3-dev:armhf. 239s Preparing to unpack .../60-libpython3-dev_3.12.7-1_armhf.deb ... 239s Unpacking libpython3-dev:armhf (3.12.7-1) ... 239s Selecting previously unselected package libpython3.13-stdlib:armhf. 239s Preparing to unpack .../61-libpython3.13-stdlib_3.13.0-2_armhf.deb ... 239s Unpacking libpython3.13-stdlib:armhf (3.13.0-2) ... 240s Selecting previously unselected package libpython3.13:armhf. 240s Preparing to unpack .../62-libpython3.13_3.13.0-2_armhf.deb ... 240s Unpacking libpython3.13:armhf (3.13.0-2) ... 240s Selecting previously unselected package libpython3.13-dev:armhf. 240s Preparing to unpack .../63-libpython3.13-dev_3.13.0-2_armhf.deb ... 240s Unpacking libpython3.13-dev:armhf (3.13.0-2) ... 240s Selecting previously unselected package libpython3-all-dev:armhf. 240s Preparing to unpack .../64-libpython3-all-dev_3.12.7-1_armhf.deb ... 240s Unpacking libpython3-all-dev:armhf (3.12.7-1) ... 240s Selecting previously unselected package pybuild-plugin-autopkgtest. 240s Preparing to unpack .../65-pybuild-plugin-autopkgtest_6.20241024_all.deb ... 240s Unpacking pybuild-plugin-autopkgtest (6.20241024) ... 240s Selecting previously unselected package python3.13. 240s Preparing to unpack .../66-python3.13_3.13.0-2_armhf.deb ... 240s Unpacking python3.13 (3.13.0-2) ... 240s Selecting previously unselected package python3-all. 240s Preparing to unpack .../67-python3-all_3.12.7-1_armhf.deb ... 240s Unpacking python3-all (3.12.7-1) ... 240s Selecting previously unselected package python3.12-dev. 240s Preparing to unpack .../68-python3.12-dev_3.12.7-3_armhf.deb ... 240s Unpacking python3.12-dev (3.12.7-3) ... 240s Selecting previously unselected package python3-dev. 240s Preparing to unpack .../69-python3-dev_3.12.7-1_armhf.deb ... 240s Unpacking python3-dev (3.12.7-1) ... 240s Selecting previously unselected package python3.13-dev. 240s Preparing to unpack .../70-python3.13-dev_3.13.0-2_armhf.deb ... 240s Unpacking python3.13-dev (3.13.0-2) ... 240s Selecting previously unselected package python3-all-dev. 240s Preparing to unpack .../71-python3-all-dev_3.12.7-1_armhf.deb ... 240s Unpacking python3-all-dev (3.12.7-1) ... 240s Selecting previously unselected package python3-asn1crypto. 240s Preparing to unpack .../72-python3-asn1crypto_1.5.1-3_all.deb ... 240s Unpacking python3-asn1crypto (1.5.1-3) ... 240s Selecting previously unselected package python3-cached-property. 240s Preparing to unpack .../73-python3-cached-property_1.5.2-1_all.deb ... 240s Unpacking python3-cached-property (1.5.2-1) ... 240s Selecting previously unselected package python3-defusedxml. 240s Preparing to unpack .../74-python3-defusedxml_0.7.1-2_all.deb ... 240s Unpacking python3-defusedxml (0.7.1-2) ... 240s Selecting previously unselected package python3-roman. 240s Preparing to unpack .../75-python3-roman_4.2-1_all.deb ... 240s Unpacking python3-roman (4.2-1) ... 240s Selecting previously unselected package python3-docutils. 240s Preparing to unpack .../76-python3-docutils_0.21.2+dfsg-2_all.deb ... 240s Unpacking python3-docutils (0.21.2+dfsg-2) ... 241s Selecting previously unselected package python3-imagesize. 241s Preparing to unpack .../77-python3-imagesize_1.4.1-1_all.deb ... 241s Unpacking python3-imagesize (1.4.1-1) ... 241s Selecting previously unselected package python3-iniconfig. 241s Preparing to unpack .../78-python3-iniconfig_1.1.1-2_all.deb ... 241s Unpacking python3-iniconfig (1.1.1-2) ... 241s Selecting previously unselected package python3-oscrypto. 241s Preparing to unpack .../79-python3-oscrypto_1.3.0-7_all.deb ... 241s Unpacking python3-oscrypto (1.3.0-7) ... 241s Selecting previously unselected package python3-packaging. 241s Preparing to unpack .../80-python3-packaging_24.1-1_all.deb ... 241s Unpacking python3-packaging (24.1-1) ... 241s Selecting previously unselected package sphinx-rtd-theme-common. 241s Preparing to unpack .../81-sphinx-rtd-theme-common_3.0.1+dfsg-1_all.deb ... 241s Unpacking sphinx-rtd-theme-common (3.0.1+dfsg-1) ... 241s Selecting previously unselected package python3-pkcs11. 241s Preparing to unpack .../82-python3-pkcs11_0.7.0-1build2_armhf.deb ... 241s Unpacking python3-pkcs11 (0.7.0-1build2) ... 241s Selecting previously unselected package python3-pluggy. 241s Preparing to unpack .../83-python3-pluggy_1.5.0-1_all.deb ... 241s Unpacking python3-pluggy (1.5.0-1) ... 241s Selecting previously unselected package python3-pytest. 241s Preparing to unpack .../84-python3-pytest_8.3.3-1_all.deb ... 241s Unpacking python3-pytest (8.3.3-1) ... 241s Selecting previously unselected package python3-setuptools-scm. 241s Preparing to unpack .../85-python3-setuptools-scm_8.1.0-1_all.deb ... 241s Unpacking python3-setuptools-scm (8.1.0-1) ... 241s Selecting previously unselected package python3-snowballstemmer. 241s Preparing to unpack .../86-python3-snowballstemmer_2.2.0-4build1_all.deb ... 241s Unpacking python3-snowballstemmer (2.2.0-4build1) ... 241s Selecting previously unselected package sphinx-common. 241s Preparing to unpack .../87-sphinx-common_7.4.7-4_all.deb ... 241s Unpacking sphinx-common (7.4.7-4) ... 241s Selecting previously unselected package python3-alabaster. 241s Preparing to unpack .../88-python3-alabaster_0.7.16-0.1_all.deb ... 241s Unpacking python3-alabaster (0.7.16-0.1) ... 241s Selecting previously unselected package python3-sphinx. 241s Preparing to unpack .../89-python3-sphinx_7.4.7-4_all.deb ... 241s Unpacking python3-sphinx (7.4.7-4) ... 241s Selecting previously unselected package python3-sphinxcontrib.jquery. 241s Preparing to unpack .../90-python3-sphinxcontrib.jquery_4.1-5_all.deb ... 241s Unpacking python3-sphinxcontrib.jquery (4.1-5) ... 241s Selecting previously unselected package python3-sphinx-rtd-theme. 241s Preparing to unpack .../91-python3-sphinx-rtd-theme_3.0.1+dfsg-1_all.deb ... 241s Unpacking python3-sphinx-rtd-theme (3.0.1+dfsg-1) ... 241s Selecting previously unselected package softhsm2-common. 241s Preparing to unpack .../92-softhsm2-common_2.6.1-2.2ubuntu3_armhf.deb ... 241s Unpacking softhsm2-common (2.6.1-2.2ubuntu3) ... 241s Selecting previously unselected package libsofthsm2. 241s Preparing to unpack .../93-libsofthsm2_2.6.1-2.2ubuntu3_armhf.deb ... 241s Unpacking libsofthsm2 (2.6.1-2.2ubuntu3) ... 241s Selecting previously unselected package softhsm2. 241s Preparing to unpack .../94-softhsm2_2.6.1-2.2ubuntu3_armhf.deb ... 241s Unpacking softhsm2 (2.6.1-2.2ubuntu3) ... 241s Selecting previously unselected package autopkgtest-satdep. 241s Preparing to unpack .../95-1-autopkgtest-satdep.deb ... 241s Unpacking autopkgtest-satdep (0) ... 241s Setting up dh-python (6.20241024) ... 242s Setting up python3-cached-property (1.5.2-1) ... 242s Setting up python3-iniconfig (1.1.1-2) ... 242s Setting up softhsm2-common (2.6.1-2.2ubuntu3) ... 242s 242s Creating config file /etc/softhsm/softhsm2.conf with new version 243s Setting up fonts-lato (2.015-1) ... 243s Setting up python3-defusedxml (0.7.1-2) ... 243s Setting up libarchive-zip-perl (1.68-1) ... 243s Setting up python3-alabaster (0.7.16-0.1) ... 243s Setting up libdebhelper-perl (13.20ubuntu1) ... 243s Setting up linux-libc-dev:armhf (6.11.0-8.8) ... 243s Setting up m4 (1.4.19-4build1) ... 243s Setting up libgomp1:armhf (14.2.0-8ubuntu1) ... 243s Setting up libpython3.12t64:armhf (3.12.7-3) ... 243s Setting up libpython3.13-minimal:armhf (3.13.0-2) ... 243s Setting up python3-roman (4.2-1) ... 243s Setting up autotools-dev (20220109.1) ... 243s Setting up python3-packaging (24.1-1) ... 243s Setting up rpcsvc-proto (1.4.2-0ubuntu7) ... 243s Setting up python3-snowballstemmer (2.2.0-4build1) ... 244s Setting up libmpc3:armhf (1.3.1-1build2) ... 244s Setting up cython3 (3.0.11+dfsg-1ubuntu1) ... 246s Setting up autopoint (0.22.5-2) ... 246s Setting up autoconf (2.72-3) ... 246s Setting up python3-pluggy (1.5.0-1) ... 246s Setting up libubsan1:armhf (14.2.0-8ubuntu1) ... 246s Setting up dwz (0.15-1build6) ... 246s Setting up libcrypt-dev:armhf (1:4.4.36-4build1) ... 246s Setting up libasan8:armhf (14.2.0-8ubuntu1) ... 246s Setting up libjson-perl (4.10000-1) ... 246s Setting up debugedit (1:5.1-1) ... 246s Setting up python3.13-minimal (3.13.0-2) ... 247s Setting up sgml-base (1.31) ... 247s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 247s Setting up libgcc-14-dev:armhf (14.2.0-8ubuntu1) ... 247s Setting up libisl23:armhf (0.27-1) ... 247s Setting up libc-dev-bin (2.40-1ubuntu3) ... 247s Setting up libpython3.13-stdlib:armhf (3.13.0-2) ... 247s Setting up python3-asn1crypto (1.5.1-3) ... 247s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 247s Setting up sphinx-rtd-theme-common (3.0.1+dfsg-1) ... 247s Setting up libcc1-0:armhf (14.2.0-8ubuntu1) ... 247s Setting up cpp-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 247s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 247s Setting up python3-imagesize (1.4.1-1) ... 247s Setting up libpython3.13:armhf (3.13.0-2) ... 247s Setting up automake (1:1.16.5-1.3ubuntu1) ... 247s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 247s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 247s Setting up libsofthsm2 (2.6.1-2.2ubuntu3) ... 247s Setting up softhsm2 (2.6.1-2.2ubuntu3) ... 247s Setting up gettext (0.22.5-2) ... 247s Setting up python3.13 (3.13.0-2) ... 249s Setting up python3-pytest (8.3.3-1) ... 249s Setting up gcc-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 249s Setting up python3-all (3.12.7-1) ... 249s Setting up python3-setuptools-scm (8.1.0-1) ... 250s Setting up intltool-debian (0.35.0+20060710.6) ... 250s Setting up python3-oscrypto (1.3.0-7) ... 250s Setting up libjs-sphinxdoc (7.4.7-4) ... 250s Setting up cpp-14 (14.2.0-8ubuntu1) ... 250s Setting up dh-strip-nondeterminism (1.14.0-1) ... 250s Setting up xml-core (0.19) ... 250s Setting up libc6-dev:armhf (2.40-1ubuntu3) ... 250s Setting up libstdc++-14-dev:armhf (14.2.0-8ubuntu1) ... 250s Setting up cpp-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 250s Setting up gcc-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 250s Setting up g++-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 250s Setting up po-debconf (1.0.21+nmu1) ... 250s Setting up gcc-14 (14.2.0-8ubuntu1) ... 250s Setting up python3-pkcs11 (0.7.0-1build2) ... 251s Setting up libexpat1-dev:armhf (2.6.2-2) ... 251s Setting up sphinx-common (7.4.7-4) ... 251s Setting up zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 251s Setting up cpp (4:14.1.0-2ubuntu1) ... 251s Setting up g++-14 (14.2.0-8ubuntu1) ... 251s Setting up g++-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 251s Setting up libtool (2.4.7-7build1) ... 251s Setting up libpython3.12-dev:armhf (3.12.7-3) ... 251s Setting up gcc (4:14.1.0-2ubuntu1) ... 251s Setting up dh-autoreconf (20) ... 251s Setting up libpython3.13-dev:armhf (3.13.0-2) ... 251s Setting up python3.12-dev (3.12.7-3) ... 251s Setting up g++ (4:14.1.0-2ubuntu1) ... 251s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 251s Setting up build-essential (12.10ubuntu1) ... 251s Setting up libpython3-dev:armhf (3.12.7-1) ... 251s Setting up python3.13-dev (3.13.0-2) ... 251s Setting up debhelper (13.20ubuntu1) ... 251s Setting up libpython3-all-dev:armhf (3.12.7-1) ... 251s Setting up python3-dev (3.12.7-1) ... 251s Setting up python3-all-dev (3.12.7-1) ... 251s Setting up pybuild-plugin-autopkgtest (6.20241024) ... 251s Processing triggers for libc-bin (2.40-1ubuntu3) ... 251s Processing triggers for systemd (256.5-2ubuntu4) ... 251s Processing triggers for man-db (2.12.1-3) ... 253s Processing triggers for install-info (7.1.1-1) ... 253s Processing triggers for sgml-base (1.31) ... 253s Setting up docutils-common (0.21.2+dfsg-2) ... 253s Processing triggers for sgml-base (1.31) ... 253s Setting up python3-docutils (0.21.2+dfsg-2) ... 254s Setting up python3-sphinx (7.4.7-4) ... 256s Setting up python3-sphinxcontrib.jquery (4.1-5) ... 256s Setting up python3-sphinx-rtd-theme (3.0.1+dfsg-1) ... 256s Setting up autopkgtest-satdep (0) ... 273s (Reading database ... 67131 files and directories currently installed.) 273s Removing autopkgtest-satdep (0) ... 279s autopkgtest [00:32:13]: test pybuild-autopkgtest: pybuild-autopkgtest 279s autopkgtest [00:32:13]: test pybuild-autopkgtest: [----------------------- 281s pybuild-autopkgtest 283s I: pybuild base:311: cd /tmp/autopkgtest.nC0czr/autopkgtest_tmp/build; python3.13 -m test_runner_softhsm2 283s Creating temporary directory for SoftHSM 2: /tmp/autopkgtest.nC0czr/autopkgtest_tmp/build/tests/pkcs11-testenv._kix00ad 283s Initializing a new token with softhsm2-util 283s Slot 0 has a free/uninitialized token. 283s The token has been initialized and is reassigned to slot 1383348941 283s Running in the test environment... 283s ============================= test session starts ============================== 283s platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 283s rootdir: /tmp/autopkgtest.nC0czr/autopkgtest_tmp/build 283s plugins: typeguard-4.4.1 283s collected 70 items 283s 283s tests/test_aes.py EEEEEEE [ 10%] 318s tests/test_des.py EEEE [ 15%] 318s tests/test_dh.py EEE [ 20%] 318s tests/test_digest.py EEEE [ 25%] 318s tests/test_dsa.py EEE [ 30%] 318s tests/test_ecc.py EEEEEE [ 38%] 318s tests/test_iterators.py EE [ 41%] 318s tests/test_public_key_external.py EEEE [ 47%] 318s tests/test_rsa.py EEEEEEE [ 57%] 318s tests/test_sessions.py EEEEEEEEEEEEEE [ 77%] 318s tests/test_slots_and_tokens.py FFFFFFFF [ 88%] 318s tests/test_threading.py E [ 90%] 318s tests/test_x509.py EEEEEEE [100%] 318s 318s ==================================== ERRORS ==================================== 318s ___________________ ERROR at setup of AESTests.test_encrypt ____________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s ______________ ERROR at setup of AESTests.test_encrypt_big_string ______________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s ________________ ERROR at setup of AESTests.test_encrypt_stream ________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s _____________ ERROR at setup of AESTests.test_encrypt_whacky_sizes _____________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s _____________________ ERROR at setup of AESTests.test_sign _____________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s _________________ ERROR at setup of AESTests.test_sign_stream __________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s _____________________ ERROR at setup of AESTests.test_wrap _____________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s _________________ ERROR at setup of DESTests.test_encrypt_des2 _________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s _________________ ERROR at setup of DESTests.test_encrypt_des3 _________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s ______________ ERROR at setup of DESTests.test_generate_des2_key _______________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s ______________ ERROR at setup of DESTests.test_generate_des3_key _______________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s __________________ ERROR at setup of DHTests.test_derive_key ___________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s ________________ ERROR at setup of DHTests.test_generate_params ________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s __________________ ERROR at setup of DHTests.test_load_params __________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s __________________ ERROR at setup of DigestTests.test_digest ___________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s _____________ ERROR at setup of DigestTests.test_digest_generator ______________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s ________________ ERROR at setup of DigestTests.test_digest_key _________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s ______________ ERROR at setup of DigestTests.test_digest_key_data ______________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s __________ ERROR at setup of DSATests.test_generate_keypair_and_sign ___________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s __________ ERROR at setup of DSATests.test_generate_keypair_directly ___________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s _______________ ERROR at setup of DSATests.test_generate_params ________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s __________________ ERROR at setup of ECCTests.test_derive_key __________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s ____________ ERROR at setup of ECCTests.test_import_key_named_curve ____________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s _______________ ERROR at setup of ECCTests.test_import_key_pair ________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s ______________ ERROR at setup of ECCTests.test_import_key_params _______________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s __________________ ERROR at setup of ECCTests.test_sign_ecdsa __________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s __________________ ERROR at setup of ECCTests.test_sign_eddsa __________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s _____________ ERROR at setup of IteratorTests.test_close_iterators _____________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s _____________ ERROR at setup of IteratorTests.test_partial_decrypt _____________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s ______________ ERROR at setup of ExternalPublicKeyTests.test_ecdh ______________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s _____________ ERROR at setup of ExternalPublicKeyTests.test_ecdsa ______________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s ______________ ERROR at setup of ExternalPublicKeyTests.test_rsa _______________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s _ ERROR at setup of ExternalPublicKeyTests.test_terrible_hybrid_file_encryption_app _ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s _________________ ERROR at setup of RSATests.test_encrypt_oaep _________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s ____________ ERROR at setup of RSATests.test_encrypt_too_much_data _____________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s ___________________ ERROR at setup of RSATests.test_key_wrap ___________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s _________________ ERROR at setup of RSATests.test_sign_default _________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s ________________ ERROR at setup of RSATests.test_sign_pkcs_v15 _________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s ___________________ ERROR at setup of RSATests.test_sign_pss ___________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s _________________ ERROR at setup of RSATests.test_sign_stream __________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s _______________ ERROR at setup of SessionTests.test_copy_object ________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s ______________ ERROR at setup of SessionTests.test_create_object _______________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s ______________ ERROR at setup of SessionTests.test_destroy_object ______________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s _______________ ERROR at setup of SessionTests.test_generate_key _______________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s _____________ ERROR at setup of SessionTests.test_generate_keypair _____________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s _____________ ERROR at setup of SessionTests.test_generate_random ______________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s _________________ ERROR at setup of SessionTests.test_get_key __________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s ____________ ERROR at setup of SessionTests.test_get_key_not_found _____________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s ______________ ERROR at setup of SessionTests.test_get_key_vague _______________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s _______________ ERROR at setup of SessionTests.test_get_objects ________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s _______________ ERROR at setup of SessionTests.test_open_session _______________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s ________ ERROR at setup of SessionTests.test_open_session_and_login_so _________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s _______ ERROR at setup of SessionTests.test_open_session_and_login_user ________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s _______________ ERROR at setup of SessionTests.test_seed_random ________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s ______________ ERROR at setup of ThreadingTests.test_concurrency _______________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s ____________ ERROR at setup of X509Tests.test_import_ca_certificate ____________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s _________ ERROR at setup of X509Tests.test_import_ca_certificate_easy __________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s ____________ ERROR at setup of X509Tests.test_self_sign_certificate ____________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 318s so = '/usr/lib/softhsm/libsofthsm2.so' 318s 318s def lib(so): 318s """ 318s Wrap the main library call coming from Cython with a preemptive 318s dynamic loading. 318s """ 318s global _lib 318s global _so 318s 318s if _lib: 318s if _so != so: 318s raise AlreadyInitialized( # noqa: F405 318s "Already initialized with %s" % so) 318s else: 318s return _lib 318s 318s > from . import _pkcs11 318s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 318s 318s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 318s __________________ ERROR at setup of X509Tests.test_sign_csr ___________________ 318s 318s cls = 318s 318s @classmethod 318s def setUpClass(cls): 318s super().setUpClass() 318s > cls.lib = lib = pkcs11.lib(LIB) 318s 318s tests/__init__.py:58: 318s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318s 319s so = '/usr/lib/softhsm/libsofthsm2.so' 319s 319s def lib(so): 319s """ 319s Wrap the main library call coming from Cython with a preemptive 319s dynamic loading. 319s """ 319s global _lib 319s global _so 319s 319s if _lib: 319s if _so != so: 319s raise AlreadyInitialized( # noqa: F405 319s "Already initialized with %s" % so) 319s else: 319s return _lib 319s 319s > from . import _pkcs11 319s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 319s 319s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 319s ___________ ERROR at setup of X509Tests.test_verify_certificate_dsa ____________ 319s 319s cls = 319s 319s @classmethod 319s def setUpClass(cls): 319s super().setUpClass() 319s > cls.lib = lib = pkcs11.lib(LIB) 319s 319s tests/__init__.py:58: 319s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 319s 319s so = '/usr/lib/softhsm/libsofthsm2.so' 319s 319s def lib(so): 319s """ 319s Wrap the main library call coming from Cython with a preemptive 319s dynamic loading. 319s """ 319s global _lib 319s global _so 319s 319s if _lib: 319s if _so != so: 319s raise AlreadyInitialized( # noqa: F405 319s "Already initialized with %s" % so) 319s else: 319s return _lib 319s 319s > from . import _pkcs11 319s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 319s 319s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 319s __________ ERROR at setup of X509Tests.test_verify_certificate_ecdsa ___________ 319s 319s cls = 319s 319s @classmethod 319s def setUpClass(cls): 319s super().setUpClass() 319s > cls.lib = lib = pkcs11.lib(LIB) 319s 319s tests/__init__.py:58: 319s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 319s 319s so = '/usr/lib/softhsm/libsofthsm2.so' 319s 319s def lib(so): 319s """ 319s Wrap the main library call coming from Cython with a preemptive 319s dynamic loading. 319s """ 319s global _lib 319s global _so 319s 319s if _lib: 319s if _so != so: 319s raise AlreadyInitialized( # noqa: F405 319s "Already initialized with %s" % so) 319s else: 319s return _lib 319s 319s > from . import _pkcs11 319s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 319s 319s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 319s ___________ ERROR at setup of X509Tests.test_verify_certificate_rsa ____________ 319s 319s cls = 319s 319s @classmethod 319s def setUpClass(cls): 319s super().setUpClass() 319s > cls.lib = lib = pkcs11.lib(LIB) 319s 319s tests/__init__.py:58: 319s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 319s 319s so = '/usr/lib/softhsm/libsofthsm2.so' 319s 319s def lib(so): 319s """ 319s Wrap the main library call coming from Cython with a preemptive 319s dynamic loading. 319s """ 319s global _lib 319s global _so 319s 319s if _lib: 319s if _so != so: 319s raise AlreadyInitialized( # noqa: F405 319s "Already initialized with %s" % so) 319s else: 319s return _lib 319s 319s > from . import _pkcs11 319s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 319s 319s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 319s =================================== FAILURES =================================== 319s __________________ SlotsAndTokensTests.test_double_initialise __________________ 319s 319s self = 319s 319s def test_double_initialise(self): 319s > self.assertIsNotNone(pkcs11.lib(LIB)) 319s 319s tests/test_slots_and_tokens.py:15: 319s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 319s 319s so = '/usr/lib/softhsm/libsofthsm2.so' 319s 319s def lib(so): 319s """ 319s Wrap the main library call coming from Cython with a preemptive 319s dynamic loading. 319s """ 319s global _lib 319s global _so 319s 319s if _lib: 319s if _so != so: 319s raise AlreadyInitialized( # noqa: F405 319s "Already initialized with %s" % so) 319s else: 319s return _lib 319s 319s > from . import _pkcs11 319s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 319s 319s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 319s __________ SlotsAndTokensTests.test_double_initialise_different_libs ___________ 319s 319s self = 319s 319s def test_double_initialise_different_libs(self): 319s > self.assertIsNotNone(pkcs11.lib(LIB)) 319s 319s tests/test_slots_and_tokens.py:19: 319s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 319s 319s so = '/usr/lib/softhsm/libsofthsm2.so' 319s 319s def lib(so): 319s """ 319s Wrap the main library call coming from Cython with a preemptive 319s dynamic loading. 319s """ 319s global _lib 319s global _so 319s 319s if _lib: 319s if _so != so: 319s raise AlreadyInitialized( # noqa: F405 319s "Already initialized with %s" % so) 319s else: 319s return _lib 319s 319s > from . import _pkcs11 319s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 319s 319s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 319s _________________ SlotsAndTokensTests.test_get_mechanism_info __________________ 319s 319s self = 319s 319s def test_get_mechanism_info(self): 319s > lib = pkcs11.lib(LIB) 319s 319s tests/test_slots_and_tokens.py:41: 319s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 319s 319s so = '/usr/lib/softhsm/libsofthsm2.so' 319s 319s def lib(so): 319s """ 319s Wrap the main library call coming from Cython with a preemptive 319s dynamic loading. 319s """ 319s global _lib 319s global _so 319s 319s if _lib: 319s if _so != so: 319s raise AlreadyInitialized( # noqa: F405 319s "Already initialized with %s" % so) 319s else: 319s return _lib 319s 319s > from . import _pkcs11 319s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 319s 319s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 319s ________________ SlotsAndTokensTests.test_get_mechanism_info_ec ________________ 319s 319s self = 319s 319s @Not.nfast # EC not supported 319s @Not.opencryptoki 319s def test_get_mechanism_info_ec(self): 319s > lib = pkcs11.lib(LIB) 319s 319s tests/test_slots_and_tokens.py:49: 319s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 319s 319s so = '/usr/lib/softhsm/libsofthsm2.so' 319s 319s def lib(so): 319s """ 319s Wrap the main library call coming from Cython with a preemptive 319s dynamic loading. 319s """ 319s global _lib 319s global _so 319s 319s if _lib: 319s if _so != so: 319s raise AlreadyInitialized( # noqa: F405 319s "Already initialized with %s" % so) 319s else: 319s return _lib 319s 319s > from . import _pkcs11 319s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 319s 319s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 319s ___________________ SlotsAndTokensTests.test_get_mechanisms ____________________ 319s 319s self = 319s 319s def test_get_mechanisms(self): 319s > lib = pkcs11.lib(LIB) 319s 319s tests/test_slots_and_tokens.py:35: 319s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 319s 319s so = '/usr/lib/softhsm/libsofthsm2.so' 319s 319s def lib(so): 319s """ 319s Wrap the main library call coming from Cython with a preemptive 319s dynamic loading. 319s """ 319s global _lib 319s global _so 319s 319s if _lib: 319s if _so != so: 319s raise AlreadyInitialized( # noqa: F405 319s "Already initialized with %s" % so) 319s else: 319s return _lib 319s 319s > from . import _pkcs11 319s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 319s 319s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 319s ______________________ SlotsAndTokensTests.test_get_slots ______________________ 319s 319s self = 319s 319s @Only.softhsm2 319s def test_get_slots(self): 319s > lib = pkcs11.lib(LIB) 319s 319s tests/test_slots_and_tokens.py:25: 319s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 319s 319s so = '/usr/lib/softhsm/libsofthsm2.so' 319s 319s def lib(so): 319s """ 319s Wrap the main library call coming from Cython with a preemptive 319s dynamic loading. 319s """ 319s global _lib 319s global _so 319s 319s if _lib: 319s if _so != so: 319s raise AlreadyInitialized( # noqa: F405 319s "Already initialized with %s" % so) 319s else: 319s return _lib 319s 319s > from . import _pkcs11 319s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 319s 319s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 319s ______________________ SlotsAndTokensTests.test_get_token ______________________ 319s 319s self = 319s 319s @Only.softhsm2 319s def test_get_token(self): 319s > lib = pkcs11.lib(LIB) 319s 319s tests/test_slots_and_tokens.py:67: 319s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 319s 319s so = '/usr/lib/softhsm/libsofthsm2.so' 319s 319s def lib(so): 319s """ 319s Wrap the main library call coming from Cython with a preemptive 319s dynamic loading. 319s """ 319s global _lib 319s global _so 319s 319s if _lib: 319s if _so != so: 319s raise AlreadyInitialized( # noqa: F405 319s "Already initialized with %s" % so) 319s else: 319s return _lib 319s 319s > from . import _pkcs11 319s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 319s 319s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 319s _____________________ SlotsAndTokensTests.test_get_tokens ______________________ 319s 319s self = 319s 319s @Only.softhsm2 319s def test_get_tokens(self): 319s > lib = pkcs11.lib(LIB) 319s 319s tests/test_slots_and_tokens.py:57: 319s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 319s 319s so = '/usr/lib/softhsm/libsofthsm2.so' 319s 319s def lib(so): 319s """ 319s Wrap the main library call coming from Cython with a preemptive 319s dynamic loading. 319s """ 319s global _lib 319s global _so 319s 319s if _lib: 319s if _so != so: 319s raise AlreadyInitialized( # noqa: F405 319s "Already initialized with %s" % so) 319s else: 319s return _lib 319s 319s > from . import _pkcs11 319s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 319s 319s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 319s =========================== short test summary info ============================ 319s FAILED tests/test_slots_and_tokens.py::SlotsAndTokensTests::test_double_initialise 319s FAILED tests/test_slots_and_tokens.py::SlotsAndTokensTests::test_double_initialise_different_libs 319s FAILED tests/test_slots_and_tokens.py::SlotsAndTokensTests::test_get_mechanism_info 319s FAILED tests/test_slots_and_tokens.py::SlotsAndTokensTests::test_get_mechanism_info_ec 319s FAILED tests/test_slots_and_tokens.py::SlotsAndTokensTests::test_get_mechanisms 319s FAILED tests/test_slots_and_tokens.py::SlotsAndTokensTests::test_get_slots - ... 319s FAILED tests/test_slots_and_tokens.py::SlotsAndTokensTests::test_get_token - ... 319s FAILED tests/test_slots_and_tokens.py::SlotsAndTokensTests::test_get_tokens 319s ERROR tests/test_aes.py::AESTests::test_encrypt - ImportError: cannot import ... 319s ERROR tests/test_aes.py::AESTests::test_encrypt_big_string - ImportError: can... 319s ERROR tests/test_aes.py::AESTests::test_encrypt_stream - ImportError: cannot ... 319s ERROR tests/test_aes.py::AESTests::test_encrypt_whacky_sizes - ImportError: c... 319s ERROR tests/test_aes.py::AESTests::test_sign - ImportError: cannot import nam... 319s ERROR tests/test_aes.py::AESTests::test_sign_stream - ImportError: cannot imp... 319s ERROR tests/test_aes.py::AESTests::test_wrap - ImportError: cannot import nam... 319s ERROR tests/test_des.py::DESTests::test_encrypt_des2 - ImportError: cannot im... 319s ERROR tests/test_des.py::DESTests::test_encrypt_des3 - ImportError: cannot im... 319s ERROR tests/test_des.py::DESTests::test_generate_des2_key - ImportError: cann... 319s ERROR tests/test_des.py::DESTests::test_generate_des3_key - ImportError: cann... 319s ERROR tests/test_dh.py::DHTests::test_derive_key - ImportError: cannot import... 319s ERROR tests/test_dh.py::DHTests::test_generate_params - ImportError: cannot i... 319s ERROR tests/test_dh.py::DHTests::test_load_params - ImportError: cannot impor... 319s ERROR tests/test_digest.py::DigestTests::test_digest - ImportError: cannot im... 319s ERROR tests/test_digest.py::DigestTests::test_digest_generator - ImportError:... 319s ERROR tests/test_digest.py::DigestTests::test_digest_key - ImportError: canno... 319s ERROR tests/test_digest.py::DigestTests::test_digest_key_data - ImportError: ... 319s ERROR tests/test_dsa.py::DSATests::test_generate_keypair_and_sign - ImportErr... 319s ERROR tests/test_dsa.py::DSATests::test_generate_keypair_directly - ImportErr... 319s ERROR tests/test_dsa.py::DSATests::test_generate_params - ImportError: cannot... 319s ERROR tests/test_ecc.py::ECCTests::test_derive_key - ImportError: cannot impo... 319s ERROR tests/test_ecc.py::ECCTests::test_import_key_named_curve - ImportError:... 319s ERROR tests/test_ecc.py::ECCTests::test_import_key_pair - ImportError: cannot... 319s ERROR tests/test_ecc.py::ECCTests::test_import_key_params - ImportError: cann... 319s ERROR tests/test_ecc.py::ECCTests::test_sign_ecdsa - ImportError: cannot impo... 319s ERROR tests/test_ecc.py::ECCTests::test_sign_eddsa - ImportError: cannot impo... 319s ERROR tests/test_iterators.py::IteratorTests::test_close_iterators - ImportEr... 319s ERROR tests/test_iterators.py::IteratorTests::test_partial_decrypt - ImportEr... 319s ERROR tests/test_public_key_external.py::ExternalPublicKeyTests::test_ecdh - ... 319s ERROR tests/test_public_key_external.py::ExternalPublicKeyTests::test_ecdsa 319s ERROR tests/test_public_key_external.py::ExternalPublicKeyTests::test_rsa - I... 319s ERROR tests/test_public_key_external.py::ExternalPublicKeyTests::test_terrible_hybrid_file_encryption_app 319s ERROR tests/test_rsa.py::RSATests::test_encrypt_oaep - ImportError: cannot im... 319s ERROR tests/test_rsa.py::RSATests::test_encrypt_too_much_data - ImportError: ... 319s ERROR tests/test_rsa.py::RSATests::test_key_wrap - ImportError: cannot import... 319s ERROR tests/test_rsa.py::RSATests::test_sign_default - ImportError: cannot im... 319s ERROR tests/test_rsa.py::RSATests::test_sign_pkcs_v15 - ImportError: cannot i... 319s ERROR tests/test_rsa.py::RSATests::test_sign_pss - ImportError: cannot import... 319s ERROR tests/test_rsa.py::RSATests::test_sign_stream - ImportError: cannot imp... 319s ERROR tests/test_sessions.py::SessionTests::test_copy_object - ImportError: c... 319s ERROR tests/test_sessions.py::SessionTests::test_create_object - ImportError:... 319s ERROR tests/test_sessions.py::SessionTests::test_destroy_object - ImportError... 319s ERROR tests/test_sessions.py::SessionTests::test_generate_key - ImportError: ... 319s ERROR tests/test_sessions.py::SessionTests::test_generate_keypair - ImportErr... 319s ERROR tests/test_sessions.py::SessionTests::test_generate_random - ImportErro... 319s ERROR tests/test_sessions.py::SessionTests::test_get_key - ImportError: canno... 319s ERROR tests/test_sessions.py::SessionTests::test_get_key_not_found - ImportEr... 319s ERROR tests/test_sessions.py::SessionTests::test_get_key_vague - ImportError:... 319s ERROR tests/test_sessions.py::SessionTests::test_get_objects - ImportError: c... 319s ERROR tests/test_sessions.py::SessionTests::test_open_session - ImportError: ... 319s ERROR tests/test_sessions.py::SessionTests::test_open_session_and_login_so - ... 319s ERROR tests/test_sessions.py::SessionTests::test_open_session_and_login_user 319s ERROR tests/test_sessions.py::SessionTests::test_seed_random - ImportError: c... 319s ERROR tests/test_threading.py::ThreadingTests::test_concurrency - ImportError... 319s ERROR tests/test_x509.py::X509Tests::test_import_ca_certificate - ImportError... 319s ERROR tests/test_x509.py::X509Tests::test_import_ca_certificate_easy - Import... 319s ERROR tests/test_x509.py::X509Tests::test_self_sign_certificate - ImportError... 319s ERROR tests/test_x509.py::X509Tests::test_sign_csr - ImportError: cannot impo... 319s ERROR tests/test_x509.py::X509Tests::test_verify_certificate_dsa - ImportErro... 319s ERROR tests/test_x509.py::X509Tests::test_verify_certificate_ecdsa - ImportEr... 319s ERROR tests/test_x509.py::X509Tests::test_verify_certificate_rsa - ImportErro... 319s ========================= 8 failed, 62 errors in 0.51s ========================= 319s Done 319s Deleting the token from SoftHSM 2 319s Found token (130342b6-b6b6-9b6c-73c0-8865d2743acd) with matching token label. 319s The token (/tmp/autopkgtest.nC0czr/autopkgtest_tmp/build/tests/pkcs11-testenv._kix00ad/softhsm2/130342b6-b6b6-9b6c-73c0-8865d2743acd) has been deleted. 319s Removing temporary directory /tmp/autopkgtest.nC0czr/autopkgtest_tmp/build/tests/pkcs11-testenv._kix00ad 319s Creating temporary directory for SoftHSM 2: /tmp/autopkgtest.nC0czr/autopkgtest_tmp/build/tests/pkcs11-testenv.z10g1egh 319s Initializing a new token with softhsm2-util 319s Slot 0 has a free/uninitialized token. 319s The token has been initialized and is reassigned to slot 1039178710 319s Running in the test environment... 319s ============================= test session starts ============================== 319s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 319s rootdir: /tmp/autopkgtest.nC0czr/autopkgtest_tmp/build 319s plugins: typeguard-4.4.1 319s collected 70 items 319s 319s tests/test_aes.py ....ss. [ 10%] 319s tests/test_des.py .... [ 15%] 319s tests/test_dh.py ... [ 20%] 319s tests/test_digest.py .... [ 25%] 319s tests/test_dsa.py ... [ 30%] 319s tests/test_ecc.py .s.... [ 38%] 319s tests/test_iterators.py x. [ 41%] 319s tests/test_public_key_external.py .s.. [ 47%] 319s tests/test_rsa.py ....... [ 57%] 319s tests/test_sessions.py .............. [ 77%] 319s tests/test_slots_and_tokens.py ........ [ 88%] 319s tests/test_threading.py . [ 90%] 319s tests/test_x509.py ..s..s. [100%] 319s 319s =============================== warnings summary =============================== 319s tests/test_public_key_external.py::ExternalPublicKeyTests::test_ecdh 319s /tmp/autopkgtest.nC0czr/autopkgtest_tmp/build/tests/test_public_key_external.py:82: CryptographyDeprecationWarning: Curve argument must be an instance of an EllipticCurve class. Did you pass a class by mistake? This will be an exception in a future version of cryptography. 319s bob_priv = ec.generate_private_key(ec.SECP256R1, 319s 319s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 319s ============= 63 passed, 6 skipped, 1 xfailed, 1 warning in 6.92s ============== 319s Done 319s Deleting the token from SoftHSM 2 319s Found token (cf7d4a52-42bf-1c6b-106c-a308bdf09bd6) with matching token label. 319s The token (/tmp/autopkgtest.nC0czr/autopkgtest_tmp/build/tests/pkcs11-testenv.z10g1egh/softhsm2/cf7d4a52-42bf-1c6b-106c-a308bdf09bd6) has been deleted. 319s Removing temporary directory /tmp/autopkgtest.nC0czr/autopkgtest_tmp/build/tests/pkcs11-testenv.z10g1egh 319s autopkgtest [00:32:53]: test pybuild-autopkgtest: -----------------------] 323s autopkgtest [00:32:57]: test pybuild-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 323s pybuild-autopkgtest FAIL non-zero exit status 25 326s autopkgtest [00:33:00]: @@@@@@@@@@@@@@@@@@@@ summary 326s pybuild-autopkgtest FAIL non-zero exit status 25