<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/tempest.git/tempest/api/compute/servers/test_delete_server.py, branch master</title>
<subtitle>opendev.org: openstack/tempest
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/'/>
<entry>
<title>Adding description for testcases - compute part5</title>
<updated>2020-07-30T02:05:37+00:00</updated>
<author>
<name>zhufl</name>
<email>zhu.fanglei@zte.com.cn</email>
</author>
<published>2020-05-27T01:18:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=b5603bc4f8d7fb98007e71f2328e30f797fd1942'/>
<id>b5603bc4f8d7fb98007e71f2328e30f797fd1942</id>
<content type='text'>
When Tempest is used in customer site, often we are required to
provide a testcase list including testcase names and descriptions.
Now no this kind of doc is available, so we can add descriptions
with the format of doc string for every testcase, so later we
can generata such a testcase description list.

There are hundreds of testcases missing descriptions, so we can
add them gradually, and limit the modified files in one patch
for the convenience of reviewing.

Change-Id: I20744e4957fbd5b039fdd52ac530f11ac6d72319
partially-implements: blueprint testcase-description
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When Tempest is used in customer site, often we are required to
provide a testcase list including testcase names and descriptions.
Now no this kind of doc is available, so we can add descriptions
with the format of doc string for every testcase, so later we
can generata such a testcase description list.

There are hundreds of testcases missing descriptions, so we can
add them gradually, and limit the modified files in one patch
for the convenience of reviewing.

Change-Id: I20744e4957fbd5b039fdd52ac530f11ac6d72319
partially-implements: blueprint testcase-description
</pre>
</div>
</content>
</entry>
<entry>
<title>Create default network for several compute tests</title>
<updated>2020-01-10T22:41:41+00:00</updated>
<author>
<name>Eric Fried</name>
<email>openstack@fried.cc</email>
</author>
<published>2020-01-09T18:04:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=bfaa50f18bfdc02470a44d5e209e66085f0dcb05'/>
<id>bfaa50f18bfdc02470a44d5e209e66085f0dcb05</id>
<content type='text'>
Chipping away at the referenced bug, this commit introduces a
class-level variable on BaseV2ComputeTest that triggers
setup_credentials to create a default network, and sets it for several
classes where the problem has been observed. The class variable is so we
can whack-a-mole with one line instead of four whenever this problem
pops up.

Change-Id: Ia34fe3b41261de02918713c2a948e6c56554bf6f
Partial-Bug: #1844568
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Chipping away at the referenced bug, this commit introduces a
class-level variable on BaseV2ComputeTest that triggers
setup_credentials to create a default network, and sets it for several
classes where the problem has been observed. The class variable is so we
can whack-a-mole with one line instead of four whenever this problem
pops up.

Change-Id: Ia34fe3b41261de02918713c2a948e6c56554bf6f
Partial-Bug: #1844568
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not pass device when calling compute.base.attach_volume</title>
<updated>2018-09-11T16:44:01+00:00</updated>
<author>
<name>zhufl</name>
<email>zhu.fanglei@zte.com.cn</email>
</author>
<published>2018-08-30T08:03:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=2c9d9625d94f716bf3afd86cdc9606d6e95ba4b8'/>
<id>2c9d9625d94f716bf3afd86cdc9606d6e95ba4b8</id>
<content type='text'>
As of the 12.0.0 Liberty release, the Nova libvirt driver
no longer honors a user-supplied device name, so better not
pass device when calling compute.base.attach_volume.
https://developer.openstack.org/api-ref/compute/#attach-a-volume-to-an-instance

NOTE: We still keep passing device in test_attach_detach_volume,
because it will ssh to vm to check the device name, in that case,
CONF.compute.volume_device_name must be set the equal value as
the libvirt auto-assigned one. Whether to remove that check
is out of the range of this patch.

Change-Id: I4483836abedab2550731fef5b2625282d7a2298d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As of the 12.0.0 Liberty release, the Nova libvirt driver
no longer honors a user-supplied device name, so better not
pass device when calling compute.base.attach_volume.
https://developer.openstack.org/api-ref/compute/#attach-a-volume-to-an-instance

NOTE: We still keep passing device in test_attach_detach_volume,
because it will ssh to vm to check the device name, in that case,
CONF.compute.volume_device_name must be set the equal value as
the libvirt auto-assigned one. Whether to remove that check
is out of the range of this patch.

Change-Id: I4483836abedab2550731fef5b2625282d7a2298d
</pre>
</div>
</content>
</entry>
<entry>
<title>Move test decorators to common</title>
<updated>2017-08-23T17:09:33+00:00</updated>
<author>
<name>Andrea Frittoli</name>
<email>andrea.frittoli@gmail.com</email>
</author>
<published>2017-08-14T20:37:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=cd36841ca25b39b9c8ad1b83e0abd0a191d538a0'/>
<id>cd36841ca25b39b9c8ad1b83e0abd0a191d538a0</id>
<content type='text'>
services and extension decorators are based on CONF and needed by
Tempest only, so moving them to tempest.common.
Since a few plugnis use them today, use debtcollector to avoid
breaking all dependencies.

Change-Id: Ibd52153d00b8e60fb8c89e38d94e358ddc787251
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
services and extension decorators are based on CONF and needed by
Tempest only, so moving them to tempest.common.
Since a few plugnis use them today, use debtcollector to avoid
breaking all dependencies.

Change-Id: Ibd52153d00b8e60fb8c89e38d94e358ddc787251
</pre>
</div>
</content>
</entry>
<entry>
<title>Move compute admin test classes under admin path</title>
<updated>2017-04-25T19:10:04+00:00</updated>
<author>
<name>Ken'ichi Ohmichi</name>
<email>ken-oomichi@wx.jp.nec.com</email>
</author>
<published>2017-04-25T18:49:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=3cf1627b664b68e1c4d7eabe6c7b610400319b10'/>
<id>3cf1627b664b68e1c4d7eabe6c7b610400319b10</id>
<content type='text'>
The moved test classes inherit from an admin test class, and it
would be nice to exist under admin path like the other test classes.

NOTE: These test classes are not used from the other projects which
      include Defcore. It is not necessary to take care of this move.

Change-Id: I28b1acbb5b139614bd4f6a272410a4e4f1f989f7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The moved test classes inherit from an admin test class, and it
would be nice to exist under admin path like the other test classes.

NOTE: These test classes are not used from the other projects which
      include Defcore. It is not necessary to take care of this move.

Change-Id: I28b1acbb5b139614bd4f6a272410a4e4f1f989f7
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a generic "wait_for_volume_resource_status" function</title>
<updated>2017-02-19T07:12:42+00:00</updated>
<author>
<name>lkuchlan</name>
<email>lkuchlan@redhat.com</email>
</author>
<published>2016-11-07T18:53:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=52d7b0d62600b24f516070a4cc5f4194d5cffc76'/>
<id>52d7b0d62600b24f516070a4cc5f4194d5cffc76</id>
<content type='text'>
This function waits for a volume resource to reach a given status.
The function is a common function for volume, snapshot and backup
resources.

Change-Id: I070a9f84b8b199df22765391482f7d69a5414db3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This function waits for a volume resource to reach a given status.
The function is a common function for volume, snapshot and backup
resources.

Change-Id: I070a9f84b8b199df22765391482f7d69a5414db3
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch to decorators.idempotent_id on compute.servers</title>
<updated>2017-01-28T01:18:52+00:00</updated>
<author>
<name>Ken'ichi Ohmichi</name>
<email>ken-oomichi@wx.jp.nec.com</email>
</author>
<published>2017-01-28T01:18:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=14b0ae1a31fae195eeeff941470440df36f070e2'/>
<id>14b0ae1a31fae195eeeff941470440df36f070e2</id>
<content type='text'>
So many modules are using test.idempotent_id and this is for
switching to decorators.idempotent_id on compute.servers.

Change-Id: I6a7f8633b4808469dd92f2ac668674fba0bdb0ca
Related-Bug: #1616913
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So many modules are using test.idempotent_id and this is for
switching to decorators.idempotent_id on compute.servers.

Change-Id: I6a7f8633b4808469dd92f2ac668674fba0bdb0ca
Related-Bug: #1616913
</pre>
</div>
</content>
</entry>
<entry>
<title>Re-use common methods in test_delete_server_while_in_attached_volume</title>
<updated>2016-10-04T15:33:19+00:00</updated>
<author>
<name>Matt Riedemann</name>
<email>mriedem@us.ibm.com</email>
</author>
<published>2016-10-03T00:13:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=9fb8cc2487b3e20105c82d3da59339274df82a4d'/>
<id>9fb8cc2487b3e20105c82d3da59339274df82a4d</id>
<content type='text'>
This changes the test_delete_server_while_in_attached_volume test
to re-use common volume create/attach methods in the base compute
API test class.

Note that this changes the volumes client used to create, get and
delete the volume. The test was previously using the proxy volumes
extension from the compute API which is now deprecated.

Change-Id: Ief13602a6764c3259a827d6d2a4c40436f04667a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This changes the test_delete_server_while_in_attached_volume test
to re-use common volume create/attach methods in the base compute
API test class.

Note that this changes the volumes client used to create, get and
delete the volume. The test was previously using the proxy volumes
extension from the compute API which is now deprecated.

Change-Id: Ief13602a6764c3259a827d6d2a4c40436f04667a
</pre>
</div>
</content>
</entry>
<entry>
<title>Move shelve server logic in compute utility</title>
<updated>2016-04-15T09:49:26+00:00</updated>
<author>
<name>ghanshyam</name>
<email>ghanshyam.mann@nectechnologies.in</email>
</author>
<published>2016-04-15T09:49:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=017b5fe060a4d83f6e13fd06beadc0318422233e'/>
<id>017b5fe060a4d83f6e13fd06beadc0318422233e</id>
<content type='text'>
shelve server logic has been duplicated many place and
also needed by more tests.

It better to make that a utils function and used from there.

Change-Id: I391f0bb92da1ddc76efcf026e8dea536edfd3706
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
shelve server logic has been duplicated many place and
also needed by more tests.

It better to make that a utils function and used from there.

Change-Id: I391f0bb92da1ddc76efcf026e8dea536edfd3706
</pre>
</div>
</content>
</entry>
<entry>
<title>Return complete response from servers_client</title>
<updated>2015-09-11T04:05:38+00:00</updated>
<author>
<name>ghanshyam</name>
<email>ghanshyam.mann@nectechnologies.in</email>
</author>
<published>2015-08-25T07:02:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=0f825255e60337d163a3713e799ef7efb2b3fef3'/>
<id>0f825255e60337d163a3713e799ef7efb2b3fef3</id>
<content type='text'>
Currently compute servers_client returns Response by
removing top key from Response.
For example-
 return service_client.ResponseBody(resp, body['server'])

As service clients are in direction to move to Tempest-lib, all
service clients should return Response without any truncation.
One good example is Resource pagination links which are lost with current
way of return value. Resource pagination links are present in parallel
(not inside) to top key of Response.

This patch makes compute servers_client to return
complete Response body.

Change-Id: I6a7b5c6144cafcb8f0780db01bf67999a4229389
Implements: blueprint method-return-value-and-move-service-clients-to-lib
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently compute servers_client returns Response by
removing top key from Response.
For example-
 return service_client.ResponseBody(resp, body['server'])

As service clients are in direction to move to Tempest-lib, all
service clients should return Response without any truncation.
One good example is Resource pagination links which are lost with current
way of return value. Resource pagination links are present in parallel
(not inside) to top key of Response.

This patch makes compute servers_client to return
complete Response body.

Change-Id: I6a7b5c6144cafcb8f0780db01bf67999a4229389
Implements: blueprint method-return-value-and-move-service-clients-to-lib
</pre>
</div>
</content>
</entry>
</feed>
