From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 85BD9A0093; Sat, 21 May 2022 04:43:41 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3BABF40222; Sat, 21 May 2022 04:43:41 +0200 (CEST) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by mails.dpdk.org (Postfix) with ESMTP id D3DCD40156 for ; Sat, 21 May 2022 04:43:39 +0200 (CEST) Received: from dggpeml500024.china.huawei.com (unknown [172.30.72.57]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4L4nv81Hz3zjWwL; Sat, 21 May 2022 10:42:44 +0800 (CST) Received: from [127.0.0.1] (10.67.100.224) by dggpeml500024.china.huawei.com (7.185.36.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Sat, 21 May 2022 10:43:37 +0800 Subject: Re: [RFC PATCH] app/test: invoke all telemetry commands To: David Marchand , CC: , Aaron Conole , Michael Santana , Ciara Power References: <20220519124731.3120656-1-david.marchand@redhat.com> From: fengchengwen Message-ID: <1cf203dd-bd1e-75fd-3eb4-f53c21f6bcaa@huawei.com> Date: Sat, 21 May 2022 10:43:37 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20220519124731.3120656-1-david.marchand@redhat.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.100.224] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpeml500024.china.huawei.com (7.185.36.10) X-CFilter-Loop: Reflected X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Acked-by: Chengwen Feng On 2022/5/19 20:47, David Marchand wrote: > Try and call all possible telemetry commands. > Each commands is tested with no argument, 0 (for command that accepts > a single integer like for a port identifier) and z (to catch commands > not properly validating input). > Fake cryptodev, ethdev and eventdev ports are created using dummy > drivers. > > Output of the commands is not checked, the point of this test is mainly > to catch simple issues and leaks (when coupled with ASan in the CI). > > Signed-off-by: David Marchand > --- > Note: sending this WIP patch as this is how I currently test telemetry > patches. I am fine with whoever wants to take over and implement this in > another scripting language. > > CI will flag this patch as failing because of two pre-existing bugs > for which we have yet unmerged fixes: > - https://patchwork.dpdk.org/project/dpdk/patch/20220513025357.52275-8-fengchengwen@huawei.com/ > - https://patchwork.dpdk.org/project/dpdk/patch/20220519122151.3119730-1-david.marchand@redhat.com/ > ...