4014 Commits

Author SHA1 Message Date
Daryl Walleck
a22f57b3a9 Fixes lp#960647
* Corrected api_key to password in auth exception

Change-Id: Ia609423f7c5b331b22da650491b8e94aa225ff82
2012-03-20 16:52:48 -05:00
Jenkins
1d2d921bb8 Merge "Fixes bug 938953 parsing of image id" 2012-03-20 21:46:51 +00:00
rajalakshmi-ganesan
ddd9e0ee15 Fixes bug 902374-Negative tests for Volumes
Change-Id: Ic8f9f92f2f927f00c2eac0b6ba027ba4a45098bc
2012-03-21 00:52:56 +05:30
Daryl Walleck
ced8eb888b Addresses lp#940832
* Refactored openstack class to be parameterizable
* Added basic authorization tests
* Added unauthorized exception
* Renamed users to be more specific of their type

Change-Id: I53fc0aa96c23b8cb33f329ff0d753f7f2d6e8d14
2012-03-19 17:01:05 -05:00
David Kranz
d10601cd9b Remove glance dependency. Fixes bug 944410.
It seems that skip on a class does not prevent the setup code from running. It just skips the test methods.

Change-Id: I3b5dae3e5439844351a9342b25f35927ca41630b
2012-03-15 15:58:28 -04:00
Jenkins
86c01abacf Merge "Initial checkin of Stress Test for nova." 2012-03-15 16:38:02 +00:00
donald-ngo
af839c3775 Fixes bug 938953 parsing of image id
Change-Id: I8cac92af3cc40174d4acc390913be90fa5a7552c
2012-03-14 13:51:50 -07:00
Jay Pipes
ef6b5fc8fc Fixes LP Bug# 955349 - No init file in compute tests
* Adds a dunderinit file to tempest/tests/compute to enable
  server addresses tests...

Change-Id: Iad3b7956f31fc5952831172d4b862d2a63aa631f
2012-03-14 14:43:55 -04:00
Jay Pipes
e0c45c1b38 Fixes LP Bug#953450 - Remove vestigial ssh_timeout
AttributeError was occurring in ImageMetadataTest due
to old unused ssh_timeout config value

Change-Id: I25b0d2c7558cd7cd56fad26d766e16e1906cb4f2
2012-03-12 17:43:34 -04:00
David Kranz
6308ec2d03 Initial checkin of Stress Test for nova.
Change-Id: I1c4c656e3b8ec715524d369c226ec122920f89fb
2012-03-12 16:20:08 -04:00
Dan Prince
951959239d Lowercase boolean configs before comparison.
Lowercase boolean config params before comparison.

Fixes issues where 'use_ssl=False' doesn't actually work...

Change-Id: I865e6b3c84341f0d05248f63fe9dec59ec325d74
2012-03-12 15:15:49 -04:00
Jenkins
3d9da9ba42 Merge "Addresses lp#942382 - refactor configuration for clarity" 2012-03-12 17:33:08 +00:00
Jenkins
b09c4b91e2 Merge "Remove trailing whitespaces in regular file" 2012-03-12 15:54:35 +00:00
Daryl Walleck
587385b658 Addresses lp#942382 - refactor configuration for clarity
* Renamed 'nova' to 'compute'
* Merged 'env' with 'compute'
* Created new 'identity' section
* Added defensive code for bad configs

Change-Id: Ifd7506ed82ae2870600a8676a5e811769517a65d
2012-03-11 21:54:14 -05:00
Daryl Walleck
e36f62369f Intermediate improvement of Tempest quickstart
Change-Id: I55e511b9cbfa2b1a4e5e28479916a0e825d3b7c1
2012-03-11 21:43:38 -05:00
Jenkins
9860e07ada Merge "test_rebuild_server tolerant of imageRef as URI" 2012-03-06 03:17:04 +00:00
Jenkins
3b6eef37d5 Merge "Narrow race in wait_for_server_status()." 2012-03-06 03:14:03 +00:00
Jenkins
5efbb7d830 Merge "Redrive rate limited API calls." 2012-03-06 03:07:20 +00:00
Eoghan Glynn
f72969cb46 Narrow race in wait_for_server_status().
There's a narrow race condition in ServersClient.wait_for_server_status()
with a false negative reported when the expected state transition occurs
during the last build_interval period of the acceptable time window.

More likely to be seen if the build_time is shortened down from the
default 600s.

Change-Id: Ibe45df5d6689aa7a8a196b09744d7fcb4f183364
2012-03-05 12:37:28 +00:00
Eoghan Glynn
a559897a9d Redrive rate limited API calls.
Transparently redrive calls throttled by nova rate limiting, with
an intra-retry delay governed by the Retry-After response header.
Invocations are retried at most twice.

This avoids spurious test failures when the target nova installation
is using the default rate limits, or explicitly configured limits too
low for the cadence of tempest test cases.

Change-Id: I6c701b24f59998a98e6f515a2861a458470ee40c
2012-03-05 12:24:08 +00:00
Eoghan Glynn
57c1a3d326 test_rebuild_server tolerant of imageRef as URI
Make TestserverActions.test_build_server tolerant of imageRef configured
as a glance URI, by asserting on endswith as opposed to doing an equality
comparison with the image UUID.

Change-Id: I99f82dbfce8ae506596e123dda43729e500bf0e0
2012-03-05 11:22:58 +00:00
Jenkins
63aa30f285 Merge "Fixes lp#945803" 2012-03-03 20:10:29 +00:00
Daryl Walleck
853c59c7d6 Fixes lp#945419 - use_ssl value is ignored
* corrected config to compare instead of cast

Change-Id: I1b35b6faddc436606f62824671b862c817c23c04
2012-03-03 13:55:42 -06:00
Daryl Walleck
30d876ad9a Fixes lp#945803
* Removes un-needed slash from keypairs URL path

Change-Id: Id91a1e80bde4beb765658aa27dcc9dfc7b9740b7
2012-03-03 13:31:03 -06:00
Hengqing Hu
9bf93bace2 Remove trailing whitespaces in regular file
Change-Id: I46306a96062ccd751e65351a0bf3e5951ae15905
2012-03-03 12:21:55 +08:00
Jenkins
ee86c1d76d Merge "Fixes bug 902352 – New tests for security groups" 2012-03-03 00:45:01 +00:00
Eoghan Glynn
4b10c7cc71 Pass credentials to glance client.
The auth creds dict was created but not passed to the glance client,
causing the following tests to fail with 401 Unauthorized:

  CreateRegisterImagesTest.test_register_then_upload
  CreateRegisterImagesTest.test_register_with_invalid_data

Change-Id: Icca9632f5de66ee7e957116e8dc60b53de9c1c87
2012-03-01 18:21:53 +00:00
rajalakshmi-ganesan
37b32b6971 Fixes bug 902352 – New tests for security groups
Change-Id: Id74c968afcac1546c90e9abceb7bbaade2d11d4e
2012-03-01 16:40:23 +05:30
Daryl Walleck
2148b62395 Addresses lp#902371
* Adds fixed ip tests
* Adds compute subdirectory for tests

Change-Id: Ie460cfe5d7d524949a6e4966404174989177ff18
2012-02-29 14:15:58 -06:00
saradpatel
0ba53b15d4 Fixed Bug#943092
Declared a varible 'release' to use te value in tempest.conf

Change-Id: Ib4f70bbcf52193af583ba7f082f73d495cdddb20
2012-02-29 01:52:55 -08:00
Jenkins
ed0a512105 Merge "Fixes lp#940532" 2012-02-28 14:19:21 +00:00
Jenkins
550d3fb43d Merge "Resolves lp#941705" 2012-02-28 14:17:56 +00:00
Daryl Walleck
97d751748d Fixes lp#940532
* Changes image filter by server_ref tests since
  the location of the property was modified

Change-Id: I3dc55323402b766d6b12df8660e35b8bf2b16112
2012-02-27 23:49:58 -06:00
Jenkins
acb87401e0 Merge "Removed expected failure from negative access IP tests" 2012-02-27 21:15:49 +00:00
Daryl Walleck
b43ce8af5d Resolves lp#941705
* Refactored test_resize_server_revert to take into account
  race condition in Nova

Change-Id: Ib0f1591988b4ff4d165a7d430ad03fed80cab3c9
2012-02-27 15:11:27 -06:00
Daryl Walleck
b90a1a6aa5 Addresses lp#933845
* Changed config to use catalog type instead of catalog name

Change-Id: I183ae3a9a56b16ae8191f30523aa68777b7158cc
2012-02-27 11:26:05 -06:00
Daryl Walleck
75923aee16 Removed expected failure from negative
access IP tests

* Replaced with skip for diablo, as this
  issue will still exist for that release

Change-Id: I4bdefc9fde9ad3dfbf297427593a78cf008fc711
2012-02-26 14:32:16 -06:00
David Kranz
bcc91953e9 Fix hardcoding of status bug.
Change-Id: I525a0d01a279938f0308d37d377fd95e971ecae5
2012-02-24 16:08:52 -05:00
David Kranz
388d0e9043 Skip test that is failing due to nova bug 940500.
Change-Id: I3c3b78431c44d3cc40cbb9d019c496e0fcfbd081
2012-02-24 13:46:38 -05:00
Jenkins
f6b9f59b30 Merge "Fixes LP#921409 * Adds /servers filter tests * Re-ordered resource building in fixtures to improve execution time" 2012-02-23 22:46:47 +00:00
David Kranz
5a23d86090 Fix for bug 931712. Make keypair test work.
Throw exception for 409.
Eliminate test for fetching key becuase there is no such API.
Eliminate negative test for empty public key because (spec?) the nova code doesn't care.
Change tests that were checking for 4xx responses to catch the thrown exceptions.

Change-Id: I3e880f888ec2534d87d035cea722fad4a5987444

Fix test_server_actions.

conf_from_devstack needs to set image_ref_alt
Add throw for all unlisted 4xx cases in rest_client

Change-Id: Ie511bfd28bda2e21e1ada7f3cbcd43304279ba67
2012-02-16 10:12:17 -05:00
Daryl Walleck
4aa82a9c21 Fixes lp#932320
* Made catalog name configurable

Change-Id: I0906dd37df98612f66996b934163962fe9f2b173
2012-02-14 22:44:34 -06:00
David Kranz
6e977a7f54 Make floating ip test work. Fixes bug 929765.
The problems were:
1. FloatingIP client does not use json/headers for POST
2. The API data for associate/disassociate floating ip were wrong
3. The negative cases were too specific about what exception would be thrown

Also made test_server_metadata work.

Change-Id: I5bea4e03203391042589ba264d9eaed3ef1199b3

Make test_flavors.py pass.

There were some "expect failures" for bugs that have been fixed in Essex.
Added release_name, defaulting to essex, to allow skipping of tests of things
that are broken in diablo but fixed in essex.

Change-Id: I38ada5ee200104efe112a3bcd12b902c63e4b9ed
2012-02-13 14:07:34 -05:00
David Kranz
d870644139 Fix for critical part of bug 929765.
Change-Id: I6ca3b3bc674305011d2469ca1f417a435d030a98
2012-02-09 16:10:17 -05:00
Daryl Walleck
1285d73bc6 Fixes LP#921409
* Adds /servers filter tests
* Re-ordered resource building in fixtures to improve
  execution time

Change-Id: I082031633c65021fea00308c1428af34017570e4
2012-02-07 22:27:36 -06:00
Jenkins
c3be0541a5 Merge "Fixes LP#902358 - Test case for Floating IPs" 2012-02-08 03:01:09 +00:00
Jenkins
02d39acde6 Merge "Fixes LP#903978 - Write testcases for test_server_actions (boundary)" 2012-02-07 16:50:38 +00:00
Jenkins
6a2ed0b3f3 Merge "Addresses LP#917976 * Adds basic logging when exceptions occur" 2012-02-03 18:20:00 +00:00
sapan-kona
f7d5ef8ad0 Fixes LP Bug#903977 - Boundary tests for list servers
Adds boundary test for showing a non-existing server

Added test_get_nonexistant_server_details

Change-Id: I6fd4562a3d6c2b602c607bcad215ef58f93932b5
2012-02-02 18:35:53 +05:30
Daryl Walleck
2fbb9d154d Fixes LP#922784
* Removed duplicate test
* Re-ordered resource allocation

Change-Id: I7ec3ad211ce5e1ab33831a84bb4e2a70685d4358
2012-01-29 22:02:41 -06:00