Messages in this thread | | | Date | Thu, 20 Jul 2023 22:13:48 -0400 | Subject | Re: [LTP] [PATCH] sched/core: Use empty mask to reset cpumasks in sched_setaffinity() | From | Waiman Long <> |
| |
On 7/17/23 10:41, Cyril Hrubis wrote: > 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. > I had sent out a v2 patch should not fail the LTP's sched_setaffinity() test.
Cheers, Longman
| |