From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from g9t5008.houston.hpe.com (g9t5008.houston.hpe.com [15.241.48.72]) by dpdk.org (Postfix) with ESMTP id 2C3777CD9 for ; Fri, 27 Apr 2018 05:11:08 +0200 (CEST) Received: from G2W6311.americas.hpqcorp.net (g2w6311.austin.hp.com [16.197.64.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g9t5008.houston.hpe.com (Postfix) with ESMTPS id 0D6EC66 for ; Fri, 27 Apr 2018 03:11:07 +0000 (UTC) Received: from G9W8668.americas.hpqcorp.net (16.220.49.27) by G2W6311.americas.hpqcorp.net (16.197.64.53) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Fri, 27 Apr 2018 03:11:06 +0000 Received: from G1W8106.americas.hpqcorp.net (16.193.72.61) by G9W8668.americas.hpqcorp.net (16.220.49.27) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Fri, 27 Apr 2018 03:11:06 +0000 Received: from NAM03-CO1-obe.outbound.protection.outlook.com (15.241.52.12) by G1W8106.americas.hpqcorp.net (16.193.72.61) with Microsoft SMTP Server (TLS) id 15.0.1178.4 via Frontend Transport; Fri, 27 Apr 2018 03:11:06 +0000 Received: from TU4PR8401MB0654.NAMPRD84.PROD.OUTLOOK.COM (10.169.44.148) by TU4PR8401MB0943.NAMPRD84.PROD.OUTLOOK.COM (10.169.47.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.14; Fri, 27 Apr 2018 03:11:04 +0000 Received: from TU4PR8401MB0654.NAMPRD84.PROD.OUTLOOK.COM ([fe80::6839:52c0:9d6f:a517]) by TU4PR8401MB0654.NAMPRD84.PROD.OUTLOOK.COM ([fe80::6839:52c0:9d6f:a517%17]) with mapi id 15.20.0696.020; Fri, 27 Apr 2018 03:11:04 +0000 From: "M R, Chengappa (Network Function Virtualization)" To: "Rosen, Rami" , "users@dpdk.org" Thread-Topic: DPDK Test Suite failing with PREREQ EXCEPTION Traceback Thread-Index: AdPdRcMQtHhz9BwcR6W5ucmuces5uAAi3ovAAAD1ijA= Date: Fri, 27 Apr 2018 03:11:03 +0000 Message-ID: References: <9B0331B6EBBD0E4684FBFAEDA55776F958A0CE18@HASMSX110.ger.corp.intel.com> In-Reply-To: <9B0331B6EBBD0E4684FBFAEDA55776F958A0CE18@HASMSX110.ger.corp.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=cm-r@hpe.com; x-originating-ip: [16.242.235.132] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; TU4PR8401MB0943; 7:GjQv1GLaatstU2PeCLUSLNRrdeaOzFO/F1TBBKW04uLYKEEmy2dj4bbMDh1ePZgIZYRVLvtdVAifAtbkNrNPa6Igcj3EzNNaKqS+f95xrY3JYQP5GjDOgQeZNy3Ub5jriVWcjClmz3FU2Arhm1Edn8NszUnK+CrmFwXwoqupruvaUtko6VVaGgCjJ/nbpFs8nv0H+X4KJSYTjaO3/Rp9WuMgXC7DPNNmPmm3cZ5BPZV2Rpgo3+j7Gn11OCMUHFx9 x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:(222181515654134); BCL:0; PCL:0; RULEID:(7020095)(4652020)(8989080)(48565401081)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(8990040)(2017052603328)(7153060)(7193020); SRVR:TU4PR8401MB0943; x-ms-traffictypediagnostic: TU4PR8401MB0943: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(227479698468861)(222181515654134)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(3231232)(944501410)(52105095)(93006095)(93001095)(10201501046)(6055026)(6041310)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(6072148)(201708071742011); SRVR:TU4PR8401MB0943; BCL:0; PCL:0; RULEID:; SRVR:TU4PR8401MB0943; x-forefront-prvs: 0655F9F006 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(39860400002)(39380400002)(346002)(366004)(376002)(199004)(189003)(13464003)(9686003)(3846002)(3660700001)(6116002)(97736004)(6306002)(53936002)(59450400001)(551544002)(33656002)(68736007)(3280700002)(6246003)(486006)(76176011)(446003)(106356001)(110136005)(316002)(99286004)(186003)(476003)(105586002)(7696005)(53376002)(6436002)(966005)(2906002)(8936002)(2501003)(102836004)(66066001)(11346002)(55016002)(26005)(5250100002)(81156014)(53546011)(74316002)(229853002)(8676002)(25786009)(2900100001)(5660300001)(6506007)(305945005)(81166006)(14454004)(478600001)(7736002)(86362001)(217873001)(47845001); DIR:OUT; SFP:1102; SCL:1; SRVR:TU4PR8401MB0943; H:TU4PR8401MB0654.NAMPRD84.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: hpe.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: MyPD3OmDTX3D+zOQ3stElUSN5DYnrGqqwvSTUl1S9ynbaYMq08rERYkPDdtKlPSz5itZDam0pHXLJ1Qg4yi+F3eUeUEpPMen2bqiaU24Rjvf/NnmH7kuQ/DlkCEDuOd08rdXRViRV09hhtFZaLME6ATYE2jRlW+oSPETXTO/h/zv4OBxk5ZCkwUQ3T51LsNl spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 200336ee-7654-476d-10ed-08d5abec8302 X-MS-Exchange-CrossTenant-Network-Message-Id: 200336ee-7654-476d-10ed-08d5abec8302 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Apr 2018 03:11:03.9812 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-Transport-CrossTenantHeadersStamped: TU4PR8401MB0943 X-OriginatorOrg: hpe.com X-Mailman-Approved-At: Sat, 28 Apr 2018 00:25:15 +0200 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 03:11:08 -0000 Hi Rosen,=20 Many thanks for acknowledging the issue addressed in the mail. Yes I have taken care and made sure that all the required packages are inst= alled. However, let me go thru the link you have shared cross check the list of sy= stem requirements and get back to you. Best Regards, Chengappa -----Original Message----- From: Rosen, Rami [mailto:rami.rosen@intel.com]=20 Sent: Friday, April 27, 2018 8:16 AM To: M R, Chengappa (Network Function Virtualization) ; users@= dpdk.org Subject: RE: DPDK Test Suite failing with PREREQ EXCEPTION Traceback 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 Requirements se= ction of the DTS gsg ? (like python-xlwt, 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 in the DTS mailing list, dt= s@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..= ..!!