Xamarin云上的iOS自动化



我正在尝试Xamarin测试云。

我可以使用以下配置文件在本地设备上运行测试:

**但Xamarin运行失败,并显示以下消息:

背景:#features/app_regression_master_cases/tc_001_card_front_side。feature:4执行已过期(HTTPClient::ConnectTimeoutError)
/xamarin/workspaces/pipeline20151207-54352-a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:799:ininitialize'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:799:in
新'
/xamarin/workspaces/pipeline20151207-54352-a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:799:in连接中的create_socket'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:747:in
块'
/xamarin/workspaces/pipeline20151207-54352-15zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:746:inconnect'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:612:in
查询'
/xamarin/workspaces/pipeline20151207-54352-a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:164:inquery'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient.rb:1191:in
do_get_block'
/xamarin/workspaces/pipeline20151207-54352-a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient.rb:974:inblock in do_request'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient.rb:1082:in
protect_keep_live_disconnected'
/xamarin/workspaces/pipeline20151207-54352-a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient.rb:969:indo_request'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient.rb:822:in
请求'
/xamarin/workspaces/pipeline20151207-54352-15zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient.rb:713:inmake_http_request中的get'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/calabash-cucumber-0.16.3/lib/calabash-cucumber/http_helpers.rb:59:in
块'
/xamarin/workspaces/pipeline20151207-54352-15zuwf/inputs/pre/installation/wworkspace/local_gems/gems/calabash-ccumber-0.116.3/lib/calabash-cocumber/http_helpers.rb:50:intimes'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/calabash-cucumber-0.16.3/lib/calabash-cucumber/http_helpers.rb:50:in
make_http_request'
/xamarin/workspaces/pipeline20151207-54352-15zuwf/inputs/pre/installation/wworkspace/local_gems/gems/calabash-ccumber-0.116.3/lib/calabash-cocumber/http_helpers.rb:29:inhttp'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/calabash-cucumber-0.16.3/lib/calabash-cucumber/connection_helpers.rb:11:in
http'
/Volumes/Data/xamarin/workspaces/pipeline20151207-54352-a5zuwf/workspace/xtc沙盒运行库lib/xtc/formatter/patches/calabash_ios_patch.rb:182:inxtc_start_app'
/Volumes/Data/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/workspace/xtc-sandbox-runtime-lib/xtc/formatter/patches/calabash_ios_patch.rb:131:in
重新启动'
/Volumes/Data/xamarin/workspaces/pipeline20151207-54352-a5zuwf/workspace/features/ios/support/01_launch.rb:31:in`之前'给定应用程序已启动#features/step_definitions/launch_steps.rb:1

这个怎么了?

不要在XTC上设置任何env变量。

有关使用一组配置文件进行本地测试和另一组配置程序进行XTC测试的示例,请参阅iOS烟雾测试示例

提交测试时,请使用--config--profile标志。

最新更新