You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Joseph Wu (JIRA)" <ji...@apache.org> on 2015/12/22 00:44:46 UTC

[jira] [Created] (MESOS-4234) Add tests for running Docker in Docker

Joseph Wu created MESOS-4234:
--------------------------------

             Summary: Add tests for running Docker in Docker
                 Key: MESOS-4234
                 URL: https://issues.apache.org/jira/browse/MESOS-4234
             Project: Mesos
          Issue Type: Improvement
          Components: containerization, docker, test
            Reporter: Joseph Wu


When the Mesos agent is itself running in a Docker container, the Docker containerizer will spawn executors as additional containers (rather than as a subprocess).  This prevents executors from dying if the agent dies.

There are currently no automated tests for this code path, particularly because the test setup is particularly expensive.  A test would need to:
* Create a Docker image.
* Compile Mesos inside the Docker image.
* Spin up agents inside Docker containers.
* Clean up properly.

These tests are currently done manually ([example|https://reviews.apache.org/r/41560/]).  Similar tests should be codified and added as regression tests.



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