Closed Bug 1607376 Opened 4 years ago Closed 2 years ago

running `make analyze` in /vagrant/clang-plugin results in a hang in `flock` under libvirt on linux because NFS

Categories

(Webtools :: Searchfox, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

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.

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: nobody → bugmail
Status: NEW → ASSIGNED

This landed as a commit in the https://github.com/mozsearch/mozsearch/pull/339 stack.

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.