Skip to content

[Bug] i.smap: the test 'test_with_goodness_map' fails occasionally #6982

@nilason

Description

@nilason

Describe the bug

The i.smap test test_with_goodness_map fails on Ubuntu CI very frequently with:

Running ./imagery/i.smap/testsuite/test_i_smap.py...
========================================================================
0..3..6..9..12..15..18..21..24..27..30..33..36..39..42..45..48..51..54..57..60..63..66..69..72..75..78..81..84..87..90..93..96..99..100
..0..3..6..9..12..15..18..21..24..27..30..33..36..39..42..45..48..51..54..57..60..63..66..69..72..75..78..81..84..87..90..93..96..99..100
.FFAILED (failures=1)

======================================================================
FAIL: test_with_goodness_map (__main__.TestISmap.test_with_goodness_map)
Validate goodness of fit map generation and
----------------------------------------------------------------------
Traceback (most recent call last):
  File "imagery/i.smap/testsuite/test_i_smap.py", line 113, in test_with_goodness_map
    self.assertRasterFitsUnivar(self.goodness_map, reference_stats, precision=1e-6)
  File "etc/python/grass/gunittest/case.py", line 296, in assertRasterFitsUnivar
    self.assertModuleKeyValue(
  File "etc/python/grass/gunittest/case.py", line 278, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r.univar map=smap_goodness percentile=90.0 nprocs=1 separator== format=plain -g difference:
mismatch values (key, reference, actual): [('max', 4.495414, 3.60080480575562)]
command: r.univar map=smap_goodness percentile=90.0 nprocs=1 separator== format=plain -g {'map': 'smap_goodness', 'separator': '=', 'flags': 'g', 'nprocs': 1}

----------------------------------------------------------------------
Ran 4 tests in 2.295s

FAILED (failures=1)
========================================================================
FAILED ./imagery/i.smap/testsuite/test_i_smap.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions