yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #72972
[Bug 1772177] [NEW] Functional testcase fails
Public bug reported:
Hello all,
I have installed devstack, and checked out latest neutron source code.
Tried to run unit testcase with below command,
root@guest1-Standard-PC-i440FX-PIIX-1996:/home/guest1/neutron# tox -epy27 neutron.tests.unit.agent.linux.test_dhcp
Unit test runs successful over devstack setup.
But not able to run functional testcases.
Followed below steps to run functional testcases on devstack setup.
1. ./tools/configure_for_func_testing.sh /opt/stack/devstack -i
2. root@guest1-Standard-PC-i440FX-PIIX-1996:/home/guest1/neutron# tox -epy27 -- neutron.tests.functional.agent.linux.test_dhcp.TestDeviceManager.test_setup_reserved_2
But it is giving following error,
ERROR: InvocationError for command '/home/guest1/neutron/tools/ostestr_compat_shim.sh neutron.tests.functional.agent.linux.test_dhcp.TestDeviceManager.test_setup_reserved_2' (exited with code 1)
___________________________________________________________________ summary ______________________
ERROR: py27: commands failed
Tried with following way as well,
root@guest1-Standard-PC-i440FX-PIIX-1996:/home/guest1/neutron# source .tox/py27/bin/activate
(py27) root@guest1-Standard-PC-i440FX-PIIX-1996:/home/guest1/neutron# tox -epy27 neutron.tests.functional.agent.linux.test_dhcp.TestDeviceManager.test_setup_reserved_2
py27 recreate: /home/guest1/neutron/.tox/py27
ERROR: invocation failed (exit code 3), logfile: /home/guest1/neutron/.tox/py27/log/py27-0.log
ERROR: actionid: py27
msg: getenv
cmdargs: ['/usr/bin/python', '-m', 'virtualenv', '--python', '/home/guest1/neutron/.tox/py27/bin/python2.7', 'py27']
The path /home/guest1/neutron/.tox/py27/bin/python2.7 (from
--python=/home/guest1/neutron/.tox/py27/bin/python2.7) does not exist
ERROR: Error creating virtualenv. Note that some special characters (e.g. ':' and unicode symbols) in paths are not supported by virtualenv. Error details: InvocationError('/usr/bin/python -m virtualenv --python /home/guest1/neutron/.tox/py27/bin/python2.7 py27 (see /home/guest1/neutron/.tox/py27/log/py27-0.log)', 3)
______________________________ summary _______________________
ERROR: py27: Error creating virtualenv. Note that some special characters (e.g. ':' and unicode symbols) in paths are not supported by virtualenv. Error details: InvocationError('/usr/bin/python -m virtualenv --python /home/guest1/neutron/.tox/py27/bin/python2.7 py27 (see /home/guest1/neutron/.tox/py27/log/py27-0.log)', 3)
Since I am new to this please correct me if, I am missing anything to
run functional testcases.
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1772177
Title:
Functional testcase fails
Status in neutron:
New
Bug description:
Hello all,
I have installed devstack, and checked out latest neutron source code.
Tried to run unit testcase with below command,
root@guest1-Standard-PC-i440FX-PIIX-1996:/home/guest1/neutron# tox -epy27 neutron.tests.unit.agent.linux.test_dhcp
Unit test runs successful over devstack setup.
But not able to run functional testcases.
Followed below steps to run functional testcases on devstack setup.
1. ./tools/configure_for_func_testing.sh /opt/stack/devstack -i
2. root@guest1-Standard-PC-i440FX-PIIX-1996:/home/guest1/neutron# tox -epy27 -- neutron.tests.functional.agent.linux.test_dhcp.TestDeviceManager.test_setup_reserved_2
But it is giving following error,
ERROR: InvocationError for command '/home/guest1/neutron/tools/ostestr_compat_shim.sh neutron.tests.functional.agent.linux.test_dhcp.TestDeviceManager.test_setup_reserved_2' (exited with code 1)
___________________________________________________________________ summary ______________________
ERROR: py27: commands failed
Tried with following way as well,
root@guest1-Standard-PC-i440FX-PIIX-1996:/home/guest1/neutron# source .tox/py27/bin/activate
(py27) root@guest1-Standard-PC-i440FX-PIIX-1996:/home/guest1/neutron# tox -epy27 neutron.tests.functional.agent.linux.test_dhcp.TestDeviceManager.test_setup_reserved_2
py27 recreate: /home/guest1/neutron/.tox/py27
ERROR: invocation failed (exit code 3), logfile: /home/guest1/neutron/.tox/py27/log/py27-0.log
ERROR: actionid: py27
msg: getenv
cmdargs: ['/usr/bin/python', '-m', 'virtualenv', '--python', '/home/guest1/neutron/.tox/py27/bin/python2.7', 'py27']
The path /home/guest1/neutron/.tox/py27/bin/python2.7 (from
--python=/home/guest1/neutron/.tox/py27/bin/python2.7) does not exist
ERROR: Error creating virtualenv. Note that some special characters (e.g. ':' and unicode symbols) in paths are not supported by virtualenv. Error details: InvocationError('/usr/bin/python -m virtualenv --python /home/guest1/neutron/.tox/py27/bin/python2.7 py27 (see /home/guest1/neutron/.tox/py27/log/py27-0.log)', 3)
______________________________ summary _______________________
ERROR: py27: Error creating virtualenv. Note that some special characters (e.g. ':' and unicode symbols) in paths are not supported by virtualenv. Error details: InvocationError('/usr/bin/python -m virtualenv --python /home/guest1/neutron/.tox/py27/bin/python2.7 py27 (see /home/guest1/neutron/.tox/py27/log/py27-0.log)', 3)
Since I am new to this please correct me if, I am missing anything to
run functional testcases.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1772177/+subscriptions
Follow ups