==> Building on mamoswine ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/python-tpm2-pytss ./ .SRCINFO 1,234 100% 0.00kB/s 0:00:00 1,234 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=10/12) .nvchecker.toml 56 100% 54.69kB/s 0:00:00 56 100% 54.69kB/s 0:00:00 (xfr#2, to-chk=9/12) LICENSE 646 100% 630.86kB/s 0:00:00 646 100% 630.86kB/s 0:00:00 (xfr#3, to-chk=8/12) PKGBUILD 1,330 100% 1.27MB/s 0:00:00 1,330 100% 1.27MB/s 0:00:00 (xfr#4, to-chk=7/12) REUSE.toml 375 100% 366.21kB/s 0:00:00 375 100% 366.21kB/s 0:00:00 (xfr#5, to-chk=6/12) python-tpm2-pytss-3.0.0-1.log 623 100% 608.40kB/s 0:00:00 623 100% 608.40kB/s 0:00:00 (xfr#6, to-chk=5/12) LICENSES/ LICENSES/0BSD.txt -> ../LICENSE keys/ keys/pgp/ keys/pgp/5B482B8E3E19DA7C978E1D016DE2E9078E1F50C1.asc 3,106 100% 2.96MB/s 0:00:00 3,106 100% 2.96MB/s 0:00:00 (xfr#7, to-chk=0/12) sent 5,192 bytes received 224 bytes 3,610.67 bytes/sec total size is 6,953 speedup is 1.28 ==> Patching arch to riscv64... ==> Running pkgctl build --arch riscv64 on remote host... ==> WARNING: invalid architecture: riscv64 ==> Building python-tpm2-pytss -> repo: extra -> arch: riscv64 -> worker: felix-0 ==> Building python-tpm2-pytss for [extra] (riscv64) [?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix-0]...done ==> Making package: python-tpm2-pytss 3.0.0-1 (Sat Aug 29 06:01:43 2026) ==> Retrieving sources...  -> Cloning tpm2-pytss git repo... Cloning into bare repository '/home/felix/packages/python-tpm2-pytss/tpm2-pytss'... remote: Enumerating objects: 10611, done. remote: Counting objects: 0% (1/2082) remote: Counting objects: 1% (21/2082) remote: Counting objects: 2% (42/2082) remote: Counting objects: 3% (63/2082) remote: Counting objects: 4% (84/2082) remote: Counting objects: 5% (105/2082) remote: Counting objects: 6% (125/2082) remote: Counting objects: 7% (146/2082) remote: Counting objects: 8% (167/2082) remote: Counting objects: 9% (188/2082) remote: Counting objects: 10% (209/2082) remote: Counting objects: 11% (230/2082) remote: Counting objects: 12% (250/2082) remote: Counting objects: 13% (271/2082) remote: Counting objects: 14% (292/2082) remote: Counting objects: 15% (313/2082) remote: Counting objects: 16% (334/2082) remote: Counting objects: 17% (354/2082) remote: Counting objects: 18% (375/2082) remote: Counting objects: 19% (396/2082) remote: Counting objects: 20% (417/2082) remote: Counting objects: 21% (438/2082) remote: Counting objects: 22% (459/2082) remote: Counting objects: 23% (479/2082) remote: Counting objects: 24% (500/2082) remote: Counting objects: 25% (521/2082) remote: Counting objects: 26% (542/2082) remote: Counting objects: 27% (563/2082) remote: Counting objects: 28% (583/2082) remote: Counting objects: 29% (604/2082) remote: Counting objects: 30% (625/2082) remote: Counting objects: 31% (646/2082) remote: Counting objects: 32% (667/2082) remote: Counting objects: 33% (688/2082) remote: Counting objects: 34% (708/2082) remote: Counting objects: 35% (729/2082) remote: Counting objects: 36% (750/2082) remote: Counting objects: 37% (771/2082) remote: Counting objects: 38% (792/2082) remote: Counting objects: 39% (812/2082) remote: Counting objects: 40% (833/2082) remote: Counting objects: 41% (854/2082) remote: Counting objects: 42% (875/2082) remote: Counting objects: 43% (896/2082) remote: Counting objects: 44% (917/2082) remote: Counting objects: 45% (937/2082) remote: Counting objects: 46% (958/2082) remote: Counting objects: 47% (979/2082) remote: Counting objects: 48% (1000/2082) remote: Counting objects: 49% (1021/2082) remote: Counting objects: 50% (1041/2082) remote: Counting objects: 51% (1062/2082) remote: Counting objects: 52% (1083/2082) remote: Counting objects: 53% (1104/2082) remote: Counting objects: 54% (1125/2082) remote: Counting objects: 55% (1146/2082) remote: Counting objects: 56% (1166/2082) remote: Counting objects: 57% (1187/2082) remote: Counting objects: 58% (1208/2082) remote: Counting objects: 59% (1229/2082) remote: Counting objects: 60% (1250/2082) remote: Counting objects: 61% (1271/2082) remote: Counting objects: 62% (1291/2082) remote: Counting objects: 63% (1312/2082) remote: Counting objects: 64% (1333/2082) remote: Counting objects: 65% (1354/2082) remote: Counting objects: 66% (1375/2082) remote: Counting objects: 67% (1395/2082) remote: Counting objects: 68% (1416/2082) remote: Counting objects: 69% (1437/2082) remote: Counting objects: 70% (1458/2082) remote: Counting objects: 71% (1479/2082) remote: Counting objects: 72% (1500/2082) remote: Counting objects: 73% (1520/2082) remote: Counting objects: 74% (1541/2082) remote: Counting objects: 75% (1562/2082) remote: Counting objects: 76% (1583/2082) remote: Counting objects: 77% (1604/2082) remote: Counting objects: 78% (1624/2082) remote: Counting objects: 79% (1645/2082) remote: Counting objects: 80% (1666/2082) remote: Counting objects: 81% (1687/2082) remote: Counting objects: 82% (1708/2082) remote: Counting objects: 83% (1729/2082) remote: Counting objects: 84% (1749/2082) remote: Counting objects: 85% (1770/2082) remote: Counting objects: 86% (1791/2082) remote: Counting objects: 87% (1812/2082) remote: Counting objects: 88% (1833/2082) remote: Counting objects: 89% (1853/2082) remote: Counting objects: 90% (1874/2082) remote: Counting objects: 91% (1895/2082) remote: Counting objects: 92% (1916/2082) remote: Counting objects: 93% (1937/2082) remote: Counting objects: 94% (1958/2082) remote: Counting objects: 95% (1978/2082) remote: Counting objects: 96% (1999/2082) remote: Counting objects: 97% (2020/2082) remote: Counting objects: 98% (2041/2082) remote: Counting objects: 99% (2062/2082) remote: Counting objects: 100% (2082/2082) remote: Counting objects: 100% (2082/2082), done. remote: Compressing objects: 0% (1/354) remote: Compressing objects: 1% (4/354) remote: Compressing objects: 2% (8/354) remote: Compressing objects: 3% (11/354) remote: Compressing objects: 4% (15/354) remote: Compressing objects: 5% (18/354) remote: Compressing objects: 6% (22/354) remote: Compressing objects: 7% (25/354) remote: Compressing objects: 8% (29/354) remote: Compressing objects: 9% (32/354) remote: Compressing objects: 10% (36/354) remote: Compressing objects: 11% (39/354) remote: Compressing objects: 12% (43/354) remote: Compressing objects: 13% (47/354) remote: Compressing objects: 14% (50/354) remote: Compressing objects: 15% (54/354) remote: Compressing objects: 16% (57/354) remote: Compressing objects: 17% (61/354) remote: Compressing objects: 18% (64/354) remote: Compressing objects: 19% (68/354) remote: Compressing objects: 20% (71/354) remote: Compressing objects: 21% (75/354) remote: Compressing objects: 22% (78/354) remote: Compressing objects: 23% (82/354) remote: Compressing objects: 24% (85/354) remote: Compressing objects: 25% (89/354) remote: Compressing objects: 26% (93/354) remote: Compressing objects: 27% (96/354) remote: Compressing objects: 28% (100/354) remote: Compressing objects: 29% (103/354) remote: Compressing objects: 30% (107/354) remote: Compressing objects: 31% (110/354) remote: Compressing objects: 32% (114/354) remote: Compressing objects: 33% (117/354) remote: Compressing objects: 34% (121/354) remote: Compressing objects: 35% (124/354) remote: Compressing objects: 36% (128/354) remote: Compressing objects: 37% (131/354) remote: Compressing objects: 38% (135/354) remote: Compressing objects: 39% (139/354) remote: Compressing objects: 40% (142/354) remote: Compressing objects: 41% (146/354) remote: Compressing objects: 42% (149/354) remote: Compressing objects: 43% (153/354) remote: Compressing objects: 44% (156/354) remote: Compressing objects: 45% (160/354) remote: Compressing objects: 46% (163/354) remote: Compressing objects: 47% (167/354) remote: Compressing objects: 48% (170/354) remote: Compressing objects: 49% (174/354) remote: Compressing objects: 50% (177/354) remote: Compressing objects: 51% (181/354) remote: Compressing objects: 52% (185/354) remote: Compressing objects: 53% (188/354) remote: Compressing objects: 54% (192/354) remote: Compressing objects: 55% (195/354) remote: Compressing objects: 56% (199/354) remote: Compressing objects: 57% (202/354) remote: Compressing objects: 58% (206/354) remote: Compressing objects: 59% (209/354) remote: Compressing objects: 60% (213/354) remote: Compressing objects: 61% (216/354) remote: Compressing objects: 62% (220/354) remote: Compressing objects: 63% (224/354) remote: Compressing objects: 64% (227/354) remote: Compressing objects: 65% (231/354) remote: Compressing objects: 66% (234/354) remote: Compressing objects: 67% (238/354) remote: Compressing objects: 68% (241/354) remote: Compressing objects: 69% (245/354) remote: Compressing objects: 70% (248/354) remote: Compressing objects: 71% (252/354) remote: Compressing objects: 72% (255/354) remote: Compressing objects: 73% (259/354) remote: Compressing objects: 74% (262/354) remote: Compressing objects: 75% (266/354) remote: Compressing objects: 76% (270/354) remote: Compressing objects: 77% (273/354) remote: Compressing objects: 78% (277/354) remote: Compressing objects: 79% (280/354) remote: Compressing objects: 80% (284/354) remote: Compressing objects: 81% (287/354) remote: Compressing objects: 82% (291/354) remote: Compressing objects: 83% (294/354) remote: Compressing objects: 84% (298/354) remote: Compressing objects: 85% (301/354) remote: Compressing objects: 86% (305/354) remote: Compressing objects: 87% (308/354) remote: Compressing objects: 88% (312/354) remote: Compressing objects: 89% (316/354) remote: Compressing objects: 90% (319/354) remote: Compressing objects: 91% (323/354) remote: Compressing objects: 92% (326/354) remote: Compressing objects: 93% (330/354) remote: Compressing objects: 94% (333/354) remote: Compressing objects: 95% (337/354) remote: Compressing objects: 96% (340/354) remote: Compressing objects: 97% (344/354) remote: Compressing objects: 98% (347/354) remote: Compressing objects: 99% (351/354) remote: Compressing objects: 100% (354/354) remote: Compressing objects: 100% (354/354), done. Receiving objects: 0% (1/10611) Receiving objects: 1% (107/10611) Receiving objects: 2% (213/10611) Receiving objects: 3% (319/10611) Receiving objects: 4% (425/10611) Receiving objects: 5% (531/10611) Receiving objects: 6% (637/10611) Receiving objects: 7% (743/10611) Receiving objects: 8% (849/10611) Receiving objects: 9% (955/10611) Receiving objects: 10% (1062/10611) Receiving objects: 11% (1168/10611) Receiving objects: 12% (1274/10611) Receiving objects: 13% (1380/10611) Receiving objects: 14% (1486/10611) Receiving objects: 15% (1592/10611) Receiving objects: 16% (1698/10611) Receiving objects: 17% (1804/10611) Receiving objects: 18% (1910/10611) Receiving objects: 19% (2017/10611) Receiving objects: 20% (2123/10611) Receiving objects: 21% (2229/10611) Receiving objects: 22% (2335/10611) Receiving objects: 23% (2441/10611) Receiving objects: 24% (2547/10611) Receiving objects: 25% (2653/10611) Receiving objects: 26% (2759/10611) Receiving objects: 27% (2865/10611) Receiving objects: 28% (2972/10611) Receiving objects: 29% (3078/10611) Receiving objects: 30% (3184/10611) Receiving objects: 31% (3290/10611) Receiving objects: 32% (3396/10611) Receiving objects: 33% (3502/10611) Receiving objects: 34% (3608/10611) Receiving objects: 35% (3714/10611) Receiving objects: 36% (3820/10611) Receiving objects: 37% (3927/10611), 1.28 MiB | 2.55 MiB/s Receiving objects: 38% (4033/10611), 1.28 MiB | 2.55 MiB/s Receiving objects: 39% (4139/10611), 1.28 MiB | 2.55 MiB/s Receiving objects: 40% (4245/10611), 1.28 MiB | 2.55 MiB/s Receiving objects: 41% (4351/10611), 1.28 MiB | 2.55 MiB/s Receiving objects: 41% (4404/10611), 6.42 MiB | 6.41 MiB/s Receiving objects: 42% (4457/10611), 6.42 MiB | 6.41 MiB/s Receiving objects: 43% (4563/10611), 6.42 MiB | 6.41 MiB/s Receiving objects: 44% (4669/10611), 6.42 MiB | 6.41 MiB/s Receiving objects: 45% (4775/10611), 6.42 MiB | 6.41 MiB/s Receiving objects: 46% (4882/10611), 6.42 MiB | 6.41 MiB/s Receiving objects: 47% (4988/10611), 10.99 MiB | 6.67 MiB/s Receiving objects: 47% (5005/10611), 10.99 MiB | 6.67 MiB/s Receiving objects: 48% (5094/10611), 18.41 MiB | 8.58 MiB/s Receiving objects: 48% (5174/10611), 23.26 MiB | 8.79 MiB/s Receiving objects: 49% (5200/10611), 23.26 MiB | 8.79 MiB/s Receiving objects: 50% (5306/10611), 26.65 MiB | 8.25 MiB/s Receiving objects: 50% (5402/10611), 29.96 MiB | 7.96 MiB/s Receiving objects: 51% (5412/10611), 29.96 MiB | 7.96 MiB/s Receiving objects: 52% (5518/10611), 33.43 MiB | 7.84 MiB/s Receiving objects: 53% (5624/10611), 33.43 MiB | 7.84 MiB/s Receiving objects: 54% (5730/10611), 33.43 MiB | 7.84 MiB/s Receiving objects: 55% (5837/10611), 33.43 MiB | 7.84 MiB/s Receiving objects: 56% (5943/10611), 33.43 MiB | 7.84 MiB/s Receiving objects: 57% (6049/10611), 33.43 MiB | 7.84 MiB/s Receiving objects: 58% (6155/10611), 33.43 MiB | 7.84 MiB/s Receiving objects: 59% (6261/10611), 33.43 MiB | 7.84 MiB/s Receiving objects: 60% (6367/10611), 33.43 MiB | 7.84 MiB/s Receiving objects: 61% (6473/10611), 33.43 MiB | 7.84 MiB/s Receiving objects: 62% (6579/10611), 33.43 MiB | 7.84 MiB/s Receiving objects: 63% (6685/10611), 33.43 MiB | 7.84 MiB/s Receiving objects: 64% (6792/10611), 33.43 MiB | 7.84 MiB/s Receiving objects: 65% (6898/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 66% (7004/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 67% (7110/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 68% (7216/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 69% (7322/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 70% (7428/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 71% (7534/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 72% (7640/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 73% (7747/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 74% (7853/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 75% (7959/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 76% (8065/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 77% (8171/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 78% (8277/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 79% (8383/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 80% (8489/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 81% (8595/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 82% (8702/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 83% (8808/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 84% (8914/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 85% (9020/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 86% (9126/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 87% (9232/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 88% (9338/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 89% (9444/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 90% (9550/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 91% (9657/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 92% (9763/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 93% (9869/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 94% (9975/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 95% (10081/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 96% (10187/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 97% (10293/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 98% (10399/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 99% (10505/10611), 37.02 MiB | 7.77 MiB/s remote: Total 10611 (delta 1866), reused 1748 (delta 1724), pack-reused 8529 (from 3) Receiving objects: 100% (10611/10611), 37.02 MiB | 7.77 MiB/s Receiving objects: 100% (10611/10611), 37.99 MiB | 7.75 MiB/s, done. Resolving deltas: 0% (0/7643) Resolving deltas: 1% (77/7643) Resolving deltas: 2% (153/7643) Resolving deltas: 3% (230/7643) Resolving deltas: 4% (306/7643) Resolving deltas: 5% (383/7643) Resolving deltas: 6% (459/7643) Resolving deltas: 7% (536/7643) Resolving deltas: 8% (612/7643) Resolving deltas: 9% (688/7643) Resolving deltas: 10% (765/7643) Resolving deltas: 11% (841/7643) Resolving deltas: 12% (918/7643) Resolving deltas: 13% (994/7643) Resolving deltas: 14% (1071/7643) Resolving deltas: 15% (1147/7643) Resolving deltas: 16% (1223/7643) Resolving deltas: 17% (1300/7643) Resolving deltas: 18% (1376/7643) Resolving deltas: 19% (1454/7643) Resolving deltas: 20% (1529/7643) Resolving deltas: 21% (1606/7643) Resolving deltas: 22% (1682/7643) Resolving deltas: 23% (1758/7643) Resolving deltas: 24% (1835/7643) Resolving deltas: 25% (1911/7643) Resolving deltas: 26% (1988/7643) Resolving deltas: 27% (2064/7643) Resolving deltas: 28% (2141/7643) Resolving deltas: 29% (2217/7643) Resolving deltas: 30% (2293/7643) Resolving deltas: 31% (2370/7643) Resolving deltas: 32% (2446/7643) Resolving deltas: 33% (2523/7643) Resolving deltas: 34% (2600/7643) Resolving deltas: 35% (2676/7643) Resolving deltas: 36% (2752/7643) Resolving deltas: 37% (2828/7643) Resolving deltas: 38% (2905/7643) Resolving deltas: 39% (2981/7643) Resolving deltas: 40% (3058/7643) Resolving deltas: 41% (3134/7643) Resolving deltas: 42% (3211/7643) Resolving deltas: 43% (3288/7643) Resolving deltas: 44% (3363/7643) Resolving deltas: 45% (3440/7643) Resolving deltas: 46% (3516/7643) Resolving deltas: 47% (3593/7643) Resolving deltas: 48% (3669/7643) Resolving deltas: 49% (3746/7643) Resolving deltas: 50% (3822/7643) Resolving deltas: 51% (3898/7643) Resolving deltas: 52% (3975/7643) Resolving deltas: 53% (4051/7643) Resolving deltas: 54% (4128/7643) Resolving deltas: 55% (4204/7643) Resolving deltas: 56% (4281/7643) Resolving deltas: 57% (4357/7643) Resolving deltas: 58% (4433/7643) Resolving deltas: 59% (4510/7643) Resolving deltas: 60% (4586/7643) Resolving deltas: 61% (4663/7643) Resolving deltas: 62% (4739/7643) Resolving deltas: 63% (4816/7643) Resolving deltas: 64% (4892/7643) Resolving deltas: 65% (4968/7643) Resolving deltas: 66% (5045/7643) Resolving deltas: 67% (5121/7643) Resolving deltas: 68% (5198/7643) Resolving deltas: 69% (5274/7643) Resolving deltas: 70% (5351/7643) Resolving deltas: 71% (5427/7643) Resolving deltas: 72% (5503/7643) Resolving deltas: 73% (5580/7643) Resolving deltas: 74% (5656/7643) Resolving deltas: 75% (5733/7643) Resolving deltas: 76% (5809/7643) Resolving deltas: 77% (5886/7643) Resolving deltas: 78% (5962/7643) Resolving deltas: 79% (6038/7643) Resolving deltas: 80% (6115/7643) Resolving deltas: 81% (6191/7643) Resolving deltas: 82% (6268/7643) Resolving deltas: 83% (6344/7643) Resolving deltas: 84% (6421/7643) Resolving deltas: 85% (6497/7643) Resolving deltas: 86% (6573/7643) Resolving deltas: 87% (6650/7643) Resolving deltas: 88% (6726/7643) Resolving deltas: 89% (6803/7643) Resolving deltas: 90% (6879/7643) Resolving deltas: 91% (6956/7643) Resolving deltas: 92% (7032/7643) Resolving deltas: 93% (7108/7643) Resolving deltas: 94% (7185/7643) Resolving deltas: 95% (7261/7643) Resolving deltas: 96% (7338/7643) Resolving deltas: 97% (7414/7643) Resolving deltas: 98% (7491/7643) Resolving deltas: 99% (7567/7643) Resolving deltas: 100% (7643/7643) Resolving deltas: 100% (7643/7643), done. ==> Validating source files with sha512sums... tpm2-pytss ... Passed ==> Making package: python-tpm2-pytss 3.0.0-1 (Sat Aug 29 06:02:31 2026) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (7) New Version Net Change Download Size extra/libyaml 0.2.5-3 0.16 MiB extra/python-pycparser 3.00-1 0.71 MiB extra/python-asn1crypto 1.5.1-6 1.52 MiB 0.21 MiB extra/python-cffi 2.1.1-1 1.41 MiB 0.30 MiB extra/python-cryptography 50.0.1-1 6.43 MiB 1.58 MiB extra/python-packaging 26.3-1 1.58 MiB 0.25 MiB extra/python-yaml 6.0.3-2 0.93 MiB Total Download Size: 2.35 MiB Total Installed Size: 12.74 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-cryptography-50.0.1-1-riscv64 downloading... python-cffi-2.1.1-1-riscv64 downloading... python-packaging-26.3-1-any downloading... python-asn1crypto-1.5.1-6-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... 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... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (33) New Version Net Change Download Size core/efivar 39-2 0.50 MiB 0.15 MiB extra/fuse-common 3.18.2-1 0.00 MiB extra/fuse2 2.9.9-6 0.43 MiB 0.12 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.35-1 0.15 MiB extra/python-autocommand 2.2.2-9 0.08 MiB extra/python-iniconfig 2.3.0-1 0.07 MiB extra/python-jaraco.collections 5.1.0-3 0.11 MiB extra/python-jaraco.context 6.1.2-1 0.06 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 11.1.0-1 0.77 MiB extra/python-pkg_resources 81.0.0-1 0.50 MiB extra/python-platformdirs 4.11.5-1 0.47 MiB 0.05 MiB extra/python-pluggy 1.6.0-3.1 0.23 MiB extra/python-pygments 2.20.0-1 15.36 MiB extra/python-pyproject-hooks 1.2.0-6 0.11 MiB extra/python-typing_extensions 4.16.0-1 0.53 MiB 0.09 MiB extra/python-vcs-versioning 2.3.1-1 1.18 MiB 0.21 MiB extra/zlib-ng 2.3.3-1 0.23 MiB extra/git 2.55.0-1 29.92 MiB 7.37 MiB extra/python-build 1.4.3-1 0.26 MiB 0.06 MiB extra/python-installer 1.0.0-1 0.20 MiB extra/python-pkgconfig 1.6.0-1 0.04 MiB 0.01 MiB extra/python-pytest 1:9.0.3-1 4.86 MiB 0.79 MiB extra/python-setuptools 1:82.0.1-1 7.35 MiB extra/python-setuptools-scm 10.2.1-1 0.23 MiB 0.05 MiB extra/python-wheel 0.46.3-1 0.31 MiB extra/swtpm 0.10.1-2 1.21 MiB 0.32 MiB extra/tpm2-tools 5.8-1 1.56 MiB 0.77 MiB Total Download Size: 10.44 MiB Total Installed Size: 69.00 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... git-2.55.0-1-riscv64 downloading... python-pytest-1:9.0.3-1-any downloading... tpm2-tools-5.8-1-riscv64 downloading... libtpms-0.10.2-1-riscv64 downloading... swtpm-0.10.1-2-riscv64 downloading... python-vcs-versioning-2.3.1-1-any downloading... efivar-39-2-riscv64 downloading... fuse2-2.9.9-6-riscv64 downloading... python-typing_extensions-4.16.0-1-any downloading... python-build-1.4.3-1-any downloading... python-platformdirs-4.11.5-1-any downloading... python-setuptools-scm-10.2.1-1-any downloading... python-pkgconfig-1.6.0-1-any 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-typing_extensions... installing python-pkg_resources... installing python-setuptools... installing python-vcs-versioning... Optional dependencies for python-vcs-versioning python-rich: formatting of log messages 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 968. Creating user 'git' (git daemon user) with UID 968 and GID 968. (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... [?25h==> Retrieving sources... ==> 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 build()... * Getting build dependencies for wheel... /usr/lib/python3.14/site-packages/setuptools/dist.py:765: 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... /usr/lib/python3.14/site-packages/setuptools_scm/_integration/version_inference.py:222: UserWarning: version of tpm2-pytss already set warnings.warn(f"version of {self.dist_name} already set") /usr/lib/python3.14/site-packages/setuptools/dist.py:765: 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/FAPI.py -> 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/command_parser.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/TSS2_Exception.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/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/types.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/TCTILdr.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/fapi_info.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/cryptography.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss copying src/tpm2_pytss/ESAPI.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss creating 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 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 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/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 64 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/FAPI.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/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/__init__.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/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/TCTI.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/command_parser.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/TSS2_Exception.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/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/types.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/TCTILdr.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/fapi_info.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/cryptography.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/_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-3.0.0-py3.14.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/tpm2_pytss-3.0.0.dist-info/WHEEL creating '/build/python-tpm2-pytss/src/tpm2-pytss/dist/.tmp-_8hxxnr4/tpm2_pytss-3.0.0-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/command_parser.py' 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-3.0.0.dist-info/licenses/LICENSE' adding 'tpm2_pytss-3.0.0.dist-info/METADATA' adding 'tpm2_pytss-3.0.0.dist-info/WHEEL' adding 'tpm2_pytss-3.0.0.dist-info/top_level.txt' adding 'tpm2_pytss-3.0.0.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Successfully built tpm2_pytss-3.0.0-cp314-cp314-linux_riscv64.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.14.7, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/python-tpm2-pytss/src/tpm2-pytss configfile: pyproject.toml collecting ... collected 608 items test/test_command_parser.py::CommandParserTest::test_command_bad_tag PASSED [ 0%] test/test_command_parser.py::CommandParserTest::test_decrypt_parameter PASSED [ 0%] test/test_command_parser.py::CommandParserTest::test_encrypt_parameter PASSED [ 0%] test/test_command_parser.py::CommandParserTest::test_failure_response PASSED [ 0%] test/test_command_parser.py::CommandParserTest::test_missing_commands PASSED [ 0%] test/test_command_parser.py::CommandParserTest::test_read_command_header PASSED [ 0%] test/test_command_parser.py::CommandParserTest::test_read_command_sessions PASSED [ 1%] test/test_command_parser.py::CommandParserTest::test_response_bad_tag PASSED [ 1%] test/test_command_parser.py::CommandParserTest::test_start_auth_session_command PASSED [ 1%] test/test_command_parser.py::CommandParserTest::test_start_auth_session_response PASSED [ 1%] test/test_command_parser.py::CommandParserTest::test_startup_command PASSED [ 1%] test/test_command_parser.py::CommandParserTest::test_startup_response PASSED [ 1%] test/test_command_parser.py::CommandParserTest::test_tpm_encrypted_parameter PASSED [ 2%] test/test_command_parser.py::CommandParserTest::test_without_encrypted_parameter PASSED [ 2%] test/test_crypto.py::CryptoTest::test_ecc_bad_curves FAILED [ 2%] test/test_crypto.py::CryptoTest::test_encrypted_key FAILED [ 2%] test/test_crypto.py::CryptoTest::test_from_pem_with_scheme FAILED [ 2%] test/test_crypto.py::CryptoTest::test_from_pem_with_symmetric FAILED [ 2%] test/test_crypto.py::CryptoTest::test_get_alg FAILED [ 3%] test/test_crypto.py::CryptoTest::test_kdfa FAILED [ 3%] test/test_crypto.py::CryptoTest::test_kdfe FAILED [ 3%] test/test_crypto.py::CryptoTest::test_keyedhash_from_secret FAILED [ 3%] test/test_crypto.py::CryptoTest::test_keyedhash_from_secret_bad FAILED [ 3%] test/test_crypto.py::CryptoTest::test_keyedhash_from_secret_unseal FAILED [ 3%] test/test_crypto.py::CryptoTest::test_loadexternal_ecc FAILED [ 4%] test/test_crypto.py::CryptoTest::test_loadexternal_public_rsa FAILED [ 4%] test/test_crypto.py::CryptoTest::test_loadexternal_rsa FAILED [ 4%] test/test_crypto.py::CryptoTest::test_nv_getname FAILED [ 4%] test/test_crypto.py::CryptoTest::test_private_from_pem_bad_der FAILED [ 4%] test/test_crypto.py::CryptoTest::test_private_from_pem_ecc FAILED [ 4%] test/test_crypto.py::CryptoTest::test_private_from_pem_ecc_der FAILED [ 5%] test/test_crypto.py::CryptoTest::test_private_from_pem_rsa FAILED [ 5%] test/test_crypto.py::CryptoTest::test_private_from_pem_rsa_der FAILED [ 5%] test/test_crypto.py::CryptoTest::test_public_from_pem_bad_der FAILED [ 5%] test/test_crypto.py::CryptoTest::test_public_from_pem_ecc FAILED [ 5%] test/test_crypto.py::CryptoTest::test_public_from_pem_ecc_der FAILED [ 5%] test/test_crypto.py::CryptoTest::test_public_from_pem_ecc_der_cert FAILED [ 6%] test/test_crypto.py::CryptoTest::test_public_from_pem_ecc_pem_cert FAILED [ 6%] test/test_crypto.py::CryptoTest::test_public_from_pem_rsa FAILED [ 6%] test/test_crypto.py::CryptoTest::test_public_from_pem_rsa_der FAILED [ 6%] test/test_crypto.py::CryptoTest::test_public_from_pem_rsa_der_cert FAILED [ 6%] test/test_crypto.py::CryptoTest::test_public_from_pem_rsa_pem_cert FAILED [ 6%] test/test_crypto.py::CryptoTest::test_public_from_private FAILED [ 7%] test/test_crypto.py::CryptoTest::test_public_from_private_der FAILED [ 7%] test/test_crypto.py::CryptoTest::test_public_getname FAILED [ 7%] test/test_crypto.py::CryptoTest::test_public_to_pem_bad_key FAILED [ 7%] test/test_crypto.py::CryptoTest::test_public_to_pem_ecc FAILED [ 7%] test/test_crypto.py::CryptoTest::test_public_to_pem_rsa FAILED [ 7%] test/test_crypto.py::CryptoTest::test_rsa_exponent FAILED [ 8%] test/test_crypto.py::CryptoTest::test_ssh_key_ecc FAILED [ 8%] test/test_crypto.py::CryptoTest::test_symcipher_from_secret FAILED [ 8%] test/test_crypto.py::CryptoTest::test_symcipher_from_secret_bad FAILED [ 8%] test/test_crypto.py::CryptoTest::test_symdef_to_crypt FAILED [ 8%] test/test_crypto.py::CryptoTest::test_topem_ecc FAILED [ 8%] test/test_crypto.py::CryptoTest::test_topem_encodings FAILED [ 9%] test/test_crypto.py::CryptoTest::test_topem_rsa FAILED [ 9%] test/test_crypto.py::CryptoTest::test_unsupported_key FAILED [ 9%] test/test_crypto.py::CryptoTest::test_verify_signature_bad FAILED [ 9%] test/test_crypto.py::CryptoTest::test_verify_signature_ecc FAILED [ 9%] test/test_crypto.py::CryptoTest::test_verify_signature_hmac FAILED [ 9%] test/test_crypto.py::CryptoTest::test_verify_signature_rsapss FAILED [ 10%] test/test_crypto.py::CryptoTest::test_verify_singature_rsassa FAILED [ 10%] test/test_cryptography.py::TestCryptography::test_cert_builder_ecc FAILED [ 10%] test/test_cryptography.py::TestCryptography::test_cert_builder_rsa FAILED [ 10%] test/test_cryptography.py::TestCryptography::test_csr_builder_ecc FAILED [ 10%] test/test_cryptography.py::TestCryptography::test_csr_builder_rsa FAILED [ 10%] test/test_cryptography.py::TestCryptography::test_ecc_copy FAILED [ 11%] test/test_cryptography.py::TestCryptography::test_ecc_different_curves FAILED [ 11%] test/test_cryptography.py::TestCryptography::test_ecc_exchange FAILED [ 11%] test/test_cryptography.py::TestCryptography::test_ecc_key FAILED [ 11%] test/test_cryptography.py::TestCryptography::test_ecc_key_bad_type FAILED [ 11%] test/test_cryptography.py::TestCryptography::test_ecc_key_restricted FAILED [ 11%] test/test_cryptography.py::TestCryptography::test_ecc_no_decrypt FAILED [ 12%] test/test_cryptography.py::TestCryptography::test_ecc_no_sign FAILED [ 12%] test/test_cryptography.py::TestCryptography::test_ecc_prehashed FAILED [ 12%] test/test_cryptography.py::TestCryptography::test_ecc_sign FAILED [ 12%] test/test_cryptography.py::TestCryptography::test_ecc_sign_with_scheme FAILED [ 12%] test/test_cryptography.py::TestCryptography::test_ecc_unsupported_curve FAILED [ 12%] test/test_cryptography.py::TestCryptography::test_ecc_unsupported_scheme FAILED [ 12%] test/test_cryptography.py::TestCryptography::test_rsa_copy FAILED [ 13%] test/test_cryptography.py::TestCryptography::test_rsa_decrypt_oaep FAILED [ 13%] test/test_cryptography.py::TestCryptography::test_rsa_decrypt_pkcs1v15 FAILED [ 13%] test/test_cryptography.py::TestCryptography::test_rsa_key FAILED [ 13%] test/test_cryptography.py::TestCryptography::test_rsa_key_bad_type FAILED [ 13%] test/test_cryptography.py::TestCryptography::test_rsa_key_restricted FAILED [ 13%] test/test_cryptography.py::TestCryptography::test_rsa_no_decrypt FAILED [ 14%] test/test_cryptography.py::TestCryptography::test_rsa_no_sign FAILED [ 14%] test/test_cryptography.py::TestCryptography::test_rsa_prehashed FAILED [ 14%] test/test_cryptography.py::TestCryptography::test_rsa_sign_pkcs1v15 FAILED [ 14%] test/test_cryptography.py::TestCryptography::test_rsa_sign_pss FAILED [ 14%] test/test_cryptography.py::TestCryptography::test_rsa_unsupported_decrypt_scheme FAILED [ 14%] test/test_cryptography.py::TestCryptography::test_rsa_unsupported_sig_scheme FAILED [ 15%] test/test_cryptography.py::TestCryptography::test_scheme_digest_mismatch FAILED [ 15%] test/test_cryptography.py::TestCryptography::test_scheme_digest_mismatch_oaep FAILED [ 15%] test/test_cryptography.py::TestCryptography::test_scheme_mismatch FAILED [ 15%] test/test_encoding.py::SerializationTest::test_base_TPMS_ATTEST PASSED [ 15%] test/test_encoding.py::SerializationTest::test_base_TPMS_CAPABILITY_DATA PASSED [ 15%] test/test_encoding.py::SerializationTest::test_base_TPMT_ASYM_SCHEME PASSED [ 16%] test/test_encoding.py::SerializationTest::test_base_TPMT_KDF_SCHEME PASSED [ 16%] test/test_encoding.py::SerializationTest::test_base_TPMT_KEYEDHASH_SCHEME PASSED [ 16%] test/test_encoding.py::SerializationTest::test_base_TPMT_PUBLIC PASSED [ 16%] test/test_encoding.py::SerializationTest::test_base_TPMT_PUBLIC_PARMS PASSED [ 16%] test/test_encoding.py::SerializationTest::test_base_TPMT_SENSITIVE PASSED [ 16%] test/test_encoding.py::SerializationTest::test_base_TPMT_SIG_SCHEME PASSED [ 17%] test/test_encoding.py::SerializationTest::test_base_TPMT_SINGATURE PASSED [ 17%] test/test_encoding.py::SerializationTest::test_base_TPMT_SYM_DEF PASSED [ 17%] test/test_encoding.py::SerializationTest::test_base_bad PASSED [ 17%] test/test_encoding.py::SerializationTest::test_base_bad_selector PASSED [ 17%] test/test_encoding.py::SerializationTest::test_base_complex_tpm2b PASSED [ 17%] test/test_encoding.py::SerializationTest::test_base_decode_bad PASSED [ 18%] test/test_encoding.py::SerializationTest::test_base_decode_case_insensitive PASSED [ 18%] test/test_encoding.py::SerializationTest::test_base_decode_complex_tpm2b PASSED [ 18%] test/test_encoding.py::SerializationTest::test_base_decode_friendly_int PASSED [ 18%] test/test_encoding.py::SerializationTest::test_base_decode_friendly_intlist PASSED [ 18%] test/test_encoding.py::SerializationTest::test_base_decode_int PASSED [ 18%] test/test_encoding.py::SerializationTest::test_base_decode_pcrselect PASSED [ 19%] test/test_encoding.py::SerializationTest::test_base_decode_simple_tpm2b PASSED [ 19%] test/test_encoding.py::SerializationTest::test_base_decode_strict PASSED [ 19%] test/test_encoding.py::SerializationTest::test_base_decode_struct PASSED [ 19%] test/test_encoding.py::SerializationTest::test_base_decode_tpml PASSED [ 19%] test/test_encoding.py::SerializationTest::test_base_friendly_int PASSED [ 19%] test/test_encoding.py::SerializationTest::test_base_friendly_intlist PASSED [ 20%] test/test_encoding.py::SerializationTest::test_base_int PASSED [ 20%] test/test_encoding.py::SerializationTest::test_base_simple_tpm2b PASSED [ 20%] test/test_encoding.py::SerializationTest::test_base_tpml PASSED [ 20%] test/test_encoding.py::SerializationTest::test_json_dec_friendly_int PASSED [ 20%] test/test_encoding.py::SerializationTest::test_json_dec_friendly_intlist PASSED [ 20%] test/test_encoding.py::SerializationTest::test_json_dec_int PASSED [ 21%] test/test_encoding.py::SerializationTest::test_json_dec_simple_tpm2b PASSED [ 21%] test/test_encoding.py::SerializationTest::test_json_enc_friendly_int PASSED [ 21%] test/test_encoding.py::SerializationTest::test_json_enc_friendly_intlist PASSED [ 21%] test/test_encoding.py::SerializationTest::test_json_enc_int PASSED [ 21%] test/test_esapi.py::TestEsys::test_TPMS_CONTEXT_to_tools FAILED [ 21%] test/test_esapi.py::TestEsys::test_ac_get_capability SKIPPED (Attached Components not supported prior to tss v4) [ 22%] test/test_esapi.py::TestEsys::test_ac_send SKIPPED (Attached Components not supported prior to tss v4) [ 22%] test/test_esapi.py::TestEsys::test_act_set_timeout FAILED [ 22%] test/test_esapi.py::TestEsys::test_activate_credential FAILED [ 22%] test/test_esapi.py::TestEsys::test_certify FAILED [ 22%] test/test_esapi.py::TestEsys::test_certify_creation FAILED [ 22%] test/test_esapi.py::TestEsys::test_certify_x509 FAILED [ 23%] test/test_esapi.py::TestEsys::test_change_eps FAILED [ 23%] test/test_esapi.py::TestEsys::test_change_pps FAILED [ 23%] test/test_esapi.py::TestEsys::test_clear FAILED [ 23%] test/test_esapi.py::TestEsys::test_clearcontrol FAILED [ 23%] test/test_esapi.py::TestEsys::test_clock_rate_adjust FAILED [ 23%] test/test_esapi.py::TestEsys::test_clock_set FAILED [ 24%] test/test_esapi.py::TestEsys::test_commit FAILED [ 24%] test/test_esapi.py::TestEsys::test_context_save_context_load FAILED [ 24%] test/test_esapi.py::TestEsys::test_create FAILED [ 24%] test/test_esapi.py::TestEsys::test_create_none FAILED [ 24%] test/test_esapi.py::TestEsys::test_create_primary FAILED [ 24%] test/test_esapi.py::TestEsys::test_create_primary_none FAILED [ 25%] test/test_esapi.py::TestEsys::test_createloaded FAILED [ 25%] test/test_esapi.py::TestEsys::test_createloaded_none FAILED [ 25%] test/test_esapi.py::TestEsys::test_dictionary_attack_lock_reset FAILED [ 25%] test/test_esapi.py::TestEsys::test_dictionary_attack_parameters FAILED [ 25%] test/test_esapi.py::TestEsys::test_double_close FAILED [ 25%] test/test_esapi.py::TestEsys::test_duplicate FAILED [ 25%] test/test_esapi.py::TestEsys::test_ecc_parameters FAILED [ 26%] test/test_esapi.py::TestEsys::test_ecdh_key_gen FAILED [ 26%] test/test_esapi.py::TestEsys::test_ecdh_z_gen FAILED [ 26%] test/test_esapi.py::TestEsys::test_encrypt_decrypt FAILED [ 26%] test/test_esapi.py::TestEsys::test_encrypt_decrypt2 FAILED [ 26%] test/test_esapi.py::TestEsys::test_esys_tr_context_manager_hmac_session FAILED [ 26%] test/test_esapi.py::TestEsys::test_esys_tr_context_manager_owner FAILED [ 27%] test/test_esapi.py::TestEsys::test_esys_tr_context_manager_policy_session FAILED [ 27%] test/test_esapi.py::TestEsys::test_esys_tr_context_manager_transient FAILED [ 27%] test/test_esapi.py::TestEsys::test_esys_tr_functions FAILED [ 27%] test/test_esapi.py::TestEsys::test_event_sequence_complete FAILED [ 27%] test/test_esapi.py::TestEsys::test_evict_control FAILED [ 27%] test/test_esapi.py::TestEsys::test_field_upgrade_data FAILED [ 28%] test/test_esapi.py::TestEsys::test_field_upgrade_start FAILED [ 28%] test/test_esapi.py::TestEsys::test_firmware_read FAILED [ 28%] test/test_esapi.py::TestEsys::test_flush_context FAILED [ 28%] test/test_esapi.py::TestEsys::test_fulltest_no FAILED [ 28%] test/test_esapi.py::TestEsys::test_fulltest_yes FAILED [ 28%] test/test_esapi.py::TestEsys::test_get_capability FAILED [ 29%] test/test_esapi.py::TestEsys::test_get_command_audit_digest FAILED [ 29%] test/test_esapi.py::TestEsys::test_get_random FAILED [ 29%] test/test_esapi.py::TestEsys::test_get_session_audit_digest FAILED [ 29%] test/test_esapi.py::TestEsys::test_get_time FAILED [ 29%] test/test_esapi.py::TestEsys::test_gettcti FAILED [ 29%] test/test_esapi.py::TestEsys::test_hash FAILED [ 30%] test/test_esapi.py::TestEsys::test_hash_sequence FAILED [ 30%] test/test_esapi.py::TestEsys::test_hierarchy_control FAILED [ 30%] test/test_esapi.py::TestEsys::test_hierarchychangeauth FAILED [ 30%] test/test_esapi.py::TestEsys::test_hmac FAILED [ 30%] test/test_esapi.py::TestEsys::test_hmac_sequence FAILED [ 30%] test/test_esapi.py::TestEsys::test_hmac_session FAILED [ 31%] test/test_esapi.py::TestEsys::test_import FAILED [ 31%] test/test_esapi.py::TestEsys::test_incremental_resume_test FAILED [ 31%] test/test_esapi.py::TestEsys::test_incremental_self_test FAILED [ 31%] test/test_esapi.py::TestEsys::test_load FAILED [ 31%] test/test_esapi.py::TestEsys::test_mac SKIPPED (Attached Components not supported prior to tss v4) [ 31%] test/test_esapi.py::TestEsys::test_make_credential FAILED [ 32%] test/test_esapi.py::TestEsys::test_nv_certify FAILED [ 32%] test/test_esapi.py::TestEsys::test_nv_change_auth FAILED [ 32%] test/test_esapi.py::TestEsys::test_nv_extend FAILED [ 32%] test/test_esapi.py::TestEsys::test_nv_global_write_lock FAILED [ 32%] test/test_esapi.py::TestEsys::test_nv_increment FAILED [ 32%] test/test_esapi.py::TestEsys::test_nv_read_lock FAILED [ 33%] test/test_esapi.py::TestEsys::test_nv_read_public FAILED [ 33%] test/test_esapi.py::TestEsys::test_nv_set_bits FAILED [ 33%] test/test_esapi.py::TestEsys::test_nv_undefine_space_special FAILED [ 33%] test/test_esapi.py::TestEsys::test_nv_write_lock FAILED [ 33%] test/test_esapi.py::TestEsys::test_object_change_auth FAILED [ 33%] test/test_esapi.py::TestEsys::test_pcr_allocate FAILED [ 34%] test/test_esapi.py::TestEsys::test_pcr_event FAILED [ 34%] test/test_esapi.py::TestEsys::test_pcr_extend FAILED [ 34%] test/test_esapi.py::TestEsys::test_pcr_read FAILED [ 34%] test/test_esapi.py::TestEsys::test_pcr_reset FAILED [ 34%] test/test_esapi.py::TestEsys::test_pcr_set_auth_policy FAILED [ 34%] test/test_esapi.py::TestEsys::test_pcr_set_auth_value FAILED [ 35%] test/test_esapi.py::TestEsys::test_plain_nv_define_write_read_undefine FAILED [ 35%] test/test_esapi.py::TestEsys::test_policy_ac_send_select SKIPPED [ 35%] test/test_esapi.py::TestEsys::test_policy_auth_value FAILED [ 35%] test/test_esapi.py::TestEsys::test_policy_authorize FAILED [ 35%] test/test_esapi.py::TestEsys::test_policy_authorize_nv FAILED [ 35%] test/test_esapi.py::TestEsys::test_policy_command_code FAILED [ 36%] test/test_esapi.py::TestEsys::test_policy_counter_timer FAILED [ 36%] test/test_esapi.py::TestEsys::test_policy_cp_hash FAILED [ 36%] test/test_esapi.py::TestEsys::test_policy_duplication_select FAILED [ 36%] test/test_esapi.py::TestEsys::test_policy_get_digest FAILED [ 36%] test/test_esapi.py::TestEsys::test_policy_locality FAILED [ 36%] test/test_esapi.py::TestEsys::test_policy_name_hash FAILED [ 37%] test/test_esapi.py::TestEsys::test_policy_nv FAILED [ 37%] test/test_esapi.py::TestEsys::test_policy_nv_written FAILED [ 37%] test/test_esapi.py::TestEsys::test_policy_or FAILED [ 37%] test/test_esapi.py::TestEsys::test_policy_password FAILED [ 37%] test/test_esapi.py::TestEsys::test_policy_pcr FAILED [ 37%] test/test_esapi.py::TestEsys::test_policy_physical_presence FAILED [ 37%] test/test_esapi.py::TestEsys::test_policy_secret FAILED [ 38%] test/test_esapi.py::TestEsys::test_policy_signed FAILED [ 38%] test/test_esapi.py::TestEsys::test_policy_template FAILED [ 38%] test/test_esapi.py::TestEsys::test_policy_ticket FAILED [ 38%] test/test_esapi.py::TestEsys::test_policyrestart FAILED [ 38%] test/test_esapi.py::TestEsys::test_pp_commands FAILED [ 38%] test/test_esapi.py::TestEsys::test_quote FAILED [ 39%] test/test_esapi.py::TestEsys::test_read_clock FAILED [ 39%] test/test_esapi.py::TestEsys::test_readpublic FAILED [ 39%] test/test_esapi.py::TestEsys::test_ref_parent FAILED [ 39%] test/test_esapi.py::TestEsys::test_rewrap FAILED [ 39%] test/test_esapi.py::TestEsys::test_rsa_enc_dec FAILED [ 39%] test/test_esapi.py::TestEsys::test_rsa_enc_dec_with_label FAILED [ 40%] test/test_esapi.py::TestEsys::test_set_algorithm_set FAILED [ 40%] test/test_esapi.py::TestEsys::test_set_command_code_audit_status FAILED [ 40%] test/test_esapi.py::TestEsys::test_set_primary_policy FAILED [ 40%] test/test_esapi.py::TestEsys::test_shutdown_bad FAILED [ 40%] test/test_esapi.py::TestEsys::test_shutdown_clear FAILED [ 40%] test/test_esapi.py::TestEsys::test_shutdown_no_arg FAILED [ 41%] test/test_esapi.py::TestEsys::test_shutdown_state FAILED [ 41%] test/test_esapi.py::TestEsys::test_sign FAILED [ 41%] test/test_esapi.py::TestEsys::test_start_auth_session_enckey FAILED [ 41%] test/test_esapi.py::TestEsys::test_start_auth_session_enckey_bindkey FAILED [ 41%] test/test_esapi.py::TestEsys::test_start_auth_session_noncecaller FAILED [ 41%] test/test_esapi.py::TestEsys::test_start_auth_session_noncecaller_bad FAILED [ 42%] test/test_esapi.py::TestEsys::test_stir_random FAILED [ 42%] test/test_esapi.py::TestEsys::test_test_parms FAILED [ 42%] test/test_esapi.py::TestEsys::test_tr_get_tpm_handle FAILED [ 42%] test/test_esapi.py::TestEsys::test_tr_parts_to_blob FAILED [ 42%] test/test_esapi.py::TestEsys::test_tr_sess_set_attributes FAILED [ 42%] test/test_esapi.py::TestEsys::test_trsess_get_attributes FAILED [ 43%] test/test_esapi.py::TestEsys::test_unseal FAILED [ 43%] test/test_esapi.py::TestEsys::test_vendor_tcg_test FAILED [ 43%] test/test_esapi.py::TestEsys::test_verify_signature FAILED [ 43%] test/test_esapi.py::TestEsys::test_z_gen_2_phase FAILED [ 43%] test/test_exception.py::ExceptionTest::test_fmt1 PASSED [ 43%] test/test_exception.py::ExceptionTest::test_handle PASSED [ 44%] test/test_exception.py::ExceptionTest::test_input_types PASSED [ 44%] test/test_exception.py::ExceptionTest::test_non_fmt1 PASSED [ 44%] test/test_exception.py::ExceptionTest::test_parameter PASSED [ 44%] test/test_exception.py::ExceptionTest::test_session PASSED [ 44%] test/test_fapi.py::TestFapiECC::test_provision_ok ERROR [ 44%] test/test_fapi.py::TestFapiECC::test_provision_fail ERROR [ 45%] test/test_fapi.py::TestFapiECC::test_get_random ERROR [ 45%] test/test_fapi.py::TestFapiECC::test_get_random_zero ERROR [ 45%] test/test_fapi.py::TestFapiECC::test_get_random_large ERROR [ 45%] test/test_fapi.py::TestFapiECC::test_get_random_negative ERROR [ 45%] test/test_fapi.py::TestFapiECC::test_get_info ERROR [ 45%] test/test_fapi.py::TestFapiECC::test_list ERROR [ 46%] test/test_fapi.py::TestFapiECC::test_list_search_path ERROR [ 46%] test/test_fapi.py::TestFapiECC::test_list_bad_search_path ERROR [ 46%] test/test_fapi.py::TestFapiECC::test_create_key ERROR [ 46%] test/test_fapi.py::TestFapiECC::test_create_key_double_ok ERROR [ 46%] test/test_fapi.py::TestFapiECC::test_create_key_double_fail ERROR [ 46%] test/test_fapi.py::TestFapiECC::test_get_esys_blob_contextload ERROR [ 47%] test/test_fapi.py::TestFapiECC::test_get_esys_blob_bad ERROR [ 47%] test/test_fapi.py::TestFapiECC::test_get_esys_blob_deserialize ERROR [ 47%] test/test_fapi.py::TestFapiECC::test_verify ERROR [ 47%] test/test_fapi.py::TestFapiECC::test_verify_fail ERROR [ 47%] test/test_fapi.py::TestFapiECC::test_import_key_double_ok ERROR [ 47%] test/test_fapi.py::TestFapiECC::test_import_key_double_fail ERROR [ 48%] test/test_fapi.py::TestFapiECC::test_import_policy_double_ok ERROR [ 48%] test/test_fapi.py::TestFapiECC::test_import_policy_double_fail ERROR [ 48%] test/test_fapi.py::TestFapiECC::test_import_exported_key ERROR [ 48%] test/test_fapi.py::TestFapiECC::test_export_imported_policy ERROR [ 48%] test/test_fapi.py::TestFapiECC::test_create_seal ERROR [ 48%] test/test_fapi.py::TestFapiECC::test_create_seal_double_ok ERROR [ 49%] test/test_fapi.py::TestFapiECC::test_create_seal_double_fail ERROR [ 49%] test/test_fapi.py::TestFapiECC::test_create_seal_random ERROR [ 49%] test/test_fapi.py::TestFapiECC::test_create_seal_both_data_and_size_fail ERROR [ 49%] test/test_fapi.py::TestFapiECC::test_create_seal_neither_data_nor_size_fail ERROR [ 49%] test/test_fapi.py::TestFapiECC::test_unseal ERROR [ 49%] test/test_fapi.py::TestFapiECC::test_quote_verify ERROR [ 50%] test/test_fapi.py::TestFapiECC::test_export_key ERROR [ 50%] test/test_fapi.py::TestFapiECC::test_delete_key ERROR [ 50%] test/test_fapi.py::TestFapiECC::test_set_get_description ERROR [ 50%] test/test_fapi.py::TestFapiECC::test_get_empty_description ERROR [ 50%] test/test_fapi.py::TestFapiECC::test_set_get_app_data ERROR [ 50%] test/test_fapi.py::TestFapiECC::test_get_no_app_data ERROR [ 50%] test/test_fapi.py::TestFapiECC::test_set_get_certificate ERROR [ 51%] test/test_fapi.py::TestFapiECC::test_get_empty_certificate ERROR [ 51%] test/test_fapi.py::TestFapiECC::test_get_empty_platform_certificates_ok ERROR [ 51%] test/test_fapi.py::TestFapiECC::test_get_empty_platform_certificates_fail ERROR [ 51%] test/test_fapi.py::TestFapiECC::test_pcr_read ERROR [ 51%] test/test_fapi.py::TestFapiECC::test_pcr_extend_read ERROR [ 51%] test/test_fapi.py::TestFapiECC::test_nv_write_read ERROR [ 52%] test/test_fapi.py::TestFapiECC::test_nv_increment ERROR [ 52%] test/test_fapi.py::TestFapiECC::test_nv_pcr ERROR [ 52%] test/test_fapi.py::TestFapiECC::test_nv_set_bits ERROR [ 52%] test/test_fapi.py::TestFapiECC::test_set_auth_callback ERROR [ 52%] test/test_fapi.py::TestFapiECC::test_unset_auth_callback ERROR [ 52%] test/test_fapi.py::TestFapiECC::test_write_authorize_nv ERROR [ 53%] test/test_fapi.py::TestFapiECC::test_authorize_policy ERROR [ 53%] test/test_fapi.py::TestFapiECC::test_policy_signed ERROR [ 53%] test/test_fapi.py::TestFapiECC::test_policy_branched ERROR [ 53%] test/test_fapi.py::TestFapiECC::test_policy_action ERROR [ 53%] test/test_fapi.py::TestFapiECC::test_nv_create_double_ok ERROR [ 53%] test/test_fapi.py::TestFapiECC::test_nv_create_double_fail ERROR [ 54%] test/test_fapi.py::TestFapiECC::test_sign ERROR [ 54%] test/test_fapi.py::TestFapiECC::test_get_tpm_blobs ERROR [ 54%] test/test_fapi.py::TestFapiRSA::test_provision_ok ERROR [ 54%] test/test_fapi.py::TestFapiRSA::test_provision_fail ERROR [ 54%] test/test_fapi.py::TestFapiRSA::test_get_random ERROR [ 54%] test/test_fapi.py::TestFapiRSA::test_get_random_zero ERROR [ 55%] test/test_fapi.py::TestFapiRSA::test_get_random_large ERROR [ 55%] test/test_fapi.py::TestFapiRSA::test_get_random_negative ERROR [ 55%] test/test_fapi.py::TestFapiRSA::test_get_info ERROR [ 55%] test/test_fapi.py::TestFapiRSA::test_list ERROR [ 55%] test/test_fapi.py::TestFapiRSA::test_list_search_path ERROR [ 55%] test/test_fapi.py::TestFapiRSA::test_list_bad_search_path ERROR [ 56%] test/test_fapi.py::TestFapiRSA::test_create_key ERROR [ 56%] test/test_fapi.py::TestFapiRSA::test_create_key_double_ok ERROR [ 56%] test/test_fapi.py::TestFapiRSA::test_create_key_double_fail ERROR [ 56%] test/test_fapi.py::TestFapiRSA::test_get_esys_blob_contextload ERROR [ 56%] test/test_fapi.py::TestFapiRSA::test_get_esys_blob_bad ERROR [ 56%] test/test_fapi.py::TestFapiRSA::test_get_esys_blob_deserialize ERROR [ 57%] test/test_fapi.py::TestFapiRSA::test_verify ERROR [ 57%] test/test_fapi.py::TestFapiRSA::test_verify_fail ERROR [ 57%] test/test_fapi.py::TestFapiRSA::test_import_key_double_ok ERROR [ 57%] test/test_fapi.py::TestFapiRSA::test_import_key_double_fail ERROR [ 57%] test/test_fapi.py::TestFapiRSA::test_import_policy_double_ok ERROR [ 57%] test/test_fapi.py::TestFapiRSA::test_import_policy_double_fail ERROR [ 58%] test/test_fapi.py::TestFapiRSA::test_import_exported_key ERROR [ 58%] test/test_fapi.py::TestFapiRSA::test_export_imported_policy ERROR [ 58%] test/test_fapi.py::TestFapiRSA::test_create_seal ERROR [ 58%] test/test_fapi.py::TestFapiRSA::test_create_seal_double_ok ERROR [ 58%] test/test_fapi.py::TestFapiRSA::test_create_seal_double_fail ERROR [ 58%] test/test_fapi.py::TestFapiRSA::test_create_seal_random ERROR [ 59%] test/test_fapi.py::TestFapiRSA::test_create_seal_both_data_and_size_fail ERROR [ 59%] test/test_fapi.py::TestFapiRSA::test_create_seal_neither_data_nor_size_fail ERROR [ 59%] test/test_fapi.py::TestFapiRSA::test_unseal ERROR [ 59%] test/test_fapi.py::TestFapiRSA::test_quote_verify ERROR [ 59%] test/test_fapi.py::TestFapiRSA::test_export_key ERROR [ 59%] test/test_fapi.py::TestFapiRSA::test_delete_key ERROR [ 60%] test/test_fapi.py::TestFapiRSA::test_set_get_description ERROR [ 60%] test/test_fapi.py::TestFapiRSA::test_get_empty_description ERROR [ 60%] test/test_fapi.py::TestFapiRSA::test_set_get_app_data ERROR [ 60%] test/test_fapi.py::TestFapiRSA::test_get_no_app_data ERROR [ 60%] test/test_fapi.py::TestFapiRSA::test_set_get_certificate ERROR [ 60%] test/test_fapi.py::TestFapiRSA::test_get_empty_certificate ERROR [ 61%] test/test_fapi.py::TestFapiRSA::test_get_empty_platform_certificates_ok ERROR [ 61%] test/test_fapi.py::TestFapiRSA::test_get_empty_platform_certificates_fail ERROR [ 61%] test/test_fapi.py::TestFapiRSA::test_pcr_read ERROR [ 61%] test/test_fapi.py::TestFapiRSA::test_pcr_extend_read ERROR [ 61%] test/test_fapi.py::TestFapiRSA::test_nv_write_read ERROR [ 61%] test/test_fapi.py::TestFapiRSA::test_nv_increment ERROR [ 62%] test/test_fapi.py::TestFapiRSA::test_nv_pcr ERROR [ 62%] test/test_fapi.py::TestFapiRSA::test_nv_set_bits ERROR [ 62%] test/test_fapi.py::TestFapiRSA::test_set_auth_callback ERROR [ 62%] test/test_fapi.py::TestFapiRSA::test_unset_auth_callback ERROR [ 62%] test/test_fapi.py::TestFapiRSA::test_write_authorize_nv ERROR [ 62%] test/test_fapi.py::TestFapiRSA::test_authorize_policy ERROR [ 62%] test/test_fapi.py::TestFapiRSA::test_policy_signed ERROR [ 63%] test/test_fapi.py::TestFapiRSA::test_policy_branched ERROR [ 63%] test/test_fapi.py::TestFapiRSA::test_policy_action ERROR [ 63%] test/test_fapi.py::TestFapiRSA::test_nv_create_double_ok ERROR [ 63%] test/test_fapi.py::TestFapiRSA::test_nv_create_double_fail ERROR [ 63%] test/test_fapi.py::TestFapiRSA::test_sign ERROR [ 63%] test/test_fapi.py::TestFapiRSA::test_get_tpm_blobs ERROR [ 64%] test/test_fapi.py::TestFapiRSA::test_encrypt_decrypt ERROR [ 64%] test/test_import.py::ImportTest::test_missing_symbol PASSED [ 64%] test/test_import.py::ImportTest::test_not_missing_symbol PASSED [ 64%] test/test_import.py::ImportTest::test_other_message PASSED [ 64%] test/test_internal.py::InternalTest::test_lib_version_strings PASSED [ 64%] test/test_policy.py::TestPolicy::test_calc_name_callback FAILED [ 65%] test/test_policy.py::TestPolicy::test_calc_nvpublic_callback FAILED [ 65%] test/test_policy.py::TestPolicy::test_calc_pcr_callback FAILED [ 65%] test/test_policy.py::TestPolicy::test_calc_public_callback FAILED [ 65%] test/test_policy.py::TestPolicy::test_callbacks FAILED [ 65%] test/test_policy.py::TestPolicy::test_exec_auth_callback FAILED [ 65%] test/test_policy.py::TestPolicy::test_exec_polaction_callback FAILED [ 66%] test/test_policy.py::TestPolicy::test_exec_polauth_callback FAILED [ 66%] test/test_policy.py::TestPolicy::test_exec_polauthnv_callback FAILED [ 66%] test/test_policy.py::TestPolicy::test_exec_poldup_callback FAILED [ 66%] test/test_policy.py::TestPolicy::test_exec_polsel_callback FAILED [ 66%] test/test_policy.py::TestPolicy::test_exec_sign_callback FAILED [ 66%] test/test_policy.py::TestPolicy::test_password_policy FAILED [ 67%] test/test_policy.py::TestPolicy::test_password_policy_execute FAILED [ 67%] test/test_tcti.py::TestTCTI::test_cancel FAILED [ 67%] test/test_tcti.py::TestTCTI::test_custom_pytcti_C_wrapper_transmit_receive FAILED [ 67%] test/test_tcti.py::TestTCTI::test_custom_pytcti_cancel FAILED [ 67%] test/test_tcti.py::TestTCTI::test_custom_pytcti_ctx_manager_finalize FAILED [ 67%] test/test_tcti.py::TestTCTI::test_custom_pytcti_esapi FAILED [ 68%] test/test_tcti.py::TestTCTI::test_custom_pytcti_finalize FAILED [ 68%] test/test_tcti.py::TestTCTI::test_custom_pytcti_finalize_error FAILED [ 68%] test/test_tcti.py::TestTCTI::test_custom_pytcti_get_poll_handles FAILED [ 68%] test/test_tcti.py::TestTCTI::test_custom_pytcti_magic FAILED [ 68%] test/test_tcti.py::TestTCTI::test_custom_pytcti_make_sticky FAILED [ 68%] test/test_tcti.py::TestTCTI::test_custom_pytcti_set_locality FAILED [ 69%] test/test_tcti.py::TestTCTI::test_custom_pytcti_version FAILED [ 69%] test/test_tcti.py::TestTCTI::test_finalize FAILED [ 69%] test/test_tcti.py::TestTCTI::test_get_poll_handles FAILED [ 69%] test/test_tcti.py::TestTCTI::test_init FAILED [ 69%] test/test_tcti.py::TestTCTI::test_is_available FAILED [ 69%] test/test_tcti.py::TestTCTI::test_make_sticky FAILED [ 70%] test/test_tcti.py::TestTCTI::test_set_locality FAILED [ 70%] test/test_tcti.py::TestTCTI::test_tctildr FAILED [ 70%] test/test_tcti.py::TestTCTI::test_transmit_receive FAILED [ 70%] test/test_tcti_spi_helper.py::TestTCTI::test_MyBadSPITcti PASSED [ 70%] test/test_tcti_spi_helper.py::TestTCTI::test_MyBadSPITcti2 PASSED [ 70%] test/test_tcti_spi_helper.py::TestTCTI::test_init_baseclase PASSED [ 71%] test/test_tcti_spi_helper.py::TestTCTI::test_init_baseclase_with_wait_state PASSED [ 71%] test/test_tcti_spi_helper.py::TestTCTI::test_spi_helper_good PASSED [ 71%] test/test_tcti_spi_helper.py::TestTCTI::test_with_exception_accross_c PASSED [ 71%] test/test_tsskey.py::TSSKeyTest::test_bad_oid FAILED [ 71%] test/test_tsskey.py::TSSKeyTest::test_bad_pem_type FAILED [ 71%] test/test_tsskey.py::TSSKeyTest::test_create_load_ecc FAILED [ 72%] test/test_tsskey.py::TSSKeyTest::test_create_load_ecc_password FAILED [ 72%] test/test_tsskey.py::TSSKeyTest::test_create_load_rsa FAILED [ 72%] test/test_tsskey.py::TSSKeyTest::test_create_no_password_load_password FAILED [ 72%] test/test_tsskey.py::TSSKeyTest::test_create_password_load_no_password FAILED [ 72%] test/test_tsskey.py::TSSKeyTest::test_no_ecc FAILED [ 72%] test/test_tsskey.py::TSSKeyTest::test_no_ecc_no_rsa FAILED [ 73%] test/test_tsskey.py::TSSKeyTest::test_persistent_parent_ecc FAILED [ 73%] test/test_tsskey.py::TSSKeyTest::test_persistent_parent_rsa FAILED [ 73%] test/test_tsskey.py::TSSKeyTest::test_rsa_frompem FAILED [ 73%] test/test_tsskey.py::TSSKeyTest::test_rsa_topem FAILED [ 73%] test/test_types.py::TypesTest::test_ESYS_TR PASSED [ 73%] test/test_types.py::TypesTest::test_TPM2B_AUTH_bad_fields PASSED [ 74%] test/test_types.py::TypesTest::test_TPM2B_AUTH_empty PASSED [ 74%] test/test_types.py::TypesTest::test_TPM2B_AUTH_empty_str PASSED [ 74%] test/test_types.py::TypesTest::test_TPM2B_AUTH_set_str PASSED [ 74%] test/test_types.py::TypesTest::test_TPM2B_PUBLIC PASSED [ 74%] test/test_types.py::TypesTest::test_TPM2B_PUBLIC_from_pem_strings PASSED [ 74%] test/test_types.py::TypesTest::test_TPM2B_PUBLIC_parse PASSED [ 75%] test/test_types.py::TypesTest::test_TPM2B_PUBLIC_specified_parts PASSED [ 75%] test/test_types.py::TypesTest::test_TPM2B_SENSITIVE_to_der PASSED [ 75%] test/test_types.py::TypesTest::test_TPM2B_SENSITIVE_to_pem PASSED [ 75%] test/test_types.py::TypesTest::test_TPM2B_SENSITIVE_to_ssh PASSED [ 75%] test/test_types.py::TypesTest::test_TPM2B_SIMPLE_OBJECT PASSED [ 75%] test/test_types.py::TypesTest::test_TPM2_ALG_parse PASSED [ 75%] test/test_types.py::TypesTest::test_TPM2_CC PASSED [ 76%] test/test_types.py::TypesTest::test_TPM2_ECC PASSED [ 76%] test/test_types.py::TypesTest::test_TPM2_EO PASSED [ 76%] test/test_types.py::TypesTest::test_TPM2_GENERATED_VALUE PASSED [ 76%] test/test_types.py::TypesTest::test_TPM2_PT PASSED [ 76%] test/test_types.py::TypesTest::test_TPM2_RC PASSED [ 76%] test/test_types.py::TypesTest::test_TPM2_RC_decode PASSED [ 77%] test/test_types.py::TypesTest::test_TPM2_SE PASSED [ 77%] test/test_types.py::TypesTest::test_TPM2_SPEC PASSED [ 77%] test/test_types.py::TypesTest::test_TPM2_ST PASSED [ 77%] test/test_types.py::TypesTest::test_TPM2_SU PASSED [ 77%] test/test_types.py::TypesTest::test_TPMA_CC PASSED [ 77%] test/test_types.py::TypesTest::test_TPMA_LOCALITY PASSED [ 78%] test/test_types.py::TypesTest::test_TPMA_NV PASSED [ 78%] test/test_types.py::TypesTest::test_TPMA_OBJECT PASSED [ 78%] test/test_types.py::TypesTest::test_TPMA_SESSION PASSED [ 78%] test/test_types.py::TypesTest::test_TPML_ALG_parse_bad PASSED [ 78%] test/test_types.py::TypesTest::test_TPML_ALG_parse_commas PASSED [ 78%] test/test_types.py::TypesTest::test_TPML_ALG_parse_double PASSED [ 79%] test/test_types.py::TypesTest::test_TPML_ALG_parse_double_extra_commas PASSED [ 79%] test/test_types.py::TypesTest::test_TPML_ALG_parse_double_mixed_case PASSED [ 79%] test/test_types.py::TypesTest::test_TPML_ALG_parse_double_spaces PASSED [ 79%] test/test_types.py::TypesTest::test_TPML_ALG_parse_empty PASSED [ 79%] test/test_types.py::TypesTest::test_TPML_ALG_parse_none PASSED [ 79%] test/test_types.py::TypesTest::test_TPML_ALG_parse_single PASSED [ 80%] test/test_types.py::TypesTest::test_TPML_ALG_setitem_single PASSED [ 80%] test/test_types.py::TypesTest::test_TPML_ALG_setitem_slices PASSED [ 80%] test/test_types.py::TypesTest::test_TPML_ALG_setitem_slices_set_list_with_int_key PASSED [ 80%] test/test_types.py::TypesTest::test_TPML_ALG_setitem_slices_with_step PASSED [ 80%] test/test_types.py::TypesTest::test_TPML_ALG_setitem_slices_with_too_few_unpack PASSED [ 80%] test/test_types.py::TypesTest::test_TPML_ALG_setitem_slices_with_too_many_unpack PASSED [ 81%] test/test_types.py::TypesTest::test_TPML_DIGEST PASSED [ 81%] test/test_types.py::TypesTest::test_TPML_DIGEST_VALUES PASSED [ 81%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_bad_selections PASSED [ 81%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_from_TPMS_PCR_SELECTION_list PASSED [ 81%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_iterator PASSED [ 81%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_parse_2_banks_all_friendly PASSED [ 82%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_parse_2_banks_mixed PASSED [ 82%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_parse_None PASSED [ 82%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_parse_empty_string PASSED [ 82%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_parse_gibberish PASSED [ 82%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_parse_plus_multiple PASSED [ 82%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_parse_plus_only PASSED [ 83%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_parse_plus_unbalanced PASSED [ 83%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_setattr_slice PASSED [ 83%] test/test_types.py::TypesTest::test_TPMS_CONTEXT_from_tools PASSED [ 83%] test/test_types.py::TypesTest::test_TPMS_ECC_POINT PASSED [ 83%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION PASSED [ 83%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION_parse PASSED [ 84%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION_parse_None PASSED [ 84%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION_parse_bank_and_garbage PASSED [ 84%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION_parse_empty PASSED [ 84%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION_parse_malformed PASSED [ 84%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION_parse_multiple_colons PASSED [ 84%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION_parse_only_bank_and_colon PASSED [ 85%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION_parse_only_colon PASSED [ 85%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION_parse_out_of_bounds_pcr PASSED [ 85%] test/test_types.py::TypesTest::test_TPMS_SENSITIVE_CREATE_with_string PASSED [ 85%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_empty PASSED [ 85%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_bad_params PASSED [ 85%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_camellia PASSED [ 86%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecc_all PASSED [ 86%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecc_camellia PASSED [ 86%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecc_ecdaa4 PASSED [ 86%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecc_ecdaa4_sha256 PASSED [ 86%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecc_plain PASSED [ 86%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecc_sm2 PASSED [ 87%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecc_sm4 PASSED [ 87%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecda_ecdh_sha384 PASSED [ 87%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecda_ecdsa_ecdh_ecschnorr PASSED [ 87%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_hmac PASSED [ 87%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_keyedhash PASSED [ 87%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_rsa PASSED [ 87%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_rsa2048_ PASSED [ 88%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_rsa2048_restricted PASSED [ 88%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_rsa_keysizes PASSED [ 88%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_rsa_oaep PASSED [ 88%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_rsa_rsaes PASSED [ 88%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_rsa_rsapss PASSED [ 88%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_rsaall_all PASSED [ 89%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_sm4 PASSED [ 89%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_xor PASSED [ 89%] test/test_types.py::TypesTest::test_TPMT_SENSITIVE_to_der PASSED [ 89%] test/test_types.py::TypesTest::test_TPMT_SENSITIVE_to_pem PASSED [ 89%] test/test_types.py::TypesTest::test_TPMT_SENSITIVE_to_ssh PASSED [ 89%] test/test_types.py::TypesTest::test_TPMT_SIGNATURE PASSED [ 90%] test/test_types.py::TypesTest::test_TPMT_SYM_DEF_OBJECT_parse PASSED [ 90%] test/test_types.py::TypesTest::test_TPMT_SYM_DEF_parse PASSED [ 90%] test/test_types.py::TypesTest::test_TPM_FRIENDLY_INTLIST_math PASSED [ 90%] test/test_types.py::TypesTest::test_TPM_FRIENDLY_INTLIST_str PASSED [ 90%] test/test_types.py::TypesTest::test_TPM_FRIENDLY_INT_bad_to_string PASSED [ 90%] test/test_types.py::TypesTest::test_TPM_FRIENDLY_INT_contains PASSED [ 91%] test/test_types.py::TypesTest::test_TPM_FRIENDLY_INT_iterator PASSED [ 91%] test/test_types.py::TypesTest::test_TPM_FRIENDLY_INT_str PASSED [ 91%] test/test_types.py::TypesTest::test_TPM_FRIENDLY_INT_type PASSED [ 91%] test/test_types.py::TypesTest::test_TPM_OBJECT_init PASSED [ 91%] test/test_types.py::TypesTest::test_TPM_OBJECT_init_cdata PASSED [ 91%] test/test_types.py::TypesTest::test_TSS2_OBJECT PASSED [ 92%] test/test_types.py::TypesTest::test_TSS2_POLICY_PCR_SELECTION PASSED [ 92%] test/test_types.py::TypesTest::test_TSS2_POLICY_PCR_SELECTIONS PASSED [ 92%] test/test_types.py::TypesTest::test_TSS2_RC_decode PASSED [ 92%] test/test_types.py::TypesTest::test_bad_assigment PASSED [ 92%] test/test_types.py::TypesTest::test_constants_marshal PASSED [ 92%] test/test_types.py::TypesTest::test_constants_unmarshal PASSED [ 93%] test/test_types.py::TypesTest::test_copy_constructor PASSED [ 93%] test/test_types.py::TypesTest::test_list_type_map PASSED [ 93%] test/test_types.py::TypesTest::test_marshal PASSED [ 93%] test/test_types.py::TypesTest::test_scalar_data PASSED [ 93%] test/test_types.py::TypesTest::test_struct_equal PASSED [ 93%] test/test_types.py::TypesTest::test_struct_not_equal PASSED [ 94%] test/test_types.py::TypesTest::test_struct_not_equal_different_types PASSED [ 94%] test/test_types.py::TypesTest::test_struct_type_map PASSED [ 94%] test/test_types.py::TypesTest::test_tpm2_handle_marshal PASSED [ 94%] test/test_types.py::TypesTest::test_tpm2_handle_unmarshal PASSED [ 94%] test/test_types.py::TypesTest::test_union_marshal PASSED [ 94%] test/test_types.py::TypesTest::test_union_unmarshal 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_ecc_aes256 FAILED [ 95%] test/test_utils.py::TestUtils::test_MakeCredential_rsa FAILED [ 95%] 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 [ 96%] 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 [ 97%] 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 [ 98%] 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_p521_parent_rsa_child 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:253: 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:375:ifapi_io_check_create_dir() Directory /tmp/tmpsb7py5lm/policy does not exist, creating swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ERROR:fapi:src/tss2-fapi/api/Fapi_Initialize.c:227: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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:375:ifapi_io_check_create_dir() Directory /tmp/tmpcsdybntm/policy does not exist, creating WARNING:tcti:src/util-io/io.c:255:socket_connect() Failed to connect to host 127.0.0.1, port 55023: errno 111: Connection refused ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:571:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ERROR:fapi:src/tss2-fapi/api/Fapi_Initialize.c:227: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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:253: 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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________ CryptoTest.test_verify_signature_rsapss ____________________ self = def setUp(self): > super().setUp() test/test_crypto.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430: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:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestCryptography.test_cert_builder_ecc ____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestCryptography.test_cert_builder_rsa ____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestCryptography.test_csr_builder_ecc _____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestCryptography.test_csr_builder_rsa _____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestCryptography.test_ecc_copy ________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________ TestCryptography.test_ecc_different_curves __________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestCryptography.test_ecc_exchange ______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestCryptography.test_ecc_key _________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestCryptography.test_ecc_key_bad_type ____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestCryptography.test_ecc_key_restricted ___________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestCryptography.test_ecc_no_decrypt _____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestCryptography.test_ecc_no_sign _______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestCryptography.test_ecc_prehashed ______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestCryptography.test_ecc_sign ________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________ TestCryptography.test_ecc_sign_with_scheme __________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________ TestCryptography.test_ecc_unsupported_curve __________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________ TestCryptography.test_ecc_unsupported_scheme _________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestCryptography.test_rsa_copy ________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestCryptography.test_rsa_decrypt_oaep ____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________ TestCryptography.test_rsa_decrypt_pkcs1v15 __________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestCryptography.test_rsa_key _________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestCryptography.test_rsa_key_bad_type ____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestCryptography.test_rsa_key_restricted ___________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestCryptography.test_rsa_no_decrypt _____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestCryptography.test_rsa_no_sign _______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestCryptography.test_rsa_prehashed ______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestCryptography.test_rsa_sign_pkcs1v15 ____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestCryptography.test_rsa_sign_pss ______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________ TestCryptography.test_rsa_unsupported_decrypt_scheme _____________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _______________ TestCryptography.test_rsa_unsupported_sig_scheme _______________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________ TestCryptography.test_scheme_digest_mismatch _________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________ TestCryptography.test_scheme_digest_mismatch_oaep _______________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestCryptography.test_scheme_mismatch _____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestEsys.test_TPMS_CONTEXT_to_tools ______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_act_set_timeout _________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestEsys.test_activate_credential _______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________________________ TestEsys.test_certify _____________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_certify_creation ________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_certify_x509 __________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_change_eps ___________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_change_pps ___________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________________________ TestEsys.test_clear ______________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_clearcontrol __________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestEsys.test_clock_rate_adjust ________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_clock_set ____________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________________________ TestEsys.test_commit _____________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestEsys.test_context_save_context_load ____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________________________ TestEsys.test_create _____________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_create_none ___________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_create_primary _________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestEsys.test_create_primary_none _______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_createloaded __________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestEsys.test_createloaded_none ________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________ TestEsys.test_dictionary_attack_lock_reset __________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________ TestEsys.test_dictionary_attack_parameters __________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_double_close __________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_duplicate ____________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_ecc_parameters _________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_ecdh_key_gen __________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_ecdh_z_gen ___________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_encrypt_decrypt _________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_encrypt_decrypt2 ________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________ TestEsys.test_esys_tr_context_manager_hmac_session ______________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________ TestEsys.test_esys_tr_context_manager_owner __________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________ TestEsys.test_esys_tr_context_manager_policy_session _____________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _______________ TestEsys.test_esys_tr_context_manager_transient ________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestEsys.test_esys_tr_functions ________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestEsys.test_event_sequence_complete _____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_evict_control __________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestEsys.test_field_upgrade_data _______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestEsys.test_field_upgrade_start _______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_firmware_read __________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_flush_context __________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_fulltest_no ___________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_fulltest_yes __________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_get_capability _________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestEsys.test_get_command_audit_digest ____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_get_random ___________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestEsys.test_get_session_audit_digest ____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________________________ TestEsys.test_get_time ____________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________________________ TestEsys.test_gettcti _____________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________________ TestEsys.test_hash ______________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_hash_sequence __________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestEsys.test_hierarchy_control ________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestEsys.test_hierarchychangeauth _______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________________ TestEsys.test_hmac ______________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_hmac_sequence __________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_hmac_session __________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________________________ TestEsys.test_import _____________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestEsys.test_incremental_resume_test _____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestEsys.test_incremental_self_test ______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________________ TestEsys.test_load ______________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_make_credential _________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_nv_certify ___________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_nv_change_auth _________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_nv_extend ____________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestEsys.test_nv_global_write_lock ______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_nv_increment __________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_nv_read_lock __________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_nv_read_public _________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_nv_set_bits ___________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestEsys.test_nv_undefine_space_special ____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_nv_write_lock __________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestEsys.test_object_change_auth _______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_pcr_allocate __________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_pcr_event ____________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_pcr_extend ___________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________________________ TestEsys.test_pcr_read ____________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_pcr_reset ____________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestEsys.test_pcr_set_auth_policy _______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestEsys.test_pcr_set_auth_value _______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________ TestEsys.test_plain_nv_define_write_read_undefine _______________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestEsys.test_policy_auth_value ________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_policy_authorize ________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestEsys.test_policy_authorize_nv _______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestEsys.test_policy_command_code _______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestEsys.test_policy_counter_timer ______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_policy_cp_hash _________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestEsys.test_policy_duplication_select ____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestEsys.test_policy_get_digest ________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_policy_locality _________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_policy_name_hash ________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_policy_nv ____________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestEsys.test_policy_nv_written ________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_policy_or ____________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_policy_password _________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_policy_pcr ___________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestEsys.test_policy_physical_presence ____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_policy_secret __________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_policy_signed __________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_policy_template _________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_policy_ticket __________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_policyrestart __________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_pp_commands ___________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________________________ TestEsys.test_quote ______________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_read_clock ___________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_readpublic ___________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_ref_parent ___________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________________________ TestEsys.test_rewrap _____________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_rsa_enc_dec ___________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestEsys.test_rsa_enc_dec_with_label _____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestEsys.test_set_algorithm_set ________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________ TestEsys.test_set_command_code_audit_status __________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestEsys.test_set_primary_policy _______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_shutdown_bad __________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_shutdown_clear _________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_shutdown_no_arg _________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_shutdown_state _________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________________ TestEsys.test_sign ______________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestEsys.test_start_auth_session_enckey ____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _______________ TestEsys.test_start_auth_session_enckey_bindkey ________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________ TestEsys.test_start_auth_session_noncecaller _________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _______________ TestEsys.test_start_auth_session_noncecaller_bad _______________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestEsys.test_stir_random ___________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestEsys.test_test_parms ___________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestEsys.test_tr_get_tpm_handle ________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_tr_parts_to_blob ________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestEsys.test_tr_sess_set_attributes _____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestEsys.test_trsess_get_attributes ______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________________________ TestEsys.test_unseal _____________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: Could not open TCP socket: Address already in use swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_vendor_tcg_test _________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestEsys.test_verify_signature ________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestEsys.test_z_gen_2_phase __________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestPolicy.test_calc_name_callback ______________________ self = def setUp(self): > super().setUp() test/test_policy.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestPolicy.test_calc_nvpublic_callback ____________________ self = def setUp(self): > super().setUp() test/test_policy.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestPolicy.test_calc_pcr_callback _______________________ self = def setUp(self): > super().setUp() test/test_policy.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestPolicy.test_calc_public_callback _____________________ self = def setUp(self): > super().setUp() test/test_policy.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestPolicy.test_callbacks ___________________________ self = def setUp(self): > super().setUp() test/test_policy.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestPolicy.test_exec_auth_callback ______________________ self = def setUp(self): > super().setUp() test/test_policy.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestPolicy.test_exec_polaction_callback ____________________ self = def setUp(self): > super().setUp() test/test_policy.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestPolicy.test_exec_polauth_callback _____________________ self = def setUp(self): > super().setUp() test/test_policy.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestPolicy.test_exec_polauthnv_callback ____________________ self = def setUp(self): > super().setUp() test/test_policy.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestPolicy.test_exec_poldup_callback _____________________ self = def setUp(self): > super().setUp() test/test_policy.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestPolicy.test_exec_polsel_callback _____________________ self = def setUp(self): > super().setUp() test/test_policy.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestPolicy.test_exec_sign_callback ______________________ self = def setUp(self): > super().setUp() test/test_policy.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestPolicy.test_password_policy ________________________ self = def setUp(self): > super().setUp() test/test_policy.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestPolicy.test_password_policy_execute ____________________ self = def setUp(self): > super().setUp() test/test_policy.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________________________ TestTCTI.test_cancel _____________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________ TestTCTI.test_custom_pytcti_C_wrapper_transmit_receive ____________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestTCTI.test_custom_pytcti_cancel ______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _______________ TestTCTI.test_custom_pytcti_ctx_manager_finalize _______________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestTCTI.test_custom_pytcti_esapi _______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestTCTI.test_custom_pytcti_finalize _____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________ TestTCTI.test_custom_pytcti_finalize_error __________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________ TestTCTI.test_custom_pytcti_get_poll_handles _________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestTCTI.test_custom_pytcti_magic _______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestTCTI.test_custom_pytcti_make_sticky ____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestTCTI.test_custom_pytcti_set_locality ___________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestTCTI.test_custom_pytcti_version ______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________________________ TestTCTI.test_finalize ____________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestTCTI.test_get_poll_handles ________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________________ TestTCTI.test_init ______________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestTCTI.test_is_available __________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestTCTI.test_make_sticky ___________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TestTCTI.test_set_locality __________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________________________ TestTCTI.test_tctildr _____________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TestTCTI.test_transmit_receive ________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TSSKeyTest.test_bad_oid ____________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TSSKeyTest.test_bad_pem_type _________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TSSKeyTest.test_create_load_ecc ________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TSSKeyTest.test_create_load_ecc_password ___________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TSSKeyTest.test_create_load_rsa ________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _______________ TSSKeyTest.test_create_no_password_load_password _______________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _______________ TSSKeyTest.test_create_password_load_no_password _______________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________________________ TSSKeyTest.test_no_ecc ____________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ________________________ TSSKeyTest.test_no_ecc_no_rsa _________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TSSKeyTest.test_persistent_parent_ecc _____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TSSKeyTest.test_persistent_parent_rsa _____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TSSKeyTest.test_rsa_frompem __________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________________ TSSKeyTest.test_rsa_topem ___________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestUtils.test_MakeCredential_ecc _______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestUtils.test_MakeCredential_ecc_aes256 ___________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestUtils.test_MakeCredential_rsa _______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestUtils.test_Wrap_ecc ____________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________________ TestUtils.test_Wrap_rsa ____________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestUtils.test_create_ek_bad _________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestUtils.test_create_ek_ecc _________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestUtils.test_create_ek_high_ecc256 _____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________________ TestUtils.test_create_ek_high_ecc384 _____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestUtils.test_create_ek_high_rsa2048 _____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________________ TestUtils.test_create_ek_rsa _________________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestUtils.test_create_ek_template _______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestUtils.test_credential_to_tools ______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ___________________ TestUtils.test_credential_to_tools_bytes ___________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestUtils.test_generate_seed_ecc _______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _______________________ TestUtils.test_generate_seed_rsa _______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _________________ TestUtils.test_make_credential_ecc_camellia __________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ____________________ TestUtils.test_make_credential_ecc_sm4 ____________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________________ TestUtils.test_tools_to_credential ______________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _______________ TestUtils.test_tools_to_credential_invalid_magic _______________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ______________ TestUtils.test_tools_to_credential_invalid_version ______________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ________ TestUtils.test_tpm_export_rsa_child_rsa_parent_with_inner_key _________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________ TestUtils.test_unmarshal_tools_pcr_values ___________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI ________________ TestUtils.test_unwrap_ec_p521_parent_rsa_child ________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________ TestUtils.test_unwrap_ec_parent_rsa_child ___________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________ TestUtils.test_unwrap_ec_parent_rsa_child_outerwrap ______________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI __________________ TestUtils.test_unwrap_rsa_parent_rsa_child __________________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI _____________ TestUtils.test_unwrap_rsa_parent_rsa_child_outerwrap _____________ test/TSS2_BaseTest.py:208: in setUp raise e test/TSS2_BaseTest.py:203: in setUp with ESAPI(self.tpm.tcti_name_conf) as ectx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/ESAPI.py:124: in __init__ tcti = TCTILdr.parse(tcti) ^^^^^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:54: in parse return cls(name, conf) ^^^^^^^^^^^^^^^ build/lib.linux-riscv64-cpython-314/tpm2_pytss/TCTILdr.py:29: in __init__ _chkrc(lib.Tss2_TctiLdr_Initialize_Ex(name, conf, self._ctx_pp)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_from_file() Could not initialize TCTI file: swtpm ERROR:tcti:src/tss2-tcti/tctildr.c:430:tctildr_init_context_data() Failed to instantiate TCTI =========================== 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_signature_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_esapi.py::TestEsys::test_TPMS_CONTEXT_to_tools - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_act_set_timeout - 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_certify_x509 - 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_context_manager_hmac_session - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_esys_tr_context_manager_owner - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_esys_tr_context_manager_policy_session - tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure FAILED test/test_esapi.py::TestEsys::test_esys_tr_context_manager_transient - 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_trsess_get_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_ecc_aes256 - 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_p521_parent_rsa_child - 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 ===== 286 failed, 199 passed, 4 skipped, 119 errors in 1926.17s (0:32:06) ====== ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix-0/build receiving incremental file list python-tpm2-pytss-3.0.0-1-riscv64-build.log python-tpm2-pytss-3.0.0-1-riscv64-check.log sent 62 bytes received 22,291 bytes 8,941.20 bytes/sec total size is 797,072 speedup is 35.66