Comment 6 for bug 1343344

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/108044
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=7395c077f40bfae5c224e86ab277a1a823b1c092
Submitter: Jenkins
Branch: master

commit 7395c077f40bfae5c224e86ab277a1a823b1c092
Author: Greg Lucas <email address hidden>
Date: Fri Jul 18 11:08:00 2014 -0400

    Handle exception from pexpect child.close

    When pexpect child.close(force=True) is called to close a sudo process, an
    exception may be raised on certain operating systems. Terminating a sudo
    process as a non-root user succeeds on Ubuntu 12.04 but fails on 14.04.

    Handle this exception and try to kill the child process using 'sudo kill'.

    See related change https://review.openstack.org/#/c/100353 that addresses
    another instance of the same issue.

    Change-Id: I4bd9e4b98479e33604545713337440ce81ca64ee
    Partial-Bug: 1343344