From: Thomas Huth <thuth@redhat.com>
To: "Fabiano Rosas" <farosas@suse.de>,
qemu-devel@nongnu.org,
"Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Daniel P. Berrangé" <berrange@redhat.com>
Cc: Peter Xu <peterx@redhat.com>
Subject: Re: [PATCH v2 5/5] tests/functional: Convert the migration avocado test
Date: Wed, 18 Dec 2024 16:51:24 +0100 [thread overview]
Message-ID: <3399461b-b623-4950-a800-9e244dd10785@redhat.com> (raw)
In-Reply-To: <87o719umj5.fsf@suse.de>
On 18/12/2024 14.51, Fabiano Rosas wrote:
> Thomas Huth <thuth@redhat.com> writes:
>
>> Now that we've got a find_free_port() function in the functional
>> test framework, we can convert the migration test, too.
>> While the original avocado test was only meant to run on aarch64,
>> ppc64 and x86, we can turn this into a more generic test by now
>> and run it on all architectures that have a default machine that
>> ships with a working firmware.
>
> I'd rather drop this test. I haven't looked at it in ages and it has
> never been useful.
I think I agree for the scope of the old avocado test - x86, ppc64 and
aarch64 certainly have better test coverage by the qtest already... but we
don't have any test coverage for other architectures at all yet, which is
bad (see below).
So if you like I can change the patch so that the test is not run on x86,
ppc64 and aarch64 anymore, just on the other architectures that do not have
test coverage by the qtest yet?
> I haven't been following the development of the
> functional suite so this might not apply this time (fingers crossed),
> but Python tests have always been a pain to work with.
Well, one of the motivations with the functional test framework was to
simplify things. You can now run the individual tests without any test
runner at all, what makes debugging way easier (see
docs/devel/testing/functional.rst for details)!
> About adding more architectures to the set, this is not simply enabling
> more testing, it is also adding workload to maintain these other arches
> that were never tested with migration. Is that something we want?
I think yes. Otherwise the bugs are just dormant until someone hits the
issue, making bisection way more complicated later.
Remember this one for example:
https://mail.gnu.org/archive/html/qemu-commits/2023-02/msg00030.html
?
It would have been good to have a migration test for alpha in the CI, then
we could have prevented that bug from being merged.
> Also note that what is actually prone to break is compatibility between
> versions, which is not covered by this test.
I think it should be possible to add such a check later.
Thomas
next prev parent reply other threads:[~2024-12-18 15:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-18 13:14 [PATCH v2 0/5] tests/functional: Convert tests with find_free_ports() Thomas Huth
2024-12-18 13:14 ` [PATCH v2 1/5] tests/functional: Convert the vnc test Thomas Huth
2024-12-18 13:14 ` [PATCH v2 2/5] tests/functional/test_vnc: Remove the test_no_vnc test Thomas Huth
2024-12-18 13:14 ` [PATCH v2 3/5] tests/functional/test_vnc: Do not use a hard-coded VNC port Thomas Huth
2024-12-18 13:14 ` [PATCH v2 4/5] tests/functional: Extract the find_free_ports() function into a helper file Thomas Huth
2024-12-18 13:14 ` [PATCH v2 5/5] tests/functional: Convert the migration avocado test Thomas Huth
2024-12-18 13:51 ` Fabiano Rosas
2024-12-18 15:51 ` Thomas Huth [this message]
2024-12-18 16:00 ` Daniel P. Berrangé
2024-12-18 16:11 ` Thomas Huth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3399461b-b623-4950-a800-9e244dd10785@redhat.com \
--to=thuth@redhat.com \
--cc=berrange@redhat.com \
--cc=farosas@suse.de \
--cc=peterx@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.