Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-5690

`PortMappingIsolatorTest.ROOT_NC_HostToContainerUDP` fails on Fedora 23.

    XMLWordPrintableJSON

Details

    Description

      [20:17:53] :	 [Step 10/10] [ RUN      ] PortMappingIsolatorTest.ROOT_NC_HostToContainerUDP
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.323252 28395 port_mapping_tests.cpp:229] Using eth0 as the public interface
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.323557 28395 port_mapping_tests.cpp:237] Using lo as the loopback interface
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.337299 28395 resources.cpp:572] Parsing resources as JSON failed: cpus:2;mem:1024;disk:1024;ephemeral_ports:[30001-30999];ports:[31000-32000]
      [20:17:53]W:	 [Step 10/10] Trying semicolon-delimited string format instead
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.338345 28395 port_mapping.cpp:1557] Using eth0 as the public interface
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.338675 28395 port_mapping.cpp:1582] Using lo as the loopback interface
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.339855 28395 port_mapping.cpp:1869] /proc/sys/net/ipv4/neigh/default/gc_thresh3 = '1024'
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.339901 28395 port_mapping.cpp:1869] /proc/sys/net/ipv4/neigh/default/gc_thresh1 = '128'
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.339938 28395 port_mapping.cpp:1869] /proc/sys/net/ipv4/tcp_wmem = '4096	16384	4194304'
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.339972 28395 port_mapping.cpp:1869] /proc/sys/net/ipv4/tcp_synack_retries = '5'
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.340010 28395 port_mapping.cpp:1869] /proc/sys/net/core/rmem_max = '212992'
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.340044 28395 port_mapping.cpp:1869] /proc/sys/net/core/somaxconn = '128'
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.340073 28395 port_mapping.cpp:1869] /proc/sys/net/core/wmem_max = '212992'
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.340103 28395 port_mapping.cpp:1869] /proc/sys/net/ipv4/tcp_rmem = '4096	87380	6291456'
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.340136 28395 port_mapping.cpp:1869] /proc/sys/net/ipv4/tcp_keepalive_time = '7200'
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.340165 28395 port_mapping.cpp:1869] /proc/sys/net/ipv4/neigh/default/gc_thresh2 = '512'
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.340196 28395 port_mapping.cpp:1869] /proc/sys/net/core/netdev_max_backlog = '1000'
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.340229 28395 port_mapping.cpp:1869] /proc/sys/net/ipv4/tcp_keepalive_intvl = '75'
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.340260 28395 port_mapping.cpp:1869] /proc/sys/net/ipv4/tcp_keepalive_probes = '9'
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.340289 28395 port_mapping.cpp:1869] /proc/sys/net/ipv4/tcp_max_syn_backlog = '512'
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.340327 28395 port_mapping.cpp:1869] /proc/sys/net/ipv4/tcp_retries2 = '15'
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.349139 28395 linux_launcher.cpp:101] Using /sys/fs/cgroup/freezer as the freezer hierarchy for the Linux launcher
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.349345 28395 resources.cpp:572] Parsing resources as JSON failed: ports:[31000-31499]
      [20:17:53]W:	 [Step 10/10] Trying semicolon-delimited string format instead
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.349858 28409 port_mapping.cpp:2512] Using non-ephemeral ports {[31000,31500)} and ephemeral ports [30016,30032) for container container1 of executor ''
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.350821 28395 linux_launcher.cpp:281] Cloning child process with flags = CLONE_NEWNS | CLONE_NEWNET
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.393595 28416 port_mapping.cpp:2576] Bind mounted '/proc/15478/ns/net' to '/run/netns/15478' for container container1
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.393739 28416 port_mapping.cpp:2607] Created network namespace handle symlink '/var/run/mesos/netns/container1' -> '/run/netns/15478'
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.395191 28416 port_mapping.cpp:2667] Adding IP packet filters with ports [30016,30031] for container container1
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.397608 28416 port_mapping.cpp:2667] Adding IP packet filters with ports [31000,31007] for container container1
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.402170 28416 port_mapping.cpp:2667] Adding IP packet filters with ports [31008,31039] for container container1
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.405225 28416 port_mapping.cpp:2667] Adding IP packet filters with ports [31040,31103] for container container1
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.408541 28416 port_mapping.cpp:2667] Adding IP packet filters with ports [31104,31231] for container container1
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.412075 28416 port_mapping.cpp:2667] Adding IP packet filters with ports [31232,31487] for container container1
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.415866 28416 port_mapping.cpp:2667] Adding IP packet filters with ports [31488,31495] for container container1
      [20:17:53]W:	 [Step 10/10] I0622 20:17:53.419909 28416 port_mapping.cpp:2667] Adding IP packet filters with ports [31496,31499] for container container1
      [20:17:53]W:	 [Step 10/10] + mount --make-rslave /run/netns
      [20:17:53]W:	 [Step 10/10] + test -f /proc/sys/net/ipv6/conf/all/disable_ipv6
      [20:17:53]W:	 [Step 10/10] + echo 1
      [20:17:53]W:	 [Step 10/10] + ip link set lo address 0e:7b:ff:83:9a:a5 mtu 9001 up
      [20:17:53]W:	 [Step 10/10] + ethtool -K eth0 rx off
      [20:17:53]W:	 [Step 10/10] + ip link set eth0 address 0e:7b:ff:83:9a:a5 up
      [20:17:53]W:	 [Step 10/10] + ip addr add 172.30.2.82/24 dev eth0
      [20:17:53]W:	 [Step 10/10] + ip route add default via 172.30.2.1
      [20:17:53]W:	 [Step 10/10] + echo 30016 30031
      [20:17:53]W:	 [Step 10/10] + echo 1
      [20:17:53]W:	 [Step 10/10] + echo 1
      [20:17:53]W:	 [Step 10/10] + echo 1
      [20:17:53]W:	 [Step 10/10] + '[' -f /proc/sys/net/ipv4/tcp_retries2 ']'
      [20:17:53]W:	 [Step 10/10] + '[' -f /proc/sys/net/ipv4/tcp_max_syn_backlog ']'
      [20:17:53]W:	 [Step 10/10] + '[' -f /proc/sys/net/ipv4/tcp_keepalive_probes ']'
      [20:17:53]W:	 [Step 10/10] + '[' -f /proc/sys/net/ipv4/tcp_synack_retries ']'
      [20:17:53]W:	 [Step 10/10] + '[' -f /proc/sys/net/ipv4/tcp_wmem ']'
      [20:17:53]W:	 [Step 10/10] + '[' -f /proc/sys/net/ipv4/neigh/default/gc_thresh1 ']'
      [20:17:53]W:	 [Step 10/10] + '[' -f /proc/sys/net/ipv4/tcp_keepalive_intvl ']'
      [20:17:53]W:	 [Step 10/10] + '[' -f /proc/sys/net/core/netdev_max_backlog ']'
      [20:17:53]W:	 [Step 10/10] + '[' -f /proc/sys/net/ipv4/neigh/default/gc_thresh2 ']'
      [20:17:53]W:	 [Step 10/10] + '[' -f /proc/sys/net/ipv4/neigh/default/gc_thresh3 ']'
      [20:17:53]W:	 [Step 10/10] + '[' -f /proc/sys/net/core/rmem_max ']'
      [20:17:53]W:	 [Step 10/10] + '[' -f /proc/sys/net/core/somaxconn ']'
      [20:17:53]W:	 [Step 10/10] + echo 128
      [20:17:53]W:	 [Step 10/10] + '[' -f /proc/sys/net/core/wmem_max ']'
      [20:17:53]W:	 [Step 10/10] + '[' -f /proc/sys/net/ipv4/tcp_rmem ']'
      [20:17:53]W:	 [Step 10/10] + '[' -f /proc/sys/net/ipv4/tcp_keepalive_time ']'
      [20:17:53]W:	 [Step 10/10] + tc qdisc add dev lo ingress
      [20:17:53]W:	 [Step 10/10] + tc qdisc add dev eth0 ingress
      [20:17:53]W:	 [Step 10/10] + tc filter add dev lo parent ffff:0 protocol ip prio 770 u32 flowid ffff:0 match ip dst 172.30.2.82 action mirred egress redirect dev eth0
      [20:17:53]W:	 [Step 10/10] + tc filter add dev lo parent ffff:0 protocol ip prio 770 u32 flowid ffff:0 match ip dst 127.0.0.1 action mirred egress redirect dev eth0
      [20:17:53]W:	 [Step 10/10] + tc filter add dev lo parent ffff:0 protocol ip prio 769 u32 flowid ffff:0 match ip dport 30016 fff0
      [20:17:53]W:	 [Step 10/10] + tc filter add dev eth0 parent ffff:0 protocol ip prio 770 u32 flowid ffff:0 match ip dst 127.0.0.1 match ip dport 30016 fff0 action mirred egress redirect dev lo
      [20:17:53]W:	 [Step 10/10] + tc filter add dev lo parent ffff:0 protocol ip prio 769 u32 flowid ffff:0 match ip dport 31000 fff8
      [20:17:53]W:	 [Step 10/10] + tc filter add dev eth0 parent ffff:0 protocol ip prio 770 u32 flowid ffff:0 match ip dst 127.0.0.1 match ip dport 31000 fff8 action mirred egress redirect dev lo
      [20:17:53]W:	 [Step 10/10] + tc filter add dev lo parent ffff:0 protocol ip prio 769 u32 flowid ffff:0 match ip dport 31008 ffe0
      [20:17:53]W:	 [Step 10/10] + tc filter add dev eth0 parent ffff:0 protocol ip prio 770 u32 flowid ffff:0 match ip dst 127.0.0.1 match ip dport 31008 ffe0 action mirred egress redirect dev lo
      [20:17:53]W:	 [Step 10/10] + tc filter add dev lo parent ffff:0 protocol ip prio 769 u32 flowid ffff:0 match ip dport 31040 ffc0
      [20:17:53]W:	 [Step 10/10] + tc filter add dev eth0 parent ffff:0 protocol ip prio 770 u32 flowid ffff:0 match ip dst 127.0.0.1 match ip dport 31040 ffc0 action mirred egress redirect dev lo
      [20:17:53]W:	 [Step 10/10] + tc filter add dev lo parent ffff:0 protocol ip prio 769 u32 flowid ffff:0 match ip dport 31104 ff80
      [20:17:53]W:	 [Step 10/10] + tc filter add dev eth0 parent ffff:0 protocol ip prio 770 u32 flowid ffff:0 match ip dst 127.0.0.1 match ip dport 31104 ff80 action mirred egress redirect dev lo
      [20:17:53]W:	 [Step 10/10] + tc filter add dev lo parent ffff:0 protocol ip prio 769 u32 flowid ffff:0 match ip dport 31232 ff00
      [20:17:53]W:	 [Step 10/10] + tc filter add dev eth0 parent ffff:0 protocol ip prio 770 u32 flowid ffff:0 match ip dst 127.0.0.1 match ip dport 31232 ff00 action mirred egress redirect dev lo
      [20:17:53]W:	 [Step 10/10] + tc filter add dev lo parent ffff:0 protocol ip prio 769 u32 flowid ffff:0 match ip dport 31488 fff8
      [20:17:53]W:	 [Step 10/10] + tc filter add dev eth0 parent ffff:0 protocol ip prio 770 u32 flowid ffff:0 match ip dst 127.0.0.1 match ip dport 31488 fff8 action mirred egress redirect dev lo
      [20:17:53]W:	 [Step 10/10] + tc filter add dev lo parent ffff:0 protocol ip prio 769 u32 flowid ffff:0 match ip dport 31496 fffc
      [20:17:53]W:	 [Step 10/10] + tc filter add dev eth0 parent ffff:0 protocol ip prio 770 u32 flowid ffff:0 match ip dst 127.0.0.1 match ip dport 31496 fffc action mirred egress redirect dev lo
      [20:17:53]W:	 [Step 10/10] + tc filter add dev lo parent ffff:0 protocol ip prio 514 u32 flowid ffff:0 match ip protocol 1 0xff match ip dst 172.30.2.82
      [20:17:53]W:	 [Step 10/10] + tc filter add dev lo parent ffff:0 protocol ip prio 514 u32 flowid ffff:0 match ip protocol 1 0xff match ip dst 127.0.0.1
      [20:17:53]W:	 [Step 10/10] + tc filter show dev eth0 parent ffff:0
      [20:17:53]W:	 [Step 10/10] + tc filter show dev lo parent ffff:0
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 770 u32 
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 770 u32 fh 800: ht divisor 1 
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 770 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid ffff: 
      [20:17:53] :	 [Step 10/10]   match 7f000001/ffffffff at 16
      [20:17:53] :	 [Step 10/10]   match 00007540/0000fff0 at 20
      [20:17:53] :	 [Step 10/10] 	action order 1: mirred (Egress Redirect to device lo) stolen
      [20:17:53] :	 [Step 10/10]  	index 1827 ref 1 bind 1
      [20:17:53] :	 [Step 10/10]  
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 770 u32 fh 800::801 order 2049 key ht 800 bkt 0 flowid ffff: 
      [20:17:53] :	 [Step 10/10]   match 7f000001/ffffffff at 16
      [20:17:53] :	 [Step 10/10]   match 00007918/0000fff8 at 20
      [20:17:53] :	 [Step 10/10] 	action order 1: mirred (Egress Redirect to device lo) stolen
      [20:17:53] :	 [Step 10/10]  	index 1828 ref 1 bind 1
      [20:17:53] :	 [Step 10/10]  
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 770 u32 fh 800::802 order 2050 key ht 800 bkt 0 flowid ffff: 
      [20:17:53] :	 [Step 10/10]   match 7f000001/ffffffff at 16
      [20:17:53] :	 [Step 10/10]   match 00007920/0000ffe0 at 20
      [20:17:53] :	 [Step 10/10] 	action order 1: mirred (Egress Redirect to device lo) stolen
      [20:17:53] :	 [Step 10/10]  	index 1829 ref 1 bind 1
      [20:17:53] :	 [Step 10/10]  
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 770 u32 fh 800::803 order 2051 key ht 800 bkt 0 flowid ffff: 
      [20:17:53] :	 [Step 10/10]   match 7f000001/ffffffff at 16
      [20:17:53] :	 [Step 10/10]   match 00007940/0000ffc0 at 20
      [20:17:53] :	 [Step 10/10] 	action order 1: mirred (Egress Redirect to device lo) stolen
      [20:17:53] :	 [Step 10/10]  	index 1830 ref 1 bind 1
      [20:17:53] :	 [Step 10/10]  
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 770 u32 fh 800::804 order 2052 key ht 800 bkt 0 flowid ffff: 
      [20:17:53] :	 [Step 10/10]   match 7f000001/ffffffff at 16
      [20:17:53] :	 [Step 10/10]   match 00007980/0000ff80 at 20
      [20:17:53] :	 [Step 10/10] 	action order 1: mirred (Egress Redirect to device lo) stolen
      [20:17:53] :	 [Step 10/10]  	index 1831 ref 1 bind 1
      [20:17:53] :	 [Step 10/10]  
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 770 u32 fh 800::805 order 2053 key ht 800 bkt 0 flowid ffff: 
      [20:17:53] :	 [Step 10/10]   match 7f000001/ffffffff at 16
      [20:17:53] :	 [Step 10/10]   match 00007a00/0000ff00 at 20
      [20:17:53] :	 [Step 10/10] 	action order 1: mirred (Egress Redirect to device lo) stolen
      [20:17:53] :	 [Step 10/10]  	index 1832 ref 1 bind 1
      [20:17:53] :	 [Step 10/10]  
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 770 u32 fh 800::806 order 2054 key ht 800 bkt 0 flowid ffff: 
      [20:17:53] :	 [Step 10/10]   match 7f000001/ffffffff at 16
      [20:17:53] :	 [Step 10/10]   match 00007b00/0000fff8 at 20
      [20:17:53] :	 [Step 10/10] 	action order 1: mirred (Egress Redirect to device lo) stolen
      [20:17:53] :	 [Step 10/10]  	index 1833 ref 1 bind 1
      [20:17:53] :	 [Step 10/10]  
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 770 u32 fh 800::807 order 2055 key ht 800 bkt 0 flowid ffff: 
      [20:17:53] :	 [Step 10/10]   match 7f000001/ffffffff at 16
      [20:17:53] :	 [Step 10/10]   match 00007b08/0000fffc at 20
      [20:17:53] :	 [Step 10/10] 	action order 1: mirred (Egress Redirect to device lo) stolen
      [20:17:53] :	 [Step 10/10]  	index 1834 ref 1 bind 1
      [20:17:53] :	 [Step 10/10]  
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 514 u32 
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 514 u32 fh 802: ht divisor 1 
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 514 u32 fh 802::800 order 2048 key ht 802 bkt 0 flowid ffff: 
      [20:17:53] :	 [Step 10/10]   match 00010000/00ff0000 at 8
      [20:17:53] :	 [Step 10/10]   match ac1e0252/ffffffff at 16
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 514 u32 fh 802::801 order 2049 key ht 802 bkt 0 flowid ffff: 
      [20:17:53] :	 [Step 10/10]   match 00010000/00ff0000 at 8
      [20:17:53] :	 [Step 10/10]   match 7f000001/ffffffff at 16
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 769 u32 
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 769 u32 fh 801: ht divisor 1 
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 769 u32 fh 801::800 order 2048 key ht 801 bkt 0 flowid ffff: 
      [20:17:53] :	 [Step 10/10]   match 00007540/0000fff0 at 20
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 769 u32 fh 801::801 order 2049 key ht 801 bkt 0 flowid ffff: 
      [20:17:53] :	 [Step 10/10]   match 00007918/0000fff8 at 20
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 769 u32 fh 801::802 order 2050 key ht 801 bkt 0 flowid ffff: 
      [20:17:53] :	 [Step 10/10]   match 00007920/0000ffe0 at 20
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 769 u32 fh 801::803 order 2051 key ht 801 bkt 0 flowid ffff: 
      [20:17:53] :	 [Step 10/10]   match 00007940/0000ffc0 at 20
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 769 u32 fh 801::804 order 2052 key ht 801 bkt 0 flowid ffff: 
      [20:17:53] :	 [Step 10/10]   match 00007980/0000ff80 at 20
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 769 u32 fh 801::805 order 2053 key ht 801 bkt 0 flowid ffff: 
      [20:17:53] :	 [Step 10/10]   match 00007a00/0000ff00 at 20
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 769 u32 fh 801::806 order 2054 key ht 801 bkt 0 flowid ffff: 
      [20:17:53] :	 [Step 10/10]   match 00007b00/0000fff8 at 20
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 769 u32 fh 801::807 order 2055 key ht 801 bkt 0 flowid ffff: 
      [20:17:53] :	 [Step 10/10]   match 00007b08/0000fffc at 20
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 770 u32 
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 770 u32 fh 800: ht divisor 1 
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 770 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid ffff: 
      [20:17:53] :	 [Step 10/10]   match ac1e0252/ffffffff at 16
      [20:17:53] :	 [Step 10/10] 	action order 1: mirred (Egress Redirect to device eth0) stolen
      [20:17:53] :	 [Step 10/10]  	index 1825 ref 1 bind 1
      [20:17:53] :	 [Step 10/10]  
      [20:17:53] :	 [Step 10/10] filter protocol ip pref 770 u32 fh 800::801 order 2049 key ht 800 bkt 0 flowid ffff: 
      [20:17:53] :	 [Step 10/10]   match 7f000001/ffffffff at 16
      [20:17:53] :	 [Step 10/10] 	action order 1: mirred (Egress Redirect to device eth0) stolen
      [20:17:53] :	 [Step 10/10]  	index 1826 ref 1 bind 1
      [20:17:53] :	 [Step 10/10]  
      [20:17:53]W:	 [Step 10/10] Ncat: Connection refused.
      [20:17:53]W:	 [Step 10/10] E0622 20:17:53.543117 28395 shell.hpp:106] Command 'printf hello1 | nc -w1 -u localhost 31001' failed; this is the output:
      [20:17:53] :	 [Step 10/10] ../../src/tests/containerizer/port_mapping_tests.cpp:856: Failure
      [20:17:53] :	 [Step 10/10] os::shell(command2.str()): Failed to execute 'printf hello1 | nc -w1 -u localhost 31001'; the command was either not found or exited with a non-zero exit status: 1
      [20:17:53] :	 [Step 10/10] [  FAILED  ] PortMappingIsolatorTest.ROOT_NC_HostToContainerUDP (251 ms)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            gilbert Gilbert Song
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: