Xcode server bot simulators reset

Number:rdar://15524343 Date Originated:21-Nov-2013 12:23 PM
Status:Duplicate of 15461127 Resolved:NO
Product:Developer Tools Product Version:OSX 10.9 with OSX Server 3.0.1
Classification: Reproducible:Always
My bots were all working as expected until someone on our team committed a change on the CoreData model, and as expected, all bots began to fail with the message: "Test target XYZ did not finish."
On the devices we use to integrate, we manually deleted the application and Xcode server reinstalled them. But how to clean-up the old app from the simulators used by Xcode? Taking a close look into the logs, I has able to locate these directories in which has the same structure of a local workstation simulator directory.
/var/_xcstest/Library/Application Support/iPhone Simulator/7.0.4/Applications
Simulator clean-up shouldn't be automatically on the server? Every time someone needs to change a CoreData model someone has to manually intervene on the server and mess up with non documented directories? Doesn't seem the right thing to do IMO.

Please, add this feature on the Xcode server so running bots can be more smoothly and automatic.

Steps to Reproduce:
1. Add a new bot.
2. Let him do a successful integration
3. Do a project change that forces a simulation clean-up (i.e. a CoreData model change without migration)
4. Try to integrate again. It will always fail with the message: "Test target XYZ did not finish."

Expected Results:
The bot should detect the need to reset automatically the simulator or let de server admin decide if it should cleanup the simulator/device after each integration like ir already does with build cleans.

Actual Results:
The error message: "Test target XYZ did not finish." I need to delete all my bots and recreate them again.

OSX 10.9 with OSX Server 3.0.1





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!