From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f172.google.com (mail-qt0-f172.google.com [209.85.216.172]) by dpdk.org (Postfix) with ESMTP id 90EE61023 for ; Wed, 25 Jan 2017 04:08:38 +0100 (CET) Received: by mail-qt0-f172.google.com with SMTP id v23so5489559qtb.0 for ; Tue, 24 Jan 2017 19:08:38 -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=ODM2Mk0ysVb+zBbCEaHYneDixEljMruZ0TMloLmCojA=; b=1EY6v3rtw/wrAWt4mXpza8jh9KYU2YElA3gz4Y4wlFNrJZ3iDxI1vTodMM7xfHGPgF AYMVx8E9HCokHsHOcDAiOG73T92BM0vxB+42+FUd06IjlaxM5IJf5oY/I3snnsToP1qs 3HFmzWq849XBMhs7gQuoXP2I9W12U2DMt82+Li6d96i+F28YoV9rWxGNWbaoVuKSXGpU nEzQTQdhMGWAE75zNR+xsYafK/rogF+tZKviCwoKUqsaAKLObwrahki8t/ThpGc4VEgW 9p58JVUi0xremVpwP6beOFs8IhwGg4NOr5nhVK/exroWPofqybuCCkrSQssBkjirnBFc 15Fw== 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=ODM2Mk0ysVb+zBbCEaHYneDixEljMruZ0TMloLmCojA=; b=H1rvEZZbG1cm7OaHU7XURL2F1LO1GAYWJi4RF/8S/8bJNneoXhVfvMJ2Mn3FGxm58t 6Rrltb9ZQRqZeX7HBsdfjXmPuhyn9Yg1xDbcW2toj4LsUFzbC6nAnM8CQytXxjM/iBqr qGIfS7V4CV+F21L2aduIifcQadgs0syCvgJ9yhYOks1Ckxlxihua0NEr9vrF8MysZsu5 26RSiwxyDmW2tI3qlCnV9sY2Q6eFswAbSVfvNiYnQudUZD6qw42jGhvn0uJNnxD8R38J bAgabGQ2TxNDVZv/OgLeA7pdlKFzOX0UocGoht8tNNd0SpiqNA9Z4AXvgpOau1PQ308j vsyw== X-Gm-Message-State: AIkVDXJa7wpA4OeJowENlKzegZZ/jMvxm/SLVtUXUDMi2k+eMVQvq0kef8+PWXt/Hck2cA== X-Received: by 10.237.49.199 with SMTP id 65mr30029967qth.88.1485313717858; Tue, 24 Jan 2017 19:08:37 -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 n129sm17729802qkd.16.2017.01.24.19.08.36 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Jan 2017 19:08:37 -0800 (PST) Content-Type: multipart/alternative; boundary="Apple-Mail=_DB8C614E-D622-4471-9363-B49F2AD573DF" Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) From: john miller In-Reply-To: <86228AFD5BCD8E4EBFD2B90117B5E81E62D52C11@SHSMSX103.ccr.corp.intel.com> Date: Tue, 24 Jan 2017 22:08:34 -0500 Cc: "dts@dpdk.org" Message-Id: <18DAE3A5-4164-4A08-80DB-E1A1DBD93EE2@atomicrules.com> 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> 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:08:39 -0000 --Apple-Mail=_DB8C614E-D622-4471-9363-B49F2AD573DF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 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=20 -John > 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 --Apple-Mail=_DB8C614E-D622-4471-9363-B49F2AD573DF Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 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=_DB8C614E-D622-4471-9363-B49F2AD573DF--