** Changed in: neutron Status: Incomplete => Invalid ** Changed in: keystone Status: Incomplete => Invalid
** Changed in: keystone Assignee: ZhiQiang Fan (aji-zqfan) => (unassigned) ** Changed in: neutron Assignee: ZhiQiang Fan (aji-zqfan) => (unassigned) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1220234 Title: *.pyc should be removed before run test in tox.ini Status in OpenStack Identity (Keystone): Invalid Status in OpenStack Neutron (virtual network service): Invalid Bug description: reproduce: $ git rm neutron/scheduler/l3_agent_scheduler.py $ tox -epy27 test_agent_scheduler ... Ran 486 (+116) tests in 63.833s (-82.301s) PASSED (id=225) ... py27: commands succeeded the *.pyc will be removed before run test in run_tests.sh, so ./run_tests.sh will fail, but tox doesn't do the same, so it still success after add line after tox.ini#L44 /usr/bin/find . -type f -name "*.pyc" -delete $ tox -epy27 test_agent_scheduler ... ImportError: No module named l3_agent_scheduler ... Ran 488 (+481) tests in 10.087s (+9.636s) FAILED (id=231, failures=245 (+238)) ... ERROR: py27: commands failed the absolute path of find may cause problem, but if i don't specify it, there is a warning: WARNING:test command found but not installed in testenv cmd: /usr/bin/find env: /home/zqfan/openstack/neutron/.tox/py27 Maybe forgot to specify a dependency? but tox still performs in the correct way To manage notifications about this bug go to: https://bugs.launchpad.net/keystone/+bug/1220234/+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