test_aggregation_relative

./temporal/t.rast.aggregate – test_aggregation_relative

Test failed

Testtest_aggregation_relative
Testsuite./temporal/t.rast.aggregate
Test file./temporal/t.rast.aggregate/testsuite/test_aggregation_relative.py
StatusFAILED
Return code1
Number of tests4
Successful tests3
Failed tests1
Percent successful75%
Test duration0:00:10.613023
Tested modulest.rast.aggregate

Supplementary files

Standard error output (stderr)

etc/python/grass/lib/gis.py:801: DeprecationWarning: classic int division
  ('__val', c_ulong * (1024 / (8 * sizeof(c_ulong)))),
/usr/lib/python2.7/dist-packages/mx/DateTime/mxDateTime/__init__.py:9: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead.
  from mxDateTime import *
/usr/lib/python2.7/dist-packages/mx/DateTime/DateTime.py:563: DeprecationWarning: classic int division
  MaxDateTime = DateTime(_sys.maxint / 366 - 1, 12, 31)
/usr/lib/python2.7/dist-packages/mx/DateTime/DateTime.py:564: DeprecationWarning: classic int division
  MinDateTime = DateTime(-_sys.maxint / 366 + 2, 1, 1)
/usr/lib/python2.7/dist-packages/psycopg2/__init__.py:67: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead.
  from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID
etc/python/grass/temporal/abstract_dataset.py:571: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class AbstractDatasetComparisonKeyStartTime(object):
etc/python/grass/temporal/abstract_dataset.py:621: 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):
Default TGIS driver / database set to:
driver: sqlite
database:
/grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__temporal_t_rast_aggregate_test_aggregation_relative/tgis/sqlite.db
etc/python/grass/temporal/core.py:546: 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:552: 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/__temporal_t_rast_aggregate_test_aggregation_relative/tgis/sqlite.db
/usr/lib/python2.7/xml/etree/ElementTree.py:1627: DeprecationWarning: This method of XMLParser is deprecated.  Define doctype() method on the TreeBuilder target.
  DeprecationWarning,
.F..
======================================================================
FAIL: test_2 (__main__.TestAggregationRelative)
Simple test register null maps
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.aggregate/testsuite/test_aggregation_relative.py", line 86, in test_2
    nprocs=4, flags="n")
  File "etc/python/grass/gunittest/case.py", line 1132, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <t.rast.aggregate> module ended with non-zero return code (1)
Called: t.rast_aggregate(input='A', output='B', basename='b', granularity='9', method='maximum', offset=0, nprocs=4, sampling=['contains'], flags=u'n')
See the folowing errors:
   0%  33%  66% 100%
Gathering map information...
   0%ERROR: Unable to update raster map
<b_3@__temporal_t_rast_aggregate_test_aggregation_relative>. The map does
not exist.


----------------------------------------------------------------------
Ran 4 tests in 9.264s
FAILED (failures=1)