test: add known issue for fs.open() keeping event loop open#34228
test: add known issue for fs.open() keeping event loop open#34228Trott merged 0 commit intonodejs:masterfrom
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
This seems ready for review. /ping @ronag @nodejs/fs: This is a bug, not expected behavior, right? Or is it possibly-expected behavior in certain conditions like NFS-mounted filesystems? @nodejs/fs and @nodejs/build: Any idea why this keeps the event loop open and times out on Raspberry Pi devices but works fine everywhere else? I'm guessing it has nothing to do with the Pi devices per se but is because those devices are running the tests on NFS-mounted file systems or something like that. |
This comment has been minimized.
This comment has been minimized.
jasnell
left a comment
There was a problem hiding this comment.
LGTM for landing the test. No idea on the issue itself but definitely looks like a bug.
that would be my guess, although speed is another factor that regularly comes in to play - things not happening in the order you expect because everything is slowed down so much so the system gets tripped up. It could be that an unref is getting tripped up in the process and happens too late, or too soon, or something. If you close the |
bnoordhuis
left a comment
There was a problem hiding this comment.
I'm trying to make sense of this:
- Callback to
fs.open()is called but the test doesn't exit (on the RPi 1's) - Call
fs.close()from the callback and it exits?
If someone can get me access to one of the affected machines, I'll investigate. Are gdb and strace installed?
|
Landed in 6ae1b9c |
PR-URL: #34228 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Robert Nagy <[email protected]>
PR-URL: #34228 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Robert Nagy <[email protected]>
PR-URL: #34228 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Robert Nagy <[email protected]>
|
Fwiw, this test is flaky on v12.x in the sense that apparently, it does succeed there occasionally. |
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes