public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] fork13 failure on RHEL 6.0
@ 2011-05-24 18:30 Sandip Bhattacharya
  2011-05-24 19:03 ` Caspar Zhang
  0 siblings, 1 reply; 2+ messages in thread
From: Sandip Bhattacharya @ 2011-05-24 18:30 UTC (permalink / raw)
  To: ltp-list@lists.sourceforge.net

I am getting repeated failures on RHEL 6.0 for the fork13 test. Has
anybody else run this test on RHEL 6? This is with the latest patch for
fork13.c incorporated into the source.

Here is the output that I am getting. The "wait return value" error is
intermittent.

    <<<test_start>>>
    tag=fork13 stime=1306261161
    cmdline="fork13 -c 2 -i 1000000"
    contacts=""
    analysis=exit
    <<<test_output>>>
    fork13      1  TFAIL  :  Unexpected pid sequence: previous fork: pid=14676, current fork: pid=14676 for iteration=75939.
    fork13      1  TFAIL  :  Wait return value: expected pid=14678, got 21800, iteration 78525.
    incrementing stop
    <<<execution_status>>>
    initiation_status="ok"
    duration=13 termination_type=exited termination_id=1 corefile=no
    cutime=258 cstime=2550
    <<<test_end>>>

I understand that this is a test to check a pid reuse race condition. So
if this test fails, is it very naive to assume that the kernel doesn't have the
patch which fixes this issue? [1] Or could there be a problem with the
test itself?

[1] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5fdee8c4a5e1800489ce61963208f8cc55e42ea1

Thanks,
  Sandip


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LTP] fork13 failure on RHEL 6.0
  2011-05-24 18:30 [LTP] fork13 failure on RHEL 6.0 Sandip Bhattacharya
@ 2011-05-24 19:03 ` Caspar Zhang
  0 siblings, 0 replies; 2+ messages in thread
From: Caspar Zhang @ 2011-05-24 19:03 UTC (permalink / raw)
  To: Sandip Bhattacharya; +Cc: ltp-list@lists.sourceforge.net

On 05/25/2011 02:30 AM, Sandip Bhattacharya wrote:
> I am getting repeated failures on RHEL 6.0 for the fork13 test. Has
> anybody else run this test on RHEL 6? This is with the latest patch for
> fork13.c incorporated into the source.
> 
> Here is the output that I am getting. The "wait return value" error is
> intermittent.
> 
>     <<<test_start>>>
>     tag=fork13 stime=1306261161
>     cmdline="fork13 -c 2 -i 1000000"
>     contacts=""
>     analysis=exit
>     <<<test_output>>>
>     fork13      1  TFAIL  :  Unexpected pid sequence: previous fork: pid=14676, current fork: pid=14676 for iteration=75939.
>     fork13      1  TFAIL  :  Wait return value: expected pid=14678, got 21800, iteration 78525.
>     incrementing stop
>     <<<execution_status>>>
>     initiation_status="ok"
>     duration=13 termination_type=exited termination_id=1 corefile=no
>     cutime=258 cstime=2550
>     <<<test_end>>>
> 
> I understand that this is a test to check a pid reuse race condition. So
> if this test fails, is it very naive to assume that the kernel doesn't have the
> patch which fixes this issue? [1] Or could there be a problem with the
> test itself?
> 
> [1] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5fdee8c4a5e1800489ce61963208f8cc55e42ea1

Hi, the above commit was not included in RHEL6.0 kernel, which caused
the test producing TFAIL. The test itself was OK.

Thanks,
Caspar

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-24 19:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-24 18:30 [LTP] fork13 failure on RHEL 6.0 Sandip Bhattacharya
2011-05-24 19:03 ` Caspar Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox