[ 
https://issues.apache.org/jira/browse/MESOS-3215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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

 <not supported>      cycles
                 0      stalled-cycles-frontend   #    0.00% frontend cycles 
idle
                 0      stalled-cycles-backend    #    0.00% backend  cycles 
idle
   <not supported>      instructions
   <not supported>      branches
   <not supported>      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

 <not supported>      cycles
                 0      stalled-cycles-frontend   #    0.00% frontend cycles 
idle
                 0      stalled-cycles-backend    #    0.00% backend  cycles 
idle
   <not supported>      instructions
   <not supported>      branches
   <not supported>      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)

Reply via email to