-
Notifications
You must be signed in to change notification settings - Fork 847
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
Watchman integration tests fail (sockets, symlinks, more) #1596
Comments
@zeh - Thanks for reporting this. For the socket related failures, it looks like the test tries to connect to some unix socket |
@sunilmut I believe the tests themselves should be trying to create that: it creates them, connects to validate, then disconnects. But we do get this error message at the very beginning of the test...
...so you're probably right on the money, sockets are not available probably because the daemon is not around. I'll follow the daemon-related issues (like this one) and re-test in the future as appropriate if anything gets committed and released. |
(I'll be updating this issue with results for new releases unless someone minds). So, just for reference, tested with 15014. Comparing the output of different versions is messy because the test order doesn't seem to be deterministic, so diff'ing between the 15007 and 15014 logs is kind of useless. The end result seems to be the same though: 248 Edit: the number of pass/fails seems to be a bit random even in successive runs too. Strange tests, these are. Still, I'll be posting updates below.
From this point on, running non-root with concurrency and test shuffling turned off, so logs can be more determistic and diffing works:
|
Similar to #2526. Paraphrasing:
|
Building watchman works well on Windows 10 with bash. watchman itself seems to run fine for the most part too, but I get several failures when running its test suite with
make integration
.While watchman already has a native Window version, and while some of the errors might be due to my setup, I think it'd be important to look at the results of this integration test as a) some macOS/linux-specific build workflows depend on watchman, and b) I assume it works well as a smoke test for other missing features on WSL. My case is the former; I have one long build/dev workflow that would be great to run from Win 10, but that fails when firing up watchman.
Steps to reproduce
Start by downloading and compiling:
git clone https://github.com/facebook/watchman.git cd watchman ./autogen.sh ./configure make
Run integration tests:
Expected results
Passing with 0 errors. Was able to get this working on a macOS environment with the same commands, but I couldn't test on a real linux environment to see how it compares.
Actual results
The biggest issues in the error log seem to be socket- or symlink-related:
The full log is here, or here when running with strace and sudo.
Versions used
Required packages
Install via apt-get:
The text was updated successfully, but these errors were encountered: