← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1860417] [NEW] Use of randint in functional tests is racey

 

Public bug reported:

In change I475ea0fa5f2d5b197118f0ced5a0ff6907411972, we switched to
using 'random.randint' to generate flavor.id values in functional tests.
This has proven racey, as seen at [1].

[1]
https://zuul.opendev.org/t/openstack/build/c308dab9bd2d43d0b40cf999a34af0f7/console

** Affects: nova
     Importance: Undecided
     Assignee: Stephen Finucane (stephenfinucane)
         Status: In Progress


** Tags: testing

** Tags added: testing

** Changed in: nova
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1860417

Title:
  Use of randint in functional tests is racey

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  In change I475ea0fa5f2d5b197118f0ced5a0ff6907411972, we switched to
  using 'random.randint' to generate flavor.id values in functional
  tests. This has proven racey, as seen at [1].

  [1]
  https://zuul.opendev.org/t/openstack/build/c308dab9bd2d43d0b40cf999a34af0f7/console

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


Follow ups