[openstack-dev] ./run_tests.sh fails to create the .venv environment for neutron

Vasudevan, Swaminathan (PNB Roseville) swaminathan.vasudevan at hp.com
Wed Oct 8 23:55:09 UTC 2014


Hi Folks,

./run_tests.sh fails to create the .venv with the latest neutron repo.
It fails at MySQL-python.
Does anyone know what is broken.

Downloading/unpacking oslotest>=1.1.0 (from -r /home/stack/neutron/test-requirements.txt (line 20))
  Downloading oslotest-1.1.0-py2.py3-none-any.whl
Downloading/unpacking psycopg2 (from -r /home/stack/neutron/test-requirements.txt (line 21))
  Downloading psycopg2-2.5.4.tar.gz (682kB): 682kB downloaded
  Running setup.py (path:/home/stack/neutron/.venv/build/psycopg2/setup.py) egg_info for package psycopg2

Downloading/unpacking MySQL-python (from -r /home/stack/neutron/test-requirements.txt (line 22))
  Downloading MySQL-python-1.2.5.zip (108kB): 108kB downloaded
  Running setup.py (path:/home/stack/neutron/.venv/build/MySQL-python/setup.py) egg_info for package MySQL-python
    sh: 1: mysql_config: not found
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/home/stack/neutron/.venv/build/MySQL-python/setup.py", line 17, in <module>
        metadata, options = get_config()
      File "setup_posix.py", line 43, in get_config
        libs = mysql_config("libs_r")
      File "setup_posix.py", line 25, in mysql_config
        raise EnvironmentError("%s not found" % (mysql_config.path,))
    EnvironmentError: mysql_config not found
    Complete output from command python setup.py egg_info:
    sh: 1: mysql_config: not found

Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/home/stack/neutron/.venv/build/MySQL-python/setup.py", line 17, in <module>

    metadata, options = get_config()

  File "setup_posix.py", line 43, in get_config

    libs = mysql_config("libs_r")

  File "setup_posix.py", line 25, in mysql_config

    raise EnvironmentError("%s not found" % (mysql_config.path,))

EnvironmentError: mysql_config not found

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /home/stack/neutron/.venv/build/MySQL-python
Storing debug log for failure in /home/stack/.pip/pip.log
Command "tools/with_venv.sh pip install --upgrade -r /home/stack/neutron/test-requirements.txt" failed.
None
stack at ubuntu:~/neutron$

Thanks.

Swaminathan Vasudevan
Systems Software Engineer (TC)


HP Networking
Hewlett-Packard
8000 Foothills Blvd
M/S 5541
Roseville, CA - 95747
tel: 916.785.0937
fax: 916.785.1815
email: swaminathan.vasudevan at hp.com<mailto:swaminathan.vasudevan at hp.com>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20141008/ee65d98f/attachment.html>


More information about the OpenStack-dev mailing list