问题
My Xcode bot integrations fail with the following error.
Assertion: Running task was terminated because it produced no activity for too long.
From the bottom of the log:
Sampling completed, processing symbols...
Sample analysis of process 4470 written to file /Library/Developer/XcodeServer/Integrations/Integration-ef7a2c98cd2307fc71923f1123ea23f7/4470.sample
sample[5774]: sample cannot find any existing process you have access to which has a name like 'Interface Builder Cocoa Touch Tool'; try running with `sudo`.
sample[5775]: sample cannot find any existing process you have access to which has a name like 'ibtool'; try running with `sudo`.
sample[5776]: sample cannot find any existing process you have access to which has a name like 'ibtoold'; try running with `sudo`.
** BUILD INTERRUPTED **
Interestingly, the integrations worked the day before and started failing today without any known changes to the server configuration. Is there a way to fix those errors and make the integrations run?
OS X 10.11 (15A244d), Xcode 7.0 (7A176x), OS X Server 4.1.56 (15S2186i)
回答1:
This did the trick for us when we ran into the same issue today:
https://stackoverflow.com/a/22637896/43996
回答2:
Created a new bot with exact configuration and that did the trick for me. Stackoverflow xcode-server-ibtool-build-failures
回答3:
I created a new simple project to test Xcode Bot and the same problem happened.
I have try several ways including allow all items to access keychain, however, it didn't work until I unchecked the Code coverage
.
来源:https://stackoverflow.com/questions/32106759/xcode-bot-fails-with-no-activity-for-too-long-error