Opened 7 years ago

Closed 16 months ago

#844 closed defect (worksforme)

Geos 3.6.2 tests failing on ppc64le architecture

Reported by: Roberto Oliveira Owned by: geos-devel@…
Priority: major Milestone: 3.6.6
Component: Default Version: 3.6.2
Severity: Unassigned Keywords:
Cc:

Description

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)


Change History (5)

comment:1 by robe, 6 years ago

Milestone: 3.6.33.6.4

Is this still an issue?

comment:2 by Bas Couwenberg, 6 years ago

On Debian unstable these tests also fail with GEOS 3.6.2, see:

https://buildd.debian.org/status/fetch.php?pkg=geos&arch=ppc64el&ver=3.6.2-1%2Bb1&stamp=1520265701&raw=0

./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)

The same goes for 3.7.0-beta1, see:

https://buildd.debian.org/status/fetch.php?pkg=geos&arch=ppc64el&ver=3.7.0%7Ebeta1-1%7Eexp2&stamp=1533052509&raw=0

./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)

comment:3 by Bas Couwenberg, 6 years ago

3.7.0beta2 has the same test failures and an additional one, see:

https://buildd.debian.org/status/fetch.php?pkg=geos&arch=ppc64el&ver=3.7.0%7Ebeta2-1%7Eexp1&stamp=1533548663&raw=0

Using an overlay tolerance of 2.51369e-05
./tests/ticket/bug350.xml: case1: test2: difference(A, B): failed. (0 ms)
	Description: http://trac.osgeo.org/geos/ticket/350 Original data, fails at noding after snapping
	Geometry A: MULTIPOLYGON (((-314775.0000000000000000 2708.0000000000000000, -336712.0000000000000000 -2708.0000000000000000, -348138.0000000000000000 17051.0000000000000000, -339224.9347079037688673 1637.6219931271461974, -334393.8192419825354591 841.2944606413984729, -332495.8798798798816279 -1667.0870870870874114, -314775.0000000000000000 2708.0000000000000000)))
	Geometry B: MULTIPOLYGON (((-357571.7470252056955360 -5762.1230496452080843, -321742.9143695723614655 -4737.7456185971695959, -324495.9287155140191317 19374.7701694241804944, -357251.6290780031704344 17838.2040228521254903, -357571.7470252056955360 -5762.1230496452080843)))
	Expected result: POLYGON ((-322378.6881546057993546 830.7344192302963393, -322378.6881546057993546 830.7344192302966803, -314775.0000000000000000 2708.0000000000000000, -322378.6881546057993546 830.7344192302963393))
	Obtained result: POLYGON ((-322378.6881546057993546 830.7344192302962256, -322378.6881546057993546 830.7344192302966803, -314775.0000000000000000 2708.0000000000000000, -322378.6881546057993546 830.7344192302962256))

Using an overlay tolerance of 2.51369e-05
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)

comment:4 by strk, 3 years ago

Milestone: 3.6.43.6.6

Ticket retargeted after milestone closed

comment:5 by dbaston, 16 months ago

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.