<p dir="ltr">There is a fixture in pbr's test suite to create keys with out entropy use, should be easy to adapt for user by Reno's tests.</p>
<div class="gmail_quote">On 1 Mar 2016 6:52 AM, "Thomas Goirand" <<a href="mailto:zigo@debian.org">zigo@debian.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 02/29/2016 10:31 PM, Doug Hellmann wrote:<br>
>>> Give this a try and see if it works any better:<br>
>>> <a href="https://review.openstack.org/285812" rel="noreferrer" target="_blank">https://review.openstack.org/285812</a><br>
>><br>
>> Oh, thanks so much! I'll try and give feedback on review.d.o. Is the<br>
>> issue around the (missed) use of --debug-quick-random?<br>
>><br>
>> Why do we need Reno unit tests to generate so many GPG keys btw, why not<br>
>> just one or 2?<br>
><br>
> As you've noticed, reno scans the history of a git repository to find<br>
> release notes. It doesn't actually read any of the files from the work<br>
> tree. So for tests, we need to create a little git repo and then tag<br>
> commits to look like releases. We do that for a bunch of scenarios, and<br>
> each test case generates a GPG key to use for signing the tags.<br>
<br>
The patch works super well, and I uploaded a new version of the Debian<br>
package with unit tests at build time.<br>
<br>
However, the combined output of gnupg and testr is a bit ugly. Wouldn't<br>
it be nicer to just generate a single GPG key, reused by multiple tests,<br>
using a unit test fixture?<br>
<br>
Cheers,<br>
<br>
Thomas Goirand (zigo)<br>
<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div>