Replaces resource_cleanup with addClassResourceCleanup in
test_list_projects.
cls.projects was used only for resource_cleanup so that is
removed too. cls.project_ids is used in the tests.
Change-Id: Ia585d42b9d140b18e72871b7ce2ba833a64347af
This patch aims to remove 'skip_unless_attr' decorator, which marked as
deprecated and would be removed in Queens.
Change-Id: I33fb4466df2747fdbbf023373e53079a99a4d2c2
1.Move wait_for_interface_status into _check_interface.
2.In the case of test_reassign_port_between_servers, before check
iface['port_id'] and delete_interface, it is better to wait for the
status of port reach to active.
Change-Id: I9e185543da91d159709a2b773bab3945f4e79947
The test 'test_extend_attached_volume' makes api call to
nova which is differ from the parent directory name(volume).
Change-Id: I68962bf7a04fcb73412c94700c8301d170b3b1a3
When create interface by port_id,
not only iface['port_id'] is equal to port_id,
but also iface['net_id'] should be same with network_id.
I think only check iface['port_id'] is not enough.
Change-Id: I82b53a996e8a3c1945fd16a7cf10ee85850be60d
Conflict exception's error message is sometimes misleading,
e.g.,
<class 'tempest.lib.exceptions.Conflict'>,
An object with that identifier already exists
Details: {u'message':
u'Unable to complete operation on subnet
98575cac-0a2f-4214-8dea-50c62d31e736:
One or more ports have an IP allocation from this subnet.',
u'type': u'SubnetInUse', u'detail': u''}
according to https://tools.ietf.org/html/rfc7231#section-6.5.8,
"The 409 (Conflict) status code indicates that the request could not
be completed due to a conflict with the current state of the target
resource", so this is to change the error message to
"Conflict with state of target resource".
Change-Id: Icc118ec67f05cc7640e2b5f12162547ae5c3dae5
Add docs to elaborate on running a single test, running
all test in a file or use regular expressions to run any
matching tests.
Change-Id: I78f3a24e01b0f5e36c6edd76cc0579ba1e4f06cb
This is to use addClassResourceCleanup for the cleanup of floatingips,
so the cleanup in resource_cleanup can be removed.
Change-Id: If8fdf2278b1b70f94816c4fe1a78566c8ac999a5
Noticed an error in a run like this:
Captured traceback-1:
~~~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "tempest/api/compute/base.py", line 437, in _detach_volume
except exceptions.NotFound:
AttributeError: 'module' object has no attribute 'NotFound'
This exception was moved (I guess) but this spot was missed.
Closes-Bug: #1733674
Change-Id: Ia61eafe58ffc9658f70a8867c7729555a4e1d91c
When boot instance from EBS image,add some verify to
make sure the server was created from the image.
Change-Id: Ibf4fa2df311468a07ab0aa7be4245f1c480f3d8e
As it is in case of Virtuozzo container virtualization
Verify instance's ssh connectivity if available
Change-Id: I8d3bf871711c1186a10728c7fa53a1c089634cd9
Create a zuulv3 native job to replace the existing legacy tempest plugin
sanity check. The tempest plugin sanity script has been modified to fail
if at least one of the plugins failed.
Related fixed in plugins:
* Id08618a497b0f9205680a97d31600481b92eab08
* I3de3d6c6928d31af9c2deeba800b201bb681ac4e
Change-Id: I2bd52892b05d5c4044e11a34b2ca150dd2445c07
This commit fixes indentation in tempest docs. These indentations are
not necessary and it causes a weird html outputs.
Change-Id: I9c8714558a3327b7ad0b0ab0d3fdc7e770c3c75b
Console may help debugging failures when they happen. For example, if an
IP address was not configured for an instance, console output may reveal
that dhcp client failed to get the lease in due time.
Also log failed ip address output.
Change-Id: I7189c6d261c4d8b74aee23f360becc1171d17501
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is entirely
due to the current convention of pulling in the version information.
Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.
This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html
.
Change-Id: I87a073ba9d61a4817aff0c57cd31c143a2c16259