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:03.387520

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 1095, in runModule
    errors=errors)
CalledModuleError: Module run 1 t.create ended with error
Process ended with non-zero return code t.create(output='precip_i', type='strds', temporaltype='absolute', semantictype='mean', title='A test integer', description='A test integer values'). See the following errors:
Traceback (most recent call last):
  File "scripts/t.create", line 86, in <module>
    main()
  File "scripts/t.create", line 68, in main
    import grass.temporal as tgis
  File "etc/python/grass/temporal/__init__.py", line 3, in <module>
    from .core import *
  File "etc/python/grass/temporal/core.py", line 44, in <module>
    from .c_libraries_interface import *
  File "etc/python/grass/temporal/c_libraries_interface.py", line 27, in <module>
    from grass.pygrass.rpc.base import RPCServerBase
  File "etc/python/grass/pygrass/rpc/__init__.py", line 21, in <module>
    from grass.pygrass.vector import *
  File "etc/python/grass/pygrass/vector/__init__.py", line 6, in <module>
    libgis.G_gisinit('')
AttributeError: 'module' object has no attribute 'G_gisinit'


======================================================================
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 1095, 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'). 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 1095, 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'). See the following errors:
ERROR: output map <prec_1d> exists. To overwrite, use the --overwrite flag


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