[ovs-build] Passed: YiHungWei/ovs#291 (master - 4d6e7dd)
builds at travis-ci.org
Mon Sep 21 23:36:35 UTC 2020
Build Update for YiHungWei/ovs
Duration: 1 hr, 14 mins, and 7 secs
Commit: 4d6e7dd (master)
Author: Gurucharan Shetty
Message: ovs-lib: Handle daemon segfaults during exit.
Currently, we terminate a daemon by trying
"ovs-appctl exit", "SIGTERM" and finally "SIGKILL".
But the logic fails if during "ovs-appctl exit", the
daemon crashes (segfaults). The monitor will automatically
restart the daemon with a new pid. The current logic of
checking the non-existance of old pid succeeds and we proceed
with the assumption that the daemon is dead.
This is a problem during OVS upgrades as we will continue
to run the older version of OVS.
With this commit, we take care of this situation. If there
is a segfault, the pidfile is not deleted. So, we wait a
little to give time for the monitor to restart the daemon
(which is usually instantaneous) and then re-read the pidfile.
Signed-off-by: Gurucharan Shetty <guru at ovn.org>
Acked-by: Yi-Hung Wei <yihung.wei at gmail.com>
View the changeset: https://github.com/YiHungWei/ovs/compare/5601e86c4ec5...4d6e7ddacbf6
View the full build log and details: https://travis-ci.org/github/YiHungWei/ovs/builds/729144662?utm_medium=notification&utm_source=email
You can unsubscribe from build emails from the YiHungWei/ovs repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=11166288&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the build