Re: [meta-security][PATCH 3/3] oeqa: shut done swtpm before and after testing

Armin Kuster

I started to archive some of the test runs at:
Not sure if I am doing this correctly but is at least a snapshot.


On 6/19/22 20:35, Armin Kuster via wrote:
swtpm: Could not open TCP socket: Address already in use

Signed-off-by: Armin Kuster <akuster808@...>
meta-parsec/lib/oeqa/runtime/cases/ | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/meta-parsec/lib/oeqa/runtime/cases/ b/meta-parsec/lib/oeqa/runtime/cases/
index d3d3f2e..11e5572 100644
--- a/meta-parsec/lib/oeqa/runtime/cases/
+++ b/meta-parsec/lib/oeqa/runtime/cases/
@@ -12,8 +12,13 @@ from import skipIfNotFeature
class ParsecTest(OERuntimeTestCase):
def setUpClass(cls):
+'swtpm_ioctl -s --tcp :2322')
cls.toml_file = '/etc/parsec/config.toml'
+ @classmethod
+ def tearDownClass(cls):
+'swtpm_ioctl -s --tcp :2322')
def setUp(self):
super(ParsecTest, self).setUp()
if 'systemd' in['DISTRO_FEATURES']:

Join { to automatically receive all group messages.