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

Enable --abort-on-timeout for node-test-commit-smartos Jenkins job #613

Closed
misterdjules opened this issue Feb 3, 2017 · 16 comments
Closed

Comments

@misterdjules
Copy link
Contributor

nodejs/node#11086 introduced a new --abort-on-timeout command line option for tools/test.py that makes tests that timeout abort instead of being terminated.

I'd like to use this flag for test jobs running on SmartOS so that we can get a core file when a test times out and investigate the cause for the test timing out.

When testing the PR mentioned above, I had already added a new test job named "node-test-commit-smartos-abort-on-timeout" that defines a new environment variable TEST_CI_ARGS and sets it to --abort-on-timeout by default.

What do you think of making the same change to the node-test-commit-smartos job?

/cc @nodejs/build

@gibfahn
Copy link
Member

gibfahn commented Feb 3, 2017

Sounds good to me

@misterdjules
Copy link
Contributor Author

Modified the node-test-commit-smartos job to add a TEST_CI_ARGS parameter with a default value of --abort-on-timeout, and deleted the test job node-test-commit-smartos-abort-on-timeout that had been used to test this change.

@bnoordhuis
Copy link
Member

This is breaking the CI for non-master branches, see e.g. https://ci.nodejs.org/job/node-test-commit-smartos/6865/nodes=smartos14-32/console which is a run of v6.x-staging. If this can't be fixed easily and speedily, it should be rolled back for now.

@bnoordhuis bnoordhuis reopened this Feb 8, 2017
@bnoordhuis
Copy link
Member

To save people from clicking through, the error is this:

test.py: error: no such option: --abort-on-timeout

Which makes sense because nodejs/node#11086 hasn't been back-ported yet.

@misterdjules
Copy link
Contributor Author

My apologies, I disabled the new flag in node-test-commit-smartos for now, and I'll work on a backport asap. Thank you for investigating, and sorry for the trouble!

@bnoordhuis
Copy link
Member

Thanks, Julien.

@thefourtheye
Copy link

Is it generally okay to backport, given that it hasn't been released in "Current" release stream?

@misterdjules
Copy link
Contributor Author

Is it generally okay to backport, given that it hasn't been released in "Current" release stream?

I would think so. Is there any indication of the contrary somewhere? FWIW, this change is part of the v7.6.0 release proposal at nodejs/node#11185.

@gibfahn
Copy link
Member

gibfahn commented Feb 9, 2017

Is it generally okay to backport, given that it hasn't been released in "Current" release stream?

I would think so. Is there any indication of the contrary somewhere?

cc/ @MylesBorins @nodejs/lts

@bnoordhuis
Copy link
Member

I don't see why not, it's not a user-visible change. It's a change to the test harness, not to node itself.

@thefourtheye
Copy link

@bnoordhuis I agree, this specific case is okay. I am wondering, generally, if a commit lands in master, then it is good enough to be backported.

@bnoordhuis
Copy link
Member

@thefourtheye Is that a question or a statement? =)

If it is a user-visible change (bug fix, feature, anything that changes the node binary or how it's built) it should bake for some time in Current first.

@thefourtheye
Copy link

I was just thinking out loud :D Cool. That makes sense. @bnoordhuis Thanks :-)

@misterdjules
Copy link
Contributor Author

The changes to support that new tools/test.py command line flag were back ported to v6.x and v4.x branches with nodejs/node#11354 and nodejs/node#11351.

My intention is to re-enable this flag on SmartOS asap. Any objection, or any branch that I missed?

@gibfahn
Copy link
Member

gibfahn commented Feb 16, 2017

@misterdjules sounds good to me. If you get any failures you can always conditionally enable it for v4/v6/v7/master.

@misterdjules
Copy link
Contributor Author

Enabled again for the node-test-commit-smartos job. Thanks all for the feedback, and sorry for the breakage.

I'll watch builds closely for the next couple of days to make sure it's not breaking anything, and I'll react as quickly as possible if it breaks.

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

No branches or pull requests

4 participants