mesos git commit: Reformated libprocess example code.

2018-05-24 Thread bbannier
Repository: mesos Updated Branches: refs/heads/master 5248cb1c5 -> cb8a30bbd Reformated libprocess example code. Review: https://reviews.apache.org/r/67281/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/cb8a30bb Tree:

mesos git commit: Fixed `mesos-style` missing ending newline warning.

2018-05-24 Thread andschwa
Repository: mesos Updated Branches: refs/heads/master cb8a30bbd -> 668030da1 Fixed `mesos-style` missing ending newline warning. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/668030da Tree:

mesos git commit: Moved JWT test keys into the tests source file.

2018-05-24 Thread jpeach
Repository: mesos Updated Branches: refs/heads/master 668030da1 -> 9780b214e Moved JWT test keys into the tests source file. The JWT test keys were only used by the JWT tests, so there was no necessity for them to be in a header file. Moved them into the source file to fix `make distcheck`

[1/3] mesos-site git commit: Updated the website built from mesos SHA: 9780b21.

2018-05-24 Thread git-site-role
Repository: mesos-site Updated Branches: refs/heads/asf-site 5b2d06998 -> d1a9320b8 http://git-wip-us.apache.org/repos/asf/mesos-site/blob/d1a9320b/content/api/latest/c++/jwt__keys_8hpp.html -- diff --git

[2/3] mesos-site git commit: Updated the website built from mesos SHA: 9780b21.

2018-05-24 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/d1a9320b/content/api/latest/c++/index.hhk -- diff --git a/content/api/latest/c++/index.hhk b/content/api/latest/c++/index.hhk index ecd225e..85da188 100644 ---

[3/3] mesos-site git commit: Updated the website built from mesos SHA: 9780b21.

2018-05-24 Thread git-site-role
Updated the website built from mesos SHA: 9780b21. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/d1a9320b Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/d1a9320b Diff:

[2/2] mesos git commit: Added enforce_container_ports flag for `network/ports` isolation.

2018-05-24 Thread jpeach
Added enforce_container_ports flag for `network/ports` isolation. To reduce deployment risk, a no-enforce mode is added for the `network/ports` isolator. When this flag is false (which is the default) the isolator will not raise any limitation, even if the task uses ports not in its container

[1/2] mesos git commit: Renamed an ambiguous variable in the `network/ports` isolator.

2018-05-24 Thread jpeach
Repository: mesos Updated Branches: refs/heads/master d1207a151 -> 24359e643 Renamed an ambiguous variable in the `network/ports` isolator. Review: https://reviews.apache.org/r/67271/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[4/5] mesos-site git commit: Updated the website built from mesos SHA: 24359e6.

2018-05-24 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/db4db5af/content/api/latest/c++/ports_8hpp_source.html -- diff --git a/content/api/latest/c++/ports_8hpp_source.html b/content/api/latest/c++/ports_8hpp_source.html index

[2/5] mesos-site git commit: Updated the website built from mesos SHA: 24359e6.

2018-05-24 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/db4db5af/content/documentation/latest/configuration/agent/index.html -- diff --git a/content/documentation/latest/configuration/agent/index.html

[5/5] mesos-site git commit: Updated the website built from mesos SHA: 24359e6.

2018-05-24 Thread git-site-role
Updated the website built from mesos SHA: 24359e6. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/db4db5af Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/db4db5af Diff:

[3/5] mesos-site git commit: Updated the website built from mesos SHA: 24359e6.

2018-05-24 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/db4db5af/content/api/latest/c++/src_2slave_2flags_8hpp_source.html -- diff --git a/content/api/latest/c++/src_2slave_2flags_8hpp_source.html

[1/5] mesos-site git commit: Updated the website built from mesos SHA: 24359e6.

2018-05-24 Thread git-site-role
Repository: mesos-site Updated Branches: refs/heads/asf-site 76e6eac51 -> db4db5afc http://git-wip-us.apache.org/repos/asf/mesos-site/blob/db4db5af/content/sitemap.xml -- diff --git a/content/sitemap.xml b/content/sitemap.xml

[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:

[1/2] mesos git commit: Adjusted the tests that use nobody.

2018-05-24 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 9780b214e -> 32d4305b8 Adjusted the tests that use nobody. Used `$SUDO_USER` instead because `nobody` sometimes cannot access direcotries under `$HOME` of the current user running the tests. Review: https://reviews.apache.org/r/67291

[2/2] mesos git commit: Removed an unneeded test.

2018-05-24 Thread jieyu
Removed an unneeded test. This test is covered by many other tests, and is testing for a deprecated feature. Thus remove this test. Review: https://reviews.apache.org/r/67290 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[3/3] mesos-site git commit: Updated the website built from mesos SHA: 05594d6.

2018-05-24 Thread git-site-role
Updated the website built from mesos SHA: 05594d6. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/76e6eac5 Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/76e6eac5 Diff:

[2/3] mesos-site git commit: Updated the website built from mesos SHA: 05594d6.

2018-05-24 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/76e6eac5/content/api/latest/c++/collect_8hpp_source.html -- diff --git a/content/api/latest/c++/collect_8hpp_source.html b/content/api/latest/c++/collect_8hpp_source.html

[1/3] mesos-site git commit: Updated the website built from mesos SHA: 05594d6.

2018-05-24 Thread git-site-role
Repository: mesos-site Updated Branches: refs/heads/asf-site d1a9320b8 -> 76e6eac51 http://git-wip-us.apache.org/repos/asf/mesos-site/blob/76e6eac5/content/api/latest/c++/http__connection_8hpp_source.html -- diff --git

mesos git commit: Fixed a performance issue in collect/await.

2018-05-24 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 32d4305b8 -> 05594d69d Fixed a performance issue in collect/await. It turns out that even with C++11, some `std::list::size()` implementations are still linear in complexity. This was found when running perf against a metrics benchmark

mesos-site git commit: Updated the website built from mesos SHA: d2ab700.

2018-05-24 Thread git-site-role
Repository: mesos-site Updated Branches: refs/heads/asf-site db4db5afc -> de24736e4 Updated the website built from mesos SHA: d2ab700. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/de24736e Tree:

[3/6] mesos git commit: Added python3 to list of Pylint excluded files.

2018-05-24 Thread andschwa
Added python3 to list of Pylint excluded files. This change ensures that pylint will not try to lint the new Python 3 support scripts if it is not run with Python 3. Having such a situation results in unexpected errors such as "Unnecessary parens after 'print' keyword". This change will not be

[6/6] mesos git commit: Added warning to Python version checker script.

2018-05-24 Thread andschwa
Added warning to Python version checker script. After the user has installed Python 3, if they use the Python 2 scripts, we want to alert them to start using (and therefore testing) the ported Python 3 scripts. Review: https://reviews.apache.org/r/67292/ Project:

[5/6] mesos git commit: Ported all support scripts to Python 3.

2018-05-24 Thread andschwa
Ported all support scripts to Python 3. The scripts are in a temporary directory, support/python3. The scripts have been ported using 2to3, the official tool to do so. Many of these scripts require testing from the community before being used by default. The script building the virtual

[4/6] mesos git commit: Ported all support scripts to Python 3.

2018-05-24 Thread andschwa
http://git-wip-us.apache.org/repos/asf/mesos/blob/960df5c4/support/python3/push-commits.py -- diff --git a/support/python3/push-commits.py b/support/python3/push-commits.py new file mode 100755 index 000..82a7004 --- /dev/null

[2/6] mesos git commit: Updated support scripts to check for Python 3.

2018-05-24 Thread andschwa
Updated support scripts to check for Python 3. Review: https://reviews.apache.org/r/67099/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/2820028e Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/2820028e Diff:

[1/6] mesos git commit: Added support script to check if Python >= 3.6 is available.

2018-05-24 Thread andschwa
Repository: mesos Updated Branches: refs/heads/master 05594d69d -> ae4e7956a Added support script to check if Python >= 3.6 is available. Review: https://reviews.apache.org/r/67247/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[1/2] mesos git commit: Fixed a performance issue in collect/await.

2018-05-24 Thread bmahler
Repository: mesos Updated Branches: refs/heads/1.4.x 623ee2fb4 -> 77a8055dc Fixed a performance issue in collect/await. It turns out that even with C++11, some `std::list::size()` implementations are still linear in complexity. This was found when running perf against a metrics benchmark for

[2/2] mesos git commit: Added MESOS-8952 to the 1.4.2 CHANGELOG.

2018-05-24 Thread bmahler
Added MESOS-8952 to the 1.4.2 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/77a8055d Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/77a8055d Diff:

[2/2] mesos git commit: Added MESOS-8952 to the 1.5.2 CHANGELOG.

2018-05-24 Thread bmahler
Added MESOS-8952 to the 1.5.2 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/9d76bf7b Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/9d76bf7b Diff:

[1/3] mesos git commit: Added MESOS-8952 to the 1.4.2 CHANGELOG.

2018-05-24 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master ae4e7956a -> d1207a151 Added MESOS-8952 to the 1.4.2 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d1207a15 Tree:

[2/3] mesos git commit: Added MESOS-8952 to the 1.5.2 CHANGELOG.

2018-05-24 Thread bmahler
Added MESOS-8952 to the 1.5.2 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/661e18fd Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/661e18fd Diff:

[3/3] mesos git commit: Added MESOS-8952 to the 1.6.1 CHANGELOG.

2018-05-24 Thread bmahler
Added MESOS-8952 to the 1.6.1 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/35bcfe3d Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/35bcfe3d Diff:

[2/2] mesos git commit: Added MESOS-8952 to the 1.6.1 CHANGELOG.

2018-05-24 Thread bmahler
Added MESOS-8952 to the 1.6.1 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/393f6c6b Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/393f6c6b Diff:

[1/2] mesos git commit: Fixed a performance issue in collect/await.

2018-05-24 Thread bmahler
Repository: mesos Updated Branches: refs/heads/1.6.x 83eae0c9f -> 393f6c6b6 Fixed a performance issue in collect/await. It turns out that even with C++11, some `std::list::size()` implementations are still linear in complexity. This was found when running perf against a metrics benchmark for

mesos git commit: Fixed an issue with an older shell in a slave test.

2018-05-24 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master d2ab700cd -> 2e874dc98 Fixed an issue with an older shell in a slave test. Used `-eq` instead of `==` for the uid test so that it works on all platforms that we support. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: