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

PosixRLimitsIsolatorTest.UnsetLimits is broken on macOS 10.14.2 beta3.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Resolved
    • Affects Version/s: 1.8.0
    • Fix Version/s: 1.8.0
    • Component/s: test
    • Labels:
    • Environment:

      macOS 10.14.2 Beta 3 (18C38b)
      Apple LLVM version 10.0.0 (clang-1000.11.45.5)
      cmake version 3.12.4
      ninja 1.8.2

      Description

      It appears that changes in macOS are now preventing the setup of rlimit for non root users.

      3: [ RUN      ] PosixRLimitsIsolatorTest.UnsetLimits
      3: Failed to set RLMT_CORE limit: Failed to set rlimit: Operation not permitted
      3: ../src/tests/containerizer/posix_rlimits_isolator_tests.cpp:194: Failure
      3:       Expected: TASK_STARTING
      3: To be equal to: statusStarting->state()
      3:       Which is: TASK_FAILED
      3: ../src/tests/containerizer/posix_rlimits_isolator_tests.cpp:196: Failure
      3: Failed to wait 15secs for statusRunning
      3: ../src/tests/containerizer/posix_rlimits_isolator_tests.cpp:185: Failure
      3: Actual function call count doesn't match EXPECT_CALL(sched, statusUpdate(&driver, _))...
      3:          Expected: to be called 3 times
      3:            Actual: called once - unsatisfied and active
      3: [  FAILED  ] PosixRLimitsIsolatorTest.UnsetLimits (15209 ms)
      

      It is still unclear if this was just a beta-quirk or intended behaviour in upcoming macOS versions.

        Attachments

          Activity

            People

            • Assignee:
              bbannier Benjamin Bannier
              Reporter:
              tillt Till Toenshoff
              Shepherd:
              Till Toenshoff
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: