From: Jan Stancek <jstancek@redhat.com>
To: ltp@lists.linux.it
Subject: [LTP] sched_rr_get_interval01 , sched_rr_get_interval02 , sched_rr_get_interval03 testcase failure
Date: Tue, 9 Jun 2020 02:25:53 -0400 (EDT) [thread overview]
Message-ID: <1150717403.15265201.1591683953555.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <BMXPR01MB2344728D919729E8F7F007EBEE820@BMXPR01MB2344.INDPRD01.PROD.OUTLOOK.COM>
----- Original Message -----
> Hi Jan Stancek,
> Thanks for your response.All of the following test are failing w.r.t sched
>
> 1) sched_setparam02
> 2) sched_setparam03
> 3) sched_getscheduler01
That suggests it could be cpu.rt_runtime_us == 0, since all tests are
trying to use realtime scheduler.
>
> root@exaleapsemi-r2:/opt/ltp# strace ./runltp -s sched_setparam02
Above doesn't help much, since you are not tracing child processes.
1. Can you run this instead:
/opt/ltp# strace ./testcases/bin/sched_setparam02
2. Can you check what is the cpu.rt_runtime_us for pid that runs the test?
# cpu_mnt=$(mount | grep "type cgroup (.*cpu[,)]" | awk '{print $3}')
# p=$(cat /proc/self/cgroup | grep ":cpu[:,]" | sed "s/.*://")
# cat $cpu_mnt/$p/cpu.rt_runtime_us
next prev parent reply other threads:[~2020-06-09 6:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-08 12:19 [LTP] sched_rr_get_interval01 , sched_rr_get_interval02 , sched_rr_get_interval03 testcase failure Pankaj Vinadrao Joshi
2020-06-08 14:52 ` Jan Stancek
[not found] ` <BMXPR01MB2344728D919729E8F7F007EBEE820@BMXPR01MB2344.INDPRD01.PROD.OUTLOOK.COM>
2020-06-09 6:25 ` Jan Stancek [this message]
2020-06-09 6:39 ` Pankaj Vinadrao Joshi
2020-06-09 6:48 ` Jan Stancek
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=1150717403.15265201.1591683953555.JavaMail.zimbra@redhat.com \
--to=jstancek@redhat.com \
--cc=ltp@lists.linux.it \
/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