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

mesos-gtest-runner doesn't work on systems without ulimit binary

    XMLWordPrintableJSON

    Details

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

      Description

      mesos-gtest-runner.py fails on systems without a separate ulimit binary (i.e. CentOS 7).

      /home/ipronin/mesos/build/../support/mesos-gtest-runner.py --sequential=*ROOT_* ./mesos-tests
      Could not check compatibility of ulimit settings: [Errno 2] No such file or directory: 'ulimit'
      

      The problem arises in this call. Seems that it can be fixed by passing a shell=True argument to subprocess.check_output().

      Another problem is ROOT_* tests which should be ran as root. For root ulimit -u will most likely return "unlimited", which will again crash the runner.

      Could not check compatibility of ulimit settings: invalid literal for int() with base 10: b'unlimited\n'
      

        Attachments

          Activity

            People

            • Assignee:
              bbannier Benjamin Bannier
              Reporter:
              ipronin Ilya Pronin
              Shepherd:
              Chun-Hung Hsiao
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: