diff mbox series

[ovs-dev] ovs: Bump submodule to newer version and add related test

Message ID 20220928133711.541281-1-xsimonar@redhat.com
State Superseded
Headers show
Series [ovs-dev] ovs: Bump submodule to newer version and add related test | expand

Checks

Context Check Description
ovsrobot/apply-robot success apply and check: success
ovsrobot/github-robot-_Build_and_Test fail github build: failed
ovsrobot/github-robot-_ovn-kubernetes fail github build: failed
ovsrobot/apply-robot fail apply and check: fail

Commit Message

Xavier Simonart Sept. 28, 2022, 1:37 p.m. UTC
Specifically for:
360f5b0e197d ("ovsdb-idl: Preserve references for rows deleted in same IDL as their insertion.")

A OVN test case reproducing the bug (issue when port_binding is added/deleted within the
same IDL) is also added.

Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=2126450

Signed-off-by: Xavier Simonart <xsimonar@redhat.com>
---
 ovs          |  2 +-
 tests/ovn.at | 29 +++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+), 1 deletion(-)

Comments

0-day Robot Oct. 6, 2022, 2 p.m. UTC | #1
Bleep bloop.  Greetings Xavier Simonart, I am a robot and I have tried out your patch.
Thanks for your contribution.

I encountered some error that I wasn't expecting.  See the details below.


git-am:
.git/rebase-apply/patch:49: new blank line at EOF.
+
warning: 1 line adds whitespace errors.
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 ovs: Bump submodule to newer version and add related test
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".


Please check this out.  If you feel there has been an error, please email aconole@redhat.com

Thanks,
0-day Robot
diff mbox series

Patch

diff --git a/ovs b/ovs
index 6f24c2bc7..360f5b0e1 160000
--- a/ovs
+++ b/ovs
@@ -1 +1 @@ 
-Subproject commit 6f24c2bc769afde0a390ce344de1a7d9c592e5a6
+Subproject commit 360f5b0e197d49a4de5811a45e020b000b230d20
diff --git a/tests/ovn.at b/tests/ovn.at
index 07f72dc31..739c09934 100644
--- a/tests/ovn.at
+++ b/tests/ovn.at
@@ -32946,3 +32946,32 @@  check ovn-nbctl --wait=hv sync
 OVN_CLEANUP([hv1])
 AT_CLEANUP
 ])
+
+OVN_FOR_EACH_NORTHD([
+AT_SETUP([ovn-controller: batch add port and delete port in same IDL])
+ovn_start
+net_add n1
+
+sim_add hv1
+as hv1
+ovs-vsctl add-br br-phys
+ovn_attach n1 br-phys 192.168.0.1
+check ovs-vsctl add-port br-int p1
+
+ovs-vsctl set interface p1 external-ids:iface-id=sw0-port1
+check ovn-nbctl --wait=hv sync
+ovn-appctl debug/pause
+OVS_WAIT_UNTIL([test x$(as hv1 ovn-appctl -t ovn-controller debug/status) = "xpaused"])
+
+ovn-nbctl ls-add sw0 -- lsp-add sw0 sw0-port1 -- lsp-set-addresses sw0-port1 "50:54:00:00:00:01 192.168.0.2"
+ovn-nbctl lsp-del sw0-port1
+
+ovn-appctl debug/resume
+check ovn-nbctl --wait=hv sync
+
+ovn-nbctl ls-del sw0
+check ovn-nbctl --wait=hv sync
+OVN_CLEANUP([hv1])
+AT_CLEANUP
+])
+