[jira] [Comment Edited] (MESOS-3215) CgroupsAnyHierarchyWithPerfEventTest failing on Ubuntu 14.04

2015-10-07 Thread haosdent (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-3215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14947139#comment-14947139
 ] 

haosdent edited comment on MESOS-3215 at 10/7/15 4:22 PM:
--

Also happens in CentOS 7.1. I use physical machine.



was (Author: haosd...@gmail.com):
Only happens in CentOS 7.1. I use physical machine.


> CgroupsAnyHierarchyWithPerfEventTest failing on Ubuntu 14.04
> 
>
> Key: MESOS-3215
> URL: https://issues.apache.org/jira/browse/MESOS-3215
> Project: Mesos
>  Issue Type: Bug
>Reporter: Artem Harutyunyan
>  Labels: mesosphere
>
> [ RUN  ] CgroupsAnyHierarchyWithPerfEventTest.ROOT_CGROUPS_Perf
> ../../src/tests/containerizer/cgroups_tests.cpp:172: Failure
> (cgroups::destroy(hierarchy, cgroup)).failure(): Failed to remove cgroup 
> '/sys/fs/cgroup/perf_event/mesos_test': Device or resource busy
> ../../src/tests/containerizer/cgroups_tests.cpp:190: Failure
> (cgroups::destroy(hierarchy, cgroup)).failure(): Failed to remove cgroup 
> '/sys/fs/cgroup/perf_event/mesos_test': Device or resource busy
> [  FAILED  ] CgroupsAnyHierarchyWithPerfEventTest.ROOT_CGROUPS_Perf (9 ms)
> [--] 1 test from CgroupsAnyHierarchyWithPerfEventTest (9 ms total)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (MESOS-3215) CgroupsAnyHierarchyWithPerfEventTest failing on Ubuntu 14.04

2015-09-24 Thread Jian Qiu (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-3215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14906054#comment-14906054
 ] 

Jian Qiu edited comment on MESOS-3215 at 9/24/15 8:57 AM:
--

I tested in Ubuntu 14.04 virtual environment and got the same error. The main 
reason is that perf does not support "cycle" in virtual env. 

perf stat ls

   cycles
 0  stalled-cycles-frontend   #0.00% frontend cycles 
idle
 0  stalled-cycles-backend#0.00% backend  cycles 
idle
 instructions
 branches
 branch-misses

However if I enable virtual CPU performance counter for my VM, the test is 
passed. 


was (Author: qiujian):
I tested in Ubuntu 14.04 virtual environment and get the same error. The main 
reason is that perf does not support "cycle" in virtual env. 

perf stat ls

   cycles
 0  stalled-cycles-frontend   #0.00% frontend cycles 
idle
 0  stalled-cycles-backend#0.00% backend  cycles 
idle
 instructions
 branches
 branch-misses

However if I enable virtual CPU performance counter, the test is passed. 

> CgroupsAnyHierarchyWithPerfEventTest failing on Ubuntu 14.04
> 
>
> Key: MESOS-3215
> URL: https://issues.apache.org/jira/browse/MESOS-3215
> Project: Mesos
>  Issue Type: Bug
>Reporter: Artem Harutyunyan
>  Labels: mesosphere
>
> [ RUN  ] CgroupsAnyHierarchyWithPerfEventTest.ROOT_CGROUPS_Perf
> ../../src/tests/containerizer/cgroups_tests.cpp:172: Failure
> (cgroups::destroy(hierarchy, cgroup)).failure(): Failed to remove cgroup 
> '/sys/fs/cgroup/perf_event/mesos_test': Device or resource busy
> ../../src/tests/containerizer/cgroups_tests.cpp:190: Failure
> (cgroups::destroy(hierarchy, cgroup)).failure(): Failed to remove cgroup 
> '/sys/fs/cgroup/perf_event/mesos_test': Device or resource busy
> [  FAILED  ] CgroupsAnyHierarchyWithPerfEventTest.ROOT_CGROUPS_Perf (9 ms)
> [--] 1 test from CgroupsAnyHierarchyWithPerfEventTest (9 ms total)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)