Reviewed: https://review.opendev.org/c/openstack/os-vif/+/946977 Committed: https://opendev.org/openstack/os-vif/commit/b2cb28ae281708514c2e5b91ae80603922f8554f Submitter: "Zuul (22348)" Branch: master
commit b2cb28ae281708514c2e5b91ae80603922f8554f Author: Rodolfo Alonso Hernandez <ralon...@redhat.com> Date: Fri Apr 11 07:47:36 2025 +0000 Adapt unit tests to pyroute2 0.9.1 Since [1], the IPRoute API methods are dynamic loaded attributes, defined in the ``RTNL_API`` mixin class. In order to mock them, it is needed to use the argument ``create=True``. This code is compatible with older and newer versions of pyroute2. [1]https://github.com/svinota/pyroute2/commit/d45678c7c90fc3df636273cea1c0a59a7e6cd269#diff-31320c43ab56dfae39c507c540d7c22a5c9ecb42490c2d739ed97c25967e61a8 Closes-Bug: #2106605 Change-Id: I3b4b103912f5c2e3fe5a0312367f5675ebbba68f ** Changed in: os-vif Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/2106605 Title: [UT] py3 not starting with pyroute2 0.9.1 Status in neutron: Fix Released Status in octavia: In Progress Status in os-vif: Fix Released Bug description: The UT CI (py3x) is not even starting with pyroute2 0.9.1. Log: https://bfb1a44810a2b4161d79-a8caf4f4ad4b0a7f74dab21fc6a45bed.ssl.cf1.rackcdn.com/openstack/0bc04df3d47e4a32ba0d90fe0f5b6e72/job- output.txt Snippet: https://paste.opendev.org/show/bJu1yPrUOVB9HWkLHQzN/ To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/2106605/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp