Anshum Gupta created SOLR-6868:
----------------------------------
Summary: Investigate failing CollectionsAPIDistributedZkTest
Key: SOLR-6868
URL: https://issues.apache.org/jira/browse/SOLR-6868
Project: Solr
Issue Type: Bug
Components: Tests
Reporter: Anshum Gupta
CollectionsAPIDistributedZkTest has been failing (on trunk and 5x) off late.
Running the following
bq. ant test -Dtestcase=CollectionsAPIDistributedZkTest
-Dtests.method=testDistribSearch -Dtests.seed=8219942E65A94EC1
-Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=nl
-Dtests.timezone=America/Halifax -Dtests.asserts=false
-Dtests.file.encoding=ISO-8859-1
causes the following errors/exceptions:
{code}
[junit4] > Throwable #1: org.junit.ComparisonFailure:
expected:<...9942E65A94EC1-002/te[mpDir-003/solrj_test_core_props_shard1_replica1]>
but
was:<...9942E65A94EC1-002/te[stPropertyParamsForCreate-001/instanceDir-fmchl]>
[junit4] > at
__randomizedtesting.SeedInfo.seed([8219942E65A94EC1:3FF1A3612F62EFD]:0)
[junit4] > at
org.apache.solr.cloud.CollectionsAPIDistributedZkTest.checkInstanceDirs(CollectionsAPIDistributedZkTest.java:1154)
[junit4] > at
org.apache.solr.cloud.CollectionsAPIDistributedZkTest.testCollectionsAPI(CollectionsAPIDistributedZkTest.java:901)
[junit4] > at
org.apache.solr.cloud.CollectionsAPIDistributedZkTest.doTest(CollectionsAPIDistributedZkTest.java:205)
[junit4] > at
org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:869)
[junit4] > at java.lang.Thread.run(Thread.java:745)
{code}
and running it without that seed (and may be with the seed too) often leads to :
{code}
oasu.SolrIndexWriter.rollback ERROR Exception rolling back IndexWriter
org.apache.lucene.store.AlreadyClosedException: refusing to delete any files:
this IndexWriter hit an unrecoverable exception
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]