* [PATCH] tests/avocado/tuxrun_baselines: Fix ppc64 tests for binaries without slirp
@ 2023-06-06 19:28 Thomas Huth
2023-06-06 19:35 ` Philippe Mathieu-Daudé
` (4 more replies)
0 siblings, 5 replies; 7+ messages in thread
From: Thomas Huth @ 2023-06-06 19:28 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Bennée, Philippe Mathieu-Daudé,
Wainer dos Santos Moschetta, qemu-ppc, Beraldo Leal, Cleber Rosa,
Kautuk Consul, Harsh Prateek Bora
The ppc64 tuxrun tests are currently failing if "slirp" has been
disabled in the binary since they are using "-netdev user" now.
We have to skip the test if this network backend is missing.
Fixes: 6ee3624236 ("improve code coverage for ppc64")
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
tests/avocado/tuxrun_baselines.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/avocado/tuxrun_baselines.py b/tests/avocado/tuxrun_baselines.py
index 3a46e7a745..e12250eabb 100644
--- a/tests/avocado/tuxrun_baselines.py
+++ b/tests/avocado/tuxrun_baselines.py
@@ -184,6 +184,7 @@ def common_tuxrun(self,
def ppc64_common_tuxrun(self, sums, prefix):
# add device args to command line.
+ self.require_netdev('user')
self.vm.add_args('-netdev', 'user,id=vnet,hostfwd=:127.0.0.1:0-:22',
'-device', 'virtio-net,netdev=vnet')
self.vm.add_args('-netdev', '{"type":"user","id":"hostnet0"}',
--
2.31.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] tests/avocado/tuxrun_baselines: Fix ppc64 tests for binaries without slirp
2023-06-06 19:28 [PATCH] tests/avocado/tuxrun_baselines: Fix ppc64 tests for binaries without slirp Thomas Huth
@ 2023-06-06 19:35 ` Philippe Mathieu-Daudé
2023-06-06 20:16 ` Daniel Henrique Barboza
` (3 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-06-06 19:35 UTC (permalink / raw)
To: Thomas Huth, qemu-devel
Cc: Alex Bennée, Wainer dos Santos Moschetta, qemu-ppc,
Beraldo Leal, Cleber Rosa, Kautuk Consul, Harsh Prateek Bora
On 6/6/23 21:28, Thomas Huth wrote:
> The ppc64 tuxrun tests are currently failing if "slirp" has been
> disabled in the binary since they are using "-netdev user" now.
> We have to skip the test if this network backend is missing.
>
> Fixes: 6ee3624236 ("improve code coverage for ppc64")
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> tests/avocado/tuxrun_baselines.py | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] tests/avocado/tuxrun_baselines: Fix ppc64 tests for binaries without slirp
2023-06-06 19:28 [PATCH] tests/avocado/tuxrun_baselines: Fix ppc64 tests for binaries without slirp Thomas Huth
2023-06-06 19:35 ` Philippe Mathieu-Daudé
@ 2023-06-06 20:16 ` Daniel Henrique Barboza
2023-06-07 4:22 ` Joel Stanley
` (2 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Daniel Henrique Barboza @ 2023-06-06 20:16 UTC (permalink / raw)
To: Thomas Huth, qemu-devel
Cc: Alex Bennée, Philippe Mathieu-Daudé,
Wainer dos Santos Moschetta, qemu-ppc, Beraldo Leal, Cleber Rosa,
Kautuk Consul, Harsh Prateek Bora
On 6/6/23 16:28, Thomas Huth wrote:
> The ppc64 tuxrun tests are currently failing if "slirp" has been
> disabled in the binary since they are using "-netdev user" now.
> We have to skip the test if this network backend is missing.
>
> Fixes: 6ee3624236 ("improve code coverage for ppc64")
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Thomas, let me know if you need me to queue this up. I'll send a PR in the
next few days.
Daniel
> tests/avocado/tuxrun_baselines.py | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/avocado/tuxrun_baselines.py b/tests/avocado/tuxrun_baselines.py
> index 3a46e7a745..e12250eabb 100644
> --- a/tests/avocado/tuxrun_baselines.py
> +++ b/tests/avocado/tuxrun_baselines.py
> @@ -184,6 +184,7 @@ def common_tuxrun(self,
>
> def ppc64_common_tuxrun(self, sums, prefix):
> # add device args to command line.
> + self.require_netdev('user')
> self.vm.add_args('-netdev', 'user,id=vnet,hostfwd=:127.0.0.1:0-:22',
> '-device', 'virtio-net,netdev=vnet')
> self.vm.add_args('-netdev', '{"type":"user","id":"hostnet0"}',
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] tests/avocado/tuxrun_baselines: Fix ppc64 tests for binaries without slirp
2023-06-06 19:28 [PATCH] tests/avocado/tuxrun_baselines: Fix ppc64 tests for binaries without slirp Thomas Huth
2023-06-06 19:35 ` Philippe Mathieu-Daudé
2023-06-06 20:16 ` Daniel Henrique Barboza
@ 2023-06-07 4:22 ` Joel Stanley
2023-06-07 7:40 ` Thomas Huth
2023-06-07 12:49 ` Daniel Henrique Barboza
2023-06-07 14:08 ` Alex Bennée
4 siblings, 1 reply; 7+ messages in thread
From: Joel Stanley @ 2023-06-07 4:22 UTC (permalink / raw)
To: Thomas Huth
Cc: qemu-devel, Alex Bennée, Philippe Mathieu-Daudé,
Wainer dos Santos Moschetta, qemu-ppc, Beraldo Leal, Cleber Rosa,
Kautuk Consul, Harsh Prateek Bora
On Tue, 6 Jun 2023 at 19:28, Thomas Huth <thuth@redhat.com> wrote:
>
> The ppc64 tuxrun tests are currently failing if "slirp" has been
> disabled in the binary since they are using "-netdev user" now.
> We have to skip the test if this network backend is missing.
Do the boot tests require networking? I doubt they do.
You could instead remove the -netdev user option if slirp is not present.
>
> Fixes: 6ee3624236 ("improve code coverage for ppc64")
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> tests/avocado/tuxrun_baselines.py | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/avocado/tuxrun_baselines.py b/tests/avocado/tuxrun_baselines.py
> index 3a46e7a745..e12250eabb 100644
> --- a/tests/avocado/tuxrun_baselines.py
> +++ b/tests/avocado/tuxrun_baselines.py
> @@ -184,6 +184,7 @@ def common_tuxrun(self,
>
> def ppc64_common_tuxrun(self, sums, prefix):
> # add device args to command line.
> + self.require_netdev('user')
> self.vm.add_args('-netdev', 'user,id=vnet,hostfwd=:127.0.0.1:0-:22',
> '-device', 'virtio-net,netdev=vnet')
> self.vm.add_args('-netdev', '{"type":"user","id":"hostnet0"}',
> --
> 2.31.1
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] tests/avocado/tuxrun_baselines: Fix ppc64 tests for binaries without slirp
2023-06-07 4:22 ` Joel Stanley
@ 2023-06-07 7:40 ` Thomas Huth
0 siblings, 0 replies; 7+ messages in thread
From: Thomas Huth @ 2023-06-07 7:40 UTC (permalink / raw)
To: Joel Stanley
Cc: qemu-devel, Alex Bennée, Philippe Mathieu-Daudé,
Wainer dos Santos Moschetta, qemu-ppc, Beraldo Leal, Cleber Rosa,
Kautuk Consul, Harsh Prateek Bora
On 07/06/2023 06.22, Joel Stanley wrote:
> On Tue, 6 Jun 2023 at 19:28, Thomas Huth <thuth@redhat.com> wrote:
>>
>> The ppc64 tuxrun tests are currently failing if "slirp" has been
>> disabled in the binary since they are using "-netdev user" now.
>> We have to skip the test if this network backend is missing.
>
> Do the boot tests require networking? I doubt they do.
>
> You could instead remove the -netdev user option if slirp is not present.
Yes, that's an option. Not sure whether it's worth the effort here, though,
since most of our CI pipelines run with slirp enabled anyway (it's just one
job, avocado-cfi-ppc64-s390x, which is failing due to this missing check)
Thomas
>> Fixes: 6ee3624236 ("improve code coverage for ppc64")
>> Signed-off-by: Thomas Huth <thuth@redhat.com>
>> ---
>> tests/avocado/tuxrun_baselines.py | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/tests/avocado/tuxrun_baselines.py b/tests/avocado/tuxrun_baselines.py
>> index 3a46e7a745..e12250eabb 100644
>> --- a/tests/avocado/tuxrun_baselines.py
>> +++ b/tests/avocado/tuxrun_baselines.py
>> @@ -184,6 +184,7 @@ def common_tuxrun(self,
>>
>> def ppc64_common_tuxrun(self, sums, prefix):
>> # add device args to command line.
>> + self.require_netdev('user')
>> self.vm.add_args('-netdev', 'user,id=vnet,hostfwd=:127.0.0.1:0-:22',
>> '-device', 'virtio-net,netdev=vnet')
>> self.vm.add_args('-netdev', '{"type":"user","id":"hostnet0"}',
>> --
>> 2.31.1
>>
>>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] tests/avocado/tuxrun_baselines: Fix ppc64 tests for binaries without slirp
2023-06-06 19:28 [PATCH] tests/avocado/tuxrun_baselines: Fix ppc64 tests for binaries without slirp Thomas Huth
` (2 preceding siblings ...)
2023-06-07 4:22 ` Joel Stanley
@ 2023-06-07 12:49 ` Daniel Henrique Barboza
2023-06-07 14:08 ` Alex Bennée
4 siblings, 0 replies; 7+ messages in thread
From: Daniel Henrique Barboza @ 2023-06-07 12:49 UTC (permalink / raw)
To: Thomas Huth, qemu-devel
Cc: Alex Bennée, Philippe Mathieu-Daudé,
Wainer dos Santos Moschetta, qemu-ppc, Beraldo Leal, Cleber Rosa,
Kautuk Consul, Harsh Prateek Bora
On 6/6/23 16:28, Thomas Huth wrote:
> The ppc64 tuxrun tests are currently failing if "slirp" has been
> disabled in the binary since they are using "-netdev user" now.
> We have to skip the test if this network backend is missing.
>
> Fixes: 6ee3624236 ("improve code coverage for ppc64")
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
Queued in gitlab.com/danielhb/qemu/tree/ppc-next. Thanks,
Daniel
> tests/avocado/tuxrun_baselines.py | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/avocado/tuxrun_baselines.py b/tests/avocado/tuxrun_baselines.py
> index 3a46e7a745..e12250eabb 100644
> --- a/tests/avocado/tuxrun_baselines.py
> +++ b/tests/avocado/tuxrun_baselines.py
> @@ -184,6 +184,7 @@ def common_tuxrun(self,
>
> def ppc64_common_tuxrun(self, sums, prefix):
> # add device args to command line.
> + self.require_netdev('user')
> self.vm.add_args('-netdev', 'user,id=vnet,hostfwd=:127.0.0.1:0-:22',
> '-device', 'virtio-net,netdev=vnet')
> self.vm.add_args('-netdev', '{"type":"user","id":"hostnet0"}',
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] tests/avocado/tuxrun_baselines: Fix ppc64 tests for binaries without slirp
2023-06-06 19:28 [PATCH] tests/avocado/tuxrun_baselines: Fix ppc64 tests for binaries without slirp Thomas Huth
` (3 preceding siblings ...)
2023-06-07 12:49 ` Daniel Henrique Barboza
@ 2023-06-07 14:08 ` Alex Bennée
4 siblings, 0 replies; 7+ messages in thread
From: Alex Bennée @ 2023-06-07 14:08 UTC (permalink / raw)
To: Thomas Huth
Cc: qemu-devel, Philippe Mathieu-Daudé,
Wainer dos Santos Moschetta, qemu-ppc, Beraldo Leal, Cleber Rosa,
Kautuk Consul, Harsh Prateek Bora
Thomas Huth <thuth@redhat.com> writes:
> The ppc64 tuxrun tests are currently failing if "slirp" has been
> disabled in the binary since they are using "-netdev user" now.
> We have to skip the test if this network backend is missing.
>
> Fixes: 6ee3624236 ("improve code coverage for ppc64")
> Signed-off-by: Thomas Huth <thuth@redhat.com>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-06-07 14:09 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-06 19:28 [PATCH] tests/avocado/tuxrun_baselines: Fix ppc64 tests for binaries without slirp Thomas Huth
2023-06-06 19:35 ` Philippe Mathieu-Daudé
2023-06-06 20:16 ` Daniel Henrique Barboza
2023-06-07 4:22 ` Joel Stanley
2023-06-07 7:40 ` Thomas Huth
2023-06-07 12:49 ` Daniel Henrique Barboza
2023-06-07 14:08 ` 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).