I am trying on Xamarin Test Cloud.
I can run test on my local device with this profile:
** But Xamarin run failed with below message:
Background: # features/app_regression_master_cases/tc_001_card_front_side.feature:4 execution expired (HTTPClient::ConnectTimeoutError)
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:799:ininitialize'
new'
/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-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:799:increate_socket'
block in connect'
/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-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:746:inconnect'
query'
/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-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:164:inquery'
do_get_block'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient.rb:1191:in
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient.rb:974:inblock in do_request'
protect_keep_alive_disconnected'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient.rb:1082:in
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient.rb:969:indo_request'
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-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient.rb:713:inget'
block in make_http_request'
/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-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/calabash-cucumber-0.16.3/lib/calabash-cucumber/http_helpers.rb:50:intimes'
make_http_request'
/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
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/calabash-cucumber-0.16.3/lib/calabash-cucumber/http_helpers.rb:29:inhttp'
http'
/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
/Volumes/Data/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/workspace/xtc-sandbox-runtime-lib/xtc/formatter/patches/calabash_ios_patch.rb:182:inxtc_start_app'
relaunch'
/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-1a5zuwf/workspace/features/ios/support/01_launch.rb:31:in `Before' Given App is launched # features/step_definitions/launch_steps.rb:1
What's wrong with this?
Don't set any env variables on the XTC.
For an example of using one set of profiles for local testing and another for XTC testing see iOS Smoke Test Example
When you submit your test use the --config
and --profile
flags.