You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2015/02/05 07:29:35 UTC

[jira] [Commented] (SOLR-6227) ChaosMonkeySafeLeaderTest failures on jenkins

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

Shalin Shekhar Mangar commented on SOLR-6227:
---------------------------------------------

More failures from jenkins:

{code}
java.lang.AssertionError: The Monkey ran for over 20 seconds and no jetties were stopped - this is worth investigating!
	at __randomizedtesting.SeedInfo.seed([3F5FA11431DFAF47:B70B9ECE9F23C2BF]:0)
	at org.junit.Assert.fail(Assert.java:93)
	at org.apache.solr.cloud.ChaosMonkey.stopTheMonkey(ChaosMonkey.java:537)
	at org.apache.solr.cloud.ChaosMonkeySafeLeaderTest.test(ChaosMonkeySafeLeaderTest.java:137)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
{code}

I did investigate and it happens on nightly runs only and only when the shardCount is equal to sliceCount. In such cases, each slice has just one replica and ChaosMonkey has nothing to kill. I'll fix it by making sure that we create at least 1+sliceCount number of jetties so that there's always at least one node to kill.

> ChaosMonkeySafeLeaderTest failures on jenkins
> ---------------------------------------------
>
>                 Key: SOLR-6227
>                 URL: https://issues.apache.org/jira/browse/SOLR-6227
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud, Tests
>            Reporter: Shalin Shekhar Mangar
>             Fix For: 4.10
>
>
> This is happening very frequently.
> {code}
> 1 tests failed.
> REGRESSION:  org.apache.solr.cloud.ChaosMonkeySafeLeaderTest.testDistribSearch
> Error Message:
> shard1 is not consistent.  Got 143 from https://127.0.0.1:36610/xvv/collection1lastClient and got 142 from https://127.0.0.1:33168/xvv/collection1
> Stack Trace:
> java.lang.AssertionError: shard1 is not consistent.  Got 143 from https://127.0.0.1:36610/xvv/collection1lastClient and got 142 from https://127.0.0.1:33168/xvv/collection1
>         at __randomizedtesting.SeedInfo.seed([3C1FB6EADDDDFE71:BDF938F2AA829E4D]:0)
>         at org.junit.Assert.fail(Assert.java:93)
>         at org.apache.solr.cloud.AbstractFullDistribZkTestBase.checkShardConsistency(AbstractFullDistribZkTestBase.java:1139)
>         at org.apache.solr.cloud.AbstractFullDistribZkTestBase.checkShardConsistency(AbstractFullDistribZkTestBase.java:1118)
>         at org.apache.solr.cloud.ChaosMonkeySafeLeaderTest.doTest(ChaosMonkeySafeLeaderTest.java:150)
>         at org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:865)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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