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

Qian Zhang commented on MESOS-7509:
-----------------------------------

For the test {{ROOT_INTERNET_CURL_PortMapper}}, the root cause that it fails on 
CentOS 6 is, we need iptables 1.4.20 or higher for our port-mapper CNI plugin 
(we have mentioned it in our 
[doc|https://github.com/apache/mesos/blob/master/docs/cni.md#a-port-mapper-plugin-for-cni-networks]),
 however in CentOS 6, the version of iptables is just 1.4.7 (you can see it in 
the attached log in this ticket), that's why the task fails.

For the test {{ROOT_DOCKER_DefaultDNS}}, the attached log does not show much 
useful info about why the task fails. However to run this test successfully, we 
need Docker version >= 1.9.0 (see 
[here|https://github.com/apache/mesos/blob/1.4.0/src/docker/docker.cpp#L997] 
for details), I am not sure what the Docker version is in our CI CentOS 6 
machine, if it < 1.9.0, the task will definitely fail, that might be the root 
cause.

Basically, I agree to disable these two tests on CentOS 6 since the iptables 
version on it is too old and Docker has already [dropped support for CentOS 
6|https://github.com/docker/docker/issues/14365].

> CniIsolatorPortMapperTest.ROOT_INTERNET_CURL_PortMapper fails on some Linux 
> distros.
> ------------------------------------------------------------------------------------
>
>                 Key: MESOS-7509
>                 URL: https://issues.apache.org/jira/browse/MESOS-7509
>             Project: Mesos
>          Issue Type: Bug
>          Components: containerization
>         Environment: CentOS 6, Ubuntu 12.04
>            Reporter: Alexander Rukletsov
>              Labels: containerizer, flaky-test, isolation, mesosphere
>         Attachments: ROOT_DOCKER_DefaultDNS-badrun.txt, 
> ROOT_INTERNET_CURL_PortMapper-badrun.txt, 
> ROOT_INTERNET_CURL_PortMapper_failure_log_1.txt, 
> ROOT_INTERNET_CURL_PortMapper_failure_log_2_centos6.txt
>
>
> I see this test failing consistently on CentOS 6 and Ubuntu 12.04.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to