← Back to team overview

sws team mailing list archive

[Bug 813780] Re: ./run_tests.sh --virtual-env fails on oneiric

 

This report is invalid since M2Crypto will deprecated.

** Changed in: nova
       Status: Triaged => Invalid

-- 
You received this bug notification because you are a member of SWS,
which is a bug assignee.
https://bugs.launchpad.net/bugs/813780

Title:
  ./run_tests.sh --virtual-env fails on oneiric

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  $ sudo apt-get build-dep python-nova
  $ sudo apt-get install python-virtualenv python2.7-dev

  $ ./run_tests.sh
  No virtual environment found...create one? (Y/n)
  done.
  Creating venv... done.
  Installing pip in virtualenv... done.
  Installing dependencies with pip (this can take a while)...
  Downloading/unpacking greenlet
    Downloading greenlet-0.3.1.tar.gz
  ...
  building 'M2Crypto.__m2crypto' extension

  swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c

  swig -python -I/usr/include/python2.7 -I/usr/include -includeall -o
  SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i

  unable to execute swig: No such file or directory

  error: command 'swig' failed with exit status 1

  ----------------------------------------
  Command /home/ubuntu/nova/nova/.nova-venv/bin/python -c "import setuptools;__file__='/home/ubuntu/nova/nova/.nova-venv/build/M2Crypto/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-PcFG2u-record/install-record.txt --install-headers /home/ubuntu/nova/nova/.nova-venv/include/site/python2.7 failed with error code 1
  Storing complete log in /home/ubuntu/.pip/pip.log
  Command "tools/with_venv.sh pip install -E /home/ubuntu/nova/nova/.nova-venv -r /home/ubuntu/nova/nova/tools/pip-requires" failed.
  None
  Traceback (most recent call last):
    File "run_tests.py", line 67, in <module>
      from nose import config

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