OpenStack QA Specifications
Go to file
Ken'ichi Ohmichi a8660b643f Mark the bp as implemented
We have already done the following bp:
method-return-value-and-move-service-clients-to-lib

Then this patch marks it as implemented.

Change-Id: Idc1d639f74fab4727e8d62347748b6fa5343308c
2016-03-24 17:06:09 -07:00
doc/source Replace deprecated library function os.popen() with subprocess 2016-01-14 06:45:59 -08:00
specs Mark the bp as implemented 2016-03-24 17:06:09 -07:00
tools Add devstack external plugin spec 2015-02-06 07:41:22 -05:00
.gitignore Add sphinx support to qa-specs repo 2014-03-24 13:36:43 -04:00
.gitreview Added .gitreview 2014-03-14 23:10:06 +00:00
LICENSE Add a license file 2014-03-25 18:27:36 -04:00
README.rst Add references to DevStack specs 2014-11-20 16:39:53 -06:00
requirements.txt Sync requirements from global requirements 2016-01-27 08:57:20 +09:00
setup.cfg Mirror tox and sphinx fixes from nova-specs repo 2014-04-01 13:13:48 -04:00
setup.py Add sphinx support to qa-specs repo 2014-03-24 13:36:43 -04:00
template.rst Update the template to add section for projects 2015-02-03 15:26:18 -05:00
tox.ini Add devstack external plugin spec 2015-02-06 07:41:22 -05:00

QA Specs Repository

This is a git repository for doing design review on QA enhancements as part of the OpenStack program. This provides an ability to ensure that everyone has signed off on the approach to solving a problem early on.

This repository includes the Tempest and DevStack projects.

Repository Structure

The structure of the repository is as follows:

specs/
    devstack/
    implemented/

Expected Work Flow

  1. Create a blueprint stub in tempest or devstack blueprint repository
  2. Propose review to qa-specs repository (ensure bp:blueprint_name is in the commit message. DevStack specs should go into the devstack/ subdirectory but otherwise follow the same process.
  3. Link Read the full specification to the gerrit address of the spec
  4. Bring forward the proposed item to the openstack-qa meeting for summary
  5. Review happens on proposal by qa-core members and others
  6. Iterate until review is Approved or Rejected

Once a Review is Approved...

  1. Update blueprint, Copy summary text of blueprint to there
  2. Link Read the full specification to the git address of the spec
  3. Profit!

Revisiting Specs

We don't always get everything right the first time. If we realize we need to revisit a specification because something changed, either we now know more, or a new idea came in which we should embrace, we'll manage this by proposing an update to the spec in question.

Learn as we go

This is a new way of attempting things, so we're going to be low in process to begin with to figure out where we go from here. Expect some early flexibility in evolving this effort over time.

Tempest Specs For New Tests

If you're writing a new spec to improve the testing coverage in Tempest the requirements for what is included in the specification are slightly less stringent and different from other proposals. This is because blueprints for more tests are more about tracking the effort in a single place and assigning a unified topic in gerrit for ease of review, it's less about the implementation details. Blueprints/specifications for new tests should only ever be opened for overarching development efforts. For example there should only ever only need to be a single blueprint for adding tests for a project.

Most of these efforts require a method to track the work items outside of launchpad. Both etherpad and google docs have been used very successfully for this. The goal is to list out all the tests that need to be written and allow people to mark that they intend to work on a specific test. This prevents duplication of effort as well as provide overall status tracking. An external tool like etherpad or google docs is better at this because it allows concurrent use and more dynamic editing than launchpad.

The only details required in the proposed change section for a spec about new tests are:

  • What is being tested and the scope of what will be covered by the blueprint
  • What external tool is being used to track the development.
    • If no external tracking is being used just explain why.

DevStack Specs

Specs for DevStack fall into a couple of broad categories:

  • Support for new {projectcool widget}

    This is where the discussion of "Does this support belong in the DevStack repo?" should take place.

  • Significant re-factoring

    One primary section that these types of changes require is an analysis of backward compatibility and Grenade impacts.

The existing template is mostly suitable for DevStack use, a quick s/tempest/devstack/ handles the majority of changes.