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

[jira] [Created] (MESOS-6347) OsTest.User failed on OS X 10.11.3

haosdent created MESOS-6347:
-------------------------------

             Summary: OsTest.User failed on OS X 10.11.3
                 Key: MESOS-6347
                 URL: https://issues.apache.org/jira/browse/MESOS-6347
             Project: Mesos
          Issue Type: Bug
            Reporter: haosdent


osx 10.11.3 here and I noticed tokens is being sorted numerically while {{expected_gids}} is being sorted as strings. Also {{getgrouplist}} is missing 5 gids.

{code}
$ id -G && id -G | wc -w
20 401 12 61 79 80 81 98 501 33 100 204 395 398 399
15
{code}

{code}
[ RUN      ] OsTest.User

gids_:
2 0   4 0 1   1 2   6 1   7 9   8 0   8 1   9 8   5 0 1   3 3

tokens:
12 20 33 401 501 61 79 80 81 98

gids:
20 401 12 61 79 80 81 98 501 33 100 204 395 398 399

expected gids:
100 12 20 204 33 395 398 399 401 501 61 79 80 81 98

../../../3rdparty/stout/tests/os_tests.cpp:716: Failure
Value of: expected_gids
  Actual: { "100", "12", "20", "204", "33", "395", "398", "399", "401", "501", "61", "79", "80", "81", "98" }
Expected: tokens.get()
Which is: { "12", "20", "33", "401", "501", "61", "79", "80", "81", "98" }
[  FAILED  ] OsTest.User (28 ms)
{code}

Missing gids:
{code}
100(_lpoperator),204(_developer),395(com.apple.access_ftp),398(com.apple.access_screensharing),399(com.apple.access_ssh)
{code}



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