From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f194.google.com (mail-qt0-f194.google.com [209.85.216.194]) by dpdk.org (Postfix) with ESMTP id 6E4822BD1 for ; Tue, 24 Jan 2017 17:10:48 +0100 (CET) Received: by mail-qt0-f194.google.com with SMTP id f4so26234879qte.2 for ; Tue, 24 Jan 2017 08:10:48 -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=gBJbn/7gIDVehTN/+TCysZEBHIvFqIWF8/jIB++jS5I=; b=h83WQg83kfV2dbuATTtHJvQ8YYPrtMhKisuZEEzP5mQaHKmCdZ34Xu49LOXadoX70F qkMFUzy0LVweyFaKOjGITXi3K92ji1ImLcCv9teKEgBrTKdkjuWyNffRoOJmjjh8dlq2 ECG/lyNSm8UbMWIKnmx1DFs4RTnDO/1FUKClG66p23eElYPoPo5GASGZStogPHFGONi5 g8358kLa/DPZk2zLaATC5kzLVT7fre/uyfNXqbeG/D1v1gtc9Cv1+sWOPgVYsOoYePZN P6Ou0+fXCb6i7BInpe2ufEb3N+JOvN46zL1Igtb1IQIlLkgcvQRBcVZdueGdjtYKSgbF eh0Q== 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=gBJbn/7gIDVehTN/+TCysZEBHIvFqIWF8/jIB++jS5I=; b=o2dpATEDdY8X8cvn2f9ygXlmHmTAlNml9V2Q970wo/myPZAJNKzsFFC4PCO7uH1c+h IhObWChrHnbnjDJqSKNAPikF1BrR5AJEgDfXKdU4z+NH4ET9Jagb5rPwD93EflxtQ83/ UvGr63qH1d7teDsjnJ1XylT6Gi6B+ggxn9L9QNWPjXvmKT7NXQaLWWpWEmEu/LbDox0l XKi0BNcDLK1ncU8dDkbHS+58X7HTTZaADYYYAq+11vXLp8Xnj4y8NJ48VvX7XNgn8Cbu l0igX+QeZaK0aZlcJpBvPm7LeW20Y3w8qGg95m9/bz77c/IxXn3j1svVdZfmqw26mog/ HUvQ== X-Gm-Message-State: AIkVDXKbsddiaxSuhdVJPQGFzWzBpg9MsXF5LRFEK1KjulghRQI6y1xJP+8bMnn9uCUoDg== X-Received: by 10.55.197.28 with SMTP id p28mr30037948qki.255.1485274247265; Tue, 24 Jan 2017 08:10:47 -0800 (PST) Received: from [192.168.0.28] (h69-21-89-99.cntcnh.dsl.dynamic.tds.net. [69.21.89.99]) by smtp.gmail.com with ESMTPSA id 140sm16344953qkj.19.2017.01.24.08.10.45 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Jan 2017 08:10:46 -0800 (PST) Content-Type: multipart/alternative; boundary="Apple-Mail=_78EFF937-B597-4A18-AAF4-F0B912DFD10D" Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) From: john miller In-Reply-To: <86228AFD5BCD8E4EBFD2B90117B5E81E62D179F1@SHSMSX103.ccr.corp.intel.com> Date: Tue, 24 Jan 2017 11:10:44 -0500 Cc: "dts@dpdk.org" Message-Id: <4B8B64DC-E650-45F0-AF39-52A74E29DD49@atomicrules.com> References: <1FD3A933-F3E6-4B13-898D-A1B387B40345@atomicrules.com> <86228AFD5BCD8E4EBFD2B90117B5E81E62D179F1@SHSMSX103.ccr.corp.intel.com> To: "Liu, Yong" X-Mailer: Apple Mail (2.3124) 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: Tue, 24 Jan 2017 16:10:49 -0000 --Apple-Mail=_78EFF937-B597-4A18-AAF4-F0B912DFD10D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 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': } 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 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 > On Dec 15, 2016, at 9:00 AM, Liu, Yong wrote: >=20 > John, thanks for your information. >=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 >> 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 >> 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 --Apple-Mail=_78EFF937-B597-4A18-AAF4-F0B912DFD10D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 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.


          &nb= sp;    INFO:
TEST SUITE : TestL2fwd
          &nb= sp;    INFO: NIC : =        fortville_eagle
          &nb= sp;   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
          &nb= sp;   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
          &nb= sp;   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=_78EFF937-B597-4A18-AAF4-F0B912DFD10D--