test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/TestSuite_blacklist:Modify the verification method of blacklist equipment
@ 2020-05-14  2:56 xizhan4x
  2020-05-14  3:03 ` Zhang, XiX
  2020-05-19  1:57 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: xizhan4x @ 2020-05-14  2:56 UTC (permalink / raw)
  To: dts; +Cc: xizhan4x



Echo changes after testpmd starts,Modify the verification method of blacklist equipment

Signed-off-by: xizhan4x <xix.zhang@intel.com>
---
 tests/TestSuite_blacklist.py | 22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

diff --git a/tests/TestSuite_blacklist.py b/tests/TestSuite_blacklist.py
index eb56759..64360bb 100644
--- a/tests/TestSuite_blacklist.py
+++ b/tests/TestSuite_blacklist.py
@@ -36,6 +36,7 @@ Test device blacklisting.
 import utils
 from test_case import TestCase
 from pmd_output import PmdOutput
+from settings import DRIVERS
 
 class TestBlackList(TestCase):
     def set_up_all(self):
@@ -48,11 +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('-')
-
-        if self.env == 'bsdapp':
-            self.regexp_blacklisted_port = "EAL: PCI device 0000:%02x:%s on NUMA socket [-0-9]+[^\n]*\nEAL:   Device is blacklisted, not initializing"
-        else:
-            self.regexp_blacklisted_port = "EAL: PCI device %s on NUMA socket [-0-9]+[^\n]*\nEAL:   Device is blacklisted, not initializing"
+        self.regexp_blacklisted_port = "Probe PCI driver: net_%s \(%s\) device: %s \(socket [-0-9]+\)"
         self.pmdout = PmdOutput(self.dut)
 
     def set_up(self):
@@ -73,17 +70,18 @@ class TestBlackList(TestCase):
             # Look for the PCI ID of each card followed by
             # "Device is blacklisted, not initializing" but avoid to consume more
             # than one device.
-            if self.env == 'bsdapp':
-                pci = self.dut.ports_info[port]['pci']
-                regexp_blacklisted_port = self.regexp_blacklisted_port % (int(pci.split(':')[0], 16), pci.split(':')[1])
-            else:
-                regexp_blacklisted_port = self.regexp_blacklisted_port % self.dut.ports_info[port]['pci']
+            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)
             matching_ports = utils.regexp(output, regexp_blacklisted_port, True)
             if blacklisted:
-                self.verify(len(matching_ports) == 1,
+                self.verify(len(matching_ports) == 0,
                             "Blacklisted port is being initialized")
             else:
-                self.verify(len(matching_ports) == 0,
+                self.verify(len(matching_ports) == 1,
                             "Not blacklisted port is being blacklisted")
 
     def test_bl_noblacklisted(self):
-- 
2.17.2


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

* Re: [dts] [PATCH V1] tests/TestSuite_blacklist:Modify the verification method of blacklist equipment
  2020-05-14  2:56 [dts] [PATCH V1] tests/TestSuite_blacklist:Modify the verification method of blacklist equipment xizhan4x
@ 2020-05-14  3:03 ` Zhang, XiX
  2020-05-19  1:57 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Zhang, XiX @ 2020-05-14  3:03 UTC (permalink / raw)
  To: dts

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

Tested-by:xix.zhang@intel.com

-----Original Message-----
From: Zhang, XiX 
Sent: Thursday, May 14, 2020 10:57 AM
To: dts@dpdk.org
Cc: Zhang, XiX <xix.zhang@intel.com>
Subject: [dts][PATCH V1] tests/TestSuite_blacklist:Modify the verification method of blacklist equipment



Echo changes after testpmd starts,Modify the verification method of blacklist equipment

Signed-off-by: xizhan4x <xix.zhang@intel.com>
---
 tests/TestSuite_blacklist.py | 22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

diff --git a/tests/TestSuite_blacklist.py b/tests/TestSuite_blacklist.py index eb56759..64360bb 100644
--- a/tests/TestSuite_blacklist.py
+++ b/tests/TestSuite_blacklist.py
@@ -36,6 +36,7 @@ Test device blacklisting.
 import utils
 from test_case import TestCase
 from pmd_output import PmdOutput
+from settings import DRIVERS
 
 class TestBlackList(TestCase):
     def set_up_all(self):
@@ -48,11 +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('-')
-
-        if self.env == 'bsdapp':
-            self.regexp_blacklisted_port = "EAL: PCI device 0000:%02x:%s on NUMA socket [-0-9]+[^\n]*\nEAL:   Device is blacklisted, not initializing"
-        else:
-            self.regexp_blacklisted_port = "EAL: PCI device %s on NUMA socket [-0-9]+[^\n]*\nEAL:   Device is blacklisted, not initializing"
+        self.regexp_blacklisted_port = "Probe PCI driver: net_%s \(%s\) device: %s \(socket [-0-9]+\)"
         self.pmdout = PmdOutput(self.dut)
 
     def set_up(self):
@@ -73,17 +70,18 @@ class TestBlackList(TestCase):
             # Look for the PCI ID of each card followed by
             # "Device is blacklisted, not initializing" but avoid to consume more
             # than one device.
-            if self.env == 'bsdapp':
-                pci = self.dut.ports_info[port]['pci']
-                regexp_blacklisted_port = self.regexp_blacklisted_port % (int(pci.split(':')[0], 16), pci.split(':')[1])
-            else:
-                regexp_blacklisted_port = self.regexp_blacklisted_port % self.dut.ports_info[port]['pci']
+            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)
             matching_ports = utils.regexp(output, regexp_blacklisted_port, True)
             if blacklisted:
-                self.verify(len(matching_ports) == 1,
+                self.verify(len(matching_ports) == 0,
                             "Blacklisted port is being initialized")
             else:
-                self.verify(len(matching_ports) == 0,
+                self.verify(len(matching_ports) == 1,
                             "Not blacklisted port is being blacklisted")
 
     def test_bl_noblacklisted(self):
--
2.17.2


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

13/05/2020 20:01:26                            dts: 
TEST SUITE : TestBlackList
13/05/2020 20:01:26                            dts: NIC :        fortville_eagle
13/05/2020 20:01:26             dut.10.240.183.134: 
13/05/2020 20:01:26                         tester: 
13/05/2020 20:01:26                  TestBlackList: Test Case test_bl_allbutoneportblacklisted Begin
13/05/2020 20:01:26             dut.10.240.183.134: 
13/05/2020 20:01:26                         tester: 
13/05/2020 20:01:26             dut.10.240.183.134: kill_all: called by dut and has no prefix list.
13/05/2020 20:01:27             dut.10.240.183.134: ./x86_64-native-bsdapp-gcc/app/testpmd -l 1,2 -n 4  -b 84:00.0    -- -i 
13/05/2020 20:01:28             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:0x540000000, len 1073741824
EAL: Mapped memory segment 1 @ 0x10c0000000: physaddr:0x340000000, len 1073741824
EAL: Mapped memory segment 2 @ 0x1140000000: physaddr:0x580000000, len 1073741824
EAL: Mapped memory segment 3 @ 0x11c0000000: physaddr:0x3c0000000, 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
No telemetry legacy support - 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
13/05/2020 20:01:38                  TestBlackList: Test Case test_bl_allbutoneportblacklisted Result FAILED: 'Blacklisted port is being initialized'
13/05/2020 20:01:38             dut.10.240.183.134: quit
13/05/2020 20:01:39             dut.10.240.183.134: quit

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

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

Bye...
13/05/2020 20:01:39                  TestBlackList: Test Case test_bl_noblacklisted Begin
13/05/2020 20:01:39             dut.10.240.183.134: 
13/05/2020 20:01:39                         tester: 
13/05/2020 20:01:39             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 
13/05/2020 20:01:41             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:0x540000000, len 1073741824
EAL: Mapped memory segment 1 @ 0x10c0000000: physaddr:0x340000000, len 1073741824
EAL: Mapped memory segment 2 @ 0x1140000000: physaddr:0x580000000, len 1073741824
EAL: Mapped memory segment 3 @ 0x11c0000000: physaddr:0x3c0000000, 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)
No telemetry legacy support - 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
13/05/2020 20:01:51                  TestBlackList: Test Case test_bl_noblacklisted Result PASSED:
13/05/2020 20:01:51             dut.10.240.183.134: quit
13/05/2020 20:01:52             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...
13/05/2020 20:01:52                  TestBlackList: Test Case test_bl_oneportblacklisted Begin
13/05/2020 20:01:52             dut.10.240.183.134: 
13/05/2020 20:01:52                         tester: 
13/05/2020 20:01:52             dut.10.240.183.134: kill_all: called by dut and has no prefix list.
13/05/2020 20:01:53             dut.10.240.183.134: There are some dpdk process not free hugepage
13/05/2020 20:01:53             dut.10.240.183.134: **************************************
13/05/2020 20:01:53             dut.10.240.183.134: lsof: WARNING: compiled for FreeBSD release 12.1-RELEASE-p3; this is 12.1-RELEASE.
13/05/2020 20:01:53             dut.10.240.183.134: **************************************
13/05/2020 20:01:53             dut.10.240.183.134: ./x86_64-native-bsdapp-gcc/app/testpmd -l 1,2 -n 4  -b 84:00.0    -- -i 
13/05/2020 20:01:55             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:0x540000000, len 1073741824
EAL: Mapped memory segment 1 @ 0x10c0000000: physaddr:0x340000000, len 1073741824
EAL: Mapped memory segment 2 @ 0x1140000000: physaddr:0x580000000, len 1073741824
EAL: Mapped memory segment 3 @ 0x11c0000000: physaddr:0x3c0000000, 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
No telemetry legacy support - 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
13/05/2020 20:02:05                  TestBlackList: Test Case test_bl_oneportblacklisted Result PASSED:
13/05/2020 20:02:05             dut.10.240.183.134: quit
13/05/2020 20:02:05             dut.10.240.183.134: quit

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

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

Bye...
13/05/2020 20:02:05                            dts: 
TEST SUITE ENDED: TestBlackList
14/05/2020 10:23:53                            dts: 
TEST SUITE : TestBlackList
14/05/2020 10:23:53                            dts: NIC :        niantic
14/05/2020 10:23:53             dut.10.240.183.134: 
14/05/2020 10:23:53                         tester: 
14/05/2020 10:23:53                  TestBlackList: Test Case test_bl_allbutoneportblacklisted Begin
14/05/2020 10:23:53             dut.10.240.183.134: 
14/05/2020 10:23:53                         tester: 
14/05/2020 10:23:53             dut.10.240.183.134: kill_all: called by dut and has no prefix list.
14/05/2020 10:23:54             dut.10.240.183.134: ./x86_64-native-bsdapp-clang/app/testpmd -l 1,2 -n 4  -b 87:00.0    -- -i 
14/05/2020 10:23:56             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:0x640000000, len 1073741824
EAL: Mapped memory segment 1 @ 0x10c0000000: physaddr:0x240000000, len 1073741824
EAL: Mapped memory segment 2 @ 0x1140000000: physaddr:0x680000000, len 1073741824
EAL: Mapped memory segment 3 @ 0x11c0000000: physaddr:0x280000000, 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:   0000:84:00.0 not managed by UIO driver, skipping
EAL:   0000:84:00.1 not managed by UIO driver, skipping
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:87:00.1 (socket 0)
No telemetry legacy support - 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: 90:E2:BA:AC:6D:F5
Checking link statuses...
Done
14/05/2020 10:24:06                  TestBlackList: Test Case test_bl_allbutoneportblacklisted Result FAILED: 'Blacklisted port is being initialized'
14/05/2020 10:24:06             dut.10.240.183.134: quit
14/05/2020 10:24:07             dut.10.240.183.134: quit

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

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

Bye...
14/05/2020 10:24:07                  TestBlackList: Test Case test_bl_noblacklisted Begin
14/05/2020 10:24:07             dut.10.240.183.134: 
14/05/2020 10:24:07                         tester: 
14/05/2020 10:24:07             dut.10.240.183.134: ./x86_64-native-bsdapp-clang/app/testpmd -l 1,2 -n 4 -w 87:00.0 -w 87:00.1    -- -i 
14/05/2020 10:24:11             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:0x640000000, len 1073741824
EAL: Mapped memory segment 1 @ 0x10c0000000: physaddr:0x240000000, len 1073741824
EAL: Mapped memory segment 2 @ 0x1140000000: physaddr:0x680000000, len 1073741824
EAL: Mapped memory segment 3 @ 0x11c0000000: physaddr:0x280000000, len 1073741824
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:87:00.0 (socket 0)
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:87:00.1 (socket 0)
No telemetry legacy support - 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: 90:E2:BA:AC:6D:F4
Configuring Port 1 (socket 0)
Port 1: 90:E2:BA:AC:6D:F5
Checking link statuses...
Done
14/05/2020 10:24:21                  TestBlackList: Test Case test_bl_noblacklisted Result PASSED:
14/05/2020 10:24:21             dut.10.240.183.134: quit
14/05/2020 10:24:22             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...
14/05/2020 10:24:22                  TestBlackList: Test Case test_bl_oneportblacklisted Begin
14/05/2020 10:24:22             dut.10.240.183.134: 
14/05/2020 10:24:22                         tester: 
14/05/2020 10:24:22             dut.10.240.183.134: kill_all: called by dut and has no prefix list.
14/05/2020 10:24:23             dut.10.240.183.134: There are some dpdk process not free hugepage
14/05/2020 10:24:23             dut.10.240.183.134: **************************************
14/05/2020 10:24:23             dut.10.240.183.134: lsof: WARNING: compiled for FreeBSD release 12.1-RELEASE-p3; this is 12.1-RELEASE.
14/05/2020 10:24:23             dut.10.240.183.134: **************************************
14/05/2020 10:24:23             dut.10.240.183.134: ./x86_64-native-bsdapp-clang/app/testpmd -l 1,2 -n 4  -b 87:00.0    -- -i 
14/05/2020 10:24:25             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:0x640000000, len 1073741824
EAL: Mapped memory segment 1 @ 0x10c0000000: physaddr:0x240000000, len 1073741824
EAL: Mapped memory segment 2 @ 0x1140000000: physaddr:0x680000000, len 1073741824
EAL: Mapped memory segment 3 @ 0x11c0000000: physaddr:0x280000000, 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:   0000:84:00.0 not managed by UIO driver, skipping
EAL:   0000:84:00.1 not managed by UIO driver, skipping
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:87:00.1 (socket 0)
No telemetry legacy support - 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: 90:E2:BA:AC:6D:F5
Checking link statuses...
Done
14/05/2020 10:24:35                  TestBlackList: Test Case test_bl_oneportblacklisted Result PASSED:
14/05/2020 10:24:35             dut.10.240.183.134: quit
14/05/2020 10:24:36             dut.10.240.183.134: quit

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

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

Bye...
14/05/2020 10:24:36                            dts: 
TEST SUITE ENDED: TestBlackList
14/05/2020 10:25:22                            dts: 
TEST SUITE : TestBlackList
14/05/2020 10:25:22                            dts: NIC :        niantic
14/05/2020 10:25:22             dut.10.240.183.134: 
14/05/2020 10:25:22                         tester: 
14/05/2020 10:25:22                  TestBlackList: Rerun Test Case test_bl_allbutoneportblacklisted Begin
14/05/2020 10:25:27                  TestBlackList: Rerun Test Case test_bl_allbutoneportblacklisted Begin
14/05/2020 10:25:27                  TestBlackList: Test Case test_bl_allbutoneportblacklisted Begin
14/05/2020 10:25:27             dut.10.240.183.134: 
14/05/2020 10:25:27                         tester: 
14/05/2020 10:25:27             dut.10.240.183.134: kill_all: called by dut and has no prefix list.
14/05/2020 10:25:28             dut.10.240.183.134: ./x86_64-native-bsdapp-clang/app/testpmd -l 1,2 -n 4  -b 87:00.0    -- -i 
14/05/2020 10:25:30             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:0x6c0000000, len 1073741824
EAL: Mapped memory segment 1 @ 0x10c0000000: physaddr:0x2c0000000, len 1073741824
EAL: Mapped memory segment 2 @ 0x1140000000: physaddr:0x700000000, len 1073741824
EAL: Mapped memory segment 3 @ 0x11c0000000: physaddr:0x300000000, 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:   0000:84:00.0 not managed by UIO driver, skipping
EAL:   0000:84:00.1 not managed by UIO driver, skipping
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:87:00.1 (socket 0)
No telemetry legacy support - 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: 90:E2:BA:AC:6D:F5
Checking link statuses...
Done
14/05/2020 10:25:40                  TestBlackList: Test Case test_bl_allbutoneportblacklisted Result FAILED: 'Blacklisted port is being initialized'
14/05/2020 10:25:40             dut.10.240.183.134: quit
14/05/2020 10:25:41             dut.10.240.183.134: quit

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

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

Bye...
14/05/2020 10:26:40                  TestBlackList: Rerun Test Case test_bl_noblacklisted Begin
14/05/2020 10:26:42                  TestBlackList: Rerun Test Case test_bl_oneportblacklisted Begin
14/05/2020 10:26:43                            dts: 
TEST SUITE ENDED: TestBlackList
14/05/2020 10:28:49                            dts: 
TEST SUITE : TestBlackList
14/05/2020 10:28:49                            dts: NIC :        niantic
14/05/2020 10:28:49             dut.10.240.183.134: 
14/05/2020 10:28:49                         tester: 
14/05/2020 10:28:49                  TestBlackList: Rerun Test Case test_bl_allbutoneportblacklisted Begin
14/05/2020 10:28:55                  TestBlackList: Rerun Test Case test_bl_allbutoneportblacklisted Begin
14/05/2020 10:28:55                  TestBlackList: Test Case test_bl_allbutoneportblacklisted Begin
14/05/2020 10:28:55             dut.10.240.183.134: 
14/05/2020 10:28:55                         tester: 
14/05/2020 10:28:55             dut.10.240.183.134: kill_all: called by dut and has no prefix list.
14/05/2020 10:28:56             dut.10.240.183.134: ./x86_64-native-bsdapp-clang/app/testpmd -l 1,2 -n 4  -b 87:00.0    -- -i 
14/05/2020 10:28:58             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:0x340000000, len 1073741824
EAL: Mapped memory segment 1 @ 0x10c0000000: physaddr:0x740000000, len 1073741824
EAL: Mapped memory segment 2 @ 0x1140000000: physaddr:0x380000000, len 1073741824
EAL: Mapped memory segment 3 @ 0x11c0000000: physaddr:0x780000000, 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:   0000:84:00.0 not managed by UIO driver, skipping
EAL:   0000:84:00.1 not managed by UIO driver, skipping
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:87:00.1 (socket 0)
No telemetry legacy support - 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: 90:E2:BA:AC:6D:F5
Checking link statuses...
Done
14/05/2020 10:29:08                  TestBlackList: Test Case test_bl_allbutoneportblacklisted Result PASSED:
14/05/2020 10:29:08             dut.10.240.183.134: quit
14/05/2020 10:29:09             dut.10.240.183.134: quit

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

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

Bye...
14/05/2020 10:29:11                  TestBlackList: Rerun Test Case test_bl_noblacklisted Begin
14/05/2020 10:29:14                  TestBlackList: Rerun Test Case test_bl_noblacklisted Begin
14/05/2020 10:29:14                  TestBlackList: Test Case test_bl_noblacklisted Begin
14/05/2020 10:29:15             dut.10.240.183.134: 
14/05/2020 10:29:15                         tester: 
14/05/2020 10:29:15             dut.10.240.183.134: ./x86_64-native-bsdapp-clang/app/testpmd -l 1,2 -n 4 -w 87:00.0 -w 87:00.1    -- -i 
14/05/2020 10:29:17             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:0x340000000, len 1073741824
EAL: Mapped memory segment 1 @ 0x10c0000000: physaddr:0x740000000, len 1073741824
EAL: Mapped memory segment 2 @ 0x1140000000: physaddr:0x380000000, len 1073741824
EAL: Mapped memory segment 3 @ 0x11c0000000: physaddr:0x780000000, len 1073741824
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:87:00.0 (socket 0)
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:87:00.1 (socket 0)
No telemetry legacy support - 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: 90:E2:BA:AC:6D:F4
Configuring Port 1 (socket 0)
Port 1: 90:E2:BA:AC:6D:F5
Checking link statuses...
Done
14/05/2020 10:29:27                  TestBlackList: Test Case test_bl_noblacklisted Result FAILED: 'Not blacklisted port is being blacklisted'
14/05/2020 10:29:27             dut.10.240.183.134: quit
14/05/2020 10:29:28             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...
14/05/2020 10:29:51                  TestBlackList: Rerun Test Case test_bl_oneportblacklisted Begin
14/05/2020 10:29:51                            dts: 
TEST SUITE ENDED: TestBlackList
14/05/2020 10:31:37                            dts: 
TEST SUITE : TestBlackList
14/05/2020 10:31:37                            dts: NIC :        niantic
14/05/2020 10:31:37             dut.10.240.183.134: 
14/05/2020 10:31:38                         tester: 
14/05/2020 10:31:38                  TestBlackList: Test Case test_bl_allbutoneportblacklisted Begin
14/05/2020 10:31:38             dut.10.240.183.134: 
14/05/2020 10:31:38                         tester: 
14/05/2020 10:31:38             dut.10.240.183.134: kill_all: called by dut and has no prefix list.
14/05/2020 10:31:38             dut.10.240.183.134: ./x86_64-native-bsdapp-clang/app/testpmd -l 1,2 -n 4  -b 87:00.0    -- -i 
14/05/2020 10:31:41             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:0x7c0000000, len 1073741824
EAL: Mapped memory segment 1 @ 0x10c0000000: physaddr:0x3c0000000, len 1073741824
EAL: Mapped memory segment 2 @ 0x1140000000: physaddr:0x480000000, len 1073741824
EAL: Mapped memory segment 3 @ 0x11c0000000: physaddr:0x400000000, 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:   0000:84:00.0 not managed by UIO driver, skipping
EAL:   0000:84:00.1 not managed by UIO driver, skipping
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:87:00.1 (socket 0)
No telemetry legacy support - 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: 90:E2:BA:AC:6D:F5
Checking link statuses...
Done
14/05/2020 10:40:00                  TestBlackList: Test Case test_bl_allbutoneportblacklisted Result ERROR: Traceback (most recent call last):
  File "/home/autoregression/huangzhimin/dts/framework/test_case.py", line 316, in _execute_test_case
    case_obj()
  File "tests/TestSuite_blacklist.py", line 114, in test_bl_allbutoneportblacklisted
    ports_to_blacklist, True)
  File "tests/TestSuite_blacklist.py", line 78, in check_blacklisted_ports
    if blacklisted:
  File "tests/TestSuite_blacklist.py", line 78, in check_blacklisted_ports
    if blacklisted:
  File "/usr/lib/python3.6/bdb.py", line 51, in trace_dispatch
    return self.dispatch_line(frame)
  File "/usr/lib/python3.6/bdb.py", line 70, in dispatch_line
    if self.quitting: raise BdbQuit
bdb.BdbQuit

14/05/2020 10:40:00             dut.10.240.183.134: quit
14/05/2020 10:40:01             dut.10.240.183.134: quit

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

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

Bye...
14/05/2020 10:40:01                  TestBlackList: Test Case test_bl_noblacklisted Begin
14/05/2020 10:40:01             dut.10.240.183.134: 
14/05/2020 10:40:01                         tester: 
14/05/2020 10:40:01             dut.10.240.183.134: ./x86_64-native-bsdapp-clang/app/testpmd -l 1,2 -n 4 -w 87:00.0 -w 87:00.1    -- -i 
14/05/2020 10:40:04                  TestBlackList: Test Case test_bl_noblacklisted SKIPPED: 
14/05/2020 10:40:04             dut.10.240.183.134: quit
14/05/2020 10:40:04             dut.10.240.183.134: quit
14/05/2020 10:40:04                            dts:  !!! STOPPING DTS
14/05/2020 10:40:04             dut.10.240.183.134: kill_all: called by dut and has no prefix list.
14/05/2020 11:02:21                            dts: 
TEST SUITE : TestBlackList
14/05/2020 11:02:21                            dts: NIC :        niantic
14/05/2020 11:02:21             dut.10.240.183.134: 
14/05/2020 11:02:21                         tester: 
14/05/2020 11:02:21                  TestBlackList: Test Case test_bl_allbutoneportblacklisted Begin
14/05/2020 11:02:21             dut.10.240.183.134: 
14/05/2020 11:02:22                         tester: 
14/05/2020 11:02:22             dut.10.240.183.134: kill_all: called by dut and has no prefix list.
14/05/2020 11:02:22             dut.10.240.183.134: ./x86_64-native-bsdapp-clang/app/testpmd -l 1,2 -n 4  -b 87:00.0    -- -i 
14/05/2020 11:02:24             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:0x600000000, len 1073741824
EAL: Mapped memory segment 1 @ 0x10c0000000: physaddr:0x200000000, len 1073741824
EAL: Mapped memory segment 2 @ 0x1140000000: physaddr:0x640000000, len 1073741824
EAL: Mapped memory segment 3 @ 0x11c0000000: physaddr:0x240000000, 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:   0000:84:00.0 not managed by UIO driver, skipping
EAL:   0000:84:00.1 not managed by UIO driver, skipping
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:87:00.1 (socket 0)
No telemetry legacy support - 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: 90:E2:BA:AC:6D:F5
Checking link statuses...
Done
14/05/2020 11:02:34                  TestBlackList: Test Case test_bl_allbutoneportblacklisted Result PASSED:
14/05/2020 11:02:34             dut.10.240.183.134: quit
14/05/2020 11:02:35             dut.10.240.183.134: quit

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

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

Bye...
14/05/2020 11:02:35                  TestBlackList: Test Case test_bl_noblacklisted Begin
14/05/2020 11:02:35             dut.10.240.183.134: 
14/05/2020 11:02:35                         tester: 
14/05/2020 11:02:35             dut.10.240.183.134: ./x86_64-native-bsdapp-clang/app/testpmd -l 1,2 -n 4 -w 87:00.0 -w 87:00.1    -- -i 
14/05/2020 11:02: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:0x600000000, len 1073741824
EAL: Mapped memory segment 1 @ 0x10c0000000: physaddr:0x200000000, len 1073741824
EAL: Mapped memory segment 2 @ 0x1140000000: physaddr:0x640000000, len 1073741824
EAL: Mapped memory segment 3 @ 0x11c0000000: physaddr:0x240000000, len 1073741824
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:87:00.0 (socket 0)
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:87:00.1 (socket 0)
No telemetry legacy support - 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: 90:E2:BA:AC:6D:F4
Configuring Port 1 (socket 0)
Port 1: 90:E2:BA:AC:6D:F5
Checking link statuses...
Done
14/05/2020 11:02:49                  TestBlackList: Test Case test_bl_noblacklisted Result FAILED: 'Not blacklisted port is being blacklisted'
14/05/2020 11:02:49             dut.10.240.183.134: quit
14/05/2020 11:02:49             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...
14/05/2020 11:02:49                  TestBlackList: Test Case test_bl_oneportblacklisted Begin
14/05/2020 11:02:49             dut.10.240.183.134: 
14/05/2020 11:02:50                         tester: 
14/05/2020 11:02:50             dut.10.240.183.134: kill_all: called by dut and has no prefix list.
14/05/2020 11:02:50             dut.10.240.183.134: There are some dpdk process not free hugepage
14/05/2020 11:02:50             dut.10.240.183.134: **************************************
14/05/2020 11:02:50             dut.10.240.183.134: lsof: WARNING: compiled for FreeBSD release 12.1-RELEASE-p3; this is 12.1-RELEASE.
14/05/2020 11:02:50             dut.10.240.183.134: **************************************
14/05/2020 11:02:50             dut.10.240.183.134: ./x86_64-native-bsdapp-clang/app/testpmd -l 1,2 -n 4  -b 87:00.0    -- -i 
14/05/2020 11:02:53             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:0x600000000, len 1073741824
EAL: Mapped memory segment 1 @ 0x10c0000000: physaddr:0x200000000, len 1073741824
EAL: Mapped memory segment 2 @ 0x1140000000: physaddr:0x640000000, len 1073741824
EAL: Mapped memory segment 3 @ 0x11c0000000: physaddr:0x240000000, 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:   0000:84:00.0 not managed by UIO driver, skipping
EAL:   0000:84:00.1 not managed by UIO driver, skipping
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:87:00.1 (socket 0)
No telemetry legacy support - 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: 90:E2:BA:AC:6D:F5
Checking link statuses...
Done
14/05/2020 11:03:03                  TestBlackList: Test Case test_bl_oneportblacklisted Result FAILED: 'Not blacklisted port is being blacklisted'
14/05/2020 11:03:03             dut.10.240.183.134: quit
14/05/2020 11:03:03             dut.10.240.183.134: quit

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

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

Bye...
14/05/2020 11:03:03                            dts: 
TEST SUITE ENDED: TestBlackList
14/05/2020 11:06:46                            dts: 
TEST SUITE : TestBlackList
14/05/2020 11:06:46                            dts: NIC :        niantic
14/05/2020 11:06:46             dut.10.240.183.134: 
14/05/2020 11:06:46                         tester: 
14/05/2020 11:06:46                  TestBlackList: Test Case test_bl_noblacklisted Begin
14/05/2020 11:06:46             dut.10.240.183.134: 
14/05/2020 11:06:46                         tester: 
14/05/2020 11:06:46             dut.10.240.183.134: ./x86_64-native-bsdapp-clang/app/testpmd -l 1,2 -n 4 -w 87:00.0 -w 87:00.1    -- -i 
14/05/2020 11:06:49             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:0x680000000, len 1073741824
EAL: Mapped memory segment 1 @ 0x10c0000000: physaddr:0x280000000, len 1073741824
EAL: Mapped memory segment 2 @ 0x1140000000: physaddr:0x6c0000000, len 1073741824
EAL: Mapped memory segment 3 @ 0x11c0000000: physaddr:0x2c0000000, len 1073741824
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:87:00.0 (socket 0)
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:87:00.1 (socket 0)
No telemetry legacy support - 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: 90:E2:BA:AC:6D:F4
Configuring Port 1 (socket 0)
Port 1: 90:E2:BA:AC:6D:F5
Checking link statuses...
Done
14/05/2020 11:21:01                  TestBlackList: Test Case test_bl_noblacklisted Result ERROR: Traceback (most recent call last):
  File "/home/autoregression/huangzhimin/dts/framework/test_case.py", line 316, in _execute_test_case
    case_obj()
  File "tests/TestSuite_blacklist.py", line 94, in test_bl_noblacklisted
    self.check_blacklisted_ports(out, self.ports)
  File "tests/TestSuite_blacklist.py", line 79, in check_blacklisted_ports
    if blacklisted:
  File "tests/TestSuite_blacklist.py", line 79, in check_blacklisted_ports
    if blacklisted:
  File "/usr/lib/python3.6/bdb.py", line 51, in trace_dispatch
    return self.dispatch_line(frame)
  File "/usr/lib/python3.6/bdb.py", line 70, in dispatch_line
    if self.quitting: raise BdbQuit
bdb.BdbQuit

14/05/2020 11:21:01             dut.10.240.183.134: quit
14/05/2020 11:21:02             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...
14/05/2020 11:21:02                            dts: 
TEST SUITE ENDED: TestBlackList
14/05/2020 11:30:32                            dts: 
TEST SUITE : TestBlackList
14/05/2020 11:30:32                            dts: NIC :        niantic
14/05/2020 11:30:33             dut.10.240.183.134: 
14/05/2020 11:30:33                         tester: 
14/05/2020 11:30:33                  TestBlackList: Test Case test_bl_noblacklisted Begin
14/05/2020 11:30:33             dut.10.240.183.134: 
14/05/2020 11:30:33                         tester: 
14/05/2020 11:30:33             dut.10.240.183.134: ./x86_64-native-bsdapp-clang/app/testpmd -l 1,2 -n 4 -w 87:00.0 -w 87:00.1    -- -i 
14/05/2020 11:30:36             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:0x700000000, len 1073741824
EAL: Mapped memory segment 1 @ 0x10c0000000: physaddr:0x300000000, len 1073741824
EAL: Mapped memory segment 2 @ 0x1140000000: physaddr:0x740000000, len 1073741824
EAL: Mapped memory segment 3 @ 0x11c0000000: physaddr:0x340000000, len 1073741824
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:87:00.0 (socket 0)
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:87:00.1 (socket 0)
No telemetry legacy support - 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: 90:E2:BA:AC:6D:F4
Configuring Port 1 (socket 0)
Port 1: 90:E2:BA:AC:6D:F5
Checking link statuses...
Done
14/05/2020 11:30:46                  TestBlackList: Test Case test_bl_noblacklisted Result PASSED:
14/05/2020 11:30:46             dut.10.240.183.134: quit
14/05/2020 11:30:47             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...
14/05/2020 11:30:47                            dts: 
TEST SUITE ENDED: TestBlackList
14/05/2020 11:31:38                            dts: 
TEST SUITE : TestBlackList
14/05/2020 11:31:38                            dts: NIC :        niantic
14/05/2020 11:31:38             dut.10.240.183.134: 
14/05/2020 11:31:38                         tester: 
14/05/2020 11:31:38                  TestBlackList: Test Case test_bl_allbutoneportblacklisted Begin
14/05/2020 11:31:38             dut.10.240.183.134: 
14/05/2020 11:31:39                         tester: 
14/05/2020 11:31:39             dut.10.240.183.134: kill_all: called by dut and has no prefix list.
14/05/2020 11:31:39             dut.10.240.183.134: ./x86_64-native-bsdapp-clang/app/testpmd -l 1,2 -n 4  -b 87:00.0    -- -i 
14/05/2020 11:31:42             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:0x780000000, len 1073741824
EAL: Mapped memory segment 1 @ 0x10c0000000: physaddr:0x380000000, len 1073741824
EAL: Mapped memory segment 2 @ 0x1140000000: physaddr:0x7c0000000, len 1073741824
EAL: Mapped memory segment 3 @ 0x11c0000000: physaddr:0x3c0000000, 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:   0000:84:00.0 not managed by UIO driver, skipping
EAL:   0000:84:00.1 not managed by UIO driver, skipping
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:87:00.1 (socket 0)
No telemetry legacy support - 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: 90:E2:BA:AC:6D:F5
Checking link statuses...
Done
14/05/2020 11:31:52                  TestBlackList: Test Case test_bl_allbutoneportblacklisted Result PASSED:
14/05/2020 11:31:52             dut.10.240.183.134: quit
14/05/2020 11:31:52             dut.10.240.183.134: quit

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

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

Bye...
14/05/2020 11:31:52                  TestBlackList: Test Case test_bl_noblacklisted Begin
14/05/2020 11:31:52             dut.10.240.183.134: 
14/05/2020 11:31:52                         tester: 
14/05/2020 11:31:52             dut.10.240.183.134: ./x86_64-native-bsdapp-clang/app/testpmd -l 1,2 -n 4 -w 87:00.0 -w 87:00.1    -- -i 
14/05/2020 11:31:56             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:0x780000000, len 1073741824
EAL: Mapped memory segment 1 @ 0x10c0000000: physaddr:0x380000000, len 1073741824
EAL: Mapped memory segment 2 @ 0x1140000000: physaddr:0x7c0000000, len 1073741824
EAL: Mapped memory segment 3 @ 0x11c0000000: physaddr:0x3c0000000, len 1073741824
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:87:00.0 (socket 0)
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:87:00.1 (socket 0)
No telemetry legacy support - 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: 90:E2:BA:AC:6D:F4
Configuring Port 1 (socket 0)
Port 1: 90:E2:BA:AC:6D:F5
Checking link statuses...
Done
14/05/2020 11:32:06                  TestBlackList: Test Case test_bl_noblacklisted Result PASSED:
14/05/2020 11:32:06             dut.10.240.183.134: quit
14/05/2020 11:32:07             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...
14/05/2020 11:32:07                  TestBlackList: Test Case test_bl_oneportblacklisted Begin
14/05/2020 11:32:07             dut.10.240.183.134: 
14/05/2020 11:32:07                         tester: 
14/05/2020 11:32:07             dut.10.240.183.134: kill_all: called by dut and has no prefix list.
14/05/2020 11:32:08             dut.10.240.183.134: There are some dpdk process not free hugepage
14/05/2020 11:32:08             dut.10.240.183.134: **************************************
14/05/2020 11:32:08             dut.10.240.183.134: lsof: WARNING: compiled for FreeBSD release 12.1-RELEASE-p3; this is 12.1-RELEASE.
14/05/2020 11:32:08             dut.10.240.183.134: **************************************
14/05/2020 11:32:08             dut.10.240.183.134: ./x86_64-native-bsdapp-clang/app/testpmd -l 1,2 -n 4  -b 87:00.0    -- -i 
14/05/2020 11:32:10             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:0x780000000, len 1073741824
EAL: Mapped memory segment 1 @ 0x10c0000000: physaddr:0x380000000, len 1073741824
EAL: Mapped memory segment 2 @ 0x1140000000: physaddr:0x7c0000000, len 1073741824
EAL: Mapped memory segment 3 @ 0x11c0000000: physaddr:0x3c0000000, 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:   0000:84:00.0 not managed by UIO driver, skipping
EAL:   0000:84:00.1 not managed by UIO driver, skipping
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:87:00.1 (socket 0)
No telemetry legacy support - 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: 90:E2:BA:AC:6D:F5
Checking link statuses...
Done
14/05/2020 11:32:20                  TestBlackList: Test Case test_bl_oneportblacklisted Result PASSED:
14/05/2020 11:32:20             dut.10.240.183.134: quit
14/05/2020 11:32:21             dut.10.240.183.134: quit

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

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

Bye...
14/05/2020 11:32:21                            dts: 
TEST SUITE ENDED: TestBlackList

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

* Re: [dts] [PATCH V1] tests/TestSuite_blacklist:Modify the verification method of blacklist equipment
  2020-05-14  2:56 [dts] [PATCH V1] tests/TestSuite_blacklist:Modify the verification method of blacklist equipment xizhan4x
  2020-05-14  3:03 ` Zhang, XiX
@ 2020-05-19  1:57 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-05-19  1:57 UTC (permalink / raw)
  To: Zhang, XiX, dts; +Cc: Zhang, XiX

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xizhan4x
> Sent: Thursday, May 14, 2020 10:57 AM
> To: dts@dpdk.org
> Cc: Zhang, XiX <xix.zhang@intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_blacklist:Modify the verification
> method of blacklist equipment
> 
> 
> 
> Echo changes after testpmd starts,Modify the verification method of blacklist
> equipment
> 
> Signed-off-by: xizhan4x <xix.zhang@intel.com>
> ---
>  tests/TestSuite_blacklist.py | 22 ++++++++++------------
>  1 file changed, 10 insertions(+), 12 deletions(-)
> 
> diff --git a/tests/TestSuite_blacklist.py b/tests/TestSuite_blacklist.py index
> eb56759..64360bb 100644
> --- a/tests/TestSuite_blacklist.py
> +++ b/tests/TestSuite_blacklist.py
> @@ -36,6 +36,7 @@ Test device blacklisting.
>  import utils
>  from test_case import TestCase
>  from pmd_output import PmdOutput
> +from settings import DRIVERS
> 
>  class TestBlackList(TestCase):
>      def set_up_all(self):
> @@ -48,11 +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('-')
> -
> -        if self.env == 'bsdapp':
> -            self.regexp_blacklisted_port = "EAL: PCI device 0000:%02x:%s on
> NUMA socket [-0-9]+[^\n]*\nEAL:   Device is blacklisted, not initializing"
> -        else:
> -            self.regexp_blacklisted_port = "EAL: PCI device %s on NUMA socket [-
> 0-9]+[^\n]*\nEAL:   Device is blacklisted, not initializing"
> +        self.regexp_blacklisted_port = "Probe PCI driver: net_%s \(%s\)
> device: %s \(socket [-0-9]+\)"
>          self.pmdout = PmdOutput(self.dut)
> 
>      def set_up(self):
> @@ -73,17 +70,18 @@ class TestBlackList(TestCase):
>              # Look for the PCI ID of each card followed by
>              # "Device is blacklisted, not initializing" but avoid to consume more
>              # than one device.
> -            if self.env == 'bsdapp':
> -                pci = self.dut.ports_info[port]['pci']
> -                regexp_blacklisted_port = self.regexp_blacklisted_port %
> (int(pci.split(':')[0], 16), pci.split(':')[1])
> -            else:
> -                regexp_blacklisted_port = self.regexp_blacklisted_port %
> self.dut.ports_info[port]['pci']
> +            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)
>              matching_ports = utils.regexp(output, regexp_blacklisted_port, True)
>              if blacklisted:
> -                self.verify(len(matching_ports) == 1,
> +                self.verify(len(matching_ports) == 0,
>                              "Blacklisted port is being initialized")
>              else:
> -                self.verify(len(matching_ports) == 0,
> +                self.verify(len(matching_ports) == 1,
>                              "Not blacklisted port is being blacklisted")
> 
>      def test_bl_noblacklisted(self):
> --
> 2.17.2


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

end of thread, other threads:[~2020-05-19  1:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-14  2:56 [dts] [PATCH V1] tests/TestSuite_blacklist:Modify the verification method of blacklist equipment xizhan4x
2020-05-14  3:03 ` Zhang, XiX
2020-05-19  1:57 ` 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).