mesos git commit: Fixed a typo in `CpuIsolatorTest.ROOT_SystemCpuUsage`.

2016-09-13 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 6cb80549b -> 0a1a79adf Fixed a typo in `CpuIsolatorTest.ROOT_SystemCpuUsage`. Review: https://reviews.apache.org/r/51878/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/comm

mesos git commit: Fixed the broken build on Mac OS.

2016-09-13 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 9f73082aa -> 6cb80549b Fixed the broken build on Mac OS. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/6cb80549 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tre

mesos git commit: Updated master validation for DOCKER ContainerInfo in TaskGroup.

2016-09-13 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master aeaec8940 -> 9f73082aa Updated master validation for DOCKER ContainerInfo in TaskGroup. DOCKER as ContainerInfo Type for both task group executor as well as taskgroup task is currently not supported. Only MESOS as ContainerInfo Type is supp

mesos git commit: Revert "Entered working directory before switch user."

2016-09-13 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master c09214e52 -> aeaec8940 Revert "Entered working directory before switch user." This reverts commit d25cafa30af94323fbd17dd220d7fdf7563e2f2a. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/re

commits@mesos.apache.org

2016-09-13 Thread yan
Repository: mesos Updated Branches: refs/heads/master 87e70888e -> c09214e52 Removed unneeded `Resources::add/remove(const Resource&)`. We can remove these given that they already call `Resources::add/remove(const Resource_&)` internally and a Resource is implicitly convertible to a Resource_.

[3/4] mesos git commit: Libprocess: Fixed includes for UNREACHABLE() macro.

2016-09-13 Thread alexr
Libprocess: Fixed includes for UNREACHABLE() macro. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/34989d59 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/34989d59 Diff: http://git-wip-us.apache.org/repos/asf/mesos/d

[2/4] mesos git commit: Stout: Fixed includes for UNREACHABLE() macro.

2016-09-13 Thread alexr
Stout: Fixed includes for UNREACHABLE() macro. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/4e7d2faf Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/4e7d2faf Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/4

[1/4] mesos git commit: Fixed a typo in provisioner.cpp.

2016-09-13 Thread alexr
Repository: mesos Updated Branches: refs/heads/master cde295a14 -> 87e70888e Fixed a typo in provisioner.cpp. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ad5bca13 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree

[4/4] mesos git commit: Fixed includes for UNREACHABLE() macro.

2016-09-13 Thread alexr
Fixed includes for UNREACHABLE() macro. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/87e70888 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/87e70888 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/87e70888

Re: [13/17] mesos git commit: Refactored cpu isolator associated test cases.

2016-09-13 Thread Alex R
This one broke the Mac build:http://pastebin.com/ryJEBkrX alex@alexr.local: ~/Projects/mesos/build/default $ c++ --version Apple LLVM version 7.3.0 (clang-703.0.31) Target: x86_64-apple-darwin15.6.0 In file included from ../../../src/tests/containerizer/cpu_isolator_tests.cpp:20: In file inclu

mesos git commit: Fixed line wrap in executor.proto.

2016-09-13 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 2d18088c2 -> cde295a14 Fixed line wrap in executor.proto. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/cde295a1 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tr

[1/2] mesos git commit: Added check in FileEncoder's destructor.

2016-09-13 Thread josephwu
Repository: mesos Updated Branches: refs/heads/master 2987c2578 -> 2d18088c2 Added check in FileEncoder's destructor. This check will force libprocess to fail fast if a file descriptor is closed underneath it. Review: https://reviews.apache.org/r/51511/ Project: http://git-wip-us.apache.org

[2/2] mesos git commit: Windows: Added missing include in docker/docker.cpp.

2016-09-13 Thread josephwu
Windows: Added missing include in docker/docker.cpp. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/2d18088c Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/2d18088c Diff: http://git-wip-us.apache.org/repos/asf/mesos/

mesos git commit: Fixed a compile warning in memory isolator tests.

2016-09-13 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 8e727e091 -> 2987c2578 Fixed a compile warning in memory isolator tests. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/2987c257 Tree: http://git-wip-us.apache.org/rep

[10/17] mesos git commit: Updated `NetClsCgroupsFilter` to use `NET_CLS_` to filter test cases.

2016-09-13 Thread jieyu
Updated `NetClsCgroupsFilter` to use `NET_CLS_` to filter test cases. Review: https://reviews.apache.org/r/51781/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/dcf48fe0 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tre

[13/17] mesos git commit: Refactored cpu isolator associated test cases.

2016-09-13 Thread jieyu
Refactored cpu isolator associated test cases. Review: https://reviews.apache.org/r/51787/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/451f65fd Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/451f65fd Diff: http:/

[17/17] mesos git commit: Refactored mem isolator associated test cases.

2016-09-13 Thread jieyu
Refactored mem isolator associated test cases. Review: https://reviews.apache.org/r/51788/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/612efe29 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/612efe29 Diff: http:/

[01/17] mesos git commit: Renamed `CGROUPS_ROOT_PERF_RollForward` to keep consistency.

2016-09-13 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master f833169b4 -> 8e727e091 Renamed `CGROUPS_ROOT_PERF_RollForward` to keep consistency. Review: https://reviews.apache.org/r/51791/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/meso

[11/17] mesos git commit: Entered working directory before switch user.

2016-09-13 Thread jieyu
Entered working directory before switch user. If `chdir` into the working directory after switch user, the user may fail because of permissions problem. Review: https://reviews.apache.org/r/51782/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/re

[03/17] mesos git commit: Disabled perf test when perf version is not supported.

2016-09-13 Thread jieyu
Disabled perf test when perf version is not supported. Review: https://reviews.apache.org/r/38528/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e766d4d1 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/e766d4d1 Diff

[08/17] mesos git commit: Removed CgroupsNetClsIsolatorProcess.

2016-09-13 Thread jieyu
Removed CgroupsNetClsIsolatorProcess. Review: https://reviews.apache.org/r/50750/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/34bcae44 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/34bcae44 Diff: http://git-wip-

[15/17] mesos git commit: Added a test case `ROOT_CGROUPS_CFS_BigQuotaDecimal`.

2016-09-13 Thread jieyu
Added a test case `ROOT_CGROUPS_CFS_BigQuotaDecimal`. Add a new test case `ROOT_CGROUPS_CFS_BigQuotaDecimal` to test updating CFS quota with decimal. Review: https://reviews.apache.org/r/51794/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos

[07/17] mesos git commit: Removed CgroupsCpushareIsolatorProcess.

2016-09-13 Thread jieyu
Removed CgroupsCpushareIsolatorProcess. Review: https://reviews.apache.org/r/50733/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/c3d1f776 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/c3d1f776 Diff: http://git-wi

[06/17] mesos git commit: Removed CgroupsMemIsolatorProcess.

2016-09-13 Thread jieyu
Removed CgroupsMemIsolatorProcess. Review: https://reviews.apache.org/r/50748/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f75d9494 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/f75d9494 Diff: http://git-wip-us.

[12/17] mesos git commit: Refactored `UserCgroupsIsolatorTest`.

2016-09-13 Thread jieyu
Refactored `UserCgroupsIsolatorTest`. Refactor `UserCgroupsIsolatorTest.ROOT_CGROUPS_PERF_UserCgroup` and rename to `CgroupsIsolatorTest.ROOT_CGROUPS_PERF_NET_CLS_UserCgroup`. Review: https://reviews.apache.org/r/51783/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://g

[02/17] mesos git commit: Refactored the test cases for net_cls cgroups isolation.

2016-09-13 Thread jieyu
Refactored the test cases for net_cls cgroups isolation. Review: https://reviews.apache.org/r/51789/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/665d4cc1 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/665d4cc1 Di

[05/17] mesos git commit: Enabled cgroups unified isolator in isolation.

2016-09-13 Thread jieyu
Enabled cgroups unified isolator in isolation. Review: https://reviews.apache.org/r/49855/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e2fea326 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/e2fea326 Diff: http:/

[14/17] mesos git commit: Support changing the cgroup owner for command tasks that has rootfs.

2016-09-13 Thread jieyu
Support changing the cgroup owner for command tasks that has rootfs. For command tasks that have rootfs defined, the command executor will be running as root. However, the task might want to manipulate cgroups. This patch allows that. Review: https://reviews.apache.org/r/51835 Project: http://g

[09/17] mesos git commit: Removed CgroupsPerfEventIsolatorProcess.

2016-09-13 Thread jieyu
Removed CgroupsPerfEventIsolatorProcess. Review: https://reviews.apache.org/r/50751/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/edf824b4 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/edf824b4 Diff: http://git-w

[04/17] mesos git commit: Removed CgroupsDevicesIsolatorProcess.

2016-09-13 Thread jieyu
Removed CgroupsDevicesIsolatorProcess. Review: https://reviews.apache.org/r/50749/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/dfd3690b Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/dfd3690b Diff: http://git-wip

[16/17] mesos git commit: Refactored the test cases for perf_event cgroups isolation.

2016-09-13 Thread jieyu
Refactored the test cases for perf_event cgroups isolation. Review: https://reviews.apache.org/r/51790/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/08594c26 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/08594c26

mesos git commit: Fixed an incorrect use of ASSERT_EQ.

2016-09-13 Thread yan
Repository: mesos Updated Branches: refs/heads/master fbaeb5f37 -> f833169b4 Fixed an incorrect use of ASSERT_EQ. This assertion calls ASSERT_EQ(expect, actual) as if it was ASSERT_EQ(actual, expect). This matters because otherwise when the assertion fails it prints confusing output. Project

mesos git commit: Checked correct file descriptor after call to `dup`.

2016-09-13 Thread joris
Repository: mesos Updated Branches: refs/heads/master bda1194e7 -> fbaeb5f37 Checked correct file descriptor after call to `dup`. Review: https://reviews.apache.org/r/51839/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit

mesos git commit: Removed dependency on external Docker image for mesos-tidy.

2016-09-13 Thread mpark
Repository: mesos Updated Branches: refs/heads/master 170c01f1a -> bda1194e7 Removed dependency on external Docker image for mesos-tidy. In order minimize external dependency, this patch modifies the implementation of `support/mesos-tidy.sh` to build the mesos-tidy Docker container on the fly