test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Zhang, XiX" <xix.zhang@intel.com>
To: "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH V1] tests/TestSuite_blacklist:Modify regular match
Date: Fri, 29 May 2020 09:13:59 +0000	[thread overview]
Message-ID: <E22AF82976AEF646B9B29E4604B9BED504CA76CE@CDSMSX102.ccr.corp.intel.com> (raw)
In-Reply-To: <1590743442-128518-1-git-send-email-xix.zhang@intel.com>

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

Tested-by: zhang,xi <xix.zhang@intel.com>

-----Original Message-----
From: Zhang, XiX 
Sent: Friday, May 29, 2020 5:11 PM
To: dts@dpdk.org
Cc: Zhang, XiX <xix.zhang@intel.com>
Subject: [dts][PATCH V1] tests/TestSuite_blacklist:Modify regular match

Modify regular expression matching blacklist


Signed-off-by: xizhan4x <xix.zhang@intel.com>
---
 tests/TestSuite_blacklist.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/tests/TestSuite_blacklist.py b/tests/TestSuite_blacklist.py index 64360bb..d017347 100644
--- a/tests/TestSuite_blacklist.py
+++ b/tests/TestSuite_blacklist.py
@@ -49,7 +49,7 @@ class TestBlackList(TestCase):
         self.ports = self.dut.get_ports(self.nic)
         self.verify(len(self.ports) >= 2, "Insufficient ports for testing")
         [arch, machine, self.env, toolchain] = self.target.split('-')
-        self.regexp_blacklisted_port = "Probe PCI driver: net_%s \(%s\) device: %s \(socket [-0-9]+\)"
+        self.regexp_blacklisted_port = "Probe PCI driver: net.*%s \(%s\) device: .*%s \(socket [-0-9]+\)"
         self.pmdout = PmdOutput(self.dut)
 
     def set_up(self):
@@ -71,8 +71,6 @@ class TestBlackList(TestCase):
             # "Device is blacklisted, not initializing" but avoid to consume more
             # than one device.
             port_pci = self.dut.ports_info[port]['pci']
-            if self.env == "bsdapp":
-                port_pci = ':'.join(["0000", port_pci])
             regexp_blacklisted_port = self.regexp_blacklisted_port % (
                 DRIVERS.get(self.nic), self.dut.ports_info[port]['type'],
                 port_pci)
--
2.17.2


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

29/05/2020 17:22:36                            dts: 
TEST SUITE : TestBlackList
29/05/2020 17:22:36                            dts: NIC :        fortville_eagle
29/05/2020 17:22:36             dut.10.240.183.134: 
29/05/2020 17:22:36                         tester: 
29/05/2020 17:22:36                  TestBlackList: Test Case test_bl_allbutoneportblacklisted Begin
29/05/2020 17:22:37             dut.10.240.183.134: 
29/05/2020 17:22:37                         tester: 
29/05/2020 17:22:37             dut.10.240.183.134: kill_all: called by dut and has no prefix list.
29/05/2020 17:22:37             dut.10.240.183.134: ./x86_64-native-bsdapp-gcc/app/testpmd -l 1,2 -n 4  -b 84:00.0    -- -i 
29/05/2020 17:22:39             dut.10.240.183.134: EAL: Sysctl reports 40 cpus
EAL: Detected 40 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: Contigmem driver has 4 buffers, each of size 1GB
EAL: Mapped memory segment 0 @ 0x1040000000: physaddr:0x4c0000000, len 1073741824
EAL: Mapped memory segment 1 @ 0x10c0000000: physaddr:0x180000000, len 1073741824
EAL: Mapped memory segment 2 @ 0x1140000000: physaddr:0x500000000, len 1073741824
EAL: Mapped memory segment 3 @ 0x11c0000000: physaddr:0x1c0000000, len 1073741824
EAL:   0000:05:00.0 not managed by UIO driver, skipping
EAL:   0000:05:00.1 not managed by UIO driver, skipping
EAL: Probe PCI driver: net_i40e (8086:1572) device: 0000:84:00.1 (socket 0)
i40e_GLQF_reg_init(): i40e device 0000:84:00.1 changed global register [0x002689a0]. original: 0x00000000, new: 0x00000029 
i40e_GLQF_reg_init(): i40e device 0000:84:00.1 changed global register [0x00268ca4]. original: 0x00001840, new: 0x00009420 
i40e_aq_debug_write_global_register(): i40e device 0000:84:00.1 changed global register [0x0026c7a0]. original: 0xa8, after: 0x28
EAL:   0000:87:00.0 not managed by UIO driver, skipping
EAL:   0000:87:00.1 not managed by UIO driver, skipping
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
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 0)
Port 0: 3C:FD:FE:C1:0F:4D
Checking link statuses...
Done
29/05/2020 17:22:49                  TestBlackList: Test Case test_bl_allbutoneportblacklisted Result PASSED:
29/05/2020 17:22:49             dut.10.240.183.134: quit
29/05/2020 17:22:50             dut.10.240.183.134: quit

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

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

