test_strds_to_rast3

./temporal/t.rast.to.rast3 – test_strds_to_rast3

Test failed

Testtest_strds_to_rast3
Testsuite./temporal/t.rast.to.rast3
Test file./temporal/t.rast.to.rast3/testsuite/test_strds_to_rast3.py
StatusFAILED
Return code1
Number of tests2
Successful tests0
Failed tests3
Percent successful0%
Test duration0:00:02.293578

Supplementary files

Standard error output (stderr)

/usr/lib/python2.7/xml/etree/ElementTree.py:1638: DeprecationWarning: This method of XMLParser is deprecated.  Define doctype() method on the TreeBuilder target.
  DeprecationWarning,
EEE
======================================================================
ERROR: test_3m (__main__.TestSTRDSToRast3)
Convert STRDS into 3d raster map, granularity 3 months
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.to.rast3/testsuite/test_strds_to_rast3.py", line 51, in setUp
    description="A test integer values")
  File "etc/python/grass/gunittest/case.py", line 1077, in runModule
    module = _module_from_parameters(module, **kwargs)
  File "etc/python/grass/gunittest/case.py", line 1208, in _module_from_parameters
    module = SimpleModule(module, **kwargs)
  File "etc/python/grass/gunittest/gmodules.py", line 54, in __init__
    Module.__init__(self, cmd, *args, **kargs)
  File "etc/python/grass/pygrass/modules/interface/module.py", line 593, in __init__
    self.__call__(*args, **kargs)
  File "etc/python/grass/pygrass/modules/interface/module.py", line 632, in __call__
    self.inputs[key].value = val
  File "etc/python/grass/pygrass/modules/interface/parameter.py", line 184, in _set_value
    self._value, self._rawvalue = _check_value(self, value)
  File "etc/python/grass/pygrass/modules/interface/parameter.py", line 91, in _check_value
    raise ValueError(must_val % (param.name, param.values))
ValueError: The Parameter <type>, must be one of the following values: ['raster', 'vector', 'raster_3d']

======================================================================
ERROR: test_3m_gap (__main__.TestSTRDSToRast3)
Convert STRDS with gaps into 3d raster map, granularity 3 months
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.to.rast3/testsuite/test_strds_to_rast3.py", line 28, in setUp
    self.runModule("r.mapcalc", expression="prec_1i = 100")
  File "etc/python/grass/gunittest/case.py", line 1098, in runModule
    errors=errors)
CalledModuleError: Module run 1 r.mapcalc ended with error
Process ended with non-zero return code r.mapcalc(expression='prec_1i = 100', region='current'). See the following errors:
ERROR: output map <prec_1i> exists. To overwrite, use the --overwrite flag


======================================================================
ERROR: setUpClass (__main__.TestSTRDSToRast3MultiGran)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.to.rast3/testsuite/test_strds_to_rast3.py", line 222, in setUpClass
    cls.runModule("r.mapcalc", expression="prec_1d = 100.0")
  File "etc/python/grass/gunittest/case.py", line 1098, in runModule
    errors=errors)
CalledModuleError: Module run 1 r.mapcalc ended with error
Process ended with non-zero return code r.mapcalc(expression='prec_1d = 100.0', region='current'). See the following errors:
ERROR: output map <prec_1d> exists. To overwrite, use the --overwrite flag


----------------------------------------------------------------------
Ran 2 tests in 1.543s
FAILED (errors=3)