Commit Graph

22 Commits

Author SHA1 Message Date
ghanshyam f5983d7cdc Remove intree ec2-api tempest tests
ec2-api jobs have been switched to use
ec2api-tempest-plugin for ec2-api tests, so
we can remove the in-tree tempest tests now.

Change-Id: I82ace9ebd1ca5216c2e3fc3d75f07146417ebf94
2018-03-18 03:27:03 +00:00
maliki 2752e445ee Add tempest test UUID to all functional tests.
This patch adds a tempest decorator of UUID for each test in
the functional tests tree. .
This helps in discovering tests by their UUID using tempest
CLI and the decorator format is:
@decorators.idempotent_id('12345678-1234-1234-1234-123456789abc')

Change-Id: Ib4a4694600b1a28be6c23c73fa078960ce4efdec
2016-11-07 21:26:29 -08:00
Andrey Pavlov 99521b5052 functional tests: add skip checker for absence of EC2-classic
Change-Id: I42e8b446c23a06197f7daffbb826033a87e33cb7
2016-08-02 09:37:38 +03:00
Andrey Pavlov 7ffe27b2e0 switch from deprecated tempest_lib to tempest.lib
Change-Id: I6fa4a27519d8514fda01e71951fdaddc2cda4106
2016-02-26 15:46:06 +03:00
Andrey Pavlov 9ec2c84cc0 functional tests: work with EBS image if needed
Some tests can't pass on non-EBS image with messages:
The instance 'i-0' does not have an 'ebs' root device type and cannot be stopped.
EBS block device mappings not supported for instance-store AMIs.

Change-Id: I034c2df65a00140c20171c5fe4212bf084d2bdfb
2015-10-25 12:40:00 +03:00
Andrey Pavlov 89bc67f126 functional tests: wait for 'output' field
console output can be returned not in the first request by Amazon.
so tests must wait for no exception in get_console_output
and then for output field in result.

Change-Id: Iaf0549a185d2bf99dc83aea8f8272f2bf0ae5282
2015-10-22 23:31:08 +03:00
Feodor Tersin 34a4eb2f78 Fix names of new devices in functional tests
Some tests fail in gating, since that Nova assigns true device names to
bdm records. These tests try to add a volume to an instance on 'd' or
'h' letter, when the only 'a' volume exists in the instance. But libvirt
reassigns the device name to avoid a hole in device name sequence. So
the name of the new device becomes 'b'.

This patch uses 'b' for new devices to workaround the feature.

Depends-On: I770d394f65e5be6a5f8f36c673806f91509e0abe
Change-Id: Iea8bb3fb03aead5c347d129f14b2abd1d2bb4626
2015-08-05 15:35:52 +00:00
Andrey Pavlov c8dc89b9d2 switch instance and image api to bdm v2
Change-Id: Iccdc72352c47305f7fc6ec3c2793a12383bea549
2015-06-30 23:44:56 +03:00
Andrey Pavlov 2f5a484b3a implement groupId for EC2 classic groups
Change-Id: Ia184f1482d1e4a01fc676613abdccfa3c1a72d09
2015-05-22 19:54:42 +03:00
Andrey Pavlov 49822ce31b implement groupSet attribute for instance attributes
Change-Id: Ie92547208570221e735ba4c90dec97071da2b204
2015-05-14 13:05:10 +03:00
Andrey Pavlov 95c8930bfb implement modify/reset instance attribute. part 1.
implement only one attribute - disableApiTermination.

Change-Id: Ida88bcb047bcadd6cfe18c76f3af4777a431dad2
2015-05-12 14:08:34 +03:00
Andrey Pavlov 21e63c3309 add EBS volume deletion to tests.
tests should delete EBS volume by themselves due to OpenStack bug.

Change-Id: Ic32992c54b75e2bdea196cc8073e422e868189f8
2015-05-09 10:28:42 +03:00
Andrey Pavlov 3947354c37 move to botocore clients technology
from https://botocore.readthedocs.org/en/latest/client_upgrades.html#client-upgrades

Version 0.104.0 emitted an ImminentRemovalWarning when using the old interface. This warning is now printed to stderr by default. A user can still turn off these warnings via the warnings module.
The develop branch on github will be updated to completely remove the old interface. At this point the client interface will be the only interface available when using the develop branch on github.
A 1.0 alpha version will be released. By default, pip will not pick up any alpha/beta releases.
A 1.0 beta version will be released.
A GA (1.0) version of botocore will be released.

Change-Id: Id6661e3e1e73de018e9b4de7612972654bb27422
2015-04-24 14:18:46 +03:00
Andrey Pavlov 4baf5ed768 add test for checking validity of console output
Change-Id: I4908ff1a8954ac02b96efd493ba8add18f4d9891
2015-04-21 23:09:14 +03:00
Andrey Pavlov b7d53fe5e6 add fixes to images
1. extend modify_image_attributes
2. fix create_image
3. add reset_image_attribute
4. add images' tests

Change-Id: I0e52dbe46e0a0f3e6257365014f9b35bb4a21ad9
2015-04-21 14:52:18 +03:00
Andrey Pavlov a98a506eb9 add test for bug #1215527
also fake result for 'disableApiTermination' added
in DescribeInstanceAttribute. One of next reviews will add this
functionality.

fix botocore version to 0.103
version 0.104 returns some inconsistent information

Change-Id: I581e803a57c9ee63e873308c0f08cd7cf2158230
2015-04-17 15:31:51 +03:00
Andrey Pavlov 2801f9e687 fix delete on termination behaviour for network interfaces
and add test cases for delete_on_termination preperty for NetworkInterface

Depends-On: I3d557dd95f442106c495249a5ef1d2ac36e6a2ea
Change-Id: Icf2b9739aaf87b4c9af13ad64a310081a68f776e
2015-03-20 11:33:24 +03:00
Andrey Pavlov 9ead6694ca add test for idempotent instance
Change-Id: Ifd1e3f9f6ce5c0ad4556ba27602df23345efbaf2
2015-03-05 16:42:06 +03:00
Andrey Pavlov 594fbaf843 rework TODO due to new tempest_lib
Change-Id: I73a4b60029031fe425cd39c3424236222962d369
2015-02-25 20:07:02 +03:00
Andrey Pavlov cc1ed0b32d add tests for various cases with instance
Change-Id: I25884090380af9014fea8c716e99aa8f95a7692d
2015-02-17 22:49:35 +03:00
Andrey Pavlov 0ece6267b0 Reworked mechanism of disabling VPC tests
Change-Id: I2438610e595325919d4b3d7eb17aea67c11f0ba2
2015-02-11 22:16:15 +03:00
Andrey Pavlov 462de41470 Add rest of api tests.
Change-Id: I639876622bfb5a034717463256fe0dbd5b9a8399
2015-02-10 21:28:31 +03:00