[geos-devel] [GEOS] #844: Geos 3.6.2 tests failing on ppc64le architecture

GEOS geos-trac at osgeo.org
Mon Oct 2 14:30:35 PDT 2017


#844: Geos 3.6.2 tests failing on ppc64le architecture
------------------------------+--------------------------
 Reporter:  Roberto Oliveira  |      Owner:  geos-devel@…
     Type:  defect            |     Status:  new
 Priority:  major             |  Milestone:  3.6.3
Component:  Default           |    Version:  3.6.2
 Severity:  Unassigned        |   Keywords:
------------------------------+--------------------------
 I am able to build (make) geos on ppc64le architecture but when running
 the test suite (make check), 2 tests are failing.

 The tests are:

 ./tests/ticket/bug398.xml: case1: test1: union(A, B): failed. (0 ms)

 ./tests/general/TestCentroid.xml: case31: test1: getcentroid(A): failed.
 (0 ms)


 I tried it both in Alpine 3.6 and Ubuntu 16.04.3 and in both distros the
 same tests failed.


 The failure log:

 {{{

 Using an overlay tolerance of 3.6e-08
 ./tests/ticket/bug398.xml: case1: test1: union(A, B): failed. (0 ms)
         Description: http://trac.osgeo.org/geos/ticket/398
 Assertion `shellCount <= 1' failed.
         Geometry A: MULTIPOLYGON (((60.0000000000000000
 6.5105151320986412, 44.0044859469790026 11.6931320480208569,
 0.0000000000000000 25.9507790663861222, 0.0000000000000000
 26.8608278557796467, 0.0000000000000000 29.8387923019253307,
 60.0000000000000000 10.3985283676378408, 60.0000000000000000
 7.8021345594223774, 60.0000000000000000 6.6570998796460161,
 60.0000000000000000 6.5105151320986412)), ((43.3161197496508308
 0.0000000000000000, 0.0000000000000000 0.0000000000000000,
 0.0000000000000000 14.0346133423735822, 0.0000000000000000
 17.9226661292310787, 0.0000000000000000 21.5874865260243638,
 34.0258524396557860 6.8981402622972743, 55.3161197496508308
 0.0000000000000000, 50.0044466166182886 0.0000000000000000,
 43.3161197496508308 0.0000000000000000)), ((13.4455725323347899
 36.0000000000000000, 60.0000000000000000 36.0000000000000000,
 60.0000000000000000 16.7944518298098018, 60.0000000000000000
 16.3644011555093201, 60.0000000000000000 14.0439960304547569,
 2.9187843276549756 36.0000000000000000, 11.8945390820010992
 36.0000000000000000, 13.4455725323347899 36.0000000000000000)))
         Geometry B: POLYGON ((50.0044466166182886 0.0000000000000000,
 0.0000000000000000 21.5874865260243638, 0.0000000000000000
 35.7392139719321804, 60.0000000000000000 13.1838946818537934,
 60.0000000000000000 0.0000000000000000, 50.0044466166182886
 0.0000000000000000))
         Expected result: MULTIPOLYGON (((0.0000000000000000
 25.9507790663861222, 0.0000000000000000 26.8608278557796467,
 0.0000000000000000 29.8387923019253307, 0.0000000000000000
 35.7392139719321804, 60.0000000000000000 13.1838946818537934,
 60.0000000000000000 10.3985283676378408, 60.0000000000000000
 7.8021345594223774, 60.0000000000000000 6.6570998796460161,
 60.0000000000000000 6.5105151320986412, 60.0000000000000000
 0.0000000000000000, 55.3161197496508308 0.0000000000000000,
 50.0044466166182886 0.0000000000000000, 43.3161197496508308
 0.0000000000000000, 0.0000000000000000 0.0000000000000000,
 0.0000000000000000 14.0346133423735822, 0.0000000000000000
 17.9226661292310787, 0.0000000000000000 21.5874865260243638,
 0.0000000000000000 25.9507790663861222), (0.0000000000000000
 21.5874865260243638, 34.0258524396557860 6.8981402622972743,
 34.0258524396557931 6.8981402622972734, 0.0000000000000000
 21.5874865260243638)), ((13.4455725323347899 36.0000000000000000,
 60.0000000000000000 36.0000000000000000, 60.0000000000000000
 16.7944518298098018, 60.0000000000000000 16.3644011555093201,
 60.0000000000000000 14.0439960304547569, 2.9187843276549756
 36.0000000000000000, 11.8945390820010992 36.0000000000000000,
 13.4455725323347899 36.0000000000000000)))
         Obtained result: MULTIPOLYGON (((0.0000000000000000
 25.9507790663861222, 0.0000000000000000 26.8608278557796467,
 0.0000000000000000 29.8387923019253307, 0.0000000000000000
 35.7392139719321804, 60.0000000000000000 13.1838946818537934,
 60.0000000000000000 10.3985283676378408, 60.0000000000000000
 7.8021345594223774, 60.0000000000000000 6.6570998796460161,
 60.0000000000000000 6.5105151320986412, 60.0000000000000000
 0.0000000000000000, 55.3161197496508308 0.0000000000000000,
 50.0044466166182886 0.0000000000000000, 43.3161197496508308
 0.0000000000000000, 0.0000000000000000 0.0000000000000000,
 0.0000000000000000 14.0346133423735822, 0.0000000000000000
 17.9226661292310787, 0.0000000000000000 21.5874865260243638,
 0.0000000000000000 25.9507790663861222)), ((13.4455725323347899
 36.0000000000000000, 60.0000000000000000 36.0000000000000000,
 60.0000000000000000 16.7944518298098018, 60.0000000000000000
 16.3644011555093201, 60.0000000000000000 14.0439960304547569,
 2.9187843276549756 36.0000000000000000, 11.8945390820010992
 36.0000000000000000, 13.4455725323347899 36.0000000000000000)))


 ./tests/general/TestCentroid.xml: case31: test1: getcentroid(A): failed.
 (0 ms)
         Description: A - almost degenerate triangle
         Geometry A: POLYGON ((56.5286666666999977 25.2101666667000011,
 56.5290000000000035 25.2104999999999997, 56.5288333332999997
 25.2103333332999995, 56.5286666666999977 25.2101666667000011))
         Expected result: POINT (56.5288333333500006 25.2103333333500004)
         Obtained result: POINT (56.5288333333333313 25.2103333333333346)


 }}}

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/844>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list