[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH] power_cycle_sleep: Change default sleep to 15s


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  • Date: Thu, 24 Oct 2019 11:47:05 +0100
  • Authentication-results: esa5.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=ian.jackson@xxxxxxxxxxxxx; spf=Pass smtp.mailfrom=Ian.Jackson@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
  • Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  • Delivery-date: Thu, 24 Oct 2019 10:47:15 +0000
  • Ironport-sdr: mJTKRLgvbp6srcNYB2b7qiYxVWzXkeW2FJvvUbuLjLpCk9M8dlCe3U6I0oY7MjgVUF+zc2YVCm P/TLWxPU2y/hQLD8o3FKhO4JbWMHfYGJLHWbBQmuUabg2yQcJsCpG//2QsoMkW1btDEqpiJVq7 DJGiflqzs0qA+NEP2czipfjfVsAyt0O3FptEKkQeOijMZS5odVF/23wvxSb6Qb3nV7eXogBBM5 9nSn3LVHolu4ytPyeZgx+fbj4RFJiV+D1tcGwyZSiWEHMNTNi54LLqQnvDfzrmu4KUAIBIKwxW SwY=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

5s is so short that when a host fails to respond we aren't sure if it
was just very idle and ran off its PSU's internal energy storage for
that period.

Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 Osstest/TestSupport.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
index 6b0ee7a2..9c99ee17 100644
--- a/Osstest/TestSupport.pm
+++ b/Osstest/TestSupport.pm
@@ -1097,7 +1097,7 @@ sub power_reboot_attempts ($$$;$$) {
 
 sub power_cycle_sleep ($) {
     my ($ho) = @_;
-    my $to = get_host_property($ho, 'power-cycle-time', 5);
+    my $to = get_host_property($ho, 'power-cycle-time', 15);
     logm("power-cycle: waiting ${to}s");
     sleep($to);
 }
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.