Neil Conway created MESOS-6826:
----------------------------------

             Summary: OsTest.User fails on recent Arch Linux
                 Key: MESOS-6826
                 URL: https://issues.apache.org/jira/browse/MESOS-6826
             Project: Mesos
          Issue Type: Bug
          Components: stout
            Reporter: Neil Conway


{noformat}
[ RUN      ] OsTest.User
../../../mesos/3rdparty/stout/tests/os_tests.cpp:683: Failure
Value of: os::getuid(UUID::random().toString()).isNone()
  Actual: false
Expected: true
../../../mesos/3rdparty/stout/tests/os_tests.cpp:684: Failure
Value of: os::getgid(UUID::random().toString()).isNone()
  Actual: false
Expected: true
[  FAILED  ] OsTest.User (12 ms)
{noformat}

Appeared relatively recently (last two weeks). Cause appears to be that 
{{getpwnam\_r}} now returns {{EINVAL}} for an invalid input, which 
{{os::getuid()}} and {{os::getgid()}} are not prepared to handle.



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

Reply via email to