Closed
Bug 1501416
Opened 6 years ago
Closed 3 years ago
Update watchman for MozillaBuild
Categories
(Firefox Build System :: MozillaBuild, task)
Firefox Build System
MozillaBuild
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: RyanVM, Assigned: mhentges)
References
Details
No description provided.
Reporter | ||
Comment 1•6 years ago
|
||
Current upstream tip is hanging for me when I try to run |hg status|. Can you reproduce?
Flags: needinfo?(gps)
Comment 2•6 years ago
|
||
It seems to hang the first time I use it as well. But it works the 2nd time. Looking at system calls using Process Monitor, it appears Python spawns watchman.exe, which does its own thing to start a background process. The thread Python spawns to manage the process exits. But the Python process stalls. I suspect this is a "process group" issue with the way Mercurial/Python spawns watchman. I suspect watchman changed some process start flags for the child/background process it spawns and Mercurial/Python isn't properly "detaching." This is either a bug in the way Mercurial is invoking watchman or a bug in watchman's process management. First step is to figure out what changed on watchman's end. The Facebook people should know what it will take to fix Mercurial, because they've likely done it internally without upstreaming the change :/
Flags: needinfo?(gps)
Are you only experiencing this on Windows? We are tracking an issue that manifests this way on Windows, and it is watchman specific (not mercurial), so I think it's fair if you open an issue on the watchman github tracker and concentrate things there.
Reporter | ||
Comment 4•6 years ago
|
||
Yes, this is on Windows.
We've traced it to this commit https://github.com/facebook/watchman/commit/e5f393c0848ddbc19acd22ada2833d90a1728e9e so the theory is that initial connection is sitting in the queue of that one handle we never service :-p We'll likely revert that for now and come up with a more robust solution; that commit was chiefly to reduce flakeyness in our CI system.
Reporter | ||
Comment 6•5 years ago
|
||
I'm not actively working on this and I'm not convinced it's worth doing at this point given the level of support for MozillaBuild.
Assignee: ryanvm → nobody
No longer blocks: MozillaBuild3.3
Reporter | ||
Updated•5 years ago
|
Summary: Update watchman for MozillaBuild 3.3 → Update watchman for MozillaBuild
Reporter | ||
Updated•3 years ago
|
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 8•3 years ago
|
||
This was done in the 3.4 release.
Updated•1 year ago
|
Product: mozilla.org → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•