Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Timeout while running calabash on jenkins and via SSH #251
What's going on:
How it fails exactly (via SSH connection and with jenkins):
What I've already tried:
How it fails:
What makes me uneasy are those 'authorize' lines as well as 'Fail: Could not start script, target application is not frontmost'
Regardless how I try to run calabash tests simulator on the remote server is always started - so this isn't probably and issue with permissions.
Any ideas how it could be fixed?
I spent the morning looking into this and have made no progress. When I run locally, I will get that timeout one time (consistently), and then my UI tests will run on the second try. On Jenkins, it will bounce back and forth between the timeout 3 times (thus resulting in a failure), and sometimes I get an alert for "ios simulator failed to install the application".
These tests used to be working fine, or were just a little flakey, but acceptable, prior to updating to Xcode 5.0.2 (5A3005).
My next idea is to try the beta iOS 7.1 that just came out and see if anything changes with that, but other than that, I could really use some direction on how to move forward. Anyone have any ideas?
After updating to Xcode 5.1 DP, this is my log:
I am going to close this issue because it does not pertain to the calabash gem.
This discussion is better suited for the forum.
I really do not like closing active, lively conversations like this one, but this is not right venue. We are investigating other forum/discussion platforms beyond the google forums.
The overall problem was that when running via SSH, jenkins had no way of confirming the prompts you get on an OSX (the first time after logging in)
It was quite difficult to track exactly because you only get this the first time ... and you therefore forget about it...
This issue really helped: #203
Hi @gsaslis. thank you for your answer.
I did as you suggest, I bypassed the error. However, It shows another error as below
xcodebuild[12244:1007] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/DVTiOSFrameworks/DVTiOSFrameworks-6760/DVTiPhoneSimulatorRemoteClient/DTiPhoneSimulatorSession.m:285