You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Yan Xu (JIRA)" <ji...@apache.org> on 2017/04/28 23:34:04 UTC

[jira] [Commented] (MESOS-7049) CgroupsAnyHierarchyWithPerfEventTest.ROOT_CGROUPS_PERF_PerfTest is broken on Fedora 25.

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

Yan Xu commented on MESOS-7049:
-------------------------------

{noformat:title=}
commit 4a8dea80e8df494ef4c325f12c12418367b4720e
Author: James Peach <jp...@apache.org>
Date:   Wed Mar 8 16:51:22 2017 -0800

    Kill stray tasks when tearing down test cgroups.
    
    If a test case fails, it may leave stray tasks in the cgroup which keeps
    us from tearing it down when the test completes. Kill any stray tasks
    before destroying the cgroup.
    
    Review: https://reviews.apache.org/r/56730/

commit 623e467913f1a91a965c0c37397bac583c9706c1
Author: James Peach <jp...@apache.org>
Date:   Tue Mar 7 11:15:12 2017 -0800

    Mount all supported subsystems in the containerizer tests.
    
    Rather than a hard-coded list of subsystems, just mount everything we
    find that is supported.
    
    Review: https://reviews.apache.org/r/56733/
{noformat}

> CgroupsAnyHierarchyWithPerfEventTest.ROOT_CGROUPS_PERF_PerfTest is broken on Fedora 25.
> ---------------------------------------------------------------------------------------
>
>                 Key: MESOS-7049
>                 URL: https://issues.apache.org/jira/browse/MESOS-7049
>             Project: Mesos
>          Issue Type: Bug
>          Components: containerization, test
>            Reporter: James Peach
>            Assignee: James Peach
>             Fix For: 1.3.0
>
>
> *Test output:*
> {noformat}
> [==========] 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
> {noformat}
> *Software versions:*
> {noformat}
> [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
> {noformat}
> The test then fails to clean up, leaving stale processes and cgroups.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)