Open warner opened 1 month ago
I haven't been able to reproduce this, but after an hour of repeating yarn test
in swingset-liveslots, I did hit a (probably related) one:
storeGC › weak-key › verify store weak key GC
test/storeGC/weak-key.test.js:98
97: // nothing still references the dead 'held'
98: t.is(testHooks.countCollectionsForWeakKey(vref), 0); // Map8
99: // both the WeakMap and WeakSet have zero entries
Difference (- actual, + expected):
- 2
+ 0
› file://test/storeGC/weak-key.test.js:98:5
Patrick saw a few similar occurrences in virtual-objects › virtualObjectGC › VO lifecycle 4 faceted
this week.
I observed an unexpected test failure in a PR (#10033) which did not make any changes that should have been able to affect a test. I think it's an intermittent misbehavior in the platform GC code (our old pals #3240 and #5575), but I need to look more carefully to be sure. I'm not able to reproduce it locally.
The test ran under Node 20.x . The
NODE_V8_COVERAGE: coverage
variable was set, in case that makes a difference. The CI run was in https://github.com/Agoric/agoric-sdk/actions/runs/11032275359/job/30640970790?pr=10033 but I expect that will be pruned fairly quickly. Test output is attached: