From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0043.outbound.protection.outlook.com [104.47.1.43]) by dpdk.org (Postfix) with ESMTP id DE11E3772 for ; Mon, 7 Aug 2017 05:31:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=/j/V7B0ph15A43xY2+Zh/pky73Q1iVIH5NVYLG6jJiw=; b=nmjivH9T3W8m9ZI0r4c1zfhtEbHsskRcUq+V5ai0qEWvSXpGWZhslNKBfTyJEEo8zW4fChA/eK4hzyiMTAYCN9/lSwZPjceEr97QhJQRZUpgdjiQHmO0b09LeT4IGKGJX29Danh4zMZgjnJv6l0BqpMVoaOHc9jJevU66en9+ws= Received: from HE1PR08MB2809.eurprd08.prod.outlook.com (10.170.246.148) by HE1PR08MB2809.eurprd08.prod.outlook.com (10.170.246.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1304.22; Mon, 7 Aug 2017 03:31:03 +0000 Received: from HE1PR08MB2809.eurprd08.prod.outlook.com ([fe80::1074:f9ad:c2c1:26f7]) by HE1PR08MB2809.eurprd08.prod.outlook.com ([fe80::1074:f9ad:c2c1:26f7%13]) with mapi id 15.01.1304.025; Mon, 7 Aug 2017 03:31:03 +0000 From: Herbert Guan To: "Liu, Yong" , "dts@dpdk.org" , "jianbo.liu@linaro.org" Thread-Topic: [dts] [PATCH] tests/short_live: fixes the result parsing issue Thread-Index: AQHTDPHe/9YVnxk6RkCFkOFHqhSkGqJ4zyMA//9w3IA= Date: Mon, 7 Aug 2017 03:31:03 +0000 Message-ID: References: <1501831094-31107-1-git-send-email-herbert.guan@arm.com> <598855F2.60509@intel.com> In-Reply-To: <598855F2.60509@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Herbert.Guan@arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1PR08MB2809; 6:s3AqQeWZNw6HC1qAMdYw7HrZB25HDUELYTDgQ+Ljc82X5sd2BRyf/X8/9y1xi/h7Xazf0Ea/JfumT6hMSrz23RM55odHt5GmULVunr7nvslilAKWyE/6ml9nzpMD39PDQk9NUqc93UMfbNR4udhZn+l/IIdTY0YlSNYYlzinB8ZiMpgiZ925wd6bQ/+1P3Qp2fnqoQiwJG1SpM7XTf4lFDlWMwomrBccQSeggaphribLgdqNUqm62uj+7c5zexTF8UmKRZt0ms8yy55st/81gsrLb8W+Iqenk7XbSQXy9VD+FXmctQSS4VoZPW/kDmDpiGzlD/OjIi5zwi00xm4wow==; 5:a/uCag5P3uoVqL5XVXNUmviA3VnhegoP2TQKgbDDaIjpWI0bnend4/Ry1ERwUD6oZKkb4ZUdJwnbVotc05TCCzKKJc8ao3HwtVFlJltlnQqti2in6ReMarzYVKFzUB+rOx2ETNAkcSKXjvmpOOcklA==; 24:iyn59Pe2wLcQZJYQxsxcWrRyiNh4wSsmjats90balJi6AIA2ryHroXdPw0/NEUgjvNFfgIoj2CoV0o7HYt7yulGpBbh1fqoMuzX9i8XxBqc=; 7:2AY1vkMyNy0E+Tge6EZhDM+tsat29RqYDDePlCTu/TnaqmZ5OzQGck1JpmnjbXD291I0/SSdKS7AWSRpk15gS6ZUfI65blBSsoVGYiCk0owCraGMDdpBdVcll5UZJyMcDgrTEhoi3UZrHYLUHlBeZ10gILFD5jQfu2Fzr9blkx3e4Q/UqwBn1d6+NnzcydeiWJmwDTEimqp8ioOVfJakKNFEDASG+BweKP5sD9oqI3U= x-ms-office365-filtering-correlation-id: 01945cf4-f4bb-483e-82dc-08d4dd44bb1e x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:HE1PR08MB2809; x-ms-traffictypediagnostic: HE1PR08MB2809: x-exchange-antispam-report-test: UriScan:(180628864354917)(228905959029699); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3002001)(100000703101)(100105400095)(6055026)(6041248)(20161123562025)(20161123564025)(20161123560025)(20161123558100)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:HE1PR08MB2809; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HE1PR08MB2809; x-forefront-prvs: 0392679D18 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39400400002)(39850400002)(39450400003)(39840400002)(39410400002)(40434004)(377454003)(189002)(199003)(24454002)(13464003)(38730400002)(33656002)(6436002)(6246003)(105586002)(2201001)(66066001)(76176999)(54356999)(50986999)(106356001)(305945005)(7736002)(74316002)(86362001)(189998001)(3280700002)(3660700001)(2900100001)(2906002)(8936002)(81156014)(81166006)(8676002)(53936002)(97736004)(5660300001)(9686003)(55016002)(99286003)(7696004)(2950100002)(3846002)(6506006)(102836003)(6116002)(229853002)(68736007)(25786009)(478600001)(53546010)(5250100002)(14454004)(2501003)(5890100001)(101416001)(72206003); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR08MB2809; H:HE1PR08MB2809.eurprd08.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Aug 2017 03:31:03.1373 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR08MB2809 Subject: Re: [dts] [PATCH] tests/short_live: fixes the result parsing issue X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2017 03:31:05 -0000 Marvin, Thanks for review. V2 patch has been submitted just now with one comments: >> 3) pkill for l2fwd and l3fwd need to wait a while for process quit >L2fwd and L3fwd will do the same actions after received SIGINT or SIGTERM = signal. There's no need to change the signal type. The signal type logic is not changed in this patch. While both l2fwd and l= 3fwd need some time to clean up after they received the signal. The for lo= op shall wait about 2 seconds before starting another process of l2fwd/l3fw= d. So "time.sleep(2)" were added after sending pkill. Thanks, Herbert -----Original Message----- From: Liu, Yong [mailto:yong.liu@intel.com] Sent: Monday, August 7, 2017 19:59 To: Herbert Guan ; dts@dpdk.org; jianbo.liu@linaro.or= g Subject: Re: [dts] [PATCH] tests/short_live: fixes the result parsing issue Thanks Herbert. Some comments below. On 08/04/2017 03:18 PM, Herbert Guan wrote: > Fixes below issues: > 1) corrected the scapy reslut parsing string > 2) ensure link up for testpmd and l3fwd Suggest to waiting for LSC event or just wait some seconds for link status = updated. > 3) pkill for l2fwd and l3fwd need to wait a while for process quit L2fwd and L3fwd will do the same actions after received SIGINT or SIGTERM s= ignal. There's no need to change the signal type. > Signed-off-by: Herbert Guan IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you.