[Lsb-messages] /var/www/bzr/lsb/devel/buildbot-config r309: Add minute counts to timers and timeouts.

Jeff Licquia licquia at linuxfoundation.org
Wed Feb 6 03:35:11 UTC 2013


------------------------------------------------------------
revno: 309
committer: Jeff Licquia <licquia at linuxfoundation.org>
branch nick: buildbot-config
timestamp: Tue 2013-02-05 22:35:11 -0500
message:
  Add minute counts to timers and timeouts.
modified:
  lsb_master.cfg
-------------- next part --------------
=== modified file 'lsb_master.cfg'
--- a/lsb_master.cfg	2012-12-20 17:53:24 +0000
+++ b/lsb_master.cfg	2013-02-06 03:35:11 +0000
@@ -40,12 +40,19 @@
 web_htpasswd_path = "/opt/buildbot/htpasswd"
 bzr_toplevel = "http://bzr.linuxfoundation.org/"
 
-# Timers and timeouts for builds.  We define them as hours here,
-# and translate them into seconds below for buildbot's benefit.
+# Timers and timeouts for builds.  We define them as hours and minutes
+# here, and translate them into seconds below for buildbot's benefit.
 stable_timer_hours = 1
+stable_timer_minutes = 0
+
 slow_stable_timer_hours = 6
+slow_stable_timer_minutes = 0
+
 bzr_timeout_hours = 4
+bzr_timeout_minutes = 0
+
 build_timeout_hours = 4
+build_timeout_minutes = 0
 
 # Supported architectures.
 lsb_archs = ["x86_64", "x86", "ia64", "ppc32", "ppc64", "s390", "s390x"]
@@ -158,10 +165,14 @@
                                "t2c-alsa-tests", "t2c-desktop-tests"] }
 
 # Values calculated from configured variables.
-stable_timer_seconds = stable_timer_hours * 60 * 60
-slow_stable_timer_seconds = slow_stable_timer_hours * 60 * 60
-bzr_timeout_seconds = bzr_timeout_hours * 60 * 60
-build_timeout_seconds = build_timeout_hours * 60 * 60
+stable_timer_seconds = \
+    (stable_timer_hours * 3600) + (stable_timer_minutes * 60)
+slow_stable_timer_seconds = \
+    (slow_stable_timer_hours * 3600) + (slow_stable_timer_minutes * 60)
+bzr_timeout_seconds = \
+    (bzr_timeout_hours * 3600) + (bzr_timeout_minutes * 60)
+build_timeout_seconds = \
+    (build_timeout_hours * 3600) + (build_timeout_minutes * 60)
 
 # "devchk build slaves".  These are build slaves that only build devchk.
 # We do this because devchk requires a lot of packages that can interfere



More information about the lsb-messages mailing list