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

Shawn Heisey commented on SOLR-2739:
------------------------------------

I've also been seeing intermittent failures in TestCSVLoader, in both 3.4 and 
3x.  The nature of the failure is the same as on TestSqlEntityProcessorDelta, 
numFound shows a different value than what the test expects.  If I run the 
following command over and over, sometimes it will fail, but mostly it will 
pass:

ant test -Dtestcase=TestCSVLoader -Dtestmethod=testCommitWithin

Here's one failure on lucene_solr_3_4:

    [junit] Testsuite: org.apache.solr.handler.TestCSVLoader
    [junit] Testcase: testCommitWithin(org.apache.solr.handler.TestCSVLoader):  
Caused an ERROR
    [junit] Exception during query
    [junit] java.lang.RuntimeException: Exception during query
    [junit]     at 
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:385)
    [junit]     at 
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:352)
    [junit]     at 
org.apache.solr.handler.TestCSVLoader.testCommitWithin(TestCSVLoader.java:121)
    [junit]     at 
org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:147)
    [junit]     at 
org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:50)
    [junit] Caused by: java.lang.RuntimeException: REQUEST FAILED: 
xpath=//*[@numFound='3']
    [junit]     xml response was: <?xml version="1.0" encoding="UTF-8"?>
    [junit] <response>
    [junit] 
<responseHeader><status>0</status><QTime>0</QTime></responseHeader><result 
name="response" numFound="0" start="0"/>
    [junit] </response>
    [junit]
    [junit]     request 
was:start=0&q=id:[100+TO+110]&qt=standard&rows=20&version=2.0
    [junit]     at 
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:378)
    [junit]
    [junit]
    [junit] Tests run: 5, Failures: 0, Errors: 1, Time elapsed: 29.793 sec
    [junit]
    [junit] ------------- Standard Error -----------------
    [junit] 2011-09-15 12:46:04.PD org.apache.solr.SolrTestCaseJ4 assertQ
    [junit] SEVERE: REQUEST FAILED: xpath=//*[@numFound='3']
    [junit]     xml response was: <?xml version="1.0" encoding="UTF-8"?>
    [junit] <response>
    [junit] 
<responseHeader><status>0</status><QTime>0</QTime></responseHeader><result 
name="response" numFound="0" start="0"/>
    [junit] </response>
    [junit]
    [junit]     request 
was:start=0&q=id:[100+TO+110]&qt=standard&rows=20&version=2.0
    [junit] 2011-09-15 12:46:04.PD org.apache.solr.common.SolrException log
    [junit] SEVERE: REQUEST FAILED: 
start=0&q=id:[100+TO+110]&qt=standard&rows=20&version=2.0:java.lang.RuntimeException:
 REQUEST FAILED: xpath=//*[@numFound='3']
    [junit]     xml response was: <?xml version="1.0" encoding="UTF-8"?>
    [junit] <response>
    [junit] 
<responseHeader><status>0</status><QTime>0</QTime></responseHeader><result 
name="response" numFound="0" start="0"/>
    [junit] </response>
    [junit]
    [junit]     request 
was:start=0&q=id:[100+TO+110]&qt=standard&rows=20&version=2.0
    [junit]     at 
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:378)
    [junit]     at 
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:352)
    [junit]     at 
org.apache.solr.handler.TestCSVLoader.testCommitWithin(TestCSVLoader.java:121)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [junit]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:597)
    [junit]     at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    [junit]     at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    [junit]     at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    [junit]     at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    [junit]     at org.junit.rules.TestWatchman$1.evaluate(TestWatchman.java:48)
    [junit]     at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit]     at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit]     at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
    [junit]     at 
org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:147)
    [junit]     at 
org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:50)
    [junit]     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    [junit]     at 
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    [junit]     at 
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    [junit]     at 
org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    [junit]     at 
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    [junit]     at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit]     at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit]     at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    [junit]     at 
junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:743)
    [junit]
    [junit] NOTE: reproduce with: ant test -Dtestcase=TestCSVLoader 
-Dtestmethod=testCommitWithin 
-Dtests.seed=-17a44f827c503e4f:5a853ada905dd3c8:-362930cca8744e9b
    [junit] NOTE: test params are: locale=sq_AL, timezone=Asia/Tashkent
    [junit] NOTE: all tests run in this JVM:
    [junit] [SolrInfoMBeanTest, TestSolrCoreProperties, 
DoubleMetaphoneFilterFactoryTest, TestArabicFilters, 
TestBulgarianStemFilterFactory, TestCzechStemFilterFactory, 
TestDictionaryCompoundWordTokenFilterFactory, TestGreekStemFilterFactory, 
TestHindiFilters, TestKeepFilterFactory, TestTurkishLowerCaseFilterFactory, 
TestJmxIntegration, TestLegacyMergeSchedulerPolicyConfig, 
TestPropInjectDefaults, TestCSVLoader]
    [junit] NOTE: Linux 2.6.32-71.29.1.el6.centos.plus.x86_64 amd64/Sun 
Microsystems Inc. 1.6.0_27 
(64-bit)/cpus=4,threads=2,free=146206112,total=246153216
    [junit] ------------- ---------------- ---------------
    [junit] TEST org.apache.solr.handler.TestCSVLoader FAILED


> TestSqlEntityProcessorDelta.testNonWritablePersistFile failures on some 
> systems
> -------------------------------------------------------------------------------
>
>                 Key: SOLR-2739
>                 URL: https://issues.apache.org/jira/browse/SOLR-2739
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 3.3
>            Reporter: Shawn Heisey
>            Assignee: Hoss Man
>             Fix For: 3.4, 4.0
>
>
> Shawn Heisey noted on the mailing list that he was getting consistent 
> failures from TestSqlEntityProcessorDelta.testNonWritablePersistFile on his 
> machine.
> I can't reproduce his exact failures, but the test is hinky enough that i 
> want to try and clean it up.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to