You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Kevin Risden (JIRA)" <ji...@apache.org> on 2019/02/23 01:36:00 UTC

[jira] [Commented] (SOLR-13268) Clean up any test failures resulting from SOLR-12055 (async logging)

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

Kevin Risden commented on SOLR-13268:
-------------------------------------

Shared on asf slack but adding here as well. I have a local Jenkins server that runs tests on JDK 8 (and 11). Here are 3 similar failures from AdoptOpenJdk 1.8.0_202

*UpdateLogTest*
{code:java}
[junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=UpdateLogTest -Dtests.seed=7E032A96C05E8363 -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=ar -Dtests.timezone=America/Marigot -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
   [junit4] ERROR   0.00s J0 | UpdateLogTest (suite) <<<
   [junit4]    > Throwable #1: com.carrotsearch.randomizedtesting.ThreadLeakError: 1 thread leaked from SUITE scope at org.apache.solr.update.UpdateLogTest: 
   [junit4]    >    1) Thread[id=29, name=Log4j2-TF-2-AsyncLoggerConfig--2, state=TIMED_WAITING, group=TGRP-UpdateLogTest]
   [junit4]    >         at sun.misc.Unsafe.park(Native Method)
   [junit4]    >         at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
   [junit4]    >         at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
   [junit4]    >         at com.lmax.disruptor.TimeoutBlockingWaitStrategy.waitFor(TimeoutBlockingWaitStrategy.java:38)
   [junit4]    >         at com.lmax.disruptor.ProcessingSequenceBarrier.waitFor(ProcessingSequenceBarrier.java:56)
   [junit4]    >         at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:128)
   [junit4]    >         at java.lang.Thread.run(Thread.java:748)
   [junit4]    >     at __randomizedtesting.SeedInfo.seed([7E032A96C05E8363]:0)Throwable #2: com.carrotsearch.randomizedtesting.ThreadLeakError: There are still zombie threads that couldn't be terminated:
   [junit4]    >    1) Thread[id=29, name=Log4j2-TF-2-AsyncLoggerConfig--2, state=TIMED_WAITING, group=TGRP-UpdateLogTest]
   [junit4]    >         at sun.misc.Unsafe.park(Native Method)
   [junit4]    >         at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
   [junit4]    >         at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
   [junit4]    >         at com.lmax.disruptor.TimeoutBlockingWaitStrategy.waitFor(TimeoutBlockingWaitStrategy.java:38)
   [junit4]    >         at com.lmax.disruptor.ProcessingSequenceBarrier.waitFor(ProcessingSequenceBarrier.java:56)
   [junit4]    >         at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:128)
   [junit4]    >         at java.lang.Thread.run(Thread.java:748)
   [junit4]    >     at __randomizedtesting.SeedInfo.seed([7E032A96C05E8363]:0)
   [junit4] Completed [2/844 (1!)] on J0 in 32.30s, 4 tests, 2 errors <<< FAILURES
{code}
*VersionInfoTest*
{code:java}
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=VersionInfoTest -Dtests.seed=7E032A96C05E8363 -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=et -Dtests.timezone=Indian/Mauritius -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
   [junit4] ERROR   0.00s J2 | VersionInfoTest (suite) <<<
   [junit4]    > Throwable #1: com.carrotsearch.randomizedtesting.ThreadLeakError: 1 thread leaked from SUITE scope at org.apache.solr.update.VersionInfoTest: 
   [junit4]    >    1) Thread[id=52, name=Log4j2-TF-2-AsyncLoggerConfig--2, state=TIMED_WAITING, group=TGRP-VersionInfoTest]
   [junit4]    >         at sun.misc.Unsafe.park(Native Method)
   [junit4]    >         at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
   [junit4]    >         at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
   [junit4]    >         at com.lmax.disruptor.TimeoutBlockingWaitStrategy.waitFor(TimeoutBlockingWaitStrategy.java:38)
   [junit4]    >         at com.lmax.disruptor.ProcessingSequenceBarrier.waitFor(ProcessingSequenceBarrier.java:56)
   [junit4]    >         at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:128)
   [junit4]    >         at java.lang.Thread.run(Thread.java:748)
   [junit4]    >     at __randomizedtesting.SeedInfo.seed([7E032A96C05E8363]:0)Throwable #2: com.carrotsearch.randomizedtesting.ThreadLeakError: There are still zombie threads that couldn't be terminated:
   [junit4]    >    1) Thread[id=52, name=Log4j2-TF-2-AsyncLoggerConfig--2, state=TIMED_WAITING, group=TGRP-VersionInfoTest]
   [junit4]    >         at sun.misc.Unsafe.park(Native Method)
   [junit4]    >         at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
   [junit4]    >         at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
   [junit4]    >         at com.lmax.disruptor.TimeoutBlockingWaitStrategy.waitFor(TimeoutBlockingWaitStrategy.java:38)
   [junit4]    >         at com.lmax.disruptor.ProcessingSequenceBarrier.waitFor(ProcessingSequenceBarrier.java:56)
   [junit4]    >         at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:128)
   [junit4]    >         at java.lang.Thread.run(Thread.java:748)
   [junit4]    >     at __randomizedtesting.SeedInfo.seed([7E032A96C05E8363]:0)
   [junit4] Completed [59/844 (2!)] on J2 in 37.17s, 2 tests, 2 errors <<< FAILURES!
{code}
*AnalysisAfterCoreReloadTest*
{code:java}
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=AnalysisAfterCoreReloadTest -Dtests.seed=44A484596B614BAD -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=it-CH -Dtests.timezone=America/Nome -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
   [junit4] ERROR   0.00s J0 | AnalysisAfterCoreReloadTest (suite) <<<
   [junit4]    > Throwable #1: com.carrotsearch.randomizedtesting.ThreadLeakError: 1 thread leaked from SUITE scope at org.apache.solr.AnalysisAfterCoreReloadTest: 
   [junit4]    >    1) Thread[id=32, name=Log4j2-TF-2-AsyncLoggerConfig--2, state=TIMED_WAITING, group=TGRP-AnalysisAfterCoreReloadTest]
   [junit4]    >         at sun.misc.Unsafe.park(Native Method)
   [junit4]    >         at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
   [junit4]    >         at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
   [junit4]    >         at com.lmax.disruptor.TimeoutBlockingWaitStrategy.waitFor(TimeoutBlockingWaitStrategy.java:38)
   [junit4]    >         at com.lmax.disruptor.ProcessingSequenceBarrier.waitFor(ProcessingSequenceBarrier.java:56)
   [junit4]    >         at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:128)
   [junit4]    >         at java.lang.Thread.run(Thread.java:748)
   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([44A484596B614BAD]:0)Throwable #2: com.carrotsearch.randomizedtesting.ThreadLeakError: There are still zombie threads that couldn't be terminated:
   [junit4]    >    1) Thread[id=32, name=Log4j2-TF-2-AsyncLoggerConfig--2, state=TIMED_WAITING, group=TGRP-AnalysisAfterCoreReloadTest]
   [junit4]    >         at sun.misc.Unsafe.park(Native Method)
   [junit4]    >         at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
   [junit4]    >         at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
   [junit4]    >         at com.lmax.disruptor.TimeoutBlockingWaitStrategy.waitFor(TimeoutBlockingWaitStrategy.java:38)
   [junit4]    >         at com.lmax.disruptor.ProcessingSequenceBarrier.waitFor(ProcessingSequenceBarrier.java:56)
   [junit4]    >         at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:128)
   [junit4]    >         at java.lang.Thread.run(Thread.java:748)
   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([44A484596B614BAD]:0)
   [junit4] Completed [4/844 (1!)] on J0 in 27.01s, 1 test, 2 errors <<< FAILURES!
{code}

> Clean up any test failures resulting from SOLR-12055 (async logging)
> --------------------------------------------------------------------
>
>                 Key: SOLR-13268
>                 URL: https://issues.apache.org/jira/browse/SOLR-13268
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>            Priority: Major
>
> This is a catch-all for test failures due to the async logging changes. So far, the I see a couple failures on JDK13 only. I'll collect a "starter set" here, these are likely systemic, once the root cause is found/fixed, then others are likely fixed as well.
> JDK13:
> ant test  -Dtestcase=TestJmxIntegration -Dtests.seed=54B30AC62A2D71E -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=lv-LV -Dtests.timezone=Asia/Riyadh -Dtests.asserts=true -Dtests.file.encoding=UTF-8
> ant test  -Dtestcase=TestDynamicURP -Dtests.seed=54B30AC62A2D71E -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=rwk -Dtests.timezone=Australia/Brisbane -Dtests.asserts=true -Dtests.file.encoding=UTF-8



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org