==> Building on litleo ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/python-tpm2-pytss ./ PKGBUILD 1,861 100% 0.00kB/s 0:00:00 1,861 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=4/6) python-tpm2-pytss-2.1.0-2.log 250 100% 244.14kB/s 0:00:00 250 100% 244.14kB/s 0:00:00 (xfr#2, to-chk=3/6) keys/ keys/pgp/ keys/pgp/5B482B8E3E19DA7C978E1D016DE2E9078E1F50C1.asc 3,106 100% 2.96MB/s 0:00:00 3,106 100% 2.96MB/s 0:00:00 (xfr#3, to-chk=0/6) sent 3,889 bytes received 141 bytes 8,060.00 bytes/sec total size is 5,160 speedup is 1.28 ==> Ensuring required PGP keys are present...  -> Checking for 5B482B8E3E19DA7C978E1D016DE2E9078E1F50C1... ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root4 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Locking chroot copy [root4]...done ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root4]...done ==> Making package: python-tpm2-pytss 2.1.0-2 (Sat Sep 2 14:05:02 2023) ==> Retrieving sources...  -> Cloning tpm2-pytss git repo... Cloning into bare repository '/home/felix/packages/python-tpm2-pytss/tpm2-pytss'... remote: Enumerating objects: 9581, done. remote: Counting objects: 0% (1/828) remote: Counting objects: 1% (9/828) remote: Counting objects: 2% (17/828) remote: Counting objects: 3% (25/828) remote: Counting objects: 4% (34/828) remote: Counting objects: 5% (42/828) remote: Counting objects: 6% (50/828) remote: Counting objects: 7% (58/828) remote: Counting objects: 8% (67/828) remote: Counting objects: 9% (75/828) remote: Counting objects: 10% (83/828) remote: Counting objects: 11% (92/828) remote: Counting objects: 12% (100/828) remote: Counting objects: 13% (108/828) remote: Counting objects: 14% (116/828) remote: Counting objects: 15% (125/828) remote: Counting objects: 16% (133/828) remote: Counting objects: 17% (141/828) remote: Counting objects: 18% (150/828) remote: Counting objects: 19% (158/828) remote: Counting objects: 20% (166/828) remote: Counting objects: 21% (174/828) remote: Counting objects: 22% (183/828) remote: Counting objects: 23% (191/828) remote: Counting objects: 24% (199/828) remote: Counting objects: 25% (207/828) remote: Counting objects: 26% (216/828) remote: Counting objects: 27% (224/828) remote: Counting objects: 28% (232/828) remote: Counting objects: 29% (241/828) remote: Counting objects: 30% (249/828) remote: Counting objects: 31% (257/828) remote: Counting objects: 32% (265/828) remote: Counting objects: 33% (274/828) remote: Counting objects: 34% (282/828) remote: Counting objects: 35% (290/828) remote: Counting objects: 36% (299/828) remote: Counting objects: 37% (307/828) remote: Counting objects: 38% (315/828) remote: Counting objects: 39% (323/828) remote: Counting objects: 40% (332/828) remote: Counting objects: 41% (340/828) remote: Counting objects: 42% (348/828) remote: Counting objects: 43% (357/828) remote: Counting objects: 44% (365/828) remote: Counting objects: 45% (373/828) remote: Counting objects: 46% (381/828) remote: Counting objects: 47% (390/828) remote: Counting objects: 48% (398/828) remote: Counting objects: 49% (406/828) remote: Counting objects: 50% (414/828) remote: Counting objects: 51% (423/828) remote: Counting objects: 52% (431/828) remote: Counting objects: 53% (439/828) remote: Counting objects: 54% (448/828) remote: Counting objects: 55% (456/828) remote: Counting objects: 56% (464/828) remote: Counting objects: 57% (472/828) remote: Counting objects: 58% (481/828) remote: Counting objects: 59% (489/828) remote: Counting objects: 60% (497/828) remote: Counting objects: 61% (506/828) remote: Counting objects: 62% (514/828) remote: Counting objects: 63% (522/828) remote: Counting objects: 64% (530/828) remote: Counting objects: 65% (539/828) remote: Counting objects: 66% (547/828) remote: Counting objects: 67% (555/828) remote: Counting objects: 68% (564/828) remote: Counting objects: 69% (572/828) remote: Counting objects: 70% (580/828) remote: Counting objects: 71% (588/828) remote: Counting objects: 72% (597/828) remote: Counting objects: 73% (605/828) remote: Counting objects: 74% (613/828) remote: Counting objects: 75% (621/828) remote: Counting objects: 76% (630/828) remote: Counting objects: 77% (638/828) remote: Counting objects: 78% (646/828) remote: Counting objects: 79% (655/828) remote: Counting objects: 80% (663/828) remote: Counting objects: 81% (671/828) remote: Counting objects: 82% (679/828) remote: Counting objects: 83% (688/828) remote: Counting objects: 84% (696/828) remote: Counting objects: 85% (704/828) remote: Counting objects: 86% (713/828) remote: Counting objects: 87% (721/828) remote: Counting objects: 88% (729/828) remote: Counting objects: 89% (737/828) remote: Counting objects: 90% (746/828) remote: Counting objects: 91% (754/828) remote: Counting objects: 92% (762/828) remote: Counting objects: 93% (771/828) remote: Counting objects: 94% (779/828) remote: Counting objects: 95% (787/828) remote: Counting objects: 96% (795/828) remote: Counting objects: 97% (804/828) remote: Counting objects: 98% (812/828) remote: Counting objects: 99% (820/828) remote: Counting objects: 100% (828/828) remote: Counting objects: 100% (828/828), done. remote: Compressing objects: 0% (1/287) remote: Compressing objects: 1% (3/287) remote: Compressing objects: 2% (6/287) remote: Compressing objects: 3% (9/287) remote: Compressing objects: 4% (12/287) remote: Compressing objects: 5% (15/287) remote: Compressing objects: 6% (18/287) remote: Compressing objects: 7% (21/287) remote: Compressing objects: 8% (23/287) remote: Compressing objects: 9% (26/287) remote: Compressing objects: 10% (29/287) remote: Compressing objects: 11% (32/287) remote: Compressing objects: 12% (35/287) remote: Compressing objects: 13% (38/287) remote: Compressing objects: 14% (41/287) remote: Compressing objects: 15% (44/287) remote: Compressing objects: 16% (46/287) remote: Compressing objects: 17% (49/287) remote: Compressing objects: 18% (52/287) remote: Compressing objects: 19% (55/287) remote: Compressing objects: 20% (58/287) remote: Compressing objects: 21% (61/287) remote: Compressing objects: 22% (64/287) remote: Compressing objects: 23% (67/287) remote: Compressing objects: 24% (69/287) remote: Compressing objects: 25% (72/287) remote: Compressing objects: 26% (75/287) remote: Compressing objects: 27% (78/287) remote: Compressing objects: 28% (81/287) remote: Compressing objects: 29% (84/287) remote: Compressing objects: 30% (87/287) remote: Compressing objects: 31% (89/287) remote: Compressing objects: 32% (92/287) remote: Compressing objects: 33% (95/287) remote: Compressing objects: 34% (98/287) remote: Compressing objects: 35% (101/287) remote: Compressing objects: 36% (104/287) remote: Compressing objects: 37% (107/287) remote: Compressing objects: 38% (110/287) remote: Compressing objects: 39% (112/287) remote: Compressing objects: 40% (115/287) remote: Compressing objects: 41% (118/287) remote: Compressing objects: 42% (121/287) remote: Compressing objects: 43% (124/287) remote: Compressing objects: 44% (127/287) remote: Compressing objects: 45% (130/287) remote: Compressing objects: 46% (133/287) remote: Compressing objects: 47% (135/287) remote: Compressing objects: 48% (138/287) remote: Compressing objects: 49% (141/287) remote: Compressing objects: 50% (144/287) remote: Compressing objects: 51% (147/287) remote: Compressing objects: 52% (150/287) remote: Compressing objects: 53% (153/287) remote: Compressing objects: 54% (155/287) remote: Compressing objects: 55% (158/287) remote: Compressing objects: 56% (161/287) remote: Compressing objects: 57% (164/287) remote: Compressing objects: 58% (167/287) remote: Compressing objects: 59% (170/287) remote: Compressing objects: 60% (173/287) remote: Compressing objects: 61% (176/287) remote: Compressing objects: 62% (178/287) remote: Compressing objects: 63% (181/287) remote: Compressing objects: 64% (184/287) remote: Compressing objects: 65% (187/287) remote: Compressing objects: 66% (190/287) remote: Compressing objects: 67% (193/287) remote: Compressing objects: 68% (196/287) remote: Compressing objects: 69% (199/287) remote: Compressing objects: 70% (201/287) remote: Compressing objects: 71% (204/287) remote: Compressing objects: 72% (207/287) remote: Compressing objects: 73% (210/287) remote: Compressing objects: 74% (213/287) remote: Compressing objects: 75% (216/287) remote: Compressing objects: 76% (219/287) remote: Compressing objects: 77% (221/287) remote: Compressing objects: 78% (224/287) remote: Compressing objects: 79% (227/287) remote: Compressing objects: 80% (230/287) remote: Compressing objects: 81% (233/287) remote: Compressing objects: 82% (236/287) remote: Compressing objects: 83% (239/287) remote: Compressing objects: 84% (242/287) remote: Compressing objects: 85% (244/287) remote: Compressing objects: 86% (247/287) remote: Compressing objects: 87% (250/287) remote: Compressing objects: 88% (253/287) remote: Compressing objects: 89% (256/287) remote: Compressing objects: 90% (259/287) remote: Compressing objects: 91% (262/287) remote: Compressing objects: 92% (265/287) remote: Compressing objects: 93% (267/287) remote: Compressing objects: 94% (270/287) remote: Compressing objects: 95% (273/287) remote: Compressing objects: 96% (276/287) remote: Compressing objects: 97% (279/287) remote: Compressing objects: 98% (282/287) remote: Compressing objects: 99% (285/287) remote: Compressing objects: 100% (287/287) remote: Compressing objects: 100% (287/287), done. Receiving objects: 0% (1/9581) Receiving objects: 1% (96/9581) Receiving objects: 2% (192/9581) Receiving objects: 3% (288/9581) Receiving objects: 4% (384/9581) Receiving objects: 5% (480/9581) Receiving objects: 6% (575/9581) Receiving objects: 7% (671/9581) Receiving objects: 8% (767/9581) Receiving objects: 9% (863/9581) Receiving objects: 10% (959/9581) Receiving objects: 11% (1054/9581) Receiving objects: 12% (1150/9581) Receiving objects: 13% (1246/9581) Receiving objects: 14% (1342/9581) Receiving objects: 15% (1438/9581) Receiving objects: 16% (1533/9581) Receiving objects: 17% (1629/9581) Receiving objects: 18% (1725/9581) Receiving objects: 19% (1821/9581) Receiving objects: 20% (1917/9581) Receiving objects: 21% (2013/9581), 672.01 KiB | 1.30 MiB/s Receiving objects: 22% (2108/9581), 672.01 KiB | 1.30 MiB/s Receiving objects: 23% (2204/9581), 672.01 KiB | 1.30 MiB/s Receiving objects: 24% (2300/9581), 672.01 KiB | 1.30 MiB/s Receiving objects: 25% (2396/9581), 672.01 KiB | 1.30 MiB/s Receiving objects: 26% (2492/9581), 672.01 KiB | 1.30 MiB/s Receiving objects: 27% (2587/9581), 672.01 KiB | 1.30 MiB/s Receiving objects: 28% (2683/9581), 672.01 KiB | 1.30 MiB/s Receiving objects: 29% (2779/9581), 672.01 KiB | 1.30 MiB/s Receiving objects: 30% (2875/9581), 672.01 KiB | 1.30 MiB/s Receiving objects: 31% (2971/9581), 672.01 KiB | 1.30 MiB/s Receiving objects: 32% (3066/9581), 672.01 KiB | 1.30 MiB/s Receiving objects: 33% (3162/9581), 672.01 KiB | 1.30 MiB/s Receiving objects: 34% (3258/9581), 672.01 KiB | 1.30 MiB/s Receiving objects: 35% (3354/9581), 672.01 KiB | 1.30 MiB/s Receiving objects: 36% (3450/9581), 672.01 KiB | 1.30 MiB/s Receiving objects: 37% (3545/9581), 672.01 KiB | 1.30 MiB/s Receiving objects: 38% (3641/9581), 672.01 KiB | 1.30 MiB/s Receiving objects: 39% (3737/9581), 672.01 KiB | 1.30 MiB/s Receiving objects: 40% (3833/9581), 672.01 KiB | 1.30 MiB/s Receiving objects: 41% (3929/9581), 672.01 KiB | 1.30 MiB/s Receiving objects: 42% (4025/9581), 672.01 KiB | 1.30 MiB/s Receiving objects: 43% (4120/9581), 672.01 KiB | 1.30 MiB/s Receiving objects: 44% (4216/9581), 672.01 KiB | 1.30 MiB/s Receiving objects: 45% (4312/9581), 672.01 KiB | 1.30 MiB/s Receiving objects: 45% (4336/9581), 2.30 MiB | 2.30 MiB/s Receiving objects: 46% (4408/9581), 2.30 MiB | 2.30 MiB/s Receiving objects: 47% (4504/9581), 2.30 MiB | 2.30 MiB/s Receiving objects: 48% (4599/9581), 2.30 MiB | 2.30 MiB/s Receiving objects: 49% (4695/9581), 5.58 MiB | 3.72 MiB/s Receiving objects: 50% (4791/9581), 5.58 MiB | 3.72 MiB/s Receiving objects: 51% (4887/9581), 5.58 MiB | 3.72 MiB/s Receiving objects: 52% (4983/9581), 5.58 MiB | 3.72 MiB/s Receiving objects: 53% (5078/9581), 5.58 MiB | 3.72 MiB/s Receiving objects: 54% (5174/9581), 5.58 MiB | 3.72 MiB/s Receiving objects: 55% (5270/9581), 5.58 MiB | 3.72 MiB/s Receiving objects: 55% (5296/9581), 10.73 MiB | 5.36 MiB/s Receiving objects: 56% (5366/9581), 16.20 MiB | 6.34 MiB/s Receiving objects: 56% (5377/9581), 16.20 MiB | 6.34 MiB/s Receiving objects: 57% (5462/9581), 20.91 MiB | 6.80 MiB/s Receiving objects: 58% (5557/9581), 25.81 MiB | 7.16 MiB/s Receiving objects: 59% (5653/9581), 25.81 MiB | 7.16 MiB/s Receiving objects: 59% (5668/9581), 25.81 MiB | 7.16 MiB/s Receiving objects: 60% (5749/9581), 30.89 MiB | 7.49 MiB/s Receiving objects: 61% (5845/9581), 30.89 MiB | 7.49 MiB/s Receiving objects: 62% (5941/9581), 30.89 MiB | 7.49 MiB/s Receiving objects: 63% (6037/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 64% (6132/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 65% (6228/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 66% (6324/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 67% (6420/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 68% (6516/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 69% (6611/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 70% (6707/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 71% (6803/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 72% (6899/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 73% (6995/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 74% (7090/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 75% (7186/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 76% (7282/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 77% (7378/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 78% (7474/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 79% (7569/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 80% (7665/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 81% (7761/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 82% (7857/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 83% (7953/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 84% (8049/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 85% (8144/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 86% (8240/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 87% (8336/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 88% (8432/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 89% (8528/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 90% (8623/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 91% (8719/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 92% (8815/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 93% (8911/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 94% (9007/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 95% (9102/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 96% (9198/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 97% (9294/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 98% (9390/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 99% (9486/9581), 36.21 MiB | 7.82 MiB/s remote: Total 9581 (delta 579), reused 702 (delta 493), pack-reused 8753 Receiving objects: 100% (9581/9581), 36.21 MiB | 7.82 MiB/s Receiving objects: 100% (9581/9581), 37.70 MiB | 7.93 MiB/s, done. Resolving deltas: 0% (0/6921) Resolving deltas: 1% (70/6921) Resolving deltas: 2% (139/6921) Resolving deltas: 3% (208/6921) Resolving deltas: 4% (277/6921) Resolving deltas: 5% (347/6921) Resolving deltas: 6% (416/6921) Resolving deltas: 7% (485/6921) Resolving deltas: 8% (554/6921) Resolving deltas: 9% (623/6921) Resolving deltas: 10% (693/6921) Resolving deltas: 11% (762/6921) Resolving deltas: 12% (831/6921) Resolving deltas: 13% (900/6921) Resolving deltas: 14% (969/6921) Resolving deltas: 15% (1039/6921) Resolving deltas: 16% (1109/6921) Resolving deltas: 17% (1177/6921) Resolving deltas: 18% (1246/6921) Resolving deltas: 19% (1315/6921) Resolving deltas: 20% (1385/6921) Resolving deltas: 21% (1454/6921) Resolving deltas: 22% (1523/6921) Resolving deltas: 23% (1592/6921) Resolving deltas: 24% (1662/6921) Resolving deltas: 25% (1731/6921) Resolving deltas: 26% (1800/6921) Resolving deltas: 27% (1869/6921) Resolving deltas: 28% (1939/6921) Resolving deltas: 29% (2008/6921) Resolving deltas: 30% (2077/6921) Resolving deltas: 31% (2146/6921) Resolving deltas: 32% (2215/6921) Resolving deltas: 33% (2284/6921) Resolving deltas: 34% (2354/6921) Resolving deltas: 35% (2423/6921) Resolving deltas: 36% (2492/6921) Resolving deltas: 37% (2561/6921) Resolving deltas: 38% (2630/6921) Resolving deltas: 39% (2700/6921) Resolving deltas: 40% (2769/6921) Resolving deltas: 41% (2838/6921) Resolving deltas: 42% (2907/6921) Resolving deltas: 43% (2977/6921) Resolving deltas: 44% (3046/6921) Resolving deltas: 45% (3115/6921) Resolving deltas: 46% (3184/6921) Resolving deltas: 47% (3253/6921) Resolving deltas: 48% (3323/6921) Resolving deltas: 49% (3392/6921) Resolving deltas: 50% (3461/6921) Resolving deltas: 51% (3530/6921) Resolving deltas: 52% (3599/6921) Resolving deltas: 53% (3669/6921) Resolving deltas: 54% (3738/6921) Resolving deltas: 55% (3807/6921) Resolving deltas: 56% (3876/6921) Resolving deltas: 57% (3946/6921) Resolving deltas: 58% (4017/6921) Resolving deltas: 59% (4084/6921) Resolving deltas: 60% (4153/6921) Resolving deltas: 61% (4222/6921) Resolving deltas: 62% (4292/6921) Resolving deltas: 63% (4361/6921) Resolving deltas: 64% (4430/6921) Resolving deltas: 65% (4499/6921) Resolving deltas: 66% (4568/6921) Resolving deltas: 67% (4638/6921) Resolving deltas: 68% (4707/6921) Resolving deltas: 69% (4776/6921) Resolving deltas: 70% (4845/6921) Resolving deltas: 71% (4914/6921) Resolving deltas: 72% (4984/6921) Resolving deltas: 73% (5053/6921) Resolving deltas: 74% (5122/6921) Resolving deltas: 75% (5191/6921) Resolving deltas: 76% (5261/6921) Resolving deltas: 77% (5330/6921) Resolving deltas: 78% (5399/6921) Resolving deltas: 79% (5468/6921) Resolving deltas: 80% (5537/6921) Resolving deltas: 81% (5607/6921) Resolving deltas: 82% (5676/6921) Resolving deltas: 83% (5745/6921) Resolving deltas: 84% (5814/6921) Resolving deltas: 85% (5883/6921) Resolving deltas: 86% (5953/6921) Resolving deltas: 87% (6022/6921) Resolving deltas: 88% (6091/6921) Resolving deltas: 89% (6160/6921) Resolving deltas: 90% (6229/6921) Resolving deltas: 91% (6299/6921) Resolving deltas: 92% (6368/6921) Resolving deltas: 93% (6437/6921) Resolving deltas: 94% (6506/6921) Resolving deltas: 95% (6575/6921) Resolving deltas: 96% (6645/6921) Resolving deltas: 97% (6714/6921) Resolving deltas: 98% (6783/6921) Resolving deltas: 99% (6852/6921) Resolving deltas: 99% (6890/6921) Resolving deltas: 100% (6921/6921) Resolving deltas: 100% (6921/6921), done.  -> Downloading python-tpm2-pytss-2.1.0-cryptography_renames.patch... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1544 100 1544 0 0 2296 0 --:--:-- --:--:-- --:--:-- 2294 ==> Validating source files with sha512sums... tpm2-pytss ... Skipped python-tpm2-pytss-2.1.0-cryptography_renames.patch ... Passed ==> Verifying source file signatures with gpg... tpm2-pytss git repo ... Passed ==> Making package: python-tpm2-pytss 2.1.0-2 (Sat Sep 2 14:05:28 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (10) New Version Net Change Download Size core/libnsl 2.0.0-3 0.06 MiB extra/libyaml 0.2.5-2 0.15 MiB extra/python-ply 3.11-12 0.40 MiB extra/python-pycparser 2.21-5 1.77 MiB core/python 3.11.3-2 107.17 MiB extra/python-asn1crypto 1.5.1-2 1.59 MiB 0.21 MiB extra/python-cffi 1.15.1-3 1.39 MiB extra/python-cryptography 41.0.3-1 54.31 MiB extra/python-packaging 23.1-1 0.47 MiB extra/python-yaml 6.0.1-2 0.91 MiB Total Download Size: 0.21 MiB Total Installed Size: 168.22 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-asn1crypto-1.5.1-2-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libnsl... installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing python-asn1crypto... installing python-ply... installing python-pycparser... installing python-cffi... installing python-cryptography... installing python-packaging... installing libyaml... installing python-yaml... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (34) New Version Net Change Download Size extra/fuse-common 3.16.1-1 0.00 MiB extra/fuse2 2.9.9-4 0.40 MiB extra/json-glib 1.6.6-2 0.92 MiB extra/libtpms 0.9.6-1 0.84 MiB 0.40 MiB extra/perl-error 0.17029-5 0.04 MiB extra/perl-mailtools 2.21-7 0.10 MiB extra/perl-timedate 2.33-5 0.08 MiB extra/python-autocommand 2.2.2-4 0.08 MiB extra/python-fastjsonschema 2.18.0-1 0.29 MiB extra/python-inflect 7.0.0-1 0.39 MiB extra/python-iniconfig 2.0.0-4 0.04 MiB extra/python-jaraco.context 4.3.0-3 0.04 MiB extra/python-jaraco.functools 3.8.1-1 0.07 MiB extra/python-jaraco.text 3.11.1-3 0.09 MiB extra/python-more-itertools 10.1.0-1 0.63 MiB extra/python-ordered-set 4.1.0-4 0.07 MiB extra/python-platformdirs 3.10.0-1 0.23 MiB extra/python-pluggy 1.2.0-1 0.19 MiB extra/python-pydantic 1.10.9-1 6.57 MiB extra/python-pyproject-hooks 1.0.0-5 0.09 MiB extra/python-tomli 2.0.1-3 0.11 MiB extra/python-trove-classifiers 2023.8.7-1 0.11 MiB extra/python-typing_extensions 4.7.1-1 0.37 MiB extra/python-validate-pyproject 0.13-1 0.29 MiB extra/git 2.42.0-1 24.79 MiB extra/python-build 0.10.0-4 0.68 MiB extra/python-installer 0.7.0-3 0.82 MiB extra/python-pkgconfig 1.5.5-5 0.04 MiB extra/python-pytest 7.4.0-1 4.01 MiB extra/python-setuptools 1:68.0.0-1 4.64 MiB extra/python-setuptools-scm 7.1.0-4 0.36 MiB extra/python-wheel 0.40.0-3 0.28 MiB extra/swtpm 0.8.1-1 0.41 MiB 0.16 MiB extra/tpm2-tools 5.3-2 1.37 MiB 0.69 MiB Total Download Size: 1.26 MiB Total Installed Size: 49.44 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... tpm2-tools-5.3-2-riscv64 downloading... libtpms-0.9.6-1-riscv64 downloading... swtpm-0.8.1-1-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui openssh: ssh transport and crypto 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-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https 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] installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-virtualenv: 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-typing_extensions... installing python-pydantic... Optional dependencies for python-pydantic python-dotenv: for .env file support python-email-validator: for email validation installing python-inflect... installing python-jaraco.text... installing python-ordered-set... installing python-platformdirs... installing python-tomli... installing python-fastjsonschema... installing python-trove-classifiers... installing python-validate-pyproject... installing python-setuptools... installing python-setuptools-scm... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures installing python-iniconfig... installing python-pluggy... installing python-pytest... installing fuse-common... installing fuse2... installing json-glib... installing libtpms... installing swtpm... installing tpm2-tools... Optional dependencies for tpm2-tools tpm2-abrmd: user space resource manager :: Running post-transaction hooks... (1/1) Warn about old perl modules [?25h==> Retrieving sources...  -> Found python-tpm2-pytss-2.1.0-cryptography_renames.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Creating working copy of tpm2-pytss git repo... Cloning into 'tpm2-pytss'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... patching file test/test_crypto.py ==> Starting pkgver()... ==> Starting build()... * Getting build dependencies for wheel... * Building wheel... adding path: /build/python-tpm2-pytss/src/tpm2-pytss/scripts running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/tpm2_pytss copying src/tpm2_pytss/types.py -> build/lib.linux-riscv64-cpython-311/tpm2_pytss copying src/tpm2_pytss/FAPI.py -> build/lib.linux-riscv64-cpython-311/tpm2_pytss copying src/tpm2_pytss/TCTILdr.py -> build/lib.linux-riscv64-cpython-311/tpm2_pytss copying src/tpm2_pytss/tsskey.py -> build/lib.linux-riscv64-cpython-311/tpm2_pytss copying src/tpm2_pytss/TCTI.py -> build/lib.linux-riscv64-cpython-311/tpm2_pytss copying src/tpm2_pytss/fapi_info.py -> build/lib.linux-riscv64-cpython-311/tpm2_pytss copying src/tpm2_pytss/encoding.py -> build/lib.linux-riscv64-cpython-311/tpm2_pytss copying src/tpm2_pytss/TCTISPIHelper.py -> build/lib.linux-riscv64-cpython-311/tpm2_pytss copying src/tpm2_pytss/TSS2_Exception.py -> build/lib.linux-riscv64-cpython-311/tpm2_pytss copying src/tpm2_pytss/ESAPI.py -> build/lib.linux-riscv64-cpython-311/tpm2_pytss copying src/tpm2_pytss/__init__.py -> build/lib.linux-riscv64-cpython-311/tpm2_pytss copying src/tpm2_pytss/utils.py -> build/lib.linux-riscv64-cpython-311/tpm2_pytss copying src/tpm2_pytss/constants.py -> build/lib.linux-riscv64-cpython-311/tpm2_pytss copying src/tpm2_pytss/policy.py -> build/lib.linux-riscv64-cpython-311/tpm2_pytss creating build/lib.linux-riscv64-cpython-311/tpm2_pytss/internal copying src/tpm2_pytss/internal/templates.py -> build/lib.linux-riscv64-cpython-311/tpm2_pytss/internal copying src/tpm2_pytss/internal/crypto.py -> build/lib.linux-riscv64-cpython-311/tpm2_pytss/internal copying src/tpm2_pytss/internal/__init__.py -> build/lib.linux-riscv64-cpython-311/tpm2_pytss/internal copying src/tpm2_pytss/internal/utils.py -> build/lib.linux-riscv64-cpython-311/tpm2_pytss/internal running build_ext generating cffi module 'build/temp.linux-riscv64-cpython-311/tpm2_pytss._libtpm2_pytss.c' creating build/temp.linux-riscv64-cpython-311 building 'tpm2_pytss._libtpm2_pytss' extension creating build/temp.linux-riscv64-cpython-311/build creating build/temp.linux-riscv64-cpython-311/build/temp.linux-riscv64-cpython-311 gcc -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python-tpm2-pytss/src=/usr/src/debug/python-tpm2-pytss -flto=auto -fPIC -I/usr/include -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid -I/usr/include/tss -I/usr/include/python3.11 -c build/temp.linux-riscv64-cpython-311/tpm2_pytss._libtpm2_pytss.c -o build/temp.linux-riscv64-cpython-311/build/temp.linux-riscv64-cpython-311/tpm2_pytss._libtpm2_pytss.o gcc -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python-tpm2-pytss/src=/usr/src/debug/python-tpm2-pytss -flto=auto build/temp.linux-riscv64-cpython-311/build/temp.linux-riscv64-cpython-311/tpm2_pytss._libtpm2_pytss.o -L/usr/lib -ltss2-esys -ltss2-tctildr -ltss2-rc -ltss2-mu -ltss2-fapi -ltss2-policy -ltss2-tcti-spi-helper -o build/lib.linux-riscv64-cpython-311/tpm2_pytss/_libtpm2_pytss.abi3.so generated _type_map with 62 mappings in build/lib.linux-riscv64-cpython-311/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 creating build/bdist.linux-riscv64/wheel creating build/bdist.linux-riscv64/wheel/tpm2_pytss copying build/lib.linux-riscv64-cpython-311/tpm2_pytss/types.py -> build/bdist.linux-riscv64/wheel/tpm2_pytss copying build/lib.linux-riscv64-cpython-311/tpm2_pytss/FAPI.py -> build/bdist.linux-riscv64/wheel/tpm2_pytss copying build/lib.linux-riscv64-cpython-311/tpm2_pytss/TCTILdr.py -> build/bdist.linux-riscv64/wheel/tpm2_pytss copying build/lib.linux-riscv64-cpython-311/tpm2_pytss/tsskey.py -> build/bdist.linux-riscv64/wheel/tpm2_pytss copying build/lib.linux-riscv64-cpython-311/tpm2_pytss/TCTI.py -> build/bdist.linux-riscv64/wheel/tpm2_pytss copying build/lib.linux-riscv64-cpython-311/tpm2_pytss/fapi_info.py -> build/bdist.linux-riscv64/wheel/tpm2_pytss copying build/lib.linux-riscv64-cpython-311/tpm2_pytss/encoding.py -> build/bdist.linux-riscv64/wheel/tpm2_pytss creating build/bdist.linux-riscv64/wheel/tpm2_pytss/internal copying build/lib.linux-riscv64-cpython-311/tpm2_pytss/internal/type_mapping.py -> build/bdist.linux-riscv64/wheel/tpm2_pytss/internal copying build/lib.linux-riscv64-cpython-311/tpm2_pytss/internal/templates.py -> build/bdist.linux-riscv64/wheel/tpm2_pytss/internal copying build/lib.linux-riscv64-cpython-311/tpm2_pytss/internal/crypto.py -> build/bdist.linux-riscv64/wheel/tpm2_pytss/internal copying build/lib.linux-riscv64-cpython-311/tpm2_pytss/internal/versions.py -> build/bdist.linux-riscv64/wheel/tpm2_pytss/internal copying build/lib.linux-riscv64-cpython-311/tpm2_pytss/internal/__init__.py -> build/bdist.linux-riscv64/wheel/tpm2_pytss/internal copying build/lib.linux-riscv64-cpython-311/tpm2_pytss/internal/utils.py -> build/bdist.linux-riscv64/wheel/tpm2_pytss/internal copying build/lib.linux-riscv64-cpython-311/tpm2_pytss/TCTISPIHelper.py -> build/bdist.linux-riscv64/wheel/tpm2_pytss copying build/lib.linux-riscv64-cpython-311/tpm2_pytss/TSS2_Exception.py -> build/bdist.linux-riscv64/wheel/tpm2_pytss copying build/lib.linux-riscv64-cpython-311/tpm2_pytss/ESAPI.py -> build/bdist.linux-riscv64/wheel/tpm2_pytss copying build/lib.linux-riscv64-cpython-311/tpm2_pytss/__init__.py -> build/bdist.linux-riscv64/wheel/tpm2_pytss copying build/lib.linux-riscv64-cpython-311/tpm2_pytss/_libtpm2_pytss.abi3.so -> build/bdist.linux-riscv64/wheel/tpm2_pytss copying build/lib.linux-riscv64-cpython-311/tpm2_pytss/utils.py -> build/bdist.linux-riscv64/wheel/tpm2_pytss copying build/lib.linux-riscv64-cpython-311/tpm2_pytss/constants.py -> build/bdist.linux-riscv64/wheel/tpm2_pytss copying build/lib.linux-riscv64-cpython-311/tpm2_pytss/policy.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-2.1.1.dev0+g9f27d0c.d20230902-py3.11.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/tpm2_pytss-2.1.1.dev0+g9f27d0c.d20230902.dist-info/WHEEL creating '/build/python-tpm2-pytss/src/tpm2-pytss/dist/.tmp-w23ljg4c/tpm2_pytss-2.1.1.dev0+g9f27d0c.d20230902-cp311-cp311-linux_riscv64.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'tpm2_pytss/ESAPI.py' adding 'tpm2_pytss/FAPI.py' adding 'tpm2_pytss/TCTI.py' adding 'tpm2_pytss/TCTILdr.py' adding 'tpm2_pytss/TCTISPIHelper.py' adding 'tpm2_pytss/TSS2_Exception.py' adding 'tpm2_pytss/__init__.py' adding 'tpm2_pytss/_libtpm2_pytss.abi3.so' adding 'tpm2_pytss/constants.py' adding 'tpm2_pytss/encoding.py' adding 'tpm2_pytss/fapi_info.py' adding 'tpm2_pytss/policy.py' adding 'tpm2_pytss/tsskey.py' adding 'tpm2_pytss/types.py' adding 'tpm2_pytss/utils.py' adding 'tpm2_pytss/internal/__init__.py' adding 'tpm2_pytss/internal/crypto.py' adding 'tpm2_pytss/internal/templates.py' adding 'tpm2_pytss/internal/type_mapping.py' adding 'tpm2_pytss/internal/utils.py' adding 'tpm2_pytss/internal/versions.py' adding 'tpm2_pytss-2.1.1.dev0+g9f27d0c.d20230902.dist-info/LICENSE' adding 'tpm2_pytss-2.1.1.dev0+g9f27d0c.d20230902.dist-info/METADATA' adding 'tpm2_pytss-2.1.1.dev0+g9f27d0c.d20230902.dist-info/WHEEL' adding 'tpm2_pytss-2.1.1.dev0+g9f27d0c.d20230902.dist-info/top_level.txt' adding 'tpm2_pytss-2.1.1.dev0+g9f27d0c.d20230902.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Successfully built tpm2_pytss-2.1.1.dev0+g9f27d0c.d20230902-cp311-cp311-linux_riscv64.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.11.3, pytest-7.4.0, pluggy-1.2.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/python-tpm2-pytss/src/tpm2-pytss collecting ... collected 569 items test/test_crypto.py::CryptoTest::test_ecc_bad_curves FAILED [ 0%] test/test_crypto.py::CryptoTest::test_encrypted_key FAILED [ 0%] test/test_crypto.py::CryptoTest::test_from_pem_with_scheme FAILED [ 0%] test/test_crypto.py::CryptoTest::test_from_pem_with_symmetric FAILED [ 0%] test/test_crypto.py::CryptoTest::test_get_alg FAILED [ 0%] test/test_crypto.py::CryptoTest::test_kdfa FAILED [ 1%] test/test_crypto.py::CryptoTest::test_kdfe FAILED [ 1%] test/test_crypto.py::CryptoTest::test_keyedhash_from_secret FAILED [ 1%] test/test_crypto.py::CryptoTest::test_keyedhash_from_secret_bad FAILED [ 1%] test/test_crypto.py::CryptoTest::test_keyedhash_from_secret_unseal FAILED [ 1%] test/test_crypto.py::CryptoTest::test_loadexternal_ecc FAILED [ 1%] test/test_crypto.py::CryptoTest::test_loadexternal_public_rsa FAILED [ 2%] test/test_crypto.py::CryptoTest::test_loadexternal_rsa FAILED [ 2%] test/test_crypto.py::CryptoTest::test_nv_getname FAILED [ 2%] test/test_crypto.py::CryptoTest::test_private_from_pem_bad_der FAILED [ 2%] test/test_crypto.py::CryptoTest::test_private_from_pem_ecc FAILED [ 2%] test/test_crypto.py::CryptoTest::test_private_from_pem_ecc_der FAILED [ 2%] test/test_crypto.py::CryptoTest::test_private_from_pem_rsa FAILED [ 3%] test/test_crypto.py::CryptoTest::test_private_from_pem_rsa_der FAILED [ 3%] test/test_crypto.py::CryptoTest::test_public_from_pem_bad_der FAILED [ 3%] test/test_crypto.py::CryptoTest::test_public_from_pem_ecc FAILED [ 3%] test/test_crypto.py::CryptoTest::test_public_from_pem_ecc_der FAILED [ 3%] test/test_crypto.py::CryptoTest::test_public_from_pem_ecc_der_cert FAILED [ 4%] test/test_crypto.py::CryptoTest::test_public_from_pem_ecc_pem_cert FAILED [ 4%] test/test_crypto.py::CryptoTest::test_public_from_pem_rsa FAILED [ 4%] test/test_crypto.py::CryptoTest::test_public_from_pem_rsa_der FAILED [ 4%] test/test_crypto.py::CryptoTest::test_public_from_pem_rsa_der_cert FAILED [ 4%] test/test_crypto.py::CryptoTest::test_public_from_pem_rsa_pem_cert FAILED [ 4%] test/test_crypto.py::CryptoTest::test_public_from_private FAILED [ 5%] test/test_crypto.py::CryptoTest::test_public_from_private_der FAILED [ 5%] test/test_crypto.py::CryptoTest::test_public_getname FAILED [ 5%] test/test_crypto.py::CryptoTest::test_public_to_pem_bad_key FAILED [ 5%] test/test_crypto.py::CryptoTest::test_public_to_pem_ecc FAILED [ 5%] test/test_crypto.py::CryptoTest::test_public_to_pem_rsa FAILED [ 5%] test/test_crypto.py::CryptoTest::test_rsa_exponent FAILED [ 6%] test/test_crypto.py::CryptoTest::test_ssh_key_ecc FAILED [ 6%] test/test_crypto.py::CryptoTest::test_symcipher_from_secret FAILED [ 6%] test/test_crypto.py::CryptoTest::test_symcipher_from_secret_bad FAILED [ 6%] test/test_crypto.py::CryptoTest::test_symdef_to_crypt FAILED [ 6%] test/test_crypto.py::CryptoTest::test_topem_ecc FAILED [ 7%] test/test_crypto.py::CryptoTest::test_topem_encodings FAILED [ 7%] test/test_crypto.py::CryptoTest::test_topem_rsa FAILED [ 7%] test/test_crypto.py::CryptoTest::test_unsupported_key FAILED [ 7%] test/test_crypto.py::CryptoTest::test_verify_signature_bad FAILED [ 7%] test/test_crypto.py::CryptoTest::test_verify_signature_ecc FAILED [ 7%] test/test_crypto.py::CryptoTest::test_verify_signature_hmac FAILED [ 8%] test/test_crypto.py::CryptoTest::test_verify_singature_rsapss FAILED [ 8%] test/test_crypto.py::CryptoTest::test_verify_singature_rsassa FAILED [ 8%] test/test_encoding.py::SerializationTest::test_base_TPMS_ATTEST PASSED [ 8%] test/test_encoding.py::SerializationTest::test_base_TPMS_CAPABILITY_DATA PASSED [ 8%] test/test_encoding.py::SerializationTest::test_base_TPMT_ASYM_SCHEME PASSED [ 8%] test/test_encoding.py::SerializationTest::test_base_TPMT_KDF_SCHEME PASSED [ 9%] test/test_encoding.py::SerializationTest::test_base_TPMT_KEYEDHASH_SCHEME PASSED [ 9%] test/test_encoding.py::SerializationTest::test_base_TPMT_PUBLIC PASSED [ 9%] test/test_encoding.py::SerializationTest::test_base_TPMT_PUBLIC_PARMS PASSED [ 9%] test/test_encoding.py::SerializationTest::test_base_TPMT_SENSITIVE PASSED [ 9%] test/test_encoding.py::SerializationTest::test_base_TPMT_SIG_SCHEME PASSED [ 10%] test/test_encoding.py::SerializationTest::test_base_TPMT_SINGATURE PASSED [ 10%] test/test_encoding.py::SerializationTest::test_base_TPMT_SYM_DEF PASSED [ 10%] test/test_encoding.py::SerializationTest::test_base_bad PASSED [ 10%] test/test_encoding.py::SerializationTest::test_base_bad_selector PASSED [ 10%] test/test_encoding.py::SerializationTest::test_base_complex_tpm2b PASSED [ 10%] test/test_encoding.py::SerializationTest::test_base_decode_bad PASSED [ 11%] test/test_encoding.py::SerializationTest::test_base_decode_case_insensitive PASSED [ 11%] test/test_encoding.py::SerializationTest::test_base_decode_complex_tpm2b PASSED [ 11%] test/test_encoding.py::SerializationTest::test_base_decode_friendly_int PASSED [ 11%] test/test_encoding.py::SerializationTest::test_base_decode_friendly_intlist PASSED [ 11%] test/test_encoding.py::SerializationTest::test_base_decode_int PASSED [ 11%] test/test_encoding.py::SerializationTest::test_base_decode_pcrselect PASSED [ 12%] test/test_encoding.py::SerializationTest::test_base_decode_simple_tpm2b PASSED [ 12%] test/test_encoding.py::SerializationTest::test_base_decode_strict PASSED [ 12%] test/test_encoding.py::SerializationTest::test_base_decode_struct PASSED [ 12%] test/test_encoding.py::SerializationTest::test_base_decode_tpml PASSED [ 12%] test/test_encoding.py::SerializationTest::test_base_friendly_int PASSED [ 13%] test/test_encoding.py::SerializationTest::test_base_friendly_intlist PASSED [ 13%] test/test_encoding.py::SerializationTest::test_base_int PASSED [ 13%] test/test_encoding.py::SerializationTest::test_base_simple_tpm2b PASSED [ 13%] test/test_encoding.py::SerializationTest::test_base_tpml PASSED [ 13%] test/test_encoding.py::SerializationTest::test_json_dec_friendly_int PASSED [ 13%] test/test_encoding.py::SerializationTest::test_json_dec_friendly_intlist PASSED [ 14%] test/test_encoding.py::SerializationTest::test_json_dec_int PASSED [ 14%] test/test_encoding.py::SerializationTest::test_json_dec_simple_tpm2b PASSED [ 14%] test/test_encoding.py::SerializationTest::test_json_enc_friendly_int PASSED [ 14%] test/test_encoding.py::SerializationTest::test_json_enc_friendly_intlist PASSED [ 14%] test/test_encoding.py::SerializationTest::test_json_enc_int PASSED [ 14%] test/test_encoding.py::ToolsTest::test_decode_int FAILED [ 15%] test/test_encoding.py::ToolsTest::test_decode_int_nt FAILED [ 15%] test/test_encoding.py::ToolsTest::test_decode_nt_extend FAILED [ 15%] test/test_encoding.py::ToolsTest::test_decode_nt_pin FAILED [ 15%] test/test_encoding.py::ToolsTest::test_to_yaml FAILED [ 15%] test/test_encoding.py::ToolsTest::test_tools_decode_pcr_tuples FAILED [ 15%] test/test_encoding.py::ToolsTest::test_tools_decode_tmpl_pcr_selection FAILED [ 16%] test/test_encoding.py::ToolsTest::test_tools_decode_tpm2b_name FAILED [ 16%] test/test_encoding.py::ToolsTest::test_tools_decode_tpma_session FAILED [ 16%] test/test_encoding.py::ToolsTest::test_tools_decode_tpml_alg FAILED [ 16%] test/test_encoding.py::ToolsTest::test_tools_decode_tpml_alg_property FAILED [ 16%] test/test_encoding.py::ToolsTest::test_tools_decode_tpml_cca FAILED [ 17%] test/test_encoding.py::ToolsTest::test_tools_decode_tpml_digest_values FAILED [ 17%] test/test_encoding.py::ToolsTest::test_tools_decode_tpml_ecc_curve FAILED [ 17%] test/test_encoding.py::ToolsTest::test_tools_decode_tpml_handle FAILED [ 17%] test/test_encoding.py::ToolsTest::test_tools_decode_tpml_tagged_tpm_property FAILED [ 17%] test/test_encoding.py::ToolsTest::test_tools_decode_tpms_nv_public FAILED [ 17%] test/test_encoding.py::ToolsTest::test_tools_decode_tpmt_public FAILED [ 18%] test/test_encoding.py::ToolsTest::test_tools_nt_pin PASSED [ 18%] test/test_encoding.py::ToolsTest::test_tools_pcr_tuple PASSED [ 18%] test/test_encoding.py::ToolsTest::test_tools_pcr_tuples PASSED [ 18%] test/test_encoding.py::ToolsTest::test_tools_tpm2b_name PASSED [ 18%] test/test_encoding.py::ToolsTest::test_tools_tpma_session PASSED [ 18%] test/test_encoding.py::ToolsTest::test_tools_tpml_alg FAILED [ 19%] test/test_encoding.py::ToolsTest::test_tools_tpml_alg_property FAILED [ 19%] test/test_encoding.py::ToolsTest::test_tools_tpml_cca FAILED [ 19%] test/test_encoding.py::ToolsTest::test_tools_tpml_digest_values FAILED [ 19%] test/test_encoding.py::ToolsTest::test_tools_tpml_ecc_curve FAILED [ 19%] test/test_encoding.py::ToolsTest::test_tools_tpml_handle FAILED [ 20%] test/test_encoding.py::ToolsTest::test_tools_tpml_pcr_selection FAILED [ 20%] test/test_encoding.py::ToolsTest::test_tools_tpml_tagged_tpm_property FAILED [ 20%] test/test_encoding.py::ToolsTest::test_tools_tpms_context FAILED [ 20%] test/test_encoding.py::ToolsTest::test_tools_tpms_nv_public FAILED [ 20%] test/test_encoding.py::ToolsTest::test_tools_tpmt_public FAILED [ 20%] test/test_encoding.py::ToolsTest::test_tools_unsupported FAILED [ 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) [ 21%] test/test_esapi.py::TestEsys::test_ac_send SKIPPED (Attached Components not supported prior to tss v4) [ 21%] test/test_esapi.py::TestEsys::test_activate_credential FAILED [ 21%] test/test_esapi.py::TestEsys::test_certify FAILED [ 21%] test/test_esapi.py::TestEsys::test_certify_creation FAILED [ 22%] test/test_esapi.py::TestEsys::test_change_eps FAILED [ 22%] test/test_esapi.py::TestEsys::test_change_pps FAILED [ 22%] test/test_esapi.py::TestEsys::test_clear FAILED [ 22%] test/test_esapi.py::TestEsys::test_clearcontrol FAILED [ 22%] test/test_esapi.py::TestEsys::test_clock_rate_adjust FAILED [ 23%] test/test_esapi.py::TestEsys::test_clock_set FAILED [ 23%] test/test_esapi.py::TestEsys::test_commit FAILED [ 23%] test/test_esapi.py::TestEsys::test_context_save_context_load FAILED [ 23%] test/test_esapi.py::TestEsys::test_create FAILED [ 23%] test/test_esapi.py::TestEsys::test_create_none FAILED [ 23%] test/test_esapi.py::TestEsys::test_create_primary FAILED [ 24%] test/test_esapi.py::TestEsys::test_create_primary_none FAILED [ 24%] test/test_esapi.py::TestEsys::test_createloaded FAILED [ 24%] test/test_esapi.py::TestEsys::test_createloaded_none FAILED [ 24%] test/test_esapi.py::TestEsys::test_dictionary_attack_lock_reset FAILED [ 24%] test/test_esapi.py::TestEsys::test_dictionary_attack_parameters FAILED [ 24%] 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 [ 25%] test/test_esapi.py::TestEsys::test_ecdh_key_gen FAILED [ 25%] test/test_esapi.py::TestEsys::test_ecdh_z_gen FAILED [ 25%] 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_functions FAILED [ 26%] test/test_esapi.py::TestEsys::test_event_sequence_complete FAILED [ 26%] test/test_esapi.py::TestEsys::test_evict_control FAILED [ 26%] test/test_esapi.py::TestEsys::test_field_upgrade_data FAILED [ 26%] test/test_esapi.py::TestEsys::test_field_upgrade_start FAILED [ 27%] test/test_esapi.py::TestEsys::test_firmware_read FAILED [ 27%] test/test_esapi.py::TestEsys::test_flush_context FAILED [ 27%] test/test_esapi.py::TestEsys::test_fulltest_no FAILED [ 27%] test/test_esapi.py::TestEsys::test_fulltest_yes FAILED [ 27%] test/test_esapi.py::TestEsys::test_get_capability FAILED [ 27%] test/test_esapi.py::TestEsys::test_get_command_audit_digest FAILED [ 28%] test/test_esapi.py::TestEsys::test_get_random FAILED [ 28%] test/test_esapi.py::TestEsys::test_get_session_audit_digest FAILED [ 28%] test/test_esapi.py::TestEsys::test_get_time FAILED [ 28%] test/test_esapi.py::TestEsys::test_gettcti FAILED [ 28%] test/test_esapi.py::TestEsys::test_hash FAILED [ 28%] test/test_esapi.py::TestEsys::test_hash_sequence FAILED [ 29%] test/test_esapi.py::TestEsys::test_hierarchy_control FAILED [ 29%] test/test_esapi.py::TestEsys::test_hierarchychangeauth FAILED [ 29%] test/test_esapi.py::TestEsys::test_hmac FAILED [ 29%] test/test_esapi.py::TestEsys::test_hmac_sequence FAILED [ 29%] test/test_esapi.py::TestEsys::test_hmac_session FAILED [ 30%] test/test_esapi.py::TestEsys::test_import FAILED [ 30%] test/test_esapi.py::TestEsys::test_incremental_resume_test FAILED [ 30%] test/test_esapi.py::TestEsys::test_incremental_self_test FAILED [ 30%] test/test_esapi.py::TestEsys::test_load FAILED [ 30%] test/test_esapi.py::TestEsys::test_mac SKIPPED (Attached Components not supported prior to tss v4) [ 30%] test/test_esapi.py::TestEsys::test_make_credential FAILED [ 31%] test/test_esapi.py::TestEsys::test_nv_certify FAILED [ 31%] test/test_esapi.py::TestEsys::test_nv_change_auth FAILED [ 31%] test/test_esapi.py::TestEsys::test_nv_extend FAILED [ 31%] test/test_esapi.py::TestEsys::test_nv_global_write_lock FAILED [ 31%] test/test_esapi.py::TestEsys::test_nv_increment FAILED [ 31%] test/test_esapi.py::TestEsys::test_nv_read_lock FAILED [ 32%] test/test_esapi.py::TestEsys::test_nv_read_public FAILED [ 32%] test/test_esapi.py::TestEsys::test_nv_set_bits FAILED [ 32%] test/test_esapi.py::TestEsys::test_nv_undefine_space_special FAILED [ 32%] test/test_esapi.py::TestEsys::test_nv_write_lock FAILED [ 32%] test/test_esapi.py::TestEsys::test_object_change_auth FAILED [ 33%] test/test_esapi.py::TestEsys::test_pcr_allocate FAILED [ 33%] test/test_esapi.py::TestEsys::test_pcr_event FAILED [ 33%] test/test_esapi.py::TestEsys::test_pcr_extend FAILED [ 33%] test/test_esapi.py::TestEsys::test_pcr_read FAILED [ 33%] test/test_esapi.py::TestEsys::test_pcr_reset FAILED [ 33%] test/test_esapi.py::TestEsys::test_pcr_set_auth_policy FAILED [ 34%] test/test_esapi.py::TestEsys::test_pcr_set_auth_value FAILED [ 34%] test/test_esapi.py::TestEsys::test_plain_nv_define_write_read_undefine FAILED [ 34%] test/test_esapi.py::TestEsys::test_policy_ac_send_select SKIPPED [ 34%] test/test_esapi.py::TestEsys::test_policy_auth_value FAILED [ 34%] test/test_esapi.py::TestEsys::test_policy_authorize FAILED [ 34%] test/test_esapi.py::TestEsys::test_policy_authorize_nv FAILED [ 35%] test/test_esapi.py::TestEsys::test_policy_command_code FAILED [ 35%] test/test_esapi.py::TestEsys::test_policy_counter_timer FAILED [ 35%] test/test_esapi.py::TestEsys::test_policy_cp_hash FAILED [ 35%] test/test_esapi.py::TestEsys::test_policy_duplication_select FAILED [ 35%] 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 [ 36%] test/test_esapi.py::TestEsys::test_policy_nv FAILED [ 36%] test/test_esapi.py::TestEsys::test_policy_nv_written FAILED [ 36%] test/test_esapi.py::TestEsys::test_policy_or FAILED [ 36%] 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 [ 37%] test/test_esapi.py::TestEsys::test_policy_signed FAILED [ 37%] test/test_esapi.py::TestEsys::test_policy_template FAILED [ 37%] 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 [ 38%] test/test_esapi.py::TestEsys::test_read_clock FAILED [ 38%] 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 [ 39%] test/test_esapi.py::TestEsys::test_set_algorithm_set FAILED [ 39%] 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 [ 40%] test/test_esapi.py::TestEsys::test_shutdown_state FAILED [ 40%] 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 [ 41%] 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_sess_set_attributes FAILED [ 42%] test/test_esapi.py::TestEsys::test_unseal FAILED [ 42%] test/test_esapi.py::TestEsys::test_vendor_tcg_test FAILED [ 42%] 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 [ 43%] test/test_exception.py::ExceptionTest::test_input_types PASSED [ 43%] test/test_exception.py::ExceptionTest::test_non_fmt1 PASSED [ 43%] 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 [ 44%] test/test_fapi.py::TestFapiECC::test_get_random ERROR [ 44%] test/test_fapi.py::TestFapiECC::test_get_random_zero ERROR [ 44%] 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 [ 45%] test/test_fapi.py::TestFapiECC::test_list_search_path ERROR [ 45%] 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 [ 46%] test/test_fapi.py::TestFapiECC::test_get_esys_blob_bad ERROR [ 46%] 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 [ 47%] test/test_fapi.py::TestFapiECC::test_import_policy_double_ok ERROR [ 47%] 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 [ 48%] 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 [ 49%] 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 [ 52%] 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 [ 53%] 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_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 [ 59%] 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 [ 60%] 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 [ 61%] 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 [ 62%] test/test_fapi.py::TestFapiRSA::test_nv_write_read ERROR [ 62%] 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 [ 63%] test/test_fapi.py::TestFapiRSA::test_write_authorize_nv ERROR [ 63%] test/test_fapi.py::TestFapiRSA::test_authorize_policy ERROR [ 63%] 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_sign ERROR [ 64%] test/test_fapi.py::TestFapiRSA::test_get_tpm_blobs ERROR [ 64%] test/test_fapi.py::TestFapiRSA::test_encrypt_decrypt ERROR [ 64%] test/test_internal.py::InternalTest::test_lib_version_strings PASSED [ 64%] test/test_policy.py::TestPolicy::test_calc_name_callback FAILED [ 64%] 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 [ 65%] 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 [ 66%] 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_make_sticky FAILED [ 69%] 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 [ 75%] 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 [ 76%] test/test_types.py::TypesTest::test_TPM2_ALG_parse PASSED [ 76%] 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 [ 77%] test/test_types.py::TypesTest::test_TPM2_RC PASSED [ 77%] 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 [ 78%] test/test_types.py::TypesTest::test_TPM2_SU PASSED [ 78%] test/test_types.py::TypesTest::test_TPMA_CC PASSED [ 78%] 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 [ 79%] test/test_types.py::TypesTest::test_TPML_ALG_parse_bad PASSED [ 79%] test/test_types.py::TypesTest::test_TPML_ALG_parse_commas PASSED [ 79%] 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 [ 80%] test/test_types.py::TypesTest::test_TPML_ALG_parse_empty PASSED [ 80%] test/test_types.py::TypesTest::test_TPML_ALG_parse_none PASSED [ 80%] 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 [ 81%] test/test_types.py::TypesTest::test_TPML_ALG_setitem_slices_set_list_with_int_key PASSED [ 81%] test/test_types.py::TypesTest::test_TPML_ALG_setitem_slices_with_step PASSED [ 81%] test/test_types.py::TypesTest::test_TPML_ALG_setitem_slices_with_too_few_unpack PASSED [ 81%] 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 [ 82%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_bad_selections PASSED [ 82%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_from_TPMS_PCR_SELECTION_list PASSED [ 82%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_iterator PASSED [ 82%] 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 [ 83%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_parse_empty_string PASSED [ 83%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_parse_gibberish PASSED [ 83%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_parse_plus_multiple PASSED [ 83%] 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 [ 84%] test/test_types.py::TypesTest::test_TPML_PCR_SELECTION_setattr_slice PASSED [ 84%] test/test_types.py::TypesTest::test_TPMS_CONTEXT_from_tools PASSED [ 84%] test/test_types.py::TypesTest::test_TPMS_ECC_POINT PASSED [ 84%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION PASSED [ 84%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION_parse PASSED [ 84%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION_parse_None PASSED [ 85%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION_parse_bank_and_garbage PASSED [ 85%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION_parse_empty PASSED [ 85%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION_parse_malformed PASSED [ 85%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION_parse_multiple_colons PASSED [ 85%] 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 [ 86%] test/test_types.py::TypesTest::test_TPMS_PCR_SELECTION_parse_out_of_bounds_pcr PASSED [ 86%] test/test_types.py::TypesTest::test_TPMS_SENSITIVE_CREATE_with_string PASSED [ 86%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_empty PASSED [ 86%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_bad_params PASSED [ 86%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_camellia PASSED [ 86%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecc_all PASSED [ 87%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecc_camellia PASSED [ 87%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecc_ecdaa4 PASSED [ 87%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecc_ecdaa4_sha256 PASSED [ 87%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecc_plain PASSED [ 87%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecc_sm2 PASSED [ 88%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecc_sm4 PASSED [ 88%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecda_ecdh_sha384 PASSED [ 88%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_ecda_ecdsa_ecdh_ecschnorr PASSED [ 88%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_hmac PASSED [ 88%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_keyedhash PASSED [ 88%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_rsa PASSED [ 89%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_rsa2048_ PASSED [ 89%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_rsa2048_restricted PASSED [ 89%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_rsa_keysizes PASSED [ 89%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_rsa_oaep PASSED [ 89%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_rsa_rsaes PASSED [ 89%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_rsa_rsapss PASSED [ 90%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_rsaall_all PASSED [ 90%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_sm4 PASSED [ 90%] test/test_types.py::TypesTest::test_TPMT_PUBLIC_parse_xor PASSED [ 90%] test/test_types.py::TypesTest::test_TPMT_SENSITIVE_to_der PASSED [ 90%] test/test_types.py::TypesTest::test_TPMT_SENSITIVE_to_pem PASSED [ 91%] test/test_types.py::TypesTest::test_TPMT_SENSITIVE_to_ssh PASSED [ 91%] test/test_types.py::TypesTest::test_TPMT_SIGNATURE PASSED [ 91%] test/test_types.py::TypesTest::test_TPMT_SYM_DEF_OBJECT_parse PASSED [ 91%] test/test_types.py::TypesTest::test_TPMT_SYM_DEF_parse PASSED [ 91%] test/test_types.py::TypesTest::test_TPM_FRIENDLY_INTLIST_math PASSED [ 91%] test/test_types.py::TypesTest::test_TPM_FRIENDLY_INTLIST_str PASSED [ 92%] test/test_types.py::TypesTest::test_TPM_FRIENDLY_INT_bad_to_string PASSED [ 92%] test/test_types.py::TypesTest::test_TPM_FRIENDLY_INT_contains PASSED [ 92%] test/test_types.py::TypesTest::test_TPM_FRIENDLY_INT_iterator PASSED [ 92%] test/test_types.py::TypesTest::test_TPM_FRIENDLY_INT_str PASSED [ 92%] test/test_types.py::TypesTest::test_TPM_FRIENDLY_INT_type PASSED [ 92%] test/test_types.py::TypesTest::test_TPM_OBJECT_init PASSED [ 93%] test/test_types.py::TypesTest::test_TPM_OBJECT_init_cdata PASSED [ 93%] test/test_types.py::TypesTest::test_TSS2_OBJECT PASSED [ 93%] test/test_types.py::TypesTest::test_TSS2_POLICY_PCR_SELECTION PASSED [ 93%] test/test_types.py::TypesTest::test_TSS2_POLICY_PCR_SELECTIONS PASSED [ 93%] test/test_types.py::TypesTest::test_TSS2_RC_decode PASSED [ 94%] test/test_types.py::TypesTest::test_bad_assigment PASSED [ 94%] test/test_types.py::TypesTest::test_copy_constructor PASSED [ 94%] test/test_types.py::TypesTest::test_list_type_map PASSED [ 94%] test/test_types.py::TypesTest::test_marshal PASSED [ 94%] test/test_types.py::TypesTest::test_scalar_data PASSED [ 94%] test/test_types.py::TypesTest::test_struct_type_map PASSED [ 95%] test/test_types.py::TypesTest::test_unmarshal PASSED [ 95%] test/test_types.py::TypesTest::test_unsupported_unmarshal PASSED [ 95%] test/test_utils.py::TestUtils::test_MakeCredential_ecc FAILED [ 95%] test/test_utils.py::TestUtils::test_MakeCredential_rsa FAILED [ 95%] test/test_utils.py::TestUtils::test_Wrap_ecc FAILED [ 95%] 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_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 ________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ---------------------------- Captured stderr setup ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________ ERROR at setup of TestFapiECC.test_provision_fail _______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ________________ ERROR at setup of TestFapiECC.test_get_random _________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ______________ ERROR at setup of TestFapiECC.test_get_random_zero ______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _____________ ERROR at setup of TestFapiECC.test_get_random_large ______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ____________ ERROR at setup of TestFapiECC.test_get_random_negative ____________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _________________ ERROR at setup of TestFapiECC.test_get_info __________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ___________________ ERROR at setup of TestFapiECC.test_list ____________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _____________ ERROR at setup of TestFapiECC.test_list_search_path ______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ___________ ERROR at setup of TestFapiECC.test_list_bad_search_path ____________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ________________ ERROR at setup of TestFapiECC.test_create_key _________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ___________ ERROR at setup of TestFapiECC.test_create_key_double_ok ____________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError __________ ERROR at setup of TestFapiECC.test_create_key_double_fail ___________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _________ ERROR at setup of TestFapiECC.test_get_esys_blob_contextload _________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _____________ ERROR at setup of TestFapiECC.test_get_esys_blob_bad _____________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _________ ERROR at setup of TestFapiECC.test_get_esys_blob_deserialize _________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError __________________ ERROR at setup of TestFapiECC.test_verify ___________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ________________ ERROR at setup of TestFapiECC.test_verify_fail ________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ___________ ERROR at setup of TestFapiECC.test_import_key_double_ok ____________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError __________ ERROR at setup of TestFapiECC.test_import_key_double_fail ___________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError __________ ERROR at setup of TestFapiECC.test_import_policy_double_ok __________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _________ ERROR at setup of TestFapiECC.test_import_policy_double_fail _________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ____________ ERROR at setup of TestFapiECC.test_import_exported_key ____________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError __________ ERROR at setup of TestFapiECC.test_export_imported_policy ___________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ________________ ERROR at setup of TestFapiECC.test_create_seal ________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ___________ ERROR at setup of TestFapiECC.test_create_seal_double_ok ___________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError __________ ERROR at setup of TestFapiECC.test_create_seal_double_fail __________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ____________ ERROR at setup of TestFapiECC.test_create_seal_random _____________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ____ ERROR at setup of TestFapiECC.test_create_seal_both_data_and_size_fail ____ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError __ ERROR at setup of TestFapiECC.test_create_seal_neither_data_nor_size_fail ___ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError __________________ ERROR at setup of TestFapiECC.test_unseal ___________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _______________ ERROR at setup of TestFapiECC.test_quote_verify ________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ________________ ERROR at setup of TestFapiECC.test_export_key _________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ________________ ERROR at setup of TestFapiECC.test_delete_key _________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ____________ ERROR at setup of TestFapiECC.test_set_get_description ____________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ___________ ERROR at setup of TestFapiECC.test_get_empty_description ___________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _____________ ERROR at setup of TestFapiECC.test_set_get_app_data ______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ______________ ERROR at setup of TestFapiECC.test_get_no_app_data ______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ____________ ERROR at setup of TestFapiECC.test_set_get_certificate ____________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ___________ ERROR at setup of TestFapiECC.test_get_empty_certificate ___________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ____ ERROR at setup of TestFapiECC.test_get_empty_platform_certificates_ok _____ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ___ ERROR at setup of TestFapiECC.test_get_empty_platform_certificates_fail ____ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _________________ ERROR at setup of TestFapiECC.test_pcr_read __________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ______________ ERROR at setup of TestFapiECC.test_pcr_extend_read ______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _______________ ERROR at setup of TestFapiECC.test_nv_write_read _______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _______________ ERROR at setup of TestFapiECC.test_nv_increment ________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError __________________ ERROR at setup of TestFapiECC.test_nv_pcr ___________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ________________ ERROR at setup of TestFapiECC.test_nv_set_bits ________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _____________ ERROR at setup of TestFapiECC.test_set_auth_callback _____________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ____________ ERROR at setup of TestFapiECC.test_unset_auth_callback ____________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ____________ ERROR at setup of TestFapiECC.test_write_authorize_nv _____________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _____________ ERROR at setup of TestFapiECC.test_authorize_policy ______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _______________ ERROR at setup of TestFapiECC.test_policy_signed _______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ______________ ERROR at setup of TestFapiECC.test_policy_branched ______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _______________ ERROR at setup of TestFapiECC.test_policy_action _______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ___________________ ERROR at setup of TestFapiECC.test_sign ____________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _______________ ERROR at setup of TestFapiECC.test_get_tpm_blobs _______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _______________ ERROR at setup of TestFapiRSA.test_provision_ok ________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ______________ ERROR at setup of TestFapiRSA.test_provision_fail _______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ________________ ERROR at setup of TestFapiRSA.test_get_random _________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ______________ ERROR at setup of TestFapiRSA.test_get_random_zero ______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _____________ ERROR at setup of TestFapiRSA.test_get_random_large ______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ____________ ERROR at setup of TestFapiRSA.test_get_random_negative ____________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _________________ ERROR at setup of TestFapiRSA.test_get_info __________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ___________________ ERROR at setup of TestFapiRSA.test_list ____________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _____________ ERROR at setup of TestFapiRSA.test_list_search_path ______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ___________ ERROR at setup of TestFapiRSA.test_list_bad_search_path ____________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ________________ ERROR at setup of TestFapiRSA.test_create_key _________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ___________ ERROR at setup of TestFapiRSA.test_create_key_double_ok ____________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError __________ ERROR at setup of TestFapiRSA.test_create_key_double_fail ___________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _________ ERROR at setup of TestFapiRSA.test_get_esys_blob_contextload _________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _____________ ERROR at setup of TestFapiRSA.test_get_esys_blob_bad _____________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _________ ERROR at setup of TestFapiRSA.test_get_esys_blob_deserialize _________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError __________________ ERROR at setup of TestFapiRSA.test_verify ___________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ________________ ERROR at setup of TestFapiRSA.test_verify_fail ________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ___________ ERROR at setup of TestFapiRSA.test_import_key_double_ok ____________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError __________ ERROR at setup of TestFapiRSA.test_import_key_double_fail ___________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError __________ ERROR at setup of TestFapiRSA.test_import_policy_double_ok __________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _________ ERROR at setup of TestFapiRSA.test_import_policy_double_fail _________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ____________ ERROR at setup of TestFapiRSA.test_import_exported_key ____________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError __________ ERROR at setup of TestFapiRSA.test_export_imported_policy ___________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ________________ ERROR at setup of TestFapiRSA.test_create_seal ________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ___________ ERROR at setup of TestFapiRSA.test_create_seal_double_ok ___________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError __________ ERROR at setup of TestFapiRSA.test_create_seal_double_fail __________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ____________ ERROR at setup of TestFapiRSA.test_create_seal_random _____________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ____ ERROR at setup of TestFapiRSA.test_create_seal_both_data_and_size_fail ____ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError __ ERROR at setup of TestFapiRSA.test_create_seal_neither_data_nor_size_fail ___ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError __________________ ERROR at setup of TestFapiRSA.test_unseal ___________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _______________ ERROR at setup of TestFapiRSA.test_quote_verify ________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ________________ ERROR at setup of TestFapiRSA.test_export_key _________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ________________ ERROR at setup of TestFapiRSA.test_delete_key _________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ____________ ERROR at setup of TestFapiRSA.test_set_get_description ____________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ___________ ERROR at setup of TestFapiRSA.test_get_empty_description ___________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _____________ ERROR at setup of TestFapiRSA.test_set_get_app_data ______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ______________ ERROR at setup of TestFapiRSA.test_get_no_app_data ______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ____________ ERROR at setup of TestFapiRSA.test_set_get_certificate ____________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ___________ ERROR at setup of TestFapiRSA.test_get_empty_certificate ___________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ____ ERROR at setup of TestFapiRSA.test_get_empty_platform_certificates_ok _____ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ___ ERROR at setup of TestFapiRSA.test_get_empty_platform_certificates_fail ____ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _________________ ERROR at setup of TestFapiRSA.test_pcr_read __________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ______________ ERROR at setup of TestFapiRSA.test_pcr_extend_read ______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _______________ ERROR at setup of TestFapiRSA.test_nv_write_read _______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _______________ ERROR at setup of TestFapiRSA.test_nv_increment ________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError __________________ ERROR at setup of TestFapiRSA.test_nv_pcr ___________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ________________ ERROR at setup of TestFapiRSA.test_nv_set_bits ________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _____________ ERROR at setup of TestFapiRSA.test_set_auth_callback _____________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ____________ ERROR at setup of TestFapiRSA.test_unset_auth_callback ____________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ____________ ERROR at setup of TestFapiRSA.test_write_authorize_nv _____________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _____________ ERROR at setup of TestFapiRSA.test_authorize_policy ______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _______________ ERROR at setup of TestFapiRSA.test_policy_signed _______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ______________ ERROR at setup of TestFapiRSA.test_policy_branched ______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _______________ ERROR at setup of TestFapiRSA.test_policy_action _______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ___________________ ERROR at setup of TestFapiRSA.test_sign ____________________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError _______________ ERROR at setup of TestFapiRSA.test_get_tpm_blobs _______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ______________ ERROR at setup of TestFapiRSA.test_encrypt_decrypt ______________ @pytest.fixture(scope="module") def simulator(): tpm = TpmSimulator.getSimulator() > tpm.start() test/test_fapi.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError =================================== FAILURES =================================== ________________________ CryptoTest.test_ecc_bad_curves ________________________ test/TSS2_BaseTest.py:215: in setUp raise e test/TSS2_BaseTest.py:211: in setUp ectx.startup(TPM2_SU.CLEAR) build/lib.linux-riscv64-cpython-311/tpm2_pytss/ESAPI.py:328: in startup _chkrc(lib.Esys_Startup(self._ctx, startup_type)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-311/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled WARNING:tcti:src/util/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 30998: errno 111: Connection refused ERROR:esys:src/tss2-esys/api/Esys_Startup.c:125:Esys_Startup_Async() Finish (Execute Async) ErrorCode (0x000a000a) ERROR:esys:src/tss2-esys/api/Esys_Startup.c:55:Esys_Startup() Error in async function ErrorCode (0x000a000a) ________________________ CryptoTest.test_encrypted_key _________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________ CryptoTest.test_from_pem_with_scheme _____________________ test/TSS2_BaseTest.py:215: in setUp raise e test/TSS2_BaseTest.py:211: in setUp ectx.startup(TPM2_SU.CLEAR) build/lib.linux-riscv64-cpython-311/tpm2_pytss/ESAPI.py:328: in startup _chkrc(lib.Esys_Startup(self._ctx, startup_type)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-311/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled WARNING:tcti:src/util/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 30747: errno 111: Connection refused ERROR:esys:src/tss2-esys/api/Esys_Startup.c:125:Esys_Startup_Async() Finish (Execute Async) ErrorCode (0x000a000a) ERROR:esys:src/tss2-esys/api/Esys_Startup.c:55:Esys_Startup() Error in async function ErrorCode (0x000a000a) ___________________ CryptoTest.test_from_pem_with_symmetric ____________________ test/TSS2_BaseTest.py:215: in setUp raise e test/TSS2_BaseTest.py:211: in setUp ectx.startup(TPM2_SU.CLEAR) build/lib.linux-riscv64-cpython-311/tpm2_pytss/ESAPI.py:328: in startup _chkrc(lib.Esys_Startup(self._ctx, startup_type)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-311/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled WARNING:tcti:src/util/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 53443: errno 111: Connection refused ERROR:esys:src/tss2-esys/api/Esys_Startup.c:125:Esys_Startup_Async() Finish (Execute Async) ErrorCode (0x000a000a) ERROR:esys:src/tss2-esys/api/Esys_Startup.c:55:Esys_Startup() Error in async function ErrorCode (0x000a000a) ___________________________ CryptoTest.test_get_alg ____________________________ test/TSS2_BaseTest.py:215: in setUp raise e test/TSS2_BaseTest.py:211: in setUp ectx.startup(TPM2_SU.CLEAR) build/lib.linux-riscv64-cpython-311/tpm2_pytss/ESAPI.py:328: in startup _chkrc(lib.Esys_Startup(self._ctx, startup_type)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-311/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled WARNING:tcti:src/util/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 13896: errno 111: Connection refused ERROR:esys:src/tss2-esys/api/Esys_Startup.c:125:Esys_Startup_Async() Finish (Execute Async) ErrorCode (0x000a000a) ERROR:esys:src/tss2-esys/api/Esys_Startup.c:55:Esys_Startup() Error in async function ErrorCode (0x000a000a) _____________________________ CryptoTest.test_kdfa _____________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________________ CryptoTest.test_kdfe _____________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ____________________ CryptoTest.test_keyedhash_from_secret _____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________ CryptoTest.test_keyedhash_from_secret_bad ___________________ test/TSS2_BaseTest.py:215: in setUp raise e test/TSS2_BaseTest.py:211: in setUp ectx.startup(TPM2_SU.CLEAR) build/lib.linux-riscv64-cpython-311/tpm2_pytss/ESAPI.py:328: in startup _chkrc(lib.Esys_Startup(self._ctx, startup_type)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-311/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled WARNING:tcti:src/util/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 15654: errno 111: Connection refused ERROR:esys:src/tss2-esys/api/Esys_Startup.c:125:Esys_Startup_Async() Finish (Execute Async) ErrorCode (0x000a000a) ERROR:esys:src/tss2-esys/api/Esys_Startup.c:55:Esys_Startup() Error in async function ErrorCode (0x000a000a) _________________ CryptoTest.test_keyedhash_from_secret_unseal _________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ CryptoTest.test_loadexternal_ecc _______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ CryptoTest.test_loadexternal_public_rsa ____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ CryptoTest.test_loadexternal_rsa _______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________________ CryptoTest.test_nv_getname __________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ CryptoTest.test_private_from_pem_bad_der ___________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________ CryptoTest.test_private_from_pem_ecc _____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ CryptoTest.test_private_from_pem_ecc_der ___________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________ CryptoTest.test_private_from_pem_rsa _____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ CryptoTest.test_private_from_pem_rsa_der ___________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ CryptoTest.test_public_from_pem_bad_der ____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________ CryptoTest.test_public_from_pem_ecc ______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ CryptoTest.test_public_from_pem_ecc_der ____________________ test/TSS2_BaseTest.py:215: in setUp raise e test/TSS2_BaseTest.py:211: in setUp ectx.startup(TPM2_SU.CLEAR) build/lib.linux-riscv64-cpython-311/tpm2_pytss/ESAPI.py:328: in startup _chkrc(lib.Esys_Startup(self._ctx, startup_type)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-311/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled WARNING:tcti:src/util/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 3216: errno 111: Connection refused ERROR:esys:src/tss2-esys/api/Esys_Startup.c:125:Esys_Startup_Async() Finish (Execute Async) ErrorCode (0x000a000a) ERROR:esys:src/tss2-esys/api/Esys_Startup.c:55:Esys_Startup() Error in async function ErrorCode (0x000a000a) _________________ CryptoTest.test_public_from_pem_ecc_der_cert _________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________ CryptoTest.test_public_from_pem_ecc_pem_cert _________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________ CryptoTest.test_public_from_pem_rsa ______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ CryptoTest.test_public_from_pem_rsa_der ____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________ CryptoTest.test_public_from_pem_rsa_der_cert _________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________ CryptoTest.test_public_from_pem_rsa_pem_cert _________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________ CryptoTest.test_public_from_private ______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ CryptoTest.test_public_from_private_der ____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ________________________ CryptoTest.test_public_getname ________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ____________________ CryptoTest.test_public_to_pem_bad_key _____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________ CryptoTest.test_public_to_pem_ecc _______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________ CryptoTest.test_public_to_pem_rsa _______________________ test/TSS2_BaseTest.py:215: in setUp raise e test/TSS2_BaseTest.py:211: in setUp ectx.startup(TPM2_SU.CLEAR) build/lib.linux-riscv64-cpython-311/tpm2_pytss/ESAPI.py:328: in startup _chkrc(lib.Esys_Startup(self._ctx, startup_type)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-311/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled WARNING:tcti:src/util/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 43455: errno 111: Connection refused ERROR:esys:src/tss2-esys/api/Esys_Startup.c:125:Esys_Startup_Async() Finish (Execute Async) ErrorCode (0x000a000a) ERROR:esys:src/tss2-esys/api/Esys_Startup.c:55:Esys_Startup() Error in async function ErrorCode (0x000a000a) _________________________ CryptoTest.test_rsa_exponent _________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ CryptoTest.test_ssh_key_ecc __________________________ test/TSS2_BaseTest.py:215: in setUp raise e test/TSS2_BaseTest.py:211: in setUp ectx.startup(TPM2_SU.CLEAR) build/lib.linux-riscv64-cpython-311/tpm2_pytss/ESAPI.py:328: in startup _chkrc(lib.Esys_Startup(self._ctx, startup_type)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-311/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled WARNING:tcti:src/util/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 33768: errno 111: Connection refused ERROR:esys:src/tss2-esys/api/Esys_Startup.c:125:Esys_Startup_Async() Finish (Execute Async) ErrorCode (0x000a000a) ERROR:esys:src/tss2-esys/api/Esys_Startup.c:55:Esys_Startup() Error in async function ErrorCode (0x000a000a) ____________________ CryptoTest.test_symcipher_from_secret _____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________ CryptoTest.test_symcipher_from_secret_bad ___________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ CryptoTest.test_symdef_to_crypt ________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________________ CryptoTest.test_topem_ecc ___________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ CryptoTest.test_topem_encodings ________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________________ CryptoTest.test_topem_rsa ___________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ CryptoTest.test_unsupported_key ________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________ CryptoTest.test_verify_signature_bad _____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________ CryptoTest.test_verify_signature_ecc _____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ____________________ CryptoTest.test_verify_signature_hmac _____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ CryptoTest.test_verify_singature_rsapss ____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ CryptoTest.test_verify_singature_rsassa ____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________________ ToolsTest.test_decode_int ___________________________ test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ ToolsTest.test_decode_int_nt _________________________ test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ ToolsTest.test_decode_nt_extend ________________________ test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ ToolsTest.test_decode_nt_pin _________________________ test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ____________________________ ToolsTest.test_to_yaml ____________________________ test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ____________________ ToolsTest.test_tools_decode_pcr_tuples ____________________ self = def test_tools_decode_pcr_tuples(self): self.maxDiff = None if not self.has_tools: self.skipTest("tools not in path") > yml = self.run_tool("pcrread", "sha1:0,1,2,3,4,5,6,7,8+sha256:0") test/test_encoding.py:1286: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = no_tcti = False, tool_args = ('pcrread', 'sha1:0,1,2,3,4,5,6,7,8+sha256:0') args = ('tpm2', 'pcrread', 'sha1:0,1,2,3,4,5,6,7,8+sha256:0', '--tcti', 'swtpm:port=19636') tcti = 'swtpm:port=19636' def run_tool(self, *tool_args, no_tcti=False): args = ("tpm2",) + tuple(tool_args) if not no_tcti: tcti = self.tpm.tcti_name_conf args = args + ("--tcti", tcti) su_args = ("tpm2", "startup", "--clear", "--tcti", tcti) res = subprocess.run(su_args, timeout=20, capture_output=True, text=True) if res.returncode != 0: > raise RuntimeError( f"tpm2 startup failed with {res.returncode}: {res.stderr}" ) E RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 19636: errno 111: Connection refused E ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:613:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket E ERROR:tcti:src/tss2-tcti/tctildr-dl.c:169:tcti_from_file() Could not initialize TCTI file: swtpm E ERROR:tcti:src/tss2-tcti/tctildr.c:430:Tss2_TctiLdr_Initialize_Ex() Failed to instantiate TCTI E ERROR: Could not load tcti, got: "swtpm:port=19636" test/test_encoding.py:724: RuntimeError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ________________ ToolsTest.test_tools_decode_tmpl_pcr_selection ________________ test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ____________________ ToolsTest.test_tools_decode_tpm2b_name ____________________ test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ ToolsTest.test_tools_decode_tpma_session ___________________ test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________ ToolsTest.test_tools_decode_tpml_alg _____________________ self = def test_tools_decode_tpml_alg(self): if not self.has_tools: self.skipTest("tools not in path") elif not self.tpm.tcti_name_conf.startswith("swtpm"): self.skipTest("swtpm required") > self.run_tool("incrementalselftest", "rsa", "ecc") test/test_encoding.py:1392: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = no_tcti = False, tool_args = ('incrementalselftest', 'rsa', 'ecc') args = ('tpm2', 'incrementalselftest', 'rsa', 'ecc', '--tcti', 'swtpm:port=26233') tcti = 'swtpm:port=26233' def run_tool(self, *tool_args, no_tcti=False): args = ("tpm2",) + tuple(tool_args) if not no_tcti: tcti = self.tpm.tcti_name_conf args = args + ("--tcti", tcti) su_args = ("tpm2", "startup", "--clear", "--tcti", tcti) res = subprocess.run(su_args, timeout=20, capture_output=True, text=True) if res.returncode != 0: > raise RuntimeError( f"tpm2 startup failed with {res.returncode}: {res.stderr}" ) E RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 26233: errno 111: Connection refused E ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:613:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket E ERROR:tcti:src/tss2-tcti/tctildr-dl.c:169:tcti_from_file() Could not initialize TCTI file: swtpm E ERROR:tcti:src/tss2-tcti/tctildr.c:430:Tss2_TctiLdr_Initialize_Ex() Failed to instantiate TCTI E ERROR: Could not load tcti, got: "swtpm:port=26233" test/test_encoding.py:724: RuntimeError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ________________ ToolsTest.test_tools_decode_tpml_alg_property _________________ test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________ ToolsTest.test_tools_decode_tpml_cca _____________________ test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ________________ ToolsTest.test_tools_decode_tpml_digest_values ________________ self = def test_tools_decode_tpml_digest_values(self): if not self.has_tools: self.skipTest("tools not in path") data_path = os.path.join(self.tpm.working_dir.name, "eventdata") with open(data_path, "w") as f: f.write("falafel") > yml = self.run_tool("pcrevent", "8", data_path) test/test_encoding.py:1352: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = no_tcti = False, tool_args = ('pcrevent', '8', '/tmp/tmpvgxthflz/eventdata') args = ('tpm2', 'pcrevent', '8', '/tmp/tmpvgxthflz/eventdata', '--tcti', 'swtpm:port=18472') tcti = 'swtpm:port=18472' def run_tool(self, *tool_args, no_tcti=False): args = ("tpm2",) + tuple(tool_args) if not no_tcti: tcti = self.tpm.tcti_name_conf args = args + ("--tcti", tcti) su_args = ("tpm2", "startup", "--clear", "--tcti", tcti) res = subprocess.run(su_args, timeout=20, capture_output=True, text=True) if res.returncode != 0: > raise RuntimeError( f"tpm2 startup failed with {res.returncode}: {res.stderr}" ) E RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 18472: errno 111: Connection refused E ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:613:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket E ERROR:tcti:src/tss2-tcti/tctildr-dl.c:169:tcti_from_file() Could not initialize TCTI file: swtpm E ERROR:tcti:src/tss2-tcti/tctildr.c:430:Tss2_TctiLdr_Initialize_Ex() Failed to instantiate TCTI E ERROR: Could not load tcti, got: "swtpm:port=18472" test/test_encoding.py:724: RuntimeError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled __________________ ToolsTest.test_tools_decode_tpml_ecc_curve __________________ self = def test_tools_decode_tpml_ecc_curve(self): if not self.has_tools: self.skipTest("tools not in path") elif not self.tpm.tcti_name_conf.startswith("swtpm"): self.skipTest("swtpm required") > yml = self.run_tool("getcap", "ecc-curves") test/test_encoding.py:1097: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = no_tcti = False, tool_args = ('getcap', 'ecc-curves') args = ('tpm2', 'getcap', 'ecc-curves', '--tcti', 'swtpm:port=29637') tcti = 'swtpm:port=29637' def run_tool(self, *tool_args, no_tcti=False): args = ("tpm2",) + tuple(tool_args) if not no_tcti: tcti = self.tpm.tcti_name_conf args = args + ("--tcti", tcti) su_args = ("tpm2", "startup", "--clear", "--tcti", tcti) res = subprocess.run(su_args, timeout=20, capture_output=True, text=True) if res.returncode != 0: > raise RuntimeError( f"tpm2 startup failed with {res.returncode}: {res.stderr}" ) E RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 29637: errno 111: Connection refused E ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:613:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket E ERROR:tcti:src/tss2-tcti/tctildr-dl.c:169:tcti_from_file() Could not initialize TCTI file: swtpm E ERROR:tcti:src/tss2-tcti/tctildr.c:430:Tss2_TctiLdr_Initialize_Ex() Failed to instantiate TCTI E ERROR: Could not load tcti, got: "swtpm:port=29637" test/test_encoding.py:724: RuntimeError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ ToolsTest.test_tools_decode_tpml_handle ____________________ self = def test_tools_decode_tpml_handle(self): if not self.has_tools: self.skipTest("tools not in path") > yml = self.run_tool("getcap", "handles-pcr") test/test_encoding.py:1088: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = no_tcti = False, tool_args = ('getcap', 'handles-pcr') args = ('tpm2', 'getcap', 'handles-pcr', '--tcti', 'swtpm:port=48547') tcti = 'swtpm:port=48547' def run_tool(self, *tool_args, no_tcti=False): args = ("tpm2",) + tuple(tool_args) if not no_tcti: tcti = self.tpm.tcti_name_conf args = args + ("--tcti", tcti) su_args = ("tpm2", "startup", "--clear", "--tcti", tcti) res = subprocess.run(su_args, timeout=20, capture_output=True, text=True) if res.returncode != 0: > raise RuntimeError( f"tpm2 startup failed with {res.returncode}: {res.stderr}" ) E RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 48547: errno 111: Connection refused E ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:613:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket E ERROR:tcti:src/tss2-tcti/tctildr-dl.c:169:tcti_from_file() Could not initialize TCTI file: swtpm E ERROR:tcti:src/tss2-tcti/tctildr.c:430:Tss2_TctiLdr_Initialize_Ex() Failed to instantiate TCTI E ERROR: Could not load tcti, got: "swtpm:port=48547" test/test_encoding.py:724: RuntimeError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled _____________ ToolsTest.test_tools_decode_tpml_tagged_tpm_property _____________ self = def test_tools_decode_tpml_tagged_tpm_property(self): if not self.has_tools: self.skipTest("tools not in path") elif not self.tpm.tcti_name_conf.startswith("swtpm"): self.skipTest("swtpm required") > fixedyml = self.run_tool("getcap", "properties-fixed") test/test_encoding.py:1153: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = no_tcti = False, tool_args = ('getcap', 'properties-fixed') args = ('tpm2', 'getcap', 'properties-fixed', '--tcti', 'swtpm:port=63779') tcti = 'swtpm:port=63779' def run_tool(self, *tool_args, no_tcti=False): args = ("tpm2",) + tuple(tool_args) if not no_tcti: tcti = self.tpm.tcti_name_conf args = args + ("--tcti", tcti) su_args = ("tpm2", "startup", "--clear", "--tcti", tcti) res = subprocess.run(su_args, timeout=20, capture_output=True, text=True) if res.returncode != 0: > raise RuntimeError( f"tpm2 startup failed with {res.returncode}: {res.stderr}" ) E RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 63779: errno 111: Connection refused E ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:613:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket E ERROR:tcti:src/tss2-tcti/tctildr-dl.c:169:tcti_from_file() Could not initialize TCTI file: swtpm E ERROR:tcti:src/tss2-tcti/tctildr.c:430:Tss2_TctiLdr_Initialize_Ex() Failed to instantiate TCTI E ERROR: Could not load tcti, got: "swtpm:port=63779" test/test_encoding.py:724: RuntimeError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________ ToolsTest.test_tools_decode_tpms_nv_public __________________ test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ ToolsTest.test_tools_decode_tpmt_public ____________________ self = def test_tools_decode_tpmt_public(self): if not self.has_tools: self.skipTest("tools not in path") > rsayml = self.run_tool( "createprimary", "-G", "rsa2048:rsapss-sha256:null", "-a", "fixedtpm|fixedparent|sensitivedataorigin|userwithauth|sign", ) test/test_encoding.py:1193: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = no_tcti = False tool_args = ('createprimary', '-G', 'rsa2048:rsapss-sha256:null', '-a', 'fixedtpm|fixedparent|sensitivedataorigin|userwithauth|sign') args = ('tpm2', 'createprimary', '-G', 'rsa2048:rsapss-sha256:null', '-a', 'fixedtpm|fixedparent|sensitivedataorigin|userwithauth|sign', ...) tcti = 'swtpm:port=4971' def run_tool(self, *tool_args, no_tcti=False): args = ("tpm2",) + tuple(tool_args) if not no_tcti: tcti = self.tpm.tcti_name_conf args = args + ("--tcti", tcti) su_args = ("tpm2", "startup", "--clear", "--tcti", tcti) res = subprocess.run(su_args, timeout=20, capture_output=True, text=True) if res.returncode != 0: > raise RuntimeError( f"tpm2 startup failed with {res.returncode}: {res.stderr}" ) E RuntimeError: tpm2 startup failed with 1: WARNING:tcti:src/util/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 4971: errno 111: Connection refused E ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:613:Tss2_Tcti_Swtpm_Init() Cannot connect to swtpm TPM socket E ERROR:tcti:src/tss2-tcti/tctildr-dl.c:169:tcti_from_file() Could not initialize TCTI file: swtpm E ERROR:tcti:src/tss2-tcti/tctildr.c:430:Tss2_TctiLdr_Initialize_Ex() Failed to instantiate TCTI E ERROR: Could not load tcti, got: "swtpm:port=4971" test/test_encoding.py:724: RuntimeError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ________________________ ToolsTest.test_tools_tpml_alg _________________________ test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ____________________ ToolsTest.test_tools_tpml_alg_property ____________________ test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ________________________ ToolsTest.test_tools_tpml_cca _________________________ test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ ToolsTest.test_tools_tpml_digest_values ____________________ test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________ ToolsTest.test_tools_tpml_ecc_curve ______________________ test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ ToolsTest.test_tools_tpml_handle _______________________ test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ ToolsTest.test_tools_tpml_pcr_selection ____________________ test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ________________ ToolsTest.test_tools_tpml_tagged_tpm_property _________________ test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________ ToolsTest.test_tools_tpms_context _______________________ test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________ ToolsTest.test_tools_tpms_nv_public ______________________ test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ ToolsTest.test_tools_tpmt_public _______________________ test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ ToolsTest.test_tools_unsupported _______________________ test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________ TestEsys.test_TPMS_CONTEXT_to_tools ______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________ TestEsys.test_activate_credential _______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ____________________________ TestEsys.test_certify _____________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ________________________ TestEsys.test_certify_creation ________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________________ TestEsys.test_change_eps ___________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________________ TestEsys.test_change_pps ___________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________________ TestEsys.test_clear ______________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________________ TestEsys.test_clearcontrol __________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ TestEsys.test_clock_rate_adjust ________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________________ TestEsys.test_clock_set ____________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________________ TestEsys.test_commit _____________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ TestEsys.test_context_save_context_load ____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________________ TestEsys.test_create _____________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________________ TestEsys.test_create_none ___________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ TestEsys.test_create_primary _________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________ TestEsys.test_create_primary_none _______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________________ TestEsys.test_createloaded __________________________ test/TSS2_BaseTest.py:215: in setUp raise e test/TSS2_BaseTest.py:211: in setUp ectx.startup(TPM2_SU.CLEAR) build/lib.linux-riscv64-cpython-311/tpm2_pytss/ESAPI.py:328: in startup _chkrc(lib.Esys_Startup(self._ctx, startup_type)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-311/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled WARNING:tcti:src/util/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 6064: errno 111: Connection refused ERROR:esys:src/tss2-esys/api/Esys_Startup.c:125:Esys_Startup_Async() Finish (Execute Async) ErrorCode (0x000a000a) ERROR:esys:src/tss2-esys/api/Esys_Startup.c:55:Esys_Startup() Error in async function ErrorCode (0x000a000a) _______________________ TestEsys.test_createloaded_none ________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________ TestEsys.test_dictionary_attack_lock_reset __________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________ TestEsys.test_dictionary_attack_parameters __________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________________ TestEsys.test_double_close __________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________________ TestEsys.test_duplicate ____________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ TestEsys.test_ecc_parameters _________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________________ TestEsys.test_ecdh_key_gen __________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________________ TestEsys.test_ecdh_z_gen ___________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ________________________ TestEsys.test_encrypt_decrypt _________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ________________________ TestEsys.test_encrypt_decrypt2 ________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ TestEsys.test_esys_tr_functions ________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ____________________ TestEsys.test_event_sequence_complete _____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ TestEsys.test_evict_control __________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ TestEsys.test_field_upgrade_data _______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________ TestEsys.test_field_upgrade_start _______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ TestEsys.test_firmware_read __________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ TestEsys.test_flush_context __________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________________ TestEsys.test_fulltest_no ___________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________________ TestEsys.test_fulltest_yes __________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ TestEsys.test_get_capability _________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ____________________ TestEsys.test_get_command_audit_digest ____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________________ TestEsys.test_get_random ___________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ____________________ TestEsys.test_get_session_audit_digest ____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ____________________________ TestEsys.test_get_time ____________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ____________________________ TestEsys.test_gettcti _____________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________________ TestEsys.test_hash ______________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ TestEsys.test_hash_sequence __________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ TestEsys.test_hierarchy_control ________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________ TestEsys.test_hierarchychangeauth _______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________________ TestEsys.test_hmac ______________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ TestEsys.test_hmac_sequence __________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________________ TestEsys.test_hmac_session __________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________________ TestEsys.test_import _____________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ____________________ TestEsys.test_incremental_resume_test _____________________ test/TSS2_BaseTest.py:215: in setUp raise e test/TSS2_BaseTest.py:211: in setUp ectx.startup(TPM2_SU.CLEAR) build/lib.linux-riscv64-cpython-311/tpm2_pytss/ESAPI.py:328: in startup _chkrc(lib.Esys_Startup(self._ctx, startup_type)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-311/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled WARNING:tcti:src/util/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 61674: errno 111: Connection refused ERROR:esys:src/tss2-esys/api/Esys_Startup.c:125:Esys_Startup_Async() Finish (Execute Async) ErrorCode (0x000a000a) ERROR:esys:src/tss2-esys/api/Esys_Startup.c:55:Esys_Startup() Error in async function ErrorCode (0x000a000a) _____________________ TestEsys.test_incremental_self_test ______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________________ TestEsys.test_load ______________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ________________________ TestEsys.test_make_credential _________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________________ TestEsys.test_nv_certify ___________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ TestEsys.test_nv_change_auth _________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________________ TestEsys.test_nv_extend ____________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________ TestEsys.test_nv_global_write_lock ______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________________ TestEsys.test_nv_increment __________________________ test/TSS2_BaseTest.py:215: in setUp raise e test/TSS2_BaseTest.py:211: in setUp ectx.startup(TPM2_SU.CLEAR) build/lib.linux-riscv64-cpython-311/tpm2_pytss/ESAPI.py:328: in startup _chkrc(lib.Esys_Startup(self._ctx, startup_type)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-311/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled WARNING:tcti:src/util/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 21680: errno 111: Connection refused ERROR:esys:src/tss2-esys/api/Esys_Startup.c:125:Esys_Startup_Async() Finish (Execute Async) ErrorCode (0x000a000a) ERROR:esys:src/tss2-esys/api/Esys_Startup.c:55:Esys_Startup() Error in async function ErrorCode (0x000a000a) __________________________ TestEsys.test_nv_read_lock __________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ TestEsys.test_nv_read_public _________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________________ TestEsys.test_nv_set_bits ___________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ TestEsys.test_nv_undefine_space_special ____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ TestEsys.test_nv_write_lock __________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ TestEsys.test_object_change_auth _______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________________ TestEsys.test_pcr_allocate __________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________________ TestEsys.test_pcr_event ____________________________ test/TSS2_BaseTest.py:215: in setUp raise e test/TSS2_BaseTest.py:211: in setUp ectx.startup(TPM2_SU.CLEAR) build/lib.linux-riscv64-cpython-311/tpm2_pytss/ESAPI.py:328: in startup _chkrc(lib.Esys_Startup(self._ctx, startup_type)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rc = 655370, acceptable = [0] def _chkrc(rc, acceptable=None): if acceptable is None: acceptable = [] elif isinstance(acceptable, int): acceptable = [acceptable] acceptable += [lib.TPM2_RC_SUCCESS] if rc not in acceptable: > raise TSS2_Exception(rc) E tpm2_pytss.TSS2_Exception.TSS2_Exception: tcti:IO failure build/lib.linux-riscv64-cpython-311/tpm2_pytss/internal/utils.py:176: TSS2_Exception ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled WARNING:tcti:src/util/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 38480: errno 111: Connection refused ERROR:esys:src/tss2-esys/api/Esys_Startup.c:125:Esys_Startup_Async() Finish (Execute Async) ErrorCode (0x000a000a) ERROR:esys:src/tss2-esys/api/Esys_Startup.c:55:Esys_Startup() Error in async function ErrorCode (0x000a000a) ___________________________ TestEsys.test_pcr_extend ___________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ____________________________ TestEsys.test_pcr_read ____________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________________ TestEsys.test_pcr_reset ____________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________ TestEsys.test_pcr_set_auth_policy _______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ TestEsys.test_pcr_set_auth_value _______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________ TestEsys.test_plain_nv_define_write_read_undefine _______________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ TestEsys.test_policy_auth_value ________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ________________________ TestEsys.test_policy_authorize ________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________ TestEsys.test_policy_authorize_nv _______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________ TestEsys.test_policy_command_code _______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________ TestEsys.test_policy_counter_timer ______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ TestEsys.test_policy_cp_hash _________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ TestEsys.test_policy_duplication_select ____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ TestEsys.test_policy_get_digest ________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ________________________ TestEsys.test_policy_locality _________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ________________________ TestEsys.test_policy_name_hash ________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________________ TestEsys.test_policy_nv ____________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ TestEsys.test_policy_nv_written ________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________________ TestEsys.test_policy_or ____________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ________________________ TestEsys.test_policy_password _________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________________ TestEsys.test_policy_pcr ___________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ____________________ TestEsys.test_policy_physical_presence ____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ TestEsys.test_policy_secret __________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: Could not open TCP socket: Address already in use swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ TestEsys.test_policy_signed __________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ________________________ TestEsys.test_policy_template _________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ TestEsys.test_policy_ticket __________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ TestEsys.test_policyrestart __________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________________ TestEsys.test_pp_commands ___________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________________ TestEsys.test_quote ______________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________________ TestEsys.test_read_clock ___________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________________ TestEsys.test_readpublic ___________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________________ TestEsys.test_ref_parent ___________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________________ TestEsys.test_rewrap _____________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________________ TestEsys.test_rsa_enc_dec ___________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________ TestEsys.test_rsa_enc_dec_with_label _____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ TestEsys.test_set_algorithm_set ________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________ TestEsys.test_set_command_code_audit_status __________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ TestEsys.test_set_primary_policy _______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________________ TestEsys.test_shutdown_bad __________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ TestEsys.test_shutdown_clear _________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ________________________ TestEsys.test_shutdown_no_arg _________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ TestEsys.test_shutdown_state _________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________________ TestEsys.test_sign ______________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ TestEsys.test_start_auth_session_enckey ____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________ TestEsys.test_start_auth_session_enckey_bindkey ________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________ TestEsys.test_start_auth_session_noncecaller _________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________ TestEsys.test_start_auth_session_noncecaller_bad _______________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________________ TestEsys.test_stir_random ___________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________________ TestEsys.test_test_parms ___________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ TestEsys.test_tr_get_tpm_handle ________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________ TestEsys.test_tr_sess_set_attributes _____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________________ TestEsys.test_unseal _____________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ________________________ TestEsys.test_vendor_tcg_test _________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ________________________ TestEsys.test_verify_signature ________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ TestEsys.test_z_gen_2_phase __________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________ TestPolicy.test_calc_name_callback ______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ____________________ TestPolicy.test_calc_nvpublic_callback ____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________ TestPolicy.test_calc_pcr_callback _______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________ TestPolicy.test_calc_public_callback _____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________________ TestPolicy.test_callbacks ___________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________ TestPolicy.test_exec_auth_callback ______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ TestPolicy.test_exec_polaction_callback ____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ____________________ TestPolicy.test_exec_polauth_callback _____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ TestPolicy.test_exec_polauthnv_callback ____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________ TestPolicy.test_exec_poldup_callback _____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________ TestPolicy.test_exec_polsel_callback _____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________ TestPolicy.test_exec_sign_callback ______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ TestPolicy.test_password_policy ________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ TestPolicy.test_password_policy_execute ____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________________ TestTCTI.test_cancel _____________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ____________ TestTCTI.test_custom_pytcti_C_wrapper_transmit_receive ____________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________ TestTCTI.test_custom_pytcti_cancel ______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________ TestTCTI.test_custom_pytcti_ctx_manager_finalize _______________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________ TestTCTI.test_custom_pytcti_esapi _______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________ TestTCTI.test_custom_pytcti_finalize _____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________ TestTCTI.test_custom_pytcti_finalize_error __________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________ TestTCTI.test_custom_pytcti_get_poll_handles _________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________ TestTCTI.test_custom_pytcti_magic _______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ TestTCTI.test_custom_pytcti_make_sticky ____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ TestTCTI.test_custom_pytcti_set_locality ___________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________ TestTCTI.test_custom_pytcti_version ______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ____________________________ TestTCTI.test_finalize ____________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ________________________ TestTCTI.test_get_poll_handles ________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________________ TestTCTI.test_init ______________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________________ TestTCTI.test_make_sticky ___________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________________ TestTCTI.test_set_locality __________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ____________________________ TestTCTI.test_tctildr _____________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ________________________ TestTCTI.test_transmit_receive ________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________________ TSSKeyTest.test_bad_oid ____________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ TSSKeyTest.test_bad_pem_type _________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ TSSKeyTest.test_create_load_ecc ________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ TSSKeyTest.test_create_load_ecc_password ___________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ TSSKeyTest.test_create_load_rsa ________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________ TSSKeyTest.test_create_no_password_load_password _______________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________ TSSKeyTest.test_create_password_load_no_password _______________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ____________________________ TSSKeyTest.test_no_ecc ____________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ________________________ TSSKeyTest.test_no_ecc_no_rsa _________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ____________________ TSSKeyTest.test_persistent_parent_ecc _____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ____________________ TSSKeyTest.test_persistent_parent_rsa _____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ TSSKeyTest.test_rsa_frompem __________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________________ TSSKeyTest.test_rsa_topem ___________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________ TestUtils.test_MakeCredential_ecc _______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________ TestUtils.test_MakeCredential_rsa _______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________________ TestUtils.test_Wrap_ecc ____________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________________ TestUtils.test_Wrap_rsa ____________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ TestUtils.test_create_ek_bad _________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ TestUtils.test_create_ek_ecc _________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________ TestUtils.test_create_ek_high_ecc256 _____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________________ TestUtils.test_create_ek_high_ecc384 _____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ____________________ TestUtils.test_create_ek_high_rsa2048 _____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________________ TestUtils.test_create_ek_rsa _________________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________ TestUtils.test_create_ek_template _______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________ TestUtils.test_credential_to_tools ______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ___________________ TestUtils.test_credential_to_tools_bytes ___________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ TestUtils.test_generate_seed_ecc _______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________________ TestUtils.test_generate_seed_rsa _______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _________________ TestUtils.test_make_credential_ecc_camellia __________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: Could not open TCP socket: Address already in use swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ____________________ TestUtils.test_make_credential_ecc_sm4 ____________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________________ TestUtils.test_tools_to_credential ______________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _______________ TestUtils.test_tools_to_credential_invalid_magic _______________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ______________ TestUtils.test_tools_to_credential_invalid_version ______________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled ________ TestUtils.test_tpm_export_rsa_child_rsa_parent_with_inner_key _________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________ TestUtils.test_unmarshal_tools_pcr_values ___________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________ TestUtils.test_unwrap_ec_parent_rsa_child ___________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________ TestUtils.test_unwrap_ec_parent_rsa_child_outerwrap ______________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled __________________ TestUtils.test_unwrap_rsa_parent_rsa_child __________________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled _____________ TestUtils.test_unwrap_rsa_parent_rsa_child_outerwrap _____________ test/TSS2_BaseTest.py:207: in setUp super().setUp() test/TSS2_BaseTest.py:191: in setUp self.tpm.start() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def start(self): logger = logging.getLogger("DEBUG") logger.debug('Setting up simulator: "{}"'.format(self.exe)) tpm = None for _ in range(0, 20): random_port = random.randrange(2321, 65534) sim = self._start(port=random_port) for _ in range(0, 10): rc = sim.poll() if rc is not None: logger.debug(f"Simulator {self.exe} exited with {rc}") break if ( sim.poll() is None and self.ready(random_port) and self.ready(random_port + 1) ): tpm = sim break time.sleep(0.1) if tpm: self.tpm = sim self._port = random_port logger.debug(f"started {self.exe} on port {random_port}\n") break else: sim.kill() if not tpm: > raise SystemError("Could not start simulator") E SystemError: Could not start simulator test/TSS2_BaseTest.py:62: SystemError ----------------------------- Captured stderr call ----------------------------- swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled swtpm: seccomp_load failed with errno 125: Operation canceled =========================== short test summary info ============================ FAILED test/test_crypto.py::CryptoTest::test_ecc_bad_curves - tpm2_pytss.TSS2... FAILED test/test_crypto.py::CryptoTest::test_encrypted_key - SystemError: Cou... FAILED test/test_crypto.py::CryptoTest::test_from_pem_with_scheme - tpm2_pyts... FAILED test/test_crypto.py::CryptoTest::test_from_pem_with_symmetric - tpm2_p... FAILED test/test_crypto.py::CryptoTest::test_get_alg - tpm2_pytss.TSS2_Except... FAILED test/test_crypto.py::CryptoTest::test_kdfa - SystemError: Could not st... FAILED test/test_crypto.py::CryptoTest::test_kdfe - SystemError: Could not st... FAILED test/test_crypto.py::CryptoTest::test_keyedhash_from_secret - SystemEr... FAILED test/test_crypto.py::CryptoTest::test_keyedhash_from_secret_bad - tpm2... FAILED test/test_crypto.py::CryptoTest::test_keyedhash_from_secret_unseal - S... FAILED test/test_crypto.py::CryptoTest::test_loadexternal_ecc - SystemError: ... FAILED test/test_crypto.py::CryptoTest::test_loadexternal_public_rsa - System... FAILED test/test_crypto.py::CryptoTest::test_loadexternal_rsa - SystemError: ... FAILED test/test_crypto.py::CryptoTest::test_nv_getname - SystemError: Could ... FAILED test/test_crypto.py::CryptoTest::test_private_from_pem_bad_der - Syste... FAILED test/test_crypto.py::CryptoTest::test_private_from_pem_ecc - SystemErr... FAILED test/test_crypto.py::CryptoTest::test_private_from_pem_ecc_der - Syste... FAILED test/test_crypto.py::CryptoTest::test_private_from_pem_rsa - SystemErr... FAILED test/test_crypto.py::CryptoTest::test_private_from_pem_rsa_der - Syste... FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_bad_der - System... FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_ecc - SystemErro... FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_ecc_der - tpm2_p... FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_ecc_der_cert - S... FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_ecc_pem_cert - S... FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_rsa - SystemErro... FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_rsa_der - System... FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_rsa_der_cert - S... FAILED test/test_crypto.py::CryptoTest::test_public_from_pem_rsa_pem_cert - S... FAILED test/test_crypto.py::CryptoTest::test_public_from_private - SystemErro... FAILED test/test_crypto.py::CryptoTest::test_public_from_private_der - System... FAILED test/test_crypto.py::CryptoTest::test_public_getname - SystemError: Co... FAILED test/test_crypto.py::CryptoTest::test_public_to_pem_bad_key - SystemEr... FAILED test/test_crypto.py::CryptoTest::test_public_to_pem_ecc - SystemError:... FAILED test/test_crypto.py::CryptoTest::test_public_to_pem_rsa - tpm2_pytss.T... FAILED test/test_crypto.py::CryptoTest::test_rsa_exponent - SystemError: Coul... FAILED test/test_crypto.py::CryptoTest::test_ssh_key_ecc - tpm2_pytss.TSS2_Ex... FAILED test/test_crypto.py::CryptoTest::test_symcipher_from_secret - SystemEr... FAILED test/test_crypto.py::CryptoTest::test_symcipher_from_secret_bad - Syst... FAILED test/test_crypto.py::CryptoTest::test_symdef_to_crypt - SystemError: C... FAILED test/test_crypto.py::CryptoTest::test_topem_ecc - SystemError: Could n... FAILED test/test_crypto.py::CryptoTest::test_topem_encodings - SystemError: C... FAILED test/test_crypto.py::CryptoTest::test_topem_rsa - SystemError: Could n... FAILED test/test_crypto.py::CryptoTest::test_unsupported_key - SystemError: C... FAILED test/test_crypto.py::CryptoTest::test_verify_signature_bad - SystemErr... FAILED test/test_crypto.py::CryptoTest::test_verify_signature_ecc - SystemErr... FAILED test/test_crypto.py::CryptoTest::test_verify_signature_hmac - SystemEr... FAILED test/test_crypto.py::CryptoTest::test_verify_singature_rsapss - System... FAILED test/test_crypto.py::CryptoTest::test_verify_singature_rsassa - System... FAILED test/test_encoding.py::ToolsTest::test_decode_int - SystemError: Could... FAILED test/test_encoding.py::ToolsTest::test_decode_int_nt - SystemError: Co... FAILED test/test_encoding.py::ToolsTest::test_decode_nt_extend - SystemError:... FAILED test/test_encoding.py::ToolsTest::test_decode_nt_pin - SystemError: Co... FAILED test/test_encoding.py::ToolsTest::test_to_yaml - SystemError: Could no... FAILED test/test_encoding.py::ToolsTest::test_tools_decode_pcr_tuples - Runti... FAILED test/test_encoding.py::ToolsTest::test_tools_decode_tmpl_pcr_selection FAILED test/test_encoding.py::ToolsTest::test_tools_decode_tpm2b_name - Syste... FAILED test/test_encoding.py::ToolsTest::test_tools_decode_tpma_session - Sys... FAILED test/test_encoding.py::ToolsTest::test_tools_decode_tpml_alg - Runtime... FAILED test/test_encoding.py::ToolsTest::test_tools_decode_tpml_alg_property FAILED test/test_encoding.py::ToolsTest::test_tools_decode_tpml_cca - SystemE... FAILED test/test_encoding.py::ToolsTest::test_tools_decode_tpml_digest_values FAILED test/test_encoding.py::ToolsTest::test_tools_decode_tpml_ecc_curve - R... FAILED test/test_encoding.py::ToolsTest::test_tools_decode_tpml_handle - Runt... FAILED test/test_encoding.py::ToolsTest::test_tools_decode_tpml_tagged_tpm_property FAILED test/test_encoding.py::ToolsTest::test_tools_decode_tpms_nv_public - S... FAILED test/test_encoding.py::ToolsTest::test_tools_decode_tpmt_public - Runt... FAILED test/test_encoding.py::ToolsTest::test_tools_tpml_alg - SystemError: C... FAILED test/test_encoding.py::ToolsTest::test_tools_tpml_alg_property - Syste... FAILED test/test_encoding.py::ToolsTest::test_tools_tpml_cca - SystemError: C... FAILED test/test_encoding.py::ToolsTest::test_tools_tpml_digest_values - Syst... FAILED test/test_encoding.py::ToolsTest::test_tools_tpml_ecc_curve - SystemEr... FAILED test/test_encoding.py::ToolsTest::test_tools_tpml_handle - SystemError... FAILED test/test_encoding.py::ToolsTest::test_tools_tpml_pcr_selection - Syst... FAILED test/test_encoding.py::ToolsTest::test_tools_tpml_tagged_tpm_property FAILED test/test_encoding.py::ToolsTest::test_tools_tpms_context - SystemErro... FAILED test/test_encoding.py::ToolsTest::test_tools_tpms_nv_public - SystemEr... FAILED test/test_encoding.py::ToolsTest::test_tools_tpmt_public - SystemError... FAILED test/test_encoding.py::ToolsTest::test_tools_unsupported - SystemError... FAILED test/test_esapi.py::TestEsys::test_TPMS_CONTEXT_to_tools - SystemError... FAILED test/test_esapi.py::TestEsys::test_activate_credential - SystemError: ... FAILED test/test_esapi.py::TestEsys::test_certify - SystemError: Could not st... FAILED test/test_esapi.py::TestEsys::test_certify_creation - SystemError: Cou... FAILED test/test_esapi.py::TestEsys::test_change_eps - SystemError: Could not... FAILED test/test_esapi.py::TestEsys::test_change_pps - SystemError: Could not... FAILED test/test_esapi.py::TestEsys::test_clear - SystemError: Could not star... FAILED test/test_esapi.py::TestEsys::test_clearcontrol - SystemError: Could n... FAILED test/test_esapi.py::TestEsys::test_clock_rate_adjust - SystemError: Co... FAILED test/test_esapi.py::TestEsys::test_clock_set - SystemError: Could not ... FAILED test/test_esapi.py::TestEsys::test_commit - SystemError: Could not sta... FAILED test/test_esapi.py::TestEsys::test_context_save_context_load - SystemE... FAILED test/test_esapi.py::TestEsys::test_create - SystemError: Could not sta... FAILED test/test_esapi.py::TestEsys::test_create_none - SystemError: Could no... FAILED test/test_esapi.py::TestEsys::test_create_primary - SystemError: Could... FAILED test/test_esapi.py::TestEsys::test_create_primary_none - SystemError: ... FAILED test/test_esapi.py::TestEsys::test_createloaded - tpm2_pytss.TSS2_Exce... FAILED test/test_esapi.py::TestEsys::test_createloaded_none - SystemError: Co... FAILED test/test_esapi.py::TestEsys::test_dictionary_attack_lock_reset - Syst... FAILED test/test_esapi.py::TestEsys::test_dictionary_attack_parameters - Syst... FAILED test/test_esapi.py::TestEsys::test_double_close - SystemError: Could n... FAILED test/test_esapi.py::TestEsys::test_duplicate - SystemError: Could not ... FAILED test/test_esapi.py::TestEsys::test_ecc_parameters - SystemError: Could... FAILED test/test_esapi.py::TestEsys::test_ecdh_key_gen - SystemError: Could n... FAILED test/test_esapi.py::TestEsys::test_ecdh_z_gen - SystemError: Could not... FAILED test/test_esapi.py::TestEsys::test_encrypt_decrypt - SystemError: Coul... FAILED test/test_esapi.py::TestEsys::test_encrypt_decrypt2 - SystemError: Cou... FAILED test/test_esapi.py::TestEsys::test_esys_tr_functions - SystemError: Co... FAILED test/test_esapi.py::TestEsys::test_event_sequence_complete - SystemErr... FAILED test/test_esapi.py::TestEsys::test_evict_control - SystemError: Could ... FAILED test/test_esapi.py::TestEsys::test_field_upgrade_data - SystemError: C... FAILED test/test_esapi.py::TestEsys::test_field_upgrade_start - SystemError: ... FAILED test/test_esapi.py::TestEsys::test_firmware_read - SystemError: Could ... FAILED test/test_esapi.py::TestEsys::test_flush_context - SystemError: Could ... FAILED test/test_esapi.py::TestEsys::test_fulltest_no - SystemError: Could no... FAILED test/test_esapi.py::TestEsys::test_fulltest_yes - SystemError: Could n... FAILED test/test_esapi.py::TestEsys::test_get_capability - SystemError: Could... FAILED test/test_esapi.py::TestEsys::test_get_command_audit_digest - SystemEr... FAILED test/test_esapi.py::TestEsys::test_get_random - SystemError: Could not... FAILED test/test_esapi.py::TestEsys::test_get_session_audit_digest - SystemEr... FAILED test/test_esapi.py::TestEsys::test_get_time - SystemError: Could not s... FAILED test/test_esapi.py::TestEsys::test_gettcti - SystemError: Could not st... FAILED test/test_esapi.py::TestEsys::test_hash - SystemError: Could not start... FAILED test/test_esapi.py::TestEsys::test_hash_sequence - SystemError: Could ... FAILED test/test_esapi.py::TestEsys::test_hierarchy_control - SystemError: Co... FAILED test/test_esapi.py::TestEsys::test_hierarchychangeauth - SystemError: ... FAILED test/test_esapi.py::TestEsys::test_hmac - SystemError: Could not start... FAILED test/test_esapi.py::TestEsys::test_hmac_sequence - SystemError: Could ... FAILED test/test_esapi.py::TestEsys::test_hmac_session - SystemError: Could n... FAILED test/test_esapi.py::TestEsys::test_import - SystemError: Could not sta... FAILED test/test_esapi.py::TestEsys::test_incremental_resume_test - tpm2_pyts... FAILED test/test_esapi.py::TestEsys::test_incremental_self_test - SystemError... FAILED test/test_esapi.py::TestEsys::test_load - SystemError: Could not start... FAILED test/test_esapi.py::TestEsys::test_make_credential - SystemError: Coul... FAILED test/test_esapi.py::TestEsys::test_nv_certify - SystemError: Could not... FAILED test/test_esapi.py::TestEsys::test_nv_change_auth - SystemError: Could... FAILED test/test_esapi.py::TestEsys::test_nv_extend - SystemError: Could not ... FAILED test/test_esapi.py::TestEsys::test_nv_global_write_lock - SystemError:... FAILED test/test_esapi.py::TestEsys::test_nv_increment - tpm2_pytss.TSS2_Exce... FAILED test/test_esapi.py::TestEsys::test_nv_read_lock - SystemError: Could n... FAILED test/test_esapi.py::TestEsys::test_nv_read_public - SystemError: Could... FAILED test/test_esapi.py::TestEsys::test_nv_set_bits - SystemError: Could no... FAILED test/test_esapi.py::TestEsys::test_nv_undefine_space_special - SystemE... FAILED test/test_esapi.py::TestEsys::test_nv_write_lock - SystemError: Could ... FAILED test/test_esapi.py::TestEsys::test_object_change_auth - SystemError: C... FAILED test/test_esapi.py::TestEsys::test_pcr_allocate - SystemError: Could n... FAILED test/test_esapi.py::TestEsys::test_pcr_event - tpm2_pytss.TSS2_Excepti... FAILED test/test_esapi.py::TestEsys::test_pcr_extend - SystemError: Could not... FAILED test/test_esapi.py::TestEsys::test_pcr_read - SystemError: Could not s... FAILED test/test_esapi.py::TestEsys::test_pcr_reset - SystemError: Could not ... FAILED test/test_esapi.py::TestEsys::test_pcr_set_auth_policy - SystemError: ... FAILED test/test_esapi.py::TestEsys::test_pcr_set_auth_value - SystemError: C... FAILED test/test_esapi.py::TestEsys::test_plain_nv_define_write_read_undefine FAILED test/test_esapi.py::TestEsys::test_policy_auth_value - SystemError: Co... FAILED test/test_esapi.py::TestEsys::test_policy_authorize - SystemError: Cou... FAILED test/test_esapi.py::TestEsys::test_policy_authorize_nv - SystemError: ... FAILED test/test_esapi.py::TestEsys::test_policy_command_code - SystemError: ... FAILED test/test_esapi.py::TestEsys::test_policy_counter_timer - SystemError:... FAILED test/test_esapi.py::TestEsys::test_policy_cp_hash - SystemError: Could... FAILED test/test_esapi.py::TestEsys::test_policy_duplication_select - SystemE... FAILED test/test_esapi.py::TestEsys::test_policy_get_digest - SystemError: Co... FAILED test/test_esapi.py::TestEsys::test_policy_locality - SystemError: Coul... FAILED test/test_esapi.py::TestEsys::test_policy_name_hash - SystemError: Cou... FAILED test/test_esapi.py::TestEsys::test_policy_nv - SystemError: Could not ... FAILED test/test_esapi.py::TestEsys::test_policy_nv_written - SystemError: Co... FAILED test/test_esapi.py::TestEsys::test_policy_or - SystemError: Could not ... FAILED test/test_esapi.py::TestEsys::test_policy_password - SystemError: Coul... FAILED test/test_esapi.py::TestEsys::test_policy_pcr - SystemError: Could not... FAILED test/test_esapi.py::TestEsys::test_policy_physical_presence - SystemEr... FAILED test/test_esapi.py::TestEsys::test_policy_secret - SystemError: Could ... FAILED test/test_esapi.py::TestEsys::test_policy_signed - SystemError: Could ... FAILED test/test_esapi.py::TestEsys::test_policy_template - SystemError: Coul... FAILED test/test_esapi.py::TestEsys::test_policy_ticket - SystemError: Could ... FAILED test/test_esapi.py::TestEsys::test_policyrestart - SystemError: Could ... FAILED test/test_esapi.py::TestEsys::test_pp_commands - SystemError: Could no... FAILED test/test_esapi.py::TestEsys::test_quote - SystemError: Could not star... FAILED test/test_esapi.py::TestEsys::test_read_clock - SystemError: Could not... FAILED test/test_esapi.py::TestEsys::test_readpublic - SystemError: Could not... FAILED test/test_esapi.py::TestEsys::test_ref_parent - SystemError: Could not... FAILED test/test_esapi.py::TestEsys::test_rewrap - SystemError: Could not sta... FAILED test/test_esapi.py::TestEsys::test_rsa_enc_dec - SystemError: Could no... FAILED test/test_esapi.py::TestEsys::test_rsa_enc_dec_with_label - SystemErro... FAILED test/test_esapi.py::TestEsys::test_set_algorithm_set - SystemError: Co... FAILED test/test_esapi.py::TestEsys::test_set_command_code_audit_status - Sys... FAILED test/test_esapi.py::TestEsys::test_set_primary_policy - SystemError: C... FAILED test/test_esapi.py::TestEsys::test_shutdown_bad - SystemError: Could n... FAILED test/test_esapi.py::TestEsys::test_shutdown_clear - SystemError: Could... FAILED test/test_esapi.py::TestEsys::test_shutdown_no_arg - SystemError: Coul... FAILED test/test_esapi.py::TestEsys::test_shutdown_state - SystemError: Could... FAILED test/test_esapi.py::TestEsys::test_sign - SystemError: Could not start... FAILED test/test_esapi.py::TestEsys::test_start_auth_session_enckey - SystemE... FAILED test/test_esapi.py::TestEsys::test_start_auth_session_enckey_bindkey FAILED test/test_esapi.py::TestEsys::test_start_auth_session_noncecaller - Sy... FAILED test/test_esapi.py::TestEsys::test_start_auth_session_noncecaller_bad FAILED test/test_esapi.py::TestEsys::test_stir_random - SystemError: Could no... FAILED test/test_esapi.py::TestEsys::test_test_parms - SystemError: Could not... FAILED test/test_esapi.py::TestEsys::test_tr_get_tpm_handle - SystemError: Co... FAILED test/test_esapi.py::TestEsys::test_tr_sess_set_attributes - SystemErro... FAILED test/test_esapi.py::TestEsys::test_unseal - SystemError: Could not sta... FAILED test/test_esapi.py::TestEsys::test_vendor_tcg_test - SystemError: Coul... FAILED test/test_esapi.py::TestEsys::test_verify_signature - SystemError: Cou... FAILED test/test_esapi.py::TestEsys::test_z_gen_2_phase - SystemError: Could ... FAILED test/test_policy.py::TestPolicy::test_calc_name_callback - SystemError... FAILED test/test_policy.py::TestPolicy::test_calc_nvpublic_callback - SystemE... FAILED test/test_policy.py::TestPolicy::test_calc_pcr_callback - SystemError:... FAILED test/test_policy.py::TestPolicy::test_calc_public_callback - SystemErr... FAILED test/test_policy.py::TestPolicy::test_callbacks - SystemError: Could n... FAILED test/test_policy.py::TestPolicy::test_exec_auth_callback - SystemError... FAILED test/test_policy.py::TestPolicy::test_exec_polaction_callback - System... FAILED test/test_policy.py::TestPolicy::test_exec_polauth_callback - SystemEr... FAILED test/test_policy.py::TestPolicy::test_exec_polauthnv_callback - System... FAILED test/test_policy.py::TestPolicy::test_exec_poldup_callback - SystemErr... FAILED test/test_policy.py::TestPolicy::test_exec_polsel_callback - SystemErr... FAILED test/test_policy.py::TestPolicy::test_exec_sign_callback - SystemError... FAILED test/test_policy.py::TestPolicy::test_password_policy - SystemError: C... FAILED test/test_policy.py::TestPolicy::test_password_policy_execute - System... FAILED test/test_tcti.py::TestTCTI::test_cancel - SystemError: Could not star... FAILED test/test_tcti.py::TestTCTI::test_custom_pytcti_C_wrapper_transmit_receive FAILED test/test_tcti.py::TestTCTI::test_custom_pytcti_cancel - SystemError: ... FAILED test/test_tcti.py::TestTCTI::test_custom_pytcti_ctx_manager_finalize FAILED test/test_tcti.py::TestTCTI::test_custom_pytcti_esapi - SystemError: C... FAILED test/test_tcti.py::TestTCTI::test_custom_pytcti_finalize - SystemError... FAILED test/test_tcti.py::TestTCTI::test_custom_pytcti_finalize_error - Syste... FAILED test/test_tcti.py::TestTCTI::test_custom_pytcti_get_poll_handles - Sys... FAILED test/test_tcti.py::TestTCTI::test_custom_pytcti_magic - SystemError: C... FAILED test/test_tcti.py::TestTCTI::test_custom_pytcti_make_sticky - SystemEr... FAILED test/test_tcti.py::TestTCTI::test_custom_pytcti_set_locality - SystemE... FAILED test/test_tcti.py::TestTCTI::test_custom_pytcti_version - SystemError:... FAILED test/test_tcti.py::TestTCTI::test_finalize - SystemError: Could not st... FAILED test/test_tcti.py::TestTCTI::test_get_poll_handles - SystemError: Coul... FAILED test/test_tcti.py::TestTCTI::test_init - SystemError: Could not start ... FAILED test/test_tcti.py::TestTCTI::test_make_sticky - SystemError: Could not... FAILED test/test_tcti.py::TestTCTI::test_set_locality - SystemError: Could no... FAILED test/test_tcti.py::TestTCTI::test_tctildr - SystemError: Could not sta... FAILED test/test_tcti.py::TestTCTI::test_transmit_receive - SystemError: Coul... FAILED test/test_tsskey.py::TSSKeyTest::test_bad_oid - SystemError: Could not... FAILED test/test_tsskey.py::TSSKeyTest::test_bad_pem_type - SystemError: Coul... FAILED test/test_tsskey.py::TSSKeyTest::test_create_load_ecc - SystemError: C... FAILED test/test_tsskey.py::TSSKeyTest::test_create_load_ecc_password - Syste... FAILED test/test_tsskey.py::TSSKeyTest::test_create_load_rsa - SystemError: C... FAILED test/test_tsskey.py::TSSKeyTest::test_create_no_password_load_password FAILED test/test_tsskey.py::TSSKeyTest::test_create_password_load_no_password FAILED test/test_tsskey.py::TSSKeyTest::test_no_ecc - SystemError: Could not ... FAILED test/test_tsskey.py::TSSKeyTest::test_no_ecc_no_rsa - SystemError: Cou... FAILED test/test_tsskey.py::TSSKeyTest::test_persistent_parent_ecc - SystemEr... FAILED test/test_tsskey.py::TSSKeyTest::test_persistent_parent_rsa - SystemEr... FAILED test/test_tsskey.py::TSSKeyTest::test_rsa_frompem - SystemError: Could... FAILED test/test_tsskey.py::TSSKeyTest::test_rsa_topem - SystemError: Could n... FAILED test/test_utils.py::TestUtils::test_MakeCredential_ecc - SystemError: ... FAILED test/test_utils.py::TestUtils::test_MakeCredential_rsa - SystemError: ... FAILED test/test_utils.py::TestUtils::test_Wrap_ecc - SystemError: Could not ... FAILED test/test_utils.py::TestUtils::test_Wrap_rsa - SystemError: Could not ... FAILED test/test_utils.py::TestUtils::test_create_ek_bad - SystemError: Could... FAILED test/test_utils.py::TestUtils::test_create_ek_ecc - SystemError: Could... FAILED test/test_utils.py::TestUtils::test_create_ek_high_ecc256 - SystemErro... FAILED test/test_utils.py::TestUtils::test_create_ek_high_ecc384 - SystemErro... FAILED test/test_utils.py::TestUtils::test_create_ek_high_rsa2048 - SystemErr... FAILED test/test_utils.py::TestUtils::test_create_ek_rsa - SystemError: Could... FAILED test/test_utils.py::TestUtils::test_create_ek_template - SystemError: ... FAILED test/test_utils.py::TestUtils::test_credential_to_tools - SystemError:... FAILED test/test_utils.py::TestUtils::test_credential_to_tools_bytes - System... FAILED test/test_utils.py::TestUtils::test_generate_seed_ecc - SystemError: C... FAILED test/test_utils.py::TestUtils::test_generate_seed_rsa - SystemError: C... FAILED test/test_utils.py::TestUtils::test_make_credential_ecc_camellia - Sys... FAILED test/test_utils.py::TestUtils::test_make_credential_ecc_sm4 - SystemEr... FAILED test/test_utils.py::TestUtils::test_tools_to_credential - SystemError:... FAILED test/test_utils.py::TestUtils::test_tools_to_credential_invalid_magic FAILED test/test_utils.py::TestUtils::test_tools_to_credential_invalid_version FAILED test/test_utils.py::TestUtils::test_tpm_export_rsa_child_rsa_parent_with_inner_key FAILED test/test_utils.py::TestUtils::test_unmarshal_tools_pcr_values - Syste... FAILED test/test_utils.py::TestUtils::test_unwrap_ec_parent_rsa_child - Syste... FAILED test/test_utils.py::TestUtils::test_unwrap_ec_parent_rsa_child_outerwrap FAILED test/test_utils.py::TestUtils::test_unwrap_rsa_parent_rsa_child - Syst... FAILED test/test_utils.py::TestUtils::test_unwrap_rsa_parent_rsa_child_outerwrap ERROR test/test_fapi.py::TestFapiECC::test_provision_ok - SystemError: Could ... ERROR test/test_fapi.py::TestFapiECC::test_provision_fail - SystemError: Coul... ERROR test/test_fapi.py::TestFapiECC::test_get_random - SystemError: Could no... ERROR test/test_fapi.py::TestFapiECC::test_get_random_zero - SystemError: Cou... ERROR test/test_fapi.py::TestFapiECC::test_get_random_large - SystemError: Co... ERROR test/test_fapi.py::TestFapiECC::test_get_random_negative - SystemError:... ERROR test/test_fapi.py::TestFapiECC::test_get_info - SystemError: Could not ... ERROR test/test_fapi.py::TestFapiECC::test_list - SystemError: Could not star... ERROR test/test_fapi.py::TestFapiECC::test_list_search_path - SystemError: Co... ERROR test/test_fapi.py::TestFapiECC::test_list_bad_search_path - SystemError... ERROR test/test_fapi.py::TestFapiECC::test_create_key - SystemError: Could no... ERROR test/test_fapi.py::TestFapiECC::test_create_key_double_ok - SystemError... ERROR test/test_fapi.py::TestFapiECC::test_create_key_double_fail - SystemErr... ERROR test/test_fapi.py::TestFapiECC::test_get_esys_blob_contextload - System... ERROR test/test_fapi.py::TestFapiECC::test_get_esys_blob_bad - SystemError: C... ERROR test/test_fapi.py::TestFapiECC::test_get_esys_blob_deserialize - System... ERROR test/test_fapi.py::TestFapiECC::test_verify - SystemError: Could not st... ERROR test/test_fapi.py::TestFapiECC::test_verify_fail - SystemError: Could n... ERROR test/test_fapi.py::TestFapiECC::test_import_key_double_ok - SystemError... ERROR test/test_fapi.py::TestFapiECC::test_import_key_double_fail - SystemErr... ERROR test/test_fapi.py::TestFapiECC::test_import_policy_double_ok - SystemEr... ERROR test/test_fapi.py::TestFapiECC::test_import_policy_double_fail - System... ERROR test/test_fapi.py::TestFapiECC::test_import_exported_key - SystemError:... ERROR test/test_fapi.py::TestFapiECC::test_export_imported_policy - SystemErr... ERROR test/test_fapi.py::TestFapiECC::test_create_seal - SystemError: Could n... ERROR test/test_fapi.py::TestFapiECC::test_create_seal_double_ok - SystemErro... ERROR test/test_fapi.py::TestFapiECC::test_create_seal_double_fail - SystemEr... ERROR test/test_fapi.py::TestFapiECC::test_create_seal_random - SystemError: ... ERROR test/test_fapi.py::TestFapiECC::test_create_seal_both_data_and_size_fail ERROR test/test_fapi.py::TestFapiECC::test_create_seal_neither_data_nor_size_fail ERROR test/test_fapi.py::TestFapiECC::test_unseal - SystemError: Could not st... ERROR test/test_fapi.py::TestFapiECC::test_quote_verify - SystemError: Could ... ERROR test/test_fapi.py::TestFapiECC::test_export_key - SystemError: Could no... ERROR test/test_fapi.py::TestFapiECC::test_delete_key - SystemError: Could no... ERROR test/test_fapi.py::TestFapiECC::test_set_get_description - SystemError:... ERROR test/test_fapi.py::TestFapiECC::test_get_empty_description - SystemErro... ERROR test/test_fapi.py::TestFapiECC::test_set_get_app_data - SystemError: Co... ERROR test/test_fapi.py::TestFapiECC::test_get_no_app_data - SystemError: Cou... ERROR test/test_fapi.py::TestFapiECC::test_set_get_certificate - SystemError:... ERROR test/test_fapi.py::TestFapiECC::test_get_empty_certificate - SystemErro... ERROR test/test_fapi.py::TestFapiECC::test_get_empty_platform_certificates_ok ERROR test/test_fapi.py::TestFapiECC::test_get_empty_platform_certificates_fail ERROR test/test_fapi.py::TestFapiECC::test_pcr_read - SystemError: Could not ... ERROR test/test_fapi.py::TestFapiECC::test_pcr_extend_read - SystemError: Cou... ERROR test/test_fapi.py::TestFapiECC::test_nv_write_read - SystemError: Could... ERROR test/test_fapi.py::TestFapiECC::test_nv_increment - SystemError: Could ... ERROR test/test_fapi.py::TestFapiECC::test_nv_pcr - SystemError: Could not st... ERROR test/test_fapi.py::TestFapiECC::test_nv_set_bits - SystemError: Could n... ERROR test/test_fapi.py::TestFapiECC::test_set_auth_callback - SystemError: C... ERROR test/test_fapi.py::TestFapiECC::test_unset_auth_callback - SystemError:... ERROR test/test_fapi.py::TestFapiECC::test_write_authorize_nv - SystemError: ... ERROR test/test_fapi.py::TestFapiECC::test_authorize_policy - SystemError: Co... ERROR test/test_fapi.py::TestFapiECC::test_policy_signed - SystemError: Could... ERROR test/test_fapi.py::TestFapiECC::test_policy_branched - SystemError: Cou... ERROR test/test_fapi.py::TestFapiECC::test_policy_action - SystemError: Could... ERROR test/test_fapi.py::TestFapiECC::test_sign - SystemError: Could not star... ERROR test/test_fapi.py::TestFapiECC::test_get_tpm_blobs - SystemError: Could... ERROR test/test_fapi.py::TestFapiRSA::test_provision_ok - SystemError: Could ... ERROR test/test_fapi.py::TestFapiRSA::test_provision_fail - SystemError: Coul... ERROR test/test_fapi.py::TestFapiRSA::test_get_random - SystemError: Could no... ERROR test/test_fapi.py::TestFapiRSA::test_get_random_zero - SystemError: Cou... ERROR test/test_fapi.py::TestFapiRSA::test_get_random_large - SystemError: Co... ERROR test/test_fapi.py::TestFapiRSA::test_get_random_negative - SystemError:... ERROR test/test_fapi.py::TestFapiRSA::test_get_info - SystemError: Could not ... ERROR test/test_fapi.py::TestFapiRSA::test_list - SystemError: Could not star... ERROR test/test_fapi.py::TestFapiRSA::test_list_search_path - SystemError: Co... ERROR test/test_fapi.py::TestFapiRSA::test_list_bad_search_path - SystemError... ERROR test/test_fapi.py::TestFapiRSA::test_create_key - SystemError: Could no... ERROR test/test_fapi.py::TestFapiRSA::test_create_key_double_ok - SystemError... ERROR test/test_fapi.py::TestFapiRSA::test_create_key_double_fail - SystemErr... ERROR test/test_fapi.py::TestFapiRSA::test_get_esys_blob_contextload - System... ERROR test/test_fapi.py::TestFapiRSA::test_get_esys_blob_bad - SystemError: C... ERROR test/test_fapi.py::TestFapiRSA::test_get_esys_blob_deserialize - System... ERROR test/test_fapi.py::TestFapiRSA::test_verify - SystemError: Could not st... ERROR test/test_fapi.py::TestFapiRSA::test_verify_fail - SystemError: Could n... ERROR test/test_fapi.py::TestFapiRSA::test_import_key_double_ok - SystemError... ERROR test/test_fapi.py::TestFapiRSA::test_import_key_double_fail - SystemErr... ERROR test/test_fapi.py::TestFapiRSA::test_import_policy_double_ok - SystemEr... ERROR test/test_fapi.py::TestFapiRSA::test_import_policy_double_fail - System... ERROR test/test_fapi.py::TestFapiRSA::test_import_exported_key - SystemError:... ERROR test/test_fapi.py::TestFapiRSA::test_export_imported_policy - SystemErr... ERROR test/test_fapi.py::TestFapiRSA::test_create_seal - SystemError: Could n... ERROR test/test_fapi.py::TestFapiRSA::test_create_seal_double_ok - SystemErro... ERROR test/test_fapi.py::TestFapiRSA::test_create_seal_double_fail - SystemEr... ERROR test/test_fapi.py::TestFapiRSA::test_create_seal_random - SystemError: ... ERROR test/test_fapi.py::TestFapiRSA::test_create_seal_both_data_and_size_fail ERROR test/test_fapi.py::TestFapiRSA::test_create_seal_neither_data_nor_size_fail ERROR test/test_fapi.py::TestFapiRSA::test_unseal - SystemError: Could not st... ERROR test/test_fapi.py::TestFapiRSA::test_quote_verify - SystemError: Could ... ERROR test/test_fapi.py::TestFapiRSA::test_export_key - SystemError: Could no... ERROR test/test_fapi.py::TestFapiRSA::test_delete_key - SystemError: Could no... ERROR test/test_fapi.py::TestFapiRSA::test_set_get_description - SystemError:... ERROR test/test_fapi.py::TestFapiRSA::test_get_empty_description - SystemErro... ERROR test/test_fapi.py::TestFapiRSA::test_set_get_app_data - SystemError: Co... ERROR test/test_fapi.py::TestFapiRSA::test_get_no_app_data - SystemError: Cou... ERROR test/test_fapi.py::TestFapiRSA::test_set_get_certificate - SystemError:... ERROR test/test_fapi.py::TestFapiRSA::test_get_empty_certificate - SystemErro... ERROR test/test_fapi.py::TestFapiRSA::test_get_empty_platform_certificates_ok ERROR test/test_fapi.py::TestFapiRSA::test_get_empty_platform_certificates_fail ERROR test/test_fapi.py::TestFapiRSA::test_pcr_read - SystemError: Could not ... ERROR test/test_fapi.py::TestFapiRSA::test_pcr_extend_read - SystemError: Cou... ERROR test/test_fapi.py::TestFapiRSA::test_nv_write_read - SystemError: Could... ERROR test/test_fapi.py::TestFapiRSA::test_nv_increment - SystemError: Could ... ERROR test/test_fapi.py::TestFapiRSA::test_nv_pcr - SystemError: Could not st... ERROR test/test_fapi.py::TestFapiRSA::test_nv_set_bits - SystemError: Could n... ERROR test/test_fapi.py::TestFapiRSA::test_set_auth_callback - SystemError: C... ERROR test/test_fapi.py::TestFapiRSA::test_unset_auth_callback - SystemError:... ERROR test/test_fapi.py::TestFapiRSA::test_write_authorize_nv - SystemError: ... ERROR test/test_fapi.py::TestFapiRSA::test_authorize_policy - SystemError: Co... ERROR test/test_fapi.py::TestFapiRSA::test_policy_signed - SystemError: Could... ERROR test/test_fapi.py::TestFapiRSA::test_policy_branched - SystemError: Cou... ERROR test/test_fapi.py::TestFapiRSA::test_policy_action - SystemError: Could... ERROR test/test_fapi.py::TestFapiRSA::test_sign - SystemError: Could not star... ERROR test/test_fapi.py::TestFapiRSA::test_get_tpm_blobs - SystemError: Could... ERROR test/test_fapi.py::TestFapiRSA::test_encrypt_decrypt - SystemError: Cou... ====== 272 failed, 178 passed, 4 skipped, 115 errors in 649.37s (0:10:49) ====== ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root4/build receiving incremental file list python-tpm2-pytss-2.1.0-2-riscv64-build.log python-tpm2-pytss-2.1.0-2-riscv64-check.log python-tpm2-pytss-2.1.0-2-riscv64-pkgver.log python-tpm2-pytss-2.1.0-2-riscv64-prepare.log sent 100 bytes received 28,652 bytes 57,504.00 bytes/sec total size is 1,021,846 speedup is 35.54