running `make analyze` in /vagrant/clang-plugin results in a hang in `flock` under libvirt on linux because NFS
Categories
(Webtools :: Searchfox, defect)
Tracking
(Not tracked)
People
(Reporter: asuth, Assigned: asuth)
Details
If I copy the contents of the directory to the user's home directory, things run fine, so I do think this is an NFS problem. I presume the problem didn't happen under virtualbox, at least on whatever platform :kats was using when adding the (very helpful!) make command.
It might make sense to have the make job just do some copying of its own or something to take NFS out of the picture. Like running in tmp.
Assignee | ||
Comment 1•4 years ago
|
||
This just resurfaced for me, possibly due to the recent C++ indexer changes, but also maybe due to the vagaries of linux. This is fixed by telling the Vagrantfile to use NFS option "local_lock=all" so that it does locking locally within the VM and avoids trying to talk "NLM" with the host.
Assignee | ||
Comment 2•2 years ago
|
||
This landed as a commit in the https://github.com/mozsearch/mozsearch/pull/339 stack.
Description
•