From 98257584a95190f83186e14a8bae20a6e769c604 Mon Sep 17 00:00:00 2001 From: Harish Sadineni Date: Fri, 27 Sep 2024 21:46:38 -0700 Subject: oeqa/selftest/gcc: Fix kex exchange identification error while runnig oe-selftest for gcc, some of the testcases that need to be run on qemu are not running due to below failures: - kex_exchange_identification: read: Connection reset by peer^M Connection reset by 192.168.7.2 port 22^M ERROR: Couldn't create remote directory /tmp/runtest.3549814 on ssh To resolve kex exchange identification error increased the MaxStartups. (From OE-Core rev: 971d63d5b4982ce9ef4c4be742ba83a9708267da) Signed-off-by: Harish Sadineni Signed-off-by: Richard Purdie (cherry picked from commit df64d5ab6eb37dcdc2046f449ec539a3f4b985c8) Signed-off-by: Steve Sakoman --- meta/lib/oeqa/selftest/cases/gcc.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/lib') diff --git a/meta/lib/oeqa/selftest/cases/gcc.py b/meta/lib/oeqa/selftest/cases/gcc.py index 4cc0894d42..1bda29a72b 100644 --- a/meta/lib/oeqa/selftest/cases/gcc.py +++ b/meta/lib/oeqa/selftest/cases/gcc.py @@ -83,6 +83,8 @@ class GccSelfTestBase(OESelftestTestCase, OEPTestResultTestCase): # validate that SSH is working status, _ = qemu.run("uname") self.assertEqual(status, 0) + qemu.run('echo "MaxStartups 75:30:100" >> /etc/ssh/sshd_config') + qemu.run('service sshd restart') return self.run_check(*args, ssh=qemu.ip, **kwargs) -- cgit v1.2.3-54-g00ecf