[
https://issues.apache.org/jira/browse/SOLR-12932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16671663#comment-16671663
]
Erick Erickson commented on SOLR-12932:
---------------------------------------
Am I running it right? I'm surprised that we aren't seeing some of the
recurring errors, e.g. IndexSizeTriggerTest, but here are three from my runs
anyway:
{code:java}
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestSimLargeCluster
-Dtests.method=testBasic -Dtests.seed=D06F4E22358339D2 -Dtests.slow=true
-Dtests.badapples=true -Dtests.locale=sl-SI -Dtests.timezone=Pacific/Tongatapu
-Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
[junit4] FAILURE 7.43s J3 | TestSimLargeCluster.testBasic <<<
[junit4] > Throwable #1: java.lang.AssertionError: there should be less
than flakyReplicas=10 MOVEREPLICA ops
[junit4] > at
__randomizedtesting.SeedInfo.seed([D06F4E22358339D2:7B955337EA5FBFFC]:0)
[junit4] > at
org.apache.solr.cloud.autoscaling.sim.TestSimLargeCluster.testBasic(TestSimLargeCluster.java:280)
[junit4] > at java.lang.Thread.run(Thread.java:748)
[junit4] 2> 1261841 INFO
(TEST-TestSimLargeCluster.testNodeLost-seed#[D06F4E22358339D2]) [ ]
o.a.s.SolrTestCaseJ4 ###Starting testNodeLost
[junit4
{code}
{code:java}
NOTE: reproduce with: ant test -Dtestcase=IndexSizeTriggerTest
-Dtests.method=testMixedBounds -Dtests.seed=D06F4E22358339D2 -Dtests.slow=true
-Dtests.badapples=true -Dtests.locale=sr-BA
-Dtests.timezone=America/Indiana/Winamac -Dtests.asserts=true
-Dtests.file.encoding=ISO-8859-1
[junit4] FAILURE 54.1s J2 | IndexSizeTriggerTest.testMixedBounds <<<
[junit4] > Throwable #1: java.lang.AssertionError: expected:<MERGESHARDS>
but was:<SPLITSHARD>
[junit4] > at
__randomizedtesting.SeedInfo.seed([D06F4E22358339D2:DAECF18F78383288]:0)
[junit4] > at
org.apache.solr.cloud.autoscaling.IndexSizeTriggerTest.testMixedBounds(IndexSizeTriggerTest.java:673)
[junit4] > at java.lang.Thread.run(Thread.java:748)
{code}
{code:java}
2> NOTE: reproduce with: ant test -Dtestcase=HttpPartitionTest
-Dtests.method=test -Dtests.seed=719484666306ADC1 -Dtests.slow=true
-Dtests.badapples=true -Dtests.locale=ga-IE -Dtests.timezone=Asia/Dili
-Dtests.asserts=true -Dtests.file.encoding=US-ASCII
[junit4] FAILURE 55.0s J1 | HttpPartitionTest.test <<<
[junit4] > Throwable #1: java.lang.AssertionError: Doc with id=2 not
found in http://127.0.0.1:60505/c8n_1x2_leader_session_loss due to: Path not
found: /id; rsp={doc=null}
[junit4] > at
__randomizedtesting.SeedInfo.seed([719484666306ADC1:F9C0BBBCCDFAC039]:0)
[junit4] > at
org.apache.solr.cloud.HttpPartitionTest.assertDocExists(HttpPartitionTest.java:622)
[junit4] > at
org.apache.solr.cloud.HttpPartitionTest.assertDocsExistInAllReplicas(HttpPartitionTest.java:567)
[junit4] > at
org.apache.solr.cloud.HttpPartitionTest.testLeaderZkSessionLoss(HttpPartitionTest.java:522)
[junit4] > at
org.apache.solr.cloud.HttpPartitionTest.test(HttpPartitionTest.java:159)
[junit4] > at
org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsFixedStatement.callStatement(BaseDistributedSearchTestCase.java:1066)
[junit4] > at
org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsStatement.evaluate(BaseDistributedSearchTestCase.java:1040)
[junit4] > at java.lang.Thread.run(Thread.java:748)
{code}
> ant test (without badapples=false) should pass easily for developers.
> ---------------------------------------------------------------------
>
> Key: SOLR-12932
> URL: https://issues.apache.org/jira/browse/SOLR-12932
> Project: Solr
> Issue Type: Sub-task
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Tests
> Reporter: Mark Miller
> Assignee: Mark Miller
> Priority: Major
>
> If we fix the tests we will end up here anyway, but we can shortcut this.
> Once I get my first patch in, anyone who mentions a test that fails locally
> for them at any time (not jenkins), I will fix it.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]