buildtest.executors.poll

Module Contents

Classes

PollQueue

class buildtest.executors.poll.PollQueue(builders, interval, buildexecutor)[source]
cancelled(self)[source]

Return a list of cancelled builders

completed(self)[source]
sleep(self)[source]
poll(self)[source]

Poll all until all jobs are complete. At each poll interval, we poll each builder job state. If job is complete or failed we remove job from pending queue. In each interval we sleep and poll jobs until there is no pending jobs.

print_pending_jobs(self)[source]

Print pending jobs in table format during each poll step

print_polled_jobs(self)[source]