20/03/2020 16:47:23 dts: TEST SUITE : TestShutdownApi 20/03/2020 16:47:23 dts: NIC : fortville_spirit 20/03/2020 16:47:23 dut.10.240.183.65: 20/03/2020 16:47:23 tester: 20/03/2020 16:47:23 tester: ifconfig ens801f1 mtu 5000 20/03/2020 16:47:23 tester: 20/03/2020 16:47:23 TestShutdownApi: Test Case test_change_linkspeed Begin 20/03/2020 16:47:23 dut.10.240.183.65: 20/03/2020 16:47:23 tester: 20/03/2020 16:47:23 dut.10.240.183.65: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4 -w 0000:af:00.0 --file-prefix=dpdk_36453_20200320164706 -- -i --portmask=0x1 --port-topology=loop 20/03/2020 16:47:25 dut.10.240.183.65: EAL: Detected 72 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/dpdk_36453_20200320164706/mp_socket EAL: Selected IOVA mode 'VA' EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size EAL: Probing VFIO support... EAL: VFIO support initialized EAL: PCI device 0000:af:00.0 on NUMA socket 1 EAL: probe driver: 8086:1583 net_i40e EAL: using IOMMU type 1 (Type 1) Interactive-mode selected testpmd: create a new mbuf pool : n=155456, size=2176, socket=0 testpmd: preferred mempool ops selected: ring_mp_mc testpmd: create a new mbuf pool : n=155456, size=2176, socket=1 testpmd: preferred mempool ops selected: ring_mp_mc Configuring Port 0 (socket 1) Port 0: 68:05:CA:37:21:98 Checking link statuses... Done 20/03/2020 16:47:35 dut.10.240.183.65: set promisc all off 20/03/2020 16:47:35 dut.10.240.183.65: set promisc all off 20/03/2020 16:47:35 tester: ethtool ens801f1 20/03/2020 16:47:35 tester: Settings for ens801f1: Supported ports: [ FIBRE ] Supported link modes: 40000baseCR4/Full Supported pause frame use: Symmetric Supports auto-negotiation: Yes Supported FEC modes: Not reported Advertised link modes: 40000baseCR4/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Speed: 40000Mb/s Duplex: Full Port: Direct Attach Copper PHYAD: 0 Transceiver: internal Auto-negotiation: on Supports Wake-on: d Wake-on: d Current message level: 0x0000000f (15) drv probe link timer Link detected: yes 20/03/2020 16:47:35 TestShutdownApi: Test Case test_change_linkspeed Result PASSED: 20/03/2020 16:47:35 dut.10.240.183.65: kill_all: called by dut and prefix list has value. 20/03/2020 16:47:37 dut.10.240.183.65: Killed [PEXPECT]# 20/03/2020 16:47:37 dut.10.240.183.65: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4 -w 0000:af:00.0 --file-prefix=dpdk_36453_20200320164706 -- -i --portmask=0x1 --port-topology=loop 20/03/2020 16:47:39 dut.10.240.183.65: EAL: Detected 72 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/dpdk_36453_20200320164706/mp_socket EAL: Selected IOVA mode 'VA' EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size EAL: Probing VFIO support... EAL: VFIO support initialized EAL: PCI device 0000:af:00.0 on NUMA socket 1 EAL: probe driver: 8086:1583 net_i40e EAL: using IOMMU type 1 (Type 1) Interactive-mode selected testpmd: create a new mbuf pool : n=155456, size=2176, socket=0 testpmd: preferred mempool ops selected: ring_mp_mc testpmd: create a new mbuf pool : n=155456, size=2176, socket=1 testpmd: preferred mempool ops selected: ring_mp_mc Configuring Port 0 (socket 1) Port 0: 68:05:CA:37:21:98 Checking link statuses... Done 20/03/2020 16:47:49 dut.10.240.183.65: set link-up port 0 20/03/2020 16:47:49 dut.10.240.183.65: set link-up port 0 20/03/2020 16:47:49 dut.10.240.183.65: port start all 20/03/2020 16:47:49 dut.10.240.183.65: Port 0: link state change event port start all Port 0 is now not stopped Please stop the ports first Done 20/03/2020 16:47:49 dut.10.240.183.65: quit 20/03/2020 16:47:50 dut.10.240.183.65: quit Stopping port 0... Stopping ports... Done Shutting down port 0... Closing ports... Done Bye... 20/03/2020 16:47:50 TestShutdownApi: Test Case test_change_linkspeed_vf Begin 20/03/2020 16:47:50 dut.10.240.183.65: 20/03/2020 16:47:50 tester: 20/03/2020 16:47:50 dut.10.240.183.65: modprobe vfio-pci 20/03/2020 16:47:50 dut.10.240.183.65: 20/03/2020 16:47:50 dut.10.240.183.65: modprobe uio 20/03/2020 16:47:50 dut.10.240.183.65: 20/03/2020 16:47:50 dut.10.240.183.65: lsmod | grep igb_uio 20/03/2020 16:47:50 dut.10.240.183.65: igb_uio 16384 0 uio 20480 1 igb_uio 20/03/2020 16:47:50 dut.10.240.183.65: rmmod -f igb_uio 20/03/2020 16:47:50 dut.10.240.183.65: 20/03/2020 16:47:50 dut.10.240.183.65: insmod ./x86_64-native-linuxapp-gcc/kmod/igb_uio.ko 20/03/2020 16:47:51 dut.10.240.183.65: 20/03/2020 16:47:51 dut.10.240.183.65: lsmod | grep igb_uio 20/03/2020 16:47:51 dut.10.240.183.65: igb_uio 16384 0 uio 20480 1 igb_uio 20/03/2020 16:47:54 dut.10.240.183.65: cat /sys/bus/pci/devices/0000\:af\:02.0/vendor 20/03/2020 16:47:54 dut.10.240.183.65: 0x8086 20/03/2020 16:47:54 dut.10.240.183.65: cat /sys/bus/pci/devices/0000\:af\:02.0/device 20/03/2020 16:47:54 dut.10.240.183.65: 0x154c 20/03/2020 16:47:54 dut.10.240.183.65: cat /sys/bus/pci/devices/0000\:af\:02.0/vendor 20/03/2020 16:47:55 dut.10.240.183.65: 0x8086 20/03/2020 16:47:55 dut.10.240.183.65: cat /sys/bus/pci/devices/0000\:af\:02.0/device 20/03/2020 16:47:55 dut.10.240.183.65: 0x154c 20/03/2020 16:47:55 dut.10.240.183.65: cat /sys/bus/pci/devices/0000\:af\:02.1/vendor 20/03/2020 16:47:55 dut.10.240.183.65: 0x8086 20/03/2020 16:47:55 dut.10.240.183.65: cat /sys/bus/pci/devices/0000\:af\:02.1/device 20/03/2020 16:47:55 dut.10.240.183.65: 0x154c 20/03/2020 16:47:55 dut.10.240.183.65: cat /sys/bus/pci/devices/0000\:af\:02.1/vendor 20/03/2020 16:47:55 dut.10.240.183.65: 0x8086 20/03/2020 16:47:55 dut.10.240.183.65: cat /sys/bus/pci/devices/0000\:af\:02.1/device 20/03/2020 16:47:55 dut.10.240.183.65: 0x154c 20/03/2020 16:47:59 dut.10.240.183.65: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4 -w 0000:af:00.0 --file-prefix=dpdk_36453_20200320164706 -- -i --rxq=4 --txq=4 --port-topology=chained 20/03/2020 16:48:00 dut.10.240.183.65: EAL: Detected 72 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/dpdk_36453_20200320164706/mp_socket EAL: Selected IOVA mode 'PA' EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size EAL: Probing VFIO support... EAL: VFIO support initialized EAL: PCI device 0000:af:00.0 on NUMA socket 1 EAL: probe driver: 8086:1583 net_i40e Interactive-mode selected testpmd: create a new mbuf pool : n=155456, size=2176, socket=0 testpmd: preferred mempool ops selected: ring_mp_mc testpmd: create a new mbuf pool : n=155456, size=2176, socket=1 testpmd: preferred mempool ops selected: ring_mp_mc Configuring Port 0 (socket 1) i40e_pf_host_send_msg_to_vf(): Fail to send message to VF, err 12 Port 0: 68:05:CA:37:21:98 Checking link statuses... Done 20/03/2020 16:48:10 dut.10.240.183.65: start 20/03/2020 16:48:10 dut.10.240.183.65: start io packet forwarding - ports=1 - cores=1 - streams=4 - NUMA support enabled, MP allocation mode: native Logical Core 2 (socket 0) forwards packets on 4 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00 RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00 io packet forwarding packets/burst=32 nb forwarding cores=1 - nb forwarding ports=1 port 0: RX queue number: 4 Tx queue number: 4 Rx offloads=0x0 Tx offloads=0x10000 RX queue: 0 RX desc=1024 - RX free threshold=32 RX threshold registers: pthresh=8 hthresh=8 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=512 - TX free threshold=32 TX threshold registers: pthresh=32 hthresh=0 wthresh=0 TX offloads=0x10000 - TX RS bit threshold=32 20/03/2020 16:48:18 dut.10.240.183.65: lsof -i:6000 20/03/2020 16:48:18 dut.10.240.183.65: 20/03/2020 16:48:18 dut.10.240.183.65: None 20/03/2020 16:48:23 dut.10.240.183.65: Virtual machine status: iininfinfoinfo info sinfo stinfo stainfo statinfo statuinfo status VM status: running 20/03/2020 16:48:46 virtdut.10.240.183.65:6000: cd ~/dpdk 20/03/2020 16:48:46 virtdut.10.240.183.65:6000: 20/03/2020 16:48:46 virtdut.10.240.183.65:6000: alias ls='ls --color=none' 20/03/2020 16:48:46 virtdut.10.240.183.65:6000: 20/03/2020 16:48:46 virtdut.10.240.183.65:6000: grep --color=never "processor" /proc/cpuinfo 20/03/2020 16:48:46 virtdut.10.240.183.65:6000: processor : 0 processor : 1 processor : 2 processor : 3 20/03/2020 16:48:46 virtdut.10.240.183.65:6000: lspci -Dnn | grep -i eth 20/03/2020 16:48:46 virtdut.10.240.183.65:6000: 0000:00:03.0 Ethernet controller [0200]: Intel Corporation 82540EM Gigabit Ethernet Controller [8086:100e] (rev 03) 0000:00:04.0 Ethernet controller [0200]: Intel Corporation Ethernet Virtual Function 700 Series [8086:154c] (rev 01) 20/03/2020 16:48:46 virtdut.10.240.183.65:6000: DUT: [0000:00:03.0 8086:100e] Skipped: Unknown/not selected 20/03/2020 16:48:46 virtdut.10.240.183.65:6000: cat /sys/bus/pci/devices/0000\:00\:04.0/vendor 20/03/2020 16:48:46 virtdut.10.240.183.65:6000: 0x8086 20/03/2020 16:48:46 virtdut.10.240.183.65:6000: cat /sys/bus/pci/devices/0000\:00\:04.0/device 20/03/2020 16:48:46 virtdut.10.240.183.65:6000: 0x154c 20/03/2020 16:48:46 virtdut.10.240.183.65:6000: cat /sys/bus/pci/devices/0000\:00\:04.0/vendor 20/03/2020 16:48:47 virtdut.10.240.183.65:6000: 0x8086 20/03/2020 16:48:47 virtdut.10.240.183.65:6000: cat /sys/bus/pci/devices/0000\:00\:04.0/device 20/03/2020 16:48:47 virtdut.10.240.183.65:6000: 0x154c 20/03/2020 16:48:47 virtdut.10.240.183.65:6000: cat /sys/bus/pci/devices/0000\:00\:04.0/uevent 20/03/2020 16:48:47 virtdut.10.240.183.65:6000: DRIVER=i40evf PCI_CLASS=20000 PCI_ID=8086:154C PCI_SUBSYS_ID=8086:0000 PCI_SLOT_NAME=0000:00:04.0 MODALIAS=pci:v00008086d0000154Csv00008086sd00000000bc02sc00i00 20/03/2020 16:48:47 virtdut.10.240.183.65:6000: ls --color=never /sys/bus/pci/devices/0000\:00\:04.0/net 20/03/2020 16:48:47 virtdut.10.240.183.65:6000: ens4 20/03/2020 16:48:47 virtdut.10.240.183.65:6000: cat /sys/bus/pci/devices/0000\:00\:04.0/numa_node 20/03/2020 16:48:47 virtdut.10.240.183.65:6000: -1 20/03/2020 16:48:47 virtdut.10.240.183.65:6000: cat /sys/bus/pci/devices/0000\:00\:04.0/uevent 20/03/2020 16:48:47 virtdut.10.240.183.65:6000: DRIVER=i40evf PCI_CLASS=20000 PCI_ID=8086:154C PCI_SUBSYS_ID=8086:0000 PCI_SLOT_NAME=0000:00:04.0 MODALIAS=pci:v00008086d0000154Csv00008086sd00000000bc02sc00i00 20/03/2020 16:48:47 virtdut.10.240.183.65:6000: ls --color=never /sys/bus/pci/devices/0000\:00\:04.0/net 20/03/2020 16:48:47 virtdut.10.240.183.65:6000: ens4 20/03/2020 16:48:47 virtdut.10.240.183.65:6000: cat /sys/bus/pci/devices/0000\:00\:04.0/uevent 20/03/2020 16:48:47 virtdut.10.240.183.65:6000: DRIVER=i40evf PCI_CLASS=20000 PCI_ID=8086:154C PCI_SUBSYS_ID=8086:0000 PCI_SLOT_NAME=0000:00:04.0 MODALIAS=pci:v00008086d0000154Csv00008086sd00000000bc02sc00i00 20/03/2020 16:48:47 virtdut.10.240.183.65:6000: cat /sys/bus/pci/devices/0000\:00\:04.0/net/ens4/address 20/03/2020 16:48:47 virtdut.10.240.183.65:6000: ea:75:be:06:ce:87 20/03/2020 16:48:47 virtdut.10.240.183.65:6000: echo 0000:00:04.0 > /sys/bus/pci/devices/0000\:00\:04.0/driver/unbind 20/03/2020 16:48:47 virtdut.10.240.183.65:6000: 20/03/2020 16:48:47 virtdut.10.240.183.65:6000: modprobe i40evf 20/03/2020 16:48:47 virtdut.10.240.183.65:6000: 20/03/2020 16:48:47 virtdut.10.240.183.65:6000: echo 0000:00:04.0 > /sys/bus/pci/drivers/i40evf/bind 20/03/2020 16:48:47 virtdut.10.240.183.65:6000: 20/03/2020 16:48:47 virtdut.10.240.183.65:6000: cat /sys/bus/pci/devices/0000\:00\:04.0/uevent 20/03/2020 16:48:47 virtdut.10.240.183.65:6000: DRIVER=i40evf PCI_CLASS=20000 PCI_ID=8086:154C PCI_SUBSYS_ID=8086:0000 PCI_SLOT_NAME=0000:00:04.0 MODALIAS=pci:v00008086d0000154Csv00008086sd00000000bc02sc00i00 20/03/2020 16:48:47 virtdut.10.240.183.65:6000: ls --color=never /sys/bus/pci/devices/0000\:00\:04.0/net 20/03/2020 16:48:48 virtdut.10.240.183.65:6000: ls: cannot access '/sys/bus/pci/devices/0000:00:04.0/net': No such file or directory 20/03/2020 16:48:49 virtdut.10.240.183.65:6000: cat /sys/bus/pci/devices/0000\:00\:04.0/uevent 20/03/2020 16:48:49 virtdut.10.240.183.65:6000: DRIVER=i40evf PCI_CLASS=20000 PCI_ID=8086:154C PCI_SUBSYS_ID=8086:0000 PCI_SLOT_NAME=0000:00:04.0 MODALIAS=pci:v00008086d0000154Csv00008086sd00000000bc02sc00i00 20/03/2020 16:48:49 virtdut.10.240.183.65:6000: ls --color=never /sys/bus/pci/devices/0000\:00\:04.0/net 20/03/2020 16:48:49 virtdut.10.240.183.65:6000: ens4 20/03/2020 16:48:49 virtdut.10.240.183.65:6000: ifconfig ens4 up 20/03/2020 16:48:49 virtdut.10.240.183.65:6000: 20/03/2020 16:48:49 virtdut.10.240.183.65:6000: cat /sys/bus/pci/devices/0000\:00\:04.0/uevent 20/03/2020 16:48:49 virtdut.10.240.183.65:6000: DRIVER=i40evf PCI_CLASS=20000 PCI_ID=8086:154C PCI_SUBSYS_ID=8086:0000 PCI_SLOT_NAME=0000:00:04.0 MODALIAS=pci:v00008086d0000154Csv00008086sd00000000bc02sc00i00 20/03/2020 16:48:49 virtdut.10.240.183.65:6000: ls --color=never /sys/bus/pci/devices/0000\:00\:04.0/net 20/03/2020 16:48:49 virtdut.10.240.183.65:6000: ens4 20/03/2020 16:48:49 virtdut.10.240.183.65:6000: ip link show ens4 20/03/2020 16:48:49 virtdut.10.240.183.65:6000: 4: ens4: mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 link/ether ea:75:be:06:ce:87 brd ff:ff:ff:ff:ff:ff 20/03/2020 16:48:49 virtdut.10.240.183.65:6000: cat /sys/bus/pci/devices/0000\:00\:04.0/uevent 20/03/2020 16:48:49 virtdut.10.240.183.65:6000: DRIVER=i40evf PCI_CLASS=20000 PCI_ID=8086:154C PCI_SUBSYS_ID=8086:0000 PCI_SLOT_NAME=0000:00:04.0 MODALIAS=pci:v00008086d0000154Csv00008086sd00000000bc02sc00i00 20/03/2020 16:48:49 virtdut.10.240.183.65:6000: cat /sys/bus/pci/devices/0000\:00\:04.0/net/ens4/address 20/03/2020 16:48:49 virtdut.10.240.183.65:6000: ea:75:be:06:ce:87 20/03/2020 16:48:49 virtdut.10.240.183.65:6000: ip -family inet6 address show dev ens4 | awk '/inet6/ { print $2 }' 20/03/2020 16:48:49 virtdut.10.240.183.65:6000: fe80::e875:beff:fe06:ce87/64 20/03/2020 16:48:49 virtdut.10.240.183.65:6000: ip -family inet address show dev ens4 | awk '/inet/ { print $2 }' 20/03/2020 16:48:49 virtdut.10.240.183.65:6000: 20/03/2020 16:48:50 tester: ping6 -w 5 -c 5 -A fe80::e875:beff:fe06:ce87%ens801f1 20/03/2020 16:48:50 tester: connect: Network is unreachable 20/03/2020 16:48:50 virtdut.10.240.183.65:6000: VM DUT PORT MAP: [-1] 20/03/2020 16:48:50 virtdut.10.240.183.65:6000: {'port': , 'pci': '0000:00:04.0', 'type': '8086:154c', 'numa': -1, 'intf': 'ens4', 'mac': 'ea:75:be:06:ce:87', 'ipv6': 'fe80::e875:beff:fe06:ce87', 'ipv4': ''} 20/03/2020 16:48:50 virtdut.10.240.183.65:6000: export RTE_TARGET=x86_64-native-linuxapp-gcc 20/03/2020 16:48:50 virtdut.10.240.183.65:6000: 20/03/2020 16:48:50 virtdut.10.240.183.65:6000: export RTE_SDK=`pwd` 20/03/2020 16:48:50 virtdut.10.240.183.65:6000: 20/03/2020 16:48:50 virtdut.10.240.183.65:6000: awk '/Hugepagesize/ {print $2}' /proc/meminfo 20/03/2020 16:48:50 virtdut.10.240.183.65:6000: 2048 20/03/2020 16:48:50 virtdut.10.240.183.65:6000: awk '/HugePages_Total/ { print $2 }' /proc/meminfo 20/03/2020 16:48:50 virtdut.10.240.183.65:6000: 1024 20/03/2020 16:48:50 virtdut.10.240.183.65:6000: ls /sys/devices/system/node | grep node* | wc -l 20/03/2020 16:48:50 virtdut.10.240.183.65:6000: 1 20/03/2020 16:48:50 virtdut.10.240.183.65:6000: cat config/defconfig_x86_64-native-linuxapp-gcc | sed '/^#/d' | sed '/^\s*$/d' 20/03/2020 16:48:51 virtdut.10.240.183.65:6000: CONFIG_RTE_MACHINE="native" CONFIG_RTE_ARCH="x86_64" CONFIG_RTE_ARCH_X86_64=y CONFIG_RTE_ARCH_X86=y CONFIG_RTE_ARCH_64=y CONFIG_RTE_TOOLCHAIN="gcc" CONFIG_RTE_TOOLCHAIN_GCC=y [PEXPECT]# 20/03/2020 16:48:51 virtdut.10.240.183.65:6000: umount `awk '/hugetlbfs/ { print $2 }' /proc/mounts` 20/03/2020 16:48:51 virtdut.10.240.183.65:6000: 20/03/2020 16:48:51 virtdut.10.240.183.65:6000: awk '/hugetlbfs/ { print $2 }' /proc/mounts 20/03/2020 16:48:51 virtdut.10.240.183.65:6000: 20/03/2020 16:48:51 virtdut.10.240.183.65:6000: mkdir -p /mnt/huge 20/03/2020 16:48:51 virtdut.10.240.183.65:6000: 20/03/2020 16:48:51 virtdut.10.240.183.65:6000: mount -t hugetlbfs nodev /mnt/huge 20/03/2020 16:48:52 virtdut.10.240.183.65:6000: 20/03/2020 16:48:52 virtdut.10.240.183.65:6000: cat /proc/mounts |grep hugetlbfs 20/03/2020 16:48:52 virtdut.10.240.183.65:6000: nodev /mnt/huge hugetlbfs rw,relatime,pagesize=2M 0 0 20/03/2020 16:48:52 virtdut.10.240.183.65:6000: modprobe uio 20/03/2020 16:48:52 virtdut.10.240.183.65:6000: 20/03/2020 16:48:52 virtdut.10.240.183.65:6000: lsmod | grep igb_uio 20/03/2020 16:48:52 virtdut.10.240.183.65:6000: 20/03/2020 16:48:52 virtdut.10.240.183.65:6000: insmod ./x86_64-native-linuxapp-gcc/kmod/igb_uio.ko 20/03/2020 16:48:52 virtdut.10.240.183.65:6000: 20/03/2020 16:48:52 virtdut.10.240.183.65:6000: lsmod | grep igb_uio 20/03/2020 16:48:52 virtdut.10.240.183.65:6000: igb_uio 16384 0 uio 20480 1 igb_uio 20/03/2020 16:48:52 virtdut.10.240.183.65:6000: ls 20/03/2020 16:48:52 virtdut.10.240.183.65:6000: ABI_VERSION app buildtools config devtools doc dpdk.log drivers examples GNUmakefile kernel lib license MAINTAINERS Makefile meson.build meson_options.txt mk README usertools VERSION x86_64-native-linuxapp-gcc 20/03/2020 16:48:52 virtdut.10.240.183.65:6000: usertools/dpdk-devbind.py --force --bind=igb_uio 0000:00:04.0 20/03/2020 16:48:52 virtdut.10.240.183.65:6000: 20/03/2020 16:48:52 dut.10.240.183.65: quit 20/03/2020 16:48:53 dut.10.240.183.65: quit Telling cores to stop... Waiting for lcores to finish... ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 ------- RX-packets: 4 TX-packets: 4 TX-dropped: 0 ------- Forward Stats for RX Port= 0/Queue= 3 -> TX Port= 0/Queue= 3 ------- RX-packets: 2 TX-packets: 2 TX-dropped: 0 ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 6 RX-dropped: 0 RX-total: 6 TX-packets: 12 TX-dropped: 0 TX-total: 12 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 6 RX-dropped: 0 RX-total: 6 TX-packets: 12 TX-dropped: 0 TX-total: 12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. Stopping port 0... Stopping ports... Done Shutting down port 0... Closing ports... Done Bye... 20/03/2020 16:48:55 dut.10.240.183.65: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4 -w 0000:af:00.0 --file-prefix=dpdk_36453_20200320164706 -- -i --port-topology=chained 20/03/2020 16:48:56 dut.10.240.183.65: EAL: Detected 72 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/dpdk_36453_20200320164706/mp_socket EAL: Selected IOVA mode 'VA' EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size EAL: Probing VFIO support... EAL: VFIO support initialized EAL: PCI device 0000:af:00.0 on NUMA socket 1 EAL: probe driver: 8086:1583 net_i40e EAL: using IOMMU type 1 (Type 1) Interactive-mode selected testpmd: create a new mbuf pool : n=155456, size=2176, socket=0 testpmd: preferred mempool ops selected: ring_mp_mc testpmd: create a new mbuf pool : n=155456, size=2176, socket=1 testpmd: preferred mempool ops selected: ring_mp_mc Configuring Port 0 (socket 1) Port 0: 68:05:CA:37:21:98 Checking link statuses... Done 20/03/2020 16:49:06 virtdut.10.240.183.65:6000: ./x86_64-native-linuxapp-gcc/app/testpmd -l 0,1,2,3 -n 1 -w 0000:00:04.0 --file-prefix=dpdk_36453_20200320164846 -- -i --port-topology=chained 20/03/2020 16:49:07 virtdut.10.240.183.65:6000: EAL: Detected 4 lcore(s) EAL: Detected 1 NUMA nodes EAL: Multi-process socket /var/run/dpdk/dpdk_36453_20200320164846/mp_socket EAL: Selected IOVA mode 'PA' EAL: No available hugepages reported in hugepages-1048576kB EAL: Probing VFIO support... EAL: PCI device 0000:00:04.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 8086:154c net_i40e_vf Interactive-mode selected testpmd: create a new mbuf pool : n=171456, size=2176, socket=0 testpmd: preferred mempool ops selected: ring_mp_mc Configuring Port 0 (socket 0) Port 0: 96:86:35:B2:0F:EE Checking link statuses... Done 20/03/2020 16:49:17 virtdut.10.240.183.65:6000: show port info 0 20/03/2020 16:49:17 virtdut.10.240.183.65:6000: show port info 0 ********************* Infos for port 0 ********************* MAC address: 96:86:35:B2:0F:EE Device name: 0000:00:04.0 Driver name: net_i40e_vf Devargs: Connect to socket: 0 memory allocation on the socket: 0 Link status: up Link speed: 40000 Mbps Link duplex: full-duplex MTU: 1500 Promiscuous mode: enabled Allmulticast mode: disabled Maximum number of MAC addresses: 64 Maximum number of MAC addresses of hash filtering: 0 VLAN offload: strip off, filter off, extend off, qinq strip off Hash key size in bytes: 52 Redirection table size: 64 Supported RSS offload flow types: ipv4-frag ipv4-tcp ipv4-udp ipv4-sctp ipv4-other ipv6-frag ipv6-tcp ipv6-udp ipv6-sctp ipv6-other l2_payload Minimum size of RX buffer: 1024 Maximum configurable length of RX packet: 9728 Maximum configurable size of LRO aggregated packet: 0 Current number of RX queues: 1 Max possible RX queues: 16 Max possible number of RXDs per queue: 4096 Min possible number of RXDs per queue: 64 RXDs number alignment: 32 Current number of TX queues: 1 Max possible TX queues: 16 Max possible number of TXDs per queue: 4096 Min possible number of TXDs per queue: 64 TXDs number alignment: 32 Max segment number per packet: 0 Max segment number per MTU/TSO: 0 20/03/2020 16:49:17 tester: ethtool ens801f1 20/03/2020 16:49:18 tester: Settings for ens801f1: Supported ports: [ FIBRE ] Supported link modes: 40000baseCR4/Full Supported pause frame use: Symmetric Supports auto-negotiation: Yes Supported FEC modes: Not reported Advertised link modes: 40000baseCR4/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Speed: 40000Mb/s Duplex: Full Port: Direct Attach Copper PHYAD: 0 Transceiver: internal Auto-negotiation: on Supports Wake-on: d Wake-on: d Current message level: 0x0000000f (15) drv probe link timer Link detected: yes 20/03/2020 16:49:18 TestShutdownApi: Test Case test_change_linkspeed_vf Result PASSED: 20/03/2020 16:49:18 dut.10.240.183.65: kill_all: called by dut and prefix list has value. 20/03/2020 16:49:20 dut.10.240.183.65: Port 0: link state change event Killed [PEXPECT]# 20/03/2020 16:49:20 dut.10.240.183.65: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4 -w 0000:af:00.0 --file-prefix=dpdk_36453_20200320164706 -- -i --portmask=0x1 --port-topology=loop 20/03/2020 16:49:22 dut.10.240.183.65: EAL: Detected 72 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/dpdk_36453_20200320164706/mp_socket EAL: Selected IOVA mode 'VA' EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size EAL: Probing VFIO support... EAL: VFIO support initialized EAL: PCI device 0000:af:00.0 on NUMA socket 1 EAL: probe driver: 8086:1583 net_i40e EAL: using IOMMU type 1 (Type 1) Interactive-mode selected testpmd: create a new mbuf pool : n=155456, size=2176, socket=0 testpmd: preferred mempool ops selected: ring_mp_mc testpmd: create a new mbuf pool : n=155456, size=2176, socket=1 testpmd: preferred mempool ops selected: ring_mp_mc Configuring Port 0 (socket 1) i40e_pf_host_send_msg_to_vf(): Fail to send message to VF, err 12 Port 0: 68:05:CA:37:21:98 Checking link statuses... Done 20/03/2020 16:49:32 dut.10.240.183.65: set link-up port 0 20/03/2020 16:49:32 dut.10.240.183.65: set link-up port 0 20/03/2020 16:49:32 dut.10.240.183.65: port start all 20/03/2020 16:49:32 dut.10.240.183.65: i40e_pf_host_send_msg_to_vf(): Fail to send message to VF, err 12 Port 0: link state change event port start all Port 0 is now not stopped Please stop the ports first Done 20/03/2020 16:49:32 dut.10.240.183.65: quit 20/03/2020 16:49:33 dut.10.240.183.65: quit Stopping port 0... Stopping ports... Done Shutting down port 0... Closing ports... Done Bye... 20/03/2020 16:57:01 dts: TEST SUITE ENDED: TestShutdownApi