test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/cvl_advanced_iavf_rss:need quit testpmd before replace pkg
@ 2020-06-30  7:30 Xie wei
  2020-06-30  7:36 ` Xie, WeiX
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Xie wei @ 2020-06-30  7:30 UTC (permalink / raw)
  To: dts; +Cc: Xie wei

need quit testpmd to fix rmmod ice timeout.

Signed-off-by: Xie wei <weix.xie@intel.com>
---
 tests/TestSuite_cvl_advanced_iavf_rss.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/TestSuite_cvl_advanced_iavf_rss.py b/tests/TestSuite_cvl_advanced_iavf_rss.py
index 1e6ac19..a01809f 100644
--- a/tests/TestSuite_cvl_advanced_iavf_rss.py
+++ b/tests/TestSuite_cvl_advanced_iavf_rss.py
@@ -1115,6 +1115,7 @@ class AdvancedIavfRSSTest(TestCase):
         for rule in error_rule:
             out = self.pmd_output.execute_cmd(rule)
             self.verify("Failed to create flow" in out, "Rule can be created")
+        self.pmd_output.quit()
         self.replace_pkg(self.comms_pkg_name)
 
     def replace_pkg(self, pkg):
-- 
2.17.1


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

* Re: [dts] [PATCH V1] tests/cvl_advanced_iavf_rss:need quit testpmd before replace pkg
  2020-06-30  7:30 [dts] [PATCH V1] tests/cvl_advanced_iavf_rss:need quit testpmd before replace pkg Xie wei
@ 2020-06-30  7:36 ` Xie, WeiX
  2020-06-30  7:42 ` He, Zhiwei
  2020-07-01  5:48 ` Tu, Lijuan
  2 siblings, 0 replies; 4+ messages in thread
From: Xie, WeiX @ 2020-06-30  7:36 UTC (permalink / raw)
  To: dts

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

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

Regards,
Xie Wei


-----Original Message-----
From: Xie, WeiX 
Sent: Tuesday, June 30, 2020 3:31 PM
To: dts@dpdk.org
Cc: Xie, WeiX <weix.xie@intel.com>
Subject: [dts][PATCH V1] tests/cvl_advanced_iavf_rss:need quit testpmd before replace pkg

need quit testpmd to fix rmmod ice timeout.

Signed-off-by: Xie wei <weix.xie@intel.com>
---
 tests/TestSuite_cvl_advanced_iavf_rss.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/TestSuite_cvl_advanced_iavf_rss.py b/tests/TestSuite_cvl_advanced_iavf_rss.py
index 1e6ac19..a01809f 100644
--- a/tests/TestSuite_cvl_advanced_iavf_rss.py
+++ b/tests/TestSuite_cvl_advanced_iavf_rss.py
@@ -1115,6 +1115,7 @@ class AdvancedIavfRSSTest(TestCase):
         for rule in error_rule:
             out = self.pmd_output.execute_cmd(rule)
             self.verify("Failed to create flow" in out, "Rule can be created")
+        self.pmd_output.quit()
         self.replace_pkg(self.comms_pkg_name)
 
     def replace_pkg(self, pkg):
-- 
2.17.1


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

