Source: python-apptools Version: 4.5.0-1 Severity: serious Justification: FTBFS on amd64 Tags: bullseye sid ftbfs Usertags: ftbfs-20201027 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>>' > xvfb-run -a dh_auto_test > I: pybuild base:217: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_apptools/build; python3.9 -m nose -v > QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-user42' > apptools.io.h5.tests.test_dict_node.test_create ... ok > apptools.io.h5.tests.test_dict_node.test_is_dict_node ... ok > apptools.io.h5.tests.test_dict_node.test_is_not_dict_node ... ok > apptools.io.h5.tests.test_dict_node.test_create_with_data ... ok > apptools.io.h5.tests.test_dict_node.test_create_with_array_data ... ok > apptools.io.h5.tests.test_dict_node.test_load_saved_dict_node ... ok > apptools.io.h5.tests.test_dict_node.test_load_saved_dict_node_with_array ... > ok > apptools.io.h5.tests.test_dict_node.test_keys ... ok > apptools.io.h5.tests.test_dict_node.test_delete_item ... ok > apptools.io.h5.tests.test_dict_node.test_delete_array ... ok > apptools.io.h5.tests.test_dict_node.test_auto_flush ... ok > apptools.io.h5.tests.test_dict_node.test_auto_flush_off ... ok > apptools.io.h5.tests.test_dict_node.test_undefined_key ... ok > apptools.io.h5.tests.test_dict_node.test_basic_dtypes ... ok > apptools.io.h5.tests.test_dict_node.test_mixed_type_list ... ok > apptools.io.h5.tests.test_dict_node.test_dict ... ok > apptools.io.h5.tests.test_dict_node.test_wrap_self_raises_error ... ok > apptools.io.h5.tests.test_file.test_reopen ... ok > apptools.io.h5.tests.test_file.test_open_from_pytables_object ... ok > apptools.io.h5.tests.test_file.test_open_from_closed_pytables_object ... ok > apptools.io.h5.tests.test_file.test_create_array_with_H5File ... ok > apptools.io.h5.tests.test_file.test_create_array_with_H5Group ... ok > apptools.io.h5.tests.test_file.test_getitem_failure ... ok > apptools.io.h5.tests.test_file.test_iteritems ... ok > apptools.io.h5.tests.test_file.test_create_plain_array_with_H5File ... ok > apptools.io.h5.tests.test_file.test_create_plain_array_with_H5Group ... ok > apptools.io.h5.tests.test_file.test_create_chunked_array_with_H5File ... ok > apptools.io.h5.tests.test_file.test_create_chunked_array_with_H5Group ... ok > apptools.io.h5.tests.test_file.test_create_extendable_array_with_H5File ... ok > apptools.io.h5.tests.test_file.test_create_extendable_array_with_H5Group ... > ok > apptools.io.h5.tests.test_file.test_str_and_repr ... ok > apptools.io.h5.tests.test_file.test_shape_and_dtype ... ok > apptools.io.h5.tests.test_file.test_shape_only_raises ... ok > apptools.io.h5.tests.test_file.test_create_duplicate_array_raises ... ok > apptools.io.h5.tests.test_file.test_delete_existing_array_with_H5File ... ok > apptools.io.h5.tests.test_file.test_delete_existing_array_with_H5Group ... ok > apptools.io.h5.tests.test_file.test_delete_existing_dict_with_H5File ... ok > apptools.io.h5.tests.test_file.test_delete_existing_dict_with_H5Group ... ok > apptools.io.h5.tests.test_file.test_delete_existing_table_with_H5File ... ok > apptools.io.h5.tests.test_file.test_delete_existing_table_with_H5Group ... ok > apptools.io.h5.tests.test_file.test_delete_existing_group_with_H5File ... ok > apptools.io.h5.tests.test_file.test_delete_existing_group_with_H5Group ... ok > apptools.io.h5.tests.test_file.test_remove_group_with_H5File ... ok > apptools.io.h5.tests.test_file.test_remove_group_with_H5Group ... ok > apptools.io.h5.tests.test_file.test_remove_group_with_remove_node ... ok > apptools.io.h5.tests.test_file.test_remove_node_with_H5File ... ok > apptools.io.h5.tests.test_file.test_remove_node_with_H5Group ... ok > apptools.io.h5.tests.test_file.test_read_mode_raises_on_nonexistent_file ... > ok > apptools.io.h5.tests.test_file.test_cleanup ... ok > apptools.io.h5.tests.test_file.test_create_group_with_H5File ... ok > apptools.io.h5.tests.test_file.test_create_group_with_H5Group ... ok > apptools.io.h5.tests.test_file.test_split_path ... ok > apptools.io.h5.tests.test_file.test_join_path ... ok > apptools.io.h5.tests.test_file.test_auto_groups ... ok > apptools.io.h5.tests.test_file.test_auto_groups_deep ... ok > apptools.io.h5.tests.test_file.test_groups ... ok > apptools.io.h5.tests.test_file.test_group_attributes ... ok > apptools.io.h5.tests.test_file.test_group_properties ... ok > apptools.io.h5.tests.test_file.test_iter_groups ... ok > apptools.io.h5.tests.test_file.test_mapping_interface_for_file ... ok > apptools.io.h5.tests.test_file.test_mapping_interface_for_group ... ok > apptools.io.h5.tests.test_file.test_group_str_and_repr ... ok > apptools.io.h5.tests.test_file.test_attribute_translation ... ok > apptools.io.h5.tests.test_file.test_get_attribute ... ok > apptools.io.h5.tests.test_file.test_del_attribute ... ok > apptools.io.h5.tests.test_file.test_get_attribute_default ... ok > apptools.io.h5.tests.test_file.test_attribute_update ... ok > apptools.io.h5.tests.test_file.test_attribute_iteration_methods ... ok > apptools.io.h5.tests.test_file.test_bad_node_name ... ok > apptools.io.h5.tests.test_file.test_bad_group_name ... ok > apptools.io.h5.tests.test_file.test_create_dict_with_H5File ... ok > apptools.io.h5.tests.test_file.test_create_dict_with_H5Group ... ok > apptools.io.h5.tests.test_file.test_create_table_with_H5File ... ok > apptools.io.h5.tests.test_file.test_create_table_with_H5Group ... ok > apptools.io.h5.tests.test_table_node.test_basics ... ok > apptools.io.h5.tests.test_table_node.test_getitem ... ok > apptools.io.h5.tests.test_table_node.test_keys ... ok > apptools.io.h5.tests.test_table_node.test_to_dataframe ... ok > file copy ... ok > file creation ... ok > file deletion ... ok > file properties ... ok > folder copy ... ok > folder creation ... ok > nested folder creation ... ok > folder deletion ... ok > folder properties ... ok > test_attaching_single_project > (apptools.logger.agent.tests.test_attachments.AttachmentsTestCase) ... ok > test_attaching_workspace > (apptools.logger.agent.tests.test_attachments.AttachmentsTestCase) ... ok > test_create_email_message > (apptools.logger.plugin.tests.test_logger_service.LoggerServiceTestCase) ... > ok > test_create_email_message_with_user_data > (apptools.logger.plugin.tests.test_logger_service.LoggerServiceTestCase) ... > ok > apptools.lru_cache.tests.test_lru_cache.test_cache_callback ... ok > apptools.lru_cache.tests.test_lru_cache.test_cache_len ... ok > apptools.lru_cache.tests.test_lru_cache.test_cache_resize ... ok > apptools.lru_cache.tests.test_lru_cache.test_cache_items ... ok > apptools.lru_cache.tests.test_lru_cache.test_cache_idempotency ... ok > apptools.lru_cache.tests.test_lru_cache.test_cache_keys_values ... ok > apptools.lru_cache.tests.test_lru_cache.test_cache_clear ... ok > apptools.lru_cache.tests.test_lru_cache.test_cache_get ... ok > apptools.lru_cache.tests.test_lru_cache.test_updated_event ... ok > bind ... ok > bind with make contexts ... ok > create sub-context ... ok > default object and state factories. ... ok > single context destroy sub-context ... ok > list bindings ... ok > list names ... ok > lookup ... ok > context rebind ... ok > rebind with make contexts ... ok > rename a context ... ok > rename an object ... ok > test retrieving the names of bound objects ... ok > context unbind ... ok > bind ... ok > bind with make contexts ... ok > create sub-context ... ok > default object and state factories. ... ok > single context destroy sub-context ... ok > list bindings ... ok > list names ... ok > lookup ... ok > context rebind ... ok > rebind with make contexts ... ok > rename a context ... ok > rename an object ... ok > test retrieving the names of bound objects ... ok > context unbind ... ok > bind ... ok > bind with make contexts ... ok > create sub-context ... ok > default object and state factories. ... ok > single context destroy sub-context ... ok > get attributes ... ok > list bindings ... ok > list names ... ok > lookup ... ok > context rebind ... ok > rebind with make contexts ... ok > rename a context ... ok > rename an object ... ok > test retrieving the names of bound objects ... ok > get and set attributes ... ok > context unbind ... ok > bind ... ok > bind with make contexts ... ok > create sub-context ... ok > default object and state factories. ... ok > single context destroy sub-context ... ok > list bindings ... ok > list names ... ok > lookup ... ok > context rebind ... ok > rebind with make contexts ... ok > rename a context ... ok > rename an object ... ok > test retrieving the names of bound objects ... ok > context unbind ... ok > bind ... ok > bind with make contexts ... ok > create sub-context ... ok > default object and state factories. ... ok > single context destroy sub-context ... ok > list bindings ... ok > list names ... ok > lookup ... ok > context rebind ... ok > rebind with make contexts ... ok > rename a context ... ok > rename an object ... ok > test retrieving the names of bound objects ... ok > context unbind ... ok > pyfs context bind ... ok > pyfs context create sub-context ... ok > single context destroy sub-context ... ok > get attributes ... ok > initialization of an existing context ... ok > initialization with empty environmentt ... ok > pyfs context lookup ... ok > get the name of a context within its namespace. ... ok > pyfs context rebind ... ok > multi-context rename ... ok > get and set attributes ... ok > pyfs context unbind ... ok > Test if absolute paths are set corectly. ... ok > Test if pickler works correctly with FilePaths. ... ok > Test if relative paths are set correctly. ... ok > Failure: SkipTest (spickle is not supported with Python3) ... SKIP: spickle > is not supported with Python3 > Test if dump can take a str as file ... ok > Test if get_pure_state is called first. ... ok > test_get_state_on_tuple_with_numeric_references > (apptools.persistence.tests.test_state_pickler.TestDictPickler) ... ok > Test to check has_instance correctness. ... ok > Test if classic classes can be pickled. ... ERROR > Test if traited classes can be pickled. ... ERROR > Test if reference cycles are handled when setting the state. ... ok > Test if the state can be saved like the object itself. ... ok > Test some of the features of the set_state method. ... ok > Test if classic classes' state can be set. ... ok > Test if traited classes' state can be set. ... ok > Test if classic classes can be unpickled. ... ok > Test if traited classes can be unpickled. ... ok > Test the get_version function. ... ok > Test if the registry is reload safe. ... ok > Test if update method calls the handlers in order. ... ok > instance scope preferences path ... ok > explicit preferences ... ok > load and save ... ok > nested set in trait change handler ... ok > preference binding ... ok > test_trait_name_different_to_preference_name > (apptools.preferences.tests.preference_binding_test_case.PreferenceBindingTestCase) > ... ok > class scope preferences path ... ok > default values ... ok > instance scope preferences path ... ok > nested set in trait change handler ... ok > no preferences path ... ok > preference not in file ... ok > preferences node changed ... ok > Test with real life unicode values ... ok > scoped preferences ... ok > sync trait ... ok > unevaluated strings ... ok > add listener ... ok > clear ... ok > default values ... ok > empty path ... ok > flush ... ok > get and set bool ... ok > get and set float ... ok > get and set int ... ok > get and set list of int ... ok > get and set list of str ... ok > get and set str ... ok > get inherited ... ok > keys ... ok > load ... ok > load with filename trait set ... ok > node ... ok > node exists ... ok > node names ... ok > package global default preferences ... ok > remove ... ok > remove listener ... ok > save ... ok > set with same value ... ok > load from file ... ok > load from filename ... ok > load multiple files ... ok > save ... ok > add listener ... ok > clear ... ok > default values ... ok > empty path ... ok > flush ... ok > get and set bool ... ok > get and set float ... ok > get and set int ... ok > get and set list of int ... ok > get and set list of str ... ok > get and set str ... ok > get inherited ... ok > keys ... ok > load ... ok > load with filename trait set ... ok > node ... ok > node exists ... ok > node names ... ok > package global default preferences ... ok > remove ... ok > remove listener ... ok > save ... ok > set with same value ... ok > test_ability_to_specify_primary_scope > (apptools.preferences.tests.scoped_preferences_test_case.ScopedPreferencesTestCase) > ... ok > add listener ... ok > add listener in specific scope. ... ok > builtin scopes ... ok > clear ... ok > clear in specific scope ... ok > default lookup order ... ok > default values ... ok > empty path ... ok > flush ... ok > get and set bool ... ok > get and set float ... ok > get and set in specific scope ... ok > get and set int ... ok > get and set list of int ... ok > get and set list of str ... ok > get and set str ... ok > get inherited ... ok > keys ... ok > keys in specific scope ... ok > load ... ok > load with filename trait set ... ok > lookup order ... ok > node ... ok > node exists ... ok > node exists ... ok > node in specific scope ... ok > node names ... ok > node names in specific scope ... ok > non existent scope ... ok > package global default preferences ... ok > remove ... ok > remove in specific scope ... ok > remove listener ... ok > remove listener in specific scope. ... ok > save ... ok > set with same value ... ok > Test the clear method. ... ok > Is the object imported and created if unknown? ... ok > Test if a list item is changed does the change get recorded. ... ok > Can classes not using traits be handled? ... ok > Does the object path update when a list has changed? ... ok > Does recording work correctly. ... ok > See if recordable function calls are handled correctly. ... ok > Does recording work right when a trait is replaced. ... ok > Test if recorder trait is set and private traits are ignored. ... ok > Test if saving tape to file works. ... ok > Test if setting script_id at registration time works. ... ok > Does the get_unique_id method work. ... ok > Test the write_script_id_in_namespace method. ... ok > test_list_selection > (apptools.selection.tests.test_list_selection.TestListSelection) ... ok > test_list_selection_of_numpy_array_items > (apptools.selection.tests.test_list_selection.TestListSelection) ... ok > test_list_selection_of_sequence_items > (apptools.selection.tests.test_list_selection.TestListSelection) ... ok > test_list_selection_with_invalid_selected_items > (apptools.selection.tests.test_list_selection.TestListSelection) ... ok > test_add_selection_id_conflict > (apptools.selection.tests.test_selection_service.TestSelectionService) ... ok > test_add_selection_provider > (apptools.selection.tests.test_selection_service.TestSelectionService) ... ok > test_connect_listener > (apptools.selection.tests.test_selection_service.TestSelectionService) ... ok > test_connect_listener_then_add_remove_provider > (apptools.selection.tests.test_selection_service.TestSelectionService) ... ok > test_disconnect_listener > (apptools.selection.tests.test_selection_service.TestSelectionService) ... ok > test_disconnect_unknown_listener > (apptools.selection.tests.test_selection_service.TestSelectionService) ... ok > test_get_selection > (apptools.selection.tests.test_selection_service.TestSelectionService) ... ok > test_get_selection_id_not_registered > (apptools.selection.tests.test_selection_service.TestSelectionService) ... ok > test_ignore_missing > (apptools.selection.tests.test_selection_service.TestSelectionService) ... ok > test_remove_selection_provider > (apptools.selection.tests.test_selection_service.TestSelectionService) ... ok > test_selection_id_not_registered > (apptools.selection.tests.test_selection_service.TestSelectionService) ... ok > test_set_selection > (apptools.selection.tests.test_selection_service.TestSelectionService) ... ok > Validates that the class mapping framework detects infinite ... ok > test_unpickled_class_mapping > (apptools.sweet_pickle.tests.class_mapping_test_case.ClassMappingTestCase) > ... ok > Validates that clearing the registry gives us a new registry. ... ok > Validates that the registry is starting empty for each test. ... ok > Validates that the getter returns the same global registry ... ok > Validates that only existing setstate methods are called when ... ok > Validates that the registered state functions are used when ... ok > apptools.sweet_pickle.tests.two_stage_unpickler_test_case.test_generic ... ok > apptools.sweet_pickle.tests.two_stage_unpickler_test_case.test_toy_app ... ok > Validates the behavior of the add_mapping function. ... ok > Validates the behavior of the add_mapping_to_class function. ... ok > Validates the behavior of the add_mappings function. ... ok > Validates the behavior of the add_state_function function. ... ok > Validates the behavior of the add_state_function_for_class function. ... ok > Validates the behavior of the merge_updater function. ... ok > Validates that the registry is starting empty for each test. ... ok > an adapter registered on one of an object's base classes. ... ok > an adapter registered on an object's actual class. ... ok > simple factory ... ok > ignore an adapter on an object's actual class. ... ok > ignore an adapter registered on a derived class. ... ok > instance adapter ... ok > no adapter available ... ok > no adapter required ... ok > post hook ... ok > pre hook ... ok > test pre hook on an inherited method ... ok > type manager hierarchy ... ok > unregister an adapter. ... ok > unregister instance adapter ... ok > test_abc (apptools.type_registry.tests.test_lazy_registry.TestLazyRegistry) > ... ok > test_deferred_push > (apptools.type_registry.tests.test_lazy_registry.TestLazyRegistry) ... ok > test_greedy_push > (apptools.type_registry.tests.test_lazy_registry.TestLazyRegistry) ... ok > test_lookup_instance > (apptools.type_registry.tests.test_lazy_registry.TestLazyRegistry) ... ok > test_mro (apptools.type_registry.tests.test_lazy_registry.TestLazyRegistry) > ... ok > test_abc (apptools.type_registry.tests.test_type_registry.TestTypeRegistry) > ... ok > test_deferred_push > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry) ... ok > test_greedy_push > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry) ... ok > test_lookup_all > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry) ... ok > test_lookup_instance > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry) ... ok > test_mro (apptools.type_registry.tests.test_type_registry.TestTypeRegistry) > ... ok > test_pop_by_name_from_name > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry) ... ok > test_pop_by_name_from_type > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry) ... ok > test_pop_by_type_from_name > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry) ... ok > test_pop_by_type_from_type > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry) ... ok > test_stack_abc > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry) ... ok > test_stack_mixed_type_and_name > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry) ... ok > test_stack_type > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry) ... ok > test_1_command_pushed > (apptools.undo.tests.test_command_stack.TestCommandStack) ... ok > test_define_macro (apptools.undo.tests.test_command_stack.TestCommandStack) > ... ok > test_empty_command_stack > (apptools.undo.tests.test_command_stack.TestCommandStack) ... ok > test_empty_stack_is_clean > (apptools.undo.tests.test_command_stack.TestCommandStack) ... ok > test_make_clean (apptools.undo.tests.test_command_stack.TestCommandStack) ... > ok > test_make_dirty (apptools.undo.tests.test_command_stack.TestCommandStack) ... > ok > test_n_command_pushed > (apptools.undo.tests.test_command_stack.TestCommandStack) ... ok > test_non_empty_stack_is_dirty > (apptools.undo.tests.test_command_stack.TestCommandStack) ... ok > test_push_undo_save_redo_is_dirty > (apptools.undo.tests.test_command_stack.TestCommandStack) ... ok > test_save_push_save_undo_is_clean > (apptools.undo.tests.test_command_stack.TestCommandStack) ... ok > test_save_push_undo_is_clean > (apptools.undo.tests.test_command_stack.TestCommandStack) ... ok > test_undo_1_command (apptools.undo.tests.test_command_stack.TestCommandStack) > ... ok > test_undo_macro (apptools.undo.tests.test_command_stack.TestCommandStack) ... > ok > test_undo_n_command (apptools.undo.tests.test_command_stack.TestCommandStack) > ... ok > test_undo_redo_1_command > (apptools.undo.tests.test_command_stack.TestCommandStack) ... ok > test_undo_unnamed_command > (apptools.undo.tests.test_command_stack.TestCommandStack) ... ok > > ====================================================================== > ERROR: Test if classic classes can be pickled. > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_apptools/build/apptools/persistence/tests/test_state_pickler.py", > line 291, in test_pickle_classic > self.verify(t, state) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_apptools/build/apptools/persistence/tests/test_state_pickler.py", > line 151, in verify > decodestring = getattr(base64, 'decodebytes', base64.decodestring) > AttributeError: module 'base64' has no attribute 'decodestring' > > ====================================================================== > ERROR: Test if traited classes can be pickled. > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_apptools/build/apptools/persistence/tests/test_state_pickler.py", > line 365, in test_pickle_traits > self.verify(t, state) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_apptools/build/apptools/persistence/tests/test_state_pickler.py", > line 151, in verify > decodestring = getattr(base64, 'decodebytes', base64.decodestring) > AttributeError: module 'base64' has no attribute 'decodestring' > > ---------------------------------------------------------------------- > Ran 401 tests in 0.968s > > FAILED (SKIP=1, errors=2) > E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_apptools/build; python3.9 -m nose -v > dh_auto_test: error: pybuild --test --test-nose -i python{version} -p "3.9 > 3.8" returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2020/10/27/python-apptools_4.5.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.