fyi:
I started to archive some of the test runs at:
https://github.com/akuster/meta-security-testresults
Not sure if I am doing this correctly but is at least a snapshot.

-armin

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

Signed-off-by: Armin Kuster <[email protected]>
---
  meta-parsec/lib/oeqa/runtime/cases/parsec.py | 5 +++++
  1 file changed, 5 insertions(+)

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




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57362): https://lists.yoctoproject.org/g/yocto/message/57362
Mute This Topic: https://lists.yoctoproject.org/mt/91871539/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to