Bye...
29/05/2020 17:22:50                  TestBlackList: Test Case test_bl_noblacklisted Begin
29/05/2020 17:22:50             dut.10.240.183.134: 
29/05/2020 17:22:50                         tester: 
29/05/2020 17:22:50             dut.10.240.183.134: ./x86_64-native-bsdapp-gcc/app/testpmd -l 1,2 -n 4 -w 84:00.0 -w 84:00.1    -- -i 
29/05/2020 17:22:52             dut.10.240.183.134: EAL: Sysctl reports 40 cpus
EAL: Detected 40 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: Contigmem driver has 4 buffers, each of size 1GB
EAL: Mapped memory segment 0 @ 0x1040000000: physaddr:0x4c0000000, len 1073741824
EAL: Mapped memory segment 1 @ 0x10c0000000: physaddr:0x180000000, len 1073741824
EAL: Mapped memory segment 2 @ 0x1140000000: physaddr:0x500000000, len 1073741824
EAL: Mapped memory segment 3 @ 0x11c0000000: physaddr:0x1c0000000, len 1073741824
EAL: Probe PCI driver: net_i40e (8086:1572) device: 0000:84:00.0 (socket 0)
EAL: Probe PCI driver: net_i40e (8086:1572) device: 0000:84:00.1 (socket 0)
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 0)
Port 0: 3C:FD:FE:C1:0F:4C
Configuring Port 1 (socket 0)
Port 1: 3C:FD:FE:C1:0F:4D
Checking link statuses...
Done
29/05/2020 17:23:02                  TestBlackList: Test Case test_bl_noblacklisted Result PASSED:
29/05/2020 17:23:02             dut.10.240.183.134: quit
29/05/2020 17:23:03             dut.10.240.183.134: quit

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

Stopping port 1...
Stopping ports...
Done

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

Shutting down port 1...
Closing ports...
Done

Bye...
29/05/2020 17:23:03                  TestBlackList: Test Case test_bl_oneportblacklisted Begin
29/05/2020 17:23:03             dut.10.240.183.134: 
29/05/2020 17:23:03                         tester: 
29/05/2020 17:23:03             dut.10.240.183.134: kill_all: called by dut and has no prefix list.
29/05/2020 17:23:04             dut.10.240.183.134: There are some dpdk process not free hugepage
29/05/2020 17:23:04             dut.10.240.183.134: **************************************
29/05/2020 17:23:04             dut.10.240.183.134: lsof: WARNING: compiled for FreeBSD release 12.1-RELEASE-p3; this is 12.1-RELEASE.
29/05/2020 17:23:04             dut.10.240.183.134: **************************************
29/05/2020 17:23:04             dut.10.240.183.134: ./x86_64-native-bsdapp-gcc/app/testpmd -l 1,2 -n 4  -b 84:00.0    -- -i 
29/05/2020 17:23:05             dut.10.240.183.134: EAL: Sysctl reports 40 cpus
EAL: Detected 40 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: Contigmem driver has 4 buffers, each of size 1GB
EAL: Mapped memory segment 0 @ 0x1040000000: physaddr:0x4c0000000, len 1073741824
EAL: Mapped memory segment 1 @ 0x10c0000000: physaddr:0x180000000, len 1073741824
EAL: Mapped memory segment 2 @ 0x1140000000: physaddr:0x500000000, len 1073741824
EAL: Mapped memory segment 3 @ 0x11c0000000: physaddr:0x1c0000000, len 1073741824
EAL:   0000:05:00.0 not managed by UIO driver, skipping
EAL:   0000:05:00.1 not managed by UIO driver, skipping
EAL: Probe PCI driver: net_i40e (8086:1572) device: 0000:84:00.1 (socket 0)
EAL:   0000:87:00.0 not managed by UIO driver, skipping
EAL:   0000:87:00.1 not managed by UIO driver, skipping
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
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 0)
Port 0: 3C:FD:FE:C1:0F:4D
Checking link statuses...
Done
29/05/2020 17:23:15                  TestBlackList: Test Case test_bl_oneportblacklisted Result PASSED:
29/05/2020 17:23:15             dut.10.240.183.134: quit
29/05/2020 17:23:16             dut.10.240.183.134: quit

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

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

