Opened 11 years ago

Closed 11 years ago

#2715 closed defect (fixed)

[raster]: raster regress fails when make check extension

Reported by: robe Owned by: dustymugs
Priority: medium Milestone: PostGIS 2.2.0
Component: raster Version: master
Keywords: history Cc:

Description

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>

Change History (3)

comment:1 by robe, 11 years ago

Milestone: PostGIS 2.2.0
Version: 2.1.xtrunk

comment:2 by dustymugs, 11 years ago

Status: newassigned

comment:3 by dustymugs, 11 years ago

Keywords: history added
Resolution: fixed
Status: assignedclosed

Fixed in r12488 for -trunk. Fixed in r12489 for 2.1

Note: See TracTickets for help on using tickets.