You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steve Rowe (JIRA)" <ji...@apache.org> on 2016/01/21 06:20:39 UTC

[jira] [Commented] (LUCENE-6974) TesGeoPointQuery failures: some hits were wrong (should not match but did)

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

Steve Rowe commented on LUCENE-6974:
------------------------------------

My Jenkins found a reproducible seed for a nightly branch_5x failure that still fails after I apply the patch attached on this issue:

{noformat}
   [junit4] Suite: org.apache.lucene.bkdtree.TestBKDTree
   [junit4]   1> T0: id=2 should match but did not
   [junit4]   1>   small=true query=BKDPointInPolygonQuery: field=point: Points: [-22.73471034431732, -86.43202518386845] [-22.73471034431732, -85.92436153743739] [-21.576782146469277, -85.92436153743739] [-21.576782146469277, -86.43202518386845] [-22.73471034431732, -86.43202518386845]  docID=2
   [junit4]   1>   lat=-86.15216347061619 lon=-22.37586099175772
   [junit4]   1>   deleted?=false
   [junit4]   1> T0: id=28 should match but did not
   [junit4]   1>   small=true query=BKDPointInPolygonQuery: field=point: Points: [-22.73471034431732, -86.43202518386845] [-22.73471034431732, -85.92436153743739] [-21.576782146469277, -85.92436153743739] [-21.576782146469277, -86.43202518386845] [-22.73471034431732, -86.43202518386845]  docID=28
   [junit4]   1>   lat=-85.94649486908592 lon=-21.945687183472103
   [junit4]   1>   deleted?=false
   [junit4]   1> T0: id=30 should match but did not
   [junit4]   1>   small=true query=BKDPointInPolygonQuery: field=point: Points: [-22.73471034431732, -86.43202518386845] [-22.73471034431732, -85.92436153743739] [-21.576782146469277, -85.92436153743739] [-21.576782146469277, -86.43202518386845] [-22.73471034431732, -86.43202518386845]  docID=30
   [junit4]   1>   lat=-86.39056434023333 lon=-22.586003049332326
   [junit4]   1>   deleted?=false
   [junit4]   1> T0: id=43 should match but did not
   [junit4]   1>   small=true query=BKDPointInPolygonQuery: field=point: Points: [-22.73471034431732, -86.43202518386845] [-22.73471034431732, -85.92436153743739] [-21.576782146469277, -85.92436153743739] [-21.576782146469277, -86.43202518386845] [-22.73471034431732, -86.43202518386845]  docID=43
   [junit4]   1>   lat=-86.3172243711346 lon=-21.89312640969617
   [junit4]   1>   deleted?=false
   [junit4]   1> T0: id=66 should match but did not
   [junit4]   1>   small=true query=BKDPointInPolygonQuery: field=point: Points: [-22.73471034431732, -86.43202518386845] [-22.73471034431732, -85.92436153743739] [-21.576782146469277, -85.92436153743739] [-21.576782146469277, -86.43202518386845] [-22.73471034431732, -86.43202518386845]  docID=66
   [junit4]   1>   lat=-86.1859727542263 lon=-21.81480387698287
   [junit4]   1>   deleted?=false
[...]
   [junit4]   1> T0: id=262138 should match but did not
   [junit4]   1>   small=true query=BKDPointInPolygonQuery: field=point: Points: [-22.73471034431732, -86.43202518386845] [-22.73471034431732, -85.92436153743739] [-21.576782146469277, -85.92436153743739] [-21.576782146469277, -86.43202518386845] [-22.73471034431732, -86.43202518386845]  docID=262138
   [junit4]   1>   lat=-86.40505635643676 lon=-22.13216961174832
   [junit4]   1>   deleted?=false
   [junit4]   2> ene 20, 2016 3:55:21 PM com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler uncaughtException
   [junit4]   2> WARNING: Uncaught exception in thread: Thread[T0,5,TGRP-TestBKDTree]
   [junit4]   2> java.lang.AssertionError: some hits were wrong
   [junit4]   2> 	at __randomizedtesting.SeedInfo.seed([95DD13D65134F958]:0)
   [junit4]   2> 	at org.junit.Assert.fail(Assert.java:93)
   [junit4]   2> 	at org.apache.lucene.util.BaseGeoPointTestCase$VerifyHits.test(BaseGeoPointTestCase.java:548)
   [junit4]   2> 	at org.apache.lucene.util.BaseGeoPointTestCase$2._run(BaseGeoPointTestCase.java:754)
   [junit4]   2> 	at org.apache.lucene.util.BaseGeoPointTestCase$2.run(BaseGeoPointTestCase.java:619)
   [junit4]   2> 
   [junit4]   2> NOTE: download the large Jenkins line-docs file by running 'ant get-jenkins-line-docs' in the lucene directory.
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestBKDTree -Dtests.method=testRandomBig -Dtests.seed=95DD13D65134F958 -Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true -Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt -Dtests.locale=es-EC -Dtests.timezone=America/Yakutat -Dtests.asserts=true -Dtests.file.encoding=UTF-8
   [junit4] ERROR   62.5s J0 | TestBKDTree.testRandomBig <<<
   [junit4]    > Throwable #1: java.lang.AssertionError
   [junit4]    > 	at org.apache.lucene.util.BaseGeoPointTestCase.verify(BaseGeoPointTestCase.java:768)
   [junit4]    > 	at org.apache.lucene.util.BaseGeoPointTestCase.doTestRandom(BaseGeoPointTestCase.java:399)
   [junit4]    > 	at org.apache.lucene.util.BaseGeoPointTestCase.testRandomBig(BaseGeoPointTestCase.java:327)
   [junit4]    > 	at java.lang.Thread.run(Thread.java:745)Throwable #2: com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception in thread: Thread[id=43, name=T0, state=RUNNABLE, group=TGRP-TestBKDTree]
   [junit4]    > Caused by: java.lang.AssertionError: some hits were wrong
   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([95DD13D65134F958]:0)
   [junit4]    > 	at org.apache.lucene.util.BaseGeoPointTestCase$VerifyHits.test(BaseGeoPointTestCase.java:548)
   [junit4]    > 	at org.apache.lucene.util.BaseGeoPointTestCase$2._run(BaseGeoPointTestCase.java:754)
   [junit4]    > 	at org.apache.lucene.util.BaseGeoPointTestCase$2.run(BaseGeoPointTestCase.java:619)
   [junit4]   2> NOTE: leaving temporary files on disk at: /var/lib/jenkins/jobs/Lucene-Solr-Nightly-5.x-Java8/workspace/lucene/build/sandbox/test/J0/temp/lucene.bkdtree.TestBKDTree_95DD13D65134F958-001
   [junit4]   2> NOTE: test params are: codec=Asserting(Lucene54): {}, docValues:{}, sim=DefaultSimilarity, locale=es-EC, timezone=America/Yakutat
   [junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 1.8.0_45 (64-bit)/cpus=16,threads=1,free=195262360,total=534249472
   [junit4]   2> NOTE: All tests run in this JVM: [TestBKDTree]
   [junit4] Completed [17/20 (1!)] on J0 in 92.43s, 10 tests, 1 error <<< FAILURES!
{noformat}

> TesGeoPointQuery failures: some hits were wrong (should not match but did)
> --------------------------------------------------------------------------
>
>                 Key: LUCENE-6974
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6974
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: Trunk
>            Reporter: Steve Rowe
>         Attachments: LUCENE-6974.patch
>
>
> Reproducible failure from Policeman Jenkins [http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/15540/]:
> {noformat}
>    [junit4] Suite: org.apache.lucene.search.TestGeoPointQuery
>    [junit4]   1> T0: id=1 should not match but did
>    [junit4]   1>   small=true query=GeoPointInPolygonQuery: field=point: Points: [4.3475002236664295, -39.484346117824316] [4.3475002236664295, -38.95751953125] [5.824887603521347, -38.95751953125] [5.824887603521347, -39.484346117824316] [4.3475002236664295, -39.484346117824316]  docID=1
>    [junit4]   1>   lat=-38.94430998712778 lon=4.362290930002928
>    [junit4]   1>   deleted?=false
>    [junit4]   2> JAN 13, 2016 6:53:32 R? com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler uncaughtException
>    [junit4]   2> WARNING: Uncaught exception in thread: Thread[T0,5,TGRP-TestGeoPointQuery]
>    [junit4]   2> java.lang.AssertionError: some hits were wrong
>    [junit4]   2> 	at __randomizedtesting.SeedInfo.seed([30950A47BB2DFA04]:0)
>    [junit4]   2> 	at org.junit.Assert.fail(Assert.java:93)
>    [junit4]   2> 	at org.apache.lucene.util.BaseGeoPointTestCase$VerifyHits.test(BaseGeoPointTestCase.java:554)
>    [junit4]   2> 	at org.apache.lucene.util.BaseGeoPointTestCase$2._run(BaseGeoPointTestCase.java:758)
>    [junit4]   2> 	at org.apache.lucene.util.BaseGeoPointTestCase$2.run(BaseGeoPointTestCase.java:625)
>    [junit4]   2> 
>    [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestGeoPointQuery -Dtests.method=testRandomTiny -Dtests.seed=30950A47BB2DFA04 -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=mer_KE -Dtests.timezone=America/Martinique -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
>    [junit4] ERROR   0.93s J0 | TestGeoPointQuery.testRandomTiny <<<
>    [junit4]    > Throwable #1: java.lang.AssertionError
>    [junit4]    > 	at org.apache.lucene.util.BaseGeoPointTestCase.verify(BaseGeoPointTestCase.java:772)
>    [junit4]    > 	at org.apache.lucene.util.BaseGeoPointTestCase.doTestRandom(BaseGeoPointTestCase.java:411)
>    [junit4]    > 	at org.apache.lucene.util.BaseGeoPointTestCase.testRandomTiny(BaseGeoPointTestCase.java:331)
>    [junit4]    > 	at java.lang.Thread.run(Thread.java:747)Throwable #2: com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception in thread: Thread[id=57, name=T0, state=RUNNABLE, group=TGRP-TestGeoPointQuery]
>    [junit4]    > Caused by: java.lang.AssertionError: some hits were wrong
>    [junit4]    > 	at __randomizedtesting.SeedInfo.seed([30950A47BB2DFA04]:0)
>    [junit4]    > 	at org.apache.lucene.util.BaseGeoPointTestCase$VerifyHits.test(BaseGeoPointTestCase.java:554)
>    [junit4]    > 	at org.apache.lucene.util.BaseGeoPointTestCase$2._run(BaseGeoPointTestCase.java:758)
>    [junit4]    > 	at org.apache.lucene.util.BaseGeoPointTestCase$2.run(BaseGeoPointTestCase.java:625)
>    [junit4] IGNOR/A 0.01s J0 | TestGeoPointQuery.testRandomBig
>    [junit4]    > Assumption #1: 'nightly' test group is disabled (@Nightly())
>    [junit4] IGNOR/A 0.00s J0 | TestGeoPointQuery.testAllLatEqual
>    [junit4]    > Assumption #1: GeoPoint*Query is too slow otherwise
>    [junit4]   1> T1: id=15902 should not match but did
>    [junit4]   1>   small=true query=GeoPointInPolygonQuery: field=point: Points: [4.3475002236664295, -39.484346117824316] [4.3475002236664295, -38.95751953125] [5.824887603521347, -38.95751953125] [5.824887603521347, -39.484346117824316] [4.3475002236664295, -39.484346117824316]  docID=714
>    [junit4]   1>   lat=-38.95061678253114 lon=5.752138886600733
>    [junit4]   1>   deleted?=false
>    [junit4]   1> T1: id=16650 should not match but did
>    [junit4]   1>   small=true query=GeoPointInPolygonQuery: field=point: Points: [4.3475002236664295, -39.484346117824316] [4.3475002236664295, -38.95751953125] [5.824887603521347, -38.95751953125] [5.824887603521347, -39.484346117824316] [4.3475002236664295, -39.484346117824316]  docID=739
>    [junit4]   1>   lat=-38.94194939173758 lon=5.094362664967775
>    [junit4]   1>   deleted?=false
>    [junit4]   1> T1: id=16686 should not match but did
>    [junit4]   1>   small=true query=GeoPointInPolygonQuery: field=point: Points: [4.3475002236664295, -39.484346117824316] [4.3475002236664295, -38.95751953125] [5.824887603521347, -38.95751953125] [5.824887603521347, -39.484346117824316] [4.3475002236664295, -39.484346117824316]  docID=772
>    [junit4]   1>   lat=-38.93946030177176 lon=4.663460422307253
>    [junit4]   1>   deleted?=false
>    [junit4]   1> T1: id=16777 should not match but did
>    [junit4]   1>   small=true query=GeoPointInPolygonQuery: field=point: Points: [4.3475002236664295, -39.484346117824316] [4.3475002236664295, -38.95751953125] [5.824887603521347, -38.95751953125] [5.824887603521347, -39.484346117824316] [4.3475002236664295, -39.484346117824316]  docID=862
>    [junit4]   1>   lat=-38.93717204220593 lon=5.471643526107073
>    [junit4]   1>   deleted?=false
>    [junit4]   1> T1: id=16779 should not match but did
>    [junit4]   1>   small=true query=GeoPointInPolygonQuery: field=point: Points: [4.3475002236664295, -39.484346117824316] [4.3475002236664295, -38.95751953125] [5.824887603521347, -38.95751953125] [5.824887603521347, -39.484346117824316] [4.3475002236664295, -39.484346117824316]  docID=864
>    [junit4]   1>   lat=-38.952266089618206 lon=4.8638697154819965
>    [junit4]   1>   deleted?=false
>    [junit4]   1> T1: id=17243 should not match but did
>    [junit4]   1>   small=true query=GeoPointInPolygonQuery: field=point: Points: [4.3475002236664295, -39.484346117824316] [4.3475002236664295, -38.95751953125] [5.824887603521347, -38.95751953125] [5.824887603521347, -39.484346117824316] [4.3475002236664295, -39.484346117824316]  docID=1325
>    [junit4]   1>   lat=-38.94860311411321 lon=5.118960868567228
>    [junit4]   1>   deleted?=false
>    [junit4]   1> T1: id=17254 should not match but did
>    [junit4]   1>   small=true query=GeoPointInPolygonQuery: field=point: Points: [4.3475002236664295, -39.484346117824316] [4.3475002236664295, -38.95751953125] [5.824887603521347, -38.95751953125] [5.824887603521347, -39.484346117824316] [4.3475002236664295, -39.484346117824316]  docID=1336
>    [junit4]   1>   lat=-38.94333106465638 lon=5.617008693516254
>    [junit4]   1>   deleted?=false
> [... skipped many many more "should not match but did" messages ...]
>    [junit4]   2> JAN 13, 2016 6:53:38 R? com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler uncaughtException
>    [junit4]   2> WARNING: Uncaught exception in thread: Thread[T1,5,TGRP-TestGeoPointQuery]
>    [junit4]   2> java.lang.AssertionError: some hits were wrong
>    [junit4]   2> 	at __randomizedtesting.SeedInfo.seed([30950A47BB2DFA04]:0)
>    [junit4]   2> 	at org.junit.Assert.fail(Assert.java:93)
>    [junit4]   2> 	at org.apache.lucene.util.BaseGeoPointTestCase$VerifyHits.test(BaseGeoPointTestCase.java:554)
>    [junit4]   2> 	at org.apache.lucene.util.BaseGeoPointTestCase$2._run(BaseGeoPointTestCase.java:758)
>    [junit4]   2> 	at org.apache.lucene.util.BaseGeoPointTestCase$2.run(BaseGeoPointTestCase.java:625)
>    [junit4]   2> 
>    [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestGeoPointQuery -Dtests.method=testRandomMedium -Dtests.seed=30950A47BB2DFA04 -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=mer_KE -Dtests.timezone=America/Martinique -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
>    [junit4] ERROR   6.07s J0 | TestGeoPointQuery.testRandomMedium <<<
>    [junit4]    > Throwable #1: java.lang.AssertionError
>    [junit4]    > 	at org.apache.lucene.util.BaseGeoPointTestCase.verify(BaseGeoPointTestCase.java:772)
>    [junit4]    > 	at org.apache.lucene.util.BaseGeoPointTestCase.doTestRandom(BaseGeoPointTestCase.java:411)
>    [junit4]    > 	at org.apache.lucene.util.BaseGeoPointTestCase.testRandomMedium(BaseGeoPointTestCase.java:335)
>    [junit4]    > 	at java.lang.Thread.run(Thread.java:747)Throwable #2: com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception in thread: Thread[id=63, name=T1, state=RUNNABLE, group=TGRP-TestGeoPointQuery]
>    [junit4]    > Caused by: java.lang.AssertionError: some hits were wrong
>    [junit4]    > 	at __randomizedtesting.SeedInfo.seed([30950A47BB2DFA04]:0)
>    [junit4]    > 	at org.apache.lucene.util.BaseGeoPointTestCase$VerifyHits.test(BaseGeoPointTestCase.java:554)
>    [junit4]    > 	at org.apache.lucene.util.BaseGeoPointTestCase$2._run(BaseGeoPointTestCase.java:758)
>    [junit4]    > 	at org.apache.lucene.util.BaseGeoPointTestCase$2.run(BaseGeoPointTestCase.java:625)
>    [junit4] IGNOR/A 0.00s J0 | TestGeoPointQuery.testMultiValued
>    [junit4]    > Assumption #1: GeoPoint*Query is too slow otherwise
>    [junit4] IGNOR/A 0.00s J0 | TestGeoPointQuery.testAllLonEqual
>    [junit4]    > Assumption #1: GeoPoint*Query is too slow otherwise
>    [junit4] IGNOR/A 0.00s J0 | TestGeoPointQuery.testSamePointManyTimes
>    [junit4]    > Assumption #1: GeoPoint*Query is too slow otherwise
>    [junit4]   2> NOTE: test params are: codec=Asserting(Lucene60): {string=Lucene50(blocksize=128), id=Lucene50(blocksize=128), point=PostingsFormat(name=Direct)}, docValues:{id=DocValuesFormat(name=Direct), point=DocValuesFormat(name=Lucene54)}, sim=RandomSimilarityProvider(queryNorm=true,coord=crazy): {}, locale=mer_KE, timezone=America/Martinique
>    [junit4]   2> NOTE: Linux 3.19.0-42-generic amd64/Oracle Corporation 9-ea (64-bit)/cpus=12,threads=1,free=452799456,total=517996544
>    [junit4]   2> NOTE: All tests run in this JVM: [FuzzyLikeThisQueryTest, TestIDVersionPostingsFormat, TestDocValuesRangeQuery, TestGeoPointQuery]
>    [junit4] Completed [9/13 (1!)] on J0 in 7.10s, 23 tests, 2 errors, 5 skipped <<< FAILURES!
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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