[ https://issues.apache.org/jira/browse/MESOS-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14069234#comment-14069234 ]
Ian Downes commented on MESOS-1619: ----------------------------------- Host appears okay. Reading man getpwnam_r it's not clear to me why ENOENT together with non-zero return code is being returned. {noformat} On success, getpwnam_r() and getpwuid_r() return zero, and set *result to pwd. If no matching password record was found, these functions return 0 and store NULL in *result. In case of error, an error number is returned, and NULL is stored in *result. {noformat} But, later it states it can set ENOENT, which isn't part of the Posix specification as far as I can tell. {noformat} ERRORS 0 or ENOENT or ESRCH or EBADF or EPERM or ... The given name or uid was not found. {noformat} > OsTest.User test is flaky > ------------------------- > > Key: MESOS-1619 > URL: https://issues.apache.org/jira/browse/MESOS-1619 > Project: Mesos > Issue Type: Bug > Components: test > Environment: centos7 w/ gcc > Reporter: Vinod Kone > > [ RUN ] OsTest.user > stout/tests/os_tests.cpp:720: Failure > Value of: os::getuid(UUID::random().toString()).isNone() > Actual: false > Expected: true > stout/tests/os_tests.cpp:721: Failure > Value of: os::getgid(UUID::random().toString()).isNone() > Actual: false > Expected: true > WARNING: Logging before InitGoogleLogging() is written to STDERR > E0721 06:15:58.656255 13440 os.hpp:731] Failed to set gid: Failed to get > username information: No such file or directory > [ FAILED ] OsTest.user (20 ms) -- This message was sent by Atlassian JIRA (v6.2#6252)