From: Jan Stancek <jstancek@redhat.com>
To: ltp@lists.linux.it
Subject: [LTP] cgroup_regression_test failed in CentOS 7.2
Date: Fri, 27 May 2016 06:35:25 -0400 (EDT) [thread overview]
Message-ID: <2095793802.2123498.1464345325799.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <CAAUgArA3oBMmf4YJebREKXYyE_XfQnsw3_eO1gV-K_b8FaKnFg@mail.gmail.com>
----- Original Message -----
> From: "Dong ZHu" <bluezhudong@gmail.com>
> To: ltp@lists.linux.it
> Sent: Friday, 27 May, 2016 4:25:41 AM
> Subject: [LTP] cgroup_regression_test failed in CentOS 7.2
>
> Hi All,
>
> I ran LTP test suite in CentOS 7.2 with kernel 3.10.0-327, test named
> "cgroup_regression_test" Test 3 and Test 5 always failed as below:
> http://pastebin.ubuntu.com/16703246/
>
> Test 3 failed when execute "mount -t cgroup -o cpu xxx cgroup/"
> Test 5 failed when execute "mount -t cgroup -o $subsys1,$subsys2 xxx cgroup/"
>
> cpu, hugetlb and perf_event has already been mounted in sys as below:
> http://pastebin.ubuntu.com/16703384/
>
> So the mount operation will definitely fail in the test.
>
> I just want to know whether it is the test program issue, and whether it can
> be waived ?
This is known to happen on systemd distros, where systemd mounts specific
subsystems together and LTP test wants to mount just one.
In those cases you should get -EBUSY as described in Documentation/cgroup-v1/cgroups.txt:
"If an active hierarchy with exactly the same set of subsystems already
exists, it will be reused for the new mount. If no existing hierarchy
matches, and any of the requested subsystems are in use in an existing
hierarchy, the mount will fail with -EBUSY. Otherwise, a new hierarchy
is activated, associated with the requested subsystems."
Regards,
Jan
next prev parent reply other threads:[~2016-05-27 10:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-27 2:25 [LTP] cgroup_regression_test failed in CentOS 7.2 Dong ZHu
2016-05-27 10:35 ` Jan Stancek [this message]
2016-05-27 14:08 ` Dong ZHu
2016-05-30 10:20 ` Jan Stancek
-- strict thread matches above, loose matches on Subject: below --
2016-05-26 9:24 Dong ZHu
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=2095793802.2123498.1464345325799.JavaMail.zimbra@redhat.com \
--to=jstancek@redhat.com \
--cc=ltp@lists.linux.it \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox