[ https://issues.apache.org/jira/browse/MESOS-3050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14630212#comment-14630212 ]
Paul Brett commented on MESOS-3050: ----------------------------------- PerfEventIsolatorTest is due to incompatible perf output version, will be fixed by MESOS-2834. > Failing Docker/Cgroups/Volume tests in 0.23.0-rc3 on CentOS 7.1 > --------------------------------------------------------------- > > Key: MESOS-3050 > URL: https://issues.apache.org/jira/browse/MESOS-3050 > Project: Mesos > Issue Type: Bug > Components: containerization, docker, test > Affects Versions: 0.23.0 > Environment: CentOS Linux release 7.1.1503 > 0.23.0-rc3 > Reporter: Adam B > Assignee: Timothy Chen > > {code} > [ RUN ] DockerTest.ROOT_DOCKER_CheckPortResource > ../../src/tests/docker_tests.cpp:303: Failure > (run).failure(): Container exited on error: exited with status 1 > [ FAILED ] DockerTest.ROOT_DOCKER_CheckPortResource (709 ms) > {code} > ... > {code} > [ RUN ] PerfEventIsolatorTest.ROOT_CGROUPS_Sample > ../../src/tests/isolator_tests.cpp:837: Failure > isolator: Failed to create PerfEvent isolator, invalid events: { cycles, > task-clock } > [ FAILED ] PerfEventIsolatorTest.ROOT_CGROUPS_Sample (9 ms) > [----------] 1 test from PerfEventIsolatorTest (9 ms total) > > [----------] 2 tests from SharedFilesystemIsolatorTest > [ RUN ] SharedFilesystemIsolatorTest.ROOT_RelativeVolume > + mount -n --bind > /tmp/SharedFilesystemIsolatorTest_ROOT_RelativeVolume_4yTEAC/var/tmp /var/tmp > + touch /var/tmp/492407e1-5dec-4b34-8f2f-130430f41aac > ../../src/tests/isolator_tests.cpp:1001: Failure > Value of: os::exists(file) > Actual: true > Expected: false > [ FAILED ] SharedFilesystemIsolatorTest.ROOT_RelativeVolume (92 ms) > [ RUN ] SharedFilesystemIsolatorTest.ROOT_AbsoluteVolume > + mount -n --bind > /tmp/SharedFilesystemIsolatorTest_ROOT_AbsoluteVolume_OwYrXK /var/tmp > + touch /var/tmp/7de712aa-52eb-4976-b0f9-32b6a006418d > ../../src/tests/isolator_tests.cpp:1086: Failure > Value of: os::exists(path::join(containerPath, filename)) > Actual: true > Expected: false > [ FAILED ] SharedFilesystemIsolatorTest.ROOT_AbsoluteVolume (100 ms) > {code} > ... > {code} > [----------] 1 test from UserCgroupIsolatorTest/0, where TypeParam = > mesos::internal::slave::CgroupsMemIsolatorProcess > userdel: user 'mesos.test.unprivileged.user' does not exist > [ RUN ] UserCgroupIsolatorTest/0.ROOT_CGROUPS_UserCgroup > -bash: /sys/fs/cgroup/blkio/user.slice/cgroup.procs: Permission denied > mkdir: cannot create directory ‘/sys/fs/cgroup/blkio/user.slice/user’: > Permission denied > ../../src/tests/isolator_tests.cpp:1274: Failure > Value of: os::system( "su - " + UNPRIVILEGED_USERNAME + " -c 'mkdir " + > path::join(flags.cgroups_hierarchy, userCgroup) + "'") > Actual: 256 > Expected: 0 > -bash: /sys/fs/cgroup/blkio/user.slice/user/cgroup.procs: No such file or > directory > ../../src/tests/isolator_tests.cpp:1283: Failure > Value of: os::system( "su - " + UNPRIVILEGED_USERNAME + " -c 'echo $$ >" + > path::join(flags.cgroups_hierarchy, userCgroup, "cgroup.procs") + "'") > Actual: 256 > Expected: 0 > -bash: > /sys/fs/cgroup/memory/mesos/bbf8c8f0-3d67-40df-a269-b3dc6a9597aa/cgroup.procs: > Permission denied > -bash: /sys/fs/cgroup/cpuacct,cpu/user.slice/cgroup.procs: No such file or > directory > mkdir: cannot create directory ‘/sys/fs/cgroup/cpuacct,cpu/user.slice/user’: > No such file or directory > ../../src/tests/isolator_tests.cpp:1274: Failure > Value of: os::system( "su - " + UNPRIVILEGED_USERNAME + " -c 'mkdir " + > path::join(flags.cgroups_hierarchy, userCgroup) + "'") > Actual: 256 > Expected: 0 > -bash: /sys/fs/cgroup/cpuacct,cpu/user.slice/user/cgroup.procs: No such file > or directory > ../../src/tests/isolator_tests.cpp:1283: Failure > Value of: os::system( "su - " + UNPRIVILEGED_USERNAME + " -c 'echo $$ >" + > path::join(flags.cgroups_hierarchy, userCgroup, "cgroup.procs") + "'") > Actual: 256 > Expected: 0 > -bash: > /sys/fs/cgroup/name=systemd/user.slice/user-2004.slice/session-3865.scope/cgroup.procs: > No such file or directory > mkdir: cannot create directory > ‘/sys/fs/cgroup/name=systemd/user.slice/user-2004.slice/session-3865.scope/user’: > No such file or directory > ../../src/tests/isolator_tests.cpp:1274: Failure > Value of: os::system( "su - " + UNPRIVILEGED_USERNAME + " -c 'mkdir " + > path::join(flags.cgroups_hierarchy, userCgroup) + "'") > Actual: 256 > Expected: 0 > -bash: > /sys/fs/cgroup/name=systemd/user.slice/user-2004.slice/session-3865.scope/user/cgroup.procs: > No such file or directory > ../../src/tests/isolator_tests.cpp:1283: Failure > Value of: os::system( "su - " + UNPRIVILEGED_USERNAME + " -c 'echo $$ >" + > path::join(flags.cgroups_hierarchy, userCgroup, "cgroup.procs") + "'") > Actual: 256 > Expected: 0 > [ FAILED ] UserCgroupIsolatorTest/0.ROOT_CGROUPS_UserCgroup, where > TypeParam = mesos::internal::slave::CgroupsMemIsolatorProcess (1034 ms) > [----------] 1 test from UserCgroupIsolatorTest/0 (1034 ms total) > [----------] 1 test from UserCgroupIsolatorTest/1, where TypeParam = > mesos::internal::slave::CgroupsCpushareIsolatorProcess > userdel: user 'mesos.test.unprivileged.user' does not exist > [ RUN ] UserCgroupIsolatorTest/1.ROOT_CGROUPS_UserCgroup > -bash: /sys/fs/cgroup/blkio/user.slice/cgroup.procs: Permission denied > mkdir: cannot create directory ‘/sys/fs/cgroup/blkio/user.slice/user’: > Permission denied > ../../src/tests/isolator_tests.cpp:1274: Failure > Value of: os::system( "su - " + UNPRIVILEGED_USERNAME + " -c 'mkdir " + > path::join(flags.cgroups_hierarchy, userCgroup) + "'") > Actual: 256 > Expected: 0 > -bash: /sys/fs/cgroup/blkio/user.slice/user/cgroup.procs: No such file or > directory > ../../src/tests/isolator_tests.cpp:1283: Failure > Value of: os::system( "su - " + UNPRIVILEGED_USERNAME + " -c 'echo $$ >" + > path::join(flags.cgroups_hierarchy, userCgroup, "cgroup.procs") + "'") > Actual: 256 > Expected: 0 > -bash: > /sys/fs/cgroup/cpuacct,cpu/mesos/eeeb99f0-7c5c-4185-869d-635d51dcc6e1/cgroup.procs: > No such file or directory > mkdir: cannot create directory > ‘/sys/fs/cgroup/cpuacct,cpu/mesos/eeeb99f0-7c5c-4185-869d-635d51dcc6e1/user’: > No such file or directory > ../../src/tests/isolator_tests.cpp:1274: Failure > Value of: os::system( "su - " + UNPRIVILEGED_USERNAME + " -c 'mkdir " + > path::join(flags.cgroups_hierarchy, userCgroup) + "'") > Actual: 256 > Expected: 0 > -bash: > /sys/fs/cgroup/cpuacct,cpu/mesos/eeeb99f0-7c5c-4185-869d-635d51dcc6e1/user/cgroup.procs: > No such file or directory > ../../src/tests/isolator_tests.cpp:1283: Failure > Value of: os::system( "su - " + UNPRIVILEGED_USERNAME + " -c 'echo $$ >" + > path::join(flags.cgroups_hierarchy, userCgroup, "cgroup.procs") + "'") > Actual: 256 > Expected: 0 > -bash: > /sys/fs/cgroup/name=systemd/user.slice/user-2004.slice/session-3865.scope/cgroup.procs: > No such file or directory > mkdir: cannot create directory > ‘/sys/fs/cgroup/name=systemd/user.slice/user-2004.slice/session-3865.scope/user’: > No such file or directory > ../../src/tests/isolator_tests.cpp:1274: Failure > Value of: os::system( "su - " + UNPRIVILEGED_USERNAME + " -c 'mkdir " + > path::join(flags.cgroups_hierarchy, userCgroup) + "'") > Actual: 256 > Expected: 0 > -bash: > /sys/fs/cgroup/name=systemd/user.slice/user-2004.slice/session-3865.scope/user/cgroup.procs: > No such file or directory > ../../src/tests/isolator_tests.cpp:1283: Failure > Value of: os::system( "su - " + UNPRIVILEGED_USERNAME + " -c 'echo $$ >" + > path::join(flags.cgroups_hierarchy, userCgroup, "cgroup.procs") + "'") > Actual: 256 > Expected: 0 > [ FAILED ] UserCgroupIsolatorTest/1.ROOT_CGROUPS_UserCgroup, where > TypeParam = mesos::internal::slave::CgroupsCpushareIsolatorProcess (763 ms) > [----------] 1 test from UserCgroupIsolatorTest/1 (763 ms total) > [----------] 1 test from UserCgroupIsolatorTest/2, where TypeParam = > mesos::internal::slave::CgroupsPerfEventIsolatorProcess > userdel: user 'mesos.test.unprivileged.user' does not exist > [ RUN ] UserCgroupIsolatorTest/2.ROOT_CGROUPS_UserCgroup > ../../src/tests/isolator_tests.cpp:1200: Failure > isolator: Failed to create PerfEvent isolator, invalid events: { cpu-cycles } > [ FAILED ] UserCgroupIsolatorTest/2.ROOT_CGROUPS_UserCgroup, where > TypeParam = mesos::internal::slave::CgroupsPerfEventIsolatorProcess (6 ms) > [----------] 1 test from UserCgroupIsolatorTest/2 (6 ms total) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)