Bug#978255: glymur: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p 3.9 returned exit code 13
Lucas Nussbaum
lucas at debian.org
Sat Dec 26 21:44:51 GMT 2020
Source: glymur
Version: 0.9.2-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201226 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> PYBUILD_SYSTEM=custom \
> PYBUILD_TEST_ARGS="env PYTHONPATH={build_dir} python{version} -m unittest discover -v" \
> dh_auto_test
> I: pybuild base:232: env PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build python3.9 -m unittest discover -v
> test_info_callback_on_write (tests.test_callbacks.TestSuite)
> SCENARIO: write to a JP2 file while in verbose mode ... ok
> test_info_callback_on_write_backwards_compatibility (tests.test_callbacks.TestSuite)
> SCENARIO: write to a J2K file while in verbose mode ... ok
> test_info_callbacks_on_read (tests.test_callbacks.TestSuite)
> SCENARIO: the verbose attribute is set to True ... ok
> test_NR_ENC_ElephantDream_4K_tif_21_encode (tests.test_cinema.WriteCinema)
> SCENARIO: create JP2 file with cinema4k profile ... ok
> test_NR_ENC_X_6_2K_24_FULL_CBR_CIRCLE_000_tif_17_encode (tests.test_cinema.WriteCinema)
> SCENARIO: create JP2 file with cinema2k profile at 24 fps ... ok
> test_NR_ENC_X_6_2K_24_FULL_CBR_CIRCLE_000_tif_20_encode (tests.test_cinema.WriteCinema)
> SCENARIO: create JP2 file with cinema2k profile at 48 fps ... ok
> test_cinema2K_bad_frame_rate (tests.test_cinema.WriteCinema)
> SCENARIO: The cinema2k frame rate is not either 24 or 48. ... ok
> test_reserved_marker_segment (tests.test_codestream.TestCodestream)
> SCENARIO: Rewrite a J2K file to include a marker segment with a ... ok
> test_siz_segment_ssiz_unsigned (tests.test_codestream.TestCodestream)
> ssiz attribute to be removed in future release ... ok
> test_siz (tests.test_codestream.TestCodestreamRepr)
> Test SIZ segment repr ... ok
> test_soc (tests.test_codestream.TestCodestreamRepr)
> Test SOC segment repr ... ok
> test_crg_segment (tests.test_codestream.TestSuite)
> Verify parsing of the CRG segment ... ok
> test_plt_segment (tests.test_codestream.TestSuite)
> Verify parsing of the PLT segment ... ok
> test_ppm_segment (tests.test_codestream.TestSuite)
> Verify parsing of the PPM segment ... ok
> test_ppt_segment (tests.test_codestream.TestSuite)
> Verify parsing of the PPT segment ... ok
> test_rgn_segment (tests.test_codestream.TestSuite)
> Verify parsing of the RGN segment ... ok
> test_tlm_segment (tests.test_codestream.TestSuite)
> Verify parsing of the TLM segment. ... ok
> test_bad_approx_jp2_field (tests.test_colour_specification_box.TestColourSpecificationBox)
> JP2 has requirements for approx field ... ok
> test_bad_method_printing (tests.test_colour_specification_box.TestColourSpecificationBox)
> SCENARIO: An ICC profile is both too short and has an invalid method ... ok
> test_colr_with_bad_color (tests.test_colour_specification_box.TestColourSpecificationBox)
> SCENARIO: A colr box has an invalid colorspace. ... ok
> test_colr_with_out_enum_cspace (tests.test_colour_specification_box.TestColourSpecificationBox)
> must supply an enumerated colorspace when writing ... ok
> test_default_colr (tests.test_colour_specification_box.TestColourSpecificationBox)
> basic colr instantiation ... ok
> test_icc_profile (tests.test_colour_specification_box.TestColourSpecificationBox)
> basic colr box with ICC profile ... ok
> test_missing_colr_box (tests.test_colour_specification_box.TestColourSpecificationBox)
> jp2h must have a colr box ... ok
> test_write_colr_with_bad_method (tests.test_colour_specification_box.TestColourSpecificationBox)
> SCENARIO: A colr box has an invalid method value. ... ok
> test_bad_rendering_intent (tests.test_colour_specification_box.TestSuite)
> The rendering intent is not in the range 0-4. ... ok
> test_icc_profile (tests.test_colour_specification_box.TestSuite)
> SCENARIO: The ColourDefinitionBox has an ICC profile. ... ok
> test_version4 (tests.test_colour_specification_box.TestSuite)
> ICC profile is version 4 ... ok
> test_config_dir_on_windows (tests.test_config.TestSuite)
> SCENARIO: the XDG_CONFIG_HOME environment variable is not present, the ... ok
> test_not_via_ctypes (tests.test_config.TestSuite)
> SCENARIO: the platform is not anaconda and not MacPorts. The ctypes ... ok
> test_config_dir_but_no_config_file (tests.test_config.TestSuiteConfigFile)
> SCENARIO: A config directory is specified via the environment ... ok
> test_config_file_in_current_directory (tests.test_config.TestSuiteConfigFile)
> SCENARIO: A configuration file exists in the current directory. ... skipped 'Difficult to run on Linux unless Anaconda, GH#496'
> test_config_file_via_environ (tests.test_config.TestSuiteConfigFile)
> SCENARIO: Specify the configuration file via an environment variable. ... ok
> test_config_file_without_library_section (tests.test_config.TestSuiteConfigFile)
> SCENARIO: A config directory is specified via the environment ... ok
> test_bad_deprecated_print_option (tests.test_config.TestSuiteOptions)
> Verify exception when a bad option is given to old set_printoption ... ok
> test_bad_reset (tests.test_config.TestSuiteOptions)
> Verify exception when a bad option is given to reset ... ok
> test_reset_single_option (tests.test_config.TestSuiteOptions)
> Verify a single option can be reset. ... ok
> test_anaconda_on_mac (tests.test_config.TestSuitePathToLibrary)
> SCENARIO: the platform is Anaconda on mac. ... ok
> test_macports (tests.test_config.TestSuitePathToLibrary)
> SCENARIO: the platform is MacPorts. ... ok
> test_via_ctypes (tests.test_config.TestSuitePathToLibrary)
> SCENARIO: the platform is not anaconda and not MacPorts. The ctypes ... ok
> test_windows_path (tests.test_config.TestSuitePathToLibrary)
> SCENARIO: the platform is Anaconda on windows, even though we are not ... ok
> test_append_allowable_boxes (tests.test_jp2box.TestAppend)
> Only XML boxes are allowed to be appended. ... ok
> test_append_xml (tests.test_jp2box.TestAppend)
> Should be able to append an XML box. ... ok
> test_length_field_is_zero (tests.test_jp2box.TestAppend)
> L=0 (length field in box header) is handled. ... ok
> test_only_jp2_allowed_to_append (tests.test_jp2box.TestAppend)
> Only JP2 files are allowed to be appended. ... ok
> test_bad_grey_alpha (tests.test_jp2box.TestChannelDefinition)
> A greyscale image with alpha layer must specify a color channel ... ok
> test_bad_rgba (tests.test_jp2box.TestChannelDefinition)
> R, G, and B must be specified. ... ok
> test_cdef_no_inputs (tests.test_jp2box.TestChannelDefinition)
> channel_type and association are required inputs. ... ok
> test_grey (tests.test_jp2box.TestChannelDefinition)
> Just regular greyscale. ... ok
> test_grey_alpha (tests.test_jp2box.TestChannelDefinition)
> Just regular greyscale plus alpha. ... ok
> test_not_in_jp2h (tests.test_jp2box.TestChannelDefinition)
> need cdef in jp2h ... ok
> test_only_one_cdef_in_jp2h (tests.test_jp2box.TestChannelDefinition)
> There can only be one channel definition box in the jp2 header. ... ok
> test_rgb (tests.test_jp2box.TestChannelDefinition)
> Just regular RGB, but don't supply the optional index. ... ok
> test_rgb_with_index (tests.test_jp2box.TestChannelDefinition)
> Just regular RGB. ... ok
> test_rgba (tests.test_jp2box.TestChannelDefinition)
> Just regular RGBA. ... ok
> test_basic_url (tests.test_jp2box.TestDataEntryURL)
> Just your most basic URL box. ... ok
> test_null_termination (tests.test_jp2box.TestDataEntryURL)
> I.9.3.2 specifies that location field must be null terminated. ... ok
> test_wrap_greyscale (tests.test_jp2box.TestDataEntryURL)
> A single component should be wrapped as GREYSCALE. ... ok
> test_bad_brand_on_parse (tests.test_jp2box.TestFileTypeBox)
> SCENARIO: The JP2 file file type box does not contain a valid brand. ... ok
> test_brand_unknown (tests.test_jp2box.TestFileTypeBox)
> A ftyp box brand must be 'jp2 ' or 'jpx '. ... ok
> test_cl_entry_not_utf8 (tests.test_jp2box.TestFileTypeBox)
> A ftyp box cl list entry must be utf-8 decodable. ... ok
> test_cl_entry_unknown (tests.test_jp2box.TestFileTypeBox)
> A ftyp box cl list can only contain 'jp2 ', 'jpx ', or 'jpxb'. ... ok
> test_codestream_main_header_offset (tests.test_jp2box.TestJp2Boxes)
> main_header_offset is an attribute of the ContiguousCodesStream box ... ok
> test_default_ccodestreambox (tests.test_jp2box.TestJp2Boxes)
> Raw instantiation should not produce a main_header. ... ok
> test_default_ftyp (tests.test_jp2box.TestJp2Boxes)
> Should be able to instantiate a FileTypeBox ... ok
> test_default_ihdr (tests.test_jp2box.TestJp2Boxes)
> Should be able to instantiate an image header box. ... ok
> test_default_jp2headerbox (tests.test_jp2box.TestJp2Boxes)
> Should be able to set jp2h boxes. ... ok
> test_default_jp2k (tests.test_jp2box.TestJp2Boxes)
> Should be able to instantiate a JPEG2000SignatureBox ... ok
> test_no_ihdr_box (tests.test_jp2box.TestJp2Boxes)
> SCENARIO: The JP2/IHDR box cannot be parsed. ... ok
> test_no_jp2c_box (tests.test_jp2box.TestJp2Boxes)
> SCENARIO: The JP2/JP2C box cannot be parsed. ... ok
> test_signed_components (tests.test_jp2box.TestPaletteBox)
> Palettes with signed components are not supported. ... ok
> test_writing_with_different_bitdepths (tests.test_jp2box.TestPaletteBox)
> Bitdepths must be the same when writing. ... ok
> test_association_box (tests.test_jp2box.TestRepr)
> Verify __repr__ method on asoc box. ... ok
> test_bpcc (tests.test_jp2box.TestRepr)
> Should be able to instantiate a bpcc box ... ok
> test_channeldefinition_box (tests.test_jp2box.TestRepr)
> Verify __repr__ method on cdef box. ... ok
> test_codestreamheader_box (tests.test_jp2box.TestRepr)
> Verify __repr__ method on jpch box. ... ok
> test_colourspecification_box (tests.test_jp2box.TestRepr)
> Verify __repr__ method on colr box. ... ok
> test_componentmapping_box (tests.test_jp2box.TestRepr)
> Verify __repr__ method on cmap box. ... ok
> test_compositinglayerheader_box (tests.test_jp2box.TestRepr)
> Verify __repr__ method on jplh box. ... ok
> test_contiguous_codestream_box (tests.test_jp2box.TestRepr)
> Verify contiguous codestream box repr method. ... ok
> test_data_entry_url_box (tests.test_jp2box.TestRepr)
> Verify __repr__ method on data entry url box. ... ok
> test_default_cgrp (tests.test_jp2box.TestRepr)
> Should be able to instantiate a color group box ... ok
> test_default_ftyp (tests.test_jp2box.TestRepr)
> Should be able to instantiate a FileTypeBox ... ok
> test_default_jp2k (tests.test_jp2box.TestRepr)
> Should be able to eval a JPEG2000SignatureBox ... ok
> test_dref (tests.test_jp2box.TestRepr)
> Should be able to instantiate a data reference box ... ok
> test_flst (tests.test_jp2box.TestRepr)
> Should be able to instantiate a fragment list box ... ok
> test_free (tests.test_jp2box.TestRepr)
> Should be able to instantiate a free box ... ok
> test_ftbl (tests.test_jp2box.TestRepr)
> Should be able to instantiate a fragment table box ... ok
> test_imageheader_box (tests.test_jp2box.TestRepr)
> Verify __repr__ method on jhdr box. ... ok
> test_jp2header_box (tests.test_jp2box.TestRepr)
> Verify __repr__ method on ihdr box. ... ok
> test_label_box (tests.test_jp2box.TestRepr)
> Verify __repr__ method on label box. ... ok
> test_nlst (tests.test_jp2box.TestRepr)
> Should be able to instantiate a number list box ... ok
> test_palette_box (tests.test_jp2box.TestRepr)
> Verify Palette box repr. ... ok
> test_readerrequirements_box (tests.test_jp2box.TestRepr)
> Verify rreq repr method. ... ok
> test_resolution_boxes (tests.test_jp2box.TestRepr)
> Verify __repr__ method on resolution boxes. ... ok
> test_unknown (tests.test_jp2box.TestRepr)
> Should be able to instantiate an unknown box ... ok
> test_uuid_box_generic (tests.test_jp2box.TestRepr)
> Verify uuid repr method. ... ok
> test_uuid_box_xmp (tests.test_jp2box.TestRepr)
> Verify uuid repr method for XMP UUID box. ... ok
> test_uuidinfo_box (tests.test_jp2box.TestRepr)
> Verify __repr__ method on uinf box. ... ok
> test_uuidlist_box (tests.test_jp2box.TestRepr)
> Verify __repr__ method on ulst box. ... ok
> test_xml_box (tests.test_jp2box.TestRepr)
> Verify xml box repr. ... ok
> test_default_layout_with_boxes (tests.test_jp2box.TestWrap)
> basic test for rewrapping a jp2 file, boxes specified ... ok
> test_empty_jp2h (tests.test_jp2box.TestWrap)
> JP2H box list cannot be empty. ... ok
> test_first_boxes_jp_and_ftyp (tests.test_jp2box.TestWrap)
> first two boxes must be jP followed by ftyp ... ok
> test_full_blown_jpx (tests.test_jp2box.TestWrap)
> Rewrap a jpx file. ... ok
> test_ihdr_not_first_in_jp2h (tests.test_jp2box.TestWrap)
> The specification says that ihdr must be the first box in jp2h. ... ok
> test_jp2h_not_preceeding_jp2c (tests.test_jp2box.TestWrap)
> jp2h must precede jp2c ... ok
> test_jpx_to_jp2 (tests.test_jp2box.TestWrap)
> basic test for rewrapping a jpx file ... ok
> test_missing_codestream (tests.test_jp2box.TestWrap)
> Need a codestream box in order to call wrap method. ... ok
> test_pclr_not_in_jp2h (tests.test_jp2box.TestWrap)
> A palette box must reside in a JP2 header box. ... ok
> test_wrap (tests.test_jp2box.TestWrap)
> basic test for rewrapping a j2c file, no specified boxes ... ok
> test_wrap_compatibility_not_jp2 (tests.test_jp2box.TestWrap)
> File type compatibility must contain jp2 ... ok
> test_wrap_jp2 (tests.test_jp2box.TestWrap)
> basic test for rewrapping a jp2 file, no specified boxes ... ok
> test_wrap_jp2_Lone (tests.test_jp2box.TestWrap)
> Wrap jp2 with jp2c box length is 1, implies Q field ... ok
> test_wrap_jp2_Lzero (tests.test_jp2box.TestWrap)
> Wrap jp2 with jp2c box length is zero ... ok
> test_wrap_jpx_to_jp2_with_correctly_specified_jp2c (tests.test_jp2box.TestWrap)
> Accept A JPX file rewrapped with good jp2c. ... ok
> test_wrap_jpx_to_jp2_with_incorrect_jp2c_offset (tests.test_jp2box.TestWrap)
> Reject A JPX file rewrapped with bad jp2c offset. ... ok
> test_wrap_jpx_to_jp2_with_unadorned_jpch (tests.test_jp2box.TestWrap)
> A JPX file rewrapped with plain jpch is not allowed. ... ok
> __init__ (glymur.jp2box.ImageHeaderBox)
> Doctest: glymur.jp2box.ImageHeaderBox.__init__ ... ok
> test_data_reference_requires_dtbl (tests.test_jp2box_jpx.TestJPX)
> The existance of data reference box requires a ftbl box as well. ... ok
> test_dtbl_free (tests.test_jp2box_jpx.TestJPX)
> Verify that we can interpret Data Reference and Free boxes. ... ok
> test_flst_lengths_not_positive (tests.test_jp2box_jpx.TestJPX)
> A fragment list box lengths must be positive. ... ok
> test_flst_lens_not_the_same (tests.test_jp2box_jpx.TestJPX)
> SCENARIO: A FramentListBox is passed parameters with inconsistent ... ok
> test_flst_offsets_not_positive (tests.test_jp2box_jpx.TestJPX)
> A fragment list box offsets must be positive. ... ok
> test_ftbl (tests.test_jp2box_jpx.TestJPX)
> Verify that we can interpret Fragment Table boxes. ... ok
> test_ftbl_boxes_empty (tests.test_jp2box_jpx.TestJPX)
> A fragment table box must have at least one child box. ... ok
> test_ftbl_child_not_flst (tests.test_jp2box_jpx.TestJPX)
> A fragment table box can only contain a fragment list. ... ok
> test_nlst (tests.test_jp2box_jpx.TestJPX)
> Verify that we can handle a number list box. ... ok
> test_reader_requirements_box (tests.test_jp2box_jpx.TestJPX)
> SCENARIO: A JPX file with a valid reader requirements box is ... ok
> test_reader_requirements_box_writing (tests.test_jp2box_jpx.TestJPX)
> SCENARIO: Write a JPX box out to file. The box does not have a write ... ok
> test_rreq3 (tests.test_jp2box_jpx.TestJPX)
> SCENARIO: A JPX file is encountered with an RREQ box with an ... ok
> test_association_label_box (tests.test_jp2box_jpx.TestJPXWrap)
> Wrap JP2 to JPX with asoc, label, and nlst boxes ... ok
> test_cgrp (tests.test_jp2box_jpx.TestJPXWrap)
> Write a color group box. ... ok
> test_cgrp_neg (tests.test_jp2box_jpx.TestJPXWrap)
> Can't write a cgrp with anything but colr sub boxes ... ok
> test_data_reference_in_subbox (tests.test_jp2box_jpx.TestJPXWrap)
> Data reference boxes cannot be inside a superbox . ... ok
> test_deurl_child_of_dtbl (tests.test_jp2box_jpx.TestJPXWrap)
> Data reference boxes can only contain data entry url boxes. ... ok
> test_empty_data_reference (tests.test_jp2box_jpx.TestJPXWrap)
> Empty data reference boxes can be created, but not written. ... ok
> test_ftbl (tests.test_jp2box_jpx.TestJPXWrap)
> Write a fragment table box. ... ok
> test_jp2_to_jpx_sans_jp2_compatibility (tests.test_jp2box_jpx.TestJPXWrap)
> jp2 wrapped to jpx not including jp2 compatibility is wrong. ... ok
> test_jp2_to_jpx_sans_jpx_brand (tests.test_jp2box_jpx.TestJPXWrap)
> Verify error when jp2 wrapped to jpx does not include jpx brand. ... ok
> test_jp2_with_jpx_box (tests.test_jp2box_jpx.TestJPXWrap)
> If the brand is jp2, then no jpx boxes are allowed. ... ok
> test_jpch_jplh (tests.test_jp2box_jpx.TestJPXWrap)
> Write a codestream header, compositing layer header box. ... ok
> test_jpx_ftbl_no_codestream (tests.test_jp2box_jpx.TestJPXWrap)
> SCENARIO: Write a jpx file with no codestream. ... ok
> test_jpxb_compatibility (tests.test_jp2box_jpx.TestJPXWrap)
> Wrap JP2 to JPX, state jpxb compatibility ... ok
> test_label_neg (tests.test_jp2box_jpx.TestJPXWrap)
> Can't write a label box embedded in any old box. ... ok
> test_lbl_at_top_level (tests.test_jp2box_jpx.TestJPXWrap)
> Label boxes can only be inside a asoc box . ... ok
> test_only_one_data_reference (tests.test_jp2box_jpx.TestJPXWrap)
> Data reference boxes cannot be inside a superbox . ... ok
> test__printing__geotiff_uuid__xml_sidecar (tests.test_jp2box_uuid.TestSuite)
> SCENARIO: Print a geotiff UUID with XML sidecar file ... ok
> test_append_xmp_uuid (tests.test_jp2box_uuid.TestSuite)
> SCENARIO: Append an XMP UUID box to an existing JP2 file. ... ok
> test_bad_exif_tag (tests.test_jp2box_uuid.TestSuite)
> Corrupt the Exif IFD with an invalid tag should produce a warning. ... ok
> test_exif (tests.test_jp2box_uuid.TestSuite)
> Verify read of both big and little endian Exif IFDs. ... ok
> test_print_bad_geotiff (tests.test_jp2box_uuid.TestSuite)
> SCENARIO: A GeoTIFF UUID is corrupt. ... ok
> test_printing_geotiff_uuid (tests.test_jp2box_uuid.TestSuiteHiRISE)
> SCENARIO: Print a geotiff UUID. ... skipped 'Could not load GDAL'
> test_tags (tests.test_jp2box_uuid.TestSuiteHiRISE) ... ok
> test_basic_xml (tests.test_jp2box_xml.TestXML)
> SCENARIO: Write a JP2 file with an xml box. ... ok
> test_invalid_xml_box (tests.test_jp2box_xml.TestXML)
> SCENARIO: A JP2 file is encountered with a bad XML box. ... ok
> test_negative_file_and_xml (tests.test_jp2box_xml.TestXML)
> The XML should come from only one source. ... ok
> test_recover_from_bad_xml (tests.test_jp2box_xml.TestXML)
> SCENARIO: A JP2 file is encountered with a bad XML payload, but this ... ok
> test_utf8_xml_from_xml_file (tests.test_jp2box_xml.TestXML)
> XMLBox from an XML file with encoding declaration. ... ok
> test_xml_box_with_encoding_declaration (tests.test_jp2box_xml.TestXML)
> SCENARIO: A JP2 file is encountered with an XML box having an encoding ... ok
> test_xml_from_file_as_path (tests.test_jp2box_xml.TestXML)
> SCENARIO: Create an xml box by pointing at an XML file via a pathlib ... ok
> test_xml_from_file_as_string (tests.test_jp2box_xml.TestXML)
> SCENARIO: Create an xml box by pointing at an XML file via string ... ok
> test_nbits_gt_16 (tests.test_jp2k.TestComponent)
> SCENARIO: One of the layers has more than 16 bits per sample. ... ok
> test_nbits_lt_16_gt_8 (tests.test_jp2k.TestComponent)
> SCENARIO: A layer has between 9 and 16 bits per sample. ... ok
> test_nbits_lt_9 (tests.test_jp2k.TestComponent)
> SCENARIO: A layer has less than 9 bits per sample ... ok
> test_64bit_xl_field (tests.test_jp2k.TestJp2k)
> SCENARIO: A JP2 file is encountered with a jp2c file with the XL field ... ok
> test_bad_tile_part_pointer (tests.test_jp2k.TestJp2k)
> SCENARIO: A bad SOT marker segment is encountered (Psot value pointing ... ok
> test_basic_icc_profile (tests.test_jp2k.TestJp2k)
> basic ICC profile ... ok
> test_basic_j2k (tests.test_jp2k.TestJp2k)
> Just a very basic test that reading a J2K file does not error out. ... ok
> test_basic_jp2 (tests.test_jp2k.TestJp2k)
> Just a very basic test that reading a JP2 file does not error out. ... ok
> test_codestream (tests.test_jp2k.TestJp2k)
> Verify the markers and segments of a JP2 file codestream. ... ok
> test_default_layer (tests.test_jp2k.TestJp2k)
> SCENARIO: Check the default layer property. ... ok
> test_default_verbosity (tests.test_jp2k.TestJp2k)
> SCENARIO: Check the default verbosity property. ... ok
> test_different_layers (tests.test_jp2k.TestJp2k)
> SCENARIO: Set the layer property to specify the 2nd layer. ... ok
> test_empty_box_with_j2k (tests.test_jp2k.TestJp2k)
> Verify that the list of boxes in a J2C/J2K file is present, but ... ok
> test_file_not_present (tests.test_jp2k.TestJp2k)
> Should error out if reading from a file that does not exist ... ok
> test_invalid_layers (tests.test_jp2k.TestJp2k)
> SCENARIO: an improper layer value is set ... ok
> test_irreversible (tests.test_jp2k.TestJp2k)
> SCENARIO: Write a J2K file with the irreversible transform. ... ok
> test_j2k_box (tests.test_jp2k.TestJp2k)
> A J2K/J2C file must not have any boxes. ... ok
> test_jp2_boxes (tests.test_jp2k.TestJp2k)
> Verify the boxes of a JP2 file. Basic jp2 test. ... ok
> test_jpx_mult_codestreams_jp2_brand (tests.test_jp2k.TestJp2k)
> Read JPX codestream when jp2-compatible. ... ok
> test_length_field_is_zero (tests.test_jp2k.TestJp2k)
> SCENARIO: A JP2 file has in its last box and L field with value 0. ... ok
> test_no_cxform_cmap (tests.test_jp2k.TestJp2k)
> SCENARIO: Write an RGB image as a JP2 file, but with a colr box ... ok
> test_no_cxform_pclr_jpx (tests.test_jp2k.TestJp2k)
> Indices for pclr jpxfile still usable if no color transform specified ... ok
> test_not_jpeg2000 (tests.test_jp2k.TestJp2k)
> SCENARIO: The Jp2k constructor is passed a file that is not JPEG 2000. ... ok
> test_pathlib (tests.test_jp2k.TestJp2k)
> SCENARIO: Provide a pathlib.Path instead of a string for the filename. ... ok
> test_psot_is_zero (tests.test_jp2k.TestJp2k)
> SCENARIO: An SOT marker segment is encountered with a Psot value of 0. ... ok
> test_read_bands (tests.test_jp2k.TestJp2k)
> SCENARIO: The read_bands method really should only be used on images ... ok
> test_read_bands_unequal_subsampling (tests.test_jp2k.TestJp2k)
> SCENARIO: The read_bands method is used on an image with unequal ... ok
> test_read_bands_without_openjp2 (tests.test_jp2k.TestJp2k)
> Don't have openjp2 library? Must error out. ... ok
> test_read_differing_subsamples (tests.test_jp2k.TestJp2k)
> SCENARIO: Attempt to read a file where the components have differing ... ok
> test_read_without_openjpeg (tests.test_jp2k.TestJp2k)
> Don't have openjpeg or openjp2 library? Must error out. ... ok
> test_rlevel_max_backwards_compatibility (tests.test_jp2k.TestJp2k)
> Verify that rlevel=-1 gets us the lowest resolution image ... ok
> test_rlevel_too_high (tests.test_jp2k.TestJp2k)
> Should error out appropriately if reduce level too high ... ok
> test_shape_3_channel_j2k (tests.test_jp2k.TestJp2k)
> verify shape attribute for J2K file ... ok
> test_shape_jp2 (tests.test_jp2k.TestJp2k)
> verify shape attribute for JP2 file ... ok
> test_shape_jpx_jp2 (tests.test_jp2k.TestJp2k)
> verify shape attribute for JPX file with JP2 compatibility ... ok
> test_thread_support (tests.test_jp2k.TestJp2k)
> SCENARIO: Set a non-default thread support value. ... ok
> test_thread_support_not_compiled_into_library (tests.test_jp2k.TestJp2k)
> SCENARIO: Set number of threads on openjpeg >= 2.2.0, but openjpeg ... ok
> test_thread_support_on_openjpeg_lt_220 (tests.test_jp2k.TestJp2k)
> SCENARIO: Set number of threads on openjpeg < 2.2.0 ... ok
> test_uinf_ulst_url_boxes (tests.test_jp2k.TestJp2k)
> SCENARIO: A JP2 file with UINF, ULST, and URL boxes is encountered. ... ok
> test_xml_with_trailing_nulls (tests.test_jp2k.TestJp2k)
> SCENARIO: An xml box is encountered with null chars trailing the valid ... ok
> test_xmp_attribute (tests.test_jp2k.TestJp2k)
> Verify the XMP packet in the shipping example file can be read. ... ok
> test_zero_length_reserved_segment (tests.test_jp2k.TestJp2k)
> SCENARIO: There is a zero-length reserved marker segment just before ... ok
> test_asoc_label_box (tests.test_jp2k.TestJp2k_2_0)
> Test asoc and label box ... ok
> test_bad_area_parameter (tests.test_jp2k.TestJp2k_2_0)
> Should error out appropriately if given a bad area parameter. ... ok
> test_grey_with_extra_component (tests.test_jp2k.TestJp2k_2_0)
> version 2.0 cannot write gray + extra ... ok
> test_ignore_pclr_cmap_cdef_on_old_read (tests.test_jp2k.TestJp2k_2_0)
> The old "read" interface allowed for passing ignore_pclr_cmap_cdef ... ok
> test_openjpeg_library_error (tests.test_jp2k.TestJp2k_2_0)
> SCENARIO: A zero subsampling factor should produce as error by the ... ok
> test_rgb_with_extra_component (tests.test_jp2k.TestJp2k_2_0)
> v2.0+ should be able to write extra components ... ok
> test_unrecognized_jp2_clrspace (tests.test_jp2k.TestJp2k_2_0)
> We only allow RGB and GRAYSCALE. Should error out with others ... ok
> test_2d_rgb (tests.test_jp2k.TestJp2k_write)
> RGB must have at least 3 components. ... ok
> test_NR_ENC_Bretagne1_ppm_1_encode (tests.test_jp2k.TestJp2k_write)
> SCENARIO: Create a JP2 image with three compression ratios. ... ok
> test_NR_ENC_Bretagne1_ppm_2_encode (tests.test_jp2k.TestJp2k_write)
> SCENARIO: Three peak signal-to-noise ratio values, two resolutions are ... ok
> test_NR_ENC_Bretagne1_ppm_3_encode (tests.test_jp2k.TestJp2k_write)
> SCENARIO: Three peak signal to noise rations are provided, along with ... ok
> test_NR_ENC_Bretagne2_ppm_4_encode (tests.test_jp2k.TestJp2k_write)
> Original file tested was ... ok
> test_NR_ENC_Bretagne2_ppm_5_encode (tests.test_jp2k.TestJp2k_write)
> Original file tested was ... ok
> test_NR_ENC_Bretagne2_ppm_6_encode (tests.test_jp2k.TestJp2k_write)
> Original file tested was ... ok
> test_NR_ENC_Bretagne2_ppm_7_encode (tests.test_jp2k.TestJp2k_write)
> Original file tested was ... ok
> test_NR_ENC_Bretagne2_ppm_8_encode (tests.test_jp2k.TestJp2k_write)
> Original file tested was ... ok
> test_NR_ENC_Cevennes1_bmp_9_encode (tests.test_jp2k.TestJp2k_write)
> Original file tested was ... ok
> test_NR_ENC_Cevennes2_ppm_10_encode (tests.test_jp2k.TestJp2k_write)
> Original file tested was ... ok
> test_NR_ENC_Rome_bmp_11_encode (tests.test_jp2k.TestJp2k_write)
> Original file tested was ... ok
> test_NR_ENC_issue141_rawl_23_encode (tests.test_jp2k.TestJp2k_write)
> Test irreversible option ... ok
> test_NR_ENC_random_issue_0005_tif_12_encode (tests.test_jp2k.TestJp2k_write)
> Original file tested was ... ok
> test_cblk_size_not_power_of_two (tests.test_jp2k.TestJp2k_write)
> code block sizes should be powers of two. ... ok
> test_cblk_size_precinct_size (tests.test_jp2k.TestJp2k_write)
> code block sizes should never exceed half that of precinct size. ... ok
> test_cblkh_different_than_width (tests.test_jp2k.TestJp2k_write)
> Verify that we can set a code block size where height does not equal ... ok
> test_cinema2K_with_others (tests.test_jp2k.TestJp2k_write)
> Can't specify cinema2k with any other options. ... ok
> test_cinema4K_with_others (tests.test_jp2k.TestJp2k_write)
> Can't specify cinema4k with any other options. ... ok
> test_code_block_dimensions (tests.test_jp2k.TestJp2k_write)
> don't allow extreme codeblock sizes ... ok
> test_colorspace_with_j2k (tests.test_jp2k.TestJp2k_write)
> Specifying a colorspace with J2K does not make sense ... ok
> test_grey_with_two_extra_comps (tests.test_jp2k.TestJp2k_write)
> should be able to write gray + two extra components ... ok
> test_irreversible (tests.test_jp2k.TestJp2k_write)
> Verify that the Irreversible option works ... ok
> test_no_jp2c_box_in_outermost_jp2_list (tests.test_jp2k.TestJp2k_write)
> SCENARIO: A JP2 file is encountered without a JP2C box in the outer- ... ok
> test_null_data (tests.test_jp2k.TestJp2k_write)
> SCENARIO: An image with a dimension with length 0 is provided. ... ok
> test_precinct_size_not_p2 (tests.test_jp2k.TestJp2k_write)
> precinct sizes should be powers of two. ... ok
> test_precinct_size_not_power_of_two (tests.test_jp2k.TestJp2k_write)
> SCENARIO: A precinct size is specified that is not a power of 2. ... ok
> test_precinct_size_too_small (tests.test_jp2k.TestJp2k_write)
> SCENARIO: The first precinct size is less than 2x that of the code ... ok
> test_psnr (tests.test_jp2k.TestJp2k_write)
> SCENARIO: Four peak signal-to-noise ratio values are supplied, the ... Matplotlib created a temporary config/cache directory at /tmp/matplotlib-q1vs87u1 because the default path (/sbuild-nonexistent/.config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
> ERROR
> test_psnr_non_zero_non_monotonically_decreasing (tests.test_jp2k.TestJp2k_write)
> SCENARIO: The PSNR keyword argument is non-monotonically increasing ... ok
> test_psnr_with_cratios (tests.test_jp2k.TestJp2k_write)
> Using psnr with cratios options is not allowed. ... ok
> test_psnr_zero_value_not_last (tests.test_jp2k.TestJp2k_write)
> SCENARIO: The PSNR keyword argument has a zero value, but it is not ... ok
> test_shape_greyscale_jp2 (tests.test_jp2k.TestJp2k_write)
> verify shape attribute for greyscale JP2 file ... ok
> test_shape_single_channel_j2k (tests.test_jp2k.TestJp2k_write)
> verify shape attribute for single channel J2K file ... ok
> test_specify_gray (tests.test_jp2k.TestJp2k_write)
> test gray explicitly specified (that's GRAY, not GREY) ... ok
> test_specify_grey (tests.test_jp2k.TestJp2k_write)
> test grey explicitly specified ... ok
> test_specify_rgb (tests.test_jp2k.TestJp2k_write)
> specify RGB explicitly ... ok
> test_specify_ycc (tests.test_jp2k.TestJp2k_write)
> Should reject YCC ... ok
> test_too_many_dimensions (tests.test_jp2k.TestJp2k_write)
> OpenJP2 only allows 2D or 3D images. ... ok
> test_unsupported_int32 (tests.test_jp2k.TestJp2k_write)
> Should raise a runtime error if trying to write int32 ... ok
> test_unsupported_uint32 (tests.test_jp2k.TestJp2k_write)
> Should raise a runtime error if trying to write uint32 ... ok
> test_write_cprl (tests.test_jp2k.TestJp2k_write)
> Must be able to write a CPRL progression order file ... ok
> test_write_grayscale_with_mct (tests.test_jp2k.TestJp2k_write)
> MCT usage makes no sense for grayscale images. ... ok
> test_write_srgb_without_mct (tests.test_jp2k.TestJp2k_write)
> should be able to write RGB without specifying mct ... ok
> test_write_with_jp2_in_caps (tests.test_jp2k.TestJp2k_write)
> should be able to write with JP2 suffix. ... ok
> test_write_with_version_too_early (tests.test_jp2k.TestJp2k_write)
> Should raise a runtime error if trying to write with version 1.3 ... ok
> test_main_header (tests.test_jp2k.TestParsing)
> verify that the main header isn't loaded during normal parsing ... ok
> test_NR_DEC_p0_04_j2k_85_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p0_04_j2k_86_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p0_04_j2k_87_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p0_04_j2k_88_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p0_04_j2k_89_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p0_04_j2k_90_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p0_04_j2k_91_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p0_04_j2k_92_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p0_04_j2k_93_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p0_04_j2k_94_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p0_04_j2k_95_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p0_04_j2k_96_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p1_04_j2k_43_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p1_04_j2k_45_decode (tests.test_jp2k.TestReadArea)
> Get bottom right ... ok
> test_NR_DEC_p1_04_j2k_46_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p1_04_j2k_47_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p1_04_j2k_48_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p1_04_j2k_49_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p1_04_j2k_50_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p1_04_j2k_51_decode (tests.test_jp2k.TestReadArea)
> NR_DEC_p1_04_j2k_51_decode ... ok
> test_NR_DEC_p1_04_j2k_53_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p1_04_j2k_54_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p1_04_j2k_55_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p1_04_j2k_56_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p1_06_j2k_70_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p1_06_j2k_71_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p1_06_j2k_72_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p1_06_j2k_73_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p1_06_j2k_74_decode (tests.test_jp2k.TestReadArea) ... ok
> test_NR_DEC_p1_06_j2k_75_decode (tests.test_jp2k.TestReadArea) ... ok
> test_basic_write (tests.test_jp2k.TestSliceProtocolBaseWrite)
> SCENARIO: write image by specifying image data in constructor ... ok
> test_cannot_write_a_band (tests.test_jp2k.TestSliceProtocolBaseWrite)
> SCENARIO: Write band by specifying slicing. Only ':' is ... ok
> test_cannot_write_a_column (tests.test_jp2k.TestSliceProtocolBaseWrite)
> SCENARIO: Write column by specifying slicing. Only ':' is ... ok
> test_cannot_write_a_pixel (tests.test_jp2k.TestSliceProtocolBaseWrite)
> SCENARIO: Write pixel by specifying slicing. Only ':' is ... ok
> test_cannot_write_a_row (tests.test_jp2k.TestSliceProtocolBaseWrite)
> SCENARIO: Write image row by specifying slicing. Only ':' is ... ok
> test_cannot_write_a_subarray (tests.test_jp2k.TestSliceProtocolBaseWrite)
> SCENARIO: Write area by specifying slicing. Only ':' is ... ok
> test_cannot_write_with_non_default_single_slice (tests.test_jp2k.TestSliceProtocolBaseWrite)
> SCENARIO: Write image using single non-default slices. Only ':' is ... ok
> test_write_ellipsis (tests.test_jp2k.TestSliceProtocolBaseWrite)
> SCENARIO: write image by specifying ellipsis in slice ... ok
> test_ellipsis_band_select (tests.test_jp2k.TestSliceProtocolRead) ... ok
> test_ellipsis_full_read (tests.test_jp2k.TestSliceProtocolRead) ... ok
> test_ellipsis_row_select (tests.test_jp2k.TestSliceProtocolRead) ... ok
> test_integer_index_in_3d (tests.test_jp2k.TestSliceProtocolRead) ... ok
> test_reduce_resolution_and_slice_in_third_dimension (tests.test_jp2k.TestSliceProtocolRead) ... ok
> test_region_rlevel5 (tests.test_jp2k.TestSliceProtocolRead)
> maximim rlevel ... ok
> test_resolution_strides_cannot_differ (tests.test_jp2k.TestSliceProtocolRead) ... ok
> test_resolution_strides_must_be_powers_of_two (tests.test_jp2k.TestSliceProtocolRead) ... ok
> test_retrieve_single_component (tests.test_jp2k.TestSliceProtocolRead) ... ok
> test_retrieve_single_pixel (tests.test_jp2k.TestSliceProtocolRead) ... ok
> test_retrieve_single_row (tests.test_jp2k.TestSliceProtocolRead) ... ok
> test_single_slice (tests.test_jp2k.TestSliceProtocolRead) ... ok
> test_slice_in_third_dimension (tests.test_jp2k.TestSliceProtocolRead) ... ok
> test_two_ellipsis_and_full_slice (tests.test_jp2k.TestSliceProtocolRead) ... ok
> test_two_ellipsis_band_select (tests.test_jp2k.TestSliceProtocolRead) ... ok
> test_two_ellipsis_row_select (tests.test_jp2k.TestSliceProtocolRead) ... ok
> Jp2k (glymur.jp2k)
> Doctest: glymur.jp2k.Jp2k ... ok
> get_codestream (glymur.jp2k.Jp2k)
> Doctest: glymur.jp2k.Jp2k.get_codestream ... ok
> read_bands (glymur.jp2k.Jp2k)
> Doctest: glymur.jp2k.Jp2k.read_bands ... ok
> wrap (glymur.jp2k.Jp2k)
> Doctest: glymur.jp2k.Jp2k.wrap ... ok
> test_default_decoder_parameters (tests.test_openjp2.TestOpenJP2)
> Tests that the structure is clean upon initialization ... ok
> test_default_encoder_parameters (tests.test_openjp2.TestOpenJP2)
> Ensure that the encoder structure is clean upon init. ... ok
> test_get_num_cpus (tests.test_openjp2.TestOpenJP2)
> SCENARIO: Hard to test this. Values will be different across ... ok
> test_no_openjp2_library (tests.test_openjp2.TestOpenJP2)
> SCENARIO: There is no openjp2 library. ... ok
> test_ttd0 (tests.test_openjp2.TestOpenJP2)
> Runs test designated ttd0 in OpenJPEG test suite. ... ok
> test_ttd1 (tests.test_openjp2.TestOpenJP2)
> Runs test designated ttd1 in OpenJPEG test suite. ... ok
> test_ttd2 (tests.test_openjp2.TestOpenJP2)
> Runs test designated ttd2 in OpenJPEG test suite. ... ok
> test_tte0 (tests.test_openjp2.TestOpenJP2)
> SCENARIO: create a J2K file with the following characteristics: ... ok
> test_tte1 (tests.test_openjp2.TestOpenJP2)
> Runs test designated tte1 in OpenJPEG test suite. ... ok
> test_tte2 (tests.test_openjp2.TestOpenJP2)
> Runs test designated tte2 in OpenJPEG test suite. ... ok
> test_tte3 (tests.test_openjp2.TestOpenJP2)
> Runs test designated tte3 in OpenJPEG test suite. ... ok
> test_tte4 (tests.test_openjp2.TestOpenJP2)
> Runs test designated tte4 in OpenJPEG test suite. ... ok
> test_tte5 (tests.test_openjp2.TestOpenJP2)
> Runs test designated tte5 in OpenJPEG test suite. ... ok
> test_decompression_parameters (tests.test_openjp2.TestPrintingOpenjp2)
> printing DecompressionParametersType ... ok
> test_default_compression_parameters (tests.test_openjp2.TestPrintingOpenjp2)
> printing default compression parameters ... ok
> test_progression_order_changes (tests.test_openjp2.TestPrintingOpenjp2)
> printing PocType ... ok
> test_codestream_invalid (tests.test_printing.TestJp2dump)
> Verify dumping with -c 3, not allowd. ... ok
> test_default_component_parameters (tests.test_printing.TestJp2dump)
> printing default image component parameters ... ok
> test_default_image_type (tests.test_printing.TestJp2dump)
> printing default image type ... ok
> test_default_nemo (tests.test_printing.TestJp2dump)
> by default one should get the main header ... ok
> test_image_comp_type (tests.test_printing.TestJp2dump) ... ok
> test_j2k_codestream_0 (tests.test_printing.TestJp2dump)
> -c 0 should print just a single line when used on a codestream. ... ok
> test_j2k_codestream_1 (tests.test_printing.TestJp2dump)
> SCENARIO: The jp2dump executable is used with the "-c 1" switch. ... ok
> test_j2k_codestream_2 (tests.test_printing.TestJp2dump)
> Verify dumping with -c 2, full details. ... ok
> test_jp2_codestream_0 (tests.test_printing.TestJp2dump)
> Verify dumping with -c 0, supressing all codestream details. ... ok
> test_jp2_codestream_1 (tests.test_printing.TestJp2dump)
> Verify dumping with -c 1, print just the header. ... ok
> test_jp2_codestream_2 (tests.test_printing.TestJp2dump)
> Verify dumping with -c 2, print entire jp2 jacket, codestream. ... ok
> test_short (tests.test_printing.TestJp2dump)
> Verify dumping with -s, short option. ... ok
> test_suppress_warnings_until_end (tests.test_printing.TestJp2dump)
> SCENARIO: JP2DUMP with -x option on file with invalid ftyp box. ... ok
> test_suppress_xml (tests.test_printing.TestJp2dump)
> Verify dumping with -x, suppress XML. ... ok
> test_asoc_label_box (tests.test_printing.TestPrinting)
> SCENARIO: A JPX file has both asoc and labl boxes. ... ok
> test_bad_color_specification (tests.test_printing.TestPrinting)
> Invalid channel type should not prevent printing. ... ok
> test_bad_rsiz (tests.test_printing.TestPrinting)
> Should still be able to print if rsiz is bad, issue196 ... ok
> test_bad_wavelet_transform (tests.test_printing.TestPrinting)
> Should still be able to print if wavelet xform is bad, issue195 ... ok
> test_bom (tests.test_printing.TestPrinting)
> Byte order markers are illegal in UTF-8. Issue 185 ... ok
> test_bpcc (tests.test_printing.TestPrinting)
> BPCC boxes are rare :-) ... ok
> test_channel_definition (tests.test_printing.TestPrinting)
> verify printing of cdef box ... ok
> test_cinema_profile (tests.test_printing.TestPrinting)
> Should print Cinema 2K when the profile is 3. ... ok
> test_cme (tests.test_printing.TestPrinting)
> Test printing a CME or comment marker segment. ... ok
> test_coc_segment (tests.test_printing.TestPrinting)
> verify printing of COC segment ... ok
> test_cod_segment (tests.test_printing.TestPrinting)
> verify printing of COD segment ... ok
> test_cod_segment_irreversible (tests.test_printing.TestPrinting)
> Verify printing of irreversible transform ... ok
> test_cod_segment_unknown (tests.test_printing.TestPrinting)
> Verify printing of transform when it's actually unknown ... ok
> test_codestream (tests.test_printing.TestPrinting)
> verify printing of entire codestream ... ok
> test_component_mapping_non_palette (tests.test_printing.TestPrinting)
> verify printing of cmap box where there is no palette ... ok
> test_component_mapping_palette (tests.test_printing.TestPrinting)
> verify printing of cmap box tied to a palette ... ok
> test_crg (tests.test_printing.TestPrinting)
> verify printing of CRG segment ... ok
> test_differing_subsamples (tests.test_printing.TestPrinting)
> verify printing of SIZ with different subsampling... Issue 86. ... ok
> test_dref (tests.test_printing.TestPrinting)
> Verify printing of data reference box. ... ok
> test_empty_dref (tests.test_printing.TestPrinting)
> Verify printing of data reference box with no content. ... ok
> test_eoc_segment (tests.test_printing.TestPrinting)
> verify printing of eoc segment ... ok
> test_exif_uuid (tests.test_printing.TestPrinting)
> SCENARIO: A JP2 file has an Exif UUID box. ... ok
> test_flst (tests.test_printing.TestPrinting)
> Verify printing of fragment list box. ... ok
> test_free (tests.test_printing.TestPrinting)
> Verify printing of Free box. ... ok
> test_ftbl (tests.test_printing.TestPrinting)
> Verify printing of fragment table box. ... ok
> test_full_codestream (tests.test_printing.TestPrinting)
> Verify printing with the full blown codestream ... ok
> test_icc_profile (tests.test_printing.TestPrinting)
> SCENARIO: print a colr box with an ICC profile ... ok
> test_invalid_approximation (tests.test_printing.TestPrinting)
> An invalid approximation value shouldn't cause a printing error. ... ok
> test_invalid_colorspace (tests.test_printing.TestPrinting)
> SCENARIO: An invalid colorspace shouldn't cause an error when ... ok
> test_invalid_pod_segment (tests.test_printing.TestPrinting)
> SCENARIO: A progression order parameter is out of range. ... ok
> test_invalid_progression_order (tests.test_printing.TestPrinting)
> Should still be able to print even if prog order is invalid. ... ok
> test_issue182 (tests.test_printing.TestPrinting)
> SCENARIO: Print a component mapping box. ... ok
> test_issue183 (tests.test_printing.TestPrinting)
> SCENARIO: An ICC profile is present in a ColourSpecificationBox, but ... ok
> test_jpch (tests.test_printing.TestPrinting)
> Verify printing of JPCH box. ... ok
> test_jplh_cgrp (tests.test_printing.TestPrinting)
> Verify printing of compositing layer header box, color group box. ... ok
> test_label_box_short (tests.test_printing.TestPrinting)
> Test the short option for the LabelBox ... ok
> test_less_common_boxes (tests.test_printing.TestPrinting)
> verify uinf, ulst, url, res, resd, resc box printing ... ok
> test_nlst (tests.test_printing.TestPrinting)
> Verify printing of number list box. ... ok
> test_nlst_short (tests.test_printing.TestPrinting) ... ok
> test_non_default_precinct_size (tests.test_printing.TestPrinting) ... ok
> test_old_short_option (tests.test_printing.TestPrinting)
> Verify printing with deprecated set_printoptions "short" ... ok
> test_palette (tests.test_printing.TestPrinting)
> verify printing of pclr box ... ok
> test_plt_segment (tests.test_printing.TestPrinting)
> verify printing of PLT segment ... ok
> test_pod_segment (tests.test_printing.TestPrinting)
> verify printing of POD segment ... ok
> test_ppm_segment (tests.test_printing.TestPrinting)
> verify printing of PPM segment ... ok
> test_ppt_segment (tests.test_printing.TestPrinting)
> verify printing of ppt segment ... ok
> test_precincts (tests.test_printing.TestPrinting)
> SCENARIO: print the first COD segment ... ok
> test_printoptions_bad_argument (tests.test_printing.TestPrinting)
> Verify error when bad parameter to set_printoptions ... ok
> test_qcc_segment (tests.test_printing.TestPrinting)
> verify printing of qcc segment ... ok
> test_qcd_segment_5x3_transform (tests.test_printing.TestPrinting)
> verify printing of qcd segment ... ok
> test_reserved_marker (tests.test_printing.TestPrinting)
> SCENARIO: print a marker segment with a reserver marker value ... ok
> test_rgn (tests.test_printing.TestPrinting)
> verify printing of RGN segment ... ok
> test_rreq (tests.test_printing.TestPrinting)
> verify printing of reader requirements box ... ok
> test_scalar_explicit_quantization_file (tests.test_printing.TestPrinting) ... ok
> test_scalar_implicit_quantization_file (tests.test_printing.TestPrinting) ... ok
> test_siz_segment (tests.test_printing.TestPrinting)
> verify printing of SIZ segment ... ok
> test_soc_segment (tests.test_printing.TestPrinting)
> verify printing of SOC segment ... ok
> test_sod_segment (tests.test_printing.TestPrinting)
> verify printing of SOD segment ... ok
> test_sop (tests.test_printing.TestPrinting)
> verify printing of SOP segment ... ok
> test_sot_segment (tests.test_printing.TestPrinting)
> verify printing of SOT segment ... ok
> test_suppress_codestream (tests.test_printing.TestPrinting)
> Verify printing with codestream suppressed ... ok
> test_suppress_codestream_old_option (tests.test_printing.TestPrinting)
> Verify printing with codestream suppressed, deprecated ... ok
> test_suppress_xml (tests.test_printing.TestPrinting)
> Verify printing with xml suppressed ... ok
> test_suppress_xml_old_option (tests.test_printing.TestPrinting)
> Verify printing with xml suppressed, deprecated method ... ok
> test_tlm_segment (tests.test_printing.TestPrinting)
> verify printing of TLM segment ... ok
> test_unknown_superbox (tests.test_printing.TestPrinting)
> SCENARIO: An unknown superbox is encountered. ... ok
> test_uuid (tests.test_printing.TestPrinting)
> verify printing of UUID box ... ok
> test_version_info (tests.test_printing.TestPrinting)
> Should be able to print(glymur.version.info) ... ok
> test_xml (tests.test_printing.TestPrinting)
> SCENARIO: JP2 file has an XML box. ... ok
> test_xml_cyrrilic (tests.test_printing.TestPrinting)
> Should be able to print XMLBox with utf-8 encoding (cyrrillic). ... ok
> test_xml_latin1 (tests.test_printing.TestPrinting)
> Should be able to print an XMLBox with utf-8 encoding (latin1). ... ok
> test_xml_no_xml (tests.test_printing.TestPrinting)
> verify printing of XML box when there is no XML ... ok
> test_xml_no_xml_option (tests.test_printing.TestPrinting)
> verify printing of XML box when print.xml option set to false ... ok
> test_xml_short_option (tests.test_printing.TestPrinting)
> verify printing of XML box when print.xml option set to false ... ok
> test_xmp (tests.test_printing.TestPrinting)
> Verify the printing of a UUID/XMP box. ... ok
> test_NR_DEC_issue188_beach_64bitsbox_jp2_41_decode (tests.test_warnings.TestSuite)
> SCENARIO: A JP2 file has a box with label 'XML ' instead of 'xml '. ... ok
> test_NR_ENC_X_6_2K_24_FULL_CBR_CIRCLE_000_tif_17_encode (tests.test_warnings.TestSuite)
> SCENARIO: Too much data is written as a Cinema2K file. ... ok
> test_NR_gdal_fuzzer_assert_in_opj_j2k_read_SQcd_SQcc_patch_jp2 (tests.test_warnings.TestSuite)
> validate the QCC component number against Csiz ... ok
> test_NR_gdal_fuzzer_check_comp_dx_dy_jp2_dump (tests.test_warnings.TestSuite)
> Invalid subsampling value. ... ok
> test_NR_gdal_fuzzer_check_number_of_tiles (tests.test_warnings.TestSuite)
> Has an impossible tiling setup. ... ok
> test_NR_gdal_fuzzer_unchecked_numresolutions_dump (tests.test_warnings.TestSuite)
> Has an invalid number of resolutions. ... ok
> test_bad_color_space_specification (tests.test_warnings.TestSuite)
> Verify that a warning is issued if the color space method is invalid. ... ok
> test_bad_ftyp_brand (tests.test_warnings.TestSuite)
> SCENARIO: The ftyp box has an invalid brand field. ... ok
> test_bad_ftyp_compatibility_list_item (tests.test_warnings.TestSuite)
> SCENARIO: The ftyp box has an invalid compatibility list item. ... ok
> test_bad_rsiz (tests.test_warnings.TestSuite)
> SCENARIO: The SIZ value parsed from the SIZ segment is invalid. ... ok
> test_bad_tag_datatype (tests.test_warnings.TestSuite)
> SCENARIO: A tag with an unrecognized numeric datatype field is found ... ok
> test_bad_tiff_header_byte_order_indication (tests.test_warnings.TestSuite)
> SCENARIO: An invalid TIFF header byte order marker is encountered ... ok
> test_bad_type (tests.test_warnings.TestSuite)
> Channel types are limited to 0, 1, 2, 65535 ... ok
> test_bad_wavelet_transform (tests.test_warnings.TestSuite)
> Should warn if wavelet transform is bad. Issue195 ... ok
> test_brand_unknown (tests.test_warnings.TestSuite)
> A ftyp box brand must be 'jp2 ' or 'jpx '. ... ok
> test_cl_entry_unknown (tests.test_warnings.TestSuite)
> A ftyp box cl list can only contain 'jp2 ', 'jpx ', or 'jpxb'. ... ok
> test_colr_with_bad_approx (tests.test_warnings.TestSuite)
> SCENARIO: An ColourSpecificationBox is given an invalid approximation ... ok
> test_colr_with_bad_method (tests.test_warnings.TestSuite)
> colr must have a valid method field ... ok
> test_colr_with_cspace_and_icc (tests.test_warnings.TestSuite)
> Colour specification boxes can't have both. ... ok
> test_deprecated_set_get_parseoption (tests.test_warnings.TestSuite)
> Verify deprecated get_parseoptions and set_parseoptions ... ok
> test_deprecated_set_get_printoptions (tests.test_warnings.TestSuite)
> Verify deprecated get_printoptions and set_printoptions ... ok
> test_deurl_child_of_dtbl (tests.test_warnings.TestSuite)
> Data reference boxes can only contain data entry url boxes. ... ok
> test_file_pointer_badly_positioned (tests.test_warnings.TestSuite)
> SCENARIO: A colr box has an impossibly too long box length. Since ... ok
> test_flst_lengths_not_positive (tests.test_warnings.TestSuite)
> A fragment list box lengths must be positive. ... ok
> test_flst_lens_not_the_same (tests.test_warnings.TestSuite)
> A fragment list box items must be the same length. ... ok
> test_flst_offsets_not_positive (tests.test_warnings.TestSuite)
> A fragment list box offsets must be positive. ... ok
> test_invalid_approximation (tests.test_warnings.TestSuite)
> SCENARIO: The colr box has an invalid approximation field. ... ok
> test_invalid_colorspace (tests.test_warnings.TestSuite)
> SCENARIO: A colr box has an invalid colorspace field. ... ok
> test_invalid_colour_specification_method (tests.test_warnings.TestSuite)
> should not error out with invalid colour specification method ... ok
> test_invalid_progression_order (tests.test_warnings.TestSuite)
> Should still be able to parse even if prog order is invalid. ... ok
> test_invalid_xml_box (tests.test_warnings.TestSuite)
> SCENARIO: An xml box has invalid XML. ... ok
> test_mismatched_bitdepth_signed (tests.test_warnings.TestSuite)
> bitdepth and signed arguments must have equal length ... ok
> test_mismatched_signed_palette (tests.test_warnings.TestSuite)
> bitdepth and signed arguments must have equal length ... ok
> test_parsing_bad_fptr_box (tests.test_warnings.TestSuite)
> SCENARIO: An ftyp box advertises too many bytes to be read. ... ok
> test_read_past_end_of_box (tests.test_warnings.TestSuite)
> SCENARIO: A pclr box has more rows specified than can fit inside the ... ok
> test_siz_ihdr_mismatch (tests.test_warnings.TestSuite)
> SCENARIO: The dimensions reported by the IHDR box don't match what is ... ok
> test_stupid_windows_eol_at_end (tests.test_warnings.TestSuite)
> SCENARIO: An otherwise valid JP2 file has invalid bytes appended to ... ok
> test_tile_height_is_zero (tests.test_warnings.TestSuite)
> Zero tile height should not cause an exception. ... ok
> test_truncated_icc_profile (tests.test_warnings.TestSuite)
> Validate a warning for a truncated ICC profile ... ok
> test_undecodeable_box_id (tests.test_warnings.TestSuite)
> SCENARIO: an unknown box ID is encountered ... ok
> test_unknown_superbox (tests.test_warnings.TestSuite)
> SCENARIO: There is a superbox with an unrecognized label. ... ok
> test_unrecognized_exif_tag (tests.test_warnings.TestSuite)
> SCENARIO: An Exif UUID box has an unrecognized tag. ... ok
> test_unrecognized_marker (tests.test_warnings.TestSuite)
> SCENARIO: There is an unrecognized marker just after an SOT marker but ... ok
> test_unrecoverable_xml (tests.test_warnings.TestSuite)
> Bad byte sequence in XML that cannot be parsed. ... ok
> test_warn_if_using_read_method (tests.test_warnings.TestSuite)
> Should warn if deprecated read method is called ... ok
> test_wrong_lengths (tests.test_warnings.TestSuite)
> Should reject if not all of index, channel_type, association the ... ok
> test_bom (tests.test_warnings.TestSuiteXML)
> Byte order markers are illegal in UTF-8. Issue 185 ... ok
>
> ======================================================================
> ERROR: test_psnr (tests.test_jp2k.TestJp2k_write)
> SCENARIO: Four peak signal-to-noise ratio values are supplied, the
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/tests/test_jp2k.py", line 1309, in test_psnr
> psnr = [
> File "/<<PKGBUILDDIR>>/tests/test_jp2k.py", line 1310, in <listcomp>
> skimage.measure.compare_psnr(skimage.data.camera(), d[j])
> AttributeError: module 'skimage.measure' has no attribute 'compare_psnr'
>
> ----------------------------------------------------------------------
> Ran 468 tests in 44.506s
>
> FAILED (errors=1, skipped=2)
> E: pybuild pybuild:353: test: plugin custom failed with: exit code=1: env PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build python3.9 -m unittest discover -v
> dh_auto_test: error: pybuild --test -i python{version} -p 3.9 returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2020/12/26/glymur_0.9.2-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!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.
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 Pkg-grass-devel
mailing list