xcode安装/Applications/Xcode.app/Contents/Developer
calabash版本
➜ calabash.framework git:(master) ✗ Resources/version
0.9.169Calabash服务器版本
{
"outcome" => "SUCCESS",
"app_id" => "<removed>",
"simulator_device" => "iPhone",
"version" => "0.9.169",
"app_name" => "iPhone-cal",
"iphone_app_emulated_on_ipad" => false,
"4inch" => true,
"git" => {
"remote_origin" => "git@github.com:calabash/calabash-ios-server.git",
"branch" => "master",
"revision" => "ca62f6e"
},
"app_version" => "1.0",
" iOS_version" => "7.1",
"system" => "x86_64",
"simulator" => "iPhone Simulator 463.9.41, iPhone OS 7.1 (iPhone Retina (4-inch)/11D167)"
}目标等。
export DEBUG=1 DEVICE_TARGET='iPhone Retina (4-inch) - Simulator - iOS 7.1'问题是,当我运行cucumber时,我得到了以下随机失败(这也会导致构建失败,并导致我从CI/CD堆栈中删除功能测试)。
0.9.169/features/step_definitions/calabash_steps.rb:161
Then I touch "Nationstar Bank" # calabash-cucumber-0.9.169/features/step_definitions/calabash_steps.rb:15
Retrying.. Errno::ECONNREFUSED: (Connection refused - connect(2) (http://localhost:37265))
Retrying.. Errno::ECONNREFUSED: (Connection refused - connect(2) (http://localhost:37265))
Failing... Errno::ECONNREFUSED
Retrying.. Errno::ECONNREFUSED: (Connection refused - connect(2) (http://localhost:37265))
Retrying.. Errno::ECONNREFUSED: (Connection refused - connect(2) (http://localhost:37265))
Failing... Errno::ECONNREFUSED
Then I wait to see "Choose Date" # calabash-cucumber-0.9.169/features/step_definitions/calabash_steps.rb:161
enter code here其他信息:
Apple OS : 10.9.3发布于 2014-06-27 17:27:08
我也遇到过类似的问题,看到很多"ECONNREFUSED“。当在本地机器上运行时,它工作得很好,但在Jenkins CI上失败了。
这是由于启动作业时未删除构建目录(APP_BUNDLE_PATH)造成的。
这是因为“清除存储库并强制克隆”不会删除git中不存在的文件,即"./Build“。
https://stackoverflow.com/questions/24144434
复制相似问题