[2/3] mesos git commit: Implemented parse methods for OCI image spec.

2017-02-07 Thread qianzhang
pp b/include/mesos/oci/spec.hpp index ac0b063..ea4f29e 100644 --- a/include/mesos/oci/spec.hpp +++ b/include/mesos/oci/spec.hpp @@ -24,7 +24,29 @@ namespace spec { namespace image { namespace v1 { -// TODO(qianzhang): Add methods to parse OCI image spec +// Constant strings for OCI image

[1/3] mesos git commit: Add protobuf messages for OCI image spec.

2017-02-07 Thread qianzhang
ess or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef __MESOS_OCI_SPEC_HPP__ +#define __MESOS_OCI_SPEC_HPP__ + +#include + +namespace oci { +namespace spec { +namespace image { +namespace v1 { + +// TODO(qianzhang):

[3/3] mesos git commit: Added tests for parsing OCI image spec.

2017-02-07 Thread qianzhang
Added tests for parsing OCI image spec. Review: https://reviews.apache.org/r/55140/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/25f4feae Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/25f4feae Diff:

[6/6] mesos git commit: Removed `ProvisionerProcess::__provision()`.

2016-11-05 Thread qianzhang
Removed `ProvisionerProcess::__provision()`. Review: https://reviews.apache.org/r/53116 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3b6af1d8 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/3b6af1d8 Diff:

[2/6] mesos git commit: Added `setxattr()` and `getxattr()` in stout.

2016-11-05 Thread qianzhang
Added `setxattr()` and `getxattr()` in stout. Review: https://reviews.apache.org/r/53041 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e3c12c4c Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/e3c12c4c Diff:

[4/6] mesos git commit: Implemented the conversion from AUFS whiteouts to OverlayFS whiteouts.

2016-11-05 Thread qianzhang
Implemented the conversion from AUFS whiteouts to OverlayFS whiteouts. Review: https://reviews.apache.org/r/53161 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3800cfd0 Tree:

[3/6] mesos git commit: Added `FsTest.Xattr` test.

2016-11-05 Thread qianzhang
Added `FsTest.Xattr` test. Review: https://reviews.apache.org/r/53042 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/50f6c117 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/50f6c117 Diff:

[5/6] mesos git commit: Implemented handling AUFS whiteouts for copy backend.

2016-11-05 Thread qianzhang
Implemented handling AUFS whiteouts for copy backend. Review: https://reviews.apache.org/r/53115 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0f4c15ad Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/0f4c15ad Diff:

[1/6] mesos git commit: Divided utils.hpp to utils.hpp and utils.cpp.

2016-11-05 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master 61de69849 -> 3b6af1d8d Divided utils.hpp to utils.hpp and utils.cpp. Review: https://reviews.apache.org/r/53053 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[3/3] mesos git commit: Fixed a typo in the header files of stout.

2016-11-05 Thread qianzhang
Fixed a typo in the header files of stout. Review: https://reviews.apache.org/r/53044/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/69abbec9 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/69abbec9 Diff:

[2/3] mesos git commit: Fixed a typo in `executor.hpp`.

2016-11-05 Thread qianzhang
Fixed a typo in `executor.hpp`. Review: https://reviews.apache.org/r/53045/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/dc7f3f6e Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/dc7f3f6e Diff:

[1/3] mesos git commit: Fixed a comment in `stat.hpp`.

2016-11-05 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master 3b6af1d8d -> 69abbec9b Fixed a comment in `stat.hpp`. Review: https://reviews.apache.org/r/53018/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/8ccf7e81 Tree:

mesos git commit: Added the test `ProvisionerDockerWhiteoutTest`.

2016-11-05 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master f56b5c013 -> 9cea997c8 Added the test `ProvisionerDockerWhiteoutTest`. Review: https://reviews.apache.org/r/53127 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Fixed the broken cmake build.

2016-11-05 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master 69abbec9b -> f56b5c013 Fixed the broken cmake build. Review: https://reviews.apache.org/r/53513 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f56b5c01 Tree:

[4/4] mesos git commit: Added backport of r52910 to 1.1.x.

2016-11-23 Thread qianzhang
Added backport of r52910 to 1.1.x. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b7f0bc19 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/b7f0bc19 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/b7f0bc19

[1/4] mesos git commit: Added backport of MESOS-6360 (Mesos part) to 1.1.x.

2016-11-23 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/1.1.x de3a1b58a -> b810e22d3 Added backport of MESOS-6360 (Mesos part) to 1.1.x. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b810e22d Tree:

[3/4] mesos git commit: Added backport of MESOS-6360 (stout part) to 1.1.x.

2016-11-23 Thread qianzhang
Added backport of MESOS-6360 (stout part) to 1.1.x. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/2d655760 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/2d655760 Diff:

[2/4] mesos git commit: Added backport of MESOS-6002 to 1.1.x.

2016-11-23 Thread qianzhang
Added backport of MESOS-6002 to 1.1.x. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/14355b75 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/14355b75 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/14355b75

[2/2] mesos git commit: Added '--task' into mesos-execute.

2016-11-21 Thread qianzhang
Added '--task' into mesos-execute. Review: https://reviews.apache.org/r/53645/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/77da99a9 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/77da99a9 Diff:

[1/2] mesos git commit: Added parse function for v1::TaskInfo protobuf.

2016-11-21 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master 22dd6e321 -> 77da99a9c Added parse function for v1::TaskInfo protobuf. Review: https://reviews.apache.org/r/53644/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Added Qian Zhang to the list of committers.

2016-11-01 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master fdd9304c4 -> 816fa1616 Added Qian Zhang to the list of committers. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/816fa161 Tree:

mesos git commit: Added backport of MESOS-6571 to 1.1.x.

2016-12-28 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/1.1.x 2342bc335 -> f5b6cb8d6 Added backport of MESOS-6571 to 1.1.x. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f5b6cb8d Tree:

mesos git commit: Added MESOS-6571 to CHANGELOG for 1.1.1.

2016-12-28 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master 3cb30eb16 -> 3ba3565ae Added MESOS-6571 to CHANGELOG for 1.1.1. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3ba3565a Tree:

[2/3] mesos git commit: Updated OCI spec parsing & validation code with latest OCI image spec.

2017-03-28 Thread qianzhang
Updated OCI spec parsing & validation code with latest OCI image spec. Review: https://reviews.apache.org/r/56852/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0c1d50d2 Tree:

[3/3] mesos git commit: Update OCI tests with the latest OCI image spec.

2017-03-28 Thread qianzhang
Update OCI tests with the latest OCI image spec. Review: https://reviews.apache.org/r/56853/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/18f6642e Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/18f6642e Diff:

[1/3] mesos git commit: Updated OCI protobuf messages with latest OCI image spec.

2017-03-28 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master 52dfc2f00 -> 18f6642e2 Updated OCI protobuf messages with latest OCI image spec. Review: https://reviews.apache.org/r/56851/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Fixed the samples in multiple-disk.md.

2017-04-19 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master a1610 -> 253c89483 Fixed the samples in multiple-disk.md. Review: https://reviews.apache.org/r/58473/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/253c8948

[8/9] mesos git commit: Added a test `DefaultContainerDNSCniTest.ROOT_VerifyDefaultDNS`.

2017-08-03 Thread qianzhang
Added a test `DefaultContainerDNSCniTest.ROOT_VerifyDefaultDNS`. Review: https://reviews.apache.org/r/60793 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/18ad7fb7 Tree:

[1/9] mesos git commit: Added a test `DefaultContainerDNSFlagTest.ValidateFlag`.

2017-08-03 Thread qianzhang
;--work_dir=/tmp" + }; + + string containerizer = GetParam(); + + // Verifies the unknown network mode is not supported. + // + // TODO(qianzhang): Change the value of the `network_mode` + // to an non-existent enum value once MESOS-7828 is resolved. + string defaultContainerDNSInfo = +"--default_

[7/9] mesos git commit: Set container DNS with `--default_container_dns` in CNI isolator.

2017-08-03 Thread qianzhang
Set container DNS with `--default_container_dns` in CNI isolator. Review: https://reviews.apache.org/r/60600 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/30b49016 Tree:

[3/9] mesos git commit: Set container DNS with `--default_container_dns` in Docker executor.

2017-08-03 Thread qianzhang
Set container DNS with `--default_container_dns` in Docker executor. Review: https://reviews.apache.org/r/60558 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3da83b33 Tree:

[6/9] mesos git commit: Passed default container DNS info to Docker executor.

2017-08-03 Thread qianzhang
Passed default container DNS info to Docker executor. Review: https://reviews.apache.org/r/60557 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/48b5ef03 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/48b5ef03 Diff:

[4/9] mesos git commit: Introduced `--default_container_dns` agent flag.

2017-08-03 Thread qianzhang
Introduced `--default_container_dns` agent flag. Review: https://reviews.apache.org/r/60500 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ebfccf4e Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/ebfccf4e Diff:

[2/9] mesos git commit: Added a test `DockerContainerizerTest.ROOT_DOCKER_DefaultDNS`.

2017-08-03 Thread qianzhang
Added a test `DockerContainerizerTest.ROOT_DOCKER_DefaultDNS`. Review: https://reviews.apache.org/r/60761 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d67595cd Tree:

[9/9] mesos git commit: Parsed DNS related info from the output of `docker inspect`.

2017-08-03 Thread qianzhang
Parsed DNS related info from the output of `docker inspect`. Review: https://reviews.apache.org/r/60760 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/28faca0a Tree:

[5/9] mesos git commit: Set container DNS with `--default_container_dns` in DockerContainerizer.

2017-08-03 Thread qianzhang
Set container DNS with `--default_container_dns` in DockerContainerizer. Review: https://reviews.apache.org/r/61075 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/cf841cdd Tree:

mesos git commit: Replaced raw string with normal string for `DefaultContainerDNSCniTest`.

2017-08-03 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master 9b658ce17 -> 50b7a3e0a Replaced raw string with normal string for `DefaultContainerDNSCniTest`. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/50b7a3e0 Tree:

mesos git commit: Fixed a typo in CNI isolator test.

2017-07-11 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master 4fe22dd33 -> c0c6d3efd Fixed a typo in CNI isolator test. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/c0c6d3ef Tree:

mesos git commit: Fixed an incorrect field name in fetcher.md.

2017-07-16 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master 4b6269c1f -> 400d3002d Fixed an incorrect field name in fetcher.md. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/400d3002 Tree:

[1/3] mesos git commit: Generated protobuf_tests.pb.* files during the build.

2017-07-26 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master fc27129a1 -> e6ec4e836 http://git-wip-us.apache.org/repos/asf/mesos/blob/e6ec4e83/3rdparty/stout/tests/protobuf_tests.pb.h -- diff --git

[3/3] mesos git commit: Generated protobuf_tests.pb.* files during the build.

2017-07-26 Thread qianzhang
Generated protobuf_tests.pb.* files during the build. Review: https://reviews.apache.org/r/60109/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e6ec4e83 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/e6ec4e83

[2/3] mesos git commit: Generated protobuf_tests.pb.* files during the build.

2017-07-26 Thread qianzhang
http://git-wip-us.apache.org/repos/asf/mesos/blob/e6ec4e83/3rdparty/stout/tests/protobuf_tests.pb.cc -- diff --git a/3rdparty/stout/tests/protobuf_tests.pb.cc b/3rdparty/stout/tests/protobuf_tests.pb.cc deleted file mode 100644

mesos git commit: Surrounded raw string with `string()` for `DefaultContainerDNSCniTest`.

2017-08-03 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master 01e5bc386 -> 9b0c836cd Surrounded raw string with `string()` for `DefaultContainerDNSCniTest`. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/9b0c836c Tree:

mesos git commit: Fixed a few typos.

2017-08-06 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master 5693e3554 -> 36c48d81e Fixed a few typos. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/36c48d81 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/36c48d81

[1/2] mesos git commit: Added a test `ProtobufTest.ParseJSONUnrecognizedEnum`.

2017-10-02 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master 772c8f554 -> 2f3ceb451 Added a test `ProtobufTest.ParseJSONUnrecognizedEnum`. Review: https://reviews.apache.org/r/61174 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Allows port mapper plugin to have optional args.

2017-09-05 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master 6f98b8d6d -> 7b5b728da Allows port mapper plugin to have optional args. Mesos port mapper cni plugin is a wrapper around bridge plugin to add port mapping functionality to bridge plugin. However, in certain cases the network creator

mesos git commit: Fixed a memory leak in composing containerizer.

2017-09-13 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master 5125b80ea -> 257ee1740 Fixed a memory leak in composing containerizer. Review: https://reviews.apache.org/r/62237 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[1/3] mesos git commit: Updated docker executor to return IPv6 address of a container.

2017-08-25 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master 1d980ad06 -> 4468e7bba Updated docker executor to return IPv6 address of a container. A docker container can have a v4 and a v6 address. Currently the docker executor was returning only the IPv4 address. This changes allows the executor to

[2/3] mesos git commit: Added test filter for docker user network tests.

2017-08-25 Thread qianzhang
Added test filter for docker user network tests. Review: https://reviews.apache.org/r/61873/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0a6509b8 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/0a6509b8 Diff:

[3/3] mesos git commit: Added a test for IPv6 containers on docker user networks.

2017-08-25 Thread qianzhang
Added a test for IPv6 containers on docker user networks. The test creates a IPv6 docker user network. It than launches an alpine image on the docker user network. Finally it checks if the IP address allocated to the container are reflected correctly in state. Review:

[4/4] mesos git commit: Added 3 tests for TCP/HTTP(S) health check support for Docker container.

2017-11-28 Thread qianzhang
ker); + Owned detector = master.get()->createDetector(); Try<Owned> agent = -StartSlave(detector.get(), containerizer.get(), flags); +StartSlave(detector.get(), , agentFlags); ASSERT_SOME(agent); MockScheduler sched; MesosSchedulerDriver driver( -

[2/4] mesos git commit: Made `mesos-tcp-connect` support IPv6.

2017-11-28 Thread qianzhang
Made `mesos-tcp-connect` support IPv6. Review: https://reviews.apache.org/r/63795 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f9cb1891 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/f9cb1891 Diff:

[3/4] mesos git commit: Added a new member field `ipv6` to the `CheckerProcess` class.

2017-11-28 Thread qianzhang
ate: const Option agentURL; const Option authorizationHeader; const Option scheme; - const bool commandCheckViaAgent; const std::string name; + const bool commandCheckViaAgent; + + // If set to true, the TCP/HTTP(S) check will be performed over IPv6, + // otherwise, it will be performe

[1/4] mesos git commit: Made `CheckerProcess` support IPv6 for HTTP/TCP check.

2017-11-28 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master 237b30dc9 -> 00dfbc80b Made `CheckerProcess` support IPv6 for HTTP/TCP check. Review: https://reviews.apache.org/r/63796 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[3/4] mesos git commit: Checked TASK_KILLED in the test `ROOT_INTERNET_CURL_PortMapper`.

2017-11-14 Thread qianzhang
Checked TASK_KILLED in the test `ROOT_INTERNET_CURL_PortMapper`. Review: https://reviews.apache.org/r/62327 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e9408127 Tree:

[4/4] mesos git commit: Added release notes for 1.4.2 and added MESOS-7975 to it.

2017-11-14 Thread qianzhang
Added release notes for 1.4.2 and added MESOS-7975 to it. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b2bf5542 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/b2bf5542 Diff:

[4/4] mesos git commit: Added MESOS-7975 to the 1.3.2 CHANGELOG.

2017-11-14 Thread qianzhang
Added MESOS-7975 to the 1.3.2 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/022e5240 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/022e5240 Diff:

[2/4] mesos git commit: Always send TASK_KILLED when the task is killed by a framework.

2017-11-14 Thread qianzhang
Always send TASK_KILLED when the task is killed by a framework. This change is done for command, docker and default executors. Review: https://reviews.apache.org/r/62326 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[1/4] mesos git commit: Updated the comments of TASK_FINISHED to make it more clear.

2017-11-14 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/1.3.x fa1d61003 -> 022e52405 Updated the comments of TASK_FINISHED to make it more clear. Review: https://reviews.apache.org/r/62685 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[3/4] mesos git commit: Checked TASK_KILLED in the test `ROOT_INTERNET_CURL_PortMapper`.

2017-11-14 Thread qianzhang
Checked TASK_KILLED in the test `ROOT_INTERNET_CURL_PortMapper`. Review: https://reviews.apache.org/r/62327 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/94170788 Tree:

[2/4] mesos git commit: Updated the comments of TASK_FINISHED to make it more clear.

2017-11-14 Thread qianzhang
Updated the comments of TASK_FINISHED to make it more clear. Review: https://reviews.apache.org/r/62685 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/065a9cae Tree:

[1/4] mesos git commit: Always send TASK_KILLED when the task is killed by a framework.

2017-11-14 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/1.4.x c844db9ac -> b2bf5542d Always send TASK_KILLED when the task is killed by a framework. This change is done for command, docker and default executors. Review: https://reviews.apache.org/r/62326 Project:

[1/3] mesos git commit: Updated the comments of TASK_FINISHED to make it more clear.

2017-11-14 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/1.2.x fdadfa416 -> f8706e580 Updated the comments of TASK_FINISHED to make it more clear. Review: https://reviews.apache.org/r/62685 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[3/3] mesos git commit: Added MESOS-7975 to the 1.2.3 CHANGELOG.

2017-11-14 Thread qianzhang
Added MESOS-7975 to the 1.2.3 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f8706e58 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/f8706e58 Diff:

[2/3] mesos git commit: Always send TASK_KILLED when the task is killed by a framework.

2017-11-14 Thread qianzhang
Always send TASK_KILLED when the task is killed by a framework. This change is done for command, docker and default executors. Review: https://reviews.apache.org/r/62326 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[1/2] mesos git commit: Ignored the tasks already being killed when killing the task group.

2017-11-04 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/1.3.x b6f6e7a13 -> fa1d61003 Ignored the tasks already being killed when killing the task group. When the scheduler tries to kill multiple tasks in the task group simultaneously, the default executor will kill the tasks one by one. When the first

[1/2] mesos git commit: Ignored the tasks already being killed when killing the task group.

2017-11-04 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/1.2.x a7fb1fbce -> fdadfa416 Ignored the tasks already being killed when killing the task group. When the scheduler tries to kill multiple tasks in the task group simultaneously, the default executor will kill the tasks one by one. When the first

[2/2] mesos git commit: Added MESOS-8051 to the 1.3.2 CHANGELOG.

2017-11-04 Thread qianzhang
Added MESOS-8051 to the 1.3.2 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/fa1d6100 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/fa1d6100 Diff:

[2/2] mesos git commit: Added MESOS-8051 to the 1.4.1 CHANGELOG.

2017-11-04 Thread qianzhang
Added MESOS-8051 to the 1.4.1 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/a2b346b9 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/a2b346b9 Diff:

[1/2] mesos git commit: Ignored the tasks already being killed when killing the task group.

2017-11-04 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/1.4.x 049bfecc0 -> a2b346b98 Ignored the tasks already being killed when killing the task group. When the scheduler tries to kill multiple tasks in the task group simultaneously, the default executor will kill the tasks one by one. When the first

[3/5] mesos git commit: Updated the comments of TASK_FINISHED to make it more clear.

2017-11-01 Thread qianzhang
Updated the comments of TASK_FINISHED to make it more clear. Review: https://reviews.apache.org/r/62685 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ce834764 Tree:

[1/5] mesos git commit: Added a test `ROOT_DOCKER_NoTransitionFromKillingToFinished`.

2017-11-01 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master 816518867 -> 815263ead Added a test `ROOT_DOCKER_NoTransitionFromKillingToFinished`. Review: https://reviews.apache.org/r/62774 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[4/5] mesos git commit: Always send TASK_KILLED when the task is killed by a framework.

2017-11-01 Thread qianzhang
Always send TASK_KILLED when the task is killed by a framework. This change is done for command, docker and default executors. Review: https://reviews.apache.org/r/62326 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/5] mesos git commit: Checked TASK_KILLED in the test `ROOT_INTERNET_CURL_PortMapper`.

2017-11-01 Thread qianzhang
Checked TASK_KILLED in the test `ROOT_INTERNET_CURL_PortMapper`. Review: https://reviews.apache.org/r/62327 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/8e3cb6ae Tree:

[5/5] mesos git commit: Added a test `ROOT_NoTransitionFromKillingToFinished`.

2017-11-01 Thread qianzhang
Added a test `ROOT_NoTransitionFromKillingToFinished`. Review: https://reviews.apache.org/r/62775 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/815263ea Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/815263ea

mesos git commit: Fixed the unit test that broke Windows build.

2017-11-02 Thread qianzhang
llingCapability) } -// TODO(hausdorff): Kill policy helpers are not yet enabled on Windows. See -// MESOS-6698. +// TODO(qianzhang): Kill policy helpers are not yet enabled on Windows. See +// MESOS-8168. #ifndef __WINDOWS__ // This test ensures that a task will transition straight fro

[1/2] mesos git commit: Ignored the tasks already being killed when killing the task group.

2017-10-30 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master f201bb558 -> 28831de34 Ignored the tasks already being killed when killing the task group. When the scheduler tries to kill multiple tasks in the task group simultaneously, the default executor will kill the tasks one by one. When the

[2/2] mesos git commit: Added a test `DefaultExecutorTest.KillMultipleTasks`.

2017-10-30 Thread qianzhang
Added a test `DefaultExecutorTest.KillMultipleTasks`. Review: https://reviews.apache.org/r/62837 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/28831de3 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/28831de3 Diff:

mesos git commit: Added `libacl` into a few Dockerfiles.

2018-04-27 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master aa6594728 -> 617d55e24 Added `libacl` into a few Dockerfiles. This commit adds `libacl` into Dockerfiles for the images: 1. mesos/mesos-build 2. mesos/mesos-tidy 2. mesos/mesos-mini Review: https://reviews.apache.org/r/66840

mesos git commit: Fixed flaky `TerminatedNestedStatus` test.

2018-05-25 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master 415451ee8 -> fcc8ca168 Fixed flaky `TerminatedNestedStatus` test. This patch adds call of `destroy()` for a parent container. Review: https://reviews.apache.org/r/67317/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[4/8] mesos git commit: Enabled composing containerizer as a default containerizer in tests.

2018-05-24 Thread qianzhang
Enabled composing containerizer as a default containerizer in tests. This patch enforces all tests that start an agent to use composing containerizer. This is needed to make sure that composing containerizer is fairly covered by tests. Review: https://reviews.apache.org/r/66817/ Project:

[5/8] mesos git commit: Removed extra `containerizer->wait()` calls in tests.

2018-05-24 Thread qianzhang
Removed extra `containerizer->wait()` calls in tests. Previously, `wait()` and `destroy()` containerizer methods returned different types, so it was necessarry to call `wait()` before calling `destroy()` to get the process's exit status. Now, as both methods return `ContainerTermination`, we can

[8/8] mesos git commit: Added test to verify presence of nested container termination status.

2018-05-24 Thread qianzhang
Added test to verify presence of nested container termination status. This test verifies that both mesos and composing containerizers maintain the contract described in the Containerizer API regarding availability of a termination status for terminated nested containers. Review:

[3/8] mesos git commit: Updated composing containerizer tests.

2018-05-24 Thread qianzhang
Updated composing containerizer tests. This patch updates composing containerizer tests in order to be consistent with the unification of `destroy()` and `wait()` return types. Review: https://reviews.apache.org/r/66671/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/8] mesos git commit: Ensured that `wait()` and `destroy()` return the same result.

2018-05-24 Thread qianzhang
Ensured that `wait()` and `destroy()` return the same result. We need to return the same `ContainerTermination` result for both `wait()` and `destroy()` for a terminated container. This patch ensures that for a terminated nested container `destroy()` returns the same result as for `wait()`.

[7/8] mesos git commit: Restored `WaitAfterDestroy` test for a nested container.

2018-05-24 Thread qianzhang
Restored `WaitAfterDestroy` test for a nested container. This test was removed in fd4b9af147, but it's important to check that after termination of a nested container, its termination status is available. This property is used in default executor. Review: https://reviews.apache.org/r/65505/

[6/8] mesos git commit: Updated comments related to `wait`, `destroy` containerizer methods.

2018-05-24 Thread qianzhang
Updated comments related to `wait`, `destroy` containerizer methods. This patch updates description of `wait()` and `destroy()` methods of the containerizer API. Review: https://reviews.apache.org/r/67130/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Made CNI isolator recovery waits until unknown orphan cleanup is done.

2018-07-01 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master 0da49ee9b -> 77aba9a27 Made CNI isolator recovery waits until unknown orphan cleanup is done. Review: https://reviews.apache.org/r/67769 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[4/4] mesos git commit: Detached the virtual paths regardless of the result of gc.

2018-01-16 Thread qianzhang
Detached the virtual paths regardless of the result of gc. Previously we only detach the following paths when the gc for the executor's sandbox succeeds. 1. /agent_workdir/frameworks/FID/executors/EID/runs/CID 2. /agent_workdir/frameworks/FID/executors/EID/runs/latest 3.

[2/4] mesos git commit: Made task's volume directory visible in the /files endpoints.

2018-01-16 Thread qianzhang
-wip-us.apache.org/repos/asf/mesos/blob/e126254e/src/slave/slave.hpp -- diff --git a/src/slave/slave.hpp b/src/slave/slave.hpp index ef0eae2..a07f046 100644 --- a/src/slave/slave.hpp +++ b/src/slave/slave.hpp @@ -833,6 +833,29

[1/4] mesos git commit: Detached `virtualLatestPath` when recovering the executor.

2018-01-16 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master 9e2f9a240 -> 2c5da1b66 Detached `virtualLatestPath` when recovering the executor. Previously we miss to detach `/frameworks/FID/executors/EID/runs/latest` when we find the latest run of the executor was completed in the method

[3/4] mesos git commit: Updated `ROOT_TaskSandboxPersistentVolume` to check `/files` endpoint.

2018-01-16 Thread qianzhang
Updated `ROOT_TaskSandboxPersistentVolume` to check `/files` endpoint. Review: https://reviews.apache.org/r/65070 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/9585a217 Tree:

[1/4] mesos git commit: Made task's volume directory visible in the /files endpoints.

2018-01-16 Thread qianzhang
eratedForCommandTask() const { return isGeneratedForCommandTask_; http://git-wip-us.apache.org/repos/asf/mesos/blob/f2466a76/src/slave/slave.hpp -- diff --git a/src/slave/slave.hpp b/src/slave/slave.hpp index ef0eae2..a07f046

[3/4] mesos git commit: Detached `virtualLatestPath` when recovering the executor.

2018-01-16 Thread qianzhang
Detached `virtualLatestPath` when recovering the executor. Previously we miss to detach `/frameworks/FID/executors/EID/runs/latest` when we find the latest run of the executor was completed in the method `Framework::recoverExecutor`, that is a leak. Review: https://reviews.apache.org/r/65167

[4/4] mesos git commit: Added MESOS-8279, MESOS-8444 and MESOS-8446 to the 1.5.0 CHANGELOG.

2018-01-16 Thread qianzhang
Added MESOS-8279, MESOS-8444 and MESOS-8446 to the 1.5.0 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1d9b5de7 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/1d9b5de7 Diff:

[2/4] mesos git commit: Detached the virtual paths regardless of the result of gc.

2018-01-16 Thread qianzhang
Detached the virtual paths regardless of the result of gc. Previously we only detach the following paths when the gc for the executor's sandbox succeeds. 1. /agent_workdir/frameworks/FID/executors/EID/runs/CID 2. /agent_workdir/frameworks/FID/executors/EID/runs/latest 3.

mesos git commit: Updated Qian Zhang's entry in the contributors list.

2018-01-17 Thread qianzhang
.com +- qzh...@mesosphere.com jira_user: qianzhang reviewboard_user: qianzhang

mesos git commit: Updated the way to output error messages in `NetworkCniIsolatorSetup`.

2018-01-24 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master 635c33431 -> 2cdbec02e Updated the way to output error messages in `NetworkCniIsolatorSetup`. Review: https://reviews.apache.org/r/65306 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Fixed a minor issue in the log message of `network/cni` isolator.

2018-01-30 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master 2bb7189e9 -> 7f148e00a Fixed a minor issue in the log message of `network/cni` isolator. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/7f148e00 Tree:

mesos git commit: Fixed a typo in `Slave::recover`.

2018-01-28 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master 15fc434e4 -> 25d269605 Fixed a typo in `Slave::recover`. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/25d26960 Tree:

  1   2   3   4   5   6   7   >