[ https://issues.apache.org/jira/browse/SOLR-16408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17602500#comment-17602500 ]
Kevin Risden commented on SOLR-16408: ------------------------------------- It looks like deleteCore is handled by SolrTestCaseJ4 - and TestInjection.notifyPauseForeverDone(); is only called in that class. So the executor can't finish when the test calls deleteCore itself. > TestHdfsUpdateLog.classMethod not shutting down MDCAwareThreadPoolExecutor > -------------------------------------------------------------------------- > > Key: SOLR-16408 > URL: https://issues.apache.org/jira/browse/SOLR-16408 > Project: Solr > Issue Type: Test > Security Level: Public(Default Security Level. Issues are Public) > Components: Hadoop Integration, hdfs > Reporter: Kevin Risden > Assignee: Kevin Risden > Priority: Major > > This surfaced after SOLR-16187 which should tell us why some builds were just > timing out in the past. Now we have a stacktrace of where the pool got stuck. > {code:java} > Build: https://jenkins.thetaphi.de/job/Solr-main-Linux/7070/ > Java: 64bit/jdk-11.0.15 -XX:+UseCompressedOops -XX:+UseSerialGC > 1 tests failed. > FAILED: org.apache.solr.hdfs.update.TestHdfsUpdateLog.classMethod > Error Message: > java.lang.RuntimeException: Timeout waiting for pool > org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor@12bfe088[Shutting > down, pool size = 1, active threads = 1, queued tasks = 0, completed tasks = > 0] to shutdown. > Stack Trace: > java.lang.RuntimeException: Timeout waiting for pool > org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor@12bfe088[Shutting > down, pool size = 1, active threads = 1, queued tasks = 0, completed tasks = > 0] to shutdown. > at __randomizedtesting.SeedInfo.seed([C45530E56E50859A]:0) > at > org.apache.solr.common.util.ExecutorUtil.awaitTermination(ExecutorUtil.java:112) > at > org.apache.solr.common.util.ExecutorUtil.awaitTermination(ExecutorUtil.java:99) > at > org.apache.solr.common.util.ExecutorUtil.shutdownAndAwaitTermination(ExecutorUtil.java:89) > at org.apache.solr.core.SolrCores.close(SolrCores.java:149) > at > org.apache.solr.core.CoreContainer.shutdown(CoreContainer.java:1188) > at org.apache.solr.util.TestHarness.close(TestHarness.java:397) > at org.apache.solr.SolrTestCaseJ4.deleteCore(SolrTestCaseJ4.java:942) > at > org.apache.solr.hdfs.update.TestHdfsUpdateLog.afterClass(TestHdfsUpdateLog.java:75) > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org