-
Notifications
You must be signed in to change notification settings - Fork 50
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
not ok 71 - stat watcher invoked once for size chnage #997
Comments
I hit that one last week during testing of PR #1000 |
Hit again in test of #1124 -- I'll take a brief look at it and see if we can get it to fail outside of travis. |
perhaps it's worth noting that with #1124 it was with gcc, not with clang |
here is a race in the stat watcher test, where the stat watcher does not initially see the temporary file because it has not yet been flushed. Call fsync() to flush. Fixes flux-framework#997
Decided to look into this old issue and I think I figured it out. The |
Good find! However, I thought libev used |
Ahhh, you are right. I had missed that subtlety when looking through The reason I thought it was polling is b/c (AFAICT) |
Yep, I think I just came to the same conclusion. There is still a race because libev only uses inotify to avoid polling, not for actual processing of events. Nice find! |
Just hit this in #996 in travis. Appears to have happened atleast three other times (#884, #822, #799), apparently always with clang compiler. Should try and figure out what's going on causing this to intermittently fail.
As an aside, there is a typo in the above that needs fixing too.
The text was updated successfully, but these errors were encountered: