9 Commits

Author SHA1 Message Date
ghanshyam
e8dda1db0e Fix usage of rest_client expected_success() in tests
rest_client expected_success() method expect read_code
must be int and states the same in doc string .

Tempest is converting that to error instead of false pass.
Details: I3f4c58bdbb172805514831103927d3464d65d7f3

Change-Id: Ic4b0af5701df99621e3abb693644c4824c92dc4c
2016-04-21 19:37:55 +09:00
Lucas Alvares Gomes
9f4f0a4447 Document how to run the tempest tests
This patch is extending the developer quick-start guide to include
information about how one can run the integration tests (tempest) against
a running devstack cloud (the setup for such a cloud is already part of
the documentation).

The patch also removes the information about how to run tests from the
ironic_tempest_plugin/README.rst file and add a link pointing to our
documentation.

Change-Id: I6aeb3a4fa735ff08cbb62b0b15cf95be57d1a308
2016-04-20 17:35:40 +01:00
vsaienko
74465d7dd8 Tune interval for node provision state check
By default node_provision_state is checked each 1 second.
It may cause test to fail while actual test result is success due to
testr bug #1382579
Also it creates additional load on service and increase execution
time for test.
This patch set interval to 30 sec.
It should speed up the test on overloaded nodes.

Related-Bug: #1382579
Change-Id: I631b0ee5fd8ff7c1d655b52496cf920d088c253d
2016-03-31 15:58:03 +00:00
Lenny Verkhovsky
b3ab84fd09 Replace depricated tempest-lib with tempest.lib
Change-Id: Ia674f69f5e5b2a94f3aac5ed497a39e6b71816c0
2016-03-08 17:44:50 +02:00
Mauro S. M. Rodrigues
bf6de0040f Comment out test options that already exists on tempest's tree
Since we can't remove ironic's  tests and options from tempest's tree
until liberty-eol (to tests stable branches) we can't have such options
on our tree, except of course new options like deploywait_timeout.

Change-Id: If98cfea3e1235f6ffcdb1f47d6c64e65d094168f
2016-02-10 17:23:31 +00:00
Mauro S. M. Rodrigues
5131d71b3d Refresh ssh verification mechanism
Last week there was a change in how ssh_verification in done in tempest
(see I76d818bf9e1bd26b1e499464fc9213764afee279) since those mechanisms
are shared and used by Ironic's scenario test we should also update it.

Change-Id: I68e9ee3faf747697cd5f50600ecadb15972cdd48
2016-02-04 06:50:57 -05:00
Mike Turek
3843f5510a Remove hard-coded DEPLOYWAIT timeout from Baremetal Scenario
Currently the baremetal scenario is hardcoded to wait 15 seconds
for the ironic node to reach the wait-callback state. This patch
adds a configuration option for this timeout and replaces the
hardcoded value with it.

Closes-Bug: #1526466

Change-Id: I8cded9467dc03d9e1a75222bb4b017604ae946af
2016-01-29 01:54:56 +00:00
Yuiko Takada
57e3ba1af8 Migrate Tempest tests into Ironic tree
By using Tempest External Plugin, Tempest tests no longer
need to live in Tempest tree.
This patch set migrates Tempest tests from Tempest tree to Ironic.

Change-Id: Ic52806987dae9f9df561ebd662f12c3445d0e2af
2016-01-19 18:59:14 +09:00
Yuiko Takada
691de301ce Use Tempest plugin interface
Make use of the Tempest plugin interface.

This patch set creates some directories and files for
Tempest plugin interface which are generated by
tempest-plugin-cookiecutter(See [1] and [2]),
which uses ironic_tempest_plugin as new top folder for all Tempest tests,
and also makes possible to import config values from Tempest and use them.

Copying Ironic tests in Tempest to Ironic tree and removing
existing Ironic tests in Tempest will be done after merging this
patch set.

[1]: https://github.com/openstack/tempest-plugin-cookiecutter
[2]: http://docs.openstack.org/developer/tempest/plugin.html

Change-Id: I6a26b1d1fcf088d5218b92e13911c48708af4ec8
2016-01-18 19:37:42 +00:00