[postgis-tickets] [PostGIS] #2715: [raster]: raster regress fails when make check extension

PostGIS trac at osgeo.org
Tue Apr 22 14:09:19 PDT 2014


#2715: [raster]: raster regress fails when make check extension
--------------------+-------------------------------------------------------
 Reporter:  robe    |       Owner:  dustymugs
     Type:  defect  |      Status:  new      
 Priority:  medium  |   Milestone:           
Component:  raster  |     Version:  2.1.x    
 Keywords:          |  
--------------------+-------------------------------------------------------
 {{{
 make check RUNTESTFLAGS=--extension
 }}}

 fails on raster with

 {{{
 Creating database 'postgis_reg'
 Preparing db 'postgis_reg' using: CREATE EXTENSION postgis
 PostgreSQL 9.4devel on x86_64-w64-mingw32, compiled by gcc.exe
 (rubenvb-4.8.0) 4.8.0, 64-bit
  - 2014-04-22 20:48:50
   scripts 2.2.0dev r12486
   raster scripts 2.2.0dev r12486
   GEOS: 3.4.2-CAPI-1.8.2 r3924
   PROJ: Rel. 4.8.0, 6 March 2012
   GDAL: GDAL 1.10.0, released 2013/04/24

 Running tests

  check_gdal .. ok
  load_outdb .psql -v "VERBOSITY=terse" -tXA postgis_reg < load_outdb-
 pre.sql > /projects/postgis/tmp/2.2_pg9.4w64/test_2_tmp
  check_raster_columns .. ok
  check_raster_overviews .. ok
  rt_io .. ok
  rt_bytea .. ok
  box3d .. ok
  rt_addband .. ok
  rt_band .. ok
  rt_tile .. ok
  rt_dimensions .. ok
  rt_scale .. ok
  rt_pixelsize .. ok
  rt_upperleft .. ok
  rt_rotation .. ok
  rt_georeference .. ok
  rt_set_properties .. ok
  rt_isempty .. ok
  rt_hasnoband .. ok
  rt_metadata .. ok
  rt_rastertoworldcoord .. ok
  rt_worldtorastercoord .. ok
  rt_convexhull .. ok
  rt_band_properties .. ok
  rt_set_band_properties .. ok
  rt_pixelaspolygons .. ok
  rt_pixelaspoints .. ok
  rt_pixelascentroids .. ok
  rt_setvalues_array .. ok
  rt_summarystats .. ok
  rt_count .. ok
  rt_histogram .. ok
  rt_quantile .. ok
  rt_valuecount .. ok
  rt_valuepercent .. ok
  rt_bandmetadata .. ok
  rt_pixelvalue .. ok
  rt_neighborhood .. ok
  rt_nearestvalue .. ok
  rt_pixelofvalue .. ok
  rt_polygon .. ok
  rt_utility .. ok
  rt_fromgdalraster .. ok
  rt_asgdalraster .. ok
  rt_astiff .. ok
  rt_asjpeg .. ok
  rt_aspng .. ok
  rt_reclass .. ok
  rt_gdalwarp .. ok
  rt_asraster .. ok
  rt_dumpvalues .. ok
  rt_mapalgebraexpr .. ok
  rt_mapalgebrafct .. ok
  rt_mapalgebraexpr_2raster .. ok
  rt_mapalgebrafct_2raster .. ok
  rt_mapalgebrafctngb .. ok
  rt_mapalgebrafctngb_userfunc .. ok
  rt_intersection .. ok
  rt_clip .. ok
  rt_mapalgebra .. ok
  rt_mapalgebra_expr .. ok
  rt_mapalgebra_mask .. ok
  rt_union .. ok
  rt_invdistweight4ma .. ok
  rt_4ma .. ok
  rt_setvalues_geomval .. ok
  rt_elevation_functions .. ok
  rt_colormap .. ok
  rt_gist_relationships .. ok
  rt_intersects .. ok
  rt_samealignment .. ok
  rt_geos_relationships .. ok
  rt_iscoveragetile .. ok
  bug_test_car5 .. ok
  permitted_gdal_drivers .. failed (diff expected obtained:
 /projects/postgis/tmp/2.2_pg9.4w64/test_75_diff)
  tickets .. ok
  loader/Basic .... ok
  loader/BasicCopy .... ok
  loader/BasicFilename .... ok
  loader/BasicOutDB .... ok
  loader/Tiled10x10 .... ok
  loader/Tiled10x10Copy .... ok
  loader/Tiled8x8 .... ok
  clean .. ok
 )uninstall .. ok (4334

 Run tests: 85
 Failed: 1
 }}}


 Diff contains:


 {{{
 --- permitted_gdal_drivers_expected     2014-04-21 03:24:49 -0400
 +++ /projects/postgis/tmp/2.2_pg9.4w64/test_75_out      2014-04-22
 16:53:21 -0400
 @@ -1,3 +1,5 @@
 +ERROR:  duplicate key value violates unique constraint
 "spatial_ref_sys_pkey"
 +ERROR:  duplicate key value violates unique constraint
 "spatial_ref_sys_pkey"
  4326
  ERROR:  RASTER_fromGDALRaster: Could not open bytea with GDAL. Check that
 the bytea is of a GDAL supported format
  ERROR:  rt_band_load_offline_data: Cannot open offline raster:
 <VRTDataset rasterXSize="1000" rasterYSize="1"><VRTRasterBand band="1"
 subClass="VRTRawRasterBand"><SourceFilename>/etc/passwd</SourceFilename></VRTRasterBand></VRTDataset>

 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2715>
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