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

Travis is failing #50

Closed
bootstraponline opened this issue Mar 21, 2016 · 8 comments
Closed

Travis is failing #50

bootstraponline opened this issue Mar 21, 2016 · 8 comments
Assignees

Comments

@bootstraponline
Copy link
Contributor

I updated the docs and was surprised to see all the Travis failures.

The job exceeded the maxmimum time limit for jobs, and has been terminated.

https://travis-ci.org/google/EarlGrey/jobs/116943768

Executed 208 tests, with 2 failures (2 unexpected) in 2361.286 (2361.643) seconds

https://travis-ci.org/google/EarlGrey/jobs/116943769

@tirodkar
Copy link
Collaborator

Thanks for bringing this to our attention @bootstraponline, we're currently working on fixing these issues.

@khandpur khandpur self-assigned this Mar 27, 2016
@khandpur khandpur added the P1 label Mar 27, 2016
@bootstraponline
Copy link
Contributor Author

Travis has a hard limit of 50 minutes for Mac builds. If there was some way to cache the app build instead of recompiling every time, that might help.

For appium, we've had to use an open source cloudbees account with on premise executors because Travis doesn't play nice with lots of UI tests.

@khandpur
Copy link
Collaborator

khandpur commented Apr 6, 2016

Yeah it's been pretty annoying trying to work around that. Also, Travis has a log size limit of 2 (or 3) mb I don't quite recall exactly. I switched to using xcpretty for that reason however I think xcpretty sometimes hangs or at least doesn't output stuff which makes travis believe xcodebuild is stuck for more than 10 mins and it terminates our test run.

@bootstraponline
Copy link
Contributor Author

Yeah, another awesome feature of Travis:

If no output is received from a build for 10 minutes, it’s assumed to have stalled for unknown reasons and is subsequently killed.
https://docs.travis-ci.com/user/common-build-problems/

Probably why Swift provides their own hardware for CI. Hopefully Google has some way of provisioning Macs for builds. I wish there was an AWS like service for Mac builds (without silly timeouts).

@bootstraponline
Copy link
Contributor Author

Travis uses MacStadium. Using them directly would mean no limits on the builds. For CI, it'd be easy to plug into a free cloudbees jenkins account.

@tirodkar
Copy link
Collaborator

Does this still need to be open?

@bootstraponline
Copy link
Contributor Author

Yes, Travis is still failing.

https://travis-ci.org/google/EarlGrey

@khandpur
Copy link
Collaborator

Duplicate of #181

@khandpur khandpur marked this as a duplicate of #181 Aug 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants