You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2012/04/08 02:03:13 UTC

[jira] [Issue Comment Edited] (SOLR-3335) testDistribSearch failure

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

Yonik Seeley edited comment on SOLR-3335 at 4/8/12 12:02 AM:
-------------------------------------------------------------

bq. FWIW I started looping TestDistributedSearch (which has started failing consistently on jenkins) a few hours ago with tests.multiplier=3. Just 3 hours in (with each run taking ~1min) and no failures yet...

Update: I just got a failure after 642 runs.  A response mismatch here:
{code}
    // random value sort
    for (String f : fieldNames) {
      query("q","*:*", "sort",f+" desc");
{code}

The actual number of documents failed to match... and no other exceptions in the test, so I'm not sure how that can happen.  Anyway, it doesn't appear to be related to the super high failure rate on our freebsd-jenkins, which I am unable to reproduce so far.

edit: I've started looping the full "ant test" to see how often it fails on my system.
                
      was (Author: yseeley@gmail.com):
    bq. FWIW I started looping TestDistributedSearch (which has started failing consistently on jenkins) a few hours ago with tests.multiplier=3. Just 3 hours in (with each run taking ~1min) and no failures yet...

Update: I just got a failure after 642 runs.  A response mismatch here:
{code}
    // random value sort
    for (String f : fieldNames) {
      query("q","*:*", "sort",f+" desc");
{code}

The actual number of documents failed to match... and no other exceptions in the test, so I'm not sure how that can happen.  Anyway, it doesn't appear to be related to the super high failure rate on our freebsd-jenkins, which I am unable to reproduce so far.
                  
> testDistribSearch failure
> -------------------------
>
>                 Key: SOLR-3335
>                 URL: https://issues.apache.org/jira/browse/SOLR-3335
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Trivial
>             Fix For: 4.0
>
>
> Happened on my test machine. Is there a way to disable these tests if we cannot fix them? There are two three tests that fail most of the time and that apparently nobody knows how to fix (including me).
> There is also a typo in the error message (I'm away from home for Easter, can't do it now).
> {noformat}
> build	06-Apr-2012 16:11:54	    [junit] Testsuite: org.apache.solr.cloud.RecoveryZkTest
> build	06-Apr-2012 16:11:54	    [junit] Testcase: testDistribSearch(org.apache.solr.cloud.RecoveryZkTest):	FAILED
> build	06-Apr-2012 16:11:54	    [junit] There are still nodes recoverying
> build	06-Apr-2012 16:11:54	    [junit] junit.framework.AssertionFailedError: There are still nodes recoverying
> build	06-Apr-2012 16:11:54	    [junit] 	at org.junit.Assert.fail(Assert.java:93)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.apache.solr.cloud.AbstractDistributedZkTestCase.waitForRecoveriesToFinish(AbstractDistributedZkTestCase.java:132)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.apache.solr.cloud.RecoveryZkTest.doTest(RecoveryZkTest.java:84)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:670)
> build	06-Apr-2012 16:11:54	    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> build	06-Apr-2012 16:11:54	    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> build	06-Apr-2012 16:11:54	    [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> build	06-Apr-2012 16:11:54	    [junit] 	at java.lang.reflect.Method.invoke(Method.java:597)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.apache.lucene.util.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:63)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.apache.lucene.util.LuceneTestCase$SubclassSetupTeardownRule$1.evaluate(LuceneTestCase.java:754)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.apache.lucene.util.LuceneTestCase$InternalSetupTeardownRule$1.evaluate(LuceneTestCase.java:670)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.apache.lucene.util.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:69)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.apache.lucene.util.LuceneTestCase$TestResultInterceptorRule$1.evaluate(LuceneTestCase.java:591)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.apache.lucene.util.UncaughtExceptionsRule$1.evaluate(UncaughtExceptionsRule.java:75)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.apache.lucene.util.LuceneTestCase$SaveThreadAndTestNameRule$1.evaluate(LuceneTestCase.java:642)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.junit.rules.RunRules.evaluate(RunRules.java:18)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:164)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:57)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.apache.lucene.util.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:63)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.apache.lucene.util.UncaughtExceptionsRule$1.evaluate(UncaughtExceptionsRule.java:75)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.apache.lucene.util.StoreClassNameRule$1.evaluate(StoreClassNameRule.java:38)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.apache.lucene.util.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:69)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.junit.rules.RunRules.evaluate(RunRules.java:18)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
> build	06-Apr-2012 16:11:54	    [junit] 	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
> build	06-Apr-2012 16:11:54	    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:879)
> build	06-Apr-2012 16:11:54	    [junit] 
> build	06-Apr-2012 16:11:54	    [junit] 
> build	06-Apr-2012 16:11:54	    [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 181.377 sec
> build	06-Apr-2012 16:11:54	    [junit] 
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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