From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f177.google.com (mail-qk0-f177.google.com [209.85.220.177]) by dpdk.org (Postfix) with ESMTP id 446711023 for ; Wed, 25 Jan 2017 04:19:45 +0100 (CET) Received: by mail-qk0-f177.google.com with SMTP id s140so62937340qke.0 for ; Tue, 24 Jan 2017 19:19:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atomicrules-com.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc:message-id:references :to; bh=1ZzmdadM4XjB3aYebFYjpgJ/OFCgc1As2WO1DczF3FY=; b=CI7IVhVZjZ5gzLevB/QrL9dApraGcElNuAorUaF5zMlsvvimcNIeugOPFxrbzWvVgq 3KHnYn9znQhwYF8G6DEqAzGDtBBzV9o5KqzKnks2z6of0ArafAq3+/jyJdA2TPE6gb9m bA/ZKf221I37bboCalxWRjrxfcUSd8gqTWwLzrFIjQBSHOPcz1PLzbzKoauXlAqrzWGJ x0MnGsccLpNTXuIjd9eavxDcs/bLPUSnI4pHTyvtrM8OPDIo4rGOtGg0dfqcBoI0q910 vCK87zd2yZlPM9nZDHHyA5ZGA8FdP59lppcXR/pefBGn/EHarQCwFkrtHTMd2ZsjjaSw dkGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=1ZzmdadM4XjB3aYebFYjpgJ/OFCgc1As2WO1DczF3FY=; b=AzyY0beelwjYoI3NCKYojahAjtYLVxVpqBrkDfbZswNe7j2Aw6LHSXafMpru7yopj6 HCbyxsRar52X2u9saDJtQq4UlBESxUI6vD/oD3PC/9yVIPcLUjgCOoEQVAPnwV/92KnE cmavHN2SleS0K2koLj2pBzXPt9IXG29gbHR3cUhIPv9mM/316+mVg5xjzrVepWGiyH9d ZZJyL/RBAigRazIR0i5NxsP6ETQUxwju2okEvho6uRDtoa8+5Zrqq+Omly5kdBE7R6NA wreZj/GTzqxkhka0pDHYOrwYnNSIMYMwqsqC2SwiFEZy/gISVCPIxUdgedfLtkVWzIC3 KF2Q== X-Gm-Message-State: AIkVDXLjNMZSUPOtayeRIsxVWUxF1VLnFMSgDakEC2XlUH10s4sA0N5h4LhaEVzvgtt8IQ== X-Received: by 10.55.149.197 with SMTP id x188mr23495238qkd.70.1485314384459; Tue, 24 Jan 2017 19:19:44 -0800 (PST) Received: from [192.168.0.19] (h69-21-89-99.cntcnh.dsl.dynamic.tds.net. [69.21.89.99]) by smtp.gmail.com with ESMTPSA id n129sm17751217qkd.16.2017.01.24.19.19.42 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Jan 2017 19:19:43 -0800 (PST) Content-Type: multipart/alternative; boundary="Apple-Mail=_DC549EF2-8331-4761-A808-4CD6BE8011C1" Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) From: john miller In-Reply-To: <18DAE3A5-4164-4A08-80DB-E1A1DBD93EE2@atomicrules.com> Date: Tue, 24 Jan 2017 22:19:41 -0500 Cc: "dts@dpdk.org" Message-Id: References: <1FD3A933-F3E6-4B13-898D-A1B387B40345@atomicrules.com> <86228AFD5BCD8E4EBFD2B90117B5E81E62D179F1@SHSMSX103.ccr.corp.intel.com> <4B8B64DC-E650-45F0-AF39-52A74E29DD49@atomicrules.com> <86228AFD5BCD8E4EBFD2B90117B5E81E62D52C11@SHSMSX103.ccr.corp.intel.com> <18DAE3A5-4164-4A08-80DB-E1A1DBD93EE2@atomicrules.com> To: "Liu, Yong" X-Mailer: Apple Mail (2.2104) Subject: Re: [dts] Minimum Tester/DUT configuration 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: Wed, 25 Jan 2017 03:19:45 -0000 --Apple-Mail=_DC549EF2-8331-4761-A808-4CD6BE8011C1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I meant the head of DPDK. So we are using the latest code for both DTS = and DPDK. > On Jan 24, 2017, at 10:08 PM, john miller = wrote: >=20 > Hi Marvin, >=20 > I think we have that configured correctly, here is the output from the = test. We are using the latest code at the head of DTS which i s v17.02. >=20 > DTS_DUT_CMD: [192.168.0.34] usertools/dpdk-devbind.py --bind=3Digb_uio = 0000:02:00.0 0000:02:00.1 0000:02:00.2 0000:02:00.3=20 >=20 > -John >=20 >=20 >=20 >> On Jan 24, 2017, at 9:59 PM, Liu, Yong > wrote: >>=20 >> Hi John, >> In the DTS execution process, we will bind configured ports to = igb_uio by the tool named dpdk-devbind. >> This tool=E2=80=99s location changed to folder usertools recently. So = if you are not using v17.02, may encounter this issue. >> =20 >> usertools/dpdk-devbind.py --bind=3Digb_uio 0000:02:00.0 0000:02:00.1 = 0000:02:00.2 0000:02:00.3=20 >> =20 >> Thanks, >> Marvin >> =20 >> From: john miller [mailto:john.miller@atomicrules.com = ]=20 >> Sent: Wednesday, January 25, 2017 12:11 AM >> To: Liu, Yong > >> Cc: dts@dpdk.org >> Subject: Re: [dts] Minimum Tester/DUT configuration >> =20 >> Thank you for your response. >> =20 >> We have updated our tester and DUT configuration. We have 2 = Fortville eagles in our tester and 1 Fortville spirit configured as a = 4x10 in our DUT. We have link on all 4 ports. >> =20 >> We are trying to run the l2fwd DTS test and we get this error. >> =20 >> "EAL: Error - exiting with code: 1 >> Cause: No Ethernet ports - bye=E2=80=9D >>=20 >>=20 >> =20 >> The complete output is shown below. I searched the forums for this = error and got a few hits but none of the matching threads seemed like = what we are experiencing. Could you help us isolate this issue ? >> =20 >> Thank you, >> -John >> =20 >> =20 >> =20 >> =20 >> DUT 192.168.0.34 >> INFO: ssh root@192.168.0.36 = >> INFO: ssh root@192.168.0.36 = >> INFO: ssh root@192.168.0.34 = >> INFO: ssh root@192.168.0.34 = >> INFO: CACHE: Cache will not be read. >> INFO: SKIP: The DPDK setup steps will be executed. >> DTS_TESTER_CMD: scp -v dep/tgen.tgz root@192.168.0.36 = :~/ >> DTS_TESTER_CMD: scp -v dep/tclclient.tgz root@192.168.0.36 = :~/ >> DTS_TESTER_CMD: tar zxf tgen.tgz >> DTS_TESTER_CMD: tar zxf tclclient.tgz >> DTS_TESTER_CMD: modprobe uio >> DTS_TESTER_CMD: modprobe igb >> DTS_TESTER_CMD: modprobe ixgbe >> DTS_TESTER_CMD: modprobe e1000e >> DTS_TESTER_CMD: modprobe e1000 >> DTS_TESTER_CMD: cat /sys/bus/pci/devices/0000\:00\:19.0/vendor >> DTS_TESTER_CMD: cat /sys/bus/pci/devices/0000\:00\:19.0/device >> DTS_TESTER_CMD: cat /sys/bus/pci/devices/0000\:00\:19.0/vendor >> DTS_TESTER_CMD: cat /sys/bus/pci/devices/0000\:00\:19.0/device >> DTS_TESTER_CMD: ifconfig eno1 up >> DTS_TESTER_CMD: cat /sys/bus/pci/devices/0000\:01\:00.0/vendor >> DTS_TESTER_CMD: cat /sys/bus/pci/devices/0000\:01\:00.0/device >> DTS_TESTER_CMD: cat /sys/bus/pci/devices/0000\:01\:00.0/vendor >> DTS_TESTER_CMD: cat /sys/bus/pci/devices/0000\:01\:00.0/device >> DTS_TESTER_CMD: ifconfig enp1s0f0 up >> DTS_TESTER_CMD: cat /sys/bus/pci/devices/0000\:01\:00.1/vendor >> DTS_TESTER_CMD: cat /sys/bus/pci/devices/0000\:01\:00.1/device >> DTS_TESTER_CMD: cat /sys/bus/pci/devices/0000\:01\:00.1/vendor >> DTS_TESTER_CMD: cat /sys/bus/pci/devices/0000\:01\:00.1/device >> DTS_TESTER_CMD: ifconfig enp1s0f1 up >> DTS_TESTER_CMD: cat /sys/bus/pci/devices/0000\:02\:00.0/vendor >> DTS_TESTER_CMD: cat /sys/bus/pci/devices/0000\:02\:00.0/device >> DTS_TESTER_CMD: cat /sys/bus/pci/devices/0000\:02\:00.0/vendor >> DTS_TESTER_CMD: cat /sys/bus/pci/devices/0000\:02\:00.0/device >> DTS_TESTER_CMD: ifconfig enp2s0f0 up >> DTS_TESTER_CMD: cat /sys/bus/pci/devices/0000\:02\:00.1/vendor >> DTS_TESTER_CMD: cat /sys/bus/pci/devices/0000\:02\:00.1/device >> DTS_TESTER_CMD: cat /sys/bus/pci/devices/0000\:02\:00.1/vendor >> DTS_TESTER_CMD: cat /sys/bus/pci/devices/0000\:02\:00.1/device >> DTS_TESTER_CMD: ifconfig enp2s0f1 up >> DTS_TESTER_CMD: Tester: [0000:00:19.0 8086:1503] unknow_nic >> DTS_TESTER_CMD: Tester: [0000:01:00.0 8086:1572] enp1s0f0 >> DTS_TESTER_CMD: Tester: [0000:01:00.1 8086:1572] enp1s0f1 >> DTS_TESTER_CMD: Tester: [0000:02:00.0 8086:1572] enp2s0f0 >> DTS_TESTER_CMD: Tester: [0000:02:00.1 8086:1572] enp2s0f1 >> DTS_TESTER_CMD: {'intf': 'enp1s0f0', 'mac': = '3c:fd:fe:9c:c3:4c', 'pci': '0000:01:00.0', 'ipv6': = 'fe80::23af:6b1b:3fca:fe8a', 'type': '8086:1572', 'port': = } >> DTS_TESTER_CMD: {'intf': 'enp1s0f1', 'mac': = '3c:fd:fe:9c:c3:4d', 'pci': '0000:01:00.1', 'ipv6': = 'fe80::2e0:6ec:56c9:1b3', 'type': '8086:1572', 'port': = } >> DTS_TESTER_CMD: {'intf': 'enp2s0f0', 'mac': = '3c:fd:fe:9e:11:c0', 'pci': '0000:02:00.0', 'ipv6': = 'fe80::27d1:7383:502b:2486', 'type': '8086:1572', 'port': = } >> DTS_TESTER_CMD: {'intf': 'enp2s0f1', 'mac': = '3c:fd:fe:9e:11:c1', 'pci': '0000:02:00.1', 'ipv6': = 'fe80::b4d0:ec1f:fe29:687f', 'type': '8086:1572', 'port': = } >> DTS_DUT_CMD: [192.168.0.34] ls /tmp/ && cd ~ >> DTS_DUT_CMD: [192.168.0.34] scp -v dep/dpdk.tar.gz = root@192.168.0.34 :/tmp/ >> DTS_DUT_CMD: [192.168.0.34] ulimit -c unlimited >> DTS_DUT_CMD: [192.168.0.34] rm -rf ~/dpdk >> DTS_DUT_CMD: [192.168.0.34] tar zxf /tmp/dpdk.tar.gz -C ~ >> DTS_DUT_CMD: [192.168.0.34] ls ~/dpdk >> DTS_DUT_CMD: [192.168.0.34] cd ~/dpdk >> DTS_DUT_CMD: [192.168.0.34] alias ls=3D'ls --color=3Dnone' >> DTS_DUT_CMD: [192.168.0.34] DUT: [0000:00:1f.6 8086:15b8] = Skipped: Unknown/not selected >> DTS_DUT_CMD: [192.168.0.34] cat = /sys/bus/pci/devices/0000\:02\:00.0/vendor >> DTS_DUT_CMD: [192.168.0.34] cat = /sys/bus/pci/devices/0000\:02\:00.0/device >> DTS_DUT_CMD: [192.168.0.34] cat = /sys/bus/pci/devices/0000\:02\:00.0/vendor >> DTS_DUT_CMD: [192.168.0.34] cat = /sys/bus/pci/devices/0000\:02\:00.0/device >> DTS_DUT_CMD: [192.168.0.34] cat = /sys/bus/pci/devices/0000\:02\:00.1/vendor >> DTS_DUT_CMD: [192.168.0.34] cat = /sys/bus/pci/devices/0000\:02\:00.1/device >> DTS_DUT_CMD: [192.168.0.34] cat = /sys/bus/pci/devices/0000\:02\:00.1/vendor >> DTS_DUT_CMD: [192.168.0.34] cat = /sys/bus/pci/devices/0000\:02\:00.1/device >> DTS_DUT_CMD: [192.168.0.34] cat = /sys/bus/pci/devices/0000\:02\:00.2/vendor >> DTS_DUT_CMD: [192.168.0.34] cat = /sys/bus/pci/devices/0000\:02\:00.2/device >> DTS_DUT_CMD: [192.168.0.34] cat = /sys/bus/pci/devices/0000\:02\:00.2/vendor >> DTS_DUT_CMD: [192.168.0.34] cat = /sys/bus/pci/devices/0000\:02\:00.2/device >> DTS_DUT_CMD: [192.168.0.34] cat = /sys/bus/pci/devices/0000\:02\:00.3/vendor >> DTS_DUT_CMD: [192.168.0.34] cat = /sys/bus/pci/devices/0000\:02\:00.3/device >> DTS_DUT_CMD: [192.168.0.34] cat = /sys/bus/pci/devices/0000\:02\:00.3/vendor >> DTS_DUT_CMD: [192.168.0.34] cat = /sys/bus/pci/devices/0000\:02\:00.3/device >> DTS_DUT_CMD: [192.168.0.34] echo 0000:02:00.0 > = /sys/bus/pci/devices/0000\:02\:00.0/driver/unbind >> DTS_DUT_CMD: [192.168.0.34] modprobe i40e >> DTS_DUT_CMD: [192.168.0.34] echo 0000:02:00.0 > = /sys/bus/pci/drivers/i40e/bind >> DTS_DUT_CMD: [192.168.0.34] ifconfig eth6 up >> DTS_DUT_CMD: [192.168.0.34] echo 0000:02:00.1 > = /sys/bus/pci/devices/0000\:02\:00.1/driver/unbind >> DTS_DUT_CMD: [192.168.0.34] modprobe i40e >> DTS_DUT_CMD: [192.168.0.34] echo 0000:02:00.1 > = /sys/bus/pci/drivers/i40e/bind >> DTS_DUT_CMD: [192.168.0.34] ifconfig eth5 up >> DTS_DUT_CMD: [192.168.0.34] echo 0000:02:00.2 > = /sys/bus/pci/devices/0000\:02\:00.2/driver/unbind >> DTS_DUT_CMD: [192.168.0.34] modprobe i40e >> DTS_DUT_CMD: [192.168.0.34] echo 0000:02:00.2 > = /sys/bus/pci/drivers/i40e/bind >> DTS_DUT_CMD: [192.168.0.34] ifconfig eth7 up >> DTS_DUT_CMD: [192.168.0.34] echo 0000:02:00.3 > = /sys/bus/pci/devices/0000\:02\:00.3/driver/unbind >> DTS_DUT_CMD: [192.168.0.34] modprobe i40e >> DTS_DUT_CMD: [192.168.0.34] echo 0000:02:00.3 > = /sys/bus/pci/drivers/i40e/bind >> DTS_DUT_CMD: [192.168.0.34] ifconfig eth8 up >> DTS_DUT_CMD: [192.168.0.34] ip link show eth6 >> DTS_DUT_CMD: [192.168.0.34] ip -family inet6 address show = dev eth6 | awk '/inet6/ { print $2 }' >> DTS_DUT_CMD: [192.168.0.34] ip link show eth5 >> DTS_DUT_CMD: [192.168.0.34] ip -family inet6 address show = dev eth5 | awk '/inet6/ { print $2 }' >> DTS_DUT_CMD: [192.168.0.34] ip link show eth7 >> DTS_DUT_CMD: [192.168.0.34] ip -family inet6 address show = dev eth7 | awk '/inet6/ { print $2 }' >> DTS_DUT_CMD: [192.168.0.34] ip link show eth8 >> DTS_DUT_CMD: [192.168.0.34] ip -family inet6 address show = dev eth8 | awk '/inet6/ { print $2 }' >> DTS_TESTER_CMD: ping6 -w 5 -c 5 -A = fe80::3efd:feff:fea0:fbc0%enp1s0f0 >> DTS_TESTER_CMD: ping6 -w 5 -c 5 -A = fe80::3efd:feff:fea0:fbc0%enp1s0f1 >> DTS_TESTER_CMD: ping6 -w 5 -c 5 -A = fe80::3efd:feff:fea0:fbc0%enp2s0f0 >> DTS_TESTER_CMD: ping6 -w 5 -c 5 -A = fe80::3efd:feff:fea0:fbc0%enp2s0f1 >> DTS_DUT_CMD: [192.168.0.34] PORT MAP: [dut 0: tester 3] >> DTS_TESTER_CMD: ping6 -w 5 -c 5 -A = fe80::3efd:feff:fea0:fbc1%enp1s0f0 >> DTS_TESTER_CMD: ping6 -w 5 -c 5 -A = fe80::3efd:feff:fea0:fbc1%enp1s0f1 >> DTS_TESTER_CMD: ping6 -w 5 -c 5 -A = fe80::3efd:feff:fea0:fbc1%enp2s0f0 >> DTS_DUT_CMD: [192.168.0.34] PORT MAP: [dut 1: tester 2] >> DTS_TESTER_CMD: ping6 -w 5 -c 5 -A = fe80::3efd:feff:fea0:fbc2%enp1s0f0 >> DTS_TESTER_CMD: ping6 -w 5 -c 5 -A = fe80::3efd:feff:fea0:fbc2%enp1s0f1 >> DTS_DUT_CMD: [192.168.0.34] PORT MAP: [dut 2: tester 1] >> DTS_TESTER_CMD: ping6 -w 5 -c 5 -A = fe80::3efd:feff:fea0:fbc3%enp1s0f0 >> DTS_DUT_CMD: [192.168.0.34] PORT MAP: [dut 3: tester 0] >> DTS_DUT_RESULT: [192.168.0.34] DUT PORT MAP: [3, 2, 1, 0] >> DTS_DUT_CMD: [192.168.0.34] {'intf': 'eth6', 'mac': = '3c:fd:fe:a0:fb:c0', 'pci': '0000:02:00.0', 'numa': -1, 'ipv6': = 'fe80::3efd:feff:fea0:fbc0', 'type': '8086:1583', 'port': = } >> DTS_DUT_CMD: [192.168.0.34] {'intf': 'eth5', 'mac': = '3c:fd:fe:a0:fb:c1', 'pci': '0000:02:00.1', 'numa': -1, 'ipv6': = 'fe80::3efd:feff:fea0:fbc1', 'type': '8086:1583', 'port': = } >> DTS_DUT_CMD: [192.168.0.34] {'intf': 'eth7', 'mac': = '3c:fd:fe:a0:fb:c2', 'pci': '0000:02:00.2', 'numa': -1, 'ipv6': = 'fe80::3efd:feff:fea0:fbc2', 'type': '8086:1583', 'port': = } >> DTS_DUT_CMD: [192.168.0.34] {'intf': 'eth8', 'mac': = '3c:fd:fe:a0:fb:c3', 'pci': '0000:02:00.3', 'numa': -1, 'ipv6': = 'fe80::3efd:feff:fea0:fbc3', 'type': '8086:1583', 'port': = } >> INFO:=20 >> TARGET x86_64-native-linuxapp-gcc >> DTS_DUT_CMD: [192.168.0.34] export = RTE_TARGET=3Dx86_64-native-linuxapp-gcc >> DTS_DUT_CMD: [192.168.0.34] export RTE_SDK=3D`pwd` >> DTS_DUT_CMD: [192.168.0.34] rm -rf = x86_64-native-linuxapp-gcc >> DTS_DUT_CMD: [192.168.0.34] rm -rf = ./app/test/test_resource_c.res.o >> DTS_DUT_CMD: [192.168.0.34] rm -rf = ./app/test/test_resource_tar.res.o >> DTS_DUT_CMD: [192.168.0.34] rm -rf = ./app/test/test_pci_sysfs.res.o >> DTS_DUT_CMD: [192.168.0.34] make -j install = T=3Dx86_64-native-linuxapp-gcc=20 >> DTS_DUT_CMD: [192.168.0.34] awk '/Hugepagesize/ {print $2}' = /proc/meminfo >> DTS_DUT_CMD: [192.168.0.34] awk '/Hugepagesize/ {print $2}' = /proc/meminfo >> DTS_DUT_CMD: [192.168.0.34] echo 4096 > = /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages >> DTS_DUT_CMD: [192.168.0.34] umount `awk '/hugetlbfs/ { print = $2 }' /proc/mounts` >> DTS_DUT_CMD: [192.168.0.34] awk '/hugetlbfs/ { print $2 }' = /proc/mounts >> DTS_DUT_CMD: [192.168.0.34] mkdir -p /mnt/huge >> DTS_DUT_CMD: [192.168.0.34] mount -t hugetlbfs nodev = /mnt/huge >> DTS_DUT_CMD: [192.168.0.34] cat /proc/mounts |grep hugetlbfs >> DTS_DUT_CMD: [192.168.0.34] modprobe uio >> DTS_DUT_CMD: [192.168.0.34] lsmod | grep igb_uio >> DTS_DUT_CMD: [192.168.0.34] insmod = ./x86_64-native-linuxapp-gcc/kmod/igb_uio.ko >> DTS_DUT_CMD: [192.168.0.34] lsmod | grep igb_uio >> DTS_DUT_CMD: [192.168.0.34] usertools/dpdk-devbind.py = --bind=3Digb_uio 0000:02:00.0 0000:02:00.1 0000:02:00.2 0000:02:00.3=20 >> INFO:=20 >> TEST SUITE : TestL2fwd >> INFO: NIC : fortville_spirit >> =20 >> DTS_DUT_RESULT: [192.168.0.34] NUMA not supported >> SUITE_DUT_CMD: [192.168.0.34] rm -rf = ./app/test/test_resource_c.res.o >> SUITE_DUT_CMD: [192.168.0.34] rm -rf = ./app/test/test_resource_tar.res.o >> SUITE_DUT_CMD: [192.168.0.34] rm -rf = ./app/test/test_pci_sysfs.res.o >> SUITE_DUT_CMD: [192.168.0.34] make -j -C ./examples/l2fwd=20 >> INFO: Test Case test_l2fwd_integrity Begin >> SUITE_DUT_CMD: [192.168.0.34] ./examples/l2fwd/build/app/l2fwd = -n 4 -c 0xf -- -q 1 -p 0x3 & >> ERROR: Test Case test_l2fwd_integrity Result FAILED: = TIMEOUT on ./examples/l2fwd/build/app/l2fwd -n 4 -c 0xf -- -q 1 -p 0x3 & >> ERROR: [1] 25652 >> [PEXPECT]# EAL: Detected 8 lcore(s) >> EAL: No free hugepages reported in hugepages-1048576kB >> EAL: Probing VFIO support... >> EAL: PCI device 0000:02:00.0 on NUMA socket -1 >> EAL: probe driver: 8086:1583 net_i40e >> EAL: PCI device 0000:02:00.1 on NUMA socket -1 >> EAL: probe driver: 8086:1583 net_i40e >> EAL: PCI device 0000:02:00.2 on NUMA socket -1 >> EAL: probe driver: 8086:1583 net_i40e >> EAL: PCI device 0000:02:00.3 on NUMA socket -1 >> EAL: probe driver: 8086:1583 net_i40e >> MAC updating enabled >> EAL: Error - exiting with code: 1 >> Cause: No Ethernet ports - bye >> INFO:=20 >> TEST SUITE ENDED: TestL2fwd >> =20 >> DTS_TESTER_CMD: modprobe igb >> DTS_TESTER_CMD: modprobe ixgbe >> DTS_TESTER_CMD: modprobe e1000e >> DTS_TESTER_CMD: modprobe e1000 >> DTS_TESTER_CMD: ifconfig eno1 up >> DTS_TESTER_CMD: ifconfig enp1s0f0 up >> DTS_TESTER_CMD: ifconfig enp1s0f1 up >> DTS_TESTER_CMD: ifconfig enp2s0f0 up >> DTS_TESTER_CMD: ifconfig enp2s0f1 up >> DTS_DUT_CMD: [192.168.0.34] echo 0000:02:00.0 > = /sys/bus/pci/devices/0000\:02\:00.0/driver/unbind >> DTS_DUT_CMD: [192.168.0.34] modprobe i40e >> DTS_DUT_CMD: [192.168.0.34] echo 0000:02:00.0 > = /sys/bus/pci/drivers/i40e/bind >> DTS_DUT_CMD: [192.168.0.34] ifconfig eth6 up >> DTS_DUT_CMD: [192.168.0.34] echo 0000:02:00.1 > = /sys/bus/pci/devices/0000\:02\:00.1/driver/unbind >> DTS_DUT_CMD: [192.168.0.34] modprobe i40e >> DTS_DUT_CMD: [192.168.0.34] echo 0000:02:00.1 > = /sys/bus/pci/drivers/i40e/bind >> DTS_DUT_CMD: [192.168.0.34] ifconfig eth5 up >> DTS_DUT_CMD: [192.168.0.34] echo 0000:02:00.2 > = /sys/bus/pci/devices/0000\:02\:00.2/driver/unbind >> DTS_DUT_CMD: [192.168.0.34] modprobe i40e >> DTS_DUT_CMD: [192.168.0.34] echo 0000:02:00.2 > = /sys/bus/pci/drivers/i40e/bind >> DTS_DUT_CMD: [192.168.0.34] ifconfig eth7 up >> DTS_DUT_CMD: [192.168.0.34] echo 0000:02:00.3 > = /sys/bus/pci/devices/0000\:02\:00.3/driver/unbind >> DTS_DUT_CMD: [192.168.0.34] modprobe i40e >> DTS_DUT_CMD: [192.168.0.34] echo 0000:02:00.3 > = /sys/bus/pci/drivers/i40e/bind >> DTS_DUT_CMD: [192.168.0.34] ifconfig eth8 up >> INFO: DTS ended >>=20 >>=20 >> =20 >> =20 >> =20 >> =20 >> =20 >> =20 >> =20 >> =20 >> On Dec 15, 2016, at 9:00 AM, Liu, Yong > wrote: >> =20 >> John, thanks for your information. >>=20 >>=20 >> -----Original Message----- >> From: dts [mailto:dts-bounces@dpdk.org ] = On Behalf Of john miller >> Sent: Thursday, December 15, 2016 12:23 AM >> To: dts@dpdk.org >> Subject: [dts] Minimum Tester/DUT configuration >>=20 >>=20 >> Hi All, >>=20 >> We have configured a tester and a DUT for DTS testing, both machines = are 4 >> core systems, one running ubuntu 14.04 and the other ubuntu 16.04 = OS's . >> Before we plug our hardware into the tester we are trying to = establish >> ground truth using a 2 port Fortville eagle card in the tester and = one in >> the DUT. The DTS documentation indicates that a minimum system = requires 4 >> ports so my first question is, can some of the tests run with a 2 = port >> configuration and is there any documentation that indicates which = tests >> require all 4 ports ? The basic tests like hello_world, timer, and >> cmdline pass, but when we attempt run tests like l2fwd we get the >> following error indicating that 4 ports are required. >>=20 >>=20 >> Each case may have different requirements like port number, core = number, some kinds of dpdk configuration etc. >> Most of cases only require 2 ports and four cores, some performance = case like l3fwd required more cores and ports.=20 >> Some simple case like hello just require few cores. There's no = existing document for each case requirement by now. >> We have plan to add configuration for each case which can get these = information. >>=20 >> For l2fwd case, it required 2 ports and 4 cores on the DUT.=20 >> Just from your log, look like dts did not scan out enough port which = matched Fortville eagle device's ID. >>=20 >>=20 >>=20 >> INFO: >> TEST SUITE : TestL2fwd >> INFO: NIC : fortville_eagle >> ERROR: set_up_all failed: >> Traceback (most recent call last): >> File "/work/dts/framework/test_case.py", line 223, in = execute_setup_all >> self.set_up_all() >> File "/work/dts/tests/TestSuite_l2fwd.py", line 66, in set_up_all >> "Not enough ports for " + self.nic) >> File "/work/dts/framework/test_case.py", line 146, in verify >> raise VerifyFailure(description) >> VerifyFailure: 'Not enough ports for fortville_eagle=E2=80=99 >>=20 >>=20 >>=20 >> Also the DPDK mutilprocess test documentation indicates that the test >> should run with only 2 ports. However when we attempt to run we get = the >> following error. The error looks like it is a result of the test >> attempting to use more lcores than are available on the DUT. = Although i >> could change the test script to avoid this, I would like to know if = there >> is a configuration parameter that i missed that should be set to the >> number of cores on the DUT. >>=20 >>=20 >> That's just what we want to enhance. Most of our cases run on Intel 2 = socket platform, and has enough memory and cores. >> We just noticed that some platforms may not have enough resources as = we have. Some of the cases have been modified for reduce requirements = and some of them not. >> We will work on that continuously and you can directly send patch to = make sure cases also work on your platform. >> When case configuration feature is done, I think it will be more = easily to gadapt to different platforms. =20 >>=20 >>=20 >>=20 >> DTS_DUT_CMD: >> [192.168.0.11] = ./examples/multi_process/simple_mp/simple_mp/x86_64-native- >> linuxapp-gcc/simple_mp -n 1 -c 0x6 --proc-type=3Dprimary >> SUITE_DUT_CMD: >> [192.168.0.11] = ./examples/multi_process/simple_mp/simple_mp/x86_64-native- >> linuxapp-gcc/simple_mp -n 1 -c 0x60000 --proc-type=3Dsecondary >> ERROR: Test Case test_multiprocess_simple_mploadtest = Result >> FAILED: TIMEOUT on = ./examples/multi_process/simple_mp/simple_mp/x86_64- >> native-linuxapp-gcc/simple_mp -n 1 -c 0x60000 --proc-type=3Dsecondary >> ERROR: EAL: Detected lcore 0 as core 0 on socket 0 >> EAL: Detected lcore 1 as core 1 on socket 0 >> EAL: Detected lcore 2 as core 2 on socket 0 >> EAL: Detected lcore 3 as core 3 on socket 0 >> EAL: Detected lcore 4 as core 0 on socket 0 >> EAL: Detected lcore 5 as core 1 on socket 0 >> EAL: Detected lcore 6 as core 2 on socket 0 >> EAL: Detected lcore 7 as core 3 on socket 0 >> EAL: Support maximum 128 logical core(s) by configuration. >> EAL: Detected 8 lcore(s) >> EAL: lcore 17 unavailable >> EAL: invalid coremask >>=20 >> Usage: ./examples/multi_process/simple_mp/simple_mp/x86_64-native- >> linuxapp-gcc/simple_mp [options] >>=20 >>=20 >>=20 >> Thank you, >> -John >> =20 >=20 --Apple-Mail=_DC549EF2-8331-4761-A808-4CD6BE8011C1 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 I meant the head of DPDK. So we are using the latest code for = both DTS and DPDK.

