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: module loading error fix solaris #3798 #3855

Conversation

claudiorodriguez
Copy link
Contributor

@jasnell
Copy link
Member

jasnell commented Nov 16, 2015

LGTM

@jasnell jasnell added lts-watch-v4.x test Issues and PRs related to the tests. labels Nov 16, 2015
@jasnell
Copy link
Member

jasnell commented Nov 16, 2015

}
assert.notEqual(e.toString().indexOf(dlerror_msg), -1);
var foundError = false;
dlerror_msg.forEach((errMsgCase) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Could this whole change be:

assert.strictEqual(dlerror_msg.some((errMsgCase) => {
  return e.message.indexOf(errMsgCase) !== -1;
}), true);

@mscdex mscdex added the module Issues and PRs related to the module subsystem. label Nov 16, 2015
@jasnell
Copy link
Member

jasnell commented Nov 16, 2015

There are CI failures for this one

@claudiorodriguez
Copy link
Contributor Author

@cjihrig That looks much simpler, thanks

@jasnell
Error (in centos-32) seems to be:
Looking for TAP results report in workspace using pattern: test.tap
ERROR: Build step failed with exception
/home/iojs/build/workspace/node-test-commit-linux/nodes/centos5-32 does not exist.

But the test itself runs (haven't found a "not ok" on this test on any of the logs unless I'm missing something)
ok 500 test-module-loading-error.js


duration_ms: 0.183

How would I go about figuring out what's wrong?

@evanlucas
Copy link
Contributor

Can you update the commit message to match the contribution guidelines in https://github.com/nodejs/node/blob/master/CONTRIBUTING.md#step-3-commit. The first line should not exceed 50 characters, the second line should be blank, and the remaining lines should not exceed 72 characters.

LGTM other than that.

I also started a new CI run since the last one seemed a bit off. https://ci.nodejs.org/job/node-test-pull-request/770/

- refactor test to accept multiple error messages per platform
- add new message to be found in Solaris 11.3 as per nodejs#3798
@claudiorodriguez
Copy link
Contributor Author

@evanlucas done.
That CI seems to also have failures, but I don't really understand why.
Should I try going back to the last stable build on CI (02fd81a or 7c7f131) and adding the change on top of that?

EDIT: seems like there's a lot of PRs having issues with CI at the moment

@evanlucas
Copy link
Contributor

Thanks! No, those failures are known issues from flaky tests.

evanlucas pushed a commit that referenced this pull request Nov 18, 2015
- refactor test to accept multiple error messages per platform
- add new message to be found in Solaris 11.3 as per #3798

PR-URL: #3855
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
@evanlucas
Copy link
Contributor

Landed in 9a628e2. Thanks!

@evanlucas evanlucas closed this Nov 18, 2015
MylesBorins pushed a commit that referenced this pull request Nov 30, 2015
- refactor test to accept multiple error messages per platform
- add new message to be found in Solaris 11.3 as per #3798

PR-URL: #3855
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
rvagg pushed a commit that referenced this pull request Dec 4, 2015
- refactor test to accept multiple error messages per platform
- add new message to be found in Solaris 11.3 as per #3798

PR-URL: #3855
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
rvagg pushed a commit that referenced this pull request Dec 5, 2015
- refactor test to accept multiple error messages per platform
- add new message to be found in Solaris 11.3 as per #3798

PR-URL: #3855
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
@jasnell jasnell mentioned this pull request Dec 17, 2015
jasnell pushed a commit that referenced this pull request Dec 17, 2015
- refactor test to accept multiple error messages per platform
- add new message to be found in Solaris 11.3 as per #3798

PR-URL: #3855
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
jasnell pushed a commit that referenced this pull request Dec 23, 2015
- refactor test to accept multiple error messages per platform
- add new message to be found in Solaris 11.3 as per #3798

PR-URL: #3855
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module Issues and PRs related to the module subsystem. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants