1s autopkgtest [21:04:19]: starting date and time: 2024-11-13 21:04:19+0000 1s autopkgtest [21:04:19]: git checkout: 0acbae0a WIP show VirtSubproc stderr in real-time 1s autopkgtest [21:04:19]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.ni0535z1/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults,src:python3-stdlib-extensions --apt-upgrade 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' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-ppc64el-15.secgroup --name adt-plucky-ppc64el-python-pkcs11-20241113-210418-juju-7f2275-prod-proposed-migration-environment-2-d35a3d26-61d3-404b-92c3-cf9fe70e57ad --image adt/ubuntu-plucky-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-ppc64el -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 111s autopkgtest [21:06:09]: testbed dpkg architecture: ppc64el 111s autopkgtest [21:06:09]: testbed apt version: 2.9.8 111s autopkgtest [21:06:09]: @@@@@@@@@@@@@@@@@@@@ test bed setup 112s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 112s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 112s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [970 kB] 112s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [17.2 kB] 112s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [101 kB] 112s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [110 kB] 112s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [679 kB] 112s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [20.8 kB] 113s Fetched 1978 kB in 1s (1935 kB/s) 113s Reading package lists... 115s Reading package lists... 115s Building dependency tree... 115s Reading state information... 116s Calculating upgrade... 116s The following NEW packages will be installed: 116s python3.13-gdbm 116s The following packages will be upgraded: 116s bpfcc-tools bpftrace libbpfcc libgnutls30t64 libjson-glib-1.0-0 116s libjson-glib-1.0-common libnewt0.52 libpython3-stdlib libutempter0 python3 116s python3-bpfcc python3-gdbm python3-minimal python3-newt whiptail 116s 15 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 116s Need to get 4700 kB of archives. 116s After this operation, 215 kB of additional disk space will be used. 116s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-minimal ppc64el 3.12.7-1 [27.4 kB] 116s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3 ppc64el 3.12.7-1 [24.0 kB] 116s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libpython3-stdlib ppc64el 3.12.7-1 [10.0 kB] 116s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgnutls30t64 ppc64el 3.8.8-2ubuntu1 [1072 kB] 116s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-newt ppc64el 0.52.24-2ubuntu4 [21.8 kB] 116s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el libnewt0.52 ppc64el 0.52.24-2ubuntu4 [62.1 kB] 116s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el whiptail ppc64el 0.52.24-2ubuntu4 [19.5 kB] 116s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.13-gdbm ppc64el 3.13.0-2 [31.5 kB] 116s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-gdbm ppc64el 3.12.7-1 [8640 B] 116s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libbpfcc ppc64el 0.30.0+ds-1ubuntu5 [696 kB] 117s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-bpfcc all 0.30.0+ds-1ubuntu5 [40.4 kB] 117s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el bpfcc-tools all 0.30.0+ds-1ubuntu5 [697 kB] 117s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el bpftrace ppc64el 0.21.2-2ubuntu2 [1898 kB] 117s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjson-glib-1.0-common all 1.10.0+ds-3 [5586 B] 117s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjson-glib-1.0-0 ppc64el 1.10.0+ds-3 [76.0 kB] 117s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el libutempter0 ppc64el 1.2.1-4 [9850 B] 117s Fetched 4700 kB in 1s (4141 kB/s) 118s (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 ... 73767 files and directories currently installed.) 118s Preparing to unpack .../python3-minimal_3.12.7-1_ppc64el.deb ... 118s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 118s Setting up python3-minimal (3.12.7-1) ... 118s (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 ... 73767 files and directories currently installed.) 118s Preparing to unpack .../python3_3.12.7-1_ppc64el.deb ... 118s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 118s Preparing to unpack .../libpython3-stdlib_3.12.7-1_ppc64el.deb ... 118s Unpacking libpython3-stdlib:ppc64el (3.12.7-1) over (3.12.6-0ubuntu1) ... 118s Preparing to unpack .../libgnutls30t64_3.8.8-2ubuntu1_ppc64el.deb ... 118s Unpacking libgnutls30t64:ppc64el (3.8.8-2ubuntu1) over (3.8.6-2ubuntu1) ... 118s Setting up libgnutls30t64:ppc64el (3.8.8-2ubuntu1) ... 118s (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 ... 73767 files and directories currently installed.) 118s Preparing to unpack .../00-python3-newt_0.52.24-2ubuntu4_ppc64el.deb ... 118s Unpacking python3-newt:ppc64el (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 118s Preparing to unpack .../01-libnewt0.52_0.52.24-2ubuntu4_ppc64el.deb ... 118s Unpacking libnewt0.52:ppc64el (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 118s Preparing to unpack .../02-whiptail_0.52.24-2ubuntu4_ppc64el.deb ... 118s Unpacking whiptail (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 118s Selecting previously unselected package python3.13-gdbm. 118s Preparing to unpack .../03-python3.13-gdbm_3.13.0-2_ppc64el.deb ... 118s Unpacking python3.13-gdbm (3.13.0-2) ... 118s Preparing to unpack .../04-python3-gdbm_3.12.7-1_ppc64el.deb ... 118s Unpacking python3-gdbm:ppc64el (3.12.7-1) over (3.12.6-1ubuntu1) ... 118s Preparing to unpack .../05-libbpfcc_0.30.0+ds-1ubuntu5_ppc64el.deb ... 118s Unpacking libbpfcc:ppc64el (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 118s Preparing to unpack .../06-python3-bpfcc_0.30.0+ds-1ubuntu5_all.deb ... 118s Unpacking python3-bpfcc (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 118s Preparing to unpack .../07-bpfcc-tools_0.30.0+ds-1ubuntu5_all.deb ... 118s Unpacking bpfcc-tools (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 118s Preparing to unpack .../08-bpftrace_0.21.2-2ubuntu2_ppc64el.deb ... 118s Unpacking bpftrace (0.21.2-2ubuntu2) over (0.21.2-2) ... 119s Preparing to unpack .../09-libjson-glib-1.0-common_1.10.0+ds-3_all.deb ... 119s Unpacking libjson-glib-1.0-common (1.10.0+ds-3) over (1.10.0+ds-2) ... 119s Preparing to unpack .../10-libjson-glib-1.0-0_1.10.0+ds-3_ppc64el.deb ... 119s Unpacking libjson-glib-1.0-0:ppc64el (1.10.0+ds-3) over (1.10.0+ds-2) ... 119s Preparing to unpack .../11-libutempter0_1.2.1-4_ppc64el.deb ... 119s Unpacking libutempter0:ppc64el (1.2.1-4) over (1.2.1-3build1) ... 119s Setting up libnewt0.52:ppc64el (0.52.24-2ubuntu4) ... 119s Setting up libutempter0:ppc64el (1.2.1-4) ... 119s Setting up whiptail (0.52.24-2ubuntu4) ... 119s Setting up libjson-glib-1.0-common (1.10.0+ds-3) ... 119s Setting up libbpfcc:ppc64el (0.30.0+ds-1ubuntu5) ... 119s Setting up python3.13-gdbm (3.13.0-2) ... 119s Setting up libpython3-stdlib:ppc64el (3.12.7-1) ... 119s Setting up bpftrace (0.21.2-2ubuntu2) ... 119s Setting up python3 (3.12.7-1) ... 119s Setting up python3-newt:ppc64el (0.52.24-2ubuntu4) ... 119s Setting up libjson-glib-1.0-0:ppc64el (1.10.0+ds-3) ... 119s Setting up python3-bpfcc (0.30.0+ds-1ubuntu5) ... 119s Setting up python3-gdbm:ppc64el (3.12.7-1) ... 119s Setting up bpfcc-tools (0.30.0+ds-1ubuntu5) ... 119s Processing triggers for man-db (2.12.1-3) ... 121s Processing triggers for libc-bin (2.40-1ubuntu3) ... 121s Reading package lists... 121s Building dependency tree... 121s Reading state information... 122s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 122s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 122s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 122s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 122s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 123s Reading package lists... 123s Reading package lists... 123s Building dependency tree... 123s Reading state information... 124s Calculating upgrade... 124s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 124s Reading package lists... 124s Building dependency tree... 124s Reading state information... 124s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 127s autopkgtest [21:06:25]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 13:49:23 UTC 2024 127s autopkgtest [21:06:25]: @@@@@@@@@@@@@@@@@@@@ apt-source python-pkcs11 129s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-pkcs11 0.7.0-1build2 (dsc) [2400 B] 129s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-pkcs11 0.7.0-1build2 (tar) [107 kB] 129s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-pkcs11 0.7.0-1build2 (diff) [7272 B] 129s gpgv: Signature made Wed Apr 10 17:57:46 2024 UTC 129s gpgv: using RSA key 25E3FF2D7F469DBE7D0D4E50AFCFEC8E669CE1C2 129s gpgv: Can't check signature: No public key 129s dpkg-source: warning: cannot verify inline signature for ./python-pkcs11_0.7.0-1build2.dsc: no acceptable signature found 129s autopkgtest [21:06:27]: testing package python-pkcs11 version 0.7.0-1build2 130s autopkgtest [21:06:28]: build not needed 130s autopkgtest [21:06:28]: test pybuild-autopkgtest: preparing testbed 131s Reading package lists... 131s Building dependency tree... 131s Reading state information... 132s Starting pkgProblemResolver with broken count: 0 132s Starting 2 pkgProblemResolver with broken count: 0 132s Done 132s The following additional packages will be installed: 132s autoconf automake autopoint autotools-dev build-essential cpp cpp-14 132s cpp-14-powerpc64le-linux-gnu cpp-powerpc64le-linux-gnu cython3 debhelper 132s debugedit dh-autoreconf dh-python dh-strip-nondeterminism docutils-common 132s dwz fonts-font-awesome fonts-lato g++ g++-14 g++-14-powerpc64le-linux-gnu 132s g++-powerpc64le-linux-gnu gcc gcc-14 gcc-14-powerpc64le-linux-gnu 132s gcc-powerpc64le-linux-gnu gettext intltool-debian libarchive-zip-perl 132s libasan8 libcc1-0 libdebhelper-perl libexpat1-dev 132s libfile-stripnondeterminism-perl libgcc-14-dev libgomp1 libisl23 libitm1 132s libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl liblsan0 libmpc3 132s libpython3-all-dev libpython3-dev libpython3.12-dev libpython3.13 132s libpython3.13-dev libpython3.13-minimal libpython3.13-stdlib libquadmath0 132s libsofthsm2 libstdc++-14-dev libtool libtsan2 libubsan1 m4 po-debconf 132s pybuild-plugin-autopkgtest python3-alabaster python3-all python3-all-dev 132s python3-asn1crypto python3-cached-property python3-defusedxml python3-dev 132s python3-docutils python3-imagesize python3-iniconfig python3-oscrypto 132s python3-packaging python3-pkcs11 python3-pluggy python3-pytest python3-roman 132s python3-setuptools-scm python3-snowballstemmer python3-sphinx 132s python3-sphinx-rtd-theme python3-sphinxcontrib.jquery python3.12-dev 132s python3.13 python3.13-dev python3.13-minimal sgml-base softhsm2 132s softhsm2-common sphinx-common sphinx-rtd-theme-common xml-core zlib1g-dev 132s Suggested packages: 132s autoconf-archive gnu-standards autoconf-doc cpp-doc gcc-14-locales 132s cpp-14-doc cython-doc dh-make flit python3-build python3-installer 132s python3-wheel gcc-14-doc gcc-multilib manpages-dev flex bison gdb gcc-doc 132s gdb-powerpc64le-linux-gnu gettext-doc libasprintf-dev libgettextpo-dev 132s libstdc++-14-doc libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc 132s libmail-box-perl docutils-doc fonts-linuxlibertine | ttf-linux-libertine 132s texlive-lang-french texlive-latex-base texlive-latex-recommended 132s python3-stemmer dvipng dvisvgm fonts-freefont-otf imagemagick-6.q16 latexmk 132s libjs-mathjax sphinx-doc tex-gyre texlive-fonts-extra 132s texlive-fonts-recommended texlive-latex-extra texlive-plain-generic 132s python3.13-venv python3.13-doc binfmt-support sgml-base-doc 132s Recommended packages: 132s libarchive-cpio-perl javascript-common libjson-xs-perl libltdl-dev 132s libmail-sendmail-perl libpaper-utils python3-pil 132s The following NEW packages will be installed: 132s autoconf automake autopkgtest-satdep autopoint autotools-dev build-essential 132s cpp cpp-14 cpp-14-powerpc64le-linux-gnu cpp-powerpc64le-linux-gnu cython3 132s debhelper debugedit dh-autoreconf dh-python dh-strip-nondeterminism 132s docutils-common dwz fonts-font-awesome fonts-lato g++ g++-14 132s g++-14-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu gcc gcc-14 132s gcc-14-powerpc64le-linux-gnu gcc-powerpc64le-linux-gnu gettext 132s intltool-debian libarchive-zip-perl libasan8 libcc1-0 libdebhelper-perl 132s libexpat1-dev libfile-stripnondeterminism-perl libgcc-14-dev libgomp1 132s libisl23 libitm1 libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl 132s liblsan0 libmpc3 libpython3-all-dev libpython3-dev libpython3.12-dev 132s libpython3.13 libpython3.13-dev libpython3.13-minimal libpython3.13-stdlib 132s libquadmath0 libsofthsm2 libstdc++-14-dev libtool libtsan2 libubsan1 m4 132s po-debconf pybuild-plugin-autopkgtest python3-alabaster python3-all 132s python3-all-dev python3-asn1crypto python3-cached-property 132s python3-defusedxml python3-dev python3-docutils python3-imagesize 132s python3-iniconfig python3-oscrypto python3-packaging python3-pkcs11 132s python3-pluggy python3-pytest python3-roman python3-setuptools-scm 132s python3-snowballstemmer python3-sphinx python3-sphinx-rtd-theme 132s python3-sphinxcontrib.jquery python3.12-dev python3.13 python3.13-dev 132s python3.13-minimal sgml-base softhsm2 softhsm2-common sphinx-common 132s sphinx-rtd-theme-common xml-core zlib1g-dev 132s 0 upgraded, 94 newly installed, 0 to remove and 0 not upgraded. 132s Need to get 96.1 MB/96.1 MB of archives. 132s After this operation, 370 MB of additional disk space will be used. 132s Get:1 /tmp/autopkgtest.jM4aXU/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [872 B] 132s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el fonts-lato all 2.015-1 [2781 kB] 133s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpython3.13-minimal ppc64el 3.13.0-2 [881 kB] 133s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.13-minimal ppc64el 3.13.0-2 [2302 kB] 133s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el sgml-base all 1.31 [11.4 kB] 133s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el m4 ppc64el 1.4.19-4build1 [278 kB] 133s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el autoconf all 2.72-3 [382 kB] 133s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el autotools-dev all 20220109.1 [44.9 kB] 133s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el automake all 1:1.16.5-1.3ubuntu1 [558 kB] 133s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el autopoint all 0.22.5-2 [616 kB] 133s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el libisl23 ppc64el 0.27-1 [882 kB] 133s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el libmpc3 ppc64el 1.3.1-1build2 [62.1 kB] 133s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14-powerpc64le-linux-gnu ppc64el 14.2.0-8ubuntu1 [10.5 MB] 134s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14 ppc64el 14.2.0-8ubuntu1 [1034 B] 134s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [5456 B] 134s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp ppc64el 4:14.1.0-2ubuntu1 [22.5 kB] 134s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el libcc1-0 ppc64el 14.2.0-8ubuntu1 [48.1 kB] 134s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgomp1 ppc64el 14.2.0-8ubuntu1 [161 kB] 134s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el libitm1 ppc64el 14.2.0-8ubuntu1 [31.9 kB] 134s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el libasan8 ppc64el 14.2.0-8ubuntu1 [2945 kB] 134s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblsan0 ppc64el 14.2.0-8ubuntu1 [1322 kB] 134s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el libtsan2 ppc64el 14.2.0-8ubuntu1 [2695 kB] 134s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el libubsan1 ppc64el 14.2.0-8ubuntu1 [1191 kB] 135s Get:24 http://ftpmaster.internal/ubuntu plucky/main ppc64el libquadmath0 ppc64el 14.2.0-8ubuntu1 [158 kB] 135s Get:25 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgcc-14-dev ppc64el 14.2.0-8ubuntu1 [1619 kB] 135s Get:26 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14-powerpc64le-linux-gnu ppc64el 14.2.0-8ubuntu1 [20.6 MB] 135s Get:27 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14 ppc64el 14.2.0-8ubuntu1 [528 kB] 135s Get:28 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [1222 B] 135s Get:29 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc ppc64el 4:14.1.0-2ubuntu1 [5006 B] 135s Get:30 http://ftpmaster.internal/ubuntu plucky/main ppc64el libstdc++-14-dev ppc64el 14.2.0-8ubuntu1 [2673 kB] 135s Get:31 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14-powerpc64le-linux-gnu ppc64el 14.2.0-8ubuntu1 [12.0 MB] 136s Get:32 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14 ppc64el 14.2.0-8ubuntu1 [19.9 kB] 136s Get:33 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [968 B] 136s Get:34 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++ ppc64el 4:14.1.0-2ubuntu1 [1090 B] 136s Get:35 http://ftpmaster.internal/ubuntu plucky/main ppc64el build-essential ppc64el 12.10ubuntu1 [4936 B] 136s Get:36 http://ftpmaster.internal/ubuntu plucky/universe ppc64el cython3 ppc64el 3.0.11+dfsg-1ubuntu1 [2579 kB] 136s Get:37 http://ftpmaster.internal/ubuntu plucky/main ppc64el libdebhelper-perl all 13.20ubuntu1 [94.2 kB] 136s Get:38 http://ftpmaster.internal/ubuntu plucky/main ppc64el libtool all 2.4.7-7build1 [166 kB] 136s Get:39 http://ftpmaster.internal/ubuntu plucky/main ppc64el dh-autoreconf all 20 [16.1 kB] 136s Get:40 http://ftpmaster.internal/ubuntu plucky/main ppc64el libarchive-zip-perl all 1.68-1 [90.2 kB] 136s Get:41 http://ftpmaster.internal/ubuntu plucky/main ppc64el libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 136s Get:42 http://ftpmaster.internal/ubuntu plucky/main ppc64el dh-strip-nondeterminism all 1.14.0-1 [5058 B] 136s Get:43 http://ftpmaster.internal/ubuntu plucky/main ppc64el debugedit ppc64el 1:5.1-1 [52.1 kB] 136s Get:44 http://ftpmaster.internal/ubuntu plucky/main ppc64el dwz ppc64el 0.15-1build6 [142 kB] 136s Get:45 http://ftpmaster.internal/ubuntu plucky/main ppc64el gettext ppc64el 0.22.5-2 [1082 kB] 136s Get:46 http://ftpmaster.internal/ubuntu plucky/main ppc64el intltool-debian all 0.35.0+20060710.6 [23.2 kB] 136s Get:47 http://ftpmaster.internal/ubuntu plucky/main ppc64el po-debconf all 1.0.21+nmu1 [233 kB] 136s Get:48 http://ftpmaster.internal/ubuntu plucky/main ppc64el debhelper all 13.20ubuntu1 [893 kB] 136s Get:49 http://ftpmaster.internal/ubuntu plucky/universe ppc64el dh-python all 6.20241024 [112 kB] 136s Get:50 http://ftpmaster.internal/ubuntu plucky/main ppc64el xml-core all 0.19 [20.3 kB] 136s Get:51 http://ftpmaster.internal/ubuntu plucky/main ppc64el docutils-common all 0.21.2+dfsg-2 [131 kB] 136s Get:52 http://ftpmaster.internal/ubuntu plucky/main ppc64el fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 136s Get:53 http://ftpmaster.internal/ubuntu plucky/main ppc64el libexpat1-dev ppc64el 2.6.2-2 [149 kB] 136s Get:54 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 136s Get:55 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 136s Get:56 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjs-sphinxdoc all 7.4.7-4 [158 kB] 136s Get:57 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjson-perl all 4.10000-1 [81.9 kB] 136s Get:58 http://ftpmaster.internal/ubuntu plucky/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu1 [902 kB] 136s Get:59 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpython3.12-dev ppc64el 3.12.7-3 [6136 kB] 136s Get:60 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libpython3-dev ppc64el 3.12.7-1 [10.3 kB] 136s Get:61 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpython3.13-stdlib ppc64el 3.13.0-2 [2148 kB] 136s Get:62 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpython3.13 ppc64el 3.13.0-2 [2527 kB] 136s Get:63 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpython3.13-dev ppc64el 3.13.0-2 [5958 kB] 137s Get:64 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libpython3-all-dev ppc64el 3.12.7-1 [916 B] 137s Get:65 http://ftpmaster.internal/ubuntu plucky/universe ppc64el pybuild-plugin-autopkgtest all 6.20241024 [1746 B] 137s Get:66 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.13 ppc64el 3.13.0-2 [719 kB] 137s Get:67 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-all ppc64el 3.12.7-1 [888 B] 137s Get:68 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.12-dev ppc64el 3.12.7-3 [505 kB] 137s Get:69 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-dev ppc64el 3.12.7-1 [26.7 kB] 137s Get:70 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.13-dev ppc64el 3.13.0-2 [507 kB] 137s Get:71 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-all-dev ppc64el 3.12.7-1 [912 B] 137s Get:72 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-asn1crypto all 1.5.1-3 [79.7 kB] 137s Get:73 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-cached-property all 1.5.2-1 [11.0 kB] 137s Get:74 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-defusedxml all 0.7.1-2 [42.0 kB] 137s Get:75 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-roman all 4.2-1 [10.0 kB] 137s Get:76 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-docutils all 0.21.2+dfsg-2 [409 kB] 137s Get:77 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-imagesize all 1.4.1-1 [6844 B] 137s Get:78 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 137s Get:79 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-oscrypto all 1.3.0-7 [128 kB] 137s Get:80 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.1-1 [41.4 kB] 137s Get:81 http://ftpmaster.internal/ubuntu plucky/main ppc64el sphinx-rtd-theme-common all 3.0.1+dfsg-1 [1012 kB] 137s Get:82 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pkcs11 ppc64el 0.7.0-1build2 [362 kB] 137s Get:83 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pluggy all 1.5.0-1 [21.0 kB] 137s Get:84 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest all 8.3.3-1 [251 kB] 137s Get:85 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-setuptools-scm all 8.1.0-1 [32.2 kB] 137s Get:86 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-snowballstemmer all 2.2.0-4build1 [59.8 kB] 137s Get:87 http://ftpmaster.internal/ubuntu plucky/main ppc64el sphinx-common all 7.4.7-4 [775 kB] 137s Get:88 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-alabaster all 0.7.16-0.1 [18.5 kB] 137s Get:89 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-sphinx all 7.4.7-4 [593 kB] 137s Get:90 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-sphinxcontrib.jquery all 4.1-5 [6678 B] 137s Get:91 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-sphinx-rtd-theme all 3.0.1+dfsg-1 [23.5 kB] 137s Get:92 http://ftpmaster.internal/ubuntu plucky/universe ppc64el softhsm2-common ppc64el 2.6.1-2.2ubuntu3 [6198 B] 137s Get:93 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libsofthsm2 ppc64el 2.6.1-2.2ubuntu3 [296 kB] 137s Get:94 http://ftpmaster.internal/ubuntu plucky/universe ppc64el softhsm2 ppc64el 2.6.1-2.2ubuntu3 [200 kB] 137s Fetched 96.1 MB in 5s (18.8 MB/s) 137s Selecting previously unselected package fonts-lato. 138s (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 ... 73775 files and directories currently installed.) 138s Preparing to unpack .../00-fonts-lato_2.015-1_all.deb ... 138s Unpacking fonts-lato (2.015-1) ... 138s Selecting previously unselected package libpython3.13-minimal:ppc64el. 138s Preparing to unpack .../01-libpython3.13-minimal_3.13.0-2_ppc64el.deb ... 138s Unpacking libpython3.13-minimal:ppc64el (3.13.0-2) ... 138s Selecting previously unselected package python3.13-minimal. 138s Preparing to unpack .../02-python3.13-minimal_3.13.0-2_ppc64el.deb ... 138s Unpacking python3.13-minimal (3.13.0-2) ... 138s Selecting previously unselected package sgml-base. 138s Preparing to unpack .../03-sgml-base_1.31_all.deb ... 138s Unpacking sgml-base (1.31) ... 138s Selecting previously unselected package m4. 138s Preparing to unpack .../04-m4_1.4.19-4build1_ppc64el.deb ... 138s Unpacking m4 (1.4.19-4build1) ... 138s Selecting previously unselected package autoconf. 138s Preparing to unpack .../05-autoconf_2.72-3_all.deb ... 138s Unpacking autoconf (2.72-3) ... 138s Selecting previously unselected package autotools-dev. 138s Preparing to unpack .../06-autotools-dev_20220109.1_all.deb ... 138s Unpacking autotools-dev (20220109.1) ... 138s Selecting previously unselected package automake. 138s Preparing to unpack .../07-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 138s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 138s Selecting previously unselected package autopoint. 138s Preparing to unpack .../08-autopoint_0.22.5-2_all.deb ... 138s Unpacking autopoint (0.22.5-2) ... 138s Selecting previously unselected package libisl23:ppc64el. 138s Preparing to unpack .../09-libisl23_0.27-1_ppc64el.deb ... 138s Unpacking libisl23:ppc64el (0.27-1) ... 138s Selecting previously unselected package libmpc3:ppc64el. 138s Preparing to unpack .../10-libmpc3_1.3.1-1build2_ppc64el.deb ... 138s Unpacking libmpc3:ppc64el (1.3.1-1build2) ... 138s Selecting previously unselected package cpp-14-powerpc64le-linux-gnu. 138s Preparing to unpack .../11-cpp-14-powerpc64le-linux-gnu_14.2.0-8ubuntu1_ppc64el.deb ... 138s Unpacking cpp-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 138s Selecting previously unselected package cpp-14. 138s Preparing to unpack .../12-cpp-14_14.2.0-8ubuntu1_ppc64el.deb ... 138s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 138s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 138s Preparing to unpack .../13-cpp-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 138s Unpacking cpp-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 138s Selecting previously unselected package cpp. 138s Preparing to unpack .../14-cpp_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 138s Unpacking cpp (4:14.1.0-2ubuntu1) ... 138s Selecting previously unselected package libcc1-0:ppc64el. 138s Preparing to unpack .../15-libcc1-0_14.2.0-8ubuntu1_ppc64el.deb ... 138s Unpacking libcc1-0:ppc64el (14.2.0-8ubuntu1) ... 138s Selecting previously unselected package libgomp1:ppc64el. 138s Preparing to unpack .../16-libgomp1_14.2.0-8ubuntu1_ppc64el.deb ... 138s Unpacking libgomp1:ppc64el (14.2.0-8ubuntu1) ... 138s Selecting previously unselected package libitm1:ppc64el. 138s Preparing to unpack .../17-libitm1_14.2.0-8ubuntu1_ppc64el.deb ... 138s Unpacking libitm1:ppc64el (14.2.0-8ubuntu1) ... 138s Selecting previously unselected package libasan8:ppc64el. 138s Preparing to unpack .../18-libasan8_14.2.0-8ubuntu1_ppc64el.deb ... 138s Unpacking libasan8:ppc64el (14.2.0-8ubuntu1) ... 138s Selecting previously unselected package liblsan0:ppc64el. 138s Preparing to unpack .../19-liblsan0_14.2.0-8ubuntu1_ppc64el.deb ... 138s Unpacking liblsan0:ppc64el (14.2.0-8ubuntu1) ... 138s Selecting previously unselected package libtsan2:ppc64el. 138s Preparing to unpack .../20-libtsan2_14.2.0-8ubuntu1_ppc64el.deb ... 138s Unpacking libtsan2:ppc64el (14.2.0-8ubuntu1) ... 139s Selecting previously unselected package libubsan1:ppc64el. 139s Preparing to unpack .../21-libubsan1_14.2.0-8ubuntu1_ppc64el.deb ... 139s Unpacking libubsan1:ppc64el (14.2.0-8ubuntu1) ... 139s Selecting previously unselected package libquadmath0:ppc64el. 139s Preparing to unpack .../22-libquadmath0_14.2.0-8ubuntu1_ppc64el.deb ... 139s Unpacking libquadmath0:ppc64el (14.2.0-8ubuntu1) ... 139s Selecting previously unselected package libgcc-14-dev:ppc64el. 139s Preparing to unpack .../23-libgcc-14-dev_14.2.0-8ubuntu1_ppc64el.deb ... 139s Unpacking libgcc-14-dev:ppc64el (14.2.0-8ubuntu1) ... 139s Selecting previously unselected package gcc-14-powerpc64le-linux-gnu. 139s Preparing to unpack .../24-gcc-14-powerpc64le-linux-gnu_14.2.0-8ubuntu1_ppc64el.deb ... 139s Unpacking gcc-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 139s Selecting previously unselected package gcc-14. 139s Preparing to unpack .../25-gcc-14_14.2.0-8ubuntu1_ppc64el.deb ... 139s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 139s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 139s Preparing to unpack .../26-gcc-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 139s Unpacking gcc-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 139s Selecting previously unselected package gcc. 139s Preparing to unpack .../27-gcc_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 139s Unpacking gcc (4:14.1.0-2ubuntu1) ... 139s Selecting previously unselected package libstdc++-14-dev:ppc64el. 139s Preparing to unpack .../28-libstdc++-14-dev_14.2.0-8ubuntu1_ppc64el.deb ... 139s Unpacking libstdc++-14-dev:ppc64el (14.2.0-8ubuntu1) ... 139s Selecting previously unselected package g++-14-powerpc64le-linux-gnu. 139s Preparing to unpack .../29-g++-14-powerpc64le-linux-gnu_14.2.0-8ubuntu1_ppc64el.deb ... 139s Unpacking g++-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 140s Selecting previously unselected package g++-14. 140s Preparing to unpack .../30-g++-14_14.2.0-8ubuntu1_ppc64el.deb ... 140s Unpacking g++-14 (14.2.0-8ubuntu1) ... 140s Selecting previously unselected package g++-powerpc64le-linux-gnu. 140s Preparing to unpack .../31-g++-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 140s Unpacking g++-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 140s Selecting previously unselected package g++. 140s Preparing to unpack .../32-g++_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 140s Unpacking g++ (4:14.1.0-2ubuntu1) ... 140s Selecting previously unselected package build-essential. 140s Preparing to unpack .../33-build-essential_12.10ubuntu1_ppc64el.deb ... 140s Unpacking build-essential (12.10ubuntu1) ... 140s Selecting previously unselected package cython3. 140s Preparing to unpack .../34-cython3_3.0.11+dfsg-1ubuntu1_ppc64el.deb ... 140s Unpacking cython3 (3.0.11+dfsg-1ubuntu1) ... 140s Selecting previously unselected package libdebhelper-perl. 140s Preparing to unpack .../35-libdebhelper-perl_13.20ubuntu1_all.deb ... 140s Unpacking libdebhelper-perl (13.20ubuntu1) ... 140s Selecting previously unselected package libtool. 140s Preparing to unpack .../36-libtool_2.4.7-7build1_all.deb ... 140s Unpacking libtool (2.4.7-7build1) ... 140s Selecting previously unselected package dh-autoreconf. 140s Preparing to unpack .../37-dh-autoreconf_20_all.deb ... 140s Unpacking dh-autoreconf (20) ... 140s Selecting previously unselected package libarchive-zip-perl. 140s Preparing to unpack .../38-libarchive-zip-perl_1.68-1_all.deb ... 140s Unpacking libarchive-zip-perl (1.68-1) ... 140s Selecting previously unselected package libfile-stripnondeterminism-perl. 140s Preparing to unpack .../39-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 140s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 140s Selecting previously unselected package dh-strip-nondeterminism. 140s Preparing to unpack .../40-dh-strip-nondeterminism_1.14.0-1_all.deb ... 140s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 140s Selecting previously unselected package debugedit. 140s Preparing to unpack .../41-debugedit_1%3a5.1-1_ppc64el.deb ... 140s Unpacking debugedit (1:5.1-1) ... 140s Selecting previously unselected package dwz. 140s Preparing to unpack .../42-dwz_0.15-1build6_ppc64el.deb ... 140s Unpacking dwz (0.15-1build6) ... 140s Selecting previously unselected package gettext. 140s Preparing to unpack .../43-gettext_0.22.5-2_ppc64el.deb ... 140s Unpacking gettext (0.22.5-2) ... 140s Selecting previously unselected package intltool-debian. 140s Preparing to unpack .../44-intltool-debian_0.35.0+20060710.6_all.deb ... 140s Unpacking intltool-debian (0.35.0+20060710.6) ... 140s Selecting previously unselected package po-debconf. 140s Preparing to unpack .../45-po-debconf_1.0.21+nmu1_all.deb ... 140s Unpacking po-debconf (1.0.21+nmu1) ... 140s Selecting previously unselected package debhelper. 140s Preparing to unpack .../46-debhelper_13.20ubuntu1_all.deb ... 140s Unpacking debhelper (13.20ubuntu1) ... 140s Selecting previously unselected package dh-python. 140s Preparing to unpack .../47-dh-python_6.20241024_all.deb ... 140s Unpacking dh-python (6.20241024) ... 140s Selecting previously unselected package xml-core. 140s Preparing to unpack .../48-xml-core_0.19_all.deb ... 140s Unpacking xml-core (0.19) ... 140s Selecting previously unselected package docutils-common. 140s Preparing to unpack .../49-docutils-common_0.21.2+dfsg-2_all.deb ... 140s Unpacking docutils-common (0.21.2+dfsg-2) ... 140s Selecting previously unselected package fonts-font-awesome. 140s Preparing to unpack .../50-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 140s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 140s Selecting previously unselected package libexpat1-dev:ppc64el. 140s Preparing to unpack .../51-libexpat1-dev_2.6.2-2_ppc64el.deb ... 140s Unpacking libexpat1-dev:ppc64el (2.6.2-2) ... 140s Selecting previously unselected package libjs-jquery. 140s Preparing to unpack .../52-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 140s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 140s Selecting previously unselected package libjs-underscore. 140s Preparing to unpack .../53-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 140s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 140s Selecting previously unselected package libjs-sphinxdoc. 140s Preparing to unpack .../54-libjs-sphinxdoc_7.4.7-4_all.deb ... 140s Unpacking libjs-sphinxdoc (7.4.7-4) ... 140s Selecting previously unselected package libjson-perl. 140s Preparing to unpack .../55-libjson-perl_4.10000-1_all.deb ... 140s Unpacking libjson-perl (4.10000-1) ... 141s Selecting previously unselected package zlib1g-dev:ppc64el. 141s Preparing to unpack .../56-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_ppc64el.deb ... 141s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 141s Selecting previously unselected package libpython3.12-dev:ppc64el. 141s Preparing to unpack .../57-libpython3.12-dev_3.12.7-3_ppc64el.deb ... 141s Unpacking libpython3.12-dev:ppc64el (3.12.7-3) ... 141s Selecting previously unselected package libpython3-dev:ppc64el. 141s Preparing to unpack .../58-libpython3-dev_3.12.7-1_ppc64el.deb ... 141s Unpacking libpython3-dev:ppc64el (3.12.7-1) ... 141s Selecting previously unselected package libpython3.13-stdlib:ppc64el. 141s Preparing to unpack .../59-libpython3.13-stdlib_3.13.0-2_ppc64el.deb ... 141s Unpacking libpython3.13-stdlib:ppc64el (3.13.0-2) ... 141s Selecting previously unselected package libpython3.13:ppc64el. 141s Preparing to unpack .../60-libpython3.13_3.13.0-2_ppc64el.deb ... 141s Unpacking libpython3.13:ppc64el (3.13.0-2) ... 141s Selecting previously unselected package libpython3.13-dev:ppc64el. 141s Preparing to unpack .../61-libpython3.13-dev_3.13.0-2_ppc64el.deb ... 141s Unpacking libpython3.13-dev:ppc64el (3.13.0-2) ... 141s Selecting previously unselected package libpython3-all-dev:ppc64el. 141s Preparing to unpack .../62-libpython3-all-dev_3.12.7-1_ppc64el.deb ... 141s Unpacking libpython3-all-dev:ppc64el (3.12.7-1) ... 141s Selecting previously unselected package pybuild-plugin-autopkgtest. 141s Preparing to unpack .../63-pybuild-plugin-autopkgtest_6.20241024_all.deb ... 141s Unpacking pybuild-plugin-autopkgtest (6.20241024) ... 141s Selecting previously unselected package python3.13. 141s Preparing to unpack .../64-python3.13_3.13.0-2_ppc64el.deb ... 141s Unpacking python3.13 (3.13.0-2) ... 141s Selecting previously unselected package python3-all. 141s Preparing to unpack .../65-python3-all_3.12.7-1_ppc64el.deb ... 141s Unpacking python3-all (3.12.7-1) ... 141s Selecting previously unselected package python3.12-dev. 141s Preparing to unpack .../66-python3.12-dev_3.12.7-3_ppc64el.deb ... 141s Unpacking python3.12-dev (3.12.7-3) ... 141s Selecting previously unselected package python3-dev. 141s Preparing to unpack .../67-python3-dev_3.12.7-1_ppc64el.deb ... 141s Unpacking python3-dev (3.12.7-1) ... 141s Selecting previously unselected package python3.13-dev. 141s Preparing to unpack .../68-python3.13-dev_3.13.0-2_ppc64el.deb ... 141s Unpacking python3.13-dev (3.13.0-2) ... 141s Selecting previously unselected package python3-all-dev. 141s Preparing to unpack .../69-python3-all-dev_3.12.7-1_ppc64el.deb ... 141s Unpacking python3-all-dev (3.12.7-1) ... 141s Selecting previously unselected package python3-asn1crypto. 141s Preparing to unpack .../70-python3-asn1crypto_1.5.1-3_all.deb ... 141s Unpacking python3-asn1crypto (1.5.1-3) ... 141s Selecting previously unselected package python3-cached-property. 141s Preparing to unpack .../71-python3-cached-property_1.5.2-1_all.deb ... 141s Unpacking python3-cached-property (1.5.2-1) ... 141s Selecting previously unselected package python3-defusedxml. 141s Preparing to unpack .../72-python3-defusedxml_0.7.1-2_all.deb ... 141s Unpacking python3-defusedxml (0.7.1-2) ... 141s Selecting previously unselected package python3-roman. 141s Preparing to unpack .../73-python3-roman_4.2-1_all.deb ... 141s Unpacking python3-roman (4.2-1) ... 141s Selecting previously unselected package python3-docutils. 141s Preparing to unpack .../74-python3-docutils_0.21.2+dfsg-2_all.deb ... 141s Unpacking python3-docutils (0.21.2+dfsg-2) ... 141s Selecting previously unselected package python3-imagesize. 141s Preparing to unpack .../75-python3-imagesize_1.4.1-1_all.deb ... 141s Unpacking python3-imagesize (1.4.1-1) ... 141s Selecting previously unselected package python3-iniconfig. 141s Preparing to unpack .../76-python3-iniconfig_1.1.1-2_all.deb ... 141s Unpacking python3-iniconfig (1.1.1-2) ... 141s Selecting previously unselected package python3-oscrypto. 141s Preparing to unpack .../77-python3-oscrypto_1.3.0-7_all.deb ... 141s Unpacking python3-oscrypto (1.3.0-7) ... 141s Selecting previously unselected package python3-packaging. 141s Preparing to unpack .../78-python3-packaging_24.1-1_all.deb ... 141s Unpacking python3-packaging (24.1-1) ... 141s Selecting previously unselected package sphinx-rtd-theme-common. 141s Preparing to unpack .../79-sphinx-rtd-theme-common_3.0.1+dfsg-1_all.deb ... 141s Unpacking sphinx-rtd-theme-common (3.0.1+dfsg-1) ... 141s Selecting previously unselected package python3-pkcs11. 141s Preparing to unpack .../80-python3-pkcs11_0.7.0-1build2_ppc64el.deb ... 141s Unpacking python3-pkcs11 (0.7.0-1build2) ... 142s Selecting previously unselected package python3-pluggy. 142s Preparing to unpack .../81-python3-pluggy_1.5.0-1_all.deb ... 142s Unpacking python3-pluggy (1.5.0-1) ... 142s Selecting previously unselected package python3-pytest. 142s Preparing to unpack .../82-python3-pytest_8.3.3-1_all.deb ... 142s Unpacking python3-pytest (8.3.3-1) ... 142s Selecting previously unselected package python3-setuptools-scm. 142s Preparing to unpack .../83-python3-setuptools-scm_8.1.0-1_all.deb ... 142s Unpacking python3-setuptools-scm (8.1.0-1) ... 142s Selecting previously unselected package python3-snowballstemmer. 142s Preparing to unpack .../84-python3-snowballstemmer_2.2.0-4build1_all.deb ... 142s Unpacking python3-snowballstemmer (2.2.0-4build1) ... 142s Selecting previously unselected package sphinx-common. 142s Preparing to unpack .../85-sphinx-common_7.4.7-4_all.deb ... 142s Unpacking sphinx-common (7.4.7-4) ... 142s Selecting previously unselected package python3-alabaster. 142s Preparing to unpack .../86-python3-alabaster_0.7.16-0.1_all.deb ... 142s Unpacking python3-alabaster (0.7.16-0.1) ... 142s Selecting previously unselected package python3-sphinx. 142s Preparing to unpack .../87-python3-sphinx_7.4.7-4_all.deb ... 142s Unpacking python3-sphinx (7.4.7-4) ... 142s Selecting previously unselected package python3-sphinxcontrib.jquery. 142s Preparing to unpack .../88-python3-sphinxcontrib.jquery_4.1-5_all.deb ... 142s Unpacking python3-sphinxcontrib.jquery (4.1-5) ... 142s Selecting previously unselected package python3-sphinx-rtd-theme. 142s Preparing to unpack .../89-python3-sphinx-rtd-theme_3.0.1+dfsg-1_all.deb ... 142s Unpacking python3-sphinx-rtd-theme (3.0.1+dfsg-1) ... 142s Selecting previously unselected package softhsm2-common. 142s Preparing to unpack .../90-softhsm2-common_2.6.1-2.2ubuntu3_ppc64el.deb ... 142s Unpacking softhsm2-common (2.6.1-2.2ubuntu3) ... 142s Selecting previously unselected package libsofthsm2. 142s Preparing to unpack .../91-libsofthsm2_2.6.1-2.2ubuntu3_ppc64el.deb ... 142s Unpacking libsofthsm2 (2.6.1-2.2ubuntu3) ... 142s Selecting previously unselected package softhsm2. 142s Preparing to unpack .../92-softhsm2_2.6.1-2.2ubuntu3_ppc64el.deb ... 142s Unpacking softhsm2 (2.6.1-2.2ubuntu3) ... 142s Selecting previously unselected package autopkgtest-satdep. 142s Preparing to unpack .../93-1-autopkgtest-satdep.deb ... 142s Unpacking autopkgtest-satdep (0) ... 142s Setting up dh-python (6.20241024) ... 142s Setting up python3-cached-property (1.5.2-1) ... 143s Setting up python3-iniconfig (1.1.1-2) ... 143s Setting up softhsm2-common (2.6.1-2.2ubuntu3) ... 143s 143s Creating config file /etc/softhsm/softhsm2.conf with new version 143s Setting up fonts-lato (2.015-1) ... 143s Setting up python3-defusedxml (0.7.1-2) ... 143s Setting up libarchive-zip-perl (1.68-1) ... 143s Setting up python3-alabaster (0.7.16-0.1) ... 143s Setting up libdebhelper-perl (13.20ubuntu1) ... 143s Setting up m4 (1.4.19-4build1) ... 143s Setting up libgomp1:ppc64el (14.2.0-8ubuntu1) ... 143s Setting up libpython3.13-minimal:ppc64el (3.13.0-2) ... 143s Setting up python3-roman (4.2-1) ... 143s Setting up autotools-dev (20220109.1) ... 143s Setting up python3-packaging (24.1-1) ... 144s Setting up libexpat1-dev:ppc64el (2.6.2-2) ... 144s Setting up python3-snowballstemmer (2.2.0-4build1) ... 144s Setting up libquadmath0:ppc64el (14.2.0-8ubuntu1) ... 144s Setting up libmpc3:ppc64el (1.3.1-1build2) ... 144s Setting up cython3 (3.0.11+dfsg-1ubuntu1) ... 146s Setting up autopoint (0.22.5-2) ... 146s Setting up autoconf (2.72-3) ... 146s Setting up python3-pluggy (1.5.0-1) ... 146s Setting up libubsan1:ppc64el (14.2.0-8ubuntu1) ... 146s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 146s Setting up dwz (0.15-1build6) ... 146s Setting up libasan8:ppc64el (14.2.0-8ubuntu1) ... 146s Setting up libjson-perl (4.10000-1) ... 146s Setting up debugedit (1:5.1-1) ... 146s Setting up python3.13-minimal (3.13.0-2) ... 147s Setting up sgml-base (1.31) ... 147s Setting up libtsan2:ppc64el (14.2.0-8ubuntu1) ... 147s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 147s Setting up libisl23:ppc64el (0.27-1) ... 147s Setting up libpython3.13-stdlib:ppc64el (3.13.0-2) ... 147s Setting up python3-asn1crypto (1.5.1-3) ... 148s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 148s Setting up sphinx-rtd-theme-common (3.0.1+dfsg-1) ... 148s Setting up libcc1-0:ppc64el (14.2.0-8ubuntu1) ... 148s Setting up liblsan0:ppc64el (14.2.0-8ubuntu1) ... 148s Setting up libitm1:ppc64el (14.2.0-8ubuntu1) ... 148s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 148s Setting up python3-imagesize (1.4.1-1) ... 148s Setting up libpython3.13:ppc64el (3.13.0-2) ... 148s Setting up automake (1:1.16.5-1.3ubuntu1) ... 148s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 148s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 148s Setting up libsofthsm2 (2.6.1-2.2ubuntu3) ... 148s Setting up softhsm2 (2.6.1-2.2ubuntu3) ... 148s Setting up gettext (0.22.5-2) ... 148s Setting up python3.13 (3.13.0-2) ... 149s Setting up python3-pytest (8.3.3-1) ... 150s Setting up python3-all (3.12.7-1) ... 150s Setting up libpython3.12-dev:ppc64el (3.12.7-3) ... 150s Setting up python3-setuptools-scm (8.1.0-1) ... 150s Setting up intltool-debian (0.35.0+20060710.6) ... 150s Setting up python3-oscrypto (1.3.0-7) ... 151s Setting up libpython3.13-dev:ppc64el (3.13.0-2) ... 151s Setting up python3.12-dev (3.12.7-3) ... 151s Setting up cpp-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 151s Setting up libjs-sphinxdoc (7.4.7-4) ... 151s Setting up cpp-14 (14.2.0-8ubuntu1) ... 151s Setting up dh-strip-nondeterminism (1.14.0-1) ... 151s Setting up xml-core (0.19) ... 151s Setting up libgcc-14-dev:ppc64el (14.2.0-8ubuntu1) ... 151s Setting up libstdc++-14-dev:ppc64el (14.2.0-8ubuntu1) ... 151s Setting up cpp-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 151s Setting up gcc-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 151s Setting up libpython3-dev:ppc64el (3.12.7-1) ... 151s Setting up g++-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 151s Setting up python3.13-dev (3.13.0-2) ... 151s Setting up po-debconf (1.0.21+nmu1) ... 151s Setting up gcc-14 (14.2.0-8ubuntu1) ... 151s Setting up python3-pkcs11 (0.7.0-1build2) ... 151s Setting up gcc-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 151s Setting up libpython3-all-dev:ppc64el (3.12.7-1) ... 151s Setting up sphinx-common (7.4.7-4) ... 151s Setting up python3-dev (3.12.7-1) ... 151s Setting up cpp (4:14.1.0-2ubuntu1) ... 151s Setting up g++-14 (14.2.0-8ubuntu1) ... 151s Setting up g++-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 151s Setting up python3-all-dev (3.12.7-1) ... 151s Setting up libtool (2.4.7-7build1) ... 151s Setting up gcc (4:14.1.0-2ubuntu1) ... 151s Setting up dh-autoreconf (20) ... 151s Setting up g++ (4:14.1.0-2ubuntu1) ... 151s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 151s Setting up build-essential (12.10ubuntu1) ... 151s Setting up debhelper (13.20ubuntu1) ... 151s Setting up pybuild-plugin-autopkgtest (6.20241024) ... 151s Processing triggers for libc-bin (2.40-1ubuntu3) ... 151s Processing triggers for systemd (256.5-2ubuntu4) ... 152s Processing triggers for man-db (2.12.1-3) ... 153s Processing triggers for install-info (7.1.1-1) ... 154s Processing triggers for sgml-base (1.31) ... 154s Setting up docutils-common (0.21.2+dfsg-2) ... 154s Processing triggers for sgml-base (1.31) ... 154s Setting up python3-docutils (0.21.2+dfsg-2) ... 155s Setting up python3-sphinx (7.4.7-4) ... 156s Setting up python3-sphinxcontrib.jquery (4.1-5) ... 157s Setting up python3-sphinx-rtd-theme (3.0.1+dfsg-1) ... 157s Setting up autopkgtest-satdep (0) ... 160s (Reading database ... 79782 files and directories currently installed.) 160s Removing autopkgtest-satdep (0) ... 161s autopkgtest [21:06:59]: test pybuild-autopkgtest: pybuild-autopkgtest 161s autopkgtest [21:06:59]: test pybuild-autopkgtest: [----------------------- 161s pybuild-autopkgtest 163s I: pybuild base:311: cd /tmp/autopkgtest.jM4aXU/autopkgtest_tmp/build; python3.13 -m test_runner_softhsm2 163s Creating temporary directory for SoftHSM 2: /tmp/autopkgtest.jM4aXU/autopkgtest_tmp/build/tests/pkcs11-testenv.ode0inoo 163s Initializing a new token with softhsm2-util 163s Slot 0 has a free/uninitialized token. 163s The token has been initialized and is reassigned to slot 1275835481 163s Running in the test environment... 164s ============================= test session starts ============================== 164s platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 164s rootdir: /tmp/autopkgtest.jM4aXU/autopkgtest_tmp/build 164s plugins: typeguard-4.4.1 164s collected 70 items 164s 164s tests/test_aes.py EEEEEEE [ 10%] 164s tests/test_des.py EEEE [ 15%] 164s tests/test_dh.py EEE [ 20%] 164s tests/test_digest.py EEEE [ 25%] 164s tests/test_dsa.py EEE [ 30%] 164s tests/test_ecc.py EEEEEE [ 38%] 164s tests/test_iterators.py EE [ 41%] 164s tests/test_public_key_external.py EEEE [ 47%] 164s tests/test_rsa.py EEEEEEE [ 57%] 164s tests/test_sessions.py EEEEEEEEEEEEEE [ 77%] 164s tests/test_slots_and_tokens.py FFFFFFFF [ 88%] 164s tests/test_threading.py E [ 90%] 164s tests/test_x509.py EEEEEEE [100%] 164s 164s ==================================== ERRORS ==================================== 164s ___________________ ERROR at setup of AESTests.test_encrypt ____________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s ______________ ERROR at setup of AESTests.test_encrypt_big_string ______________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s ________________ ERROR at setup of AESTests.test_encrypt_stream ________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s _____________ ERROR at setup of AESTests.test_encrypt_whacky_sizes _____________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s _____________________ ERROR at setup of AESTests.test_sign _____________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s _________________ ERROR at setup of AESTests.test_sign_stream __________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s _____________________ ERROR at setup of AESTests.test_wrap _____________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s _________________ ERROR at setup of DESTests.test_encrypt_des2 _________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s _________________ ERROR at setup of DESTests.test_encrypt_des3 _________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s ______________ ERROR at setup of DESTests.test_generate_des2_key _______________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s ______________ ERROR at setup of DESTests.test_generate_des3_key _______________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s __________________ ERROR at setup of DHTests.test_derive_key ___________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s ________________ ERROR at setup of DHTests.test_generate_params ________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s __________________ ERROR at setup of DHTests.test_load_params __________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s __________________ ERROR at setup of DigestTests.test_digest ___________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s _____________ ERROR at setup of DigestTests.test_digest_generator ______________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s ________________ ERROR at setup of DigestTests.test_digest_key _________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s ______________ ERROR at setup of DigestTests.test_digest_key_data ______________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s __________ ERROR at setup of DSATests.test_generate_keypair_and_sign ___________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s __________ ERROR at setup of DSATests.test_generate_keypair_directly ___________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s _______________ ERROR at setup of DSATests.test_generate_params ________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s __________________ ERROR at setup of ECCTests.test_derive_key __________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s ____________ ERROR at setup of ECCTests.test_import_key_named_curve ____________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s _______________ ERROR at setup of ECCTests.test_import_key_pair ________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s ______________ ERROR at setup of ECCTests.test_import_key_params _______________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s __________________ ERROR at setup of ECCTests.test_sign_ecdsa __________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s __________________ ERROR at setup of ECCTests.test_sign_eddsa __________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s _____________ ERROR at setup of IteratorTests.test_close_iterators _____________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s _____________ ERROR at setup of IteratorTests.test_partial_decrypt _____________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s ______________ ERROR at setup of ExternalPublicKeyTests.test_ecdh ______________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s _____________ ERROR at setup of ExternalPublicKeyTests.test_ecdsa ______________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s ______________ ERROR at setup of ExternalPublicKeyTests.test_rsa _______________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s _ ERROR at setup of ExternalPublicKeyTests.test_terrible_hybrid_file_encryption_app _ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s _________________ ERROR at setup of RSATests.test_encrypt_oaep _________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s ____________ ERROR at setup of RSATests.test_encrypt_too_much_data _____________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s ___________________ ERROR at setup of RSATests.test_key_wrap ___________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s _________________ ERROR at setup of RSATests.test_sign_default _________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s ________________ ERROR at setup of RSATests.test_sign_pkcs_v15 _________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s ___________________ ERROR at setup of RSATests.test_sign_pss ___________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s _________________ ERROR at setup of RSATests.test_sign_stream __________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s _______________ ERROR at setup of SessionTests.test_copy_object ________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s ______________ ERROR at setup of SessionTests.test_create_object _______________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s ______________ ERROR at setup of SessionTests.test_destroy_object ______________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s _______________ ERROR at setup of SessionTests.test_generate_key _______________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s _____________ ERROR at setup of SessionTests.test_generate_keypair _____________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s _____________ ERROR at setup of SessionTests.test_generate_random ______________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s _________________ ERROR at setup of SessionTests.test_get_key __________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s ____________ ERROR at setup of SessionTests.test_get_key_not_found _____________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s ______________ ERROR at setup of SessionTests.test_get_key_vague _______________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s _______________ ERROR at setup of SessionTests.test_get_objects ________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s _______________ ERROR at setup of SessionTests.test_open_session _______________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s ________ ERROR at setup of SessionTests.test_open_session_and_login_so _________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s _______ ERROR at setup of SessionTests.test_open_session_and_login_user ________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s _______________ ERROR at setup of SessionTests.test_seed_random ________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s ______________ ERROR at setup of ThreadingTests.test_concurrency _______________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s ____________ ERROR at setup of X509Tests.test_import_ca_certificate ____________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s _________ ERROR at setup of X509Tests.test_import_ca_certificate_easy __________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s ____________ ERROR at setup of X509Tests.test_self_sign_certificate ____________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s so = '/usr/lib/softhsm/libsofthsm2.so' 164s 164s def lib(so): 164s """ 164s Wrap the main library call coming from Cython with a preemptive 164s dynamic loading. 164s """ 164s global _lib 164s global _so 164s 164s if _lib: 164s if _so != so: 164s raise AlreadyInitialized( # noqa: F405 164s "Already initialized with %s" % so) 164s else: 164s return _lib 164s 164s > from . import _pkcs11 164s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 164s 164s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 164s __________________ ERROR at setup of X509Tests.test_sign_csr ___________________ 164s 164s cls = 164s 164s @classmethod 164s def setUpClass(cls): 164s super().setUpClass() 164s > cls.lib = lib = pkcs11.lib(LIB) 164s 164s tests/__init__.py:58: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 165s so = '/usr/lib/softhsm/libsofthsm2.so' 165s 165s def lib(so): 165s """ 165s Wrap the main library call coming from Cython with a preemptive 165s dynamic loading. 165s """ 165s global _lib 165s global _so 165s 165s if _lib: 165s if _so != so: 165s raise AlreadyInitialized( # noqa: F405 165s "Already initialized with %s" % so) 165s else: 165s return _lib 165s 165s > from . import _pkcs11 165s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 165s 165s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 165s ___________ ERROR at setup of X509Tests.test_verify_certificate_dsa ____________ 165s 165s cls = 165s 165s @classmethod 165s def setUpClass(cls): 165s super().setUpClass() 165s > cls.lib = lib = pkcs11.lib(LIB) 165s 165s tests/__init__.py:58: 165s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 165s 165s so = '/usr/lib/softhsm/libsofthsm2.so' 165s 165s def lib(so): 165s """ 165s Wrap the main library call coming from Cython with a preemptive 165s dynamic loading. 165s """ 165s global _lib 165s global _so 165s 165s if _lib: 165s if _so != so: 165s raise AlreadyInitialized( # noqa: F405 165s "Already initialized with %s" % so) 165s else: 165s return _lib 165s 165s > from . import _pkcs11 165s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 165s 165s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 165s __________ ERROR at setup of X509Tests.test_verify_certificate_ecdsa ___________ 165s 165s cls = 165s 165s @classmethod 165s def setUpClass(cls): 165s super().setUpClass() 165s > cls.lib = lib = pkcs11.lib(LIB) 165s 165s tests/__init__.py:58: 165s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 165s 165s so = '/usr/lib/softhsm/libsofthsm2.so' 165s 165s def lib(so): 165s """ 165s Wrap the main library call coming from Cython with a preemptive 165s dynamic loading. 165s """ 165s global _lib 165s global _so 165s 165s if _lib: 165s if _so != so: 165s raise AlreadyInitialized( # noqa: F405 165s "Already initialized with %s" % so) 165s else: 165s return _lib 165s 165s > from . import _pkcs11 165s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 165s 165s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 165s ___________ ERROR at setup of X509Tests.test_verify_certificate_rsa ____________ 165s 165s cls = 165s 165s @classmethod 165s def setUpClass(cls): 165s super().setUpClass() 165s > cls.lib = lib = pkcs11.lib(LIB) 165s 165s tests/__init__.py:58: 165s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 165s 165s so = '/usr/lib/softhsm/libsofthsm2.so' 165s 165s def lib(so): 165s """ 165s Wrap the main library call coming from Cython with a preemptive 165s dynamic loading. 165s """ 165s global _lib 165s global _so 165s 165s if _lib: 165s if _so != so: 165s raise AlreadyInitialized( # noqa: F405 165s "Already initialized with %s" % so) 165s else: 165s return _lib 165s 165s > from . import _pkcs11 165s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 165s 165s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 165s =================================== FAILURES =================================== 165s __________________ SlotsAndTokensTests.test_double_initialise __________________ 165s 165s self = 165s 165s def test_double_initialise(self): 165s > self.assertIsNotNone(pkcs11.lib(LIB)) 165s 165s tests/test_slots_and_tokens.py:15: 165s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 165s 165s so = '/usr/lib/softhsm/libsofthsm2.so' 165s 165s def lib(so): 165s """ 165s Wrap the main library call coming from Cython with a preemptive 165s dynamic loading. 165s """ 165s global _lib 165s global _so 165s 165s if _lib: 165s if _so != so: 165s raise AlreadyInitialized( # noqa: F405 165s "Already initialized with %s" % so) 165s else: 165s return _lib 165s 165s > from . import _pkcs11 165s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 165s 165s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 165s __________ SlotsAndTokensTests.test_double_initialise_different_libs ___________ 165s 165s self = 165s 165s def test_double_initialise_different_libs(self): 165s > self.assertIsNotNone(pkcs11.lib(LIB)) 165s 165s tests/test_slots_and_tokens.py:19: 165s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 165s 165s so = '/usr/lib/softhsm/libsofthsm2.so' 165s 165s def lib(so): 165s """ 165s Wrap the main library call coming from Cython with a preemptive 165s dynamic loading. 165s """ 165s global _lib 165s global _so 165s 165s if _lib: 165s if _so != so: 165s raise AlreadyInitialized( # noqa: F405 165s "Already initialized with %s" % so) 165s else: 165s return _lib 165s 165s > from . import _pkcs11 165s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 165s 165s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 165s _________________ SlotsAndTokensTests.test_get_mechanism_info __________________ 165s 165s self = 165s 165s def test_get_mechanism_info(self): 165s > lib = pkcs11.lib(LIB) 165s 165s tests/test_slots_and_tokens.py:41: 165s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 165s 165s so = '/usr/lib/softhsm/libsofthsm2.so' 165s 165s def lib(so): 165s """ 165s Wrap the main library call coming from Cython with a preemptive 165s dynamic loading. 165s """ 165s global _lib 165s global _so 165s 165s if _lib: 165s if _so != so: 165s raise AlreadyInitialized( # noqa: F405 165s "Already initialized with %s" % so) 165s else: 165s return _lib 165s 165s > from . import _pkcs11 165s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 165s 165s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 165s ________________ SlotsAndTokensTests.test_get_mechanism_info_ec ________________ 165s 165s self = 165s 165s @Not.nfast # EC not supported 165s @Not.opencryptoki 165s def test_get_mechanism_info_ec(self): 165s > lib = pkcs11.lib(LIB) 165s 165s tests/test_slots_and_tokens.py:49: 165s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 165s 165s so = '/usr/lib/softhsm/libsofthsm2.so' 165s 165s def lib(so): 165s """ 165s Wrap the main library call coming from Cython with a preemptive 165s dynamic loading. 165s """ 165s global _lib 165s global _so 165s 165s if _lib: 165s if _so != so: 165s raise AlreadyInitialized( # noqa: F405 165s "Already initialized with %s" % so) 165s else: 165s return _lib 165s 165s > from . import _pkcs11 165s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 165s 165s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 165s ___________________ SlotsAndTokensTests.test_get_mechanisms ____________________ 165s 165s self = 165s 165s def test_get_mechanisms(self): 165s > lib = pkcs11.lib(LIB) 165s 165s tests/test_slots_and_tokens.py:35: 165s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 165s 165s so = '/usr/lib/softhsm/libsofthsm2.so' 165s 165s def lib(so): 165s """ 165s Wrap the main library call coming from Cython with a preemptive 165s dynamic loading. 165s """ 165s global _lib 165s global _so 165s 165s if _lib: 165s if _so != so: 165s raise AlreadyInitialized( # noqa: F405 165s "Already initialized with %s" % so) 165s else: 165s return _lib 165s 165s > from . import _pkcs11 165s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 165s 165s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 165s ______________________ SlotsAndTokensTests.test_get_slots ______________________ 165s 165s self = 165s 165s @Only.softhsm2 165s def test_get_slots(self): 165s > lib = pkcs11.lib(LIB) 165s 165s tests/test_slots_and_tokens.py:25: 165s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 165s 165s so = '/usr/lib/softhsm/libsofthsm2.so' 165s 165s def lib(so): 165s """ 165s Wrap the main library call coming from Cython with a preemptive 165s dynamic loading. 165s """ 165s global _lib 165s global _so 165s 165s if _lib: 165s if _so != so: 165s raise AlreadyInitialized( # noqa: F405 165s "Already initialized with %s" % so) 165s else: 165s return _lib 165s 165s > from . import _pkcs11 165s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 165s 165s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 165s ______________________ SlotsAndTokensTests.test_get_token ______________________ 165s 165s self = 165s 165s @Only.softhsm2 165s def test_get_token(self): 165s > lib = pkcs11.lib(LIB) 165s 165s tests/test_slots_and_tokens.py:67: 165s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 165s 165s so = '/usr/lib/softhsm/libsofthsm2.so' 165s 165s def lib(so): 165s """ 165s Wrap the main library call coming from Cython with a preemptive 165s dynamic loading. 165s """ 165s global _lib 165s global _so 165s 165s if _lib: 165s if _so != so: 165s raise AlreadyInitialized( # noqa: F405 165s "Already initialized with %s" % so) 165s else: 165s return _lib 165s 165s > from . import _pkcs11 165s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 165s 165s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 165s _____________________ SlotsAndTokensTests.test_get_tokens ______________________ 165s 165s self = 165s 165s @Only.softhsm2 165s def test_get_tokens(self): 165s > lib = pkcs11.lib(LIB) 165s 165s tests/test_slots_and_tokens.py:57: 165s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 165s 165s so = '/usr/lib/softhsm/libsofthsm2.so' 165s 165s def lib(so): 165s """ 165s Wrap the main library call coming from Cython with a preemptive 165s dynamic loading. 165s """ 165s global _lib 165s global _so 165s 165s if _lib: 165s if _so != so: 165s raise AlreadyInitialized( # noqa: F405 165s "Already initialized with %s" % so) 165s else: 165s return _lib 165s 165s > from . import _pkcs11 165s E ImportError: cannot import name '_pkcs11' from 'pkcs11' (/usr/lib/python3/dist-packages/pkcs11/__init__.py) 165s 165s /usr/lib/python3/dist-packages/pkcs11/__init__.py:30: ImportError 165s =========================== short test summary info ============================ 165s FAILED tests/test_slots_and_tokens.py::SlotsAndTokensTests::test_double_initialise 165s FAILED tests/test_slots_and_tokens.py::SlotsAndTokensTests::test_double_initialise_different_libs 165s FAILED tests/test_slots_and_tokens.py::SlotsAndTokensTests::test_get_mechanism_info 165s FAILED tests/test_slots_and_tokens.py::SlotsAndTokensTests::test_get_mechanism_info_ec 165s FAILED tests/test_slots_and_tokens.py::SlotsAndTokensTests::test_get_mechanisms 165s FAILED tests/test_slots_and_tokens.py::SlotsAndTokensTests::test_get_slots - ... 165s FAILED tests/test_slots_and_tokens.py::SlotsAndTokensTests::test_get_token - ... 165s FAILED tests/test_slots_and_tokens.py::SlotsAndTokensTests::test_get_tokens 165s ERROR tests/test_aes.py::AESTests::test_encrypt - ImportError: cannot import ... 165s ERROR tests/test_aes.py::AESTests::test_encrypt_big_string - ImportError: can... 165s ERROR tests/test_aes.py::AESTests::test_encrypt_stream - ImportError: cannot ... 165s ERROR tests/test_aes.py::AESTests::test_encrypt_whacky_sizes - ImportError: c... 165s ERROR tests/test_aes.py::AESTests::test_sign - ImportError: cannot import nam... 165s ERROR tests/test_aes.py::AESTests::test_sign_stream - ImportError: cannot imp... 165s ERROR tests/test_aes.py::AESTests::test_wrap - ImportError: cannot import nam... 165s ERROR tests/test_des.py::DESTests::test_encrypt_des2 - ImportError: cannot im... 165s ERROR tests/test_des.py::DESTests::test_encrypt_des3 - ImportError: cannot im... 165s ERROR tests/test_des.py::DESTests::test_generate_des2_key - ImportError: cann... 165s ERROR tests/test_des.py::DESTests::test_generate_des3_key - ImportError: cann... 165s ERROR tests/test_dh.py::DHTests::test_derive_key - ImportError: cannot import... 165s ERROR tests/test_dh.py::DHTests::test_generate_params - ImportError: cannot i... 165s ERROR tests/test_dh.py::DHTests::test_load_params - ImportError: cannot impor... 165s ERROR tests/test_digest.py::DigestTests::test_digest - ImportError: cannot im... 165s ERROR tests/test_digest.py::DigestTests::test_digest_generator - ImportError:... 165s ERROR tests/test_digest.py::DigestTests::test_digest_key - ImportError: canno... 165s ERROR tests/test_digest.py::DigestTests::test_digest_key_data - ImportError: ... 165s ERROR tests/test_dsa.py::DSATests::test_generate_keypair_and_sign - ImportErr... 165s ERROR tests/test_dsa.py::DSATests::test_generate_keypair_directly - ImportErr... 165s ERROR tests/test_dsa.py::DSATests::test_generate_params - ImportError: cannot... 165s ERROR tests/test_ecc.py::ECCTests::test_derive_key - ImportError: cannot impo... 165s ERROR tests/test_ecc.py::ECCTests::test_import_key_named_curve - ImportError:... 165s ERROR tests/test_ecc.py::ECCTests::test_import_key_pair - ImportError: cannot... 165s ERROR tests/test_ecc.py::ECCTests::test_import_key_params - ImportError: cann... 165s ERROR tests/test_ecc.py::ECCTests::test_sign_ecdsa - ImportError: cannot impo... 165s ERROR tests/test_ecc.py::ECCTests::test_sign_eddsa - ImportError: cannot impo... 165s ERROR tests/test_iterators.py::IteratorTests::test_close_iterators - ImportEr... 165s ERROR tests/test_iterators.py::IteratorTests::test_partial_decrypt - ImportEr... 165s ERROR tests/test_public_key_external.py::ExternalPublicKeyTests::test_ecdh - ... 165s ERROR tests/test_public_key_external.py::ExternalPublicKeyTests::test_ecdsa 165s ERROR tests/test_public_key_external.py::ExternalPublicKeyTests::test_rsa - I... 165s ERROR tests/test_public_key_external.py::ExternalPublicKeyTests::test_terrible_hybrid_file_encryption_app 165s ERROR tests/test_rsa.py::RSATests::test_encrypt_oaep - ImportError: cannot im... 165s ERROR tests/test_rsa.py::RSATests::test_encrypt_too_much_data - ImportError: ... 165s ERROR tests/test_rsa.py::RSATests::test_key_wrap - ImportError: cannot import... 165s ERROR tests/test_rsa.py::RSATests::test_sign_default - ImportError: cannot im... 165s ERROR tests/test_rsa.py::RSATests::test_sign_pkcs_v15 - ImportError: cannot i... 165s ERROR tests/test_rsa.py::RSATests::test_sign_pss - ImportError: cannot import... 165s ERROR tests/test_rsa.py::RSATests::test_sign_stream - ImportError: cannot imp... 165s ERROR tests/test_sessions.py::SessionTests::test_copy_object - ImportError: c... 165s ERROR tests/test_sessions.py::SessionTests::test_create_object - ImportError:... 165s ERROR tests/test_sessions.py::SessionTests::test_destroy_object - ImportError... 165s ERROR tests/test_sessions.py::SessionTests::test_generate_key - ImportError: ... 165s ERROR tests/test_sessions.py::SessionTests::test_generate_keypair - ImportErr... 165s ERROR tests/test_sessions.py::SessionTests::test_generate_random - ImportErro... 165s ERROR tests/test_sessions.py::SessionTests::test_get_key - ImportError: canno... 165s ERROR tests/test_sessions.py::SessionTests::test_get_key_not_found - ImportEr... 165s ERROR tests/test_sessions.py::SessionTests::test_get_key_vague - ImportError:... 165s ERROR tests/test_sessions.py::SessionTests::test_get_objects - ImportError: c... 165s ERROR tests/test_sessions.py::SessionTests::test_open_session - ImportError: ... 165s ERROR tests/test_sessions.py::SessionTests::test_open_session_and_login_so - ... 165s ERROR tests/test_sessions.py::SessionTests::test_open_session_and_login_user 165s ERROR tests/test_sessions.py::SessionTests::test_seed_random - ImportError: c... 165s ERROR tests/test_threading.py::ThreadingTests::test_concurrency - ImportError... 165s ERROR tests/test_x509.py::X509Tests::test_import_ca_certificate - ImportError... 165s ERROR tests/test_x509.py::X509Tests::test_import_ca_certificate_easy - Import... 165s ERROR tests/test_x509.py::X509Tests::test_self_sign_certificate - ImportError... 165s ERROR tests/test_x509.py::X509Tests::test_sign_csr - ImportError: cannot impo... 165s ERROR tests/test_x509.py::X509Tests::test_verify_certificate_dsa - ImportErro... 165s ERROR tests/test_x509.py::X509Tests::test_verify_certificate_ecdsa - ImportEr... 165s ERROR tests/test_x509.py::X509Tests::test_verify_certificate_rsa - ImportErro... 165s ========================= 8 failed, 62 errors in 0.68s ========================= 165s Done 165s Deleting the token from SoftHSM 2 165s Found token (281d9dce-afec-8059-a56d-e2784c0bb459) with matching token label. 165s The token (/tmp/autopkgtest.jM4aXU/autopkgtest_tmp/build/tests/pkcs11-testenv.ode0inoo/softhsm2/281d9dce-afec-8059-a56d-e2784c0bb459) has been deleted. 165s Removing temporary directory /tmp/autopkgtest.jM4aXU/autopkgtest_tmp/build/tests/pkcs11-testenv.ode0inoo 165s E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /tmp/autopkgtest.jM4aXU/autopkgtest_tmp/build; {interpreter} -m test_runner_softhsm2 165s I: pybuild base:311: cd /tmp/autopkgtest.jM4aXU/autopkgtest_tmp/build; python3.12 -m test_runner_softhsm2 165s Creating temporary directory for SoftHSM 2: /tmp/autopkgtest.jM4aXU/autopkgtest_tmp/build/tests/pkcs11-testenv.6k0pnk0f 165s Initializing a new token with softhsm2-util 165s Slot 0 has a free/uninitialized token. 165s The token has been initialized and is reassigned to slot 233779529 165s Running in the test environment... 165s ============================= test session starts ============================== 165s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 165s rootdir: /tmp/autopkgtest.jM4aXU/autopkgtest_tmp/build 165s plugins: typeguard-4.4.1 165s collected 70 items 165s 165s tests/test_aes.py ....ss. [ 10%] 165s tests/test_des.py .... [ 15%] 166s tests/test_dh.py ... [ 20%] 166s tests/test_digest.py .... [ 25%] 166s tests/test_dsa.py ... [ 30%] 166s tests/test_ecc.py .s.... [ 38%] 166s tests/test_iterators.py x. [ 41%] 167s tests/test_public_key_external.py .s.. [ 47%] 167s tests/test_rsa.py ....... [ 57%] 167s tests/test_sessions.py .............. [ 77%] 167s tests/test_slots_and_tokens.py ........ [ 88%] 167s tests/test_threading.py . [ 90%] 167s tests/test_x509.py ..s..s. [100%] 167s 167s =============================== warnings summary =============================== 167s tests/test_public_key_external.py::ExternalPublicKeyTests::test_ecdh 167s /tmp/autopkgtest.jM4aXU/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. 167s bob_priv = ec.generate_private_key(ec.SECP256R1, 167s 167s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 167s ============= 63 passed, 6 skipped, 1 xfailed, 1 warning in 2.25s ============== 167s Done 167s Deleting the token from SoftHSM 2 167s Found token (f0eedb49-638b-095c-f3d8-e64a0def3149) with matching token label. 167s The token (/tmp/autopkgtest.jM4aXU/autopkgtest_tmp/build/tests/pkcs11-testenv.6k0pnk0f/softhsm2/f0eedb49-638b-095c-f3d8-e64a0def3149) has been deleted. 167s Removing temporary directory /tmp/autopkgtest.jM4aXU/autopkgtest_tmp/build/tests/pkcs11-testenv.6k0pnk0f 167s pybuild-autopkgtest: error: pybuild --autopkgtest -i python{version} -p "3.13 3.12" returned exit code 13 167s make: *** [/tmp/mZVTeu2jGI/run:4: pybuild-autopkgtest] Error 25 167s pybuild-autopkgtest: error: /tmp/mZVTeu2jGI/run pybuild-autopkgtest returned exit code 2 168s autopkgtest [21:07:06]: test pybuild-autopkgtest: -----------------------] 168s pybuild-autopkgtest FAIL non-zero exit status 25 168s autopkgtest [21:07:06]: test pybuild-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 169s autopkgtest [21:07:07]: @@@@@@@@@@@@@@@@@@@@ summary 169s pybuild-autopkgtest FAIL non-zero exit status 25 173s virt: nova [W] Using flock in prodstack6-ppc64el 173s virt: Creating nova instance adt-plucky-ppc64el-python-pkcs11-20241113-210418-juju-7f2275-prod-proposed-migration-environment-2-d35a3d26-61d3-404b-92c3-cf9fe70e57ad from image adt/ubuntu-plucky-ppc64el-server-20241113.img (UUID 0c5715b6-5cca-4485-b8bf-b85dfd917a5f)...