From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id ABC43CF9 for ; Mon, 19 Jan 2015 02:19:55 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 18 Jan 2015 17:19:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,422,1418112000"; d="scan'208";a="663821261" Received: from pgsmsx104.gar.corp.intel.com ([10.221.44.91]) by fmsmga002.fm.intel.com with ESMTP; 18 Jan 2015 17:19:51 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by PGSMSX104.gar.corp.intel.com (10.221.44.91) with Microsoft SMTP Server (TLS) id 14.3.195.1; Mon, 19 Jan 2015 09:19:50 +0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.64]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.92]) with mapi id 14.03.0195.001; Mon, 19 Jan 2015 09:19:48 +0800 From: "Qiu, Michael" To: Ravi Kerur , "dts@dpdk.org" Thread-Topic: [dts] Clarifications on setting up DUT Thread-Index: AQHQMdCwwkF6bTjIdEyxenR6LoylEg== Date: Mon, 19 Jan 2015 01:19:48 +0000 Message-ID: <533710CFB86FA344BFBF2D6802E60286CB7008@SHSMSX101.ccr.corp.intel.com> References: Accept-Language: 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] Clarifications on setting up DUT 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, 19 Jan 2015 01:19:56 -0000 On 2015/1/17 5:09, Ravi Kerur wrote:=0A= > DTS team,=0A= >=0A= > I am making changes to DTS to support i217, i218 chipsets to DTS and I ha= ve=0A= > couple of questions=0A= >=0A= > 1. Any README on system pre-requisites? Can I run DTS natively on DUT=0A= > without any SSH?=0A= =0A= As I know currently not, but any patches are welcome :)=0A= Do you guys wants to use it in test env?=0A= =0A= I know that it would be helpful in development, but for testing, it=0A= would be have a remote access to DUT.=0A= =0A= > I have I217 and 82540EM NICs in a system running Ubuntu. I would like to= =0A= > use both NIC's for testing. If I use regular method of SSH, I will loose= =0A= > one NIC hence the question.=0A= =0A= As I said, it only happens in develop mode, while for automation=0A= testing, it would be unacceptable to have no other NIC for control patch.= =0A= =0A= Or it would be reasonable to add one serial port to control it in=0A= testing mode.=0A= =0A= >=0A= > 2. When I run DTS, for some of the commands I am getting garbage output.= =0A= > The problem is seen on 2 Ubuntu systems. When I run those commands manual= ly=0A= > commands work fine for e.g.=0A= =0A= I have a patch send out maybe can solve this, but I have not checked yet=0A= =0A= > *16/01/2015 12:58:00 DTS_TESTER_CMD: ls=0A= > /sys/bus/pci/devices/0000:00:19.0/net*=0A= >=0A= > *16/01/2015 12:58:00 DTS_TESTER_OUTPUT: ^[[0m^[[01;34meth0^[[0m*=0A= >=0A= > *16/01/2015 12:58:00 DTS_TESTER_CMD: Tester: [000:00:19.0 8086:15a1= ]=0A= > ^[[0m^[[01;34meth0^[[0m*=0A= >=0A= > *16/01/2015 12:58:00 DTS_TESTER_CMD: cat=0A= > /sys/bus/pci/devices/0000:00:19.0/net/^[[0m^[[01;34meth0^[[0m/address*=0A= >=0A= > *16/01/2015 12:58:00 DTS_TESTER_OUTPUT: cat:=0A= > /sys/bus/pci/devices/0000:00:19.0/net/m1: No such file or directory^M*=0A= >=0A= > *-bash: 34meth0m/address: No such file or directory*=0A= >=0A= > *16/01/2015 12:58:00 DTS_TESTER_CMD: ls=0A= > /sys/bus/pci/devices/0000:04:02.0/net*=0A= >=0A= > *16/01/2015 12:58:00 DTS_TESTER_OUTPUT: ^[[0m^[[01;34meth1^[[0m*=0A= >=0A= > *16/01/2015 12:58:00 DTS_TESTER_CMD: Tester: [000:04:02.0 8086:100e= ]=0A= > ^[[0m^[[01;34meth1^[[0m*=0A= >=0A= > *16/01/2015 12:58:00 DTS_TESTER_CMD: cat=0A= > /sys/bus/pci/devices/0000:04:02.0/net/^[[0m^[[01;34meth1^[[0m/address*=0A= >=0A= >=0A= > 3. Tests start failing with following msgs even though I217 NIC is=0A= > recognized.=0A= >=0A= > *Traceback (most recent call last):*=0A= >=0A= > * File "/home/rkerur/dpdk-dts/dts/framework/dts.py", line 527, in=0A= > execute_test_setup_all*=0A= >=0A= > * test_case.set_up_all()*=0A= >=0A= > * File "../tests/TestSuite_whitelist.py", line 61, in set_up_all*=0A= >=0A= > * self.verify(len(self.dutPorts) >=3D 1, "Insufficient ports")*=0A= >=0A= > * File "/home/rkerur/dpdk-dts/dts/framework/test_case.py", line 62, in= =0A= > verify*=0A= =0A= This failure maybe because you only have one NIC port :), but two needs.=0A= =0A= Thanks,=0A= Michael=0A= > * raise VerifyFailure(description)*=0A= >=0A= > *VerifyFailure: 'Insufficient ports'*=0A= >=0A= >=0A= >=0A= > *16/01/2015 12:58:23 INFO:*=0A= >=0A= > *TEST SUITE ENDED: TestWhitelist*=0A= >=0A= >=0A= > Thanks,=0A= >=0A= > Ravi=0A= >=0A= =0A=