From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id D70AF2C71 for ; Wed, 8 Mar 2017 08:32:11 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Mar 2017 23:32:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,262,1486454400"; d="scan'208";a="1106085789" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga001.jf.intel.com with ESMTP; 07 Mar 2017 23:32:10 -0800 Received: from fmsmsx124.amr.corp.intel.com (10.18.125.39) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 7 Mar 2017 23:32:10 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx124.amr.corp.intel.com (10.18.125.39) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 7 Mar 2017 23:32:10 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.88]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.177]) with mapi id 14.03.0248.002; Wed, 8 Mar 2017 15:32:07 +0800 From: "Chen, Zhaoyan" To: "Liu, Yong" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH v3] Add Cryptodev Unit Tests Cases Thread-Index: AQHSl9tz/dc0jQ+z+0mTaydvuP+HpaGKiTLw Date: Wed, 8 Mar 2017 07:32:06 +0000 Message-ID: <9DEEADBC57E43F4DA73B571777FECECA3C82D2F6@shsmsx102.ccr.corp.intel.com> References: <20170308050153.16021-1-zhaoyan.chen@intel.com> <58BFAD01.3080409@intel.com> In-Reply-To: <58BFAD01.3080409@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH v3] Add Cryptodev Unit Tests Cases 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: Wed, 08 Mar 2017 07:32:12 -0000 I do not recover the application, just error handling. =20 Since QAT HW unstable sometime. Since just function test, (not stable test),=20 So, for each test case will launch a separated test application.=20 But, there is another idea that run different unit tests by=20 a defined scenario. Actually, there is 1 DPDK-AE bug find by this mode. Anyway, for the unit test, I just want to de-couple the completed factors.= =20 So each test app launching for each unit test suite. Next step is that design some combined tests by requirements. Thanks. Regards, Zhaoyan Chen > -----Original Message----- > From: Liu, Yong > Sent: Wednesday, March 8, 2017 3:05 PM > To: Chen, Zhaoyan ; dts@dpdk.org > Subject: Re: [dts] [PATCH v3] Add Cryptodev Unit Tests Cases >=20 > Zhaoyan, > Why try to recover test application when there's no response? Is that > application not stable after run crypto unit test? > If there's one need to do that, please do it in tear_down function. >=20 > Thanks, > Marvin >=20 > On 03/08/2017 01:01 PM, Chen, Zhaoyan wrote: > > + try: > > + out =3D self.dut.send_expect(testsuite, "RTE>>", timeout) > > + self.dut.send_expect("quit", "# ", 30) > > + except Exception, ex: > > + print ex > > + print "run cryptodev_unit_tests process coredump" > > + self.dut.alt_session.send_expect("killall test", "# ", 30) > > + dmesg =3D self.dut.alt_session.send_expect("dmesg", "# ", = 30) > > + print dmesg > > + print out