On = Jan 24, 2017, at 10:08 PM, john miller <john.miller@atomicrules.com> wrote:

Hi Marvin,

I think we have that = configured correctly, here is the output from the test.  We are = using the latest code at the head of DTS which i s v17.02.

DTS_DUT_CMD: [192.168.0.34] = usertools/dpdk-devbind.py --bind=3Digb_uio 0000:02:00.0 0000:02:00.1 = 0000:02:00.2 0000:02:00.3 

-John



On Jan 24, 2017, at 9:59 PM, Liu, Yong <yong.liu@intel.com> = wrote:

Hi John,

In the DTS execution process, we will bind = configured ports to igb_uio by the tool named dpdk-devbind.

This tool=E2=80=99s location changed to folder = usertools recently. So if you are not using v17.02, may encounter this = issue.

 

usertools/dpdk-devbind.py --bind=3Digb_uio 0000:02:00.0 = 0000:02:00.1 0000:02:00.2 0000:02:00.3 

 

Thanks,

Marvin

 

From: john miller [mailto:john.miller@atomicrules.com]
Sent: Wednesday, January 25, 2017 12:11 AM
To: Liu, Yong <yong.liu@intel.com>
Cc: dts@dpdk.org
Subject: Re: [dts] Minimum Tester/DUT = configuration

 

