← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1812922] Re: neutron unit tests break with oslo.utils 3.39.1 and above

 

** Changed in: neutron
       Status: Triaged => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1812922

Title:
  neutron unit tests break with oslo.utils 3.39.1 and above

Status in neutron:
  Invalid
Status in oslo.utils:
  Fix Released

Bug description:
  The new oslo.service version bump [1] is failing on the Neutron
  "test_periodic_worker_lifecycle" unit test [2].  This occurs when
  oslo.utils 3.39.1 or higher is installed; technically 3.38.0 is what
  is set forth in upper-constraints.txt [3] but you can see oslo.utils
  3.40.1 being installed in the failing tests [4].

  The change in oslo.config that is precipitating this failure is "Fix
  race condition in eventletutils Event" [5].  This is now included as a
  result of the bump for oslo.utils in upper-constraints.txt [6] that
  occurred yesterday (Jan 21 2019).

  As a temporary measure, will alter Neutron requirements.txt to cap the
  oslo.utils version at 3.39.0 or less so this issue can be fixed.

  [1] https://review.openstack.org/632169
  [2] neutron.tests.unit.test_worker.PeriodicWorkerTestCase.test_periodic_worker_lifecycle
  [3] https://git.openstack.org/cgit/openstack/requirements/tree/upper-constraints.txt#n548
  [4] http://logs.openstack.org/69/632169/1/check/cross-neutron-py35/6f91a77/job-output.txt.gz#_2019-01-22_02_46_08_984507
  [5] https://review.openstack.org/#/c/618482/13/oslo_utils/eventletutils.py L160
  [6] https://review.openstack.org/632170/

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



References