[CRIU] Another zdtm failure question

Pavel Tikhomirov snorcht at gmail.com
Wed Nov 16 22:35:16 PST 2016


Also if you have CONFIG_RT_GROUP_SCHED in kernel config, you would likely
need to set /sys/fs/cgroup/cpu/user.slice/cpu.rt_runtime_us for cgroup in
which you run tests.


Best Regards, Tikhomirov Pavel.

2016-11-17 1:44 GMT+03:00 Andrei Vagin <avagin at virtuozzo.com>:

> 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
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20161117/1abe0afe/attachment-0001.html>


More information about the CRIU mailing list