Skip to content

Build Failure: sporadic Geo distance failure #20733

@markharwood

Description

@markharwood

Seen various build failures today e.g. this one with

 Expected: <1.7976931348623157E308>      but: was <Infinity>

Reproduce command:

REPRODUCE WITH: gradle :core:integTest -Dtests.seed=86E7CC97FFD01522 -Dtests.class=org.elasticsearch.search.sort.GeoDistanceIT -Dtests.method="testDistanceSortingWithMissingGeoPoint" -Dtests.es.logger.level=DEBUG -Dtests.security.manager=true -Dtests.nightly=false -Dtests.heap.size=1024m -Dtests.jvm.argline="-server -XX:+UseConcMarkSweepGC -XX:+UseCompressedOops" -Dtests.locale=pt -Dtests.timezone=America/Bahia_Banderas
NOTE: leaving temporary files on disk at: C:\jenkins\workspace\es_core_master_windows-2012-r2\core\build\testrun\integTest\J1\temp\org.elasticsearch.search.sort.GeoDistanceIT_86E7CC97FFD01522-001

However I found I had to repeat the test ~10 times to cause a failure which seems to appear when Version is randomized to >= 5.0.0-beta1

Obviously need to fix the bug but also fix the test so that the randomization around version is reproducible with the test seed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Analytics/GeoIndexing, search aggregations of geo points and shapes>testIssues or PRs that are addressing/adding tests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions