Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D676CC61DA4 for ; Thu, 23 Feb 2023 18:55:51 +0000 (UTC) Received: from mx0a-0064b401.pphosted.com (mx0a-0064b401.pphosted.com [205.220.166.238]) by mx.groups.io with SMTP id smtpd.web10.19984.1677178541668366170 for ; Thu, 23 Feb 2023 10:55:43 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@windriver.com header.s=pps06212021 header.b=ff/TRJje; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: windriver.com, ip: 205.220.166.238, mailfrom: prvs=1418931e81=randy.macleod@windriver.com) Received: from pps.filterd (m0250810.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31NBfYv0031464 for ; Thu, 23 Feb 2023 10:55:41 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriver.com; h=content-type : message-id : date : subject : to : cc : references : from : in-reply-to : mime-version; s=PPS06212021; bh=laMMOJBXoZOMC/FgHZhfJcLWCBkDSyVxSRVdQ3wHfJo=; b=ff/TRJjeUC0PSgkJqLUvG91pID3guPTZlqCym/h2oqR23raIMuuoVC3jc/65juxBkcB8 xW58J35qQfhUwUHblSbRnwRor6wq1y3BvScap86FwN9WTsAsIKymhfer8hk/Fj+TiKJ1 HVgg5/9uxS1ol9HhBQKCPL0irmaw8q44b9Em7x9xjv2HWk7M21oGPhgrJ4F+BzhJSbbr kacM9gpKxzRhuo5sZDpftTq/YT35WgTpo2kLOn4iqWPPIZ1Lv3/6E7OVAr3GJrEwF5Gg Ps8BM+0lx9j2o3mpYMT6E0MrpHYynpwubiBDPFZebvsv8CkUpCibap5kS9uUQwVZ7ZFS 4Q== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 3nttu6w17y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 23 Feb 2023 10:55:41 -0800 Received: from m0250810.ppops.net (m0250810.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 31NIteHL019934 for ; Thu, 23 Feb 2023 10:55:40 -0800 Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2102.outbound.protection.outlook.com [104.47.70.102]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 3nttu6w17x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 23 Feb 2023 10:55:40 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Oxmyuj52hBv7Uj2OcqsLlbPwQdUdiQ+iO+v+6v/oeKhwUNGD3ma7g1pyu03Bi0yLTlYLNHKxnT0Fj6WGM8z3XcL6xRxx2p0ZOrTZPxrQk/uZ3Cid3c+FRdwhq4MZfbhuMe77y/szaT34bdPyr2jFsHDb4lN6R3nJpNPIV+FhiJBocGJoHSN8P7MoCAinyuGNfLVivb7NXgu2hgLArJqmwfGjTNGSuAZp5076c7SyJIgz7RMHKcubDlN0uR4CscF+Kv53hPl+83jyQ4bOt5uqv0P+wG133gE7fwB6w+sdUR0PKPG6GKK+XTG0aOMmph0kekhtMi2woGf8zdoFJ/nIqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=laMMOJBXoZOMC/FgHZhfJcLWCBkDSyVxSRVdQ3wHfJo=; b=ey8Un354aY54CWWK/ud0j+iX+ioG4w+WyI7xKOJbHZrZlA2RWQKDcUNvJ5MpIE+dsWgNEvhpj6l9XH4U0uSgwkx0Ql6cJwPf9FRceyLcmbTqpUQn/lK7qzBIwdfi5H1ocdOvxkIcicMpnrwwGAU6tTPfZlDZgLKKcveok+FhsDnJ/uf3DTUJQLpCQ2Pdd1SvvLrnjeRbFhuiK0gSH/mFuUcgF3rqjd9iBZghoezTKWsZ41PGmdhoUk1fe92tZwkgloxapICB0lO4FxBSQCMpfEgrFFnXZW24aJnW8MrvYGtzfzPifh75+jZ/1z8yXLPLg6ggAqa7qSLwDPsNbMY0/Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none Received: from DM6PR11MB3994.namprd11.prod.outlook.com (2603:10b6:5:193::19) by DM4PR11MB5969.namprd11.prod.outlook.com (2603:10b6:8:5c::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.21; Thu, 23 Feb 2023 18:55:37 +0000 Received: from DM6PR11MB3994.namprd11.prod.outlook.com ([fe80::119d:6114:994a:b87d]) by DM6PR11MB3994.namprd11.prod.outlook.com ([fe80::119d:6114:994a:b87d%5]) with mapi id 15.20.6111.021; Thu, 23 Feb 2023 18:55:37 +0000 Content-Type: multipart/alternative; boundary="------------TQRUg5V3l5lbS6X6mLzEjZUd" Message-ID: <18d49c01-cafe-aef9-4bbc-9ab97ec067e3@windriver.com> Date: Thu, 23 Feb 2023 13:55:33 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [OE-core] [PATCH v12] Rust Oe-Selftest implementation Content-Language: en-CA To: pgowda.cve@gmail.com, openembedded-core@lists.openembedded.org, "Gowda, Naveen" Cc: richard.purdie@linuxfoundation.org, rwmacleod@gmail.com, vinay.m.engg@gmail.com, "Shinde, Yash" References: <20230223063624.2226016-1-pgowda.cve@gmail.com> From: Randy MacLeod In-Reply-To: <20230223063624.2226016-1-pgowda.cve@gmail.com> X-ClientProxiedBy: SJ0PR13CA0123.namprd13.prod.outlook.com (2603:10b6:a03:2c6::8) To DM6PR11MB3994.namprd11.prod.outlook.com (2603:10b6:5:193::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR11MB3994:EE_|DM4PR11MB5969:EE_ X-MS-Office365-Filtering-Correlation-Id: 2378f546-dc1d-47ed-5193-08db15cf8d19 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ah9IFtU2k4l632Y5ERqiGMYkIpTZvFvmorr7PkA4NuviAddJM1YOMnDd0C2cahthf/Lcpha/MAblT3sPzXqvAmMPU5wjYjAXqUS9UGrHK5z/e4lwmtLQvmZqDPGPqXaJCDd8bgJJVjTToq7sxKa9EoUfFiIfBbeVrRs10cdR8P3IXop+ZIZ2HTiNRi5XzJSz6aDloJIbJy8f5i8RpBmY/9l/nKkkO71eTw01um+EIiidUwov5bOVi8lNsZTtKnyjMYFcnyW1a0WzVFgUIazIL/KTtC9Y3fcxVlCsMIRJPOtrCICNXIy5U7ZhMgkspE5PFc0Sz11SwQ3+YrAB6w9l7X4ux4S4adyZ0ZL2Ea7fjdy0twNDBjWiqsNrZSHTTI7S5LxY6UtRzit2sZb54j9+TaiIGpE/qSBLZIaoekkmpc5WAmEGZ8sOY/JYh8PwLRavUnGPSuAlShEvD6+maEcZF41sLfMpgr+UJsUgo6LP5cpj3p8aPYA3TZDo2j+FRvId4I+WoolBOmW8BMOV4DeNiy8B6pzsaLJxiBkfWXJjr3QNDoAjKb97PXzgQu0dDNkFaJ1Djp6sjsD0zMhbzSYIB3ZuSxSmo21Z75Vd4GDHFsBBLXWj5uOoHkggKTbeK+FPM1S4xjPP8V63sa0sjGIoYiVs3+GaQVNEbGhZRWAY5S3goeQeXTLs2cnsEBzvxGfIlCxnJLhc+mUxPMg5X9ZiW889CNegJHrpfknYEguCCgg= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR11MB3994.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(136003)(346002)(366004)(376002)(396003)(39850400004)(451199018)(2616005)(41300700001)(83380400001)(5660300002)(31696002)(478600001)(37006003)(6862004)(186003)(26005)(86362001)(38100700002)(8936002)(6636002)(8676002)(4326008)(66946007)(6512007)(33964004)(6506007)(316002)(66556008)(6486002)(36756003)(66476007)(66899018)(31686004)(2906002)(107886003)(6666004)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Smk4UnIzVXFsYnJ2cm9PQ3ZRbkwyVWMxTEgwTXBpMDVPVk14MkpvVnRLYXNj?= =?utf-8?B?VnRTSks4T3ZIRHV0MFFwSEFVcnYyaC9mT1owcnM5NklpaVhQUjlXSU41czFX?= =?utf-8?B?L0RwQklDZHNrZzZ3NTFkUCtzQXI4cmV4T0oxYkxZNHJ6S1NsVGhFUDZCbFBJ?= =?utf-8?B?aGkvOUw2ajFodXNMQ2UvVVNxOEhmbktkUHdLQkZ6Qm5salNQeVpORkVaK3FN?= =?utf-8?B?bFRENVFaRnI1V291TDlZSHNBMGdhWk4wQWF3Ukk3Zm9sSFI3dXErdEdxSllX?= =?utf-8?B?ZE9VSUJjSW9nTHdjZ3BjcUUwcWRpMG9XS2taV0ttR3d1U0h0R2pFcnlkOVpZ?= =?utf-8?B?UDJUSWM0Y1VSQ0dhd1VvSXVhYmp6M3d5N2RkNHBRTGs1Qks5blBoWHlyWWE1?= =?utf-8?B?OU01aXRUclFIOWNXVjliekc3OVF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-dc1d-47ed-5193-08db15cf8d19 X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB3994.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Feb 2023 18:55:37.4279 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: XCpGXR70BMbhfQUm/qMXmwZ4IBKSIgE2MUKsgJCKQIiMILwdjYJCVT270DM8R/GoHnt0gdXZevqHqKb77VQkAl7GwQ6fZ4lO9iJe16V8AfY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB5969 X-Proofpoint-ORIG-GUID: QA47G_WIIEy8QFf4WFUnyXNw-Sf13GeW X-Proofpoint-GUID: sr7Ps5leAxydDmGa1qqwiHJB6pyxUlw9 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-23_12,2023-02-23_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 impostorscore=0 clxscore=1015 mlxlogscore=999 mlxscore=0 lowpriorityscore=0 priorityscore=1501 spamscore=0 malwarescore=0 adultscore=0 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302230156 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 23 Feb 2023 18:55:51 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/177621 --------------TQRUg5V3l5lbS6X6mLzEjZUd Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by mx0a-0064b401.pphosted.com id 31NBfYv0031464 Thanks Naveen, With a large patch like this it would be good if you could provide a cover letter that summarized what is different in v12, compared to v11. I've looked at the diff and my summary is below. There are some changes which I see but would benefit from an explanation. Finally, please change your SOB line to @windriver.com. Summary of what changed in v12: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Rebase Rust tests to 1.67.1. Switch from ssh-server-openssh to ssh-server-dropbear. --> Why? I know you were having problems with scp not working for qemux86 but either server should work in theory. Tell the Rust remote-test-server to bind to port 12345. --> Why? Also add: --exclude src/tools/rust-analyzer to testargs. --> Why? I don't object but ideally the commit log would explain this decision. As far as the tests go, you've : =C2=A0-=C2=A0 added 3 more 'ignore-stage1' comments : $ rg ignore-stage1 /tmp/rust-test-v11.eml | wc -l 41 $ rg ignore-stage1 /tmp/rust-test-v12.eml | wc -l 44 =C2=A0- added 20 more #[ignore] directives: $ rg "ignore]" /tmp/rust-test-v11.eml | wc -l 4 $ rg "ignore]" /tmp/rust-test-v12.eml=C2=A0 | wc -l 24 Those additional test skip directives doesn't change the overall pass=20 rate significantly since the test suite has ~ 18,000 tests so they're find with me . I think that's about it. Did I miss anything? Key, very abbreviated differences b/w v11, v12 are shown below . ../Randy +Tested for X86, X86-64, ARM, ARM64 and MIPS64 on CentOS release 6.10 + =C2=A0Signed-off-by: pgowda =C2=A0Signed-off-by: Vinay Kumar =C2=A0--- =C2=A0 meta/lib/oeqa/selftest/cases/rust.py=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 54 ++ - meta/recipes-devtools/rust/rust-source.inc=C2=A0=C2=A0=C2=A0 |=C2=A0=C2= =A0 3 +- - meta/recipes-devtools/rust/rust.inc=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0 1 + - .../rust/rust/rust-oe-selftest.patch=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 | 508 ++++++++++++++++++ - meta/recipes-devtools/rust/rust_1.63.0.bb=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0= =C2=A0 5 + - 5 files changed, 570 insertions(+), 1 deletion(-) + .../rust/files/rust-oe-selftest.patch=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 | 736 ++++++++++++++++++ + meta/recipes-devtools/rust/rust-source.inc=C2=A0=C2=A0=C2=A0 |=C2=A0=C2= =A0 1 + + meta/recipes-devtools/rust/rust_1.67.1.bb=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0= =C2=A0 6 + + 4 files changed, 797 insertions(+) =C2=A0 create mode 100644 meta/lib/oeqa/selftest/cases/rust.py - create mode 100644 meta/recipes-devtools/rust/rust/rust-oe-selftest.pat= ch + create mode 100644 meta/recipes-devtools/rust/files/rust-oe-selftest.pa= tch =C2=A0diff --git a/meta/lib/oeqa/selftest/cases/rust.py=20 b/meta/lib/oeqa/selftest/cases/rust.py =C2=A0new file mode 100644 -index 0000000000..e06ddaa6d7 +index 0000000000..f9889b840c =C2=A0--- /dev/null =C2=A0+++ b/meta/lib/oeqa/selftest/cases/rust.py =C2=A0@@ -0,0 +1,54 @@ @@ -237,7 +239,7 @@ =C2=A0+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # build core-image-min= imal with required packages =C2=A0+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 default_installed_pack= ages =3D ["libgcc", "libstdc++",=20 "libatomic", "libgomp"] =C2=A0+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 features =3D [] -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 features.append('IMAGE_FEATU= RES +=3D "ssh-server-openssh"') ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 features.append('IMAGE_FEATU= RES +=3D "ssh-server-dropbear"') =C2=A0+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 features.append('CORE_= IMAGE_EXTRA_INSTALL +=3D "{0}"'.format("=20 ".join(default_installed_packages))) =C2=A0+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 self.write_config("\n"= .join(features)) =C2=A0+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 bitbake("core-image-mi= nimal") @@ -248,7 +250,7 @@ =C2=A0+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= ssh =3D SSHControl(ip=3Dqemu.ip, logfile=3Dqemu.sshlog,=20 user=3D"root") =C2=A0+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= ssh.copy_to(builddir + "/" +=20 "build/x86_64-unknown-linux-gnu/stage1-tools-bin/remote-test-server","~/"= ) =C2=A0+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= # Execute remote-test-server on image through background ssh -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 comm= and =3D '~/remote-test-server -v remote' ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 comm= and =3D '~/remote-test-server --bind 0.0.0.0:12345 -v' --=20 # Randy MacLeod # Wind River Linux --------------TQRUg5V3l5lbS6X6mLzEjZUd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Thanks Naveen,

With a large patch like this it would be good if you could provide a
cover letter that summarized what is different in v12, compared to v11.

I've looked at the diff and my summary is below. There are some changes
which I see but would benefit from an explanation.

Finally, please change your SOB line to @windriver.com.


Summary of what changed in v12:
=====================

Rebase Rust tests to 1.67.1.

Switch from ssh-server-openssh to ssh-server-dropbear.
--> Why?
I know you were having problems with scp not working for qemux86
but either server should work in theory.

Tell the Rust remote-test-server to bind to port 12345.
--> Why?


Also add: --exclude src/tools/rust-analyzer to testargs.
--> Why?
I don't object but ideally the commit log would explain this decision.

As far as the tests go, you've :

 -  added 3 more 'ignore-stage1' comments :
$ rg ignore-stage1 /tmp/rust-test-v11.eml | wc -l
41
$ rg ignore-stage1 /tmp/rust-test-v12.eml | wc -l
44


 - added 20 more #[ignore] directives:
$ rg "ignore]" /tmp/rust-test-v11.eml  | wc -l
4
$ rg "ignore]" /tmp/rust-test-v12.eml  | wc -l
24

Those additional test skip directives doesn't change the overall pass rate significantly
since the test suite has ~ 18,000 tests so they're find with me .

I think that's about it. Did I miss anything?


Key, very abbreviated differences b/w v11, v12 are shown below .

../Randy


+Tested for X86, X86-64, ARM, ARM64 and MIPS64 on CentOS release 6.10
+
 Signed-off-by: pgowda <pgowda.cve@gmail.com>
 Signed-off-by: Vinay Kumar <vinay.m.engg@gmail.com>
 ---
  meta/lib/oeqa/selftest/cases/rust.py          |  54 ++
- meta/recipes-devtools/rust/rust-source.inc    |   3 +-
- meta/recipes-devtools/rust/rust.inc           |   1 +
- .../rust/rust/rust-oe-selftest.patch          | 508 ++++++++++++++++++
- meta/recipes-devtools/rust/rust_1.63.0.bb     |   5 +
- 5 files changed, 570 insertions(+), 1 deletion(-)
+ .../rust/files/rust-oe-selftest.patch         | 736 ++++++++++++++++++
+ meta/recipes-devtools/rust/rust-source.inc    |   1 +
+ meta/recipes-devtools/rust/rust_1.67.1.bb     |   6 +
+ 4 files changed, 797 insertions(+)
  create mode 100644 meta/lib/oeqa/selftest/cases/rust.py
- create mode 100644 meta/recipes-devtools/rust/rust/rust-oe-selftest.patch
+ create mode 100644 meta/recipes-devtools/rust/files/rust-oe-selftest.patch
 
 diff --git a/meta/lib/oeqa/selftest/cases/rust.py b/meta/lib/oeqa/selftest/cases/rust.py
 new file mode 100644
-index 0000000000..e06ddaa6d7
+index 0000000000..f9889b840c
 --- /dev/null
 +++ b/meta/lib/oeqa/selftest/cases/rust.py
 @@ -0,0 +1,54 @@
@@ -237,7 +239,7 @@
 +        # build core-image-minimal with required packages
 +        default_installed_packages = ["libgcc", "libstdc++", "libatomic", "libgomp"]
 +        features = []
-+        features.append('IMAGE_FEATURES += "ssh-server-openssh"')
++        features.append('IMAGE_FEATURES += "ssh-server-dropbear"')
 +        features.append('CORE_IMAGE_EXTRA_INSTALL += "{0}"'.format(" ".join(default_installed_packages)))
 +        self.write_config("\n".join(features))
 +        bitbake("core-image-minimal")

@@ -248,7 +250,7 @@
 +            ssh = SSHControl(ip=qemu.ip, logfile=qemu.sshlog, user="root")
 +            ssh.copy_to(builddir + "/" + "build/x86_64-unknown-linux-gnu/stage1-tools-bin/remote-test-server","~/")
 +            # Execute remote-test-server on image through background ssh
-+            command = '~/remote-test-server -v remote'
++            command = '~/remote-test-server --bind 0.0.0.0:12345 -v'


-- 
# Randy MacLeod
# Wind River Linux
--------------TQRUg5V3l5lbS6X6mLzEjZUd--