fastlane-old / scan

The easiest way to run tests of your iOS and Mac app
https://fastlane.tools
221 stars 25 forks source link

Connection interrupted, some tests skipped #91

Closed geoffraeder closed 8 years ago

geoffraeder commented 8 years ago

Hello,

First just want to say thanks for putting scan together. Have been using it successfully to run our UI tests. Anyway, something I've been noticing is sometimes the tests appear to stop and then restart resulting in some tests getting skipped. They are listed as failed tests at the end, but not in the tallied count. The only error I see in the log is this: BSXPCMessage received error for message: Connection interrupted

It seems after that the tests start up again and continue, although some get skipped. I typically see this in the output indicating a new session has started:

2016-02-16 07:31:42.219 xcodebuild[34653:8622301] [MT]
 IDETestOperationsObserverDebug: (FBF8CA92-34F0-4D73-95CE-599224982364) Beginning test
 session FBF8CA92-34F0-4D73-95CE-599224982364 with Xcode 7C1002 on target
  { 
[07:31:42]: ▸ SimDevice: SimDevice : iPad Air 2 (4BBEA65D-4A49-4BBC-B5CE-3B1B687C857C) :
 state={ Booted } deviceType={ SimDeviceType : com.apple.CoreSimulator.SimDeviceType.iPad-Air-2 } 
runtime={ SimRuntime : 9.2 (13C75) - com.apple.CoreSimulator.SimRuntime.iOS-9-2 }

I imagine this isn't necessarily a scan issue, but wondering if you've run into it. Any insight?

vpolouchkine commented 8 years ago

Can you try http://stackoverflow.com/a/29872829/4802413?

fastlane-bot-helper commented 8 years ago

This issue was migrated to https://github.com/fastlane/fastlane/issues/1930. Please post all further comments there.

fastlane is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo :rocket: