You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Cody Maloney (JIRA)" <ji...@apache.org> on 2015/01/16 23:50:34 UTC

[jira] [Commented] (MESOS-2233) Run ASF CI mesos builds inside docker

    [ https://issues.apache.org/jira/browse/MESOS-2233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14280943#comment-14280943 ] 

Cody Maloney commented on MESOS-2233:
-------------------------------------

There are two tests which don't pass when running 'make distcheck' in a container which we should probably fix before that becomes the standard CI:

NsTest.ROOT_setns - I believe this one is because it assumes it is at the root of the hiercharcy
UserCgroupIsolatorTest - Still not quite sure why this one fails, possibly that docker container I'm running it in is missing awk or something.

Other than that it does generally work. The tests must be run inside a docker container which has a pid 1 that will wait for orphans which have been re-parented to it (Otherwise you get OsTests.killtree* failures since the processes it wants killed end up as zombies).

I can provide the dockerfile we're using currently as a buildbot buildslave internally if you'd like / it would help.

> Run ASF CI mesos builds inside docker
> -------------------------------------
>
>                 Key: MESOS-2233
>                 URL: https://issues.apache.org/jira/browse/MESOS-2233
>             Project: Mesos
>          Issue Type: Task
>            Reporter: Vinod Kone
>
> There are several limitations to mesos projects current state of CI, which is run on builds.a.o
> --> Only runs on Ubuntu
> --> Doesn't run any tests that deal with cgroups
> --> Doesn't run any tests that need root permissions
> Now that ASF CI supports docker (https://issues.apache.org/jira/browse/BUILDS-25), it would be great for the Mesos project to use it.



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