Return-Path: X-Original-To: apmail-mesos-issues-archive@minotaur.apache.org Delivered-To: apmail-mesos-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 612FC17BC3 for ; Fri, 20 Mar 2015 19:45:46 +0000 (UTC) Received: (qmail 28568 invoked by uid 500); 20 Mar 2015 19:45:46 -0000 Delivered-To: apmail-mesos-issues-archive@mesos.apache.org Received: (qmail 28538 invoked by uid 500); 20 Mar 2015 19:45:46 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 28528 invoked by uid 99); 20 Mar 2015 19:45:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Mar 2015 19:45:46 +0000 Date: Fri, 20 Mar 2015 19:45:46 +0000 (UTC) From: "Isabel Jimenez (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (MESOS-1570) Make check Error when Building Mesos in a Docker container MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MESOS-1570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Isabel Jimenez closed MESOS-1570. --------------------------------- Resolution: Fixed > Make check Error when Building Mesos in a Docker container > ----------------------------------------------------------- > > Key: MESOS-1570 > URL: https://issues.apache.org/jira/browse/MESOS-1570 > Project: Mesos > Issue Type: Bug > Reporter: Isabel Jimenez > Assignee: Isabel Jimenez > Priority: Minor > Labels: Docker > > When building Mesos inside a Docker container, it's for the moment impossible to run tests even when you run Docker in --privileged mode. There is a test in stout that sets all the namespaces and libcontainer does not support setting 'user' namespace (more information [here|https://github.com/docker/libcontainer/blob/master/namespaces/nsenter.go#L136]). This is the error: > {code:title=Make check failed test|borderStyle=solid} > [----------] 1 test from OsSetnsTest > [ RUN ] OsSetnsTest.setns > ../../../../3rdparty/libprocess/3rdparty/stout/tests/os/setns_tests.cpp:43: Failure > os::setns(::getpid(), ns): Invalid argument > [ FAILED ] OsSetnsTest.setns (7 ms) > [----------] 1 test from OsSetnsTest (7 ms total) > [ FAILED ] 1 test, listed below: > [ FAILED ] OsSetnsTest.setns > 1 FAILED TEST > {code} > This can be disable as Mesos does not need to set 'user' namespace. I don't know if Docker will support setting user namespace one day since it's a new kernel feature, what could be the best approach to this issue? (disabling set for 'user' namespace on stout, disabling just this test..) -- This message was sent by Atlassian JIRA (v6.3.4#6332)