Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-3379

LinuxFilesystemIsolatorTest.ROOT_VolumeFromHostSandboxMountPoint is failed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.27.0
    • None

    Description

      sudo GLOG_v=1 ./bin/mesos-tests.sh --gtest_filter="LinuxFilesystemIsolatorTest.ROOT_VolumeFromHostSandboxMountPoint" --verbose
      

      failed in Ubuntu 14.04

      Just a problem when investing MESOS-3349 PersistentVolumeTest.AccessPersistentVolume fails when run as root.

      In LinuxFilesystemIsolatorProcess::cleanup, when we read mount table and umount. The order should use reverse order. Suppose our mount order is

      mount /tmp/a /tmp/b
      mount /tmp/c /tmp/b/c
      

      Currently we umount logic in cleanup is

      umount /tmp/b
      umount /tmp/b/c <- Wrong
      

      This is the reason why ROOT_VolumeFromHostSandboxMountPoint failed.

      Attachments

        Issue Links

          Activity

            People

              tnachen Timothy Chen
              haosdent@gmail.com haosdent
              Timothy Chen Timothy Chen
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: