You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Kapil Arya (JIRA)" <ji...@apache.org> on 2016/07/26 20:21:20 UTC

[jira] [Updated] (MESOS-5909) Stout "OsTest.User" test can fail on some systems

     [ https://issues.apache.org/jira/browse/MESOS-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kapil Arya updated MESOS-5909:
------------------------------
    Description: 
Libc call {{getgrouplist}} doesn't return the {{gid}} list in a sorted manner (in my case, it's returning "471 100") ... whereas {{id -G}} return a sorted list ("100 471" in my case) causing the validation inside the loop to fail.

We should sort both lists before comparing the values.

  was:
Libc call {{getgrouplist}} doesn't return the {{gid}}s in a sorted manner (in my case, it's returning `471 100`) ... whereas {{id -G}} return a sorted list ({{100 471}} in my case) causing the validation inside the loop to fail.

We should sort both lists before comparing the values.


> Stout "OsTest.User" test can fail on some systems
> -------------------------------------------------
>
>                 Key: MESOS-5909
>                 URL: https://issues.apache.org/jira/browse/MESOS-5909
>             Project: Mesos
>          Issue Type: Bug
>          Components: stout
>            Reporter: Kapil Arya
>              Labels: mesosphere
>
> Libc call {{getgrouplist}} doesn't return the {{gid}} list in a sorted manner (in my case, it's returning "471 100") ... whereas {{id -G}} return a sorted list ("100 471" in my case) causing the validation inside the loop to fail.
> We should sort both lists before comparing the values.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)