diff options
author | Harish Sadineni <Harish.Sadineni@windriver.com> | 2024-08-08 07:50:40 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-08-13 09:29:15 +0100 |
commit | 3ec0177e2d4bcaef33cd5cecaa39f6e9234fdf79 (patch) | |
tree | de13d6c7c5b0aa803080f474cc66a52244906cd9 /meta/recipes-devtools | |
parent | 4485677cdb9df8e78b33f9260df4cdd1045b21d3 (diff) | |
download | poky-3ec0177e2d4bcaef33cd5cecaa39f6e9234fdf79.tar.gz |
oeqa/selftest/gcc: Fix host key verfication failure
while runnig oe-selftest for gcc, testcases that need to be run on qemu are not running due to below failures.
- Executing on ssh: mkdir -p /tmp/runtest.3549641 (timeout = 300)
spawn [open ...]
Host key verification failed.
ERROR: Couldn't create remote directory /tmp/runtest.3549641 on ssh
Host key verification failure is happening when ssh board config file name is
defined as "ssh.exp" and there are multiple ssh.exp files generated during the build
and a wrong ssh config was taken. To resolve this changed the board config file name
to "linux-ssh.exp" which ensures correct ssh settings are used.
(From OE-Core rev: d32ec0b4d242879ab8eaf96e1cb407e8f0bb9f3d)
Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-testsuite.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-testsuite.inc b/meta/recipes-devtools/gcc/gcc-testsuite.inc index f16d471478..0a950b6c9e 100644 --- a/meta/recipes-devtools/gcc/gcc-testsuite.inc +++ b/meta/recipes-devtools/gcc/gcc-testsuite.inc | |||
@@ -101,7 +101,7 @@ python check_prepare() { | |||
101 | f.write(generate_qemu_linux_user_config(d)) | 101 | f.write(generate_qemu_linux_user_config(d)) |
102 | 102 | ||
103 | # write out target ssh board config | 103 | # write out target ssh board config |
104 | with open(os.path.join(dejagnudir, "ssh.exp"), "w") as f: | 104 | with open(os.path.join(dejagnudir, "linux-ssh.exp"), "w") as f: |
105 | f.write(generate_remote_ssh_linux_config(d)) | 105 | f.write(generate_remote_ssh_linux_config(d)) |
106 | 106 | ||
107 | # generate site.exp to provide boards | 107 | # generate site.exp to provide boards |