[PATCH for-7.2] tests/avocado/boot_linux: Increase the timeout of the ppc64 test

Thomas Huth posted 1 patch 1 year, 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20221117124634.574180-1-thuth@redhat.com
Maintainers: Cleber Rosa <crosa@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Beraldo Leal <bleal@redhat.com>
tests/avocado/boot_linux.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH for-7.2] tests/avocado/boot_linux: Increase the timeout of the ppc64 test
Posted by Thomas Huth 1 year, 5 months ago
The BootLinuxPPC64.test_pseries_tcg test currently times out in
the gitlab-CI or when building QEMU with --enable-debug. It takes
way more than 300 seconds to finish the test in such environments,
so let's bump the timeout to a more appropriate value.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 tests/avocado/boot_linux.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/avocado/boot_linux.py b/tests/avocado/boot_linux.py
index 571d33882a..1a66393df7 100644
--- a/tests/avocado/boot_linux.py
+++ b/tests/avocado/boot_linux.py
@@ -116,7 +116,7 @@ class BootLinuxPPC64(LinuxTest):
     :avocado: tags=arch:ppc64
     """
 
-    timeout = 180
+    timeout = 420
 
     def test_pseries_tcg(self):
         """
-- 
2.31.1
Re: [PATCH for-7.2] tests/avocado/boot_linux: Increase the timeout of the ppc64 test
Posted by Peter Maydell 1 year, 5 months ago
On Thu, 17 Nov 2022 at 12:46, Thomas Huth <thuth@redhat.com> wrote:
>
> The BootLinuxPPC64.test_pseries_tcg test currently times out in
> the gitlab-CI or when building QEMU with --enable-debug. It takes
> way more than 300 seconds to finish the test in such environments,
> so let's bump the timeout to a more appropriate value.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>

I sent a patch for this one last week:
https://patchew.org/QEMU/20221110142901.3832318-1-peter.maydell@linaro.org/
(although it only pushes the timeout up to 360, not 420).

thanks
-- PMM
Re: [PATCH for-7.2] tests/avocado/boot_linux: Increase the timeout of the ppc64 test
Posted by Thomas Huth 1 year, 5 months ago
On 17/11/2022 13.55, Peter Maydell wrote:
> On Thu, 17 Nov 2022 at 12:46, Thomas Huth <thuth@redhat.com> wrote:
>>
>> The BootLinuxPPC64.test_pseries_tcg test currently times out in
>> the gitlab-CI or when building QEMU with --enable-debug. It takes
>> way more than 300 seconds to finish the test in such environments,
>> so let's bump the timeout to a more appropriate value.
>>
>> Signed-off-by: Thomas Huth <thuth@redhat.com>
> 
> I sent a patch for this one last week:
> https://patchew.org/QEMU/20221110142901.3832318-1-peter.maydell@linaro.org/
> (although it only pushes the timeout up to 360, not 420).

Ah, great, and Alex also already queued it? Then let's go with your patch. 
360 seconds should hopefully be enough, too.

  Thomas