You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Tomas Grazys (JIRA)" <ji...@apache.org> on 2017/02/08 17:44:41 UTC
[jira] [Commented] (MESOS-5665) OsTest.User test failure
[ https://issues.apache.org/jira/browse/MESOS-5665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15858299#comment-15858299 ]
Tomas Grazys commented on MESOS-5665:
-------------------------------------
Hi [~jdorlus],
What was your resolution to the issue in the end? I'm having exactly the same issue trying to package to rpm inside a mock environment.
Thanks,
Tomas.
> OsTest.User test failure
> -------------------------
>
> Key: MESOS-5665
> URL: https://issues.apache.org/jira/browse/MESOS-5665
> Project: Mesos
> Issue Type: Bug
> Components: build, test
> Affects Versions: 1.0.0
> Reporter: J. Bobby Dorlus
>
> We're leveraging 'mock' to perform builds across CentOS 5, 6 and 7. And we're running into the below test failure during nightly ci job.
> *build.log*
> {code}
> .....
> [----------] 6 tests from ProcTest (3 ms total)
> [----------] Global test environment tear-down
> [==========] 264 tests from 46 test cases ran. (777 ms total)
> [ PASSED ] 263 tests.
> [ FAILED ] 1 test, listed below:
> [ FAILED ] OsTest.User
> 1 FAILED TEST
> ....
> {code}
> *OsTest.User Failure*
> {code}
> [ RUN ] OsTest.User
> tests/os_tests.cpp:659: Failure
> Value of: (os::getgid(user.get())).get()
> Actual: 0
> Expected: gid.get()
> Which is: 1248
> [ FAILED ] OsTest.User (24 ms)
> {code}
> *Command 'id' output*
> {code}
> <mock-chroot>sh-3.2# id
> uid=0(root) gid=0(root) groups=1248(mockbuild)
> <mock-chroot>sh-3.2# id -g
> 0
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)