[LTP] Issue running cpuset_base_ops_testset shell script

Jan Stancek
2017-09-27T23:18:49Z

----- Original Message -----
> Hi again :)

Please CC also LTP list on replies.

>
> 2017-09-27 3:06 GMT-05:00 Jan Stancek <jstancek@redhat.com>:
> >
> > ----- Original Message -----
> >> **LTP Version: 20160920
> >
> > This is quite old.
> >
> >> Kernel Version: 3.10.0-327.el7.x86_64
> >> OS: CentOS Linux release 7.2.1511 (Core)**
> >>
> >> Good day, i'm trying to run this test script
> >> "**cpuset_base_ops_testset.sh**" but when i do that i have multiple
> >> errors related to some missing devices under **/dev/cpuset/** here is
> >> the output:
> >> ```
> >> opt/ltp/testcases/bin/cpuset_base_ops_testset.sh: line 58:
> >> /dev/cpuset/cpus: Permission denied
> >
> > And I assume you are running systemd, which mounts it elsewhere
> > and test can't cope with that.
> >
> > I think there was a patch posted:
> > http://lists.linux.it/pipermail/ltp/2017-April/004348.html
> > but it looks it might have been forgotten after the last release.
> >
> > Would you care to give it a try with latest LTP?
> >
> > Regards,
> > Jan
>
> Yes i'm using systemd and i already downloaded the last stable release
> and I have this output, i changed the operative system below the
> output and specs.

Have you also applied the patch I mentioned?

>
> OS: Red Hat Enterprise Linux Server release 7.2
> Kernel: 3.10.0-327.el7.x86_64
> LTP: 20170516
>
> Running tests.......
> <<<test_start>>>
> tag=cpuset_base_ops stime=1453936149
> cmdline="cpuset_base_ops_testset.sh"
> contacts=""
> analysis=exit
> <<<test_output>>>
> /opt/ltp/testcases/bin/cpuset_base_ops_testset.sh: line 58:
> /dev/cpuset/cpus: Permission denied

<snip>

Regards,
Jan