[7/8] mesos git commit: Changed `os::spawn()` to return `Option` instead of `int`.

2018-03-06 Thread andschwa
Changed `os::spawn()` to return `Option` instead of `int`. Similar to `os::system()`, `os::spawn()` returned `-1` on error, which is a valid exit code on Windows. Using the same solution as `os::system()`, now when `os::spawn()` fails, `None()` will be returned. Otherwise, the process exit code

[1/8] mesos git commit: Windows: Removed `WTERMSIG` etc. signal macros from `windows.hpp`.

2018-03-06 Thread andschwa
Repository: mesos Updated Branches: refs/heads/master 0d247c388 -> be8be3b88 Windows: Removed `WTERMSIG` etc. signal macros from `windows.hpp`. We defined a few macros for testing the status value of `::waitpid()` in `windows.hpp`. These these macros handled signal logic (which is generally

[4/8] mesos git commit: Windows: Fixed `WIFEXITED` and `WIFSIGNALED` stubs.

2018-03-06 Thread andschwa
Windows: Fixed `WIFEXITED` and `WIFSIGNALED` stubs. The `WIFEXITED` and `WIFSIGNALED` macros were incorrectly checking if the exit code was not -1 to determine if the process exited or was signaled. However, -1 is a valid return code on Windows, so when logic like `CHECK(WIFEXITED(status)||

[3/8] mesos git commit: Windows: Removed signal macros in `checks/checker_process.cpp`.

2018-03-06 Thread andschwa
Windows: Removed signal macros in `checks/checker_process.cpp`. The `__nestedCommandCheck()` implementation in `checker_process.cpp` uses signals to determine if the task has been killed. This logic has been removed on Windows, since signals aren't used on Windows. A different implementation will

[2/8] mesos git commit: Windows: Removed `AwaitAssertSignaled` etc. from `gtest.hpp`.

2018-03-06 Thread andschwa
Windows: Removed `AwaitAssertSignaled` etc. from `gtest.hpp`. Because Windows does not generally use signals, and so does not have macros like `WTERMSIG`, the `gtest.hpp` wrapper code which depends on them is no longer compiled on Windows. Review: https://reviews.apache.org/r/65861/ Project:

[6/8] mesos git commit: Fixed Mesos since `os::system()` now returns an `Option`.

2018-03-06 Thread andschwa
Fixed Mesos since `os::system()` now returns an `Option`. The `os::system()` function now returns `None()` for a launch failure instead of `-1`, and a `Some(exit_code)` for success. Review: https://reviews.apache.org/r/65863/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[5/8] mesos git commit: Changed `os::system()` to return `Option` instead of `int`.

2018-03-06 Thread andschwa
Changed `os::system()` to return `Option` instead of `int`. The `os::system()` function returned `-1` on error, which is a valid exit code on Windows, e.g., `os::system("exit -1")`, so it was impossible to distinguish a failure from a process returning `-1`. With `Option`, failures will return as

[8/8] mesos git commit: Fixed Mesos since `os::spawn()` now returns an `Option`.

2018-03-06 Thread andschwa
Fixed Mesos since `os::spawn()` now returns an `Option`. The `os::spawn()` function now returns `None()` for a launch failure instead of `-1`, and a `Some(exit_code)` for success. Review: https://reviews.apache.org/r/65864/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[11/11] mesos-site git commit: Updated the website built from mesos SHA: be8be3b.

2018-03-06 Thread git-site-role
Updated the website built from mesos SHA: be8be3b. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/2306ff3e Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/2306ff3e Diff:

[08/11] mesos-site git commit: Updated the website built from mesos SHA: be8be3b.

2018-03-06 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/2306ff3e/content/api/latest/c++/jobobject_8hpp_source.html -- diff --git a/content/api/latest/c++/jobobject_8hpp_source.html

[02/11] mesos-site git commit: Updated the website built from mesos SHA: be8be3b.

2018-03-06 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/2306ff3e/content/api/latest/c++/windows_2shell_8hpp_source.html -- diff --git a/content/api/latest/c++/windows_2shell_8hpp_source.html

[06/11] mesos-site git commit: Updated the website built from mesos SHA: be8be3b.

2018-03-06 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/2306ff3e/content/api/latest/c++/posix_2shell_8hpp_source.html -- diff --git a/content/api/latest/c++/posix_2shell_8hpp_source.html

[01/11] mesos-site git commit: Updated the website built from mesos SHA: be8be3b.

2018-03-06 Thread git-site-role
Repository: mesos-site Updated Branches: refs/heads/asf-site 53f3d2403 -> 2306ff3ed http://git-wip-us.apache.org/repos/asf/mesos-site/blob/2306ff3e/content/api/latest/c++/windows_2xattr_8hpp_source.html -- diff --git

[04/11] mesos-site git commit: Updated the website built from mesos SHA: be8be3b.

2018-03-06 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/2306ff3e/content/api/latest/c++/stout_2include_2stout_2gtest_8hpp_source.html -- diff --git a/content/api/latest/c++/stout_2include_2stout_2gtest_8hpp_source.html

[03/11] mesos-site git commit: Updated the website built from mesos SHA: be8be3b.

2018-03-06 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/2306ff3e/content/api/latest/c++/subprocess__windows_8hpp_source.html -- diff --git a/content/api/latest/c++/subprocess__windows_8hpp_source.html

[07/11] mesos-site git commit: Updated the website built from mesos SHA: be8be3b.

2018-03-06 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/2306ff3e/content/api/latest/c++/module_2manager_8hpp_source.html -- diff --git a/content/api/latest/c++/module_2manager_8hpp_source.html

[05/11] mesos-site git commit: Updated the website built from mesos SHA: be8be3b.

2018-03-06 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/2306ff3e/content/api/latest/c++/src_2master_2master_8hpp_source.html -- diff --git a/content/api/latest/c++/src_2master_2master_8hpp_source.html

[09/11] mesos-site git commit: Updated the website built from mesos SHA: be8be3b.

2018-03-06 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/2306ff3e/content/api/latest/c++/index.hhk -- diff --git a/content/api/latest/c++/index.hhk b/content/api/latest/c++/index.hhk index 59b7c58..2c344f0 100644 ---

[10/11] mesos-site git commit: Updated the website built from mesos SHA: be8be3b.

2018-03-06 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/2306ff3e/content/api/latest/c++/include_2mesos_2allocator_2allocator_8hpp_source.html -- diff --git

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

2018-03-06 Thread git-site-role
Updated the website built from mesos SHA: 348ec1a. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/dfbf7828 Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/dfbf7828 Diff:

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

2018-03-06 Thread git-site-role
Repository: mesos-site Updated Branches: refs/heads/asf-site 2306ff3ed -> dfbf78286 http://git-wip-us.apache.org/repos/asf/mesos-site/blob/dfbf7828/content/sitemap.xml -- diff --git a/content/sitemap.xml b/content/sitemap.xml

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

2018-03-06 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/dfbf7828/content/api/latest/c++/index.hhk -- diff --git a/content/api/latest/c++/index.hhk b/content/api/latest/c++/index.hhk index 2c344f0..66c1016 100644 ---

mesos git commit: Windows: Ported `docker_tests.cpp`.

2018-03-06 Thread andschwa
Repository: mesos Updated Branches: refs/heads/master be8be3b88 -> 348ec1a60 Windows: Ported `docker_tests.cpp`. Ported the disabled tests to run on Windows. The following tests could not be ported due to Windows platform limitations and remain disabled: -

[1/2] mesos-site git commit: Updated the website built from mesos SHA: 477d49a.

2018-03-06 Thread git-site-role
Repository: mesos-site Updated Branches: refs/heads/asf-site c6a7f7380 -> ac06474e7 http://git-wip-us.apache.org/repos/asf/mesos-site/blob/ac06474e/content/sitemap.xml -- diff --git a/content/sitemap.xml b/content/sitemap.xml

[2/2] mesos-site git commit: Updated the website built from mesos SHA: 477d49a.

2018-03-06 Thread git-site-role
Updated the website built from mesos SHA: 477d49a. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/ac06474e Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/ac06474e Diff:

mesos git commit: Simplified system requirements of balloon executor.

2018-03-06 Thread bbannier
Repository: mesos Updated Branches: refs/heads/master 8f4552e37 -> 477d49a2f Simplified system requirements of balloon executor. The ballon executor demonstrates that if memory is isolated, executors can get terminated should they exceed limits. For that the executor allocates increasing

[02/12] mesos-site git commit: Updated the website built from mesos SHA: 0d247c3.

2018-03-06 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/53f3d240/content/api/latest/c++/src_2resource__provider_2message_8hpp_source.html -- diff --git a/content/api/latest/c++/src_2resource__provider_2message_8hpp_source.html

[01/12] mesos-site git commit: Updated the website built from mesos SHA: 0d247c3.

2018-03-06 Thread git-site-role
Repository: mesos-site Updated Branches: refs/heads/asf-site ac06474e7 -> 53f3d2403 http://git-wip-us.apache.org/repos/asf/mesos-site/blob/53f3d240/content/api/latest/c++/type__utils_8hpp_source.html -- diff --git

[12/12] mesos-site git commit: Updated the website built from mesos SHA: 0d247c3.

2018-03-06 Thread git-site-role
Updated the website built from mesos SHA: 0d247c3. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/53f3d240 Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/53f3d240 Diff:

[03/12] mesos-site git commit: Updated the website built from mesos SHA: 0d247c3.

2018-03-06 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/53f3d240/content/api/latest/c++/src_2master_2master_8hpp_source.html -- diff --git a/content/api/latest/c++/src_2master_2master_8hpp_source.html

[11/12] mesos-site git commit: Updated the website built from mesos SHA: 0d247c3.

2018-03-06 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/53f3d240/content/api/latest/c++/classes.html -- diff --git a/content/api/latest/c++/classes.html b/content/api/latest/c++/classes.html index 8a04699..0728732 100644 ---

[07/12] mesos-site git commit: Updated the website built from mesos SHA: 0d247c3.

2018-03-06 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/53f3d240/content/api/latest/c++/hierarchy.html -- diff --git a/content/api/latest/c++/hierarchy.html b/content/api/latest/c++/hierarchy.html index 2e85811..1ddfd69 100644 ---

[10/12] mesos-site git commit: Updated the website built from mesos SHA: 0d247c3.

2018-03-06 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/53f3d240/content/api/latest/c++/classmesos_1_1internal_1_1slave_1_1Slave-members.html -- diff --git

[04/12] mesos-site git commit: Updated the website built from mesos SHA: 0d247c3.

2018-03-06 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/53f3d240/content/api/latest/c++/index.hhp -- diff --git a/content/api/latest/c++/index.hhp b/content/api/latest/c++/index.hhp index 3347ef4..814f57d 100644 ---

[08/12] mesos-site git commit: Updated the website built from mesos SHA: 0d247c3.

2018-03-06 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/53f3d240/content/api/latest/c++/functions_vars_0x72.html -- diff --git a/content/api/latest/c++/functions_vars_0x72.html b/content/api/latest/c++/functions_vars_0x72.html

[05/12] mesos-site git commit: Updated the website built from mesos SHA: 0d247c3.

2018-03-06 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/53f3d240/content/api/latest/c++/index.hhk -- diff --git a/content/api/latest/c++/index.hhk b/content/api/latest/c++/index.hhk index bddb882..59b7c58 100644 ---

[09/12] mesos-site git commit: Updated the website built from mesos SHA: 0d247c3.

2018-03-06 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/53f3d240/content/api/latest/c++/functions_0x72.html -- diff --git a/content/api/latest/c++/functions_0x72.html b/content/api/latest/c++/functions_0x72.html index

[06/12] mesos-site git commit: Updated the website built from mesos SHA: 0d247c3.

2018-03-06 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/53f3d240/content/api/latest/c++/index.hhc -- diff --git a/content/api/latest/c++/index.hhc b/content/api/latest/c++/index.hhc index cc0f7c7..706bc6a 100644 ---