Thank you for your response.

=

 

We have updated our tester and = DUT configuration.  We have 2 Fortville eagles in our tester and 1 = Fortville spirit configured as a 4x10 in our DUT.  We have link on = all 4 ports.

 

We are trying to run the l2fwd = DTS test and we get this error.

 

"EAL: Error - exiting with code: 1

  Cause: No Ethernet ports - bye=E2=80=9D



 

The complete output is shown below.  I searched the = forums for this error and got a few hits but none of the matching = threads seemed like what we are experiencing.  Could you help us isolate this issue ?

 

Thank you,

-John

 
 
 
 

DUT 192.168.0.34

                = INFO: ssh root@192.168.0.36

                = INFO: ssh root@192.168.0.36

                = INFO: ssh root@192.168.0.34

                = INFO: ssh root@192.168.0.34

                = INFO: CACHE: Cache will not be read.

                = INFO: SKIP: The DPDK setup steps will be executed.

      DTS_TESTER_CMD: scp -v dep/tgen.tgz root@192.168.0.36:~/

      DTS_TESTER_CMD: scp -v dep/tclclient.tgz root@192.168.0.36:~/

      DTS_TESTER_CMD: tar zxf tgen.tgz

      DTS_TESTER_CMD: tar zxf = tclclient.tgz

      DTS_TESTER_CMD: modprobe uio

      DTS_TESTER_CMD: modprobe igb

      DTS_TESTER_CMD: modprobe ixgbe

      DTS_TESTER_CMD: modprobe e1000e

      DTS_TESTER_CMD: modprobe e1000

      DTS_TESTER_CMD: cat = /sys/bus/pci/devices/0000\:00\:19.0/vendor

      DTS_TESTER_CMD: cat = /sys/bus/pci/devices/0000\:00\:19.0/device

      DTS_TESTER_CMD: cat = /sys/bus/pci/devices/0000\:00\:19.0/vendor

      DTS_TESTER_CMD: cat = /sys/bus/pci/devices/0000\:00\:19.0/device

      DTS_TESTER_CMD: ifconfig eno1 up

      DTS_TESTER_CMD: cat = /sys/bus/pci/devices/0000\:01\:00.0/vendor

      DTS_TESTER_CMD: cat = /sys/bus/pci/devices/0000\:01\:00.0/device

      DTS_TESTER_CMD: cat = /sys/bus/pci/devices/0000\:01\:00.0/vendor

      DTS_TESTER_CMD: cat = /sys/bus/pci/devices/0000\:01\:00.0/device

      DTS_TESTER_CMD: ifconfig enp1s0f0 up

      DTS_TESTER_CMD: cat = /sys/bus/pci/devices/0000\:01\:00.1/vendor

      DTS_TESTER_CMD: cat = /sys/bus/pci/devices/0000\:01\:00.1/device

      DTS_TESTER_CMD: cat = /sys/bus/pci/devices/0000\:01\:00.1/vendor

      DTS_TESTER_CMD: cat = /sys/bus/pci/devices/0000\:01\:00.1/device

      DTS_TESTER_CMD: ifconfig enp1s0f1 up

      DTS_TESTER_CMD: cat = /sys/bus/pci/devices/0000\:02\:00.0/vendor

      DTS_TESTER_CMD: cat = /sys/bus/pci/devices/0000\:02\:00.0/device

      DTS_TESTER_CMD: cat = /sys/bus/pci/devices/0000\:02\:00.0/vendor

      DTS_TESTER_CMD: cat = /sys/bus/pci/devices/0000\:02\:00.0/device

      DTS_TESTER_CMD: ifconfig enp2s0f0 up

      DTS_TESTER_CMD: cat = /sys/bus/pci/devices/0000\:02\:00.1/vendor

      DTS_TESTER_CMD: cat = /sys/bus/pci/devices/0000\:02\:00.1/device

      DTS_TESTER_CMD: cat = /sys/bus/pci/devices/0000\:02\:00.1/vendor

      DTS_TESTER_CMD: cat = /sys/bus/pci/devices/0000\:02\:00.1/device

      DTS_TESTER_CMD: ifconfig enp2s0f1 up

      DTS_TESTER_CMD: Tester: [0000:00:19.0 = 8086:1503] unknow_nic

      DTS_TESTER_CMD: Tester: [0000:01:00.0 = 8086:1572] enp1s0f0

      DTS_TESTER_CMD: Tester: [0000:01:00.1 = 8086:1572] enp1s0f1

      DTS_TESTER_CMD: Tester: [0000:02:00.0 = 8086:1572] enp2s0f0

      DTS_TESTER_CMD: Tester: [0000:02:00.1 = 8086:1572] enp2s0f1

      DTS_TESTER_CMD: {'intf': 'enp1s0f0', = 'mac': '3c:fd:fe:9c:c3:4c', 'pci': '0000:01:00.0', 'ipv6': = 'fe80::23af:6b1b:3fca:fe8a', 'type': '8086:1572', 'port': = <net_device.NetDevice object at 0x7f5c8f549cd0>}

      DTS_TESTER_CMD: {'intf': 'enp1s0f1', = 'mac': '3c:fd:fe:9c:c3:4d', 'pci': '0000:01:00.1', 'ipv6': = 'fe80::2e0:6ec:56c9:1b3', 'type': '8086:1572', 'port': = <net_device.NetDevice object at 0x7f5c8f571110>}

      DTS_TESTER_CMD: {'intf': 'enp2s0f0', = 'mac': '3c:fd:fe:9e:11:c0', 'pci': '0000:02:00.0', 'ipv6': = 'fe80::27d1:7383:502b:2486', 'type': '8086:1572', 'port': = <net_device.NetDevice object at 0x7f5c8f549e90>}

      DTS_TESTER_CMD: {'intf': 'enp2s0f1', = 'mac': '3c:fd:fe:9e:11:c1', 'pci': '0000:02:00.1', 'ipv6': = 'fe80::b4d0:ec1f:fe29:687f', 'type': '8086:1572', 'port': = <net_device.NetDevice object at 0x7f5c8f549c90>}

         DTS_DUT_CMD: [192.168.0.34] = ls /tmp/ && cd ~

         DTS_DUT_CMD: [192.168.0.34] = scp -v dep/dpdk.tar.gz root@192.168.0.34:/tmp/

         DTS_DUT_CMD: [192.168.0.34] = ulimit -c unlimited

         DTS_DUT_CMD: [192.168.0.34] = rm -rf ~/dpdk

         DTS_DUT_CMD: [192.168.0.34] = tar zxf /tmp/dpdk.tar.gz -C ~

         DTS_DUT_CMD: [192.168.0.34] = ls ~/dpdk

         DTS_DUT_CMD: [192.168.0.34] = cd ~/dpdk

         DTS_DUT_CMD: [192.168.0.34] = alias ls=3D'ls --color=3Dnone'

         DTS_DUT_CMD: [192.168.0.34] = DUT: [0000:00:1f.6 8086:15b8] Skipped: = Unknown/not selected

         DTS_DUT_CMD: [192.168.0.34] = cat /sys/bus/pci/devices/0000\:02\:00.0/vendor

         DTS_DUT_CMD: [192.168.0.34] = cat /sys/bus/pci/devices/0000\:02\:00.0/device

         DTS_DUT_CMD: [192.168.0.34] = cat /sys/bus/pci/devices/0000\:02\:00.0/vendor

         DTS_DUT_CMD: [192.168.0.34] = cat /sys/bus/pci/devices/0000\:02\:00.0/device

         DTS_DUT_CMD: [192.168.0.34] = cat /sys/bus/pci/devices/0000\:02\:00.1/vendor

         DTS_DUT_CMD: [192.168.0.34] = cat /sys/bus/pci/devices/0000\:02\:00.1/device

         DTS_DUT_CMD: [192.168.0.34] = cat /sys/bus/pci/devices/0000\:02\:00.1/vendor

         DTS_DUT_CMD: [192.168.0.34] = cat /sys/bus/pci/devices/0000\:02\:00.1/device

         DTS_DUT_CMD: [192.168.0.34] = cat /sys/bus/pci/devices/0000\:02\:00.2/vendor

         DTS_DUT_CMD: [192.168.0.34] = cat /sys/bus/pci/devices/0000\:02\:00.2/device

         DTS_DUT_CMD: [192.168.0.34] = cat /sys/bus/pci/devices/0000\:02\:00.2/vendor

         DTS_DUT_CMD: [192.168.0.34] = cat /sys/bus/pci/devices/0000\:02\:00.2/device

         DTS_DUT_CMD: [192.168.0.34] = cat /sys/bus/pci/devices/0000\:02\:00.3/vendor

         DTS_DUT_CMD: [192.168.0.34] = cat /sys/bus/pci/devices/0000\:02\:00.3/device

         DTS_DUT_CMD: [192.168.0.34] = cat /sys/bus/pci/devices/0000\:02\:00.3/vendor

         DTS_DUT_CMD: [192.168.0.34] = cat /sys/bus/pci/devices/0000\:02\:00.3/device

         DTS_DUT_CMD: [192.168.0.34] = echo 0000:02:00.0 > = /sys/bus/pci/devices/0000\:02\:00.0/driver/unbind

         DTS_DUT_CMD: [192.168.0.34] = modprobe i40e

         DTS_DUT_CMD: [192.168.0.34] = echo 0000:02:00.0 > /sys/bus/pci/drivers/i40e/bind

         DTS_DUT_CMD: [192.168.0.34] = ifconfig eth6 up

         DTS_DUT_CMD: [192.168.0.34] = echo 0000:02:00.1 > = /sys/bus/pci/devices/0000\:02\:00.1/driver/unbind

         DTS_DUT_CMD: [192.168.0.34] = modprobe i40e

         DTS_DUT_CMD: [192.168.0.34] = echo 0000:02:00.1 > /sys/bus/pci/drivers/i40e/bind

         DTS_DUT_CMD: [192.168.0.34] = ifconfig eth5 up

         DTS_DUT_CMD: [192.168.0.34] = echo 0000:02:00.2 > = /sys/bus/pci/devices/0000\:02\:00.2/driver/unbind

         DTS_DUT_CMD: [192.168.0.34] = modprobe i40e

         DTS_DUT_CMD: [192.168.0.34] = echo 0000:02:00.2 > /sys/bus/pci/drivers/i40e/bind

         DTS_DUT_CMD: [192.168.0.34] = ifconfig eth7 up

         DTS_DUT_CMD: [192.168.0.34] = echo 0000:02:00.3 > = /sys/bus/pci/devices/0000\:02\:00.3/driver/unbind

         DTS_DUT_CMD: [192.168.0.34] = modprobe i40e

         DTS_DUT_CMD: [192.168.0.34] = echo 0000:02:00.3 > /sys/bus/pci/drivers/i40e/bind

         DTS_DUT_CMD: [192.168.0.34] = ifconfig eth8 up

         DTS_DUT_CMD: [192.168.0.34] = ip link show eth6

         DTS_DUT_CMD: [192.168.0.34] = ip -family inet6 address show dev eth6 | awk '/inet6/ { print $2 }'

         DTS_DUT_CMD: [192.168.0.34] = ip link show eth5

         DTS_DUT_CMD: [192.168.0.34] = ip -family inet6 address show dev eth5 | awk '/inet6/ { print $2 }'

         DTS_DUT_CMD: [192.168.0.34] = ip link show eth7

         DTS_DUT_CMD: [192.168.0.34] = ip -family inet6 address show dev eth7 | awk '/inet6/ { print $2 }'

         DTS_DUT_CMD: [192.168.0.34] = ip link show eth8

         DTS_DUT_CMD: [192.168.0.34] = ip -family inet6 address show dev eth8 | awk '/inet6/ { print $2 }'

      DTS_TESTER_CMD: ping6 -w 5 -c 5 -A = fe80::3efd:feff:fea0:fbc0%enp1s0f0

      DTS_TESTER_CMD: ping6 -w 5 -c 5 -A = fe80::3efd:feff:fea0:fbc0%enp1s0f1

      DTS_TESTER_CMD: ping6 -w 5 -c 5 -A = fe80::3efd:feff:fea0:fbc0%enp2s0f0

      DTS_TESTER_CMD: ping6 -w 5 -c 5 -A = fe80::3efd:feff:fea0:fbc0%enp2s0f1

         DTS_DUT_CMD: [192.168.0.34] = PORT MAP: [dut 0: tester 3]

      DTS_TESTER_CMD: ping6 -w 5 -c 5 -A = fe80::3efd:feff:fea0:fbc1%enp1s0f0

      DTS_TESTER_CMD: ping6 -w 5 -c 5 -A = fe80::3efd:feff:fea0:fbc1%enp1s0f1

      DTS_TESTER_CMD: ping6 -w 5 -c 5 -A = fe80::3efd:feff:fea0:fbc1%enp2s0f0

         DTS_DUT_CMD: [192.168.0.34] = PORT MAP: [dut 1: tester 2]

      DTS_TESTER_CMD: ping6 -w 5 -c 5 -A = fe80::3efd:feff:fea0:fbc2%enp1s0f0

      DTS_TESTER_CMD: ping6 -w 5 -c 5 -A = fe80::3efd:feff:fea0:fbc2%enp1s0f1

         DTS_DUT_CMD: [192.168.0.34] = PORT MAP: [dut 2: tester 1]

      DTS_TESTER_CMD: ping6 -w 5 -c 5 -A = fe80::3efd:feff:fea0:fbc3%enp1s0f0

         DTS_DUT_CMD: [192.168.0.34] = PORT MAP: [dut 3: tester 0]

      DTS_DUT_RESULT: [192.168.0.34] DUT = PORT MAP: [3, 2, 1, 0]

         DTS_DUT_CMD: [192.168.0.34] = {'intf': 'eth6', 'mac': '3c:fd:fe:a0:fb:c0', 'pci': '0000:02:00.0', = 'numa': -1, 'ipv6': 'fe80::3efd:feff:fea0:fbc0', 'type': '8086:1583', = 'port': <net_device.NetDevice object at 0x7f5c8f571650>}

         DTS_DUT_CMD: [192.168.0.34] = {'intf': 'eth5', 'mac': '3c:fd:fe:a0:fb:c1', 'pci': '0000:02:00.1', = 'numa': -1, 'ipv6': 'fe80::3efd:feff:fea0:fbc1', 'type': '8086:1583', = 'port': <net_device.NetDevice object at 0x7f5c8f571950>}

         DTS_DUT_CMD: [192.168.0.34] = {'intf': 'eth7', 'mac': '3c:fd:fe:a0:fb:c2', 'pci': '0000:02:00.2', = 'numa': -1, 'ipv6': 'fe80::3efd:feff:fea0:fbc2', 'type': '8086:1583', = 'port': <net_device.NetDevice object at 0x7f5c8f571a50>}

         DTS_DUT_CMD: [192.168.0.34] = {'intf': 'eth8', 'mac': '3c:fd:fe:a0:fb:c3', 'pci': '0000:02:00.3', = 'numa': -1, 'ipv6': 'fe80::3efd:feff:fea0:fbc3', 'type': '8086:1583', = 'port': <net_device.NetDevice object at 0x7f5c8f571150>}

                = INFO: 

