[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 24/42] migration-test: Re-enable multifd_cancel test
From: |
Juan Quintela |
Subject: |
Re: [PATCH 24/42] migration-test: Re-enable multifd_cancel test |
Date: |
Fri, 09 Jun 2023 12:22:33 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Daniel P. Berrangé <berrange@redhat.com> wrote:
> On Fri, Jun 09, 2023 at 12:49:25AM +0200, Juan Quintela wrote:
>
> Please explain why this is considered ok, given the comment about
> why it is disabled. ie if we fixed something, refrence the commit.
I did in the cover letter, will put that on the commit:
- We used to share dest_serial file for the two targets of migration (to
and to2), where we have a race.
- this series fixes the races in two ways:
* we wait for "to" to finish before we launch "to2", so the race can't
happen.
* One of the reasons why I created GuestState is that I needed a place
to store the serial file name (now I call it "target" and "target2").
- I put on the cover letter that this is not enough, we also need
Fabiano fix for the thread list.
- Peter Mayel was the most vocal about this particular failure, I cc'd
him and asked on the cover letter for the people to used to have
failures to test.
So how should I handled this to be clearer?
Later, Juan.
>> Signed-off-by: Juan Quintela <quintela@redhat.com>
>> ---
>> 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 01ab51a391..9f86d9bc80 100644
>> --- a/tests/qtest/migration-test.c
>> +++ b/tests/qtest/migration-test.c
>> @@ -2886,14 +2886,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
>> --
>> 2.40.1
>>
>
> With regards,
> Daniel
- [PATCH 16/42] migration-test: Create do_migrate(), (continued)
- [PATCH 16/42] migration-test: Create do_migrate(), Juan Quintela, 2023/06/08
- [PATCH 17/42] migration-test: Introduce GuestState, Juan Quintela, 2023/06/08
- [PATCH 18/42] migration-test: Create guest before calling do_test_validate_uuid(), Juan Quintela, 2023/06/08
- [PATCH 19/42] migration-test: Create guest before calling test_precopy_common(), Juan Quintela, 2023/06/08
- [PATCH 20/42] migration-test: Create guest before calling test_postcopy_common(), Juan Quintela, 2023/06/08
- [PATCH 21/42] migration-test: Move common guest code to guest_create(), Juan Quintela, 2023/06/08
- [PATCH 22/42] migration-test: Create guest_use_dirty_log(), Juan Quintela, 2023/06/08
- [PATCH 23/42] migration-test: Move serial to GuestState, Juan Quintela, 2023/06/08
- [PATCH 24/42] migration-test: Re-enable multifd_cancel test, Juan Quintela, 2023/06/08
- [PATCH 26/42] migration-test: create guest_use_shmem(), Juan Quintela, 2023/06/08
- [PATCH 29/42] migration-test: Create the migration unix socket by guest, Juan Quintela, 2023/06/08
- [PATCH 25/42] migration-test: We were not waiting for "target" to finish, Juan Quintela, 2023/06/08
- [PATCH 27/42] migration-test: Create guest_extra_opts(), Juan Quintela, 2023/06/08
- [PATCH 28/42] migration-test: Create guest_hide_stderr(), Juan Quintela, 2023/06/08
- [PATCH 30/42] migration-test: Hooks also need GuestState, Juan Quintela, 2023/06/08
- [PATCH 32/42] migration-test: Create guest_set_uri(), Juan Quintela, 2023/06/08
- [PATCH 33/42] migration-test: Remove connect_uri, Juan Quintela, 2023/06/08
- [PATCH 31/42] migration-test: Preffer to->uri to uri parameter for migration, Juan Quintela, 2023/06/08