Changeset 458

Show
Ignore:
Timestamp:
09/29/07 13:22:30 (1 year ago)
Author:
warner@lothar.com
Message:

runner: increase start/stop timeout to 10 seconds, for #68

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ChangeLog

    r457 r458  
    112007-09-29  Brian Warner  <warner@lothar.com> 
     2 
     3        * buildbot/scripts/runner.py (stop): increase the timeout from 5 
     4        seconds to 10, to give heavily loaded machines a better chance to 
     5        finish shutting down. Addresses (partially) #68. 
     6        * buildbot/scripts/logwatcher.py (LogWatcher.TIMEOUT_DELAY): same, 
     7        on startup 
     8        * buildbot/scripts/reconfig.py (Reconfigurator.run): same 
     9        * buildbot/scripts/startup.py (Follower._failure): update message 
    210 
    311        * buildbot/changes/bonsaipoller.py: apply changes from the Mozilla 
  • buildbot/scripts/logwatcher.py

    r267 r458  
    1919class LogWatcher(LineOnlyReceiver): 
    2020    POLL_INTERVAL = 0.1 
    21     TIMEOUT_DELAY = 5.0 
     21    TIMEOUT_DELAY = 10.0 
    2222    delimiter = os.linesep 
    2323 
     
    3232        # return a Deferred that fires when the reconfig process has 
    3333        # finished. It errbacks with TimeoutError if the finish line has not 
    34         # been seen within 5 seconds, and with ReconfigError if the error 
     34        # been seen within 10 seconds, and with ReconfigError if the error 
    3535        # line was seen. If the logfile could not be opened, it errbacks with 
    3636        # an IOError. 
  • buildbot/scripts/reconfig.py

    r267 r458  
    2121        # configuration from ..." and "configuration update complete" or 
    2222        # "I will keep using the previous config file instead.", or until 
    23         # 5 seconds have elapsed. 
     23        # 10 seconds have elapsed. 
    2424 
    2525        self.sent_signal = False 
  • buildbot/scripts/runner.py

    r438 r458  
    378378        return 
    379379    time.sleep(0.1) 
    380     while timer < 5
    381         # poll once per second until twistd.pid goes away, up to 5 seconds 
     380    while timer < 10
     381        # poll once per second until twistd.pid goes away, up to 10 seconds 
    382382        try: 
    383383            os.kill(pid, 0) 
  • buildbot/scripts/startup.py

    r377 r458  
    2626        if why.check(BuildmasterTimeoutError): 
    2727            print """ 
    28 The buildmaster took more than 5 seconds to start, so we were unable to 
     28The buildmaster took more than 10 seconds to start, so we were unable to 
    2929confirm that it started correctly. Please 'tail twistd.log' and look for a 
    3030line that says 'configuration update complete' to verify correct startup. 
     
    3232        elif why.check(BuildslaveTimeoutError): 
    3333            print """ 
    34 The buildslave took more than 5 seconds to start and/or connect to the 
     34The buildslave took more than 10 seconds to start and/or connect to the 
    3535buildmaster, so we were unable to confirm that it started and connected 
    3636correctly. Please 'tail twistd.log' and look for a line that says 'message