[Debian-astro-maintainers] Bug#1001491: astroscrappy: autopkgtest regression on armhf

Paul Gevers elbrus at debian.org
Fri Dec 10 21:06:25 GMT 2021


Source: astroscrappy
Version: 1.1.0-1
X-Debbugs-CC: debian-ci at lists.debian.org
Severity: serious
User: debian-ci at lists.debian.org
Usertags: regression

Dear maintainer(s),

With a recent upload of astroscrappy the autopkgtest of astroscrappy 
fails in testing when that autopkgtest is run with the binary packages 
of astroscrappy from unstable on armhf. It passes when run with only 
packages from testing. In tabular form:

                        pass            fail
astroscrappy           from testing    1.1.0-1
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration to testing [1]. Can 
you please investigate the situation and fix it?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=astroscrappy

https://ci.debian.net/data/autopkgtest/testing/armhf/a/astroscrappy/17430190/log.gz

============================= test session starts 
==============================
platform linux -- Python 3.9.9, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
rootdir: /tmp/autopkgtest-lxc.ijtoh3o_/downtmp/autopkgtest_tmp
plugins: doctestplus-0.11.1, mock-3.6.1, arraydiff-0.3, 
filter-subpackage-0.1.1, cov-3.0.0, hypothesis-5.43.3, 
astropy-header-0.1.2, remotedata-0.3.2, openfiles-0.5.0
collected 25 items

tests/test_astroscrappy.py . 
  [  4%]
tests/test_cleaning.py F... 
  [ 20%]
tests/test_gmos.py . 
  [ 24%]
tests/test_utils.py ................... 
  [100%]

=================================== FAILURES 
===================================
______________________________ test_median_clean 
_______________________________

     def test_median_clean():
         # Because our image only contains single cosmics, turn off
         # neighbor detection. Also, our cosmic rays are high enough
         # contrast that we can turn our detection threshold up.
         _mask, clean = detect_cosmics(imdata, readnoise=10., gain=1.0,
                                       sigclip=6, sigfrac=1.0, 
cleantype='median')
             assert (clean[crmask] != imdata[crmask]).sum() == crmask.sum()
             # Run it again on the clean data. We shouldn't find any new 
cosmic rays
         _mask2, _clean2 = detect_cosmics(clean, readnoise=10., gain=1.0,
                                          sigclip=6, sigfrac=1.0, 
cleantype='median')
>       assert _mask2.sum() == 0
E       assert 8780 == 0
E        +  where 8780 = <built-in method sum of numpy.ndarray object at 
0xf3630530>()
E        +    where <built-in method sum of numpy.ndarray object at 
0xf3630530> = array([[False, False, False, ..., False, False, False],\n 
       [False, False, False, ..., False, False, False],\n 
...alse],\n       [False, False, False, ..., False, False, False],\n 
    [False, False, False, ..., False, False, False]]).sum

/usr/lib/python3/dist-packages/astroscrappy/tests/test_cleaning.py:22: 
AssertionError
=========================== short test summary info 
============================
FAILED tests/test_cleaning.py::test_median_clean - assert 8780 == 0
======================== 1 failed, 24 passed in 23.13s 
=========================
autopkgtest [21:12:12]: test command1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-astro-maintainers/attachments/20211210/23b31243/attachment.sig>


More information about the Debian-astro-maintainers mailing list