TARGET x86_64-native-linuxapp-gcc

         DTS_DUT_CMD: [192.168.0.34] = export RTE_TARGET=3Dx86_64-native-linuxapp-gcc

         DTS_DUT_CMD: [192.168.0.34] = export RTE_SDK=3D`pwd`

         DTS_DUT_CMD: [192.168.0.34] = rm -rf x86_64-native-linuxapp-gcc

         DTS_DUT_CMD: [192.168.0.34] = rm -rf ./app/test/test_resource_c.res.o

         DTS_DUT_CMD: [192.168.0.34] = rm -rf ./app/test/test_resource_tar.res.o

=

         DTS_DUT_CMD: [192.168.0.34] = rm -rf ./app/test/test_pci_sysfs.res.o

         DTS_DUT_CMD: [192.168.0.34] = make -j install T=3Dx86_64-native-linuxapp-gcc 

         DTS_DUT_CMD: [192.168.0.34] = awk '/Hugepagesize/ {print $2}' /proc/meminfo

         DTS_DUT_CMD: [192.168.0.34] = awk '/Hugepagesize/ {print $2}' /proc/meminfo

         DTS_DUT_CMD: [192.168.0.34] = echo 4096 > = /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages

         DTS_DUT_CMD: [192.168.0.34] = umount `awk '/hugetlbfs/ { print $2 }' /proc/mounts`

         DTS_DUT_CMD: [192.168.0.34] = awk '/hugetlbfs/ { print $2 }' /proc/mounts

         DTS_DUT_CMD: [192.168.0.34] = mkdir -p /mnt/huge

         DTS_DUT_CMD: [192.168.0.34] = mount -t hugetlbfs nodev /mnt/huge

         DTS_DUT_CMD: [192.168.0.34] = cat /proc/mounts |grep hugetlbfs

         DTS_DUT_CMD: [192.168.0.34] = modprobe uio

         DTS_DUT_CMD: [192.168.0.34] = lsmod | grep igb_uio

         DTS_DUT_CMD: [192.168.0.34] = insmod ./x86_64-native-linuxapp-gcc/kmod/igb_uio.ko

         DTS_DUT_CMD: [192.168.0.34] = lsmod | grep igb_uio

         DTS_DUT_CMD: [192.168.0.34] = usertools/dpdk-devbind.py --bind=3Digb_uio 0000:02:00.0 0000:02:00.1 = 0000:02:00.2 0000:02:00.3 

                = INFO: 

TEST SUITE : TestL2fwd

                = INFO: NIC :        fortville_spirit

 

      DTS_DUT_RESULT: [192.168.0.34] NUMA = not supported

       SUITE_DUT_CMD: [192.168.0.34] rm = -rf ./app/test/test_resource_c.res.o

       SUITE_DUT_CMD: [192.168.0.34] rm = -rf ./app/test/test_resource_tar.res.o

       SUITE_DUT_CMD: [192.168.0.34] rm = -rf ./app/test/test_pci_sysfs.res.o

       SUITE_DUT_CMD: [192.168.0.34] make = -j -C ./examples/l2fwd 

                = INFO: Test Case test_l2fwd_integrity Begin

       SUITE_DUT_CMD: [192.168.0.34] = ./examples/l2fwd/build/app/l2fwd -n 4 -c 0xf -- -q 1 -p 0x3 &

               = ERROR: Test Case test_l2fwd_integrity Result FAILED: TIMEOUT on = ./examples/l2fwd/build/app/l2fwd -n 4 -c 0xf -- -q 1 -p 0x3 = &

               = ERROR: [1] 25652

[PEXPECT]# EAL: Detected 8 lcore(s)

EAL: No free hugepages reported in = hugepages-1048576kB

EAL: Probing VFIO support...

EAL: PCI device 0000:02:00.0 on NUMA socket = -1

EAL:   probe driver: 8086:1583 = net_i40e

EAL: PCI device 0000:02:00.1 on NUMA socket = -1

EAL:   probe driver: 8086:1583 = net_i40e

EAL: PCI device 0000:02:00.2 on NUMA socket = -1

EAL:   probe driver: 8086:1583 = net_i40e

EAL: PCI device 0000:02:00.3 on NUMA socket = -1

EAL:   probe driver: 8086:1583 = net_i40e

MAC updating enabled

EAL: Error - exiting with code: 1

  Cause: No Ethernet ports - bye

                = INFO: 

TEST SUITE ENDED: TestL2fwd

    

      DTS_TESTER_CMD: modprobe igb

      DTS_TESTER_CMD: modprobe ixgbe

      DTS_TESTER_CMD: modprobe e1000e

      DTS_TESTER_CMD: modprobe e1000

      DTS_TESTER_CMD: ifconfig eno1 up

      DTS_TESTER_CMD: ifconfig enp1s0f0 up

      DTS_TESTER_CMD: ifconfig enp1s0f1 up

      DTS_TESTER_CMD: ifconfig enp2s0f0 up

      DTS_TESTER_CMD: ifconfig enp2s0f1 up

         DTS_DUT_CMD: [192.168.0.34] = echo 0000:02:00.0 > = /sys/bus/pci/devices/0000\:02\:00.0/driver/unbind

         DTS_DUT_CMD: [192.168.0.34] = modprobe i40e

         DTS_DUT_CMD: [192.168.0.34] = echo 0000:02:00.0 > /sys/bus/pci/drivers/i40e/bind

         DTS_DUT_CMD: [192.168.0.34] = ifconfig eth6 up

         DTS_DUT_CMD: [192.168.0.34] = echo 0000:02:00.1 > = /sys/bus/pci/devices/0000\:02\:00.1/driver/unbind

         DTS_DUT_CMD: [192.168.0.34] = modprobe i40e

         DTS_DUT_CMD: [192.168.0.34] = echo 0000:02:00.1 > /sys/bus/pci/drivers/i40e/bind

         DTS_DUT_CMD: [192.168.0.34] = ifconfig eth5 up

         DTS_DUT_CMD: [192.168.0.34] = echo 0000:02:00.2 > = /sys/bus/pci/devices/0000\:02\:00.2/driver/unbind

         DTS_DUT_CMD: [192.168.0.34] = modprobe i40e

         DTS_DUT_CMD: [192.168.0.34] = echo 0000:02:00.2 > /sys/bus/pci/drivers/i40e/bind

         DTS_DUT_CMD: [192.168.0.34] = ifconfig eth7 up

         DTS_DUT_CMD: [192.168.0.34] = echo 0000:02:00.3 > = /sys/bus/pci/devices/0000\:02\:00.3/driver/unbind

         DTS_DUT_CMD: [192.168.0.34] = modprobe i40e

         DTS_DUT_CMD: [192.168.0.34] = echo 0000:02:00.3 > /sys/bus/pci/drivers/i40e/bind

         DTS_DUT_CMD: [192.168.0.34] = ifconfig eth8 up

                = INFO: DTS ended



 
 

 

 

 

 

 

 

