Description of problem: When a builder takes a task the server never updates the database with builder name. Version-Release number of selected component (if applicable): 0.5.0 (cvs) How reproducible: always Steps to Reproduce: 1. install cvs plague 2. build package and watch task be assigned out 3. check database and see that builder_addr is still null Actual results: Because builder_addr is never set builder status page doesn't list tasks builder is running. Expected results: Builder status should list tasks being worked on. Additional info: This change to BuildMaster.py seems to fix the issue: --- /root/tmp/hosted/plague-0.5.0/server/BuildMaster.py 2006-05-13 23:43:07.000000000 -0600 +++ plague-0.5.0/server/BuildMaster.py 2007-04-17 15:45:47.000000000 -0600 @@ -268,8 +268,8 @@ print "DB Error: could not access jobs database. Reason: '%s'" % exc else: try: - self._cursor.execute("UPDATE archjobs SET status='%s', builder_status='%s', endtime=%d " \ - "WHERE jobid='%s' AND parent_uid=%d" % (attrdict['status'], + self._cursor.execute("UPDATE archjobs SET status='%s', builder_addr='%s', builder_status='%s', " \ + "endtime=%d WHERE jobid='%s' AND parent_uid=%d" % (attrdict['status'], attrdict['builder_addr'], \ attrdict['builder_status'], attrdict['endtime'], uid, attrdict['parent_uid'])) except StandardError, exc: print "DB Error: could not access jobs database. Reason: '%s'" % exc
committed to HEAD, thanks.