You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "haosdent (JIRA)" <ji...@apache.org> on 2016/02/11 18:14:18 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=15143071#comment-15143071 ] 

haosdent commented on MESOS-3296:
---------------------------------

{code}
[ RUN      ] LinuxFilesystemIsolatorTest.ROOT_ChangeRootFilesystem
I0212 01:11:25.390995 25282 linux.cpp:81] Making '/tmp/LinuxFilesystemIsolatorTest_ROOT_ChangeRootFilesystem_f15DnB' a shared mount
I0212 01:11:25.402125 25282 linux_launcher.cpp:101] Using /sys/fs/cgroup/freezer as the freezer hierarchy for the Linux launcher
I0212 01:11:25.404479 25282 systemd.cpp:223] systemd version `219` detected
I0212 01:11:25.405414 25303 containerizer.cpp:666] Starting container '720db9f5-14b8-4c1f-9d1c-1ad52a1ae3d7' for executor 'test_executor' of framework ''
I0212 01:11:25.407177 25299 provisioner.cpp:285] Provisioning image rootfs '/tmp/LinuxFilesystemIsolatorTest_ROOT_ChangeRootFilesystem_f15DnB/provisioner/containers/720db9f5-14b8-4c1f-9d1c-1ad52a1ae3d7/backends/copy/rootfses/b121c623-51db-4ab3-8daf-de3aae6c56d6' for container 720db9f5-14b8-4c1f-9d1c-1ad52a1ae3d7
I0212 01:11:28.773602 25299 linux.cpp:306] Bind mounting work directory from '/tmp/Pe7dyr/sandbox' to '/tmp/LinuxFilesystemIsolatorTest_ROOT_ChangeRootFilesystem_f15DnB/provisioner/containers/720db9f5-14b8-4c1f-9d1c-1ad52a1ae3d7/backends/copy/rootfses/b121c623-51db-4ab3-8daf-de3aae6c56d6/mnt/mesos/sandbox' for container 720db9f5-14b8-4c1f-9d1c-1ad52a1ae3d7
I0212 01:11:28.778959 25302 linux_launcher.cpp:304] Cloning child process with flags = CLONE_NEWNS
+ /home/haosdent/mesos/build/src/mesos-containerizer mount --help=false --operation=make-rslave --path=/
+ grep -E /tmp/LinuxFilesystemIsolatorTest_ROOT_ChangeRootFilesystem_f15DnB/.+ /proc/self/mountinfo
+ grep -v 720db9f5-14b8-4c1f-9d1c-1ad52a1ae3d7
+ cut '-d ' -f5
+ xargs --no-run-if-empty umount -l
Changing root to /tmp/LinuxFilesystemIsolatorTest_ROOT_ChangeRootFilesystem_f15DnB/provisioner/containers/720db9f5-14b8-4c1f-9d1c-1ad52a1ae3d7/backends/copy/rootfses/b121c623-51db-4ab3-8daf-de3aae6c56d6
I0212 01:11:28.972585 25299 containerizer.cpp:1585] Executor for container '720db9f5-14b8-4c1f-9d1c-1ad52a1ae3d7' has exited
I0212 01:11:28.972681 25299 containerizer.cpp:1369] Destroying container '720db9f5-14b8-4c1f-9d1c-1ad52a1ae3d7'
I0212 01:11:28.977098 25297 cgroups.cpp:2427] Freezing cgroup /sys/fs/cgroup/freezer/mesos/720db9f5-14b8-4c1f-9d1c-1ad52a1ae3d7
I0212 01:11:28.980403 25296 cgroups.cpp:1409] Successfully froze cgroup /sys/fs/cgroup/freezer/mesos/720db9f5-14b8-4c1f-9d1c-1ad52a1ae3d7 after 3.208704ms
I0212 01:11:28.983417 25298 cgroups.cpp:2445] Thawing cgroup /sys/fs/cgroup/freezer/mesos/720db9f5-14b8-4c1f-9d1c-1ad52a1ae3d7
I0212 01:11:28.986616 25296 cgroups.cpp:1438] Successfullly thawed cgroup /sys/fs/cgroup/freezer/mesos/720db9f5-14b8-4c1f-9d1c-1ad52a1ae3d7 after 3.096832ms
I0212 01:11:28.990787 25303 linux.cpp:768] Unmounting sandbox/work directory '/tmp/LinuxFilesystemIsolatorTest_ROOT_ChangeRootFilesystem_f15DnB/provisioner/containers/720db9f5-14b8-4c1f-9d1c-1ad52a1ae3d7/
backends/copy/rootfses/b121c623-51db-4ab3-8daf-de3aae6c56d6/mnt/mesos/sandbox' for container 720db9f5-14b8-4c1f-9d1c-1ad52a1ae3d7
I0212 01:11:28.991528 25300 provisioner.cpp:330] Destroying container rootfs at '/tmp/LinuxFilesystemIsolatorTest_ROOT_ChangeRootFilesystem_f15DnB/provisioner/containers/720db9f5-14b8-4c1f-9d1c-1ad52a1ae3
d7/backends/copy/rootfses/b121c623-51db-4ab3-8daf-de3aae6c56d6' for container 720db9f5-14b8-4c1f-9d1c-1ad52a1ae3d7
../../src/tests/containerizer/filesystem_isolator_tests.cpp:284: Failure
Failed to wait 15secs for wait
[  FAILED  ] LinuxFilesystemIsolatorTest.ROOT_ChangeRootFilesystem (43267 ms)
[----------] 1 test from LinuxFilesystemIsolatorTest (43267 ms total)

[----------] Global test environment tear-down
../../src/tests/environment.cpp:728: Failure
Failed
Tests completed with child processes remaining:
-+- 25282 /home/haosdent/mesos/build/src/.libs/lt-mesos-tests --gtest_filter=LinuxFilesystemIsolatorTest.ROOT_ChangeRootFilesystem --verbose
 \--- 25367 ()
[==========] 1 test from 1 test case ran. (43468 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] LinuxFilesystemIsolatorTest.ROOT_ChangeRootFilesystem
{code}

I try updated systemd, but not works.
{code}
# rpm -qa|grep systemd
systemd-219-19.el7.x86_64
systemd-sysv-219-19.el7.x86_64
systemd-libs-219-19.el7.x86_64
{code}

> 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
>            Assignee: Greg Mann
>            Priority: Blocker
>              Labels: mesosphere, tech-debt
>             Fix For: 0.24.0
>
>
> 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)