All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] osstest: increase boot timeout for Debian PV guests
@ 2024-04-12 14:11 Roger Pau Monne
  2024-04-12 14:12 ` Andrew Cooper
  2024-04-15  8:15 ` Anthony PERARD
  0 siblings, 2 replies; 5+ messages in thread
From: Roger Pau Monne @ 2024-04-12 14:11 UTC (permalink / raw)
  To: xen-devel; +Cc: anthony.perard, Roger Pau Monne

The current timeout of 40s seems to be too low for AMD boxes (pinots and
rimavas) in the lab after XSA-455, see:

http://logs.test-lab.xenproject.org/osstest/logs/185303/test-amd64-coresched-amd64-xl/info.html

Increase the timeout to 60s.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
---
 ts-debian-di-install | 2 +-
 ts-debian-install    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ts-debian-di-install b/ts-debian-di-install
index 06c7e1f46a92..1a187dfeb9cb 100755
--- a/ts-debian-di-install
+++ b/ts-debian-di-install
@@ -76,7 +76,7 @@ sub prep () {
     target_install_packages_norec($ho, qw(lvm2));
 
     $gho= prepareguest($ho, $gn, $guesthost, 22,
-                       $disk_mb, 40);
+                       $disk_mb, 60);
 
     prepareguest_part_diskimg($ho, $gho, $disk_mb);
 }
diff --git a/ts-debian-install b/ts-debian-install
index 62db487ad15d..ef2954dd3c8e 100755
--- a/ts-debian-install
+++ b/ts-debian-install
@@ -42,7 +42,7 @@ sub prep () {
 
     $gho= prepareguest($ho, $gn, $guesthost, 22,
                        $swap_mb + $disk_mb + 2,
-                       40);
+                       60);
     target_cmd_root($ho, "umount $gho->{Lvdev} ||:");
 }
 
-- 
2.44.0



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

* Re: [PATCH] osstest: increase boot timeout for Debian PV guests
  2024-04-12 14:11 [PATCH] osstest: increase boot timeout for Debian PV guests Roger Pau Monne
@ 2024-04-12 14:12 ` Andrew Cooper
  2024-04-15  8:15 ` Anthony PERARD
  1 sibling, 0 replies; 5+ messages in thread
From: Andrew Cooper @ 2024-04-12 14:12 UTC (permalink / raw)
  To: Roger Pau Monne, xen-devel; +Cc: anthony.perard

On 12/04/2024 3:11 pm, Roger Pau Monne wrote:
> The current timeout of 40s seems to be too low for AMD boxes (pinots and
> rimavas) in the lab after XSA-455, see:
>
> http://logs.test-lab.xenproject.org/osstest/logs/185303/test-amd64-coresched-amd64-xl/info.html
>
> Increase the timeout to 60s.
>
> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>

FWIW, Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>


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

* Re: [PATCH] osstest: increase boot timeout for Debian PV guests
  2024-04-12 14:11 [PATCH] osstest: increase boot timeout for Debian PV guests Roger Pau Monne
  2024-04-12 14:12 ` Andrew Cooper
@ 2024-04-15  8:15 ` Anthony PERARD
  2024-04-15  8:33   ` Roger Pau Monné
  1 sibling, 1 reply; 5+ messages in thread
From: Anthony PERARD @ 2024-04-15  8:15 UTC (permalink / raw)
  To: Roger Pau Monne; +Cc: xen-devel

On Fri, Apr 12, 2024 at 04:11:21PM +0200, Roger Pau Monne wrote:
> The current timeout of 40s seems to be too low for AMD boxes (pinots and
> rimavas) in the lab after XSA-455, see:

There's something else we can tweak if only some machine need extra
time, it is an host property "TimeoutFactor", which can increase all
timeout for a single machine. (It's use on the cubietruck for example.)

Or is it better to just increase boot time for all (or at least those)
pv guest?

Cheers,

-- 
Anthony PERARD


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

* Re: [PATCH] osstest: increase boot timeout for Debian PV guests
  2024-04-15  8:15 ` Anthony PERARD
@ 2024-04-15  8:33   ` Roger Pau Monné
  2024-04-15  8:57     ` Anthony PERARD
  0 siblings, 1 reply; 5+ messages in thread
From: Roger Pau Monné @ 2024-04-15  8:33 UTC (permalink / raw)
  To: Anthony PERARD; +Cc: xen-devel

On Mon, Apr 15, 2024 at 09:15:51AM +0100, Anthony PERARD wrote:
> On Fri, Apr 12, 2024 at 04:11:21PM +0200, Roger Pau Monne wrote:
> > The current timeout of 40s seems to be too low for AMD boxes (pinots and
> > rimavas) in the lab after XSA-455, see:
> 
> There's something else we can tweak if only some machine need extra
> time, it is an host property "TimeoutFactor", which can increase all
> timeout for a single machine. (It's use on the cubietruck for example.)
> 
> Or is it better to just increase boot time for all (or at least those)
> pv guest?

I did consider that, but given the timeout is just limited to PV guest
startup I considered the "TimeoutFactor" too broad.  I think
increasing the Debian PV boot timeout from 40s to 60s is a minor
adjustment, and shouldn't affect other tests.

Let me know if you still prefer to use "TimeoutFactor" and I will look
into it.

Thanks, Roger.


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

* Re: [PATCH] osstest: increase boot timeout for Debian PV guests
  2024-04-15  8:33   ` Roger Pau Monné
@ 2024-04-15  8:57     ` Anthony PERARD
  0 siblings, 0 replies; 5+ messages in thread
From: Anthony PERARD @ 2024-04-15  8:57 UTC (permalink / raw)
  To: Roger Pau Monné; +Cc: xen-devel

On Mon, Apr 15, 2024 at 10:33:19AM +0200, Roger Pau Monné wrote:
> On Mon, Apr 15, 2024 at 09:15:51AM +0100, Anthony PERARD wrote:
> > On Fri, Apr 12, 2024 at 04:11:21PM +0200, Roger Pau Monne wrote:
> > > The current timeout of 40s seems to be too low for AMD boxes (pinots and
> > > rimavas) in the lab after XSA-455, see:
> > 
> > There's something else we can tweak if only some machine need extra
> > time, it is an host property "TimeoutFactor", which can increase all
> > timeout for a single machine. (It's use on the cubietruck for example.)
> > 
> > Or is it better to just increase boot time for all (or at least those)
> > pv guest?
> 
> I did consider that, but given the timeout is just limited to PV guest
> startup I considered the "TimeoutFactor" too broad.  I think
> increasing the Debian PV boot timeout from 40s to 60s is a minor
> adjustment, and shouldn't affect other tests.
> 
> Let me know if you still prefer to use "TimeoutFactor" and I will look
> into it.

Acked-by: Anthony PERARD <anthony.perard@citrix.com>

Thanks,

-- 
Anthony PERARD


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

end of thread, other threads:[~2024-04-15  8:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-12 14:11 [PATCH] osstest: increase boot timeout for Debian PV guests Roger Pau Monne
2024-04-12 14:12 ` Andrew Cooper
2024-04-15  8:15 ` Anthony PERARD
2024-04-15  8:33   ` Roger Pau Monné
2024-04-15  8:57     ` Anthony PERARD

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.