test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Zhu, WenhuiX" <wenhuix.zhu@intel.com>
To: "Li, WenjieX A" <wenjiex.a.li@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Li, WenjieX A" <wenjiex.a.li@intel.com>
Subject: Re: [dts] [PATCH V1] tests/userspace_ethtool: cannot change CVL link	status by the peer port
Date: Thu, 31 Oct 2019 05:22:33 +0000	[thread overview]
Message-ID: <E08767FB2CE10642B6780736EAC070F6049F8B72@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <1572530838-44694-1-git-send-email-wenjiex.a.li@intel.com>

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

Tested-by: Zhu, WenhuiX <wenhuix.zhu@intel.com>

-----Original Message-----
From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Wenjie Li
Sent: Thursday, October 31, 2019 10:07 PM
To: dts@dpdk.org
Cc: Li, WenjieX A <wenjiex.a.li@intel.com>
Subject: [dts] [PATCH V1] tests/userspace_ethtool: cannot change CVL link status by the peer port

In case dump_driver_info, like fortville, CVL link status cannot be changed by the peer ports.
After change the peer port status by running "ip link set dev PORT
down|up", CVL link status will not change. So skip this step.

Signed-off-by: Wenjie Li <wenjiex.a.li@intel.com>
---
 tests/TestSuite_userspace_ethtool.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_userspace_ethtool.py b/tests/TestSuite_userspace_ethtool.py
index 116fd3a..8d18b0c 100644
--- a/tests/TestSuite_userspace_ethtool.py
+++ b/tests/TestSuite_userspace_ethtool.py
@@ -259,7 +259,7 @@ class TestUserspaceEthtool(TestCase, IxiaPacketGenerator):
         # only detect physical link disconnect status
         verify_pass = True
         verify_msg = ''
-        if self.nic.startswith("fortville") == False:  
+        if self.nic.startswith("fortville") == False and self.nic.startswith("columbiaville") == False:
             # check link status dump function
             for port in self.ports:
                 tester_port = self.tester.get_local_port(port)
-- 
2.17.1


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


01/11/2019 08:13:10                            dts: 
TEST SUITE : TestUserspaceEthtool
01/11/2019 08:13:10                            dts: NIC :        columbiaville_25g
01/11/2019 08:13:11              dut.10.238.54.221: 
01/11/2019 08:13:11                         tester: 
01/11/2019 08:13:11              dut.10.238.54.221: rm -rf ./app/test/test_resource_c.res.o
01/11/2019 08:13:11              dut.10.238.54.221: 
01/11/2019 08:13:11              dut.10.238.54.221: rm -rf ./app/test/test_resource_tar.res.o
01/11/2019 08:13:11              dut.10.238.54.221: 
01/11/2019 08:13:11              dut.10.238.54.221: rm -rf ./app/test/test_pci_sysfs.res.o
01/11/2019 08:13:11              dut.10.238.54.221: 
01/11/2019 08:13:11              dut.10.238.54.221: make -j 94 -C examples/ethtool 
01/11/2019 08:13:13              dut.10.238.54.221: make: Entering directory '/root/dpdk/examples/ethtool'
== lib
  CC rte_ethtool.o
  AR librte_ethtool.a
  INSTALL-LIB librte_ethtool.a
== ethtool-app
  CC main.o
  CC ethapp.o
  LD ethtool
  INSTALL-APP ethtool
  INSTALL-MAP ethtool.map
make: Leaving directory '/root/dpdk/examples/ethtool'
01/11/2019 08:13:13           TestUserspaceEthtool: Test Case test_dump_driver_info Begin
01/11/2019 08:13:13              dut.10.238.54.221: 
01/11/2019 08:13:13                         tester: 
01/11/2019 08:13:13              dut.10.238.54.221: ./examples/ethtool/ethtool-app/x86_64-native-linuxapp-gcc/ethtool -c f -n 4
01/11/2019 08:13:14              dut.10.238.54.221: EAL: Detected 96 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: Probing VFIO support...
EAL: PCI device 0000:00:04.0 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.1 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.2 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.3 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.4 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.5 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.6 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.7 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:1a:00.0 on NUMA socket 0
EAL:   probe driver: 8086:37d2 net_i40e
EAL: PCI device 0000:1a:00.1 on NUMA socket 0
EAL:   probe driver: 8086:37d2 net_i40e
EAL: PCI device 0000:1a:00.2 on NUMA socket 0
EAL:   probe driver: 8086:37d3 net_i40e
EAL: PCI device 0000:1a:00.3 on NUMA socket 0
EAL:   probe driver: 8086:37d3 net_i40e
EAL: PCI device 0000:3b:00.0 on NUMA socket 0
EAL:   probe driver: 8086:1593 net_ice
ice_load_pkg_type(): Active package is: 1.3.4.0, ICE OS Default Package
ice_init_proto_xtr(): Protocol extraction is not supported
EAL: PCI device 0000:3b:00.1 on NUMA socket 0
EAL:   probe driver: 8086:1593 net_ice
ice_load_pkg_type(): Active package is: 1.3.4.0, ICE OS Default Package
ice_init_proto_xtr(): Protocol extraction is not supported
EAL: PCI device 0000:80:04.0 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.1 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.2 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.3 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.4 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.5 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.6 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.7 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:d8:00.0 on NUMA socket 1
EAL:   probe driver: 8086:1572 net_i40e
EAL: PCI device 0000:d8:00.1 on NUMA socket 1
EAL:   probe driver: 8086:1572 net_i40e
EAL: PCI device 0000:d8:00.2 on NUMA socket 1
EAL:   probe driver: 8086:1572 net_i40e
EAL: PCI device 0000:d8:00.3 on NUMA socket 1
EAL:   probe driver: 8086:1572 net_i40e
Number of NICs: 2
Init port 0..
Init port 1..
01/11/2019 08:13:14              dut.10.238.54.221: drvinfo
01/11/2019 08:13:14              dut.10.238.54.221: drvinfo
Port 0 driver: net_ice (ver: DPDK 19.11.0-rc1)
firmware-version: 1.00 0x80001e61 1.2535.0
bus-info: 0000:3b:00.0
Port 1 driver: net_ice (ver: DPDK 19.11.0-rc1)
firmware-version: 1.00 0x80001e61 1.2535.0
bus-info: 0000:3b:00.1
01/11/2019 08:13:14              dut.10.238.54.221: quit
01/11/2019 08:13:14              dut.10.238.54.221: quit
01/11/2019 08:13:15              dut.10.238.54.221: ethtool -i ens785f0
01/11/2019 08:13:15              dut.10.238.54.221: driver: ice
version: 0.12.2
firmware-version: 1.00 0x80001e61 1.2535.0
expansion-rom-version: 
bus-info: 0000:3b:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes
01/11/2019 08:13:16           TestUserspaceEthtool: ens785f0: dpdk ethtool dump nic information done
01/11/2019 08:13:17              dut.10.238.54.221: ethtool -i ens785f1
01/11/2019 08:13:17              dut.10.238.54.221: driver: ice
version: 0.12.2
firmware-version: 1.00 0x80001e61 1.2535.0
expansion-rom-version: 
bus-info: 0000:3b:00.1
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes
01/11/2019 08:13:17           TestUserspaceEthtool: ens785f1: dpdk ethtool dump nic information done
01/11/2019 08:13:22              dut.10.238.54.221: ./examples/ethtool/ethtool-app/x86_64-native-linuxapp-gcc/ethtool -c f -n 4
01/11/2019 08:13:23              dut.10.238.54.221: EAL: Detected 96 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: Probing VFIO support...
EAL: PCI device 0000:00:04.0 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.1 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.2 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.3 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.4 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.5 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.6 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.7 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:1a:00.0 on NUMA socket 0
EAL:   probe driver: 8086:37d2 net_i40e
EAL: PCI device 0000:1a:00.1 on NUMA socket 0
EAL:   probe driver: 8086:37d2 net_i40e
EAL: PCI device 0000:1a:00.2 on NUMA socket 0
EAL:   probe driver: 8086:37d3 net_i40e
EAL: PCI device 0000:1a:00.3 on NUMA socket 0
EAL:   probe driver: 8086:37d3 net_i40e
EAL: PCI device 0000:3b:00.0 on NUMA socket 0
EAL:   probe driver: 8086:1593 net_ice
ice_load_pkg_type(): Active package is: 1.3.4.0, ICE OS Default Package
ice_init_proto_xtr(): Protocol extraction is not supported
EAL: PCI device 0000:3b:00.1 on NUMA socket 0
EAL:   probe driver: 8086:1593 net_ice
ice_load_pkg_type(): Active package is: 1.3.4.0, ICE OS Default Package
ice_init_proto_xtr(): Protocol extraction is not supported
EAL: PCI device 0000:80:04.0 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.1 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.2 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.3 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.4 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.5 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.6 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.7 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:d8:00.0 on NUMA socket 1
EAL:   probe driver: 8086:1572 net_i40e
EAL: PCI device 0000:d8:00.1 on NUMA socket 1
EAL:   probe driver: 8086:1572 net_i40e
EAL: PCI device 0000:d8:00.2 on NUMA socket 1
EAL:   probe driver: 8086:1572 net_i40e
EAL: PCI device 0000:d8:00.3 on NUMA socket 1
EAL:   probe driver: 8086:1572 net_i40e
Number of NICs: 2
Init port 0..
Init port 1..
01/11/2019 08:13:23              dut.10.238.54.221: portstats 0 
01/11/2019 08:13:23              dut.10.238.54.221: portstats 0 
Port 0 stats
   In: 0 (0 bytes)
  Out: 0 (0 bytes)
  Err: 0
