test_aggregation_absolute

./temporal/t.rast.aggregate – test_aggregation_absolute

Test failed

Testtest_aggregation_absolute
Testsuite./temporal/t.rast.aggregate
Test file./temporal/t.rast.aggregate/testsuite/test_aggregation_absolute.py
StatusFAILED
Return code1
Number of tests5
Successful tests1
Failed tests4
Percent successful20%
Test duration0:00:20.471741
Tested modulest.rast.aggregate

Supplementary files

Standard error output (stderr)

/usr/lib/python2.7/dist-packages/numpy/core/__init__.py:14: 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:21: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead.
  from . import umath
/usr/lib/python2.7/dist-packages/numpy/random/__init__.py:99: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead.
  from .mtrand import *
etc/python/grass/pygrass/raster/history.py:14: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class History(object):
/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/psycopg2/__init__.py:50: 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:569: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class AbstractDatasetComparisonKeyStartTime(object):
etc/python/grass/temporal/abstract_dataset.py:619: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class AbstractDatasetComparisonKeyEndTime(object):
/usr/lib/python2.7/dist-packages/dateutil/relativedelta.py:10: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class weekday(object):
/usr/lib/python2.7/dist-packages/dateutil/relativedelta.py:41: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class relativedelta(object):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:48: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzutc(datetime.tzinfo):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:73: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzoffset(datetime.tzinfo):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:104: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzlocal(datetime.tzinfo):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:175: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class _ttinfo(object):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:215: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzfile(datetime.tzinfo):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:507: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzrange(datetime.tzinfo):
Default TGIS driver / database set to:
driver: sqlite
database: $GISDBASE/$LOCATION_NAME/$MAPSET/tgis/sqlite.db
WARNING: Temporal database connection defined as:
/grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__temporal_t_rast_aggregate_test_aggregation_absolute/tgis/sqlite.db
But database file does not exist.
Creating temporal database: /grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__temporal_t_rast_aggregate_test_aggregation_absolute/tgis/sqlite.db
/usr/lib/python2.7/xml/etree/ElementTree.py:1638: DeprecationWarning: This method of XMLParser is deprecated.  Define doctype() method on the TreeBuilder target.
  DeprecationWarning,
F.FFF
======================================================================
FAIL: test_aggregation_1month (__main__.TestAggregationAbsolute)
Aggregation one month
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.aggregate/testsuite/test_aggregation_absolute.py", line 102, in test_aggregation_1month
    precision=2, sep="=")
  File "etc/python/grass/gunittest/case.py", line 254, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: t.info input=B type=strds -g difference:
mismatch values (key, reference, actual): [('end_time', '2001-04-01 00:00:00', u"'2001-04-01 00:00:00'"), ('granularity', '1 month', u"'1 month'"), ('start_time', '2001-01-01 00:00:00', u"'2001-01-01 00:00:00'")]
command: t.info input=B type=strds -g {}

======================================================================
FAIL: test_aggregation_2months (__main__.TestAggregationAbsolute)
Aggregation two month
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.aggregate/testsuite/test_aggregation_absolute.py", line 143, in test_aggregation_2months
    precision=2, sep="=")
  File "etc/python/grass/gunittest/case.py", line 254, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: t.info input=B type=strds -g difference:
mismatch values (key, reference, actual): [('end_time', '2001-05-01 00:00:00', u"'2001-05-01 00:00:00'"), ('granularity', '2 months', u"'2 months'"), ('start_time', '2001-01-01 00:00:00', u"'2001-01-01 00:00:00'")]
command: t.info input=B type=strds -g {}

======================================================================
FAIL: test_aggregation_3months (__main__.TestAggregationAbsolute)
Aggregation three month
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.aggregate/testsuite/test_aggregation_absolute.py", line 176, in test_aggregation_3months
    precision=2, sep="=")
  File "etc/python/grass/gunittest/case.py", line 254, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: t.info input=B type=strds -g difference:
mismatch values (key, reference, actual): [('end_time', '2001-04-01 00:00:00', u"'2001-04-01 00:00:00'"), ('granularity', '3 months', u"'3 months'"), ('start_time', '2001-01-01 00:00:00', u"'2001-01-01 00:00:00'")]
command: t.info input=B type=strds -g {}

======================================================================
FAIL: test_disaggregation (__main__.TestAggregationAbsolute)
Disaggregation with empty maps
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.aggregate/testsuite/test_aggregation_absolute.py", line 78, in test_disaggregation
    precision=2, sep="=")
  File "etc/python/grass/gunittest/case.py", line 254, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: t.info input=B type=strds -g difference:
mismatch values (key, reference, actual): [('end_time', '2001-04-25 00:00:00', u"'2001-04-25 00:00:00'"), ('granularity', '2 days', u"'2 days'"), ('start_time', '2001-01-15 00:00:00', u"'2001-01-15 00:00:00'")]
command: t.info input=B type=strds -g {}

----------------------------------------------------------------------
Ran 5 tests in 19.617s
FAILED (failures=4)