[openstack-dev] [openstack] [nova] Newb running tox on unmodified Nova, getting tox python errors

Jeff Learman jjlearman at gmail.com
Mon Jul 20 18:56:24 UTC 2015


Hi

I'm new to openstack development, hoping to contribute.  I plan to start
out by updating UT cases from mox to mock.  Just set up a development
environment on Windows VirtualBox Ubuntu 14.04, and used the following to
get the dependencies (plus apt-get python3-dev, which wasn't in this script
but seems necessary):

https://gist.github.com/stevemart/a619d2547298058b4a63

I run "tox -eAll" and it runs for quite a while, but ends with the
following:

venv runtests: commands[1] |
Traceback (most recent call last):
  File "/usr/local/bin/tox", line 11, in <module>
    sys.exit(cmdline())
  File "/usr/local/lib/python2.7/dist-packages/tox/session.py", line 39, in
main
    retcode = Session(config).runcommand()
  File "/usr/local/lib/python2.7/dist-packages/tox/session.py", line 373,
in runcommand
    return self.subcommand_test()
  File "/usr/local/lib/python2.7/dist-packages/tox/session.py", line 546,
in subcommand_test
    self.runtestenv(venv)
  File "/usr/local/lib/python2.7/dist-packages/tox/session.py", line 554,
in runtestenv
    venv.test(redirect=redirect)
  File "/usr/local/lib/python2.7/dist-packages/tox/venv.py", line 341, in
test
    if argv[0].startswith("-"):
IndexError: list index out of range


I see several testcases get python errors due to "NoMoreNetworks", which
might be a contributing factor.

Any clues what might be going wrong here?

Thanks,
Jeff

I'm jlearman on #openstack-nova
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150720/cd786db2/attachment.html>


More information about the OpenStack-dev mailing list