mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Qian Zhang <zhq527...@gmail.com>
Subject Re: Review Request 53127: Added the test `ProvisionerDockerWhiteoutTest`.
Date Wed, 02 Nov 2016 14:17:10 GMT

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

(Updated Nov. 2, 2016, 10:17 p.m.)


Review request for mesos and Jie Yu.


Changes
-------

Addressed Zhitao and Jie's comments.


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


Repository: mesos


Description
-------

Added the test `ProvisionerDockerWhiteoutTest`.


Diffs (updated)
-----

  src/tests/containerizer/provisioner_docker_tests.cpp d8fb7abb55410cfd0835f59bfc0f35566aeeae37


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


Testing
-------

[==========] Running 3 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 3 tests from BackendFlag/ProvisionerDockerWhiteoutTest
[ RUN      ] BackendFlag/ProvisionerDockerWhiteoutTest.ROOT_INTERNET_CURL_Whiteout/0
Executing pre-exec command '{"arguments":["mesos-containerizer","mount","--help=false","--operation=make-rslave","--path=\/"],"shell":false,"value":"\/home\/stack\/workspace\/mesos\/build\/src\/mesos-containerizer"}'
Executing pre-exec command '{"arguments":["mount","-n","--rbind","\/tmp\/BackendFlag_ProvisionerDockerWhiteoutTest_ROOT_INTERNET_CURL_Whiteout_0_42lvlX\/slaves\/5ec98305-4a7d-4351-976e-7c7f4023329c-S0\/frameworks\/5ec98305-4a7d-4351-976e-7c7f4023329c-0000\/executors\/7bea80dc-b644-430f-abb0-cabe2af3ded8\/runs\/2f4f0799-8fc1-4260-b1d3-422aa40f8ef1","\/tmp\/BackendFlag_ProvisionerDockerWhiteoutTest_ROOT_INTERNET_CURL_Whiteout_0_42lvlX\/provisioner\/containers\/2f4f0799-8fc1-4260-b1d3-422aa40f8ef1\/backends\/aufs\/rootfses\/8837b468-156f-4e04-96b2-ab201626ad3c\/mnt\/mesos\/sandbox"],"shell":false,"value":"mount"}'
I1024 16:17:23.245787 13269 exec.cpp:162] Version: 1.2.0
I1024 16:17:23.256351 13271 exec.cpp:237] Executor registered on agent 5ec98305-4a7d-4351-976e-7c7f4023329c-S0
Received SUBSCRIBED event
Subscribed executor on workstation
Received LAUNCH event
Starting task 7bea80dc-b644-430f-abb0-cabe2af3ded8
/home/stack/workspace/mesos/build/src/mesos-containerizer launch --command="{"arguments":["test","!","-f","\/etc\/rc3.d\/S40-network"],"shell":false,"value":"\/usr\/bin\/test"}"
--help="false" --rootfs="/tmp/BackendFlag_ProvisionerDockerWhiteoutTest_ROOT_INTERNET_CURL_Whiteout_0_42lvlX/provisioner/containers/2f4f0799-8fc1-4260-b1d3-422aa40f8ef1/backends/aufs/rootfses/8837b468-156f-4e04-96b2-ab201626ad3c"
--unshare_namespace_mnt="true" --user="root" --working_directory="/mnt/mesos/sandbox"
Forked command at 13278
Changing root to /tmp/BackendFlag_ProvisionerDockerWhiteoutTest_ROOT_INTERNET_CURL_Whiteout_0_42lvlX/provisioner/containers/2f4f0799-8fc1-4260-b1d3-422aa40f8ef1/backends/aufs/rootfses/8837b468-156f-4e04-96b2-ab201626ad3c
Command exited with status 0 (pid: 13278)
I1024 16:17:23.500792 13273 exec.cpp:414] Executor asked to shutdown
Received SHUTDOWN event
Shutting down
[       OK ] BackendFlag/ProvisionerDockerWhiteoutTest.ROOT_INTERNET_CURL_Whiteout/0 (1365
ms)
[ RUN      ] BackendFlag/ProvisionerDockerWhiteoutTest.ROOT_INTERNET_CURL_Whiteout/1
Executing pre-exec command '{"arguments":["mesos-containerizer","mount","--help=false","--operation=make-rslave","--path=\/"],"shell":false,"value":"\/home\/stack\/workspace\/mesos\/build\/src\/mesos-containerizer"}'
Executing pre-exec command '{"arguments":["mount","-n","--rbind","\/tmp\/BackendFlag_ProvisionerDockerWhiteoutTest_ROOT_INTERNET_CURL_Whiteout_1_Zm1mK7\/slaves\/9d49d96c-189d-47e9-9370-72146356af7c-S0\/frameworks\/9d49d96c-189d-47e9-9370-72146356af7c-0000\/executors\/ae8fda3e-db36-49f7-8699-9a4768d4af27\/runs\/49f24d09-6474-4a39-9da6-8c8da0ad4238","\/tmp\/BackendFlag_ProvisionerDockerWhiteoutTest_ROOT_INTERNET_CURL_Whiteout_1_Zm1mK7\/provisioner\/containers\/49f24d09-6474-4a39-9da6-8c8da0ad4238\/backends\/copy\/rootfses\/db73608a-614b-49be-bebe-cd9aa42e31f5\/mnt\/mesos\/sandbox"],"shell":false,"value":"mount"}'
I1024 16:17:24.971269 13344 exec.cpp:162] Version: 1.2.0
I1024 16:17:24.981901 13364 exec.cpp:237] Executor registered on agent 9d49d96c-189d-47e9-9370-72146356af7c-S0
Received SUBSCRIBED event
Subscribed executor on workstation
Received LAUNCH event
Starting task ae8fda3e-db36-49f7-8699-9a4768d4af27
/home/stack/workspace/mesos/build/src/mesos-containerizer launch --command="{"arguments":["test","!","-f","\/etc\/rc3.d\/S40-network"],"shell":false,"value":"\/usr\/bin\/test"}"
--help="false" --rootfs="/tmp/BackendFlag_ProvisionerDockerWhiteoutTest_ROOT_INTERNET_CURL_Whiteout_1_Zm1mK7/provisioner/containers/49f24d09-6474-4a39-9da6-8c8da0ad4238/backends/copy/rootfses/db73608a-614b-49be-bebe-cd9aa42e31f5"
--unshare_namespace_mnt="true" --user="root" --working_directory="/mnt/mesos/sandbox"
Forked command at 13367
Changing root to /tmp/BackendFlag_ProvisionerDockerWhiteoutTest_ROOT_INTERNET_CURL_Whiteout_1_Zm1mK7/provisioner/containers/49f24d09-6474-4a39-9da6-8c8da0ad4238/backends/copy/rootfses/db73608a-614b-49be-bebe-cd9aa42e31f5
Command exited with status 0 (pid: 13367)
I1024 16:17:25.219810 13364 exec.cpp:414] Executor asked to shutdown
Received SHUTDOWN event
Shutting down
[       OK ] BackendFlag/ProvisionerDockerWhiteoutTest.ROOT_INTERNET_CURL_Whiteout/1 (1675
ms)
[ RUN      ] BackendFlag/ProvisionerDockerWhiteoutTest.ROOT_INTERNET_CURL_Whiteout/2
Executing pre-exec command '{"arguments":["mesos-containerizer","mount","--help=false","--operation=make-rslave","--path=\/"],"shell":false,"value":"\/home\/stack\/workspace\/mesos\/build\/src\/mesos-containerizer"}'
Executing pre-exec command '{"arguments":["mount","-n","--rbind","\/tmp\/BackendFlag_ProvisionerDockerWhiteoutTest_ROOT_INTERNET_CURL_Whiteout_2_3mlpFD\/slaves\/6f62497e-7350-4123-aa88-c31e25f4a049-S0\/frameworks\/6f62497e-7350-4123-aa88-c31e25f4a049-0000\/executors\/3c8642e1-fdbe-4c4a-8989-97253b1c291e\/runs\/ed539fd5-f0e0-4940-97aa-e61a40912b45","\/tmp\/BackendFlag_ProvisionerDockerWhiteoutTest_ROOT_INTERNET_CURL_Whiteout_2_3mlpFD\/provisioner\/containers\/ed539fd5-f0e0-4940-97aa-e61a40912b45\/backends\/overlay\/rootfses\/1d3e4c7f-df4e-4b54-b45c-51a8d90557eb\/mnt\/mesos\/sandbox"],"shell":false,"value":"mount"}'
I1024 16:17:26.184183 13429 exec.cpp:162] Version: 1.2.0
I1024 16:17:26.193071 13449 exec.cpp:237] Executor registered on agent 6f62497e-7350-4123-aa88-c31e25f4a049-S0
Received SUBSCRIBED event
Subscribed executor on workstation
Received LAUNCH event
Starting task 3c8642e1-fdbe-4c4a-8989-97253b1c291e
/home/stack/workspace/mesos/build/src/mesos-containerizer launch --command="{"arguments":["test","!","-f","\/etc\/rc3.d\/S40-network"],"shell":false,"value":"\/usr\/bin\/test"}"
--help="false" --rootfs="/tmp/BackendFlag_ProvisionerDockerWhiteoutTest_ROOT_INTERNET_CURL_Whiteout_2_3mlpFD/provisioner/containers/ed539fd5-f0e0-4940-97aa-e61a40912b45/backends/overlay/rootfses/1d3e4c7f-df4e-4b54-b45c-51a8d90557eb"
--unshare_namespace_mnt="true" --user="root" --working_directory="/mnt/mesos/sandbox"
Forked command at 13452
Changing root to /tmp/BackendFlag_ProvisionerDockerWhiteoutTest_ROOT_INTERNET_CURL_Whiteout_2_3mlpFD/provisioner/containers/ed539fd5-f0e0-4940-97aa-e61a40912b45/backends/overlay/rootfses/1d3e4c7f-df4e-4b54-b45c-51a8d90557eb
Command exited with status 0 (pid: 13452)
I1024 16:17:26.435434 13446 exec.cpp:414] Executor asked to shutdown
Received SHUTDOWN event
Shutting down
[       OK ] BackendFlag/ProvisionerDockerWhiteoutTest.ROOT_INTERNET_CURL_Whiteout/2 (1147
ms)
[----------] 3 tests from BackendFlag/ProvisionerDockerWhiteoutTest (4193 ms total)

[----------] Global test environment tear-down
[==========] 3 tests from 1 test case ran. (4209 ms total)
[  PASSED  ] 3 tests.


Thanks,

Qian Zhang


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message