[Mono-bugs] [Bug 548987] New: Wait for work if there is no work to do (optional)?

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 21 19:30:40 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=548987


           Summary: Wait for work if there is no work to do (optional)?
    Classification: Mono
           Product: Mono: Tools
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: P5 - None
         Component: MonkeyWrench
        AssignedTo: rkvinge at novell.com
        ReportedBy: ajorgensen at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Because of things like exhausted semaphores and runaway processes I've taken to
having my build bots reboot after they finish a set of work (using a crontab:
@reboot ./build; sudo /sbin/reboot).  This works great when there is work to do
but when all the work is done the VMs start spinning (rebooting constantly). 
It's not a huge problem but I'd love to have them do something more sane (like
wait quietly until there is work to do).

The best idea I've had so far for solving this would be to have the bot
(optionally) wait (poll on some interval?) until there is work to do.  We would
still want each bot to behave as configured (do one lane of work and then exit
in my case) but this would let my VMs sit completely idle while waiting for
work.

Another idea would be to use exit codes or console output to indicate the
result of the run.  This could be very useful if we decided that a failed build
might need attention (or a retry?) in the future.

I am definitely open to other ideas.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list