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

Jeff Learman jjlearman at gmail.com
Mon Jul 20 20:47:30 UTC 2015


Resend, fixed subject.

tox -e py34 succeeds, btw.

Hi
>
> I'm new to openstack development, hoping to contribute.  I plan to start
> out by updating UT cases from mox to mock.  I 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/ffb0845d/attachment.html>


More information about the OpenStack-dev mailing list