pyFAI
pyFAI copied to clipboard
[2023.5.0][armel] AssertionError: 0.0 not greater than 0 : max variance is strictly positive with IntegrationMethod(2d int, no split, CSC, cython)
This error is trigged during the autopkgtest on the Debian infrastructure...
the main difference is thaht netwrok is available so it can download the images.
815s ======================================================================
815s FAIL: test_variance_2d (pyFAI.test.test_azimuthal_integrator.TestRange.test_variance_2d)
815s This test checks that the variance is actually calculated and positive
815s ----------------------------------------------------------------------
815s Traceback (most recent call last):
815s File "/usr/lib/python3/dist-packages/pyFAI/test/test_azimuthal_integrator.py", line 659, in test_variance_2d
815s self.assertGreater(v.max(), 0, f"max variance is strictly positive with {res.method}")
815s AssertionError: 0.0 not greater than 0 : max variance is strictly positive with IntegrationMethod(2d int, no split, CSC, cython)
815s
I have seen those tests failing sporadically for months, the bug must have been present since Jan'22
I believe this bug is fixed by https://github.com/silx-kit/pyFAI/pull/1923 If it does not show of again, I will close the issue in one month from now.