test_extract

./temporal/t.rast3d.extract – test_extract

Test failed

Testtest_extract
Testsuite./temporal/t.rast3d.extract
Test file./temporal/t.rast3d.extract/testsuite/test_extract.py
StatusFAILED
Return code1
Number of tests6
Successful tests1
Failed tests5
Percent successful17%
Test duration0:00:02.317217

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,
EEEEE.
======================================================================
ERROR: test_expression_with_empty_maps (__main__.TestRaster3dExtraction)
Perform r3.mapcalc expression and register empty maps
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast3d.extract/testsuite/test_extract.py", line 43, in setUp
    output="A",  title="A test",  description="A test",  overwrite=True)
  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='A', type='str3ds', temporaltype='absolute', semantictype='mean', title='A test', description='A test', overwrite=True). 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_num_suffix_with_expression (__main__.TestRaster3dExtraction)
Perform extract with time suffix support and test if maps exists
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast3d.extract/testsuite/test_extract.py", line 43, in setUp
    output="A",  title="A test",  description="A test",  overwrite=True)
  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='A', type='str3ds', temporaltype='absolute', semantictype='mean', title='A test', description='A test', overwrite=True). 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_selection (__main__.TestRaster3dExtraction)
Perform a simple selection by datetime
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast3d.extract/testsuite/test_extract.py", line 43, in setUp
    output="A",  title="A test",  description="A test",  overwrite=True)
  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='A', type='str3ds', temporaltype='absolute', semantictype='mean', title='A test', description='A test', overwrite=True). 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_selection_and_expression (__main__.TestRaster3dExtraction)
Perform a selection by datetime and a r3.mapcalc expression
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast3d.extract/testsuite/test_extract.py", line 43, in setUp
    output="A",  title="A test",  description="A test",  overwrite=True)
  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='A', type='str3ds', temporaltype='absolute', semantictype='mean', title='A test', description='A test', overwrite=True). 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_time_suffix_with_expression (__main__.TestRaster3dExtraction)
Perform extract with time suffix support and test if maps exists
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast3d.extract/testsuite/test_extract.py", line 43, in setUp
    output="A",  title="A test",  description="A test",  overwrite=True)
  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='A', type='str3ds', temporaltype='absolute', semantictype='mean', title='A test', description='A test', overwrite=True). 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'


----------------------------------------------------------------------
Ran 6 tests in 1.529s
FAILED (errors=5)