test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Xie, WeiX" <weix.xie@intel.com>
To: "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH V1] tests/TestSuite_dcf_lifecycle:get app name to kill testpmd
Date: Tue, 22 Sep 2020 09:45:40 +0000	[thread overview]
Message-ID: <099d90cb26df46f98a188e654a1514b9@intel.com> (raw)
In-Reply-To: <20200922094000.19722-1-weix.xie@intel.com>

[-- Attachment #1: Type: text/plain, Size: 311 bytes --]

Tested-by:  Xie,WeiX < weix.xie@intel.com>

Regards,
Xie Wei

> -----Original Message-----
> From: Xie, WeiX
> Sent: Tuesday, September 22, 2020 5:40 PM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [dts][PATCH V1] tests/TestSuite_dcf_lifecycle:get app name to kill
> testpmd


[-- Attachment #2: TestDcfLifeCycle.log --]
[-- Type: application/octet-stream, Size: 11941 bytes --]

23/09/2020 17:35:08                            dts: 
TEST SUITE : TestDcfLifeCycle
23/09/2020 17:35:08                            dts: NIC :        columbiaville_100g
23/09/2020 17:35:08             dut.10.240.183.133: 
23/09/2020 17:35:08                         tester: 
23/09/2020 17:35:08             dut.10.240.183.133: rmmod vfio_pci
23/09/2020 17:35:08             dut.10.240.183.133: rmmod: ERROR: Module vfio_pci is builtin.
23/09/2020 17:35:08             dut.10.240.183.133: rmmod vfio_iommu_type1
23/09/2020 17:35:08             dut.10.240.183.133: rmmod: ERROR: Module vfio_iommu_type1 is builtin.
23/09/2020 17:35:08             dut.10.240.183.133: rmmod vfio
23/09/2020 17:35:08             dut.10.240.183.133: rmmod: ERROR: Module vfio is builtin.
23/09/2020 17:35:08             dut.10.240.183.133: modprobe vfio
23/09/2020 17:35:08             dut.10.240.183.133: 
23/09/2020 17:35:08             dut.10.240.183.133: modprobe vfio-pci
23/09/2020 17:35:08             dut.10.240.183.133: 
23/09/2020 17:35:08             dut.10.240.183.133: ls /sys/module|grep vfio_pci
23/09/2020 17:35:08             dut.10.240.183.133: vfio_pci
23/09/2020 17:35:08             dut.10.240.183.133: uname -a
23/09/2020 17:35:08             dut.10.240.183.133: Linux cvl-100g-c0 5.4.0-45-generic #49-Ubuntu SMP Wed Aug 26 13:38:52 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
23/09/2020 17:35:08             dut.10.240.183.133: modinfo ice | grep version:
23/09/2020 17:35:08             dut.10.240.183.133: version:        1.1.4
srcversion:     CC4D5A9F89D0374A93BCD69
23/09/2020 17:35:08             dut.10.240.183.133: modprobe sch_mqprio
23/09/2020 17:35:08             dut.10.240.183.133: 
23/09/2020 17:35:08             dut.10.240.183.133: modprobe act_mirred
23/09/2020 17:35:08             dut.10.240.183.133: 
23/09/2020 17:35:08             dut.10.240.183.133: modprobe cls_flower
23/09/2020 17:35:09             dut.10.240.183.133: 
23/09/2020 17:35:09             dut.10.240.183.133: rm -f /root/dpdk/x86_64-native-linuxapp-gcc/app/dpdk-testpmd-vf ;cp /root/dpdk/x86_64-native-linuxapp-gcc/app/dpdk-testpmd  /root/dpdk/x86_64-native-linuxapp-gcc/app/dpdk-testpmd-vf 
23/09/2020 17:35:09             dut.10.240.183.133: 
23/09/2020 17:35:16             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.0/vendor
23/09/2020 17:35:16             dut.10.240.183.133: 0x8086
23/09/2020 17:35:16             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.0/device
23/09/2020 17:35:16             dut.10.240.183.133: 0x1889
23/09/2020 17:35:16             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.0/vendor
23/09/2020 17:35:16             dut.10.240.183.133: 0x8086
23/09/2020 17:35:16             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.0/device
23/09/2020 17:35:16             dut.10.240.183.133: 0x1889
23/09/2020 17:35:16             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.1/vendor
23/09/2020 17:35:16             dut.10.240.183.133: 0x8086
23/09/2020 17:35:16             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.1/device
23/09/2020 17:35:16             dut.10.240.183.133: 0x1889
23/09/2020 17:35:16             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.1/vendor
23/09/2020 17:35:16             dut.10.240.183.133: 0x8086
23/09/2020 17:35:16             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.1/device
23/09/2020 17:35:16             dut.10.240.183.133: 0x1889
23/09/2020 17:35:17             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.2/vendor
23/09/2020 17:35:17             dut.10.240.183.133: 0x8086
23/09/2020 17:35:17             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.2/device
23/09/2020 17:35:17             dut.10.240.183.133: 0x1889
23/09/2020 17:35:17             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.2/vendor
23/09/2020 17:35:17             dut.10.240.183.133: 0x8086
23/09/2020 17:35:17             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.2/device
23/09/2020 17:35:17             dut.10.240.183.133: 0x1889
23/09/2020 17:35:17             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.3/vendor
23/09/2020 17:35:17             dut.10.240.183.133: 0x8086
23/09/2020 17:35:17             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.3/device
23/09/2020 17:35:17             dut.10.240.183.133: 0x1889
23/09/2020 17:35:17             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.3/vendor
23/09/2020 17:35:17             dut.10.240.183.133: 0x8086
23/09/2020 17:35:17             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.3/device
23/09/2020 17:35:17             dut.10.240.183.133: 0x1889
23/09/2020 17:35:28             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.0/vendor
23/09/2020 17:35:28             dut.10.240.183.133: 0x8086
23/09/2020 17:35:28             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.0/device
23/09/2020 17:35:28             dut.10.240.183.133: 0x1889
23/09/2020 17:35:28             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.0/vendor
23/09/2020 17:35:28             dut.10.240.183.133: 0x8086
23/09/2020 17:35:28             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.0/device
23/09/2020 17:35:28             dut.10.240.183.133: 0x1889
23/09/2020 17:35:28             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.1/vendor
23/09/2020 17:35:28             dut.10.240.183.133: 0x8086
23/09/2020 17:35:28             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.1/device
23/09/2020 17:35:28             dut.10.240.183.133: 0x1889
23/09/2020 17:35:28             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.1/vendor
23/09/2020 17:35:28             dut.10.240.183.133: 0x8086
23/09/2020 17:35:28             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.1/device
23/09/2020 17:35:28             dut.10.240.183.133: 0x1889
23/09/2020 17:35:29             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.2/vendor
23/09/2020 17:35:29             dut.10.240.183.133: 0x8086
23/09/2020 17:35:29             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.2/device
23/09/2020 17:35:29             dut.10.240.183.133: 0x1889
23/09/2020 17:35:29             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.2/vendor
23/09/2020 17:35:29             dut.10.240.183.133: 0x8086
23/09/2020 17:35:29             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.2/device
23/09/2020 17:35:29             dut.10.240.183.133: 0x1889
23/09/2020 17:35:29             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.3/vendor
23/09/2020 17:35:29             dut.10.240.183.133: 0x8086
23/09/2020 17:35:29             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.3/device
23/09/2020 17:35:29             dut.10.240.183.133: 0x1889
23/09/2020 17:35:29             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.3/vendor
23/09/2020 17:35:29             dut.10.240.183.133: 0x8086
23/09/2020 17:35:29             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.3/device
23/09/2020 17:35:29             dut.10.240.183.133: 0x1889
23/09/2020 17:35:35               TestDcfLifeCycle: {0: {'pf_pci': '0000:81:00.0',
     'src_mac': '02:00:00:00:00:00',
     'vfs_mac': ['00:12:34:56:01:00',
                 '00:12:34:56:01:01',
                 '00:12:34:56:01:02',
                 '00:12:34:56:01:03'],
     'vfs_pci': ['0000:81:01.0',
                 '0000:81:01.1',
                 '0000:81:01.2',
                 '0000:81:01.3']},
 1: {'pf_pci': '0000:81:00.1',
     'src_mac': '02:00:00:00:00:01',
     'vfs_mac': ['00:12:34:56:02:00',
                 '00:12:34:56:02:01',
                 '00:12:34:56:02:02',
                 '00:12:34:56:02:03'],
     'vfs_pci': ['0000:81:11.0',
                 '0000:81:11.1',
                 '0000:81:11.2',
                 '0000:81:11.3']}}
23/09/2020 17:35:35               TestDcfLifeCycle: Test Case test_handle_switch_filter_02 Begin
23/09/2020 17:35:35             dut.10.240.183.133: 
23/09/2020 17:35:35                         tester: 
23/09/2020 17:35:35               TestDcfLifeCycle: begin : Kill DCF process
23/09/2020 17:35:35             dut.10.240.183.133: ip link set ens801f0 vf 0 trust on
23/09/2020 17:35:35             dut.10.240.183.133: 
23/09/2020 17:35:35             dut.10.240.183.133: x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x7c0000 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=dcf -- -i 
23/09/2020 17:35:37             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 20.11.0-rc0'
EAL: Multi-process socket /var/run/dpdk/dcf/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.20.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=179456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc

Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.

Configuring Port 0 (socket 1)
ice_dcf_init_rss(): RSS is enabled by PF by default
ice_dcf_configure_queues(): request RXDID == 16 in Queue[0]
Port 0: 9E:64:43:F6:8D:48
Checking link statuses...
Done
23/09/2020 17:35:40             dut.10.240.183.133: flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / end actions vf id 1 / end
23/09/2020 17:35:41             dut.10.240.183.133: 
Flow rule #0 created
23/09/2020 17:35:41               TestDcfLifeCycle: Ether(dst='00:12:34:56:01:01', src='00:00:20:00:00:00')/IP(frag=0, src='192.168.0.2', tos=0, dst='192.168.0.3', version=4, ttl=64, id=1)/Raw(load=b'XXXXXXXXXXXXXXXXXXXXXXXXXX')
23/09/2020 17:35:56             dut.10.240.183.133: ps aux | grep testpmd
23/09/2020 17:35:56             dut.10.240.183.133: root     1122732  6.1  0.2 134440624 91776 pts/0 SLl+ 17:35   0:01 x86_64-native-linuxapp-gcc/app/dpdk-testpmd -v -c 0x7c0000 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=dcf -- -i
root     1122740 94.3  0.2 134432428 83632 pts/3 SLl+ 17:35   0:17 x86_64-native-linuxapp-gcc/app/dpdk-testpmd-vf -v -c 0xf800000 -n 4 -w 0000:81:01.1 --file-prefix=vf -- -i
root     1122750  0.0  0.0   6432   736 pts/1    S+   17:36   0:00 grep --color=auto testpmd
23/09/2020 17:35:56             dut.10.240.183.133: kill -9 `ps -ef | grep dpdk-testpmd  | grep -v grep | grep -v dpdk-testpmd-vf  | awk '{print $2}'`
23/09/2020 17:35:56             dut.10.240.183.133: 
23/09/2020 17:35:58             dut.10.240.183.133: ps aux | grep testpmd
23/09/2020 17:35:58             dut.10.240.183.133: root     1122740 95.8  0.2 134432428 83632 pts/3 SLl+ 17:35   0:20 x86_64-native-linuxapp-gcc/app/dpdk-testpmd-vf -v -c 0xf800000 -n 4 -w 0000:81:01.1 --file-prefix=vf -- -i
root     1122758  0.0  0.0   6432   732 pts/1    S+   17:36   0:00 grep --color=auto testpmd
23/09/2020 17:36:19               TestDcfLifeCycle: Test Case test_handle_switch_filter_02 Result PASSED:
23/09/2020 17:36:19             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
23/09/2020 17:36:21                            dts: 
TEST SUITE ENDED: TestDcfLifeCycle
23/09/2020 17:36:34               TestDcfLifeCycle: close vf devices

  reply	other threads:[~2020-09-22  9:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-22  9:40 Xie wei
2020-09-22  9:45 ` Xie, WeiX [this message]
2020-09-29  1:07   ` Ma, LihongX
2020-10-12  8:02 ` Tu, Lijuan

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=099d90cb26df46f98a188e654a1514b9@intel.com \
    --to=weix.xie@intel.com \
    --cc=dts@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).