[Debian-astro-maintainers] Bug#846197: cpl-plugin-xshoo: FTBFS randomly (tests 126 and 230 fail)

Santiago Vila sanvila at unex.es
Tue Nov 29 09:51:50 UTC 2016


Package: src:cpl-plugin-xshoo
Version: 2.8.4+dfsg-1
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh  build-indep --with autoreconf,sphinxdoc
   dh_testdir -i
   dh_update_autotools_config -i
   dh_autoreconf -i
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'admin'.
libtoolize: copying file 'admin/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4macros'.
libtoolize: copying file 'm4macros/libtool.m4'
libtoolize: copying file 'm4macros/ltoptions.m4'
libtoolize: copying file 'm4macros/ltsugar.m4'
libtoolize: copying file 'm4macros/ltversion.m4'
libtoolize: copying file 'm4macros/lt~obsolete.m4'

[... snipped ...]

OBJPOS_TAB          : OBJPOS frame
SHIFTIFU_TAB        : [OPTIONAL] SHIFTIFU_TAB frame
PASS: test_xsh_compute_shift_ifu
Unitary test of xsh_build_cube
Usage: test_xsh_build_cube [options] <sof>
Options
 --slit-bin=<n>     : Binning on slit
 --center-ifu=<n>   : If n=1 center cube at 0 arcsec
 --debug=<n>        : Level of debug LOW | MEDIUM | HIGH [MEDIUM]
 --help             : What you see

Input Files
 1. SOF [ORDER_TAB_EDGES_IFU_arm, OFFSET_TAB_DOWN_IFU_arm, OFFSET_TAB_CEN_IFU_arm, OFFSET_TAB_UP_IFU_arm]
PASS: test_xsh_build_cube
Add evaluation of wavelength ans slit by dispersion solution to file fwhm.dat produce by wavecal
usage : ./the_xsh_wavecal_fwhm DATA_FILE DISP_TAB
DATA_FILE     => File fwhm.dat produce by wavecal
DISP_TAB      => dispersion solution to apply
PASS: test_xsh_wavecal_fwhm
Unitary test of xsh_compute_absorp
Usage: test_xsh_compute_absorp [options] S1D TELLLIST
Options
 --help             : What you see
 --filter-hsize=    : Half size of filter
 --threshold=       : Threshold

Input Files
S1D           : 1D spectrum file
TELLLIST      : tell line list
PASS: test_xsh_compute_absorp
Unitary test of xsh_mark_tell
Usage: test_xsh_mark_tell [options] S1D TELLLIST
Options
 --help             : What you see

Input Files
S1D           : 1D spectrum file
TELL_MASK     : telluric mask
PASS: test_xsh_mark_tell
Unitary test of xsh_gaussian_fit
Usage: test_xsh_gaussian_fit [options] DATA_FILE
Options
 --help             : What you see

Input Files
DATA_FILE           :ASCII x,y file y column is use for decomposition
PASS: test_xsh_gaussian_fit
[ INFO  ] Test-XSH_CORREL_GAUSSIANS: : STEP_MIN=-21 maxpos=14
[ INFO  ] Test-XSH_CORREL_GAUSSIANS: : a=4.78415 b=4.76867 c=4.78808 fraction=-0.331614
[ INFO  ] Test-XSH_CORREL_GAUSSIANS: : maxpos=14 width_i=100
[ INFO  ] Test-XSH_CORREL_GAUSSIANS: : fractionary delta=-7.33161
[ INFO  ] Test-XSH_CORREL_GAUSSIANS: : function1d corerel: shift -7
[ INFO  ] Test-XSH_CORREL_GAUSSIANS: :   mk4 short_len=57
[ INFO  ] Test-XSH_CORREL_GAUSSIANS: :   correl max[42]=416.996
[ INFO  ] Test-XSH_CORREL_GAUSSIANS: :   nsteps 43
[ INFO  ] Test-XSH_CORREL_GAUSSIANS: :   fraction=-0.437423
[ INFO  ] Test-XSH_CORREL_GAUSSIANS: : moses_shift=41.5626
[ INFO  ] Test-XSH_CORREL_GAUSSIANS: : shift=95
[ INFO  ] Test-XSH_CORREL_GAUSSIANS: : correl max=0.97292
[ INFO  ] Test-XSH_CORREL_GAUSSIANS: : Shift: expected: 5.15  computed: -7 accuracy:2.35922 
[ INFO  ] Test-XSH_CORREL_GAUSSIANS: : max=0.97292 maxpos=94
[ INFO  ] Test-XSH_CORREL_GAUSSIANS: : maxpos my determination: 95
[ INFO  ] Test-XSH_CORREL_GAUSSIANS: : len_corr=199
[ INFO  ] Test-XSH_CORREL_GAUSSIANS: : a=0.972455 b=0.965726 c=0.97292 fraction=-0.439266
PASS: test_xsh_correl_gaussians
[ INFO  ] Test-XSH_CPL_VECTOR_CORREL_GAUSSIANS: : shift=95
[ INFO  ] Test-XSH_CPL_VECTOR_CORREL_GAUSSIANS: : maxpos my determination: 95
[ INFO  ] Test-XSH_CPL_VECTOR_CORREL_GAUSSIANS: : len_corr=199
[ INFO  ] Test-XSH_CPL_VECTOR_CORREL_GAUSSIANS: : a=0.972455 b=0.965726 c=0.97292 fraction=-0.439266
[ INFO  ] Test-XSH_CPL_VECTOR_CORREL_GAUSSIANS: : shift - (size-1)=-4
[ INFO  ] Test-XSH_CPL_VECTOR_CORREL_GAUSSIANS: : fraction shift - (size-1)=-4.43927
PASS: test_xsh_cpl_vector_correl_gaussians
PASS: test_xsh_xcorrel_gaussians
[ INFO  ] Test-XSH_CORRECT_VACUUM_TO_AIR: : ********** NOT ENOUGH INPUT FRAMES **********
PASS: test_xsh_correct_vacuum_to_air
PASS: test_xsh_telluric_cor
#m=0,S=0
ok2 n=200 mw->n=0
ok2 n=200 mw->n=200
ok3 p=12 mw->p=0
ok3 p=12 mw->p=12
#m=1,S=0
PASS: test_xsh_bspline
[ ERROR ] Test 126 failed at test-xsh_dfs_sdp.c:590: |cpl_propertylist_get_double(tableprops, XSH_SDP_KEYWORD_APERTURE) - EXPECTED_APERTURE| = |0.000269444 - 0.00025| = |1.94444e-05| <= 1.19209e-07 = FLT_EPSILON.
[ ERROR ] No error(s) to dump
[ ERROR ] Test 230 failed at test-xsh_dfs_sdp.c:219: (cpl_test_get_failed() == 0) = 0.
[ ERROR ] No error(s) to dump
[ ERROR ] 2 of 231 test(s) failed
[ ERROR ] Memory leak detected:
#----- Memory Diagnostics -----
Maximum number of pointers (approximate): 2284
#----- Memory Currently Allocated -----
Number of active pointers:    37
[ ERROR ] This failure may indicate a bug in the tested code
[ ERROR ] You can contribute to the improvement of the software by emailing the logfile 'test-xsh_dfs_sdp.log' and the configure logfile 'config.log' to usd-help at eso.org
[ ERROR ] System specifics:
CPL version: 7.0 (64-bit cpl_size)
CFITSIO version: 3.39
WCSLIB version: 5.15
FFTW (normal precision) version: 3.3.5-sse2
FFTW (single precision) version: 3.3.5-sse2
_OPENMP: 201511
OFF_T is defined as off_t
This platform is not big-endian
__STDC__: 1
__STDC_VERSION__: 199901L
__STDC_HOSTED__: 1
__STDC_IEC_559__: 1
__STDC_IEC_559_COMPLEX__: 1
__STRICT_ANSI__: 1
gcc version (major number): 6
gcc version (minor number): 2
gcc version (patch level): 0
Compiler version: 6.2.0 20161019
__LP64__: 1
__PIC__: 2
__OPTIMIZE__: 1

FAIL: test_xsh_dfs_sdp
[ INFO  ] Test-CPL_IMAGE_FIT_GAUSSIAN: : argc=1
[WARNING] Test-CPL_IMAGE_FIT_GAUSSIAN: main: Provide one inputs: spectra tables
PASS: test_spectrum_stat
PASS: test_region_file
PASS: test-xsh_sky_lines_sampling
=================================
1 of 83 tests failed
Please report to usd-help at eso.org
=================================
Makefile:1861: recipe for target 'check-TESTS' failed
make[5]: *** [check-TESTS] Error 1
make[5]: Leaving directory '/<<BUILDDIR>>/cpl-plugin-xshoo-2.8.4+dfsg/xsh/tests'
Makefile:1984: recipe for target 'check-am' failed
make[4]: *** [check-am] Error 2
make[4]: Leaving directory '/<<BUILDDIR>>/cpl-plugin-xshoo-2.8.4+dfsg/xsh/tests'
Makefile:905: recipe for target 'check-recursive' failed
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory '/<<BUILDDIR>>/cpl-plugin-xshoo-2.8.4+dfsg/xsh'
Makefile:536: recipe for target 'check-recursive' failed
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory '/<<BUILDDIR>>/cpl-plugin-xshoo-2.8.4+dfsg'
dh_auto_test: make -j1 check VERBOSE=1 returned exit code 2
debian/rules:81: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/cpl-plugin-xshoo-2.8.4+dfsg'
debian/rules:14: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

The failure happens randomly. Sometimes it fails, sometimes it does not.

I attach several build logs, made on different autobuilders.

I guess the failing tests are not designed to never fail, so either they
should be fixed or they should be disabled.

Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cpl-plugin-xshoo_2.8.4+dfsg-1_amd64-20161124T224801Z.gz
Type: application/gzip
Size: 51406 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/debian-astro-maintainers/attachments/20161129/da60505c/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cpl-plugin-xshoo_2.8.4+dfsg-1_amd64-20161128T131737Z.gz
Type: application/gzip
Size: 51387 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/debian-astro-maintainers/attachments/20161129/da60505c/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cpl-plugin-xshoo_2.8.4+dfsg-1_amd64-20161129T085641Z.gz
Type: application/gzip
Size: 51689 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/debian-astro-maintainers/attachments/20161129/da60505c/attachment-0005.bin>


More information about the Debian-astro-maintainers mailing list