test_assertions_rast3d

./lib/python/gunittest – test_assertions_rast3d

Test failed

Test filetest_assertions_rast3d
Testsuite./lib/python/gunittest
StatusFAILED
Return code1
Number of tests6
Successful tests4
Failed tests2
Percent successful67%
Test duration0:00:02.752887

Supplementary files

Standard error output (stderr)

etc/python/grass/lib/gis.py:803: DeprecationWarning: classic int division
  ('__val', c_ulong * (1024 / (8 * sizeof(c_ulong)))),
/usr/lib/python2.7/dist-packages/numpy/core/__init__.py:6: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead.
  from . import multiarray
/usr/lib/python2.7/dist-packages/numpy/core/__init__.py:7: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead.
  from . import umath
/usr/lib/python2.7/xml/etree/ElementTree.py:1627: DeprecationWarning: This method of XMLParser is deprecated.  Define doctype() method on the TreeBuilder target.
  DeprecationWarning,
..EE..
======================================================================
ERROR: test_assertRasters3dNoDifference (__main__.TestRaster3dMapAssertions)
Test basic usage of assertRastersNoDifference
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/gunittest/testsuite/test_assertions_rast3d.py", line 103, in test_assertRasters3dNoDifference
    msg="The same maps should have no difference")
  File "etc/python/grass/gunittest/case.py", line 672, in assertRasters3dNoDifference
    'assertRasters3dNoDifference')
  File "etc/python/grass/gunittest/case.py", line 561, in _compute_difference_raster3d
    s=second))
  File "etc/python/grass/gunittest/gmodules.py", line 131, in call_module
    raise CalledModuleError(returncode, module, kwargs, errors)
CalledModuleError: Module run 1 r3.mapcalc ended with error
Process ended with non-zero return code {'stdin': -1, 'stderr': -1, 'stdout': -1}. See the following errors:
ERROR: Rast3d_get_double_region: error in Rast3d_get_tile_ptr.Region
       coordinates x 0 y 0 z 0 tile index 0 offset 0


======================================================================
ERROR: test_assertRasters3dNoDifference_mean (__main__.TestRaster3dMapAssertions)
Test usage of assertRastersNoDifference with mean
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/gunittest/testsuite/test_assertions_rast3d.py", line 117, in test_assertRasters3dNoDifference_mean
    msg="The difference of same maps should have small mean")
  File "etc/python/grass/gunittest/case.py", line 687, in assertRasters3dNoDifference
    precision=precision, msg=msg)
  File "etc/python/grass/gunittest/case.py", line 699, in assertRasters3dDifference
    'assertRasters3dDifference')
  File "etc/python/grass/gunittest/case.py", line 561, in _compute_difference_raster3d
    s=second))
  File "etc/python/grass/gunittest/gmodules.py", line 131, in call_module
    raise CalledModuleError(returncode, module, kwargs, errors)
CalledModuleError: Module run 1 r3.mapcalc ended with error
Process ended with non-zero return code {'stdin': -1, 'stderr': -1, 'stdout': -1}. See the following errors:
ERROR: Rast3d_get_double_region: error in Rast3d_get_tile_ptr.Region
       coordinates x 0 y 0 z 0 tile index 0 offset 0


----------------------------------------------------------------------
Ran 6 tests in 1.673s
FAILED (errors=2)