← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1998228] Re: [UT] Error in "test_get_vlan_device_name" with n-lib 3.2.0

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/866038
Committed: https://opendev.org/openstack/neutron/commit/895f818cb3052d055bef9bbe2efc5c71cd0626cf
Submitter: "Zuul (22348)"
Branch:    master

commit 895f818cb3052d055bef9bbe2efc5c71cd0626cf
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Tue Nov 29 16:48:07 2022 +0100

    Do not mock the hash method for testing "get_vlan_device_name"
    
    Instead of this, use the same algorith used by the method to build
    the device name.
    
    Closes-Bug: #1998228
    Change-Id: Ic52107fdf96e2db7c26cc9a023843430775cb775


** Changed in: neutron
       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/1998228

Title:
  [UT] Error in "test_get_vlan_device_name" with n-lib 3.2.0

Status in neutron:
  Fix Released

Bug description:
  Logs:
  https://2e3da89ec438fbfff201-485520e0725c5c3e0cb7e09d4d5f1a24.ssl.cf1.rackcdn.com/periodic/opendev.org/openstack/neutron/master/openstack-
  tox-py310-with-neutron-lib-master/0820d9e/testr_results.html

  Error: https://paste.opendev.org/show/b3bE9liITktfNhsiOYHB/

  Since [1], patch to be released in neutron-lib 3.2.0, we are no longer
  instantiating a "hashlib.sha1" object but calling "hashlib.new('sha1',
  usedforsecurity=False)".

  [1]https://review.opendev.org/c/openstack/neutron-lib/+/865578

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1998228/+subscriptions



References