taskdeb-discuss
[Top][All Lists]
Advanced

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

Bug#978253: bugwarrior: FTBFS: ValueError: badly formed hexadecimal UUID


From: Lucas Nussbaum
Subject: Bug#978253: bugwarrior: FTBFS: ValueError: badly formed hexadecimal UUID string
Date: Sat, 26 Dec 2020 22:44:42 +0100
User-agent: Mutt/1.10.1 (2018-07-13)

Source: bugwarrior
Version: 1.7.0-3
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>>'
> mkdir test_home
> HOME=`pwd`/test_home LC_ALL=C.UTF-8 python3 -m nose -v tests
> Failure: SkipTest (python-pyac not packaged in Debian) ... SKIP: python-pyac 
> not packaged in Debian
> test_issues (tests.test_activecollab2.TestActiveCollab2Issue) ... ok
> test_to_taskwarrior (tests.test_activecollab2.TestActiveCollab2Issue) ... ok
> test_fetch_issues_pagination (tests.test_bitbucket.TestBitbucketIssue) ... 
> SKIP: https://github.com/getsentry/responses/issues/156
> test_get_owner (tests.test_bitbucket.TestBitbucketIssue) ... ok
> test_get_owner_none (tests.test_bitbucket.TestBitbucketIssue) ... ok
> test_issues (tests.test_bitbucket.TestBitbucketIssue) ... ok
> test_to_taskwarrior (tests.test_bitbucket.TestBitbucketIssue) ... ok
> test_issues (tests.test_bts.TestBTSService) ... ok
> test_to_taskwarrior (tests.test_bts.TestBTSService) ... ok
> test_api_key_supplied (tests.test_bugzilla.TestBugzillaService) ... ok
> test_issues (tests.test_bugzilla.TestBugzillaService) ... ok
> test_to_taskwarrior (tests.test_bugzilla.TestBugzillaService) ... ok
> test_validate_config_api_key (tests.test_bugzilla.TestBugzillaServiceConfig) 
> ... ok
> test_validate_config_api_key_no_username 
> (tests.test_bugzilla.TestBugzillaServiceConfig) ... ok
> test_validate_config_username_password 
> (tests.test_bugzilla.TestBugzillaServiceConfig) ... ok
> test_getint (tests.test_config.TestBugwarriorConfigParser) ... ok
> test_getint_none (tests.test_config.TestBugwarriorConfigParser) ... ok
> test_getint_valueerror (tests.test_config.TestBugwarriorConfigParser) ... ok
> If $BUGWARRIORRC is set, it takes precedence over everything else (even ... ok
> If $BUGWARRIORRC is set but emty, it is not used and the default file ... ok
> If it exists, use the file at $XDG_CONFIG_HOME/bugwarrior/bugwarriorrc ... ok
> Falls back on .bugwarriorrc if it exists ... ok
> If no bugwarriorrc exist anywhere, the path to the prefered one is ... ok
> If both files above exist, the one in $XDG_CONFIG_HOME takes precedence ... ok
> TASKDATA should be respected, even when taskrc's data.location is set. ... ok
> When TASKDATA is not set, data.location in taskrc should be respected. ... ok
> When data path is not assigned, use default location. ... ok
> test_log_absolute_path (tests.test_config.TestLoggingPath) ... ok
> test_log_envvar (tests.test_config.TestLoggingPath) ... ok
> test_log_relative_path (tests.test_config.TestLoggingPath) ... ok
> test_log_stdout (tests.test_config.TestLoggingPath) ... ok
> test_log_userhome (tests.test_config.TestLoggingPath) ... ok
> test_echo (tests.test_config.TestOracleEval) ... ok
> test__contains__ (tests.test_config.TestServiceConfig) ... ok
> Methods not defined in ServiceConfig should be proxied to configparser. ... ok
> test_get (tests.test_config.TestServiceConfig) ... ok
> test_get_default (tests.test_config.TestServiceConfig) ... ok
> test_get_default_none (tests.test_config.TestServiceConfig) ... ok
> test_get_to_type (tests.test_config.TestServiceConfig) ... ok
> test_get_set (tests.test_data.TestData) ... ok
> test_path_attribute (tests.test_data.TestData) ... ok
> test_set_first_time (tests.test_data.TestData) ... ok
> test_already_in_sync (tests.test_db.TestMergeLeft) ... ok
> When hamming=False, rough equivalents are duplicated. ... ok
> When hamming=True, rough equivalents are not duplicated. ... ok
> test_with_dict (tests.test_db.TestMergeLeft) ... ok
> test_with_taskw (tests.test_db.TestMergeLeft) ... ok
> test_synchronize (tests.test_db.TestSynchronize) ... ERROR
> test_udas (tests.test_db.TestUDAs) ... ok
> Failure: SkipTest (requires internet access, not possible on the Debuild 
> buildd) ... SKIP: requires internet access, not possible on the Debuild buildd
> test_api_url (tests.test_github.TestGithubClient) ... ok
> test_api_url_with_context (tests.test_github.TestGithubClient) ... ok
> Test generating an API URL with a custom host ... ok
> test_issues (tests.test_github.TestGithubIssue) ... ok
> test_normalize_label_to_tag (tests.test_github.TestGithubIssue) ... ok
> test_to_taskwarrior (tests.test_github.TestGithubIssue) ... ok
> test_issues (tests.test_github.TestGithubIssueQuery) ... ok
> test_to_taskwarrior (tests.test_github.TestGithubIssueQuery) ... ok
> Check that if github.host is not set, we default to github.com ... ok
> test_get_repository_from_issue__enterprise_github 
> (tests.test_github.TestGithubService) ... ok
> test_get_repository_from_issue_url__issue 
> (tests.test_github.TestGithubService) ... ok
> test_get_repository_from_issue_url__pull_request 
> (tests.test_github.TestGithubService) ... ok
> Checks that the keyring service name ... ok
> Checks that the keyring key depends on the github host. ... ok
> Check that if github.host is set, we use its value as host ... ok
> test_token_authorization_header (tests.test_github.TestGithubService) ... ok
> test_issues (tests.test_gitlab.TestGitlabIssue) ... ok
> test_normalize_label_to_tag (tests.test_gitlab.TestGitlabIssue) ... ok
> test_to_taskwarrior (tests.test_gitlab.TestGitlabIssue) ... ok
> test_work_in_progress (tests.test_gitlab.TestGitlabIssue) ... ok
> test_add_default_namespace_to_excluded_repos 
> (tests.test_gitlab.TestGitlabService) ... ok
> test_add_default_namespace_to_included_repos 
> (tests.test_gitlab.TestGitlabService) ... ok
> test_get_keyring_service_custom_host (tests.test_gitlab.TestGitlabService) 
> ... ok
> test_get_keyring_service_default_host (tests.test_gitlab.TestGitlabService) 
> ... ok
> test_config_paths (tests.test_gmail.TestGmailIssue) ... ok
> test_issues (tests.test_gmail.TestGmailIssue) ... ok
> test_last_sender (tests.test_gmail.TestGmailIssue) ... ok
> test_to_taskwarrior (tests.test_gmail.TestGmailIssue) ... ok
> test_get_due (tests.test_jira.TestJiraIssue) ... ok
> test_issues (tests.test_jira.TestJiraIssue) ... ok
> test_to_taskwarrior (tests.test_jira.TestJiraIssue) ... ok
> test_to_taskwarrior_sprint_with_goal (tests.test_jira.TestJiraIssue) ... ok
> Failure: SkipTest (python-megaplan not packaged in Debian) ... SKIP: 
> python-megaplan not packaged in Debian
> test_issues (tests.test_redmine.TestRedmineIssue) ... ok
> test_to_taskwarrior (tests.test_redmine.TestRedmineIssue) ... ok
> test_build_default_description_default (tests.test_service.TestIssue) ... ok
> test_build_default_description_limited (tests.test_service.TestIssue) ... ok
> test_build_default_description_limitless (tests.test_service.TestIssue) ... ok
> test_build_annotations_default (tests.test_service.TestIssueService) ... ok
> test_build_annotations_limited (tests.test_service.TestIssueService) ... ok
> test_build_annotations_limitless (tests.test_service.TestIssueService) ... ok
> check Issue class ... ok
> test_issues (tests.test_taiga.TestTaigaIssue) ... ok
> test_to_taskwarrior (tests.test_taiga.TestTaigaIssue) ... ok
> test_issues (tests.test_teamlab.TestTeamlabIssue) ... ok
> test_to_taskwarrior (tests.test_teamlab.TestTeamlabIssue) ... ok
> test_issues (tests.test_teamwork_projects.TestTeamworkIssue) ... ok
> test_to_taskwarrior (tests.test_teamwork_projects.TestTeamworkIssue) ... ok
> test_default_taskwarrior_record (tests.test_templates.TestTemplates) ... ok
> test_override_description (tests.test_templates.TestTemplates) ... ok
> test_override_project (tests.test_templates.TestTemplates) ... ok
> test_tag_templates (tests.test_templates.TestTemplates) ... ok
> test_issues (tests.test_trac.TestTracIssue) ... ok
> test_to_taskwarrior (tests.test_trac.TestTracIssue) ... ok
> Test the generated description ... ok
> By default, the project is the board name ... ok
> test_annotations (tests.test_trello.TestTrelloService) ... ok
> test_annotations_with_link (tests.test_trello.TestTrelloService) ... ok
> test_get_boards_api (tests.test_trello.TestTrelloService) ... ok
> test_get_boards_config (tests.test_trello.TestTrelloService) ... ok
> test_get_cards (tests.test_trello.TestTrelloService) ... ok
> test_get_cards_assigned (tests.test_trello.TestTrelloService) ... ok
> test_get_cards_assigned_unassigned (tests.test_trello.TestTrelloService) ... 
> ok
> test_get_comments (tests.test_trello.TestTrelloService) ... ok
> test_get_lists (tests.test_trello.TestTrelloService) ... ok
> test_get_lists_exclude (tests.test_trello.TestTrelloService) ... ok
> test_get_lists_include (tests.test_trello.TestTrelloService) ... ok
> test_issues (tests.test_trello.TestTrelloService) ... ok
> test_valid_config_no_access_token (tests.test_trello.TestTrelloService) ... ok
> test_valid_config_no_api_key (tests.test_trello.TestTrelloService) ... ok
> test_validate_config (tests.test_trello.TestTrelloService) ... ok
> test_issues (tests.test_youtrak.TestYoutrackIssue) ... ok
> test_to_taskwarrior (tests.test_youtrak.TestYoutrackIssue) ... ok
> test_get_keyring_service (tests.test_youtrak.TestYoutrackService) ... ok
> 
> ======================================================================
> ERROR: test_synchronize (tests.test_db.TestSynchronize)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tests/test_db.py", line 83, in test_synchronize
>     db.synchronize(issue_generator, config, 'general')
>   File "/<<PKGBUILDDIR>>/bugwarrior/db.py", line 422, in synchronize
>     new_task = tw.task_add(**issue)
>   File "/usr/lib/python3/dist-packages/taskw/warrior.py", line 689, in 
> task_add
>     task['uuid'] = stdout.strip().split()[-1].strip('.')
>   File "/usr/lib/python3/dist-packages/taskw/task.py", line 223, in 
> __setitem__
>     self._serialize(key, value, self._fields)
>   File "/usr/lib/python3/dist-packages/taskw/task.py", line 110, in _serialize
>     return converter.serialize(value)
>   File "/usr/lib/python3/dist-packages/taskw/fields/uuid.py", line 19, in 
> serialize
>     uuid.UUID(value)
>   File "/usr/lib/python3.9/uuid.py", line 177, in __init__
>     raise ValueError('badly formed hexadecimal UUID string')
> ValueError: badly formed hexadecimal UUID string
> -------------------- >> begin captured logging << --------------------
> bugwarrior.db: INFO: Service-defined UDAs exist: you can optionally use the 
> `bugwarrior-uda` command to export a list of UDAs you can add to your taskrc 
> file.
> bugwarrior.db: DEBUG: Skipping.  Seen {"githubtype": "issue", "githuburl": 
> "https://example.com"} of {'description': 'Blah blah blah. ☃', 'project': 
> 'sample_project', 'githubtype': 'issue', 'githuburl': 'https://example.com', 
> 'priority': 'M'}
> bugwarrior.db: INFO: Adding 1 tasks
> bugwarrior.db: INFO: Adding task Blah blah blah. ☃
> --------------------- >> end captured logging << ---------------------
> 
> ----------------------------------------------------------------------
> Ran 125 tests in 0.256s
> 
> FAILED (SKIP=4, errors=1)
> make[1]: *** [debian/rules:12: override_dh_auto_test] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/12/26/bugwarrior_1.7.0-3_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]