XCode 7.0.1,Bots和Server 5.0.4:测试目标“xx”遇到错误 - 超时等待120秒模拟器启动 [英] XCode 7.0.1, Bots, and Server 5.0.4: Test target "xx" encountered an error - Timed out waiting 120 seconds for simulator to boot

查看:356
本文介绍了XCode 7.0.1,Bots和Server 5.0.4:测试目标“xx”遇到错误 - 超时等待120秒模拟器启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

预期结果:在创建漫游器时选中测试复选框,Xcode服务器完美执行mt测试,例如

结果: Xcode会产生一堆模拟器超时错误,并且集成失败。




测试目标xxx遇到错误(超时等待120秒,模拟器启动,当前状态为1.如果您相信此错误表示错误,请将日志文件附加到/Library/Developer/XcodeServer/Integrations/Integration-0e5a387ef456a57b7a2d5a90d004256d/xxxx.log)



环境:




  • XCode 7.0.1

  • 4

  • OSX 10.11

  • 在具有两个不同项目的两台不同计算机上进行复制。

  • 此外,在OSX 10.10和Xcode 6上体验过了




我是一个有能力的足够程序员,拥有多年的iOS经验。很难相信,虽然也许不应该这样,在​​WWDC看起来这么简单的东西会在两个不同的操作系统和版本的Xcode上失败。




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



以下是有类似问题的其他人的名单,也许会帮助别人:




解决方案

请复制雷达 https://openradar.appspot.com/23386199 因此苹果希望能够识别这种奇怪的行为



这对我有用: Xcode服务器,机器人,持续集成和模拟器上的单元测试


Expected Result: You check the "Test" checkbox when creating a bot and Xcode server flawlessly executes mt tests like in the WWDC.

Result: Xcode barfs up a bunch of simulator timeout errors and the integration fails.

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
  • Replicated on two different machine with two different projects.
  • Also, experienced this on OSX 10.10 and Xcode 6

Real Problem: I'm a competent enough programmer with several years of iOS experience. It's hard to believe, although maybe it shouldn't be, that something that looks so simple in WWDC would fail so hard for on two different operating systems and versions of Xcode. Any help would be appreciated!

Notes:

  • I'm running Xcode and Xcode Server from the same machine. I don't have to SSH in.
  • The integration log file path that Xcode suggests checking is invalid, though I can get the raw build log from the Xcode

Here is a list of other people having similar issues, maybe it will help others:

解决方案

Please duplicate the radar https://openradar.appspot.com/23386199 so apple hopefully recognizes this strange behaviour

This worked for me: Xcode server, bots, continuous integration, and unit-testing on the simulator

这篇关于XCode 7.0.1,Bots和Server 5.0.4:测试目标“xx”遇到错误 - 超时等待120秒模拟器启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