Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Discovery Commons 1.0.2
-
None
Description
TestOakSyncTokenService.testTwoNodesOneLeaving failed on jenkins again, so SLING-5225 wasn't enough.
Details:
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.discovery.commons/2652/testReport/org.apache.sling.discovery.commons.providers.spi.base/TestOakSyncTokenService/testTwoNodesOneLeaving/
Regression org.apache.sling.discovery.commons.providers.spi.base.TestOakSyncTokenService.testTwoNodesOneLeaving Error Message expected:<0> but was:<1> Stacktrace java.lang.AssertionError: expected:<0> but was:<1> at org.junit.Assert.fail(Assert.java:74) at org.junit.Assert.failNotEquals(Assert.java:448) at org.junit.Assert.assertEquals(Assert.java:102) at org.junit.Assert.assertEquals(Assert.java:323) at org.junit.Assert.assertEquals(Assert.java:319) at org.apache.sling.discovery.commons.providers.spi.base.TestOakSyncTokenService.testTwoNodesOneLeaving(TestOakSyncTokenService.java:168) Standard Output 04.11.2015 11:36:56.864 *INFO * [main] IndexUpdate: Found a new index node [reference]. Reindexing is requested 04.11.2015 11:36:56.864 *WARN * [main] IndexUpdate: Missing index provider of type [reference], requesting reindex on [/oak:index/reference] 04.11.2015 11:36:57.001 *INFO * [main] IdMapService: registerEventHandler: bundleContext is null - cannot register 04.11.2015 11:36:57.001 *INFO * [main] IdMapService: init: init failed: java.lang.Exception: No Descriptor value available 04.11.2015 11:36:57.001 *INFO * [main] IdMapService: backgroundCheck: spawning background-thread for 'IdMapService-initializer' 04.11.2015 11:36:57.002 *INFO * [main] OakBacklogClusterSyncService: activate: activated with slingId=5575618b-440a-4370-a27c-3223017bc528 04.11.2015 11:36:57.002 *INFO * [main] ViewStateManagerImpl: handleNewViewNonDelayed: ClusterSyncService set - invoking... 04.11.2015 11:36:57.002 *INFO * [main] ViewStateManagerImpl: handleNewViewNonDelayed: invoking waitForAsyncEvents, then clusterSyncService (modCnt=3) 04.11.2015 11:36:57.002 *INFO * [Discovery-AsyncEventSender] AsyncEventSender: AsyncEventSender.run: started. 04.11.2015 11:36:57.002 *INFO * [Discovery-AsyncEventSender] ViewStateManagerImpl: handleNewViewNonDelayed/waitForAsyncEvents.run: done, now invoking consistencyService (modCnt=3) 04.11.2015 11:36:57.002 *INFO * [Discovery-AsyncEventSender] OakBacklogClusterSyncService: sync: doing wait-for-backlog part for view=DefaultTopologyView[current=true, num=2, instances=a905fe58-aa7e-4861-bc9e-3d742746b270[local=false,leader=false],5575618b-440a-4370-a27c-3223017bc528[local=true,leader=true]] 04.11.2015 11:36:57.003 *INFO * [Discovery-AsyncEventSender] OakBacklogClusterSyncService: waitWhileBacklog: could not initialize... 04.11.2015 11:36:57.003 *INFO * [main] IdMapService: registerEventHandler: bundleContext is null - cannot register 04.11.2015 11:36:57.005 *INFO * [Discovery-AsyncEventSender] OakBacklogClusterSyncService: backgroundCheck: spawning background-thread for 'OakBacklogClusterSyncService-backlog-waiting' 04.11.2015 11:36:57.005 *INFO * [main] IdMapService: init: init failed: java.lang.Exception: No Descriptor value available 04.11.2015 11:36:57.005 *INFO * [main] IdMapService: backgroundCheck: spawning background-thread for 'IdMapService-initializer' 04.11.2015 11:36:57.008 *INFO * [IdMapService-initializer] IdMapService: init: added the following mapping: slingId=5575618b-440a-4370-a27c-3223017bc528 to discovery-lite id=1 04.11.2015 11:36:57.010 *INFO * [main] OakBacklogClusterSyncService: activate: activated with slingId=a905fe58-aa7e-4861-bc9e-3d742746b270 04.11.2015 11:36:57.011 *INFO * [OakBacklogClusterSyncService-backlog-waiting] IdMapService: toSlingId: mapping for 1 to 5575618b-440a-4370-a27c-3223017bc528 was newly added. 04.11.2015 11:36:57.011 *INFO * [OakBacklogClusterSyncService-backlog-waiting] OakBacklogClusterSyncService: getBacklogStatus: no backlog (anymore) 04.11.2015 11:36:57.011 *INFO * [OakBacklogClusterSyncService-backlog-waiting] OakBacklogClusterSyncService: waitWhileBacklog: no backlog (anymore), done. 04.11.2015 11:36:57.014 *INFO * [OakBacklogClusterSyncService-backlog-waiting] ViewStateManagerImpl: consistencyService.callback.run: invoking doHandleConsistent. 04.11.2015 11:36:57.015 *INFO * [IdMapService-initializer] IdMapService: init: init failed: java.lang.Exception: No Descriptor value available 04.11.2015 11:36:57.015 *INFO * [OakBacklogClusterSyncService-backlog-waiting] ViewStateManagerImpl: enqueueForAll: sending topologyEvent TopologyEvent [type=TOPOLOGY_INIT, oldView=null, newView=DefaultTopologyView[current=true, num=2, instances=a905fe58-aa7e-4861-bc9e-3d742746b270[local=false,leader=false],5575618b-440a-4370-a27c-3223017bc528[local=true,leader=true]]], to all (1) listeners