Thanks Ales.

Acked-by: Mark Michelson <[email protected]>

Since this was already discussed during the upstream OVN IRC meeting, I went ahead and applied this to main, branch-23.03, branch-22.12, branch-22.09, branch-22.06, and branch-22.03.

On 2/27/23 02:32, Ales Musil wrote:
When we run the tests with address sanitizers enabled
the interconnection test consumes a lot of memory,
around 5 GB (on my env) per permutation. To prevent
any OOM kills on Github CI reduce the number of
zones and transit switches to 3 as this lowers
the memory consumption to around 2 GB per permutation.

Signed-off-by: Ales Musil <[email protected]>
---
  tests/ovn.at | 6 ++++--
  1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tests/ovn.at b/tests/ovn.at
index dc5c5df3f..778d2dbe0 100644
--- a/tests/ovn.at
+++ b/tests/ovn.at
@@ -25286,8 +25286,10 @@ AT_SETUP([interconnection])
  AT_KEYWORDS([slowtest])
ovn_init_ic_db
-n_az=5
-n_ts=5
+# The number needs to stay relatively low due to high memory consumption
+# with address sanitizers enabled.
+n_az=3
+n_ts=3
  for i in `seq 1 $n_az`; do
      ovn_start az$i
  done

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to