[jira] [Commented] (SOLR-5344) SpellCheckCollatorTest.testEstimatedHitCounts fails in jenkins from time to time
[ https://issues.apache.org/jira/browse/SOLR-5344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16642347#comment-16642347 ] Steve Rowe commented on SOLR-5344: -- Another reproducing failure from [https://jenkins.thetaphi.de/job/Lucene-Solr-7.x-Linux/2880/]: {noformat} Checking out Revision 688fe19d5a76596b1d45a9644af5f7f9ba246e84 (refs/remotes/origin/branch_7x) [...] [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=SpellCheckCollatorTest -Dtests.method=testEstimatedHitCounts -Dtests.seed=E24A64F535A759FA -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=mzn -Dtests.timezone=Antarctica/Vostok -Dtests.asserts=true -Dtests.file.encoding=UTF-8 [junit4] ERROR 0.36s J0 | SpellCheckCollatorTest.testEstimatedHitCounts <<< [junit4]> Throwable #1: java.lang.RuntimeException: Exception during query [junit4]>at __randomizedtesting.SeedInfo.seed([E24A64F535A759FA:D3F1DAC09098492A]:0) [junit4]>at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:917) [junit4]>at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:877) [junit4]>at org.apache.solr.spelling.SpellCheckCollatorTest.testEstimatedHitCounts(SpellCheckCollatorTest.java:569) [junit4]>at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit4]>at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit4]>at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit4]>at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit4]>at java.base/java.lang.Thread.run(Thread.java:835) [junit4]> Caused by: java.lang.RuntimeException: REQUEST FAILED: xpath=//lst[@name='spellcheck']/lst[@name='collations']/lst[@name='collation']/long[@name='hits' and 3 <= . and . <= 13] [junit4]>xml response was: [junit4]> [junit4]> 031918everyotherteststop:everyother14everyother [junit4]> [junit4]>request was:spellcheck=true=direct=1=true=1=1=true=/spellCheckCompRH=teststop:everother=5 [junit4]>at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:910) [junit4]>... 40 more [...] [junit4] 2> NOTE: test params are: codec=Asserting(Lucene70): {start1=PostingsFormat(name=Memory), lowerfilt1=PostingsFormat(name=Memory), multiDefault=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128))), teststop=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128))), lowerfilt1and2=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128))), end4=PostingsFormat(name=Memory), end3=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128))), end2=PostingsFormat(name=Asserting), end1=PostingsFormat(name=MockRandom), lowerfilt=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128))), gram1=PostingsFormat(name=MockRandom), id=PostingsFormat(name=Asserting), gram2=PostingsFormat(name=Asserting), gram3=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128))), start3=PostingsFormat(name=Asserting), gram4=PostingsFormat(name=Memory), start2=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128))), word=PostingsFormat(name=MockRandom), start4=PostingsFormat(name=MockRandom)}, docValues:{range_facet_l_dv=DocValuesFormat(name=Lucene70), range_facet_i_dv=DocValuesFormat(name=Memory), intDvoDefault=DocValuesFormat(name=Asserting), timestamp=DocValuesFormat(name=Memory)}, maxPointsInLeafNode=750, maxMBSortInHeap=6.055347638060191, sim=RandomSimilarity(queryNorm=false): {}, locale=mzn, timezone=Antarctica/Vostok [junit4] 2> NOTE: Linux 4.15.0-36-generic amd64/Oracle Corporation 12-ea (64-bit)/cpus=8,threads=1,free=161239760,total=492830720 {noformat} > SpellCheckCollatorTest.testEstimatedHitCounts fails in jenkins from time to > time > > > Key: SOLR-5344 > URL: https://issues.apache.org/jira/browse/SOLR-5344 > Project: Solr > Issue Type: Bug >Reporter: Robert Muir >Assignee: James Dyer >Priority: Major > Attachments: SOLR-5344.patch > > > Doesn't happen very often, but maybe one I can fix. I'll look into it. -- 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-5344) SpellCheckCollatorTest.testEstimatedHitCounts fails in jenkins from time to time
[ https://issues.apache.org/jira/browse/SOLR-5344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16553232#comment-16553232 ] Steve Rowe commented on SOLR-5344: -- Another reproducing failure from [https://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/22495/]: {noformat} [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=SpellCheckCollatorTest -Dtests.method=testEstimatedHitCounts -Dtests.seed=F93E32DC896C6016 -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=mer -Dtests.timezone=SystemV/PST8PDT -Dtests.asserts=true -Dtests.file.encoding=UTF-8 [junit4] ERROR 0.34s J0 | SpellCheckCollatorTest.testEstimatedHitCounts <<< [junit4]> Throwable #1: java.lang.RuntimeException: Exception during query [junit4]> at __randomizedtesting.SeedInfo.seed([F93E32DC896C6016:C8858CE92C5370C6]:0) [junit4]> at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:917) [junit4]> at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:877) [junit4]> at org.apache.solr.spelling.SpellCheckCollatorTest.testEstimatedHitCounts(SpellCheckCollatorTest.java:569) [junit4]> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit4]> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit4]> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit4]> at java.base/java.lang.reflect.Method.invoke(Method.java:564) [junit4]> at java.base/java.lang.Thread.run(Thread.java:844) [junit4]> Caused by: java.lang.RuntimeException: REQUEST FAILED: xpath=//lst[@name='spellcheck']/lst[@name='collations']/lst[@name='collation']/long[@name='hits' and 3 <= . and . <= 13] [junit4]> xml response was: [junit4]> [junit4]> 041918everyotherteststop:everyother14everyother [junit4]> [junit4]> request was:spellcheck=true=direct=1=true=1=1=true=/spellCheckCompRH=teststop:everother=5 [junit4]> at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:910) [junit4]> ... 40 more [...] [junit4] 2> NOTE: test params are: codec=Asserting(Lucene70): {start1=PostingsFormat(name=LuceneVarGapFixedInterval), lowerfilt1=PostingsFormat(name=LuceneVarGapFixedInterval), multiDefault=FST50, teststop=FST50, lowerfilt1and2=FST50, end4=PostingsFormat(name=LuceneVarGapFixedInterval), end3=FST50, end2=BlockTreeOrds(blocksize=128), end1=PostingsFormat(name=LuceneVarGapDocFreqInterval), lowerfilt=FST50, gram1=PostingsFormat(name=LuceneVarGapDocFreqInterval), id=BlockTreeOrds(blocksize=128), gram2=BlockTreeOrds(blocksize=128), gram3=FST50, start3=BlockTreeOrds(blocksize=128), gram4=PostingsFormat(name=LuceneVarGapFixedInterval), start2=FST50, word=PostingsFormat(name=LuceneVarGapDocFreqInterval), start4=PostingsFormat(name=LuceneVarGapDocFreqInterval)}, docValues:{range_facet_l_dv=DocValuesFormat(name=Lucene70), intDefault=DocValuesFormat(name=Lucene70), id_i1=DocValuesFormat(name=Direct), range_facet_i_dv=DocValuesFormat(name=Lucene70), intDvoDefault=DocValuesFormat(name=Asserting), range_facet_l=DocValuesFormat(name=Lucene70), timestamp=DocValuesFormat(name=Lucene70)}, maxPointsInLeafNode=1509, maxMBSortInHeap=7.059537584202553, sim=Asserting(org.apache.lucene.search.similarities.AssertingSimilarity@5e51d18f), locale=mer, timezone=SystemV/PST8PDT [junit4] 2> NOTE: Linux 4.15.0-24-generic amd64/Oracle Corporation 10.0.1 (64-bit)/cpus=8,threads=1,free=105400800,total=532152320 {noformat} > SpellCheckCollatorTest.testEstimatedHitCounts fails in jenkins from time to > time > > > Key: SOLR-5344 > URL: https://issues.apache.org/jira/browse/SOLR-5344 > Project: Solr > Issue Type: Bug >Reporter: Robert Muir >Assignee: James Dyer >Priority: Major > Attachments: SOLR-5344.patch > > > Doesn't happen very often, but maybe one I can fix. I'll look into it. -- 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-5344) SpellCheckCollatorTest.testEstimatedHitCounts fails in jenkins from time to time
[ https://issues.apache.org/jira/browse/SOLR-5344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16415714#comment-16415714 ] Steve Rowe commented on SOLR-5344: -- Another reproducing failure from [https://jenkins.thetaphi.de/job/Lucene-Solr-7.3-Windows/19/]: {noformat} Checking out Revision fa7f702545469a092fbe4f32022a8f60750a2163 (refs/remotes/origin/branch_7_3) [...] [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=SpellCheckCollatorTest -Dtests.method=testEstimatedHitCounts -Dtests.seed=370F75B066E182E5 -Dtests.slow=true -Dtests.locale=ca-ES -Dtests.timezone=Mexico/BajaNorte -Dtests.asserts=true -Dtests.file.encoding=UTF-8 [junit4] ERROR 0.05s J1 | SpellCheckCollatorTest.testEstimatedHitCounts <<< [junit4]> Throwable #1: java.lang.RuntimeException: Exception during query [junit4]>at __randomizedtesting.SeedInfo.seed([370F75B066E182E5:6B4CB85C3DE9235]:0) [junit4]>at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:913) [junit4]>at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:873) [junit4]>at org.apache.solr.spelling.SpellCheckCollatorTest.testEstimatedHitCounts(SpellCheckCollatorTest.java:569) [junit4]>at java.lang.Thread.run(Thread.java:748) [junit4]> Caused by: java.lang.RuntimeException: REQUEST FAILED: xpath=//lst[@name='spellcheck']/lst[@name='collations']/lst[@name='collation']/long[@name='hits' and 3 <= . and . <= 13] [junit4]>xml response was: [junit4]> [junit4]> 011918everyotherteststop:everyother14everyother [junit4]> [junit4]>request was:spellcheck=true=direct=1=true=1=1=true=/spellCheckCompRH=teststop:everother=5 [junit4]>at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:906) [junit4]>... 41 more [...] [junit4] 2> NOTE: test params are: codec=Asserting(Lucene70): {start1=PostingsFormat(name=LuceneVarGapFixedInterval), lowerfilt1=PostingsFormat(name=LuceneVarGapFixedInterval), multiDefault=FST50, teststop=FST50, lowerfilt1and2=FST50, end4=PostingsFormat(name=LuceneVarGapFixedInterval), end3=FST50, end2=Lucene50(blocksize=128), end1=PostingsFormat(name=Memory), lowerfilt=FST50, gram1=PostingsFormat(name=Memory), id=Lucene50(blocksize=128), gram2=Lucene50(blocksize=128), gram3=FST50, start3=Lucene50(blocksize=128), gram4=PostingsFormat(name=LuceneVarGapFixedInterval), start2=FST50, word=PostingsFormat(name=Memory), start4=PostingsFormat(name=Memory)}, docValues:{range_facet_l_dv=DocValuesFormat(name=Memory), range_facet_i_dv=DocValuesFormat(name=Lucene70), intDvoDefault=DocValuesFormat(name=Lucene70), timestamp=DocValuesFormat(name=Lucene70)}, maxPointsInLeafNode=1606, maxMBSortInHeap=7.2099562710611895, sim=RandomSimilarity(queryNorm=true): {}, locale=ca-ES, timezone=Mexico/BajaNorte [junit4] 2> NOTE: Windows 10 10.0 x86/Oracle Corporation 1.8.0_144 (32-bit)/cpus=3,threads=1,free=288755144,total=536870912 {noformat} > SpellCheckCollatorTest.testEstimatedHitCounts fails in jenkins from time to > time > > > Key: SOLR-5344 > URL: https://issues.apache.org/jira/browse/SOLR-5344 > Project: Solr > Issue Type: Bug >Reporter: Robert Muir >Assignee: James Dyer >Priority: Major > Attachments: SOLR-5344.patch > > > Doesn't happen very often, but maybe one I can fix. I'll look into it. -- 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-5344) SpellCheckCollatorTest.testEstimatedHitCounts fails in jenkins from time to time
[ https://issues.apache.org/jira/browse/SOLR-5344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16397012#comment-16397012 ] Steve Rowe commented on SOLR-5344: -- Another reproducing failure from [https://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/21631/]: {noformat} Checking out Revision 0cd9f7f35af84ce769a37a2ef1afe8990c5b061a (refs/remotes/origin/master) [...] [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=SpellCheckCollatorTest -Dtests.method=testEstimatedHitCounts -Dtests.seed=93BE88EEF2ACCD40 -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=sah -Dtests.timezone=America/Winnipeg -Dtests.asserts=true -Dtests.file.encoding=UTF-8 [junit4] ERROR 0.10s J0 | SpellCheckCollatorTest.testEstimatedHitCounts <<< [junit4]> Throwable #1: java.lang.RuntimeException: Exception during query [junit4]>at __randomizedtesting.SeedInfo.seed([93BE88EEF2ACCD40:A20536DB5793DD90]:0) [junit4]>at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:908) [junit4]>at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:868) [junit4]>at org.apache.solr.spelling.SpellCheckCollatorTest.testEstimatedHitCounts(SpellCheckCollatorTest.java:569) [junit4]>at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit4]>at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit4]>at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit4]>at java.base/java.lang.reflect.Method.invoke(Method.java:564) [junit4]>at java.base/java.lang.Thread.run(Thread.java:844) [junit4]> Caused by: java.lang.RuntimeException: REQUEST FAILED: xpath=//lst[@name='spellcheck']/lst[@name='collations']/lst[@name='collation']/long[@name='hits' and 3 <= . and . <= 13] [junit4]>xml response was: [junit4]> [junit4]> 021918everyotherteststop:everyother14everyother [junit4]> [junit4]>request was:spellcheck=true=direct=1=true=1=1=true=/spellCheckCompRH=teststop:everother=5 [junit4]>at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:901) [junit4]>... 40 more [...] [junit4] 2> NOTE: test params are: codec=Asserting(Lucene70): {start1=FST50, lowerfilt1=PostingsFormat(name=LuceneVarGapFixedInterval), multiDefault=PostingsFormat(name=Memory), teststop=PostingsFormat(name=Memory), lowerfilt1and2=PostingsFormat(name=Memory), end4=PostingsFormat(name=LuceneVarGapFixedInterval), end3=PostingsFormat(name=LuceneVarGapDocFreqInterval), end2=FST50, end1=PostingsFormat(name=Memory), lowerfilt=PostingsFormat(name=Memory), gram1=PostingsFormat(name=Memory), id=FST50, gram2=FST50, gram3=PostingsFormat(name=LuceneVarGapDocFreqInterval), start3=PostingsFormat(name=LuceneVarGapFixedInterval), gram4=PostingsFormat(name=LuceneVarGapFixedInterval), start2=PostingsFormat(name=Memory), word=PostingsFormat(name=Memory), start4=PostingsFormat(name=LuceneVarGapDocFreqInterval)}, docValues:{range_facet_l_dv=DocValuesFormat(name=Asserting), range_facet_i_dv=DocValuesFormat(name=Lucene70), intDvoDefault=DocValuesFormat(name=Asserting), timestamp=DocValuesFormat(name=Lucene70)}, maxPointsInLeafNode=111, maxMBSortInHeap=6.299971512535449, sim=Asserting(org.apache.lucene.search.similarities.AssertingSimilarity@496f23b6), locale=sah, timezone=America/Winnipeg [junit4] 2> NOTE: Linux 4.13.0-36-generic amd64/Oracle Corporation 9.0.4 (64-bit)/cpus=8,threads=1,free=128212720,total=518979584 {noformat} > SpellCheckCollatorTest.testEstimatedHitCounts fails in jenkins from time to > time > > > Key: SOLR-5344 > URL: https://issues.apache.org/jira/browse/SOLR-5344 > Project: Solr > Issue Type: Bug >Reporter: Robert Muir >Assignee: James Dyer >Priority: Major > Attachments: SOLR-5344.patch > > > Doesn't happen very often, but maybe one I can fix. I'll look into it. -- 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-5344) SpellCheckCollatorTest.testEstimatedHitCounts fails in jenkins from time to time
[ https://issues.apache.org/jira/browse/SOLR-5344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15632739#comment-15632739 ] ASF subversion and git services commented on SOLR-5344: --- Commit 213a2a1791e4557afd2542a25e94eec65e29a42d in lucene-solr's branch refs/heads/master from jdyer1 [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=213a2a1 ] SOLR-5344: relax the test requirements for estimated hit counts > SpellCheckCollatorTest.testEstimatedHitCounts fails in jenkins from time to > time > > > Key: SOLR-5344 > URL: https://issues.apache.org/jira/browse/SOLR-5344 > Project: Solr > Issue Type: Bug >Reporter: Robert Muir >Assignee: James Dyer > Attachments: SOLR-5344.patch > > > Doesn't happen very often, but maybe one I can fix. I'll look into it. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-5344) SpellCheckCollatorTest.testEstimatedHitCounts fails in jenkins from time to time
[ https://issues.apache.org/jira/browse/SOLR-5344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15632740#comment-15632740 ] ASF subversion and git services commented on SOLR-5344: --- Commit b11e12606573e79ee0a48693cf96979d4615b1ed in lucene-solr's branch refs/heads/branch_6x from jdyer1 [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=b11e126 ] SOLR-5344: relax the test requirements for estimated hit counts > SpellCheckCollatorTest.testEstimatedHitCounts fails in jenkins from time to > time > > > Key: SOLR-5344 > URL: https://issues.apache.org/jira/browse/SOLR-5344 > Project: Solr > Issue Type: Bug >Reporter: Robert Muir >Assignee: James Dyer > Attachments: SOLR-5344.patch > > > Doesn't happen very often, but maybe one I can fix. I'll look into it. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-5344) SpellCheckCollatorTest.testEstimatedHitCounts fails in jenkins from time to time
[ https://issues.apache.org/jira/browse/SOLR-5344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15629832#comment-15629832 ] James Dyer commented on SOLR-5344: -- ok, I think I know what's going here. This feature is supposed to estimate hit counts for spelling corrections for cases where the client doesn't care about the exact # of hits, only that a partcular collation, if re-queried, would return something. To gets estimates, you tell it the max # of documents you would like it to collect before quitting. It then estimates how many hits it would have counted with this: {noformat} maximum-doc-id * number-of-docs-collected / (# visited docs + last-doc-id + 1) {noformat} In the failing test, we ask it to collect between 5 and 20 documents. The max-doc-id is always 17 (there are 17 documents and no deletions). But the denominator is controlled by the # of visited documents, and also the doc id of the one that happened to be visited last. But in the face of randomized testing and release-specific index behavior, I think the best we can hope for is a worse-case scenario, between 2 and 15. The actual correct value is 8. So unless there are objections, I am going to relax the requirement of 6 <= hits <= 10 , and use 2 <= hits <= 15. Maybe we could do better than this, but I would think anyone using this feature probably does not need to know more than whether or not hits can be produced, or the relative # between several collations returned. > SpellCheckCollatorTest.testEstimatedHitCounts fails in jenkins from time to > time > > > Key: SOLR-5344 > URL: https://issues.apache.org/jira/browse/SOLR-5344 > Project: Solr > Issue Type: Bug >Reporter: Robert Muir >Assignee: James Dyer > > Doesn't happen very often, but maybe one I can fix. I'll look into it. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-5344) SpellCheckCollatorTest.testEstimatedHitCounts fails in jenkins from time to time
[ https://issues.apache.org/jira/browse/SOLR-5344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15539023#comment-15539023 ] Alan Woodward commented on SOLR-5344: - The tests are failing because the estimated hits for a collation are too high (12 or 14 in most cases, where the test is expecting between 6 and 10). I've tried to trace through the code, and it always ends up in SpellCheckCollector#L152, after an EarlyTerminatingCollectorException has been raised. I don't follow what the estimation calculation is actually supposed to be doing here, though - is this a real bug, or should we just relax the constraints on the test a bit? [~hossman] [~jdyer] you were last in this code (albeit three years ago!) - what do you think? > SpellCheckCollatorTest.testEstimatedHitCounts fails in jenkins from time to > time > > > Key: SOLR-5344 > URL: https://issues.apache.org/jira/browse/SOLR-5344 > Project: Solr > Issue Type: Bug >Reporter: Robert Muir > > Doesn't happen very often, but maybe one I can fix. I'll look into it. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-5344) SpellCheckCollatorTest.testEstimatedHitCounts fails in jenkins from time to time
[ https://issues.apache.org/jira/browse/SOLR-5344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15391132#comment-15391132 ] Steve Rowe commented on SOLR-5344: -- Reproducing failure on master, from Policeman Jenkins [http://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/17353/]: {noformat} Checking out Revision 85a585c51698edd823769a159856524407cf6456 (refs/remotes/origin/master) [...] [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=SpellCheckCollatorTest -Dtests.method=testEstimatedHitCounts -Dtests.seed=5905E11FF6DDFCFD -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=es-PA -Dtests.timezone=Pacific/Honolulu -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1 [junit4] ERROR 0.19s J1 | SpellCheckCollatorTest.testEstimatedHitCounts <<< [junit4]> Throwable #1: java.lang.RuntimeException: Exception during query [junit4]>at __randomizedtesting.SeedInfo.seed([5905E11FF6DDFCFD:68BE5F2A53E2EC2D]:0) [junit4]>at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:782) [junit4]>at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:749) [junit4]>at org.apache.solr.spelling.SpellCheckCollatorTest.testEstimatedHitCounts(SpellCheckCollatorTest.java:562) [junit4]>at java.lang.Thread.run(Thread.java:745) [junit4]> Caused by: java.lang.RuntimeException: REQUEST FAILED: xpath=//lst[@name='spellcheck']/lst[@name='collations']/lst[@name='collation']/int[@name='hits' and 6 <= . and . <= 10] [junit4]>xml response was: [junit4]> [junit4]> 031918everyotherteststop:everyother12everyother [junit4]> [junit4]>request was:spellcheck=true=direct=1=true=1=1=true=spellCheckCompRH=teststop:everother=5 [junit4]>at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:775) [junit4]>... 41 more {noformat} > SpellCheckCollatorTest.testEstimatedHitCounts fails in jenkins from time to > time > > > Key: SOLR-5344 > URL: https://issues.apache.org/jira/browse/SOLR-5344 > Project: Solr > Issue Type: Bug >Reporter: Robert Muir > > Doesn't happen very often, but maybe one I can fix. I'll look into it. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-5344) SpellCheckCollatorTest.testEstimatedHitCounts fails in jenkins from time to time
[ https://issues.apache.org/jira/browse/SOLR-5344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14723609#comment-14723609 ] Steve Rowe commented on SOLR-5344: -- Another fail that reproduces for me, this time on branch_5x, from Policeman Jenkins [http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/13781/]: {noformat} [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=SpellCheckCollatorTest -Dtests.method=testEstimatedHitCounts -Dtests.seed=27DE05F9C4F2FFCE -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=no_NO -Dtests.timezone=Canada/Eastern -Dtests.asserts=true -Dtests.file.encoding=UTF-8 [junit4] ERROR 0.30s J1 | SpellCheckCollatorTest.testEstimatedHitCounts <<< [junit4]> Throwable #1: java.lang.RuntimeException: Exception during query [junit4]>at __randomizedtesting.SeedInfo.seed([27DE05F9C4F2FFCE:1665BBCC61CDEF1E]:0) [junit4]>at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:765) [junit4]>at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:732) [junit4]>at org.apache.solr.spelling.SpellCheckCollatorTest.testEstimatedHitCounts(SpellCheckCollatorTest.java:530) [junit4]>at java.lang.Thread.run(Thread.java:745) [junit4]> Caused by: java.lang.RuntimeException: REQUEST FAILED: xpath=//lst[@name='spellcheck']/lst[@name='collations']/lst[@name='collation']/int[@name='hits' and 6 <= . and . <= 10] [junit4]>xml response was: [junit4]> [junit4]> 041918everyotherteststop:everyother14everyother [junit4]> [junit4]>request was:spellcheck=true=direct=1=true=1=1=true=spellCheckCompRH=teststop%3Aeverother=5 [junit4]>at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:758) [junit4]>... 41 more [...] [junit4] 2> NOTE: leaving temporary files on disk at: /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.spelling.SpellCheckCollatorTest_27DE05F9C4F2FFCE-001 [junit4] 2> NOTE: test params are: codec=Asserting(Lucene53): {start1=Lucene50(blocksize=128), range_facet_l_dv=Lucene50(blocksize=128), lowerfilt1=Lucene50(blocksize=128), multiDefault=PostingsFormat(name=LuceneVarGapFixedInterval), teststop=PostingsFormat(name=LuceneVarGapFixedInterval), intDefault=PostingsFormat(name=LuceneVarGapDocFreqInterval), range_facet_l=PostingsFormat(name=LuceneVarGapDocFreqInterval), lowerfilt1and2=PostingsFormat(name=LuceneVarGapFixedInterval), end4=Lucene50(blocksize=128), end3=PostingsFormat(name=LuceneVarGapFixedInterval), end2=Lucene50(blocksize=128), end1=PostingsFormat(name=LuceneVarGapDocFreqInterval), lowerfilt=PostingsFormat(name=LuceneVarGapFixedInterval), gram1=PostingsFormat(name=LuceneVarGapDocFreqInterval), id=Lucene50(blocksize=128), range_facet_i_dv=PostingsFormat(name=LuceneVarGapDocFreqInterval), gram2=Lucene50(blocksize=128), gram3=PostingsFormat(name=LuceneVarGapFixedInterval), start3=Lucene50(blocksize=128), gram4=Lucene50(blocksize=128), start2=PostingsFormat(name=LuceneVarGapFixedInterval), word=PostingsFormat(name=LuceneVarGapDocFreqInterval), timestamp=PostingsFormat(name=LuceneVarGapDocFreqInterval), start4=PostingsFormat(name=LuceneVarGapDocFreqInterval)}, docValues:{range_facet_l_dv=DocValuesFormat(name=Direct), range_facet_i_dv=DocValuesFormat(name=Lucene50), timestamp=DocValuesFormat(name=Lucene50)}, sim=DefaultSimilarity, locale=no_NO, timezone=Canada/Eastern [junit4] 2> NOTE: Linux 3.19.0-26-generic i386/Oracle Corporation 1.8.0_60 (32-bit)/cpus=12,threads=1,free=154911392,total=536870912 [junit4] 2> NOTE: All tests run in this JVM: [TermVectorComponentTest, TestConfigSetsAPIExclusivity, SliceStateTest, DateRangeFieldTest, TestHashQParserPlugin, NotRequiredUniqueKeyTest, CollectionsAPIDistributedZkTest, TestSolrConfigHandlerCloud, VMParamsZkACLAndCredentialsProvidersTest, TestFieldSortValues, EnumFieldTest, CollectionStateFormat2Test, TestPartialUpdateDeduplication, TestNonDefinedSimilarityFactory, DistribJoinFromCollectionTest, TestNoOpRegenerator, TestQueryUtils, RequestLoggingTest, TestCrossCoreJoin, BasicFunctionalityTest, HdfsSyncSliceTest, CSVRequestHandlerTest, CoreAdminCreateDiscoverTest, SpellCheckCollatorTest] [junit4] Completed [111/536] on J1 in 2.54s, 9 tests, 1 error <<< FAILURES! {noformat} > SpellCheckCollatorTest.testEstimatedHitCounts fails in jenkins from time to > time > > > Key: SOLR-5344 > URL: https://issues.apache.org/jira/browse/SOLR-5344 > Project: Solr > Issue Type: Bug >Reporter: Robert Muir > > Doesn't happen very often, but maybe one I can fix. I'll look into it. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SOLR-5344) SpellCheckCollatorTest.testEstimatedHitCounts fails in jenkins from time to time
[ https://issues.apache.org/jira/browse/SOLR-5344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14709496#comment-14709496 ] Steve Rowe commented on SOLR-5344: -- My Jenkins found a seed on the 5.3 release branch with Java8 [http://jenkins.sarowe.net/job/Lucene-Solr-tests-5.3-Java8/222/], reproduces for me on OS X on lucene_solr_5_3, branch_5x and trunk with Java8 (all three branches at r1697441): {noformat} [junit4] 2 NOTE: reproduce with: ant test -Dtestcase=SpellCheckCollatorTest -Dtests.method=testEstimatedHitCounts -Dtests.seed=9F0E3D70573DAFC9 -Dtests.slow=true -Dtests.locale=en_CA -Dtests.timezone=America/Dawson_Creek -Dtests.asserts=true -Dtests.file.encoding=UTF-8 [junit4] ERROR 0.71s | SpellCheckCollatorTest.testEstimatedHitCounts [junit4] Throwable #1: java.lang.RuntimeException: Exception during query [junit4]at __randomizedtesting.SeedInfo.seed([9F0E3D70573DAFC9:AEB58345F202BF19]:0) [junit4]at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:765) [junit4]at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:732) [junit4]at org.apache.solr.spelling.SpellCheckCollatorTest.testEstimatedHitCounts(SpellCheckCollatorTest.java:530) [junit4]at java.lang.Thread.run(Thread.java:745) [junit4] Caused by: java.lang.RuntimeException: REQUEST FAILED: xpath=//lst[@name='spellcheck']/lst[@name='collations']/lst[@name='collation']/int[@name='hits' and 6 = . and . = 10] [junit4]xml response was: ?xml version=1.0 encoding=UTF-8? [junit4] response [junit4] lst name=responseHeaderint name=status0/intint name=QTime10/int/lstresult name=response numFound=0 start=0/resultlst name=spellchecklst name=suggestionslst name=everotherint name=numFound1/intint name=startOffset9/intint name=endOffset18/intarr name=suggestionstreveryother/str/arr/lst/lstlst name=collationslst name=collationstr name=collationQueryteststop:everyother/strint name=hits12/intlst name=misspellingsAndCorrectionsstr name=everothereveryother/str/lst/lst/lst/lst [junit4] /response [junit4]request was:spellcheck=truespellcheck.dictionary=directspellcheck.count=1spellcheck.collate=truespellcheck.maxCollationTries=1spellcheck.maxCollations=1spellcheck.collateExtendedResults=trueqt=spellCheckCompRHq=teststop%3Aeverotherspellcheck.collateMaxCollectDocs=5 [junit4]at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:758) [junit4]... 41 more {noformat} SpellCheckCollatorTest.testEstimatedHitCounts fails in jenkins from time to time Key: SOLR-5344 URL: https://issues.apache.org/jira/browse/SOLR-5344 Project: Solr Issue Type: Bug Reporter: Robert Muir Doesn't happen very often, but maybe one I can fix. I'll look into it. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org