Bye...
29/05/2020 17:23:16                            dts: 
TEST SUITE ENDED: TestBlackList

[-- Attachment #3: IGB_TestBlackList.log --]
[-- Type: application/octet-stream, Size: 31896 bytes --]

30/05/2020 01:07:33                            dts: 
TEST SUITE : TestBlackList
30/05/2020 01:07:33                            dts: NIC :        fortville_25g
30/05/2020 01:07:33             dut.10.240.183.197: 
30/05/2020 01:07:34                         tester: 
30/05/2020 01:07:34                  TestBlackList: Test Case test_bl_allbutoneportblacklisted Begin
30/05/2020 01:07:34             dut.10.240.183.197: 
30/05/2020 01:07:34                         tester: 
30/05/2020 01:07:34             dut.10.240.183.197: kill_all: called by dut and has no prefix list.
30/05/2020 01:07:34             dut.10.240.183.197: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4  -b 0000:86:00.0 --file-prefix=dpdk_12908_20200530010712    -- -i 
30/05/2020 01:07:35             dut.10.240.183.197: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_12908_20200530010712/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: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.1 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=155456, 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)
Port 0: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
30/05/2020 01:07:45                  TestBlackList: Test Case test_bl_allbutoneportblacklisted Result PASSED:
30/05/2020 01:07:45             dut.10.240.183.197: quit
30/05/2020 01:07:46             dut.10.240.183.197: quit

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

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

Bye...
30/05/2020 01:07:46                  TestBlackList: Test Case test_bl_noblacklisted Begin
30/05/2020 01:07:46             dut.10.240.183.197: 
30/05/2020 01:07:46                         tester: 
30/05/2020 01:07:46             dut.10.240.183.197: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4 -w 0000:86:00.0 -w 0000:86:00.1  --file-prefix=dpdk_12908_20200530010712   -- -i 
30/05/2020 01:07:47             dut.10.240.183.197: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_12908_20200530010712/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: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.0 (socket 1)
EAL: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.1 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=155456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
30/05/2020 01:07:57                  TestBlackList: Test Case test_bl_noblacklisted Result PASSED:
30/05/2020 01:07:57             dut.10.240.183.197: quit
30/05/2020 01:07:58             dut.10.240.183.197: quit

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

Stopping port 1...
Stopping ports...

Port 0: link state change event
Done

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

Port 1: link state change event
Done

Shutting down port 1...
Closing ports...
Done

Bye...
30/05/2020 01:07:58                  TestBlackList: Test Case test_bl_oneportblacklisted Begin
30/05/2020 01:07:58             dut.10.240.183.197: 
30/05/2020 01:07:58                         tester: 
30/05/2020 01:07:58             dut.10.240.183.197: kill_all: called by dut and prefix list has value.
30/05/2020 01:07:58             dut.10.240.183.197: There are some dpdk process not free hugepage
30/05/2020 01:07:58             dut.10.240.183.197: **************************************
30/05/2020 01:07:58             dut.10.240.183.197: lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/385/gvfs
      Output information may be incomplete.
