Same here! Trying to go through logs to find what's going on 😐
Edit 10/04/2016 @ 10:34pm (UTC):
Can't find any logs of such processing step failing.
First of all, even most sources online refer to
/Library/Developer/XcodeServer/Logs/Integrations/
as the location for Integration logs, I found them at:
/Users/<username>/Library/Caches/XCSBuilder/
maybe changed for Xcode 8 + Server 5.2. So take a look there, just in case.
Nevertheless, this didn't take me anywere in terms of what's going on with those screenshots (or whatever blocks the Bot):
I can see in xcodebuild.log that the build ends up satisfactorily Archiving and Exporting the product.
And buildService.log obtains the results, processess coverage. The last step logged is "Processing device".
No errors, but nothing else comes up.
Further, I can see the screenshots have been taken, and are available in xcodebuild_result.bundle.
Alternatively, in the more generic Xcode Server logs at
/Library/Developer/XcodeServer/Logs/Integrations/
I can see an error in xcscontrol.output.log that happens arround the same time the other logs stop:
It seems like it is trying to renew a certificate through
http://developerservices1.apple.com/services/<id>/clientCert/renewCert.action
This returns an error with code "3245", and message "The certificate provided is not in renewal period".
No idea why that would be happening at that point in the build process.
BTW, instead of restarting, you can unlock it by killing XCSIntegrationService.
But won't continue normally, just finishes with"The integration did not complete as expected due to an internal error (integration was cleaned up after a restart)."
I found no different outcomes from trying:
- with different simulators,
- from re-creating the bot,
- from cleaning derived data and caches
Very odd. Wondering if I should open a radar.