mesos git commit: Added a test for verifying nested container environment.

2016-10-12 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 6a4296de3 -> 713b784a3 Added a test for verifying nested container environment. Review: https://reviews.apache.org/r/52774/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Fixed 'SharedPersistentVolumeRescindOnDestroy' test.

2016-10-12 Thread yan
Repository: mesos Updated Branches: refs/heads/master 713b784a3 -> 44cc1932c Fixed 'SharedPersistentVolumeRescindOnDestroy' test. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/44cc1932 Tree:

[1/3] mesos git commit: Windows: Implemented os::execvpe with _spawnvpe.

2016-10-12 Thread josephwu
Repository: mesos Updated Branches: refs/heads/master 44cc1932c -> 1e514ca02 Windows: Implemented os::execvpe with _spawnvpe. Review: https://reviews.apache.org/r/52798 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[3/3] mesos git commit: Supported `ContainerLogger` with nested containers.

2016-10-12 Thread josephwu
Supported `ContainerLogger` with nested containers. For nested containers, the sandbox directory still exists. However, ExecutorInfo's no longer map directly one-to-one to containers. That means a nested container does not have an associated ExecutorInfo. The `ExecutorInfo` parameter provides

[2/3] mesos git commit: Updated CLI bootstrap to search for local virtualenv installations.

2016-10-12 Thread josephwu
Updated CLI bootstrap to search for local virtualenv installations. A locally installed virtualenv does not always show up on the `PATH`, which fails `which virtualenv`. This adds an extra search location based on the user's site package install directory. Review:

mesos git commit: Updated comments about ExecutorInfo in mesos.proto.

2016-10-12 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 1e514ca02 -> d3f560576 Updated comments about ExecutorInfo in mesos.proto. Removed the comment that says resources are automatically set to default values if unset. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Removed a stale TODO in the nested container launch handler.

2016-10-12 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master d3f560576 -> 58bfa80c6 Removed a stale TODO in the nested container launch handler. This is a remnant from https://reviews.apache.org/r/52569/. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[4/5] mesos git commit: Permitted specifying custom test driver in libprocess.

2016-10-12 Thread tillt
Permitted specifying custom test driver in libprocess. Review: https://reviews.apache.org/r/51718/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/105cc652 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/105cc652

[2/5] mesos git commit: Added configure option for Mesos test runner.

2016-10-12 Thread tillt
Added configure option for Mesos test runner. Review: https://reviews.apache.org/r/51716/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d996d78c Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/d996d78c Diff:

[3/5] mesos git commit: Enable Mesos test runner.

2016-10-12 Thread tillt
Enable Mesos test runner. Review: https://reviews.apache.org/r/51717/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/8b611570 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/8b611570 Diff:

mesos git commit: Recover resources when offer is rescinded on DESTROY of shared volume.

2016-10-12 Thread yan
Repository: mesos Updated Branches: refs/heads/master 1fdea7dec -> 06d2e23dc Recover resources when offer is rescinded on DESTROY of shared volume. When a framework issues a DESTROY of a shared volume, and that volume is not in use by a running or a pending task, we rescind the pending offers

[5/5] mesos git commit: Added `PluginError` to simplify error reporting for CNI plugins.

2016-10-12 Thread jieyu
Added `PluginError` to simplify error reporting for CNI plugins. https://reviews.apache.org/r/51737/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/539d67f6 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/539d67f6

[4/5] mesos git commit: Added constants for CNI commands.

2016-10-12 Thread jieyu
Added constants for CNI commands. Review: https://reviews.apache.org/r/51767/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/89d8d51d Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/89d8d51d Diff:

[1/5] mesos git commit: Updated signature of `delegate` and `execute` method.

2016-10-12 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 06d2e23dc -> 6a4296de3 Updated signature of `delegate` and `execute` method. In case of `spec::CNI_CMD_DEL` the CNI plugin is not supposed to return any output. Hence, changing the signatures to return an `Result` and an `Option`

[3/5] mesos git commit: Added fields `chain` and `excludeDevices` to `PortMapper`.

2016-10-12 Thread jieyu
Added fields `chain` and `excludeDevices` to `PortMapper`. Review: https://reviews.apache.org/r/51736/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/fba4c1e8 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/fba4c1e8

[2/5] mesos git commit: Added the 'name' and 'args' field to the 'delegate' plugin's CNI config.

2016-10-12 Thread jieyu
Added the 'name' and 'args' field to the 'delegate' plugin's CNI config. When the port-mapper plugin invokes the 'delegate' plugin, the CNI config of the 'delegate' plugin needs to have the 'name' and the 'args' fields set. We are therefore updating the config during creation of the `PortMapper`

[2/2] mesos git commit: Invoke the shutdown executor callback for checkpointed frameworks.

2016-10-12 Thread vinodkone
Invoke the shutdown executor callback for checkpointed frameworks. Previously, the executor library used to commit suicide after the recovery timeout without invoking the executor's shutdown callback. This behavior was not consistent with the executor driver. Review:

mesos git commit: Implemented `delegate` method.

2016-10-12 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 8b4d83aec -> 99cbe69eb Implemented `delegate` method. Review: https://reviews.apache.org/r/51769/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/99cbe69e Tree:

[1/2] mesos git commit: Made default executor handle shutdown events while disconnected.

2016-10-12 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 58bfa80c6 -> 8b4d83aec Made default executor handle shutdown events while disconnected. Previously, the default executor used to crash with a failed assertion when the executor library injected a shutdown event when it noticed a

mesos git commit: Added Allocator::updateAllocation() change to upgrades.md for 1.1.0.

2016-10-12 Thread yan
Repository: mesos Updated Branches: refs/heads/master 99cbe69eb -> 8443cba7c Added Allocator::updateAllocation() change to upgrades.md for 1.1.0. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/8443cba7 Tree:

[7/7] mesos git commit: Updated mesos containerizer to use new 'stout/wait.hpp' header.

2016-10-12 Thread jieyu
Updated mesos containerizer to use new 'stout/wait.hpp' header. Review: https://reviews.apache.org/r/52706/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/78f1ea32 Tree:

[3/7] mesos git commit: Refactored 'MountInfoTable::read()' into two separate functions.

2016-10-12 Thread jieyu
Refactored 'MountInfoTable::read()' into two separate functions. The original function now calls a helper which takes a string representation of a 'MountInfoTable'. In a subsequent commit we will use this helper to write more meaningful tests to stress the core logic of the

[5/7] mesos git commit: Updated 'MountInfoTableReadSorted' test to use a hashset.

2016-10-12 Thread jieyu
Updated 'MountInfoTableReadSorted' test to use a hashset. Review: https://reviews.apache.org/r/52811/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/de69a72d Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/de69a72d

[1/7] mesos git commit: Added more detailed error message when failing in MountInfoTable::read.

2016-10-12 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 7cbd902bb -> 78f1ea321 Added more detailed error message when failing in MountInfoTable::read. Review: https://reviews.apache.org/r/52597/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/7] mesos git commit: Added special case when sorting hierarchically in MountInfoTable::read.

2016-10-12 Thread jieyu
Added special case when sorting hierarchically in MountInfoTable::read. It is legal to have entries in a `MountInfoTable` whose `entry.id` is the same as `entry.parent`. This can happen (for example), if a system boots from the network and then keeps the original `/` in RAM. However, to avoid

[6/7] mesos git commit: Added 'stout/wait.hpp' header.

2016-10-12 Thread jieyu
Added 'stout/wait.hpp' header. This was motivated by the need for a default definition of 'W_EXITCODE' (since it is not technically POSIX compliant). Review: https://reviews.apache.org/r/52705/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[4/7] mesos git commit: Added test to test corner cases with sorted 'MountInfoTable::read()'.

2016-10-12 Thread jieyu
Added test to test corner cases with sorted 'MountInfoTable::read()'. We allow entries in the MountInfoTable to be out of order, as well as parent's of themselves. This test makes sure that this functionality is exercised. Review: https://reviews.apache.org/r/52703/ Project:

[1/3] mesos git commit: Added more detailed error message when failing in MountInfoTable::read.

2016-10-12 Thread jieyu
Repository: mesos Updated Branches: refs/heads/1.0.x 6174d018e -> 0ab140bac Added more detailed error message when failing in MountInfoTable::read. Review: https://reviews.apache.org/r/52597/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/3] mesos git commit: Added special case when sorting hierarchically in MountInfoTable::read.

2016-10-12 Thread jieyu
Added special case when sorting hierarchically in MountInfoTable::read. It is legal to have entries in a `MountInfoTable` whose `entry.id` is the same as `entry.parent`. This can happen (for example), if a system boots from the network and then keeps the original `/` in RAM. However, to avoid

[3/3] mesos git commit: Removed two std::move in MountInfoTable::read.

2016-10-12 Thread jieyu
Removed two std::move in MountInfoTable::read. Review: https://reviews.apache.org/r/51620/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0ab140ba Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/0ab140ba Diff: