r_watershed_test 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,
FFFFF.
======================================================================
FAIL: test_OutputCreated (__main__.TestWatershed)
Test to see if the outputs are created
----------------------------------------------------------------------
Traceback (most recent call last):
File "raster/r.watershed/testsuite/r_watershed_test.py", line 63, in test_OutputCreated
slope_steepness=self.slopesteepness)
File "etc/python/grass/gunittest/case.py", line 1132, in assertModule
self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <r.watershed> module ended with non-zero return code (1)
Called: r.watershed(elevation='elevation', threshold=10000, accumulation='test_accumulation', drainage='test_drainage', basin='test_basin', stream='test_stream', half_basin='test_halfbasin', length_slope='test_slopelength', slope_steepness='test_slopesteepness', convergence=5, memory=300)
See the folowing errors:
SECTION 1a (of 6): Initiating Memory.
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__raster_r_watershed_r_watershed_test/cellhd/elevation': No such file or directory
ERROR: Error reading reclass file for raster map <elevation>
WARNING: Subprocess failed with exit code 1
WARNING: category information for [test_accumulation] in [__raster_r_watershed_r_watershed_test] missing or invalid
WARNING: category information for [test_drainage] in [__raster_r_watershed_r_watershed_test] missing or invalid
WARNING: category information for [test_basin] in [__raster_r_watershed_r_watershed_test] missing or invalid
WARNING: category information for [test_stream] in [__raster_r_watershed_r_watershed_test] missing or invalid
WARNING: category information for [test_halfbasin] in [__raster_r_watershed_r_watershed_test] missing or invalid
WARNING: category information for [test_slopelength] in [__raster_r_watershed_r_watershed_test] missing or invalid
WARNING: category information for [test_slopesteepness] in [__raster_r_watershed_r_watershed_test] missing or invalid
======================================================================
FAIL: test_basinValue (__main__.TestWatershed)
Check to see if the basin value is 0 or greater
----------------------------------------------------------------------
Traceback (most recent call last):
File "raster/r.watershed/testsuite/r_watershed_test.py", line 144, in test_basinValue
threshold='10000', basin=self.basin)
File "etc/python/grass/gunittest/case.py", line 1132, in assertModule
self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <r.watershed> module ended with non-zero return code (1)
Called: r.watershed(elevation='elevation', threshold=10000, basin='test_basin', convergence=5, memory=300)
See the folowing errors:
SECTION 1a (of 5): Initiating Memory.
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__raster_r_watershed_r_watershed_test/cellhd/elevation': No such file or directory
ERROR: Error reading reclass file for raster map <elevation>
WARNING: Subprocess failed with exit code 1
WARNING: category information for [test_basin] in [__raster_r_watershed_r_watershed_test] missing or invalid
======================================================================
FAIL: test_drainageDirection (__main__.TestWatershed)
Test if the drainage direction is between -8 and 8.
----------------------------------------------------------------------
Traceback (most recent call last):
File "raster/r.watershed/testsuite/r_watershed_test.py", line 136, in test_drainageDirection
threshold='100000', drainage=self.drainage)
File "etc/python/grass/gunittest/case.py", line 1132, in assertModule
self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <r.watershed> module ended with non-zero return code (1)
Called: r.watershed(elevation='elevation', threshold=100000, drainage='test_drainage', convergence=5, memory=300)
See the folowing errors:
SECTION 1a (of 5): Initiating Memory.
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__raster_r_watershed_r_watershed_test/cellhd/elevation': No such file or directory
ERROR: Error reading reclass file for raster map <elevation>
WARNING: Subprocess failed with exit code 1
WARNING: category information for [test_drainage] in [__raster_r_watershed_r_watershed_test] missing or invalid
======================================================================
FAIL: test_fourFlag (__main__.TestWatershed)
Test the -4 flag and the stream and slope lengths
----------------------------------------------------------------------
Traceback (most recent call last):
File "raster/r.watershed/testsuite/r_watershed_test.py", line 96, in test_fourFlag
length_slope=self.slopelength, overwrite=True)
File "etc/python/grass/gunittest/case.py", line 1132, in assertModule
self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <r.watershed> module ended with non-zero return code (1)
Called: r.watershed(elevation='elevation', threshold=10000, stream='test_stream', length_slope='test_slopelength', convergence=5, memory=300, overwrite=True)
See the folowing errors:
SECTION 1a (of 6): Initiating Memory.
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__raster_r_watershed_r_watershed_test/cellhd/elevation': No such file or directory
ERROR: Error reading reclass file for raster map <elevation>
WARNING: Subprocess failed with exit code 1
WARNING: category information for [test_stream] in [__raster_r_watershed_r_watershed_test] missing or invalid
WARNING: category information for [test_slopelength] in [__raster_r_watershed_r_watershed_test] missing or invalid
======================================================================
FAIL: test_thresholdsize (__main__.TestWatershed)
Test the expected range of basin output values
----------------------------------------------------------------------
Traceback (most recent call last):
File "raster/r.watershed/testsuite/r_watershed_test.py", line 123, in test_thresholdsize
threshold='100000', basin=self.basin, overwrite=True)
File "etc/python/grass/gunittest/case.py", line 1132, in assertModule
self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <r.watershed> module ended with non-zero return code (1)
Called: r.watershed(elevation='elevation', threshold=100000, basin='test_basin', convergence=5, memory=300, overwrite=True)
See the folowing errors:
SECTION 1a (of 5): Initiating Memory.
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__raster_r_watershed_r_watershed_test/cellhd/elevation': No such file or directory
ERROR: Error reading reclass file for raster map <elevation>
WARNING: Subprocess failed with exit code 1
WARNING: category information for [test_basin] in [__raster_r_watershed_r_watershed_test] missing or invalid
----------------------------------------------------------------------
Ran 6 tests in 0.524s
FAILED (failures=5)