[Debian-astro-maintainers] Bug#848812: ccdproc: FTBFS: Test failures
Lucas Nussbaum
lucas at debian.org
Mon Dec 19 21:30:01 UTC 2016
Source: ccdproc
Version: 1.1.0-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20161219 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> python2.7 setup.py test -vv --args -v
> running test
> running build
> running build_py
> /usr/lib/python2.7/dist-packages/astropy/config/configuration.py:541: ConfigurationMissingWarning: Configuration defaults will be used due to OSError:2 on None
> warn(ConfigurationMissingWarning(msg))
> Internet access disabled
> ============================= test session starts ==============================
> platform linux2 -- Python 2.7.13rc1, pytest-2.8.3, py-1.4.30, pluggy-0.3.1 -- /usr/bin/python2.7
> cachedir: ../.cache
>
> Running tests with ccdproc version 1.1.0.
> Running tests in lib.linux-x86_64-2.7/ccdproc docs.
>
> Date: 2016-12-19T02:52:24
>
> Platform: Linux-3.16.0-4-amd64-x86_64-with-debian-stretch-sid
>
> Executable: /usr/bin/python2.7
>
> Full Python Version:
> 2.7.13rc1 (default, Dec 4 2016, 14:12:39)
> [GCC 6.2.1 20161124]
>
> encodings: sys: ascii, locale: ANSI_X3.4-1968, filesystem: ANSI_X3.4-1968, unicode bits: 20
> byteorder: little
> float info: dig: 15, mant_dig: 15
>
> Numpy: 1.12.0b1
> Scipy: 0.18.1
> Matplotlib: not available
> Pandas: not available
> Astropy: 1.2.1
> astroscrappy: 1.0.5
> reproject: 0.3.1
>
> rootdir: /tmp/ccdproc-test-R1d8O3, inifile: setup.cfg
> plugins: catchlog-1.2.2
> collecting ... collected 307 items
>
> ccdproc/ccddata.py::ccdproc.ccddata.CCDData PASSED
> ccdproc/combiner.py::ccdproc.combiner.Combiner PASSED
> ccdproc/core.py::ccdproc.core.ccd_process PASSED
> ccdproc/core.py::ccdproc.core.cosmicray_lacosmic SKIPPED
> ccdproc/core.py::ccdproc.core.cosmicray_median SKIPPED
> ccdproc/core.py::ccdproc.core.rebin PASSED
> ccdproc/core.py::ccdproc.core.subtract_overscan PASSED
> ccdproc/core.py::ccdproc.core.transform_image PASSED
> ccdproc/core.py::ccdproc.core.trim_image PASSED
> ccdproc/tests/test_ccddata.py::test_ccddata_empty PASSED
> ccdproc/tests/test_ccddata.py::test_ccddata_must_have_unit PASSED
> ccdproc/tests/test_ccddata.py::test_ccddata_simple PASSED
> ccdproc/tests/test_ccddata.py::test_ccddata_init_with_string_electron_unit PASSED
> ccdproc/tests/test_ccddata.py::test_initialize_from_FITS PASSED
> ccdproc/tests/test_ccddata.py::test_initialize_from_fits_with_unit_in_header PASSED
> ccdproc/tests/test_ccddata.py::test_initialize_from_fits_with_ADU_in_header PASSED
> ccdproc/tests/test_ccddata.py::test_initialize_from_fits_with_data_in_different_extension PASSED
> ccdproc/tests/test_ccddata.py::test_initialize_from_fits_with_extension PASSED
> ccdproc/tests/test_ccddata.py::test_write_unit_to_hdu PASSED
> ccdproc/tests/test_ccddata.py::test_initialize_from_FITS_bad_keyword_raises_error PASSED
> ccdproc/tests/test_ccddata.py::test_ccddata_writer PASSED
> ccdproc/tests/test_ccddata.py::test_ccddata_meta_is_case_sensitive PASSED
> ccdproc/tests/test_ccddata.py::test_ccddata_meta_is_not_fits_header PASSED
> ccdproc/tests/test_ccddata.py::test_fromMEF PASSED
> ccdproc/tests/test_ccddata.py::test_metafromheader PASSED
> ccdproc/tests/test_ccddata.py::test_metafromdict PASSED
> ccdproc/tests/test_ccddata.py::test_header2meta PASSED
> ccdproc/tests/test_ccddata.py::test_metafromstring_fail PASSED
> ccdproc/tests/test_ccddata.py::test_setting_bad_uncertainty_raises_error PASSED
> ccdproc/tests/test_ccddata.py::test_setting_uncertainty_with_array PASSED
> ccdproc/tests/test_ccddata.py::test_setting_uncertainty_wrong_shape_raises_error PASSED
> ccdproc/tests/test_ccddata.py::test_to_hdu PASSED
> ccdproc/tests/test_ccddata.py::test_to_hdu_long_metadata_item PASSED
> ccdproc/tests/test_ccddata.py::test_copy PASSED
> ccdproc/tests/test_ccddata.py::test_mult_div_overload[True-2.0-multiply-True] PASSED
> ccdproc/tests/test_ccddata.py::test_mult_div_overload[True-2.0-divide-True] PASSED
> ccdproc/tests/test_ccddata.py::test_mult_div_overload[True-operand1-multiply-True] PASSED
> ccdproc/tests/test_ccddata.py::test_mult_div_overload[True-operand1-divide-True] PASSED
> ccdproc/tests/test_ccddata.py::test_mult_div_overload[True-operand2-multiply-True] PASSED
> ccdproc/tests/test_ccddata.py::test_mult_div_overload[True-operand2-divide-True] PASSED
> ccdproc/tests/test_ccddata.py::test_mult_div_overload[False-2.0-multiply-True] PASSED
> ccdproc/tests/test_ccddata.py::test_mult_div_overload[False-2.0-divide-True] PASSED
> ccdproc/tests/test_ccddata.py::test_mult_div_overload[False-operand1-multiply-True] PASSED
> ccdproc/tests/test_ccddata.py::test_mult_div_overload[False-operand1-divide-True] PASSED
> ccdproc/tests/test_ccddata.py::test_mult_div_overload[False-operand2-multiply-True] PASSED
> ccdproc/tests/test_ccddata.py::test_mult_div_overload[False-operand2-divide-True] PASSED
> ccdproc/tests/test_ccddata.py::test_add_sub_overload[True-2.0-UnitsError-add-False] PASSED
> ccdproc/tests/test_ccddata.py::test_add_sub_overload[True-2.0-UnitsError-subtract-False] PASSED
> ccdproc/tests/test_ccddata.py::test_add_sub_overload[True-operand1-UnitsError-add-False] PASSED
> ccdproc/tests/test_ccddata.py::test_add_sub_overload[True-operand1-UnitsError-subtract-False] PASSED
> ccdproc/tests/test_ccddata.py::test_add_sub_overload[True-operand2-False-add-False] PASSED
> ccdproc/tests/test_ccddata.py::test_add_sub_overload[True-operand2-False-subtract-False] PASSED
> ccdproc/tests/test_ccddata.py::test_add_sub_overload[False-2.0-UnitsError-add-False] PASSED
> ccdproc/tests/test_ccddata.py::test_add_sub_overload[False-2.0-UnitsError-subtract-False] PASSED
> ccdproc/tests/test_ccddata.py::test_add_sub_overload[False-operand1-UnitsError-add-False] PASSED
> ccdproc/tests/test_ccddata.py::test_add_sub_overload[False-operand1-UnitsError-subtract-False] PASSED
> ccdproc/tests/test_ccddata.py::test_add_sub_overload[False-operand2-False-add-False] PASSED
> ccdproc/tests/test_ccddata.py::test_add_sub_overload[False-operand2-False-subtract-False] PASSED
> ccdproc/tests/test_ccddata.py::test_arithmetic_overload_fails PASSED
> ccdproc/tests/test_ccddata.py::test_arithmetic_overload_ccddata_operand PASSED
> ccdproc/tests/test_ccddata.py::test_arithmetic_overload_differing_units PASSED
> ccdproc/tests/test_ccddata.py::test_ccddata_header_does_not_corrupt_fits PASSED
> ccdproc/tests/test_ccddata.py::test_ccddata_with_fits_header_as_meta_works_with_autologging PASSED
> ccdproc/tests/test_ccddata.py::test_history_preserved_if_metadata_is_fits_header PASSED
> ccdproc/tests/test_ccddata.py::test_infol_logged_if_unit_in_fits_header PASSED
> ccdproc/tests/test_ccddata.py::test_wcs_attribute PASSED
> ccdproc/tests/test_ccddata.py::test_header PASSED
> ccdproc/tests/test_ccddata.py::test_wcs_arithmetic PASSED
> ccdproc/tests/test_ccddata.py::test_wcs_arithmetic_ccd[multiply] PASSED
> ccdproc/tests/test_ccddata.py::test_wcs_arithmetic_ccd[divide] PASSED
> ccdproc/tests/test_ccddata.py::test_wcs_arithmetic_ccd[add] PASSED
> ccdproc/tests/test_ccddata.py::test_wcs_arithmetic_ccd[subtract] PASSED
> ccdproc/tests/test_ccddata.py::test_mask_arithmetic_ccd[multiply] PASSED
> ccdproc/tests/test_ccddata.py::test_mask_arithmetic_ccd[divide] PASSED
> ccdproc/tests/test_ccddata.py::test_mask_arithmetic_ccd[add] PASSED
> ccdproc/tests/test_ccddata.py::test_mask_arithmetic_ccd[subtract] PASSED
> ccdproc/tests/test_ccddata.py::test_write_read_multiextensionfits_mask_default PASSED
> ccdproc/tests/test_ccddata.py::test_write_read_multiextensionfits_uncertainty_default PASSED
> ccdproc/tests/test_ccddata.py::test_write_read_multiextensionfits_not PASSED
> ccdproc/tests/test_ccddata.py::test_write_read_multiextensionfits_custom_ext_names PASSED
> ccdproc/tests/test_ccddata.py::test_wcs PASSED
> ccdproc/tests/test_ccddata.py::test_recognized_fits_formats PASSED
> ccdproc/tests/test_ccddata.py::test_recognized_fits_formats_for_read_write PASSED
> ccdproc/tests/test_ccdproc.py::test_create_deviation[u_image0-None-u_readnoise0-True] PASSED
> ccdproc/tests/test_ccdproc.py::test_create_deviation[u_image1-u_gain1-u_readnoise1-False] PASSED
> ccdproc/tests/test_ccdproc.py::test_create_deviation[u_image2-u_gain2-u_readnoise2-True] PASSED
> ccdproc/tests/test_ccdproc.py::test_create_deviation[u_image3-None-u_readnoise3-False] PASSED
> ccdproc/tests/test_ccdproc.py::test_create_deviation[u_image4-u_gain4-u_readnoise4-True] PASSED
> ccdproc/tests/test_ccdproc.py::test_create_deviation[u_image5-u_gain5-u_readnoise5-False] PASSED
> ccdproc/tests/test_ccdproc.py::test_create_deviation[u_image6-u_gain6-u_readnoise6-False] PASSED
> ccdproc/tests/test_ccdproc.py::test_create_deviation_keywords_must_have_unit PASSED
> ccdproc/tests/test_ccdproc.py::test_subtract_overscan[False-False-False] PASSED
> ccdproc/tests/test_ccdproc.py::test_subtract_overscan[False-False-True] PASSED
> ccdproc/tests/test_ccdproc.py::test_subtract_overscan[False-True-False] PASSED
> ccdproc/tests/test_ccdproc.py::test_subtract_overscan[False-True-True] PASSED
> ccdproc/tests/test_ccdproc.py::test_subtract_overscan[True-False-False] PASSED
> ccdproc/tests/test_ccdproc.py::test_subtract_overscan[True-False-True] PASSED
> ccdproc/tests/test_ccdproc.py::test_subtract_overscan_model[True] PASSED
> ccdproc/tests/test_ccdproc.py::test_subtract_overscan_model[False] PASSED
> ccdproc/tests/test_ccdproc.py::test_subtract_overscan_fails PASSED
> ccdproc/tests/test_ccdproc.py::test_trim_image_fits_section_requires_string PASSED
> ccdproc/tests/test_ccdproc.py::test_trim_image_fits_section[False-False] PASSED
> ccdproc/tests/test_ccdproc.py::test_trim_image_fits_section[True-True] PASSED
> ccdproc/tests/test_ccdproc.py::test_trim_image_no_section PASSED
> ccdproc/tests/test_ccdproc.py::test_trim_with_wcs_alters_wcs PASSED
> ccdproc/tests/test_ccdproc.py::test_subtract_bias PASSED
> ccdproc/tests/test_ccdproc.py::test_subtract_bias_fails PASSED
> ccdproc/tests/test_ccdproc.py::test_subtract_dark[True-True-True] PASSED
> ccdproc/tests/test_ccdproc.py::test_subtract_dark[True-True-False] PASSED
> ccdproc/tests/test_ccdproc.py::test_subtract_dark[True-False-True] PASSED
> ccdproc/tests/test_ccdproc.py::test_subtract_dark[True-False-False] PASSED
> ccdproc/tests/test_ccdproc.py::test_subtract_dark[False-True-True] PASSED
> ccdproc/tests/test_ccdproc.py::test_subtract_dark[False-True-False] PASSED
> ccdproc/tests/test_ccdproc.py::test_subtract_dark[False-False-True] PASSED
> ccdproc/tests/test_ccdproc.py::test_subtract_dark[False-False-False] PASSED
> ccdproc/tests/test_ccdproc.py::test_subtract_dark_fails PASSED
> ccdproc/tests/test_ccdproc.py::test_unit_mismatch_behaves_as_expected PASSED
> ccdproc/tests/test_ccdproc.py::test_flat_correct PASSED
> ccdproc/tests/test_ccdproc.py::test_flat_correct_min_value PASSED
> ccdproc/tests/test_ccdproc.py::test_flat_correct_deviation PASSED
> ccdproc/tests/test_ccdproc.py::test_flat_correct_data_uncertainty PASSED
> ccdproc/tests/test_ccdproc.py::test_gain_correct PASSED
> ccdproc/tests/test_ccdproc.py::test_gain_correct_quantity PASSED
> ccdproc/tests/test_ccdproc.py::test_transform_isccd PASSED
> ccdproc/tests/test_ccdproc.py::test_transform_isfunc PASSED
> ccdproc/tests/test_ccdproc.py::test_transform_image[False-False] PASSED
> ccdproc/tests/test_ccdproc.py::test_transform_image[True-True] PASSED
> ccdproc/tests/test_ccdproc.py::test_rebin_ndarray PASSED
> ccdproc/tests/test_ccdproc.py::test_rebin_dimensions PASSED
> ccdproc/tests/test_ccdproc.py::test_rebin_ccddata_dimensions PASSED
> ccdproc/tests/test_ccdproc.py::test_rebin_larger PASSED
> ccdproc/tests/test_ccdproc.py::test_rebin_smaller PASSED
> ccdproc/tests/test_ccdproc.py::test_rebin_ccddata[False-False] PASSED
> ccdproc/tests/test_ccdproc.py::test_rebin_ccddata[True-True] PASSED
> ccdproc/tests/test_ccdproc.py::test__blkavg_ndarray PASSED
> ccdproc/tests/test_ccdproc.py::test__blkavg_dimensions PASSED
> ccdproc/tests/test_ccdproc.py::test__blkavg_larger PASSED
> ccdproc/tests/test_ccdproc.py::test__overscan_schange PASSED
> ccdproc/tests/test_ccdproc.py::test_create_deviation_does_not_change_input PASSED
> ccdproc/tests/test_ccdproc.py::test_cosmicray_median_does_not_change_input PASSED
> ccdproc/tests/test_ccdproc.py::test_cosmicray_lacosmic_does_not_change_input PASSED
> ccdproc/tests/test_ccdproc.py::test_flat_correct_does_not_change_input PASSED
> ccdproc/tests/test_ccdproc.py::test_gain_correct_does_not_change_input PASSED
> ccdproc/tests/test_ccdproc.py::test_subtract_bias_does_not_change_input PASSED
> ccdproc/tests/test_ccdproc.py::test_trim_image_does_not_change_input PASSED
> ccdproc/tests/test_ccdproc.py::test_rebin_does_not_change_input PASSED
> ccdproc/tests/test_ccdproc.py::test_transform_image_does_not_change_input PASSED
> ccdproc/tests/test_ccdproc.py::test_wcs_project_onto_same_wcs PASSED
> ccdproc/tests/test_ccdproc.py::test_wcs_project_onto_shifted_wcs PASSED
> ccdproc/tests/test_ccdproc.py::test_wcs_project_onto_scale_wcs FAILED
> ccdproc/tests/test_ccdproc.py::test_ccd_process_does_not_change_input PASSED
> ccdproc/tests/test_ccdproc.py::test_ccd_process_parameters_are_appropriate PASSED
> ccdproc/tests/test_ccdproc.py::test_ccd_process PASSED
> ccdproc/tests/test_ccdproc_logging.py::test_log_string[short] PASSED
> ccdproc/tests/test_ccdproc_logging.py::test_log_string[toolongforfits] PASSED
> ccdproc/tests/test_ccdproc_logging.py::test_log_keyword PASSED
> ccdproc/tests/test_ccdproc_logging.py::test_log_dict PASSED
> ccdproc/tests/test_ccdproc_logging.py::test_log_bad_type_fails PASSED
> ccdproc/tests/test_ccdproc_logging.py::test_log_set_to_None_does_not_change_header PASSED
> ccdproc/tests/test_ccdproc_logging.py::test_implicit_logging PASSED
> ccdproc/tests/test_combiner.py::test_combiner_empty PASSED
> ccdproc/tests/test_combiner.py::test_combiner_init_with_none PASSED
> ccdproc/tests/test_combiner.py::test_ccddata_combiner_objects PASSED
> ccdproc/tests/test_combiner.py::test_ccddata_combiner_size PASSED
> ccdproc/tests/test_combiner.py::test_ccddata_combiner_units PASSED
> ccdproc/tests/test_combiner.py::test_combiner_create PASSED
> ccdproc/tests/test_combiner.py::test_combiner_dtype PASSED
> ccdproc/tests/test_combiner.py::test_combiner_mask PASSED
> ccdproc/tests/test_combiner.py::test_weights PASSED
> ccdproc/tests/test_combiner.py::test_weights_shape PASSED
> ccdproc/tests/test_combiner.py::test_combiner_minmax PASSED
> ccdproc/tests/test_combiner.py::test_combiner_minmax_max PASSED
> ccdproc/tests/test_combiner.py::test_combiner_minmax_min PASSED
> ccdproc/tests/test_combiner.py::test_combiner_sigmaclip_high PASSED
> ccdproc/tests/test_combiner.py::test_combiner_sigmaclip_single_pix PASSED
> ccdproc/tests/test_combiner.py::test_combiner_sigmaclip_low PASSED
> ccdproc/tests/test_combiner.py::test_combiner_median PASSED
> ccdproc/tests/test_combiner.py::test_combiner_average PASSED
> ccdproc/tests/test_combiner.py::test_combiner_mask_average PASSED
> ccdproc/tests/test_combiner.py::test_combiner_with_scaling PASSED
> ccdproc/tests/test_combiner.py::test_combiner_scaling_fails PASSED
> ccdproc/tests/test_combiner.py::test_combiner_mask_median PASSED
> ccdproc/tests/test_combiner.py::test_combine_average_fitsimages PASSED
> ccdproc/tests/test_combiner.py::test_combine_average_ccddata PASSED
> ccdproc/tests/test_combiner.py::test_combine_limitedmem_fitsimages PASSED
> ccdproc/tests/test_combiner.py::test_combine_limitedmem_scale_fitsimages PASSED
> ccdproc/tests/test_combiner.py::test_average_combine_uncertainty PASSED
> ccdproc/tests/test_combiner.py::test_median_combine_uncertainty PASSED
> ccdproc/tests/test_combiner.py::test_combiner_uncertainty_average PASSED
> ccdproc/tests/test_combiner.py::test_combiner_uncertainty_average_mask PASSED
> ccdproc/tests/test_combiner.py::test_combiner_3d PASSED
> ccdproc/tests/test_combiner.py::test_3d_combiner_with_scaling PASSED
> ccdproc/tests/test_combiner.py::test_clip_extrema_3d PASSED
> ccdproc/tests/test_combiner.py::test_writeable_after_combine[average_combine] PASSED
> ccdproc/tests/test_combiner.py::test_writeable_after_combine[median_combine] PASSED
> ccdproc/tests/test_combiner.py::test_clip_extrema PASSED
> ccdproc/tests/test_combiner.py::test_clip_extrema_via_combine PASSED
> ccdproc/tests/test_combiner.py::test_clip_extrema_with_other_rejection PASSED
> ccdproc/tests/test_cosmicray.py::test_cosmicray_lacosmic PASSED
> ccdproc/tests/test_cosmicray.py::test_cosmicray_lacosmic_ccddata PASSED
> ccdproc/tests/test_cosmicray.py::test_cosmicray_lacosmic_check_data PASSED
> ccdproc/tests/test_cosmicray.py::test_cosmicray_median_check_data PASSED
> ccdproc/tests/test_cosmicray.py::test_cosmicray_median PASSED
> ccdproc/tests/test_cosmicray.py::test_cosmicray_median_ccddata PASSED
> ccdproc/tests/test_cosmicray.py::test_cosmicray_median_masked PASSED
> ccdproc/tests/test_cosmicray.py::test_cosmicray_median_background_None PASSED
> ccdproc/tests/test_cosmicray.py::test_cosmicray_median_gbox PASSED
> ccdproc/tests/test_cosmicray.py::test_cosmicray_median_rbox PASSED
> ccdproc/tests/test_cosmicray.py::test_cosmicray_median_background_deviation PASSED
> ccdproc/tests/test_cosmicray.py::test_background_deviation_box PASSED
> ccdproc/tests/test_cosmicray.py::test_background_deviation_box_fail PASSED
> ccdproc/tests/test_cosmicray.py::test_background_deviation_filter PASSED
> ccdproc/tests/test_cosmicray.py::test_background_deviation_filter_fail PASSED
> ccdproc/tests/test_gain.py::test_linear_gain_correct[3.0] PASSED
> ccdproc/tests/test_gain.py::test_linear_gain_correct[gain1] PASSED
> ccdproc/tests/test_gain.py::test_linear_gain_correct[gain2] PASSED
> ccdproc/tests/test_gain.py::test_linear_gain_correct[gain3] PASSED
> ccdproc/tests/test_gain.py::test_linear_gain_unit_keyword PASSED
> ccdproc/tests/test_image_collection.py::test_fits_summary PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_filter_files PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_filtered_files_have_proper_path PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_summary_is_summary_info PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_files_with_compressed PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_files_with_no_compressed PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_generator_full_path PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_hdus PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_hdus_masking PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_headers PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_headers_save_location PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_headers_with_filter PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_headers_with_multiple_filters PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_headers_with_filter_wildcard PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_headers_with_filter_missing_keyword PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_generator_headers_save_with_name PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_generator_data PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_consecutive_fiilters PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_filter_does_not_not_permanently_change_file_mask PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_keyword_setting[new_keywords0-collection_keys0] PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_keyword_setting[new_keywords1-collection_keys1] PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_keyword_setting_to_empty_list PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_header_and_filename PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_dir_with_no_fits_files PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_dir_with_no_keys PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_fits_summary_when_keywords_are_not_subset PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_duplicate_keywords_in_setting PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_keyword_includes_file PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_setting_keywords_to_none PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_getting_value_for_keyword PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_collection_when_one_file_not_fits PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_data_type_mismatch_in_fits_keyword_values PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_filter_by_numerical_value PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_files_filtered_with_full_path PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_unknown_generator_type_raises_error PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_setting_write_location_to_bad_dest_raises_error PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_initializing_from_table PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_initializing_from_table_file_that_does_not_exist PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_no_fits_files_in_collection PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_initialization_with_no_keywords PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_tabulate_all_keywords PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_summary_table_is_always_masked PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_case_of_keywords_respected PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_grabbing_all_keywords_and_specific_keywords PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_grabbing_all_keywords_excludes_empty_key PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_header_with_long_history_roundtrips_to_disk PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_refresh_method_sees_added_keywords PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_refresh_method_sees_added_files PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_keyword_order_is_preserved PASSED
> ccdproc/tests/test_image_collection.py::TestImageFileCollection::test_sorting PASSED
> ccdproc/tests/test_keyword.py::test_keyword_init PASSED
> ccdproc/tests/test_keyword.py::test_keyword_properties_read_only PASSED
> ccdproc/tests/test_keyword.py::test_value_setting[30-unit0-True] PASSED
> ccdproc/tests/test_keyword.py::test_value_setting[30-None-ValueError] PASSED
> ccdproc/tests/test_keyword.py::test_value_setting[value2-None-True] PASSED
> ccdproc/tests/test_keyword.py::test_value_setting[value3-unit3-True] PASSED
> ccdproc/tests/test_keyword.py::test_value_setting[value4-unit4-True] PASSED
> ccdproc/tests/test_keyword.py::test_value_setting[some string-None-some string] PASSED
> ccdproc/tests/test_keyword.py::test_value_setting[no strings with unit-unit6-ValueError] PASSED
> ccdproc/tests/test_keyword.py::test_keyword_value_from_header PASSED
> ccdproc/utils/slices.py::ccdproc.utils.slices.slice_from_string PASSED
> ccdproc/utils/tests/test_slices.py::test_slice_from_string_needs_enclosing_brackets[1:2] PASSED
> ccdproc/utils/tests/test_slices.py::test_slice_from_string_needs_enclosing_brackets[[1:2] PASSED
> ccdproc/utils/tests/test_slices.py::test_slice_from_string_needs_enclosing_brackets[1:2]] PASSED
> ccdproc/utils/tests/test_slices.py::test_slice_from_string_1d[None-None--1] PASSED
> ccdproc/utils/tests/test_slices.py::test_slice_from_string_1d[5-10-None] PASSED
> ccdproc/utils/tests/test_slices.py::test_slice_from_string_1d[None-25-None] PASSED
> ccdproc/utils/tests/test_slices.py::test_slice_from_string_1d[2-30-3] PASSED
> ccdproc/utils/tests/test_slices.py::test_slice_from_string_1d[30-None--2] PASSED
> ccdproc/utils/tests/test_slices.py::test_slice_from_string_1d[None-None-None] PASSED
> ccdproc/utils/tests/test_slices.py::test_slice_from_string_spaces[ [ 1: 45]] PASSED
> ccdproc/utils/tests/test_slices.py::test_slice_from_string_spaces[[ 1 :4 5]] PASSED
> ccdproc/utils/tests/test_slices.py::test_slice_from_string_spaces[ [1:45] ] PASSED
> ccdproc/utils/tests/test_slices.py::test_slice_from_string_2d PASSED
> ccdproc/utils/tests/test_slices.py::test_slice_from_string_fits_style PASSED
> ccdproc/utils/tests/test_slices.py::test_slice_from_string_fits_inverted PASSED
> ccdproc/utils/tests/test_slices.py::test_slice_from_string_empty PASSED
> ccdproc/utils/tests/test_slices.py::test_slice_from_string_bad_fits_slice PASSED
> ccdproc/utils/tests/test_slices.py::test_slice_from_string_fits_wildcard PASSED
> ../docs/authors_for_sphinx.rst PASSED
> ../docs/changelog.rst PASSED
> ../docs/index.rst PASSED
> ../docs/ccdproc/ccddata.rst PASSED
> ../docs/ccdproc/image_combination.rst PASSED
> ../docs/ccdproc/image_management.rst PASSED
> ../docs/ccdproc/index.rst PASSED
> ../docs/ccdproc/install.rst PASSED
> ../docs/ccdproc/reduction_examples.rst PASSED
> ../docs/ccdproc/reduction_toolbox.rst PASSED
>
> =================================== FAILURES ===================================
> _______________________ test_wcs_project_onto_scale_wcs ________________________
>
> ccd_data = CCDData([[ 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
> ...., 1., 1., 1., 1., 1., 1., 1., 1.,
> 1., 1., 1., 1., 1.]])
>
> @pytest.mark.data_size(31)
> def test_wcs_project_onto_scale_wcs(ccd_data):
> # Make the target WCS with half the pixel scale and number of pixels
> # and the values should drop by a factor of 4.
>
> ccd_data.wcs = wcs_for_testing(ccd_data.shape)
>
> # Make sure wcs is centered at the center of the center pixel.
> ccd_data.wcs.wcs.crpix += 0.5
>
> # Use uniform input data value for simplicity.
> ccd_data.data = np.ones_like(ccd_data.data)
>
> # Make mask zero...
> ccd_data.mask = np.zeros_like(ccd_data.data)
> # ...except the center pixel, which is one.
> ccd_data.mask[int(ccd_data.wcs.wcs.crpix[0]),
> int(ccd_data.wcs.wcs.crpix[1])] = 1
>
> target_wcs = wcs_for_testing(ccd_data.shape)
> target_wcs.wcs.cdelt /= 2
>
> # Choice below ensures we are really at the center pixel of an odd range.
> target_shape = 2 * np.array(ccd_data.shape) + 1
> target_wcs.wcs.crpix = 2 * target_wcs.wcs.crpix + 1 + 0.5
>
> # Explicitly set the interpolation method so we know what to
> # expect for the mass.
> new_ccd = wcs_project(ccd_data, target_wcs,
> target_shape=target_shape,
> order='nearest-neighbor')
>
> # Make sure new image has correct WCS.
> assert new_ccd.wcs.wcs.compare(target_wcs.wcs)
>
> # Define a cutout from the new array that should match the old.
> new_lower_bound = (np.array(new_ccd.shape) -
> np.array(ccd_data.shape)) / 2
> new_upper_bound = (np.array(new_ccd.shape) +
> np.array(ccd_data.shape)) / 2
> data_cutout = new_ccd.data[new_lower_bound[0]:new_upper_bound[0],
> > new_lower_bound[1]:new_upper_bound[1]]
> E TypeError: slice indices must be integers or None or have an __index__ method
>
> ccdproc/tests/test_ccdproc.py:817: TypeError
> =============== 1 failed, 304 passed, 2 skipped in 7.08 seconds ================
> debian/rules:14: recipe for target 'test-python2.7' failed
> make[1]: *** [test-python2.7] Error 1
The full build log is available from:
http://aws-logs.debian.net/2016/12/19/ccdproc_1.1.0-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Debian-astro-maintainers
mailing list