You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Alexander Rukletsov (JIRA)" <ji...@apache.org> on 2017/10/27 14:42:00 UTC

[jira] [Updated] (MESOS-1150) MemIsolatorTest test is flaky

     [ https://issues.apache.org/jira/browse/MESOS-1150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Rukletsov updated MESOS-1150:
---------------------------------------
    Labels: flaky flaky-test  (was: flaky)

> MemIsolatorTest test is flaky
> -----------------------------
>
>                 Key: MESOS-1150
>                 URL: https://issues.apache.org/jira/browse/MESOS-1150
>             Project: Mesos
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.18.0
>            Reporter: Ian Downes
>              Labels: flaky, flaky-test
>
> Isolator tests need proper SetUp and TearDown for dealing with cgroups.
> {noformat}
> # ./bin/mesos-tests.sh --gtest_filter="*Mem*Isolator*"
> Source directory: /home/idownes/workspace/mesos
> Build directory: /home/idownes/workspace/mesos/build
> -------------------------------------------------------------
> We cannot run any cgroups tests that require mounting
> hierarchies because you have the following hierarchies mounted:
> /sys/fs/cgroup/cpu, /sys/fs/cgroup/cpuacct, /sys/fs/cgroup/freezer, /sys/fs/cgroup/memory
> We'll disable the CgroupsNoHierarchyTest test fixture for now.
> -------------------------------------------------------------
> Note: Google Test filter = *Mem*Isolator*-CgroupsNoHierarchyTest.ROOT_CGROUPS_NOHIERARCHY_MountUnmountHierarchy:
> [==========] Running 2 tests from 2 test cases.
> [----------] Global test environment set-up.
> [----------] 1 test from MemIsolatorTest/0, where TypeParam = mesos::internal::slave::PosixMemIsolatorProcess
> [ RUN      ] MemIsolatorTest/0.MemUsage
> [       OK ] MemIsolatorTest/0.MemUsage (2005 ms)
> [----------] 1 test from MemIsolatorTest/0 (2006 ms total)
> [----------] 1 test from MemIsolatorTest/1, where TypeParam = mesos::internal::slave::CgroupsMemIsolatorProcess
> [ RUN      ] MemIsolatorTest/1.MemUsage
> ../../src/tests/isolator_tests.cpp:518: Failure
> (isolator.get()->prepare(containerId, executorInfo)).failure(): Failed to prepare isolator: cgroup already exists
> [  FAILED  ] MemIsolatorTest/1.MemUsage, where TypeParam = mesos::internal::slave::CgroupsMemIsolatorProcess (6 ms)
> [----------] 1 test from MemIsolatorTest/1 (6 ms total)
> [----------] Global test environment tear-down
> [==========] 2 tests from 2 test cases ran. (2023 ms total)
> [  PASSED  ] 1 test.
> [  FAILED  ] 1 test, listed below:
> [  FAILED  ] MemIsolatorTest/1.MemUsage, where TypeParam = mesos::internal::slave::CgroupsMemIsolatorProcess
>  1 FAILED TEST
>   YOU HAVE 1 DISABLED TEST
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)