** 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

-- 
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

Reply via email to