<p dir="ltr">Just tested tox 1.7.2 with swift on my Dev box and tox -epy27 runs fine.</p>
<p dir="ltr">So seems Swift isn't affected by this.</p>
<p dir="ltr">Matt<br>
</p>
<div class="gmail_quote">On Jul 26, 2014 7:44 AM, "Clark Boylan" <<a href="mailto:cboylan@sapwetik.org">cboylan@sapwetik.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
The recent release of tox 1.7.2 has fixed the {posargs} interpolation<br>
issues we had with newer tox which forced us to be pinned to tox==1.6.1.<br>
Before we can remove the pin and start telling people to use latest tox<br>
we need to address a new default behavior in tox.<br>
<br>
New tox sets a random PYTHONHASHSEED value by default. Arguably this is<br>
a good thing as it forces you to write code that handles unknown hash<br>
seeds, but unfortunately many projects' unittests don't currently deal<br>
with this very well. A work around is to hard set a PYTHONHASHSEED of 0<br>
in tox.ini files. I have begun to propose these changes to the projects<br>
that I have tested and found to not handle random seeds. It would be<br>
great if we could get these reviewed and merged so that infra can update<br>
the version of tox used on our side.<br>
<br>
I probably won't be able to test every single project and propose fixes<br>
with backports to stable branches for everything. It would be a massive<br>
help if individual projects tested and proposed fixes as necessary too<br>
(these changes will need to be backported to stable branches). You can<br>
test by running `tox -epy27` in your project with tox version 1.7.2. If<br>
that fails add PYTHONHASHSEED=0 as in<br>
<a href="https://review.openstack.org/#/c/109700/" target="_blank">https://review.openstack.org/#/c/109700/</a> and rerun `tox -epy27` to<br>
confirm that succeeds.<br>
<br>
This will get us over the immediate hump of the tox upgrade, but we<br>
should also start work to make our tests run with random hashes. This<br>
shouldn't be too hard to do as it will be a self gating change once<br>
infra is able to update the version of tox used in the gate. Most of the<br>
issues appear related to dict entry ordering. I have gone ahead and<br>
created <a href="https://bugs.launchpad.net/cinder/+bug/1348818" target="_blank">https://bugs.launchpad.net/cinder/+bug/1348818</a> to track this<br>
work.<br>
<br>
Thank you,<br>
Clark<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div>