← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1280134] Re: Can't run python 2.6 tests with nosetests

 

** Changed in: openstack-ci
       Status: New => Invalid

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

Title:
  Can't run python 2.6 tests with nosetests

Status in ANVIL for forging OpenStack.:
  Fix Released
Status in OpenStack Core Infrastructure:
  Invalid

Bug description:
  In anvil, tox.ini allows virtualenv to use site packages, so pip finds
  finds nose which is installed to the system. But /usr/bin/nosetests
  uses system python (/usr/bin/python), not python from venv. So,  tests
  are run effectively outside of venv, and fail with lots of import
  errors.

  Example logs: http://logs.openstack.org/89/73289/2/gate/gate-anvil-
  python26/02f7f17/console.html

  2014-02-13 18:38:04.816 | WARNING:test command found but not installed in testenv
  2014-02-13 18:38:04.816 |   cmd: /usr/bin/nosetests
  2014-02-13 18:38:04.816 |   env: /home/jenkins/workspace/gate-anvil-python26/.tox/py26
  2014-02-13 18:38:04.816 | Maybe forgot to specify a dependency?

  Of course nose is listed among deps in tox.ini.

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


References