AIFDR/risk_in_a_box — Issue #66: 6 Gui tests fail on shiva
Author: uniomni
Created: 2012-01-30 07:56:47+00:00
State: open

All tests pass on my develop machine, shakti, but 6 gui tests fail on shiva - and end with a *segfault*. See stack traces below.
The installed libraries are

SHIVA:
---------------------------------------
List of QGis related packages installed
---------------------------------------
ii libqgis1.7.3 1.7.3-1~maverick1 Quantum GIS - shared libraries
ii python-qgis 1.7.3-1~maverick1 Python bindings to Quantum GIS
ii python-qgis-common 1.7.3-1~maverick1 Python bindings to Quantum GIS - architecture-independent files
ii qgis 1.7.3-1~maverick1 Geographic Information System (GIS)
ii qgis-common 1.7.3-1~maverick1 Quantum GIS - architecture-independent data
ii qgis-plugin-grass 1.7.3-1~maverick1 GRASS plugin for Quantum GIS
ii qgis-plugin-grass-common 1.7.3-1~maverick1 GRASS plugin for Quantum GIS - architecture-independent data
ii qgis-providers 1.7.3-1~maverick1 collection of data providers to Quantum GIS
ii qgis-providers-common 1.7.3-1~maverick1 collection of data providers to Quantum GIS - architecture-independent files
ii gdal-bin 1.6.3-4build1 Geospatial Data Abstraction Library - Utility programs
ii libgdal1-1.6.0 1.6.3-4build1 Geospatial Data Abstraction Library
ii python-gdal 1.6.3-4build1 Python bindings to the Geospatial Data Abstraction Library
ii libgeos-3.2.0 3.2.0-1 Geometry engine for Geographic Information Systems - C++ Library
ii libgeos-c1 3.2.0-1 Geometry engine for Geographic Information Systems - C Library
ii libgeos-dev 3.2.0-1 Geometry engine for GIS - Development files

======================================================================
FAIL: Raster layers can be clipped
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/nielso/sandpit/risk_in_a_box/gui/test_riabclipper.py", line 103, in test_clipRaster
assert myNewRasterLayer.isValid(), 'Resampled raster is not valid'
AssertionError: Resampled raster is not valid

======================================================================
FAIL: Issue47: Problem when hazard & exposure data are in different
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/nielso/sandpit/risk_in_a_box/gui/test_riabdock.py", line 475, in test_Issue47
assert '2366' in myResult, msg
AssertionError: Result not as expected: ANALYZING THIS QUESTION...

======================================================================
FAIL: GUI runs with Shakemap 2009 and Padang Buildings
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/nielso/sandpit/risk_in_a_box/gui/test_riabdock.py", line 263, in test_runEarthQuakeGuidelinesFunction
assert '2993' in myResult, msg
AssertionError: Unexpected result returned for Earthquake guidelines function Expected:
"All" count of 2993, received:
ANALYZING THIS QUESTION...

======================================================================
FAIL: Earthquake fatality function runs in GUI with Shakemap 2009
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/nielso/sandpit/risk_in_a_box/gui/test_riabdock.py", line 307, in test_runEarthquakeFatalityFunction
assert '21189932' in myResult, msg
AssertionError: Unexpected result returned for Earthquake Fatality Function Expected:
"Jumlah Penduduk" count of 21189932, received:
ANALYZING THIS QUESTION...

======================================================================
FAIL: Flood function runs in GUI with Jakarta data
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/nielso/sandpit/risk_in_a_box/gui/test_riabdock.py", line 427, in test_runFloodPopulationImpactFunction
assert '356018' in myResult, msg
AssertionError: Result not as expected: ANALYZING THIS QUESTION...

======================================================================
FAIL: Tsunami function runs in GUI with Batemans Bay model
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/nielso/sandpit/risk_in_a_box/gui/test_riabdock.py", line 357, in test_runTsunamiBuildingImpactFunction
assert '1929' in myResult, msg
AssertionError: Result not as expected: ANALYZING THIS QUESTION...

FAILED (failures=6)
Segmentation fault