Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start_test_server_in_background report failed to connect to socket 'tcp:7102' #73

Open
mayfu opened this issue Aug 27, 2018 · 0 comments

Comments

@mayfu
Copy link

mayfu commented Aug 27, 2018

I follow https://github.com/calabash/calabash-android-server to execute build for test project and tests
$ ./run-tests.sh
it report:

Scenario: Running the unit test # features/unittest.feature:2
Then I install the app # features/steps/shared.rb:1
Then I start the app # features/steps/shared.rb:5
App did not start see adb logcat for details (RuntimeError)
/calabash-android-server/server/integration-tests/calabash-android/ruby-gem/lib/calabash-android/operations.rb:743:in block in start_test_server_in_background' /calabash-android-server/server/integration-tests/calabash-android/ruby-gem/lib/calabash-android/retry.rb:10:in block in retry'
/calabash-android-server/server/integration-tests/calabash-android/ruby-gem/lib/calabash-android/retry.rb:8:in times' /calabash-android-server/server/integration-tests/calabash-android/ruby-gem/lib/calabash-android/retry.rb:8:in retry'
/calabash-android-server/server/integration-tests/calabash-android/ruby-gem/lib/calabash-android/operations.rb:742:in start_test_server_in_background' /calabash-android-server/server/integration-tests/calabash-android/ruby-gem/lib/calabash-android/operations.rb:152:in start_test_server_in_background'
./features/steps/shared.rb:7:in /^I start the app$/' features/unittest.feature:4:in Then I start the app'

I use "adb logcat -d", it print:

=============
8-27 17:57:56.629 2075 2075 D ImsResolver: maybeAddedImsService, packageName: sh.calaba.unittester.test
08-27 17:57:56.637 2075 2075 D CarrierSvcBindHelper: No carrier app for: 0
08-27 17:57:56.645 2350 2350 E adbd : failed to connect to socket 'tcp:7102': Connection refused
08-27 17:57:56.647 2350 2350 E adbd : failed to connect to socket 'tcp:7102': Connection refused

what's wrong?

@mayfu mayfu changed the title start_test_server_in_background report create_local_service_socket fail start_test_server_in_background report failed to connect to socket 'tcp:7102' Aug 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant