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

Erick Erickson commented on SOLR-14784:
---------------------------------------

Here's an interesting bit from the failure case:

 

[junit4] 2> 28524 INFO 
(SUITE-DirectUpdateHandlerTest-seed#[81E1DC8C3CA7BF3B]-worker) [ ] 
o.a.s.m.r.SolrJmxReporter Closing reporter 
[org.apache.solr.metrics.reporters.SolrJmxReporter@4e97ad89: rootName = null, 
domain = solr.jetty, service url = null, agent id = null] for registry 
solr.jetty/com.codahale.metrics.MetricRegistry@7d190268
 [junit4] 2> 28528 ERROR 
(SUITE-DirectUpdateHandlerTest-seed#[81E1DC8C3CA7BF3B]-worker) [ ] 
o.a.s.c.u.ObjectReleaseTracker 
 [junit4] 2> => java.lang.RuntimeException: MockDirectoryWrapper: cannot close: 
there are still 1 open files: \{_0.cfs=1}
 [junit4] 2> at 
org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:812)
 [junit4] 2> java.lang.RuntimeException: MockDirectoryWrapper: cannot close: 
there are still 1 open files: \{_0.cfs=1}
 [junit4] 2> at 
org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:812)
 ~[java/:?]
 [junit4] 2> at 
org.apache.solr.common.util.ObjectReleaseTracker.tryClose(ObjectReleaseTracker.java:85)
 [java/:?]
 [junit4] 2> at 
org.apache.solr.SolrTestCaseJ4.teardownTestCases(SolrTestCaseJ4.java:329) 
[java/:?]
 [junit4] 2> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method) ~[?:?]
 [junit4] 2> at 
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 ~[?:?]
 [junit4] 2> at 
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:?]
 [junit4] 2> at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
 [junit4] 2> at 
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1754)
 [randomizedtesting-runner-2.7.6.jar:?]
 [junit4] 2> at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:905)
 [randomizedtesting-runner-2.7.6.jar:?]
 [junit4] 2> at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
 [randomizedtesting-runner-2.7.6.jar:?]
 [junit4] 2> at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
 [randomizedtesting-runner-2.7.6.jar:?]
 [junit4] 2> at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
 [java/:?]

> Reproducible failure for DirectUpdateHandlerTest
> ------------------------------------------------
>
>                 Key: SOLR-14784
>                 URL: https://issues.apache.org/jira/browse/SOLR-14784
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Tests
>    Affects Versions: master (9.0)
>            Reporter: Erick Erickson
>            Priority: Major
>         Attachments: DirectUpdateHandlerTest-fail.txt, 
> DirectUpdateHandlerTest-success.xml
>
>
> This is rather weird. It apparently was introduced by LUCENE-9456, but that 
> seems odd. Although I do note that that push may do some different error 
> handling, perhaps Solr needs to accommodate that.
> Of course it doesn't necessarily reproduce with other seeds.
> [~jpountz] do you have any hints?
> Reproduce 100% with:
> ./gradlew :solr:core:test --tests 
> "org.apache.solr.update.DirectUpdateHandlerTest" 
> -Ptests.seed=2BE3A8682E5E346D -Ptests.multiplier=2 -Ptests.badapples=false 
> -Ptests.file.encoding=US-ASCII
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to