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

test: skip when openssl CLI doesn't exist #11095

Closed
wants to merge 1 commit into from
Closed

test: skip when openssl CLI doesn't exist #11095

wants to merge 1 commit into from

Conversation

sotayamashita
Copy link
Contributor

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Affected core subsystem(s)

test

I fixed #9509.

@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Feb 1, 2017
@mscdex mscdex added the tls Issues and PRs related to the tls subsystem. label Feb 1, 2017
Copy link
Contributor

@sam-github sam-github left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

commit message is ungrammatical, change to

test: check openssl-cli exists

or

test: skip when openssl CLI doesn't exist

@sotayamashita
Copy link
Contributor Author

sotayamashita commented Feb 1, 2017

@sam-github I changed the commit message

@sotayamashita sotayamashita changed the title test: check openssl-cli is exist test: skip when openssl CLI doesn't exist Feb 1, 2017
@hiroppy
Copy link
Member

hiroppy commented Feb 2, 2017

@sotayamashita
Copy link
Contributor Author

sotayamashita commented Feb 2, 2017

@abouthiroppy
I would appreciate if you could tell me how to pass the CI.
When I create a PR, should I run the CI ?

@hiroppy
Copy link
Member

hiroppy commented Feb 2, 2017

@sotayamashita I think these failures are not caused by code🙃 CC @nodejs/testing

@gibfahn
Copy link
Member

gibfahn commented Feb 2, 2017

@sotayamashita those look like infrastructure problems.

CI 2: https://ci.nodejs.org/job/node-test-commit/7616/

@sotayamashita
Copy link
Contributor Author

@gibfahn Thanks.

@sotayamashita
Copy link
Contributor Author

@sam-github I changed the commit message. Is it ok ?

@joaocgreis
Copy link
Member

Aborted CI, only arm-fanned was pending because of nodejs/build#611

Copy link
Member

@mhdawson mhdawson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mhdawson
Copy link
Member

mhdawson commented Feb 3, 2017

One more attempt at CI run: https://ci.nodejs.org/job/node-test-pull-request/6205/

@addaleax addaleax dismissed sam-github’s stale review February 4, 2017 06:03

requested changes have been made

Copy link
Member

@addaleax addaleax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jasnell
Copy link
Member

jasnell commented Feb 7, 2017

New CI since there's some red in that last run: https://ci.nodejs.org/job/node-test-pull-request/6273/

@gibfahn
Copy link
Member

gibfahn commented Feb 8, 2017

@sotayamashita

When I create a PR, should I run the CI ?

Sorry, didn't see this before. Only collaborators have the access to run jobs in the Jenkins CI (ci.nodejs.org). Someone should run the CI for you when you submit the PR, if they don't you can comment asking for it to be run.

As long as you've followed CONTRIBUTING.md and run make -j4 test before submitting, that should be all you need to do.

Once CI has been run, you can click on the link and see the results, if there are any failures that seem related to changes you made you can investigate (but they could also just be infrastructure issues).

In general if you're not sure about something, you can always ask.

@jasnell
Copy link
Member

jasnell commented Feb 11, 2017

@sam-github
Copy link
Contributor

Landed in 5ffb7d7

sam-github pushed a commit that referenced this pull request Feb 13, 2017
PR-URL: #11095
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
@sam-github sam-github closed this Feb 13, 2017
@sotayamashita sotayamashita deleted the feature/test-openssl-cli branch February 14, 2017 05:38
italoacasas pushed a commit to italoacasas/node that referenced this pull request Feb 14, 2017
PR-URL: nodejs#11095
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
@jasnell
Copy link
Member

jasnell commented Mar 7, 2017

needs a backport PR to land on v4 or v6

@sotayamashita
Copy link
Contributor Author

@jasnell I would like to implement but I don not know hot to do it. Is there document ?

@jasnell
Copy link
Member

jasnell commented Mar 8, 2017

The process is fairly simple. To backport for v6, for instance, create a working branch off the v6-x-staging branch:

$ git checkout v6.x-staging
$ git checkout -b test-openssl-cli-v6-backport

Then cherry-pick the commit that landed in master

$ git cherry-pick 5ffb7d72bb6d8c827b66a337c3318e3ac9b3055e

You will see that there are a number of conflicts to be resolved. Make the necessary changes to fix those conflicts, then complete the cherry-pick using:

$ git add {the-files-that-were-changed}
$ git cherry-pick --continue

Push the branch to your fork on Github and open a new PR against v6.x-staging, indicating that this is a Backport of #11095.

Make sure to run make test and make lint.

@sotayamashita
Copy link
Contributor Author

@jasnell Thank you very much. I really appreciate your thoughtfulness.

MylesBorins pushed a commit that referenced this pull request Apr 13, 2017
Backport-PR-URL: #12173
PR-URL: #11095
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
MylesBorins pushed a commit that referenced this pull request Apr 19, 2017
Backport-PR-URL: #12173
PR-URL: #11095
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
@MylesBorins MylesBorins mentioned this pull request Apr 19, 2017
andrew749 pushed a commit to michielbaird/node that referenced this pull request Jul 19, 2017
Backport-PR-URL: nodejs/node#12173
PR-URL: nodejs/node#11095
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Issues and PRs related to the tests. tls Issues and PRs related to the tls subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test failures without openssl-cli