-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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/parallel/test-npm-install.js fails (Node 4.4.4) #6648
Comments
Similar issue here with fresh ArchLinux. More over I tried to downgrade to 4.4.3 (which i had installed and working fine beforehand) and faced similar issue. Even more to add - node binary segfaults on almost any operation. E.g. I cannot install npm. I have another ArchLinux PC which doesn't have update installed for few days and 4.4.4 has been built on that PC without this issue. And it doesn't segfault. So I built it on 'older' PC and transferred and installed package on my laptop (which is suffering the topic issue). And 4.4.4 build on 'older' linux box works just fine on a 'newer' one. Here is list of packages which are newer on suffering PC
|
This is an interesting edge case... it looks like two things are happening that should
I'm going to dig into this and see what is going on. |
OK, so here is where I am at, and perhaps you can tell me a bit more about your systems because this is a bit odd.
This is being created and written into the
I have a PR submitted to make sure PATH is explicitly including the build directory which should fix this
Is that flag related to make install? AFAIK we don't touch or change anything in the npm directory, this test should be completely self contained to the repo, and that flag should have no affect on it's ability to pass |
Thanks for looking into this. I have as a quick test now tried building both 4.4.3 and 4.4.4 again, both fail with the same error while previously |
I am clueless. Both version 4.4.3 and 4.4.4 fail on a couple of tests. The resulting binary is very unstable and core dumps in many cases. The last time I compiled and installed 4.4.3 was May 3, and that build went fine. But I don't see any critical update since then, and I even reverted some updates to try whether they had any effect. Just for having it here below is the output of
|
test-tick-processor is a known flaky test (#4427), so you can probably ignore that. |
I'm compiling with g++ v6.1.1, can confirm that adding |
@bnoordhuis I dug through #6272 @scorpp if all is well this should be fixed in v4.4.5 |
Hey, I'm pwh! (Programmers sweat the details!) |
off by one |
The real @phw here ;) I still don't quite understand what happened that test-npm-install failed the way it did, but compiling with Otherwise I think this issue can be closed if nobody objects. |
Currently it is possible that the shelled out instance of npm will use the system copy of node. This PR changes the test to shim the build directory into the path. This will ensure that npm will use the correct version of node. fixes: #6648 PR-URL: #6658 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
Currently it is possible that the shelled out instance of npm will use the system copy of node. This PR changes the test to shim the build directory into the path. This will ensure that npm will use the correct version of node. fixes: #6648 PR-URL: #6658 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
Currently it is possible that the shelled out instance of npm will use the system copy of node. This PR changes the test to shim the build directory into the path. This will ensure that npm will use the correct version of node. fixes: #6648 PR-URL: #6658 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
Running
make test
the testtest/parallel/test-npm-install.js
fails.Here is the npm-debug.log generated.
I see multiple issues with this test:
--without-npm
flag (not sure whether this is indeed an issue or not).The text was updated successfully, but these errors were encountered: