HI @jmoody
I have a bug that I want report you as below. Then please support me to resolve it.
Thank you so much
REST_BETWEEN_SCENARIOS=1 DEVICE_ENDPOINT=http://10.48.0.36:37265 DEVICE_TARGET=dca1dc41e80d5fa49fc41133c03d704d2b62a06e BUNDLE_ID=test.core.app-cal APP_BUNDLE_PATH="app-cal.app" cucumber -v
Code:
- features/support/env.rb
- features/support/01_launch.rb
- features/support/02_pre_stop_hooks.rb
- features/step_definitions/calabash_steps.rb
- features/step_definitions/my_first_steps.rb
Features:
- features/my_first.feature
Parsing feature files took 0m0.016s
Feature: Running a test
As an iOS developer
I want to have a sample feature file
So I can begin testing quickly
Scenario: Example steps # features/my_first.feature:6
Unable to start. Make sure you've set APP_BUNDLE_PATH to a build supported by this simulator version
Calabash::Cucumber::Launcher::StartError: Time out waiting for UIAutomation run-loop Error while writing to fifo. RunLoop::Fifo::NoReaderConfiguredError.
Logfile /var/folders/b7/f1yzx1ls7wjgn_953my63m200000gp/T/run_loop20151021-50207-1kzqybk/run_loop.out
2015-10-21 18:42:18.282 instruments[50319:333698] WebKit Threading Violation - initial use of WebKit from a secondary thread.
(Calabash::Cucumber::Launcher::StartError)
/Users/hoangvm/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/calabash-cucumber-0.15.0/lib/calabash-cucumber/launcher.rb:775:in new_run_loop' /Users/hoangvm/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/calabash-cucumber-0.15.0/lib/calabash-cucumber/launcher.rb:636:in
relaunch'
/Users/hoangvm/IOS-INP-Cal/calabash/features/support/01_launch.rb:27:in Before' Given I am on the Welcome Screen # features/step_definitions/my_first_steps.rb:1 Then I swipe left # calabash-cucumber-0.15.0/features/step_definitions/calabash_steps.rb:222 And I wait until I don't see "Please swipe left" # calabash-cucumber-0.15.0/features/step_definitions/calabash_steps.rb:158 And take picture # calabash-cucumber-0.15.0/features/step_definitions/calabash_steps.rb:217 getaddrinfo: nodename nor servname provided, or not known (http://proxy-monolala.local:3128) (SocketError) /Users/hoangvm/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:799:in
initialize'
/Users/hoangvm/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:799:in new' /Users/hoangvm/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:799:in
create_socket'
/Users/hoangvm/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:747:in `block in connect'
/Users/hoangvm/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/timeout.rb:66:in timeout' /Users/hoangvm/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/timeout.rb:97:in
timeout'
/Users/hoangvm/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:746:in connect' /Users/hoangvm/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:612:in
query'
/Users/hoangvm/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:164:in query' /Users/hoangvm/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/httpclient-2.6.0.1/lib/httpclient.rb:1191:in
do_get_block'
/Users/hoangvm/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/httpclient-2.6.0.1/lib/httpclient.rb:974:in block in do_request' /Users/hoangvm/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/httpclient-2.6.0.1/lib/httpclient.rb:1082:in
protect_keep_alive_disconnected'
/Users/hoangvm/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/httpclient-2.6.0.1/lib/httpclient.rb:969:in do_request' /Users/hoangvm/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/httpclient-2.6.0.1/lib/httpclient.rb:822:in
request'
/Users/hoangvm/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/httpclient-2.6.0.1/lib/httpclient.rb:725:in post' /Users/hoangvm/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/calabash-cucumber-0.15.0/lib/calabash-cucumber/http_helpers.rb:57:in
block in make_http_request'
/Users/hoangvm/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/calabash-cucumber-0.15.0/lib/calabash-cucumber/http_helpers.rb:50:in times' /Users/hoangvm/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/calabash-cucumber-0.15.0/lib/calabash-cucumber/http_helpers.rb:50:in
make_http_request'
/Users/hoangvm/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/calabash-cucumber-0.15.0/lib/calabash-cucumber/http_helpers.rb:29:in http' /Users/hoangvm/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/calabash-cucumber-0.15.0/lib/calabash-cucumber/connection_helpers.rb:11:in
http'
/Users/hoangvm/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/calabash-cucumber-0.15.0/lib/calabash-cucumber/core.rb:877:in calabash_exit' /Users/hoangvm/IOS-INP-Cal/calabash/features/support/01_launch.rb:34:in
After'
Failing Scenarios:
cucumber features/my_first.feature:6 # Scenario: Example steps
1 scenario (1 failed)
4 steps (4 skipped)
2m56.547s
Here is my Environment
xcode-select --print-path
/Applications/Xcode.app/Contents/Developer/
xcodebuild -version
Xcode 6.4
Build version 6E35b
calabash-ios version
0.15.0
I can run normally on Simulator iPhone6 6Plus then I can make sure no problem with -cal.app or BUNDLE PATH