network_info is generated/used haphazardly throughout tests

Bug #822998 reported by Trey Morris
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Wishlist
Trey Morris

Bug Description

It so happens that many of the virt layer tests pass around and receive network_info. This network_info is arbitrarily hardcoded on the spot and then run through the tests. The problem is these hardcoded "network_info"s are not necessarily accurate, and if the format of network_info changes, the tests will continue to use incorrect values which will cause false positive results in our testing framework.

Related branches

Trey Morris (tr3buchet)
Changed in nova:
assignee: nobody → Trey Morris (tr3buchet)
Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Wishlist
status: New → Confirmed
Thierry Carrez (ttx)
Changed in nova:
status: Confirmed → In Progress
Revision history for this message
Soren Hansen (soren) wrote : Re: [Bug 822998] [NEW] network_info is generated/used haphazardly throughout tests

For some of the tests that are coming for libvirt
(lp:~soren/nova/virt-test-improvements) I add a tests/utils.py that
generates a network_info "object" for my tests. I'm hoping we'll --
over time -- rework all tests to use the same method for generating
network_info objects so that we only have one of these to keep that
up-to-date.

Thierry Carrez (ttx)
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-1 → 2012.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.