Repository navigation
Some test errors from an Ubuntu 14.04 64bit machine #2255
Description
Activity
- addedtestIssues and PRs related to Node.js core tests and test infrastructure.Issues and PRs related to Node.js core tests and test infrastructure.
on Jul 27, 2015 I'm pretty sure that'd be from using ecryptfs which has absurd path length limitations and causes these kinds of problems.
grep ecrypt /etc/mtaband see if that corresponds to the path being used.Ah, yes, looks like that was the issue. Thanks.
- addedwontfixIssues that will not be fixed.Issues that will not be fixed.
on Jul 28, 2015 @Fishrock123 @aks- Try building Node in
/tmp/nodeor somewhere else outside/home@rvagg Does Node really need so long path names to run correctly? So far the only indication that I have absurd path length limitations on my file system was Node's
make testfailing. I wonder why is such a test there in the first place. Is it really needed to test whether Node compiled correctly?@rsp context for that test is here: #1991 — I'd be open to supporting a PR that can make it optionally run in environments where it can't run, like ecryptfs, but I'm not really sure how or even if that can be achieved.
The long pathname issue is what made me stop using ecryptfs and go with full disk encryption on Linux instead. It bit me with more than just Node.
@rvagg I prepared a PR #3925 that fixes this issue.
It changes only those two tests that fail on ecryptfs file systems (test-fs-long-path.js and test-require-long-path.js) so that they make their files under /tmp - actually, os.tmpdir() - but only on Linux and only when it verifies that it can create a directory there. Otherwise (i.e. not on Linux or if it can't create directory in /tmp) it works the same as before my changes.
If you think it is not how it should work and it should try to create files under /tmp only when the current tests fails, please let me know so I prepare a new PR. Thanks.
I think this fix is important because even though it is not Node's fault that ecryptfs has those limitations, the fact is that people still use ecryptfs on default installs of Ubuntu and for them it looks like Node is broken, not ecryptfs. I actually found this issue when someone told me that he can't compile Node because tests fail and refused to
make installa build with failing tests. Building it all under /tmp helped but many people building Node on Ubuntu may have a bad impression of Node after seeing failed tests.- added a commit that references this issue
on Dec 7, 2015 - added a commit that references this issue
on Dec 8, 2015 @Fishrock123 I think the
wontfixlabel be removed after commit 0c2a0dc - see PR #4116- addedtestIssues and PRs related to Node.js core tests and test infrastructure.Issues and PRs related to Node.js core tests and test infrastructure.and removedtestIssues and PRs related to Node.js core tests and test infrastructure.Issues and PRs related to Node.js core tests and test infrastructure.wontfixIssues that will not be fixed.Issues that will not be fixed.
on Dec 8, 2015 - added a commit that references this issue
on Dec 29, 2015 - added a commit that references this issue
on Jan 19, 2016 - added a commit that references this issue
on Apr 2, 2016
I'm helping @aks- get started to contributing to node; he reported these errors to me on IRC from his Ubuntu 14.04-64bit machine, which I haven't seen reported before.
(dunno who to cc)