0
我有UI測試,它們不是從詹金斯運行,而是從當前VM運行,當我通過VNC登錄時,我可以啓動並通過它們。我的節點通過jnlp連接到Jenkins,vnc會話正在運行。用戶是相同詹金斯和本地VMXcode 6.2 UI測試不會從模擬器上的Jenkins運行
xcodebuild -scheme 'QVC - QA' -sdk iphonesimulator -destination 'name=iPhone 6' test
12:38:28 Touch /Users/.../Library/Developer/Xcode/DerivedData/QVC-chdwbiakejemyxbyyafcpmiavikg/Build/Products/Acceptance-iphonesimulator/QVCTests.xctest
12:38:28 cd /Users/.../workspace/qvc-test/project/Sources
12:38:28 export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/.../.rvm/bin:/Users/.../ci-tools_new/xcpretty/bin:/usr/local/apache-ant/bin"
12:38:28 /usr/bin/touch -c /Users/.../Library/Developer/Xcode/DerivedData/QVC-chdwbiakejemyxbyyafcpmiavikg/Build/Products/Acceptance-iphonesimulator/QVCTests.xctest
12:38:28
12:40:28 2015-04-22 12:40:28.456 xcodebuild[53002:100b] [MT] IDEUnitTestsOperationsObserverDebug: Unable to get debug console for logging target process thread state.
12:40:28
12:40:28 Testing failed:
12:40:28 Test target QVCTests encountered an error (Canceling tests due to timeout in Waiting for test process to check in... If you believe this error represents a bug, please attach the log file at /var/folders/xx/l0mp3szd0bx332cv3qrw1v3h0000gq/T/com.apple.dt.XCTest-status/Session-2015-04-22_12:37:12-u1STY7.log)
12:40:28 ** TEST FAILED **
和本地計算機上我已經運行相同的命令,但實驗成功