Commit Graph

20 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 91f9dfbaf3 skip failed addresses test for nova-network
due to bug #1607350

Change-Id: I1fe02a6a1716982a58ccea3c464b354f88454236
2016-07-28 15:26:25 +03:00
Andrey Pavlov 6fa4d94748 fix functional tests
Change-Id: I60347842eab6c724cbe25603cebbbf89673466e3
2015-12-25 09:58:40 +03:00
Andrey Pavlov 2cc7ec92dc fix races
1) fix bug with filtering
filters were applied before unpaired items is added to result

2) fix races in default security group creation

3) add waiter for associate/disassociate address

4) fix security group classic test
it should choose default group group only from classic groups

5) fix describe_vpc_with_filters test
it can run in parallel with other test with same CIDR

6) fix networks list for instance run at subnet creation/deletion

7) fix selective decsribe by names
it should not delete valid items from db

Change-Id: Iadadefb8b4abebbb3b8efc0e536e5de30ed23dab
2015-12-15 09:22:50 +03:00
Andrey Pavlov c41d196d23 functional tests: remove unneeded describe_addresses
Change-Id: I9a01a93cde239fed4d5733b0c66e88bbb41ca45e
2015-10-26 14:29:49 +03:00
Andrey Pavlov 41013e1fd8 functional tests: fix describe adderesses tests
when these tests runs in parallel them can fail.
it happens because checking of count addresses can fail.

Change-Id: Iad4dd6cc536b69335435d5d5c5d261b2bc29f59e
2015-10-24 10:56:24 +03:00
Andrey Pavlov d16acc174b functional tests: take into account other addresses
cloud can has addresses before test. and test must takes into account
this fact when it calls descibe_addressses

Change-Id: I882c1c8bf386bf2730656b4b7c667bb4d58207b7
2015-10-22 23:31:09 +03:00
Feodor Tersin 8ded70ab89 Fix 0.0.0.0/0 route management
If subnet['gateway_ip'] is not None, Neutron prevents manual setting of
0.0.0.0/0 route to subnet host routes.

So we set gateway_ip to None during subnet creation if not internet
gateway is used in an associated route table. As a result Neutron
doesn't add its own 0.0.0.0/0 route, and we don't need to redirect it to
127.0.0.1 if default route is not set for a subnet route table. It
simplifies mapping of VPC route table to Neutron subnet host routes.

Depends-On: I5c314d513922d8a21b3e63de632bb9cd3484b076
Change-Id: Ibeeea1f5d92cc0aa08ac6c360c3e73fa67a45373
2015-06-23 19:22:05 +00:00
Feodor Tersin ee100891af Distinguish a preliminary address association test
AWS can associate an address to a subnet IP while the subnet is not
accessible from Internet due to its route table restriction.

We need to have this test case separated to have a clear mark of
supporting the feature by ec2api.

Change-Id: I86471b6656ceac2ef01002f5db0c27e6cdb69e42
2015-06-22 16:38:04 +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 093064d77c add tests for disassociation not associated address
Change-Id: Ia9f58ec856a007cb36475765fdd6c2c60537506f
2015-04-07 22:33:41 +03:00
Andrey Pavlov 4b2924c02e add metadata test and fix metadata logic
added ssh.py file is temporary solution until such class
is absent in tempest-lib

Change-Id: I6e4638ed969a30311db03a9c72cbdcae47c179e8
2015-03-25 12:03:19 +03:00
Andrey Pavlov 40f0e7ecc5 add scenario test for vpc addresses
Checking auto diassociate address and correctness of describing

Change-Id: I8a36dd2559c20611d8ad1e1c230fd9dce6482144
2015-03-24 11:39:48 +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 594fbaf843 rework TODO due to new tempest_lib
Change-Id: I73a4b60029031fe425cd39c3424236222962d369
2015-02-25 20:07:02 +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