[CRIU] Another zdtm failure question

Andrei Vagin avagin at virtuozzo.com
Wed Nov 16 14:44:32 PST 2016


On Wed, Nov 16, 2016 at 10:10:28PM +0100, Adrian Reber wrote:
> I have another test case which fails on my old kernel as well as on a
> 4.8 kernel:
> 
> # ./zdtm.py run  -f h -t zdtm/static/sched_policy00 
> === Run 1/1 ================
> 
> ===================== Run zdtm/static/sched_policy00 in h ======================
> Start test
> Test is SUID
> ./sched_policy00 --pidfile=sched_policy00.pid --outfile=sched_policy00.out
> make: *** [sched_policy00.pid] Error 1
> ################ Test zdtm/static/sched_policy00 FAIL at start #################
> Test output: ================================
> 21:07:43.833:    30: ERR: sched_policy00.c:38: Can't set policy (errno = 1 (Operation not permitted))
> 21:07:43.833:    29: ERR: test.c:229: Test exited unexpectedly with code 255

Could you check that cpu.cfs_period_us is set to non-zero value?

$ cat /sys/fs/cgroup/cpu/user.slice/user-1000.slice/cpu.cfs_period_us
100000

> 
>  <<< ================================
> ##################################### FAIL #####################################
> 
> Any idea why this test case is failing?
> 
> 		Adrian


More information about the CRIU mailing list