-
-
Notifications
You must be signed in to change notification settings - Fork 416
Open
Labels
Milestone
Description
Describe the bug
The r3flow_test.py::test_flowlines fails on macOS arm64 platform (it succeeds on x86_64 however).
See details below for test results:
Details
r3flow_test:
./raster3d/r3.flow – r3flow_test
❌ Test failed
Test r3flow_test
Testsuite ./raster3d/r3.flow
Test file ./raster3d/r3.flow/testsuite/r3flow_test.py
Status FAILED
Return code 1
Number of tests 2
Successful tests 1
Failed tests 1
Percent successful 50%
Test duration 0:00:01.110401
Tested modules r3.flow
Supplementary files
standard output (stdout)
standard error output (stderr)
Standard error output (stderr)
F.
======================================================================
FAIL: test_flowlines (__main__.FlowlineTest.test_flowlines)
----------------------------------------------------------------------
Traceback (most recent call last):
File "raster3d/r3.flow/testsuite/r3flow_test.py", line 143, in test_flowlines
self.assertRaster3dFitsUnivar(
File "etc/python/grass/gunittest/case.py", line 337, in assertRaster3dFitsUnivar
self.assertModuleKeyValue(
File "etc/python/grass/gunittest/case.py", line 271, in assertModuleKeyValue
self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r3.univar map=test_flowaccum percentile=90.0 separator== -g difference:
mismatch values (key, reference, actual): [('coeff_var', 177.119169754436, 177.793368943374), ('max', 89, 90), ('range', 89, 90), ('stddev', 11.3061070026581, 11.3491433842187), ('variance', 127.828055555556, 128.803055555556)]
command: r3.univar map=test_flowaccum percentile=90.0 separator== -g {'map': 'test_flowaccum', 'separator': '=', 'flags': 'g'}
----------------------------------------------------------------------
Ran 2 tests in 1.041s
FAILED (failures=1)
r3flow_test stdout:
0..2..4..6..8..10..12..14..16..18..20..22..24..26..28..30..32..34..36..38..40..42..44..46..48..50..52..54..56..58..60..62..64..66..68..70..72..74..76..78..80..82..84..86..88..90..92..94..96..98..100
Building topology for vector map <test_flowline@__raster3d_r3_flow_r3flow_test_Mac_1706880943880_local_28829>...
Registering primitives...
r3flow_test stderr:
F.
======================================================================
FAIL: test_flowlines (__main__.FlowlineTest.test_flowlines)
----------------------------------------------------------------------
Traceback (most recent call last):
File "raster3d/r3.flow/testsuite/r3flow_test.py", line 143, in test_flowlines
self.assertRaster3dFitsUnivar(
File "etc/python/grass/gunittest/case.py", line 337, in assertRaster3dFitsUnivar
self.assertModuleKeyValue(
File "etc/python/grass/gunittest/case.py", line 271, in assertModuleKeyValue
self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r3.univar map=test_flowaccum percentile=90.0 separator== -g difference:
mismatch values (key, reference, actual): [('coeff_var', 177.119169754436, 177.793368943374), ('max', 89, 90), ('range', 89, 90), ('stddev', 11.3061070026581, 11.3491433842187), ('variance', 127.828055555556, 128.803055555556)]
command: r3.univar map=test_flowaccum percentile=90.0 separator== -g {'map': 'test_flowaccum', 'separator': '=', 'flags': 'g'}
----------------------------------------------------------------------
Ran 2 tests in 1.041s
FAILED (failures=1)
<\details>
Reactions are currently unavailable