[Debian-astro-maintainers] Bug#828172: python-asdf: FTBFS: asdf/tags/transform/tests/test_transform.py:57: AssertionError

Chris Lamb lamby at debian.org
Sat Jun 25 17:27:22 UTC 2016


Source: python-asdf
Version: 1.1.0-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

python-asdf fails to build from source in unstable/amd64:

  [..]

  asdf/tags/wcs/tests/test_wcs.py::test_frames SKIPPED
  asdf/tests/test_asdftypes.py::test_custom_tag PASSED
  asdf/tests/test_asdftypes.py::test_version_mismatch PASSED
  asdf/tests/test_asdftypes.py::test_versioned_writing PASSED
  asdf/tests/test_asdftypes.py::test_longest_match PASSED
  asdf/tests/test_compression.py::test_invalid_compression PASSED
  asdf/tests/test_compression.py::test_zlib PASSED
  asdf/tests/test_compression.py::test_bzp2 PASSED
  asdf/tests/test_fits_embed.py::test_embed_asdf_in_fits_file PASSED
  asdf/tests/test_fits_embed.py::test_embed_asdf_in_fits_file_anonymous_extensions PASSED
  asdf/tests/test_fits_embed.py::test_create_in_tree_first PASSED
  asdf/tests/test_generic_io.py::test_mode_fail PASSED
  asdf/tests/test_generic_io.py::test_open PASSED
  asdf/tests/test_generic_io.py::test_path[tree0] PASSED
  asdf/tests/test_generic_io.py::test_path[tree1] PASSED
  asdf/tests/test_generic_io.py::test_open2[tree0] PASSED
  asdf/tests/test_generic_io.py::test_open2[tree1] PASSED
  asdf/tests/test_generic_io.py::test_open_fail PASSED
  asdf/tests/test_generic_io.py::test_open_fail2 PASSED
  asdf/tests/test_generic_io.py::test_open_fail4 PASSED
  asdf/tests/test_generic_io.py::test_io_open[tree0] PASSED
  asdf/tests/test_generic_io.py::test_io_open[tree1] PASSED
  asdf/tests/test_generic_io.py::test_bytes_io[tree0] PASSED
  asdf/tests/test_generic_io.py::test_bytes_io[tree1] PASSED
  asdf/tests/test_generic_io.py::test_streams[tree0] PASSED
  asdf/tests/test_generic_io.py::test_streams[tree1] PASSED
  asdf/tests/test_generic_io.py::test_streams2 PASSED
  asdf/tests/test_generic_io.py::test_urlopen[tree0] SKIPPED
  asdf/tests/test_generic_io.py::test_urlopen[tree1] SKIPPED
  asdf/tests/test_generic_io.py::test_http_connection[tree0] SKIPPED
  asdf/tests/test_generic_io.py::test_http_connection[tree1] SKIPPED
  asdf/tests/test_generic_io.py::test_http_connection_range[tree0] SKIPPED
  asdf/tests/test_generic_io.py::test_http_connection_range[tree1] SKIPPED
  asdf/tests/test_generic_io.py::test_exploded_filesystem[tree0] PASSED
  asdf/tests/test_generic_io.py::test_exploded_filesystem[tree1] PASSED
  asdf/tests/test_generic_io.py::test_exploded_filesystem_fail[tree0] PASSED
  asdf/tests/test_generic_io.py::test_exploded_filesystem_fail[tree1] PASSED
  asdf/tests/test_generic_io.py::test_exploded_http[tree0] SKIPPED
  asdf/tests/test_generic_io.py::test_exploded_http[tree1] SKIPPED
  asdf/tests/test_generic_io.py::test_exploded_stream_write PASSED
  asdf/tests/test_generic_io.py::test_exploded_stream_read PASSED
  asdf/tests/test_generic_io.py::test_unicode_open PASSED
  asdf/tests/test_generic_io.py::test_invalid_obj PASSED
  asdf/tests/test_generic_io.py::test_nonseekable_file PASSED
  asdf/tests/test_generic_io.py::test_relative_uri PASSED
  asdf/tests/test_generic_io.py::test_arbitrary_file_object PASSED
  asdf/tests/test_generic_io.py::test_check_bytes PASSED
  asdf/tests/test_generic_io.py::test_truncated_reader PASSED
  asdf/tests/test_low_level.py::test_no_yaml_end_marker PASSED
  asdf/tests/test_low_level.py::test_no_final_newline PASSED
  asdf/tests/test_low_level.py::test_no_asdf_header PASSED
  asdf/tests/test_low_level.py::test_no_asdf_blocks PASSED
  asdf/tests/test_low_level.py::test_invalid_source PASSED
  asdf/tests/test_low_level.py::test_empty_file PASSED
  asdf/tests/test_low_level.py::test_not_asdf_file PASSED
  asdf/tests/test_low_level.py::test_junk_file PASSED
  asdf/tests/test_low_level.py::test_block_mismatch PASSED
  asdf/tests/test_low_level.py::test_block_header_too_small PASSED
  asdf/tests/test_low_level.py::test_file_already_closed PASSED
  asdf/tests/test_low_level.py::test_external_block PASSED
  asdf/tests/test_low_level.py::test_external_block_non_url PASSED
  asdf/tests/test_low_level.py::test_invalid_array_storage PASSED
  asdf/tests/test_low_level.py::test_transfer_array_sources PASSED
  asdf/tests/test_low_level.py::test_write_to_same PASSED
  asdf/tests/test_low_level.py::test_pad_blocks PASSED
  asdf/tests/test_low_level.py::test_update_expand_tree PASSED
  asdf/tests/test_low_level.py::test_update_delete_first_array PASSED
  asdf/tests/test_low_level.py::test_update_delete_last_array PASSED
  asdf/tests/test_low_level.py::test_update_delete_middle_array PASSED
  asdf/tests/test_low_level.py::test_update_replace_first_array PASSED
  asdf/tests/test_low_level.py::test_update_replace_last_array PASSED
  asdf/tests/test_low_level.py::test_update_replace_middle_array PASSED
  asdf/tests/test_low_level.py::test_update_add_array PASSED
  asdf/tests/test_low_level.py::test_update_add_array_at_end PASSED
  asdf/tests/test_low_level.py::test_update_replace_all_arrays PASSED
  asdf/tests/test_low_level.py::test_update_array_in_place PASSED
  asdf/tests/test_low_level.py::test_init_from_asdffile PASSED
  asdf/tests/test_low_level.py::test_update_exceptions PASSED
  asdf/tests/test_low_level.py::test_get_data_from_closed_file PASSED
  asdf/tests/test_low_level.py::test_seek_until_on_block_boundary PASSED
  asdf/tests/test_low_level.py::test_checksum PASSED
  asdf/tests/test_low_level.py::test_checksum_update PASSED
  asdf/tests/test_low_level.py::test_atomic_write PASSED
  asdf/tests/test_low_level.py::test_walk_and_modify_remove_keys PASSED
  asdf/tests/test_low_level.py::test_copy PASSED
  asdf/tests/test_low_level.py::test_deferred_block_loading PASSED
  asdf/tests/test_low_level.py::test_block_index PASSED
  asdf/tests/test_low_level.py::test_large_block_index PASSED
  asdf/tests/test_low_level.py::test_no_block_index PASSED
  asdf/tests/test_low_level.py::test_junk_after_index PASSED
  asdf/tests/test_low_level.py::test_short_file_find_block_index PASSED
  asdf/tests/test_low_level.py::test_invalid_block_index_values PASSED
  asdf/tests/test_low_level.py::test_invalid_last_block_index PASSED
  asdf/tests/test_low_level.py::test_unordered_block_index PASSED
  asdf/tests/test_low_level.py::test_invalid_block_index_first_block_value PASSED
  asdf/tests/test_low_level.py::test_invalid_block_id PASSED
  asdf/tests/test_low_level.py::test_dots_but_no_block_index PASSED
  asdf/tests/test_low_level.py::test_invalid_version PASSED
  asdf/tests/test_reference.py::test_external_reference PASSED
  asdf/tests/test_reference.py::test_external_reference_invalid PASSED
  asdf/tests/test_reference.py::test_external_reference_invalid_fragment PASSED
  asdf/tests/test_reference.py::test_make_reference PASSED
  asdf/tests/test_reference.py::test_internal_reference PASSED
  asdf/tests/test_schema.py::test_violate_toplevel_schema PASSED
  asdf/tests/test_schema.py::test_tagging_scalars PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[0] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[1] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[2] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[3] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[4] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[5] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[6] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[7] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[8] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[9] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[10] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[11] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[12] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[13] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[14] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[15] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[16] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[17] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[18] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[19] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[20] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[21] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[22] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[23] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[24] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[25] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[26] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[27] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[28] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[29] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[30] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[31] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[32] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[33] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[34] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[35] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[36] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[37] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[38] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[39] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[40] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[41] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[42] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[43] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[44] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[45] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[46] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[47] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[48] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[49] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[50] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[51] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[52] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[53] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[54] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[55] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[56] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[57] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[58] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[59] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[60] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[61] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[62] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[63] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[64] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[65] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[66] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[67] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[68] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[69] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[70] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[71] PASSED
  asdf/tests/test_schema.py::test_validate_all_schema::[72] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[0] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[1] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[2] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[3] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[4] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[5] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[6] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[7] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[8] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[9] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[10] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[11] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[12] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[13] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[14] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[15] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[16] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[17] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[18] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[19] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[20] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[21] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[22] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[23] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[24] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[25] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[26] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[27] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[28] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[29] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[30] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[31] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[32] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[33] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[34] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[35] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[36] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[37] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[38] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[39] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[40] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[41] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[42] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[43] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[44] PASSED
  asdf/tests/test_schema.py::test_all_schema_examples::[45] PASSED
  asdf/tests/test_schema.py::test_schema_caching PASSED
  asdf/tests/test_schema.py::test_flow_style PASSED
  asdf/tests/test_schema.py::test_style PASSED
  asdf/tests/test_schema.py::test_property_order PASSED
  asdf/tests/test_schema.py::test_invalid_nested PASSED
  asdf/tests/test_schema.py::test_invalid_schema PASSED
  asdf/tests/test_schema.py::test_defaults PASSED
  asdf/tests/test_schema.py::test_default_check_in_schema PASSED
  asdf/tests/test_schema.py::test_fill_and_remove_defaults PASSED
  asdf/tests/test_schema.py::test_references_in_schema PASSED
  asdf/tests/test_schema.py::test_large_literals PASSED
  asdf/tests/test_schema.py::test_type_missing_dependencies PASSED
  asdf/tests/test_schema.py::test_assert_roundtrip_with_extension PASSED
  asdf/tests/test_stream.py::test_stream PASSED
  asdf/tests/test_stream.py::test_stream_write_nothing PASSED
  asdf/tests/test_stream.py::test_stream_twice PASSED
  asdf/tests/test_stream.py::test_stream_with_nonstream PASSED
  asdf/tests/test_stream.py::test_stream_real_file PASSED
  asdf/tests/test_stream.py::test_stream_to_stream PASSED
  asdf/tests/test_stream.py::test_array_to_stream PASSED
  asdf/tests/test_stream.py::test_too_many_streams PASSED
  asdf/tests/test_yaml.py::test_ordered_dict PASSED
  asdf/tests/test_yaml.py::test_unicode_write PASSED
  asdf/tests/test_yaml.py::test_arbitrary_python_object PASSED
  asdf/tests/test_yaml.py::test_python_tuple PASSED
  asdf/tests/test_yaml.py::test_tags_removed_after_load PASSED
  asdf/tests/test_yaml.py::test_explicit_tags PASSED
  asdf/tests/test_yaml.py::test_yaml_internal_reference PASSED
  asdf/tests/test_yaml.py::test_yaml_nan_inf PASSED
  ../docs/index.rst PASSED
  ../docs/asdf/examples.rst PASSED
  ../docs/asdf/extensions.rst PASSED
  
  =================================== FAILURES ===================================
  ___________________________ test_inverse_transforms ____________________________
  
  tmpdir = local('/tmp/pytest-of-lamby/pytest-0/test_inverse_transforms0')
  
      @pytest.mark.skipif('not HAS_ASTROPY')
      def test_inverse_transforms(tmpdir):
          rotation = astmodels.Rotation2D(32)
          rotation.inverse = astmodels.Rotation2D(45)
      
          real_rotation = astmodels.Rotation2D(32)
      
          tree = {
              'rotation': rotation,
              'real_rotation': real_rotation
              }
      
          def check(ff):
              assert ff.tree['rotation'].inverse.angle == 45
      
  >       helpers.assert_roundtrip_tree(tree, tmpdir, check)
  
  asdf/tags/transform/tests/test_transform.py:59: 
  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
  asdf/tests/helpers.py:120: in assert_roundtrip_tree
      asdf_check_func(ff)
  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
  
  ff = <asdf.asdf.AsdfFile object at 0x7f5b525dac50>
  
      def check(ff):
  >       assert ff.tree['rotation'].inverse.angle == 45
  E       assert Parameter('angle', value=-32.0) == 45
  E        +  where Parameter('angle', value=-32.0) = <Rotation2D(angle=-32.0)>.angle
  E        +    where <Rotation2D(angle=-32.0)> = <Rotation2D(angle=32.0)>.inverse
  
  asdf/tags/transform/tests/test_transform.py:57: AssertionError
  ============== 1 failed, 317 passed, 12 skipped in 14.53 seconds ===============
  debian/rules:24: recipe for target 'test-python2.7' failed
  make[1]: *** [test-python2.7] Error 1
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160625192108.IHJhSBQXEt.python-asdf/python-asdf-1.1.0'
  debian/rules:10: recipe for target 'build' failed
  make: *** [build] Error 2

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-asdf.1.1.0-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 13584 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-astro-maintainers/attachments/20160625/b2fab9f9/attachment-0001.obj>


More information about the Debian-astro-maintainers mailing list