[ https://issues.apache.org/jira/browse/MESOS-4643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15237379#comment-15237379 ]
Jan Schlicht commented on MESOS-4643: ------------------------------------- With the use of {{os::realpath}} since {{eaecce08a7ce0d72537512cbfccb77e545bb10b8}} this will cause the tests to crash if {{/var/run/netns}} does not exist. > 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)