"Asegúrate de haber configurado APP_BUNDLE_PATH para una compilation compatible con esta versión de simulador" en el medio de testing ejecutada en el set de testings

Tengo casi 30 testings de pepino funcionando en Teamcity9.0. Cada escenario se establece como RESET_BETWEEN_SCENARIOS = 1

La mayoría de las veces encontré que en el medio de la suite se ejecutan tantas veces que aparece el siguiente error para 4-5 testings de 30 testings

Unable to start. Make sure you've set APP_BUNDLE_PATH to a build supported by this simulator version [04:28:47][Step 3/3] Calabash::Cucumber::Launcher::StartError: Time out waiting for UIAutomation run-loop Instruments failed to launch app: 'FBSOpenApplicationErrorDomain error 8. [04:28:47][Step 3/3] Logfile /Users/teamcity/TeamCity/buildAgent/temp/buildTmp/run_loop20150527-41162-cdivr0/run_loop.out [04:28:47][Step 3/3] [04:28:47][Step 3/3] Instruments Trace Error : Target failed to run: The operation couldn't be completed. (FBSOpenApplicationErrorDomain error 8.) : Failed to launch process with bundle identifier 'com.worldremit.ios.dev' [04:28:47][Step 3/3] [04:28:47][Step 3/3] (Calabash::Cucumber::Launcher::StartError) [04:28:47][Step 3/3] /Users/teamcity/.rvm/gems/ruby-2.0.0-p598/gems/calabash-cucumber-0.14.1/lib/calabash-cucumber/launcher.rb:766:in `new_run_loop' [04:28:47][Step 3/3] /Users/teamcity/.rvm/gems/ruby-2.0.0-p598/gems/calabash-cucumber-0.14.1/lib/calabash-cucumber/launcher.rb:631:in `relaunch' [04:28:47][Step 3/3] /Users/teamcity/TeamCity/buildAgent/work/12ed2ac462eef269/functional-tests/features/ios/support/01_launch.rb:7:in `Before' Retrying.. Errno::ECONNREFUSED: (Connection refused - connect(2) (http://localhost:37265)) [04:28:48][Step 3/3] Retrying.. Errno::ECONNREFUSED: (Connection refused - connect(2) (http://localhost:37265)) [04:28:48][Step 3/3] Failing... Errno::ECONNREFUSED [04:28:48][Step 3/3] Connection refused - connect(2) (http://localhost:37265) (Errno::ECONNREFUSED) [04:28:48][Step 3/3] /Users/teamcity/.rvm/gems/ruby-2.0.0-p598/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:799:in `initialize' [04:28:48][Step 3/3] /Users/teamcity/.rvm/gems/ruby-2.0.0-p598/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:799:in `new' [04:28:48][Step 3/3] /Users/teamcity/.rvm/gems/ruby-2.0.0-p598/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:799:in `create_socket' [04:28:48][Step 3/3] /Users/teamcity/.rvm/gems/ruby-2.0.0-p598/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:747:in `block in connect' [04:28:48][Step 3/3] /Users/teamcity/.rvm/rubies/ruby-2.0.0-p598/lib/ruby/2.0.0/timeout.rb:66:in `timeout' [04:28:48][Step 3/3] /Users/teamcity/.rvm/rubies/ruby-2.0.0-p598/lib/ruby/2.0.0/timeout.rb:97:in `timeout' [04:28:48][Step 3/3] /Users/teamcity/.rvm/gems/ruby-2.0.0-p598/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:746:in `connect' [04:28:48][Step 3/3] /Users/teamcity/.rvm/gems/ruby-2.0.0-p598/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:612:in `query' [04:28:48][Step 3/3] /Users/teamcity/.rvm/gems/ruby-2.0.0-p598/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:164:in `query' [04:28:48][Step 3/3] /Users/teamcity/.rvm/gems/ruby-2.0.0-p598/gems/httpclient-2.6.0.1/lib/httpclient.rb:1191:in `do_get_block' [04:28:48][Step 3/3] /Users/teamcity/.rvm/gems/ruby-2.0.0-p598/gems/httpclient-2.6.0.1/lib/httpclient.rb:974:in `block in do_request' [04:28:48][Step 3/3] /Users/teamcity/.rvm/gems/ruby-2.0.0-p598/gems/httpclient-2.6.0.1/lib/httpclient.rb:1082:in `protect_keep_alive_disconnected' [04:28:48][Step 3/3] /Users/teamcity/.rvm/gems/ruby-2.0.0-p598/gems/httpclient-2.6.0.1/lib/httpclient.rb:969:in `do_request' [04:28:48][Step 3/3] /Users/teamcity/.rvm/gems/ruby-2.0.0-p598/gems/httpclient-2.6.0.1/lib/httpclient.rb:822:in `request' [04:28:48][Step 3/3] /Users/teamcity/.rvm/gems/ruby-2.0.0-p598/gems/httpclient-2.6.0.1/lib/httpclient.rb:713:in `get' [04:28:48][Step 3/3] /Users/teamcity/.rvm/gems/ruby-2.0.0-p598/gems/calabash-cucumber-0.14.1/lib/calabash-cucumber/http_helpers.rb:60:in `block in make_http_request' [04:28:48][Step 3/3] /Users/teamcity/.rvm/gems/ruby-2.0.0-p598/gems/calabash-cucumber-0.14.1/lib/calabash-cucumber/http_helpers.rb:50:in `times' [04:28:48][Step 3/3] /Users/teamcity/.rvm/gems/ruby-2.0.0-p598/gems/calabash-cucumber-0.14.1/lib/calabash-cucumber/http_helpers.rb:50:in `make_http_request' [04:28:48][Step 3/3] /Users/teamcity/.rvm/gems/ruby-2.0.0-p598/gems/calabash-cucumber-0.14.1/lib/calabash-cucumber/http_helpers.rb:29:in `http' [04:28:48][Step 3/3] /Users/teamcity/.rvm/gems/ruby-2.0.0-p598/gems/calabash-cucumber-0.14.1/lib/calabash-cucumber/connection_helpers.rb:11:in `http' [04:28:48][Step 3/3] /Users/teamcity/.rvm/gems/ruby-2.0.0-p598/gems/calabash-cucumber-0.14.1/lib/calabash-cucumber/failure_helpers.rb:24:in `screenshot' [04:28:48][Step 3/3] /Users/teamcity/.rvm/gems/ruby-2.0.0-p598/gems/calabash-cucumber-0.14.1/lib/calabash-cucumber/failure_helpers.rb:52:in `screenshot_embed' [04:28:48][Step 3/3] /Users/teamcity/TeamCity/buildAgent/work/12ed2ac462eef269/functional-tests/features/ios/support/hooks.rb:4:in `After' 

¿Alguna de idea de cómo arreglarlo?

 xcode-select -p /Applications/Xcode.app/Contents/Developer Details xcode 6.3.1 buildagent:- Mac mini Yosemite 10.10.3 calabash ios version 0.14.1 simulator iphone 5s 8.3 OS profile I am using for running the tests in cucumber.yml <% common = "-r features/support -r features/step_definitions" ios_smoke_specific = "-r features/ios/support -r features/ios/pages RESET_BETWEEN_SCENARIOS=1 PLATFORM=ios APP_BUNDLE_PATH=\"../abc.app\" --tags @smoke -f pretty -f html -o test-result/ios/smoke/default_device/ios_test_result.html" %> ios5s_smoke_teamcity: DEVICE_TARGET="iPhone 5s (8.3 Simulator)" <%= common %> <%= ios_smoke_specific %> 

Usamos Xmarin para desarrollar la aplicación.

+1 para informar los detalles de su sistema.

Calabash :: Cucumber :: Launcher :: StartError: Tiempo de espera en espera de UIAutomation run-loop Los instrumentos no pudieron iniciar la aplicación: 'FBSOpenApplicationErrorDomain error 8.

Este problema se discute en la página Calabash iOS Hot Topics . Los detalles sangrientos se pueden encontrar en este problema de GitHub .

Intente actualizar su versión de ciclo de ejecución al less 1.3.1.

Si ya está usando run-loop> = 1.3.1, actualice su pregunta con su soporte / 01_launch.rb. Si este problema solo aparece en TeamCity, mi mejor suposition es que TeamCity está teniendo problemas para administrar el Simulador de iOS. Este es un problema común en los sistemas de CI (Travis, Jenkins, etc.). No tengo ningún consejo sobre TeamCity.