From: Cyril Hrubis <chrubis@suse.cz>
To: kernel test robot <oliver.sang@intel.com>
Cc: Juri Lelli <juri.lelli@redhat.com>,
Brent Rowsell <browsell@redhat.com>,
Valentin Schneider <vschneid@redhat.com>,
Phil Auld <pauld@redhat.com>,
Vincent Guittot <vincent.guittot@linaro.org>,
yu.c.chen@intel.com, Peter Zijlstra <peterz@infradead.org>,
aubrey.li@linux.intel.com, linux-kernel@vger.kernel.org,
Steven Rostedt <rostedt@goodmis.org>,
Ben Segall <bsegall@google.com>, Peter Hunt <pehunt@redhat.com>,
Ingo Molnar <mingo@redhat.com>, Mel Gorman <mgorman@suse.de>,
oe-lkp@lists.linux.dev, Waiman Long <longman@redhat.com>,
Daniel Bristot de Oliveira <bristot@redhat.com>,
Dietmar Eggemann <dietmar.eggemann@arm.com>,
ltp@lists.linux.it, lkp@intel.com
Subject: Re: [LTP] [PATCH] sched/core: Use empty mask to reset cpumasks in sched_setaffinity()
Date: Mon, 17 Jul 2023 16:41:00 +0200 [thread overview]
Message-ID: <ZLVS_ANORaZO_ZIE@yuki> (raw)
In-Reply-To: <202307171539.3d8d0e8-oliver.sang@intel.com>
Hi!
> Running tests.......
> <<<test_start>>>
> tag=sched_setaffinity01 stime=1689382567
> cmdline="sched_setaffinity01"
> contacts=""
> analysis=exit
> <<<test_output>>>
> tst_test.c:1558: TINFO: Timeout per run is 0h 02m 30s
> sched_setaffinity01.c:83: TPASS: sched_setaffinity() failed: EFAULT (14)
> sched_setaffinity01.c:73: TFAIL: sched_setaffinity() succeded unexpectedly
> tst_test.c:1612: TINFO: If you are running on slow machine, try exporting LTP_TIMEOUT_MUL > 1
> tst_test.c:1614: TBROK: Test killed! (timeout?)
So what the test does is that it sets empty affinity mask to
sched_setaffinity() and expects EINVAL. Instead it looks like the call
now succeeeds, the test stops getting schedulled and is killed by
timeout.
--
Cyril Hrubis
chrubis@suse.cz
--
Mailing list info: https://lists.linux.it/listinfo/ltp
WARNING: multiple messages have this Message-ID (diff)
From: Cyril Hrubis <chrubis@suse.cz>
To: kernel test robot <oliver.sang@intel.com>
Cc: Waiman Long <longman@redhat.com>,
Juri Lelli <juri.lelli@redhat.com>,
Brent Rowsell <browsell@redhat.com>,
Valentin Schneider <vschneid@redhat.com>,
Phil Auld <pauld@redhat.com>,
Vincent Guittot <vincent.guittot@linaro.org>,
yu.c.chen@intel.com, Peter Zijlstra <peterz@infradead.org>,
aubrey.li@linux.intel.com, linux-kernel@vger.kernel.org,
Steven Rostedt <rostedt@goodmis.org>,
Ben Segall <bsegall@google.com>, Peter Hunt <pehunt@redhat.com>,
Ingo Molnar <mingo@redhat.com>, Mel Gorman <mgorman@suse.de>,
oe-lkp@lists.linux.dev,
Daniel Bristot de Oliveira <bristot@redhat.com>,
Dietmar Eggemann <dietmar.eggemann@arm.com>,
ltp@lists.linux.it, lkp@intel.com
Subject: Re: [LTP] [PATCH] sched/core: Use empty mask to reset cpumasks in sched_setaffinity()
Date: Mon, 17 Jul 2023 16:41:00 +0200 [thread overview]
Message-ID: <ZLVS_ANORaZO_ZIE@yuki> (raw)
In-Reply-To: <202307171539.3d8d0e8-oliver.sang@intel.com>
Hi!
> Running tests.......
> <<<test_start>>>
> tag=sched_setaffinity01 stime=1689382567
> cmdline="sched_setaffinity01"
> contacts=""
> analysis=exit
> <<<test_output>>>
> tst_test.c:1558: TINFO: Timeout per run is 0h 02m 30s
> sched_setaffinity01.c:83: TPASS: sched_setaffinity() failed: EFAULT (14)
> sched_setaffinity01.c:73: TFAIL: sched_setaffinity() succeded unexpectedly
> tst_test.c:1612: TINFO: If you are running on slow machine, try exporting LTP_TIMEOUT_MUL > 1
> tst_test.c:1614: TBROK: Test killed! (timeout?)
So what the test does is that it sets empty affinity mask to
sched_setaffinity() and expects EINVAL. Instead it looks like the call
now succeeeds, the test stops getting schedulled and is killed by
timeout.
--
Cyril Hrubis
chrubis@suse.cz
next prev parent reply other threads:[~2023-07-17 14:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-28 21:16 [PATCH] sched/core: Use empty mask to reset cpumasks in sched_setaffinity() Waiman Long
2023-07-03 10:26 ` Peter Zijlstra
2023-07-03 14:55 ` Waiman Long
2023-07-05 9:37 ` Peter Zijlstra
2023-07-05 14:07 ` Waiman Long
2023-07-17 7:43 ` [LTP] " kernel test robot
2023-07-17 7:43 ` kernel test robot
2023-07-17 14:41 ` Cyril Hrubis [this message]
2023-07-17 14:41 ` [LTP] " Cyril Hrubis
2023-07-21 2:13 ` Waiman Long
2023-07-21 2:13 ` Waiman Long
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=ZLVS_ANORaZO_ZIE@yuki \
--to=chrubis@suse.cz \
--cc=aubrey.li@linux.intel.com \
--cc=bristot@redhat.com \
--cc=browsell@redhat.com \
--cc=bsegall@google.com \
--cc=dietmar.eggemann@arm.com \
--cc=juri.lelli@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=longman@redhat.com \
--cc=ltp@lists.linux.it \
--cc=mgorman@suse.de \
--cc=mingo@redhat.com \
--cc=oe-lkp@lists.linux.dev \
--cc=oliver.sang@intel.com \
--cc=pauld@redhat.com \
--cc=pehunt@redhat.com \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=vincent.guittot@linaro.org \
--cc=vschneid@redhat.com \
--cc=yu.c.chen@intel.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.