Source: imexam Version: 0.8.0-2 Severity: serious Tags: ftbfs Dear maintainer,
your package FTBFSed in unstable in s390x during the python3.7 rebuilds. Full log at: https://buildd.debian.org/status/fetch.php?pkg=imexam&arch=s390x&ver=0.8.0-2%2Bb1&stamp=1539160229&raw=0 ============================= test session starts ============================== platform linux2 -- Python 2.7.15+, pytest-3.6.4, py-1.6.0, pluggy-0.6.0 -- /usr/bin/python2.7 cachedir: . Running tests with imexam version 0.8.0. Running tests in imexam docs. Date: 2018-10-10T08:30:18 Platform: Linux-4.9.0-8-s390x-s390x-with-debian-buster-sid Executable: /usr/bin/python2.7 Full Python Version: 2.7.15+ (default, Aug 31 2018, 11:56:52) [GCC 8.2.0] encodings: sys: ascii, locale: ANSI_X3.4-1968, filesystem: ANSI_X3.4-1968, unicode bits: 20 byteorder: big float info: dig: 15, mant_dig: 15 Numpy: 1.14.5 Scipy: 1.1.0 Matplotlib: 2.2.2 Astropy: 2.0.8 astropy_helpers: 2.0.7 Using Astropy options: remote_data: none. rootdir: /tmp/imexam-test-bHM9cC/lib/python2.7/site-packages, inifile: setup.cfg collecting ... collected 10 items imexam/tests/test_imexamine.py::test_column_plot PASSED [ 10%] imexam/tests/test_imexamine.py::test_line_plot PASSED [ 20%] imexam/tests/test_imexamine.py::test_aper_phot SKIPPED [ 30%] imexam/tests/test_imexamine.py::test_line_fit FAILED [ 40%] imexam/tests/test_imexamine.py::test_column_fit FAILED [ 50%] imexam/tests/test_imexamine.py::test_gauss_center FAILED [ 60%] imexam/tests/test_imexamine.py::test_radial_profile PASSED [ 70%] imexam/tests/test_imexamine.py::test_radial_profile_background SKIPPED [ 80%] imexam/tests/test_imexamine.py::test_radial_profile_pixels FAILED [ 90%] imexam/tests/test_imexamine.py::test_curve_of_growth SKIPPED [100%] =================================== FAILURES =================================== ________________________________ test_line_fit _________________________________ def test_line_fit(): """Fit a Gaussian1D line to the data.""" plots = Imexamine() plots.set_data(test_data) fit = plots.line_fit(50, 50, form='Gaussian1D', genplot=False) amp = 2.8152269683542137 mean = 49.45671107821953 stddev = 13.051081779478146 > assert_allclose(amp, fit.amplitude, 1e-6) E AssertionError: E Not equal to tolerance rtol=1e-06, atol=0 E E (mismatch 100.0%) E x: array(2.815227) E y: array(1.018721) imexam/tests/test_imexamine.py:80: AssertionError ----------------------------- Captured stdout call ----------------------------- using model: <class 'astropy.modeling.functional_models.Gaussian1D'> Name: Gaussian1D Inputs: (u'x',) Outputs: (u'y',) Fittable parameters: ('amplitude', 'mean', 'stddev') xc=49.402184 yc=49.402184 ------------------------------ Captured log call ------------------------------- imexamine.py 625 INFO using model: <class 'astropy.modeling.functional_models.Gaussian1D'> Name: Gaussian1D Inputs: (u'x',) Outputs: (u'y',) Fittable parameters: ('amplitude', 'mean', 'stddev') imexamine.py 946 INFO xc=49.402184 yc=49.402184 _______________________________ test_column_fit ________________________________ def test_column_fit(): """Fit a Gaussian1D column to the data.""" plots = Imexamine() plots.set_data(test_data) fit = plots.column_fit(50, 50, form='Gaussian1D', genplot=False) amp = 2.8285560281694115 mean = 49.42625526973088 stddev = 12.791137635400535 > assert_allclose(amp, fit.amplitude, 1e-6) E AssertionError: E Not equal to tolerance rtol=1e-06, atol=0 E E (mismatch 100.0%) E x: array(2.828556) E y: array(1.009302) imexam/tests/test_imexamine.py:94: AssertionError ----------------------------- Captured stdout call ----------------------------- using model: <class 'astropy.modeling.functional_models.Gaussian1D'> Name: Gaussian1D Inputs: (u'x',) Outputs: (u'y',) Fittable parameters: ('amplitude', 'mean', 'stddev') xc=49.402214 yc=49.402214 ------------------------------ Captured log call ------------------------------- imexamine.py 785 INFO using model: <class 'astropy.modeling.functional_models.Gaussian1D'> Name: Gaussian1D Inputs: (u'x',) Outputs: (u'y',) Fittable parameters: ('amplitude', 'mean', 'stddev') imexamine.py 946 INFO xc=49.402214 yc=49.402214 ______________________________ test_gauss_center _______________________________ def test_gauss_center(): """Check the gaussian center fitting.""" # make a 2d dataset with a gaussian at the center from astropy.convolution import Gaussian2DKernel gaussian_2D_kernel = Gaussian2DKernel(10) plots = Imexamine() plots.set_data(gaussian_2D_kernel.array) a, xx, yy, xs, ys = plots.gauss_center(37, 37) amp = 0.0015915494309189533 xc = 40.0 yc = 40.0 xsig = 10.0 ysig = 10.0 > assert_allclose(amp, a, 1e-6) E AssertionError: E Not equal to tolerance rtol=1e-06, atol=0 E E (mismatch 100.0%) E x: array(0.001592) E y: array(0.000447) imexam/tests/test_imexamine.py:114: AssertionError ----------------------------- Captured stdout call ----------------------------- xc=37.001304 yc=37.001304 ------------------------------ Captured log call ------------------------------- imexamine.py 946 INFO xc=37.001304 yc=37.001304 __________________________ test_radial_profile_pixels __________________________ def test_radial_profile_pixels(): """Test the radial profile function without background subtraction""" from astropy.convolution import Gaussian2DKernel data = Gaussian2DKernel(1.5, x_size=25, y_size=25) plots = Imexamine() plots.set_data(data.array) # check the unbinned results plots.radial_profile_pars['pixels'][0] = True x, y = plots.radial_profile(12, 12, genplot=False) rad = [1.00485917e-14, 1.00000000e+00, 1.00000000e+00, 1.00000000e+00, 1.00000000e+00, 1.41421356e+00, 1.41421356e+00, 1.41421356e+00, 1.41421356e+00, 2.00000000e+00, 2.00000000e+00, 2.00000000e+00, 2.00000000e+00, 2.23606798e+00, 2.23606798e+00, 2.23606798e+00, 2.23606798e+00, 2.23606798e+00, 2.23606798e+00, 2.23606798e+00, 2.23606798e+00, 2.82842712e+00, 2.82842712e+00, 2.82842712e+00, 2.82842712e+00, 3.00000000e+00, 3.00000000e+00, 3.00000000e+00, 3.00000000e+00, 3.16227766e+00, 3.16227766e+00, 3.16227766e+00, 3.16227766e+00, 3.16227766e+00, 3.16227766e+00, 3.16227766e+00, 3.16227766e+00, 3.60555128e+00, 3.60555128e+00, 3.60555128e+00, 3.60555128e+00, 3.60555128e+00, 3.60555128e+00, 3.60555128e+00, 3.60555128e+00, 4.00000000e+00, 4.00000000e+00, 4.00000000e+00, 4.00000000e+00, 4.12310563e+00, 4.12310563e+00, 4.12310563e+00, 4.12310563e+00, 4.12310563e+00, 4.12310563e+00, 4.12310563e+00, 4.12310563e+00, 4.24264069e+00, 4.24264069e+00, 4.24264069e+00, 4.24264069e+00, 4.47213595e+00, 4.47213595e+00, 4.47213595e+00, 4.47213595e+00, 4.47213595e+00, 4.47213595e+00, 4.47213595e+00, 4.47213595e+00, 5.00000000e+00, 5.00000000e+00, 5.00000000e+00, 5.00000000e+00, 5.00000000e+00, 5.00000000e+00, 5.00000000e+00, 5.00000000e+00, 5.00000000e+00, 5.00000000e+00, 5.00000000e+00, 5.00000000e+00, 5.09901951e+00, 5.09901951e+00, 5.09901951e+00, 5.09901951e+00, 5.09901951e+00, 5.09901951e+00, 5.09901951e+00, 5.09901951e+00, 5.38516481e+00, 5.38516481e+00, 5.38516481e+00, 5.38516481e+00, 5.38516481e+00, 5.38516481e+00, 5.38516481e+00, 5.38516481e+00, 5.65685425e+00, 5.65685425e+00, 5.65685425e+00, 5.65685425e+00, 5.83095189e+00, 5.83095189e+00, 5.83095189e+00, 5.83095189e+00, 5.83095189e+00, 5.83095189e+00, 5.83095189e+00, 5.83095189e+00, 6.00000000e+00, 6.00000000e+00, 6.00000000e+00, 6.00000000e+00, 6.08276253e+00, 6.08276253e+00, 6.08276253e+00, 6.08276253e+00, 6.08276253e+00, 6.08276253e+00, 6.08276253e+00, 6.08276253e+00, 6.32455532e+00, 6.32455532e+00, 6.32455532e+00, 6.32455532e+00, 6.32455532e+00, 6.32455532e+00, 6.32455532e+00, 6.32455532e+00, 6.40312424e+00, 6.40312424e+00, 6.40312424e+00, 6.40312424e+00, 6.40312424e+00, 6.40312424e+00, 6.40312424e+00, 6.40312424e+00, 6.70820393e+00, 6.70820393e+00, 6.70820393e+00, 6.70820393e+00, 6.70820393e+00, 6.70820393e+00, 6.70820393e+00, 6.70820393e+00, 7.00000000e+00, 7.00000000e+00, 7.07106781e+00, 7.07106781e+00, 7.07106781e+00, 7.07106781e+00, 7.07106781e+00, 7.07106781e+00, 7.07106781e+00, 7.07106781e+00, 7.21110255e+00, 7.21110255e+00, 7.21110255e+00, 7.21110255e+00, 7.21110255e+00, 7.21110255e+00, 7.21110255e+00, 7.21110255e+00, 7.28010989e+00, 7.28010989e+00, 7.28010989e+00, 7.28010989e+00, 7.61577311e+00, 7.61577311e+00, 7.61577311e+00, 7.61577311e+00, 7.81024968e+00, 7.81024968e+00, 7.81024968e+00, 7.81024968e+00, 7.81024968e+00, 7.81024968e+00, 7.81024968e+00, 7.81024968e+00, 8.06225775e+00, 8.06225775e+00, 8.06225775e+00, 8.06225775e+00, 8.48528137e+00, 8.48528137e+00, 8.48528137e+00, 8.48528137e+00, 8.60232527e+00, 8.60232527e+00, 8.60232527e+00, 8.60232527e+00, 9.21954446e+00, 9.21954446e+00, 9.21954446e+00, 9.21954446e+00, 9.89949494e+00] flux = [1.19552465e-02, 2.32856406e-02, 2.32856406e-02, 3.93558331e-03, 3.93558331e-03, 4.53542348e-02, 7.66546959e-03, 7.66546959e-03, 1.29556643e-03, 2.90802459e-02, 2.90802459e-02, 8.30691786e-04, 8.30691786e-04, 5.66405848e-02, 5.66405848e-02, 9.57301302e-03, 9.57301302e-03, 1.61796667e-03, 1.61796667e-03, 2.73457911e-04, 2.73457911e-04, 7.07355303e-02, 2.02059585e-03, 2.02059585e-03, 5.77193322e-05, 2.32856406e-02, 2.32856406e-02, 1.12421908e-04, 1.12421908e-04, 4.53542348e-02, 4.53542348e-02, 7.66546959e-03, 7.66546959e-03, 2.18967977e-04, 2.18967977e-04, 3.70085038e-05, 3.70085038e-05, 5.66405848e-02, 5.66405848e-02, 1.61796667e-03, 1.61796667e-03, 2.73457911e-04, 2.73457911e-04, 7.81146217e-06, 7.81146217e-06, 1.19552465e-02, 1.19552465e-02, 9.75533570e-06, 9.75533570e-06, 2.32856406e-02, 2.32856406e-02, 3.93558331e-03, 3.93558331e-03, 1.90007994e-05, 1.90007994e-05, 3.21138811e-06, 3.21138811e-06, 4.53542348e-02, 2.18967977e-04, 2.18967977e-04, 1.05716645e-06, 2.90802459e-02, 2.90802459e-02, 8.30691786e-04, 8.30691786e-04, 2.37291269e-05, 2.37291269e-05, 6.77834392e-07, 6.77834392e-07, 2.32856406e-02, 2.32856406e-02, 3.93558331e-03, 3.93558331e-03, 1.12421908e-04, 1.12421908e-04, 1.90007994e-05, 1.90007994e-05, 5.42767351e-07, 5.42767351e-07, 9.17349095e-08, 9.17349095e-08, 7.66546959e-03, 7.66546959e-03, 1.29556643e-03, 1.29556643e-03, 1.05716645e-06, 1.05716645e-06, 1.78675206e-07, 1.78675206e-07, 9.57301302e-03, 9.57301302e-03, 2.73457911e-04, 2.73457911e-04, 1.32024112e-06, 1.32024112e-06, 3.77133487e-08, 3.77133487e-08, 1.19552465e-02, 9.75533570e-06, 9.75533570e-06, 7.96023526e-09, 7.66546959e-03, 7.66546959e-03, 3.70085038e-05, 3.70085038e-05, 1.05716645e-06, 1.05716645e-06, 5.10394673e-09, 5.10394673e-09, 8.30691786e-04, 8.30691786e-04, 1.93626789e-08, 1.93626789e-08, 1.61796667e-03, 1.61796667e-03, 2.73457911e-04, 2.73457911e-04, 3.77133487e-08, 3.77133487e-08, 6.37405811e-09, 6.37405811e-09, 2.02059585e-03, 2.02059585e-03, 5.77193322e-05, 5.77193322e-05, 4.70982729e-08, 4.70982729e-08, 1.34538575e-09, 1.34538575e-09, 3.93558331e-03, 3.93558331e-03, 3.21138811e-06, 3.21138811e-06, 5.42767351e-07, 5.42767351e-07, 4.42891556e-10, 4.42891556e-10, 1.61796667e-03, 1.61796667e-03, 7.81146217e-06, 7.81146217e-06, 3.77133487e-08, 3.77133487e-08, 1.82078162e-10, 1.82078162e-10, 1.12421908e-04, 1.12421908e-04, 1.29556643e-03, 2.18967977e-04, 2.18967977e-04, 3.70085038e-05, 3.70085038e-05, 1.78675206e-07, 1.78675206e-07, 2.46415996e-11, 8.30691786e-04, 8.30691786e-04, 6.77834392e-07, 6.77834392e-07, 1.93626789e-08, 1.93626789e-08, 1.57997104e-11, 1.57997104e-11, 2.73457911e-04, 2.73457911e-04, 7.81146217e-06, 7.81146217e-06, 2.18967977e-04, 2.18967977e-04, 1.05716645e-06, 1.05716645e-06, 2.73457911e-04, 2.73457911e-04, 3.77133487e-08, 3.77133487e-08, 6.37405811e-09, 6.37405811e-09, 8.79064260e-13, 8.79064260e-13, 1.12421908e-04, 1.12421908e-04, 9.17349095e-08, 9.17349095e-08, 5.77193322e-05, 1.34538575e-09, 1.34538575e-09, 3.13597326e-14, 3.70085038e-05, 3.70085038e-05, 5.10394673e-09, 5.10394673e-09, 7.81146217e-06, 7.81146217e-06, 1.82078162e-10, 1.82078162e-10, 1.05716645e-06] > assert_allclose(rad, x, 1e-7) E AssertionError: E Not equal to tolerance rtol=1e-07, atol=0 E E (mismatch 100.0%) E x: array([1.004859e-14, 1.000000e+00, 1.000000e+00, 1.000000e+00, E 1.000000e+00, 1.414214e+00, 1.414214e+00, 1.414214e+00, E 1.414214e+00, 2.000000e+00, 2.000000e+00, 2.000000e+00,... E y: array([0.091875, 0.937289, 0.937289, 1.066945, 1.066945, 1.322339, E 1.417195, 1.417195, 1.506088, 1.936125, 1.936125, 2.065987, E 2.065987, 2.149104, 2.149104, 2.208735, 2.208735, 2.266798,... imexam/tests/test_imexamine.py:306: AssertionError ----------------------------- Captured stdout call ----------------------------- xc=11.935035 yc=11.935035 ------------------------------ Captured log call ------------------------------- imexamine.py 946 INFO xc=11.935035 yc=11.935035 ================ 4 failed, 3 passed, 3 skipped in 0.77 seconds ================= make[1]: *** [debian/rules:14: test-python2.7] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:10: build-arch] Error 2 dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2018-10-10T08:30:19Z -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. more about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature