>>> py3-tpm2-pytss: Checking sanity of /home/patrycja/aports/testing/py3-tpm2-pytss/APKBUILD... >>> py3-tpm2-pytss: Cleaning up srcdir >>> py3-tpm2-pytss: Cleaning up pkgdir >>> py3-tpm2-pytss: Cleaning up tmpdir >>> py3-tpm2-pytss: Fetching https://github.com/tpm2-software/tpm2-pytss/archive/2.2.1/tpm2-pytss-2.2.1.tar.gz >>> py3-tpm2-pytss: Fetching https://github.com/tpm2-software/tpm2-pytss/archive/2.2.1/tpm2-pytss-2.2.1.tar.gz >>> py3-tpm2-pytss: Checking sha512sums... tpm2-pytss-2.2.1.tar.gz: OK >>> py3-tpm2-pytss: Preparing build chroot... (1/175) Installing musl (1.2.5-r0) (2/175) Installing ca-certificates-bundle (20240226-r0) (3/175) Installing libcrypto3 (3.2.1-r2) (4/175) Installing libssl3 (3.2.1-r2) (5/175) Installing zlib (1.3.1-r0) (6/175) Installing apk-tools (2.14.3-r1) (7/175) Installing libattr (2.5.2-r0) (8/175) Installing attr (2.5.2-r0) (9/175) Installing libcap2 (2.69-r1) (10/175) Installing libcap-getcap (2.69-r1) (11/175) Installing fakeroot (1.33-r0) (12/175) Installing scanelf (1.3.7-r2) (13/175) Installing musl-utils (1.2.5-r0) (14/175) Installing libgcc (13.2.1_git20240309-r0) (15/175) Installing libstdc++ (13.2.1_git20240309-r0) (16/175) Installing lzip (1.24.1-r0) (17/175) Installing openssl (3.2.1-r2) (18/175) Installing patch (2.7.6-r10) (19/175) Installing pkgconf (2.2.0-r0) (20/175) Installing libacl (2.3.2-r0) (21/175) Installing tar (1.35-r2) (22/175) Installing busybox (1.36.1-r25) Executing busybox-1.36.1-r25.post-install (23/175) Installing ssl_client (1.36.1-r25) (24/175) Installing busybox-binsh (1.36.1-r25) (25/175) Installing abuild (3.12.0-r5) Executing abuild-3.12.0-r5.pre-install (26/175) Installing abuild-sudo (3.12.0-r5) (27/175) Installing alpine-baselayout-data (3.6.3-r0) (28/175) Installing alpine-baselayout (3.6.3-r0) Executing alpine-baselayout-3.6.3-r0.pre-install Executing alpine-baselayout-3.6.3-r0.post-install (29/175) Installing ifupdown-ng (0.12.1-r5) (30/175) Installing openrc (0.54-r1) Executing openrc-0.54-r1.post-install (31/175) Installing mdev-conf (4.6-r0) (32/175) Installing busybox-mdev-openrc (1.36.1-r25) (33/175) Installing alpine-conf (3.17.2-r0) (34/175) Installing alpine-keys (2.4-r1) (35/175) Installing alpine-release (3.20.0_alpha20240329-r0) (36/175) Installing busybox-openrc (1.36.1-r25) (37/175) Installing busybox-suid (1.36.1-r25) (38/175) Installing alpine-base (3.20.0_alpha20240329-r0) (39/175) Installing jansson (2.14-r4) (40/175) Installing zstd-libs (1.5.6-r0) (41/175) Installing binutils (2.42-r0) (42/175) Installing libmagic (5.45-r1) (43/175) Installing file (5.45-r1) (44/175) Installing libgomp (13.2.1_git20240309-r0) (45/175) Installing libatomic (13.2.1_git20240309-r0) (46/175) Installing gmp (6.3.0-r0) (47/175) Installing isl26 (0.26-r1) (48/175) Installing mpfr4 (4.2.1-r0) (49/175) Installing mpc1 (1.3.1-r1) (50/175) Installing gcc (13.2.1_git20240309-r0) (51/175) Installing libstdc++-dev (13.2.1_git20240309-r0) (52/175) Installing musl-dev (1.2.5-r0) (53/175) Installing g++ (13.2.1_git20240309-r0) (54/175) Installing make (4.4.1-r2) (55/175) Installing fortify-headers (1.1-r3) (56/175) Installing build-base (0.5-r3) (57/175) Installing hiredis (1.2.0-r0) (58/175) Installing libxxhash (0.8.2-r2) (59/175) Installing ccache (4.9.1-r0) (60/175) Installing ca-certificates (20240226-r0) (61/175) Installing brotli-libs (1.1.0-r2) (62/175) Installing c-ares (1.28.1-r0) (63/175) Installing libunistring (1.2-r0) (64/175) Installing libidn2 (2.3.7-r0) (65/175) Installing nghttp2-libs (1.61.0-r0) (66/175) Installing libpsl (0.21.5-r1) (67/175) Installing libcurl (8.7.1-r0) (68/175) Installing libexpat (2.6.2-r0) (69/175) Installing pcre2 (10.43-r0) (70/175) Installing git (2.44.0-r2) (71/175) Installing git-init-template (2.44.0-r2) (72/175) Installing libbz2 (1.0.8-r6) (73/175) Installing libffi (3.4.6-r0) (74/175) Installing gdbm (1.23-r1) (75/175) Installing xz-libs (5.6.1-r2) (76/175) Installing mpdecimal (4.0.0-r0) (77/175) Installing ncurses-terminfo-base (6.4_p20240330-r0) (78/175) Installing libncursesw (6.4_p20240330-r0) (79/175) Installing libpanelw (6.4_p20240330-r0) (80/175) Installing readline (8.2.10-r0) (81/175) Installing sqlite-libs (3.45.2-r0) (82/175) Installing python3 (3.12.2-r0) (83/175) Installing python3-pycache-pyc0 (3.12.2-r0) (84/175) Installing pyc (3.12.2-r0) (85/175) Installing py3-asn1crypto-pyc (1.5.1_git20231103-r1) (86/175) Installing python3-pyc (3.12.2-r0) (87/175) Installing py3-asn1crypto (1.5.1_git20231103-r1) (88/175) Installing py3-cparser (2.21-r5) (89/175) Installing py3-cparser-pyc (2.21-r5) (90/175) Installing py3-cffi (1.16.0-r1) (91/175) Installing py3-cffi-pyc (1.16.0-r1) (92/175) Installing py3-cryptography (42.0.5-r1) (93/175) Installing py3-cryptography-pyc (42.0.5-r1) (94/175) Installing py3-installer (0.7.0-r2) (95/175) Installing py3-installer-pyc (0.7.0-r2) (96/175) Installing py3-gpep517 (15-r2) (97/175) Installing py3-gpep517-pyc (15-r2) (98/175) Installing py3-pkgconfig (1.5.5-r4) (99/175) Installing py3-pkgconfig-pyc (1.5.5-r4) (100/175) Installing py3-iniconfig (2.0.0-r1) (101/175) Installing py3-iniconfig-pyc (2.0.0-r1) (102/175) Installing py3-parsing (3.1.2-r1) (103/175) Installing py3-parsing-pyc (3.1.2-r1) (104/175) Installing py3-packaging (24.0-r1) (105/175) Installing py3-packaging-pyc (24.0-r1) (106/175) Installing py3-pluggy (1.4.0-r1) (107/175) Installing py3-pluggy-pyc (1.4.0-r1) (108/175) Installing py3-py (1.11.0-r3) (109/175) Installing py3-py-pyc (1.11.0-r3) (110/175) Installing py3-pytest (8.1.1-r1) (111/175) Installing py3-pytest-pyc (8.1.1-r1) (112/175) Installing py3-pytest-forked (1.6.0-r2) (113/175) Installing py3-pytest-forked-pyc (1.6.0-r2) (114/175) Installing py3-apipkg (2.1.0-r3) (115/175) Installing py3-apipkg-pyc (2.1.0-r3) (116/175) Installing py3-execnet (1.9.0-r3) (117/175) Installing py3-execnet-pyc (1.9.0-r3) (118/175) Installing py3-pytest-xdist (3.5.0-r1) (119/175) Installing py3-pytest-xdist-pyc (3.5.0-r1) (120/175) Installing py3-setuptools (69.2.0-r1) (121/175) Installing py3-setuptools-pyc (69.2.0-r1) (122/175) Installing py3-setuptools_scm (8.0.4-r2) (123/175) Installing py3-setuptools_scm-pyc (8.0.4-r2) (124/175) Installing py3-wheel (0.42.0-r1) (125/175) Installing py3-wheel-pyc (0.42.0-r1) (126/175) Installing yaml (0.2.5-r2) (127/175) Installing py3-yaml (6.0.1-r3) (128/175) Installing py3-yaml-pyc (6.0.1-r3) (129/175) Installing python3-dev (3.12.2-r0) (130/175) Installing libintl (0.22.5-r0) (131/175) Installing libblkid (2.39.3-r2) (132/175) Installing libmount (2.39.3-r2) (133/175) Installing glib (2.80.0-r3) (134/175) Installing nettle (3.9.1-r0) (135/175) Installing libtasn1 (4.19.0-r2) (136/175) Installing p11-kit (0.25.3-r0) (137/175) Installing gnutls (3.8.3-r0) (138/175) Installing json-glib (1.8.0-r1) (139/175) Installing libseccomp (2.5.5-r1) (140/175) Installing libtpms (0.9.6-r0) (141/175) Installing swtpm (0.8.2-r0) (142/175) Installing tini (0.19.0-r3) (143/175) Installing json-c (0.17-r0) (144/175) Installing json-c-dev (0.17-r0) (145/175) Installing openssl-dev (3.2.1-r2) (146/175) Installing brotli (1.1.0-r2) (147/175) Installing brotli-dev (1.1.0-r2) (148/175) Installing c-ares-dev (1.28.1-r0) (149/175) Installing libidn2-dev (2.3.7-r0) (150/175) Installing libpsl-utils (0.21.5-r1) (151/175) Installing libpsl-dev (0.21.5-r1) (152/175) Installing nghttp2-dev (1.61.0-r0) (153/175) Installing zlib-dev (1.3.1-r0) (154/175) Installing zstd (1.5.6-r0) (155/175) Installing zstd-dev (1.5.6-r0) (156/175) Installing curl-dev (8.7.1-r0) (157/175) Installing libuuid (2.39.3-r2) (158/175) Installing libfdisk (2.39.3-r2) (159/175) Installing libsmartcols (2.39.3-r2) (160/175) Installing util-linux-dev (2.39.3-r2) (161/175) Installing tpm2-tss-mu (4.0.1-r1) (162/175) Installing tpm2-tss-sys (4.0.1-r1) (163/175) Installing tpm2-tss-esys (4.0.1-r1) (164/175) Installing acl (2.3.2-r0) (165/175) Installing tpm2-tss-tctildr (4.0.1-r1) (166/175) Installing tpm2-tss-fapi (4.0.1-r1) Executing tpm2-tss-fapi-4.0.1-r1.pre-install Executing tpm2-tss-fapi-4.0.1-r1.post-install (167/175) Installing tpm2-tss-policy (4.0.1-r1) (168/175) Installing tpm2-tss-rc (4.0.1-r1) (169/175) Installing tpm2-tss-tcti-cmd (4.0.1-r1) (170/175) Installing tpm2-tss-tcti-device (4.0.1-r1) (171/175) Installing tpm2-tss-tcti-mssim (4.0.1-r1) (172/175) Installing tpm2-tss-tcti-pcap (4.0.1-r1) (173/175) Installing tpm2-tss-tcti-spi-helper (4.0.1-r1) (174/175) Installing tpm2-tss-tcti-swtpm (4.0.1-r1) (175/175) Installing tpm2-tss-dev (4.0.1-r1) Executing busybox-1.36.1-r25.trigger Executing ca-certificates-20240226-r0.trigger Executing glib-2.80.0-r3.trigger OK: 416 MiB in 175 packages >>> py3-tpm2-pytss: Fetching https://github.com/tpm2-software/tpm2-pytss/archive/2.2.1/tpm2-pytss-2.2.1.tar.gz >>> py3-tpm2-pytss: Checking sha512sums... tpm2-pytss-2.2.1.tar.gz: OK >>> py3-tpm2-pytss: Unpacking /var/cache/distfiles/tpm2-pytss-2.2.1.tar.gz... 2024-04-11 20:21:52,674 gpep517 INFO Building wheel via backend setuptools.build_meta /usr/lib/python3.12/site-packages/setuptools_scm/_integration/setuptools.py:90: UserWarning: version of None already set warnings.warn(f"version of {dist_name} already set") /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:27: SyntaxWarning: invalid escape sequence '\(' s = re.sub("#define TSS2_RC_LAYER\(level\).*", "", s) /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:28: SyntaxWarning: invalid escape sequence '\(' s = re.sub("(#define.*)TSS2_RC_LAYER\(0xff\)", "\g<1>0xff0000", s) /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:28: SyntaxWarning: invalid escape sequence '\g' s = re.sub("(#define.*)TSS2_RC_LAYER\(0xff\)", "\g<1>0xff0000", s) /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:31: SyntaxWarning: invalid escape sequence '\*' s = re.sub("/\*.*?\*/", "", s, flags=re.MULTILINE) /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:34: SyntaxWarning: invalid escape sequence '\(' s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\) \(.*?\)\)", "\g<1>...", s) /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:34: SyntaxWarning: invalid escape sequence '\g' s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\) \(.*?\)\)", "\g<1>...", s) /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:35: SyntaxWarning: invalid escape sequence '\(' s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\).*?\) ", "\g<1>...", s) /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:35: SyntaxWarning: invalid escape sequence '\g' s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\).*?\) ", "\g<1>...", s) /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:37: SyntaxWarning: invalid escape sequence '\)' "(#define [A-Za-z0-9_]+) .*\n.*?.*\)\)", "\g<1>...", s, flags=re.MULTILINE /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:37: SyntaxWarning: invalid escape sequence '\g' "(#define [A-Za-z0-9_]+) .*\n.*?.*\)\)", "\g<1>...", s, flags=re.MULTILINE /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:39: SyntaxWarning: invalid escape sequence '\g' s = re.sub("(#define [A-Za-z0-9_]+) .*", "\g<1>...", s) /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:42: SyntaxWarning: invalid escape sequence '\[' s = re.sub("\[.+?\]", "[...]", s) /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:77: SyntaxWarning: invalid escape sequence '\)' "#define TPM2_MAX_TAGGED_POLICIES.*\n.*TPMS_TAGGED_POLICY\)\)", /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:270: SyntaxWarning: invalid escape sequence '\s' "TSS2_RC\s+Tss2_MU_BYTE_Marshal\(.+?\);", s, re.DOTALL | re.MULTILINE /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:274: SyntaxWarning: invalid escape sequence '\s' "TSS2_RC\s+Tss2_MU_BYTE_Marshal\(.+?\);", "", s, 1, re.DOTALL | re.MULTILINE /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:278: SyntaxWarning: invalid escape sequence '\s' "TSS2_RC\s+Tss2_MU_BYTE_Unmarshal\(.+?\);", s, re.DOTALL | re.MULTILINE /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts/prepare_headers.py:282: SyntaxWarning: invalid escape sequence '\s' "TSS2_RC\s+Tss2_MU_BYTE_Unmarshal\(.+?\);", 2024-04-11 20:21:53,017 root INFO running bdist_wheel 2024-04-11 20:21:53,025 root INFO running build 2024-04-11 20:21:53,025 root INFO running build_py 2024-04-11 20:21:53,027 root INFO creating build 2024-04-11 20:21:53,028 root INFO creating build/lib.linux-x86_64-cpython-312 2024-04-11 20:21:53,028 root INFO creating build/lib.linux-x86_64-cpython-312/tpm2_pytss 2024-04-11 20:21:53,028 root INFO copying src/tpm2_pytss/types.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss 2024-04-11 20:21:53,028 root INFO copying src/tpm2_pytss/FAPI.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss 2024-04-11 20:21:53,028 root INFO copying src/tpm2_pytss/policy.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss 2024-04-11 20:21:53,028 root INFO copying src/tpm2_pytss/TSS2_Exception.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss 2024-04-11 20:21:53,028 root INFO copying src/tpm2_pytss/ESAPI.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss 2024-04-11 20:21:53,029 root INFO copying src/tpm2_pytss/constants.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss 2024-04-11 20:21:53,029 root INFO copying src/tpm2_pytss/utils.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss 2024-04-11 20:21:53,029 root INFO copying src/tpm2_pytss/fapi_info.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss 2024-04-11 20:21:53,029 root INFO copying src/tpm2_pytss/TCTI.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss 2024-04-11 20:21:53,029 root INFO copying src/tpm2_pytss/TCTISPIHelper.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss 2024-04-11 20:21:53,029 root INFO copying src/tpm2_pytss/TCTILdr.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss 2024-04-11 20:21:53,030 root INFO copying src/tpm2_pytss/encoding.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss 2024-04-11 20:21:53,030 root INFO copying src/tpm2_pytss/__init__.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss 2024-04-11 20:21:53,030 root INFO copying src/tpm2_pytss/tsskey.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss 2024-04-11 20:21:53,030 root INFO creating build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal 2024-04-11 20:21:53,030 root INFO copying src/tpm2_pytss/internal/utils.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal 2024-04-11 20:21:53,030 root INFO copying src/tpm2_pytss/internal/crypto.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal 2024-04-11 20:21:53,030 root INFO copying src/tpm2_pytss/internal/templates.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal 2024-04-11 20:21:53,030 root INFO copying src/tpm2_pytss/internal/__init__.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal 2024-04-11 20:21:53,031 root INFO running build_ext 2024-04-11 20:21:53,031 root INFO generating cffi module 'build/temp.linux-x86_64-cpython-312/tpm2_pytss._libtpm2_pytss.c' 2024-04-11 20:21:53,031 root INFO creating build/temp.linux-x86_64-cpython-312 2024-04-11 20:21:53,114 root INFO building 'tpm2_pytss._libtpm2_pytss' extension 2024-04-11 20:21:53,115 root INFO creating build/temp.linux-x86_64-cpython-312/build 2024-04-11 20:21:53,115 root INFO creating build/temp.linux-x86_64-cpython-312/build/temp.linux-x86_64-cpython-312 2024-04-11 20:21:53,115 root INFO gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -Os -fomit-frame-pointer -Os -fomit-frame-pointer -fPIC -I/usr/include -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid -I/usr/include/tss -I/usr/include/python3.12 -c build/temp.linux-x86_64-cpython-312/tpm2_pytss._libtpm2_pytss.c -o build/temp.linux-x86_64-cpython-312/build/temp.linux-x86_64-cpython-312/tpm2_pytss._libtpm2_pytss.o 2024-04-11 20:21:53,130 root INFO gcc -shared -Wl,--as-needed,-O1,--sort-common -Os -fomit-frame-pointer -Os -fomit-frame-pointer build/temp.linux-x86_64-cpython-312/build/temp.linux-x86_64-cpython-312/tpm2_pytss._libtpm2_pytss.o -L/usr/lib -ltss2-rc -ltss2-fapi -ltss2-esys -ltss2-mu -ltss2-tctildr -ltss2-policy -ltss2-tcti-spi-helper -o build/lib.linux-x86_64-cpython-312/tpm2_pytss/_libtpm2_pytss.abi3.so 2024-04-11 20:21:53,581 wheel INFO installing to build/bdist.linux-x86_64/wheel 2024-04-11 20:21:53,581 root INFO running install 2024-04-11 20:21:53,586 root INFO running install_lib 2024-04-11 20:21:53,587 root INFO creating build/bdist.linux-x86_64 2024-04-11 20:21:53,587 root INFO creating build/bdist.linux-x86_64/wheel 2024-04-11 20:21:53,588 root INFO creating build/bdist.linux-x86_64/wheel/tpm2_pytss 2024-04-11 20:21:53,588 root INFO copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/types.py -> build/bdist.linux-x86_64/wheel/tpm2_pytss 2024-04-11 20:21:53,588 root INFO copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/FAPI.py -> build/bdist.linux-x86_64/wheel/tpm2_pytss 2024-04-11 20:21:53,588 root INFO copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/policy.py -> build/bdist.linux-x86_64/wheel/tpm2_pytss 2024-04-11 20:21:53,588 root INFO copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/TSS2_Exception.py -> build/bdist.linux-x86_64/wheel/tpm2_pytss 2024-04-11 20:21:53,588 root INFO copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/ESAPI.py -> build/bdist.linux-x86_64/wheel/tpm2_pytss 2024-04-11 20:21:53,589 root INFO copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/constants.py -> build/bdist.linux-x86_64/wheel/tpm2_pytss 2024-04-11 20:21:53,589 root INFO copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/utils.py -> build/bdist.linux-x86_64/wheel/tpm2_pytss 2024-04-11 20:21:53,589 root INFO copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/fapi_info.py -> build/bdist.linux-x86_64/wheel/tpm2_pytss 2024-04-11 20:21:53,589 root INFO copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/TCTI.py -> build/bdist.linux-x86_64/wheel/tpm2_pytss 2024-04-11 20:21:53,589 root INFO copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/TCTISPIHelper.py -> build/bdist.linux-x86_64/wheel/tpm2_pytss 2024-04-11 20:21:53,589 root INFO copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/_libtpm2_pytss.abi3.so -> build/bdist.linux-x86_64/wheel/tpm2_pytss 2024-04-11 20:21:53,591 root INFO copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/TCTILdr.py -> build/bdist.linux-x86_64/wheel/tpm2_pytss 2024-04-11 20:21:53,591 root INFO copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/encoding.py -> build/bdist.linux-x86_64/wheel/tpm2_pytss 2024-04-11 20:21:53,592 root INFO creating build/bdist.linux-x86_64/wheel/tpm2_pytss/internal 2024-04-11 20:21:53,592 root INFO copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal/utils.py -> build/bdist.linux-x86_64/wheel/tpm2_pytss/internal 2024-04-11 20:21:53,592 root INFO copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal/crypto.py -> build/bdist.linux-x86_64/wheel/tpm2_pytss/internal 2024-04-11 20:21:53,592 root INFO copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal/templates.py -> build/bdist.linux-x86_64/wheel/tpm2_pytss/internal 2024-04-11 20:21:53,592 root INFO copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal/type_mapping.py -> build/bdist.linux-x86_64/wheel/tpm2_pytss/internal 2024-04-11 20:21:53,592 root INFO copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal/__init__.py -> build/bdist.linux-x86_64/wheel/tpm2_pytss/internal 2024-04-11 20:21:53,592 root INFO copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal/versions.py -> build/bdist.linux-x86_64/wheel/tpm2_pytss/internal 2024-04-11 20:21:53,593 root INFO copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/__init__.py -> build/bdist.linux-x86_64/wheel/tpm2_pytss 2024-04-11 20:21:53,593 root INFO copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/tsskey.py -> build/bdist.linux-x86_64/wheel/tpm2_pytss 2024-04-11 20:21:53,593 root INFO running install_egg_info 2024-04-11 20:21:53,596 root INFO running egg_info 2024-04-11 20:21:53,596 root INFO creating src/tpm2_pytss.egg-info 2024-04-11 20:21:53,597 root INFO writing src/tpm2_pytss.egg-info/PKG-INFO 2024-04-11 20:21:53,599 root INFO writing dependency_links to src/tpm2_pytss.egg-info/dependency_links.txt 2024-04-11 20:21:53,599 root INFO writing requirements to src/tpm2_pytss.egg-info/requires.txt 2024-04-11 20:21:53,599 root INFO writing top-level names to src/tpm2_pytss.egg-info/top_level.txt 2024-04-11 20:21:53,599 root INFO writing manifest file 'src/tpm2_pytss.egg-info/SOURCES.txt' 2024-04-11 20:21:54,571 root INFO reading manifest file 'src/tpm2_pytss.egg-info/SOURCES.txt' 2024-04-11 20:21:54,571 root INFO reading manifest template 'MANIFEST.in' 2024-04-11 20:21:54,571 root WARNING warning: no files found matching 'src/tpm2_pytss/version' 2024-04-11 20:21:54,571 root WARNING warning: no files found matching 'src/tpm2_pytss/config.json' 2024-04-11 20:21:54,571 root WARNING warning: no files found matching '*' under directory 'src/tpm2_pytss/swig' 2024-04-11 20:21:54,571 root WARNING warning: no files found matching '*' under directory 'tests' 2024-04-11 20:21:54,571 root WARNING warning: no files found matching '*' under directory 'examples' 2024-04-11 20:21:54,571 root WARNING warning: no previously-included files found matching 'src/tpm2_pytss/internal/type_mapping.py' 2024-04-11 20:21:54,571 root INFO adding license file 'LICENSE' 2024-04-11 20:21:54,572 root INFO writing manifest file 'src/tpm2_pytss.egg-info/SOURCES.txt' 2024-04-11 20:21:54,572 root INFO Copying src/tpm2_pytss.egg-info to build/bdist.linux-x86_64/wheel/tpm2_pytss-2.2.1-py3.12.egg-info 2024-04-11 20:21:54,573 root INFO running install_scripts 2024-04-11 20:21:54,576 wheel INFO creating build/bdist.linux-x86_64/wheel/tpm2_pytss-2.2.1.dist-info/WHEEL 2024-04-11 20:21:54,576 wheel INFO creating '/home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.dist/.tmp-utgm2e8n/tpm2_pytss-2.2.1-cp312-cp312-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it 2024-04-11 20:21:54,576 wheel INFO adding 'tpm2_pytss/ESAPI.py' 2024-04-11 20:21:54,577 wheel INFO adding 'tpm2_pytss/FAPI.py' 2024-04-11 20:21:54,577 wheel INFO adding 'tpm2_pytss/TCTI.py' 2024-04-11 20:21:54,577 wheel INFO adding 'tpm2_pytss/TCTILdr.py' 2024-04-11 20:21:54,577 wheel INFO adding 'tpm2_pytss/TCTISPIHelper.py' 2024-04-11 20:21:54,577 wheel INFO adding 'tpm2_pytss/TSS2_Exception.py' 2024-04-11 20:21:54,577 wheel INFO adding 'tpm2_pytss/__init__.py' 2024-04-11 20:21:54,580 wheel INFO adding 'tpm2_pytss/_libtpm2_pytss.abi3.so' 2024-04-11 20:21:54,582 wheel INFO adding 'tpm2_pytss/constants.py' 2024-04-11 20:21:54,582 wheel INFO adding 'tpm2_pytss/encoding.py' 2024-04-11 20:21:54,582 wheel INFO adding 'tpm2_pytss/fapi_info.py' 2024-04-11 20:21:54,582 wheel INFO adding 'tpm2_pytss/policy.py' 2024-04-11 20:21:54,582 wheel INFO adding 'tpm2_pytss/tsskey.py' 2024-04-11 20:21:54,582 wheel INFO adding 'tpm2_pytss/types.py' 2024-04-11 20:21:54,583 wheel INFO adding 'tpm2_pytss/utils.py' 2024-04-11 20:21:54,583 wheel INFO adding 'tpm2_pytss/internal/__init__.py' 2024-04-11 20:21:54,583 wheel INFO adding 'tpm2_pytss/internal/crypto.py' 2024-04-11 20:21:54,583 wheel INFO adding 'tpm2_pytss/internal/templates.py' 2024-04-11 20:21:54,583 wheel INFO adding 'tpm2_pytss/internal/type_mapping.py' 2024-04-11 20:21:54,583 wheel INFO adding 'tpm2_pytss/internal/utils.py' 2024-04-11 20:21:54,583 wheel INFO adding 'tpm2_pytss/internal/versions.py' 2024-04-11 20:21:54,583 wheel INFO adding 'tpm2_pytss-2.2.1.dist-info/LICENSE' 2024-04-11 20:21:54,583 wheel INFO adding 'tpm2_pytss-2.2.1.dist-info/METADATA' 2024-04-11 20:21:54,584 wheel INFO adding 'tpm2_pytss-2.2.1.dist-info/WHEEL' 2024-04-11 20:21:54,584 wheel INFO adding 'tpm2_pytss-2.2.1.dist-info/top_level.txt' 2024-04-11 20:21:54,584 wheel INFO adding 'tpm2_pytss-2.2.1.dist-info/RECORD' 2024-04-11 20:21:54,584 wheel INFO removing build/bdist.linux-x86_64/wheel 2024-04-11 20:21:54,585 gpep517 INFO The backend produced .dist/tpm2_pytss-2.2.1-cp312-cp312-linux_x86_64.whl tpm2_pytss-2.2.1-cp312-cp312-linux_x86_64.whl adding path: /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/scripts generated _type_map with 62 mappings in build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal/type_mapping.py and /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/src/tpm2_pytss/internal/type_mapping.py generated _element_type_map with 5 mappings generated _versions with 4 versions ============================= test session starts ============================== platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0 rootdir: /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1 configfile: pyproject.toml plugins: xdist-3.5.0, forked-1.6.0 created: 16/16 workers 16 workers [576 items] ........................s........FFFFFs....s...F.FFFFFss.s....FFF.....F. [ 12%] sFF.sss......FFFFFs.ss...ssF..FFF...s...FF.FF.F..s.......FFFFF..s....... [ 25%] .FFFFF..s.....FF..FF....F..........F..F................................. [ 37%] .....................s.................................s................ [ 50%] .........s.............................................................. [ 62%] ...s.........s........................................................... [ 75%] .............................................ss......................... [ 87%] ............s.......................................s...s.............. [100%] =================================== FAILURES =================================== ____________________ CryptoTest.test_verify_signature_hmac _____________________ [gw5] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm _________________ CryptoTest.test_public_from_pem_rsa_pem_cert _________________ [gw3] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm ________________________ CryptoTest.test_ecc_bad_curves ________________________ [gw0] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm ____________________ CryptoTest.test_symcipher_from_secret _____________________ [gw4] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm ___________________ CryptoTest.test_private_from_pem_rsa_der ___________________ [gw2] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm _________________ CryptoTest.test_keyedhash_from_secret_unseal _________________ [gw1] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm _____________________ CryptoTest.test_public_from_private ______________________ [gw3] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm ___________________ CryptoTest.test_verify_singature_rsapss ____________________ [gw5] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm ________________________ CryptoTest.test_encrypted_key _________________________ [gw0] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm __________________ CryptoTest.test_symcipher_from_secret_bad ___________________ [gw4] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm ___________________ CryptoTest.test_public_from_pem_bad_der ____________________ [gw2] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm _______________________ CryptoTest.test_loadexternal_ecc _______________________ [gw1] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm ___________________ CryptoTest.test_public_from_private_der ____________________ [gw3] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm ___________________ CryptoTest.test_verify_singature_rsassa ____________________ [gw5] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm _____________________ CryptoTest.test_from_pem_with_scheme _____________________ [gw0] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm _____________________ CryptoTest.test_public_from_pem_ecc ______________________ [gw2] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm _______________________ CryptoTest.test_symdef_to_crypt ________________________ [gw4] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm ___________________ CryptoTest.test_loadexternal_public_rsa ____________________ [gw1] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm ________________________ CryptoTest.test_public_getname ________________________ [gw3] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm ___________________ CryptoTest.test_from_pem_with_symmetric ____________________ [gw0] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm __________________________ CryptoTest.test_topem_ecc ___________________________ [gw4] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm ___________________ CryptoTest.test_public_from_pem_ecc_der ____________________ [gw2] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm ____________________ CryptoTest.test_public_to_pem_bad_key _____________________ [gw3] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm ___________________________ CryptoTest.test_get_alg ____________________________ [gw0] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm _______________________ CryptoTest.test_topem_encodings ________________________ [gw4] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm _______________________ CryptoTest.test_loadexternal_rsa _______________________ [gw1] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm ______________________ CryptoTest.test_public_to_pem_ecc _______________________ [gw3] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm _________________ CryptoTest.test_public_from_pem_ecc_der_cert _________________ [gw2] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm ----------------------------- Captured stderr call ----------------------------- swtpm: Could not open TCP socket: Address in use __________________________ CryptoTest.test_topem_rsa ___________________________ [gw4] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm _____________________________ CryptoTest.test_kdfa _____________________________ [gw0] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm __________________________ CryptoTest.test_nv_getname __________________________ [gw1] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm ______________________ CryptoTest.test_public_to_pem_rsa _______________________ [gw3] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm _________________ CryptoTest.test_public_from_pem_ecc_pem_cert _________________ [gw2] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm _______________________ CryptoTest.test_unsupported_key ________________________ [gw4] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm _____________________________ CryptoTest.test_kdfe _____________________________ [gw0] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm ___________________ CryptoTest.test_private_from_pem_bad_der ___________________ [gw1] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm _________________________ CryptoTest.test_rsa_exponent _________________________ [gw3] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm _____________________ CryptoTest.test_public_from_pem_rsa ______________________ [gw2] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm _____________________ CryptoTest.test_verify_signature_bad _____________________ [gw4] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm ____________________ CryptoTest.test_keyedhash_from_secret _____________________ [gw0] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm _____________________ CryptoTest.test_private_from_pem_ecc _____________________ [gw1] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm _________________________ CryptoTest.test_ssh_key_ecc __________________________ [gw3] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm ___________________ CryptoTest.test_public_from_pem_rsa_der ____________________ [gw2] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm _____________________ CryptoTest.test_verify_signature_ecc _____________________ [gw4] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm __________________ CryptoTest.test_keyedhash_from_secret_bad ___________________ [gw0] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm ___________________ CryptoTest.test_private_from_pem_ecc_der ___________________ [gw1] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm _________________ CryptoTest.test_public_from_pem_rsa_der_cert _________________ [gw2] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm _____________________ CryptoTest.test_private_from_pem_rsa _____________________ [gw1] linux -- Python 3.12.2 /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/.testenv/bin/python3 self = def setUp(self): super().setUp() self._has_sect163r2 = True try: > load_pem_public_key(ecc_bad_curve) E cryptography.exceptions.UnsupportedAlgorithm: Curve 1.3.132.0.15 is not supported test/test_crypto.py:208: UnsupportedAlgorithm =============================== warnings summary =============================== test/test_policy.py: 14 warnings /home/patrycja/aports/testing/py3-tpm2-pytss/src/tpm2-pytss-2.2.1/test/test_policy.py:50: 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. ec.generate_private_key(ec.SECP192R1) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test/test_crypto.py::CryptoTest::test_verify_signature_hmac - cryptogr... FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_rsa_pem_cert - c... FAILED test/test_crypto.py::CryptoTest::test_ecc_bad_curves - cryptography.ex... FAILED test/test_crypto.py::CryptoTest::test_symcipher_from_secret - cryptogr... FAILED test/test_crypto.py::CryptoTest::test_private_from_pem_rsa_der - crypt... FAILED test/test_crypto.py::CryptoTest::test_keyedhash_from_secret_unseal - c... FAILED test/test_crypto.py::CryptoTest::test_public_from_private - cryptograp... FAILED test/test_crypto.py::CryptoTest::test_verify_singature_rsapss - crypto... FAILED test/test_crypto.py::CryptoTest::test_encrypted_key - cryptography.exc... FAILED test/test_crypto.py::CryptoTest::test_symcipher_from_secret_bad - cryp... FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_bad_der - crypto... FAILED test/test_crypto.py::CryptoTest::test_loadexternal_ecc - cryptography.... FAILED test/test_crypto.py::CryptoTest::test_public_from_private_der - crypto... FAILED test/test_crypto.py::CryptoTest::test_verify_singature_rsassa - crypto... FAILED test/test_crypto.py::CryptoTest::test_from_pem_with_scheme - cryptogra... FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_ecc - cryptograp... FAILED test/test_crypto.py::CryptoTest::test_symdef_to_crypt - cryptography.e... FAILED test/test_crypto.py::CryptoTest::test_loadexternal_public_rsa - crypto... FAILED test/test_crypto.py::CryptoTest::test_public_getname - cryptography.ex... FAILED test/test_crypto.py::CryptoTest::test_from_pem_with_symmetric - crypto... FAILED test/test_crypto.py::CryptoTest::test_topem_ecc - cryptography.excepti... FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_ecc_der - crypto... FAILED test/test_crypto.py::CryptoTest::test_public_to_pem_bad_key - cryptogr... FAILED test/test_crypto.py::CryptoTest::test_get_alg - cryptography.exception... FAILED test/test_crypto.py::CryptoTest::test_topem_encodings - cryptography.e... FAILED test/test_crypto.py::CryptoTest::test_loadexternal_rsa - cryptography.... FAILED test/test_crypto.py::CryptoTest::test_public_to_pem_ecc - cryptography... FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_ecc_der_cert - c... FAILED test/test_crypto.py::CryptoTest::test_topem_rsa - cryptography.excepti... FAILED test/test_crypto.py::CryptoTest::test_kdfa - cryptography.exceptions.U... FAILED test/test_crypto.py::CryptoTest::test_nv_getname - cryptography.except... FAILED test/test_crypto.py::CryptoTest::test_public_to_pem_rsa - cryptography... FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_ecc_pem_cert - c... FAILED test/test_crypto.py::CryptoTest::test_unsupported_key - cryptography.e... FAILED test/test_crypto.py::CryptoTest::test_kdfe - cryptography.exceptions.U... FAILED test/test_crypto.py::CryptoTest::test_private_from_pem_bad_der - crypt... FAILED test/test_crypto.py::CryptoTest::test_rsa_exponent - cryptography.exce... FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_rsa - cryptograp... FAILED test/test_crypto.py::CryptoTest::test_verify_signature_bad - cryptogra... FAILED test/test_crypto.py::CryptoTest::test_keyedhash_from_secret - cryptogr... FAILED test/test_crypto.py::CryptoTest::test_private_from_pem_ecc - cryptogra... FAILED test/test_crypto.py::CryptoTest::test_ssh_key_ecc - cryptography.excep... FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_rsa_der - crypto... FAILED test/test_crypto.py::CryptoTest::test_verify_signature_ecc - cryptogra... FAILED test/test_crypto.py::CryptoTest::test_keyedhash_from_secret_bad - cryp... FAILED test/test_crypto.py::CryptoTest::test_private_from_pem_ecc_der - crypt... FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_rsa_der_cert - c... FAILED test/test_crypto.py::CryptoTest::test_private_from_pem_rsa - cryptogra... =========== 48 failed, 499 passed, 29 skipped, 14 warnings in 3.95s ============ >>> ERROR: py3-tpm2-pytss: check failed >>> ERROR: py3-tpm2-pytss: rootbld failed >>> py3-tpm2-pytss: Cleaning up build chroot