diff options
| author | Harish Sadineni <Harish.Sadineni@windriver.com> | 2024-09-27 21:46:38 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-10-01 12:40:48 +0100 |
| commit | 96814b5d06da46d7b787d7c8044597b8dd7f42e5 (patch) | |
| tree | a2b6eaf3adf39fb2e7b85ee374a6e8efc8d9a443 | |
| parent | ba0e556e073029e0611b38771035df27a4bd5533 (diff) | |
| download | poky-96814b5d06da46d7b787d7c8044597b8dd7f42e5.tar.gz | |
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: df64d5ab6eb37dcdc2046f449ec539a3f4b985c8)
Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/gcc.py | 2 |
1 files changed, 2 insertions, 0 deletions
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): | |||
| 83 | # validate that SSH is working | 83 | # validate that SSH is working |
| 84 | status, _ = qemu.run("uname") | 84 | status, _ = qemu.run("uname") |
| 85 | self.assertEqual(status, 0) | 85 | self.assertEqual(status, 0) |
| 86 | qemu.run('echo "MaxStartups 75:30:100" >> /etc/ssh/sshd_config') | ||
| 87 | qemu.run('service sshd restart') | ||
| 86 | 88 | ||
| 87 | return self.run_check(*args, ssh=qemu.ip, **kwargs) | 89 | return self.run_check(*args, ssh=qemu.ip, **kwargs) |
| 88 | 90 | ||