01/07/2020 15:25:34                            dts: 
TEST SUITE : AdvancedIavfRSSTest
01/07/2020 15:25:34                            dts: NIC :        columbiaville_100g
01/07/2020 15:25:34             dut.10.240.183.133: 
01/07/2020 15:25:34                         tester: 
01/07/2020 15:25:37             dut.10.240.183.133: ls
01/07/2020 15:25:37             dut.10.240.183.133: ABI_VERSION  app  buildtools  config  devtools	doc  dpdk.log  drivers	eeprom_0.bin  eeprom_1.bin  ethtool_eeprom_0.bin  ethtool_eeprom_0_cat.bin  ethtool_eeprom_1.bin  ethtool_eeprom_1_cat.bin  examples  GNUmakefile  kernel  lib	license  MAINTAINERS  Makefile	meson.build  meson_options.txt	mk  out  README  usertools  VERSION  x86_64-native-linuxapp-gcc
01/07/2020 15:25:37             dut.10.240.183.133: usertools/dpdk-devbind.py --force --bind=ice 0000:81:00.0 0000:81:00.1 
01/07/2020 15:25:40             dut.10.240.183.133: 
01/07/2020 15:25:42             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.0/vendor
01/07/2020 15:25:42             dut.10.240.183.133: 0x8086
01/07/2020 15:25:42             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.0/device
01/07/2020 15:25:42             dut.10.240.183.133: 0x1889
01/07/2020 15:25:42             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.0/vendor
01/07/2020 15:25:42             dut.10.240.183.133: 0x8086
01/07/2020 15:25:42             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.0/device
01/07/2020 15:25:42             dut.10.240.183.133: 0x1889
01/07/2020 15:25:42             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.1/vendor
01/07/2020 15:25:42             dut.10.240.183.133: 0x8086
01/07/2020 15:25:42             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.1/device
01/07/2020 15:25:42             dut.10.240.183.133: 0x1889
01/07/2020 15:25:42             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.1/vendor
01/07/2020 15:25:42             dut.10.240.183.133: 0x8086
01/07/2020 15:25:42             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.1/device
01/07/2020 15:25:42             dut.10.240.183.133: 0x1889
01/07/2020 15:25:45             dut.10.240.183.133: ifconfig ens801f0 up
01/07/2020 15:25:45             dut.10.240.183.133: 
01/07/2020 15:25:45             dut.10.240.183.133: ip link set ens801f0 vf 0 mac 00:01:23:45:67:89
01/07/2020 15:25:45             dut.10.240.183.133: 
01/07/2020 15:25:45             dut.10.240.183.133: ip link set ens801f0 vf 1 mac 00:11:22:33:44:55
01/07/2020 15:25:45             dut.10.240.183.133: 
01/07/2020 15:25:45            AdvancedIavfRSSTest: Test Case test_use_os_default_package Begin
01/07/2020 15:25:46             dut.10.240.183.133: 
01/07/2020 15:25:46                         tester: 
01/07/2020 15:25:46             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
01/07/2020 15:25:57             dut.10.240.183.133: ls
01/07/2020 15:25:57             dut.10.240.183.133: ABI_VERSION  app  buildtools  config  devtools	doc  dpdk.log  drivers	eeprom_0.bin  eeprom_1.bin  ethtool_eeprom_0.bin  ethtool_eeprom_0_cat.bin  ethtool_eeprom_1.bin  ethtool_eeprom_1_cat.bin  examples  GNUmakefile  kernel  lib	license  MAINTAINERS  Makefile	meson.build  meson_options.txt	mk  out  README  usertools  VERSION  x86_64-native-linuxapp-gcc
01/07/2020 15:25:57             dut.10.240.183.133: usertools/dpdk-devbind.py --force --bind=ice 0000:81:00.0 0000:81:00.1 
01/07/2020 15:25:57             dut.10.240.183.133: Notice: 0000:81:00.0 already bound to driver ice, skipping
Notice: 0000:81:00.1 already bound to driver ice, skipping
01/07/2020 15:26:02             dut.10.240.183.133: ifconfig ens801f0 up
01/07/2020 15:26:02             dut.10.240.183.133: 
01/07/2020 15:26:02             dut.10.240.183.133: ip link set ens801f0 vf 0 mac 00:01:23:45:67:89
01/07/2020 15:26:02             dut.10.240.183.133: 
01/07/2020 15:26:02             dut.10.240.183.133: ip link set ens801f0 vf 1 mac 00:11:22:33:44:55
01/07/2020 15:26:02             dut.10.240.183.133: 
01/07/2020 15:26:02             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2,3,4,5,6,7,8 -n 4 -w 0000:81:01.0  --file-prefix=dpdk_1057_20200701152515    -- -i  --rxq=16 --txq=16 --port-topology=loop 
01/07/2020 15:26:04             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_1057_20200701152515/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: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
iavf_read_msg_from_pf(): command mismatch, expect 44, get 17
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=203456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=203456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
iavf_configure_queues(): request RXDID == 22 in Queue[0]
iavf_configure_queues(): request RXDID == 22 in Queue[1]
iavf_configure_queues(): request RXDID == 22 in Queue[2]
iavf_configure_queues(): request RXDID == 22 in Queue[3]
iavf_configure_queues(): request RXDID == 22 in Queue[4]
iavf_configure_queues(): request RXDID == 22 in Queue[5]
iavf_configure_queues(): request RXDID == 22 in Queue[6]
iavf_configure_queues(): request RXDID == 22 in Queue[7]
iavf_configure_queues(): request RXDID == 22 in Queue[8]
iavf_configure_queues(): request RXDID == 22 in Queue[9]
iavf_configure_queues(): request RXDID == 22 in Queue[10]
iavf_configure_queues(): request RXDID == 22 in Queue[11]
iavf_configure_queues(): request RXDID == 22 in Queue[12]
iavf_configure_queues(): request RXDID == 22 in Queue[13]
iavf_configure_queues(): request RXDID == 22 in Queue[14]
iavf_configure_queues(): request RXDID == 22 in Queue[15]

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event
Port 0: 00:01:23:45:67:89
Checking link statuses...
Done
01/07/2020 15:26:14             dut.10.240.183.133: set fwd rxonly
01/07/2020 15:26:14             dut.10.240.183.133: set fwd rxonly
Set rxonly packet forwarding mode
01/07/2020 15:26:14             dut.10.240.183.133: set verbose 1
01/07/2020 15:26:14             dut.10.240.183.133: set verbose 1
Change verbose level from 0 to 1
01/07/2020 15:26:14             dut.10.240.183.133: flow create 0 ingress pattern eth / ipv4 / udp / pfcp / end actions rss types pfcp end key_len 0 queues end / end 
01/07/2020 15:26:14             dut.10.240.183.133: flow create 0 ingress pattern eth / ipv4 / udp / pfcp / end actions rss types pfcp end key_len 0 queues end / end 
iavf_execute_vf_cmd(): No response or return failure (-5) for cmd 45
iavf_add_del_rss_cfg(): Failed to execute command of OP_ADD_RSS_CFG
iavf_hash_create(): fail to add RSS configure
iavf_flow_create(): Failed to create flow
port_flow_complain(): Caught PMD error type 2 (flow rule (handle)): Failed to create parser engine.: Invalid argument
01/07/2020 15:26:14             dut.10.240.183.133: flow create 0 ingress pattern eth / ipv6 / udp / pfcp / end actions rss types pfcp end key_len 0 queues end / end 
01/07/2020 15:26:15             dut.10.240.183.133: flow create 0 ingress pattern eth / ipv6 / udp / pfcp / end actions rss types pfcp end key_len 0 queues end / end 
iavf_execute_vf_cmd(): No response or return failure (-5) for cmd 45
iavf_add_del_rss_cfg(): Failed to execute command of OP_ADD_RSS_CFG
iavf_hash_create(): fail to add RSS configure
iavf_flow_create(): Failed to create flow
port_flow_complain(): Caught PMD error type 2 (flow rule (handle)): Failed to create parser engine.: Invalid argument
01/07/2020 15:26:15             dut.10.240.183.133: quit
01/07/2020 15:26:16             dut.10.240.183.133: quit

