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

MemIsolatorTest/{0,1}.MemUsage fails on OS X

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.24.0
    • Component/s: test
    • Labels:
    • Sprint:
      Mesosphere Sprint 16
    • Story Points:
      2

      Description

      Looks like this is due to mlockall being unimplemented on OS X.

      [----------] 1 test from MemIsolatorTest/0, where TypeParam = N5mesos8internal5slave23PosixMemIsolatorProcessE
      [ RUN      ] MemIsolatorTest/0.MemUsage
      Failed to allocate RSS memory: Failed to make pages to be mapped unevictable: Function not implemented../../src/tests/containerizer/isolator_tests.cpp:812: Failure
      helper.increaseRSS(allocation): Failed to sync with the subprocess
      ../../src/tests/containerizer/isolator_tests.cpp:815: Failure
      (usage).failure(): Failed to get usage: No process found at 40558
      [  FAILED  ] MemIsolatorTest/0.MemUsage, where TypeParam = N5mesos8internal5slave23PosixMemIsolatorProcessE (56 ms)
      [----------] 1 test from MemIsolatorTest/0 (57 ms total)
      
      [----------] 1 test from MemIsolatorTest/1, where TypeParam = N5mesos8internal5tests6ModuleINS_5slave8IsolatorELNS1_8ModuleIDE0EEE
      [ RUN      ] MemIsolatorTest/1.MemUsage
      Failed to allocate RSS memory: Failed to make pages to be mapped unevictable: Function not implemented../../src/tests/containerizer/isolator_tests.cpp:812: Failure
      helper.increaseRSS(allocation): Failed to sync with the subprocess
      ../../src/tests/containerizer/isolator_tests.cpp:815: Failure
      (usage).failure(): Failed to get usage: No process found at 40572
      [  FAILED  ] MemIsolatorTest/1.MemUsage, where TypeParam = N5mesos8internal5tests6ModuleINS_5slave8IsolatorELNS1_8ModuleIDE0EEE (50 ms)
      [----------] 1 test from MemIsolatorTest/1 (50 ms total)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hartem Artem Harutyunyan
                Reporter:
                mcypark Michael Park
                Shepherd:
                Michael Park
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: