【问题标题】:Xcode 7.0.1, Bots, and Server 5.0.4: Test target "xx" encountered an error - Timed out waiting 120 seconds for simulator to bootXcode 7.0.1、Bots 和 Server 5.0.4:测试目标“xx”遇到错误 - 等待 120 秒模拟器启动超时
【发布时间】:2016-01-05 08:29:03
【问题描述】:

预期结果:您在创建机器人时选中“测试”复选框,Xcode 服务器完美地执行 mt 测试,就像在 WWDC 中一样。

结果: Xcode 报出一堆模拟器超时错误,集成失败。

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)

环境:

  • Xcode 7.0.1
  • 服务器 5.0.4
  • OSX 10.11
  • 在两个不同的机器上复制了两个不同的项目。
  • 另外,在 OSX 10.10 和 Xcode 6 上也遇到过这种情况

真正的问题: 我是一个足够称职的程序员,拥有多年的 iOS 经验。很难相信,虽然可能不应该这样,但在 WWDC 中看起来如此简单的东西在两个不同的操作系统和 Xcode 版本上却如此失败。

注意事项:

  • 我在同一台机器上运行 Xcode 和 Xcode Server。我不必通过 SSH 登录。
  • Xcode 建议检查的集成日志文件路径无效,但我可以从 Xcode 获取原始构建日志

这里列出了其他有类似问题的人,也许会对其他人有所帮助:

【问题讨论】:

  • 我发现 iOS 模拟程序对 CI 情况非常挑剔。我们最近从 TeamCity 转移到 XCode Server 再到 OS X Server,现在一切正常(手指交叉)。但是,我会在每次运行 UI 测试之前重置模拟人生。
  • 如何重置模拟器?你能描述一下吗?更有趣的是,你能看到构建服务器上运行的模拟程序吗?

标签: ios xcode continuous-integration bots xcode-server


【解决方案1】:

请复制雷达https://openradar.appspot.com/23386199,以便苹果能够识别这种奇怪的行为

这对我有用:Xcode server, bots, continuous integration, and unit-testing on the simulator

【讨论】:

    猜你喜欢
    • 2015-01-18
    • 2017-04-03
    • 1970-01-01
    • 2023-02-05
    • 2022-11-30
    • 2016-11-16
    • 2019-02-25
    • 2021-08-31
    相关资源
    最近更新 更多