diff mbox series

[ovs-dev,v2,3/6] system-dpdk: Allow running the dpdk tests from a VM

Message ID 20180822133736.10768-4-aconole@redhat.com
State Changes Requested
Delegated to: Ian Stokes
Headers show
Series system-dpdk: add support to ping two namespaces | expand

Commit Message

Aaron Conole Aug. 22, 2018, 1:37 p.m. UTC
Some VM configurations result in CPU flags that cause warnings to be issued by
the DPDK libraries.  When these warnings are issued, the tests will fail.

This commit adds the unreliable tsc warning to the list of ignored warnings.

Signed-off-by: Aaron Conole <aconole@redhat.com>
---
 tests/system-dpdk.at | 3 +++
 1 file changed, 3 insertions(+)

Comments

Stokes, Ian Aug. 27, 2018, 11:25 a.m. UTC | #1
On 8/22/2018 2:37 PM, Aaron Conole wrote:
> Some VM configurations result in CPU flags that cause warnings to be issued by
> the DPDK libraries.  When these warnings are issued, the tests will fail.
> 
> This commit adds the unreliable tsc warning to the list of ignored warnings.

LGTM, tested and no issues found.

Ian
diff mbox series

Patch

diff --git a/tests/system-dpdk.at b/tests/system-dpdk.at
index c1c908411..723ba794f 100644
--- a/tests/system-dpdk.at
+++ b/tests/system-dpdk.at
@@ -11,6 +11,7 @@  AT_CHECK([grep "EAL" ovs-vswitchd.log], [], [stdout])
 AT_CHECK([grep "DPDK Enabled - initialized" ovs-vswitchd.log], [], [stdout])
 OVS_VSWITCHD_STOP(["/Global register is changed during/d
 /EAL:   Invalid NUMA socket, default to 0/d
+/EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable clock cycles !/d
 /EAL: No free hugepages reported in hugepages-1048576kB/d"])
 AT_CLEANUP
 dnl --------------------------------------------------------------------------
@@ -36,6 +37,7 @@  AT_CHECK([ovs-vsctl del-port br10 phy0], [], [stdout], [stderr])
 OVS_VSWITCHD_STOP("/does not exist. The Open vSwitch kernel module is probably not loaded./d
 /Failed to enable flow control/d
 /Global register is changed during/d
+/EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable clock cycles !/d
 /EAL: No free hugepages reported in hugepages-1048576kB/d
 ")
 AT_CLEANUP
@@ -68,6 +70,7 @@  OVS_VSWITCHD_STOP(["/does not exist. The Open vSwitch kernel module is probably
 /failed to connect to \/tmp\/dpdkvhostclient0: No such file or directory/d
 /Global register is changed during/d
 /EAL:   Invalid NUMA socket, default to 0/d
+/EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable clock cycles !/d
 /EAL: No free hugepages reported in hugepages-1048576kB/d"])
 AT_CLEANUP
 dnl --------------------------------------------------------------------------