[Debian-astro-maintainers] Bug#1027395: astropy breaks imexam autopkgtest: AssertionError

Paul Gevers elbrus at debian.org
Fri Dec 30 21:00:08 GMT 2022


Source: astropy, imexam
Control: found -1 astropy/5.2-1
Control: found -1 imexam/0.9.1-2
Severity: serious
Tags: sid bookworm
User: debian-ci at lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

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

                        pass            fail
astropy                from testing    5.2-1
imexam                 from testing    0.9.1-2
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 of astropy to 
testing [1]. Due to the nature of this issue, I filed this bug report 
against both packages. Can you please investigate the situation and 
reassign the bug to the right package?

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=astropy

https://ci.debian.net/data/autopkgtest/testing/amd64/i/imexam/29791506/log.gz

=================================== FAILURES 
===================================
______________________________ test_gauss_center 
_______________________________

     def test_gauss_center():
         """Check the gaussian center fitting."""
             from astropy.convolution import Gaussian2DKernel
             # This creates a 2D normalized gaussian kernal with
         # a set amplitude. Guess off-center
         amp = 0.0015915494309189533
         size = 81.0
         sigma = 10.0
             gaussian_2D_kernel = Gaussian2DKernel(sigma, x_size=size, 
y_size=size)
         plots = Imexamine()
         plots.set_data(gaussian_2D_kernel.array)
         a, xx, yy, xs, ys = plots.gauss_center(37, 37)
     >       assert_allclose(amp, a, 1e-6)
E       AssertionError: E       Not equal to tolerance rtol=1e-06, atol=0
E       E       Mismatched elements: 1 / 1 (100%)
E       Max absolute difference: 1.61872075e-07
E       Max relative difference: 0.0001017
E        x: array(0.001592)
E        y: array(0.001592)

/usr/lib/python3/dist-packages/imexam/tests/test_imexamine.py:128: 
AssertionError
----------------------------- Captured stdout call 
-----------------------------
xc=40.0000	yc=40.0000
------------------------------ Captured log call 
-------------------------------
INFO     imexam.util:imexamine.py:1015 xc=40.0000	yc=40.0000
-------------- 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/20221230/1ff4d4f1/attachment.sig>


More information about the Debian-astro-maintainers mailing list