Traceback (most recent call last):
File "/tmp/yahoo/quantum/quantum/tests/unit/test_dhcp_agent.py", line 426, in setUp
self.dhcp = dhcp_agent.DhcpAgent(HOSTNAME)
File "/tmp/yahoo/quantum/quantum/agent/dhcp_agent.py", line 82, in __init__
self._populate_networks_cache()
File "/tmp/yahoo/quantum/quantum/agent/dhcp_agent.py", line 90, in _populate_networks_cache
self.root_helper
File "/tmp/yahoo/quantum/quantum/agent/linux/dhcp.py", line 228, in existing_dhcp_networks
confs_dir = os.path.abspath(os.path.normpath(conf.dhcp_confs))
File "/tmp/yahoo/.venv/lib/python2.6/site-packages/oslo/config/cfg.py", line 1191, in __getattr__
return self._get(name)
File "/tmp/yahoo/.venv/lib/python2.6/site-packages/oslo/config/cfg.py", line 1513, in _get
value = self._substitute(self._do_get(name, group))
File "/tmp/yahoo/.venv/lib/python2.6/site-packages/oslo/config/cfg.py", line 1529, in _do_get
info = self._get_opt_info(name, group)
File "/tmp/yahoo/.venv/lib/python2.6/site-packages/oslo/config/cfg.py", line 1629, in _get_opt_info
raise NoSuchOptError(opt_name, group)
NoSuchOptError: no such option: dhcp_confs
These tests require importing an option from quantum.agent.linux.dhcp module.
TestDhcpAgentEv entHandler tests cannot be run independently:
$ nosetests quantum. tests.unit. test_dhcp_ agent:TestDhcpA gentEventHandle r|&head tests.unit. test_dhcp_ agent.TestDhcpA gentEventHandle r.test_ disable_ dhcp_helper_ driver_ failure ... ERROR tests.unit. test_dhcp_ agent.TestDhcpA gentEventHandle r.test_ disable_ dhcp_helper_ known_network ... ERROR tests.unit. test_dhcp_ agent.TestDhcpA gentEventHandle r.test_ disable_ dhcp_helper_ unknown_ network ... ERROR tests.unit. test_dhcp_ agent.TestDhcpA gentEventHandle r.test_ disable_ isolated_ metadata_ proxy ... ERROR
quantum.
quantum.
quantum.
quantum.
...
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= tests.unit. test_dhcp_ agent.TestDhcpA gentEventHandle r.test_ disable_ dhcp_helper_ driver_ failure ------- ------- ------- ------- ------- ------- ------- ------- -------
ERROR: quantum.
-------
_StringException: Empty attachments:
pythonlogging:''
stderr
stdout
Traceback (most recent call last): quantum/ quantum/ tests/unit/ test_dhcp_ agent.py" , line 426, in setUp DhcpAgent( HOSTNAME) quantum/ quantum/ agent/dhcp_ agent.py" , line 82, in __init__ _populate_ networks_ cache() quantum/ quantum/ agent/dhcp_ agent.py" , line 90, in _populate_ networks_ cache root_helper quantum/ quantum/ agent/linux/ dhcp.py" , line 228, in existing_ dhcp_networks abspath( os.path. normpath( conf.dhcp_ confs)) .venv/lib/ python2. 6/site- packages/ oslo/config/ cfg.py" , line 1191, in __getattr__ .venv/lib/ python2. 6/site- packages/ oslo/config/ cfg.py" , line 1513, in _get e(self. _do_get( name, group)) .venv/lib/ python2. 6/site- packages/ oslo/config/ cfg.py" , line 1529, in _do_get opt_info( name, group) .venv/lib/ python2. 6/site- packages/ oslo/config/ cfg.py" , line 1629, in _get_opt_info opt_name, group)
File "/tmp/yahoo/
self.dhcp = dhcp_agent.
File "/tmp/yahoo/
self.
File "/tmp/yahoo/
self.
File "/tmp/yahoo/
confs_dir = os.path.
File "/tmp/yahoo/
return self._get(name)
File "/tmp/yahoo/
value = self._substitut
File "/tmp/yahoo/
info = self._get_
File "/tmp/yahoo/
raise NoSuchOptError(
NoSuchOptError: no such option: dhcp_confs
These tests require importing an option from quantum. agent.linux. dhcp module.