It's not used anymore. There was general consensus in Feb 2016
to deprecate it (see [1]) and remove it in Newton.
[1] [qa] deprecating Tempest stress framework
Change-Id: Ib229985ea2a1fee495c9492c9ce1781e6bac1dc6
This is to set random name in volume.base.create_server, to avoid
random name definition everytime calling create_server.
Change-Id: I3078339806f2b3f472ce8f6010ae2364aebbf1dc
There already exists rand name in create function, so the
name definition before the create function is unnecessary.
This is to remove the redundant name definition for code clean.
Change-Id: Icdac63c6ac241f8ba2c65bcff4cafcc2354db4d8
Since the commit 482e3ce6ab had
just removed the NegativeAutoTest Framework, which was the only
user of package testscenarios, testscenarios is no longer used by
tempest. This patch suggests to remove testscenarios from the
package denpendency defined file requirments.txt.
Change-Id: Id2d4ab7c54223044551e4684e9ae1eee130f01c0
In I526f8940c4f29a93f25f896bc4779a771f4c3eb5, _reset_volume_status's
return value is removed and so it becomes a one-line function. Jordan
Pittier points out that "It's better to directly use
admin_volume_client.reset_volume_status() in tests instead of
calling an alias.", so this is to remove the one-line function to
keep code clean.
Change-Id: I89bb06c15a4f2ac9b55f1ee5437f92eb885f05ca
Tempest provides a stable library interface and I think we can use it
for volume clients.
Partially implements blueprint consistent-service-method-names
Change-Id: Ia2d87360a6d88e5f54ecd00efbf6730b06484c99
The volume-backed live migration with iscsi has been failing
on ubuntu 14.04 and 16.04 in the gate for as long as it's
been tested. The current theory is there is a kernel issue
with qemu and iscsi and no one is really working on a fix, e.g.
testing qemu-native iscsi to see if that makes a difference.
The dedicated live-migration job has already been skipping this
since 2f68cd3e9f47ca5bb864c26c1b0b123918197ef4 and that stabilized
the job so now it's voting on nova changes.
The only reason the gate-tempest-dsvm-multinode* jobs are non-voting
is because of this test, so let's skip it for now. We might be
able to enable it with a different backing volume store like
ceph eventually but that's another work in progress.
Change-Id: Ibf067d15968f4f1fcf2deb8b6359a7e7ea7eb46e
Related-Bug: #1524898
The help message of config.compute.fixed_network_name is changed in
Ied68c0326cf891a4e6eb3db51dc5f43241e4b8d2 accidiently which is unwanted,
so this is to revert it.
Besides, this is to remove some unwanted words.
Change-Id: Ia4979772faf33d90f9544c510f4c421c4fa0097f
Now that the nova extensions mechanism is deprecated and api extensions
aren't really a thing anymore we should deprecate the corresponding
mechanism in tempest. Moving forward there really isn't anything to set
here because microversions are the api selection mechanism and the
"extension list" is fixed. We can remove this option when no supported
nova release contains extensions anymore.
Change-Id: I1286294b1b61aebf53437b37f6c141bc4c587b1f
The python 3.4 section in the readme was a bit dated since we now also
test on python 3.5. This commit attempts to update the wording to
explain that it's python >=3.4 not just 3.4.
Change-Id: I32ebe4c278b1d5e25cd87ca03f7de1a265334610
This commit switches the call to testr init from using subprocess to
testr's python run_argv interface. (which is essentially just calling
it via subprocess) The issue with using subprocess directly is that it
assumes testr is in the PATH you're running from. But, in the case of
using a venv this isn't always the case.
Change-Id: I2bab70b0e9fb2ccdc340f48d95340ff7ccdc1364
Closes-Bug: #1633182
When the user ran
tempest run --workspace <whatever>
and the workspace wasn't in .tempest/workspace.yaml the eror message
reported was
CRITICAL tempest [-] TypeError: coercing to Unicode: need string or buffer, NoneType found.
Rather than report this error, a message is printed saying that the
workspace isn't registered.
Change-Id: Ic539ee2fab83401904fcaec2c3fbf1cd41e4a6e3
This commit migrates the InvalidConfiguartion exception from tempest's
exceptions into the list of tempest lib exceptions. While tempest lib
itself does not have any configuration, it is very possible that
external test suites would also like a way to raise an exception when
part of the configuration is invalid. This is also needed as part of
the migration of the dynamic credentials provider to tempest lib.
Change-Id: I9ec697c61cfb1f5750d82ae790c607029bfed3ca
As part of the pending library migration for the dynamic credentials
module we need to remove all dependencies on non-lib code. As part of
this effort, this patch changes all usages of tempest's lib data_utils
wrapper to just use the lib version directly. The tempest wrapper only
sets a common prefix for rand_name, so this switches all uses of
rand_name to do the same.
Change-Id: I231c4522501249b9d6854f6378e75a0f130aea1c
This commit migrates the cred provider abstract class into tempest lib.
This interface has been very stable and doesn't have any external
dependencies as it's just a building block for a cred provider class.
This also doesn't have any unit tests because it's just an interface
definition and doesn't actually do any work.
Change-Id: Ib5f8ef2728368c077666a3ca221cf659412e5f47
This commit removes all the config file usage from the dynamic creds
module in preparation for a library migration. All CONF parameters are
now class parameters and are set outside of dynamic_creds.
Change-Id: Iafa85d44ccdf13e277f50c3b18adc3b54d092d16
Since it's not really used and a bit complex. It was only used
for negative compute flavor tests, and I think we can live easily
without these tests.
Change-Id: Iab676ae9bf95ee858c5e748c9579f7778e87bd77
This patch is to fix the issue which described in the bug #1632410
A timeout is being raised on a volume backup test scenario
which could be that because the volume backup is slow or
we tripped a cinder bug. The real issue is that wait loop
for backups in tempest is referencing a non-existent exception class,
"VolumeBackupException".
Change-Id: I2d74afc29cd52da7f3642bf56ea896c92cfccdca
Closes-bug: #1632410