qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH] tests/qemu-iotests: serialise all the qemu-iotests
@ 2023-03-21 23:51 Alex Bennée
  2023-03-22  8:54 ` Philippe Mathieu-Daudé
  2023-03-22  9:32 ` Daniel P. Berrangé
  0 siblings, 2 replies; 4+ messages in thread
From: Alex Bennée @ 2023-03-21 23:51 UTC (permalink / raw)
  To: qemu-devel
  Cc: Alex Bennée, Daniel P . Berrangé, Kevin Wolf,
	Hanna Reitz, open list:Block layer core

Something on OpenBSD fails with multiple tests running at once and
fiddling with J=1 on invocation just made everything else very slow.

Based-on: 20230318114644.1340899-1-alex.bennee@linaro.org
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Daniel P. Berrangé <berrange@redhat.com>
---
 tests/qemu-iotests/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/qemu-iotests/meson.build b/tests/qemu-iotests/meson.build
index a162f683ef..d572205a60 100644
--- a/tests/qemu-iotests/meson.build
+++ b/tests/qemu-iotests/meson.build
@@ -64,6 +64,7 @@ foreach format, speed: qemu_iotests_formats
            depends: qemu_iotests_binaries,
            env: qemu_iotests_env,
            protocol: 'tap',
+           is_parallel : false,
            timeout: 180,
            suite: suites)
   endforeach
-- 
2.39.2



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [RFC PATCH] tests/qemu-iotests: serialise all the qemu-iotests
  2023-03-21 23:51 [RFC PATCH] tests/qemu-iotests: serialise all the qemu-iotests Alex Bennée
@ 2023-03-22  8:54 ` Philippe Mathieu-Daudé
  2023-03-22  9:32 ` Daniel P. Berrangé
  1 sibling, 0 replies; 4+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-03-22  8:54 UTC (permalink / raw)
  To: Alex Bennée, qemu-devel
  Cc: Daniel P . Berrangé, Kevin Wolf, Hanna Reitz,
	open list:Block layer core

On 22/3/23 00:51, Alex Bennée wrote:
> Something on OpenBSD fails with multiple tests running at once and
> fiddling with J=1 on invocation just made everything else very slow.
> 
> Based-on: 20230318114644.1340899-1-alex.bennee@linaro.org
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Daniel P. Berrangé <berrange@redhat.com>
> ---
>   tests/qemu-iotests/meson.build | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/tests/qemu-iotests/meson.build b/tests/qemu-iotests/meson.build
> index a162f683ef..d572205a60 100644
> --- a/tests/qemu-iotests/meson.build
> +++ b/tests/qemu-iotests/meson.build
> @@ -64,6 +64,7 @@ foreach format, speed: qemu_iotests_formats
>              depends: qemu_iotests_binaries,
>              env: qemu_iotests_env,
>              protocol: 'tap',
> +           is_parallel : false,

Per the commit description, what about:

               is_parallel: targetos != 'openbsd',

?

>              timeout: 180,
>              suite: suites)
>     endforeach



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC PATCH] tests/qemu-iotests: serialise all the qemu-iotests
  2023-03-21 23:51 [RFC PATCH] tests/qemu-iotests: serialise all the qemu-iotests Alex Bennée
  2023-03-22  8:54 ` Philippe Mathieu-Daudé
@ 2023-03-22  9:32 ` Daniel P. Berrangé
  2023-03-22 10:21   ` Alex Bennée
  1 sibling, 1 reply; 4+ messages in thread
From: Daniel P. Berrangé @ 2023-03-22  9:32 UTC (permalink / raw)
  To: Alex Bennée
  Cc: qemu-devel, Kevin Wolf, Hanna Reitz, open list:Block layer core

On Tue, Mar 21, 2023 at 11:51:02PM +0000, Alex Bennée wrote:
> Something on OpenBSD fails with multiple tests running at once and
> fiddling with J=1 on invocation just made everything else very slow.
> 
> Based-on: 20230318114644.1340899-1-alex.bennee@linaro.org
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Daniel P. Berrangé <berrange@redhat.com>
> ---
>  tests/qemu-iotests/meson.build | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/qemu-iotests/meson.build b/tests/qemu-iotests/meson.build
> index a162f683ef..d572205a60 100644
> --- a/tests/qemu-iotests/meson.build
> +++ b/tests/qemu-iotests/meson.build
> @@ -64,6 +64,7 @@ foreach format, speed: qemu_iotests_formats
>             depends: qemu_iotests_binaries,
>             env: qemu_iotests_env,
>             protocol: 'tap',
> +           is_parallel : false,
>             timeout: 180,
>             suite: suites)
>    endforeach

This will be a massive regression for all platforms though.

The iotests run a few 100 tests. Previously the iotests harness was
serialized against all other QEMU tests, but the individual iotests
were all parallelized.

With this proposed change all 100 individual iotests are serialized,
both with each other, and with all other QEMU tests.

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC PATCH] tests/qemu-iotests: serialise all the qemu-iotests
  2023-03-22  9:32 ` Daniel P. Berrangé
@ 2023-03-22 10:21   ` Alex Bennée
  0 siblings, 0 replies; 4+ messages in thread
From: Alex Bennée @ 2023-03-22 10:21 UTC (permalink / raw)
  To: Daniel P. Berrangé
  Cc: qemu-devel, Kevin Wolf, Hanna Reitz, open list:Block layer core


Daniel P. Berrangé <berrange@redhat.com> writes:

> On Tue, Mar 21, 2023 at 11:51:02PM +0000, Alex Bennée wrote:
>> Something on OpenBSD fails with multiple tests running at once and
>> fiddling with J=1 on invocation just made everything else very slow.
>> 
>> Based-on: 20230318114644.1340899-1-alex.bennee@linaro.org
>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>> Cc: Daniel P. Berrangé <berrange@redhat.com>
>> ---
>>  tests/qemu-iotests/meson.build | 1 +
>>  1 file changed, 1 insertion(+)
>> 
>> diff --git a/tests/qemu-iotests/meson.build b/tests/qemu-iotests/meson.build
>> index a162f683ef..d572205a60 100644
>> --- a/tests/qemu-iotests/meson.build
>> +++ b/tests/qemu-iotests/meson.build
>> @@ -64,6 +64,7 @@ foreach format, speed: qemu_iotests_formats
>>             depends: qemu_iotests_binaries,
>>             env: qemu_iotests_env,
>>             protocol: 'tap',
>> +           is_parallel : false,
>>             timeout: 180,
>>             suite: suites)
>>    endforeach
>
> This will be a massive regression for all platforms though.
>
> The iotests run a few 100 tests. Previously the iotests harness was
> serialized against all other QEMU tests, but the individual iotests
> were all parallelized.
>
> With this proposed change all 100 individual iotests are serialized,
> both with each other, and with all other QEMU tests.

What about Phillipe's suggestion of doing it just for openbsd?

>
> With regards,
> Daniel


-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-22 10:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-21 23:51 [RFC PATCH] tests/qemu-iotests: serialise all the qemu-iotests Alex Bennée
2023-03-22  8:54 ` Philippe Mathieu-Daudé
2023-03-22  9:32 ` Daniel P. Berrangé
2023-03-22 10:21   ` Alex Bennée

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).