Details
-
Task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
There was a flaky test failure in this jenkins run (no longer available) that reported below.
The unexpected thing is, the test does 4 unmerged and 2 merged BCs. The resulting doc as seen below however, only contains 4 BCs - 2 unmerged and 2 merged. They are OK not to be cleaned up, that's the expectation due to dryRun. And the preceding stats must have confirmed no deletion happened in gc(). Except, why are 2 unmerged BCs missing in the output, that's unexpected.
Regression org.apache.jackrabbit.oak.plugins.document.VersionGarbageCollectorIT.testDeletedPropsAndUnmergedBCWithCollisionWithDryRunMode[0: MemoryFixture: Memory with NONE] Failing for the past 1 build (Since #1570 ) Took 16 ms. Error Message document not cleaned up: "_children":true,"_bc":{"r190726417f7-0-1":"true","r190726417f2-0-1":"true","r190726417eb-0-1":"true","r190726417d1-0-1":"true"},"_deleted":{"r19072641788-0-1":"false"},"_collisions":{},"_commitRoot":{},"_sweepRev":{"r0-0-1":"r190726417fd-0-1"},"_revisions":{"r190726417f7-0-1":"c-r190726417fd-0-1","r190726417f2-0-1":"br190726417d9-0-1","r190726417eb-0-1":"br190726417d9-0-1","r190726417d1-0-1":"c-r190726417d9-0-1","r19072641799-0-1":"c","r19072641788-0-1":"c"},"_id":"0:/","_modified":1719906080,"_lastRev":{"r0-0-1":"r190726417fd-0-1"} Stacktrace java.lang.AssertionError: document not cleaned up: "_children":true,"_bc":{"r190726417f7-0-1":"true","r190726417f2-0-1":"true","r190726417eb-0-1":"true","r190726417d1-0-1":"true"},"_deleted":{"r19072641788-0-1":"false"},"_collisions":{},"_commitRoot":{},"_sweepRev":{"r0-0-1":"r190726417fd-0-1"},"_revisions":{"r190726417f7-0-1":"c-r190726417fd-0-1","r190726417f2-0-1":"br190726417d9-0-1","r190726417eb-0-1":"br190726417d9-0-1","r190726417d1-0-1":"c-r190726417d9-0-1","r19072641799-0-1":"c","r19072641788-0-1":"c"},"_id":"0:/","_modified":1719906080,"_lastRev":{"r0-0-1":"r190726417fd-0-1"} at org.junit.Assert.fail(Assert.java:89) at org.junit.Assert.assertTrue(Assert.java:42) at org.apache.jackrabbit.oak.plugins.document.FullGCHelper.assertBranchRevisionNotRemovedFromAllDocuments(FullGCHelper.java:122) at org.apache.jackrabbit.oak.plugins.document.VersionGarbageCollectorIT.testDeletedPropsAndUnmergedBCWithCollisionWithDryRunMode(VersionGarbageCollectorIT.java:2403)