Fix Travis builds by richardlau · Pull Request #27002 · 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

Conversation8 Commits2 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 }})

richardlau

Supersedes #26992 and incorporates #26968.

First commit:

build: add a `Prepare ccache` job in Travis

Combined compile and test of Node.js where lots of files need to be
compiled (e.g. after a V8 update) is exceeding the time limit for
Travis jobs (50 minutes).

Add a job to Travis that compiles Node.js but doesnt run any tests to
populate the ccache. Introduce staging and move the `Test Suite` job
into a later stage so that it can use the populated ccache.

Second commit:

build: fix skipping of flaky tests on Travis

`PARALLEL_ARGS` is overwritten in the Makefile if `JOBS` is set. Use
`CI_JS_SUITES` instead.
Checklist

@richardlau

Combined compile and test of Node.js where lots of files need to be compiled (e.g. after a V8 update) is exceeding the time limit for Travis jobs (50 minutes).

Add a job to Travis that compiles Node.js but doesnt run any tests to populate the ccache. Introduce staging and move the Test Suite job into a later stage so that it can use the populated ccache.

@richardlau

PARALLEL_ARGS is overwritten in the Makefile if JOBS is set. Use CI_JS_SUITES instead.

@nodejs-github-bot

This was referenced

Mar 30, 2019

@richardlau richardlau added the build

Issues and PRs related to build files or the CI.

label

Mar 30, 2019

refack

@refack

@richardlau richardlau added fast-track

PRs that do not need to wait for 48 hours to land.

author ready

PRs that have at least one approval, no pending requests for changes, and a CI started.

labels

Mar 30, 2019

Trott

@Trott

Trott pushed a commit to Trott/io.js that referenced this pull request

Mar 30, 2019

@richardlau @Trott

Combined compile and test of Node.js where lots of files need to be compiled (e.g. after a V8 update) is exceeding the time limit for Travis jobs (50 minutes).

Add a job to Travis that compiles Node.js but doesnt run any tests to populate the ccache. Introduce staging and move the Test Suite job into a later stage so that it can use the populated ccache.

PR-URL: nodejs#27002 Reviewed-By: Refael Ackermann refack@gmail.com Reviewed-By: Rich Trott rtrott@gmail.com

Trott pushed a commit to Trott/io.js that referenced this pull request

Mar 30, 2019

@richardlau @Trott

PARALLEL_ARGS is overwritten in the Makefile if JOBS is set. Use CI_JS_SUITES instead.

PR-URL: nodejs#27002 Reviewed-By: Refael Ackermann refack@gmail.com Reviewed-By: Rich Trott rtrott@gmail.com

@richardlau

Builds are now green again 🎉.

image

It should be safe to restart any timed out Travis pull request builds as they should pick up the refreshed ccache from the master builds.

@addaleax

@richardlau Why are we skipping flaky tests on Travis in the first place? Wouldn’t dontcare be better, like we do elsewhere in CI? I’ve personally made bad experiences with skipping tests in CI only, because that means that test suite is even more likely to fail for people locally…

@richardlau

@richardlau Why are we skipping flaky tests on Travis in the first place? Wouldn’t dontcare be better, like we do elsewhere in CI? I’ve personally made bad experiences with skipping tests in CI only, because that means that test suite is even more likely to fail for people locally…

¯\_(ツ)_/¯ Skipping flaky tests was introduced (albeit it wasn't working until this PR) in #23778. I have no objections to dontcare. cc @refack

@refack

I have no objections to dontcare. cc @refack

Even with dontcare the errorlevel is set to 2. Jenkins knows to interpret that as "Unstable", AFAICT Travis doesn't. (Nope, that was removed in favor of tap/xunit parsing).

I'm leaning towards minimal sanity tests in Travis (which IMHO is not CI), I would actually be happy to cull even more test categories...

BethGriggs pushed a commit that referenced this pull request

Apr 5, 2019

@richardlau @BethGriggs

Combined compile and test of Node.js where lots of files need to be compiled (e.g. after a V8 update) is exceeding the time limit for Travis jobs (50 minutes).

Add a job to Travis that compiles Node.js but doesnt run any tests to populate the ccache. Introduce staging and move the Test Suite job into a later stage so that it can use the populated ccache.

PR-URL: #27002 Reviewed-By: Refael Ackermann refack@gmail.com Reviewed-By: Rich Trott rtrott@gmail.com

BethGriggs pushed a commit that referenced this pull request

Apr 5, 2019

@richardlau @BethGriggs

PARALLEL_ARGS is overwritten in the Makefile if JOBS is set. Use CI_JS_SUITES instead.

PR-URL: #27002 Reviewed-By: Refael Ackermann refack@gmail.com Reviewed-By: Rich Trott rtrott@gmail.com

BethGriggs pushed a commit that referenced this pull request

Apr 8, 2019

@richardlau @BethGriggs

Combined compile and test of Node.js where lots of files need to be compiled (e.g. after a V8 update) is exceeding the time limit for Travis jobs (50 minutes).

Add a job to Travis that compiles Node.js but doesnt run any tests to populate the ccache. Introduce staging and move the Test Suite job into a later stage so that it can use the populated ccache.

PR-URL: #27002 Reviewed-By: Refael Ackermann refack@gmail.com Reviewed-By: Rich Trott rtrott@gmail.com Signed-off-by: Beth Griggs Bethany.Griggs@uk.ibm.com

BethGriggs pushed a commit that referenced this pull request

Apr 8, 2019

@richardlau @BethGriggs

PARALLEL_ARGS is overwritten in the Makefile if JOBS is set. Use CI_JS_SUITES instead.

PR-URL: #27002 Reviewed-By: Refael Ackermann refack@gmail.com Reviewed-By: Rich Trott rtrott@gmail.com Signed-off-by: Beth Griggs Bethany.Griggs@uk.ibm.com

@refack

@refack refack removed the author ready

PRs that have at least one approval, no pending requests for changes, and a CI started.

label

May 23, 2019

Labels

build

Issues and PRs related to build files or the CI.

fast-track

PRs that do not need to wait for 48 hours to land.