You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2015/04/09 07:06:12 UTC

[jira] [Comment Edited] (OAK-2714) Test failures on Jenkins

    [ https://issues.apache.org/jira/browse/OAK-2714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14486691#comment-14486691 ] 

Chetan Mehrotra edited comment on OAK-2714 at 4/9/15 5:06 AM:
--------------------------------------------------------------

DefaultAnalyzersConfigurationTest is failing with following reason

{noformat}
org.apache.jackrabbit.oak.plugins.index.solr.configuration.DefaultAnalyzersConfigurationTest  Time elapsed: 23.263 sec  <<< ERROR!
com.carrotsearch.randomizedtesting.ThreadLeakError: 21 threads leaked from SUITE scope at org.apache.jackrabbit.oak.plugins.index.solr.configuration.DefaultAnalyzersConfigurationTest: 
   1) Thread[id=37, name=oak-scheduled-executor-7, state=TIMED_WAITING, group=main]
        at sun.misc.Unsafe.park(Native Method)
        at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2082)
        at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.poll(ScheduledThreadPoolExecutor.java:1125)
        at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.poll(ScheduledThreadPoolExecutor.java:807)
        at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
{noformat}

[~teofili] [~mduerig] It appears that the defaultScheduledExecutor is not being closed in Oak upon repository close. Also see recent [thread|http://markmail.org/thread/rryydj7vpua5qbub]. Should not we close the pool in close if and only if it is created within Oak class and not provided externally?


was (Author: chetanm):
DefaultAnalyzersConfigurationTest is failing with following reason

{noformat}
org.apache.jackrabbit.oak.plugins.index.solr.configuration.DefaultAnalyzersConfigurationTest  Time elapsed: 23.263 sec  <<< ERROR!
com.carrotsearch.randomizedtesting.ThreadLeakError: 21 threads leaked from SUITE scope at org.apache.jackrabbit.oak.plugins.index.solr.configuration.DefaultAnalyzersConfigurationTest: 
   1) Thread[id=37, name=oak-scheduled-executor-7, state=TIMED_WAITING, group=main]
        at sun.misc.Unsafe.park(Native Method)
        at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2082)
        at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.poll(ScheduledThreadPoolExecutor.java:1125)
        at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.poll(ScheduledThreadPoolExecutor.java:807)
        at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
{noformat}

[~teofili] [~mduerig] It appears that the defaultScheduledExecutor is not being closed in Oak upon repository close. Also see recent [thread|http://markmail.org/thread/rryydj7vpua5qbub]. Should not we close the pool in close?

> Test failures on Jenkins
> ------------------------
>
>                 Key: OAK-2714
>                 URL: https://issues.apache.org/jira/browse/OAK-2714
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>         Environment: Jenkins, Ubuntu: https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/
>            Reporter: Michael Dürig
>              Labels: CI, Jenkins
>             Fix For: 1.3.0
>
>
> This issue is for tracking test failures seen at our Jenkins instance that might yet be transient. Once a failure happens too often we should remove it here and create a dedicated issue for it. 
> || Test                                                                                       || Builds || Fixture      || JVM ||
> | org.apache.jackrabbit.oak.plugins.index.solr.configuration.DefaultAnalyzersConfigurationTest | 61, 63, 92  | ?            | ?     |
> | org.apache.jackrabbit.oak.plugins.index.lucene.IndexCopierTest.reuseLocalDir                 | 81      | DOCUMENT_RDB | 1.7   |
> | org.apache.jackrabbit.oak.jcr.OrderableNodesTest.orderableFolder                             | 81, 87, 92   | DOCUMENT_NS, DOCUMENT_RDB (2)  | 1.6, 1.7   |
> | org.apache.jackrabbit.oak.jcr.OrderedIndexIT.oak2035                                         | 76      | SEGMENT_MK   | 1.6   |
> | org.apache.jackrabbit.oak.jcr.OrderableNodesTest.setPrimaryType                              | 69, 83  | DOCUMENT_RDB | 1.6     |
> | org.apache.jackrabbit.oak.plugins.segment.standby.StandbyTestIT.testSyncLoop                 | 64      | ?            | ?     |
> | org.apache.jackrabbit.oak.jcr.observation.ObservationRefreshTest.observation                 | 48, 55  | ?            | ?     |
> | org.apache.jackrabbit.oak.run.osgi.DocumentNodeStoreConfigTest.testRDBDocumentStore_CustomBlobStore | 52 | ?          | ?     |
> | org.apache.jackrabbit.oak.run.osgi.JsonConfigRepFactoryTest.testRepositoryTar                | 41      | ?            | ?     |
> | org.apache.jackrabbit.oak.jcr.AutoCreatedItemsTest.autoCreatedItems                          | 41, 88  | DOCUMENT_RDB | 1.7  |
> | org.apache.jackrabbit.test.api.observation.PropertyAddedTest.testMultiPropertyAdded          | 29      | ?            | ?     |
> | org.apache.jackrabbit.oak.plugins.segment.HeavyWriteIT.heavyWrite                            | 35      | SEGMENT_MK   | ?     |
> | org.apache.jackrabbit.oak.jcr.query.QueryPlanTest.propertyIndexVersusNodeTypeIndex | 90 | DOCUMENT_RDB | 1.6 |



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)