]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Skip keepalived_respawns test
authorArie Bregman <abregman@redhat.com>
Tue, 1 Dec 2015 07:47:55 +0000 (09:47 +0200)
committerArie Bregman <abregman@redhat.com>
Tue, 8 Dec 2015 17:34:00 +0000 (19:34 +0200)
commit34822ba31a62ee6f0f5b532a2c435f3c9b684605
tree67e372dd46cfd93beb0667d03db3c3c5301a172d
parenta6c10ac125f8ea87a4aaecb74a7beb9cee1ed69c
Skip keepalived_respawns test

keepalived fails to respawn after crash for > 1.2.11 version.

When keepalived starts, it spawns vrrp thread to monitor vrrp forked
process. It also creates a vrrp pid file. When the process is killed, and
it's restarted, the the new keepalived process runs with -P, so
when we validate whether we are already running,  we check vrrp pid file.
Since we never clean up the file before starting the process, and the process
dies without a chance to clean up the file as part of its signal
handler, respawn never works.

keepalived_respawns test should be skipped until bug is resolved.
See also: https://bugzilla.redhat.com/show_bug.cgi?id=1286729

Change-Id: Ic111573e0cd5ad5bfe70b0f38ec0203c10d52e34
Related-Bug: #1511311
neutron/tests/functional/agent/linux/test_keepalived.py