DPDK usage discussions
 help / color / mirror / Atom feed
From: "M R, Chengappa (Network Function Virtualization)" <cm-r@hpe.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: [dpdk-users] DPDK Test Suite: "TARGET ERROR: Compilation error..."
Date: Thu, 3 May 2018 09:45:50 +0000	[thread overview]
Message-ID: <TU4PR8401MB065483FFEE5E963B942BBE2899870@TU4PR8401MB0654.NAMPRD84.PROD.OUTLOOK.COM> (raw)

Greetings Team,

We are aiming to setup DPDK test suite in our environment and want to execute the test cases that are bundled with DTS

However, we are encountering issues such as compilation errors on "Target DUT" as indicated below in the output snippet


                           dts:
DUT 10.70.2.6
                        tester: ssh root@10.70.2.5<mailto:root@10.70.2.5>
                        tester: ssh root@10.70.2.5<mailto:root@10.70.2.5>
                 dut.10.70.2.6: ssh root@10.70.2.6<mailto:root@10.70.2.6>
                 dut.10.70.2.6: ssh root@10.70.2.6<mailto:root@10.70.2.6>
                           dts: CACHE: Cache will not be read.
                           dts: SKIP: The DPDK setup steps will be executed.
                        tester: sed -i '/10.70.2.6/d' ~/.ssh/known_hosts
                        tester: killall scapy 2>/dev/null; echo tester
                        tester: awk '/Hugepagesize/ {print $2}' /proc/meminfo
                        tester: scp -v dep/tgen.tgz root@10.70.2.5:~/<mailto:root@10.70.2.5:~/>
                        tester: scp -v dep/tclclient.tgz root@10.70.2.5:~/<mailto:root@10.70.2.5:~/>
                        tester: tar zxf tgen.tgz
                        tester: tar zxf tclclient.tgz
                        tester: modprobe uio
                        tester: Core0 bypassed
                        tester: modprobe igb
                        tester: modprobe ixgbe
                        tester: modprobe e1000e
                        tester: modprobe e1000
                        tester: cat /sys/bus/pci/devices/0000\:04\:00.0/vendor
                        tester: cat /sys/bus/pci/devices/0000\:04\:00.0/device
                        tester: cat /sys/bus/pci/devices/0000\:04\:00.0/vendor
                        tester: cat /sys/bus/pci/devices/0000\:04\:00.0/device
                        tester: ifconfig eno49 up
                        tester: cat /sys/bus/pci/devices/0000\:04\:00.1/vendor
                        tester: cat /sys/bus/pci/devices/0000\:04\:00.1/device
                        tester: cat /sys/bus/pci/devices/0000\:04\:00.1/vendor
                        tester: cat /sys/bus/pci/devices/0000\:04\:00.1/device
                        tester: ifconfig eno50 up
                        tester: cat /sys/bus/pci/devices/0000\:05\:00.0/vendor
                        tester: cat /sys/bus/pci/devices/0000\:05\:00.0/device
                        tester: cat /sys/bus/pci/devices/0000\:05\:00.0/vendor
                        tester: cat /sys/bus/pci/devices/0000\:05\:00.0/device
                        tester: ifconfig ens2f0 up
                        tester: cat /sys/bus/pci/devices/0000\:05\:00.1/vendor
                        tester: cat /sys/bus/pci/devices/0000\:05\:00.1/device
                        tester: cat /sys/bus/pci/devices/0000\:05\:00.1/vendor
                        tester: cat /sys/bus/pci/devices/0000\:05\:00.1/device
                        tester: ifconfig ens2f1 up
                        tester: Tester: [0000:04:00.0 10df:0720] unknow_nic
                        tester: Tester: [0000:04:00.1 10df:0720] unknow_nic
                        tester: Tester: [0000:05:00.0 8086:10fb] ens2f0
                        tester: Tester: [0000:05:00.1 8086:10fb] ens2f1
                        tester: {'intf': 'ens2f0', 'mac': '14:02:ec:74:2b:ec', 'pci': '0000:05:00.0', 'ipv4': '10.70.12.5', 'ipv6': 'fe80::1602:ecff:fe74:2bec', 'type': '8086:10fb', 'port': <net_device.NetDevice object at 0x7fc492c72790>}
                        tester: {'intf': 'ens2f1', 'mac': '14:02:ec:74:2b:ed', 'pci': '0000:05:00.1', 'ipv4': '10.70.3.5', 'ipv6': 'fe80::1602:ecff:fe74:2bed', 'type': '8086:10fb', 'port': <net_device.NetDevice object at 0x7fc492c72650>}
self.package dep/dpdk.tar.gz
                 dut.10.70.2.6: ls /tmp/ && cd ~
                 dut.10.70.2.6: scp -v dep/dpdk.tar.gz root@10.70.2.6:/tmp/<mailto:root@10.70.2.6:/tmp/>
                 dut.10.70.2.6: ulimit -c unlimited
                 dut.10.70.2.6: rm -rf ~/dpdk
                 dut.10.70.2.6: tar zxf /tmp/dpdk.tar.gz -C ~
                 dut.10.70.2.6: ls ~/dpdk
prepare_package
                 dut.10.70.2.6: cd ~/dpdk
                 dut.10.70.2.6: alias ls='ls --color=none'
                 dut.10.70.2.6: Core0 bypassed
                 dut.10.70.2.6: DUT: [0000:04:00.0 10df:0720] Skipped: Unknown/not selected
                 dut.10.70.2.6: DUT: [0000:04:00.1 10df:0720] Skipped: Unknown/not selected
                 dut.10.70.2.6: cat /sys/bus/pci/devices/0000\:05\:00.0/vendor
                 dut.10.70.2.6: cat /sys/bus/pci/devices/0000\:05\:00.0/device
                 dut.10.70.2.6: cat /sys/bus/pci/devices/0000\:05\:00.0/vendor
                 dut.10.70.2.6: cat /sys/bus/pci/devices/0000\:05\:00.0/device
                 dut.10.70.2.6: cat /sys/bus/pci/devices/0000\:05\:00.1/vendor
                 dut.10.70.2.6: cat /sys/bus/pci/devices/0000\:05\:00.1/device
                 dut.10.70.2.6: cat /sys/bus/pci/devices/0000\:05\:00.1/vendor
                 dut.10.70.2.6: cat /sys/bus/pci/devices/0000\:05\:00.1/device
                 dut.10.70.2.6: echo 0000:05:00.0 > /sys/bus/pci/devices/0000\:05\:00.0/driver/unbind
                 dut.10.70.2.6: modprobe ixgbe
                dut.10.70.2.6: echo 0000:05:00.0 > /sys/bus/pci/drivers/ixgbe/bind
                 dut.10.70.2.6: ifconfig ens2f0 up
                 dut.10.70.2.6: echo 0000:05:00.1 > /sys/bus/pci/devices/0000\:05\:00.1/driver/unbind
                 dut.10.70.2.6: modprobe ixgbe
                 dut.10.70.2.6: echo 0000:05:00.1 > /sys/bus/pci/drivers/ixgbe/bind
                 dut.10.70.2.6: ifconfig ens2f1 up
                 dut.10.70.2.6: ip link show ens2f0
                 dut.10.70.2.6: ip -family inet6 address show dev ens2f0 | awk '/inet6/ { print $2 }'
                 dut.10.70.2.6: ip -family inet address show dev ens2f0 | awk '/inet/ { print $2 }'
                 dut.10.70.2.6: ip link show ens2f1
                 dut.10.70.2.6: ip -family inet6 address show dev ens2f1 | awk '/inet6/ { print $2 }'
                 dut.10.70.2.6: ip -family inet address show dev ens2f1 | awk '/inet/ { print $2 }'
                        tester: ping -w 5 -c 5 -A -I ens2f0 10.70.12.5
                 dut.10.70.2.6: PORT MAP: [dut 0: tester 0]
                        tester: ping6 -w 5 -c 5 -A fe80::1602:ecff:fe74:239d%ens2f1
                 dut.10.70.2.6: PORT MAP: [dut 1: tester 1]
                 dut.10.70.2.6: DUT PORT MAP: [0, 1]
                 dut.10.70.2.6: {'intf': 'ens2f0', 'mac': '14:02:ec:74:23:9c', 'pci': '0000:05:00.0', 'numa': 0, 'ipv6': 'Not connected', 'type': '8086:10fb', 'port': <net_device.NetDevice object at 0x7fc492c72890>, 'ipv4': ''}
                 dut.10.70.2.6: {'intf': 'ens2f1', 'mac': '14:02:ec:74:23:9d', 'pci': '0000:05:00.1', 'numa': 0, 'ipv6': 'fe80::1602:ecff:fe74:239d', 'type': '8086:10fb', 'port': <net_device.NetDevice object at 0x7fc492c72e90>, 'ipv4': '10.70.3.6'}
dut_prerequisites
                          dts:
TARGET x86_64-native-linuxapp-gcc
                 dut.10.70.2.6: export RTE_TARGET=x86_64-native-linuxapp-gcc
                 dut.10.70.2.6: export RTE_SDK=`pwd`
                 dut.10.70.2.6: rm -rf x86_64-native-linuxapp-gcc
                 dut.10.70.2.6: rm -rf ./app/test/test_resource_c.res.o
                 dut.10.70.2.6: rm -rf ./app/test/test_resource_tar.res.o
                 dut.10.70.2.6: rm -rf ./app/test/test_pci_sysfs.res.o
                 dut.10.70.2.6: make -j 19 install T=x86_64-native-linuxapp-gcc
                 dut.10.70.2.6: make -j 19 -C test/
                 dut.10.70.2.6: cp -f ./test/test/test ./x86_64-native-linuxapp-gcc/app
                 dut.10.70.2.6: cp -f ./test/test-acl/testacl ./x86_64-native-linuxapp-gcc/app
                 dut.10.70.2.6: cp -f ./test/test-pipeline/testpipeline ./x86_64-native-linuxapp-gcc/app
                 dut.10.70.2.6: cp -f ./test/cmdline_test/cmdline_test ./x86_64-native-linuxapp-gcc/app
                 dut.10.70.2.6: ERROR - try without '-j'
                 dut.10.70.2.6: make install T=x86_64-native-linuxapp-gcc
                 dut.10.70.2.6: make -j 19 -C test/
                 dut.10.70.2.6: cp -f ./test/test/test ./x86_64-native-linuxapp-gcc/app
                 dut.10.70.2.6: cp -f ./test/test-acl/testacl ./x86_64-native-linuxapp-gcc/app
                 dut.10.70.2.6: cp -f ./test/test-pipeline/testpipeline ./x86_64-native-linuxapp-gcc/app
                 dut.10.70.2.6: cp -f ./test/cmdline_test/cmdline_test ./x86_64-native-linuxapp-gcc/app
                           dts:  TARGET ERROR: Compilation error...
                        tester: modprobe igb
                        tester: modprobe ixgbe
                        tester: modprobe e1000e
                        tester: modprobe e1000
                        tester: ifconfig eno49 up
                        tester: ifconfig eno50 up
                        tester: ifconfig ens2f0 up
                        tester: ifconfig ens2f1 up
                 dut.10.70.2.6: echo 0000:05:00.0 > /sys/bus/pci/devices/0000\:05\:00.0/driver/unbind
                 dut.10.70.2.6: modprobe ixgbe
                 dut.10.70.2.6: echo 0000:05:00.0 > /sys/bus/pci/drivers/ixgbe/bind
                 dut.10.70.2.6: ifconfig ens2f0 up
                 dut.10.70.2.6: echo 0000:05:00.1 > /sys/bus/pci/devices/0000\:05\:00.1/driver/unbind
                 dut.10.70.2.6: modprobe ixgbe
                 dut.10.70.2.6: echo 0000:05:00.1 > /sys/bus/pci/drivers/ixgbe/bind
                 dut.10.70.2.6: ifconfig ens2f1 up
                           dts: DTS ended



It would be helpful if anyone could guide me with the correct pointers to go over this issue and help me advance further.



The current running configuration in our set-up is as follows:

[root@tester dts]# cat conf/ports.cfg
# DUT Port Configuration
# [DUT IP]
# ports=
#     pci=Pci BDF,intf=Kernel interface;
#     pci=Pci BDF,mac=Mac address,peer=Tester Pci BDF,numa=Port Numa
#     pci=Pci BDF,peer=IXIA:card.port
#     pci=Pci BDF,peer=Tester Pci BDF,tp_ip=$(IP),tp_path=$({PERL_PATH);
#     pci=Pci BDF,peer=Tester Pci BDF,sec_port=yes,first_port=Pci BDF;
# [VM NAME] virtual machine name; This section is for virutal scenario
# ports =
#     dev_idx=device index of ports info, peer=Tester Pci BDF
[10.70.2.6]
ports =
    pci=05:00.0,intf=ens2f0;
    pci=05:00.1,intf=ens2f1;



[root@tester dts]# cat executions/execution.cfg
[Execution1]
crbs=10.70.2.6
drivername=igb_uio
test_suites=hello_world
test_suites=
    cmdline,
    hello_world
targets=x86_64-native-linuxapp-gcc
parameters=nic_type=niantic:func=true



[root@tester dts]# cat conf/crbs.cfg
#DUT crbs Configuration
#[DUT IP]
#  dut_ip: DUT ip address
#  dut_user: Login DUT username
#  dut_passwd: Login DUT password
#  os: operation system type linux or freebsd
#  tester_ip: Tester ip address
#  tester_passwd: Tester password
#  ixia_group: IXIA group name
#  channels: Board channel number
#  bypass_core0: Whether by pass core0
[10.70.2.6]
dut_ip=10.70.2.6
dut_user=root
dut_passwd=HP1nvent
os=linux
tester_ip=10.70.2.5
tester_passwd=HP1nvent
channels=4






Thanking in advance

Chengappa

                 reply	other threads:[~2018-05-03  9:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=TU4PR8401MB065483FFEE5E963B942BBE2899870@TU4PR8401MB0654.NAMPRD84.PROD.OUTLOOK.COM \
    --to=cm-r@hpe.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).