Skip to content

Commit 3571ccd

Browse files
almusildceara
authored andcommitted
tests: Ignore FDB transaction errors.
Some tests would fail from time to time on transaction error when two controllers try to add the same FDB into DB simultaneously. Ignore the transaction error during cleanup. Signed-off-by: Ales Musil <[email protected]> Acked-by: Xavier Simonart <[email protected]> Signed-off-by: Dumitru Ceara <[email protected]>
1 parent 0d1fc67 commit 3571ccd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/ovn-macros.at

+3
Original file line numberDiff line numberDiff line change
@@ -402,13 +402,16 @@ m4_define([OVN_CLEANUP_SBOX],[
402402
# "Failed to locate tunnel to reach main chassis" happening when controller started e.g. before ovn-bridge-mappings is set
403403
# "Transaction causes multiple rows in \"MAC_Binding\" table to have identical values"
404404
# happening as ovn-controller has a race condition over MAC binding table with other controllers (GARP).
405+
# "Transaction causes multiple rows in \"FDB\" table to have identical values"
406+
# happens when there is a race between multiple ovn-controllers that try to create the same FDB.
405407
AT_CHECK([check_logs "
406408
$error
407409
/connection failed (No such file or directory)/d
408410
/has no network name*/d
409411
/receive tunnel port not found*/d
410412
/Failed to locate tunnel to reach main chassis/d
411413
/Transaction causes multiple rows.*MAC_Binding/d
414+
/Transaction causes multiple rows.*FDB/d
412415
" $sbox])
413416
])
414417

0 commit comments

Comments
 (0)