-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/46097/
-----------------------------------------------------------

(Updated April 20, 2016, 9:47 p.m.)


Review request for mesos, Avinash sridharan and Jie Yu.


Summary (updated)
-----------------

Added the test "CniIsolatorTest.ROOT_LaunchCommandTask".


Bugs: MESOS-5167
    https://issues.apache.org/jira/browse/MESOS-5167


Repository: mesos


Description (updated)
-------

Added the test "CniIsolatorTest.ROOT_LaunchCommandTask".


Diffs (updated)
-----

  src/Makefile.am 5a2b4efa781752863d6751f98614fb78bece73ac 
  src/tests/containerizer/cni_isolator_tests.cpp PRE-CREATION 

Diff: https://reviews.apache.org/r/46097/diff/


Testing (updated)
-------

$ sudo make check GTEST_FILTER="CniIsolatorTest.ROOT_LaunchCommandTask"
...
[ RUN      ] CniIsolatorTest.ROOT_LaunchCommandTask
+ /home/stack/workspace/mesos/build/src/mesos-containerizer mount --help=false 
--operation=make-rslave --path=/
+ + + cut -d grep -f5
 -v 28c5b811-5154-4718-9c4d-e76c1bc50ca8
+ xargs --no-run-if-empty umount -l
grep -E /tmp/CniIsolatorTest_ROOT_LaunchCommandTask_Pjsz7G/.+ 
/proc/self/mountinfo
+ mount -n --rbind 
/tmp/CniIsolatorTest_ROOT_LaunchCommandTask_Pjsz7G/provisioner/containers/28c5b811-5154-4718-9c4d-e76c1bc50ca8/backends/copy/rootfses/7dd027f8-3753-4afc-bae3-1334390a62d0
 
/tmp/CniIsolatorTest_ROOT_LaunchCommandTask_Pjsz7G/slaves/4743c920-1501-4e91-9be0-aa801d7d210f-S0/frameworks/4743c920-1501-4e91-9be0-aa801d7d210f-0000/executors/e1b3e486-d8f4-478a-9880-adfd02131ace/runs/28c5b811-5154-4718-9c4d-e76c1bc50ca8/.rootfs
I0420 21:43:34.856003  6701 exec.cpp:150] Version: 0.29.0
I0420 21:43:34.873869  6776 exec.cpp:225] Executor registered on agent 
4743c920-1501-4e91-9be0-aa801d7d210f-S0
Registered executor on mesos
Starting task e1b3e486-d8f4-478a-9880-adfd02131ace
Forked command at 6778
[/bin/ls, ls, -al, /]
total 56
drwxr-xr-x   17 root     root          4096 Apr 20 13:43 .
drwxr-xr-x   17 root     root          4096 Apr 20 13:43 ..
drwxr-xr-x    2 root     root          4096 Apr  1 18:56 bin
drwxr-xr-x    4 root     root           280 Apr 20 13:43 dev
drwxr-xr-x   13 root     root          4096 Apr 20 13:43 etc
drwxr-xr-x    2 root     root          4096 Apr  1 18:56 home
drwxr-xr-x    5 root     root          4096 Apr  1 18:56 lib
lrwxrwxrwx    1 root     root            12 Apr  1 18:56 linuxrc -> /bin/busybox
drwxr-xr-x    5 root     root          4096 Apr  1 18:56 media
drwxr-xr-x    3 root     root          4096 Apr 20 13:43 mnt
dr-xr-xr-x  156 root     root             0 Apr 17 08:03 proc
drwx------    2 root     root          4096 Apr  1 18:56 root
drwxr-xr-x    2 root     root          4096 Apr  1 18:56 run
drwxr-xr-x    2 root     root          4096 Apr  1 18:56 sbin
dr-xr-xr-x   13 root     root             0 Apr 17 08:01 sys
drwxrwxrwt    2 root     root          4096 Apr  1 18:56 tmp
drwxr-xr-x    7 root     root          4096 Apr  1 18:56 usr
drwxr-xr-x   10 root     root          4096 Apr  1 18:56 var
Command exited with status 0 (pid: 6778)
I0420 21:43:35.042424  6772 exec.cpp:399] Executor asked to shutdown
[       OK ] CniIsolatorTest.ROOT_LaunchCommandTask (41169 ms)
...


Thanks,

Qian Zhang

Reply via email to