==>(B Building on ninetales(B ==>(B Checking for remote environment...(B ==>(B Syncing package to remote host...(B sending incremental file list ./ .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 713 100% 696.29kB/s 0:00:00 713 100% 696.29kB/s 0:00:00 (xfr#6, to-chk=5/12) LICENSES/ LICENSES/0BSD.txt -> ../LICENSE keys/ keys/pgp/ keys/pgp/5B482B8E3E19DA7C978E1D016DE2E9078E1F50C1.asc 700 22% 75.95kB/s 0:00:00 3,106 100% 337.02kB/s 0:00:00 (xfr#7, to-chk=0/12) sent 2,852 bytes received 223 bytes 1,230.00 bytes/sec total size is 6,965 speedup is 2.27 ==>(B Patching arch to riscv64...(B ==>(B Running pkgctl build --arch riscv64 on remote host...(B ==> WARNING:(B invalid architecture: riscv64(B ==>(B Updating pacman database cache(B ==>(B Locking pacman database cache...(Bdone(B [?25l:: Synchronizing package databases... core downloading... extra downloading... multilib downloading... [?25h==>(B Building python-tpm2-pytss(B  ->(B repo: extra(B  ->(B arch: riscv64(B  ->(B worker: felix-2(B ==>(B Building python-tpm2-pytss for [extra] (riscv64)(B ]3008;start=f798ad00f8154f4884f5950c224f7a8f;user=felix;hostname=ninetales.felixc.at;machineid=a0e69ac38f6542109165b134ff0addd5;bootid=b9d951ff1e1a4e8b91a956a952cb6043;pid=1160759;pidfdid=17961128;comm=sudo;targetuser=root;type=session\==>(B Locking clean chroot...(Bdone(B Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file. ]3008;start=763c74384cd748cfafbd24fd7ebc7902;user=root;hostname=ninetales.felixc.at;machineid=a0e69ac38f6542109165b134ff0addd5;bootid=b9d951ff1e1a4e8b91a956a952cb6043;pid=1161297;pidfdid=17926583;comm=systemd-nspawn;container=arch-nspawn-1161297;type=container\]11;?\]2;🔵 Container arch-nspawn-1161297 on ninetales.felixc.at\[?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h[!p]104\[?7h]3008;end=763c74384cd748cfafbd24fd7ebc7902\==>(B Building in chroot for [extra] (riscv64)...(B ==>(B Locking clean chroot [/var/lib/archbuild/extra-riscv64/root]...(Bdone(B ==>(B Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix-2]...(Bdone(B ]3008;start=d36af3aea5c24c5dae1017f3bacbae02;user=root;hostname=ninetales.felixc.at;machineid=a0e69ac38f6542109165b134ff0addd5;bootid=b9d951ff1e1a4e8b91a956a952cb6043;pid=1166081;pidfdid=17961559;comm=sudo;targetuser=felix;type=session\==>(B Making package: python-tpm2-pytss 3.0.0-1 (Tue Sep 8 13:40:01 2026)(B ==>(B Retrieving sources...(B  ->(B Updating tpm2-pytss git repo...(B From https://github.com/tpm2-software/tpm2-pytss - [deleted] (none) -> refs/pull/387/merge - [deleted] (none) -> refs/pull/398/merge - [deleted] (none) -> refs/pull/510/merge - [deleted] (none) -> refs/pull/512/merge remote: Enumerating objects: 1135, done. remote: Counting objects: 0% (1/499) remote: Counting objects: 1% (5/499) remote: Counting objects: 2% (10/499) remote: Counting objects: 3% (15/499) remote: Counting objects: 4% (20/499) remote: Counting objects: 5% (25/499) remote: Counting objects: 6% (30/499) remote: Counting objects: 7% (35/499) remote: Counting objects: 8% (40/499) remote: Counting objects: 9% (45/499) remote: Counting objects: 10% (50/499) remote: Counting objects: 11% (55/499) remote: Counting objects: 12% (60/499) remote: Counting objects: 13% (65/499) remote: Counting objects: 14% (70/499) remote: Counting objects: 15% (75/499) remote: Counting objects: 16% (80/499) remote: Counting objects: 17% (85/499) remote: Counting objects: 18% (90/499) remote: Counting objects: 19% (95/499) remote: Counting objects: 20% (100/499) remote: Counting objects: 21% (105/499) remote: Counting objects: 22% (110/499) remote: Counting objects: 23% (115/499) remote: Counting objects: 24% (120/499) remote: Counting objects: 25% (125/499) remote: Counting objects: 26% (130/499) remote: Counting objects: 27% (135/499) remote: Counting objects: 28% (140/499) remote: Counting objects: 29% (145/499) remote: Counting objects: 30% (150/499) remote: Counting objects: 31% (155/499) remote: Counting objects: 32% (160/499) remote: Counting objects: 33% (165/499) remote: Counting objects: 34% (170/499) remote: Counting objects: 35% (175/499) remote: Counting objects: 36% (180/499) remote: Counting objects: 37% (185/499) remote: Counting objects: 38% (190/499) remote: Counting objects: 39% (195/499) remote: Counting objects: 40% (200/499) remote: Counting objects: 41% (205/499) remote: Counting objects: 42% (210/499) remote: Counting objects: 43% (215/499) remote: Counting objects: 44% (220/499) remote: Counting objects: 45% (225/499) remote: Counting objects: 46% (230/499) remote: Counting objects: 47% (235/499) remote: Counting objects: 48% (240/499) remote: Counting objects: 49% (245/499) remote: Counting objects: 50% (250/499) remote: Counting objects: 51% (255/499) remote: Counting objects: 52% (260/499) remote: Counting objects: 53% (265/499) remote: Counting objects: 54% (270/499) remote: Counting objects: 55% (275/499) remote: Counting objects: 56% (280/499) remote: Counting objects: 57% (285/499) remote: Counting objects: 58% (290/499) remote: Counting objects: 59% (295/499) remote: Counting objects: 60% (300/499) remote: Counting objects: 61% (305/499) remote: Counting objects: 62% (310/499) remote: Counting objects: 63% (315/499) remote: Counting objects: 64% (320/499) remote: Counting objects: 65% (325/499) remote: Counting objects: 66% (330/499) remote: Counting objects: 67% (335/499) remote: Counting objects: 68% (340/499) remote: Counting objects: 69% (345/499) remote: Counting objects: 70% (350/499) remote: Counting objects: 71% (355/499) remote: Counting objects: 72% (360/499) remote: Counting objects: 73% (365/499) remote: Counting objects: 74% (370/499) remote: Counting objects: 75% (375/499) remote: Counting objects: 76% (380/499) remote: Counting objects: 77% (385/499) remote: Counting objects: 78% (390/499) remote: Counting objects: 79% (395/499) remote: Counting objects: 80% (400/499) remote: Counting objects: 81% (405/499) remote: Counting objects: 82% (410/499) remote: Counting objects: 83% (415/499) remote: Counting objects: 84% (420/499) remote: Counting objects: 85% (425/499) remote: Counting objects: 86% (430/499) remote: Counting objects: 87% (435/499) remote: Counting objects: 88% (440/499) remote: Counting objects: 89% (445/499) remote: Counting objects: 90% (450/499) remote: Counting objects: 91% (455/499) remote: Counting objects: 92% (460/499) remote: Counting objects: 93% (465/499) remote: Counting objects: 94% (470/499) remote: Counting objects: 95% (475/499) remote: Counting objects: 96% (480/499) remote: Counting objects: 97% (485/499) remote: Counting objects: 98% (490/499) remote: Counting objects: 99% (495/499) remote: Counting objects: 100% (499/499) remote: Counting objects: 100% (499/499), done. remote: Compressing objects: 0% (1/221) remote: Compressing objects: 1% (3/221) remote: Compressing objects: 2% (5/221) remote: Compressing objects: 3% (7/221) remote: Compressing objects: 4% (9/221) remote: Compressing objects: 5% (12/221) remote: Compressing objects: 6% (14/221) remote: Compressing objects: 7% (16/221) remote: Compressing objects: 8% (18/221) remote: Compressing objects: 9% (20/221) remote: Compressing objects: 10% (23/221) remote: Compressing objects: 11% (25/221) remote: Compressing objects: 12% (27/221) remote: Compressing objects: 13% (29/221) remote: Compressing objects: 14% (31/221) remote: Compressing objects: 15% (34/221) remote: Compressing objects: 16% (36/221) remote: Compressing objects: 17% (38/221) remote: Compressing objects: 18% (40/221) remote: Compressing objects: 19% (42/221) remote: Compressing objects: 20% (45/221) remote: Compressing objects: 21% (47/221) remote: Compressing objects: 22% (49/221) remote: Compressing objects: 23% (51/221) remote: Compressing objects: 24% (54/221) remote: Compressing objects: 25% (56/221) remote: Compressing objects: 26% (58/221) remote: Compressing objects: 27% (60/221) remote: Compressing objects: 28% (62/221) remote: Compressing objects: 29% (65/221) remote: Compressing objects: 30% (67/221) remote: Compressing objects: 31% (69/221) remote: Compressing objects: 32% (71/221) remote: Compressing objects: 33% (73/221) remote: Compressing objects: 34% (76/221) remote: Compressing objects: 35% (78/221) remote: Compressing objects: 36% (80/221) remote: Compressing objects: 37% (82/221) remote: Compressing objects: 38% (84/221) remote: Compressing objects: 39% (87/221) remote: Compressing objects: 40% (89/221) remote: Compressing objects: 41% (91/221) remote: Compressing objects: 42% (93/221) remote: Compressing objects: 43% (96/221) remote: Compressing objects: 44% (98/221) remote: Compressing objects: 45% (100/221) remote: Compressing objects: 46% (102/221) remote: Compressing objects: 47% (104/221) remote: Compressing objects: 48% (107/221) remote: Compressing objects: 49% (109/221) remote: Compressing objects: 50% (111/221) remote: Compressing objects: 51% (113/221) remote: Compressing objects: 52% (115/221) remote: Compressing objects: 53% (118/221) remote: Compressing objects: 54% (120/221) remote: Compressing objects: 55% (122/221) remote: Compressing objects: 56% (124/221) remote: Compressing objects: 57% (126/221) remote: Compressing objects: 58% (129/221) remote: Compressing objects: 59% (131/221) remote: Compressing objects: 60% (133/221) remote: Compressing objects: 61% (135/221) remote: Compressing objects: 62% (138/221) remote: Compressing objects: 63% (140/221) remote: Compressing objects: 64% (142/221) remote: Compressing objects: 65% (144/221) remote: Compressing objects: 66% (146/221) remote: Compressing objects: 67% (149/221) remote: Compressing objects: 68% (151/221) remote: Compressing objects: 69% (153/221) remote: Compressing objects: 70% (155/221) remote: Compressing objects: 71% (157/221) remote: Compressing objects: 72% (160/221) remote: Compressing objects: 73% (162/221) remote: Compressing objects: 74% (164/221) remote: Compressing objects: 75% (166/221) remote: Compressing objects: 76% (168/221) remote: Compressing objects: 77% (171/221) remote: Compressing objects: 78% (173/221) remote: Compressing objects: 79% (175/221) remote: Compressing objects: 80% (177/221) remote: Compressing objects: 81% (180/221) remote: Compressing objects: 82% (182/221) remote: Compressing objects: 83% (184/221) remote: Compressing objects: 84% (186/221) remote: Compressing objects: 85% (188/221) remote: Compressing objects: 86% (191/221) remote: Compressing objects: 87% (193/221) remote: Compressing objects: 88% (195/221) remote: Compressing objects: 89% (197/221) remote: Compressing objects: 90% (199/221) remote: Compressing objects: 91% (202/221) remote: Compressing objects: 92% (204/221) remote: Compressing objects: 93% (206/221) remote: Compressing objects: 94% (208/221) remote: Compressing objects: 95% (210/221) remote: Compressing objects: 96% (213/221) remote: Compressing objects: 97% (215/221) remote: Compressing objects: 98% (217/221) remote: Compressing objects: 99% (219/221) remote: Compressing objects: 100% (221/221) remote: Compressing objects: 100% (221/221), done. Receiving objects: 0% (1/1135) Receiving objects: 1% (12/1135) Receiving objects: 2% (23/1135) Receiving objects: 3% (35/1135) Receiving objects: 4% (46/1135) Receiving objects: 5% (57/1135) Receiving objects: 6% (69/1135) Receiving objects: 7% (80/1135) Receiving objects: 8% (91/1135) Receiving objects: 9% (103/1135) Receiving objects: 10% (114/1135) Receiving objects: 11% (125/1135) Receiving objects: 12% (137/1135) Receiving objects: 13% (148/1135) Receiving objects: 14% (159/1135) Receiving objects: 15% (171/1135) Receiving objects: 16% (182/1135) Receiving objects: 17% (193/1135) Receiving objects: 18% (205/1135) Receiving objects: 19% (216/1135) Receiving objects: 20% (227/1135) Receiving objects: 21% (239/1135) Receiving objects: 22% (250/1135) Receiving objects: 23% (262/1135) Receiving objects: 24% (273/1135) Receiving objects: 25% (284/1135) Receiving objects: 26% (296/1135) Receiving objects: 27% (307/1135) Receiving objects: 28% (318/1135) Receiving objects: 29% (330/1135) Receiving objects: 30% (341/1135) Receiving objects: 31% (352/1135) Receiving objects: 32% (364/1135) Receiving objects: 33% (375/1135) Receiving objects: 34% (386/1135) Receiving objects: 35% (398/1135) Receiving objects: 36% (409/1135) Receiving objects: 37% (420/1135) Receiving objects: 38% (432/1135) Receiving objects: 39% (443/1135) Receiving objects: 40% (454/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 41% (466/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 42% (477/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 43% (489/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 44% (500/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 45% (511/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 46% (523/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 47% (534/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 48% (545/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 49% (557/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 50% (568/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 51% (579/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 52% (591/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 53% (602/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 54% (613/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 55% (625/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 56% (636/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 57% (647/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 58% (659/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 59% (670/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 60% (681/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 61% (693/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 62% (704/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 63% (716/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 64% (727/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 65% (738/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 66% (750/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 67% (761/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 68% (772/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 69% (784/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 70% (795/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 71% (806/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 72% (818/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 73% (829/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 74% (840/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 75% (852/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 76% (863/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 77% (874/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 78% (886/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 79% (897/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 80% (908/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 81% (920/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 82% (931/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 83% (943/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 84% (954/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 85% (965/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 86% (977/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 87% (988/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 88% (999/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 89% (1011/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 90% (1022/1135), 200.00 KiB | 311.00 KiB/s Receiving objects: 91% (1033/1135), 464.00 KiB | 374.00 KiB/s Receiving objects: 92% (1045/1135), 464.00 KiB | 374.00 KiB/s Receiving objects: 93% (1056/1135), 464.00 KiB | 374.00 KiB/s Receiving objects: 94% (1067/1135), 464.00 KiB | 374.00 KiB/s Receiving objects: 95% (1079/1135), 464.00 KiB | 374.00 KiB/s Receiving objects: 96% (1090/1135), 464.00 KiB | 374.00 KiB/s Receiving objects: 97% (1101/1135), 464.00 KiB | 374.00 KiB/s Receiving objects: 98% (1113/1135), 464.00 KiB | 374.00 KiB/s remote: Total 1135 (delta 362), reused 294 (delta 273), pack-reused 636 (from 3) Receiving objects: 99% (1124/1135), 464.00 KiB | 374.00 KiB/s Receiving objects: 100% (1135/1135), 464.00 KiB | 374.00 KiB/s Receiving objects: 100% (1135/1135), 587.83 KiB | 419.00 KiB/s, done. Resolving deltas: 0% (0/742) Resolving deltas: 1% (8/742) Resolving deltas: 2% (15/742) Resolving deltas: 3% (23/742) Resolving deltas: 4% (30/742) Resolving deltas: 5% (38/742) Resolving deltas: 6% (46/742) Resolving deltas: 7% (52/742) Resolving deltas: 8% (60/742) Resolving deltas: 9% (67/742) Resolving deltas: 10% (75/742) Resolving deltas: 11% (82/742) Resolving deltas: 12% (90/742) Resolving deltas: 13% (97/742) Resolving deltas: 14% (104/742) Resolving deltas: 15% (112/742) Resolving deltas: 16% (119/742) Resolving deltas: 17% (127/742) Resolving deltas: 18% (134/742) Resolving deltas: 19% (141/742) Resolving deltas: 20% (149/742) Resolving deltas: 21% (156/742) Resolving deltas: 22% (164/742) Resolving deltas: 23% (171/742) Resolving deltas: 24% (179/742) Resolving deltas: 25% (186/742) Resolving deltas: 26% (193/742) Resolving deltas: 27% (201/742) Resolving deltas: 28% (208/742) Resolving deltas: 29% (216/742) Resolving deltas: 30% (223/742) Resolving deltas: 31% (231/742) Resolving deltas: 32% (238/742) Resolving deltas: 33% (245/742) Resolving deltas: 34% (253/742) Resolving deltas: 35% (260/742) Resolving deltas: 36% (268/742) Resolving deltas: 37% (275/742) Resolving deltas: 38% (282/742) Resolving deltas: 39% (290/742) Resolving deltas: 40% (297/742) Resolving deltas: 41% (305/742) Resolving deltas: 42% (312/742) Resolving deltas: 43% (320/742) Resolving deltas: 44% (327/742) Resolving deltas: 45% (334/742) Resolving deltas: 46% (342/742) Resolving deltas: 47% (349/742) Resolving deltas: 48% (357/742) Resolving deltas: 49% (364/742) Resolving deltas: 50% (371/742) Resolving deltas: 51% (379/742) Resolving deltas: 52% (386/742) Resolving deltas: 53% (395/742) Resolving deltas: 54% (402/742) Resolving deltas: 55% (409/742) Resolving deltas: 56% (416/742) Resolving deltas: 57% (423/742) Resolving deltas: 58% (431/742) Resolving deltas: 59% (438/742) Resolving deltas: 60% (446/742) Resolving deltas: 61% (453/742) Resolving deltas: 62% (461/742) Resolving deltas: 63% (468/742) Resolving deltas: 64% (475/742) Resolving deltas: 65% (483/742) Resolving deltas: 66% (491/742) Resolving deltas: 67% (498/742) Resolving deltas: 68% (505/742) Resolving deltas: 69% (512/742) Resolving deltas: 70% (520/742) Resolving deltas: 71% (527/742) Resolving deltas: 72% (535/742) Resolving deltas: 73% (542/742) Resolving deltas: 74% (550/742) Resolving deltas: 75% (557/742) Resolving deltas: 76% (564/742) Resolving deltas: 77% (572/742) Resolving deltas: 78% (579/742) Resolving deltas: 79% (587/742) Resolving deltas: 80% (594/742) Resolving deltas: 81% (602/742) Resolving deltas: 82% (609/742) Resolving deltas: 83% (616/742) Resolving deltas: 84% (624/742) Resolving deltas: 85% (631/742) Resolving deltas: 86% (639/742) Resolving deltas: 87% (646/742) Resolving deltas: 88% (653/742) Resolving deltas: 89% (661/742) Resolving deltas: 90% (668/742) Resolving deltas: 91% (676/742) Resolving deltas: 92% (683/742) Resolving deltas: 93% (691/742) Resolving deltas: 94% (698/742) Resolving deltas: 95% (705/742) Resolving deltas: 96% (713/742) Resolving deltas: 97% (720/742) Resolving deltas: 98% (728/742) Resolving deltas: 99% (735/742) Resolving deltas: 100% (742/742) Resolving deltas: 100% (742/742), completed with 33 local objects. de12173..1804b65 master -> master + 00cf90d...836011d refs/pull/387/head -> refs/pull/387/head (forced update) * [new ref] refs/pull/524/head -> refs/pull/524/head * [new ref] refs/pull/525/head -> refs/pull/525/head * [new ref] refs/pull/526/head -> refs/pull/526/head * [new ref] refs/pull/528/head -> refs/pull/528/head * [new ref] refs/pull/530/head -> refs/pull/530/head * [new ref] refs/pull/531/head -> refs/pull/531/head * [new ref] refs/pull/533/head -> refs/pull/533/head * [new ref] refs/pull/534/head -> refs/pull/534/head * [new ref] refs/pull/535/head -> refs/pull/535/head * [new ref] refs/pull/536/head -> refs/pull/536/head * [new ref] refs/pull/537/head -> refs/pull/537/head * [new ref] refs/pull/538/head -> refs/pull/538/head * [new ref] refs/pull/539/head -> refs/pull/539/head * [new ref] refs/pull/540/head -> refs/pull/540/head * [new ref] refs/pull/541/head -> refs/pull/541/head * [new ref] refs/pull/542/head -> refs/pull/542/head * [new ref] refs/pull/547/head -> refs/pull/547/head * [new ref] refs/pull/549/head -> refs/pull/549/head * [new ref] refs/pull/550/head -> refs/pull/550/head * [new ref] refs/pull/554/head -> refs/pull/554/head * [new ref] refs/pull/556/head -> refs/pull/556/head * [new ref] refs/pull/558/head -> refs/pull/558/head * [new ref] refs/pull/559/head -> refs/pull/559/head * [new ref] refs/pull/560/head -> refs/pull/560/head * [new ref] refs/pull/560/merge -> refs/pull/560/merge * [new ref] refs/pull/562/head -> refs/pull/562/head * [new ref] refs/pull/564/head -> refs/pull/564/head * [new ref] refs/pull/565/head -> refs/pull/565/head * [new ref] refs/pull/568/head -> refs/pull/568/head * [new ref] refs/pull/569/head -> refs/pull/569/head * [new ref] refs/pull/571/head -> refs/pull/571/head * [new ref] refs/pull/575/head -> refs/pull/575/head * [new ref] refs/pull/576/head -> refs/pull/576/head * [new ref] refs/pull/577/head -> refs/pull/577/head * [new ref] refs/pull/577/merge -> refs/pull/577/merge * [new ref] refs/pull/578/head -> refs/pull/578/head * [new ref] refs/pull/580/head -> refs/pull/580/head * [new ref] refs/pull/581/head -> refs/pull/581/head * [new ref] refs/pull/582/head -> refs/pull/582/head * [new ref] refs/pull/583/head -> refs/pull/583/head * [new ref] refs/pull/584/head -> refs/pull/584/head * [new ref] refs/pull/585/head -> refs/pull/585/head * [new ref] refs/pull/586/head -> refs/pull/586/head * [new ref] refs/pull/587/head -> refs/pull/587/head * [new ref] refs/pull/588/head -> refs/pull/588/head * [new ref] refs/pull/589/head -> refs/pull/589/head * [new ref] refs/pull/590/head -> refs/pull/590/head * [new ref] refs/pull/592/head -> refs/pull/592/head * [new ref] refs/pull/593/head -> refs/pull/593/head * [new ref] refs/pull/594/head -> refs/pull/594/head * [new ref] refs/pull/594/merge -> refs/pull/594/merge * [new ref] refs/pull/599/head -> refs/pull/599/head * [new ref] refs/pull/600/head -> refs/pull/600/head * [new ref] refs/pull/601/head -> refs/pull/601/head * [new ref] refs/pull/602/head -> refs/pull/602/head * [new ref] refs/pull/604/head -> refs/pull/604/head * [new ref] refs/pull/605/head -> refs/pull/605/head * [new ref] refs/pull/607/head -> refs/pull/607/head * [new ref] refs/pull/608/head -> refs/pull/608/head * [new ref] refs/pull/609/head -> refs/pull/609/head * [new ref] refs/pull/613/head -> refs/pull/613/head * [new ref] refs/pull/615/head -> refs/pull/615/head * [new ref] refs/pull/617/head -> refs/pull/617/head * [new ref] refs/pull/618/head -> refs/pull/618/head * [new ref] refs/pull/619/head -> refs/pull/619/head * [new ref] refs/pull/620/head -> refs/pull/620/head * [new ref] refs/pull/621/head -> refs/pull/621/head * [new ref] refs/pull/624/head -> refs/pull/624/head * [new ref] refs/pull/626/head -> refs/pull/626/head * [new ref] refs/pull/627/head -> refs/pull/627/head * [new ref] refs/pull/628/head -> refs/pull/628/head * [new ref] refs/pull/629/head -> refs/pull/629/head * [new ref] refs/pull/630/head -> refs/pull/630/head * [new ref] refs/pull/631/head -> refs/pull/631/head * [new ref] refs/pull/635/head -> refs/pull/635/head * [new ref] refs/pull/635/merge -> refs/pull/635/merge * [new ref] refs/pull/636/head -> refs/pull/636/head * [new ref] refs/pull/637/head -> refs/pull/637/head * [new ref] refs/pull/640/head -> refs/pull/640/head * [new ref] refs/pull/643/head -> refs/pull/643/head * [new ref] refs/pull/646/head -> refs/pull/646/head * [new ref] refs/pull/647/head -> refs/pull/647/head * [new ref] refs/pull/654/head -> refs/pull/654/head * [new ref] refs/pull/657/head -> refs/pull/657/head * [new ref] refs/pull/658/head -> refs/pull/658/head * [new ref] refs/pull/659/head -> refs/pull/659/head * [new ref] refs/pull/663/head -> refs/pull/663/head * [new ref] refs/pull/664/head -> refs/pull/664/head * [new ref] refs/pull/668/head -> refs/pull/668/head * [new ref] refs/pull/669/head -> refs/pull/669/head * [new ref] refs/pull/670/head -> refs/pull/670/head * [new ref] refs/pull/671/head -> refs/pull/671/head * [new ref] refs/pull/672/head -> refs/pull/672/head * [new ref] refs/pull/673/head -> refs/pull/673/head * [new ref] refs/pull/674/head -> refs/pull/674/head * [new ref] refs/pull/675/head -> refs/pull/675/head * [new ref] refs/pull/676/head -> refs/pull/676/head * [new ref] refs/pull/677/head -> refs/pull/677/head * [new ref] refs/pull/679/head -> refs/pull/679/head * [new ref] refs/pull/680/head -> refs/pull/680/head * [new ref] refs/pull/681/head -> refs/pull/681/head * [new ref] refs/pull/685/head -> refs/pull/685/head * [new ref] refs/pull/686/head -> refs/pull/686/head * [new ref] refs/pull/686/merge -> refs/pull/686/merge * [new ref] refs/pull/688/head -> refs/pull/688/head * [new ref] refs/pull/689/head -> refs/pull/689/head * [new ref] refs/pull/690/head -> refs/pull/690/head * [new ref] refs/pull/691/head -> refs/pull/691/head * [new ref] refs/pull/693/head -> refs/pull/693/head * [new ref] refs/pull/694/head -> refs/pull/694/head * [new ref] refs/pull/695/head -> refs/pull/695/head * [new ref] refs/pull/696/head -> refs/pull/696/head * [new ref] refs/pull/696/merge -> refs/pull/696/merge * [new ref] refs/pull/697/head -> refs/pull/697/head * [new ref] refs/pull/698/head -> refs/pull/698/head * [new ref] refs/pull/699/head -> refs/pull/699/head * [new ref] refs/pull/700/head -> refs/pull/700/head * [new ref] refs/pull/700/merge -> refs/pull/700/merge * [new tag] 2.2.0 -> 2.2.0 * [new tag] 2.2.0-rc0 -> 2.2.0-rc0 * [new tag] 2.2.0-rc1 -> 2.2.0-rc1 * [new tag] 2.2.1 -> 2.2.1 * [new tag] 2.3.0 -> 2.3.0 * [new tag] 2.3.0-rc0 -> 2.3.0-rc0 * [new tag] 3.0.0 -> 3.0.0 * [new tag] 3.0.0-rc0 -> 3.0.0-rc0 * [new tag] 3.0.0-rc1 -> 3.0.0-rc1 ==>(B Validating source files with sha512sums...(B tpm2-pytss ... Passed ]3008;end=d36af3aea5c24c5dae1017f3bacbae02\Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file. ]3008;start=6645fee0266a41e4ada33293af3c5032;user=root;hostname=ninetales.felixc.at;machineid=a0e69ac38f6542109165b134ff0addd5;bootid=b9d951ff1e1a4e8b91a956a952cb6043;pid=1169037;pidfdid=17938733;comm=systemd-nspawn;container=makechrootpkg-python-tpm2-pytss.build.1160801;type=container\]11;?\]2;🔵 Container makechrootpkg-python-tpm2-pytss.build.1160801 on ninetales.felixc.at\]3008;start=75c20a71bf5f4a2887f2e0fc821f23ac;user=root;hostname=makechrootpkg-python-tpm2-pytss.build.1160801;machineid=34332834a27643d2bdea34c5574a6f68;bootid=de45f3cb309047a49687a160d39ed30b;pid=34;pidfdid=17931063;comm=sudo;targetuser=builduser;type=session\==>(B Making package: python-tpm2-pytss 3.0.0-1 (Tue Sep 8 13:41:30 2026)(B ==>(B Checking runtime dependencies...(B ==>(B Installing missing dependencies...(B ]3008;start=f7a3f854b3a54943a5d497b8123b3eac;user=builduser;hostname=makechrootpkg-python-tpm2-pytss.build.1160801;machineid=34332834a27643d2bdea34c5574a6f68;bootid=de45f3cb309047a49687a160d39ed30b;pid=3214;pidfdid=17938993;comm=sudo;targetuser=root;type=session\[?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 extra/python-cryptography 50.0.1-1 6.43 MiB extra/python-packaging 26.3-1 1.58 MiB extra/python-yaml 6.0.3-2 0.93 MiB Total Download Size: 0.21 MiB Total Installed Size: 12.74 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-asn1crypto-1.5.1-6-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing 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]3008;end=f7a3f854b3a54943a5d497b8123b3eac\==>(B Checking buildtime dependencies...(B ==>(B Installing missing dependencies...(B ]3008;start=d2cde5b8ede0454886fe41701d04e283;user=builduser;hostname=makechrootpkg-python-tpm2-pytss.build.1160801;machineid=34332834a27643d2bdea34c5574a6f68;bootid=de45f3cb309047a49687a160d39ed30b;pid=3375;pidfdid=17958610;comm=sudo;targetuser=root;type=session\[?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.7-1 0.47 MiB extra/python-pluggy 1.6.0-3.1 0.23 MiB extra/python-pygments 2.21.0-1 15.59 MiB extra/python-pyproject-hooks 1.2.0-6 0.11 MiB extra/python-typing_extensions 4.16.0-1 0.53 MiB extra/python-vcs-versioning 2.3.4-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 extra/python-build 1.6.0-1 0.33 MiB extra/python-installer 1.0.1-1 0.21 MiB extra/python-pkgconfig 1.6.0-1 0.04 MiB 0.01 MiB extra/python-pytest 1:9.1.1-1 4.95 MiB extra/python-setuptools 1:82.0.1-1 7.35 MiB extra/python-setuptools-scm 10.2.3-1 0.23 MiB 0.05 MiB extra/python-wheel 0.48.0-1 0.34 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: 2.08 MiB Total Installed Size: 69.43 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... 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.4-1-any downloading... efivar-39-2-riscv64 downloading... fuse2-2.9.9-6-riscv64 downloading... python-setuptools-scm-10.2.3-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]3008;end=d2cde5b8ede0454886fe41701d04e283\==>(B Retrieving sources...(B ==> WARNING:(B Skipping all source file integrity checks.(B ==>(B Extracting sources...(B  ->(B Creating working copy of tpm2-pytss git repo...(B Cloning into 'tpm2-pytss'... done. Switched to a new branch 'makepkg' ==>(B Starting build()...(B * 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/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/__init__.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss copying src/tpm2_pytss/FAPI.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss copying src/tpm2_pytss/TSS2_Exception.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss copying src/tpm2_pytss/policy.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/encoding.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/constants.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/tsskey.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 copying src/tpm2_pytss/types.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss copying src/tpm2_pytss/TCTILdr.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss creating build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal copying src/tpm2_pytss/internal/__init__.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal copying src/tpm2_pytss/internal/templates.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal copying src/tpm2_pytss/internal/utils.py -> build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal copying src/tpm2_pytss/internal/crypto.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/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/__init__.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/FAPI.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/_libtpm2_pytss.abi3.so -> 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/TCTISPIHelper.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/fapi_info.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/utils.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 creating build/bdist.linux-riscv64/wheel/tpm2_pytss/internal copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/__init__.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss/internal copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/versions.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss/internal copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/templates.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss/internal copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/utils.py -> build/bdist.linux-riscv64/wheel/./tpm2_pytss/internal copying build/lib.linux-riscv64-cpython-314/tpm2_pytss/internal/crypto.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/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/types.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 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-906dsqwh/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 ==>(B Starting check()...(B ============================= test session starts ============================== platform linux -- Python 3.14.7, pytest-9.1.1, 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/tmpa62zelop/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/tmpvxbh6fyh/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 56494: 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: seccomp_load failed with errno 125: Operation canceled ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:191:tcti_control_command() Failed to get response to control command, errno 104: Connection reset by peer ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:323:tcti_swtpm_set_locality() Failed to set locality: 0xa000a WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:579:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a ERROR:tcti:src/tss2-tcti/tctildr-dl.c:142:tcti_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 2392.79s (0:39:52) ====== ==> ERROR:(B A failure occurred in check().(B  Aborting...(B ]3008;end=75c20a71bf5f4a2887f2e0fc821f23ac\[!p]104\[?7h]3008;end=6645fee0266a41e4ada33293af3c5032\==> ERROR:(B Build failed, check /var/lib/archbuild/extra-riscv64/felix-2/build(B [?12l[?25h[?12l[?25h]3008;end=f798ad00f8154f4884f5950c224f7a8f\[?12l[?25hreceiving 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,258 bytes 8,928.00 bytes/sec total size is 797,021 speedup is 35.71