You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jian Qiu (JIRA)" <ji...@apache.org> on 2015/09/10 08:47:46 UTC

[jira] [Commented] (MESOS-3293) Failing ROOT_ tests on CentOS 7.1 - LimitedCpuIsolatorTest

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

Jian Qiu commented on MESOS-3293:
---------------------------------

../../src/tests/containerizer/isolator_tests.cpp:731: Failure
Value of: usage.get().processes()
Actual: 2
Expected: 1U
Which is: 1
../../src/tests/containerizer/isolator_tests.cpp:732: Failure
Value of: usage.get().threads()
Actual: 2
Expected: 1U
Which is: 1

The reason is that the test case run 'sh -c "while true; do sleep 1; done;"' in the container which generates one additional child process
root 18581 0.0 0.0 4448 1496 pts/0 S+ 04:06 0:00 sh -c while true; do sleep 1; done;
root 18592 0.0 0.0 7200 652 pts/0 S+ 04:06 0:00 sleep 1

So my proposal is either change the test command to something like "exec sleep 60" or change the expect value to 2


> Failing ROOT_ tests on CentOS 7.1 - LimitedCpuIsolatorTest
> ----------------------------------------------------------
>
>                 Key: MESOS-3293
>                 URL: https://issues.apache.org/jira/browse/MESOS-3293
>             Project: Mesos
>          Issue Type: Bug
>          Components: containerization, docker, test
>    Affects Versions: 0.23.0, 0.24.0
>         Environment: CentOS Linux release 7.1
> Linux 3.10.0
>            Reporter: Marco Massenzio
>            Priority: Blocker
>              Labels: mesosphere, tech-debt
>         Attachments: 20150818-mesos-tests.log
>
>
> h2. LimitedCpuIsolatorTest.ROOT_CGROUPS_Pids_and_Tids
> This is one of several ROOT failing tests: we want to track them *individually* and for each of them decide whether to:
> * fix;
> * remove; OR
> * redesign.
> (full verbose logs attached)
> h2. Steps to Reproduce
> Completely cleaned the build, removed directory, clean pull from {{master}} (SHA: {{fb93d93}}) - same results, 9 failed tests:
> {noformat}
> [==========] 751 tests from 114 test cases ran. (231218 ms total)
> [  PASSED  ] 742 tests.
> [  FAILED  ] 9 tests, listed below:
> [  FAILED  ] LimitedCpuIsolatorTest.ROOT_CGROUPS_Pids_and_Tids
> [  FAILED  ] UserCgroupIsolatorTest/1.ROOT_CGROUPS_UserCgroup, where TypeParam = mesos::internal::slave::CgroupsCpushareIsolatorProcess
> [  FAILED  ] ContainerizerTest.ROOT_CGROUPS_BalloonFramework
> [  FAILED  ] LinuxFilesystemIsolatorTest.ROOT_ChangeRootFilesystem
> [  FAILED  ] LinuxFilesystemIsolatorTest.ROOT_VolumeFromSandbox
> [  FAILED  ] LinuxFilesystemIsolatorTest.ROOT_VolumeFromHost
> [  FAILED  ] LinuxFilesystemIsolatorTest.ROOT_VolumeFromHostSandboxMountPoint
> [  FAILED  ] LinuxFilesystemIsolatorTest.ROOT_PersistentVolumeWithRootFilesystem
> [  FAILED  ] MesosContainerizerLaunchTest.ROOT_ChangeRootfs
>  9 FAILED TESTS
>   YOU HAVE 10 DISABLED TESTS
> {noformat}



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