[jira] [Commented] (MESOS-1619) OsTest.User test is flaky

2014-08-04 Thread Ian Downes (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14085092#comment-14085092
 ] 

Ian Downes commented on MESOS-1619:
---

Review: https://reviews.apache.org/r/24249/

 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
Assignee: Ian Downes

 [ 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)


[jira] [Commented] (MESOS-1619) OsTest.User test is flaky

2014-08-04 Thread Ian Downes (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14085123#comment-14085123
 ] 

Ian Downes commented on MESOS-1619:
---

Branch: refs/heads/master
Commit: 81d830f502f99290e4c9fd00f231f0b9fff6b591
Parents: 46f1aeb
Author: Ian Downes idow...@twitter.com
Authored: Mon Aug 4 11:36:52 2014 -0700
Committer: Ian Downes idow...@twitter.com
Committed: Mon Aug 4 11:55:21 2014 -0700

 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
Assignee: Ian Downes

 [ 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)


[jira] [Commented] (MESOS-1619) OsTest.User test is flaky

2014-07-29 Thread Benjamin Mahler (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14078585#comment-14078585
 ] 

Benjamin Mahler commented on MESOS-1619:


This thread 
(http://www.redhat.com/archives/libvir-list/2012-December/msg00208.html) seems 
relevant:

{quote}
virGetUserIDByName returns an error when the return value of getpwnam_r
is non-0. However on my RHEL system, getpwnam_r returns ENOENT when the
requested user cannot be found, which then causes virGetUserID not
to behave as documented (it returns an error instead of falling back
to parsing the passed-in value as an uid).
{quote}

Let's fix up os.hpp based on this knowledge?

 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)