These tests attempt to create two isolated tenant networks and
boot servers on each. Baremetal relies on flat networking that
does not support network isolation, so these tests should be skipped
in that case.
Change-Id: Ia7383114c17e4d901c81b8e7b6b2822a7ec4f908
Various network scenario tests have been setting this attribute
when raising skip exceptions. It appears to no longer be used for
anything and can be removed.
Change-Id: I368f9e08cba6372010b9fed47f7730160e9d60b1
With the tempest-3 tag being published to signify the end of xml
testing in tempest we need to bump the working version to tempest-4
to indicate that the next tag will be 4.
Change-Id: I1fd12cb3e20692c60daa4eb19c6d876b00318d56
Nova v3 API has disappeared, and Tempest isn't testing the API on the
gate now. In addition, Nova team is creating a new REST API "Nova v2.1
API + microversions" and the interfaces are different from v3 API.
So it is not necessary to keep Nova v3 API tests in Tempest.
This patch removes Nova v3 API code from RestClient for code cleanup.
Change-Id: I46631092e1c851f4603035c3dcc11287b777323c
In _error_checker(), both HTTP500 and 501 are converted to the same
exception ServerFault. In addition, some method which extracts error
message raises a specific exception IdentityError without considering
HTTP code.
This patch adds a new exception NotImplemented and uses it for HTTP501
so that we can know which error response is returned from a server.
Change-Id: Ic8fc216377942619f11a2462b79d0597071ac294
XML API tests have been removed, but there is still some code related
to XML API tests in RestClient class.
This patch remove it for code cleanup.
Change-Id: I098fe348220bb24c022c4b0753da322e1cdb1893
RateLimitExceeded, ServerFault and OverLimit raise at rest_client layer
and they should inherit from RestClientException for representing what
happens clearly. This patch changes them.
Change-Id: I0b74bd44a88cc68bdaeab6bd605722d47f5a28a9
safe_body() is used in RestClient class only, so this patch
moves safe_body() into the class for the code cleanup.
Change-Id: Ice80d5ab19438162ba7a5705fa78c1ab91c1ccd5
Exceptions which inherit from RestClientException should raise based
on an error response which is returned from REST API servers(nova-api,
etc). However, InvalidServiceTag is not now.
We have a plan RestClient is implemented in tempest-lib and related
exceptions also are moved to tempest-lib.
For doing that, this patch separates an unrelated exception from
RestClientException.
Change-Id: I49d50fb14b18c6fb263308a68d7ac6a97b1a9800
Split up the resource_setup in a number of methods to avoid
calls to tearDownClass when not needed, and enforce good
practices in the structure of the setUpClass.
Partially-implements bp:resource-cleanup
Change-Id: I3eae85f8e42f8ed58c87e6336792faf66c8f13aa
This commit removes all of the network debugging gorp usage from
tempest. These were added as a crutch over a year ago to enable
real neutron testing in the gate, which was impossible to debug
at the time. This debug info is an inherent layer violation in tempest
which is only supposed to be black-box and not care about any of the
underlying internals. It also assumes a single host environment and
that tempest is running on that machine, which is mostly specific to
the gate and devtest setups. Additionally the amount of output on a
failure is staggering to the point where keeping this around is
counter-productive. If we are unable to debug issues at this point
neutron needs to improve their logging so people can figure out what
failed.
Change-Id: Ia1ed4ab3cd2e4941fb072b3390f4859420989e74
In DevStack-Gate, we are attempting to run dual stacked, so even when
running IPv6 tests, an IPv4 address will be present.
Change-Id: I303d15cdf9fb458df49e4b8eaf3adc41226bf176
Required-By: I3d416275f77913769b98e77f7e47bed17fc4d1cc
The baremetal deployment relies on a flat network without tenant isolation.
The router servicing this single network should not be taken up and down,
especially if there are other tests running that may be accessing things
via public IP. This is accounted for already during network/router/subnet
creation, but this test needs to be skipped as well.
Change-Id: I4064e134493085d90a0f0967b7b9ad640aadf75c
Closes-bug: #1400902
With the advanced services disabled this test fails. In order to make
forward progress on the services split this test needs to be disabled
to allow the services split to move forward.
Related-Bug: #1400370
Change-Id: Ide264a371215bb6a56e52faab18296fb0cf0a74b
This commit fixes the extension checker in verify-tempest-config to
ensure that nova and nova based services are using the extension
aliases instead of the extension names. The extension names are meant
to be human readable and are not the best way to identify it. This is
what the tempest code is also expecting, however in some cases the
name was still being used by the verify tool, which was incorrect. As
part of this it was necessary to fix several other places where name
was being used instead of alias, or other extension list formatting
response checking was incorrect.
Change-Id: I35f5db655f065f29760515a26db1fb508d229393
This is using the incorrect format and it's spewing errors everywhere.
This reverts commit 38156b7a2a23666b1908c5c97d210b3676c12090.
Change-Id: If3d32320eb707531b9b37324ddbebeeb62574041
If this method failed because the resource will not reach desired
status, you just know expected status, not actual status at time of
timeout. It can help with debugging.
Change-Id: I583f0739bf771dd587acd13c1453ae6a440a9e87
As part of mentioned BP, all volume API tests have been shared
between V1 and V2. Now BaseVolumeV1Test & BaseVolumeV1AdminTest
class can be removed from base.py.
Partially implements: blueprint cinder-v2-api-tests
Change-Id: I57916c8cb0c4bb8d7e847655f13da2b399ab7783
Without knowing what credentials are used to cleanup its difficult to
figure out what "Clearing network: None, subnet: None, router: None"
means.
Change-Id: I649d64f8aecc77d13837b4f0a06911f975b5ccb8
As part of https://bugs.launchpad.net/ironic/+bug/1398350 Ironic is fixing
a bug where the josn-fields in the resources only accepted string and
int, as part of the work Ironic will now support any json serializable
value on those fields.
Some negative tests on ports were considering float to be a malformed
value, which they are not. This patch is removing those tests.
This patch is also adding tests checking for the new supported values
in the API.
The patch in Ironic adding support for multiple types is this one:
https://review.openstack.org/#/c/137762/
Change-Id: I02e95d77a90b3c1a8e203cf83cc0ec28b5460e58
Add test to create bulk port for two different network
-Create two different networks
-Create a network_list
-Call a bulk port function to create a ports
-Verify the port network_id with the network id used
-Verify the admin_state_up of the port
Change-Id: I39e3df635f24bbe0f288bb6ccf1300ee5132725e