You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Till Toenshoff (JIRA)" <ji...@apache.org> on 2016/02/11 01:12:18 UTC

[jira] [Created] (MESOS-4643) PortMappingIsolatorTest fail when no namespaces are set.

Till Toenshoff created MESOS-4643:
-------------------------------------

             Summary: PortMappingIsolatorTest fail when no namespaces are set.
                 Key: MESOS-4643
                 URL: https://issues.apache.org/jira/browse/MESOS-4643
             Project: Mesos
          Issue Type: Bug
         Environment: Linux Kernel 3.19.0-49-generic,
libnl-3.2.27
            Reporter: Till Toenshoff
            Priority: Minor


Currently our network isolator tests fail with the following output on a Ubuntu 14.04 VM.

{noformat}
[02:10:15][Step 8/8] [ RUN      ] PortMappingIsolatorTest.ROOT_NC_ContainerToContainerTCP
[02:10:15][Step 8/8] ../../src/tests/containerizer/port_mapping_tests.cpp:164: Failure
[02:10:15][Step 8/8] entries: Failed to opendir '/var/run/netns': No such file or directory
[02:10:15][Step 8/8] ../../src/tests/containerizer/port_mapping_tests.cpp:164: Failure
[02:10:15][Step 8/8] entries: Failed to opendir '/var/run/netns': No such file or directory
[02:10:15][Step 8/8] [  FAILED  ] PortMappingIsolatorTest.ROOT_NC_ContainerToContainerTCP (4 ms)
{noformat}

The machine has no network namespaces set, hence {{/var/run/netns}} does not exist. 

We should help users understanding this prerequisite or maybe even get these things in a fixture.




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