taskdeb-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug#978249: python-tasklib: FTBFS: dh_auto_test: error: pybuild --test -


From: Lucas Nussbaum
Subject: Bug#978249: python-tasklib: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p 3.9 returned exit code 13
Date: Sat, 26 Dec 2020 22:45:44 +0100
User-agent: Mutt/1.10.1 (2018-07-13)

Source: python-tasklib
Version: 1.3.0-2
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):
> dpkg-buildpackage
> -----------------
> 
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package python-tasklib
> dpkg-buildpackage: info: source version 1.3.0-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Jochen Sprickerhof 
> <jspricke@debian.org>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  debian/rules clean
> dh clean --buildsystem=pybuild --with python3
>    dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:232: python3.9 setup.py clean 
> running clean
> removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build' (and everything under 
> it)
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-3.9' does not exist -- can't clean it
>    dh_autoreconf_clean -O--buildsystem=pybuild
>    dh_clean -O--buildsystem=pybuild
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building python-tasklib using existing 
> ./python-tasklib_1.3.0.orig.tar.gz
> dpkg-source: info: building python-tasklib in 
> python-tasklib_1.3.0-2.debian.tar.xz
> dpkg-source: info: building python-tasklib in python-tasklib_1.3.0-2.dsc
>  debian/rules binary
> dh binary --buildsystem=pybuild --with python3
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:232: python3.9 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:232: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tasklib
> copying tasklib/tests.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tasklib
> copying tasklib/backends.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tasklib
> copying tasklib/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tasklib
> copying tasklib/lazy.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tasklib
> copying tasklib/task.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tasklib
> copying tasklib/serializing.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tasklib
> copying tasklib/filters.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tasklib
> running egg_info
> creating tasklib.egg-info
> writing tasklib.egg-info/PKG-INFO
> writing dependency_links to tasklib.egg-info/dependency_links.txt
> writing requirements to tasklib.egg-info/requires.txt
> writing top-level names to tasklib.egg-info/top_level.txt
> writing manifest file 'tasklib.egg-info/SOURCES.txt'
> reading manifest file 'tasklib.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'tasklib.egg-info/SOURCES.txt'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:232: python3.9 setup.py test 
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running egg_info
> writing tasklib.egg-info/PKG-INFO
> writing dependency_links to tasklib.egg-info/dependency_links.txt
> writing requirements to tasklib.egg-info/requires.txt
> writing top-level names to tasklib.egg-info/top_level.txt
> reading manifest file 'tasklib.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'tasklib.egg-info/SOURCES.txt'
> running build_ext
> test_adding_annotation (tasklib.tests.AnnotationTest) ... ok
> test_annotation_after_modification (tasklib.tests.AnnotationTest) ... ok
> test_removing_annotation (tasklib.tests.AnnotationTest) ... ok
> test_removing_annotation_by_description (tasklib.tests.AnnotationTest) ... ok
> test_removing_annotation_by_obj (tasklib.tests.AnnotationTest) ... ok
> test_serialize_annotations (tasklib.tests.AnnotationTest) ... ok
> test_complex_eoy_conversion (tasklib.tests.DatetimeStringTest) ... FAIL
> test_filtering_with_string_datetime (tasklib.tests.DatetimeStringTest) ... ok
> test_simple_eoy_conversion (tasklib.tests.DatetimeStringTest) ... FAIL
> test_simple_now_conversion (tasklib.tests.DatetimeStringTest) ... ok
> test_contains (tasklib.tests.LazyUUIDTaskSetTest) ... ok
> test_difference (tasklib.tests.LazyUUIDTaskSetTest) ... ok
> test_eq_lazy (tasklib.tests.LazyUUIDTaskSetTest) ... ok
> test_eq_real (tasklib.tests.LazyUUIDTaskSetTest) ... ok
> test_intersection (tasklib.tests.LazyUUIDTaskSetTest) ... ok
> test_length (tasklib.tests.LazyUUIDTaskSetTest) ... ok
> test_symmetric_difference (tasklib.tests.LazyUUIDTaskSetTest) ... ok
> test_union (tasklib.tests.LazyUUIDTaskSetTest) ... ok
> test_conversion_attribute (tasklib.tests.LazyUUIDTaskTest) ... ok
> test_conversion_key (tasklib.tests.LazyUUIDTaskTest) ... ok
> test_lazy_explicit_conversion (tasklib.tests.LazyUUIDTaskTest) ... ok
> test_lazy_in_queryset (tasklib.tests.LazyUUIDTaskTest) ... ok
> test_lazy_modified (tasklib.tests.LazyUUIDTaskTest) ... ok
> test_lazy_modified_fields (tasklib.tests.LazyUUIDTaskTest) ... ok
> test_lazy_saved (tasklib.tests.LazyUUIDTaskTest) ... ok
> test_lazy_to_lazy_equality (tasklib.tests.LazyUUIDTaskTest) ... ok
> test_lazy_to_lazy_inequality (tasklib.tests.LazyUUIDTaskTest) ... ok
> test_normal_to_lazy_equality (tasklib.tests.LazyUUIDTaskTest) ... ok
> test_normal_to_lazy_inequality (tasklib.tests.LazyUUIDTaskTest) ... ok
> test_uuid_non_conversion (tasklib.tests.LazyUUIDTaskTest) ... ok
> test_readonlydict_items (tasklib.tests.ReadOnlyDictViewTest) ... ok
> test_readonlydict_values (tasklib.tests.ReadOnlyDictViewTest) ... ok
> test_readonlydictview_contains (tasklib.tests.ReadOnlyDictViewTest) ... ok
> test_readonlydictview_get (tasklib.tests.ReadOnlyDictViewTest) ... ok
> test_readonlydictview_getitem (tasklib.tests.ReadOnlyDictViewTest) ... ok
> test_readonlydictview_iter (tasklib.tests.ReadOnlyDictViewTest) ... ok
> test_readonlydictview_len (tasklib.tests.ReadOnlyDictViewTest) ... ok
> test_all_empty (tasklib.tests.TaskFilterTest) ... ok
> test_all_non_empty (tasklib.tests.TaskFilterTest) ... ok
> test_completed_empty (tasklib.tests.TaskFilterTest) ... ok
> test_completed_non_empty (tasklib.tests.TaskFilterTest) ... ok
> test_deleted_empty (tasklib.tests.TaskFilterTest) ... ok
> test_deleted_non_empty (tasklib.tests.TaskFilterTest) ... ok
> test_filter_by_priority (tasklib.tests.TaskFilterTest) ... ok
> test_filter_dummy_by_description (tasklib.tests.TaskFilterTest) ... ok
> test_filter_dummy_by_due (tasklib.tests.TaskFilterTest) ... ok
> test_filter_dummy_by_end (tasklib.tests.TaskFilterTest) ... ok
> test_filter_dummy_by_entry (tasklib.tests.TaskFilterTest) ... ok
> test_filter_dummy_by_modified (tasklib.tests.TaskFilterTest) ... ok
> test_filter_dummy_by_projects (tasklib.tests.TaskFilterTest) ... ok
> test_filter_dummy_by_scheduled (tasklib.tests.TaskFilterTest) ... ok
> test_filter_dummy_by_start (tasklib.tests.TaskFilterTest) ... ok
> test_filter_dummy_by_status (tasklib.tests.TaskFilterTest) ... ok
> test_filter_dummy_by_tags (tasklib.tests.TaskFilterTest) ... ok
> test_filter_dummy_by_until (tasklib.tests.TaskFilterTest) ... ok
> test_filter_dummy_by_uuid (tasklib.tests.TaskFilterTest) ... ok
> test_filter_for_task_with_space_in_descripition 
> (tasklib.tests.TaskFilterTest) ... ok
> test_filter_for_task_with_space_in_project (tasklib.tests.TaskFilterTest) ... 
> ok
> test_filter_for_task_without_space_in_descripition 
> (tasklib.tests.TaskFilterTest) ... ok
> test_filter_for_task_without_space_in_project (tasklib.tests.TaskFilterTest) 
> ... ok
> test_filter_with_empty_uuid (tasklib.tests.TaskFilterTest) ... ok
> test_filtering_by_attribute (tasklib.tests.TaskFilterTest) ... ok
> test_filtering_by_empty_attribute (tasklib.tests.TaskFilterTest) ... ok
> test_pending_non_empty (tasklib.tests.TaskFilterTest) ... ok
> test_recurring_empty (tasklib.tests.TaskFilterTest) ... ok
> test_recurring_non_empty (tasklib.tests.TaskFilterTest) ... ok
> test_waiting_empty (tasklib.tests.TaskFilterTest) ... ok
> test_waiting_non_empty (tasklib.tests.TaskFilterTest) ... ok
> test_export_data (tasklib.tests.TaskFromHookTest) ... ok
> test_setting_up_from_add_hook_input (tasklib.tests.TaskFromHookTest) ... ok
> test_setting_up_from_add_hook_input_recurring 
> (tasklib.tests.TaskFromHookTest) ... ok
> test_setting_up_from_modified_hook_input (tasklib.tests.TaskFromHookTest) ... 
> ok
> test_add_completed_task (tasklib.tests.TaskTest) ... ok
> test_add_lazyuuidtaskset_to_dependency_lazyuuidtaskset 
> (tasklib.tests.TaskTest) ... ok
> test_add_multiple_completed_tasks (tasklib.tests.TaskTest) ... ok
> test_add_to_dependency_lazyuuidtaskset (tasklib.tests.TaskTest) ... ok
> test_add_to_dependency_set (tasklib.tests.TaskTest) ... ok
> test_add_to_empty_dependency_lazyuuidtaskset (tasklib.tests.TaskTest) ... ok
> test_add_to_empty_dependency_set (tasklib.tests.TaskTest) ... ok
> test_adding_tag_by_appending (tasklib.tests.TaskTest) ... ok
> test_adding_tag_by_appending_empty (tasklib.tests.TaskTest) ... ok
> test_adding_tag_twice (tasklib.tests.TaskTest) ... ok
> test_adding_task_with_due_time (tasklib.tests.TaskTest) ... ok
> test_adding_task_with_priority (tasklib.tests.TaskTest) ... ok
> test_compare_different_tasks (tasklib.tests.TaskTest) ... ok
> test_compare_same_task (tasklib.tests.TaskTest) ... ok
> test_compare_same_task_object (tasklib.tests.TaskTest) ... ok
> test_compare_unsaved_tasks (tasklib.tests.TaskTest) ... ok
> test_complete_completed_task (tasklib.tests.TaskTest) ... ok
> test_complete_deleted_task (tasklib.tests.TaskTest) ... ok
> test_complete_unsaved_task (tasklib.tests.TaskTest) ... ok
> test_completing_task (tasklib.tests.TaskTest) ... ok
> test_create_unsaved_task (tasklib.tests.TaskTest) ... ok
> test_delete_deleted_task (tasklib.tests.TaskTest) ... ok
> test_delete_unsaved_task (tasklib.tests.TaskTest) ... ok
> test_deleting_task (tasklib.tests.TaskTest) ... ok
> test_deserializer_returning_empty_value_for_empty_string 
> (tasklib.tests.TaskTest) ... ok
> test_empty_dependency_set_of_saved_task (tasklib.tests.TaskTest) ... ok
> test_empty_dependency_set_of_unsaved_task (tasklib.tests.TaskTest) ... ok
> test_hash_same_task (tasklib.tests.TaskTest) ... ok
> test_hash_unequal_saved_tasks (tasklib.tests.TaskTest) ... ok
> test_hash_unequal_unsaved_tasks (tasklib.tests.TaskTest) ... ok
> test_hash_unsaved_tasks (tasklib.tests.TaskTest) ... ok
> test_modified_fields_loaded_task (tasklib.tests.TaskTest) ... ok
> test_modified_fields_new_task (tasklib.tests.TaskTest) ... ok
> test_modified_fields_not_affected_by_reading (tasklib.tests.TaskTest) ... ok
> test_modify_number_of_tasks_at_once (tasklib.tests.TaskTest) ... ok
> test_modify_simple_attribute_with_space (tasklib.tests.TaskTest) ... ok
> test_modify_simple_attribute_without_space (tasklib.tests.TaskTest) ... ok
> test_normalizers_handling_none (tasklib.tests.TaskTest) ... ok
> test_recurrent_task_generation (tasklib.tests.TaskTest) ... ok
> test_refresh_unsaved_task (tasklib.tests.TaskTest) ... ok
> test_remove_from_dependency_lazyuuidtaskset (tasklib.tests.TaskTest) ... ok
> test_remove_from_dependency_set (tasklib.tests.TaskTest) ... ok
> test_removing_due_time_with_none (tasklib.tests.TaskTest) ... ok
> test_removing_priority_with_none (tasklib.tests.TaskTest) ... ok
> test_return_all_from_executed_command (tasklib.tests.TaskTest) ... ok
> test_return_all_from_failed_executed_command (tasklib.tests.TaskTest) ... ok
> test_saving_unmodified_task (tasklib.tests.TaskTest) ... ok
> test_serializers_returning_empty_string_for_none (tasklib.tests.TaskTest) ... 
> ok
> test_set_complex_dependency_lazyuuidtaskset (tasklib.tests.TaskTest) ... ok
> test_set_complex_dependency_set (tasklib.tests.TaskTest) ... ok
> test_set_simple_dependency_lazyuuidtaskset (tasklib.tests.TaskTest) ... ok
> test_set_simple_dependency_set (tasklib.tests.TaskTest) ... ok
> test_set_unsaved_task_as_dependency (tasklib.tests.TaskTest) ... ok
> test_setting_read_only_attrs_through_init (tasklib.tests.TaskTest) ... ok
> test_setting_read_only_attrs_through_setitem (tasklib.tests.TaskTest) ... ok
> test_simple_dependency_lazyuuidtaskset_save_before_repeatedly 
> (tasklib.tests.TaskTest) ... ok
> test_simple_dependency_lazyuuidtaskset_save_repeatedly 
> (tasklib.tests.TaskTest) ... ok
> test_simple_dependency_set_save_repeatedly (tasklib.tests.TaskTest) ... ok
> test_spawned_task_parent (tasklib.tests.TaskTest) ... ok
> test_start_active_task (tasklib.tests.TaskTest) ... ok
> test_start_completed_task (tasklib.tests.TaskTest) ... ok
> test_start_unsaved_task (tasklib.tests.TaskTest) ... ok
> test_started_task_active (tasklib.tests.TaskTest) ... ok
> test_starting_task (tasklib.tests.TaskTest) ... ok
> test_stop_completed_task (tasklib.tests.TaskTest) ... ok
> test_stop_deleted_task (tasklib.tests.TaskTest) ... ok
> test_stop_inactive_task (tasklib.tests.TaskTest) ... ok
> test_stopping_task (tasklib.tests.TaskTest) ... ok
> test_unstarted_task_inactive (tasklib.tests.TaskTest) ... ok
> test_config (tasklib.tests.TaskWarriorBackendTest) ... ok
> test_custom_command (tasklib.tests.TaskWarriorTest) ... ok
> test_filter_by_aware_datetime (tasklib.tests.TimezoneAwareDatetimeTest) ... ok
> test_filter_by_naive_date (tasklib.tests.TimezoneAwareDatetimeTest) ... ok
> test_filter_by_naive_datetime (tasklib.tests.TimezoneAwareDatetimeTest) ... ok
> test_serialize_aware_datetime (tasklib.tests.TimezoneAwareDatetimeTest) ... ok
> test_serialize_naive_date (tasklib.tests.TimezoneAwareDatetimeTest) ... ok
> test_serialize_naive_datetime (tasklib.tests.TimezoneAwareDatetimeTest) ... ok
> test_timezone_aware_datetime_setitem 
> (tasklib.tests.TimezoneAwareDatetimeTest) ... ok
> test_timezone_aware_datetime_using_init 
> (tasklib.tests.TimezoneAwareDatetimeTest) ... ok
> test_timezone_naive_date_setitem (tasklib.tests.TimezoneAwareDatetimeTest) 
> ... ok
> test_timezone_naive_date_using_init (tasklib.tests.TimezoneAwareDatetimeTest) 
> ... ok
> test_timezone_naive_datetime_setitem 
> (tasklib.tests.TimezoneAwareDatetimeTest) ... ok
> test_timezone_naive_datetime_using_init 
> (tasklib.tests.TimezoneAwareDatetimeTest) ... ok
> test_filter_by_unicode_task (tasklib.tests.UnicodeTest) ... ok
> test_non_unicode_task (tasklib.tests.UnicodeTest) ... ok
> test_unicode_task (tasklib.tests.UnicodeTest) ... ok
> 
> ======================================================================
> FAIL: test_complex_eoy_conversion (tasklib.tests.DatetimeStringTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tasklib/tests.py", line 1251, in 
> test_complex_eoy_conversion
>     self.assertEqual(due_date, t['due'])
> AssertionError: datetime.datetime(2020, 9, 2, 23, 59, 59, tzinfo=<UTC>) != 
> datetime.datetime(2020, 9, 3, 0, 0, tzinfo=<UTC>)
> 
> ======================================================================
> FAIL: test_simple_eoy_conversion (tasklib.tests.DatetimeStringTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tasklib/tests.py", line 1228, in 
> test_simple_eoy_conversion
>     self.assertEqual(eoy, t['due'])
> AssertionError: datetime.datetime(2020, 12, 31, 23, 59, 59, tzinfo=<UTC>) != 
> datetime.datetime(2021, 1, 1, 0, 0, tzinfo=<UTC>)
> 
> ----------------------------------------------------------------------
> Ran 158 tests in 4.259s
> 
> FAILED (failures=2)
> Test failed: <unittest.runner.TextTestResult run=158 errors=0 failures=2>
> error: Test failed: <unittest.runner.TextTestResult run=158 errors=0 
> failures=2>
> E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: 
> python3.9 setup.py test 
> 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/python-tasklib_1.3.0-2_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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]