From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 03C0B7CE7 for ; Fri, 27 Apr 2018 04:45:39 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Apr 2018 19:45:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,333,1520924400"; d="scan'208";a="223776210" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga006.fm.intel.com with ESMTP; 26 Apr 2018 19:45:38 -0700 Received: from hasmsx108.ger.corp.intel.com (10.184.198.18) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 26 Apr 2018 19:45:38 -0700 Received: from HASMSX110.ger.corp.intel.com ([169.254.6.210]) by hasmsx108.ger.corp.intel.com ([169.254.9.236]) with mapi id 14.03.0319.002; Fri, 27 Apr 2018 05:45:35 +0300 From: "Rosen, Rami" To: "M R, Chengappa (Network Function Virtualization)" , "users@dpdk.org" Thread-Topic: DPDK Test Suite failing with PREREQ EXCEPTION Traceback Thread-Index: AdPdRcMQtHhz9BwcR6W5ucmuces5uAAi3ovA Date: Fri, 27 Apr 2018 02:45:34 +0000 Message-ID: <9B0331B6EBBD0E4684FBFAEDA55776F958A0CE18@HASMSX110.ger.corp.intel.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTY4NmU5MjktYmM3NS00MTg4LWI5YzYtYWE2MDZjNTZjODVkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiI5akFqOHlXMDdIcndTckRyUDJcLzV6MlFDdkh5eTU1b053U0dYVWZpTFc2NHl6aUhZampFSDBhTjMyNlhnNE5KNiJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [10.255.200.243] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-users] DPDK Test Suite failing with PREREQ EXCEPTION Traceback X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Apr 2018 02:45:40 -0000 Hi, The exception you got typically happens when a package is not installed on the host. Did you install all the packages which appear in the System=20 Requirements section of the DTS gsg ? (like python-xlwt,=20 python-pexpect and the others) ? see: See: http://dpdk.org/doc/dts/gsg/sys_reqs.html In case this won't help, I would suggest to ask=20 in the DTS mailing list, dts@dpdk.org. Regards, Rami Rosen -----Original Message----- From: users [mailto:users-bounces@dpdk.org] On Behalf Of M R, Chengappa (Ne= twork Function Virtualization) Sent: Thursday, April 26, 2018 13:04 To: users@dpdk.org Cc: M R, Chengappa (Network Function Virtualization) Subject: [dpdk-users] DPDK Test Suite failing with PREREQ EXCEPTION Traceba= ck Importance: High Greetings Team, I am attempting to execute dpdk test-suite but am facing the below error PR= EREQ EXCEPTION Traceback [root@tester dts]# ./dts --config-file executions/execution.cfg dts: DUT 10.70.2.6 tester: ssh root@10.70.2.5 tester: ssh root@10.70.2.5 dut.10.70.2.6: ssh root@10.70.2.6 dut.10.70.2.6: ssh root@10.70.2.6 dts: CACHE: Cache will not be read. dts: SKIP: The DPDK setup steps will be executed= . tester: sed -i '/10.70.2.6/d' ~/.ssh/known_hosts tester: killall scapy 2>/dev/null; echo tester tester: awk '/Hugepagesize/ {print $2}' /proc/memin= fo tester: umount `awk '/hugetlbfs/ { print $2 }' /pro= c/mounts` tester: awk '/hugetlbfs/ { print $2 }' /proc/mounts tester: mkdir -p /mnt/huge tester: mount -t hugetlbfs nodev /mnt/huge tester: awk '/Hugepagesize/ {print $2}' /proc/memin= fo tester: echo 1024 > /sys/kernel/mm/hugepages/hugepa= ges-2048kB/nr_hugepages tester: scp -v dep/tgen.tgz root@10.70.2.5:~/ tester: scp -v dep/tclclient.tgz root@10.70.2.5:~/<= mailto:root@10.70.2.5:~/> tester: tar zxf tgen.tgz tester: tar zxf tclclient.tgz tester: modprobe uio tester: Core0 bypassed tester: modprobe igb tester: modprobe ixgbe tester: modprobe e1000e tester: modprobe e1000 tester: cat /sys/bus/pci/devices/0000\:04\:00.0/ven= dor tester: cat /sys/bus/pci/devices/0000\:04\:00.0/dev= ice tester: cat /sys/bus/pci/devices/0000\:04\:00.0/ven= dor tester: cat /sys/bus/pci/devices/0000\:04\:00.0/dev= ice tester: ifconfig eno49 up tester: cat /sys/bus/pci/devices/0000\:04\:00.1/ven= dor tester: cat /sys/bus/pci/devices/0000\:04\:00.1/dev= ice tester: cat /sys/bus/pci/devices/0000\:04\:00.1/ven= dor tester: cat /sys/bus/pci/devices/0000\:04\:00.1/dev= ice tester: ifconfig eno50 up tester: cat /sys/bus/pci/devices/0000\:05\:00.0/ven= dor tester: cat /sys/bus/pci/devices/0000\:05\:00.0/dev= ice tester: cat /sys/bus/pci/devices/0000\:05\:00.0/ven= dor tester: cat /sys/bus/pci/devices/0000\:05\:00.0/dev= ice tester: ifconfig ens2f0 up tester: cat /sys/bus/pci/devices/0000\:05\:00.1/ven= dor tester: cat /sys/bus/pci/devices/0000\:05\:00.1/dev= ice tester: cat /sys/bus/pci/devices/0000\:05\:00.1/ven= dor tester: cat /sys/bus/pci/devices/0000\:05\:00.1/dev= ice tester: ifconfig ens2f1 up tester: Tester: [0000:04:00.0 10df:0720] unknow_nic tester: Tester: [0000:04:00.1 10df:0720] unknow_nic tester: Tester: [0000:05:00.0 8086:10fb] ens2f0 tester: Tester: [0000:05:00.1 8086:10fb] ens2f1 tester: {'intf': 'ens2f0', 'mac': '14:02:ec:74:2b:e= c', 'pci': '0000:05:00.0', 'ipv4': '10.70.12.5', 'ipv6': 'fe80::1602:ecff:f= e74:2bec', 'type': '8086:10fb', 'port': } tester: {'intf': 'ens2f1', 'mac': '14:02:ec:74:2b:e= d', 'pci': '0000:05:00.1', 'ipv4': '10.70.3.5', 'ipv6': 'fe80::1602:ecff:fe= 74:2bed', 'type': '8086:10fb', 'port': } dts: PREREQ EXCEPTION Traceback (most recent ca= ll last): File "/root/dts/framework/dts.py", line 341, in dts_run_prerequisties dutobj.prerequisites() File "/root/dts/framework/project_dpdk.py", line 326, in prerequisites self.prepare_package() File "/root/dts/framework/project_dpdk.py", line 273, in prepare_package assert (os.path.isfile(self.package) is True), "Invalid package" AssertionError: Invalid package dts: CACHE: Discarding cache. dts: DTS ended The current running configuration in our set-up is as follows: [root@tester dts]# cat conf/ports.cfg # DUT Port Configuration # [DUT IP] # ports=3D # pci=3DPci BDF,intf=3DKernel interface; # pci=3DPci BDF,mac=3DMac address,peer=3DTester Pci BDF,numa=3DPort Num= a # pci=3DPci BDF,peer=3DIXIA:card.port # pci=3DPci BDF,peer=3DTester Pci BDF,tp_ip=3D$(IP),tp_path=3D$({PERL_P= ATH); # pci=3DPci BDF,peer=3DTester Pci BDF,sec_port=3Dyes,first_port=3DPci B= DF; # [VM NAME] virtual machine name; This section is for virutal scenario # po= rts =3D # dev_idx=3Ddevice index of ports info, peer=3DTester Pci BDF [10.70.2.6] ports =3D pci=3D05:00.0,intf=3Dens2f0; pci=3D05:00.1,intf=3Dens2f1; [root@tester dts]# cat executions/execution.cfg [Execution1] crbs=3D10.70.2.6 drivername=3Digb_uio test_suites=3Dhello_world test_suites=3D cmdline, hello_world targets=3Dx86_64-native-linuxapp-gcc parameters=3Dnic_type=3Dniantic:func=3Dtrue [root@tester dts]# cat conf/crbs.cfg #DUT crbs Configuration #[DUT IP] # dut_ip: DUT ip address # dut_user: Login DUT username # dut_passwd: Login DUT password # os: operation system type linux or freebsd # tester_ip: Tester ip addre= ss # tester_passwd: Tester password # ixia_group: IXIA group name # chan= nels: Board channel number # bypass_core0: Whether by pass core0 [10.70.2.= 6] dut_ip=3D10.70.2.6 dut_user=3Droot dut_passwd=3DHP1nvent os=3Dfedora tester_ip=3D10.70.2.5 tester_passwd=3DHP1nvent channels=3D4 It would be helpful if anyone could guide me with the correct pointers to g= o over this issue and help me advance further. Thanking in advance Chengappa If everyone is moving forward together, then success takes care of itself..= ..!!