On Dec 15, 2016, at 9:00 AM, Liu, = Yong <yong.liu@intel.com> wrote:

 

John, thanks for your information.


-----Original Message-----
From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of john miller
Sent: Thursday, December 15, 2016 12:23 AM
To: dts@dpdk.org
Subject: [dts] Minimum Tester/DUT configuration


Hi All,

We have configured a tester and a DUT for DTS testing, both machines are = 4
core systems, one running ubuntu 14.04 and the other ubuntu 16.04 OS's = .
Before we plug our hardware into the tester we are trying to = establish
ground truth using a 2 port Fortville eagle card in the tester and one = in
the DUT.  The DTS documentation indicates that a minimum system = requires 4
ports so my first question is, can some of the tests run with a 2 = port
configuration and is there any documentation that indicates which = tests
require all 4 ports ?   The basic tests like hello_world, = timer, and
cmdline pass, but when we attempt run tests like l2fwd we get the
following error indicating that 4 ports are required.


Each case may have different requirements like port number, core number, = some kinds of dpdk configuration etc.
Most of cases only require 2 ports and four cores, some performance case = like l3fwd required more cores and ports. 
Some simple case like hello just require few cores.  There's no = existing document for each case requirement by now.
We have plan to add configuration for each case which can get these = information.

For l2fwd case, it required 2 ports and 4 cores on the DUT. 
Just from your log, look like dts did not scan out enough port which = matched Fortville eagle device's ID.



=             &n= bsp;  INFO:
TEST SUITE : TestL2fwd
=             &n= bsp;  INFO: NIC : =        fortville_eagle
=             &n= bsp; ERROR: set_up_all failed:
Traceback (most recent call last):
 File "/work/dts/framework/test_case.py", line 223, in = execute_setup_all
   self.set_up_all()
 File "/work/dts/tests/TestSuite_l2fwd.py", line 66, in = set_up_all
   "Not enough ports for " + self.nic)
 File "/work/dts/framework/test_case.py", line 146, in verify
   raise VerifyFailure(description)
VerifyFailure: 'Not enough ports for fortville_eagle=E2=80=99



Also the DPDK mutilprocess test documentation indicates that the test
should run with only 2 ports.  However when we attempt to run we = get the
following error.  The error looks like it is a result of the = test
attempting to use more lcores than are available on the DUT. =  Although i
could change the test script to avoid this, I would like to know if = there
is a configuration parameter that i missed that should be set to the
number of cores on the DUT.


That's just what we want to enhance. Most of our cases run on Intel 2 = socket platform, and has enough memory and cores.
We just noticed that some platforms may not have enough resources as we = have. Some of the cases have been modified for reduce requirements and = some of them not.
We will work on that continuously and you can directly send patch to = make sure cases also work on your platform.
When case configuration feature is done, I think it will be more easily = to gadapt to different platforms.  



        DTS_DUT_CMD:
[192.168.0.11] = ./examples/multi_process/simple_mp/simple_mp/x86_64-native-
= linuxapp-gcc/simple_mp -n 1 -c 0x6 --proc-type=3Dprimary
      SUITE_DUT_CMD:
[192.168.0.11] = ./examples/multi_process/simple_mp/simple_mp/x86_64-native-
= linuxapp-gcc/simple_mp -n 1 -c 0x60000 --proc-type=3Dsecondary
=             &n= bsp; ERROR: Test Case test_multiprocess_simple_mploadtest Result
FAILED: TIMEOUT on = ./examples/multi_process/simple_mp/simple_mp/x86_64-
native-linuxapp-gcc/simple_mp -n 1 -c 0x60000 --proc-type=3Dsecondary
=             &n= bsp; ERROR: EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 0 on socket 0
EAL: Detected lcore 5 as core 1 on socket 0
EAL: Detected lcore 6 as core 2 on socket 0
EAL: Detected lcore 7 as core 3 on socket 0
EAL: Support maximum 128 logical core(s) by configuration.
EAL: Detected 8 lcore(s)
EAL: lcore 17 unavailable
EAL: invalid coremask

Usage: ./examples/multi_process/simple_mp/simple_mp/x86_64-native-
linuxapp-gcc/simple_mp [options]



Thank you,
-John

 



= --Apple-Mail=_DC549EF2-8331-4761-A808-4CD6BE8011C1--