From 3ec0177e2d4bcaef33cd5cecaa39f6e9234fdf79 Mon Sep 17 00:00:00 2001 From: Harish Sadineni Date: Thu, 8 Aug 2024 07:50:40 -0700 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-devtools/gcc/gcc-testsuite.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-devtools') 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() { f.write(generate_qemu_linux_user_config(d)) # write out target ssh board config - with open(os.path.join(dejagnudir, "ssh.exp"), "w") as f: + with open(os.path.join(dejagnudir, "linux-ssh.exp"), "w") as f: f.write(generate_remote_ssh_linux_config(d)) # generate site.exp to provide boards -- cgit v1.2.3-54-g00ecf