30/05/2020 01:07:58             dut.10.240.183.197: **************************************
30/05/2020 01:07:58             dut.10.240.183.197: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4  -b 0000:86:00.0 --file-prefix=dpdk_12908_20200530010712    -- -i 
30/05/2020 01:07:59             dut.10.240.183.197: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_12908_20200530010712/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: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.1 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=155456, 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)
Port 0: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
30/05/2020 01:08:09                  TestBlackList: Test Case test_bl_oneportblacklisted Result PASSED:
30/05/2020 01:08:09             dut.10.240.183.197: quit
30/05/2020 01:08:10             dut.10.240.183.197: quit

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

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

Bye...
30/05/2020 01:08:10                            dts: 
TEST SUITE ENDED: TestBlackList
30/05/2020 01:12:56                            dts: 
TEST SUITE : TestBlackList
30/05/2020 01:12:56                            dts: NIC :        fortville_25g
30/05/2020 01:12:56             dut.10.240.183.197: 
30/05/2020 01:12:56                         tester: 
30/05/2020 01:12:56                  TestBlackList: Test Case test_bl_allbutoneportblacklisted Begin
30/05/2020 01:12:56             dut.10.240.183.197: 
30/05/2020 01:12:56                         tester: 
30/05/2020 01:12:56             dut.10.240.183.197: kill_all: called by dut and has no prefix list.
30/05/2020 01:12:57             dut.10.240.183.197: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4  -b 0000:86:00.0 --file-prefix=dpdk_13186_20200530011242    -- -i 
30/05/2020 01:12:58             dut.10.240.183.197: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_13186_20200530011242/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: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.1 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=155456, 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)
Port 0: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
30/05/2020 01:13:08                  TestBlackList: Test Case test_bl_allbutoneportblacklisted Result PASSED:
30/05/2020 01:13:08             dut.10.240.183.197: quit
30/05/2020 01:13:08             dut.10.240.183.197: quit

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

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

Bye...
30/05/2020 01:13:08                  TestBlackList: Test Case test_bl_noblacklisted Begin
30/05/2020 01:13:08             dut.10.240.183.197: 
30/05/2020 01:13:09                         tester: 
30/05/2020 01:13:09             dut.10.240.183.197: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4 -w 0000:86:00.0 -w 0000:86:00.1  --file-prefix=dpdk_13186_20200530011242   -- -i 
30/05/2020 01:13:09             dut.10.240.183.197: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_13186_20200530011242/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: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.0 (socket 1)
EAL: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.1 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=155456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
30/05/2020 01:13:20                  TestBlackList: Test Case test_bl_noblacklisted Result PASSED:
30/05/2020 01:13:20             dut.10.240.183.197: quit
30/05/2020 01:13:20             dut.10.240.183.197: quit

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

Stopping port 1...
Stopping ports...

Port 0: link state change event
Done

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

Port 1: link state change event
Done

Shutting down port 1...
Closing ports...
Done

Bye...
30/05/2020 01:13:20                  TestBlackList: Test Case test_bl_oneportblacklisted Begin
30/05/2020 01:13:20             dut.10.240.183.197: 
30/05/2020 01:13:20                         tester: 
30/05/2020 01:13:20             dut.10.240.183.197: kill_all: called by dut and prefix list has value.
30/05/2020 01:13:21             dut.10.240.183.197: There are some dpdk process not free hugepage
30/05/2020 01:13:21             dut.10.240.183.197: **************************************
30/05/2020 01:13:21             dut.10.240.183.197: lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/385/gvfs
      Output information may be incomplete.
30/05/2020 01:13:21             dut.10.240.183.197: **************************************
30/05/2020 01:13:21             dut.10.240.183.197: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4  -b 0000:86:00.0 --file-prefix=dpdk_13186_20200530011242    -- -i 
30/05/2020 01:13:22             dut.10.240.183.197: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_13186_20200530011242/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: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.1 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=155456, 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)
Port 0: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
30/05/2020 01:13:32                  TestBlackList: Test Case test_bl_oneportblacklisted Result PASSED:
30/05/2020 01:13:32             dut.10.240.183.197: quit
30/05/2020 01:13:33             dut.10.240.183.197: quit

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

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

