-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
Intermittent failure in parallel/test-fs-watchfile on AIX #13377
Comments
Ack. Looking at it right now. |
Replication on master using So, still flaky under load. Will try to fix in place, but ultimately moving to |
From the logs it seems like something "snaps", 50-60 iterations work, then it just stops. |
I'm able to get it up to over 100 iterations if I switch to a large enough timer that calls itself. I tried using a backoff algorithm but that didn't seem to help much. I wonder if what's really going on is that at some point, the operating system stops handing out working watchers. I think the solution is to move it to sequential where it's not competing with other resources, at least for now. |
Removed the interval and put the test in sequential. Let's stress test it on AIX and macOS and see what happens.
EDIT: Typo'ed on the path names. Will try again... |
Hopefully this time with the right parameters entered: AIX: https://ci.nodejs.org/job/node-stress-single-test/1261/nodes=aix61-ppc64/console |
Failed with the interval missing. Put it back. That should fix it on macOS. Hopefully AIX too. Let's see. AIX: https://ci.nodejs.org/job/node-stress-single-test/1263/nodes=aix61-ppc64/console |
Stress tests indicate this doesn't fix the flakiness on AIX. I'm starting to wonder if sometimes AIX hands us watchers that will simply never fire. The fs.watch() stuff is highly specific to the OS. @nodejs/platform-aix |
cc/ @gireeshpunathil |
I just commented in #13385 thus: Watch facility on folders are not fool-proof in AIX, and we have skipped those tests which do that. I guess the new changes in #13111 made that change, it's original intent was to make sure the filename argument appears in the callback, when it fires - so I requested to include AIX as well, as the filename argument is availabe in that platform. But then the change introduced folder watch and hence the flaky result. Proposals - one of:
|
Anybody on it? |
Omitting AIX from `fs.watch()` portion of this test. It works on AIX, but not reliably. Fixes: nodejs#13377
Yup. #13385 |
Omitting AIX from `fs.watch()` portion of this test. It works on AIX, but not reliably. PR-URL: #13385 Fixes: #13377 Reviewed-By: Yuta Hiroto <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
PR-URL: nodejs#13411 Refs: nodejs#13385 Refs: nodejs#13248 Refs: nodejs#13377 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: #13411 Refs: #13385 Refs: #13248 Refs: #13377 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
I think I've seen this fail a few times recently:
https://ci.nodejs.org/job/node-test-commit-aix/6276/
The text was updated successfully, but these errors were encountered: