You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Ilya Pronin (JIRA)" <ji...@apache.org> on 2018/11/09 17:53:00 UTC

[jira] [Created] (MESOS-9382) mesos-gtest-runner doesn't work on systems without ulimit binary

Ilya Pronin created MESOS-9382:
----------------------------------

             Summary: 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


{{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)