QA:Testcase run the OpenStack smoke tests

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
Line 9: Line 9:
  
 
Make sure you have a block of floating IPs created, also as described above.
 
Make sure you have a block of floating IPs created, also as described above.
 +
 +
Also ensure that the nova objectstore service is running, as the S3 API is hit bt the image tests:
 +
 +
$> sudo systemctl start openstack-nova-objectstore.service
  
 
|actions=Then, run the tests from a fedpkg checkout:
 
|actions=Then, run the tests from a fedpkg checkout:

Revision as of 17:23, 8 March 2012

Contents

Description

Nova comes with a selection of fairly basic smoke tests which you can run against your installation. It can be useful to use these to sanity check your configuration.

Setup

You need these packages

$> sudo yum install python-nose python-paramiko fedpkg python-nova-adminclient

Make sure you have a block of floating IPs created, also as described above.

Also ensure that the nova objectstore service is running, as the S3 API is hit bt the image tests:

$> sudo systemctl start openstack-nova-objectstore.service 

How to test

Then, run the tests from a fedpkg checkout:

$> git clone git://pkgs.fedoraproject.org/openstack-nova.git
$> cd openstack-nova
$> git checkout f17
$> fedpkg prep
$> cd nova-2012.1/smoketests
$> python ./run_tests.py

Expected Results

Ensure all tests pass