-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50224/
-----------------------------------------------------------
Review request for mesos, Avinash sridharan and Jie Yu.
Bugs: MESOS-5806
https://issues.apache.org/jira/browse/MESOS-5806
Repository: mesos
Description
-------
Added CniIsolatorTest.ROOT_INTERNET_CURL_LaunchContainerInHostNetwork.
Diffs
-----
src/tests/containerizer/cni_isolator_tests.cpp
991823b96f8eac7539625ef0f1e045e6a10464ac
Diff: https://reviews.apache.org/r/50224/diff/
Testing
-------
[ RUN ] CniIsolatorTest.ROOT_INTERNET_CURL_LaunchContainerInHostNetwork
+ /home/stack/workspace/mesos/build/src/mesos-containerizer mount --help=false
--operation=make-rslave --path=/
+ mount -n --rbind
/tmp/CniIsolatorTest_ROOT_INTERNET_CURL_LaunchContainerInHostNetwork_4jVXaj/slaves/20a26fca-80ea-4fd4-8379-37ec8cc45ece-S0/frameworks/20a26fca-80ea-4fd4-8379-37ec8cc45ece-0000/executors/ffcd3892-06b9-4f06-ae5a-362987289253/runs/21bee6ec-da25-4445-bb91-bb64c35cda4c
/tmp/CniIsolatorTest_ROOT_INTERNET_CURL_LaunchContainerInHostNetwork_4jVXaj/provisioner/containers/21bee6ec-da25-4445-bb91-bb64c35cda4c/backends/copy/rootfses/c0987a88-8887-45b8-b422-b6fa9b34c7c5/mnt/mesos/sandbox
I0720 15:29:18.894994 9471 exec.cpp:161] Version: 1.1.0
I0720 15:29:18.903548 9471 exec.cpp:236] Executor registered on agent
20a26fca-80ea-4fd4-8379-37ec8cc45ece-S0
Received SUBSCRIBED event
Subscribed executor on mesos
Received LAUNCH event
Starting task ffcd3892-06b9-4f06-ae5a-362987289253
/home/stack/workspace/mesos/build/src/mesos-containerizer launch
--command="{"arguments":["\/bin\/ping","-c1","google.com"],"shell":false,"value":"\/bin\/ping"}"
--help="false"
--rootfs="/tmp/CniIsolatorTest_ROOT_INTERNET_CURL_LaunchContainerInHostNetwork_4jVXaj/provisioner/containers/21bee6ec-da25-4445-bb91-bb64c35cda4c/backends/copy/rootfses/c0987a88-8887-45b8-b422-b6fa9b34c7c5"
--unshare_namespace_mnt="false" --user="root"
--working_directory="/mnt/mesos/sandbox"
Forked command at 9478
Changing root to
/tmp/CniIsolatorTest_ROOT_INTERNET_CURL_LaunchContainerInHostNetwork_4jVXaj/provisioner/containers/21bee6ec-da25-4445-bb91-bb64c35cda4c/backends/copy/rootfses/c0987a88-8887-45b8-b422-b6fa9b34c7c5
PING google.com (216.58.217.78): 56 data bytes
64 bytes from 216.58.217.78: seq=0 ttl=41 time=334.035 ms
--- google.com ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 334.035/334.035/334.035 ms
Command exited with status 0 (pid: 9478)
I0720 15:29:19.441061 9472 exec.cpp:413] Executor asked to shutdown
[ OK ] CniIsolatorTest.ROOT_INTERNET_CURL_LaunchContainerInHostNetwork
(37358 ms)
Thanks,
Qian Zhang