Public bug reported: Did following steps to run neutron unit test in RED HAT 6.5 and failed to run tox:
# Fresh instllation of RED HAT 6.5 # Installed the dependencies mentioned in the doc "http://docs.openstack.org/developer/nova/devref/development.environment.html" "sudo yum install python-devel openssl-devel python-pip git gcc libxslt-devel mysql-devel postgresql-devel libffi-devel libvirt-devel graphviz sqlite-devel" "pip install tox" # cd neutron # tox Failed with following error: [root@localhost neutron]# tox -v neutron.tests.unit.api Traceback (most recent call last): File "/usr/bin/tox", line 5, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in <module> working_set.require(__requires__) File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: argparse [root@localhost neutron]# Even though argparse module is installed successfully ** Affects: neutron Importance: Undecided Status: New ** Tags: unittest -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1419613 Title: Fails to run unit test in red hat 6.5 with tox Status in OpenStack Neutron (virtual network service): New Bug description: Did following steps to run neutron unit test in RED HAT 6.5 and failed to run tox: # Fresh instllation of RED HAT 6.5 # Installed the dependencies mentioned in the doc "http://docs.openstack.org/developer/nova/devref/development.environment.html" "sudo yum install python-devel openssl-devel python-pip git gcc libxslt-devel mysql-devel postgresql-devel libffi-devel libvirt-devel graphviz sqlite-devel" "pip install tox" # cd neutron # tox Failed with following error: [root@localhost neutron]# tox -v neutron.tests.unit.api Traceback (most recent call last): File "/usr/bin/tox", line 5, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in <module> working_set.require(__requires__) File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: argparse [root@localhost neutron]# Even though argparse module is installed successfully To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1419613/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp