You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2011/01/17 13:03:43 UTC

[jira] Resolved: (SOLR-2169) QueryElevationComponentTest.testInterface test failure

     [ https://issues.apache.org/jira/browse/SOLR-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir resolved SOLR-2169.
-------------------------------

    Resolution: Not A Problem

Marking not a problem, appears to be fixed with the solr test cleanup.

> QueryElevationComponentTest.testInterface test failure
> ------------------------------------------------------
>
>                 Key: SOLR-2169
>                 URL: https://issues.apache.org/jira/browse/SOLR-2169
>             Project: Solr
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.1, 4.0
>         Environment: Hudson
>            Reporter: Robert Muir
>             Fix For: 3.1, 4.0
>
>
> Stacktrace:
> {noformat}
>     [junit] Testsuite: org.apache.solr.handler.component.QueryElevationComponentTest
>     [junit] Testcase: testInterface(org.apache.solr.handler.component.QueryElevationComponentTest):	Caused an ERROR
>     [junit] Exception during query
>     [junit] java.lang.RuntimeException: Exception during query
>     [junit] 	at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:343)
>     [junit] 	at org.apache.solr.handler.component.QueryElevationComponentTest.testInterface(QueryElevationComponentTest.java:100)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:873)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:840)
>     [junit] Caused by: java.lang.RuntimeException: REQUEST FAILED: xpath=//*[@numFound='0']
>     [junit] 	xml response was: <?xml version="1.0" encoding="UTF-8"?>
>     [junit] <response>
>     [junit] <lst name="responseHeader"><int name="status">0</int><int name="QTime">3</int><lst name="params"><str name="q.alt">*:*</str><str name="qt">/elevate</str><str name="defType">dismax</str></lst></lst><result name="response" numFound="6" start="0"><doc><str name="id">a</str><arr name="str_s"><str>a</str></arr><str name="title">ipod</str></doc><doc><str name="id">b</str><arr name="str_s"><str>b</str></arr><str name="title">ipod ipod</str></doc><doc><str name="id">c</str><arr name="str_s"><str>c</str></arr><str name="title">ipod ipod ipod</str></doc><doc><str name="id">x</str><arr name="str_s"><str>x</str></arr><str name="title">boosted</str></doc><doc><str name="id">y</str><arr name="str_s"><str>y</str></arr><str name="title">boosted boosted</str></doc><doc><str name="id">z</str><arr name="str_s"><str>z</str></arr><str name="title">boosted boosted boosted</str></doc></result>
>     [junit] </response>
>     [junit] 
>     [junit] 	request was:q.alt=*:*&qt=/elevate&defType=dismax
>     [junit] 	at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:336)
>     [junit] 
>     [junit] 
>     [junit] Tests run: 3, Failures: 0, Errors: 1, Time elapsed: 0.581 sec
>     [junit] 
>     [junit] ------------- Standard Output ---------------
>     [junit] NOTE: reproduce with: ant test -Dtestcase=QueryElevationComponentTest -Dtestmethod=testInterface -Dtests.seed=8921358208309552689:278255616409435903
>     [junit] NOTE: test params are: codec=MockSep, locale=fr, timezone=America/Indiana/Vevay
>     [junit] ------------- ---------------- ---------------
>     [junit] ------------- Standard Error -----------------
>     [junit] 17 oct. 2010 04:10:28 org.apache.solr.SolrTestCaseJ4 assertQ
>     [junit] GRAVE: REQUEST FAILED: xpath=//*[@numFound='0']
>     [junit] 	xml response was: <?xml version="1.0" encoding="UTF-8"?>
>     [junit] <response>
>     [junit] <lst name="responseHeader"><int name="status">0</int><int name="QTime">3</int><lst name="params"><str name="q.alt">*:*</str><str name="qt">/elevate</str><str name="defType">dismax</str></lst></lst><result name="response" numFound="6" start="0"><doc><str name="id">a</str><arr name="str_s"><str>a</str></arr><str name="title">ipod</str></doc><doc><str name="id">b</str><arr name="str_s"><str>b</str></arr><str name="title">ipod ipod</str></doc><doc><str name="id">c</str><arr name="str_s"><str>c</str></arr><str name="title">ipod ipod ipod</str></doc><doc><str name="id">x</str><arr name="str_s"><str>x</str></arr><str name="title">boosted</str></doc><doc><str name="id">y</str><arr name="str_s"><str>y</str></arr><str name="title">boosted boosted</str></doc><doc><str name="id">z</str><arr name="str_s"><str>z</str></arr><str name="title">boosted boosted boosted</str></doc></result>
>     [junit] </response>
>     [junit] 
>     [junit] 	request was:q.alt=*:*&qt=/elevate&defType=dismax
>     [junit] 17 oct. 2010 04:10:28 org.apache.solr.common.SolrException log
>     [junit] GRAVE: REQUEST FAILED: q.alt=*:*&qt=/elevate&defType=dismax:java.lang.RuntimeException: REQUEST FAILED: xpath=//*[@numFound='0']
>     [junit] 	xml response was: <?xml version="1.0" encoding="UTF-8"?>
>     [junit] <response>
>     [junit] <lst name="responseHeader"><int name="status">0</int><int name="QTime">3</int><lst name="params"><str name="q.alt">*:*</str><str name="qt">/elevate</str><str name="defType">dismax</str></lst></lst><result name="response" numFound="6" start="0"><doc><str name="id">a</str><arr name="str_s"><str>a</str></arr><str name="title">ipod</str></doc><doc><str name="id">b</str><arr name="str_s"><str>b</str></arr><str name="title">ipod ipod</str></doc><doc><str name="id">c</str><arr name="str_s"><str>c</str></arr><str name="title">ipod ipod ipod</str></doc><doc><str name="id">x</str><arr name="str_s"><str>x</str></arr><str name="title">boosted</str></doc><doc><str name="id">y</str><arr name="str_s"><str>y</str></arr><str name="title">boosted boosted</str></doc><doc><str name="id">z</str><arr name="str_s"><str>z</str></arr><str name="title">boosted boosted boosted</str></doc></result>
>     [junit] </response>
>     [junit] 
>     [junit] 	request was:q.alt=*:*&qt=/elevate&defType=dismax
>     [junit] 	at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:336)
>     [junit] 	at org.apache.solr.handler.component.QueryElevationComponentTest.testInterface(QueryElevationComponentTest.java:100)
>     [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>     [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     [junit] 	at java.lang.reflect.Method.invoke(Method.java:616)
>     [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.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:873)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:840)
>     [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:421)
>     [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
>     [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:743)
>     [junit] 
>     [junit] ------------- ---------------- ---------------
>     [junit] TEST org.apache.solr.handler.component.QueryElevationComponentTest FAILED
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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