Ok, I will do that. 

BR,
Manindra

On Thu, Oct 25, 2018 at 2:49 PM Tu, Lijuan <lijuan.tu@intel.com> wrote:

Please don’t give any value to ixia_group if you don’t have ixia, for example, “ixia_group=” instead of “ixia_group=None

 

From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Manindra Tammineedi
Sent: Thursday, October 25, 2018 1:26 PM
To: dts@dpdk.org
Subject: [dts] Regarding the DPDK test suit execution failure.

 

Hi DTS Team,

 

This is Manindra, working for an organisation called biarca. Recently I have started working on DPDK and DTS. My goal is to configured a host (DUT) with DPDK and test the network performance from another host which is tester. I have downloaded the latest stable DPDK source 18.05.1 from dpdk.org and complied successfully. Also downloaded the DTS version 18.08 on tester host. On my hosts I have 2 10 gig nic and they were binded with DPDK. Please note that I don't have and IXIA appliance in this test bed.

 

I have configured the dts file as shown below. pci address of my 10 gig interface is 0000:08:00.0. 

 

DPDK test suit configuration:

 

# vi executions/execution.cfg

 

[Execution1]

crbs=192.168.20.11

drivername=igb_uio

test_suites=

    cmdline,

#    hello_world,

    multiprocess,

    timer,

#    blacklist,

    mac_filter,

#    ieee1588,

    checksum_offload,

    jumboframes,

#    ipfrag,

#    link_flowctrl,

#    vlan,

#    ip_pipeline,

#    pmd_bonded,

#    dynamic_config,

#    generic_filter,

#    dual_vlan,

#    shutdown_api,

#    fdir,

#    ipv4_reassembly,

#    scatter,

#    pmdrssreta,

#    pmd,

    l2fwd,

#    kni,

#    uni_pkt

targets=

    x86_64-native-linuxapp-gcc

parameters=nic_type=cfg:func=true

 

 

# vi conf/crbs.cfg

 

[192.168.20.11]

dut_ip=192.168.20.11

dut_user=root

dut_passwd=

os=linux

dut_arch=x86_64

tester_ip=192.168.20.12

tester_passwd=

ixia_group=None

channels=4

bypass_core0=True

[192.168.40.11]

dut_ip=192.168.40.11

dut_user=root

dut_passwd=

os=linux

dut_arch=x86_64

tester_ip=192.168.40.12

tester_passwd=

ixia_group=None

channels=4

bypass_core0=True

[192.168.50.11]

dut_ip=192.168.50.11

dut_user=root

dut_passwd=

os=linux

dut_arch=x86_64

tester_ip=192.168.50.12

tester_passwd=

ixia_group=None

channels=4

bypass_core0=True

 

 

# vi conf/ports.cfg

 

[192.168.20.11]

ports =

     pci=0000:08:00.0,peer=0000:08:00.0;

 

When I try to execute the the dts using below command, test suite execution failed with below message.

 

root@compute-2:/home/biarca/dts# ./dts --config-file /home/biarca/dts/executions/execution.cfg

                           dts:

DUT 192.168.20.11

                        tester: ssh root@192.168.20.12

                        tester: ssh root@192.168.20.12

             dut.192.168.20.11: ssh root@192.168.20.11

             dut.192.168.20.11: ssh root@192.168.20.11

                           dts: CACHE: Cache will not be read.

                           dts: SKIP: The DPDK setup steps will be executed.

                        tester: sed -i '/192.168.20.11/d' ~/.ssh/known_hosts

                        tester: killall scapy 2>/dev/null; echo tester

                        tester: awk '/Hugepagesize/ {print $2}' /proc/meminfo

                        tester: scp -v dep/tgen.tgz root@192.168.20.12:~/

                        tester: scp -v dep/tclclient.tgz root@192.168.20.12:~/

                        tester: tar zxf tgen.tgz

                        tester: tar zxf tclclient.tgz

                        tester: modprobe uio

                        tester: Core0 bypassed

                        tester: Core0 bypassed

                        tester: modprobe igb

                        tester: modprobe ixgbe

                        tester: modprobe e1000e

                        tester: modprobe e1000

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

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

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

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

                        tester: ifconfig eno1 up

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

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

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

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

                        tester: ifconfig eno2 up

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

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

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

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

                        tester: ifconfig eno3 up

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

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

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

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

                        tester: ifconfig eno4 up

                        tester: cat /sys/bus/pci/devices/0000\:08\:00.0/vendor

                        tester: cat /sys/bus/pci/devices/0000\:08\:00.0/device

                        tester: cat /sys/bus/pci/devices/0000\:08\:00.0/vendor

                        tester: cat /sys/bus/pci/devices/0000\:08\:00.0/device

                        tester: ifconfig N/A up

                        tester: cat /sys/bus/pci/devices/0000\:08\:00.1/vendor

                        tester: cat /sys/bus/pci/devices/0000\:08\:00.1/device

                        tester: cat /sys/bus/pci/devices/0000\:08\:00.1/vendor

                        tester: cat /sys/bus/pci/devices/0000\:08\:00.1/device

                        tester: ifconfig N/A up

                        tester: Tester: [0000:01:00.0 14e4:1639] unknow_nic

                        tester: Tester: [0000:01:00.1 14e4:1639] unknow_nic

                        tester: Tester: [0000:02:00.0 14e4:1639] unknow_nic

                        tester: Tester: [0000:02:00.1 14e4:1639] unknow_nic

                        tester: Tester: [0000:08:00.0 1077:8020] unknow_nic

                        tester: Tester: [0000:08:00.1 1077:8020] unknow_nic

             dut.192.168.20.11: ls /tmp/ && cd ~

             dut.192.168.20.11: scp -v dep/dpdk.tar.gz root@192.168.20.11:/tmp/

             dut.192.168.20.11: ulimit -c unlimited

             dut.192.168.20.11: rm -rf ~/dpdk

             dut.192.168.20.11: tar zxf /tmp/dpdk.tar.gz -C ~

             dut.192.168.20.11: ls ~/dpdk

             dut.192.168.20.11: cd ~/dpdk

             dut.192.168.20.11: alias ls='ls --color=none'

             dut.192.168.20.11: Core0 bypassed

             dut.192.168.20.11: Core0 bypassed

             dut.192.168.20.11: DUT: [0000:01:00.0 14e4:1639] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:01:00.1 14e4:1639] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:02:00.0 14e4:1639] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:02:00.1 14e4:1639] Skipped: Unknown/not selected

             dut.192.168.20.11: cat /sys/bus/pci/devices/0000\:08\:00.0/vendor

             dut.192.168.20.11: cat /sys/bus/pci/devices/0000\:08\:00.0/device

             dut.192.168.20.11: cat /sys/bus/pci/devices/0000\:08\:00.0/vendor

             dut.192.168.20.11: cat /sys/bus/pci/devices/0000\:08\:00.0/device

             dut.192.168.20.11: DUT: [0000:08:00.1 8086:10fb] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:10.0 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:10.1 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:10.2 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:10.3 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:10.4 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:10.5 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:10.6 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:10.7 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:11.0 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:11.1 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:11.2 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:11.3 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:11.4 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:11.5 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:11.6 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:11.7 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:12.0 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:12.1 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:12.2 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:12.3 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:12.4 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:12.5 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:12.6 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:12.7 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:13.0 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:13.1 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:13.2 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:13.3 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:13.4 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:13.5 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:13.6 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: DUT: [0000:08:13.7 8086:10ed] Skipped: Unknown/not selected

             dut.192.168.20.11: echo 0000:08:00.0 > /sys/bus/pci/devices/0000\:08\:00.0/driver/unbind

             dut.192.168.20.11: modprobe ixgbe

             dut.192.168.20.11: echo 0000:08:00.0 > /sys/bus/pci/drivers/ixgbe/bind

             dut.192.168.20.11: ifconfig enp8s0f0 up

             dut.192.168.20.11: ip link show enp8s0f0

             dut.192.168.20.11: ip -family inet6 address show dev enp8s0f0 | awk '/inet6/ { print $2 }'

             dut.192.168.20.11: ip -family inet address show dev enp8s0f0 | awk '/inet/ { print $2 }'

             dut.192.168.20.11: CONFIGURED TESTER PORT CANNOT FOUND!!!

             dut.192.168.20.11: DUT PORT MAP: [-1]

                           dts:  PREREQ EXCEPTION Traceback (most recent call last):

  File "/home/biarca/dts/framework/dts.py", line 341, in dts_run_prerequisties

    dutobj.prerequisites()

  File "/home/biarca/dts/framework/project_dpdk.py", line 327, in prerequisites

    self.dut_prerequisites()

  File "/home/biarca/dts/framework/dut.py", line 216, in dut_prerequisites

    self.disable_tester_ipv6()

  File "/home/biarca/dts/framework/dut.py", line 983, in disable_tester_ipv6

    if self.tester.ports_info[tester_port]['type'] != 'ixia':

IndexError: list index out of range

 

                           dts: CACHE: Discarding cache.

                           dts: DTS ended

 

Could you guys please let me know what is the issue with my configuration and how to resolve it.

 

Thanks and Regards,

Manindra T