Skip to content

Comments

WIP: use sudo: true on travis ci#5538

Merged
ezyang merged 2 commits intohaskell:masterfrom
joshk:patch-1
Aug 25, 2018
Merged

WIP: use sudo: true on travis ci#5538
ezyang merged 2 commits intohaskell:masterfrom
joshk:patch-1

Conversation

@joshk
Copy link
Contributor

@joshk joshk commented Aug 22, 2018

Josh here from Travis CI

Our sudo: true infrastructure are full VMs and are generally faster build environments than the false counterpart.

Additionally, we can enable 4 core VMs, giving you faster compile times.

This change will allow me to enable the 4 core feature for testing.

@chshersh
Copy link
Member

I like this change. For all my Haskell projects I usually set sudo: true on Travis CI. Haskell can benefit a lot from build parallelism.

@ezyang
Copy link
Contributor

ezyang commented Aug 23, 2018

Blaming the relevant line, I see:

    - When possible, we use the container infrastructure (sudo: false)
      rather than Google Compute Engine infrastructure (sudo: required).
      Unfortunately, we can't use GCE for the Linux builds, where
      reduced RAM available hoses are GHC build.

Indeed, the failing job appears to have failed because of this https://travis-ci.org/haskell/cabal/jobs/419385574

@joshk
Copy link
Contributor Author

joshk commented Aug 23, 2018

@ezyang the Google VMs have more ram, and I can move cabal to our 4 core 16 gigs of ram setup to have even more yet again.

I'm going to enable the larger VMs and make a minor change to the .travis.yml to see what impact this has.

@phadej
Copy link
Collaborator

phadej commented Aug 23, 2018

@joshk thanks a lot!

@ezyang ezyang merged commit f6797c5 into haskell:master Aug 25, 2018
@23Skidoo
Copy link
Member

@joshk Thanks!

@joshk
Copy link
Contributor Author

joshk commented Aug 29, 2018

My pleasure. Let me know how it goes and if there is anything I can help with.

@23Skidoo
Copy link
Member

@joshk We've been lately seeing frequent timeouts on the macOS configurations (example), would be great if the time limit could be bumped a little bit for these.

@joshk
Copy link
Contributor Author

joshk commented Sep 28, 2018

Hey @23Skidoo, sorry I missed your comment. Sure, I can look into this. Is it still happening?

Also, how are the larger VMs going? It might be best to look into more concurrency for Haskell so that builds also process faster.

@23Skidoo
Copy link
Member

@joshk Yep, macOS configurations are still a problem for us, here's a recent example where they are timeouting: https://travis-ci.org/haskell/cabal/builds/433034932?utm_source=github_status&utm_medium=notification.

Linux configurations seem to be working fine, thanks!

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

Successfully merging this pull request may close these issues.

5 participants