test_r_slope_aspect

./raster/r.slope.aspect – test_r_slope_aspect

Test failed

Testtest_r_slope_aspect
Testsuite./raster/r.slope.aspect
Test file./raster/r.slope.aspect/testsuite/test_r_slope_aspect.py
StatusFAILED
Return code1
Number of tests6
Successful tests3
Failed tests3
Percent successful50%
Test duration0:00:01.522467
Tested modulesr.slope.aspect

Supplementary files

Standard error output (stderr)

/usr/lib/python2.7/xml/etree/ElementTree.py:1627: DeprecationWarning: This method of XMLParser is deprecated.  Define doctype() method on the TreeBuilder target.
  DeprecationWarning,
.FFF..
======================================================================
FAIL: test_limits (__main__.TestSlopeAspect)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.slope.aspect/testsuite/test_r_slope_aspect.py", line 26, in test_limits
    slope=slope, aspect=aspect)
  File "etc/python/grass/gunittest/case.py", line 1132, 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', zscale=1.0, min_slope=0.0)
See the folowing errors:
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__raster_r_slope_aspect_test_r_slope_aspect/cellhd/elevation': No such file or directory
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__raster_r_slope_aspect_test_r_slope_aspect/cellhd/elevation': No such file or directory
ERROR: Unable to open header file for raster map <elevation@>


======================================================================
FAIL: test_limits_precent (__main__.TestSlopeAspect)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.slope.aspect/testsuite/test_r_slope_aspect.py", line 36, in test_limits_precent
    slope=slope, aspect=aspect, format='percent')
  File "etc/python/grass/gunittest/case.py", line 1132, 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', zscale=1.0, min_slope=0.0)
See the folowing errors:
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__raster_r_slope_aspect_test_r_slope_aspect/cellhd/elevation': No such file or directory
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__raster_r_slope_aspect_test_r_slope_aspect/cellhd/elevation': No such file or directory
ERROR: Unable to open header file for raster map <elevation@>


======================================================================
FAIL: test_slope_aspect_together (__main__.TestSlopeAspectAgainstItself)
Slope and aspect computed separately and together should be the same
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.slope.aspect/testsuite/test_r_slope_aspect.py", line 128, in test_slope_aspect_together
    aspect=s_aspect)
  File "etc/python/grass/gunittest/case.py", line 1132, 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', aspect='sa_separately_aspect', format='degrees', precision='FCELL', zscale=1.0, min_slope=0.0)
See the folowing errors:
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__raster_r_slope_aspect_test_r_slope_aspect/cellhd/elevation': No such file or directory
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__raster_r_slope_aspect_test_r_slope_aspect/cellhd/elevation': No such file or directory
ERROR: Unable to open header file for raster map <elevation@>


----------------------------------------------------------------------
Ran 6 tests in 0.573s
FAILED (failures=3)