← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1650615] [NEW] objects: unittest may fail due to objects using same integer primary key

 

Public bug reported:

Data are randomly generated in DB unittests for objects. Some objects
use integer type as primary key, that is uniquely constrained in
database. Integer data are randomly generated from 1000 items so it may
non-deterministically happen, that two objects obtain same integer
number.

example of failure: http://logs.openstack.org/17/385617/29/gate/gate-
neutron-python35/720352f/console.html

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: gate-failure

** Tags added: gate-failure

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

Title:
  objects: unittest may fail due to objects using same integer primary
  key

Status in neutron:
  New

Bug description:
  Data are randomly generated in DB unittests for objects. Some objects
  use integer type as primary key, that is uniquely constrained in
  database. Integer data are randomly generated from 1000 items so it
  may non-deterministically happen, that two objects obtain same integer
  number.

  example of failure: http://logs.openstack.org/17/385617/29/gate/gate-
  neutron-python35/720352f/console.html

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


Follow ups