Fault Injection #1 - improve unit test effectiveness
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Description
===========
I have performed fault injection in openstack nova by changing the code of compute/api.py (inserting a representative/
The reference WIDS (Wrong string in initial data) is a type of fault where the string used in a variable initialization is set to an incorrect value.
Steps to reproduce
==================
Line of Code Original Code Incorrect Code
102 AGGREGATE_
Refactor the line of code above to the incorrect code. Then execute the unit tests.
Expected result
===============
The unit tests should detect the fault.
Actual result
===============
The fault was not detected by the unit tests.
Environment
===========
The code tested is on the stable/ussuri branch.
@Henrique: Thanks for the reports. Do you have an intention to proposing fixes for these? I'm asking this as it is hard to judge that if these are real faults in the system causing user visible problems. Or these are just missing test coverage.
If you are planning to propose fixes then I suggest to open only those bugs where you also are ready to propose the fix. I also suggests to do the fault reproduction on master as bugs, if exists, needs to be fixed on master first and then backported to stable branches.
If you are not planning to propose fixes then please only open those bugs that causing user facing faults.
I will mark this bug Incomplete until you answer my question above. Please set it back to New once you answered.
I will also mark the rest of the fault injection bug as Invalid until we clarify these questions.