This commit adds running the plugin registry generation script to the
sphinx build. This ensure that every time we build the docs we'll have
an up-to-date plugin registry. This comes at the cost of increased
build time since the script will query openstack's git server to get
the plugin list. Also, the plugin-registry source file was added to
.gitignore since it is autogenerated now.
Change-Id: Ib26124c5d5d5ef4617e4e702e594ce7f1795ce23
This commit adds __pycache__ to .gitignore. __pycache__ directories are
made by python 3 execution and we check un-ignored files after the tests
in the gate jobs. And a lot of __pycache__ directories are listed in the
logs. However, it is expected directories so it should be ignored.
Change-Id: I4cfd3475dd2fe1e5b586a28296983a3914236d70
Tempest is going to be on pypi and expose a stable interface in
the tempest.lib namespace, so adding reno to it.
Partially-implements: bp tempest-lib-reintegration
Change-Id: Ice4c27f7bc6d0154cfced9789f3c82236106a9e3
This commit switches to using the oslo.config sphinx extension to
generate a sample config instead of doing it manually in the docs'
conf.py module.
Change-Id: I7032cb4f56c728911ffa5c6911eb504f53bc80af
This removes the check on in tree sample generation to ensure the file
matches the config options. However, to counter the loss of the in-tree
the tempest init command will now automatically generate a new sample
config in the local etc dir when run. This will include all of the oslo
options that were previously included in the in-tree sample file.
Additionally, the docs now contain the complete text of the generated
sample output. These also get published on docs.openstack.org on each
commit to tempest. Between this 2 alternatives there shouldn't be a need
to keep the file in tree anymore, especially given the weekly headaches
with new oslo releases changing the config option help breaking the job.
Change-Id: Ie3bc368329d240ca9604cc2f9b2cac544b3ee715
Depends-On: I4064a041a965ed2419b68efc8dc31fce37b24cfd
Since including the sample configuration in tree is
becoming difficult to maintain, lets try moving it to
the developer docs. We still have the ability to view it
easily for users, and it can be auto-generated on doc build,
so it should also always be up to date.
Change-Id: I7ec2d76448feef5ecb9af7c238bbd12619fa31d8
We don't need the result of tempest/tests/* and tempest/openstack/*
coverage. This commit omits it with introducing .coveragerc.
Partially implements bp unit-tests
Change-Id: I0465d916e195e3d340dece24ac7b01a0fc13e5c1
When a coverage command aborts, some temporary files related to the
coverage remain like this:
.coverage.localhost.24409.990268
.coverage.localhost.24415.503858
.coverage.localhost.24417.953422
.coverage.localhost.24419.169526
.coverage.localhost.24421.143443
.coverage.localhost.24423.259249
.coverage.localhost.24425.429360
.coverage.localhost.24427.025521
.coverage.localhost.24432.204681
.coverage.localhost.24479.725555
We should not manage these files in the git repository.
Partially implements bp unit-tests
Change-Id: Ifa5aaa526b27473c5e5220a5be4a910603676e60
Change I6ed3a97e35ce73b820f7a436214480051ed6528f started using
setup.py in oslo. This adds support for auto generating the AUTHORS
and ChangeLog files.
This adds these files to gitignore and adds a .mailmap to cleanup the file.
Fixes bug 979958.
Change-Id: If61920c81499c5e579d3c1e7a66f8bf02020dfa9
Currently when running Tempest tests with run_tests.sh a venv
isn't being used. This leaves tempest at the mercy of whatever
required package versions are installed on the system.
This patch takes install_venv.py and with_venv.sh from nova and
integrates them into run_tests to ensure that the correct
dependencies versions from pip-requires and test-requires are
being used.
Change-Id: I4bf4a02890a33c4034e4493d1763ed4019fdf46e
* Try /etc/tempest DIR if the config file not found
* Exit immediately if the config file not found
* Remove pika from dependencies
* tempest named starter script (pep8 removed run_tests.sh)
Change-Id: I1f0b1fb061a265c5f8e39627efd26decdc61ef63
Continues the effort of the https://review.openstack.org/#/c/3064/
* add EC2 keypair and volume tests
* add EC2 snapshot from volume test
* add EC2 floating ip disasscioation
* add EC2 operation on security group
* add EC2/S3 image registration
* add EC2 instance run test
* add Integration test with ssh, console, volume
* add S3 object and bucket tests
Change-Id: I0dff9b05f215b56456272f22aa1c014cd53b4f4b
Cleans up a bunch of configuration-related errors
when trying to run tempest out of the box with a
simple call to:
$> nosetests storm
* Raises a sensible error if the config file cannot be found
* Makes it possible to set the config file directory and
config file name via environment variables
* Removes unnecessary calls to create storm.config.StormConfig()
and share a configuration object by passing the openstack.Manager's
config object with the various rest client objects
* Updates the README to show how to make a config file and run
the tests in tempest
Change-Id: I60e33595b88df596cc9585bcaf18d37ae77d6f2b