[ovs-discuss] failing test MPLS xlate action

aserdean at ovn.org aserdean at ovn.org
Tue Aug 7 12:09:38 UTC 2018


Hi all,

I have a failing test:
455. mpls-xlate.at:3:  FAILED (mpls-xlate.at:133)
Because of:
ovs/tests/testsuite.dir/at-groups/455/stdout	2018-08-07 14:39:05 +0300
@@ -1,2 +1,2 @@
-Datapath actions: pop_mpls(eth_type=0x8847),pop_mpls(eth_type=0x800),recirc(0x7)
+Datapath actions: pop_mpls(eth_type=0x8847),pop_mpls(eth_type=0x800),recirc(0x6)

The underlying OS is Windows. It might be because spawning processes is slow.

I added the following diff:
diff --git a/tests/mpls-xlate.at b/tests/mpls-xlate.at
index ad3141c64..cae91c643 100644
--- a/tests/mpls-xlate.at
+++ b/tests/mpls-xlate.at
@@ -129,6 +129,7 @@ AT_CHECK([tail -1 stdout], [0],

 dnl Double MPLS pop
 AT_CHECK([ovs-appctl ofproto/trace ovs-dummy 'in_port(1),eth(src=f8:bc:12:44:34:b6,dst=f8:bc:12:46:58:e0),eth_type(0x8847),mpls(label=60,tc=0,ttl=64,bos=0,label=50,tc=0,ttl=64,bos=1)'], [0], [stdout])
+AT_CHECK([ovs-appctl ofproto/trace ovs-dummy 'in_port(1),eth(src=f8:bc:12:44:34:b6,dst=f8:bc:12:46:58:e0),eth_type(0x8847),mpls(label=60,tc=0,ttl=64,bos=0,label=50,tc=0,ttl=64,bos=1)'], [0], [stdout])
 AT_CHECK([tail -1 stdout], [0],
   [Datapath actions: pop_mpls(eth_type=0x8847),pop_mpls(eth_type=0x800),recirc(0x7)
 ])

And the test passed (for sure it is not the right solution 😊).

Any thoughts?

Thanks,
Alin.



More information about the discuss mailing list