405 Commits

Author SHA1 Message Date
JordanP
bce555323c Skip volume snapshot tests if feature is not enabled
Not all cinder volume backends support volume snapshot. For instance,
the default NFS backend doesn't. This patch adds a new entry to
CONF.volume_feature_enabled to add the possibility to skip volume
snapshot tests.

Change-Id: I40ce17924bbe4eb6f1c941df974bfa832ec2a999
2014-03-25 17:46:06 +01:00
Jenkins
1285da553b Merge "Support disabling suspend/resume for compute api" 2014-03-22 00:05:53 +00:00
Jenkins
fea7a3dbc3 Merge "Support disabling server pausing for compute API" 2014-03-22 00:05:44 +00:00
Sean Dague
0b6daa0f31 add back empty whitelist
the log checker fails without a whitelist file, add this back in

Change-Id: I26f0e9789b167061e2a7dac4dddf04d89bfadee3
2014-03-21 08:22:34 -04:00
Jenkins
02b4c04697 Merge "change dirty logs to work off a whitelist" 2014-03-19 17:37:47 +00:00
Sean Dague
5d407e2125 change dirty logs to work off a whitelist
instead of marking the logs that we think should be clean, mark
the ones we think should be dirty. This means no new services can
come in with unclean logs.

remove the whitelist data, as that's currently obsolete, we'll
remove the code for it later.

Change-Id: I4b15c932b78f54ec371aa67c7b4e8248b3f9c0eb
2014-03-18 18:50:24 -04:00
Jenkins
99b7e3208c Merge "Fix V3 image tests according to new image_client" 2014-03-14 20:34:13 +00:00
Jenkins
fbd6e31b70 Merge "Rename Savanna to Sahara" 2014-03-14 14:33:10 +00:00
Jenkins
70b431f803 Merge "Configure the ec2 zone explicitly" 2014-03-13 23:05:23 +00:00
Jenkins
c81ac27711 Merge "Make tempest accounts independent from devstack" 2014-03-13 23:02:18 +00:00
Sergey Lukjanov
9c95a25a42 Rename Savanna to Sahara
Keep savanna cli before the next client release.

Change-Id: I4c168e2fbda1e78ecc2ed3144937d71342846329
2014-03-13 23:59:22 +04:00
Jenkins
67316e2bf9 Merge "Fix test by waiting to lbaas entity delete" 2014-03-13 05:07:26 +00:00
Ghanshyam
692f0457a8 Fix V3 image tests according to new image_client
This patch correct the Nova V3 test_image_oneserver
and test_images_negative according to new image_client.
Also remove the create_image config value.

Closes-Bug: #1290221

Change-Id: Iadaf311e37a42b2adaa9d980a10ae251450030d0
2014-03-13 08:39:43 +09:00
Jenkins
1b6be60cae Merge "Add support for negative tests with admin client" 2014-03-12 17:15:01 +00:00
Jenkins
156ad348eb Merge "Adds basic Marconi test" 2014-03-12 05:26:02 +00:00
Jenkins
c536066b5a Merge "Stress runner friendly logging.conf.sample" 2014-03-11 02:15:05 +00:00
Malini Kamalambal
6e7b3b8f13 Adds basic Marconi test
This patch adds the config options needed to add Queuing tests.
This patch also has a basic test to verify that everything works
as expected.

Change-Id: I0769affe66a1e94bff366305e230c1b388e68278
Implements: blueprint add-basic-marconi-tests
2014-03-10 14:54:41 -04:00
Eric Windisch
aeb7e847a8 Support disabling suspend/resume for compute api
The suspend extension may not be available,
allow it to be disabled.

Change-Id: I6ec48d2903f817334ec94b0baa8ba223d2602d1f
2014-03-10 13:38:34 -04:00
Eric Windisch
b553807b3f Support disabling server pausing for compute API
This adds a togglable compute feature for pause/unpause.

The Docker driver does not currently support this feature.

Change-Id: I6f5f1f4624e34801aa52def7450e65716073fc65
2014-03-10 13:38:07 -04:00
Jenkins
2c2c765de9 Merge "Add multiple negative test generator support" 2014-03-08 12:55:49 +00:00
Andrea Frittoli
a946367052 Make tempest accounts independent from devstack
Changes the default for tempest accounts to None, so they
are in no way specific to devstack as they are now.

Fixes bug 1287191

Change-Id: Iac805dc4816a3029ad2f68448d9e735b213b5154
2014-03-07 07:18:25 +00:00
Jenkins
be392f2d7c Merge "Move ipv6 config option into network-feature-enabled" 2014-03-07 05:00:44 +00:00
Jenkins
bca63695b7 Merge "Raise orchestration build_timeout to 600 seconds" 2014-03-07 04:58:05 +00:00
Steve Baker
27f0243086 Raise orchestration build_timeout to 600 seconds
Observed boot time for a single server has been around 250 seconds
so a build_timeout default of 300 would explain why ~20% of heat-slow
jobs are failing with stack timeout errors.

Closes-Bug: #1288970
Change-Id: I4feb1b89acf8db0e164468d0471aff71ff5c6a77
2014-03-07 13:29:30 +13:00
Marc Koderer
f857fdaf19 Add support for negative tests with admin client
This adds the missing support for admin clients and implements an
example based on flavor creation. Instead of listing all result code
checks it is now possible to define on default.

Change-Id: I9512c1b91eb227e35faf24e3e88ed73a6ed3b734
Partially-implements: bp autogen-negative-tests
2014-03-06 08:22:48 +01:00
Marc Koderer
6ee82dccd1 Add multiple negative test generator support
In order to support different generator styles and sets of tests
a new configuration parameter is introduced to define the negative
test generator class. This can be used to define generators that create
only random values (random fuzzy test) or pattern based values.
With this functionality it is also possible to reduce the amount
of negative tests that are automatically produced.

Change-Id: Icfad55d1eea92dc2a42642b37d34c253c26c0846
Partially-implements: bp fuzzy-test
2014-03-06 08:21:28 +01:00
Nikhil Manchanda
dd6886f7c6 Add Trove (database) Flavor API Tests
Added Trove (database) service and flavor API tests.

Partially implements blueprint: trove-tempest
Change-Id: Ic4c43bd42fba96950b26232a37bcf300e1e742d1
2014-03-05 21:46:45 -08:00
izikpenso
d9a01a617f Fix test by waiting to lbaas entity delete
This fix prevents a scenario where an
lbaas entity is trying to be deleted while it still in use,
because an associate entity still didn't finished it's deletion.
Handling the DB before completing the back-end operations
can cause problems.
So waiting for back-end system response is crucial for
keeping the DB model consistent.

A new network timeout and time interval options were
added in configuration file. These were added to give control over
network resources wait periods without effecting other projects.

Added wait_for_resource_deletion and is_resource_deleted functions,
similar to the common rest_client functions but with resource type
as a parameter since network service has no rest_client for each resource.
calling the new function when deleting vips and pools.

Bug #1288326 was opened to address the fact that network rest client does
not fit common REST client framework approach where each resource
has its own implementation of the client.

This change is a replacement for the change below.
https://review.openstack.org/#/c/68190/3
Was replaced due to a development workstation crash.

Change-Id: Ie6468f0488ea2515ed8ccbe1a8c9c55b9ab4a3de
Closes-Bug: #1271214
2014-03-05 09:29:38 -08:00
Jenkins
056866fda6 Merge "Add V3 API Test to get the VNC console of server" 2014-03-04 03:57:05 +00:00
Matthew Treinish
e2e33cf78a Move ipv6 config option into network-feature-enabled
This commit moves the ipv6 option into the proper config group.
Previously, there was an ipv6_enabled option under the network group.
This was the incorrect location for this type of option since, ipv6
is an optional feature it should be in the feature enabled group.

Change-Id: I35769cf4d18363fad56ed5150b4d01d8a5ad17e7
2014-03-04 01:06:11 +00:00
Ghanshyam Mann
41c1757bd7 Add V3 API Test to get the VNC console of server
This patch adds V3 API Test to get the VNC console of server

Change-Id: I120163d0821eb7d8b2d62000be7cdd991925c341
2014-03-03 10:35:11 +09:00
Matthew Treinish
998c91d296 Make reseller admin role configurable
This commit makes the reseller admin role configurable. Previously the
swift tests which used the reseller admin role had hardcoded the role
to be the default ResellerAdmin. However the role is configurable, so
this commit adds a new config option which can be used to set the role
to something besides the default.

Change-Id: I3296a343480d4a0e0e4099863eb8869ffb0f83c3
2014-03-01 19:56:53 -05:00
Attila Fazekas
27dd92ec10 Configure the ec2 zone explicitly
Tempest now creates Availability zones which in parallel run,
may causes issues with EC2 tests.

The EC2 tests will use the preconfigured zone, instead of just picking a
random existing zone.

Closes-Bug: 1265672
Change-Id: I12dfaca868a3f0aec2a85fe45d8a524940d9eae0
2014-02-28 20:55:39 +01:00
Jenkins
a9a2e42710 Merge "Add endpoint_type option to Savanna,Ironic and Ceilometer groups" 2014-02-28 07:33:58 +00:00
Jenkins
9fc89e6f90 Merge "add cli.has_manage option" 2014-02-27 03:26:25 +00:00
JordanP
fc62c9047e Add endpoint_type option to Savanna,Ironic and Ceilometer groups
They were missed in Idb414aef7510178efef59cb48149ff1d86f11cb1

Change-Id: I8f2e38cfe8909098865289230e7a278bc1dcae75
2014-02-26 14:55:36 +00:00
Jenkins
78da3db8ae Merge "fix duplicate api_extensions" 2014-02-25 08:25:51 +00:00
Attila Fazekas
54236ee3e9 Stress runner friendly logging.conf.sample
tempest.common.log.TestsFormatter formatter was removed from the tempest
repository. It makes the current sample config file useless.
We will use the same ContextFormatter in the sample config as we use in the
normal runs.

The tempest.log file will be appended, instead of replacing.
The summary of the stress runs will be printed to the stdout.

The syslog handler preserved in the sample config, but it is not in use
anymore. If someone want to use, he can enable it by little change.

NOTE:
You need change tempest.conf [DEFAULT]/log_config_append to point a valid
logging config, if you would like to use special log related
configuration.

Change-Id: Ic6ede3943e309a102d4af6dec505f0d4cbd3bc2b
2014-02-24 20:45:54 +01:00
Jenkins
89f2256c03 Merge "Allow IPv6 tests to be disabled" 2014-02-24 07:48:00 +00:00
Jenkins
1b1547159e Merge "Make endpoint type configurable" 2014-02-22 02:03:45 +00:00
Sean Dague
44b2468ced add cli.has_manage option
this indicates if tempest is being run in an environment where the
*-manage commands could be run. This will not be all environments,
but if you happen to be running tempest on your management node
it is nice to be able to test these things.

Change-Id: I5fcabc19afc90950ee214343789dcfc13fc370a1
Closes-Bug: #1282178
2014-02-21 09:27:32 -05:00
Masayuki Igawa
4f71bf0a1e Add qcow2 image support
This commit adds qcow2 image format for some scenario test. Because
qcow2 disk image format is nicer than uec format.

Change-Id: I4c812176ed1800052c3192110067b1ae7fb04b85
2014-02-21 18:47:45 +09:00
Zhi Kun Liu
de25c02290 fix duplicate api_extensions
[network-feature-enabled] has 3 api_extensions entries in
tempest.conf.sample. 2 of them should belong to
[compute_features_group] and [volume_feature_group].

Generator compares the opt with opts in groups to find
the group in which the opt is. These 3 opts has same
'name', 'default value', and 'help message'. And first
match is '[network-feature-enabled]', so they go to the
same group.

This patch add some unique help info in api_extensions
opts to fix it.

Change-Id: I99dacc73281b16ed430912919defe3b4d9eb8b14
Closes-Bug: #1280085
2014-02-21 13:56:07 +08:00
armando-migliaccio
5bb7aef8b1 Allow IPv6 tests to be disabled
By default they are enabled. This is useful if
certain plugins do not fully support IPv6, or if
the 3rd party CI is set up for IPv4 only.

Closes-bug: 1282387

Change-Id: I6d402381474d70c5f7a4fe378c0459c9b3a92085
2014-02-20 16:20:49 -08:00
Jenkins
3fb814da91 Merge "Adds cinder backup functional tests" 2014-02-20 20:08:15 +00:00
Jenkins
324f06b7c4 Merge "cleanUp() removing all test resources as an admin" 2014-02-20 10:33:44 +00:00
Giulio Fidente
74b08ad1e1 Adds cinder backup functional tests
Adds new tests to cover cinder backup api as well as the needed
json clients.

xml client will be submitted after bug #1270589 is fixed.

Change-Id: I8d40c58eaf0ccd24abf55a212f1177e61ef0a281
Closes-Bug: 1221335
2014-02-20 10:19:41 +01:00
Jenkins
69303a89d1 Merge "port flavors and server_password tests into nova v3 part2" 2014-02-18 14:12:22 +00:00
JordanP
5d29b2cd26 Make endpoint type configurable
Allow to specify the endpoint type to use for each service. Not everybody will
want to use publicURL, so let's make this configurable.

Closes-Bug: #1178083
Change-Id: Idb414aef7510178efef59cb48149ff1d86f11cb1
2014-02-18 09:51:03 +00:00
Jenkins
3220f89269 Merge "Make v2 and v3 identity apis configurable" 2014-02-18 08:30:44 +00:00