Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Test output:
[==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from CgroupsAnyHierarchyWithPerfEventTest [ RUN ] CgroupsAnyHierarchyWithPerfEventTest.ROOT_CGROUPS_PERF_PerfTest ../../src/tests/containerizer/cgroups_tests.cpp:1020: Failure (statistics).failure(): Failed to parse perf sample: Failed to parse perf sample line '6186960975,,cycles,mesos_test,2000511515,100.00,3.093,GHz': Unexpected number of fields ../../src/tests/containerizer/cgroups_tests.cpp:193: 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_PerfTest (2123 ms) [----------] 1 test from CgroupsAnyHierarchyWithPerfEventTest (2123 ms total) [----------] Global test environment tear-down ../../src/tests/environment.cpp:836: Failure Failed Tests completed with child processes remaining: -+- 20455 /home/jpeach/upstream/mesos/build/src/.libs/mesos-tests --verbose --gtest_filter=CgroupsAnyHierarchyWithPerfEventTest.ROOT_CGROUPS_PERF_PerfTest \--- 20500 /home/jpeach/upstream/mesos/build/src/.libs/mesos-tests --verbose --gtest_filter=CgroupsAnyHierarchyWithPerfEventTest.ROOT_CGROUPS_PERF_PerfTest [==========] 1 test from 1 test case ran. (2141 ms total) [ PASSED ] 0 tests. [ FAILED ] 1 test, listed below: [ FAILED ] CgroupsAnyHierarchyWithPerfEventTest.ROOT_CGROUPS_PERF_PerfTest
Software versions:
[jpeach@jpeach src]$ uname -a Linux jpeach.apple.com 4.9.6-200.fc25.x86_64 #1 SMP Thu Jan 26 10:17:45 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux [jpeach@jpeach src]$ perf -v perf version 4.9.6.200.fc25.x86_64.g51a0 [jpeach@jpeach src]$ cat /etc/os-release NAME=Fedora VERSION="25 (Workstation Edition)" ID=fedora VERSION_ID=25 PRETTY_NAME="Fedora 25 (Workstation Edition)" ANSI_COLOR="0;34" CPE_NAME="cpe:/o:fedoraproject:fedora:25" HOME_URL="https://fedoraproject.org/" BUG_REPORT_URL="https://bugzilla.redhat.com/" REDHAT_BUGZILLA_PRODUCT="Fedora" REDHAT_BUGZILLA_PRODUCT_VERSION=25 REDHAT_SUPPORT_PRODUCT="Fedora" REDHAT_SUPPORT_PRODUCT_VERSION=25 PRIVACY_POLICY_URL=https://fedoraproject.org/wiki/Legal:PrivacyPolicy VARIANT="Workstation Edition" VARIANT_ID=workstation
The test then fails to clean up, leaving stale processes and cgroups.
Attachments
Issue Links
- is related to
-
MESOS-4705 Linux 'perf' parsing logic may fail when OS distribution has perf backports.
- Resolved