❌ Test failed
Test | test_accumulation |
Testsuite | ./temporal/t.rast.accumulate |
Test file | ./temporal/t.rast.accumulate/testsuite/test_accumulation.py |
Status | FAILED |
Return code | 1 |
Number of tests | 10 |
Successful tests | 8 |
Failed tests | 4 |
Percent successful | 80% |
Test duration | 0:00:18.828548 |
Tested modules | t.rast.accumulate |
/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:12: 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_accumulate_test_accumulation/tgis/sqlite.db But database file does not exist. Creating temporal database: /grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__temporal_t_rast_accumulate_test_accumulation/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, .......FEFE. ====================================================================== ERROR: test_count3_suffix (__main__.TestAccumulate) ---------------------------------------------------------------------- Traceback (most recent call last): File "temporal/t.rast.accumulate/testsuite/test_accumulation.py", line 78, in tearDown self.runModule("t.remove", flags="rf", type="strds", inputs="B") File "etc/python/grass/gunittest/case.py", line 1095, in runModule errors=errors) CalledModuleError: Module run 1 t.remove ended with error Process ended with non-zero return code t.remove(inputs=['B'], type='strds', flags=u'rf'). See the following errors: ERROR: Space time raster dataset <B> not found ====================================================================== ERROR: test_count_suffix (__main__.TestAccumulate) ---------------------------------------------------------------------- Traceback (most recent call last): File "temporal/t.rast.accumulate/testsuite/test_accumulation.py", line 78, in tearDown self.runModule("t.remove", flags="rf", type="strds", inputs="B") File "etc/python/grass/gunittest/case.py", line 1095, in runModule errors=errors) CalledModuleError: Module run 1 t.remove ended with error Process ended with non-zero return code t.remove(inputs=['B'], type='strds', flags=u'rf'). See the following errors: ERROR: Space time raster dataset <B> not found ====================================================================== FAIL: test_count3_suffix (__main__.TestAccumulate) ---------------------------------------------------------------------- Traceback (most recent call last): File "temporal/t.rast.accumulate/testsuite/test_accumulation.py", line 226, in test_count3_suffix overwrite=True, verbose=True) File "etc/python/grass/gunittest/case.py", line 1161, in assertModule self.fail(self._formatMessage(msg, stdmsg)) AssertionError: Running <t.rast.accumulate> module ended with non-zero return code (1) Called: t.rast_accumulate(input='A', output='B', start='2001-01-01', stop='2001-01-05', cycle='7 days', granularity='1 day', basename='b', suffix='num%03', limits=[0, 40], method='gdd', overwrite=True, verbose=True) See the following errors: Processing cycle 2001-01-01 00:00:00 - 2001-01-05 00:00:00 Traceback (most recent call last): File "scripts/t.rast.accumulate", line 538, in <module> main() File "scripts/t.rast.accumulate", line 399, in main output_map_name = tgis.create_numeric_suffic(base, count, time_suffix) AttributeError: 'module' object has no attribute 'create_numeric_suffic' ====================================================================== FAIL: test_count_suffix (__main__.TestAccumulate) ---------------------------------------------------------------------- Traceback (most recent call last): File "temporal/t.rast.accumulate/testsuite/test_accumulation.py", line 217, in test_count_suffix overwrite=True, verbose=True) File "etc/python/grass/gunittest/case.py", line 1161, in assertModule self.fail(self._formatMessage(msg, stdmsg)) AssertionError: Running <t.rast.accumulate> module ended with non-zero return code (1) Called: t.rast_accumulate(input='A', output='B', start='2001-01-01', stop='2001-01-05', cycle='7 days', granularity='1 day', basename='b', suffix='num', limits=[0, 40], method='gdd', overwrite=True, verbose=True) See the following errors: Processing cycle 2001-01-01 00:00:00 - 2001-01-05 00:00:00 Traceback (most recent call last): File "scripts/t.rast.accumulate", line 538, in <module> main() File "scripts/t.rast.accumulate", line 399, in main output_map_name = tgis.create_numeric_suffic(base, count, time_suffix) AttributeError: 'module' object has no attribute 'create_numeric_suffic' ---------------------------------------------------------------------- Ran 10 tests in 18.005s FAILED (failures=2, errors=2)