[
https://issues.apache.org/jira/browse/SLING-5876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15389248#comment-15389248
]
Bertrand Delacretaz commented on SLING-5876:
--------------------------------------------
I've reduced the test duration (as it took a long time anyway) and increased
the timeout by a factor 4 in http://svn.apache.org/r1753773
Note that the test outputs lots of error messages like these, not sure what
that means as it still passes - but there are very few assertions in it, at a
glance it looks like it's only concerned about all threads finishing in a
decent amount of time.
{code}
22.07.2016 11:44:47.328 *WARN* [Apache Sling JCR Resource Event Queue
Processor] org.apache.sling.jcr.resource.internal.JcrResourceListener
processOsgiEventQueue: Unexpected problem processing event
{path=/var/eventing/jobs/assigned/4cf67edc-ddb2-401e-92d4-374440780a0d/sling.chaos.parallel.4/2016/7/22/11/44/4cf67edc-ddb2-401e-92d4-374440780a0d_1131,
resourceAddedAttributes=[Ljava.lang.String;@255633ec, userid=admin}
org.apache.sling.api.SlingException: Problem retrieving node based resource
/var/eventing/jobs/assigned/4cf67edc-ddb2-401e-92d4-374440780a0d/sling.chaos.parallel.4/2016/7/22/11/44/4cf67edc-ddb2-401e-92d4-374440780a0d_1131
at
org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:156)
at
org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:143)
at
org.apache.sling.resourceresolver.impl.tree.ResourceProviderFactoryHandler.getResource(ResourceProviderFactoryHandler.java:113)
at ...
...
Caused by: javax.jcr.PathNotFoundException:
/var/eventing/jobs/assigned/4cf67edc-ddb2-401e-92d4-374440780a0d/sling.chaos.parallel.4/2016/7/22/11/44/4cf67edc-ddb2-401e-92d4-374440780a0d_1131
at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:552)
...
at
org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:154)
...
{code}
> ChaosTest frequently times out on Jenkins
> -----------------------------------------
>
> Key: SLING-5876
> URL: https://issues.apache.org/jira/browse/SLING-5876
> Project: Sling
> Issue Type: Bug
> Components: Extensions
> Reporter: Bertrand Delacretaz
> Priority: Minor
> Labels: sling-IT
>
> The {{org.apache.sling.event.it.ChaosTest.testDoChaos}} frequently fails, for
> example at [1]
> {code}
> test timed out after 960000 milliseconds
> java.lang.Exception: test timed out after 960000 milliseconds
> at java.lang.Thread.sleep(Native Method)
> at
> org.apache.sling.event.it.AbstractJobHandlingTest.sleep(AbstractJobHandlingTest.java:209)
> at org.apache.sling.event.it.ChaosTest.testDoChaos(ChaosTest.java:390)
> {code}
> [1]
> https://builds.apache.org/view/S-Z/view/Sling/job/sling-trunk-1.7/4330/org.apache.sling$org.apache.sling.event/testReport/org.apache.sling.event.it/ChaosTest/testDoChaos/
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)