From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from g4t3425.houston.hpe.com (g4t3425.houston.hpe.com [15.241.140.78]) by dpdk.org (Postfix) with ESMTP id 1F74C2A66 for ; Thu, 3 May 2018 11:46:13 +0200 (CEST) Received: from G9W8454.americas.hpqcorp.net (g9w8454.houston.hp.com [16.216.161.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g4t3425.houston.hpe.com (Postfix) with ESMTPS id 5769FCA for ; Thu, 3 May 2018 09:46:12 +0000 (UTC) Received: from G4W9119.americas.hpqcorp.net (2002:10d2:14d6::10d2:14d6) by G9W8454.americas.hpqcorp.net (2002:10d8:a104::10d8:a104) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Thu, 3 May 2018 09:45:52 +0000 Received: from NAM01-BY2-obe.outbound.protection.outlook.com (15.241.52.11) by G4W9119.americas.hpqcorp.net (16.210.20.214) with Microsoft SMTP Server (TLS) id 15.0.1178.4 via Frontend Transport; Thu, 3 May 2018 09:45:52 +0000 Received: from TU4PR8401MB0654.NAMPRD84.PROD.OUTLOOK.COM (10.169.44.148) by TU4PR8401MB1007.NAMPRD84.PROD.OUTLOOK.COM (10.169.47.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.715.23; Thu, 3 May 2018 09:45:50 +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.0715.024; Thu, 3 May 2018 09:45:50 +0000 From: "M R, Chengappa (Network Function Virtualization)" To: "users@dpdk.org" Thread-Topic: DPDK Test Suite: "TARGET ERROR: Compilation error..." Thread-Index: AdPiw3BrO3CTnHvXRLyufsBplQMtww== Date: Thu, 3 May 2018 09:45:50 +0000 Message-ID: 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; TU4PR8401MB1007; 7:wXbL/ZmI9FVjM6Q/P0SqLLQQ26k4sEepcqLH5JCIWcWBRdyHwvQY9DYhcGIJq9YXs0US9Rz/ovIRm25D4R9OSIOahiFZTGDE3TQLTWP5Ut40U3Nb08G5MazMBXftMyBHCXOIUBHMsnnjWfJMdHxEeLUi+kVl4U71nRqEadXbXHkTvFrEo5sVo13HddglIuNXqPR04VXKNEVetVN7UV6qJn6Ao+bxVsE86GoIieySta9m0CVNO7uXiBf1DOIPU2DP x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(8989080)(48565401081)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(8990040)(2017052603328)(7153060)(7193020); SRVR:TU4PR8401MB1007; x-ms-traffictypediagnostic: TU4PR8401MB1007: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(21748063052155); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(3231254)(944501410)(52105095)(10201501046)(93006095)(93001095)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(6072148)(201708071742011); SRVR:TU4PR8401MB1007; BCL:0; PCL:0; RULEID:; SRVR:TU4PR8401MB1007; x-forefront-prvs: 066153096A x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(366004)(39380400002)(376002)(346002)(396003)(189003)(199004)(106356001)(5630700001)(6436002)(2351001)(66066001)(1730700003)(53936002)(551544002)(81156014)(81166006)(8676002)(8936002)(7696005)(53946003)(236005)(9686003)(99286004)(6306002)(55016002)(105586002)(68736007)(790700001)(3846002)(6116002)(5640700003)(54896002)(316002)(74316002)(478600001)(5250100002)(476003)(2906002)(7736002)(33656002)(25786009)(14454004)(486006)(102836004)(26005)(2900100001)(3280700002)(5660300001)(6916009)(97736004)(186003)(59450400001)(6506007)(2501003)(86362001)(3660700001)(579004)(47845001); DIR:OUT; SFP:1102; SCL:1; SRVR:TU4PR8401MB1007; 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: b/FJUcl/wiz6q7d2/uGChNyS9DDrl5Q0P66QpGQssCHBULJZpBnQ2rzh9TG7sBAJ0ViMbMEQ9E5kh0N3ShpaEqyvGO78zxM/0ho2xUJvFbT3dudHRm1NM9n3Xtv9l9umkirjL8e4iLLAAu49ANYITinibhdyYvsPiBaf6xVaxd+WXGtYWiYCg/kj2/hqXrW/ spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 7b080e15-a176-4584-a7d3-08d5b0daa7db X-MS-Exchange-CrossTenant-Network-Message-Id: 7b080e15-a176-4584-a7d3-08d5b0daa7db X-MS-Exchange-CrossTenant-originalarrivaltime: 03 May 2018 09:45:50.7717 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-Transport-CrossTenantHeadersStamped: TU4PR8401MB1007 X-OriginatorOrg: hpe.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] DPDK Test Suite: "TARGET ERROR: Compilation error..." 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: Thu, 03 May 2018 09:46:13 -0000 Greetings Team, We are aiming to setup DPDK test suite in our environment and want to execu= te the test cases that are bundled with DTS However, we are encountering issues such as compilation errors on "Target D= UT" as indicated below in the output snippet 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: 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': } self.package dep/dpdk.tar.gz dut.10.70.2.6: ls /tmp/ && cd ~ dut.10.70.2.6: scp -v dep/dpdk.tar.gz root@10.70.2.6:/tmp/= dut.10.70.2.6: ulimit -c unlimited dut.10.70.2.6: rm -rf ~/dpdk dut.10.70.2.6: tar zxf /tmp/dpdk.tar.gz -C ~ dut.10.70.2.6: ls ~/dpdk prepare_package dut.10.70.2.6: cd ~/dpdk dut.10.70.2.6: alias ls=3D'ls --color=3Dnone' dut.10.70.2.6: Core0 bypassed dut.10.70.2.6: DUT: [0000:04:00.0 10df:0720] Skipped: Unkn= own/not selected dut.10.70.2.6: DUT: [0000:04:00.1 10df:0720] Skipped: Unkn= own/not selected dut.10.70.2.6: cat /sys/bus/pci/devices/0000\:05\:00.0/ven= dor dut.10.70.2.6: cat /sys/bus/pci/devices/0000\:05\:00.0/dev= ice dut.10.70.2.6: cat /sys/bus/pci/devices/0000\:05\:00.0/ven= dor dut.10.70.2.6: cat /sys/bus/pci/devices/0000\:05\:00.0/dev= ice dut.10.70.2.6: cat /sys/bus/pci/devices/0000\:05\:00.1/ven= dor dut.10.70.2.6: cat /sys/bus/pci/devices/0000\:05\:00.1/dev= ice dut.10.70.2.6: cat /sys/bus/pci/devices/0000\:05\:00.1/ven= dor dut.10.70.2.6: cat /sys/bus/pci/devices/0000\:05\:00.1/dev= ice dut.10.70.2.6: echo 0000:05:00.0 > /sys/bus/pci/devices/00= 00\:05\:00.0/driver/unbind dut.10.70.2.6: modprobe ixgbe dut.10.70.2.6: echo 0000:05:00.0 > /sys/bus/pci/drivers/ixg= be/bind dut.10.70.2.6: ifconfig ens2f0 up dut.10.70.2.6: echo 0000:05:00.1 > /sys/bus/pci/devices/00= 00\:05\:00.1/driver/unbind dut.10.70.2.6: modprobe ixgbe dut.10.70.2.6: echo 0000:05:00.1 > /sys/bus/pci/drivers/ix= gbe/bind dut.10.70.2.6: ifconfig ens2f1 up dut.10.70.2.6: ip link show ens2f0 dut.10.70.2.6: ip -family inet6 address show dev ens2f0 | = awk '/inet6/ { print $2 }' dut.10.70.2.6: ip -family inet address show dev ens2f0 | a= wk '/inet/ { print $2 }' dut.10.70.2.6: ip link show ens2f1 dut.10.70.2.6: ip -family inet6 address show dev ens2f1 | = awk '/inet6/ { print $2 }' dut.10.70.2.6: ip -family inet address show dev ens2f1 | a= wk '/inet/ { print $2 }' tester: ping -w 5 -c 5 -A -I ens2f0 10.70.12.5 dut.10.70.2.6: PORT MAP: [dut 0: tester 0] tester: ping6 -w 5 -c 5 -A fe80::1602:ecff:fe74:239= d%ens2f1 dut.10.70.2.6: PORT MAP: [dut 1: tester 1] dut.10.70.2.6: DUT PORT MAP: [0, 1] dut.10.70.2.6: {'intf': 'ens2f0', 'mac': '14:02:ec:74:23:9= c', 'pci': '0000:05:00.0', 'numa': 0, 'ipv6': 'Not connected', 'type': '808= 6:10fb', 'port': , 'ipv4': '= '} dut.10.70.2.6: {'intf': 'ens2f1', 'mac': '14:02:ec:74:23:9= d', 'pci': '0000:05:00.1', 'numa': 0, 'ipv6': 'fe80::1602:ecff:fe74:239d', = 'type': '8086:10fb', 'port': , 'ipv4': '10.70.3.6'} dut_prerequisites dts: TARGET x86_64-native-linuxapp-gcc dut.10.70.2.6: export RTE_TARGET=3Dx86_64-native-linuxapp-= gcc dut.10.70.2.6: export RTE_SDK=3D`pwd` dut.10.70.2.6: rm -rf x86_64-native-linuxapp-gcc dut.10.70.2.6: rm -rf ./app/test/test_resource_c.res.o dut.10.70.2.6: rm -rf ./app/test/test_resource_tar.res.o dut.10.70.2.6: rm -rf ./app/test/test_pci_sysfs.res.o dut.10.70.2.6: make -j 19 install T=3Dx86_64-native-linuxa= pp-gcc dut.10.70.2.6: make -j 19 -C test/ dut.10.70.2.6: cp -f ./test/test/test ./x86_64-native-linu= xapp-gcc/app dut.10.70.2.6: cp -f ./test/test-acl/testacl ./x86_64-nati= ve-linuxapp-gcc/app dut.10.70.2.6: cp -f ./test/test-pipeline/testpipeline ./x= 86_64-native-linuxapp-gcc/app dut.10.70.2.6: cp -f ./test/cmdline_test/cmdline_test ./x8= 6_64-native-linuxapp-gcc/app dut.10.70.2.6: ERROR - try without '-j' dut.10.70.2.6: make install T=3Dx86_64-native-linuxapp-gcc dut.10.70.2.6: make -j 19 -C test/ dut.10.70.2.6: cp -f ./test/test/test ./x86_64-native-linu= xapp-gcc/app dut.10.70.2.6: cp -f ./test/test-acl/testacl ./x86_64-nati= ve-linuxapp-gcc/app dut.10.70.2.6: cp -f ./test/test-pipeline/testpipeline ./x= 86_64-native-linuxapp-gcc/app dut.10.70.2.6: cp -f ./test/cmdline_test/cmdline_test ./x8= 6_64-native-linuxapp-gcc/app dts: TARGET ERROR: Compilation error... tester: modprobe igb tester: modprobe ixgbe tester: modprobe e1000e tester: modprobe e1000 tester: ifconfig eno49 up tester: ifconfig eno50 up tester: ifconfig ens2f0 up tester: ifconfig ens2f1 up dut.10.70.2.6: echo 0000:05:00.0 > /sys/bus/pci/devices/00= 00\:05\:00.0/driver/unbind dut.10.70.2.6: modprobe ixgbe dut.10.70.2.6: echo 0000:05:00.0 > /sys/bus/pci/drivers/ix= gbe/bind dut.10.70.2.6: ifconfig ens2f0 up dut.10.70.2.6: echo 0000:05:00.1 > /sys/bus/pci/devices/00= 00\:05\:00.1/driver/unbind dut.10.70.2.6: modprobe ixgbe dut.10.70.2.6: echo 0000:05:00.1 > /sys/bus/pci/drivers/ix= gbe/bind dut.10.70.2.6: ifconfig ens2f1 up dts: DTS ended It would be helpful if anyone could guide me with the correct pointers to g= o over this issue and help me advance further. 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 # ports =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 address # tester_passwd: Tester password # ixia_group: IXIA group name # channels: 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=3Dlinux tester_ip=3D10.70.2.5 tester_passwd=3DHP1nvent channels=3D4 Thanking in advance Chengappa