build: use Xenial and gcc 6 on Travis by richardlau · Pull Request #26720 · nodejs/node (original) (raw)
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 andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation20 Commits3 Checks0 Files changed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes- commit message follows commit guidelines
richardlau added wip
Issues and PRs that are still a work in progress.
PRs that contain breaking changes and should be released in the next major version.
labels
I don't think it has to be semver-major. Travis CI results are indicative and we don't rely on them to land PRs.
addaleax removed the semver-major
PRs that contain breaking changes and should be released in the next major version.
label
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree that this isn’t semver-major. You can add dont-land-on labels, if you want, imo.
I don't think it has to be semver-major. Travis CI results are indicative and we don't rely on them to land PRs.
👍 I was being overly cautious (it's easier to downgrade semverness than increase it).
Part of the motivation here was to flush out any unexpectedness on Xenial in Travis CI on the assumption (I've not seen any communication from Travis about this) that Trusty gets sunset when it goes End-of-Life in April and I figured I might as well bump the compiler version based on #26714 while I was here.
richardlau added build
Issues and PRs related to build files or the CI.
and removed wip
Issues and PRs that are still a work in progress.
labels
richardlau changed the title
WIP build: use Xenial and gcc 6 on Travis build: use Xenial and gcc 6 on Travis
The Xenial images on Travis also have gcc-5.4.0 by default. We could potentially speed up the builds on Node.js < 12 by using the default on Xenial and not apt installing another gcc version.
richardlau added the wip
Issues and PRs that are still a work in progress.
label
I've restarted the Travis build for this PR a few times but it's always timed out, which is a problem. I don't know yet if it's either a) the Xenial hosts are slow or b) gcc 6 is slow or c) since this is a compiler level change nothing is ccached making the build slow (if this is the case I'm not sure how we fix as it sort of requires a successful build to populate the ccache) or d) some combination of all the above.
My plan is to break up this PR so we test changing one thing at a time (i.e. either the Xenial change on its own or the gcc 6 update on its own) and see if we can work out which one is the problem.
(As an FYI the Travis timeout for jobs is ~50mins.)
It's probably c) caching issue.
When we push fixes to
canary-base
, Travis always fails in a timeout. Latest example: https://travis-ci.com/nodejs/node/jobs/186092202
Do the timeouts ever fix themselves? Or is Travis just ignored for canary-base
?
It's probably c) caching issue.
When we push fixes tocanary-base
, Travis always fails in a timeout. Latest example: https://travis-ci.com/nodejs/node/jobs/186092202Do the timeouts ever fix themselves? Or is Travis just ignored for
canary-base
?
I don't think they ever do, because each V8 update usually requires to recompile everything.
richardlau removed the wip
Issues and PRs that are still a work in progress.
label
Build completed in 14mins once the ccache was created (by a previous build that didn't run tests to avoid the timeout). We may need to do a similar trick when landing this.
We're hitting the Travis job timeout of 50mins if built with a new compiler (as there is no ccache). Temporarily disable the running of tests so the Travis job can complete within the timeout and populate the ccache.
Restore running tests on Travis once the ccache is populated.
richardlau added a commit that referenced this pull request
Restore running tests on Travis once the ccache is populated.
PR-URL: #26720 Reviewed-By: Anna Henningsen anna@addaleax.net Reviewed-By: Luigi Pinca luigipinca@gmail.com Reviewed-By: Michaël Zasso targos@protonmail.com Reviewed-By: Refael Ackermann refack@gmail.com
We're all good now. Let's hope nothing happens to the ccache 🤞.
Landed in ecf98b0...db40b4a.
targos pushed a commit to targos/node that referenced this pull request
PR-URL: nodejs#26720 Reviewed-By: Anna Henningsen anna@addaleax.net Reviewed-By: Luigi Pinca luigipinca@gmail.com Reviewed-By: Michaël Zasso targos@protonmail.com Reviewed-By: Refael Ackermann refack@gmail.com
targos pushed a commit to targos/node that referenced this pull request
We're hitting the Travis job timeout of 50mins if built with a new compiler (as there is no ccache). Temporarily disable the running of tests so the Travis job can complete within the timeout and populate the ccache.
PR-URL: nodejs#26720 Reviewed-By: Anna Henningsen anna@addaleax.net Reviewed-By: Luigi Pinca luigipinca@gmail.com Reviewed-By: Michaël Zasso targos@protonmail.com Reviewed-By: Refael Ackermann refack@gmail.com
targos pushed a commit to targos/node that referenced this pull request
Restore running tests on Travis once the ccache is populated.
PR-URL: nodejs#26720 Reviewed-By: Anna Henningsen anna@addaleax.net Reviewed-By: Luigi Pinca luigipinca@gmail.com Reviewed-By: Michaël Zasso targos@protonmail.com Reviewed-By: Refael Ackermann refack@gmail.com
targos pushed a commit that referenced this pull request
PR-URL: #26720 Reviewed-By: Anna Henningsen anna@addaleax.net Reviewed-By: Luigi Pinca luigipinca@gmail.com Reviewed-By: Michaël Zasso targos@protonmail.com Reviewed-By: Refael Ackermann refack@gmail.com
targos pushed a commit that referenced this pull request
We're hitting the Travis job timeout of 50mins if built with a new compiler (as there is no ccache). Temporarily disable the running of tests so the Travis job can complete within the timeout and populate the ccache.
PR-URL: #26720 Reviewed-By: Anna Henningsen anna@addaleax.net Reviewed-By: Luigi Pinca luigipinca@gmail.com Reviewed-By: Michaël Zasso targos@protonmail.com Reviewed-By: Refael Ackermann refack@gmail.com
targos pushed a commit that referenced this pull request
Restore running tests on Travis once the ccache is populated.
PR-URL: #26720 Reviewed-By: Anna Henningsen anna@addaleax.net Reviewed-By: Luigi Pinca luigipinca@gmail.com Reviewed-By: Michaël Zasso targos@protonmail.com Reviewed-By: Refael Ackermann refack@gmail.com
BethGriggs pushed a commit that referenced this pull request
PR-URL: #26720 Reviewed-By: Anna Henningsen anna@addaleax.net Reviewed-By: Luigi Pinca luigipinca@gmail.com Reviewed-By: Michaël Zasso targos@protonmail.com Reviewed-By: Refael Ackermann refack@gmail.com
BethGriggs pushed a commit that referenced this pull request
We're hitting the Travis job timeout of 50mins if built with a new compiler (as there is no ccache). Temporarily disable the running of tests so the Travis job can complete within the timeout and populate the ccache.
PR-URL: #26720 Reviewed-By: Anna Henningsen anna@addaleax.net Reviewed-By: Luigi Pinca luigipinca@gmail.com Reviewed-By: Michaël Zasso targos@protonmail.com Reviewed-By: Refael Ackermann refack@gmail.com
BethGriggs pushed a commit that referenced this pull request
Restore running tests on Travis once the ccache is populated.
PR-URL: #26720 Reviewed-By: Anna Henningsen anna@addaleax.net Reviewed-By: Luigi Pinca luigipinca@gmail.com Reviewed-By: Michaël Zasso targos@protonmail.com Reviewed-By: Refael Ackermann refack@gmail.com
MylesBorins pushed a commit that referenced this pull request
PR-URL: #26720 Reviewed-By: Anna Henningsen anna@addaleax.net Reviewed-By: Luigi Pinca luigipinca@gmail.com Reviewed-By: Michaël Zasso targos@protonmail.com Reviewed-By: Refael Ackermann refack@gmail.com
MylesBorins pushed a commit that referenced this pull request
We're hitting the Travis job timeout of 50mins if built with a new compiler (as there is no ccache). Temporarily disable the running of tests so the Travis job can complete within the timeout and populate the ccache.
PR-URL: #26720 Reviewed-By: Anna Henningsen anna@addaleax.net Reviewed-By: Luigi Pinca luigipinca@gmail.com Reviewed-By: Michaël Zasso targos@protonmail.com Reviewed-By: Refael Ackermann refack@gmail.com
MylesBorins pushed a commit that referenced this pull request
Restore running tests on Travis once the ccache is populated.
PR-URL: #26720 Reviewed-By: Anna Henningsen anna@addaleax.net Reviewed-By: Luigi Pinca luigipinca@gmail.com Reviewed-By: Michaël Zasso targos@protonmail.com Reviewed-By: Refael Ackermann refack@gmail.com
This was referenced
May 29, 2019
Reviewers
refack refack approved these changes
addaleax addaleax approved these changes
lpinca lpinca approved these changes
targos targos approved these changes
gengjiawen gengjiawen approved these changes
BridgeAR BridgeAR approved these changes
Labels
PRs that have at least one approval, no pending requests for changes, and a CI started.
Issues and PRs related to build files or the CI.