Stopping port 0...
Stopping ports...
Done

Shutting down port 0...
Closing ports...
Done

Bye...
01/07/2020 15:26:27             dut.10.240.183.133: ls
01/07/2020 15:26:27             dut.10.240.183.133: ABI_VERSION  app  buildtools  config  devtools	doc  dpdk.log  drivers	eeprom_0.bin  eeprom_1.bin  ethtool_eeprom_0.bin  ethtool_eeprom_0_cat.bin  ethtool_eeprom_1.bin  ethtool_eeprom_1_cat.bin  examples  GNUmakefile  kernel  lib	license  MAINTAINERS  Makefile	meson.build  meson_options.txt	mk  out  README  usertools  VERSION  x86_64-native-linuxapp-gcc
01/07/2020 15:26:27             dut.10.240.183.133: usertools/dpdk-devbind.py --force --bind=ice 0000:81:00.0 0000:81:00.1 
01/07/2020 15:26:28             dut.10.240.183.133: Notice: 0000:81:00.0 already bound to driver ice, skipping
Notice: 0000:81:00.1 already bound to driver ice, skipping
01/07/2020 15:26:32             dut.10.240.183.133: ifconfig ens801f0 up
01/07/2020 15:26:33             dut.10.240.183.133: 
01/07/2020 15:26:33             dut.10.240.183.133: ip link set ens801f0 vf 0 mac 00:01:23:45:67:89
01/07/2020 15:26:33             dut.10.240.183.133: 
01/07/2020 15:26:33             dut.10.240.183.133: ip link set ens801f0 vf 1 mac 00:11:22:33:44:55
01/07/2020 15:26:33             dut.10.240.183.133: 
01/07/2020 15:26:33            AdvancedIavfRSSTest: Test Case test_use_os_default_package Result PASSED:
01/07/2020 15:26:33             dut.10.240.183.133: kill_all: called by dut and prefix list has value.
01/07/2020 15:26:33                            dts: 
TEST SUITE ENDED: AdvancedIavfRSSTest

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

* Re: [dts] [PATCH V1] tests/cvl_advanced_iavf_rss:need quit testpmd before replace pkg
  2020-06-30  7:30 [dts] [PATCH V1] tests/cvl_advanced_iavf_rss:need quit testpmd before replace pkg Xie wei
  2020-06-30  7:36 ` Xie, WeiX
@ 2020-06-30  7:42 ` He, Zhiwei
  2020-07-01  5:48 ` Tu, Lijuan
  2 siblings, 0 replies; 4+ messages in thread
From: He, Zhiwei @ 2020-06-30  7:42 UTC (permalink / raw)
  To: Xie, WeiX, dts; +Cc: Xie, WeiX

Acked-by: He Zhiwei <zhiwei.he@intel.com>

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Xie wei
> Sent: Tuesday, June 30, 2020 3:31 PM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [dts] [PATCH V1] tests/cvl_advanced_iavf_rss:need quit testpmd
> before replace pkg
> 
> need quit testpmd to fix rmmod ice timeout.
> 
> Signed-off-by: Xie wei <weix.xie@intel.com>
> ---
>  tests/TestSuite_cvl_advanced_iavf_rss.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/TestSuite_cvl_advanced_iavf_rss.py
> b/tests/TestSuite_cvl_advanced_iavf_rss.py
> index 1e6ac19..a01809f 100644
> --- a/tests/TestSuite_cvl_advanced_iavf_rss.py
> +++ b/tests/TestSuite_cvl_advanced_iavf_rss.py
> @@ -1115,6 +1115,7 @@ class AdvancedIavfRSSTest(TestCase):
>          for rule in error_rule:
>              out = self.pmd_output.execute_cmd(rule)
>              self.verify("Failed to create flow" in out, "Rule can be
> created")
> +        self.pmd_output.quit()
>          self.replace_pkg(self.comms_pkg_name)
> 
>      def replace_pkg(self, pkg):
> --
> 2.17.1


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

* Re: [dts] [PATCH V1] tests/cvl_advanced_iavf_rss:need quit testpmd before replace pkg
  2020-06-30  7:30 [dts] [PATCH V1] tests/cvl_advanced_iavf_rss:need quit testpmd before replace pkg Xie wei
  2020-06-30  7:36 ` Xie, WeiX
  2020-06-30  7:42 ` He, Zhiwei
@ 2020-07-01  5:48 ` Tu, Lijuan
  2 siblings, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2020-07-01  5:48 UTC (permalink / raw)
  To: Xie, WeiX, dts; +Cc: Xie, WeiX

If verified failed, exception will happen, please consider that, thanks

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Xie wei
> Sent: 2020年6月30日 15:31
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [dts] [PATCH V1] tests/cvl_advanced_iavf_rss:need quit testpmd before
> replace pkg
> 
> need quit testpmd to fix rmmod ice timeout.
> 
> Signed-off-by: Xie wei <weix.xie@intel.com>
> ---
>  tests/TestSuite_cvl_advanced_iavf_rss.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/TestSuite_cvl_advanced_iavf_rss.py
> b/tests/TestSuite_cvl_advanced_iavf_rss.py
> index 1e6ac19..a01809f 100644
> --- a/tests/TestSuite_cvl_advanced_iavf_rss.py
> +++ b/tests/TestSuite_cvl_advanced_iavf_rss.py
> @@ -1115,6 +1115,7 @@ class AdvancedIavfRSSTest(TestCase):
>          for rule in error_rule:
>              out = self.pmd_output.execute_cmd(rule)
>              self.verify("Failed to create flow" in out, "Rule can be created")
> +        self.pmd_output.quit()
>          self.replace_pkg(self.comms_pkg_name)
> 
>      def replace_pkg(self, pkg):
> --
> 2.17.1


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

end of thread, other threads:[~2020-07-01  5:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-30  7:30 [dts] [PATCH V1] tests/cvl_advanced_iavf_rss:need quit testpmd before replace pkg Xie wei
2020-06-30  7:36 ` Xie, WeiX
2020-06-30  7:42 ` He, Zhiwei
2020-07-01  5:48 ` Tu, Lijuan

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).