[asterisk-bugs] [JIRA] (ASTERISK-27893) testsuite: Current version of the Python module construct is incompatible.
Joshua Colp (JIRA)
noreply at issues.asterisk.org
Tue Jun 5 04:57:54 CDT 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-27893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua Colp updated ASTERISK-27893:
-----------------------------------
Status: Open (was: Triage)
> testsuite: Current version of the Python module construct is incompatible.
> --------------------------------------------------------------------------
>
> Key: ASTERISK-27893
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-27893
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Tests/testsuite
> Affects Versions: GIT
> Environment: python-construct 2.8 and newer
> Reporter: Alexander Traud
> Labels: patch, pjsip
> Attachments: suite_construct.patch
>
>
> Since version 2.6 (Sep. 2016), the Python module {{construct}} is [not forward compatible|http://construct.readthedocs.io/en/stable/transition28.html]. Version 2.8 was the first stable release with that new API. That version gets installed in Ubuntu 18.04 LTS. Therefore, several tests in the Asterisk Test Suite fail.
> {{exceptions.NameError: global name 'BitField' is not defined}}
> is raised by
> tests/channels/pjsip/rtp/rtp_keepalive/base.
> {{ImportError: No module named protocols.ipstack}}
> is raised by
> tests/channels/pjsip/transfers/attended_transfer/nominal/caller_local_direct_media
> tests/channels/pjsip/subscriptions/rls/lists_of_lists/off_nominal/presence/shared_name_w_list_support
> tests/channels/pjsip/subscriptions/rls/lists_of_lists/off_nominal/presence/resource_duplication
> tests/channels/pjsip/subscriptions/rls/lists_of_lists/off_nominal/mwi/shared_name_w_list_support
> tests/channels/pjsip/subscriptions/rls/lists_of_lists/off_nominal/mwi/resource_duplication
> tests/channels/pjsip/subscriptions/rls/lists_of_lists/nominal/presence/termination_full_state
> tests/channels/pjsip/subscriptions/rls/lists_of_lists/nominal/presence/resubscribe_full_state
> tests/channels/pjsip/subscriptions/rls/lists_of_lists/nominal/presence/partial_state_carol
> tests/channels/pjsip/subscriptions/rls/lists_of_lists/nominal/presence/listception_initial_notify
> tests/channels/pjsip/subscriptions/rls/lists_of_lists/nominal/presence/initial_notify
> tests/channels/pjsip/subscriptions/rls/lists_of_lists/nominal/presence/full_state_carol
> tests/channels/pjsip/subscriptions/rls/lists_of_lists/nominal/presence/full_state_alice
> tests/channels/pjsip/subscriptions/rls/lists_of_lists/nominal/presence/batched
> tests/channels/pjsip/subscriptions/rls/lists_of_lists/nominal/mwi/termination_full_state
> tests/channels/pjsip/subscriptions/rls/lists_of_lists/nominal/mwi/resubscribe_full_state
> tests/channels/pjsip/subscriptions/rls/lists_of_lists/nominal/mwi/partial_state_carol
> tests/channels/pjsip/subscriptions/rls/lists_of_lists/nominal/mwi/partial_state_alice
> tests/channels/pjsip/subscriptions/rls/lists_of_lists/nominal/mwi/initial_notify
> tests/channels/pjsip/subscriptions/rls/lists_of_lists/nominal/mwi/full_state_carol
> tests/channels/pjsip/subscriptions/rls/lists_of_lists/nominal/mwi/full_state_alice
> tests/channels/pjsip/subscriptions/rls/lists_of_lists/nominal/mwi/batched
> tests/channels/pjsip/subscriptions/rls/lists/off_nominal/presence/some_list_resources_exist
> tests/channels/pjsip/subscriptions/rls/lists/off_nominal/presence/resource_duplication
> tests/channels/pjsip/subscriptions/rls/lists/off_nominal/mwi/some_list_resources_exist
> tests/channels/pjsip/subscriptions/rls/lists/off_nominal/mwi/resource_duplication
> tests/channels/pjsip/subscriptions/rls/lists/nominal/presence/termination_full_state
> tests/channels/pjsip/subscriptions/rls/lists/nominal/presence/resubscribe_full_state
> tests/channels/pjsip/subscriptions/rls/lists/nominal/presence/partial_state
> tests/channels/pjsip/subscriptions/rls/lists/nominal/presence/initial_notify
> tests/channels/pjsip/subscriptions/rls/lists/nominal/presence/full_state
> tests/channels/pjsip/subscriptions/rls/lists/nominal/presence/batched/termination_interruption
> tests/channels/pjsip/subscriptions/rls/lists/nominal/presence/batched/resubscription_interruption
> tests/channels/pjsip/subscriptions/rls/lists/nominal/presence/batched/multiple_resources_single_change
> tests/channels/pjsip/subscriptions/rls/lists/nominal/presence/batched/basic
> tests/channels/pjsip/subscriptions/rls/lists/nominal/mwi/termination_full_state
> tests/channels/pjsip/subscriptions/rls/lists/nominal/mwi/resubscribe_full_state
> tests/channels/pjsip/subscriptions/rls/lists/nominal/mwi/partial_state
> tests/channels/pjsip/subscriptions/rls/lists/nominal/mwi/initial_notify
> tests/channels/pjsip/subscriptions/rls/lists/nominal/mwi/full_state
> tests/channels/pjsip/subscriptions/rls/lists/nominal/mwi/batched/termination_interruption
> tests/channels/pjsip/subscriptions/rls/lists/nominal/mwi/batched/single_resource_multiple_changes
> tests/channels/pjsip/subscriptions/rls/lists/nominal/mwi/batched/resubscription_interruption
> tests/channels/pjsip/subscriptions/rls/lists/nominal/mwi/batched/multiple_resources_single_change
> tests/channels/pjsip/subscriptions/rls/lists/nominal/mwi/batched/basic
> tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_xpidf
> tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_pidf
> *Workaround*
> The attached patch is just a workaround. You get that additional module by going for {{sudo apt install python-construct.legacy}}.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list