On Wed, Jun 07, 2023 at 10:27:15AM +0200, Juan Quintela wrote:
> Fabiano Rosas <faro...@suse.de> wrote:
> > We've found the source of flakiness in this test, so re-enable it.
> >
> > Signed-off-by: Fabiano Rosas <faro...@suse.de>
> > ---
> >  tests/qtest/migration-test.c | 10 ++--------
> >  1 file changed, 2 insertions(+), 8 deletions(-)
> >
> > diff --git a/tests/qtest/migration-test.c b/tests/qtest/migration-test.c
> > index b0c355bbd9..800ad23b75 100644
> > --- a/tests/qtest/migration-test.c
> > +++ b/tests/qtest/migration-test.c
> > @@ -2778,14 +2778,8 @@ int main(int argc, char **argv)
> >      }
> >      qtest_add_func("/migration/multifd/tcp/plain/none",
> >                     test_multifd_tcp_none);
> > -    /*
> > -     * This test is flaky and sometimes fails in CI and otherwise:
> > -     * don't run unless user opts in via environment variable.
> > -     */
> > -    if (getenv("QEMU_TEST_FLAKY_TESTS")) {
> > -        qtest_add_func("/migration/multifd/tcp/plain/cancel",
> > -                       test_multifd_tcp_cancel);
> > -    }
> > +    qtest_add_func("/migration/multifd/tcp/plain/cancel",
> > +                   test_multifd_tcp_cancel);
> >      qtest_add_func("/migration/multifd/tcp/plain/zlib",
> >                     test_multifd_tcp_zlib);
> >  #ifdef CONFIG_ZSTD
> 
> Reviewed-by: Juan Quintela <quint...@redhat.com>
> 
> 
> There was another failure with migration test that I will post during
> the rest of the day.  It needs both to get it right.

This one didn't yet land upstream.  I'm not sure, but maybe Juan was saying
about this change:

        commit d2026ee117147893f8d80f060cede6d872ecbd7f
        Author: Juan Quintela <quint...@trasno.org>
        Date:   Wed Apr 26 12:20:36 2023 +0200

        multifd: Fix the number of channels ready

Fabiano, did you try to reproduce multifd-cancel with current master?  I'm
wondering whether this test has already been completely fixed, then maybe
we can pick up this patch now.

-- 
Peter Xu


Reply via email to