<div dir="ltr">Hi Mike,<div><br></div><div>Looks like you have some syntax error for some accidental reason. Could you please do the following:</div><div>0) install flake8;</div><div>1) run <span style="font-family:Menlo;font-size:11px">./run_tests.sh -p &> pep8.log </span>into your Heat directory;</div>
<div>2) Attach to the letter and send it to the list.</div><div><br></div><div>Thank you,</div><div>Alexander</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-17 1:20 GMT+04:00 Mike Spreitzer <span dir="ltr"><<a href="mailto:mspreitz@us.ibm.com" target="_blank">mspreitz@us.ibm.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><tt><font>Kevin, I changed no code, it was a fresh DevStack install.</font></tt>
<br>
<br><tt><font>Robert Collins <<a href="mailto:robertc@robertcollins.net" target="_blank">robertc@robertcollins.net</a>> wrote
on 02/16/2014 05:33:59 AM:</font></tt>
<br><div class=""><tt><font>> A) [fixed in testrepository trunk] the output
from subunit.run <br>
> discover .... --list is being shown verbatim when an error happens,
<br>
> rather than being machine processed and the test listings elided.
<br>
> <br>
> To use trunk - in your venv:<br>
> bzr branch lp:testrepository</font></tt>
<br><tt><font>> pip install testrepository</font></tt>
<br><tt><font>> <br>
> B) If you look at the end of that wall of text you'll see 'Failed
<br>
> imports' in there, and the names after that are modules that failed
<br>
> to import - for each of those if you try to import it in python, <br>
> you'll find the cause, and there's likely just one cause.<br>
</font></tt>
<br></div><tt><font>Thanks Robert, I tried following your leads but got
nowhere, perhaps I need a few more clues.</font></tt>
<br>
<br><tt><font>I am not familiar with bzr (nor baz), and it wasn't
obvious to me how to fit that into my workflow --- which was:</font></tt>
<br><tt><font>(1) install DevStack</font></tt>
<br><tt><font>(2) install libmysqlclient-dev</font></tt>
<br><tt><font>(3) install flake8</font></tt>
<br><tt><font>(4) cd /opt/stack/heat</font></tt>
<br><tt><font>(5) ./run_tests.sh</font></tt>
<br>
<br><tt><font>I guessed that your (A) would apply if I use a venv
and go between (1) the `python tools/install_venv.py` inside run_tests.sh
and (2) the invocation inside run_tests.sh of its run_tests function.  So
I manually invoked `python tools/install_venv.py`, then entered that venv,
then issued your commands of (A) (discovered I needed to install bzr and
did so), then exited that venv, then invoked heat's `run_tests -V -u` to
use the venv thus constructed.  It still produced one huge line of
output.  Here I attach a typescript of that:</font></tt>
<br>
<br>
<br>
<br><tt><font>You will see that the huge line still ends with something
about import error, and now lists one additional package --- heat.tests.test_neutron_firewalld.
 I then tried your (B), testing manual imports.   All worked
except for the last, which failed because there is indeed no such thing
(why is there a spurrious 'd' at the end of the package name?).  Here
is a typescript of that:</font></tt>
<br>
<br>
<br>
<br><tt><font>Thanks,</font></tt>
<br><tt><font>Mike</font></tt><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>
<br></blockquote></div><br></div>