[postgis-devel] [wktraster] Core tests failure for r5841

Jorge Arévalo jorge.arevalo at deimos-space.com
Tue Aug 24 03:08:07 PDT 2010


make post-install-check works for me too... Maybe is a problem with
PostGIS/GEOS/PROJ versions... here my versions

 PostgreSQL 8.4.4 on i486-pc-linux-gnu, compiled by GCC gcc-4.4.real
(Ubuntu 4.4.1-4ubuntu8) 4.4.1, 32-bit
 Postgis 1.4.2 - 2010-08-05 17:36:12
   GEOS: 3.3.0-CAPI-1.6.1
   PROJ: Rel. 4.7.1, 23 September 2009
 WKTRaster 0.1.6d - 2010-08-18 13:49:03

I'll do the test with a newer version of postgis (2.0.0SVN, like you,
for example).

A minor issue: the rtpostgis_reg database created for postinstall
check is not deleted by default. Mateusz, did you change it for any
reason? (r5822 was the previous version)

2010/8/24 Mateusz Loskot <mateusz at loskot.net>:
> On 24/08/10 10:39, Jorge Arévalo wrote:
>>
>> On Mon, Aug 23, 2010 at 11:11 PM, Pierre Racine
>> <Pierre.Racine at sbf.ulaval.ca>  wrote:
>>>
>>> Could you test the last one. Thanks. Sorry for that my C is a bit rusty.
>>
>> OK. make check is working fine for me now.
>
> Works for me too, however regression test is failing:L
>
>
> mloskot at vb-ubuntu910-x64:~/dev/wktraster/_svn/trunk$ make post-install-check
>
> ...
> Creating spatial db rtpostgis_reg
> TMPDIR is /tmp/rtpgis_reg_4435
>
>  PostgreSQL 8.4.4 on x86_64-pc-linux-gnu, compiled by GCC gcc-4.4.real
> (Ubuntu 4.4.3-4ubuntu5) 4.4.3, 64-bit
>  Postgis 2.0.0SVN - 2010-08-04 11:37:17
>   GEOS: 3.3.0-CAPI-1.7.0
>   PROJ: Rel. 4.7.1, 23 September 2009
>  WKTRaster 0.1.6d - 2010-08-24 09:14:21
>
> Running tests
>
>  check_raster_columns. ok
>  check_raster_overviews. ok
>  rt_io. ok
>  create_rt_bytea_test. ok
>  rt_bytea. ok
>  create_rt_box2d_test. ok
>  rt_box2d. ok
>  rt_addband. failed (diff expected obtained:
> /tmp/rtpgis_reg_4435/test_8_diff)
>  create_rt_properties_test. ok
>  rt_dimensions. ok
>  rt_pixelsize. ok
>  rt_upperleft. ok
>  rt_rotation. ok
>  rt_georeference. ok
>  rt_set_properties. ok
>  create_rt_band_properties_test. ok
>  rt_band_properties. ok
>  rt_set_band_properties. ok
>  rt_pixelvalue. ok
>  create_rt_utility_test. ok
>  rt_utility. ok
>  create_rt_gist_test. ok
>  rt_above. ok
>  rt_below. ok
>  rt_contained. ok
>  rt_contain. ok
>  rt_left. ok
>  rt_overabove. ok
>  rt_overbelow. ok
>  rt_overlap. ok
>  rt_overleft. ok
>  rt_overright. ok
>  rt_right. ok
>  rt_same. ok
>  rt_spatial_relationship. ok
>  bug_test_car5. ok
>
> Run tests: 36
> Failed: 1
> make[2]: Leaving directory
> `/home/mloskot/dev/wktraster/_svn/trunk/test/regress'
> make[1]: Leaving directory `/home/mloskot/dev/wktraster/_svn/trunk/test'
> mloskot at vb-ubuntu910-x64:~/dev/wktraster/_svn/trunk$ cat
> /tmp/rtpgis_reg_4435/test_8_diff
> *** rt_addband_expected 2010-08-23 16:51:59.000000000 +0100
> --- /tmp/rtpgis_reg_4435/test_8_out     2010-08-24 10:15:19.000000000 +0100
> ***************
> *** 45,52 ****
>  154
>  WARNING:  Initial pixel value for 8BUI band got truncated from 256.000000
> to 255
>  255
> ! WARNING:  Initial pixel value for 16BSI band got truncated from
> -32769.000000 to -32768
> ! -32768
>  -32768
>  0
>  32767
> --- 45,52 ----
>  154
>  WARNING:  Initial pixel value for 8BUI band got truncated from 256.000000
> to 255
>  255
> ! WARNING:  Initial pixel value for 16BSI band got truncated from
> -32769.000000 to 32767
> ! 32767
>  -32768
>  0
>  32767
> ***************
> *** 54,61 ****
>  -32768
>  WARNING:  Initial pixel value for 16BSI band got truncated from 21.460000
> to 21
>  21
> ! WARNING:  Initial pixel value for 16BSI band got truncated from
> 210000.460000 to -32768
> ! -32768
>  WARNING:  Initial pixel value for 16BUI band got truncated from -1.000000
> to 65535
>  65535
>  0
> --- 54,61 ----
>  -32768
>  WARNING:  Initial pixel value for 16BSI band got truncated from 21.460000
> to 21
>  21
> ! WARNING:  Initial pixel value for 16BSI band got truncated from
> 210000.460000 to 13392
> ! 13392
>  WARNING:  Initial pixel value for 16BUI band got truncated from -1.000000
> to 65535
>  65535
>  0
> mloskot at vb-ubuntu910-x64:~/dev/wktraster/_svn/trunk$
>
>
> Best regards,
> --
> Mateusz Loskot, http://mateusz.loskot.net
>



-- 
Jorge Arévalo
DEIMOS Space
Internet & Mobilty Division
Ronda de Poniente 19. Edificio Fiteni VI, portal 2, 2º
28760 Tres Cantos (Madrid)
Tel: +34 91 806 34 50 - ext: 155
jorge.arevalo at deimos-space.com
http://gis4free.wordpress.com



More information about the postgis-devel mailing list