[Buildbot-commits] buildbot ChangeLog,1.911,1.912

Brian Warner warner at users.sourceforge.net
Sun Aug 12 22:22:43 UTC 2007


Update of /cvsroot/buildbot/buildbot
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv6009

Modified Files:
	ChangeLog 
Log Message:
[project @ BuildSlave: keep track of lastMessageReceived for each slave]

Original author: warner at lothar.com
Date: 2007-08-12 22:15:19+00:00

Index: ChangeLog
===================================================================
RCS file: /cvsroot/buildbot/buildbot/ChangeLog,v
retrieving revision 1.911
retrieving revision 1.912
diff -u -d -r1.911 -r1.912
--- ChangeLog	12 Aug 2007 21:15:49 -0000	1.911
+++ ChangeLog	12 Aug 2007 22:22:41 -0000	1.912
@@ -1,5 +1,22 @@
 2007-08-12  Brian Warner  <warner at lothar.com>
 
+	* buildbot/buildslave.py (BuildSlave.messageReceivedFromSlave):
+	use the BuildSlave to keep track of the last time we've heard from
+	the buildslave. This is updated upon receipt of any message from
+	any SlaveBuilder (which generally means when RemoteCommands are
+	giving us status updates, as BuildSteps run). In the future this
+	will include slave pings too.
+	* buildbot/process/base.py
+	(Build.setupBuild): give each BuildStep a reference to the BuildSlave
+	* buildbot/process/buildstep.py:
+	(BuildStep.setBuildSlave): accept that reference
+	(BuildStep.runCommand): pass the reference on to the RemoteCommand
+	(RemoteCommand.remote_update): update the timestamp
+	(RemoteCommand.remote_complete): same
+	* buildbot/test/runutils.py (StepTester.makeStep): match the change
+	* buildbot/test/test_steps.py (BuildStep.testShellCommand1): same
+
+
 	* buildbot/status/web/baseweb.py (OneLineMixin.make_line): tighten
 	up the format a bit
 	(OneLinePerBuild.body): use a <ul> instead of <div>s





More information about the Commits mailing list