[ https://issues.apache.org/jira/browse/MESOS-9382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bannier reassigned MESOS-9382: --------------------------------------- Assignee: Benjamin Bannier > mesos-gtest-runner doesn't work on systems without ulimit binary > ---------------------------------------------------------------- > > Key: MESOS-9382 > URL: https://issues.apache.org/jira/browse/MESOS-9382 > Project: Mesos > Issue Type: Bug > Components: test > Reporter: Ilya Pronin > Assignee: Benjamin Bannier > Priority: Major > > {{mesos-gtest-runner.py}} fails on systems without a separate ulimit binary > (i.e. CentOS 7). > {noformat} > /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' > {noformat} > The problem arises in [this > call|https://github.com/apache/mesos/blob/630d8938462381e8e7b0f44fa6434e47460fb178/support/mesos-gtest-runner.py#L209]. > 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. > {noformat} > Could not check compatibility of ulimit settings: invalid literal for int() > with base 10: b'unlimited\n' > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)