01/11/2019 08:13:23                         tester: scp -v /home/autoregression/azhu/output/tmp/pcap/scapy_ens9.pcap1572596003.08 root@10.238.54.182:/tmp/tester/
01/11/2019 08:13:25                         tester: scp -v /home/autoregression/azhu/output/tmp/pcap/scapy_ens9.cmd1572596003.08 root@10.238.54.182:/tmp/tester/
01/11/2019 08:13:27                         tester: python /tmp/tester/scapy_ens9.cmd1572596003.08
01/11/2019 08:13:28                         tester: packet ready for sending...
Ether(src='00:00:00:00:00:00', dst='ff:ff:ff:ff:ff:ff', type=2048)/IP(frag=0, src='127.0.0.1', proto=17, tos=0, dst='127.0.0.1', chksum=31932, len=46, id=1, version=4, flags=0, ihl=5, ttl=64)/UDP(dport=53, sport=53, len=26, chksum=58930)/DNS(aa=0, qr=0, an='', ad=0, nscount=22616, qdcount=22616, ns='', tc=0, rd=0, arcount=22616, length=None, ar='', opcode=11, ra=0, cd=1, z=1, rcode=8, id=22616, ancount=22616, qd='')/Raw(load='XXXXXX')
....
Sent 4 packets.
01/11/2019 08:13:29              dut.10.238.54.221: portstats 0 
01/11/2019 08:13:29              dut.10.238.54.221: portstats 0 
Port 0 stats
   In: 4 (240 bytes)
  Out: 4 (240 bytes)
  Err: 0
01/11/2019 08:13:29              dut.10.238.54.221: portstats 1 
01/11/2019 08:13:29              dut.10.238.54.221: portstats 1 
Port 1 stats
   In: 0 (0 bytes)
  Out: 0 (0 bytes)
  Err: 0
01/11/2019 08:13:29                         tester: scp -v /home/autoregression/azhu/output/tmp/pcap/scapy_ens10.pcap1572596009.83 root@10.238.54.182:/tmp/tester/
01/11/2019 08:13:32                         tester: scp -v /home/autoregression/azhu/output/tmp/pcap/scapy_ens10.cmd1572596009.83 root@10.238.54.182:/tmp/tester/
01/11/2019 08:13:34                         tester: python /tmp/tester/scapy_ens10.cmd1572596009.83
01/11/2019 08:13:35                         tester: packet ready for sending...
Ether(src='00:00:00:00:00:00', dst='ff:ff:ff:ff:ff:ff', type=2048)/IP(frag=0, src='127.0.0.1', proto=17, tos=0, dst='127.0.0.1', chksum=31932, len=46, id=1, version=4, flags=0, ihl=5, ttl=64)/UDP(dport=53, sport=53, len=26, chksum=58930)/DNS(aa=0, qr=0, an='', ad=0, nscount=22616, qdcount=22616, ns='', tc=0, rd=0, arcount=22616, length=None, ar='', opcode=11, ra=0, cd=1, z=1, rcode=8, id=22616, ancount=22616, qd='')/Raw(load='XXXXXX')
....
Sent 4 packets.
01/11/2019 08:13:36              dut.10.238.54.221: portstats 1 
01/11/2019 08:13:36              dut.10.238.54.221: portstats 1 
Port 1 stats
   In: 4 (240 bytes)
  Out: 4 (240 bytes)
  Err: 0
01/11/2019 08:13:36              dut.10.238.54.221: quit
01/11/2019 08:13:36              dut.10.238.54.221: quit
01/11/2019 08:13:36           TestUserspaceEthtool: Test Case test_dump_driver_info Result PASSED:
01/11/2019 08:13:36              dut.10.238.54.221: kill_all: called by dut and has no prefix list.
01/11/2019 08:13:38              dut.10.238.54.221: kill_all: called by dut and has no prefix list.
01/11/2019 08:13:40              dut.10.238.54.221: kill_all: called by dut and has no prefix list.
01/11/2019 08:13:42                            dts: 
TEST SUITE ENDED: TestUserspaceEthtool

  reply	other threads:[~2019-10-31  5:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-31 14:07 Wenjie Li
2019-10-31  5:22 ` Zhu, WenhuiX [this message]
2019-11-22  2:55 ` 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=E08767FB2CE10642B6780736EAC070F6049F8B72@shsmsx102.ccr.corp.intel.com \
    --to=wenhuix.zhu@intel.com \
    --cc=dts@dpdk.org \
    --cc=wenjiex.a.li@intel.com \
    /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).