Comment 4 for bug 1511311

Revision history for this message
Hong Hui Xiao (xiaohhui) wrote :

I failed to run functional test locally

tox -e dsvm-functional neutron.tests.functional.agent.linux.test_keepalived

The failed log is:
neutron.tests.functional.agent.linux.test_keepalived.KeepalivedManagerTestCase.test_keepalived_respawns
-------------------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "neutron/tests/functional/agent/linux/test_keepalived.py", line 73, in test_keepalived_respawns
        exception=RuntimeError(_("Keepalived didn't respawn")))
      File "neutron/agent/linux/utils.py", line 339, in wait_until_true
        eventlet.sleep(sleep)
      File "/usr/lib/python2.7/site-packages/eventlet/greenthread.py", line 34, in sleep
        hub.switch()
      File "/usr/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 294, in switch
        return self.greenlet.switch()
    RuntimeError: Keepalived didn't respawn

Captured pythonlogging:
~~~~~~~~~~~~~~~~~~~~~~~
    2015-11-03 20:58:13,321 WARNING [oslo_config.cfg] Option "verbose" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future.
    2015-11-03 20:58:14,357 ERROR [neutron.agent.linux.external_process] default-service for router with uuid router1 not found. The process should not have died
    2015-11-03 20:58:14,358 ERROR [neutron.agent.linux.external_process] Respawning keepalived for uuid router1
    2015-11-03 20:58:15,357 ERROR [neutron.agent.linux.external_process] default-service for router with uuid router1 not found. The process should not have died
    2015-11-03 20:58:15,358 ERROR [neutron.agent.linux.external_process] Respawning keepalived for uuid router1
    2015-11-03 20:58:16,358 ERROR [neutron.agent.linux.external_process] default-service for router with uuid router1 not found. The process should not have died
    2015-11-03 20:58:16,358 ERROR [neutron.agent.linux.external_process] Respawning keepalived for uuid router1
    2015-11-03 20:58:17,358 ERROR [neutron.agent.linux.external_process] default-service for router with uuid router1 not found. The process should not have died
    2015-11-03 20:58:17,358 ERROR [neutron.agent.linux.external_process] Respawning keepalived for uuid router1
    2015-11-03 20:58:18,358 ERROR [neutron.agent.linux.external_process] default-service for router with uuid router1 not found. The process should not have died
    2015-11-03 20:58:18,359 ERROR [neutron.agent.linux.external_process] Respawning keepalived for uuid router1

So, things are as expected.