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 425676D81 for ; Fri, 27 Apr 2018 08:04:48 +0200 (CEST) Received: from G9W8453.americas.hpqcorp.net (g9w8453.houston.hp.com [16.216.160.211]) (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 5173F7A for ; Fri, 27 Apr 2018 06:04:47 +0000 (UTC) Received: from G4W9119.americas.hpqcorp.net (2002:10d2:14d6::10d2:14d6) by G9W8453.americas.hpqcorp.net (2002:10d8:a0d3::10d8:a0d3) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Fri, 27 Apr 2018 06:04:27 +0000 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (15.241.52.10) by G4W9119.americas.hpqcorp.net (16.210.20.214) with Microsoft SMTP Server (TLS) id 15.0.1178.4 via Frontend Transport; Fri, 27 Apr 2018 06:04:27 +0000 Received: from TU4PR8401MB0654.NAMPRD84.PROD.OUTLOOK.COM (10.169.44.148) by TU4PR8401MB0797.NAMPRD84.PROD.OUTLOOK.COM (10.169.45.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.13; Fri, 27 Apr 2018 06:04:25 +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 06:04:25 +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: AdPdRcMQtHhz9BwcR6W5ucmuces5uAAi3ovAAAD1ijAABgPjcA== Date: Fri, 27 Apr 2018 06:04:25 +0000 Message-ID: References: <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; TU4PR8401MB0797; 7:Jjot6rkiHTmAEoraxC4bvurV3WcJGnO1ycMhQcZlLmCdS2+FETKbMonPUK91uQez+gX+PTmDmTetL9xbd5WULTle5rqihrm5Ick9Qh+Xa+jVQE/3y872QbklA7N/MFRhDH4ReaO0skjCR1aTUpbYEzXrNw20zxL9xDxq5AC2Y283QUtNnH7lMXw8ovWqK3zvKg7BHjRi7NisXQ3rII1tjITn8ExZkGfJyGFIUfx1dqtFR2iVFVk0gmyMGKVpH64V 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:TU4PR8401MB0797; x-ms-traffictypediagnostic: TU4PR8401MB0797: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(227479698468861)(21748063052155)(222181515654134)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231232)(944501410)(52105095)(10201501046)(3002001)(6055026)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123562045)(6072148)(201708071742011); SRVR:TU4PR8401MB0797; BCL:0; PCL:0; RULEID:; SRVR:TU4PR8401MB0797; x-forefront-prvs: 0655F9F006 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39380400002)(376002)(396003)(39860400002)(366004)(346002)(13464003)(189003)(199004)(76176011)(81156014)(790700001)(6116002)(606006)(110136005)(102836004)(236005)(5250100002)(106356001)(3846002)(6436002)(8676002)(8936002)(21615005)(446003)(476003)(2501003)(81166006)(229853002)(486006)(6306002)(53936002)(53546011)(5660300001)(3660700001)(26005)(186003)(2906002)(105586002)(74316002)(68736007)(966005)(478600001)(55016002)(99286004)(54896002)(6246003)(97736004)(7736002)(53376002)(66066001)(3280700002)(6506007)(551544002)(7696005)(2900100001)(316002)(9686003)(86362001)(59450400001)(25786009)(33656002)(14454004)(217873001)(47845001); DIR:OUT; SFP:1102; SCL:1; SRVR:TU4PR8401MB0797; H:TU4PR8401MB0654.NAMPRD84.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: hpe.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: KjJrw6FZP4Szgw3i9BcP8YrQkdQsOe6ZUCcICY/mBrsi2MdtjOUnv0wAcP1pLl0I6LpbK6dwiqAyAfLtLjqdy0agFShGipERtGdcNHuedrO305rmnQs/K0v9vHDYHMFk2j8BN0vbwkT0s3CtnLhpORfgCgg5Q7HLe6Zj+zu3E0Qpe+U1bn8Zpk/xySRPjE5k spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: ffa59241-cebd-4deb-1442-08d5ac04bacf X-MS-Exchange-CrossTenant-Network-Message-Id: ffa59241-cebd-4deb-1442-08d5ac04bacf X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Apr 2018 06:04:25.5835 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-Transport-CrossTenantHeadersStamped: TU4PR8401MB0797 X-OriginatorOrg: hpe.com X-Mailman-Approved-At: Sat, 28 Apr 2018 00:25:15 +0200 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 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 06:04:48 -0000 Hi Rosen / Team, I cross checked on the pre-requisite package and I see that the following p= ackages are installed on both TESTER and TARGET DUT * dnf install tcl * dnf install python-xlwt * dnf install python-pexpect * dnf install numpy * dnf install python-docutils * dnf install pcapy * dnf install python-xlrd * dnf install scapy Apart from these, if there are any missing packages to be installed kindly = do let me know so that I can have them installed too. Awaiting for your response, patiently. Thanks & Regards, Chengappa -----Original Message----- From: M R, Chengappa (Network Function Virtualization) Sent: Friday, April 27, 2018 8:41 AM To: 'Rosen, Rami' ; users@dpdk.org Subject: RE: DPDK Test Suite failing with PREREQ EXCEPTION Traceback Hi Rosen, 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] 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..= ..!!