==> Building on minun ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/python-tpm2-pytss ./ .SRCINFO 1,428 100% 0.00kB/s 0:00:00 1,428 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=12/14) .nvchecker.toml 56 100% 54.69kB/s 0:00:00 56 100% 54.69kB/s 0:00:00 (xfr#2, to-chk=11/14) LICENSE 646 100% 630.86kB/s 0:00:00 646 100% 630.86kB/s 0:00:00 (xfr#3, to-chk=10/14) PKGBUILD 1,791 100% 1.71MB/s 0:00:00 1,791 100% 1.71MB/s 0:00:00 (xfr#4, to-chk=9/14) REUSE.toml 550 100% 537.11kB/s 0:00:00 550 100% 537.11kB/s 0:00:00 (xfr#5, to-chk=8/14) adjust-tpm-pt-revision-to-fix-test.patch 575 100% 561.52kB/s 0:00:00 575 100% 561.52kB/s 0:00:00 (xfr#6, to-chk=7/14) python-tpm2-pytss-2.3.0-4.log 943 100% 920.90kB/s 0:00:00 943 100% 920.90kB/s 0:00:00 (xfr#7, to-chk=6/14) LICENSES/ LICENSES/0BSD.txt -> ../LICENSE LICENSES/BSD-2-Clause.txt 1,267 100% 1.21MB/s 0:00:00 1,267 100% 1.21MB/s 0:00:00 (xfr#8, to-chk=2/14) keys/ keys/pgp/ keys/pgp/5B482B8E3E19DA7C978E1D016DE2E9078E1F50C1.asc 3,106 100% 1.48MB/s 0:00:00 3,106 100% 1.48MB/s 0:00:00 (xfr#9, to-chk=0/14) sent 6,792 bytes received 262 bytes 14,108.00 bytes/sec total size is 9,621 speedup is 1.36 ==> Patching arch to riscv64... ==> Running pkgctl build --arch riscv64 on remote host... ==> WARNING: invalid architecture: riscv64 ==> Updating pacman database cache [?25l:: Synchronizing package databases... core downloading... extra downloading... multilib downloading... [?25h==> Building python-tpm2-pytss  -> repo: extra  -> arch: riscv64  -> worker: felix-2 ==> Building python-tpm2-pytss for [extra] (riscv64) ]3008;start=cf83447ba95f4105a7fcc81989d2e0cd;user=root;hostname=minun.felixc.at;machineid=0ffe3ef7ad56462790c2861f2a747f6b;bootid=32d9c4b537a24816afcaf7574fd06933;pid=3005741;pidfdid=32360086;comm=systemd-nspawn;container=arch-nspawn-3005741;type=container\]11;?\]2;🔵 Container arch-nspawn-3005741 on minun.felixc.at\:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [!p]104[?7h]3008;end=cf83447ba95f4105a7fcc81989d2e0cd\==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix-2]...done ==> Making package: python-tpm2-pytss 2.3.0-4 (Fri Jan 30 22:09:30 2026) ==> Retrieving sources...  -> Cloning tpm2-pytss git repo... Cloning into bare repository '/home/felix/packages/python-tpm2-pytss/tpm2-pytss'... remote: Enumerating objects: 10483, done. remote: Counting objects: 0% (1/2028) remote: Counting objects: 1% (21/2028) remote: Counting objects: 2% (41/2028) remote: Counting objects: 3% (61/2028) remote: Counting objects: 4% (82/2028) remote: Counting objects: 5% (102/2028) remote: Counting objects: 6% (122/2028) remote: Counting objects: 7% (142/2028) remote: Counting objects: 8% (163/2028) remote: Counting objects: 9% (183/2028) remote: Counting objects: 10% (203/2028) remote: Counting objects: 11% (224/2028) remote: Counting objects: 12% (244/2028) remote: Counting objects: 13% (264/2028) remote: Counting objects: 14% (284/2028) remote: Counting objects: 15% (305/2028) remote: Counting objects: 16% (325/2028) remote: Counting objects: 17% (345/2028) remote: Counting objects: 18% (366/2028) remote: Counting objects: 19% (386/2028) remote: Counting objects: 20% (406/2028) remote: Counting objects: 21% (426/2028) remote: Counting objects: 22% (447/2028) remote: Counting objects: 23% (467/2028) remote: Counting objects: 24% (487/2028) remote: Counting objects: 25% (507/2028) remote: Counting objects: 26% (528/2028) remote: Counting objects: 27% (548/2028) remote: Counting objects: 28% (568/2028) remote: Counting objects: 29% (589/2028) remote: Counting objects: 30% (609/2028) remote: Counting objects: 31% (629/2028) remote: Counting objects: 32% (649/2028) remote: Counting objects: 33% (670/2028) remote: Counting objects: 34% (690/2028) remote: Counting objects: 35% (710/2028) remote: Counting objects: 36% (731/2028) remote: Counting objects: 37% (751/2028) remote: Counting objects: 38% (771/2028) remote: Counting objects: 39% (791/2028) remote: Counting objects: 40% (812/2028) remote: Counting objects: 41% (832/2028) remote: Counting objects: 42% (852/2028) remote: Counting objects: 43% (873/2028) remote: Counting objects: 44% (893/2028) remote: Counting objects: 45% (913/2028) remote: Counting objects: 46% (933/2028) remote: Counting objects: 47% (954/2028) remote: Counting objects: 48% (974/2028) remote: Counting objects: 49% (994/2028) remote: Counting objects: 50% (1014/2028) remote: Counting objects: 51% (1035/2028) remote: Counting objects: 52% (1055/2028) remote: Counting objects: 53% (1075/2028) remote: Counting objects: 54% (1096/2028) remote: Counting objects: 55% (1116/2028) remote: Counting objects: 56% (1136/2028) remote: Counting objects: 57% (1156/2028) remote: Counting objects: 58% (1177/2028) remote: Counting objects: 59% (1197/2028) remote: Counting objects: 60% (1217/2028) remote: Counting objects: 61% (1238/2028) remote: Counting objects: 62% (1258/2028) remote: Counting objects: 63% (1278/2028) remote: Counting objects: 64% (1298/2028) remote: Counting objects: 65% (1319/2028) remote: Counting objects: 66% (1339/2028) remote: Counting objects: 67% (1359/2028) remote: Counting objects: 68% (1380/2028) remote: Counting objects: 69% (1400/2028) remote: Counting objects: 70% (1420/2028) remote: Counting objects: 71% (1440/2028) remote: Counting objects: 72% (1461/2028) remote: Counting objects: 73% (1481/2028) remote: Counting objects: 74% (1501/2028) remote: Counting objects: 75% (1521/2028) remote: Counting objects: 76% (1542/2028) remote: Counting objects: 77% (1562/2028) remote: Counting objects: 78% (1582/2028) remote: Counting objects: 79% (1603/2028) remote: Counting objects: 80% (1623/2028) remote: Counting objects: 81% (1643/2028) remote: Counting objects: 82% (1663/2028) remote: Counting objects: 83% (1684/2028) remote: Counting objects: 84% (1704/2028) remote: Counting objects: 85% (1724/2028) remote: Counting objects: 86% (1745/2028) remote: Counting objects: 87% (1765/2028) remote: Counting objects: 88% (1785/2028) remote: Counting objects: 89% (1805/2028) remote: Counting objects: 90% (1826/2028) remote: Counting objects: 91% (1846/2028) remote: Counting objects: 92% (1866/2028) remote: Counting objects: 93% (1887/2028) remote: Counting objects: 94% (1907/2028) remote: Counting objects: 95% (1927/2028) remote: Counting objects: 96% (1947/2028) remote: Counting objects: 97% (1968/2028) remote: Counting objects: 98% (1988/2028) remote: Counting objects: 99% (2008/2028) remote: Counting objects: 100% (2028/2028) remote: Counting objects: 100% (2028/2028), done. remote: Compressing objects: 0% (1/317) remote: Compressing objects: 1% (4/317) remote: Compressing objects: 2% (7/317) remote: Compressing objects: 3% (10/317) remote: Compressing objects: 4% (13/317) remote: Compressing objects: 5% (16/317) remote: Compressing objects: 6% (20/317) remote: Compressing objects: 7% (23/317) remote: Compressing objects: 8% (26/317) remote: Compressing objects: 9% (29/317) remote: Compressing objects: 10% (32/317) remote: Compressing objects: 11% (35/317) remote: Compressing objects: 12% (39/317) remote: Compressing objects: 13% (42/317) remote: Compressing objects: 14% (45/317) remote: Compressing objects: 15% (48/317) remote: Compressing objects: 16% (51/317) remote: Compressing objects: 17% (54/317) remote: Compressing objects: 18% (58/317) remote: Compressing objects: 19% (61/317) remote: Compressing objects: 20% (64/317) remote: Compressing objects: 21% (67/317) remote: Compressing objects: 22% (70/317) remote: Compressing objects: 23% (73/317) remote: Compressing objects: 24% (77/317) remote: Compressing objects: 25% (80/317) remote: Compressing objects: 26% (83/317) remote: Compressing objects: 27% (86/317) remote: Compressing objects: 28% (89/317) remote: Compressing objects: 29% (92/317) remote: Compressing objects: 30% (96/317) remote: Compressing objects: 31% (99/317) remote: Compressing objects: 32% (102/317) remote: Compressing objects: 33% (105/317) remote: Compressing objects: 34% (108/317) remote: Compressing objects: 35% (111/317) remote: Compressing objects: 36% (115/317) remote: Compressing objects: 37% (118/317) remote: Compressing objects: 38% (121/317) remote: Compressing objects: 39% (124/317) remote: Compressing objects: 40% (127/317) remote: Compressing objects: 41% (130/317) remote: Compressing objects: 42% (134/317) remote: Compressing objects: 43% (137/317) remote: Compressing objects: 44% (140/317) remote: Compressing objects: 45% (143/317) remote: Compressing objects: 46% (146/317) remote: Compressing objects: 47% (149/317) remote: Compressing objects: 48% (153/317) remote: Compressing objects: 49% (156/317) remote: Compressing objects: 50% (159/317) remote: Compressing objects: 51% (162/317) remote: Compressing objects: 52% (165/317) remote: Compressing objects: 53% (169/317) remote: Compressing objects: 54% (172/317) remote: Compressing objects: 55% (175/317) remote: Compressing objects: 56% (178/317) remote: Compressing objects: 57% (181/317) remote: Compressing objects: 58% (184/317) remote: Compressing objects: 59% (188/317) remote: Compressing objects: 60% (191/317) remote: Compressing objects: 61% (194/317) remote: Compressing objects: 62% (197/317) remote: Compressing objects: 63% (200/317) remote: Compressing objects: 64% (203/317) remote: Compressing objects: 65% (207/317) remote: Compressing objects: 66% (210/317) remote: Compressing objects: 67% (213/317) remote: Compressing objects: 68% (216/317) remote: Compressing objects: 69% (219/317) remote: Compressing objects: 70% (222/317) remote: Compressing objects: 71% (226/317) remote: Compressing objects: 72% (229/317) remote: Compressing objects: 73% (232/317) remote: Compressing objects: 74% (235/317) remote: Compressing objects: 75% (238/317) remote: Compressing objects: 76% (241/317) remote: Compressing objects: 77% (245/317) remote: Compressing objects: 78% (248/317) remote: Compressing objects: 79% (251/317) remote: Compressing objects: 80% (254/317) remote: Compressing objects: 81% (257/317) remote: Compressing objects: 82% (260/317) remote: Compressing objects: 83% (264/317) remote: Compressing objects: 84% (267/317) remote: Compressing objects: 85% (270/317) remote: Compressing objects: 86% (273/317) remote: Compressing objects: 87% (276/317) remote: Compressing objects: 88% (279/317) remote: Compressing objects: 89% (283/317) remote: Compressing objects: 90% (286/317) remote: Compressing objects: 91% (289/317) remote: Compressing objects: 92% (292/317) remote: Compressing objects: 93% (295/317) remote: Compressing objects: 94% (298/317) remote: Compressing objects: 95% (302/317) remote: Compressing objects: 96% (305/317) remote: Compressing objects: 97% (308/317) remote: Compressing objects: 98% (311/317) remote: Compressing objects: 99% (314/317) remote: Compressing objects: 100% (317/317) remote: Compressing objects: 100% (317/317), done. Receiving objects: 0% (1/10483) Receiving objects: 1% (105/10483) Receiving objects: 2% (210/10483) Receiving objects: 3% (315/10483) Receiving objects: 4% (420/10483) Receiving objects: 5% (525/10483) Receiving objects: 6% (629/10483) Receiving objects: 7% (734/10483) Receiving objects: 8% (839/10483) Receiving objects: 9% (944/10483) Receiving objects: 10% (1049/10483) Receiving objects: 11% (1154/10483) Receiving objects: 12% (1258/10483) Receiving objects: 13% (1363/10483) Receiving objects: 14% (1468/10483) Receiving objects: 15% (1573/10483) Receiving objects: 16% (1678/10483) Receiving objects: 17% (1783/10483) Receiving objects: 18% (1887/10483) Receiving objects: 19% (1992/10483) Receiving objects: 20% (2097/10483) Receiving objects: 21% (2202/10483) Receiving objects: 22% (2307/10483) Receiving objects: 23% (2412/10483) Receiving objects: 24% (2516/10483) Receiving objects: 25% (2621/10483) Receiving objects: 26% (2726/10483) Receiving objects: 27% (2831/10483) Receiving objects: 28% (2936/10483) Receiving objects: 29% (3041/10483) Receiving objects: 30% (3145/10483) Receiving objects: 31% (3250/10483) Receiving objects: 32% (3355/10483) Receiving objects: 33% (3460/10483) Receiving objects: 34% (3565/10483) Receiving objects: 35% (3670/10483) Receiving objects: 36% (3774/10483) Receiving objects: 37% (3879/10483) Receiving objects: 38% (3984/10483) Receiving objects: 39% (4089/10483) Receiving objects: 40% (4194/10483) Receiving objects: 41% (4299/10483) Receiving objects: 42% (4403/10483) Receiving objects: 43% (4508/10483) Receiving objects: 44% (4613/10483) Receiving objects: 45% (4718/10483) Receiving objects: 46% (4823/10483) Receiving objects: 47% (4928/10483) Receiving objects: 48% (5032/10483), 14.68 MiB | 28.94 MiB/s Receiving objects: 49% (5137/10483), 14.68 MiB | 28.94 MiB/s Receiving objects: 50% (5242/10483), 14.68 MiB | 28.94 MiB/s Receiving objects: 51% (5347/10483), 14.68 MiB | 28.94 MiB/s Receiving objects: 51% (5429/10483), 14.68 MiB | 28.94 MiB/s Receiving objects: 52% (5452/10483), 14.68 MiB | 28.94 MiB/s Receiving objects: 53% (5556/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 54% (5661/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 55% (5766/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 56% (5871/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 57% (5976/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 58% (6081/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 59% (6185/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 60% (6290/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 61% (6395/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 62% (6500/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 63% (6605/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 64% (6710/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 65% (6814/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 66% (6919/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 67% (7024/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 68% (7129/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 69% (7234/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 70% (7339/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 71% (7443/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 72% (7548/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 73% (7653/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 74% (7758/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 75% (7863/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 76% (7968/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 77% (8072/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 78% (8177/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 79% (8282/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 80% (8387/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 81% (8492/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 82% (8597/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 83% (8701/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 84% (8806/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 85% (8911/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 86% (9016/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 87% (9121/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 88% (9226/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 89% (9330/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 90% (9435/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 91% (9540/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 92% (9645/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 93% (9750/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 94% (9855/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 95% (9959/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 96% (10064/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 97% (10169/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 98% (10274/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 99% (10379/10483), 32.24 MiB | 32.01 MiB/s remote: Total 10483 (delta 1842), reused 1713 (delta 1708), pack-reused 8455 (from 2) Receiving objects: 100% (10483/10483), 32.24 MiB | 32.01 MiB/s Receiving objects: 100% (10483/10483), 37.91 MiB | 32.87 MiB/s, done. Resolving deltas: 0% (0/7586) Resolving deltas: 1% (76/7586) Resolving deltas: 2% (152/7586) Resolving deltas: 3% (229/7586) Resolving deltas: 4% (304/7586) Resolving deltas: 5% (380/7586) Resolving deltas: 6% (456/7586) Resolving deltas: 7% (532/7586) Resolving deltas: 8% (607/7586) Resolving deltas: 9% (683/7586) Resolving deltas: 10% (759/7586) Resolving deltas: 11% (835/7586) Resolving deltas: 12% (911/7586) Resolving deltas: 13% (987/7586) Resolving deltas: 14% (1063/7586) Resolving deltas: 15% (1138/7586) Resolving deltas: 16% (1214/7586) Resolving deltas: 17% (1290/7586) Resolving deltas: 18% (1367/7586) Resolving deltas: 19% (1442/7586) Resolving deltas: 20% (1518/7586) Resolving deltas: 21% (1597/7586) Resolving deltas: 22% (1669/7586) Resolving deltas: 23% (1745/7586) Resolving deltas: 24% (1821/7586) Resolving deltas: 25% (1897/7586) Resolving deltas: 26% (1973/7586) Resolving deltas: 27% (2049/7586) Resolving deltas: 28% (2125/7586) Resolving deltas: 29% (2200/7586) Resolving deltas: 30% (2276/7586) Resolving deltas: 31% (2354/7586) Resolving deltas: 32% (2428/7586) Resolving deltas: 33% (2504/7586) Resolving deltas: 34% (2584/7586) Resolving deltas: 35% (2656/7586) Resolving deltas: 36% (2731/7586) Resolving deltas: 37% (2808/7586) Resolving deltas: 38% (2883/7586) Resolving deltas: 39% (2959/7586) Resolving deltas: 40% (3035/7586) Resolving deltas: 41% (3111/7586) Resolving deltas: 42% (3187/7586) Resolving deltas: 43% (3262/7586) Resolving deltas: 44% (3338/7586) Resolving deltas: 45% (3414/7586) Resolving deltas: 46% (3490/7586) Resolving deltas: 47% (3567/7586) Resolving deltas: 48% (3642/7586) Resolving deltas: 49% (3718/7586) Resolving deltas: 50% (3796/7586) Resolving deltas: 51% (3869/7586) Resolving deltas: 52% (3945/7586) Resolving deltas: 53% (4022/7586) Resolving deltas: 54% (4100/7586) Resolving deltas: 55% (4173/7586) Resolving deltas: 56% (4250/7586) Resolving deltas: 57% (4325/7586) Resolving deltas: 58% (4400/7586) Resolving deltas: 59% (4477/7586) Resolving deltas: 60% (4552/7586) Resolving deltas: 61% (4628/7586) Resolving deltas: 62% (4707/7586) Resolving deltas: 63% (4780/7586) Resolving deltas: 64% (4856/7586) Resolving deltas: 65% (4931/7586) Resolving deltas: 66% (5007/7586) Resolving deltas: 67% (5083/7586) Resolving deltas: 68% (5159/7586) Resolving deltas: 69% (5236/7586) Resolving deltas: 70% (5311/7586) Resolving deltas: 71% (5387/7586) Resolving deltas: 72% (5462/7586) Resolving deltas: 73% (5538/7586) Resolving deltas: 74% (5614/7586) Resolving deltas: 75% (5690/7586) Resolving deltas: 76% (5766/7586) Resolving deltas: 77% (5842/7586) Resolving deltas: 78% (5918/7586) Resolving deltas: 79% (5993/7586) Resolving deltas: 80% (6069/7586) Resolving deltas: 81% (6145/7586) Resolving deltas: 82% (6221/7586) Resolving deltas: 83% (6297/7586) Resolving deltas: 84% (6373/7586) Resolving deltas: 85% (6449/7586) Resolving deltas: 86% (6524/7586) Resolving deltas: 87% (6600/7586) Resolving deltas: 88% (6676/7586) Resolving deltas: 89% (6752/7586) Resolving deltas: 90% (6828/7586) Resolving deltas: 91% (6906/7586) Resolving deltas: 92% (6980/7586) Resolving deltas: 93% (7055/7586) Resolving deltas: 94% (7131/7586) Resolving deltas: 95% (7207/7586) Resolving deltas: 96% (7283/7586) Resolving deltas: 97% (7359/7586) Resolving deltas: 98% (7435/7586) Resolving deltas: 99% (7511/7586) Resolving deltas: 100% (7586/7586) Resolving deltas: 100% (7586/7586), done.  -> Found adjust-tpm-pt-revision-to-fix-test.patch ==> Validating source files with sha512sums... tpm2-pytss ... Passed adjust-tpm-pt-revision-to-fix-test.patch ... Passed ]3008;start=5380957340ef4e9cb3cd1691cc7c6f27;user=root;hostname=minun.felixc.at;machineid=0ffe3ef7ad56462790c2861f2a747f6b;bootid=32d9c4b537a24816afcaf7574fd06933;pid=3006935;pidfdid=32361280;comm=systemd-nspawn;container=arch-nspawn-3006935;type=container\]11;?\]2;🔵 Container arch-nspawn-3006935 on minun.felixc.at\==> Making package: python-tpm2-pytss 2.3.0-4 (Fri Jan 30 21:09:46 2026) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (9) New Version Net Change Download Size extra/libyaml 0.2.5-3 0.16 MiB core/mpdecimal 4.0.1-1 0.31 MiB extra/python-pycparser 2.23-2 2.97 MiB core/python 3.14.2-2 132.78 MiB extra/python-asn1crypto 1.5.1-6 1.52 MiB 0.21 MiB extra/python-cffi 2.0.0-2 1.39 MiB extra/python-cryptography 46.0.3-2 5.63 MiB extra/python-packaging 26.0-1 0.89 MiB extra/python-yaml 6.0.3-2 0.93 MiB Total Download Size: 0.21 MiB Total Installed Size: 146.58 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-asn1crypto-1.5.1-6-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing mpdecimal... installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] xz: for lzma [installed] tk: for tkinter installing python-asn1crypto... installing python-pycparser... installing python-cffi... Optional dependencies for python-cffi python-setuptools: "limited api" version checking in cffi.setuptools_ext installing python-cryptography... installing python-packaging... installing libyaml... installing python-yaml... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (30) New Version Net Change Download Size core/efivar 39-1 0.47 MiB 0.14 MiB extra/fuse-common 3.18.1-1 0.00 MiB 0.00 MiB extra/fuse2 2.9.9-5 0.42 MiB extra/json-glib 1.10.8-1 1.01 MiB extra/libtpms 0.10.2-1 0.98 MiB 0.46 MiB extra/perl-error 0.17030-3 0.04 MiB extra/perl-mailtools 2.22-3 0.10 MiB extra/perl-timedate 2.33-9 0.08 MiB extra/python-autocommand 2.2.2-9 0.08 MiB extra/python-iniconfig 2.1.0-3.1 0.05 MiB extra/python-jaraco.collections 5.1.0-3 0.11 MiB extra/python-jaraco.context 6.0.1-3 0.04 MiB extra/python-jaraco.functools 4.1.0-3 0.07 MiB extra/python-jaraco.text 4.0.0-4 0.08 MiB extra/python-more-itertools 10.8.0-2 0.73 MiB extra/python-platformdirs 4.5.1-3 0.28 MiB extra/python-pluggy 1.6.0-3.1 0.23 MiB extra/python-pygments 2.19.2-3 15.30 MiB extra/python-pyproject-hooks 1.2.0-6 0.11 MiB extra/zlib-ng 2.3.2-1 0.23 MiB extra/git 2.52.0-2 28.75 MiB extra/python-build 1.4.0-1 0.24 MiB extra/python-installer 0.7.0-14 0.20 MiB extra/python-pkgconfig 1.5.5-9 0.04 MiB 0.01 MiB extra/python-pytest 1:8.4.2-3 4.69 MiB extra/python-setuptools 1:80.9.0-4 8.03 MiB extra/python-setuptools-scm 9.2.2-3 0.61 MiB extra/python-wheel 0.45.1-4 0.30 MiB extra/swtpm 0.10.1-1 1.21 MiB 0.32 MiB extra/tpm2-tools 5.7-1 1.45 MiB 0.72 MiB Total Download Size: 1.66 MiB Total Installed Size: 65.95 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... tpm2-tools-5.7-1-riscv64 downloading... libtpms-0.10.2-1-riscv64 downloading... swtpm-0.10.1-1-riscv64 downloading... efivar-39-1-riscv64 downloading... python-pkgconfig-1.5.5-9-any downloading... fuse-common-3.18.1-1-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing zlib-ng... installing git... Optional dependencies for git git-zsh-completion: upstream zsh completion tk: gitk and git gui openssh: ssh transport and crypto man: show help with `git command --help` perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-cgi: gitweb (web interface) support python: git svn & git p4 [installed] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] less: the default pager for git installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-pip: to use as the Python package installer (default) python-uv: to use as the Python package installer python-virtualenv: to use virtualenv for build isolation installing python-installer... installing python-pkgconfig... installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing python-jaraco.text... Optional dependencies for python-jaraco.text python-inflect: for show-newlines script installing python-jaraco.collections... installing python-platformdirs... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures python-setuptools: for legacy bdist_wheel subcommand [pending] installing python-setuptools... installing python-setuptools-scm... Optional dependencies for python-setuptools-scm python-rich: use rich as console log handler installing python-iniconfig... installing python-pluggy... installing python-pygments... installing python-pytest... installing fuse-common... installing fuse2... installing json-glib... installing libtpms... installing swtpm... installing efivar... installing tpm2-tools... Optional dependencies for tpm2-tools tpm2-abrmd: user space resource manager :: Running post-transaction hooks... (1/6) Creating system user accounts... Creating group 'git' with GID 969. Creating user 'git' (git daemon user) with UID 969 and GID 969. (2/6) Creating temporary files... (3/6) Reloading system manager configuration... Skipped: Current root is not booted. (4/6) Reloading device manager configuration... Skipped: Current root is not booted. (5/6) Arming ConditionNeedsUpdate... (6/6) Checking for old perl modules... ==> Retrieving sources... -> Found adjust-tpm-pt-revision-to-fix-test.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of tpm2-pytss git repo... Cloning into 'tpm2-pytss'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... Auto-merging setup.py Auto-merging test/test_cryptography.py patching file test/test_encoding.py ==> Starting build()... * Getting build dependencies for wheel... /usr/lib/python3.14/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: BSD License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() * Building wheel... /build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:27: SyntaxWarning: "\(" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\("? A raw string is also an option. s = re.sub("#define TSS2_RC_LAYER\(level\).*", "", s) /build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:28: SyntaxWarning: "\(" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\("? A raw string is also an option. s = re.sub("(#define.*)TSS2_RC_LAYER\(0xff\)", "\g<1>0xff0000", s) /build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:28: SyntaxWarning: "\g" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\g"? A raw string is also an option. s = re.sub("(#define.*)TSS2_RC_LAYER\(0xff\)", "\g<1>0xff0000", s) /build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:31: SyntaxWarning: "\*" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\*"? A raw string is also an option. s = re.sub("/\*.*?\*/", "", s, flags=re.MULTILINE) /build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:34: SyntaxWarning: "\(" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\("? A raw string is also an option. s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\) \(.*?\)\)", "\g<1>...", s) /build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:34: SyntaxWarning: "\g" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\g"? A raw string is also an option. s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\) \(.*?\)\)", "\g<1>...", s) /build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:35: SyntaxWarning: "\(" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\("? A raw string is also an option. s = re.sub("(#define [A-Za-z0-9_]+) +\(\(\(.*?\) .*\)", "\g<1>...", s) /build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:35: SyntaxWarning: "\g" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\g"? A raw string is also an option. s = re.sub("(#define [A-Za-z0-9_]+) +\(\(\(.*?\) .*\)", "\g<1>...", s) /build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:36: SyntaxWarning: "\(" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\("? A raw string is also an option. s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\).*?\) ", "\g<1>...", s) /build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:36: SyntaxWarning: "\g" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\g"? A raw string is also an option. s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\).*?\) ", "\g<1>...", s) /build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:38: SyntaxWarning: "\)" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\)"? A raw string is also an option. "(#define [A-Za-z0-9_]+) .*\n.*?.*\)\)", "\g<1>...", s, flags=re.MULTILINE /build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:38: SyntaxWarning: "\g" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\g"? A raw string is also an option. "(#define [A-Za-z0-9_]+) .*\n.*?.*\)\)", "\g<1>...", s, flags=re.MULTILINE /build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:40: SyntaxWarning: "\g" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\g"? A raw string is also an option. s = re.sub("(#define [A-Za-z0-9_]+) .*", "\g<1>...", s) /build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:43: SyntaxWarning: "\[" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\["? A raw string is also an option. s = re.sub("\[.+?\]", "[...]", s) /build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:78: SyntaxWarning: "\)" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\)"? A raw string is also an option. "#define TPM2_MAX_TAGGED_POLICIES.*\n.*TPMS_TAGGED_POLICY\)\)", /build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:271: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\s"? A raw string is also an option. "TSS2_RC\s+Tss2_MU_BYTE_Marshal\(.+?\);", s, re.DOTALL | re.MULTILINE /build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:275: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\s"? A raw string is also an option. "TSS2_RC\s+Tss2_MU_BYTE_Marshal\(.+?\);", "", s, 1, re.DOTALL | re.MULTILINE /build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:279: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\s"? A raw string is also an option. "TSS2_RC\s+Tss2_MU_BYTE_Unmarshal\(.+?\);", s, re.DOTALL | re.MULTILINE /build/python-tpm2-pytss/src/tpm2-pytss/scripts/prepare_headers.py:283: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\s"? A raw string is also an option. "TSS2_RC\s+Tss2_MU_BYTE_Unmarshal\(.+?\);", /usr/lib/python3.14/site-packages/setuptools_scm/_integration/version_inference.py:51: UserWarning: version of tpm2-pytss already set warnings.warn(self.message) /usr/lib/python3.14/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: BSD License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() adding path: /build/python-tpm2-pytss/src/tpm2-pytss/scripts running bdist_wheel running build running build_py creating build/lib.linux-riscv64-cpython-314/tpm2_pytss copying src/tpm2_pytss/TCTI.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss copying src/tpm2_pytss/TCTILdr.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss copying src/tpm2_pytss/TCTISPIHelper.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss copying src/tpm2_pytss/fapi_info.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss copying src/tpm2_pytss/policy.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss copying src/tpm2_pytss/ESAPI.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss copying src/tpm2_pytss/FAPI.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss copying src/tpm2_pytss/TSS2_Exception.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss copying src/tpm2_pytss/__init__.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss copying src/tpm2_pytss/constants.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss copying src/tpm2_pytss/encoding.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss copying src/tpm2_pytss/tsskey.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss copying src/tpm2_pytss/types.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss copying src/tpm2_pytss/utils.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss copying src/tpm2_pytss/cryptography.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss creating build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal copying src/tpm2_pytss/internal/__init__.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal copying src/tpm2_pytss/internal/crypto.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal copying src/tpm2_pytss/internal/templates.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal copying src/tpm2_pytss/internal/utils.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal running build_ext generating cffi module 'build/temp.linux-riscv64-cpython-314/tpm2_pytss._libtpm2_pytss.c' creating build/temp.linux-riscv64-cpython-314 building 'tpm2_pytss._libtpm2_pytss' extension creating build/temp.linux-riscv64-cpython-314/build/temp.linux-riscv64-cpython-314 gcc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-tpm2-pytss/src=/usr/src/debug/python-tpm2-pytss -flto=auto -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.14 -c build/temp.linux-riscv64-cpython-314/tpm2_pytss._libtpm2_pytss.c -o build/temp.linux-riscv64-cpython-314/build/temp.linux-riscv64-cpython-314/tpm2_pytss._libtpm2_pytss.o gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-tpm2-pytss/src=/usr/src/debug/python-tpm2-pytss -flto=auto build/temp.linux-riscv64-cpython-314/build/temp.linux-riscv64-cpython-314/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-riscv64-cpython-314/tpm2_pytss/_libtpm2_pytss.abi3.so generated _type_map with 62 mappings in build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/type_mapping.py and /build/python-tpm2-pytss/src/tpm2-pytss/src/tpm2_pytss/internal/type_mapping.py generated _element_type_map with 5 mappings generated _versions with 4 versions installing to build/bdist.linux-riscv64/wheel running install running install_lib creating build/bdist.linux-riscv64/wheel creating build/bdist.linux-riscv64/wheel/tpm2_pytss copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTI.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTISPIHelper.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/fapi_info.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/policy.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/TSS2_Exception.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/__init__.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/constants.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/encoding.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/tsskey.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/types.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/utils.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/cryptography.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss creating build/bdist.linux-riscv64/wheel/tpm2_pytss/internal copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/__init__.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss/internal copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/crypto.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss/internal copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/templates.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss/internal copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss/internal copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/type_mapping.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss/internal copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/versions.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss/internal copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/_libtpm2_pytss.abi3.so -> build/bdist.linux-riscv64/wheel/./tpm2_pytss running install_egg_info running egg_info creating src/tpm2_pytss.egg-info writing src/tpm2_pytss.egg-info/PKG-INFO writing dependency_links to src/tpm2_pytss.egg-info/dependency_links.txt writing requirements to src/tpm2_pytss.egg-info/requires.txt writing top-level names to src/tpm2_pytss.egg-info/top_level.txt writing manifest file 'src/tpm2_pytss.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'src/tpm2_pytss/version' warning: no files found matching 'src/tpm2_pytss/config.json' warning: no files found matching '*' under directory 'src/tpm2_pytss/swig' warning: no files found matching '*' under directory 'tests' warning: no files found matching '*' under directory 'examples' warning: no previously-included files found matching 'src/tpm2_pytss/internal/type_mapping.py' adding license file 'LICENSE' writing manifest file 'src/tpm2_pytss.egg-info/SOURCES.txt' Copying src/tpm2_pytss.egg-info to build/bdist.linux-riscv64/wheel/./tpm2_pytss-2.3.1.dev0+g930cee2c4.d20260130-py3.14.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/tpm2_pytss-2.3.1.dev0+g930cee2c4.d20260130.dist-info/WHEEL creating '/build/python-tpm2-pytss/src/tpm2-pytss/dist/.tmp-y79g684j/tpm2_pytss-2.3.1.dev0+g930cee2c4.d20260130-cp314-cp314-linux_riscv64.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'tpm2_pytss/ESAPI.py' adding 'tpm2_pytss/FAPI.py' adding 'tpm2_pytss/TCTI.py' adding 'tpm2_pytss/TCTILdr.py' adding 'tpm2_pytss/TCTISPIHelper.py' adding 'tpm2_pytss/TSS2_Exception.py' adding 'tpm2_pytss/__init__.py' adding 'tpm2_pytss/_libtpm2_pytss.abi3.so' adding 'tpm2_pytss/constants.py' adding 'tpm2_pytss/cryptography.py' adding 'tpm2_pytss/encoding.py' adding 'tpm2_pytss/fapi_info.py' adding 'tpm2_pytss/policy.py' adding 'tpm2_pytss/tsskey.py' adding 'tpm2_pytss/types.py' adding 'tpm2_pytss/utils.py' adding 'tpm2_pytss/internal/__init__.py' adding 'tpm2_pytss/internal/crypto.py' adding 'tpm2_pytss/internal/templates.py' adding 'tpm2_pytss/internal/type_mapping.py' adding 'tpm2_pytss/internal/utils.py' adding 'tpm2_pytss/internal/versions.py' adding 'tpm2_pytss-2.3.1.dev0+g930cee2c4.d20260130.dist-info/licenses/LICENSE' adding 'tpm2_pytss-2.3.1.dev0+g930cee2c4.d20260130.dist-info/METADATA' adding 'tpm2_pytss-2.3.1.dev0+g930cee2c4.d20260130.dist-info/WHEEL' adding 'tpm2_pytss-2.3.1.dev0+g930cee2c4.d20260130.dist-info/top_level.txt' adding 'tpm2_pytss-2.3.1.dev0+g930cee2c4.d20260130.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Successfully built tpm2_pytss-2.3.1.dev0+g930cee2c4.d20260130-cp314-cp314-linux_riscv64.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.14.2, pytest-8.4.2, pluggy-1.6.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/python-tpm2-pytss/src/tpm2-pytss configfile: pyproject.toml collecting ... collected 613 items test/test_crypto.py::CryptoTest::test_ecc_bad_curves FAILED [ 0%] test/test_crypto.py::CryptoTest::test_encrypted_key FAILED [ 0%] test/test_crypto.py::CryptoTest::test_from_pem_with_scheme FAILED [ 0%] test/test_crypto.py::CryptoTest::test_from_pem_with_symmetric FAILED [ 0%] test/test_crypto.py::CryptoTest::test_get_alg FAILED [ 0%] test/test_crypto.py::CryptoTest::test_kdfa FAILED [ 0%] test/test_crypto.py::CryptoTest::test_kdfe FAILED [ 1%] test/test_crypto.py::CryptoTest::test_keyedhash_from_secret FAILED [ 1%] test/test_crypto.py::CryptoTest::test_keyedhash_from_secret_bad FAILED [ 1%] test/test_crypto.py::CryptoTest::test_keyedhash_from_secret_unseal FAILED [ 1%] test/test_crypto.py::CryptoTest::test_loadexternal_ecc FAILED [ 1%] test/test_crypto.py::CryptoTest::test_loadexternal_public_rsa FAILED [ 1%] test/test_crypto.py::CryptoTest::test_loadexternal_rsa FAILED [ 2%] test/test_crypto.py::CryptoTest::test_nv_getname FAILED [ 2%] test/test_crypto.py::CryptoTest::test_private_from_pem_bad_der FAILED [ 2%] test/test_crypto.py::CryptoTest::test_private_from_pem_ecc FAILED [ 2%] test/test_crypto.py::CryptoTest::test_private_from_pem_ecc_der FAILED [ 2%] test/test_crypto.py::CryptoTest::test_private_from_pem_rsa FAILED [ 2%] test/test_crypto.py::CryptoTest::test_private_from_pem_rsa_der FAILED [ 3%] test/test_crypto.py::CryptoTest::test_public_from_pem_bad_der FAILED [ 3%] test/test_crypto.py::CryptoTest::test_public_from_pem_ecc FAILED [ 3%] test/test_crypto.py::CryptoTest::test_public_from_pem_ecc_der FAILED [ 3%] test/test_crypto.py::CryptoTest::test_public_from_pem_ecc_der_cert FAILED [ 3%] test/test_crypto.py::CryptoTest::test_public_from_pem_ecc_pem_cert FAILED [ 3%] test/test_crypto.py::CryptoTest::test_public_from_pem_rsa FAILED [ 4%] test/test_crypto.py::CryptoTest::test_public_from_pem_rsa_der FAILED [ 4%] test/test_crypto.py::CryptoTest::test_public_from_pem_rsa_der_cert FAILED [ 4%] test/test_crypto.py::CryptoTest::test_public_from_pem_rsa_pem_cert FAILED [ 4%] test/test_crypto.py::CryptoTest::test_public_from_private FAILED [ 4%] test/test_crypto.py::CryptoTest::test_public_from_private_der FAILED [ 4%] test/test_crypto.py::CryptoTest::test_public_getname FAILED [ 5%] test/test_crypto.py::CryptoTest::test_public_to_pem_bad_key FAILED [ 5%] test/test_crypto.py::CryptoTest::test_public_to_pem_ecc FAILED [ 5%] test/test_crypto.py::CryptoTest::test_public_to_pem_rsa FAILED [ 5%] test/test_crypto.py::CryptoTest::test_rsa_exponent FAILED [ 5%] test/test_crypto.py::CryptoTest::test_ssh_key_ecc FAILED [ 5%] test/test_crypto.py::CryptoTest::test_symcipher_from_secret FAILED [ 6%] test/test_crypto.py::CryptoTest::test_symcipher_from_secret_bad FAILED [ 6%] test/test_crypto.py::CryptoTest::test_symdef_to_crypt FAILED [ 6%] test/test_crypto.py::CryptoTest::test_topem_ecc FAILED [ 6%] test/test_crypto.py::CryptoTest::test_topem_encodings FAILED [ 6%] test/test_crypto.py::CryptoTest::test_topem_rsa FAILED [ 6%] test/test_crypto.py::CryptoTest::test_unsupported_key FAILED [ 7%] test/test_crypto.py::CryptoTest::test_verify_signature_bad FAILED [ 7%] test/test_crypto.py::CryptoTest::test_verify_signature_ecc FAILED [ 7%] test/test_crypto.py::CryptoTest::test_verify_signature_hmac FAILED [ 7%] test/test_crypto.py::CryptoTest::test_verify_singature_rsapss FAILED [ 7%] test/test_crypto.py::CryptoTest::test_verify_singature_rsassa FAILED [ 7%] test/test_cryptography.py::TestCryptography::test_cert_builder_ecc FAILED [ 7%] test/test_cryptography.py::TestCryptography::test_cert_builder_rsa FAILED [ 8%] test/test_cryptography.py::TestCryptography::test_csr_builder_ecc FAILED [ 8%] test/test_cryptography.py::TestCryptography::test_csr_builder_rsa FAILED [ 8%] test/test_cryptography.py::TestCryptography::test_ecc_copy FAILED [ 8%] test/test_cryptography.py::TestCryptography::test_ecc_different_curves FAILED [ 8%] test/test_cryptography.py::TestCryptography::test_ecc_exchange FAILED [ 8%] test/test_cryptography.py::TestCryptography::test_ecc_key FAILED [ 9%] test/test_cryptography.py::TestCryptography::test_ecc_key_bad_type FAILED [ 9%] test/test_cryptography.py::TestCryptography::test_ecc_key_restricted FAILED [ 9%] test/test_cryptography.py::TestCryptography::test_ecc_no_decrypt FAILED [ 9%] test/test_cryptography.py::TestCryptography::test_ecc_no_sign FAILED [ 9%] test/test_cryptography.py::TestCryptography::test_ecc_prehashed FAILED [ 9%] test/test_cryptography.py::TestCryptography::test_ecc_sign FAILED [ 10%] test/test_cryptography.py::TestCryptography::test_ecc_sign_with_scheme FAILED [ 10%] test/test_cryptography.py::TestCryptography::test_ecc_unsupported_curve FAILED [ 10%] test/test_cryptography.py::TestCryptography::test_ecc_unsupported_scheme FAILED [ 10%] test/test_cryptography.py::TestCryptography::test_rsa_copy FAILED [ 10%] test/test_cryptography.py::TestCryptography::test_rsa_decrypt_oaep FAILED [ 10%] test/test_cryptography.py::TestCryptography::test_rsa_decrypt_pkcs1v15 FAILED [ 11%] test/test_cryptography.py::TestCryptography::test_rsa_key FAILED [ 11%] test/test_cryptography.py::TestCryptography::test_rsa_key_bad_type FAILED [ 11%] test/test_cryptography.py::TestCryptography::test_rsa_key_restricted FAILED [ 11%] test/test_cryptography.py::TestCryptography::test_rsa_no_decrypt FAILED [ 11%] test/test_cryptography.py::TestCryptography::test_rsa_no_sign FAILED [ 11%] test/test_cryptography.py::TestCryptography::test_rsa_prehashed FAILED [ 12%] test/test_cryptography.py::TestCryptography::test_rsa_sign_pkcs1v15 FAILED [ 12%] test/test_cryptography.py::TestCryptography::test_rsa_sign_pss FAILED [ 12%] test/test_cryptography.py::TestCryptography::test_rsa_unsupported_decrypt_scheme FAILED [ 12%] test/test_cryptography.py::TestCryptography::test_rsa_unsupported_sig_scheme FAILED [ 12%] test/test_cryptography.py::TestCryptography::test_scheme_digest_mismatch FAILED [ 12%] test/test_cryptography.py::TestCryptography::test_scheme_digest_mismatch_oaep FAILED [ 13%] test/test_cryptography.py::TestCryptography::test_scheme_mismatch FAILED [ 13%] test/test_encoding.py::SerializationTest::test_base_TPMS_ATTEST PASSED [ 13%] test/test_encoding.py::SerializationTest::test_base_TPMS_CAPABILITY_DATA PASSED [ 13%] test/test_encoding.py::SerializationTest::test_base_TPMT_ASYM_SCHEME PASSED [ 13%] test/test_encoding.py::SerializationTest::test_base_TPMT_KDF_SCHEME PASSED [ 13%] test/test_encoding.py::SerializationTest::test_base_TPMT_KEYEDHASH_SCHEME PASSED [ 14%] test/test_encoding.py::SerializationTest::test_base_TPMT_PUBLIC PASSED [ 14%] test/test_encoding.py::SerializationTest::test_base_TPMT_PUBLIC_PARMS PASSED [ 14%] test/test_encoding.py::SerializationTest::test_base_TPMT_SENSITIVE PASSED [ 14%] test/test_encoding.py::SerializationTest::test_base_TPMT_SIG_SCHEME PASSED [ 14%] test/test_encoding.py::SerializationTest::test_base_TPMT_SINGATURE PASSED [ 14%] test/test_encoding.py::SerializationTest::test_base_TPMT_SYM_DEF PASSED [ 15%] test/test_encoding.py::SerializationTest::test_base_bad PASSED [ 15%] test/test_encoding.py::SerializationTest::test_base_bad_selector PASSED [ 15%] test/test_encoding.py::SerializationTest::test_base_complex_tpm2b PASSED [ 15%] test/test_encoding.py::SerializationTest::test_base_decode_bad PASSED [ 15%] test/test_encoding.py::SerializationTest::test_base_decode_case_insensitive PASSED [ 15%] test/test_encoding.py::SerializationTest::test_base_decode_complex_tpm2b PASSED [ 15%] test/test_encoding.py::SerializationTest::test_base_decode_friendly_int PASSED [ 16%] test/test_encoding.py::SerializationTest::test_base_decode_friendly_intlist PASSED [ 16%] test/test_encoding.py::SerializationTest::test_base_decode_int PASSED [ 16%] test/test_encoding.py::SerializationTest::test_base_decode_pcrselect PASSED [ 16%] test/test_encoding.py::SerializationTest::test_base_decode_simple_tpm2b PASSED [ 16%] test/test_encoding.py::SerializationTest::test_base_decode_strict PASSED [ 16%] test/test_encoding.py::SerializationTest::test_base_decode_struct PASSED [ 17%] test/test_encoding.py::SerializationTest::test_base_decode_tpml PASSED [ 17%] test/test_encoding.py::SerializationTest::test_base_friendly_int PASSED [ 17%] test/test_encoding.py::SerializationTest::test_base_friendly_intlist PASSED [ 17%] test/test_encoding.py::SerializationTest::test_base_int PASSED [ 17%] test/test_encoding.py::SerializationTest::test_base_simple_tpm2b PASSED [ 17%] test/test_encoding.py::SerializationTest::test_base_tpml PASSED [ 18%] test/test_encoding.py::SerializationTest::test_json_dec_friendly_int PASSED [ 18%] test/test_encoding.py::SerializationTest::test_json_dec_friendly_intlist PASSED [ 18%] test/test_encoding.py::SerializationTest::test_json_dec_int PASSED [ 18%] test/test_encoding.py::SerializationTest::test_json_dec_simple_tpm2b PASSED [ 18%] test/test_encoding.py::SerializationTest::test_json_enc_friendly_int PASSED [ 18%] test/test_encoding.py::SerializationTest::test_json_enc_friendly_intlist PASSED [ 19%] test/test_encoding.py::SerializationTest::test_json_enc_int PASSED [ 19%] test/test_encoding.py::ToolsTest::test_decode_int PASSED [ 19%] test/test_encoding.py::ToolsTest::test_decode_int_nt FAILED [ 19%] test/test_encoding.py::ToolsTest::test_decode_nt_extend FAILED [ 19%] test/test_encoding.py::ToolsTest::test_decode_nt_pin FAILED [ 19%] test/test_encoding.py::ToolsTest::test_to_yaml PASSED [ 20%] test/test_encoding.py::ToolsTest::test_tools_decode_pcr_tuples FAILED [ 20%] test/test_encoding.py::ToolsTest::test_tools_decode_tmpl_pcr_selection FAILED [ 20%] test/test_encoding.py::ToolsTest::test_tools_decode_tpm2b_name FAILED [ 20%] test/test_encoding.py::ToolsTest::test_tools_decode_tpma_session FAILED [ 20%] test/test_encoding.py::ToolsTest::test_tools_decode_tpml_alg FAILED [ 20%] test/test_encoding.py::ToolsTest::test_tools_decode_tpml_alg_property FAILED [ 21%] test/test_encoding.py::ToolsTest::test_tools_decode_tpml_cca FAILED [ 21%] test/test_encoding.py::ToolsTest::test_tools_decode_tpml_digest_values FAILED [ 21%] test/test_encoding.py::ToolsTest::test_tools_decode_tpml_ecc_curve FAILED [ 21%] test/test_encoding.py::ToolsTest::test_tools_decode_tpml_handle FAILED [ 21%] test/test_encoding.py::ToolsTest::test_tools_decode_tpml_tagged_tpm_property FAILED [ 21%] test/test_encoding.py::ToolsTest::test_tools_decode_tpms_nv_public FAILED [ 22%] test/test_encoding.py::ToolsTest::test_tools_decode_tpmt_public FAILED [ 22%] test/test_encoding.py::ToolsTest::test_tools_nt_pin PASSED [ 22%] test/test_encoding.py::ToolsTest::test_tools_pcr_tuple PASSED [ 22%] test/test_encoding.py::ToolsTest::test_tools_pcr_tuples PASSED [ 22%] test/test_encoding.py::ToolsTest::test_tools_tpm2b_name PASSED [ 22%] test/test_encoding.py::ToolsTest::test_tools_tpma_session PASSED [ 23%] test/test_encoding.py::ToolsTest::test_tools_tpml_alg PASSED [ 23%] test/test_encoding.py::ToolsTest::test_tools_tpml_alg_property PASSED [ 23%] test/test_encoding.py::ToolsTest::test_tools_tpml_cca PASSED [ 23%] test/test_encoding.py::ToolsTest::test_tools_tpml_digest_values PASSED [ 23%] test/test_encoding.py::ToolsTest::test_tools_tpml_ecc_curve PASSED [ 23%] test/test_encoding.py::ToolsTest::test_tools_tpml_handle PASSED [ 23%] test/test_encoding.py::ToolsTest::test_tools_tpml_pcr_selection PASSED [ 24%] test/test_encoding.py::ToolsTest::test_tools_tpml_tagged_tpm_property PASSED [ 24%] test/test_encoding.py::ToolsTest::test_tools_tpms_context PASSED [ 24%] test/test_encoding.py::ToolsTest::test_tools_tpms_nv_public PASSED [ 24%] test/test_encoding.py::ToolsTest::test_tools_tpmt_public PASSED [ 24%] test/test_encoding.py::ToolsTest::test_tools_unsupported PASSED [ 24%] test/test_esapi.py::TestEsys::test_TPMS_CONTEXT_to_tools FAILED [ 25%] test/test_esapi.py::TestEsys::test_ac_get_capability SKIPPED (Attached Components not supported prior to tss v4) [ 25%] test/test_esapi.py::TestEsys::test_ac_send SKIPPED (Attached Components not supported prior to tss v4) [ 25%] test/test_esapi.py::TestEsys::test_activate_credential FAILED [ 25%] test/test_esapi.py::TestEsys::test_certify FAILED [ 25%] test/test_esapi.py::TestEsys::test_certify_creation FAILED [ 25%] test/test_esapi.py::TestEsys::test_change_eps FAILED [ 26%] test/test_esapi.py::TestEsys::test_change_pps FAILED [ 26%] test/test_esapi.py::TestEsys::test_clear FAILED [ 26%] test/test_esapi.py::TestEsys::test_clearcontrol FAILED [ 26%] test/test_esapi.py::TestEsys::test_clock_rate_adjust FAILED [ 26%] test/test_esapi.py::TestEsys::test_clock_set FAILED [ 26%] test/test_esapi.py::TestEsys::test_commit FAILED [ 27%] test/test_esapi.py::TestEsys::test_context_save_context_load FAILED [ 27%] test/test_esapi.py::TestEsys::test_create FAILED [ 27%] test/test_esapi.py::TestEsys::test_create_none FAILED [ 27%] test/test_esapi.py::TestEsys::test_create_primary FAILED [ 27%] test/test_esapi.py::TestEsys::test_create_primary_none FAILED [ 27%] test/test_esapi.py::TestEsys::test_createloaded FAILED [ 28%] test/test_esapi.py::TestEsys::test_createloaded_none FAILED [ 28%] test/test_esapi.py::TestEsys::test_dictionary_attack_lock_reset FAILED [ 28%] test/test_esapi.py::TestEsys::test_dictionary_attack_parameters FAILED [ 28%] test/test_esapi.py::TestEsys::test_double_close FAILED [ 28%] test/test_esapi.py::TestEsys::test_duplicate FAILED [ 28%] test/test_esapi.py::TestEsys::test_ecc_parameters FAILED [ 29%] test/test_esapi.py::TestEsys::test_ecdh_key_gen FAILED [ 29%] test/test_esapi.py::TestEsys::test_ecdh_z_gen FAILED [ 29%] test/test_esapi.py::TestEsys::test_encrypt_decrypt FAILED [ 29%] test/test_esapi.py::TestEsys::test_encrypt_decrypt2 FAILED [ 29%] test/test_esapi.py::TestEsys::test_esys_tr_functions FAILED [ 29%] test/test_esapi.py::TestEsys::test_event_sequence_complete FAILED [ 30%] test/test_esapi.py::TestEsys::test_evict_control FAILED [ 30%] test/test_esapi.py::TestEsys::test_field_upgrade_data FAILED [ 30%] test/test_esapi.py::TestEsys::test_field_upgrade_start FAILED [ 30%] test/test_esapi.py::TestEsys::test_firmware_read FAILED [ 30%] test/test_esapi.py::TestEsys::test_flush_context FAILED [ 30%] test/test_esapi.py::TestEsys::test_fulltest_no FAILED [ 30%] test/test_esapi.py::TestEsys::test_fulltest_yes FAILED [ 31%] test/test_esapi.py::TestEsys::test_get_capability FAILED [ 31%] test/test_esapi.py::TestEsys::test_get_command_audit_digest FAILED [ 31%] test/test_esapi.py::TestEsys::test_get_random FAILED [ 31%] test/test_esapi.py::TestEsys::test_get_session_audit_digest FAILED [ 31%] test/test_esapi.py::TestEsys::test_get_time FAILED [ 31%] test/test_esapi.py::TestEsys::test_gettcti FAILED [ 32%] test/test_esapi.py::TestEsys::test_hash FAILED [ 32%] test/test_esapi.py::TestEsys::test_hash_sequence FAILED [ 32%] test/test_esapi.py::TestEsys::test_hierarchy_control FAILED [ 32%] test/test_esapi.py::TestEsys::test_hierarchychangeauth FAILED [ 32%] test/test_esapi.py::TestEsys::test_hmac FAILED [ 32%] test/test_esapi.py::TestEsys::test_hmac_sequence FAILED [ 33%] test/test_esapi.py::TestEsys::test_hmac_session FAILED [ 33%] test/test_esapi.py::TestEsys::test_import FAILED [ 33%] test/test_esapi.py::TestEsys::test_incremental_resume_test FAILED [ 33%] test/test_esapi.py::TestEsys::test_incremental_self_test FAILED [ 33%] test/test_esapi.py::TestEsys::test_load FAILED [ 33%] test/test_esapi.py::TestEsys::test_mac SKIPPED (Attached Components not supported prior to tss v4) [ 34%] test/test_esapi.py::TestEsys::test_make_credential FAILED [ 34%] test/test_esapi.py::TestEsys::test_nv_certify FAILED [ 34%] test/test_esapi.py::TestEsys::test_nv_change_auth FAILED [ 34%] test/test_esapi.py::TestEsys::test_nv_extend FAILED [ 34%] test/test_esapi.py::TestEsys::test_nv_global_write_lock FAILED [ 34%] test/test_esapi.py::TestEsys::test_nv_increment FAILED [ 35%] test/test_esapi.py::TestEsys::test_nv_read_lock FAILED [ 35%] test/test_esapi.py::TestEsys::test_nv_read_public FAILED [ 35%] test/test_esapi.py::TestEsys::test_nv_set_bits FAILED [ 35%] test/test_esapi.py::TestEsys::test_nv_undefine_space_special FAILED [ 35%] test/test_esapi.py::TestEsys::test_nv_write_lock FAILED [ 35%] test/test_esapi.py::TestEsys::test_object_change_auth FAILED [ 36%] test/test_esapi.py::TestEsys::test_pcr_allocate FAILED [ 36%] test/test_esapi.py::TestEsys::test_pcr_event FAILED [ 36%] test/test_esapi.py::TestEsys::test_pcr_extend FAILED [ 36%] test/test_esapi.py::TestEsys::test_pcr_read FAILED [ 36%] test/test_esapi.py::TestEsys::test_pcr_reset FAILED [ 36%] test/test_esapi.py::TestEsys::test_pcr_set_auth_policy FAILED [ 37%] test/test_esapi.py::TestEsys::test_pcr_set_auth_value FAILED [ 37%] test/test_esapi.py::TestEsys::test_plain_nv_define_write_read_undefine FAILED [ 37%] test/test_esapi.py::TestEsys::test_policy_ac_send_select SKIPPED [ 37%] test/test_esapi.py::TestEsys::test_policy_auth_value FAILED [ 37%] test/test_esapi.py::TestEsys::test_policy_authorize FAILED [ 37%] test/test_esapi.py::TestEsys::test_policy_authorize_nv FAILED [ 38%] test/test_esapi.py::TestEsys::test_policy_command_code FAILED [ 38%] test/test_esapi.py::TestEsys::test_policy_counter_timer FAILED [ 38%] test/test_esapi.py::TestEsys::test_policy_cp_hash FAILED [ 38%] test/test_esapi.py::TestEsys::test_policy_duplication_select FAILED [ 38%] test/test_esapi.py::TestEsys::test_policy_get_digest FAILED [ 38%] test/test_esapi.py::TestEsys::test_policy_locality FAILED [ 38%] test/test_esapi.py::TestEsys::test_policy_name_hash FAILED [ 39%] test/test_esapi.py::TestEsys::test_policy_nv FAILED [ 39%] test/test_esapi.py::TestEsys::test_policy_nv_written FAILED [ 39%] test/test_esapi.py::TestEsys::test_policy_or FAILED [ 39%] test/test_esapi.py::TestEsys::test_policy_password FAILED [ 39%] test/test_esapi.py::TestEsys::test_policy_pcr FAILED [ 39%] test/test_esapi.py::TestEsys::test_policy_physical_presence FAILED [ 40%] test/test_esapi.py::TestEsys::test_policy_secret FAILED [ 40%] test/test_esapi.py::TestEsys::test_policy_signed FAILED [ 40%] test/test_esapi.py::TestEsys::test_policy_template FAILED [ 40%] test/test_esapi.py::TestEsys::test_policy_ticket FAILED [ 40%] test/test_esapi.py::TestEsys::test_policyrestart FAILED [ 40%] test/test_esapi.py::TestEsys::test_pp_commands FAILED [ 41%] test/test_esapi.py::TestEsys::test_quote FAILED [ 41%] test/test_esapi.py::TestEsys::test_read_clock FAILED [ 41%] test/test_esapi.py::TestEsys::test_readpublic FAILED [ 41%] test/test_esapi.py::TestEsys::test_ref_parent FAILED [ 41%] test/test_esapi.py::TestEsys::test_rewrap FAILED [ 41%] test/test_esapi.py::TestEsys::test_rsa_enc_dec FAILED [ 42%] test/test_esapi.py::TestEsys::test_rsa_enc_dec_with_label FAILED [ 42%] test/test_esapi.py::TestEsys::test_set_algorithm_set FAILED [ 42%] test/test_esapi.py::TestEsys::test_set_command_code_audit_status FAILED [ 42%] test/test_esapi.py::TestEsys::test_set_primary_policy FAILED [ 42%] test/test_esapi.py::TestEsys::test_shutdown_bad FAILED [ 42%] test/test_esapi.py::TestEsys::test_shutdown_clear FAILED [ 43%] test/test_esapi.py::TestEsys::test_shutdown_no_arg FAILED [ 43%] test/test_esapi.py::TestEsys::test_shutdown_state FAILED [ 43%] test/test_esapi.py::TestEsys::test_sign FAILED [ 43%] test/test_esapi.py::TestEsys::test_start_auth_session_enckey FAILED [ 43%] test/test_esapi.py::TestEsys::test_start_auth_session_enckey_bindkey FAILED [ 43%] test/test_esapi.py::TestEsys::test_start_auth_session_noncecaller FAILED [ 44%] test/test_esapi.py::TestEsys::test_start_auth_session_noncecaller_bad FAILED [ 44%] test/test_esapi.py::TestEsys::test_stir_random FAILED [ 44%] test/test_esapi.py::TestEsys::test_test_parms FAILED [ 44%] test/test_esapi.py::TestEsys::test_tr_get_tpm_handle FAILED [ 44%] test/test_esapi.py::TestEsys::test_tr_parts_to_blob FAILED [ 44%] test/test_esapi.py::TestEsys::test_tr_sess_set_attributes FAILED [ 45%] test/test_esapi.py::TestEsys::test_unseal FAILED [ 45%] test/test_esapi.py::TestEsys::test_vendor_tcg_test FAILED [ 45%] test/test_esapi.py::TestEsys::test_verify_signature FAILED [ 45%] test/test_esapi.py::TestEsys::test_z_gen_2_phase FAILED [ 45%] test/test_exception.py::ExceptionTest::test_fmt1 PASSED [ 45%] test/test_exception.py::ExceptionTest::test_handle PASSED [ 46%] test/test_exception.py::ExceptionTest::test_input_types PASSED [ 46%] test/test_exception.py::ExceptionTest::test_non_fmt1 PASSED [ 46%] test/test_exception.py::ExceptionTest::test_parameter PASSED [ 46%] test/test_exception.py::ExceptionTest::test_session PASSED [ 46%] test/test_fapi.py::TestFapiECC::test_provision_ok ERROR [ 46%] test/test_fapi.py::TestFapiECC::test_provision_fail ERROR [ 46%] test/test_fapi.py::TestFapiECC::test_get_random ERROR [ 47%] test/test_fapi.py::TestFapiECC::test_get_random_zero ERROR [ 47%] test/test_fapi.py::TestFapiECC::test_get_random_large ERROR [ 47%] test/test_fapi.py::TestFapiECC::test_get_random_negative ERROR [ 47%] test/test_fapi.py::TestFapiECC::test_get_info ERROR [ 47%] test/test_fapi.py::TestFapiECC::test_list ERROR [ 47%] test/test_fapi.py::TestFapiECC::test_list_search_path ERROR [ 48%] test/test_fapi.py::TestFapiECC::test_list_bad_search_path ERROR [ 48%] test/test_fapi.py::TestFapiECC::test_create_key ERROR [ 48%] test/test_fapi.py::TestFapiECC::test_create_key_double_ok ERROR [ 48%] test/test_fapi.py::TestFapiECC::test_create_key_double_fail ERROR [ 48%] test/test_fapi.py::TestFapiECC::test_get_esys_blob_contextload ERROR [ 48%] test/test_fapi.py::TestFapiECC::test_get_esys_blob_bad ERROR [ 49%] test/test_fapi.py::TestFapiECC::test_get_esys_blob_deserialize ERROR [ 49%] test/test_fapi.py::TestFapiECC::test_verify ERROR [ 49%] test/test_fapi.py::TestFapiECC::test_verify_fail ERROR [ 49%] test/test_fapi.py::TestFapiECC::test_import_key_double_ok ERROR [ 49%] test/test_fapi.py::TestFapiECC::test_import_key_double_fail ERROR [ 49%] test/test_fapi.py::TestFapiECC::test_import_policy_double_ok ERROR [ 50%] test/test_fapi.py::TestFapiECC::test_import_policy_double_fail ERROR [ 50%] test/test_fapi.py::TestFapiECC::test_import_exported_key ERROR [ 50%] test/test_fapi.py::TestFapiECC::test_export_imported_policy ERROR [ 50%] test/test_fapi.py::TestFapiECC::test_create_seal ERROR [ 50%] test/test_fapi.py::TestFapiECC::test_create_seal_double_ok ERROR [ 50%] test/test_fapi.py::TestFapiECC::test_create_seal_double_fail ERROR [ 51%] test/test_fapi.py::TestFapiECC::test_create_seal_random ERROR [ 51%] test/test_fapi.py::TestFapiECC::test_create_seal_both_data_and_size_fail ERROR [ 51%] test/test_fapi.py::TestFapiECC::test_create_seal_neither_data_nor_size_fail ERROR [ 51%] test/test_fapi.py::TestFapiECC::test_unseal ERROR [ 51%] test/test_fapi.py::TestFapiECC::test_quote_verify ERROR [ 51%] test/test_fapi.py::TestFapiECC::test_export_key ERROR [ 52%] test/test_fapi.py::TestFapiECC::test_delete_key ERROR [ 52%] test/test_fapi.py::TestFapiECC::test_set_get_description ERROR [ 52%] test/test_fapi.py::TestFapiECC::test_get_empty_description ERROR [ 52%] test/test_fapi.py::TestFapiECC::test_set_get_app_data ERROR [ 52%] test/test_fapi.py::TestFapiECC::test_get_no_app_data ERROR [ 52%] test/test_fapi.py::TestFapiECC::test_set_get_certificate ERROR [ 53%] test/test_fapi.py::TestFapiECC::test_get_empty_certificate ERROR [ 53%] test/test_fapi.py::TestFapiECC::test_get_empty_platform_certificates_ok ERROR [ 53%] test/test_fapi.py::TestFapiECC::test_get_empty_platform_certificates_fail ERROR [ 53%] test/test_fapi.py::TestFapiECC::test_pcr_read ERROR [ 53%] test/test_fapi.py::TestFapiECC::test_pcr_extend_read ERROR [ 53%] test/test_fapi.py::TestFapiECC::test_nv_write_read ERROR [ 53%] test/test_fapi.py::TestFapiECC::test_nv_increment ERROR [ 54%] test/test_fapi.py::TestFapiECC::test_nv_pcr ERROR [ 54%] test/test_fapi.py::TestFapiECC::test_nv_set_bits ERROR [ 54%] test/test_fapi.py::TestFapiECC::test_set_auth_callback ERROR [ 54%] test/test_fapi.py::TestFapiECC::test_unset_auth_callback ERROR [ 54%] test/test_fapi.py::TestFapiECC::test_write_authorize_nv ERROR [ 54%] test/test_fapi.py::TestFapiECC::test_authorize_policy ERROR [ 55%] test/test_fapi.py::TestFapiECC::test_policy_signed ERROR [ 55%] test/test_fapi.py::TestFapiECC::test_policy_branched ERROR [ 55%] test/test_fapi.py::TestFapiECC::test_policy_action ERROR [ 55%] test/test_fapi.py::TestFapiECC::test_nv_create_double_ok ERROR [ 55%] test/test_fapi.py::TestFapiECC::test_nv_create_double_fail ERROR [ 55%] test/test_fapi.py::TestFapiECC::test_sign ERROR [ 56%] test/test_fapi.py::TestFapiECC::test_get_tpm_blobs ERROR [ 56%] test/test_fapi.py::TestFapiRSA::test_provision_ok ERROR [ 56%] test/test_fapi.py::TestFapiRSA::test_provision_fail ERROR [ 56%] test/test_fapi.py::TestFapiRSA::test_get_random ERROR [ 56%] test/test_fapi.py::TestFapiRSA::test_get_random_zero ERROR [ 56%] test/test_fapi.py::TestFapiRSA::test_get_random_large ERROR [ 57%] test/test_fapi.py::TestFapiRSA::test_get_random_negative ERROR [ 57%] test/test_fapi.py::TestFapiRSA::test_get_info ERROR [ 57%] test/test_fapi.py::TestFapiRSA::test_list ERROR [ 57%] test/test_fapi.py::TestFapiRSA::test_list_search_path ERROR [ 57%] test/test_fapi.py::TestFapiRSA::test_list_bad_search_path ERROR [ 57%] test/test_fapi.py::TestFapiRSA::test_create_key ERROR [ 58%] test/test_fapi.py::TestFapiRSA::test_create_key_double_ok ERROR [ 58%] test/test_fapi.py::TestFapiRSA::test_create_key_double_fail ERROR [ 58%] test/test_fapi.py::TestFapiRSA::test_get_esys_blob_contextload ERROR [ 58%] test/test_fapi.py::TestFapiRSA::test_get_esys_blob_bad ERROR [ 58%] test/test_fapi.py::TestFapiRSA::test_get_esys_blob_deserialize ERROR [ 58%] test/test_fapi.py::TestFapiRSA::test_verify ERROR [ 59%] test/test_fapi.py::TestFapiRSA::test_verify_fail ERROR [ 59%] test/test_fapi.py::TestFapiRSA::test_import_key_double_ok ERROR [ 59%] test/test_fapi.py::TestFapiRSA::test_import_key_double_fail ERROR [ 59%] test/test_fapi.py::TestFapiRSA::test_import_policy_double_ok ERROR [ 59%] test/test_fapi.py::TestFapiRSA::test_import_policy_double_fail ERROR [ 59%] test/test_fapi.py::TestFapiRSA::test_import_exported_key ERROR [ 60%] test/test_fapi.py::TestFapiRSA::test_export_imported_policy ERROR [ 60%] test/test_fapi.py::TestFapiRSA::test_create_seal ERROR [ 60%] test/test_fapi.py::TestFapiRSA::test_create_seal_double_ok ERROR [ 60%] test/test_fapi.py::TestFapiRSA::test_create_seal_double_fail ERROR [ 60%] test/test_fapi.py::TestFapiRSA::test_create_seal_random ERROR [ 60%] test/test_fapi.py::TestFapiRSA::test_create_seal_both_data_and_size_fail ERROR [ 61%] test/test_fapi.py::TestFapiRSA::test_create_seal_neither_data_nor_size_fail ERROR [ 61%] test/test_fapi.py::TestFapiRSA::test_unseal ERROR [ 61%] test/test_fapi.py::TestFapiRSA::test_quote_verify ERROR [ 61%] test/test_fapi.py::TestFapiRSA::test_export_key ERROR [ 61%] test/test_fapi.py::TestFapiRSA::test_delete_key ERROR [ 61%] test/test_fapi.py::TestFapiRSA::test_set_get_description ERROR [ 61%] test/test_fapi.py::TestFapiRSA::test_get_empty_description ERROR [ 62%] test/test_fapi.py::TestFapiRSA::test_set_get_app_data ERROR [ 62%] test/test_fapi.py::TestFapiRSA::test_get_no_app_data ERROR [ 62%] test/test_fapi.py::TestFapiRSA::test_set_get_certificate ERROR [ 62%] test/test_fapi.py::TestFapiRSA::test_get_empty_certificate ERROR [ 62%] test/test_fapi.py::TestFapiRSA::test_get_empty_platform_certificates_ok ERROR [ 62%] test/test_fapi.py::TestFapiRSA::test_get_empty_platform_certificates_fail ERROR [ 63%] test/test_fapi.py::TestFapiRSA::test_pcr_read ERROR [ 63%] test/test_fapi.py::TestFapiRSA::test_pcr_extend_read ERROR [ 63%] test/test_fapi.py::TestFapiRSA::test_nv_write_read ERROR [ 63%] test/test_fapi.py::TestFapiRSA::test_nv_increment ERROR [ 63%] test/test_fapi.py::TestFapiRSA::test_nv_pcr ERROR [ 63%] test/test_fapi.py::TestFapiRSA::test_nv_set_bits ERROR [ 64%] test/test_fapi.py::TestFapiRSA::test_set_auth_callback ERROR [ 64%] test/test_fapi.py::TestFapiRSA::test_unset_auth_callback ERROR [ 64%] test/test_fapi.py::TestFapiRSA::test_write_authorize_nv ERROR [ 64%] test/test_fapi.py::TestFapiRSA::test_authorize_policy ERROR [ 64%] test/test_fapi.py::TestFapiRSA::test_policy_signed ERROR [ 64%] test/test_fapi.py::TestFapiRSA::test_policy_branched ERROR [ 65%] test/test_fapi.py::TestFapiRSA::test_policy_action ERROR [ 65%] test/test_fapi.py::TestFapiRSA::test_nv_create_double_ok ERROR [ 65%] test/test_fapi.py::TestFapiRSA::test_nv_create_double_fail ERROR [ 65%] test/test_fapi.py::TestFapiRSA::test_sign ERROR [ 65%] test/test_fapi.py::TestFapiRSA::test_get_tpm_blobs ERROR [ 65%] test/test_fapi.py::TestFapiRSA::test_encrypt_decrypt ERROR [ 66%] test/test_import.py::ImportTest::test_missing_symbol PASSED [ 66%] test/test_import.py::ImportTest::test_not_missing_symbol PASSED [ 66%] test/test_import.py::ImportTest::test_other_message PASSED [ 66%] test/test_internal.py::InternalTest::test_lib_version_strings PASSED [ 66%] test/test_policy.py::TestPolicy::test_calc_name_callback FAILED [ 66%] test/test_policy.py::TestPolicy::test_calc_nvpublic_callback FAILED [ 67%] test/test_policy.py::TestPolicy::test_calc_pcr_callback FAILED [ 67%] test/test_policy.py::TestPolicy::test_calc_public_callback FAILED [ 67%] test/test_policy.py::TestPolicy::test_callbacks FAILED [ 67%] test/test_policy.py::TestPolicy::test_exec_auth_callback FAILED [ 67%] test/test_policy.py::TestPolicy::test_exec_polaction_callback FAILED [ 67%] test/test_policy.py::TestPolicy::test_exec_polauth_callback FAILED [ 68%] test/test_policy.py::TestPolicy::test_exec_polauthnv_callback FAILED [ 68%] test/test_policy.py::TestPolicy::test_exec_poldup_callback FAILED [ 68%] test/test_policy.py::TestPolicy::test_exec_polsel_callback FAILED [ 68%] test/test_policy.py::TestPolicy::test_exec_sign_callback FAILED [ 68%] test/test_policy.py::TestPolicy::test_password_policy FAILED [ 68%] test/test_policy.py::TestPolicy::test_password_policy_execute FAILED [ 69%] test/test_tcti.py::TestTCTI::test_cancel FAILED [ 69%] test/test_tcti.py::TestTCTI::test_custom_pytcti_C_wrapper_transmit_receive FAILED [ 69%] test/test_tcti.py::TestTCTI::test_custom_pytcti_cancel FAILED [ 69%] test/test_tcti.py::TestTCTI::test_custom_pytcti_ctx_manager_finalize FAILED [ 69%] test/test_tcti.py::TestTCTI::test_custom_pytcti_esapi FAILED [ 69%] test/test_tcti.py::TestTCTI::test_custom_pytcti_finalize FAILED [ 69%] test/test_tcti.py::TestTCTI::test_custom_pytcti_finalize_error FAILED [ 70%] test/test_tcti.py::TestTCTI::test_custom_pytcti_get_poll_handles FAILED [ 70%] test/test_tcti.py::TestTCTI::test_custom_pytcti_magic FAILED [ 70%] test/test_tcti.py::TestTCTI::test_custom_pytcti_make_sticky FAILED [ 70%] test/test_tcti.py::TestTCTI::test_custom_pytcti_set_locality FAILED [ 70%] test/test_tcti.py::TestTCTI::test_custom_pytcti_version FAILED [ 70%] test/test_tcti.py::TestTCTI::test_finalize FAILED [ 71%] test/test_tcti.py::TestTCTI::test_get_poll_handles FAILED [ 71%] test/test_tcti.py::TestTCTI::test_init FAILED [ 71%] test/test_tcti.py::TestTCTI::test_is_available FAILED [ 71%] test/test_tcti.py::TestTCTI::test_make_sticky FAILED [ 71%] test/test_tcti.py::TestTCTI::test_set_locality FAILED [ 71%] test/test_tcti.py::TestTCTI::test_tctildr FAILED [ 72%] test/test_tcti.py::TestTCTI::test_transmit_receive FAILED [ 72%] test/test_tcti_spi_helper.py::TestTCTI::test_MyBadSPITcti PASSED [ 72%] test/test_tcti_spi_helper.py::TestTCTI::test_MyBadSPITcti2 PASSED [ 72%] test/test_tcti_spi_helper.py::TestTCTI::test_init_baseclase PASSED [ 72%] test/test_tcti_spi_helper.py::TestTCTI::test_init_baseclase_with_wait_state PASSED [ 72%] test/test_tcti_spi_helper.py::TestTCTI::test_spi_helper_good PASSED [ 73%] test/test_tcti_spi_helper.py::TestTCTI::test_with_exception_accross_c PASSED [ 73%] test/test_tsskey.py::TSSKeyTest::test_bad_oid FAILED [ 73%] test/test_tsskey.py::TSSKeyTest::test_bad_pem_type FAILED [ 73%] test/test_tsskey.py::TSSKeyTest::test_create_load_ecc FAILED [ 73%] test/test_tsskey.py::TSSKeyTest::test_create_load_ecc_password FAILED [ 73%] test/test_tsskey.py::TSSKeyTest::test_create_load_rsa FAILED [ 74%] test/test_tsskey.py::TSSKeyTest::test_create_no_password_load_password FAILED [ 74%] test/test_tsskey.py::TSSKeyTest::test_create_password_load_no_password FAILED [ 74%] test/test_tsskey.py::TSSKeyTest::test_no_ecc FAILED [ 74%] test/test_tsskey.py::TSSKeyTest::test_no_ecc_no_rsa FAILED [ 74%] test/test_tsskey.py::TSSKeyTest::test_persistent_parent_ecc FAILED [ 74%] test/test_tsskey.py::TSSKeyTest::test_persistent_parent_rsa FAILED [ 75%] test/test_tsskey.py::TSSKeyTest::test_rsa_frompem FAILED [ 75%] test/test_tsskey.py::TSSKeyTest::test_rsa_topem FAILED [ 75%] test/test_types.py::TypesTest::test_ESYS_TR PASSED [ 75%] test/test_types.py::TypesTest::test_TPM2B_AUTH_bad_fields PASSED [ 75%] test/test_types.py::TypesTest::test_TPM2B_AUTH_empty PASSED [ 75%] test/test_types.py::TypesTest::test_TPM2B_AUTH_empty_str PASSED [ 76%] test/test_types.py::TypesTest::test_TPM2B_AUTH_set_str PASSED [ 76%] test/test_types.py::TypesTest::test_TPM2B_PUBLIC PASSED [ 76%] test/test_types.py::TypesTest::test_TPM2B_PUBLIC_from_pem_strings PASSED [ 76%] test/test_types.py::TypesTest::test_TPM2B_PUBLIC_parse PASSED [ 76%] test/test_types.py::TypesTest::test_TPM2B_PUBLIC_specified_parts PASSED [ 76%] test/test_types.py::TypesTest::test_TPM2B_SENSITIVE_to_der PASSED [ 76%] test/test_types.py::TypesTest::test_TPM2B_SENSITIVE_to_pem PASSED [ 77%] test/test_types.py::TypesTest::test_TPM2B_SENSITIVE_to_ssh PASSED [ 77%] test/test_types.py::TypesTest::test_TPM2B_SIMPLE_OBJECT PASSED [ 77%] test/test_types.py::TypesTest::test_TPM2_ALG_parse PASSED [ 77%] test/test_types.py::TypesTest::test_TPM2_CC PASSED [ 77%] test/test_types.py::TypesTest::test_TPM2_ECC PASSED [ 77%] test/test_types.py::TypesTest::test_TPM2_EO PASSED [ 78%] test/test_types.py::TypesTest::test_TPM2_GENERATED_VALUE PASSED [ 78%] test/test_types.py::TypesTest::test_TPM2_PT PASSED [ 78%] test/test_types.py::TypesTest::test_TPM2_RC PASSED [ 78%] test/test_types.py::TypesTest::test_TPM2_RC_decode PASSED [ 78%] test/test_types.py::TypesTest::test_TPM2_SE PASSED [ 78%] test/test_types.py::TypesTest::test_TPM2_SPEC PASSED [ 79%] test/test_types.py::TypesTest::test_TPM2_ST PASSED [ 79%] test/test_types.py::TypesTest::test_TPM2_SU PASSED [ 79%] test/test_types.py::TypesTest::test_TPMA_CC PASSED [ 79%] test/test_types.py::TypesTest::test_TPMA_LOCALITY PASSED [ 79%] test/test_types.py::TypesTest::test_TPMA_NV PASSED [ 79%] test/test_types.py::TypesTest::test_TPMA_OBJECT PASSED [ 80%] test/test_types.py::TypesTest::test_TPMA_SESSION PASSED [ 80%] test/test_types.py::TypesTest::test_TPML_ALG_parse_bad PASSED [ 80%] test/test_types.py::TypesTest::test_TPML_ALG_parse_commas PASSED [ 80%] test/test_types.py::TypesTest::test_TPML_ALG_parse_double PASSED [ 80%] test/test_types.py::TypesTest::test_TPML_ALG_parse_double_extra_commas PASSED [ 80%] test/test_types.py::TypesTest::test_TPML_ALG_parse_double_mixed_case PASSED [ 81%] test/test_types.py::TypesTest::test_TPML_ALG_parse_double_spaces PASSED [ 81%] test/test_types.py::TypesTest::test_TPML_ALG_parse_empty PASSED [ 81%] test/test_types.py::TypesTest::test_TPML_ALG_parse_none PASSED [ 81%] test/test_types.py::TypesTest::test_TPML_ALG_parse_single PASSED [ 81%] test/test_types.py::TypesTest::test_TPML_ALG_setitem_single PASSED [ 81%] test/test_types.py::TypesTest::test_TPML_ALG_setitem_slices PASSED [ 82%] test/test_types.py::TypesTest::test_TPML_ALG_setitem_slices_set_list_with_int_key PASSED [ 82%] test/test_types.py::TypesTest::test_TPML_ALG_setitem_slices_with_step PASSED [ 82%] test/test_types.py::TypesTest::test_TPML_ALG_setitem_slices_with_too_few_unpack PASSED [ 82%] test/test_types.py::TypesTest::test_TPML_ALG_setitem_slices_with_too_many_unpack PASSED [ 82%] test/test_types.py::TypesTest::test_TPML_DIGEST PASSED [ 82%] test/test_types.py::TypesTest::test_TPML_DIGEST_VALUES PASSED [ 83%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_bad_selections PASSED [ 83%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_from_TPMS_PCR_SELECTION_list PASSED [ 83%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_iterator PASSED [ 83%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_parse_2_banks_all_friendly PASSED [ 83%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_parse_2_banks_mixed PASSED [ 83%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_parse_None PASSED [ 84%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_parse_empty_string PASSED [ 84%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_parse_gibberish PASSED [ 84%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_parse_plus_multiple PASSED [ 84%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_parse_plus_only PASSED [ 84%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_parse_plus_unbalanced PASSED [ 84%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_setattr_slice PASSED [ 84%] test/test_types.py::TypesTest::test_TPMS_CONTEXT_from_tools PASSED [ 85%] test/test_types.py::TypesTest::test_TPMS_ECC_POINT PASSED [ 85%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION PASSED [ 85%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION_parse PASSED [ 85%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION_parse_None PASSED [ 85%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION_parse_bank_and_garbage PASSED [ 85%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION_parse_empty PASSED [ 86%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION_parse_malformed PASSED [ 86%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION_parse_multiple_colons PASSED [ 86%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION_parse_only_bank_and_colon PASSED [ 86%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION_parse_only_colon PASSED [ 86%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION_parse_out_of_bounds_pcr PASSED [ 86%] test/test_types.py::TypesTest::test_TPMS_SENSITIVE_CREATE_with_string PASSED [ 87%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_empty PASSED [ 87%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_bad_params PASSED [ 87%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_camellia PASSED [ 87%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecc_all PASSED [ 87%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecc_camellia PASSED [ 87%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecc_ecdaa4 PASSED [ 88%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecc_ecdaa4_sha256 PASSED [ 88%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecc_plain PASSED [ 88%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecc_sm2 PASSED [ 88%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecc_sm4 PASSED [ 88%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecda_ecdh_sha384 PASSED [ 88%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecda_ecdsa_ecdh_ecschnorr PASSED [ 89%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_hmac PASSED [ 89%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_keyedhash PASSED [ 89%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_rsa PASSED [ 89%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_rsa2048_ PASSED [ 89%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_rsa2048_restricted PASSED [ 89%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_rsa_keysizes PASSED [ 90%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_rsa_oaep PASSED [ 90%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_rsa_rsaes PASSED [ 90%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_rsa_rsapss PASSED [ 90%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_rsaall_all PASSED [ 90%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_sm4 PASSED [ 90%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_xor PASSED [ 91%] test/test_types.py::TypesTest::test_TPMT_SENSITIVE_to_der PASSED [ 91%] test/test_types.py::TypesTest::test_TPMT_SENSITIVE_to_pem PASSED [ 91%] test/test_types.py::TypesTest::test_TPMT_SENSITIVE_to_ssh PASSED [ 91%] test/test_types.py::TypesTest::test_TPMT_SIGNATURE PASSED [ 91%] test/test_types.py::TypesTest::test_TPMT_SYM_DEF_OBJECT_parse PASSED [ 91%] test/test_types.py::TypesTest::test_TPMT_SYM_DEF_parse PASSED [ 92%] test/test_types.py::TypesTest::test_TPM_FRIENDLY_INTLIST_math PASSED [ 92%] test/test_types.py::TypesTest::test_TPM_FRIENDLY_INTLIST_str PASSED [ 92%] test/test_types.py::TypesTest::test_TPM_FRIENDLY_INT_bad_to_string PASSED [ 92%] test/test_types.py::TypesTest::test_TPM_FRIENDLY_INT_contains PASSED [ 92%] test/test_types.py::TypesTest::test_TPM_FRIENDLY_INT_iterator PASSED [ 92%] test/test_types.py::TypesTest::test_TPM_FRIENDLY_INT_str PASSED [ 92%] test/test_types.py::TypesTest::test_TPM_FRIENDLY_INT_type PASSED [ 93%] test/test_types.py::TypesTest::test_TPM_OBJECT_init PASSED [ 93%] test/test_types.py::TypesTest::test_TPM_OBJECT_init_cdata PASSED [ 93%] test/test_types.py::TypesTest::test_TSS2_OBJECT PASSED [ 93%] test/test_types.py::TypesTest::test_TSS2_POLICY_PCR_SELECTION PASSED [ 93%] test/test_types.py::TypesTest::test_TSS2_POLICY_PCR_SELECTIONS PASSED [ 93%] test/test_types.py::TypesTest::test_TSS2_RC_decode PASSED [ 94%] test/test_types.py::TypesTest::test_bad_assigment PASSED [ 94%] test/test_types.py::TypesTest::test_constants_marshal PASSED [ 94%] test/test_types.py::TypesTest::test_constants_unmarshal PASSED [ 94%] test/test_types.py::TypesTest::test_copy_constructor PASSED [ 94%] test/test_types.py::TypesTest::test_list_type_map PASSED [ 94%] test/test_types.py::TypesTest::test_marshal PASSED [ 95%] test/test_types.py::TypesTest::test_scalar_data PASSED [ 95%] test/test_types.py::TypesTest::test_struct_type_map PASSED [ 95%] test/test_types.py::TypesTest::test_unmarshal PASSED [ 95%] test/test_types.py::TypesTest::test_unsupported_unmarshal PASSED [ 95%] test/test_utils.py::TestUtils::test_MakeCredential_ecc FAILED [ 95%] test/test_utils.py::TestUtils::test_MakeCredential_rsa FAILED [ 96%] test/test_utils.py::TestUtils::test_Wrap_ecc FAILED [ 96%] test/test_utils.py::TestUtils::test_Wrap_rsa FAILED [ 96%] test/test_utils.py::TestUtils::test_create_ek_bad FAILED [ 96%] test/test_utils.py::TestUtils::test_create_ek_ecc FAILED [ 96%] test/test_utils.py::TestUtils::test_create_ek_high_ecc256 FAILED [ 96%] test/test_utils.py::TestUtils::test_create_ek_high_ecc384 FAILED [ 97%] test/test_utils.py::TestUtils::test_create_ek_high_rsa2048 FAILED [ 97%] test/test_utils.py::TestUtils::test_create_ek_rsa FAILED [ 97%] test/test_utils.py::TestUtils::test_create_ek_template FAILED [ 97%] test/test_utils.py::TestUtils::test_credential_to_tools FAILED [ 97%] test/test_utils.py::TestUtils::test_credential_to_tools_bytes FAILED [ 97%] test/test_utils.py::TestUtils::test_generate_seed_ecc FAILED [ 98%] test/test_utils.py::TestUtils::test_generate_seed_rsa FAILED [ 98%] test/test_utils.py::TestUtils::test_make_credential_ecc_camellia FAILED [ 98%] test/test_utils.py::TestUtils::test_make_credential_ecc_sm4 FAILED [ 98%] test/test_utils.py::TestUtils::test_tools_to_credential FAILED [ 98%] test/test_utils.py::TestUtils::test_tools_to_credential_invalid_magic FAILED [ 98%] test/test_utils.py::TestUtils::test_tools_to_credential_invalid_version FAILED [ 99%] test/test_utils.py::TestUtils::test_tpm_export_rsa_child_rsa_parent_with_inner_key FAILED [ 99%] test/test_utils.py::TestUtils::test_unmarshal_tools_pcr_values FAILED [ 99%] test/test_utils.py::TestUtils::test_unwrap_ec_parent_rsa_child FAILED [ 99%] test/test_utils.py::TestUtils::test_unwrap_ec_parent_rsa_child_outerwrap FAILED [ 99%] test/test_utils.py::TestUtils::test_unwrap_rsa_parent_rsa_child FAILED [ 99%] test/test_utils.py::TestUtils::test_unwrap_rsa_parent_rsa_child_outerwrap FAILED [100%] ==================================== ERRORS ==================================== _______________ ERROR at setup of TestFapiECC.test_provision_ok ________________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ---------------------------- Captured stderr setup ----------------------------- WARNING:fapi:src/tss2-fapi/ifapi_io.c:339:ifapi_io_check_create_dir() Directory /tmp/tmp47eb4hhk/policy does not exist, creating swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ERROR:fapi:src/tss2-fapi/api/Fapi_Initialize.c:233:Fapi_Initialize_Finish() Initializing TCTI. ErrorCode (0x000a000a) ______________ ERROR at setup of TestFapiECC.test_provision_fail _______________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ________________ ERROR at setup of TestFapiECC.test_get_random _________________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ______________ ERROR at setup of TestFapiECC.test_get_random_zero ______________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _____________ ERROR at setup of TestFapiECC.test_get_random_large ______________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ____________ ERROR at setup of TestFapiECC.test_get_random_negative ____________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _________________ ERROR at setup of TestFapiECC.test_get_info __________________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ___________________ ERROR at setup of TestFapiECC.test_list ____________________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _____________ ERROR at setup of TestFapiECC.test_list_search_path ______________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ___________ ERROR at setup of TestFapiECC.test_list_bad_search_path ____________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ________________ ERROR at setup of TestFapiECC.test_create_key _________________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ___________ ERROR at setup of TestFapiECC.test_create_key_double_ok ____________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception __________ ERROR at setup of TestFapiECC.test_create_key_double_fail ___________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _________ ERROR at setup of TestFapiECC.test_get_esys_blob_contextload _________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _____________ ERROR at setup of TestFapiECC.test_get_esys_blob_bad _____________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _________ ERROR at setup of TestFapiECC.test_get_esys_blob_deserialize _________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception __________________ ERROR at setup of TestFapiECC.test_verify ___________________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ________________ ERROR at setup of TestFapiECC.test_verify_fail ________________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ___________ ERROR at setup of TestFapiECC.test_import_key_double_ok ____________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception __________ ERROR at setup of TestFapiECC.test_import_key_double_fail ___________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception __________ ERROR at setup of TestFapiECC.test_import_policy_double_ok __________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _________ ERROR at setup of TestFapiECC.test_import_policy_double_fail _________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ____________ ERROR at setup of TestFapiECC.test_import_exported_key ____________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception __________ ERROR at setup of TestFapiECC.test_export_imported_policy ___________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ________________ ERROR at setup of TestFapiECC.test_create_seal ________________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ___________ ERROR at setup of TestFapiECC.test_create_seal_double_ok ___________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception __________ ERROR at setup of TestFapiECC.test_create_seal_double_fail __________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ____________ ERROR at setup of TestFapiECC.test_create_seal_random _____________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ____ ERROR at setup of TestFapiECC.test_create_seal_both_data_and_size_fail ____ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception __ ERROR at setup of TestFapiECC.test_create_seal_neither_data_nor_size_fail ___ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception __________________ ERROR at setup of TestFapiECC.test_unseal ___________________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _______________ ERROR at setup of TestFapiECC.test_quote_verify ________________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ________________ ERROR at setup of TestFapiECC.test_export_key _________________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ________________ ERROR at setup of TestFapiECC.test_delete_key _________________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ____________ ERROR at setup of TestFapiECC.test_set_get_description ____________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ___________ ERROR at setup of TestFapiECC.test_get_empty_description ___________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _____________ ERROR at setup of TestFapiECC.test_set_get_app_data ______________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ______________ ERROR at setup of TestFapiECC.test_get_no_app_data ______________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ____________ ERROR at setup of TestFapiECC.test_set_get_certificate ____________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ___________ ERROR at setup of TestFapiECC.test_get_empty_certificate ___________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ____ ERROR at setup of TestFapiECC.test_get_empty_platform_certificates_ok _____ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ___ ERROR at setup of TestFapiECC.test_get_empty_platform_certificates_fail ____ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _________________ ERROR at setup of TestFapiECC.test_pcr_read __________________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ______________ ERROR at setup of TestFapiECC.test_pcr_extend_read ______________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _______________ ERROR at setup of TestFapiECC.test_nv_write_read _______________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _______________ ERROR at setup of TestFapiECC.test_nv_increment ________________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception __________________ ERROR at setup of TestFapiECC.test_nv_pcr ___________________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ________________ ERROR at setup of TestFapiECC.test_nv_set_bits ________________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _____________ ERROR at setup of TestFapiECC.test_set_auth_callback _____________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ____________ ERROR at setup of TestFapiECC.test_unset_auth_callback ____________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ____________ ERROR at setup of TestFapiECC.test_write_authorize_nv _____________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _____________ ERROR at setup of TestFapiECC.test_authorize_policy ______________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _______________ ERROR at setup of TestFapiECC.test_policy_signed _______________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ______________ ERROR at setup of TestFapiECC.test_policy_branched ______________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _______________ ERROR at setup of TestFapiECC.test_policy_action _______________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ____________ ERROR at setup of TestFapiECC.test_nv_create_double_ok ____________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ___________ ERROR at setup of TestFapiECC.test_nv_create_double_fail ___________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ___________________ ERROR at setup of TestFapiECC.test_sign ____________________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _______________ ERROR at setup of TestFapiECC.test_get_tpm_blobs _______________ fapi_config_ecc = @pytest.fixture(scope="class") def fapi_ecc(fapi_config_ecc): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _______________ ERROR at setup of TestFapiRSA.test_provision_ok ________________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ---------------------------- Captured stderr setup ----------------------------- WARNING:fapi:src/tss2-fapi/ifapi_io.c:339:ifapi_io_check_create_dir() Directory /tmp/tmpstzhu7vl/policy does not exist, creating WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 2750: errno 111: Connection refused ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ERROR:fapi:src/tss2-fapi/api/Fapi_Initialize.c:233:Fapi_Initialize_Finish() Initializing TCTI. ErrorCode (0x000a000a) ______________ ERROR at setup of TestFapiRSA.test_provision_fail _______________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ________________ ERROR at setup of TestFapiRSA.test_get_random _________________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ______________ ERROR at setup of TestFapiRSA.test_get_random_zero ______________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _____________ ERROR at setup of TestFapiRSA.test_get_random_large ______________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ____________ ERROR at setup of TestFapiRSA.test_get_random_negative ____________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _________________ ERROR at setup of TestFapiRSA.test_get_info __________________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ___________________ ERROR at setup of TestFapiRSA.test_list ____________________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _____________ ERROR at setup of TestFapiRSA.test_list_search_path ______________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ___________ ERROR at setup of TestFapiRSA.test_list_bad_search_path ____________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ________________ ERROR at setup of TestFapiRSA.test_create_key _________________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ___________ ERROR at setup of TestFapiRSA.test_create_key_double_ok ____________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception __________ ERROR at setup of TestFapiRSA.test_create_key_double_fail ___________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _________ ERROR at setup of TestFapiRSA.test_get_esys_blob_contextload _________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _____________ ERROR at setup of TestFapiRSA.test_get_esys_blob_bad _____________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _________ ERROR at setup of TestFapiRSA.test_get_esys_blob_deserialize _________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception __________________ ERROR at setup of TestFapiRSA.test_verify ___________________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ________________ ERROR at setup of TestFapiRSA.test_verify_fail ________________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ___________ ERROR at setup of TestFapiRSA.test_import_key_double_ok ____________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception __________ ERROR at setup of TestFapiRSA.test_import_key_double_fail ___________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception __________ ERROR at setup of TestFapiRSA.test_import_policy_double_ok __________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _________ ERROR at setup of TestFapiRSA.test_import_policy_double_fail _________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ____________ ERROR at setup of TestFapiRSA.test_import_exported_key ____________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception __________ ERROR at setup of TestFapiRSA.test_export_imported_policy ___________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ________________ ERROR at setup of TestFapiRSA.test_create_seal ________________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ___________ ERROR at setup of TestFapiRSA.test_create_seal_double_ok ___________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception __________ ERROR at setup of TestFapiRSA.test_create_seal_double_fail __________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ____________ ERROR at setup of TestFapiRSA.test_create_seal_random _____________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ____ ERROR at setup of TestFapiRSA.test_create_seal_both_data_and_size_fail ____ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception __ ERROR at setup of TestFapiRSA.test_create_seal_neither_data_nor_size_fail ___ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception __________________ ERROR at setup of TestFapiRSA.test_unseal ___________________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _______________ ERROR at setup of TestFapiRSA.test_quote_verify ________________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ________________ ERROR at setup of TestFapiRSA.test_export_key _________________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ________________ ERROR at setup of TestFapiRSA.test_delete_key _________________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ____________ ERROR at setup of TestFapiRSA.test_set_get_description ____________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ___________ ERROR at setup of TestFapiRSA.test_get_empty_description ___________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _____________ ERROR at setup of TestFapiRSA.test_set_get_app_data ______________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ______________ ERROR at setup of TestFapiRSA.test_get_no_app_data ______________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ____________ ERROR at setup of TestFapiRSA.test_set_get_certificate ____________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ___________ ERROR at setup of TestFapiRSA.test_get_empty_certificate ___________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ____ ERROR at setup of TestFapiRSA.test_get_empty_platform_certificates_ok _____ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ___ ERROR at setup of TestFapiRSA.test_get_empty_platform_certificates_fail ____ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _________________ ERROR at setup of TestFapiRSA.test_pcr_read __________________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ______________ ERROR at setup of TestFapiRSA.test_pcr_extend_read ______________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _______________ ERROR at setup of TestFapiRSA.test_nv_write_read _______________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _______________ ERROR at setup of TestFapiRSA.test_nv_increment ________________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception __________________ ERROR at setup of TestFapiRSA.test_nv_pcr ___________________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ________________ ERROR at setup of TestFapiRSA.test_nv_set_bits ________________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _____________ ERROR at setup of TestFapiRSA.test_set_auth_callback _____________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ____________ ERROR at setup of TestFapiRSA.test_unset_auth_callback ____________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ____________ ERROR at setup of TestFapiRSA.test_write_authorize_nv _____________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _____________ ERROR at setup of TestFapiRSA.test_authorize_policy ______________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _______________ ERROR at setup of TestFapiRSA.test_policy_signed _______________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ______________ ERROR at setup of TestFapiRSA.test_policy_branched ______________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _______________ ERROR at setup of TestFapiRSA.test_policy_action _______________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ____________ ERROR at setup of TestFapiRSA.test_nv_create_double_ok ____________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ___________ ERROR at setup of TestFapiRSA.test_nv_create_double_fail ___________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ___________________ ERROR at setup of TestFapiRSA.test_sign ____________________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception _______________ ERROR at setup of TestFapiRSA.test_get_tpm_blobs _______________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ______________ ERROR at setup of TestFapiRSA.test_encrypt_decrypt ______________ fapi_config_rsa = @pytest.fixture(scope="class") def fapi_rsa(fapi_config_rsa): > with FAPI() as fapi: ^^^^^^ test/test_fapi.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py:245: in __init__ _chkrc(ret) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception =================================== FAILURES =================================== ________________________ CryptoTest.test_ecc_bad_curves ________________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ________________________ CryptoTest.test_encrypted_key _________________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________ CryptoTest.test_from_pem_with_scheme _____________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________ CryptoTest.test_from_pem_with_symmetric ____________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ CryptoTest.test_get_alg ____________________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________________ CryptoTest.test_kdfa _____________________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________________ CryptoTest.test_kdfe _____________________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________ CryptoTest.test_keyedhash_from_secret _____________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________ CryptoTest.test_keyedhash_from_secret_bad ___________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________ CryptoTest.test_keyedhash_from_secret_unseal _________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________________ CryptoTest.test_loadexternal_ecc _______________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________ CryptoTest.test_loadexternal_public_rsa ____________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________________ CryptoTest.test_loadexternal_rsa _______________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________________ CryptoTest.test_nv_getname __________________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________ CryptoTest.test_private_from_pem_bad_der ___________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________ CryptoTest.test_private_from_pem_ecc _____________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________ CryptoTest.test_private_from_pem_ecc_der ___________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________ CryptoTest.test_private_from_pem_rsa _____________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________ CryptoTest.test_private_from_pem_rsa_der ___________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________ CryptoTest.test_public_from_pem_bad_der ____________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________ CryptoTest.test_public_from_pem_ecc ______________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________ CryptoTest.test_public_from_pem_ecc_der ____________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________ CryptoTest.test_public_from_pem_ecc_der_cert _________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________ CryptoTest.test_public_from_pem_ecc_pem_cert _________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________ CryptoTest.test_public_from_pem_rsa ______________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________ CryptoTest.test_public_from_pem_rsa_der ____________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________ CryptoTest.test_public_from_pem_rsa_der_cert _________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________ CryptoTest.test_public_from_pem_rsa_pem_cert _________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________ CryptoTest.test_public_from_private ______________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________ CryptoTest.test_public_from_private_der ____________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ________________________ CryptoTest.test_public_getname ________________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________ CryptoTest.test_public_to_pem_bad_key _____________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ CryptoTest.test_public_to_pem_ecc _______________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ CryptoTest.test_public_to_pem_rsa _______________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ CryptoTest.test_rsa_exponent _________________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ CryptoTest.test_ssh_key_ecc __________________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________ CryptoTest.test_symcipher_from_secret _____________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________ CryptoTest.test_symcipher_from_secret_bad ___________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________________ CryptoTest.test_symdef_to_crypt ________________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________________ CryptoTest.test_topem_ecc ___________________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________________ CryptoTest.test_topem_encodings ________________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________________ CryptoTest.test_topem_rsa ___________________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________________ CryptoTest.test_unsupported_key ________________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________ CryptoTest.test_verify_signature_bad _____________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________ CryptoTest.test_verify_signature_ecc _____________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________ CryptoTest.test_verify_signature_hmac _____________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________ CryptoTest.test_verify_singature_rsapss ____________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________ CryptoTest.test_verify_singature_rsassa ____________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestCryptography.test_cert_builder_ecc ____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestCryptography.test_cert_builder_rsa ____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestCryptography.test_csr_builder_ecc _____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestCryptography.test_csr_builder_rsa _____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestCryptography.test_ecc_copy ________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________ TestCryptography.test_ecc_different_curves __________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestCryptography.test_ecc_exchange ______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestCryptography.test_ecc_key _________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestCryptography.test_ecc_key_bad_type ____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestCryptography.test_ecc_key_restricted ___________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestCryptography.test_ecc_no_decrypt _____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestCryptography.test_ecc_no_sign _______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestCryptography.test_ecc_prehashed ______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestCryptography.test_ecc_sign ________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________ TestCryptography.test_ecc_sign_with_scheme __________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________ TestCryptography.test_ecc_unsupported_curve __________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________ TestCryptography.test_ecc_unsupported_scheme _________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestCryptography.test_rsa_copy ________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestCryptography.test_rsa_decrypt_oaep ____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________ TestCryptography.test_rsa_decrypt_pkcs1v15 __________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestCryptography.test_rsa_key _________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestCryptography.test_rsa_key_bad_type ____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestCryptography.test_rsa_key_restricted ___________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestCryptography.test_rsa_no_decrypt _____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestCryptography.test_rsa_no_sign _______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestCryptography.test_rsa_prehashed ______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestCryptography.test_rsa_sign_pkcs1v15 ____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestCryptography.test_rsa_sign_pss ______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________ TestCryptography.test_rsa_unsupported_decrypt_scheme _____________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________ TestCryptography.test_rsa_unsupported_sig_scheme _______________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________ TestCryptography.test_scheme_digest_mismatch _________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________ TestCryptography.test_scheme_digest_mismatch_oaep _______________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestCryptography.test_scheme_mismatch _____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ ToolsTest.test_decode_int_nt _________________________ self = def test_decode_int_nt(self): if not self.has_tools: self.skipTest("tools not in path") elif self.tools_version < TSS2Version("5.3"): self.skipTest("tpm2-tools version 5.3 or later required") > self.run_tool("nvdefine", "0x01000000", "-a", "authwrite|authread|nt=bits") test/test_encoding.py:1432: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = no_tcti = False tool_args = ('nvdefine', '0x01000000', '-a', 'authwrite|authread|nt=bits') args = ('tpm2', 'nvdefine', '0x01000000', '-a', 'authwrite|authread|nt=bits', '--tcti', ...) tcti = 'swtpm:port=53227' def run_tool(self, *tool_args, no_tcti=False): args = ("tpm2",) + tuple(tool_args) if not no_tcti: tcti = self.tpm.tcti_name_conf args = args + ("--tcti", tcti) su_args = ("tpm2", "startup", "--clear", "--tcti", tcti) res = subprocess.run(su_args, timeout=20, capture_output=True, text=True) if res.returncode != 0: > raise RuntimeError( f"tpm2 startup failed with {res.returncode}: {res.stderr}" ) E RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 53227: errno 111: Connection refused E ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket E ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm E ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI E ERROR: Could not load tcti, got: "swtpm:port=53227" test/test_encoding.py:724: RuntimeError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ ToolsTest.test_decode_nt_extend ________________________ self = def test_decode_nt_extend(self): if not self.has_tools: self.skipTest("tools not in path") elif self.tools_version < TSS2Version("5.3"): self.skipTest("tpm2-tools version 5.3 or later required") > self.run_tool( "nvdefine", "0x01000000", "-g", "sha256", "-a", "authwrite|authread|nt=extend", ) test/test_encoding.py:1450: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = no_tcti = False tool_args = ('nvdefine', '0x01000000', '-g', 'sha256', '-a', 'authwrite|authread|nt=extend') args = ('tpm2', 'nvdefine', '0x01000000', '-g', 'sha256', '-a', ...) tcti = 'swtpm:port=45608' def run_tool(self, *tool_args, no_tcti=False): args = ("tpm2",) + tuple(tool_args) if not no_tcti: tcti = self.tpm.tcti_name_conf args = args + ("--tcti", tcti) su_args = ("tpm2", "startup", "--clear", "--tcti", tcti) res = subprocess.run(su_args, timeout=20, capture_output=True, text=True) if res.returncode != 0: > raise RuntimeError( f"tpm2 startup failed with {res.returncode}: {res.stderr}" ) E RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 45608: errno 111: Connection refused E ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket E ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm E ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI E ERROR: Could not load tcti, got: "swtpm:port=45608" test/test_encoding.py:724: RuntimeError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ ToolsTest.test_decode_nt_pin _________________________ self = def test_decode_nt_pin(self): if not self.has_tools: self.skipTest("tools not in path") elif self.tools_version < TSS2Version("5.3"): self.skipTest("tpm2-tools version 5.3 or later required") > self.run_tool( "nvdefine", "0x01000000", "-C", "o", "-a", "ownerwrite|ownerread|nt=pinfail|no_da", ) test/test_encoding.py:1476: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = no_tcti = False tool_args = ('nvdefine', '0x01000000', '-C', 'o', '-a', 'ownerwrite|ownerread|nt=pinfail|no_da') args = ('tpm2', 'nvdefine', '0x01000000', '-C', 'o', '-a', ...) tcti = 'swtpm:port=38622' def run_tool(self, *tool_args, no_tcti=False): args = ("tpm2",) + tuple(tool_args) if not no_tcti: tcti = self.tpm.tcti_name_conf args = args + ("--tcti", tcti) su_args = ("tpm2", "startup", "--clear", "--tcti", tcti) res = subprocess.run(su_args, timeout=20, capture_output=True, text=True) if res.returncode != 0: > raise RuntimeError( f"tpm2 startup failed with {res.returncode}: {res.stderr}" ) E RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 38622: errno 111: Connection refused E ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket E ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm E ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI E ERROR: Could not load tcti, got: "swtpm:port=38622" test/test_encoding.py:724: RuntimeError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ____________________ ToolsTest.test_tools_decode_pcr_tuples ____________________ self = def test_tools_decode_pcr_tuples(self): self.maxDiff = None if not self.has_tools: self.skipTest("tools not in path") > yml = self.run_tool("pcrread", "sha1:0,1,2,3,4,5,6,7,8+sha256:0") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/test_encoding.py:1286: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = no_tcti = False, tool_args = ('pcrread', 'sha1:0,1,2,3,4,5,6,7,8+sha256:0') args = ('tpm2', 'pcrread', 'sha1:0,1,2,3,4,5,6,7,8+sha256:0', '--tcti', 'swtpm:port=54316') tcti = 'swtpm:port=54316' def run_tool(self, *tool_args, no_tcti=False): args = ("tpm2",) + tuple(tool_args) if not no_tcti: tcti = self.tpm.tcti_name_conf args = args + ("--tcti", tcti) su_args = ("tpm2", "startup", "--clear", "--tcti", tcti) res = subprocess.run(su_args, timeout=20, capture_output=True, text=True) if res.returncode != 0: > raise RuntimeError( f"tpm2 startup failed with {res.returncode}: {res.stderr}" ) E RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 54316: errno 111: Connection refused E ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket E ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm E ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI E ERROR: Could not load tcti, got: "swtpm:port=54316" test/test_encoding.py:724: RuntimeError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ________________ ToolsTest.test_tools_decode_tmpl_pcr_selection ________________ self = def test_tools_decode_tmpl_pcr_selection(self): if not self.has_tools: self.skipTest("tools not in path") > yml = self.run_tool("getcap", "pcrs") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/test_encoding.py:1130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = no_tcti = False, tool_args = ('getcap', 'pcrs') args = ('tpm2', 'getcap', 'pcrs', '--tcti', 'swtpm:port=15149') tcti = 'swtpm:port=15149' def run_tool(self, *tool_args, no_tcti=False): args = ("tpm2",) + tuple(tool_args) if not no_tcti: tcti = self.tpm.tcti_name_conf args = args + ("--tcti", tcti) su_args = ("tpm2", "startup", "--clear", "--tcti", tcti) res = subprocess.run(su_args, timeout=20, capture_output=True, text=True) if res.returncode != 0: > raise RuntimeError( f"tpm2 startup failed with {res.returncode}: {res.stderr}" ) E RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 15150: errno 111: Connection refused E ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:151:tcti_control_command() Failed to connect to control socket. E ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a E WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a E ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm E ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI E ERROR: Could not load tcti, got: "swtpm:port=15149" test/test_encoding.py:724: RuntimeError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ____________________ ToolsTest.test_tools_decode_tpm2b_name ____________________ self = def test_tools_decode_tpm2b_name(self): if not self.has_tools: self.skipTest("tools not in path") key = ec.generate_private_key(ec.SECP256R1()).public_key() kb = key.public_bytes( serialization.Encoding.PEM, serialization.PublicFormat.SubjectPublicKeyInfo ) key_path = os.path.join(self.tpm.working_dir.name, "external.key") ctx_path = os.path.join(self.tpm.working_dir.name, "external.ctx") with open(key_path, "wb") as f: f.write(kb) > yml = self.run_tool("loadexternal", "-G", "ecc", "-u", key_path, "-c", ctx_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/test_encoding.py:1417: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = no_tcti = False tool_args = ('loadexternal', '-G', 'ecc', '-u', '/tmp/tmpy1c9afos/external.key', '-c', ...) args = ('tpm2', 'loadexternal', '-G', 'ecc', '-u', '/tmp/tmpy1c9afos/external.key', ...) tcti = 'swtpm:port=29211' def run_tool(self, *tool_args, no_tcti=False): args = ("tpm2",) + tuple(tool_args) if not no_tcti: tcti = self.tpm.tcti_name_conf args = args + ("--tcti", tcti) su_args = ("tpm2", "startup", "--clear", "--tcti", tcti) res = subprocess.run(su_args, timeout=20, capture_output=True, text=True) if res.returncode != 0: > raise RuntimeError( f"tpm2 startup failed with {res.returncode}: {res.stderr}" ) E RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 29211: errno 111: Connection refused E ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket E ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm E ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI E ERROR: Could not load tcti, got: "swtpm:port=29211" test/test_encoding.py:724: RuntimeError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ ToolsTest.test_tools_decode_tpma_session ___________________ self = def test_tools_decode_tpma_session(self): if not self.has_tools: self.skipTest("tools not in path") session_path = os.path.join( self.tpm.working_dir.name, "test_decode_tpma_session.ctx" ) > self.run_tool("startauthsession", "-S", session_path) test/test_encoding.py:1321: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = no_tcti = False tool_args = ('startauthsession', '-S', '/tmp/tmpuycg88vy/test_decode_tpma_session.ctx') args = ('tpm2', 'startauthsession', '-S', '/tmp/tmpuycg88vy/test_decode_tpma_session.ctx', '--tcti', 'swtpm:port=18684') tcti = 'swtpm:port=18684' def run_tool(self, *tool_args, no_tcti=False): args = ("tpm2",) + tuple(tool_args) if not no_tcti: tcti = self.tpm.tcti_name_conf args = args + ("--tcti", tcti) su_args = ("tpm2", "startup", "--clear", "--tcti", tcti) res = subprocess.run(su_args, timeout=20, capture_output=True, text=True) if res.returncode != 0: > raise RuntimeError( f"tpm2 startup failed with {res.returncode}: {res.stderr}" ) E RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 18684: errno 111: Connection refused E ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket E ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm E ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI E ERROR: Could not load tcti, got: "swtpm:port=18684" test/test_encoding.py:724: RuntimeError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled _____________________ ToolsTest.test_tools_decode_tpml_alg _____________________ self = def test_tools_decode_tpml_alg(self): if not self.has_tools: self.skipTest("tools not in path") elif not self.tpm.tcti_name_conf.startswith("swtpm"): self.skipTest("swtpm required") > self.run_tool("incrementalselftest", "rsa", "ecc") test/test_encoding.py:1392: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = no_tcti = False, tool_args = ('incrementalselftest', 'rsa', 'ecc') args = ('tpm2', 'incrementalselftest', 'rsa', 'ecc', '--tcti', 'swtpm:port=15162') tcti = 'swtpm:port=15162' def run_tool(self, *tool_args, no_tcti=False): args = ("tpm2",) + tuple(tool_args) if not no_tcti: tcti = self.tpm.tcti_name_conf args = args + ("--tcti", tcti) su_args = ("tpm2", "startup", "--clear", "--tcti", tcti) res = subprocess.run(su_args, timeout=20, capture_output=True, text=True) if res.returncode != 0: > raise RuntimeError( f"tpm2 startup failed with {res.returncode}: {res.stderr}" ) E RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 15162: errno 111: Connection refused E ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket E ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm E ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI E ERROR: Could not load tcti, got: "swtpm:port=15162" test/test_encoding.py:724: RuntimeError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ________________ ToolsTest.test_tools_decode_tpml_alg_property _________________ self = def test_tools_decode_tpml_alg_property(self): if not self.has_tools: self.skipTest("tools not in path") elif not self.tpm.tcti_name_conf.startswith("swtpm"): self.skipTest("swtpm required") > yml = self.run_tool("getcap", "algorithms") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/test_encoding.py:1118: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = no_tcti = False, tool_args = ('getcap', 'algorithms') args = ('tpm2', 'getcap', 'algorithms', '--tcti', 'swtpm:port=13014') tcti = 'swtpm:port=13014' def run_tool(self, *tool_args, no_tcti=False): args = ("tpm2",) + tuple(tool_args) if not no_tcti: tcti = self.tpm.tcti_name_conf args = args + ("--tcti", tcti) su_args = ("tpm2", "startup", "--clear", "--tcti", tcti) res = subprocess.run(su_args, timeout=20, capture_output=True, text=True) if res.returncode != 0: > raise RuntimeError( f"tpm2 startup failed with {res.returncode}: {res.stderr}" ) E RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 13014: errno 111: Connection refused E ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket E ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm E ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI E ERROR: Could not load tcti, got: "swtpm:port=13014" test/test_encoding.py:724: RuntimeError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled _____________________ ToolsTest.test_tools_decode_tpml_cca _____________________ self = def test_tools_decode_tpml_cca(self): if not self.has_tools: self.skipTest("tools not in path") > yml = self.run_tool("getcap", "commands") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/test_encoding.py:1142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = no_tcti = False, tool_args = ('getcap', 'commands') args = ('tpm2', 'getcap', 'commands', '--tcti', 'swtpm:port=6289') tcti = 'swtpm:port=6289' def run_tool(self, *tool_args, no_tcti=False): args = ("tpm2",) + tuple(tool_args) if not no_tcti: tcti = self.tpm.tcti_name_conf args = args + ("--tcti", tcti) su_args = ("tpm2", "startup", "--clear", "--tcti", tcti) res = subprocess.run(su_args, timeout=20, capture_output=True, text=True) if res.returncode != 0: > raise RuntimeError( f"tpm2 startup failed with {res.returncode}: {res.stderr}" ) E RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 6289: errno 111: Connection refused E ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket E ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm E ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI E ERROR: Could not load tcti, got: "swtpm:port=6289" test/test_encoding.py:724: RuntimeError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ________________ ToolsTest.test_tools_decode_tpml_digest_values ________________ self = def test_tools_decode_tpml_digest_values(self): if not self.has_tools: self.skipTest("tools not in path") data_path = os.path.join(self.tpm.working_dir.name, "eventdata") with open(data_path, "w") as f: f.write("falafel") > yml = self.run_tool("pcrevent", "8", data_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/test_encoding.py:1352: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = no_tcti = False, tool_args = ('pcrevent', '8', '/tmp/tmp4egviby5/eventdata') args = ('tpm2', 'pcrevent', '8', '/tmp/tmp4egviby5/eventdata', '--tcti', 'swtpm:port=23378') tcti = 'swtpm:port=23378' def run_tool(self, *tool_args, no_tcti=False): args = ("tpm2",) + tuple(tool_args) if not no_tcti: tcti = self.tpm.tcti_name_conf args = args + ("--tcti", tcti) su_args = ("tpm2", "startup", "--clear", "--tcti", tcti) res = subprocess.run(su_args, timeout=20, capture_output=True, text=True) if res.returncode != 0: > raise RuntimeError( f"tpm2 startup failed with {res.returncode}: {res.stderr}" ) E RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 23378: errno 111: Connection refused E ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket E ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm E ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI E ERROR: Could not load tcti, got: "swtpm:port=23378" test/test_encoding.py:724: RuntimeError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled __________________ ToolsTest.test_tools_decode_tpml_ecc_curve __________________ self = def test_tools_decode_tpml_ecc_curve(self): if not self.has_tools: self.skipTest("tools not in path") elif not self.tpm.tcti_name_conf.startswith("swtpm"): self.skipTest("swtpm required") > yml = self.run_tool("getcap", "ecc-curves") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/test_encoding.py:1097: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = no_tcti = False, tool_args = ('getcap', 'ecc-curves') args = ('tpm2', 'getcap', 'ecc-curves', '--tcti', 'swtpm:port=11658') tcti = 'swtpm:port=11658' def run_tool(self, *tool_args, no_tcti=False): args = ("tpm2",) + tuple(tool_args) if not no_tcti: tcti = self.tpm.tcti_name_conf args = args + ("--tcti", tcti) su_args = ("tpm2", "startup", "--clear", "--tcti", tcti) res = subprocess.run(su_args, timeout=20, capture_output=True, text=True) if res.returncode != 0: > raise RuntimeError( f"tpm2 startup failed with {res.returncode}: {res.stderr}" ) E RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 11659: errno 111: Connection refused E ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:151:tcti_control_command() Failed to connect to control socket. E ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a E WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a E ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm E ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI E ERROR: Could not load tcti, got: "swtpm:port=11658" test/test_encoding.py:724: RuntimeError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ ToolsTest.test_tools_decode_tpml_handle ____________________ self = def test_tools_decode_tpml_handle(self): if not self.has_tools: self.skipTest("tools not in path") > yml = self.run_tool("getcap", "handles-pcr") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/test_encoding.py:1088: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = no_tcti = False, tool_args = ('getcap', 'handles-pcr') args = ('tpm2', 'getcap', 'handles-pcr', '--tcti', 'swtpm:port=47849') tcti = 'swtpm:port=47849' def run_tool(self, *tool_args, no_tcti=False): args = ("tpm2",) + tuple(tool_args) if not no_tcti: tcti = self.tpm.tcti_name_conf args = args + ("--tcti", tcti) su_args = ("tpm2", "startup", "--clear", "--tcti", tcti) res = subprocess.run(su_args, timeout=20, capture_output=True, text=True) if res.returncode != 0: > raise RuntimeError( f"tpm2 startup failed with {res.returncode}: {res.stderr}" ) E RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 47849: errno 111: Connection refused E ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket E ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm E ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI E ERROR: Could not load tcti, got: "swtpm:port=47849" test/test_encoding.py:724: RuntimeError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled _____________ ToolsTest.test_tools_decode_tpml_tagged_tpm_property _____________ self = def test_tools_decode_tpml_tagged_tpm_property(self): if not self.has_tools: self.skipTest("tools not in path") elif not self.tpm.tcti_name_conf.startswith("swtpm"): self.skipTest("swtpm required") > fixedyml = self.run_tool("getcap", "properties-fixed") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/test_encoding.py:1153: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = no_tcti = False, tool_args = ('getcap', 'properties-fixed') args = ('tpm2', 'getcap', 'properties-fixed', '--tcti', 'swtpm:port=19549') tcti = 'swtpm:port=19549' def run_tool(self, *tool_args, no_tcti=False): args = ("tpm2",) + tuple(tool_args) if not no_tcti: tcti = self.tpm.tcti_name_conf args = args + ("--tcti", tcti) su_args = ("tpm2", "startup", "--clear", "--tcti", tcti) res = subprocess.run(su_args, timeout=20, capture_output=True, text=True) if res.returncode != 0: > raise RuntimeError( f"tpm2 startup failed with {res.returncode}: {res.stderr}" ) E RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 19549: errno 111: Connection refused E ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket E ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm E ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI E ERROR: Could not load tcti, got: "swtpm:port=19549" test/test_encoding.py:724: RuntimeError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled __________________ ToolsTest.test_tools_decode_tpms_nv_public __________________ self = def test_tools_decode_tpms_nv_public(self): if not self.has_tools: self.skipTest("tools not in path") > self.run_tool("nvdefine", "-s", "8", "-g", "sha256", "0x1800004") test/test_encoding.py:1181: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = no_tcti = False tool_args = ('nvdefine', '-s', '8', '-g', 'sha256', '0x1800004') args = ('tpm2', 'nvdefine', '-s', '8', '-g', 'sha256', ...) tcti = 'swtpm:port=58461' def run_tool(self, *tool_args, no_tcti=False): args = ("tpm2",) + tuple(tool_args) if not no_tcti: tcti = self.tpm.tcti_name_conf args = args + ("--tcti", tcti) su_args = ("tpm2", "startup", "--clear", "--tcti", tcti) res = subprocess.run(su_args, timeout=20, capture_output=True, text=True) if res.returncode != 0: > raise RuntimeError( f"tpm2 startup failed with {res.returncode}: {res.stderr}" ) E RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 58462: errno 111: Connection refused E ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:151:tcti_control_command() Failed to connect to control socket. E ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a E WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a E ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm E ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI E ERROR: Could not load tcti, got: "swtpm:port=58461" test/test_encoding.py:724: RuntimeError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ ToolsTest.test_tools_decode_tpmt_public ____________________ self = def test_tools_decode_tpmt_public(self): if not self.has_tools: self.skipTest("tools not in path") > rsayml = self.run_tool( "createprimary", "-G", "rsa2048:rsapss-sha256:null", "-a", "fixedtpm|fixedparent|sensitivedataorigin|userwithauth|sign", ) test/test_encoding.py:1193: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = no_tcti = False tool_args = ('createprimary', '-G', 'rsa2048:rsapss-sha256:null', '-a', 'fixedtpm|fixedparent|sensitivedataorigin|userwithauth|sign') args = ('tpm2', 'createprimary', '-G', 'rsa2048:rsapss-sha256:null', '-a', 'fixedtpm|fixedparent|sensitivedataorigin|userwithauth|sign', ...) tcti = 'swtpm:port=14243' def run_tool(self, *tool_args, no_tcti=False): args = ("tpm2",) + tuple(tool_args) if not no_tcti: tcti = self.tpm.tcti_name_conf args = args + ("--tcti", tcti) su_args = ("tpm2", "startup", "--clear", "--tcti", tcti) res = subprocess.run(su_args, timeout=20, capture_output=True, text=True) if res.returncode != 0: > raise RuntimeError( f"tpm2 startup failed with {res.returncode}: {res.stderr}" ) E RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 14243: errno 111: Connection refused E ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket E ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm E ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI E ERROR: Could not load tcti, got: "swtpm:port=14243" test/test_encoding.py:724: RuntimeError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled _____________________ TestEsys.test_TPMS_CONTEXT_to_tools ______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestEsys.test_activate_credential _______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________________ TestEsys.test_certify _____________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_certify_creation ________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_change_eps ___________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_change_pps ___________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________________ TestEsys.test_clear ______________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_clearcontrol __________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestEsys.test_clock_rate_adjust ________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_clock_set ____________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________________ TestEsys.test_commit _____________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestEsys.test_context_save_context_load ____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________________ TestEsys.test_create _____________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_create_none ___________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_create_primary _________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestEsys.test_create_primary_none _______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_createloaded __________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestEsys.test_createloaded_none ________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________ TestEsys.test_dictionary_attack_lock_reset __________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________ TestEsys.test_dictionary_attack_parameters __________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_double_close __________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_duplicate ____________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_ecc_parameters _________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_ecdh_key_gen __________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_ecdh_z_gen ___________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_encrypt_decrypt _________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_encrypt_decrypt2 ________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestEsys.test_esys_tr_functions ________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestEsys.test_event_sequence_complete _____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_evict_control __________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestEsys.test_field_upgrade_data _______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestEsys.test_field_upgrade_start _______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_firmware_read __________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_flush_context __________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_fulltest_no ___________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_fulltest_yes __________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_get_capability _________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestEsys.test_get_command_audit_digest ____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_get_random ___________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestEsys.test_get_session_audit_digest ____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________________ TestEsys.test_get_time ____________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________________ TestEsys.test_gettcti _____________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________________ TestEsys.test_hash ______________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_hash_sequence __________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestEsys.test_hierarchy_control ________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestEsys.test_hierarchychangeauth _______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________________ TestEsys.test_hmac ______________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_hmac_sequence __________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_hmac_session __________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________________ TestEsys.test_import _____________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestEsys.test_incremental_resume_test _____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestEsys.test_incremental_self_test ______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________________ TestEsys.test_load ______________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_make_credential _________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_nv_certify ___________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_nv_change_auth _________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_nv_extend ____________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestEsys.test_nv_global_write_lock ______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_nv_increment __________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_nv_read_lock __________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_nv_read_public _________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_nv_set_bits ___________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestEsys.test_nv_undefine_space_special ____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_nv_write_lock __________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestEsys.test_object_change_auth _______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_pcr_allocate __________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_pcr_event ____________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_pcr_extend ___________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________________ TestEsys.test_pcr_read ____________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_pcr_reset ____________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestEsys.test_pcr_set_auth_policy _______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestEsys.test_pcr_set_auth_value _______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________ TestEsys.test_plain_nv_define_write_read_undefine _______________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestEsys.test_policy_auth_value ________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_policy_authorize ________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestEsys.test_policy_authorize_nv _______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestEsys.test_policy_command_code _______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestEsys.test_policy_counter_timer ______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_policy_cp_hash _________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestEsys.test_policy_duplication_select ____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestEsys.test_policy_get_digest ________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_policy_locality _________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_policy_name_hash ________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_policy_nv ____________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestEsys.test_policy_nv_written ________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_policy_or ____________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_policy_password _________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_policy_pcr ___________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestEsys.test_policy_physical_presence ____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_policy_secret __________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_policy_signed __________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_policy_template _________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_policy_ticket __________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_policyrestart __________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_pp_commands ___________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________________ TestEsys.test_quote ______________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_read_clock ___________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_readpublic ___________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_ref_parent ___________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________________ TestEsys.test_rewrap _____________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_rsa_enc_dec ___________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestEsys.test_rsa_enc_dec_with_label _____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestEsys.test_set_algorithm_set ________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________ TestEsys.test_set_command_code_audit_status __________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestEsys.test_set_primary_policy _______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_shutdown_bad __________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_shutdown_clear _________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_shutdown_no_arg _________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_shutdown_state _________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________________ TestEsys.test_sign ______________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestEsys.test_start_auth_session_enckey ____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________ TestEsys.test_start_auth_session_enckey_bindkey ________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________ TestEsys.test_start_auth_session_noncecaller _________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________ TestEsys.test_start_auth_session_noncecaller_bad _______________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_stir_random ___________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_test_parms ___________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestEsys.test_tr_get_tpm_handle ________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_tr_parts_to_blob ________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestEsys.test_tr_sess_set_attributes _____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________________ TestEsys.test_unseal _____________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_vendor_tcg_test _________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_verify_signature ________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_z_gen_2_phase __________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestPolicy.test_calc_name_callback ______________________ self = def setUp(self): > super().setUp() test/test_policy.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestPolicy.test_calc_nvpublic_callback ____________________ self = def setUp(self): > super().setUp() test/test_policy.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestPolicy.test_calc_pcr_callback _______________________ self = def setUp(self): > super().setUp() test/test_policy.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestPolicy.test_calc_public_callback _____________________ self = def setUp(self): > super().setUp() test/test_policy.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestPolicy.test_callbacks ___________________________ self = def setUp(self): > super().setUp() test/test_policy.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestPolicy.test_exec_auth_callback ______________________ self = def setUp(self): > super().setUp() test/test_policy.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestPolicy.test_exec_polaction_callback ____________________ self = def setUp(self): > super().setUp() test/test_policy.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestPolicy.test_exec_polauth_callback _____________________ self = def setUp(self): > super().setUp() test/test_policy.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestPolicy.test_exec_polauthnv_callback ____________________ self = def setUp(self): > super().setUp() test/test_policy.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestPolicy.test_exec_poldup_callback _____________________ self = def setUp(self): > super().setUp() test/test_policy.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestPolicy.test_exec_polsel_callback _____________________ self = def setUp(self): > super().setUp() test/test_policy.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestPolicy.test_exec_sign_callback ______________________ self = def setUp(self): > super().setUp() test/test_policy.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestPolicy.test_password_policy ________________________ self = def setUp(self): > super().setUp() test/test_policy.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestPolicy.test_password_policy_execute ____________________ self = def setUp(self): > super().setUp() test/test_policy.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________________ TestTCTI.test_cancel _____________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________ TestTCTI.test_custom_pytcti_C_wrapper_transmit_receive ____________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestTCTI.test_custom_pytcti_cancel ______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________ TestTCTI.test_custom_pytcti_ctx_manager_finalize _______________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestTCTI.test_custom_pytcti_esapi _______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestTCTI.test_custom_pytcti_finalize _____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________ TestTCTI.test_custom_pytcti_finalize_error __________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________ TestTCTI.test_custom_pytcti_get_poll_handles _________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestTCTI.test_custom_pytcti_magic _______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestTCTI.test_custom_pytcti_make_sticky ____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestTCTI.test_custom_pytcti_set_locality ___________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestTCTI.test_custom_pytcti_version ______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________________ TestTCTI.test_finalize ____________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestTCTI.test_get_poll_handles ________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________________ TestTCTI.test_init ______________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestTCTI.test_is_available __________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestTCTI.test_make_sticky ___________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestTCTI.test_set_locality __________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________________ TestTCTI.test_tctildr _____________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestTCTI.test_transmit_receive ________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TSSKeyTest.test_bad_oid ____________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TSSKeyTest.test_bad_pem_type _________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TSSKeyTest.test_create_load_ecc ________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TSSKeyTest.test_create_load_ecc_password ___________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TSSKeyTest.test_create_load_rsa ________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________ TSSKeyTest.test_create_no_password_load_password _______________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________ TSSKeyTest.test_create_password_load_no_password _______________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________________ TSSKeyTest.test_no_ecc ____________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TSSKeyTest.test_no_ecc_no_rsa _________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TSSKeyTest.test_persistent_parent_ecc _____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TSSKeyTest.test_persistent_parent_rsa _____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TSSKeyTest.test_rsa_frompem __________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TSSKeyTest.test_rsa_topem ___________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestUtils.test_MakeCredential_ecc _______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestUtils.test_MakeCredential_rsa _______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestUtils.test_Wrap_ecc ____________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestUtils.test_Wrap_rsa ____________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestUtils.test_create_ek_bad _________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestUtils.test_create_ek_ecc _________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestUtils.test_create_ek_high_ecc256 _____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestUtils.test_create_ek_high_ecc384 _____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestUtils.test_create_ek_high_rsa2048 _____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestUtils.test_create_ek_rsa _________________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestUtils.test_create_ek_template _______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestUtils.test_credential_to_tools ______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestUtils.test_credential_to_tools_bytes ___________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestUtils.test_generate_seed_ecc _______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestUtils.test_generate_seed_rsa _______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _________________ TestUtils.test_make_credential_ecc_camellia __________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestUtils.test_make_credential_ecc_sm4 ____________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestUtils.test_tools_to_credential ______________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _______________ TestUtils.test_tools_to_credential_invalid_magic _______________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ______________ TestUtils.test_tools_to_credential_invalid_version ______________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ________ TestUtils.test_tpm_export_rsa_child_rsa_parent_with_inner_key _________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________ TestUtils.test_unmarshal_tools_pcr_values ___________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________ TestUtils.test_unwrap_ec_parent_rsa_child ___________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________ TestUtils.test_unwrap_ec_parent_rsa_child_outerwrap ______________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI __________________ TestUtils.test_unwrap_rsa_parent_rsa_child __________________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI _____________ TestUtils.test_unwrap_rsa_parent_rsa_child_outerwrap _____________ test/TSS2_BaseTest.py:207: in setUp raise e test/TSS2_BaseTest.py:202: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:123: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:195:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI =============================== warnings summary =============================== test/test_encoding.py: 22 warnings /build/python-tpm2-pytss/src/tpm2-pytss/build/lib.linux-riscv64-cpython-314/tpm2_pytss/encoding.py:830: PendingDeprecationWarning: The tools_encdec class will be deprecated in the future, see https://github.com/tpm2-software/tpm2-pytss/issues/557 warnings.warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test/test_crypto.py::CryptoTest::test_ecc_bad_curves - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_encrypted_key - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_from_pem_with_scheme - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_from_pem_with_symmetric - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_get_alg - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_kdfa - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_kdfe - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_keyedhash_from_secret - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_keyedhash_from_secret_bad - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_keyedhash_from_secret_unseal - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_loadexternal_ecc - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_loadexternal_public_rsa - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_loadexternal_rsa - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_nv_getname - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_private_from_pem_bad_der - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_private_from_pem_ecc - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_private_from_pem_ecc_der - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_private_from_pem_rsa - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_private_from_pem_rsa_der - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_bad_der - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_ecc - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_ecc_der - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_ecc_der_cert - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_ecc_pem_cert - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_rsa - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_rsa_der - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_rsa_der_cert - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_rsa_pem_cert - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_public_from_private - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_public_from_private_der - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_public_getname - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_public_to_pem_bad_key - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_public_to_pem_ecc - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_public_to_pem_rsa - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_rsa_exponent - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_ssh_key_ecc - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_symcipher_from_secret - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_symcipher_from_secret_bad - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_symdef_to_crypt - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_topem_ecc - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_topem_encodings - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_topem_rsa - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_unsupported_key - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_verify_signature_bad - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_verify_signature_ecc - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_verify_signature_hmac - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_verify_singature_rsapss - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_crypto.py::CryptoTest::test_verify_singature_rsassa - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_cert_builder_ecc - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_cert_builder_rsa - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_csr_builder_ecc - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_csr_builder_rsa - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_ecc_copy - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_ecc_different_curves - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_ecc_exchange - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_ecc_key - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_ecc_key_bad_type - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_ecc_key_restricted - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_ecc_no_decrypt - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_ecc_no_sign - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_ecc_prehashed - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_ecc_sign - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_ecc_sign_with_scheme - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_ecc_unsupported_curve - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_ecc_unsupported_scheme - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_rsa_copy - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_rsa_decrypt_oaep - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_rsa_decrypt_pkcs1v15 - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_rsa_key - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_rsa_key_bad_type - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_rsa_key_restricted - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_rsa_no_decrypt - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_rsa_no_sign - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_rsa_prehashed - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_rsa_sign_pkcs1v15 - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_rsa_sign_pss - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_rsa_unsupported_decrypt_scheme - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_rsa_unsupported_sig_scheme - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_scheme_digest_mismatch - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_scheme_digest_mismatch_oaep - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_cryptography.py::TestCryptography::test_scheme_mismatch - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_encoding.py::ToolsTest::test_decode_int_nt - RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 53227: errno 111: Connection refused ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ERROR: Could not load tcti, got: "swtpm:port=53227" FAILED test/test_encoding.py::ToolsTest::test_decode_nt_extend - RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 45608: errno 111: Connection refused ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ERROR: Could not load tcti, got: "swtpm:port=45608" FAILED test/test_encoding.py::ToolsTest::test_decode_nt_pin - RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 38622: errno 111: Connection refused ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ERROR: Could not load tcti, got: "swtpm:port=38622" FAILED test/test_encoding.py::ToolsTest::test_tools_decode_pcr_tuples - RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 54316: errno 111: Connection refused ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ERROR: Could not load tcti, got: "swtpm:port=54316" FAILED test/test_encoding.py::ToolsTest::test_tools_decode_tmpl_pcr_selection - RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 15150: errno 111: Connection refused ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:151:tcti_control_command() Failed to connect to control socket. ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ERROR: Could not load tcti, got: "swtpm:port=15149" FAILED test/test_encoding.py::ToolsTest::test_tools_decode_tpm2b_name - RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 29211: errno 111: Connection refused ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ERROR: Could not load tcti, got: "swtpm:port=29211" FAILED test/test_encoding.py::ToolsTest::test_tools_decode_tpma_session - RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 18684: errno 111: Connection refused ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ERROR: Could not load tcti, got: "swtpm:port=18684" FAILED test/test_encoding.py::ToolsTest::test_tools_decode_tpml_alg - RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 15162: errno 111: Connection refused ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ERROR: Could not load tcti, got: "swtpm:port=15162" FAILED test/test_encoding.py::ToolsTest::test_tools_decode_tpml_alg_property - RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 13014: errno 111: Connection refused ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ERROR: Could not load tcti, got: "swtpm:port=13014" FAILED test/test_encoding.py::ToolsTest::test_tools_decode_tpml_cca - RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 6289: errno 111: Connection refused ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ERROR: Could not load tcti, got: "swtpm:port=6289" FAILED test/test_encoding.py::ToolsTest::test_tools_decode_tpml_digest_values - RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 23378: errno 111: Connection refused ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ERROR: Could not load tcti, got: "swtpm:port=23378" FAILED test/test_encoding.py::ToolsTest::test_tools_decode_tpml_ecc_curve - RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 11659: errno 111: Connection refused ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:151:tcti_control_command() Failed to connect to control socket. ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ERROR: Could not load tcti, got: "swtpm:port=11658" FAILED test/test_encoding.py::ToolsTest::test_tools_decode_tpml_handle - RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 47849: errno 111: Connection refused ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ERROR: Could not load tcti, got: "swtpm:port=47849" FAILED test/test_encoding.py::ToolsTest::test_tools_decode_tpml_tagged_tpm_property - RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 19549: errno 111: Connection refused ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ERROR: Could not load tcti, got: "swtpm:port=19549" FAILED test/test_encoding.py::ToolsTest::test_tools_decode_tpms_nv_public - RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 58462: errno 111: Connection refused ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:151:tcti_control_command() Failed to connect to control socket. ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:345:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:625:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ERROR: Could not load tcti, got: "swtpm:port=58461" FAILED test/test_encoding.py::ToolsTest::test_tools_decode_tpmt_public - RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util-io/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 14243: errno 111: Connection refused ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:617:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket ERROR:tcti:src/tss2-tcti/tctildr-dl.c:149:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI ERROR: Could not load tcti, got: "swtpm:port=14243" FAILED test/test_esapi.py::TestEsys::test_TPMS_CONTEXT_to_tools - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_activate_credential - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_certify - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_certify_creation - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_change_eps - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_change_pps - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_clear - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_clearcontrol - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_clock_rate_adjust - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_clock_set - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_commit - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_context_save_context_load - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_create - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_create_none - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_create_primary - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_create_primary_none - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_createloaded - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_createloaded_none - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_dictionary_attack_lock_reset - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_dictionary_attack_parameters - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_double_close - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_duplicate - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_ecc_parameters - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_ecdh_key_gen - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_ecdh_z_gen - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_encrypt_decrypt - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_encrypt_decrypt2 - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_esys_tr_functions - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_event_sequence_complete - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_evict_control - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_field_upgrade_data - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_field_upgrade_start - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_firmware_read - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_flush_context - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_fulltest_no - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_fulltest_yes - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_get_capability - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_get_command_audit_digest - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_get_random - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_get_session_audit_digest - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_get_time - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_gettcti - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_hash - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_hash_sequence - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_hierarchy_control - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_hierarchychangeauth - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_hmac - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_hmac_sequence - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_hmac_session - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_import - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_incremental_resume_test - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_incremental_self_test - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_load - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_make_credential - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_nv_certify - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_nv_change_auth - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_nv_extend - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_nv_global_write_lock - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_nv_increment - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_nv_read_lock - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_nv_read_public - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_nv_set_bits - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_nv_undefine_space_special - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_nv_write_lock - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_object_change_auth - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_pcr_allocate - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_pcr_event - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_pcr_extend - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_pcr_read - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_pcr_reset - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_pcr_set_auth_policy - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_pcr_set_auth_value - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_plain_nv_define_write_read_undefine - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_policy_auth_value - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_policy_authorize - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_policy_authorize_nv - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_policy_command_code - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_policy_counter_timer - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_policy_cp_hash - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_policy_duplication_select - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_policy_get_digest - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_policy_locality - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_policy_name_hash - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_policy_nv - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_policy_nv_written - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_policy_or - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_policy_password - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_policy_pcr - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_policy_physical_presence - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_policy_secret - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_policy_signed - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_policy_template - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_policy_ticket - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_policyrestart - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_pp_commands - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_quote - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_read_clock - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_readpublic - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_ref_parent - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_rewrap - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_rsa_enc_dec - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_rsa_enc_dec_with_label - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_set_algorithm_set - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_set_command_code_audit_status - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_set_primary_policy - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_shutdown_bad - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_shutdown_clear - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_shutdown_no_arg - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_shutdown_state - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_sign - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_start_auth_session_enckey - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_start_auth_session_enckey_bindkey - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_start_auth_session_noncecaller - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_start_auth_session_noncecaller_bad - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_stir_random - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_test_parms - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_tr_get_tpm_handle - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_tr_parts_to_blob - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_tr_sess_set_attributes - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_unseal - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_vendor_tcg_test - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_verify_signature - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_z_gen_2_phase - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_policy.py::TestPolicy::test_calc_name_callback - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_policy.py::TestPolicy::test_calc_nvpublic_callback - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_policy.py::TestPolicy::test_calc_pcr_callback - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_policy.py::TestPolicy::test_calc_public_callback - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_policy.py::TestPolicy::test_callbacks - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_policy.py::TestPolicy::test_exec_auth_callback - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_policy.py::TestPolicy::test_exec_polaction_callback - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_policy.py::TestPolicy::test_exec_polauth_callback - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_policy.py::TestPolicy::test_exec_polauthnv_callback - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_policy.py::TestPolicy::test_exec_poldup_callback - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_policy.py::TestPolicy::test_exec_polsel_callback - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_policy.py::TestPolicy::test_exec_sign_callback - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_policy.py::TestPolicy::test_password_policy - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_policy.py::TestPolicy::test_password_policy_execute - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tcti.py::TestTCTI::test_cancel - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tcti.py::TestTCTI::test_custom_pytcti_C_wrapper_transmit_receive - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tcti.py::TestTCTI::test_custom_pytcti_cancel - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tcti.py::TestTCTI::test_custom_pytcti_ctx_manager_finalize - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tcti.py::TestTCTI::test_custom_pytcti_esapi - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tcti.py::TestTCTI::test_custom_pytcti_finalize - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tcti.py::TestTCTI::test_custom_pytcti_finalize_error - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tcti.py::TestTCTI::test_custom_pytcti_get_poll_handles - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tcti.py::TestTCTI::test_custom_pytcti_magic - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tcti.py::TestTCTI::test_custom_pytcti_make_sticky - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tcti.py::TestTCTI::test_custom_pytcti_set_locality - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tcti.py::TestTCTI::test_custom_pytcti_version - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tcti.py::TestTCTI::test_finalize - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tcti.py::TestTCTI::test_get_poll_handles - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tcti.py::TestTCTI::test_init - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tcti.py::TestTCTI::test_is_available - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tcti.py::TestTCTI::test_make_sticky - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tcti.py::TestTCTI::test_set_locality - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tcti.py::TestTCTI::test_tctildr - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tcti.py::TestTCTI::test_transmit_receive - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tsskey.py::TSSKeyTest::test_bad_oid - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tsskey.py::TSSKeyTest::test_bad_pem_type - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tsskey.py::TSSKeyTest::test_create_load_ecc - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tsskey.py::TSSKeyTest::test_create_load_ecc_password - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tsskey.py::TSSKeyTest::test_create_load_rsa - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tsskey.py::TSSKeyTest::test_create_no_password_load_password - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tsskey.py::TSSKeyTest::test_create_password_load_no_password - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tsskey.py::TSSKeyTest::test_no_ecc - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tsskey.py::TSSKeyTest::test_no_ecc_no_rsa - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tsskey.py::TSSKeyTest::test_persistent_parent_ecc - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tsskey.py::TSSKeyTest::test_persistent_parent_rsa - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tsskey.py::TSSKeyTest::test_rsa_frompem - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_tsskey.py::TSSKeyTest::test_rsa_topem - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_utils.py::TestUtils::test_MakeCredential_ecc - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_utils.py::TestUtils::test_MakeCredential_rsa - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_utils.py::TestUtils::test_Wrap_ecc - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_utils.py::TestUtils::test_Wrap_rsa - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_utils.py::TestUtils::test_create_ek_bad - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_utils.py::TestUtils::test_create_ek_ecc - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_utils.py::TestUtils::test_create_ek_high_ecc256 - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_utils.py::TestUtils::test_create_ek_high_ecc384 - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_utils.py::TestUtils::test_create_ek_high_rsa2048 - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_utils.py::TestUtils::test_create_ek_rsa - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_utils.py::TestUtils::test_create_ek_template - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_utils.py::TestUtils::test_credential_to_tools - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_utils.py::TestUtils::test_credential_to_tools_bytes - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_utils.py::TestUtils::test_generate_seed_ecc - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_utils.py::TestUtils::test_generate_seed_rsa - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_utils.py::TestUtils::test_make_credential_ecc_camellia - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_utils.py::TestUtils::test_make_credential_ecc_sm4 - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_utils.py::TestUtils::test_tools_to_credential - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_utils.py::TestUtils::test_tools_to_credential_invalid_magic - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_utils.py::TestUtils::test_tools_to_credential_invalid_version - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_utils.py::TestUtils::test_tpm_export_rsa_child_rsa_parent_with_inner_key - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_utils.py::TestUtils::test_unmarshal_tools_pcr_values - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_utils.py::TestUtils::test_unwrap_ec_parent_rsa_child - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_utils.py::TestUtils::test_unwrap_ec_parent_rsa_child_outerwrap - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_utils.py::TestUtils::test_unwrap_rsa_parent_rsa_child - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_utils.py::TestUtils::test_unwrap_rsa_parent_rsa_child_outerwrap - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_provision_ok - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_provision_fail - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_get_random - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_get_random_zero - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_get_random_large - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_get_random_negative - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_get_info - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_list - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_list_search_path - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_list_bad_search_path - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_create_key - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_create_key_double_ok - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_create_key_double_fail - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_get_esys_blob_contextload - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_get_esys_blob_bad - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_get_esys_blob_deserialize - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_verify - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_verify_fail - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_import_key_double_ok - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_import_key_double_fail - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_import_policy_double_ok - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_import_policy_double_fail - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_import_exported_key - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_export_imported_policy - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_create_seal - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_create_seal_double_ok - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_create_seal_double_fail - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_create_seal_random - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_create_seal_both_data_and_size_fail - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_create_seal_neither_data_nor_size_fail - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_unseal - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_quote_verify - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_export_key - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_delete_key - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_set_get_description - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_get_empty_description - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_set_get_app_data - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_get_no_app_data - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_set_get_certificate - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_get_empty_certificate - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_get_empty_platform_certificates_ok - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_get_empty_platform_certificates_fail - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_pcr_read - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_pcr_extend_read - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_nv_write_read - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_nv_increment - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_nv_pcr - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_nv_set_bits - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_set_auth_callback - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_unset_auth_callback - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_write_authorize_nv - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_authorize_policy - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_policy_signed - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_policy_branched - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_policy_action - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_nv_create_double_ok - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_nv_create_double_fail - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_sign - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiECC::test_get_tpm_blobs - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_provision_ok - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_provision_fail - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_get_random - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_get_random_zero - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_get_random_large - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_get_random_negative - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_get_info - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_list - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_list_search_path - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_list_bad_search_path - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_create_key - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_create_key_double_ok - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_create_key_double_fail - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_get_esys_blob_contextload - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_get_esys_blob_bad - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_get_esys_blob_deserialize - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_verify - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_verify_fail - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_import_key_double_ok - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_import_key_double_fail - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_import_policy_double_ok - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_import_policy_double_fail - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_import_exported_key - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_export_imported_policy - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_create_seal - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_create_seal_double_ok - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_create_seal_double_fail - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_create_seal_random - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_create_seal_both_data_and_size_fail - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_create_seal_neither_data_nor_size_fail - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_unseal - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_quote_verify - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_export_key - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_delete_key - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_set_get_description - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_get_empty_description - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_set_get_app_data - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_get_no_app_data - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_set_get_certificate - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_get_empty_certificate - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_get_empty_platform_certificates_ok - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_get_empty_platform_certificates_fail - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_pcr_read - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_pcr_extend_read - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_nv_write_read - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_nv_increment - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_nv_pcr - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_nv_set_bits - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_set_auth_callback - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_unset_auth_callback - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_write_authorize_nv - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_authorize_policy - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_policy_signed - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_policy_branched - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_policy_action - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_nv_create_double_ok - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_nv_create_double_fail - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_sign - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_get_tpm_blobs - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure ERROR test/test_fapi.py::TestFapiRSA::test_encrypt_decrypt - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure = 293 failed, 197 passed, 4 skipped, 22 warnings, 119 errors in 290.35s (0:04:50) = ==> ERROR: A failure occurred in check(). Aborting... [!p]104[?7h]3008;end=5380957340ef4e9cb3cd1691cc7c6f27\==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix-2/build [?25h[?25h[?25hreceiving incremental file list python-tpm2-pytss-2.3.0-4-riscv64-build.log python-tpm2-pytss-2.3.0-4-riscv64-check.log python-tpm2-pytss-2.3.0-4-riscv64-prepare.log sent 81 bytes received 26,335 bytes 17,610.67 bytes/sec total size is 830,857 speedup is 31.45