Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.2k
ensure preload modules are always preloaded#2253
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
thefourtheye commented Jul 27, 2015
Will it have impact on startup time? |
Fishrock123 commented Jul 27, 2015
No not really. |
bmeck commented Jul 27, 2015
@thefourtheye only when the flag is enabled, otherwise we are looking at a few integer checks for preloaded_module_count |
Fishrock123 commented Jul 27, 2015
Fishrock123 commented Jul 27, 2015
Test is failing on smartos-14 (32 and 64bit): |
bmeck commented Jul 27, 2015
@Fishrock123 even without this patch it should never be empty... that is... concerning |
Fishrock123 commented Jul 27, 2015
cc @nodejs/platform-solaris |
bmeck commented Aug 19, 2015
is there a person I can talk to about this, as I don't run SmartOS normally, and am completely lost as to how it could be empty/worked prior to this. |
Fishrock123 commented Aug 19, 2015
cc @jbergstroem / @misterdjules again |
Fishrock123 commented Aug 20, 2015
Fishrock123 commented Aug 22, 2015
Seems fine to me. @bmeck how do you feel about just ignoring it on smartos? |
thefourtheye commented Aug 22, 2015
The commit message is too long and commit log has to be improved. |
bmeck commented Aug 22, 2015
@thefourtheye improved how |
test/parallel/test-preload.js Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we'd prefer if you only const unmodified variables you add, but if you want to do these also I really don't mind.
Fishrock123 commented Aug 22, 2015
LGTM otherwise, I'll just add some detail to the commit description if you don't. :) |
jbergstroem commented Aug 23, 2015
I can reproduce this fail but haven't had time to look into it. Would appreciate if @misterdjules had a moment. |
bmeck commented Aug 24, 2015
rebased. uses camelcase now. repro'd fail on smartos, trying to reduce it |
bmeck commented Aug 31, 2015
@nodejs/platform-solaris i am unsure how to test this exactly, but is closing stdin before it is fully drained dropping the content on smartos? |
rvagg commented Sep 10, 2015
ping @No9, perhaps you can lend an eye to this one since you're an Illumos user? |
jbergstroem commented Sep 11, 2015
If anyone else is using illumos/smartos and would like to help out reviewing that'd be great! |
rvagg commented Sep 11, 2015
also would love to additional people to @nodejs/platform-solaris if there are any |
No9 commented Sep 11, 2015
@rvagg I'll look in over the weekend |
jbergstroem commented Sep 11, 2015
@No9 would you be interested in being part of the small team of people that (in my case, at least tries to) debugs sunos stuff? |
No9 commented Sep 11, 2015
@jbergstroem Thanks for asking |
rvagg commented Sep 11, 2015
added to @nodejs/platform-solaris, thanks @No9! |
mhdawson commented May 12, 2016
Failed on AIX in last night's run as well #6716 |
bmeck commented May 12, 2016
This is starting to look like some sort of race condition |
mhdawson commented May 12, 2016
@bmeck@Fishrock123 on AIX it looks like a consistent failure. If it helps I can give one or both of you access to run on that machine. |
Fishrock123 commented May 12, 2016
We should also skip on AIX for now then, but we do need to investigate more. |
This test fails on Solaris, see the PR for discussion. PR-URL: #2253 Reviewed-By: Jeremiah Senkpiel <[email protected]>
MylesBorins commented Jun 2, 2016
@bmeck looks like there are some regressions here. Adding dont-land for now, but please feel free to open a PR against v4.x-staging if this should be packported |
Fishrock123 commented Jun 2, 2016
@thealphanerd No, those are just the result of other issues. this should be fine if it lands with #6728 |
MylesBorins commented Jun 2, 2016
thanks @Fishrock123 will work on that later today |
MylesBorins commented Jun 29, 2016
bmeck commented Jun 29, 2016
@thealphanerd onto v4? |
MylesBorins commented Jun 29, 2016
indeed. It is not landing cleanly |
MylesBorins commented Aug 30, 2016
ping @bmeck |
bmeck commented Aug 30, 2016
@thealphanerd backported against v4.5.0 (no staging exists right now?) on https://github.com/bmeck/node/tree/backport-2253 , still flaky it seems after running tests |
MylesBorins commented Aug 30, 2016
the staging is If it is still flaky then perhaps we should just mark this don't land? |
bmeck commented Aug 30, 2016
@thealphanerd these are just adding tests for expected behavior, if we don't want to land it thats fine |
MylesBorins commented Aug 30, 2016
@bmeck if that is the case then we should land it. Would you be willing to open a PR? |
This test fails on Solaris, see nodejs#2253
For consistency
-r/--requireshould always preload modules; right now it works with normal startup, cluster, and eval; having preloading work with stdin and interactive mode would make this more consistent.