Bye...
30/05/2020 01:13:33                            dts: 
TEST SUITE ENDED: TestBlackList
30/05/2020 01:16:36                            dts: 
TEST SUITE : TestBlackList
30/05/2020 01:16:36                            dts: NIC :        fortville_25g
30/05/2020 01:16:36             dut.10.240.183.197: 
30/05/2020 01:16:36                         tester: 
30/05/2020 01:16:36                  TestBlackList: Test Case test_bl_allbutoneportblacklisted Begin
30/05/2020 01:16:36             dut.10.240.183.197: 
30/05/2020 01:16:36                         tester: 
30/05/2020 01:16:36             dut.10.240.183.197: kill_all: called by dut and has no prefix list.
30/05/2020 01:16:37             dut.10.240.183.197: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4  -b 0000:86:00.0 --file-prefix=dpdk_13436_20200530011622    -- -i 
30/05/2020 01:16:38             dut.10.240.183.197: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_13436_20200530011622/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: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.1 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=155456, 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)
Port 0: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
30/05/2020 01:16:48                  TestBlackList: Test Case test_bl_allbutoneportblacklisted Result ERROR: Traceback (most recent call last):
  File "/home/autoregression/zhangxi/framework/test_case.py", line 316, in _execute_test_case
    case_obj()
  File "tests/TestSuite_blacklist.py", line 113, in test_bl_allbutoneportblacklisted
    ports_to_blacklist, True)
  File "tests/TestSuite_blacklist.py", line 75, in check_blacklisted_ports
    port_pci)
NameError: name 'port_pci' is not defined

30/05/2020 01:16:48             dut.10.240.183.197: quit
30/05/2020 01:16:49             dut.10.240.183.197: quit

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

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

Bye...
30/05/2020 01:16:49                  TestBlackList: Test Case test_bl_noblacklisted Begin
30/05/2020 01:16:49             dut.10.240.183.197: 
30/05/2020 01:16:49                         tester: 
30/05/2020 01:16:49             dut.10.240.183.197: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4 -w 0000:86:00.0 -w 0000:86:00.1  --file-prefix=dpdk_13436_20200530011622   -- -i 
30/05/2020 01:16:50             dut.10.240.183.197: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_13436_20200530011622/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: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.0 (socket 1)
EAL: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.1 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=155456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
30/05/2020 01:17:00                  TestBlackList: Test Case test_bl_noblacklisted Result ERROR: Traceback (most recent call last):
  File "/home/autoregression/zhangxi/framework/test_case.py", line 316, in _execute_test_case
    case_obj()
  File "tests/TestSuite_blacklist.py", line 92, in test_bl_noblacklisted
    self.check_blacklisted_ports(out, self.ports)
  File "tests/TestSuite_blacklist.py", line 75, in check_blacklisted_ports
    port_pci)
NameError: name 'port_pci' is not defined

30/05/2020 01:17:00             dut.10.240.183.197: quit
30/05/2020 01:17:01             dut.10.240.183.197: quit

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

Stopping port 1...
Stopping ports...

Port 0: link state change event
Done

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

Port 1: link state change event
Done

Shutting down port 1...
Closing ports...
Done

Bye...
30/05/2020 01:17:01                  TestBlackList: Test Case test_bl_oneportblacklisted Begin
30/05/2020 01:17:01             dut.10.240.183.197: 
30/05/2020 01:17:01                         tester: 
30/05/2020 01:17:01             dut.10.240.183.197: kill_all: called by dut and prefix list has value.
30/05/2020 01:17:01             dut.10.240.183.197: There are some dpdk process not free hugepage
30/05/2020 01:17:01             dut.10.240.183.197: **************************************
30/05/2020 01:17:01             dut.10.240.183.197: lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/385/gvfs
      Output information may be incomplete.
30/05/2020 01:17:01             dut.10.240.183.197: **************************************
30/05/2020 01:17:01             dut.10.240.183.197: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4  -b 0000:86:00.0 --file-prefix=dpdk_13436_20200530011622    -- -i 
30/05/2020 01:17:02             dut.10.240.183.197: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_13436_20200530011622/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: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.1 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=155456, 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)
Port 0: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
30/05/2020 01:17:12                  TestBlackList: Test Case test_bl_oneportblacklisted Result ERROR: Traceback (most recent call last):
  File "/home/autoregression/zhangxi/framework/test_case.py", line 316, in _execute_test_case
    case_obj()
  File "tests/TestSuite_blacklist.py", line 100, in test_bl_oneportblacklisted
    self.check_blacklisted_ports(out, self.ports[1:])
  File "tests/TestSuite_blacklist.py", line 75, in check_blacklisted_ports
    port_pci)
NameError: name 'port_pci' is not defined

30/05/2020 01:17:12             dut.10.240.183.197: quit
30/05/2020 01:17:13             dut.10.240.183.197: quit

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

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

Bye...
30/05/2020 01:17:13                            dts: 
TEST SUITE ENDED: TestBlackList
30/05/2020 01:21:19                            dts: 
TEST SUITE : TestBlackList
30/05/2020 01:21:19                            dts: NIC :        fortville_25g
30/05/2020 01:21:19             dut.10.240.183.197: 
30/05/2020 01:21:19                         tester: 
30/05/2020 01:21:19                  TestBlackList: Test Case test_bl_allbutoneportblacklisted Begin
30/05/2020 01:21:19             dut.10.240.183.197: 
30/05/2020 01:21:19                         tester: 
30/05/2020 01:21:19             dut.10.240.183.197: kill_all: called by dut and has no prefix list.
30/05/2020 01:21:20             dut.10.240.183.197: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4  -b 0000:86:00.0 --file-prefix=dpdk_13673_20200530012105    -- -i 
30/05/2020 01:21:20             dut.10.240.183.197: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_13673_20200530012105/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: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.1 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=155456, 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)
Port 0: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
30/05/2020 01:21:30                  TestBlackList: Test Case test_bl_allbutoneportblacklisted Result PASSED:
30/05/2020 01:21:30             dut.10.240.183.197: quit
30/05/2020 01:21:31             dut.10.240.183.197: quit

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

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

Bye...
30/05/2020 01:21:31                  TestBlackList: Test Case test_bl_noblacklisted Begin
30/05/2020 01:21:31             dut.10.240.183.197: 
30/05/2020 01:21:31                         tester: 
30/05/2020 01:21:31             dut.10.240.183.197: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4 -w 0000:86:00.0 -w 0000:86:00.1  --file-prefix=dpdk_13673_20200530012105   -- -i 
30/05/2020 01:21:32             dut.10.240.183.197: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_13673_20200530012105/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: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.0 (socket 1)
EAL: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.1 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=155456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
30/05/2020 01:21:42                  TestBlackList: Test Case test_bl_noblacklisted Result PASSED:
30/05/2020 01:21:42             dut.10.240.183.197: quit
30/05/2020 01:21:43             dut.10.240.183.197: quit

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

Stopping port 1...
Stopping ports...

Port 0: link state change event
Done

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

Port 1: link state change event
Done

Shutting down port 1...
Closing ports...
Done

Bye...
30/05/2020 01:21:43                  TestBlackList: Test Case test_bl_oneportblacklisted Begin
30/05/2020 01:21:43             dut.10.240.183.197: 
30/05/2020 01:21:43                         tester: 
30/05/2020 01:21:43             dut.10.240.183.197: kill_all: called by dut and prefix list has value.
30/05/2020 01:21:44             dut.10.240.183.197: There are some dpdk process not free hugepage
30/05/2020 01:21:44             dut.10.240.183.197: **************************************
30/05/2020 01:21:44             dut.10.240.183.197: lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/385/gvfs
      Output information may be incomplete.
30/05/2020 01:21:44             dut.10.240.183.197: **************************************
30/05/2020 01:21:44             dut.10.240.183.197: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4  -b 0000:86:00.0 --file-prefix=dpdk_13673_20200530012105    -- -i 
30/05/2020 01:21:45             dut.10.240.183.197: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_13673_20200530012105/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: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.1 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=155456, 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)
Port 0: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
30/05/2020 01:21:55                  TestBlackList: Test Case test_bl_oneportblacklisted Result PASSED:
30/05/2020 01:21:55             dut.10.240.183.197: quit
30/05/2020 01:21:56             dut.10.240.183.197: quit

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

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

Bye...
30/05/2020 01:21:56                            dts: 
TEST SUITE ENDED: TestBlackList
30/05/2020 01:22:39                            dts: 
TEST SUITE : TestBlackList
30/05/2020 01:22:39                            dts: NIC :        fortville_25g
30/05/2020 01:22:39             dut.10.240.183.197: 
30/05/2020 01:22:39                         tester: 
30/05/2020 01:22:39                  TestBlackList: Test Case test_bl_allbutoneportblacklisted Begin
30/05/2020 01:22:39             dut.10.240.183.197: 
30/05/2020 01:22:39                         tester: 
30/05/2020 01:22:39             dut.10.240.183.197: kill_all: called by dut and has no prefix list.
30/05/2020 01:22:40             dut.10.240.183.197: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4  -b 0000:86:00.0 --file-prefix=dpdk_13895_20200530012225    -- -i 
30/05/2020 01:22:40             dut.10.240.183.197: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_13895_20200530012225/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: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.1 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=155456, 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)
Port 0: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
30/05/2020 01:22:50                  TestBlackList: Test Case test_bl_allbutoneportblacklisted Result PASSED:
30/05/2020 01:22:50             dut.10.240.183.197: quit
30/05/2020 01:22:51             dut.10.240.183.197: quit

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

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

Bye...
30/05/2020 01:22:51                  TestBlackList: Test Case test_bl_noblacklisted Begin
30/05/2020 01:22:51             dut.10.240.183.197: 
30/05/2020 01:22:51                         tester: 
30/05/2020 01:22:51             dut.10.240.183.197: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4 -w 0000:86:00.0 -w 0000:86:00.1  --file-prefix=dpdk_13895_20200530012225   -- -i 
30/05/2020 01:22:52             dut.10.240.183.197: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_13895_20200530012225/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: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.0 (socket 1)
EAL: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.1 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=155456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
30/05/2020 01:23:02                  TestBlackList: Test Case test_bl_noblacklisted Result PASSED:
30/05/2020 01:23:02             dut.10.240.183.197: quit
30/05/2020 01:23:03             dut.10.240.183.197: quit

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

Stopping port 1...
Stopping ports...

Port 0: link state change event
Done

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

Port 1: link state change event
Done

Shutting down port 1...
Closing ports...
Done

Bye...
30/05/2020 01:23:03                  TestBlackList: Test Case test_bl_oneportblacklisted Begin
30/05/2020 01:23:03             dut.10.240.183.197: 
30/05/2020 01:23:03                         tester: 
30/05/2020 01:23:03             dut.10.240.183.197: kill_all: called by dut and prefix list has value.
30/05/2020 01:23:04             dut.10.240.183.197: There are some dpdk process not free hugepage
30/05/2020 01:23:04             dut.10.240.183.197: **************************************
30/05/2020 01:23:04             dut.10.240.183.197: lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/385/gvfs
      Output information may be incomplete.
30/05/2020 01:23:04             dut.10.240.183.197: **************************************
30/05/2020 01:23:04             dut.10.240.183.197: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4  -b 0000:86:00.0 --file-prefix=dpdk_13895_20200530012225    -- -i 
30/05/2020 01:23:05             dut.10.240.183.197: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_13895_20200530012225/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: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.1 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=155456, 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)
Port 0: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
30/05/2020 01:23:15                  TestBlackList: Test Case test_bl_oneportblacklisted Result PASSED:
30/05/2020 01:23:15             dut.10.240.183.197: quit
30/05/2020 01:23:15             dut.10.240.183.197: quit

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

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

Bye...
30/05/2020 01:23:15                            dts: 
TEST SUITE ENDED: TestBlackList

  reply	other threads:[~2020-05-29  9:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-29  9:10 xizhan4x
2020-05-29  9:13 ` Zhang, XiX [this message]
2020-06-01  3:25 ` 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=E22AF82976AEF646B9B29E4604B9BED504CA76CE@CDSMSX102.ccr.corp.intel.com \
    --to=xix.zhang@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).