Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 454913 - [Realtime][Kernel] LTP test failure in sched_rr_get_interval02 testcase
Summary: [Realtime][Kernel] LTP test failure in sched_rr_get_interval02 testcase
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: realtime-kernel
Version: beta
Hardware: All
OS: Linux
low
low
Target Milestone: 1.0.1
: ---
Assignee: Red Hat Real Time Maintenance
QA Contact:
URL: http://rhts.redhat.com/cgi-bin/rhts/t...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-07-10 18:53 UTC by Jeff Burke
Modified: 2008-08-26 19:57 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-08-26 19:57:32 UTC
Target Upstream Version:


Attachments (Terms of Use)
Patch from Miao Xie for fix (deleted)
2008-07-10 18:53 UTC, Jeff Burke
no flags Details | Diff


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2008:0585 normal SHIPPED_LIVE Important: kernel security and bug fix update 2008-08-26 19:56:57 UTC

Description Jeff Burke 2008-07-10 18:53:12 UTC
Description of problem:
 While running the June LTP release we see a failure with test syscalls test
sched_rr_get_interval02.

Version-Release number of selected component (if applicable):
2.6.24-7.72.el5

How reproducible:
Always
 
Actual results:
Testcase                       Result     Exit Value
--------                       ------     ----------
sched_rr_get_interval02        FAIL       1

sched_rr_get_interval02    1  FAIL  :  Test Failed,
sched_rr_get_interval()returned 0, errno = 0 : Success, tp.tv_sec = 2,
tp.tv_nsec = 146673656
<<<test_start>>>
tag=sched_rr_get_interval02 stime=1215657134
cmdline="sched_rr_get_interval02"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
<<<execution_status>>>
duration=0 termination_type=exited termination_id=1 corefile=no
cutime=0 cstime=0
<<<test_end>>>

Expected results:
This should pass

Additional info:
This has been fixed upstream:

commit 1868f958eb56fc41c5985c8732e564a400c5fdf5
Author: Miao Xie <miaox@cn.fujitsu.com>
Date:   Fri Mar 7 09:35:06 2008 +0800

    sched: fix the wrong time slice value for SCHED_FIFO tasks
    
    Function sys_sched_rr_get_interval returns wrong time slice value for
    SCHED_FIFO tasks. The time slice for SCHED_FIFO tasks should be 0.
    
    Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

Upstream bug:
http://www.mail-archive.com/ltp-list@lists.sourceforge.net/msg01871.html

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=1868f958eb56fc41c5985c8732e564a400c5fdf5

Comment 1 Jeff Burke 2008-07-10 18:53:12 UTC
Created attachment 311503 [details]
Patch from Miao Xie for fix

Comment 5 errata-xmlrpc 2008-08-26 19:57:32 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2008-0585.html


Note You need to log in before you can comment on or make changes to this bug.