04/11/2020 14:26:09 dts: TEST SUITE : TestShutdownApi 04/11/2020 14:26:09 dts: NIC : niantic 04/11/2020 14:26:09 dut.10.240.183.151: 04/11/2020 14:26:10 tester: 04/11/2020 14:26:10 tester: ifconfig ens224f0 mtu 5000 04/11/2020 14:26:10 tester: 04/11/2020 14:26:10 TestShutdownApi: Test Case test_change_thresholds Begin 04/11/2020 14:26:10 dut.10.240.183.151: 04/11/2020 14:26:10 tester: 04/11/2020 14:26:10 dut.10.240.183.151: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1,2 -n 4 -w 0000:81:00.0 -w 0000:81:00.1 --file-prefix=dpdk_27916_20201104142558 -- -i --portmask=0x1 --port-topology=loop 04/11/2020 14:26:13 dut.10.240.183.151: EAL: Detected 72 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/dpdk_27916_20201104142558/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: using IOMMU type 1 (Type 1) EAL: Ignore mapping IO port bar(1) EAL: Ignore mapping IO port bar(2) EAL: Ignore mapping IO port bar(5) EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:81:00.0 (socket 1) EAL: Ignore mapping IO port bar(1) EAL: Ignore mapping IO port bar(2) EAL: Ignore mapping IO port bar(5) EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:81:00.1 (socket 1) Interactive-mode selected previous number of forwarding ports 2 - changed to number of configured ports 1 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: 90:E2:BA:36:99:34 Configuring Port 1 (socket 1) Port 1: 90:E2:BA:36:99:35 Checking link statuses... Done 04/11/2020 14:26:23 dut.10.240.183.151: set promisc all off 04/11/2020 14:26:23 dut.10.240.183.151: 04/11/2020 14:26:23 dut.10.240.183.151: port stop all 04/11/2020 14:26:23 dut.10.240.183.151: Stopping ports... Checking link statuses... Done 04/11/2020 14:26:23 dut.10.240.183.151: port config all txfreet 32 04/11/2020 14:26:23 dut.10.240.183.151: 04/11/2020 14:26:23 dut.10.240.183.151: port config all txrst 32 04/11/2020 14:26:23 dut.10.240.183.151: 04/11/2020 14:26:23 dut.10.240.183.151: port config all rxfreet 32 04/11/2020 14:26:23 dut.10.240.183.151: 04/11/2020 14:26:23 dut.10.240.183.151: port config all txpt 64 04/11/2020 14:26:23 dut.10.240.183.151: 04/11/2020 14:26:23 dut.10.240.183.151: port config all txht 64 04/11/2020 14:26:23 dut.10.240.183.151: 04/11/2020 14:26:23 dut.10.240.183.151: port config all txwt 0 04/11/2020 14:26:23 dut.10.240.183.151: 04/11/2020 14:26:23 dut.10.240.183.151: port start all 04/11/2020 14:26:26 dut.10.240.183.151: Configuring Port 0 (socket 1) Port 0: 90:E2:BA:36:99:34 Configuring Port 1 (socket 1) Port 1: 90:E2:BA:36:99:35 Checking link statuses... Done 04/11/2020 14:26:26 dut.10.240.183.151: show config rxtx 04/11/2020 14:26:26 dut.10.240.183.151: io packet forwarding packets/burst=32 nb forwarding cores=1 - nb forwarding ports=1 port 0: RX queue number: 1 Tx queue number: 1 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=256 - RX free threshold=32 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=256 - TX free threshold=32 TX threshold registers: pthresh=64 hthresh=64 wthresh=0 TX offloads=0x0 - TX RS bit threshold=32 port 1: RX queue number: 1 Tx queue number: 1 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=256 - RX free threshold=32 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=256 - TX free threshold=32 TX threshold registers: pthresh=64 hthresh=64 wthresh=0 TX offloads=0x0 - TX RS bit threshold=32 04/11/2020 14:26:26 dut.10.240.183.151: set fwd mac 04/11/2020 14:26:26 dut.10.240.183.151: Set mac packet forwarding mode 04/11/2020 14:26:26 dut.10.240.183.151: start 04/11/2020 14:26:26 dut.10.240.183.151: mac packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native Logical Core 2 (socket 0) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=1 - nb forwarding ports=1 port 0: RX queue number: 1 Tx queue number: 1 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=256 - RX free threshold=32 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=256 - TX free threshold=32 TX threshold registers: pthresh=64 hthresh=64 wthresh=0 TX offloads=0x0 - TX RS bit threshold=32 port 1: RX queue number: 1 Tx queue number: 1 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=256 - RX free threshold=32 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=256 - TX free threshold=32 TX threshold registers: pthresh=64 hthresh=64 wthresh=0 TX offloads=0x0 - TX RS bit threshold=32 04/11/2020 14:26:26 dut.10.240.183.151: show port info all 04/11/2020 14:26:26 dut.10.240.183.151: ********************* Infos for port 0 ********************* MAC address: 90:E2:BA:36:99:34 Device name: 0000:81:00.0 Driver name: net_ixgbe Firmware-version: 0x61bf0001 Devargs: Connect to socket: 1 memory allocation on the socket: 1 Link status: up Link speed: 10 Gbps Link duplex: full-duplex MTU: 1500 Promiscuous mode: disabled Allmulticast mode: disabled Maximum number of MAC addresses: 127 Maximum number of MAC addresses of hash filtering: 4096 VLAN offload: strip off, filter off, extend off, qinq strip off Hash key size in bytes: 40 Redirection table size: 128 Supported RSS offload flow types: ipv4 ipv4-tcp ipv4-udp ipv6 ipv6-tcp ipv6-udp user defined 15 user defined 16 user defined 17 Minimum size of RX buffer: 1024 Maximum configurable length of RX packet: 15872 Maximum configurable size of LRO aggregated packet: 0 Maximum number of VMDq pools: 64 Current number of RX queues: 1 Max possible RX queues: 128 Max possible number of RXDs per queue: 4096 Min possible number of RXDs per queue: 32 RXDs number alignment: 8 Current number of TX queues: 1 Max possible TX queues: 64 Max possible number of TXDs per queue: 4096 Min possible number of TXDs per queue: 32 TXDs number alignment: 8 Max segment number per packet: 40 Max segment number per MTU/TSO: 40 ********************* Infos for port 1 ********************* MAC address: 90:E2:BA:36:99:35 Device name: 0000:81:00.1 Driver name: net_ixgbe Firmware-version: 0x61bf0001 Devargs: Connect to socket: 1 memory allocation on the socket: 1 Link status: up Link speed: 10 Gbps Link duplex: full-duplex MTU: 1500 Promiscuous mode: disabled Allmulticast mode: disabled Maximum number of MAC addresses: 127 Maximum number of MAC addresses of hash filtering: 4096 VLAN offload: strip off, filter off, extend off, qinq strip off Hash key size in bytes: 40 Redirection table size: 128 Supported RSS offload flow types: ipv4 ipv4-tcp ipv4-udp ipv6 ipv6-tcp ipv6-udp user defined 15 user defined 16 user defined 17 Minimum size of RX buffer: 1024 Maximum configurable length of RX packet: 15872 Maximum configurable size of LRO aggregated packet: 0 Maximum number of VMDq pools: 64 Current number of RX queues: 1 Max possible RX queues: 128 Max possible number of RXDs per queue: 4096 Min possible number of RXDs per queue: 32 RXDs number alignment: 8 Current number of TX queues: 1 Max possible TX queues: 64 Max possible number of TXDs per queue: 4096 Min possible number of TXDs per queue: 32 TXDs number alignment: 8 Max segment number per packet: 40 Max segment number per MTU/TSO: 40 04/11/2020 14:26:26 dut.10.240.183.151: show port stats 0 04/11/2020 14:26:27 dut.10.240.183.151: ######################## NIC statistics for port 0 ######################## RX-packets: 0 RX-missed: 0 RX-bytes: 0 RX-errors: 0 RX-nombuf: 0 TX-packets: 0 TX-errors: 0 TX-bytes: 0 Throughput (since last show) Rx-pps: 0 Rx-bps: 0 Tx-pps: 0 Tx-bps: 0 ############################################################################ 04/11/2020 14:26:27 dut.10.240.183.151: show port stats 0 04/11/2020 14:26:27 dut.10.240.183.151: ######################## NIC statistics for port 0 ######################## RX-packets: 0 RX-missed: 0 RX-bytes: 0 RX-errors: 0 RX-nombuf: 0 TX-packets: 0 TX-errors: 0 TX-bytes: 0 Throughput (since last show) Rx-pps: 0 Rx-bps: 0 Tx-pps: 0 Tx-bps: 0 ############################################################################ 04/11/2020 14:26:32 tester: echo -n '' > scapyResult.txt 04/11/2020 14:26:32 tester: 04/11/2020 14:26:32 tester: scapy 04/11/2020 14:26:32 tester: INFO: Can't import matplotlib. Won't be able to plot. INFO: Can't import PyX. Won't be able to use psdump() or pdfdump(). WARNING: IPython not available. Using standard Python shell instead. AutoCompletion, History are disabled.    aSPY//YASa   apyyyyCY//////////YCa  |  sY//////YSpcs scpCY//Pp  | Welcome to Scapy  ayp ayyyyyyySCP//Pp syY//C  | Version 2.4.4  AYAsAYYYYYYYY///Ps cY//S |  pCCCCY//p cSSps y//Y | https://github.com/secdev/  SPPPP///a pP///AC//Y |  A//A cyP////C | Have fun!  p///Ac sC///a |  P////YCpc A//A | We are in France, we say Skappee.  scccccp///pSP///p p//Y | OK? Merci.  sY/////////y caa S//P | -- Sebastien Chabal  cayCyayP//Ya pY/Ya |  sY/PsY////YCc aC//Yp   sc sccaCY//PCypaapyCP//YSs   spCPY//////YPSps   ccaacs    04/11/2020 14:26:34 tester: sendp(Ether(src="90:e2:ba:4a:33:5c", dst="90:e2:ba:36:99:34")/IP()/Raw(load="P" * 30), iface="ens224f0", count=4) 04/11/2020 14:26:35 tester: .... Sent 4 packets. 04/11/2020 14:26:37 tester: exit() 04/11/2020 14:26:37 tester: 04/11/2020 14:26:40 dut.10.240.183.151: show port stats 0 04/11/2020 14:26:40 dut.10.240.183.151: ######################## NIC statistics for port 0 ######################## RX-packets: 4 RX-missed: 0 RX-bytes: 256 RX-errors: 0 RX-nombuf: 0 TX-packets: 4 TX-errors: 0 TX-bytes: 256 Throughput (since last show) Rx-pps: 0 Rx-bps: 152 Tx-pps: 0 Tx-bps: 152 ############################################################################ 04/11/2020 14:26:40 dut.10.240.183.151: show port stats 0 04/11/2020 14:26:40 dut.10.240.183.151: ######################## NIC statistics for port 0 ######################## RX-packets: 4 RX-missed: 0 RX-bytes: 256 RX-errors: 0 RX-nombuf: 0 TX-packets: 4 TX-errors: 0 TX-bytes: 256 Throughput (since last show) Rx-pps: 0 Rx-bps: 0 Tx-pps: 0 Tx-bps: 0 ############################################################################ 04/11/2020 14:26:45 TestShutdownApi: Test Case test_change_thresholds Result PASSED: 04/11/2020 14:26:45 dut.10.240.183.151: kill_all: called by dut and prefix list has value. 04/11/2020 14:26:47 dut.10.240.183.151: Killed [PEXPECT]# 04/11/2020 14:26:47 dut.10.240.183.151: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1,2 -n 4 -w 0000:81:00.0 -w 0000:81:00.1 --file-prefix=dpdk_27916_20201104142558 -- -i --portmask=0x1 --port-topology=loop 04/11/2020 14:26:50 dut.10.240.183.151: EAL: Detected 72 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/dpdk_27916_20201104142558/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: using IOMMU type 1 (Type 1) EAL: Ignore mapping IO port bar(1) EAL: Ignore mapping IO port bar(2) EAL: Ignore mapping IO port bar(5) EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:81:00.0 (socket 1) EAL: Ignore mapping IO port bar(1) EAL: Ignore mapping IO port bar(2) EAL: Ignore mapping IO port bar(5) EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:81:00.1 (socket 1) Interactive-mode selected previous number of forwarding ports 2 - changed to number of configured ports 1 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: 90:E2:BA:36:99:34 Configuring Port 1 (socket 1) Port 1: 90:E2:BA:36:99:35 Checking link statuses... Done 04/11/2020 14:27:00 dut.10.240.183.151: set link-up port 0 04/11/2020 14:27:00 dut.10.240.183.151: 04/11/2020 14:27:00 dut.10.240.183.151: port start all 04/11/2020 14:27:00 dut.10.240.183.151: Port 0 is now not stopped Port 1 is now not stopped Please stop the ports first Done 04/11/2020 14:27:00 dut.10.240.183.151: quit 04/11/2020 14:27:02 dut.10.240.183.151: Stopping port 0... Stopping ports... Done Stopping port 1... Stopping ports... Done Shutting down port 0... Closing ports... Port 0 is closed Invalid port_id=0 Done Shutting down port 1... Closing ports... Port 1 is closed Invalid port_id=1 Done Bye... 04/11/2020 14:27:02 dts: TEST SUITE ENDED: TestShutdownApi