-
Notifications
You must be signed in to change notification settings - Fork 220
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 test failure in vat replay #5266
Comments
This appears to be In most runs (including all the ones I do locally, as I haven't been able to reproduce this), both the original pass and the replay will observe this In the CI failure, the original pass did the same, but the replay did not. Our direct evidence is that the crank finished without seeing the two expected vatstore calls. Our best guess is that something else (perhaps some AVA logging/debugging mechanism?) retained a reference to the Presence, preventing it from being collected. Or something interfered with V8 doing a complete GC, and the Presence was not collected during the My pet theory is that something about AVA's test parallelism is causing some clever incremental Incidentally, note that GC syscalls are not recorded in the transcript, under the somewhat outdated theory that this would enable us to tolerate GC variation between validators. However, the vatStore syscalls which inform the GC decisions are part of the transcript (and must be, because their return values are critical), so realistically speaking, we should probably go back to recording those syscalls, and enforcing their correct replay. We've never seen this sort of thing happen under XS, so we're not worried about production systems. So we're going to deprioritize this one. I'm going to merge this into #3240 , since this seems to be a modern example of that same problem, and #3240 has more pointers to V8 implementation details. |
Oh, you know, |
The extra information might help with debugging. refs #5266
We think GC under Node.js is a bit squirrly in the face of AVA's parallelism, and moving the intermittently-failing test into its own file might help refs #5266
We think GC under Node.js is a bit squirrly in the face of AVA's parallelism, and moving the intermittently-failing test into its own file might help refs #5266
That's landed, closing this in the hopes that it goes away. |
https://github.com/Agoric/agoric-sdk/runs/6242581254?check_suite_focus=true#step:5:702
has an intermittent test failure:
in a PR based on current trunk (fce1034).
The text was updated successfully, but these errors were encountered: