Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-7172

TestGeoPointQuery.testEquals() failure

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 6.0
    • None
    • modules/spatial
    • None
    • New

    Description

      My Jenkins found a reproducing seed on branch_6_0 (reproduces for me at commit 48c80f91b8e5cd9b3a9b48e6184bd53e7619e7e3 ):

      Checking out Revision 48c80f91b8e5cd9b3a9b48e6184bd53e7619e7e3 (refs/remotes/origin/branch_6_0)
      [...]
         [junit4] Suite: org.apache.lucene.spatial.geopoint.search.TestGeoPointQuery
         [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=TestGeoPointQuery -Dtests.method=testEquals -Dtests.seed=D800ACFE15AF78C3 -Dtests.slow=true -Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt -Dtests.locale=fr -Dtests.timezone=Antarctica/McMurdo -Dtests.asserts=true -Dtests.file.encoding=UTF-8
         [junit4] ERROR   0.04s J0 | TestGeoPointQuery.testEquals <<<
         [junit4]    > Throwable #1: java.lang.IllegalArgumentException: radiusMeters 10000.0 exceeds maxRadius [7173.540691622848] at location [89.96774344373529 30.77343747893633]
         [junit4]    > 	at __randomizedtesting.SeedInfo.seed([D800ACFE15AF78C3:DC6FFF65DB9628C1]:0)
         [junit4]    > 	at org.apache.lucene.spatial.geopoint.search.GeoPointDistanceQuery.<init>(GeoPointDistanceQuery.java:78)
         [junit4]    > 	at org.apache.lucene.spatial.geopoint.search.GeoPointDistanceQuery.<init>(GeoPointDistanceQuery.java:66)
         [junit4]    > 	at org.apache.lucene.spatial.geopoint.search.TestGeoPointQuery.newDistanceQuery(TestGeoPointQuery.java:77)
         [junit4]    > 	at org.apache.lucene.spatial.util.BaseGeoPointTestCase.testEquals(BaseGeoPointTestCase.java:863)
         [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
         [junit4] IGNOR/A 0.00s J0 | TestGeoPointQuery.testRandomBig
         [junit4]    > Assumption #1: 'nightly' test group is disabled (@Nightly())
         [junit4]   2> NOTE: test params are: codec=CheapBastard, sim=ClassicSimilarity, locale=fr, timezone=Antarctica/McMurdo
         [junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 1.8.0_45 (64-bit)/cpus=16,threads=1,free=488354960,total=522190848
         [junit4]   2> NOTE: All tests run in this JVM: [TestGeoPointQuery]
         [junit4] Completed [2/2 (1!)] on J0 in 5.19s, 28 tests, 1 error, 1 skipped <<< FAILURES!
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            sarowe Steven Rowe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: