DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] DPDK Test Suite failing with PREREQ EXCEPTION Traceback
@ 2018-04-26 10:04 M R, Chengappa (Network Function Virtualization)
  2018-04-27  2:45 ` Rosen, Rami
  0 siblings, 1 reply; 4+ messages in thread
From: M R, Chengappa (Network Function Virtualization) @ 2018-04-26 10:04 UTC (permalink / raw)
  To: users; +Cc: M R, Chengappa (Network Function Virtualization)

Greetings Team,

I am attempting to execute dpdk test-suite but am facing the below error PREREQ EXCEPTION Traceback

[root@tester dts]# ./dts --config-file executions/execution.cfg
                           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: umount `awk '/hugetlbfs/ { print $2 }' /proc/mounts`
                        tester: awk '/hugetlbfs/ { print $2 }' /proc/mounts
                        tester: mkdir -p /mnt/huge
                        tester: mount -t hugetlbfs nodev /mnt/huge
                        tester: awk '/Hugepagesize/ {print $2}' /proc/meminfo
                        tester: echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
                        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 0x7f7976c99790>}
                        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 0x7f7976c99650>}
                           dts:  PREREQ EXCEPTION Traceback (most recent call last):
  File "/root/dts/framework/dts.py", line 341, in dts_run_prerequisties
    dutobj.prerequisites()
  File "/root/dts/framework/project_dpdk.py", line 326, in prerequisites
    self.prepare_package()
  File "/root/dts/framework/project_dpdk.py", line 273, in prepare_package
    assert (os.path.isfile(self.package) is True), "Invalid package"
AssertionError: Invalid package

                           dts: CACHE: Discarding cache.
                           dts: DTS ended



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=fedora
tester_ip=10.70.2.5
tester_passwd=HP1nvent
channels=4


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

Thanking in advance
Chengappa

If everyone is moving forward together, then success takes care of itself....!!

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] DPDK Test Suite failing with PREREQ EXCEPTION Traceback
  2018-04-26 10:04 [dpdk-users] DPDK Test Suite failing with PREREQ EXCEPTION Traceback M R, Chengappa (Network Function Virtualization)
@ 2018-04-27  2:45 ` Rosen, Rami
  2018-04-27  3:11   ` M R, Chengappa (Network Function Virtualization)
  2018-04-27  6:04   ` M R, Chengappa (Network Function Virtualization)
  0 siblings, 2 replies; 4+ messages in thread
From: Rosen, Rami @ 2018-04-27  2:45 UTC (permalink / raw)
  To: M R, Chengappa (Network Function Virtualization), users

Hi,
The exception you got typically happens when a package is not
installed on the host.

Did you install all the packages which appear in the System 
Requirements section of the DTS gsg ? (like python-xlwt, 
python-pexpect and the others) ? see:
See: http://dpdk.org/doc/dts/gsg/sys_reqs.html

In case this won't help, I would suggest to ask 
in the DTS mailing list, dts@dpdk.org.

Regards,
Rami Rosen




-----Original Message-----
From: users [mailto:users-bounces@dpdk.org] On Behalf Of M R, Chengappa (Network Function Virtualization)
Sent: Thursday, April 26, 2018 13:04
To: users@dpdk.org
Cc: M R, Chengappa (Network Function Virtualization) <cm-r@hpe.com>
Subject: [dpdk-users] DPDK Test Suite failing with PREREQ EXCEPTION Traceback
Importance: High

Greetings Team,

I am attempting to execute dpdk test-suite but am facing the below error PREREQ EXCEPTION Traceback

[root@tester dts]# ./dts --config-file executions/execution.cfg
                           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: umount `awk '/hugetlbfs/ { print $2 }' /proc/mounts`
                        tester: awk '/hugetlbfs/ { print $2 }' /proc/mounts
                        tester: mkdir -p /mnt/huge
                        tester: mount -t hugetlbfs nodev /mnt/huge
                        tester: awk '/Hugepagesize/ {print $2}' /proc/meminfo
                        tester: echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
                        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 0x7f7976c99790>}
                        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 0x7f7976c99650>}
                           dts:  PREREQ EXCEPTION Traceback (most recent call last):
  File "/root/dts/framework/dts.py", line 341, in dts_run_prerequisties
    dutobj.prerequisites()
  File "/root/dts/framework/project_dpdk.py", line 326, in prerequisites
    self.prepare_package()
  File "/root/dts/framework/project_dpdk.py", line 273, in prepare_package
    assert (os.path.isfile(self.package) is True), "Invalid package"
AssertionError: Invalid package

                           dts: CACHE: Discarding cache.
                           dts: DTS ended



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=fedora
tester_ip=10.70.2.5
tester_passwd=HP1nvent
channels=4


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

Thanking in advance
Chengappa

If everyone is moving forward together, then success takes care of itself....!!

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] DPDK Test Suite failing with PREREQ EXCEPTION Traceback
  2018-04-27  2:45 ` Rosen, Rami
@ 2018-04-27  3:11   ` M R, Chengappa (Network Function Virtualization)
  2018-04-27  6:04   ` M R, Chengappa (Network Function Virtualization)
  1 sibling, 0 replies; 4+ messages in thread
From: M R, Chengappa (Network Function Virtualization) @ 2018-04-27  3:11 UTC (permalink / raw)
  To: Rosen, Rami, users

Hi Rosen, 

Many thanks for acknowledging the issue addressed in the mail.

Yes I have taken care and made sure that all the required packages are installed.

However, let me go thru the link you have shared cross check the list of system requirements and get back to you.

Best Regards,
Chengappa


-----Original Message-----
From: Rosen, Rami [mailto:rami.rosen@intel.com] 
Sent: Friday, April 27, 2018 8:16 AM
To: M R, Chengappa (Network Function Virtualization) <cm-r@hpe.com>; users@dpdk.org
Subject: RE: DPDK Test Suite failing with PREREQ EXCEPTION Traceback

Hi,
The exception you got typically happens when a package is not installed on the host.

Did you install all the packages which appear in the System Requirements section of the DTS gsg ? (like python-xlwt, python-pexpect and the others) ? see:
See: http://dpdk.org/doc/dts/gsg/sys_reqs.html

In case this won't help, I would suggest to ask in the DTS mailing list, dts@dpdk.org.

Regards,
Rami Rosen

-----Original Message-----
From: users [mailto:users-bounces@dpdk.org] On Behalf Of M R, Chengappa (Network Function Virtualization)
Sent: Thursday, April 26, 2018 13:04
To: users@dpdk.org
Cc: M R, Chengappa (Network Function Virtualization) <cm-r@hpe.com>
Subject: [dpdk-users] DPDK Test Suite failing with PREREQ EXCEPTION Traceback
Importance: High

Greetings Team,

I am attempting to execute dpdk test-suite but am facing the below error PREREQ EXCEPTION Traceback

[root@tester dts]# ./dts --config-file executions/execution.cfg
                           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: umount `awk '/hugetlbfs/ { print $2 }' /proc/mounts`
                        tester: awk '/hugetlbfs/ { print $2 }' /proc/mounts
                        tester: mkdir -p /mnt/huge
                        tester: mount -t hugetlbfs nodev /mnt/huge
                        tester: awk '/Hugepagesize/ {print $2}' /proc/meminfo
                        tester: echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
                        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 0x7f7976c99790>}
                        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 0x7f7976c99650>}
                           dts:  PREREQ EXCEPTION Traceback (most recent call last):
  File "/root/dts/framework/dts.py", line 341, in dts_run_prerequisties
    dutobj.prerequisites()
  File "/root/dts/framework/project_dpdk.py", line 326, in prerequisites
    self.prepare_package()
  File "/root/dts/framework/project_dpdk.py", line 273, in prepare_package
    assert (os.path.isfile(self.package) is True), "Invalid package"
AssertionError: Invalid package

                           dts: CACHE: Discarding cache.
                           dts: DTS ended



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=fedora
tester_ip=10.70.2.5
tester_passwd=HP1nvent
channels=4


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

Thanking in advance
Chengappa

If everyone is moving forward together, then success takes care of itself....!!

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] DPDK Test Suite failing with PREREQ EXCEPTION Traceback
  2018-04-27  2:45 ` Rosen, Rami
  2018-04-27  3:11   ` M R, Chengappa (Network Function Virtualization)
@ 2018-04-27  6:04   ` M R, Chengappa (Network Function Virtualization)
  1 sibling, 0 replies; 4+ messages in thread
From: M R, Chengappa (Network Function Virtualization) @ 2018-04-27  6:04 UTC (permalink / raw)
  To: Rosen, Rami, users

Hi Rosen / Team,



I cross checked on the pre-requisite package and I see that the following packages are installed on both TESTER and TARGET DUT



*         dnf install tcl

*         dnf install python-xlwt

*         dnf install python-pexpect

*         dnf install numpy

*         dnf install python-docutils

*         dnf install pcapy

*         dnf install python-xlrd

*         dnf install scapy



Apart from these, if there are any missing packages to be installed kindly do let me know so that I can have them installed too.



Awaiting for your response, patiently.



Thanks & Regards,

Chengappa



-----Original Message-----
From: M R, Chengappa (Network Function Virtualization)
Sent: Friday, April 27, 2018 8:41 AM
To: 'Rosen, Rami' <rami.rosen@intel.com>; users@dpdk.org
Subject: RE: DPDK Test Suite failing with PREREQ EXCEPTION Traceback



Hi Rosen,



Many thanks for acknowledging the issue addressed in the mail.



Yes I have taken care and made sure that all the required packages are installed.



However, let me go thru the link you have shared cross check the list of system requirements and get back to you.



Best Regards,

Chengappa





-----Original Message-----

From: Rosen, Rami [mailto:rami.rosen@intel.com]

Sent: Friday, April 27, 2018 8:16 AM

To: M R, Chengappa (Network Function Virtualization) <cm-r@hpe.com<mailto:cm-r@hpe.com>>; users@dpdk.org<mailto:users@dpdk.org>

Subject: RE: DPDK Test Suite failing with PREREQ EXCEPTION Traceback



Hi,

The exception you got typically happens when a package is not installed on the host.



Did you install all the packages which appear in the System Requirements section of the DTS gsg ? (like python-xlwt, python-pexpect and the others) ? see:

See: http://dpdk.org/doc/dts/gsg/sys_reqs.html



In case this won't help, I would suggest to ask in the DTS mailing list, dts@dpdk.org<mailto:dts@dpdk.org>.



Regards,

Rami Rosen



-----Original Message-----

From: users [mailto:users-bounces@dpdk.org] On Behalf Of M R, Chengappa (Network Function Virtualization)

Sent: Thursday, April 26, 2018 13:04

To: users@dpdk.org<mailto:users@dpdk.org>

Cc: M R, Chengappa (Network Function Virtualization) <cm-r@hpe.com<mailto:cm-r@hpe.com>>

Subject: [dpdk-users] DPDK Test Suite failing with PREREQ EXCEPTION Traceback

Importance: High



Greetings Team,



I am attempting to execute dpdk test-suite but am facing the below error PREREQ EXCEPTION Traceback



[root@tester dts]# ./dts --config-file executions/execution.cfg

                           dts:

DUT 10.70.2.6

                        tester: ssh root@10.70.2.5<mailto:root@10.70.2.5<mailto:root@10.70.2.5%3cmailto:root@10.70.2.5>>

                        tester: ssh root@10.70.2.5<mailto:root@10.70.2.5<mailto:root@10.70.2.5%3cmailto:root@10.70.2.5>>

                 dut.10.70.2.6: ssh root@10.70.2.6<mailto:root@10.70.2.6<mailto:root@10.70.2.6%3cmailto:root@10.70.2.6>>

                 dut.10.70.2.6: ssh root@10.70.2.6<mailto:root@10.70.2.6<mailto:root@10.70.2.6%3cmailto: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: umount `awk '/hugetlbfs/ { print $2 }' /proc/mounts`

                        tester: awk '/hugetlbfs/ { print $2 }' /proc/mounts

                        tester: mkdir -p /mnt/huge

                        tester: mount -t hugetlbfs nodev /mnt/huge

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

                        tester: echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages

                        tester: scp -v dep/tgen.tgz root@10.70.2.5:~/<mailto:root@10.70.2.5:~/<mailto:root@10.70.2.5:~/%3cmailto:root@10.70.2.5:~/>>

                        tester: scp -v dep/tclclient.tgz root@10.70.2.5:~/<mailto:root@10.70.2.5:~/<mailto:root@10.70.2.5:~/%3cmailto: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 0x7f7976c99790>}

                        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 0x7f7976c99650>}

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

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

    dutobj.prerequisites()

  File "/root/dts/framework/project_dpdk.py", line 326, in prerequisites

    self.prepare_package()

  File "/root/dts/framework/project_dpdk.py", line 273, in prepare_package

    assert (os.path.isfile(self.package) is True), "Invalid package"

AssertionError: Invalid package



                           dts: CACHE: Discarding cache.

                           dts: DTS ended







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=fedora

tester_ip=10.70.2.5

tester_passwd=HP1nvent

channels=4





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



Thanking in advance

Chengappa



If everyone is moving forward together, then success takes care of itself....!!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-04-27  6:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-26 10:04 [dpdk-users] DPDK Test Suite failing with PREREQ EXCEPTION Traceback M R, Chengappa (Network Function Virtualization)
2018-04-27  2:45 ` Rosen, Rami
2018-04-27  3:11   ` M R, Chengappa (Network Function Virtualization)
2018-04-27  6:04   ` 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).