DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] DPDK Test Suite: "TARGET ERROR: Compilation error..."
@ 2018-05-03  9:45 M R, Chengappa (Network Function Virtualization)
  0 siblings, 0 replies; only message in thread
From: M R, Chengappa (Network Function Virtualization) @ 2018-05-03  9:45 UTC (permalink / raw)
  To: users

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-05-03  9:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-03  9:45 [dpdk-users] DPDK Test Suite: "TARGET ERROR: Compilation error..." M R, Chengappa (Network Function Virtualization)

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).