test_r_slope_aspect

./raster/r.slope.aspect – test_r_slope_aspect

Test failed

Test filetest_r_slope_aspect
Testsuite./raster/r.slope.aspect
StatusFAILED
Return code1
Number of tests5
Successful tests3
Failed tests3
Percent successful60%
Test duration0:00:01.552167
Tested modulesr.slope.aspect

Supplementary files

Standard error output (stderr)

etc/python/grass/lib/gis.py:803: DeprecationWarning: classic int division
  ('__val', c_ulong * (1024 / (8 * sizeof(c_ulong)))),
/usr/lib/python2.7/dist-packages/numpy/core/__init__.py:6: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead.
  from . import multiarray
/usr/lib/python2.7/dist-packages/numpy/core/__init__.py:7: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead.
  from . import umath
/usr/lib/python2.7/xml/etree/ElementTree.py:1627: DeprecationWarning: This method of XMLParser is deprecated.  Define doctype() method on the TreeBuilder target.
  DeprecationWarning,
.FFE..
======================================================================
ERROR: setUpClass (__main__.TestSlopeAspectAgainstItself)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.slope.aspect/testsuite/test_r_slope_aspect.py", line 112, in setUpClass
    call_module('g.region', rast='elevation')
  File "etc/python/grass/gunittest/gmodules.py", line 131, in call_module
    raise CalledModuleError(returncode, module, kwargs, errors)
CalledModuleError: Module run 1 g.region ended with error
Process ended with non-zero return code {'rast': 'elevation', 'stderr': -1, 'stdout': -1}. See the following errors:
ERROR: Raster map <elevation> not found


======================================================================
FAIL: test_limits (__main__.TestSlopeAspect)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.slope.aspect/testsuite/test_r_slope_aspect.py", line 25, in test_limits
    slope=slope, aspect=aspect)
  File "etc/python/grass/gunittest/case.py", line 1019, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <r.slope.aspect> module ended with non-zero return code (1)
Called: r.slope_aspect(elevation='elevation', slope='limits_slope', aspect='limits_aspect', format='degrees', precision='FCELL', zfactor=1.0, min_slp_allowed=0.0)
See the folowing errors:
ERROR: Raster map <elevation> not found


======================================================================
FAIL: test_limits_precent (__main__.TestSlopeAspect)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.slope.aspect/testsuite/test_r_slope_aspect.py", line 35, in test_limits_precent
    slope=slope, aspect=aspect, format='percent')
  File "etc/python/grass/gunittest/case.py", line 1019, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <r.slope.aspect> module ended with non-zero return code (1)
Called: r.slope_aspect(elevation='elevation', slope='limits_percent_slope', aspect='limits_percent_aspect', format='percent', precision='FCELL', zfactor=1.0, min_slp_allowed=0.0)
See the folowing errors:
ERROR: Raster map <elevation> not found


----------------------------------------------------------------------
Ran 5 tests in 0.472s
FAILED (failures=2, errors=1)