❌ Test failed
Test | test_rsun |
Testsuite | ./raster/r.sun |
Test file | ./raster/r.sun/testsuite/test_rsun.py |
Status | FAILED |
Return code | 1 |
Number of tests | 4 |
Successful tests | 2 |
Failed tests | 2 |
Percent successful | 50% |
Test duration | 0:00:02.942470 |
Tested modules | r.sun |
/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.F. ====================================================================== FAIL: test_more_threads (__main__.TestRSunMode1) ---------------------------------------------------------------------- Traceback (most recent call last): File "raster/r.sun/testsuite/test_rsun.py", line 96, in test_more_threads self.assertRastersNoDifference(self.glob_rad, self.glob_rad_threads, precision=1e-8) File "etc/python/grass/gunittest/case.py", line 771, in assertRastersNoDifference reference=statistics, msg=msg) File "etc/python/grass/gunittest/case.py", line 254, in assertModuleKeyValue self.fail(self._formatMessage(msg, stdMsg)) AssertionError: r.info map=tmp_2ada531f9945483e8cd4e6bfdcc7b8bb -r difference: mismatch values (key, reference, actual): [('max', 1e-08, u'NULL'), ('min', -1e-08, u'NULL')] command: r.info map=tmp_2ada531f9945483e8cd4e6bfdcc7b8bb -r {'map': 'tmp_2ada531f9945483e8cd4e6bfdcc7b8bb', 'flags': 'r'} ====================================================================== FAIL: test_more_threads (__main__.TestRSunMode2) ---------------------------------------------------------------------- Traceback (most recent call last): File "raster/r.sun/testsuite/test_rsun.py", line 41, in test_more_threads self.assertRastersNoDifference(self.glob_rad, self.glob_rad_threads, precision=1e-8) File "etc/python/grass/gunittest/case.py", line 771, in assertRastersNoDifference reference=statistics, msg=msg) File "etc/python/grass/gunittest/case.py", line 254, in assertModuleKeyValue self.fail(self._formatMessage(msg, stdMsg)) AssertionError: r.info map=tmp_63c3b9867b1f446886d8a6293ab62278 -r difference: mismatch values (key, reference, actual): [('max', 1e-08, u'NULL'), ('min', -1e-08, u'NULL')] command: r.info map=tmp_63c3b9867b1f446886d8a6293ab62278 -r {'map': 'tmp_63c3b9867b1f446886d8a6293ab62278', 'flags': 'r'} ---------------------------------------------------------------------- Ran 4 tests in 2.298s FAILED (failures=2)