← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1391858] [NEW] run_tests.sh broken on mac OS X

 

Public bug reported:

(Please assign this to me, as I have
https://review.openstack.org/#/c/106237/ out for review.)

$ ./run_tests.sh
grep: repetition-operator operand invalid
usage: dirname path
Running `tools/with_venv.sh python -m neutron.openstack.common.lockutils python setup.py testr --slowest --testr-args='--subunit  '`
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/Users/dougw/work/a10/neutron/neutron/openstack/common/lockutils.py", line 31, in <module>
    from neutron.openstack.common import fileutils
  File "neutron/openstack/common/fileutils.py", line 21, in <module>
    from oslo.utils import excutils
ImportError: No module named utils

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
Running flake8 ...

** Affects: neutron
     Importance: Undecided
     Assignee: Doug Wiegley (dougwig)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Doug Wiegley (dougwig)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1391858

Title:
  run_tests.sh broken on mac OS X

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  (Please assign this to me, as I have
  https://review.openstack.org/#/c/106237/ out for review.)

  $ ./run_tests.sh
  grep: repetition-operator operand invalid
  usage: dirname path
  Running `tools/with_venv.sh python -m neutron.openstack.common.lockutils python setup.py testr --slowest --testr-args='--subunit  '`
  Traceback (most recent call last):
    File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
      "__main__", fname, loader, pkg_name)
    File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
      exec code in run_globals
    File "/Users/dougw/work/a10/neutron/neutron/openstack/common/lockutils.py", line 31, in <module>
      from neutron.openstack.common import fileutils
    File "neutron/openstack/common/fileutils.py", line 21, in <module>
      from oslo.utils import excutils
  ImportError: No module named utils

  ----------------------------------------------------------------------
  Ran 0 tests in 0.000s

  OK
  Running flake8 ...

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1391858/+subscriptions


Follow ups

References