1. We manually reset job.date_started to null due to the original issue outlined above, but we did *not* reset job.status.
2. When the job was started at 2009-12-17 21:33:34 (https://pastebin.canonical.com/26090/), the build.markAsBuilding() was called, setting the builder, but it did *not* call job.start(), which in turn sets job.date_started as BuildQueue's method is as follows:
3. Because job.date_started is null, this job is never returned as part of BuildQueueSet.getActiveBuildJobs(), which is used by the build master to scan and update the current jobs.
Which means that the solution should be to simply set the job.date_started to "2009-12-17 21:33:34".
So the issue is:
1. We manually reset job.date_started to null due to the original issue outlined above, but we did *not* reset job.status. /pastebin. canonical. com/26090/), the build.markAsBui lding() was called, setting the builder, but it did *not* call job.start(), which in turn sets job.date_started as BuildQueue's method is as follows:
2. When the job was started at 2009-12-17 21:33:34 (https:/
{{{ self, builder):
self.builder = builder
self. job.start( )
self.specific_ job.jobStarted( )
def markAsBuilding(
"""See `IBuildQueue`."""
if self.job.status != JobStatus.RUNNING:
}}}
3. Because job.date_started is null, this job is never returned as part of BuildQueueSet. getActiveBuildJ obs(), which is used by the build master to scan and update the current jobs.
Which means that the solution should be to simply set the job.date_started to "2009-12-17 21:33:34".