From: "Serge E. Hallyn" <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
To: Sukadev Bhattiprolu
<sukadev-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
Cc: Containers
<containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org>
Subject: Re: [PATCH][cr-test]: run-fcntltests.sh: Thaw and cleanup processes on error
Date: Tue, 9 Feb 2010 14:32:51 -0600 [thread overview]
Message-ID: <20100209203251.GA30691@us.ibm.com> (raw)
In-Reply-To: <20100209193155.GA30005-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Quoting Sukadev Bhattiprolu (sukadev-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org):
> From: Sukadev Bhattiprolu <sukadev-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
> Date: Tue, 9 Feb 2010 11:08:22 -0800
> Subject: [PATCH][cr-test]: run-fcntltests.sh: Thaw and cleanup processes on error
>
> If the fcntl tests (filelock[12], filelease1 and fsetown1) fail during
> checkpoint, the processes end up frozen and appear hung. Thaw the
> processes and terminate them before exiting the script.
>
> Bug reported by Serge Hallyn.
Thanks, will push this and the eclone tests.
> Signed-off-by: Sukadev Bhattiprolu <sukadev-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
> ---
> fileio/run-fcntltests.sh | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/fileio/run-fcntltests.sh b/fileio/run-fcntltests.sh
> index f76c942..35be131 100755
> --- a/fileio/run-fcntltests.sh
> +++ b/fileio/run-fcntltests.sh
> @@ -54,6 +54,8 @@ checkpoint()
> if [ $ret -ne 0 ]; then
> $ECHO "***** FAIL: Checkpoint of $pid failed"
> ps -efL |grep $TEST_CMD >> $SCRIPT_LOG
> + killall -9 `basename $TEST_CMD`
> + thaw
> exit 1;
> fi
> }
> --
> 1.6.6.1
prev parent reply other threads:[~2010-02-09 20:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-09 19:31 [PATCH][cr-test]: run-fcntltests.sh: Thaw and cleanup processes on error Sukadev Bhattiprolu
[not found] ` <20100209193155.GA30005-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2010-02-09 20:32 ` Serge E. Hallyn [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100209203251.GA30691@us.ibm.com \
--to=serue-r/jw6+rmf7hqt0dzr+alfa@public.gmane.org \
--cc=containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
--cc=sukadev-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox