[postgis-tickets] [PostGIS] #5366: GHA last coverage is failing on raster GDAL polygonize cUnit test

PostGIS trac at osgeo.org
Wed Apr 12 07:16:03 PDT 2023


#5366: GHA last coverage is failing on raster GDAL polygonize cUnit test
--------------------+---------------------------
 Reporter:  robe    |      Owner:  robe
     Type:  defect  |     Status:  new
 Priority:  medium  |  Milestone:  PostGIS 3.4.0
Component:  raster  |    Version:  master
 Keywords:          |
--------------------+---------------------------
 Given this has been working and we haven't made any changes since this
 failure, I'm suspecting something upstream changed, perhaps GDAL
 polygonize again

 https://github.com/postgis/postgis/actions/runs/4677114956/jobs/8284248542


 {{{
 Test: test_gdal_polygonize ...FAILED
     1. cu_gdal.c:170  - CU_ASSERT_DOUBLE_EQUAL(gv[0].val,1.8,FLT_EPSILON)
     2. cu_gdal.c:174  -
 CU_ASSERT_DOUBLE_EQUAL(lwgeom_area(gobserved),lwgeom_area(gexpected),FLT_EPSILON)
     3. cu_gdal.c:176  - CU_ASSERT_DOUBLE_EQUAL(gv[1].val,0.0,FLT_EPSILON)
     4. cu_gdal.c:179  -
 CU_ASSERT_DOUBLE_EQUAL(lwgeom_area(gobserved),lwgeom_area(gexpected),FLT_EPSILON)
     5. cu_gdal.c:215  - CU_ASSERT_DOUBLE_EQUAL(gv[1].val,0.0,FLT_EPSILON)
     6. cu_gdal.c:218  -
 CU_ASSERT_DOUBLE_EQUAL(lwgeom_area(gobserved),lwgeom_area(gexpected),FLT_EPSILON)
     7. cu_gdal.c:270  -
 CU_ASSERT_DOUBLE_EQUAL(lwgeom_area(gobserved),lwgeom_area(gexpected),FLT_EPSILON)
     8. cu_gdal.c:272  - CU_ASSERT_DOUBLE_EQUAL(gv[1].val,0.0,FLT_EPSILON)
     9. cu_gdal.c:275  -
 CU_ASSERT_DOUBLE_EQUAL(lwgeom_area(gobserved),lwgeom_area(gexpected),FLT_EPSILON)
     10. cu_gdal.c:328  - CU_ASSERT_DOUBLE_EQUAL(gv[0].val,1.8,FLT_EPSILON)
     11. cu_gdal.c:332  -
 CU_ASSERT_DOUBLE_EQUAL(lwgeom_area(gobserved),lwgeom_area(gexpected),FLT_EPSILON)
     12. cu_gdal.c:334  - CU_ASSERT_DOUBLE_EQUAL(gv[1].val,0.0,FLT_EPSILON)
     13. cu_gdal.c:337  -
 CU_ASSERT_DOUBLE_EQUAL(lwgeom_area(gobserved),lwgeom_area(gexpected),FLT_EPSILON)
 Warning 6: PNG driver doesn't support data type Float64. Only eight bit
 (Byte) and sixteen bit (UInt16) bands supported. Defaulting to Byte

   Test: test_raster_to_gdal ...passed
   Test: test_gdal_to_raster ...passed
   Test: test_gdal_warp ...passed
 Suite: raster_geometry
   Test: test_raster_envelope ...passed
   Test: test_raster_envelope_geom ...passed
   Test: test_raster_convex_hull ...passed
   Test: test_raster_surface ...passed
   Test: test_raster_perimeter ...passed
   Test: test_raster_pixel_as_polygon ...passed
   Test: test_raster_get_pixel_bilinear ...xw = 1.5, yw = 0.5, xr = 1.5, yr
 = 0.5
 xw = 1.5, yw = 0.5, value = 20, nodata = 0
 }}}

 Given debbie is not failing, I don't think it's PG16 at fault
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5366>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list