Expected Result: 在创建机器人时检查"Test"复选框,Xcode服务器完美地执行mt测试,如WWDC .
Result: Xcode barfs一堆模拟器超时错误,并且集成失败 .
Test target "xxx" encountered an error (Timed out waiting 120 seconds for simulator to boot, current state is 1. If you believe this error represents a bug, please attach the log file at /Library/Developer/XcodeServer/Integrations/Integration-0e5a387ef456a57b7a2d5a90d004256d/xxxx.log)
Environment:
-
XCode 7.0.1
-
Server 5.0.4
-
OSX 10.11
-
在具有两个不同项目的两台不同机器上复制 .
-
此外,在OSX 10.10和Xcode 6上体验过这一点
Real Problem: 我很难相信,尽管可能不应该,但在WWDC中看起来如此简单的东西在两个不同的操作系统和Xcode版本上都会如此难以理解 . 任何帮助,将不胜感激!
Notes:
-
我'm running Xcode and Xcode Server from the same machine. I don' t必须要SSH .
-
Xcode建议检查的集成日志文件路径无效,但我可以从Xcode获取原始构建日志
这是其他人有类似问题的列表,也许它会帮助其他人:
-
Xcode server, bots, continuous integration, and unit-testing on the simulator(同样的问题,解决方案不起作用)
-
https://github.com/czechboy0/Buildasaur/issues/84(不完全相同,但相关)
-
http://joshuabrauer.com/2015/04/xcode-server-and-continuous-integration-ios(解决它的少数人之一,无法复制)
-
Timeout when running xcodebuild tests under Xcode 6 via SSH(詹金斯解决方案)
-
Timed out waiting 120 seconds for simulator to boot(TeamCity CI问题 - 在评论中解决)
-
https://devforums.apple.com/message/1040016#1040016(Jenkins / SSH方法 - 解决*)
1 回答
请复制雷达https://openradar.appspot.com/23386199所以苹果希望能识别出这种奇怪的行为
这对我有用:Xcode server, bots, continuous integration, and unit-testing on the simulator