test_temporal_raster3d_algebra

./lib/python/temporal – test_temporal_raster3d_algebra

Test failed

Test filetest_temporal_raster3d_algebra
Testsuite./lib/python/temporal
StatusFAILED
Return code1
Number of tests2
Successful tests0
Failed tests2
Percent successful0%
Test duration0:00:07.235909

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)))),
etc/python/grass/temporal/abstract_dataset.py:561: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class AbstractDatasetComparisonKeyStartTime(object):
etc/python/grass/temporal/abstract_dataset.py:610: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class AbstractDatasetComparisonKeyEndTime(object):
/usr/lib/python2.7/dist-packages/dateutil/relativedelta.py:15: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class weekday(object):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:31: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzutc(datetime.tzinfo):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:54: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzoffset(datetime.tzinfo):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:83: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzlocal(datetime.tzinfo):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:152: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class _ttinfo(object):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:191: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzfile(datetime.tzinfo):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:475: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzrange(datetime.tzinfo):
/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
Default TGIS driver / database set to:
driver: sqlite
database:
/grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__lib_python_temporal_test_temporal_raster3d_algebra/tgis/sqlite.db
etc/python/grass/temporal/core.py:505: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator
  if grassenv.has_key("TGIS_DISABLE_MAPSET_CHECK"):
etc/python/grass/temporal/core.py:510: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator
  if grassenv.has_key("TGIS_DISABLE_TIMESTAMP_WRITE"):
Creating temporal database:
/grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__lib_python_temporal_test_temporal_raster3d_algebra/tgis/sqlite.db
Gathering map information...
   0% 100%
Registering maps in the temporal database...
Registering maps in the space time raster dataset...
   0%Updating space time raster dataset...
 100%
/usr/lib/python2.7/xml/etree/ElementTree.py:1627: DeprecationWarning: This method of XMLParser is deprecated.  Define doctype() method on the TreeBuilder target.
  DeprecationWarning,
/usr/lib/python2.7/dist-packages/ply/lex.py:716: DeprecationWarning: the cmp argument is not supported in 3.x
  f.sort(lambda x,y: cmp(func_code(x[1]).co_firstlineno,func_code(y[1]).co_firstlineno))
/usr/lib/python2.7/dist-packages/ply/lex.py:724: DeprecationWarning: the cmp argument is not supported in 3.x
  s.sort(lambda x,y: (len(x[1]) < len(y[1])) - (len(x[1]) > len(y[1])))
Generating LALR tables
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: Rast3d_get_double_region: error in Rast3d_get_tile_ptr.Region
       coordinates x 24 y 0 z 0 tile index 1 offset 0
Removing empty 3D raster maps
Removing raster3D <d_0>
Removing raster3D <d_1>
FGenerating LALR tables
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: Rast3d_get_double_region: error in Rast3d_get_tile_ptr.Region
       coordinates x 0 y 0 z 0 tile index 0 offset 0
Removing empty 3D raster maps
Removing raster3D <d_0>
Removing raster3D <d_1>
F
======================================================================
FAIL: test_temporal_neighbors_1 (__main__.TestRegisterFunctions)
Simple temporal neighborhood computation test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/test_temporal_raster3d_algebra.py", line 51, in test_temporal_neighbors_1
    self.assertEqual(D.metadata.get_number_of_maps(), 2)
AssertionError: 0 != 2

======================================================================
FAIL: test_temporal_neighbors_2 (__main__.TestRegisterFunctions)
Simple temporal neighborhood computation test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/test_temporal_raster3d_algebra.py", line 66, in test_temporal_neighbors_2
    self.assertEqual(D.metadata.get_number_of_maps(), 2)
AssertionError: 0 != 2

----------------------------------------------------------------------
Ran 2 tests in 6.078s
FAILED (failures=2)