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

[jira] [Commented] (MESOS-3296) Failing ROOT_ tests on CentOS 7.1 - LinuxFilesystemIsolatorTest

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

Greg Mann commented on MESOS-3296:
----------------------------------

It looks like all of the LinuxFilesystemIsolator tests are failing on CentOS because they don't have access to {{sh}}; they attempt to run a command through the shell and {{execlp()}} gives {{errno = 2}}, file not found. I'm guessing this may be due to the simple fact that CentOS doesn't have a discrete {{/bin}} directory, but rather it's just a symlink to {{/usr/bin}}. This is in contrast to Ubuntu which has a separate {{/bin}}. I can't seem to find where we are mounting {{/bin}} in the isolator creation process, perhaps somebody with more intimate knowledge of this code ([~idownes], [~jieyu]?) could shed some light on it.

> Failing ROOT_ tests on CentOS 7.1 - LinuxFilesystemIsolatorTest
> ---------------------------------------------------------------
>
>                 Key: MESOS-3296
>                 URL: https://issues.apache.org/jira/browse/MESOS-3296
>             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
>
> h2. LinuxFilesystemIsolatorTest
> 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)