root@lxc1:/usr/share/cgmanager/tests# ./runtests.sh
Note: real uid is 1000 gid is 1000 user is
mount: block device cgroup is write-protected, mounting read-only
mount: cannot mount block device cgroup read-only
rmdir: failed to remove '/sys/fs/cgroup/b': No such file or directory
rmdir: failed to remove '/sys/fs/cgroup/xxx/b': No such file or directory
rmdir: failed to remove '/sys/fs/cgroup/zzz/b': No such file or directory
rmdir: failed to remove '/sys/fs/cgroup/zzz': No such file or directory
mkdir: cannot create directory '/sys/fs/cgroup/xxx': File exists
umount: /sys/fs/cgroup: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
Test 1: getValue
Test 2 (getMyCgroup)
Test 3 (Create)
Test 5 (../ getValue)
Test 6 (movepid)
1
method return sender=(null sender) -> dest=(null destination) reply_serial=1
2
4
method return sender=(null sender) -> dest=(null destination) reply_serial=1
5
Test 7 (non-root movepid)
Error org.freedesktop.DBus.Error.InvalidArgs: invalid request
Test 8 (movepid self)
method return sender=(null sender) -> dest=(null destination) reply_serial=1
Test 9 (Chown)
mount: block device cgroup is write-protected, mounting read-only
mount: cannot mount block device cgroup read-only
Chowned zzz, but cannot verify the result
umount: /tmp/tmp.ePNDljkI6J: not mounted
test 10: unpriv movepid to chowned directory
method return sender=(null sender) -> dest=(null destination) reply_serial=1
test 11: unpriv setvalue to first cgroup
test 12: valid unpriv cgroup creation
test 13: valid unprivileged setvalue
int32 1
int32 -1
Test 14 (Remove)
Test 14 (nrtasks)
./test15.sh: line 22: 2032 Killed sleep 200
test 16: INvalid unprivileged setvalue
int32 1
int32 -1
test 17: chown
mount: block device cgroup is write-protected, mounting read-only
mount: cannot mount block device cgroup read-only
int32 1
int32 -1
Cannot verify results
int32 1
int32 -1
Error org.freedesktop.DBus.Error.InvalidArgs: invalid request
test 17 (chmod) passed
umount: /tmp/tmp.LCpkNbHNxk: not mounted
test 18: api_version
method return sender=(null sender) -> dest=(null destination) reply_serial=1
variant int32 4
test 19: escape
method return sender=(null sender) -> dest=(null destination) reply_serial=1
int32 1
method return sender=(null sender) -> dest=(null destination) reply_serial=1
method return sender=(null sender) -> dest=(null destination) reply_serial=1
Error org.freedesktop.DBus.Error.InvalidArgs: invalid request
Test 20: ListChildren
method return sender=(null sender) -> dest=(null destination) reply_serial=1
array [
string "xxx"
string "zzz"
string "ooga"
string "escapetest"
string "test21_cg"
string "testchown"
]
method return sender=(null sender) -> dest=(null destination) reply_serial=1
int32 -1
Error org.freedesktop.DBus.Error.InvalidArgs: invalid request
method return sender=(null sender) -> dest=(null destination) reply_serial=1
int32 1
method return sender=(null sender) -> dest=(null destination) reply_serial=1
array [
]
Test 21: remove_on_empty
Error org.freedesktop.DBus.Error.InvalidArgs: Invalid arguments to Remove method
Error org.freedesktop.DBus.Error.InvalidArgs: Invalid arguments to Remove method
method return sender=(null sender) -> dest=(null destination) reply_serial=1
int32 1
method return sender=(null sender) -> dest=(null destination) reply_serial=1
int32 1
method return sender=(null sender) -> dest=(null destination) reply_serial=1
method return sender=(null sender) -> dest=(null destination) reply_serial=1
Error org.freedesktop.DBus.Error.InvalidArgs: invalid request
./test21.sh: line 21: 2099 Terminated sleep 200
Failed to remove-on-empty
Test 21 failed.