[jira] [Commented] (SOLR-12905) reproducible MultiSolrCloudTestCaseTest test failure

2018-10-25 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on SOLR-12905:


Commit 7fc91deaba25ae91bc9b2c4ae2875fc74c2c19aa in lucene-solr's branch 
refs/heads/jira/http2 from [~cpoerschke]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=7fc91de ]

SOLR-12905: MultiSolrCloudTestCase now clears static clusterId2cluster in 
@AfterClass


> reproducible MultiSolrCloudTestCaseTest test failure
> 
>
> Key: SOLR-12905
> URL: https://issues.apache.org/jira/browse/SOLR-12905
> Project: Solr
>  Issue Type: Test
>Reporter: Christine Poerschke
>Assignee: Christine Poerschke
>Priority: Minor
> Fix For: 7.6, master (8.0)
>
> Attachments: SOLR-12905.patch
>
>
> We've seen a few of these in Jenkins via the dev list 
> https://lists.apache.org/list.html?dev@lucene.apache.org:lte=1y:%22duplicate%20clusterId%22
>  e.g.
> {code}
> FAILED: 
> junit.framework.TestSuite.org.apache.solr.cloud.MultiSolrCloudTestCaseTest  
> Error Message: duplicate clusterId cloud1  Stack Trace: 
> java.lang.AssertionError: duplicate clusterId cloud1 at 
> __randomizedtesting.SeedInfo.seed([6DADDAF691F08EF7]:0) at 
> org.junit.Assert.fail(Assert.java:93) at 
> org.junit.Assert.assertTrue(Assert.java:43) at 
> org.junit.Assert.assertFalse(Assert.java:68) at 
> org.apache.solr.cloud.MultiSolrCloudTestCase.doSetupClusters(MultiSolrCloudTestCase.java:93)
>  at 
> org.apache.solr.cloud.MultiSolrCloudTestCaseTest.setupClusters(MultiSolrCloudTestCaseTest.java:53)
> ...
> {code}
> With a big of digging I was able to reliably reproduce it by using 
> {{-Dtests.dups=N}} (which normally runs in multiple JVMs in parallel) 
> together with {{-Dtests.jvms=1}} constraint so that the tests actually run 
> sequentially in one JVM i.e. altogether
> {code}
> ant test -Dtests.dups=10 -Dtests.jvms=1 -Dtestcase=MultiSolrCloudTestCaseTest
> {code}
> The fix is simple i.e. the static {{clusterId2collection}} variable needs to 
> be cleared in @AfterClass as someone ([~janhoy] ?) already mentioned 
> somewhere elsewhere I think.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (SOLR-12905) reproducible MultiSolrCloudTestCaseTest test failure

2018-10-24 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on SOLR-12905:


Commit 27bc9ccfb56e6f631a1f2810d49b5bb96d734f01 in lucene-solr's branch 
refs/heads/branch_7x from [~cpoerschke]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=27bc9cc ]

SOLR-12905: MultiSolrCloudTestCase now clears static clusterId2cluster in 
@AfterClass


> reproducible MultiSolrCloudTestCaseTest test failure
> 
>
> Key: SOLR-12905
> URL: https://issues.apache.org/jira/browse/SOLR-12905
> Project: Solr
>  Issue Type: Test
>Reporter: Christine Poerschke
>Assignee: Christine Poerschke
>Priority: Minor
> Attachments: SOLR-12905.patch
>
>
> We've seen a few of these in Jenkins via the dev list 
> https://lists.apache.org/list.html?dev@lucene.apache.org:lte=1y:%22duplicate%20clusterId%22
>  e.g.
> {code}
> FAILED: 
> junit.framework.TestSuite.org.apache.solr.cloud.MultiSolrCloudTestCaseTest  
> Error Message: duplicate clusterId cloud1  Stack Trace: 
> java.lang.AssertionError: duplicate clusterId cloud1 at 
> __randomizedtesting.SeedInfo.seed([6DADDAF691F08EF7]:0) at 
> org.junit.Assert.fail(Assert.java:93) at 
> org.junit.Assert.assertTrue(Assert.java:43) at 
> org.junit.Assert.assertFalse(Assert.java:68) at 
> org.apache.solr.cloud.MultiSolrCloudTestCase.doSetupClusters(MultiSolrCloudTestCase.java:93)
>  at 
> org.apache.solr.cloud.MultiSolrCloudTestCaseTest.setupClusters(MultiSolrCloudTestCaseTest.java:53)
> ...
> {code}
> With a big of digging I was able to reliably reproduce it by using 
> {{-Dtests.dups=N}} (which normally runs in multiple JVMs in parallel) 
> together with {{-Dtests.jvms=1}} constraint so that the tests actually run 
> sequentially in one JVM i.e. altogether
> {code}
> ant test -Dtests.dups=10 -Dtests.jvms=1 -Dtestcase=MultiSolrCloudTestCaseTest
> {code}
> The fix is simple i.e. the static {{clusterId2collection}} variable needs to 
> be cleared in @AfterClass as someone ([~janhoy] ?) already mentioned 
> somewhere elsewhere I think.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (SOLR-12905) reproducible MultiSolrCloudTestCaseTest test failure

2018-10-24 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on SOLR-12905:


Commit 7fc91deaba25ae91bc9b2c4ae2875fc74c2c19aa in lucene-solr's branch 
refs/heads/master from [~cpoerschke]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=7fc91de ]

SOLR-12905: MultiSolrCloudTestCase now clears static clusterId2cluster in 
@AfterClass


> reproducible MultiSolrCloudTestCaseTest test failure
> 
>
> Key: SOLR-12905
> URL: https://issues.apache.org/jira/browse/SOLR-12905
> Project: Solr
>  Issue Type: Test
>Reporter: Christine Poerschke
>Assignee: Christine Poerschke
>Priority: Minor
> Attachments: SOLR-12905.patch
>
>
> We've seen a few of these in Jenkins via the dev list 
> https://lists.apache.org/list.html?dev@lucene.apache.org:lte=1y:%22duplicate%20clusterId%22
>  e.g.
> {code}
> FAILED: 
> junit.framework.TestSuite.org.apache.solr.cloud.MultiSolrCloudTestCaseTest  
> Error Message: duplicate clusterId cloud1  Stack Trace: 
> java.lang.AssertionError: duplicate clusterId cloud1 at 
> __randomizedtesting.SeedInfo.seed([6DADDAF691F08EF7]:0) at 
> org.junit.Assert.fail(Assert.java:93) at 
> org.junit.Assert.assertTrue(Assert.java:43) at 
> org.junit.Assert.assertFalse(Assert.java:68) at 
> org.apache.solr.cloud.MultiSolrCloudTestCase.doSetupClusters(MultiSolrCloudTestCase.java:93)
>  at 
> org.apache.solr.cloud.MultiSolrCloudTestCaseTest.setupClusters(MultiSolrCloudTestCaseTest.java:53)
> ...
> {code}
> With a big of digging I was able to reliably reproduce it by using 
> {{-Dtests.dups=N}} (which normally runs in multiple JVMs in parallel) 
> together with {{-Dtests.jvms=1}} constraint so that the tests actually run 
> sequentially in one JVM i.e. altogether
> {code}
> ant test -Dtests.dups=10 -Dtests.jvms=1 -Dtestcase=MultiSolrCloudTestCaseTest
> {code}
> The fix is simple i.e. the static {{clusterId2collection}} variable needs to 
> be cleared in @AfterClass as someone ([~janhoy] ?) already mentioned 
> somewhere elsewhere I think.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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