Bot queues too many builds after being off

Originator:michele.titolo
Number:rdar://14654674 Date Originated:05-Aug-2013 05:01 PM
Status:Open Resolved:
Product:OS X Server Product Version:2.2.57 (261.4)
Classification:Serious Bug Reproducible:Always
 
Summary:

When you have Xcode Server turned off for a while, then turn it back on, it queues up a bunch of builds.

Steps to Reproduce:

1. Create a project and add a bot
2. Set the build setting to hourly
3. Let it build once or twice, to make sure the repo is setup correctly
4. Turn off OS X Server
5. Wait a day or two, re-open Server
6. Go to the Xcode Server web portal, and see many queued up builds

Expected Results:

If Server is turned on after being off for a while, there should be at most one build, not tens, possibly hundreds, queued up. The only way to stop this is to delete the Bot (I had Server off for 3+ weeks, so there were hundreds of builds queued).

Actual Results:

Server decides to run all the builds it would have done if it had been turned off.

Regression:

Bots are too new to tell.

Notes:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!