5098 Commits

Author SHA1 Message Date
Andrea Frittoli
455e84498e Drop client_type for auth module
Client type was designed to allow the auth module to consume
the official keystone client for tests based on the official clients.
Scenario tests have been migrated to tempest client, and CLI tests
are being moved out of tempest, and they don't need an external
auth provider anyways.
There's no need for client_type anymore, removing it.

Change-Id: I6eebd80ea2259b72e8013e65e9a83615f86a3f84
Partially-implemnts: bp/tempest-client-scenarios
2014-10-01 11:38:45 +01:00
Andrea Frittoli
486ede779b Drop OfficialClientManager and references to it
OfficialClientManager is unused now that scenario tests use
clients.Manager instead. Dropping the class, the hacking
rule that forbade its use in API tests and related unit tests.

Change-Id: Ib359b9ab0a903436d9d9c265e8c4d82bdd80a496
2014-10-01 11:27:02 +01:00
Andrea Frittoli
ae9aca0cc0 Drop OfficialClientManager from tenant isolation
Scenario tests use the tempest clients, so drop support for
OfficialClientManager from the tenant isolation classes.

Change-Id: I84638210043d376b4f4025a69751536651991293
Partially-implements: bp:tempest-client-scenarios
2014-10-01 11:08:43 +01:00
Jenkins
67f80914de Merge "Fix resource cleanup in server rescue tests" 2014-09-30 19:13:05 +00:00
Jenkins
1b58d3124e Merge "javelin: Detach the volume before destruction" 2014-09-30 19:11:59 +00:00
Jenkins
3e2aeb4562 Merge "Migrate scenario utils to tempest client" 2014-09-30 17:34:54 +00:00
Jenkins
cafc3ad763 Merge "Add a test documentation section to the docs" 2014-09-30 07:21:55 +00:00
Jenkins
58cbf9c554 Merge "Updated from global requirements" 2014-09-30 01:49:13 +00:00
Jenkins
07bfc57aca Merge "Make SwiftScenarioTest methods public" 2014-09-29 21:58:11 +00:00
Emilien Macchi
5ebc27bf34 javelin: Detach the volume before destruction
In Icehouse, a volume needs to be detached before it can be deleted.

Closes-Bug:  #1375476

Change-Id: Ic1c8e79fc1efa46ac9a70e288166cd5e0d823cfa
2014-09-29 17:20:39 -04:00
OpenStack Proposal Bot
9dd154e13c Updated from global requirements
Change-Id: Ie493cb22421af0498575c2c44deafc4e8a9ef56d
2014-09-29 21:05:32 +00:00
Jenkins
e1f0055ecd Merge "Javelin: enable volume resources" 2014-09-29 18:06:55 +00:00
Jenkins
8cf106cb36 Merge "Stop using intersphinx" 2014-09-29 16:58:28 +00:00
Jenkins
46a03b3de5 Merge "enable volumes v2 snapshot tests by sharing codes" 2014-09-29 16:42:10 +00:00
Jenkins
5b45439078 Merge "Work toward Python 3.4 support and testing" 2014-09-29 16:41:59 +00:00
Jenkins
0c8dc861af Merge "Add bash to tox whitelist_externals" 2014-09-29 16:38:50 +00:00
Andrea Frittoli
fe1e2432e0 Migrate scenario utils to tempest client
All scenario tests have been migrated to tempest client.
Migrate scenario utils as well, so that we may drop
the OfficialClientManager completely.

Change-Id: I3ec80de961ba289734f9bc811e4789e7d1b5903c
Partially-implements: bp/tempest-client-scenarios
2014-09-29 16:10:52 +01:00
Jenkins
bb5ee161fb Merge "Rename NeutronScenarioTest to NetworkScenarioTest" 2014-09-29 14:23:53 +00:00
Jenkins
b52f170a13 Merge "Drop OfficialClientTest and NetworkTest" 2014-09-29 13:15:54 +00:00
Jenkins
5f3d71ff27 Merge "Unskip test_update_port_with_second_ip()" 2014-09-29 09:59:31 +00:00
Jenkins
58791da1c4 Merge "Add a test for deleting multiple objects by POST method" 2014-09-29 09:59:21 +00:00
Jenkins
606ca54e3f Merge "Cleanup leftover dependencies to official clients" 2014-09-29 09:59:06 +00:00
Yair Fried
c1f1e83877 Skip large_ops_scenario if large_ops_number < 1
test_large_ops_scenario does nothing if CONF.scenario.large_ops_number < 1
Set to skip with appropriate message instead

Change-Id: I30843dcaaa4d71efd151f550cb1e5b43b309e198
2014-09-28 11:30:30 +00:00
Jenkins
d1848f0222 Merge "Add "reboot_instance" EC2 API test" 2014-09-28 05:41:37 +00:00
Jenkins
b053376e76 Merge "Log deletion errors in clean servers" 2014-09-27 19:49:25 +00:00
Jenkins
a9f8754ca5 Merge "Unskip test_create_and_get_delete_bucket()" 2014-09-27 18:53:38 +00:00
Jenkins
b6895fb3d0 Merge "Add test caller to test_server_cfn_init timeout error message" 2014-09-27 16:08:07 +00:00
Jenkins
f483b3705d Merge "reenable full request/response logging at DEBUG" 2014-09-27 03:40:55 +00:00
Jenkins
6a4d43bed7 Merge "Lock test_resize_server_using_overlimit_* tests on 'compute_quotas'" 2014-09-27 00:41:19 +00:00
Jenkins
1bdba8412e Merge "Add response schema for V2 sec grp default rule" 2014-09-26 23:35:34 +00:00
Jenkins
c1f6cd3d3f Merge "Updates Tempest to match Zaqar's API name change" 2014-09-26 15:59:25 +00:00
Emilien Macchi
d18fec1de7 Javelin: enable volume resources
In javelin, volumes resources are not yet managed.
This patch aims to bring it up again.

Prereq for blueprint:javelin2
Change-Id: I4ef12e5b6e75aff363ad527f2cc932b4108ea019
2014-09-26 08:04:54 -04:00
Ilya Shakhat
4839b6446d Fix resource cleanup in server rescue tests
If server rescue tests are skipped then the resource cleanup method
terminates with AttributeError: type object has no attribute 'volume'.
The fix checks whether volume exist before operating with it.

Change-Id: I6ae7f7bb2ba73313db676bafd597c0934704959a
2014-09-26 15:40:31 +04:00
Andrea Frittoli
4971fc8e6f Rename NeutronScenarioTest to NetworkScenarioTest
NetworkScenarioTest was temporarily renamed to NeutronScenarioTest
during the migration of scenario tests to tempest clients.
Now that the migration is complete, restore the original name.

Change-Id: If3e2612c8e971295f94ea422a17faf385cabb5c7
Partially-implements: bp/tempest-client-scenarios
2014-09-26 12:32:29 +01:00
Andrea Frittoli
966331cebf Drop OfficialClientTest and NetworkTest
Migration of scenario tests to tempest clients is complete.
Drop the two base classes based on official clients, which
are now unused.

Change-Id: I21354541bace349fbc84bc5f5c0cf6e131ebbd01
Partially-implements: bp/tempest-client-scenarios
2014-09-26 12:28:07 +01:00
Andrea Frittoli
2ddc2636bb Cleanup leftover dependencies to official clients
Some scenario test classes still references to official clients
after the migration. Cleaning them up.

Neutron check_preconditions validates configuration via discovery.
The general approach in tempest is to rely on configuration rather
than discovery of available services and features.
This code uses a neutron client exception, so rather then migrating
it I'm removing it as it's wrong anyways.

Change-Id: I6994a0109c9ec26b290fd4dce9c524dc4a060a54
Partially-implements: bp/tempest-client-scenarios
2014-09-26 12:19:07 +01:00
Jenkins
736c9c554b Merge "Properly preserve trace on error during wait" 2014-09-26 09:41:25 +00:00
Jenkins
dd5a435cdc Merge "Restoring dashboard tests" 2014-09-26 08:17:41 +00:00
Matt Riedemann
a9d6535c85 Add test caller to test_server_cfn_init timeout error message
When test_server_cfn_init times out trying to reach the server IP the
error message is pretty useless as far as being able to fingerprint the
failure in logstash.

This adds the test caller to the timeout error message like have in the
common waiters code.

Related-Bug: #1374175

Change-Id: Idd225af4e30fd1ab94570ed29d76664826cf965a
2014-09-25 15:15:21 -07:00
Sean Dague
4f8d702d5c reenable full request/response logging at DEBUG
For the difficult bugs we are often missing information if we don't
have the full request / response traffic. Provide a new
_log_request_full which functions at a debug level and provides
this. Pretty print the bodies for resp and req for readability.

Change-Id: Ic1f7f324c04fc2d2529c7065b0dcda1640d4fb53
2014-09-25 16:29:44 -04:00
Jenkins
9f7439063c Merge "Migrate object_storage API tests to resource_* fixtures" 2014-09-25 20:07:38 +00:00
Jenkins
f7b138c257 Merge "Migrate image API tests to resource_* fixtures" 2014-09-25 20:07:27 +00:00
Jenkins
f515c58b2a Merge "Remove duplicate _ping_ip_address() methods" 2014-09-25 19:09:23 +00:00
Swami Reddy
120739800a Add "reboot_instance" EC2 API test
Currently, in "tempest/thirdparty/boto/test_ec2_instance_run.py",
no test case present to test the "reboot_instance" api, similar
to stop_instance, terminate_instance, etc.

Closes-Bug: #1352341

Change-Id: Ifbd8607566961dbf32b40f34ff603f712d856f6a
2014-09-25 19:15:23 +05:30
Christian Berendt
bf48dafdb3 Stop using intersphinx
Remove intersphinx from the docs build as it triggers network calls that
occasionally fail, and we don't really use intersphinx (links other
sphinx documents out on the internet)

This also removes the requirement for internet access during docs build.

This can cause docs jobs to fail if the project errors out on
warnings.

Change-Id: Icdb04bbe9eb931b07e7363ebb852fa9e73b088ea
Related-Bug: #1368910
2014-09-25 10:06:42 +02:00
Zhi Kun Liu
38641c66c0 enable volumes v2 snapshot tests by sharing codes
1. create volumes v2 tests using the existent test class.
2. create a new test class for v1, which inherits v2.

This patch includes the following volumes tests:
- test_snapshot_metadata.py
- test_volumes_snapshots.py
- test_volumes_snapshots_negative.py

Partially implements: blueprint cinder-v2-api-tests

Change-Id: I5e8a8c71d8c3a3b330a60ab0ea9603f8864518bd
2014-09-25 14:53:09 +08:00
Jenkins
a46e3fb3f0 Merge "Migrate test_load_balancer_basic to tempest client" 2014-09-25 03:53:29 +00:00
Jenkins
df109ba818 Merge "Drop autoscaling scenario test" 2014-09-25 01:26:38 +00:00
Jenkins
e4f4327943 Merge "Migrate TestStampPattern to tempest client" 2014-09-25 01:25:42 +00:00
Joe Gordon
fdd0663a55 Add bash to tox whitelist_externals
Stop triggering triggering a “not installed in virtualenv” every time
bash is called. Since we use this in all tempest based jobs, we have
these unnecessary warnings all over the place.

Change-Id: I8af53c0241dbcd656c274944338384be0f2f250d
2014-09-24 17:35:02 -07:00