public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Wanlong Gao <gaowanlong@cn.fujitsu.com>
To: Kang Kai <kai.kang@windriver.com>
Cc: ltp-list@lists.sourceforge.net,
	Zhenfeng Zhao <Zhenfeng.Zhao@windriver.com>
Subject: Re: [LTP] [PATCH 3/3] timer_settime/5-3: fix test hung
Date: Tue, 21 Aug 2012 12:01:55 +0800	[thread overview]
Message-ID: <50330833.1080708@cn.fujitsu.com> (raw)
In-Reply-To: <446368613.3052914.1344590200420.JavaMail.root@redhat.com>

On 08/10/2012 05:16 PM, Jan Stancek wrote:
> 
> ----- Original Message -----
>> > From: "Kang Kai" <kai.kang@windriver.com>
>> > To: ltp-list@lists.sourceforge.net
>> > Cc: "Zhenfeng Zhao" <Zhenfeng.Zhao@windriver.com>
>> > Sent: Thursday, 9 August, 2012 12:30:58 PM
>> > Subject: [LTP] [PATCH 3/3] timer_settime/5-3: fix test hung
>> > 
>> > This case hangs on sugarbay(intel x86_64) platform.
>> > 
>> > The root cause is that the case calls timer_settime with time which
>> > already took place and then calls sleep. When the timer expires and
>> > sends signal the sleep will be break.
>> > 
>> > But on sugarbay the timer always expires before the case enters
>> > sleep,
>> > then it always sleeps NUMTESTS * LONGSLEEPTIME seconds. So it exceeds
>> > the time limit set by auto-run test shell script, and reports that it
>> > hangs.
>> > 
>> > Decrease LONGSLEEPTIME value to avoid this issue.
>> > 
>> > Signed-off-by: Kang Kai <kai.kang@windriver.com>
> Looks good to me, 5 secs is still enough time.
> 
> Reviewed-by: Jan Stancek <jstancek@redhat.com>
> 

Pushed, thank you.

Wanlong Gao


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

      reply	other threads:[~2012-08-21  4:44 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-09 10:30 [LTP] Patches for posix test cases Kang Kai
2012-08-09 10:30 ` [LTP] [PATCH 1/3] pthread_cond_signal/1-1: use sched_yield to sync threads Kang Kai
2012-08-10 10:22   ` Jan Stancek
2012-08-13  2:50     ` Kang Kai
2012-08-23  1:57       ` Wanlong Gao
2012-08-09 10:30 ` [LTP] [PATCH 2/3] mq_open/16-1: use tmp file to share info Kang Kai
2012-08-10  9:31   ` Jan Stancek
2012-09-03  8:45   ` Kang Kai
2012-09-04  6:35     ` Jan Stancek
2012-09-04  9:44       ` Kang Kai
2012-09-04  5:33   ` Wanlong Gao
2012-09-04  7:40     ` Kang Kai
2012-09-04  8:27     ` Kang Kai
2012-09-04  8:41       ` Wanlong Gao
2012-09-04  8:45         ` Kang Kai
2012-08-09 10:30 ` [LTP] [PATCH 3/3] timer_settime/5-3: fix test hung Kang Kai
2012-08-10  9:16   ` Jan Stancek
2012-08-21  4:01     ` Wanlong Gao [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=50330833.1080708@cn.fujitsu.com \
    --to=gaowanlong@cn.fujitsu.com \
    --cc=Zhenfeng.Zhao@windriver.com \
    --cc=kai.kang@windriver.com \
    --cc=ltp-list@lists.sourceforge.net \
    /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