Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r.in.pdal tests mostly fail #52

Open
wenzeslaus opened this issue Dec 13, 2021 · 0 comments
Open

r.in.pdal tests mostly fail #52

wenzeslaus opened this issue Dec 13, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@wenzeslaus
Copy link
Member

Running ./raster/r.in.pdal/testsuite/test_r_in_pdal_binning.py...
========================================================================
FFFFFF.FFFFFF
======================================================================
FAIL: test_method_coeff_var (__main__.BinningTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.in.pdal/testsuite/test_r_in_pdal_binning.py", line 271, in test_method_coeff_var
    self.assertRastersEqual(self.bin_raster, self.ref_raster, 0.0001)
  File "etc/python/grass/gunittest/case.py", line 1053, in assertRastersEqual
    self.assertModuleKeyValue(
  File "etc/python/grass/gunittest/case.py", line 282, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r.info map=tmp_a103e61f2a7e4a32b3d54e401a454461 -r difference:
mismatch values (key, reference, actual): [('max', 0, 1)]
command: r.info map=tmp_a103e61f2a7e4a32b3d54e401a454461 -r {'map': 'tmp_a103e61f2a7e4a32b3d54e401a454461', 'flags': 'r'}

======================================================================
FAIL: test_method_max (__main__.BinningTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.in.pdal/testsuite/test_r_in_pdal_binning.py", line 139, in test_method_max
    self.assertRastersEqual(self.bin_raster, self.ref_raster, 0)
  File "etc/python/grass/gunittest/case.py", line 1053, in assertRastersEqual
    self.assertModuleKeyValue(
  File "etc/python/grass/gunittest/case.py", line 282, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r.info map=tmp_4206b4a16e6a48bfae2231987c2f5de4 -r difference:
mismatch values (key, reference, actual): [('max', 0, 1)]
command: r.info map=tmp_4206b4a16e6a48bfae2231987c2f5de4 -r {'map': 'tmp_4206b4a16e6a48bfae2231987c2f5de4', 'flags': 'r'}

======================================================================
FAIL: test_method_mean (__main__.BinningTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.in.pdal/testsuite/test_r_in_pdal_binning.py", line 205, in test_method_mean
    self.assertRastersEqual(self.bin_raster, self.ref_raster, 0.0001)
  File "etc/python/grass/gunittest/case.py", line 1053, in assertRastersEqual
    self.assertModuleKeyValue(
  File "etc/python/grass/gunittest/case.py", line 282, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r.info map=tmp_b6c4c39841f547c18e6c813741cf4c41 -r difference:
mismatch values (key, reference, actual): [('max', 0, 1)]
command: r.info map=tmp_b6c4c39841f547c18e6c813741cf4c41 -r {'map': 'tmp_b6c4c39841f547c18e6c813741cf4c41', 'flags': 'r'}

======================================================================
FAIL: test_method_median (__main__.BinningTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.in.pdal/testsuite/test_r_in_pdal_binning.py", line 293, in test_method_median
    self.assertRastersEqual(self.bin_raster, self.ref_raster, 0.0001)
  File "etc/python/grass/gunittest/case.py", line 1053, in assertRastersEqual
    self.assertModuleKeyValue(
  File "etc/python/grass/gunittest/case.py", line 282, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r.info map=tmp_6a173a339de649a88d69d531bf9744c7 -r difference:
mismatch values (key, reference, actual): [('max', 0, 1)]
command: r.info map=tmp_6a173a339de649a88d69d531bf9744c7 -r {'map': 'tmp_6a173a339de649a88d69d531bf9744c7', 'flags': 'r'}

======================================================================
FAIL: test_method_min (__main__.BinningTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.in.pdal/testsuite/test_r_in_pdal_binning.py", line 117, in test_method_min
    self.assertRastersEqual(self.bin_raster, self.ref_raster, 0)
  File "etc/python/grass/gunittest/case.py", line 1053, in assertRastersEqual
    self.assertModuleKeyValue(
  File "etc/python/grass/gunittest/case.py", line 282, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r.info map=tmp_859cc7d20b5b43f89d00db40b0b287be -r difference:
mismatch values (key, reference, actual): [('max', 0, 1)]
command: r.info map=tmp_859cc7d20b5b43f89d00db40b0b287be -r {'map': 'tmp_859cc7d20b5b43f89d00db40b0b287be', 'flags': 'r'}

======================================================================
FAIL: test_method_mode (__main__.BinningTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.in.pdal/testsuite/test_r_in_pdal_binning.py", line 315, in test_method_mode
    self.assertRastersEqual(self.bin_raster, self.ref_raster, 0)
  File "etc/python/grass/gunittest/case.py", line 1053, in assertRastersEqual
    self.assertModuleKeyValue(
  File "etc/python/grass/gunittest/case.py", line 282, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r.info map=tmp_fd14a2aa7ed34f8fa44437d6bfe608cc -r difference:
mismatch values (key, reference, actual): [('max', 0, 1)]
command: r.info map=tmp_fd14a2aa7ed34f8fa44437d6bfe608cc -r {'map': 'tmp_fd14a2aa7ed34f8fa44437d6bfe608cc', 'flags': 'r'}

======================================================================
FAIL: test_method_range (__main__.BinningTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.in.pdal/testsuite/test_r_in_pdal_binning.py", line 161, in test_method_range
    self.assertRastersEqual(self.bin_raster, self.ref_raster, 0)
  File "etc/python/grass/gunittest/case.py", line 1053, in assertRastersEqual
    self.assertModuleKeyValue(
  File "etc/python/grass/gunittest/case.py", line 282, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r.info map=tmp_c66744a876e84cc2ae929e0e6b387cb2 -r difference:
mismatch values (key, reference, actual): [('max', 0, 1)]
command: r.info map=tmp_c66744a876e84cc2ae929e0e6b387cb2 -r {'map': 'tmp_c66744a876e84cc2ae929e0e6b387cb2', 'flags': 'r'}

======================================================================
FAIL: test_method_sidnmax (__main__.BinningTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.in.pdal/testsuite/test_r_in_pdal_binning.py", line 337, in test_method_sidnmax
    self.assertRastersEqual(self.bin_raster, self.ref_raster, 0)
  File "etc/python/grass/gunittest/case.py", line 1053, in assertRastersEqual
    self.assertModuleKeyValue(
  File "etc/python/grass/gunittest/case.py", line 282, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r.info map=tmp_e20a198bd54846e083bf7f2f94ef4de3 -r difference:
mismatch values (key, reference, actual): [('max', 0, 1)]
command: r.info map=tmp_e20a198bd54846e083bf7f2f94ef4de3 -r {'map': 'tmp_e20a198bd54846e083bf7f2f94ef4de3', 'flags': 'r'}

======================================================================
FAIL: test_method_sidnmin (__main__.BinningTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.in.pdal/testsuite/test_r_in_pdal_binning.py", line 359, in test_method_sidnmin
    self.assertRastersEqual(self.bin_raster, self.ref_raster, 0)
  File "etc/python/grass/gunittest/case.py", line 1053, in assertRastersEqual
    self.assertModuleKeyValue(
  File "etc/python/grass/gunittest/case.py", line 282, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r.info map=tmp_b5a2462a76374c058140e55c6e6b2b96 -r difference:
mismatch values (key, reference, actual): [('max', 0, 1)]
command: r.info map=tmp_b5a2462a76374c058140e55c6e6b2b96 -r {'map': 'tmp_b5a2462a76374c058140e55c6e6b2b96', 'flags': 'r'}

======================================================================
FAIL: test_method_stddev (__main__.BinningTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.in.pdal/testsuite/test_r_in_pdal_binning.py", line 227, in test_method_stddev
    self.assertRastersEqual(self.bin_raster, self.ref_raster, 0.0001)
  File "etc/python/grass/gunittest/case.py", line 1053, in assertRastersEqual
    self.assertModuleKeyValue(
  File "etc/python/grass/gunittest/case.py", line 282, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r.info map=tmp_b984db50d80d42f4af54b2219e442ae7 -r difference:
mismatch values (key, reference, actual): [('max', 0, 1)]
command: r.info map=tmp_b984db50d80d42f4af54b2219e442ae7 -r {'map': 'tmp_b984db50d80d42f4af54b2219e442ae7', 'flags': 'r'}

======================================================================
FAIL: test_method_sum (__main__.BinningTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.in.pdal/testsuite/test_r_in_pdal_binning.py", line 183, in test_method_sum
    self.assertRastersEqual(self.bin_raster, self.ref_raster, 0)
  File "etc/python/grass/gunittest/case.py", line 1053, in assertRastersEqual
    self.assertModuleKeyValue(
  File "etc/python/grass/gunittest/case.py", line 282, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r.info map=tmp_0a9bacc234c64cfebe242ce222b03485 -r difference:
mismatch values (key, reference, actual): [('max', 0, 1)]
command: r.info map=tmp_0a9bacc234c64cfebe242ce222b03485 -r {'map': 'tmp_0a9bacc234c64cfebe242ce222b03485', 'flags': 'r'}

======================================================================
FAIL: test_method_variance (__main__.BinningTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.in.pdal/testsuite/test_r_in_pdal_binning.py", line 249, in test_method_variance
    self.assertRastersEqual(self.bin_raster, self.ref_raster, 0.0001)
  File "etc/python/grass/gunittest/case.py", line 1053, in assertRastersEqual
    self.assertModuleKeyValue(
  File "etc/python/grass/gunittest/case.py", line 282, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r.info map=tmp_ef672d87a9394f90880b5be37e0dac97 -r difference:
mismatch values (key, reference, actual): [('max', 0, 1)]
command: r.info map=tmp_ef672d87a9394f90880b5be37e0dac97 -r {'map': 'tmp_ef672d87a9394f90880b5be37e0dac97', 'flags': 'r'}

----------------------------------------------------------------------
Ran 13 tests in 32.624s
FAILED (failures=12)
========================================================================
FAILED ./raster/r.in.pdal/testsuite/test_r_in_pdal_binning.py (12 tests failed)
Running ./raster/r.in.pdal/testsuite/test_r_in_pdal_selection.py...
========================================================================
.FFF
======================================================================
FAIL: test_dimension (__main__.SelectionTest)
Test LAS dimension selection
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.in.pdal/testsuite/test_r_in_pdal_selection.py", line 100, in test_dimension
    self.assertRastersEqual(self.imp_raster, self.ref_raster, 0)
  File "etc/python/grass/gunittest/case.py", line 1053, in assertRastersEqual
    self.assertModuleKeyValue(
  File "etc/python/grass/gunittest/case.py", line 282, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r.info map=tmp_182739c407e544e09a9ef57fb7c4d3ce -r difference:
mismatch values (key, reference, actual): [('max', 0, 1)]
command: r.info map=tmp_182739c407e544e09a9ef57fb7c4d3ce -r {'map': 'tmp_182739c407e544e09a9ef57fb7c4d3ce', 'flags': 'r'}

======================================================================
FAIL: test_filter (__main__.SelectionTest)
Test input filtering
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.in.pdal/testsuite/test_r_in_pdal_selection.py", line 153, in test_filter
    self.assertRastersEqual(self.imp_raster, self.ref_raster, 0)
  File "etc/python/grass/gunittest/case.py", line 1053, in assertRastersEqual
    self.assertModuleKeyValue(
  File "etc/python/grass/gunittest/case.py", line 282, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r.info map=tmp_ba1c6b9601e8473bbe29382882417aef -r difference:
mismatch values (key, reference, actual): [('max', 0, 1)]
command: r.info map=tmp_ba1c6b9601e8473bbe29382882417aef -r {'map': 'tmp_ba1c6b9601e8473bbe29382882417aef', 'flags': 'r'}

======================================================================
FAIL: test_user_dimension (__main__.SelectionTest)
Test PDAL user dimension selection
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.in.pdal/testsuite/test_r_in_pdal_selection.py", line 125, in test_user_dimension
    self.assertRastersEqual(self.imp_raster, self.ref_raster, 0)
  File "etc/python/grass/gunittest/case.py", line 1053, in assertRastersEqual
    self.assertModuleKeyValue(
  File "etc/python/grass/gunittest/case.py", line 282, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r.info map=tmp_8555ebbd02e34f47a2c8ec14c903ac74 -r difference:
mismatch values (key, reference, actual): [('max', 0, 1)]
command: r.info map=tmp_8555ebbd02e34f47a2c8ec14c903ac74 -r {'map': 'tmp_8555ebbd02e34f47a2c8ec14c903ac74', 'flags': 'r'}

----------------------------------------------------------------------
Ran 4 tests in 11.490s
FAILED (failures=3)
========================================================================
FAILED ./raster/r.in.pdal/testsuite/test_r_in_pdal_selection.py (3 tests failed)
@wenzeslaus wenzeslaus added the bug Something isn't working label Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant