On Mon, Mar 3, 2025 at 3:18 AM Xavier Simonart <[email protected]> wrote: > > Hi Numan > > Sorry for the trouble. > I am confused. It looks to me you applied a patch to fix an "interconnection" > ic test [1], and not the "multinode" test fix [2]. > When I triggered a manual run with the "multinode" test fix, it looked ok > [3], but of course the test could still be flaky.
Oh. My bad. Sorry for the noise. I applied this patch to the main and backported to branch-25.03. Numan > > [1] > https://patchwork.ozlabs.org/project/ovn/patch/[email protected]/ > [2] > https://patchwork.ozlabs.org/project/ovn/patch/[email protected]/ > [3] > https://github.com/simonartxavier/ovn/actions/runs/13563630713/job/37912095562 > > Thanks > Xavier > > On Fri, Feb 28, 2025 at 10:34 PM Numan Siddique <[email protected]> wrote: >> >> On Fri, Feb 28, 2025 at 9:47 AM Xavier Simonart <[email protected]> wrote: >> > >> > Fixes: 00e4f7823664 ("controller: Support migration of container ports.") >> > Signed-off-by: Xavier Simonart <[email protected]> >> >> Thanks Xavier. >> >> Looks like the test is still failing. >> >> I triggered the run here [1] and it fails >> >> [1] - https://github.com/numansiddique/ovn/actions/runs/13591991986 >> >> >> >> cat multinode-testsuite.dir/16/multinode-testsuite.log >> # -*- compilation -*- >> 16. multinode.at:2780: testing Migration of container ports ... >> m_as ovn-central-az1-1 ovn-nbctl --wait=sb sync >> ./ovn-macros.at:794: "$@" >> ./multinode-macros.at:100: m_as $c ovn-appctl -t ovn-controller version >> stdout: >> ovn-controller 25.03.90 >> Open vSwitch Library 3.5.0 >> ./multinode-macros.at:100: m_as $c ovn-appctl -t ovn-controller version >> stdout: >> ovn-controller 25.03.90 >> Open vSwitch Library 3.5.0 >> ./multinode-macros.at:100: m_as $c ovn-appctl -t ovn-controller version >> stdout: >> ovn-controller 25.03.90 >> Open vSwitch Library 3.5.0 >> Exiting ovn-northd (2609) [ OK ] >> Exiting ovnnb_db (2564) [ OK ] >> Exiting ovnsb_db (2592) [ OK ] >> /etc/ovn/ovnnb_db.db does not exist ... (warning). >> Creating empty database /etc/ovn/ovnnb_db.db [ OK ] >> Starting ovsdb-nb [ OK ] >> Starting ovsdb-sb [ OK ] >> Starting ovn-northd [ OK ] >> m_as ovn-central-az1-1 ovn-nbctl --wait=sb sync >> ./ovn-macros.at:794: "$@" >> multinode.at:2797: waiting until m_as ovn-chassis-1 ip link show | >> grep -q genev_sys... >> multinode.at:2797: wait succeeded immediately >> multinode.at:2798: waiting until m_as ovn-chassis-2 ip link show | >> grep -q genev_sys... >> multinode.at:2798: wait succeeded immediately >> multinode.at:2799: waiting until m_as ovn-chassis-3 ip link show | >> grep -q genev_sys... >> multinode.at:2799: wait succeeded immediately >> multinode_nbctl ls-add sw0 >> ./ovn-macros.at:794: "$@" >> multinode_nbctl lsp-add sw0 migrator >> ./ovn-macros.at:794: "$@" >> multinode_nbctl lsp-set-addresses migrator 50:54:00:00:00:03 10.0.0.3 1000::3 >> ./ovn-macros.at:794: "$@" >> multinode_nbctl lsp-add sw0 sw0-port2 >> ./ovn-macros.at:794: "$@" >> multinode_nbctl lsp-set-addresses sw0-port2 50:54:00:00:00:04 10.0.0.4 >> 1000::4 >> ./ovn-macros.at:794: "$@" >> multinode_nbctl --wait=hv set Logical_Switch_Port migrator >> options:requested-chassis=ovn-chassis-1 >> ./ovn-macros.at:794: "$@" >> RTNETLINK answers: File exists >> Cannot find device "sw0p2" >> Cannot find device "sw0p2" >> Cannot find device "sw0p2" >> Cannot find device "sw0p2" >> Cannot find device "sw0p2" >> Cannot find device "sw0p2" >> Cannot find device "sw0p2" >> Cannot find device "sw0p2" >> Waiting until 0 rows in nb Logical_Switch_Port with up!=true type=""... >> multinode-macros.at:197: waiting until test $count = $(m_count_rows >> $db:$table $a $b $c $d $e)... >> multinode-macros.at:197: wait succeeded immediately >> Waiting until 0 rows in nb Logical_Switch_Port with up!=true type=router... >> multinode-macros.at:197: waiting until test $count = $(m_count_rows >> $db:$table $a $b $c $d $e)... >> multinode-macros.at:197: wait succeeded immediately >> multinode.at:2816: waiting until grep -q "listening" ch1_genev.stderr... >> multinode.at:2816: wait succeeded quickly >> multinode.at:2817: waiting until grep -q "listening" ch1_migrator.stderr... >> multinode.at:2817: wait succeeded quickly >> multinode.at:2818: waiting until grep -q "listening" ch2_genev.stderr... >> multinode.at:2818: wait succeeded quickly >> multinode.at:2819: waiting until grep -q "listening" ch2_sw0p2.stderr... >> multinode.at:2819: wait succeeded quickly >> multinode.at:2820: waiting until grep -q "listening" ch3_genev.stderr... >> multinode.at:2820: wait succeeded quickly >> multinode.at:2821: waiting until grep -q "listening" ch3_migrator.stderr... >> multinode.at:2821: wait succeeded quickly >> ## ------------------- ## >> ## Migration with vifs ## >> ## ------------------- ## >> Migrator on chassis-1 => sw0p2 on chassis-2 >> ./multinode.at:2825: podman exec ovn-chassis-1 ip netns exec migrator >> ping -q -c 3 -i 0.3 -w 2 10.0.0.4 | grep "transmitted" | sed >> 's/time.*ms$/time 0ms/' >> --- - 2025-02-28 16:34:03.808890731 +0000 >> +++ >> /home/runner/work/ovn/ovn/ovn/tests/multinode-testsuite.dir/at-groups/16/stdout >> 2025-02-28 16:34:03.806241156 +0000 >> @@ -1,2 +1,2 @@ >> -3 packets transmitted, 3 received, 0% packet loss, time 0ms >> +7 packets transmitted, 0 received, 100% packet loss, time 0ms >> >> Thanks >> Numan >> >> >> > --- >> > tests/multinode.at | 4 ++++ >> > 1 file changed, 4 insertions(+) >> > >> > diff --git a/tests/multinode.at b/tests/multinode.at >> > index 68c9eba22..7ff8588c9 100644 >> > --- a/tests/multinode.at >> > +++ b/tests/multinode.at >> > @@ -2794,6 +2794,10 @@ check_fake_multinode_setup_by_nodes 'ovn-chassis-1 >> > ovn-chassis-2 ovn-chassis-3' >> > # Delete the multinode NB and OVS resources before starting the test. >> > cleanup_multinode_resources_by_nodes 'ovn-chassis-1 ovn-chassis-2 >> > ovn-chassis-3' >> > >> > +m_as ovn-chassis-1 ip link del migrator-p >> > +m_as ovn-chassis-2 ip link del sw0p2-p >> > +m_as ovn-chassis-3 ip link del migrator-p >> > + >> > OVS_WAIT_UNTIL([m_as ovn-chassis-1 ip link show | grep -q genev_sys]) >> > OVS_WAIT_UNTIL([m_as ovn-chassis-2 ip link show | grep -q genev_sys]) >> > OVS_WAIT_UNTIL([m_as ovn-chassis-3 ip link show | grep -q genev_sys]) >> > -- >> > 2.47.1 >> > >> > _______________________________________________ >> > dev mailing list >> > [email protected] >> > https://mail.openvswitch.org/mailman/listinfo/ovs-dev >> _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
