<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nova.git/smoketests, branch shared-key-msg</title>
<subtitle>OpenStack's nova patches.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/'/>
<entry>
<title>Remove trivial cases of unused variables (1)</title>
<updated>2013-06-13T17:04:08+00:00</updated>
<author>
<name>Stanislaw Pitucha</name>
<email>stanislaw.pitucha@hp.com</email>
</author>
<published>2013-06-13T13:57:15+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=9f7eaca80d259201844f097fec24d1e9fe9fb5e3'/>
<id>9f7eaca80d259201844f097fec24d1e9fe9fb5e3</id>
<content type='text'>
Kill some of the variables marked as unused by flakes8. This should
allow to enable F841 check in the future.
Only trivial cases with no function calls and obviously pure functions
(like datetime.now(), or len()) are cleaned up here.

Part 1, split to reduce conflicts.

Change-Id: I82854349574ec4bcb9336aba626eefdaed81a8c8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Kill some of the variables marked as unused by flakes8. This should
allow to enable F841 check in the future.
Only trivial cases with no function calls and obviously pure functions
(like datetime.now(), or len()) are cleaned up here.

Part 1, split to reduce conflicts.

Change-Id: I82854349574ec4bcb9336aba626eefdaed81a8c8
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve Python 3.x compatibility</title>
<updated>2013-06-01T07:57:31+00:00</updated>
<author>
<name>Dirk Mueller</name>
<email>dirk@dmllr.de</email>
</author>
<published>2013-05-17T22:18:18+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=bf68a9592db4c90bc9421ce49c7c0766966d6e7e'/>
<id>bf68a9592db4c90bc9421ce49c7c0766966d6e7e</id>
<content type='text'>
Mechanical translation of the deprecated
except x,y: construct with except x as y:
The latter works with any Python &gt;= 2.6.
Add Hacking check.

Change-Id: I845829d97d379c1cd9b3a77e7e5786586f263b64
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Mechanical translation of the deprecated
except x,y: construct with except x as y:
The latter works with any Python &gt;= 2.6.
Add Hacking check.

Change-Id: I845829d97d379c1cd9b3a77e7e5786586f263b64
</pre>
</div>
</content>
</entry>
<entry>
<title>Record smoketest dependency on gFlags</title>
<updated>2013-05-09T20:48:36+00:00</updated>
<author>
<name>Rick Harris</name>
<email>rconradharris@gmail.com</email>
</author>
<published>2013-04-30T21:52:45+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=ca599a877fa5a086d39658847f0e12abd8f744ee'/>
<id>ca599a877fa5a086d39658847f0e12abd8f744ee</id>
<content type='text'>
The smoketests currently have a dependency on gFlags. Long term, this should
be converted to use openstack.common.cfg; but in the near term, we should
record this existing dependency.

Fixes bug 1174953

Change-Id: I465abc6a4a2e8f7ebd1fe70ad239c760960a82ed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The smoketests currently have a dependency on gFlags. Long term, this should
be converted to use openstack.common.cfg; but in the near term, we should
record this existing dependency.

Fixes bug 1174953

Change-Id: I465abc6a4a2e8f7ebd1fe70ad239c760960a82ed
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed print stmts in test cases</title>
<updated>2013-01-29T17:55:14+00:00</updated>
<author>
<name>Giampaolo Lauria</name>
<email>lauria@us.ibm.com</email>
</author>
<published>2013-01-29T17:54:20+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=3a0d78e0576c7ae985e8738c5bf535c4a218c733'/>
<id>3a0d78e0576c7ae985e8738c5bf535c4a218c733</id>
<content type='text'>
Fixes bug 1108978

Change-Id: I5113e67bad1aaafdbaa0adc202cac97ba8d0dfdb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes bug 1108978

