From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id D5CC21BBE for ; Wed, 8 Mar 2017 08:12:37 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP; 07 Mar 2017 23:12:36 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,262,1486454400"; d="scan'208";a="832208796" Received: from stv-crb-56.sh.intel.com (HELO [10.239.128.116]) ([10.239.128.116]) by FMSMGA003.fm.intel.com with ESMTP; 07 Mar 2017 23:12:36 -0800 Message-ID: <58BFAD01.3080409@intel.com> Date: Wed, 08 Mar 2017 15:04:33 +0800 From: "Liu, Yong" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: "Chen, Zhaoyan" , dts@dpdk.org References: <20170308050153.16021-1-zhaoyan.chen@intel.com> In-Reply-To: <20170308050153.16021-1-zhaoyan.chen@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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:12:38 -0000 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. Thanks, Marvin On 03/08/2017 01:01 PM, Chen, Zhaoyan wrote: > + try: > + out = 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 = self.dut.alt_session.send_expect("dmesg", "# ", 30) > + print dmesg > + print out