[ https://issues.apache.org/jira/browse/SLING-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Egli updated SLING-5306: ------------------------------- Fix Version/s: (was: Discovery Impl 1.2.4) Discovery Impl 1.2.6 > PathNotFoundException in test part fails tests on jenkins > --------------------------------------------------------- > > Key: SLING-5306 > URL: https://issues.apache.org/jira/browse/SLING-5306 > Project: Sling > Issue Type: Test > Components: Extensions > Affects Versions: Discovery Impl 1.2.2 > Reporter: Stefan Egli > Assignee: Stefan Egli > Priority: Minor > Fix For: Discovery Impl 1.2.6 > > Attachments: SingleInstanceTest.testGetters, > TopologyEventTest.testGetDuringDelay, consoleText.1.7-2710gz, consoleText.gz > > > The following two test runs on jenkins both failed with similar patterns: > * > https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.discovery.impl/2710/testReport/org.apache.sling.discovery.impl.cluster/TopologyEventTest/testGetDuringDelay/ > {code} > Caused by: javax.jcr.PathNotFoundException: > /var/discovery/impl/clusterInstances > 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.base.its.setup.mock.MockedResource.adaptTo(MockedResource.java:95) > at > org.apache.sling.discovery.base.its.setup.mock.MockedResourceResolver.create(MockedResourceResolver.java:269) > at > org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:584) > at > org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:532) > at > org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:562) > at > org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:532) > at > org.apache.sling.discovery.commons.providers.util.ResourceHelper.getOrCreateResource(ResourceHelper.java:45) > at > org.apache.sling.discovery.impl.DiscoveryServiceImpl.doUpdateProperties(DiscoveryServiceImpl.java:517) > at > org.apache.sling.discovery.impl.DiscoveryServiceImpl.updateProperties(DiscoveryServiceImpl.java:586) > at > org.apache.sling.discovery.impl.common.heartbeat.HeartbeatHandler.updateProperties(HeartbeatHandler.java:359) > at > org.apache.sling.discovery.impl.common.heartbeat.HeartbeatHandler.issueHeartbeat(HeartbeatHandler.java:350) > at > org.apache.sling.discovery.impl.common.heartbeat.HeartbeatHandler.initialize(HeartbeatHandler.java:220) > at > org.apache.sling.discovery.impl.DiscoveryServiceImpl.activate(DiscoveryServiceImpl.java:306) > {code} > * > https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.discovery.impl/2007/testReport/org.apache.sling.discovery.impl.cluster/SingleInstanceTest/testGetters/ > {code}Caused by: java.lang.RuntimeException: Exception occurred: > javax.jcr.PathNotFoundException: > /var/discovery/impl/clusterInstances/e1f06c06-f3ce-4d14-b887-ecd29ef19f9e > at > org.apache.sling.discovery.base.its.setup.mock.MockedResource.adaptTo(MockedResource.java:98) > at > org.apache.sling.discovery.base.its.setup.mock.MockedResourceResolver.create(MockedResourceResolver.java:269) > at > org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:584) > at > org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:532) > at > org.apache.sling.discovery.commons.providers.util.ResourceHelper.getOrCreateResource(ResourceHelper.java:45) > at > org.apache.sling.discovery.impl.DiscoveryServiceImpl.doUpdateProperties(DiscoveryServiceImpl.java:518) > at > org.apache.sling.discovery.impl.DiscoveryServiceImpl.updateProperties(DiscoveryServiceImpl.java:586) > at > org.apache.sling.discovery.impl.common.heartbeat.HeartbeatHandler.updateProperties(HeartbeatHandler.java:359) > at > org.apache.sling.discovery.impl.common.heartbeat.HeartbeatHandler.issueHeartbeat(HeartbeatHandler.java:350) > at > org.apache.sling.discovery.impl.common.heartbeat.HeartbeatHandler.initialize(HeartbeatHandler.java:220) > at > org.apache.sling.discovery.impl.DiscoveryServiceImpl.activate(DiscoveryServiceImpl.java:306) > {code} > this is code executing in the {{main}} test thread and should thus not > experience any concurrency. Thus about the only theory right now is that some > other test (that should already be finished) is interfering. -- This message was sent by Atlassian JIRA (v6.3.4#6332)