Change-Id: I5113e67bad1aaafdbaa0adc202cac97ba8d0dfdb
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix hacking N302 import only modules</title>
<updated>2013-01-24T14:52:58+00:00</updated>
<author>
<name>Joe Gordon</name>
<email>jogo@cloudscaling.com</email>
</author>
<published>2013-01-17T23:06:53+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=4845fc2720a0ab3ff4f15fc8f3f00573b617ce5b'/>
<id>4845fc2720a0ab3ff4f15fc8f3f00573b617ce5b</id>
<content type='text'>
* Includes some general tools/hacking cleanup
* Fix several N302 cases
* Disable N302 until all cases are fixed

Change-Id: Iddba07ff13e10dc41a6930749044bb8c0572d279
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Includes some general tools/hacking cleanup
* Fix several N302 cases
* Disable N302 until all cases are fixed

Change-Id: Iddba07ff13e10dc41a6930749044bb8c0572d279
</pre>
</div>
</content>
</entry>
<entry>
<title>fix new N402 errors</title>
<updated>2013-01-10T13:57:09+00:00</updated>
<author>
<name>Sean Dague</name>
<email>sdague@linux.vnet.ibm.com</email>
</author>
<published>2013-01-09T21:00:36+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=5fca1d9e97913af549adaef0827b189540fc87fa'/>
<id>5fca1d9e97913af549adaef0827b189540fc87fa</id>
<content type='text'>
fix the N402 errors that have slipped in in the last 48 hrs since
starting this patch series.

fix an N401 error that our scanner current can't find because it
only looks for doc strings on classes and defs.

this is the xeno's paradox of patch series, but we're getting close.

Change-Id: I4a763bb4c812335d853eae05c72464f18ab93297
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix the N402 errors that have slipped in in the last 48 hrs since
starting this patch series.

fix an N401 error that our scanner current can't find because it
only looks for doc strings on classes and defs.

this is the xeno's paradox of patch series, but we're getting close.

Change-Id: I4a763bb4c812335d853eae05c72464f18ab93297
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix wait_for_deleted function in SmokeTests.</title>
<updated>2012-11-21T15:57:25+00:00</updated>
<author>
<name>Dan Prince</name>
<email>dprince@redhat.com</email>
</author>
<published>2012-11-21T15:46:46+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=731c6b1d5d1f29b61349bb681093c04e1053cb89'/>
<id>731c6b1d5d1f29b61349bb681093c04e1053cb89</id>
<content type='text'>
Fixes the wait_for_not_running function in smoketests/base.py so
that it short circuits when an instance ID is deleted rather than
waits 60 seconds (the timeout). Previously this function had
two problems:

 1) It used Boto's instance.update() instead of instance.update(validate=True).
 Since update() returns returns quietly if no data about the instance was
 returned (aka the instance has been deleted) it effectively made this
 function almost always wait for the timeout (60 seconds). This makes the
 tests take about a minute longer than they need to unless #2 below
 occurs...

 2) It also introduced a race condition in that... if hit just right
 the instance.state would get set to 'terminated'. Which would cause
 the loop to short circuit. This might seem correct at first glance but
 in fact causes intermittent failures in some of the netadmin tests
 because security groups can't be deleted if a running (or exiting)
 instance is still assigned to them. In fact wait_for_not_running
 was added to guard against just this in the first place!

Also, renames the base.wait_for_not_running function to be
called wait_for_deleted (that is what we are really doing here)

Change-Id: I4486995a7d9028d876366e8d7a2c845520319b86
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes the wait_for_not_running function in smoketests/base.py so
that it short circuits when an instance ID is deleted rather than
waits 60 seconds (the timeout). Previously this function had
two problems:

 1) It used Boto's instance.update() instead of instance.update(validate=True).
 Since update() returns returns quietly if no data about the instance was
 returned (aka the instance has been deleted) it effectively made this
 function almost always wait for the timeout (60 seconds). This makes the
 tests take about a minute longer than they need to unless #2 below
 occurs...

 2) It also introduced a race condition in that... if hit just right
 the instance.state would get set to 'terminated'. Which would cause
 the loop to short circuit. This might seem correct at first glance but
 in fact causes intermittent failures in some of the netadmin tests
 because security groups can't be deleted if a running (or exiting)
 instance is still assigned to them. In fact wait_for_not_running
 was added to guard against just this in the first place!

Also, renames the base.wait_for_not_running function to be
called wait_for_deleted (that is what we are really doing here)

Change-Id: I4486995a7d9028d876366e8d7a2c845520319b86
</pre>
</div>
</content>
</entry>
<entry>
<title>Update vol mount smoketest to wait for volume.</title>
<updated>2012-11-12T20:36:32+00:00</updated>
<author>
<name>Dan Prince</name>
<email>dprince@redhat.com</email>
</author>
<published>2012-11-12T20:36:32+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=6443cfeecb9f7f9ac4ab84de27e2e0c4decf71d6'/>
<id>6443cfeecb9f7f9ac4ab84de27e2e0c4decf71d6</id>
<content type='text'>
Updates the test_003_can_mount_volume smoke test so that it
waits for the volume to show up in /proc/partitions for up
to 60 seconds before proceeding. This eliminates the need for
a hard coded sleep value which can cause intermittent test failures.

Change-Id: Ibdc56a00e141211e40068c22fc268efeba6affff
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Updates the test_003_can_mount_volume smoke test so that it
waits for the volume to show up in /proc/partitions for up
to 60 seconds before proceeding. This eliminates the need for
a hard coded sleep value which can cause intermittent test failures.

Change-Id: Ibdc56a00e141211e40068c22fc268efeba6affff
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix no attribute 'STD_OUT_HANDLE' on windows</title>
<updated>2012-11-02T18:42:25+00:00</updated>
<author>
<name>Davanum Srinivas</name>
<email>davanum@gmail.com</email>
</author>
<published>2012-11-02T18:40:53+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=f2cf3fc0cd37a00e3508d8c60f37952fe249aef5'/>
<id>f2cf3fc0cd37a00e3508d8c60f37952fe249aef5</id>
<content type='text'>
rename STD_OUT_HANDLE to STD_OUTPUT_HANDLE

Fixes LP #1033528

Change-Id: I75830dc4d6017076647e040d4485f99ee68333ff
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
rename STD_OUT_HANDLE to STD_OUTPUT_HANDLE

Fixes LP #1033528

Change-Id: I75830dc4d6017076647e040d4485f99ee68333ff
</pre>
</div>
</content>
</entry>
<entry>
<title>Use paramiko.AutoAddPolicy for the smoketests.</title>
<updated>2012-10-09T17:29:31+00:00</updated>
<author>
<name>Dan Prince</name>
<email>dprince@redhat.com</email>
</author>
<published>2012-10-09T17:28:11+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nova.git/commit/?id=ea3f31b7e9e5afb6ca7905809be520800764841d'/>
<id>ea3f31b7e9e5afb6ca7905809be520800764841d</id>
<content type='text'>
Updates the Nova smoketests so that we use Paramiko's auto
add ssh key policy. This should help quiet down warnings like
this which we previously got when running the EC2 smoketests
with Nova:

/usr/lib/python2.7/site-packages/paramiko/client.py:95: UserWarning:
Unknown ssh-rsa host key for 172.20.0.3:
adb1c2f1fe461a35cd01283eac03d6fb

Fixes LP Bug #1064550.

Change-Id: I1611a3f6b54563b6a1d64c4f8e193a636ccb1c69
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Updates the Nova smoketests so that we use Paramiko's auto
add ssh key policy. This should help quiet down warnings like
this which we previously got when running the EC2 smoketests
with Nova:

/usr/lib/python2.7/site-packages/paramiko/client.py:95: UserWarning:
Unknown ssh-rsa host key for 172.20.0.3:
adb1c2f1fe461a35cd01283eac03d6fb

Fixes LP Bug #1064550.

Change-Id: I1611a3f6b54563b6a1d64c4f8e193a636ccb1c69
</pre>
</div>
</content>
</entry>
</feed>
