[ 
https://issues.apache.org/jira/browse/MESOS-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15548353#comment-15548353
 ] 

Marc Villacorta commented on MESOS-5909:
----------------------------------------

In my Alpine 3.4 system this test still fails:
{code:none}
/mesos/build # id -G
0 1 2 3 4 6 10 11 20 26 27
{code}

{code:none}
 RUN      ] OsTest.User
../../../3rdparty/stout/tests/os_tests.cpp:696: Failure
Value of: expected_gids
  Actual: { "0", "0", "1", "10", "11", "2", "20", "26", "27", "3", "4", "6" }
Expected: tokens.get()
Which is: { "0", "1", "10", "11", "2", "20", "26", "27", "3", "4", "6" }
[  FAILED  ] OsTest.User (6 ms)
{code}

Should I open a new Jira?

> 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
>            Assignee: Mao Geng
>              Labels: mesosphere
>             Fix For: 1.1.0
>
>         Attachments: MESOS-5909-fix.diff
>
>
> 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)

Reply via email to