Simplify stress tests and make them run

Registered by David Kranz

The current stress tests are too complicated and are not being used. The complexity is from having its own threading model and state management. Most of the benefits could be attained by running scenarios in as many threads as desired. The current tests should be replaced and put in a periodic run. More scenarios should be added.

Blueprint information

David Kranz
David Kranz
Marc Koderer
Series goal:
Accepted for havana
Milestone target:
milestone icon havana-2
Started by
David Kranz
Completed by
David Kranz

Related branches



Gerrit topic:,topic:stress-update,n,z

Addressed by:
    Rework stress to be more UnitTest like

Gerrit topic:,topic:bp/stress-tests,n,z

Addressed by:
    Add global statistic for stress tests

Gerrit topic:,topic:fix-stress-tox,n,z

Addressed by:
    Fix tox job for stress tests.

Addressed by:
    Add an option to to run tests serially.

Gerrit topic:,topic:bug/1201418,n,z

Addressed by:
    Add stress test to attach volumes to vm's

Addressed by: -h doesn't work without a connection

Addressed by:
    Add option to execute stress test in random order

Addressed by:
    Fix stress-tox-job.json action file.

Addressed by:
    Add exit codes if detects an error

Addressed by:
    Add argument to stop stress test on first error

Addressed by:
    Change logging in stress test

Gerrit topic:,topic:stress-unit,n,z

Addressed by:
    Create discovery option for stress test


Work Items

Work items:
Create sanity check for tempest/stress (dkranz): POSTPONED
Add more actions: POSTPONED
Adapt framework to allow all existing tempest test: DONE
Use oslo logger: DONE
Add parameter to stop on first error (mkoderer): DONE
Commit simple stress test: DONE
Add an entry in tox.ini to run DONE
Make test action more look like a unit test: DONE
Showing the usage (-h) should not require a connection to OpenStack: DONE
Add statistics at the end of a run: DONE
Driver needs to check for failures in the actions and return process nonzero code on failure: DONE
Create a json test description for a standard test to be run in a periodic jenkins job: DONE
Create a periodic jenkins job to use this tox entry: DONE

This blueprint contains Public information 
Everyone can see this information.