yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #00693
[Bug 1102243] Re: Error during test_agent_ovs_cleanup
** Changed in: quantum
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to quantum.
https://bugs.launchpad.net/bugs/1102243
Title:
Error during test_agent_ovs_cleanup
Status in OpenStack Quantum (virtual network service):
Fix Released
Bug description:
The cause of this error is the args passed in "/home/zyluo/git/quantum/quantum/openstack/common/cfg.py", line 1629 is None.
Therefore it raises an exception when argparse tries to join argv in "/usr/lib/python2.7/argparse.py", line 1691
$ ./run_tests.sh test_agent_ovs_cleanup
TestOVSCleanup
test_main (test_agent_ovs_cleanup.TestOVSCleanup) ERROR
test_setup_conf (test_agent_ovs_cleanup.TestOVSCleanup) OK
======================================================================
ERROR: test_main (test_agent_ovs_cleanup.TestOVSCleanup)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/zyluo/git/quantum/.venv/local/lib/python2.7/site-packages/nose/case.py", line 133, in run
self.runTest(result)
File "/home/zyluo/git/quantum/.venv/local/lib/python2.7/site-packages/nose/case.py", line 151, in runTest
test(result)
File "/home/zyluo/git/quantum/.venv/local/lib/python2.7/site-packages/unittest2/case.py", line 398, in __call__
return self.run(*args, **kwds)
File "/home/zyluo/git/quantum/.venv/local/lib/python2.7/site-packages/unittest2/case.py", line 340, in run
testMethod()
File "/home/zyluo/git/quantum/quantum/tests/unit/test_agent_ovs_cleanup.py", line 39, in test_main
util.main()
File "/home/zyluo/git/quantum/quantum/agent/ovs_cleanup_util.py", line 58, in main
conf()
File "/home/zyluo/git/quantum/quantum/openstack/common/cfg.py", line 1137, in __call__
self._cli_values = self._parse_cli_opts(args)
File "/home/zyluo/git/quantum/quantum/openstack/common/cfg.py", line 1629, in _parse_cli_opts
return vars(self._oparser.parse_args(args))
File "/usr/lib/python2.7/argparse.py", line 1691, in parse_args
self.error(msg % ' '.join(argv))
File "/usr/lib/python2.7/argparse.py", line 2347, in error
self.exit(2, _('%s: error: %s\n') % (self.prog, message))
File "/usr/lib/python2.7/argparse.py", line 2335, in exit
_sys.exit(status)
SystemExit: 2
To manage notifications about this bug go to:
https://bugs.launchpad.net/quantum/+bug/1102243/+subscriptions