Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-4303

ClusterLoadTest.testFourInstances sometimes fails

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Discovery Impl 1.0.12
    • Discovery Impl 1.1.0
    • Extensions
    • None

    Description

      ClusterLoadTest.testFourInstances sometimes fails - eg https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.discovery.impl/2932/testReport/org.apache.sling.discovery.impl.cluster/ClusterLoadTest/testFourInstances/

      Tests run: 7, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 81.261 sec <<< FAILURE! - in org.apache.sling.discovery.impl.cluster.ClusterLoadTest
      testFourInstances(org.apache.sling.discovery.impl.cluster.ClusterLoadTest)  Time elapsed: 0.194 sec  <<< ERROR!
      java.lang.reflect.InvocationTargetException: null
      	at org.apache.jackrabbit.core.ItemManager.getNode(ItemManager.java:577)
      	at org.apache.jackrabbit.core.session.SessionItemOperation$6.perform(SessionItemOperation.java:129)
      	at org.apache.jackrabbit.core.session.SessionItemOperation$6.perform(SessionItemOperation.java:125)
      	at org.apache.jackrabbit.core.session.SessionItemOperation.perform(SessionItemOperation.java:187)
      	at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:200)
      	at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:355)
      	at org.apache.jackrabbit.core.SessionImpl.getNode(SessionImpl.java:1054)
      	at org.apache.sling.discovery.impl.setup.MockedResource.adaptTo(MockedResource.java:89)
      	at org.apache.sling.discovery.impl.setup.MockedResourceResolver.listChildren(MockedResourceResolver.java:160)
      	at org.apache.sling.api.resource.AbstractResource.listChildren(AbstractResource.java:93)
      	at org.apache.sling.api.resource.AbstractResource$1.iterator(AbstractResource.java:103)
      	at org.apache.sling.discovery.impl.common.resource.EstablishedClusterView.<init>(EstablishedClusterView.java:68)
      	at org.apache.sling.discovery.impl.cluster.ClusterViewServiceImpl.getClusterView(ClusterViewServiceImpl.java:141)
      	at org.apache.sling.discovery.impl.DiscoveryServiceImpl.getTopology(DiscoveryServiceImpl.java:418)
      	at org.apache.sling.discovery.impl.DiscoveryServiceImpl.activate(DiscoveryServiceImpl.java:159)
      	at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.apache.sling.discovery.impl.setup.OSGiMock.activate(OSGiMock.java:69)
      	at org.apache.sling.discovery.impl.setup.OSGiMock.activateAll(OSGiMock.java:57)
      	at org.apache.sling.discovery.impl.setup.Instance.<init>(Instance.java:349)
      	at org.apache.sling.discovery.impl.setup.Instance.newClusterInstance(Instance.java:387)
      	at org.apache.sling.discovery.impl.cluster.ClusterLoadTest.doDoTest(ClusterLoadTest.java:148)
      	at org.apache.sling.discovery.impl.cluster.ClusterLoadTest.doTest(ClusterLoadTest.java:124)
      	at org.apache.sling.discovery.impl.cluster.ClusterLoadTest.testFourInstances(ClusterLoadTest.java:100)
      

      Attachments

        Activity

          People

            stefanegli Stefan Egli
            stefanegli Stefan Egli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: