[jira] [Commented] (SOLR-11974) TestCollapseQParserPlugin.testStringCollapse() failure

2018-02-15 Thread Matthias Krueger (JIRA)

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

Matthias Krueger commented on SOLR-11974:
-

[~joel.bernstein] FYI Not sure if this is related but there are several bugs 
open due to (intentional or not) chaining of CollapsingQParserPlugins. See 
SOLR-8807, SOLR-9104, SOLR-10336, SOLR-10885, SOLR-7435.

> TestCollapseQParserPlugin.testStringCollapse() failure
> --
>
> Key: SOLR-11974
> URL: https://issues.apache.org/jira/browse/SOLR-11974
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Tests
>Reporter: Steve Rowe
>Priority: Major
>
> Reproducing branch_7x seed from my Jenkins - reproduces for me on master too:
> {noformat}
> Checking out Revision 6ae6ce2f42b61b117c31149ac87b1cb3d6ffe440 
> (refs/remotes/origin/branch_7x)
> [...]
>[junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=TestCollapseQParserPlugin -Dtests.method=testStringCollapse 
> -Dtests.seed=32531513E27A1FB -Dtests.slow=true -Dtests.locale=fr-LU 
> -Dtests.timezone=Europe/Warsaw -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
>[junit4] FAILURE 1.15s J5  | TestCollapseQParserPlugin.testStringCollapse 
> <<<
>[junit4]> Throwable #1: java.lang.AssertionError
>[junit4]>  at 
> __randomizedtesting.SeedInfo.seed([32531513E27A1FB:F6AD0130F74002EF]:0)
>[junit4]>  at 
> org.apache.lucene.index.AssertingLeafReader$AssertingSortedDocValues.advanceExact(AssertingLeafReader.java:617)
>[junit4]>  at 
> org.apache.solr.search.CollapsingQParserPlugin$OrdScoreCollector.collect(CollapsingQParserPlugin.java:557)
>[junit4]>  at 
> org.apache.lucene.search.MatchAllDocsQuery$1$1.score(MatchAllDocsQuery.java:62)
>[junit4]>  at 
> org.apache.lucene.search.BulkScorer.score(BulkScorer.java:39)
>[junit4]>  at 
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:660)
>[junit4]>  at 
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:462)
>[junit4]>  at 
> org.apache.solr.search.Grouping.searchWithTimeLimiter(Grouping.java:447)
>[junit4]>  at 
> org.apache.solr.search.Grouping.execute(Grouping.java:395)
>[junit4]>  at 
> org.apache.solr.handler.component.QueryComponent.doProcessGroupedSearch(QueryComponent.java:1409)
>[junit4]>  at 
> org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:367)
>[junit4]>  at 
> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:295)
>[junit4]>  at 
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:195)
>[junit4]>  at 
> org.apache.solr.core.SolrCore.execute(SolrCore.java:2503)
>[junit4]>  at 
> org.apache.solr.util.TestHarness.query(TestHarness.java:337)
>[junit4]>  at 
> org.apache.solr.util.TestHarness.query(TestHarness.java:319)
>[junit4]>  at 
> org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:876)
>[junit4]>  at 
> org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:862)
>[junit4]>  at 
> org.apache.solr.search.TestCollapseQParserPlugin.testCollapseQueries(TestCollapseQParserPlugin.java:768)
>[junit4]>  at 
> org.apache.solr.search.TestCollapseQParserPlugin.testStringCollapse(TestCollapseQParserPlugin.java:213)
>[junit4]>  at java.lang.Thread.run(Thread.java:748)
> [...]
>[junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): 
> {text_ws=FSTOrd50, term_s=PostingsFormat(name=Memory), 
> id=PostingsFormat(name=MockRandom), group_s=PostingsFormat(name=MockRandom), 
> group_s_dv=FSTOrd50}, docValues:{id_i=DocValuesFormat(name=Direct), 
> group_i=DocValuesFormat(name=Direct), 
> group_ti_dv=DocValuesFormat(name=Lucene70), 
> _version_=DocValuesFormat(name=Asserting), 
> test_l=DocValuesFormat(name=Direct), 
> group_tf_dv=DocValuesFormat(name=Memory), 
> test_i=DocValuesFormat(name=Lucene70), 
> group_f=DocValuesFormat(name=Asserting), test_f=DocValuesFormat(name=Memory), 
> group_s_dv=DocValuesFormat(name=Asserting)}, maxPointsInLeafNode=1995, 
> maxMBSortInHeap=7.1608710565771645, sim=RandomSimilarity(queryNorm=false): 
> {}, locale=fr-LU, timezone=Europe/Warsaw
>[junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 
> 1.8.0_151 (64-bit)/cpus=16,threads=1,free=168356360,total=529530880
> {noformat}
> I see this elsewhere in the log, multiple times:
> {noformat}
>[junit4]   2> 484673 ERROR 
> (TEST-TestCollapseQParserPlugin.testNumericCollapse-seed#[32531513E27A1FB]) [ 
>] o.a.s.h.RequestHandlerBase java.lang.RuntimeException: 
> 

[jira] [Commented] (SOLR-11974) TestCollapseQParserPlugin.testStringCollapse() failure

2018-02-15 Thread Adrien Grand (JIRA)

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

Adrien Grand commented on SOLR-11974:
-

[~joel.bernstein] So is this test invalid? Should we try to detect when invalid 
combinations like this are requested?

> TestCollapseQParserPlugin.testStringCollapse() failure
> --
>
> Key: SOLR-11974
> URL: https://issues.apache.org/jira/browse/SOLR-11974
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Tests
>Reporter: Steve Rowe
>Priority: Major
>
> Reproducing branch_7x seed from my Jenkins - reproduces for me on master too:
> {noformat}
> Checking out Revision 6ae6ce2f42b61b117c31149ac87b1cb3d6ffe440 
> (refs/remotes/origin/branch_7x)
> [...]
>[junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=TestCollapseQParserPlugin -Dtests.method=testStringCollapse 
> -Dtests.seed=32531513E27A1FB -Dtests.slow=true -Dtests.locale=fr-LU 
> -Dtests.timezone=Europe/Warsaw -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
>[junit4] FAILURE 1.15s J5  | TestCollapseQParserPlugin.testStringCollapse 
> <<<
>[junit4]> Throwable #1: java.lang.AssertionError
>[junit4]>  at 
> __randomizedtesting.SeedInfo.seed([32531513E27A1FB:F6AD0130F74002EF]:0)
>[junit4]>  at 
> org.apache.lucene.index.AssertingLeafReader$AssertingSortedDocValues.advanceExact(AssertingLeafReader.java:617)
>[junit4]>  at 
> org.apache.solr.search.CollapsingQParserPlugin$OrdScoreCollector.collect(CollapsingQParserPlugin.java:557)
>[junit4]>  at 
> org.apache.lucene.search.MatchAllDocsQuery$1$1.score(MatchAllDocsQuery.java:62)
>[junit4]>  at 
> org.apache.lucene.search.BulkScorer.score(BulkScorer.java:39)
>[junit4]>  at 
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:660)
>[junit4]>  at 
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:462)
>[junit4]>  at 
> org.apache.solr.search.Grouping.searchWithTimeLimiter(Grouping.java:447)
>[junit4]>  at 
> org.apache.solr.search.Grouping.execute(Grouping.java:395)
>[junit4]>  at 
> org.apache.solr.handler.component.QueryComponent.doProcessGroupedSearch(QueryComponent.java:1409)
>[junit4]>  at 
> org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:367)
>[junit4]>  at 
> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:295)
>[junit4]>  at 
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:195)
>[junit4]>  at 
> org.apache.solr.core.SolrCore.execute(SolrCore.java:2503)
>[junit4]>  at 
> org.apache.solr.util.TestHarness.query(TestHarness.java:337)
>[junit4]>  at 
> org.apache.solr.util.TestHarness.query(TestHarness.java:319)
>[junit4]>  at 
> org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:876)
>[junit4]>  at 
> org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:862)
>[junit4]>  at 
> org.apache.solr.search.TestCollapseQParserPlugin.testCollapseQueries(TestCollapseQParserPlugin.java:768)
>[junit4]>  at 
> org.apache.solr.search.TestCollapseQParserPlugin.testStringCollapse(TestCollapseQParserPlugin.java:213)
>[junit4]>  at java.lang.Thread.run(Thread.java:748)
> [...]
>[junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): 
> {text_ws=FSTOrd50, term_s=PostingsFormat(name=Memory), 
> id=PostingsFormat(name=MockRandom), group_s=PostingsFormat(name=MockRandom), 
> group_s_dv=FSTOrd50}, docValues:{id_i=DocValuesFormat(name=Direct), 
> group_i=DocValuesFormat(name=Direct), 
> group_ti_dv=DocValuesFormat(name=Lucene70), 
> _version_=DocValuesFormat(name=Asserting), 
> test_l=DocValuesFormat(name=Direct), 
> group_tf_dv=DocValuesFormat(name=Memory), 
> test_i=DocValuesFormat(name=Lucene70), 
> group_f=DocValuesFormat(name=Asserting), test_f=DocValuesFormat(name=Memory), 
> group_s_dv=DocValuesFormat(name=Asserting)}, maxPointsInLeafNode=1995, 
> maxMBSortInHeap=7.1608710565771645, sim=RandomSimilarity(queryNorm=false): 
> {}, locale=fr-LU, timezone=Europe/Warsaw
>[junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 
> 1.8.0_151 (64-bit)/cpus=16,threads=1,free=168356360,total=529530880
> {noformat}
> I see this elsewhere in the log, multiple times:
> {noformat}
>[junit4]   2> 484673 ERROR 
> (TEST-TestCollapseQParserPlugin.testNumericCollapse-seed#[32531513E27A1FB]) [ 
>] o.a.s.h.RequestHandlerBase java.lang.RuntimeException: 
> java.io.IOException: min/max must be Int or Float field types when collapsing 
> on numeric fields
>  

[jira] [Commented] (SOLR-11974) TestCollapseQParserPlugin.testStringCollapse() failure

2018-02-13 Thread Joel Bernstein (JIRA)

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

Joel Bernstein commented on SOLR-11974:
---

I was surprised to see that we have test case that involved Grouping with the 
CollapsingQParserPlugin. The CollapsingQParserPlugin really should only be used 
with results that have not already been collapsed or grouped.

> TestCollapseQParserPlugin.testStringCollapse() failure
> --
>
> Key: SOLR-11974
> URL: https://issues.apache.org/jira/browse/SOLR-11974
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Tests
>Reporter: Steve Rowe
>Priority: Major
>
> Reproducing branch_7x seed from my Jenkins - reproduces for me on master too:
> {noformat}
> Checking out Revision 6ae6ce2f42b61b117c31149ac87b1cb3d6ffe440 
> (refs/remotes/origin/branch_7x)
> [...]
>[junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=TestCollapseQParserPlugin -Dtests.method=testStringCollapse 
> -Dtests.seed=32531513E27A1FB -Dtests.slow=true -Dtests.locale=fr-LU 
> -Dtests.timezone=Europe/Warsaw -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
>[junit4] FAILURE 1.15s J5  | TestCollapseQParserPlugin.testStringCollapse 
> <<<
>[junit4]> Throwable #1: java.lang.AssertionError
>[junit4]>  at 
> __randomizedtesting.SeedInfo.seed([32531513E27A1FB:F6AD0130F74002EF]:0)
>[junit4]>  at 
> org.apache.lucene.index.AssertingLeafReader$AssertingSortedDocValues.advanceExact(AssertingLeafReader.java:617)
>[junit4]>  at 
> org.apache.solr.search.CollapsingQParserPlugin$OrdScoreCollector.collect(CollapsingQParserPlugin.java:557)
>[junit4]>  at 
> org.apache.lucene.search.MatchAllDocsQuery$1$1.score(MatchAllDocsQuery.java:62)
>[junit4]>  at 
> org.apache.lucene.search.BulkScorer.score(BulkScorer.java:39)
>[junit4]>  at 
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:660)
>[junit4]>  at 
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:462)
>[junit4]>  at 
> org.apache.solr.search.Grouping.searchWithTimeLimiter(Grouping.java:447)
>[junit4]>  at 
> org.apache.solr.search.Grouping.execute(Grouping.java:395)
>[junit4]>  at 
> org.apache.solr.handler.component.QueryComponent.doProcessGroupedSearch(QueryComponent.java:1409)
>[junit4]>  at 
> org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:367)
>[junit4]>  at 
> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:295)
>[junit4]>  at 
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:195)
>[junit4]>  at 
> org.apache.solr.core.SolrCore.execute(SolrCore.java:2503)
>[junit4]>  at 
> org.apache.solr.util.TestHarness.query(TestHarness.java:337)
>[junit4]>  at 
> org.apache.solr.util.TestHarness.query(TestHarness.java:319)
>[junit4]>  at 
> org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:876)
>[junit4]>  at 
> org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:862)
>[junit4]>  at 
> org.apache.solr.search.TestCollapseQParserPlugin.testCollapseQueries(TestCollapseQParserPlugin.java:768)
>[junit4]>  at 
> org.apache.solr.search.TestCollapseQParserPlugin.testStringCollapse(TestCollapseQParserPlugin.java:213)
>[junit4]>  at java.lang.Thread.run(Thread.java:748)
> [...]
>[junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): 
> {text_ws=FSTOrd50, term_s=PostingsFormat(name=Memory), 
> id=PostingsFormat(name=MockRandom), group_s=PostingsFormat(name=MockRandom), 
> group_s_dv=FSTOrd50}, docValues:{id_i=DocValuesFormat(name=Direct), 
> group_i=DocValuesFormat(name=Direct), 
> group_ti_dv=DocValuesFormat(name=Lucene70), 
> _version_=DocValuesFormat(name=Asserting), 
> test_l=DocValuesFormat(name=Direct), 
> group_tf_dv=DocValuesFormat(name=Memory), 
> test_i=DocValuesFormat(name=Lucene70), 
> group_f=DocValuesFormat(name=Asserting), test_f=DocValuesFormat(name=Memory), 
> group_s_dv=DocValuesFormat(name=Asserting)}, maxPointsInLeafNode=1995, 
> maxMBSortInHeap=7.1608710565771645, sim=RandomSimilarity(queryNorm=false): 
> {}, locale=fr-LU, timezone=Europe/Warsaw
>[junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 
> 1.8.0_151 (64-bit)/cpus=16,threads=1,free=168356360,total=529530880
> {noformat}
> I see this elsewhere in the log, multiple times:
> {noformat}
>[junit4]   2> 484673 ERROR 
> (TEST-TestCollapseQParserPlugin.testNumericCollapse-seed#[32531513E27A1FB]) [ 
>] o.a.s.h.RequestHandlerBase 

[jira] [Commented] (SOLR-11974) TestCollapseQParserPlugin.testStringCollapse() failure

2018-02-13 Thread Adrien Grand (JIRA)

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

Adrien Grand commented on SOLR-11974:
-

This is a problem with the {{oas.search.Grouping}} class: the grouping 
collector is created via a post filter and is then consumed twice, which breaks 
the invariant that collectors are called on increasing doc ids. Could someone 
who is more familiar with grouping and post filters help look into it?

> TestCollapseQParserPlugin.testStringCollapse() failure
> --
>
> Key: SOLR-11974
> URL: https://issues.apache.org/jira/browse/SOLR-11974
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Tests
>Reporter: Steve Rowe
>Priority: Major
>
> Reproducing branch_7x seed from my Jenkins - reproduces for me on master too:
> {noformat}
> Checking out Revision 6ae6ce2f42b61b117c31149ac87b1cb3d6ffe440 
> (refs/remotes/origin/branch_7x)
> [...]
>[junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=TestCollapseQParserPlugin -Dtests.method=testStringCollapse 
> -Dtests.seed=32531513E27A1FB -Dtests.slow=true -Dtests.locale=fr-LU 
> -Dtests.timezone=Europe/Warsaw -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
>[junit4] FAILURE 1.15s J5  | TestCollapseQParserPlugin.testStringCollapse 
> <<<
>[junit4]> Throwable #1: java.lang.AssertionError
>[junit4]>  at 
> __randomizedtesting.SeedInfo.seed([32531513E27A1FB:F6AD0130F74002EF]:0)
>[junit4]>  at 
> org.apache.lucene.index.AssertingLeafReader$AssertingSortedDocValues.advanceExact(AssertingLeafReader.java:617)
>[junit4]>  at 
> org.apache.solr.search.CollapsingQParserPlugin$OrdScoreCollector.collect(CollapsingQParserPlugin.java:557)
>[junit4]>  at 
> org.apache.lucene.search.MatchAllDocsQuery$1$1.score(MatchAllDocsQuery.java:62)
>[junit4]>  at 
> org.apache.lucene.search.BulkScorer.score(BulkScorer.java:39)
>[junit4]>  at 
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:660)
>[junit4]>  at 
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:462)
>[junit4]>  at 
> org.apache.solr.search.Grouping.searchWithTimeLimiter(Grouping.java:447)
>[junit4]>  at 
> org.apache.solr.search.Grouping.execute(Grouping.java:395)
>[junit4]>  at 
> org.apache.solr.handler.component.QueryComponent.doProcessGroupedSearch(QueryComponent.java:1409)
>[junit4]>  at 
> org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:367)
>[junit4]>  at 
> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:295)
>[junit4]>  at 
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:195)
>[junit4]>  at 
> org.apache.solr.core.SolrCore.execute(SolrCore.java:2503)
>[junit4]>  at 
> org.apache.solr.util.TestHarness.query(TestHarness.java:337)
>[junit4]>  at 
> org.apache.solr.util.TestHarness.query(TestHarness.java:319)
>[junit4]>  at 
> org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:876)
>[junit4]>  at 
> org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:862)
>[junit4]>  at 
> org.apache.solr.search.TestCollapseQParserPlugin.testCollapseQueries(TestCollapseQParserPlugin.java:768)
>[junit4]>  at 
> org.apache.solr.search.TestCollapseQParserPlugin.testStringCollapse(TestCollapseQParserPlugin.java:213)
>[junit4]>  at java.lang.Thread.run(Thread.java:748)
> [...]
>[junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): 
> {text_ws=FSTOrd50, term_s=PostingsFormat(name=Memory), 
> id=PostingsFormat(name=MockRandom), group_s=PostingsFormat(name=MockRandom), 
> group_s_dv=FSTOrd50}, docValues:{id_i=DocValuesFormat(name=Direct), 
> group_i=DocValuesFormat(name=Direct), 
> group_ti_dv=DocValuesFormat(name=Lucene70), 
> _version_=DocValuesFormat(name=Asserting), 
> test_l=DocValuesFormat(name=Direct), 
> group_tf_dv=DocValuesFormat(name=Memory), 
> test_i=DocValuesFormat(name=Lucene70), 
> group_f=DocValuesFormat(name=Asserting), test_f=DocValuesFormat(name=Memory), 
> group_s_dv=DocValuesFormat(name=Asserting)}, maxPointsInLeafNode=1995, 
> maxMBSortInHeap=7.1608710565771645, sim=RandomSimilarity(queryNorm=false): 
> {}, locale=fr-LU, timezone=Europe/Warsaw
>[junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 
> 1.8.0_151 (64-bit)/cpus=16,threads=1,free=168356360,total=529530880
> {noformat}
> I see this elsewhere in the log, multiple times:
> {noformat}
>[junit4]   2> 484673 ERROR 
> 

[jira] [Commented] (SOLR-11974) TestCollapseQParserPlugin.testStringCollapse() failure

2018-02-12 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on SOLR-11974:


Commit 91fbdfc15e84dc48cb019360a138fac6745265c8 in lucene-solr's branch 
refs/heads/branch_7x from [~jpountz]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=91fbdfc ]

SOLR-11974: Disable test.


> TestCollapseQParserPlugin.testStringCollapse() failure
> --
>
> Key: SOLR-11974
> URL: https://issues.apache.org/jira/browse/SOLR-11974
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Tests
>Reporter: Steve Rowe
>Priority: Major
>
> Reproducing branch_7x seed from my Jenkins - reproduces for me on master too:
> {noformat}
> Checking out Revision 6ae6ce2f42b61b117c31149ac87b1cb3d6ffe440 
> (refs/remotes/origin/branch_7x)
> [...]
>[junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=TestCollapseQParserPlugin -Dtests.method=testStringCollapse 
> -Dtests.seed=32531513E27A1FB -Dtests.slow=true -Dtests.locale=fr-LU 
> -Dtests.timezone=Europe/Warsaw -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
>[junit4] FAILURE 1.15s J5  | TestCollapseQParserPlugin.testStringCollapse 
> <<<
>[junit4]> Throwable #1: java.lang.AssertionError
>[junit4]>  at 
> __randomizedtesting.SeedInfo.seed([32531513E27A1FB:F6AD0130F74002EF]:0)
>[junit4]>  at 
> org.apache.lucene.index.AssertingLeafReader$AssertingSortedDocValues.advanceExact(AssertingLeafReader.java:617)
>[junit4]>  at 
> org.apache.solr.search.CollapsingQParserPlugin$OrdScoreCollector.collect(CollapsingQParserPlugin.java:557)
>[junit4]>  at 
> org.apache.lucene.search.MatchAllDocsQuery$1$1.score(MatchAllDocsQuery.java:62)
>[junit4]>  at 
> org.apache.lucene.search.BulkScorer.score(BulkScorer.java:39)
>[junit4]>  at 
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:660)
>[junit4]>  at 
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:462)
>[junit4]>  at 
> org.apache.solr.search.Grouping.searchWithTimeLimiter(Grouping.java:447)
>[junit4]>  at 
> org.apache.solr.search.Grouping.execute(Grouping.java:395)
>[junit4]>  at 
> org.apache.solr.handler.component.QueryComponent.doProcessGroupedSearch(QueryComponent.java:1409)
>[junit4]>  at 
> org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:367)
>[junit4]>  at 
> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:295)
>[junit4]>  at 
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:195)
>[junit4]>  at 
> org.apache.solr.core.SolrCore.execute(SolrCore.java:2503)
>[junit4]>  at 
> org.apache.solr.util.TestHarness.query(TestHarness.java:337)
>[junit4]>  at 
> org.apache.solr.util.TestHarness.query(TestHarness.java:319)
>[junit4]>  at 
> org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:876)
>[junit4]>  at 
> org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:862)
>[junit4]>  at 
> org.apache.solr.search.TestCollapseQParserPlugin.testCollapseQueries(TestCollapseQParserPlugin.java:768)
>[junit4]>  at 
> org.apache.solr.search.TestCollapseQParserPlugin.testStringCollapse(TestCollapseQParserPlugin.java:213)
>[junit4]>  at java.lang.Thread.run(Thread.java:748)
> [...]
>[junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): 
> {text_ws=FSTOrd50, term_s=PostingsFormat(name=Memory), 
> id=PostingsFormat(name=MockRandom), group_s=PostingsFormat(name=MockRandom), 
> group_s_dv=FSTOrd50}, docValues:{id_i=DocValuesFormat(name=Direct), 
> group_i=DocValuesFormat(name=Direct), 
> group_ti_dv=DocValuesFormat(name=Lucene70), 
> _version_=DocValuesFormat(name=Asserting), 
> test_l=DocValuesFormat(name=Direct), 
> group_tf_dv=DocValuesFormat(name=Memory), 
> test_i=DocValuesFormat(name=Lucene70), 
> group_f=DocValuesFormat(name=Asserting), test_f=DocValuesFormat(name=Memory), 
> group_s_dv=DocValuesFormat(name=Asserting)}, maxPointsInLeafNode=1995, 
> maxMBSortInHeap=7.1608710565771645, sim=RandomSimilarity(queryNorm=false): 
> {}, locale=fr-LU, timezone=Europe/Warsaw
>[junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 
> 1.8.0_151 (64-bit)/cpus=16,threads=1,free=168356360,total=529530880
> {noformat}
> I see this elsewhere in the log, multiple times:
> {noformat}
>[junit4]   2> 484673 ERROR 
> (TEST-TestCollapseQParserPlugin.testNumericCollapse-seed#[32531513E27A1FB]) [ 
>] o.a.s.h.RequestHandlerBase 

[jira] [Commented] (SOLR-11974) TestCollapseQParserPlugin.testStringCollapse() failure

2018-02-12 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on SOLR-11974:


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

SOLR-11974: Disable test.


> TestCollapseQParserPlugin.testStringCollapse() failure
> --
>
> Key: SOLR-11974
> URL: https://issues.apache.org/jira/browse/SOLR-11974
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Tests
>Reporter: Steve Rowe
>Priority: Major
>
> Reproducing branch_7x seed from my Jenkins - reproduces for me on master too:
> {noformat}
> Checking out Revision 6ae6ce2f42b61b117c31149ac87b1cb3d6ffe440 
> (refs/remotes/origin/branch_7x)
> [...]
>[junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=TestCollapseQParserPlugin -Dtests.method=testStringCollapse 
> -Dtests.seed=32531513E27A1FB -Dtests.slow=true -Dtests.locale=fr-LU 
> -Dtests.timezone=Europe/Warsaw -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
>[junit4] FAILURE 1.15s J5  | TestCollapseQParserPlugin.testStringCollapse 
> <<<
>[junit4]> Throwable #1: java.lang.AssertionError
>[junit4]>  at 
> __randomizedtesting.SeedInfo.seed([32531513E27A1FB:F6AD0130F74002EF]:0)
>[junit4]>  at 
> org.apache.lucene.index.AssertingLeafReader$AssertingSortedDocValues.advanceExact(AssertingLeafReader.java:617)
>[junit4]>  at 
> org.apache.solr.search.CollapsingQParserPlugin$OrdScoreCollector.collect(CollapsingQParserPlugin.java:557)
>[junit4]>  at 
> org.apache.lucene.search.MatchAllDocsQuery$1$1.score(MatchAllDocsQuery.java:62)
>[junit4]>  at 
> org.apache.lucene.search.BulkScorer.score(BulkScorer.java:39)
>[junit4]>  at 
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:660)
>[junit4]>  at 
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:462)
>[junit4]>  at 
> org.apache.solr.search.Grouping.searchWithTimeLimiter(Grouping.java:447)
>[junit4]>  at 
> org.apache.solr.search.Grouping.execute(Grouping.java:395)
>[junit4]>  at 
> org.apache.solr.handler.component.QueryComponent.doProcessGroupedSearch(QueryComponent.java:1409)
>[junit4]>  at 
> org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:367)
>[junit4]>  at 
> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:295)
>[junit4]>  at 
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:195)
>[junit4]>  at 
> org.apache.solr.core.SolrCore.execute(SolrCore.java:2503)
>[junit4]>  at 
> org.apache.solr.util.TestHarness.query(TestHarness.java:337)
>[junit4]>  at 
> org.apache.solr.util.TestHarness.query(TestHarness.java:319)
>[junit4]>  at 
> org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:876)
>[junit4]>  at 
> org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:862)
>[junit4]>  at 
> org.apache.solr.search.TestCollapseQParserPlugin.testCollapseQueries(TestCollapseQParserPlugin.java:768)
>[junit4]>  at 
> org.apache.solr.search.TestCollapseQParserPlugin.testStringCollapse(TestCollapseQParserPlugin.java:213)
>[junit4]>  at java.lang.Thread.run(Thread.java:748)
> [...]
>[junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): 
> {text_ws=FSTOrd50, term_s=PostingsFormat(name=Memory), 
> id=PostingsFormat(name=MockRandom), group_s=PostingsFormat(name=MockRandom), 
> group_s_dv=FSTOrd50}, docValues:{id_i=DocValuesFormat(name=Direct), 
> group_i=DocValuesFormat(name=Direct), 
> group_ti_dv=DocValuesFormat(name=Lucene70), 
> _version_=DocValuesFormat(name=Asserting), 
> test_l=DocValuesFormat(name=Direct), 
> group_tf_dv=DocValuesFormat(name=Memory), 
> test_i=DocValuesFormat(name=Lucene70), 
> group_f=DocValuesFormat(name=Asserting), test_f=DocValuesFormat(name=Memory), 
> group_s_dv=DocValuesFormat(name=Asserting)}, maxPointsInLeafNode=1995, 
> maxMBSortInHeap=7.1608710565771645, sim=RandomSimilarity(queryNorm=false): 
> {}, locale=fr-LU, timezone=Europe/Warsaw
>[junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 
> 1.8.0_151 (64-bit)/cpus=16,threads=1,free=168356360,total=529530880
> {noformat}
> I see this elsewhere in the log, multiple times:
> {noformat}
>[junit4]   2> 484673 ERROR 
> (TEST-TestCollapseQParserPlugin.testNumericCollapse-seed#[32531513E27A1FB]) [ 
>] o.a.s.h.RequestHandlerBase 

[jira] [Commented] (SOLR-11974) TestCollapseQParserPlugin.testStringCollapse() failure

2018-02-12 Thread Adrien Grand (JIRA)

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

Adrien Grand commented on SOLR-11974:
-

It looks like the refactoring on LUCENE-8152 exposes a pre-existing bug with 
this seed (not all seeds make the test fail). I'll look into it more tomorrow 
and mark the test with AwaitsFix for now.

> TestCollapseQParserPlugin.testStringCollapse() failure
> --
>
> Key: SOLR-11974
> URL: https://issues.apache.org/jira/browse/SOLR-11974
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Tests
>Reporter: Steve Rowe
>Priority: Major
>
> Reproducing branch_7x seed from my Jenkins - reproduces for me on master too:
> {noformat}
> Checking out Revision 6ae6ce2f42b61b117c31149ac87b1cb3d6ffe440 
> (refs/remotes/origin/branch_7x)
> [...]
>[junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=TestCollapseQParserPlugin -Dtests.method=testStringCollapse 
> -Dtests.seed=32531513E27A1FB -Dtests.slow=true -Dtests.locale=fr-LU 
> -Dtests.timezone=Europe/Warsaw -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
>[junit4] FAILURE 1.15s J5  | TestCollapseQParserPlugin.testStringCollapse 
> <<<
>[junit4]> Throwable #1: java.lang.AssertionError
>[junit4]>  at 
> __randomizedtesting.SeedInfo.seed([32531513E27A1FB:F6AD0130F74002EF]:0)
>[junit4]>  at 
> org.apache.lucene.index.AssertingLeafReader$AssertingSortedDocValues.advanceExact(AssertingLeafReader.java:617)
>[junit4]>  at 
> org.apache.solr.search.CollapsingQParserPlugin$OrdScoreCollector.collect(CollapsingQParserPlugin.java:557)
>[junit4]>  at 
> org.apache.lucene.search.MatchAllDocsQuery$1$1.score(MatchAllDocsQuery.java:62)
>[junit4]>  at 
> org.apache.lucene.search.BulkScorer.score(BulkScorer.java:39)
>[junit4]>  at 
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:660)
>[junit4]>  at 
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:462)
>[junit4]>  at 
> org.apache.solr.search.Grouping.searchWithTimeLimiter(Grouping.java:447)
>[junit4]>  at 
> org.apache.solr.search.Grouping.execute(Grouping.java:395)
>[junit4]>  at 
> org.apache.solr.handler.component.QueryComponent.doProcessGroupedSearch(QueryComponent.java:1409)
>[junit4]>  at 
> org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:367)
>[junit4]>  at 
> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:295)
>[junit4]>  at 
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:195)
>[junit4]>  at 
> org.apache.solr.core.SolrCore.execute(SolrCore.java:2503)
>[junit4]>  at 
> org.apache.solr.util.TestHarness.query(TestHarness.java:337)
>[junit4]>  at 
> org.apache.solr.util.TestHarness.query(TestHarness.java:319)
>[junit4]>  at 
> org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:876)
>[junit4]>  at 
> org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:862)
>[junit4]>  at 
> org.apache.solr.search.TestCollapseQParserPlugin.testCollapseQueries(TestCollapseQParserPlugin.java:768)
>[junit4]>  at 
> org.apache.solr.search.TestCollapseQParserPlugin.testStringCollapse(TestCollapseQParserPlugin.java:213)
>[junit4]>  at java.lang.Thread.run(Thread.java:748)
> [...]
>[junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): 
> {text_ws=FSTOrd50, term_s=PostingsFormat(name=Memory), 
> id=PostingsFormat(name=MockRandom), group_s=PostingsFormat(name=MockRandom), 
> group_s_dv=FSTOrd50}, docValues:{id_i=DocValuesFormat(name=Direct), 
> group_i=DocValuesFormat(name=Direct), 
> group_ti_dv=DocValuesFormat(name=Lucene70), 
> _version_=DocValuesFormat(name=Asserting), 
> test_l=DocValuesFormat(name=Direct), 
> group_tf_dv=DocValuesFormat(name=Memory), 
> test_i=DocValuesFormat(name=Lucene70), 
> group_f=DocValuesFormat(name=Asserting), test_f=DocValuesFormat(name=Memory), 
> group_s_dv=DocValuesFormat(name=Asserting)}, maxPointsInLeafNode=1995, 
> maxMBSortInHeap=7.1608710565771645, sim=RandomSimilarity(queryNorm=false): 
> {}, locale=fr-LU, timezone=Europe/Warsaw
>[junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 
> 1.8.0_151 (64-bit)/cpus=16,threads=1,free=168356360,total=529530880
> {noformat}
> I see this elsewhere in the log, multiple times:
> {noformat}
>[junit4]   2> 484673 ERROR 
> (TEST-TestCollapseQParserPlugin.testNumericCollapse-seed#[32531513E27A1FB]) [ 
>] o.a.s.h.RequestHandlerBase java.lang.RuntimeException: 
> java.io.IOException: 

[jira] [Commented] (SOLR-11974) TestCollapseQParserPlugin.testStringCollapse() failure

2018-02-12 Thread Steve Rowe (JIRA)

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

Steve Rowe commented on SOLR-11974:
---

Failure started with the {{aa157f18335}} commit on LUCENE-8152.

> TestCollapseQParserPlugin.testStringCollapse() failure
> --
>
> Key: SOLR-11974
> URL: https://issues.apache.org/jira/browse/SOLR-11974
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Tests
>Reporter: Steve Rowe
>Priority: Major
>
> Reproducing branch_7x seed from my Jenkins - reproduces for me on master too:
> {noformat}
> Checking out Revision 6ae6ce2f42b61b117c31149ac87b1cb3d6ffe440 
> (refs/remotes/origin/branch_7x)
> [...]
>[junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=TestCollapseQParserPlugin -Dtests.method=testStringCollapse 
> -Dtests.seed=32531513E27A1FB -Dtests.slow=true -Dtests.locale=fr-LU 
> -Dtests.timezone=Europe/Warsaw -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
>[junit4] FAILURE 1.15s J5  | TestCollapseQParserPlugin.testStringCollapse 
> <<<
>[junit4]> Throwable #1: java.lang.AssertionError
>[junit4]>  at 
> __randomizedtesting.SeedInfo.seed([32531513E27A1FB:F6AD0130F74002EF]:0)
>[junit4]>  at 
> org.apache.lucene.index.AssertingLeafReader$AssertingSortedDocValues.advanceExact(AssertingLeafReader.java:617)
>[junit4]>  at 
> org.apache.solr.search.CollapsingQParserPlugin$OrdScoreCollector.collect(CollapsingQParserPlugin.java:557)
>[junit4]>  at 
> org.apache.lucene.search.MatchAllDocsQuery$1$1.score(MatchAllDocsQuery.java:62)
>[junit4]>  at 
> org.apache.lucene.search.BulkScorer.score(BulkScorer.java:39)
>[junit4]>  at 
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:660)
>[junit4]>  at 
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:462)
>[junit4]>  at 
> org.apache.solr.search.Grouping.searchWithTimeLimiter(Grouping.java:447)
>[junit4]>  at 
> org.apache.solr.search.Grouping.execute(Grouping.java:395)
>[junit4]>  at 
> org.apache.solr.handler.component.QueryComponent.doProcessGroupedSearch(QueryComponent.java:1409)
>[junit4]>  at 
> org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:367)
>[junit4]>  at 
> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:295)
>[junit4]>  at 
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:195)
>[junit4]>  at 
> org.apache.solr.core.SolrCore.execute(SolrCore.java:2503)
>[junit4]>  at 
> org.apache.solr.util.TestHarness.query(TestHarness.java:337)
>[junit4]>  at 
> org.apache.solr.util.TestHarness.query(TestHarness.java:319)
>[junit4]>  at 
> org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:876)
>[junit4]>  at 
> org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:862)
>[junit4]>  at 
> org.apache.solr.search.TestCollapseQParserPlugin.testCollapseQueries(TestCollapseQParserPlugin.java:768)
>[junit4]>  at 
> org.apache.solr.search.TestCollapseQParserPlugin.testStringCollapse(TestCollapseQParserPlugin.java:213)
>[junit4]>  at java.lang.Thread.run(Thread.java:748)
> [...]
>[junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): 
> {text_ws=FSTOrd50, term_s=PostingsFormat(name=Memory), 
> id=PostingsFormat(name=MockRandom), group_s=PostingsFormat(name=MockRandom), 
> group_s_dv=FSTOrd50}, docValues:{id_i=DocValuesFormat(name=Direct), 
> group_i=DocValuesFormat(name=Direct), 
> group_ti_dv=DocValuesFormat(name=Lucene70), 
> _version_=DocValuesFormat(name=Asserting), 
> test_l=DocValuesFormat(name=Direct), 
> group_tf_dv=DocValuesFormat(name=Memory), 
> test_i=DocValuesFormat(name=Lucene70), 
> group_f=DocValuesFormat(name=Asserting), test_f=DocValuesFormat(name=Memory), 
> group_s_dv=DocValuesFormat(name=Asserting)}, maxPointsInLeafNode=1995, 
> maxMBSortInHeap=7.1608710565771645, sim=RandomSimilarity(queryNorm=false): 
> {}, locale=fr-LU, timezone=Europe/Warsaw
>[junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 
> 1.8.0_151 (64-bit)/cpus=16,threads=1,free=168356360,total=529530880
> {noformat}
> I see this elsewhere in the log, multiple times:
> {noformat}
>[junit4]   2> 484673 ERROR 
> (TEST-TestCollapseQParserPlugin.testNumericCollapse-seed#[32531513E27A1FB]) [ 
>] o.a.s.h.RequestHandlerBase java.lang.RuntimeException: 
> java.io.IOException: min/max must be Int or Float field types when collapsing 
> on numeric fields
>[junit4]   2>  at 
>