Code Block Nov 24 04:13:47 [28884] <Info>: Completed integration step XCSProcessBuildResultsIntegrationStep without errorNov 24 04:13:47 [28884] <Info>: Uploading file /Users/server/Library/Caches/XCSBuilder/Integration-0e9d438d371a0c194d7926a703d59b19/xcodebuild_result.xcresult.zip |
Nov 24 04:23:48 [28884] <Error>: Error: The request timed out. |
Nov 24 04:23:48 [28884] <Error>: Error trying to upload /Users/server/Library/Caches/XCSBuilder/Integration-0e9d438d371a0c194d7926a703d59b19/xcodebuild_result.xcresult.zip: Unable to perform the request. CFNetwork error: The request timed out. (-1001 - kCFURLErrorTimedOut) |
Nov 24 04:23:48 [28884] <Error>: XCSProcessTestResultsIntegrationStep finished integration with an error: Error Domain=XCSBuildServiceDomain Code=-1 "Integration results could not be uploaded. Test attachments and integration logs may be unavailable for this integration." UserInfo={NSLocalizedDescription=Integration results could not be uploaded. Test attachments and integration logs may be unavailable for this integration.} |
Nov 24 04:23:48 [28884] <Info>: Executing trigger 'testflight upload' |
I'm having that exact same trouble a lot. It sometimes feels like a bot will work great at first, then slowly degrade with this error occurring more and more. If a bot exhibits this issue, it is a toin-coss if I'll ever get it to build properly.
The main problem here for me is that if this occurs, the bot's .xcarchive build phase is skipped.
So I have a critical workflow which uploads the .xcarchive to TestFlight. However, if this "failed to upload integration results" error occurs, the .xcarchive is never built. Xcode Server just skips to the first post-integration script immediately.
This has broken my workflow and puts us in a tough position for QA certification of the release builds.
Bots are created fresh with each weekly release, so "recreating the bot" is not working as a solution here.