author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
46,177
29.10.2018 16:06:55
25,200
b6e00ddf9cdc97fd0d8c27f2d337ef4c77d2b550
Removed extraneous 'virtual' keyword.
[ { "change_type": "MODIFY", "old_path": "src/examples/inverse_offer_framework.cpp", "new_path": "src/examples/inverse_offer_framework.cpp", "diff": "@@ -110,7 +110,7 @@ public:\n~InverseOfferScheduler() override {}\nprotected:\n- virtual void initialize() override\n+ void initialize() override\n{\n//...
C++
Apache License 2.0
apache/mesos
Removed extraneous 'virtual' keyword.
46,165
26.10.2018 10:50:54
-28,800
610064942d4a75f16f045480ca9e3414d37f1ecc
Fixed an early fd close in the cgroups event notifier. The cgroups event notifier was closing the eventfd while an `io::read()` operation may be in progress. This can lead to bugs where the fd gets re-used and read from a stale io::read. Review:
[ { "change_type": "MODIFY", "old_path": "src/linux/cgroups.cpp", "new_path": "src/linux/cgroups.cpp", "diff": "@@ -1047,7 +1047,7 @@ public:\n// uint64_t) from the event file, it indicates that an event has\n// occurred.\nreading = io::read(eventfd.get(), &data, sizeof(data));\n- reading.onAny(defer(...
C++
Apache License 2.0
apache/mesos
Fixed an early fd close in the cgroups event notifier. The cgroups event notifier was closing the eventfd while an `io::read()` operation may be in progress. This can lead to bugs where the fd gets re-used and read from a stale io::read. Review: https://reviews.apache.org/r/69123/
46,055
26.10.2018 10:57:20
-28,800
9bd3a32b68b165d9a1a45548cebe3b22069cecc0
Ensured failed / discarded cgroups OOM notification is logged. Failed or discarded OOM notificaitions in the cgroups memory subsystem were not being logged, due to the continuation being accidentally set up using `onReady` rather than `onAny`. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/cgroups/subsystems/memory.cpp", "new_path": "src/slave/containerizer/mesos/isolators/cgroups/subsystems/memory.cpp", "diff": "@@ -478,7 +478,7 @@ void MemorySubsystemProcess::oomListen(\nLOG(INFO) << \"Started listening ...
C++
Apache License 2.0
apache/mesos
Ensured failed / discarded cgroups OOM notification is logged. Failed or discarded OOM notificaitions in the cgroups memory subsystem were not being logged, due to the continuation being accidentally set up using `onReady` rather than `onAny`. Review: https://reviews.apache.org/r/69188
46,165
30.10.2018 17:40:35
25,200
86835743d85c7d15ccb33b70f8103a100a41b297
Removed from the CHANGELOG. This was accidentally re-introduced during a bad conflict resolution.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -414,7 +414,6 @@ Release Notes - Mesos - Version 1.6.2 (WIP)\n* [MESOS-9334] - Container stuck at ISOLATING state due to libevent poll never returns.\n** Improvement\n- * [MESOS-9189] - Include 'Connection: clos...
C++
Apache License 2.0
apache/mesos
Removed MESOS-9189 from the CHANGELOG. This was accidentally re-introduced during a bad conflict resolution.
46,103
31.10.2018 15:43:00
-3,600
758037f9c68d0f05817a2d78d534f640d9a0abc3
Used an alias for reoccuring complicated type. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/mesos.hpp", "new_path": "src/tests/mesos.hpp", "diff": "@@ -2907,17 +2907,7 @@ template <\ntypename Source>\nclass MockResourceProvider\n{\n-public:\n- MockResourceProvider(\n- const ResourceProviderInfo& _info,\n- const Option<Resources>& _resources...
C++
Apache License 2.0
apache/mesos
Used an alias for reoccuring complicated type. Review: https://reviews.apache.org/r/69159/
46,103
31.10.2018 15:43:02
-3,600
b5d884bba4e5c1550e15df4c3d51c692a985126e
Included corresponding header file first. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/protobuf_utils.cpp", "new_path": "src/common/protobuf_utils.cpp", "diff": "// See the License for the specific language governing permissions and\n// limitations under the License.\n+#include \"common/protobuf_utils.hpp\"\n+\n#ifdef __WINDOWS__\n#in...
C++
Apache License 2.0
apache/mesos
Included corresponding header file first. Review: https://reviews.apache.org/r/69160/
46,087
31.10.2018 11:16:52
25,200
6448d82bfea4398456e5b5cb744288f28077ca96
Fixed outdated comments for mocking the secret generator. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/cluster.cpp", "new_path": "src/tests/cluster.cpp", "diff": "@@ -535,7 +535,7 @@ Try<process::Owned<Slave>> Slave::create(\nslave->qosController.reset(_qosController.get());\n}\n- // If the QoS controller is not provided, create a default one.\n+ // I...
C++
Apache License 2.0
apache/mesos
Fixed outdated comments for mocking the secret generator. Review: https://reviews.apache.org/r/68806/
46,087
31.10.2018 11:18:46
25,200
002acd743caa98e4a8bd0138b837bb70f7fc45da
Added a comment for `Resource.provider_id`. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -1173,6 +1173,7 @@ message Attribute {\n* which correspond to partial shares of a CPU.\n*/\nmessage Resource {\n+ // Specified if the resource comes from a particular resource pro...
C++
Apache License 2.0
apache/mesos
Added a comment for `Resource.provider_id`. Review: https://reviews.apache.org/r/69035/
46,053
31.10.2018 11:37:07
25,200
a296b820d4d4a25f47caaa3870bc56c6437dd63e
Fixed compile errors on clang 3.5. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/http.cpp", "new_path": "src/slave/http.cpp", "diff": "@@ -3052,7 +3052,8 @@ Future<Response> Http::_attachContainerInput(\nstd::move(decoder), encoder, writer);\nreturn slave->containerizer->attach(containerId)\n- .then(defer(slave->self(), [=](Conne...
C++
Apache License 2.0
apache/mesos
Fixed compile errors on clang 3.5. Review: https://reviews.apache.org/r/69217/
46,053
31.10.2018 11:37:18
25,200
3628e0b1ab2681d70f99d379754b5c10d332d70e
Fixed flaky `CgroupsIsolatorTest.ROOT_CGROUPS_CreateRecursively` test. This patch postpones removing of `cgroups_root` until agent's recovery is complete. Otherwise, the agent might fail to start. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/cgroups_isolator_tests.cpp", "new_path": "src/tests/containerizer/cgroups_isolator_tests.cpp", "diff": "@@ -709,13 +709,17 @@ TEST_F(CgroupsIsolatorTest, ROOT_CGROUPS_CreateRecursively)\nOwned<MasterDetector> detector = master.get()->cr...
C++
Apache License 2.0
apache/mesos
Fixed flaky `CgroupsIsolatorTest.ROOT_CGROUPS_CreateRecursively` test. This patch postpones removing of `cgroups_root` until agent's recovery is complete. Otherwise, the agent might fail to start. Review: https://reviews.apache.org/r/69218/
46,210
31.10.2018 12:45:47
25,200
a73fcb2aca53596bb419c6c3dc8b73854d135442
Allowed for unbundled libarchive on cmake builds. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -995,7 +995,7 @@ set_target_properties(\n# libarchive: Multi-format archive and compression library.\n# https://github.com/libarchive/libarchive\n#####################################...
C++
Apache License 2.0
apache/mesos
Allowed for unbundled libarchive on cmake builds. Review: https://reviews.apache.org/r/69140/
46,210
31.10.2018 12:45:52
25,200
d455e2adf3f66267caf73a56ff0fad56bc009be1
Added small style fix-ups for libevent unbundling on CMake builds. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/cmake/FindLIBEVENT.cmake", "new_path": "3rdparty/cmake/FindLIBEVENT.cmake", "diff": "@@ -18,14 +18,19 @@ include(FindPackageHelper)\n# TODO(tillt): Consider moving \"_ROOT_DIR\" logic into FindPackageHelper.\nif (\"${LIBEVENT_ROOT_DIR}\" STREQUAL \"\"...
C++
Apache License 2.0
apache/mesos
Added small style fix-ups for libevent unbundling on CMake builds. Review: https://reviews.apache.org/r/69216/
46,129
31.10.2018 14:56:27
25,200
a9196e877051c696a1e3ee1b432fe75eb6391b67
Modified the 1.5.2 CHANGELOG for rc2.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -802,18 +802,6 @@ All Resolved Issues:\n* [MESOS-8291] - Add documentation about fault domains\n-Release Notes - Mesos - Version 1.5.3 (WIP)\n--------------------------------------------\n-* This is a bug fix re...
C++
Apache License 2.0
apache/mesos
Modified the 1.5.2 CHANGELOG for rc2.
46,087
01.11.2018 10:07:19
25,200
d259228b9c9d29e234d609a104005c3e7ee26a0a
Fixed a comment in SLRP. Review:
[ { "change_type": "MODIFY", "old_path": "src/resource_provider/storage/provider.cpp", "new_path": "src/resource_provider/storage/provider.cpp", "diff": "@@ -665,7 +665,7 @@ Future<Nothing> StorageLocalResourceProviderProcess::recover()\n.then(defer(self(), [=]() -> Future<Nothing> {\nLOG(INFO)\n<< \"...
C++
Apache License 2.0
apache/mesos
Fixed a comment in SLRP. Review: https://reviews.apache.org/r/69033/
46,172
31.10.2018 19:07:17
14,400
1f574f72486e3adf789ffcf2c8624a3775071979
Added test for interactive 'task exec'. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/cli_new/lib/cli/tests/task.py", "new_path": "src/python/cli_new/lib/cli/tests/task.py", "diff": "@@ -90,6 +90,48 @@ class TestTaskPlugin(CLITestCase):\nmaster.kill()\n+ def test_exec_interactive(self):\n+ \"\"\"\n+ Test for the task `exec()` sub-com...
C++
Apache License 2.0
apache/mesos
Added test for interactive 'task exec'. Review: https://reviews.apache.org/r/69115/
46,172
02.11.2018 19:08:24
14,400
6d0cbda19ad8a5453c960e37424a38c4be1924a9
Added 'popen_tty()' to test util functions for the new CLI. This code was pulled directly from: 7fd55421939a7782c237e2b8719c0fe2f543acd7/ python/lib/dcoscli/dcoscli/test/common.py This function will be used by tests requiring a TTY. This will be the case for tests concerning the 'task attach' subcommand. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/cli_new/lib/cli/tests/base.py", "new_path": "src/python/cli_new/lib/cli/tests/base.py", "diff": "@@ -20,6 +20,7 @@ Set of classes and helper functions for building unit tests for the Mesos CLI.\nimport io\nimport os\n+import pty\nimport shutil\nimpo...
C++
Apache License 2.0
apache/mesos
Added 'popen_tty()' to test util functions for the new CLI. This code was pulled directly from: https://github.com/dcos/dcos-core-cli/blob/ 7fd55421939a7782c237e2b8719c0fe2f543acd7/ python/lib/dcoscli/dcoscli/test/common.py This function will be used by tests requiring a TTY. This will be the case for tes...
46,172
02.11.2018 19:17:56
14,400
6b7b7e6f68ef891febcce2a38077a847288c1c10
Refactored 'running_tasks()' call for new CLI tests. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/cli_new/lib/cli/tests/base.py", "new_path": "src/python/cli_new/lib/cli/tests/base.py", "diff": "@@ -29,6 +29,9 @@ import unittest\nimport parse\n+from tenacity import retry\n+from tenacity import stop_after_delay\n+\nfrom cli import http\nfrom cli....
C++
Apache License 2.0
apache/mesos
Refactored 'running_tasks()' call for new CLI tests. Review: https://reviews.apache.org/r/69207/
46,172
02.11.2018 19:42:59
14,400
992e3c4efd2f607b60f5e4b5bea7999692a01c0a
Updated new CLI to propagate commands exit status properly. In a later commit, this will be used by the two subcommands 'task attach' and 'task exec' to return their proper exit statuses. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/cli_new/bin/main.py", "new_path": "src/python/cli_new/bin/main.py", "diff": "@@ -124,31 +124,31 @@ def main(argv):\nprint(option)\nprint(\" \".join(comp_words))\n+ return 0\n# Use the meta-command \"help\" to print help information for the\n# suppli...
C++
Apache License 2.0
apache/mesos
Updated new CLI to propagate commands exit status properly. In a later commit, this will be used by the two subcommands 'task attach' and 'task exec' to return their proper exit statuses. Review: https://reviews.apache.org/r/69206/
46,108
02.11.2018 19:55:44
14,400
25beea12f9f12143e6df7b0ad2d272d4116c217c
Updated new CLI task attach/exec exit strategy. This code was pulled directly from: 9d10e9d6fb2b16e46b58d67b7e9d79b2505f3451/ python/lib/dcos/dcos/mesos.py Review:
[ { "change_type": "MODIFY", "old_path": "src/python/cli_new/lib/cli/mesos.py", "new_path": "src/python/cli_new/lib/cli/mesos.py", "diff": "@@ -255,7 +255,7 @@ class TaskIO():\n# Allow an exit sequence to be used to break the CLIs attachment to\n# the remote task. Depending on the call, this may be di...
C++
Apache License 2.0
apache/mesos
Updated new CLI task attach/exec exit strategy. This code was pulled directly from: https://github.com/dcos/dcos-core-cli/blob/ 9d10e9d6fb2b16e46b58d67b7e9d79b2505f3451/ python/lib/dcos/dcos/mesos.py Review: https://reviews.apache.org/r/69208/
46,196
03.11.2018 23:39:28
-3,600
2fa65986de3ad707ee3afb6c59c744d1c3b93400
Add info about Rhythm framework
[ { "change_type": "MODIFY", "old_path": "docs/frameworks.md", "new_path": "docs/frameworks.md", "diff": "@@ -35,6 +35,7 @@ layout: documentation\n* [GoDocker](https://bitbucket.org/osallou/go-docker) is a batch computing job scheduler like SGE, Torque, etc. It schedules batch computing tasks via webu...
C++
Apache License 2.0
apache/mesos
Add info about Rhythm framework
46,188
07.11.2018 10:12:33
28,800
3b8635654d14c127c0aded8aa0b2027c9971015c
Updated Marathon in Mesos mini docker container.
[ { "change_type": "MODIFY", "old_path": "support/mesos-mini/Dockerfile", "new_path": "support/mesos-mini/Dockerfile", "diff": "@@ -57,7 +57,7 @@ COPY mesos/agent_environment /etc/default/mesos-agent\nCOPY mesos/modules /etc/mesos/modules\n# Prepare Marathon environment.\n-ARG MARATHON_URL=https://dow...
C++
Apache License 2.0
apache/mesos
Updated Marathon in Mesos mini docker container.
46,188
07.11.2018 12:10:50
28,800
14bda1ae68c998fad0c09c2a94e3a51825be421a
Updated the way to generate tag for Mesos mini.
[ { "change_type": "MODIFY", "old_path": "support/jenkins/mini.sh", "new_path": "support/jenkins/mini.sh", "diff": "@@ -13,10 +13,24 @@ DOCKER_IMAGE_DISTRO=${DOCKER_IMAGE_DISTRO:-\"mesos/mesos-centos\"}\nMESOS_SHA=${MESOS_SHA:-$(git rev-parse HEAD)}\nMESOS_TAG_OR_SHA=$(git describe --exact-match \"${M...
C++
Apache License 2.0
apache/mesos
Updated the way to generate tag for Mesos mini.
46,188
07.11.2018 12:25:19
28,800
c8defe7058a0c7fe933072da3abec3456e476019
Fixed a bug in detection release branch in Mesos mini script.
[ { "change_type": "MODIFY", "old_path": "support/jenkins/mini.sh", "new_path": "support/jenkins/mini.sh", "diff": "@@ -13,7 +13,7 @@ DOCKER_IMAGE_DISTRO=${DOCKER_IMAGE_DISTRO:-\"mesos/mesos-centos\"}\nMESOS_SHA=${MESOS_SHA:-$(git rev-parse HEAD)}\nMESOS_TAG_OR_SHA=$(git describe --exact-match \"${MES...
C++
Apache License 2.0
apache/mesos
Fixed a bug in detection release branch in Mesos mini script.
46,188
07.11.2018 13:23:29
28,800
93621709595a58aad719019c166af1251d50abf6
Updated the way to generate tag for CentOS Docker.
[ { "change_type": "MODIFY", "old_path": "support/jenkins/docker-centos.sh", "new_path": "support/jenkins/docker-centos.sh", "diff": "@@ -15,9 +15,23 @@ DOCKER_IMAGE=${DOCKER_IMAGE:-\"mesos/mesos-centos\"}\nMESOS_SHA=${MESOS_SHA:-$(git rev-parse HEAD)}\nMESOS_TAG_OR_SHA=$(git describe --exact-match \"...
C++
Apache License 2.0
apache/mesos
Updated the way to generate tag for CentOS Docker.
46,188
07.11.2018 13:26:52
28,800
318d163218c858c641ff516705d80425b4b84cf1
Removed an unused statement in Mesos mini script.
[ { "change_type": "MODIFY", "old_path": "support/jenkins/mini.sh", "new_path": "support/jenkins/mini.sh", "diff": "@@ -44,7 +44,5 @@ DOCKER_IMAGE_TAG=${DOCKER_IMAGE_TAG} \\\nDOCKER_IMAGE_DISTRO=${DOCKER_IMAGE_DISTRO} \\\n\"${SUPPORT_DIR}/mesos-mini/build.sh\"\n-DATE=$(date +%F)\n-\ndocker login -u \"...
C++
Apache License 2.0
apache/mesos
Removed an unused statement in Mesos mini script.
46,143
07.11.2018 13:35:21
28,800
08bd06e3275e2d44cca234bfd6cdf3d0f84acbf1
Updated Build bot to write out test report xml files. This can be used by Jenkins to display test trends. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-build.sh", "new_path": "support/mesos-build.sh", "diff": "@@ -34,6 +34,10 @@ if ! $(git diff-index --quiet HEAD --); then\nexit 1\nfi\n+# NOTE: We chmod the directory here so that the docker containter can\n+# copy out the test report xml files f...
C++
Apache License 2.0
apache/mesos
Updated Build bot to write out test report xml files. This can be used by Jenkins to display test trends. Review: https://reviews.apache.org/r/69279/
46,188
07.11.2018 13:42:27
28,800
0ec23ce019d887048dafef48439142666e5cbf3d
Used the tagged based image for Mesos mini.
[ { "change_type": "MODIFY", "old_path": "support/mesos-mini/build.sh", "new_path": "support/mesos-mini/build.sh", "diff": "@@ -18,9 +18,10 @@ if ! [ -x \"$(command -v docker)\" ]; then\nfi\nDOCKER_IMAGE=${DOCKER_IMAGE_DISTRO} \\\n+DOCKER_IMAGE_TAG=${DOCKER_IMAGE_TAG} \\\n\"${SUPPORT_DIR}/packaging/ce...
C++
Apache License 2.0
apache/mesos
Used the tagged based image for Mesos mini.
46,057
07.11.2018 13:31:53
28,800
8264de113e892d9376a0f90392bd856e30ca4803
Clarified some comments about the usage of offer filters. Improved formatting in the scheduler API description, and updated comments to explicitly mention the default value for the `refuse_offers` field. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/scheduler.hpp", "new_path": "include/mesos/scheduler.hpp", "diff": "@@ -231,13 +231,16 @@ public:\n// those that are not used by the launched tasks or their executors)\n// will be considered declined. Note that this includes resources\n// used by...
C++
Apache License 2.0
apache/mesos
Clarified some comments about the usage of offer filters. Improved formatting in the scheduler API description, and updated comments to explicitly mention the default value for the `refuse_offers` field. Review: https://reviews.apache.org/r/69272/
46,103
07.11.2018 22:39:09
-3,600
baadfdbe980181d2ea04eef51db4fcd8be3c9793
Saved some disk space in mesos-tidy Docker image. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-tidy/Dockerfile", "new_path": "support/mesos-tidy/Dockerfile", "diff": "@@ -27,7 +27,8 @@ RUN apt-get update && \\\ncurl \\\ngit \\\npython-dev && \\\n- apt-get clean\n+ apt-get clean && \\\n+ rm -rf /var/lib/apt/lists/*\n# Mesos requires at leas...
C++
Apache License 2.0
apache/mesos
Saved some disk space in mesos-tidy Docker image. Review: https://reviews.apache.org/r/69242/
46,103
07.11.2018 22:38:50
-3,600
5b38a4a845c5c17f8a7a56ea7aee7264cc163142
Used a `switch` statement to match enum values. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/protobuf_utils.cpp", "new_path": "src/common/protobuf_utils.cpp", "diff": "@@ -93,14 +93,26 @@ bool frameworkHasCapability(\nbool isTerminalState(const TaskState& state)\n{\n- return (state == TASK_FINISHED ||\n- state == TASK_FAILED ||\n- state == ...
C++
Apache License 2.0
apache/mesos
Used a `switch` statement to match enum values. Review: https://reviews.apache.org/r/69243/
46,165
07.11.2018 22:36:17
-3,600
d16279206f34d7a260499dca4817e3ff8fba777a
Fixed flakiness in `FsTest.Used`. Unfortunately, we cannot easily verify that the value coming from `fs::used()` is correct, as the filesystem may be modified at any point in time. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/tests/os/filesystem_tests.cpp", "new_path": "3rdparty/stout/tests/os/filesystem_tests.cpp", "diff": "@@ -810,10 +810,13 @@ TEST_F(FsTest, Used)\nTry<Bytes> used = fs::used(\".\");\nASSERT_SOME(used);\n- struct statvfs b;\n- ASSERT_EQ(0, ::statvf...
C++
Apache License 2.0
apache/mesos
Fixed flakiness in `FsTest.Used`. Unfortunately, we cannot easily verify that the value coming from `fs::used()` is correct, as the filesystem may be modified at any point in time. Review: https://reviews.apache.org/r/69276/
46,165
07.11.2018 22:46:43
-3,600
82844698d8845474314c4609d7bbe477cc1f33f9
Fixed flakiness in `PartitionTest.TaskCompletedOnPartitionedAgent`. The test wasn't ensuring that the TASK_FINISHED update gets processed by the agent before it re-registers with the master, so sometimes the master will forward the old TASK_RUNNING state. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/partition_tests.cpp", "new_path": "src/tests/partition_tests.cpp", "diff": "@@ -2380,6 +2380,9 @@ TEST_F(PartitionTest, TaskCompletedOnPartitionedAgent)\nexecDriver->sendStatusUpdate(finishedStatus);\n}\n+ // Ensure the agent processes the task finis...
C++
Apache License 2.0
apache/mesos
Fixed flakiness in `PartitionTest.TaskCompletedOnPartitionedAgent`. The test wasn't ensuring that the TASK_FINISHED update gets processed by the agent before it re-registers with the master, so sometimes the master will forward the old TASK_RUNNING state. Review: https://reviews.apache.org/r/69280/
46,103
07.11.2018 22:37:52
-3,600
d6386b29d50b4b7ffa0c0cff94e8435699f61cdc
Reduced default oversubscription in parallel test runner. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-gtest-runner.py", "new_path": "support/mesos-gtest-runner.py", "diff": "@@ -109,7 +109,7 @@ def parse_arguments():\nenv_parser = argparse.ArgumentParser()\nenv_parser.add_argument('-j', '--jobs', type=int,\n- default=int(multiprocessing.cpu_count...
C++
Apache License 2.0
apache/mesos
Reduced default oversubscription in parallel test runner. Review: https://reviews.apache.org/r/69274/
46,165
07.11.2018 22:21:18
-3,600
e1e42dab0aeca251b3eb4ce85e5bb04628d4cb57
Updated autotools build to use parallel test runner by default. The parallel test runner completes much faster than running the tests serially, so we would like to get this benefit to all developers by default. At some point, we'll also have to update the cmake build. Review:
[ { "change_type": "MODIFY", "old_path": "configure.ac", "new_path": "configure.ac", "diff": "@@ -320,8 +320,9 @@ AC_ARG_ENABLE([optimize],\n[], [enable_optimize=no])\nAC_ARG_ENABLE([parallel_test_execution],\n- AS_HELP_STRING([--enable-parallel-test-execution],\n- [execute tests in parallel where pos...
C++
Apache License 2.0
apache/mesos
Updated autotools build to use parallel test runner by default. The parallel test runner completes much faster than running the tests serially, so we would like to get this benefit to all developers by default. At some point, we'll also have to update the cmake build. Review: https://reviews.apache.org/r/69277/
46,143
07.11.2018 14:34:05
28,800
46505272dda99373fd5075d848c86f7f96b176cc
Simplified writing out test report xml files. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-build/entrypoint.sh", "new_path": "support/mesos-build/entrypoint.sh", "diff": "@@ -26,7 +26,7 @@ git clone --depth 1 file:///SRC \"${SRCDIR}\"\ncd \"${SRCDIR}\"\n-export GTEST_OUTPUT=xml:report.xml\n+export GTEST_OUTPUT=xml:/SRC/\nexport DISTCHE...
C++
Apache License 2.0
apache/mesos
Simplified writing out test report xml files. Review: https://reviews.apache.org/r/69291
46,103
07.11.2018 14:54:54
28,800
37532fae01d254251de608dc3e25581a2a0140fc
Disabled parallel test execution for reviewbot. Currently no dedicated handling of XML reporting from multiple gtest shards is implemented in our gtest runner. This patch disables the now default-enabled parallel test runner for any build & tests cycles under the ASF CI reviewbot job. Review:
[ { "change_type": "MODIFY", "old_path": "support/jenkins/reviewbot.sh", "new_path": "support/jenkins/reviewbot.sh", "diff": "@@ -27,7 +27,7 @@ MESOS_DIR=$(git rev-parse --show-toplevel)\nexport OS='ubuntu:16.04'\nexport BUILDTOOL='autotools'\nexport COMPILER='gcc'\n-export CONFIGURATION='--verbose --...
C++
Apache License 2.0
apache/mesos
Disabled parallel test execution for reviewbot. Currently no dedicated handling of XML reporting from multiple gtest shards is implemented in our gtest runner. This patch disables the now default-enabled parallel test runner for any build & tests cycles under the ASF CI reviewbot job. Review: https://reviews.apache....
46,055
29.08.2018 10:16:43
-28,800
f539d1eba8c7b0fbc4ab040c9af357e016bfde12
Added `lsof()` into stout. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/Makefile.am", "new_path": "3rdparty/stout/include/Makefile.am", "diff": "@@ -90,6 +90,7 @@ nobase_include_HEADERS = \\\nstout/os/linux.hpp \\\nstout/os/ls.hpp \\\nstout/os/lseek.hpp \\\n+ stout/os/lsof.hpp \\\nstout/os/mkdir.hpp \\\nstou...
C++
Apache License 2.0
apache/mesos
Added `lsof()` into stout. Review: https://reviews.apache.org/r/68642
46,055
26.09.2018 16:58:48
-28,800
00497ab19703fb20f71eea74c2df1ff6346391f5
Added a test `FsTest.Lsof`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/tests/os/filesystem_tests.cpp", "new_path": "3rdparty/stout/tests/os/filesystem_tests.cpp", "diff": "@@ -657,6 +657,7 @@ TEST_F(FsTest, Xattr)\n}\n#endif // __linux__ || __APPLE__\n+\n#ifdef __WINDOWS__\n// Check if the overlapped field is set p...
C++
Apache License 2.0
apache/mesos
Added a test `FsTest.Lsof`. Review: https://reviews.apache.org/r/68991
46,055
29.08.2018 10:17:15
-28,800
ebdf5106c4871875bf7c97cbec43cfe696275f0c
Updated `MesosContainerizerLaunch` to call `os::lsof()`. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/launch.cpp", "new_path": "src/slave/containerizer/mesos/launch.cpp", "diff": "using std::cerr;\nusing std::endl;\n-using std::list;\nusing std::set;\nusing std::string;\nusing std::vector;\n@@ -517,40 +516,6 @@ static Try<Nothing>...
C++
Apache License 2.0
apache/mesos
Updated `MesosContainerizerLaunch` to call `os::lsof()`. Review: https://reviews.apache.org/r/68643
46,055
29.08.2018 10:17:05
-28,800
d9a02acb8c9440c29811e6f66fe2e1146a04aa52
Closed all file descriptors except `whitelist_fds` in posix/subprocess. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/posix/subprocess.hpp", "new_path": "3rdparty/libprocess/src/posix/subprocess.hpp", "diff": "#ifdef __linux__\n#include <sys/prctl.h>\n+#include <sys/syscall.h>\n#endif // __linux__\n#include <sys/types.h>\n@@ -55,6 +56,102 @@ static voi...
C++
Apache License 2.0
apache/mesos
Closed all file descriptors except `whitelist_fds` in posix/subprocess. Review: https://reviews.apache.org/r/68644
46,055
12.10.2018 22:04:02
-28,800
df0a616e3555767e308a87c787d5ad5cdd4e66c1
Added a test `SubprocessTest.WhiteListFds`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/subprocess_tests.cpp", "new_path": "3rdparty/libprocess/src/tests/subprocess_tests.cpp", "diff": "namespace io = process::io;\nusing process::Clock;\n+using process::Future;\nusing process::MAX_REAP_INTERVAL;\nusing process::Subpr...
C++
Apache License 2.0
apache/mesos
Added a test `SubprocessTest.WhiteListFds`. Review: https://reviews.apache.org/r/69016
46,055
03.09.2018 15:09:24
-28,800
bb533b784928bca1553b6ed86d10105de26bb76d
Updated IO switchboard to use subprocess's `whitelist_fds` parameter. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/io/switchboard.cpp", "new_path": "src/slave/containerizer/mesos/io/switchboard.cpp", "diff": "@@ -597,10 +597,8 @@ Future<Option<ContainerLaunchInfo>> IOSwitchboard::_prepare(\nenvironment,\nNone(),\nparentHooks,\n- {Subprocess::C...
C++
Apache License 2.0
apache/mesos
Updated IO switchboard to use subprocess's `whitelist_fds` parameter. Review: https://reviews.apache.org/r/68645
46,055
03.09.2018 15:11:51
-28,800
2455543d7534d2c1491854ff6efff1c75a1c4395
Updated launchers to use subprocess's `whitelist_fds` parameter. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/launcher.cpp", "new_path": "src/slave/containerizer/mesos/launcher.cpp", "diff": "@@ -123,11 +123,6 @@ Try<pid_t> SubprocessLauncher::fork(\n#ifndef __WINDOWS__\nchildHooks.push_back(Subprocess::ChildHook::SETSID());\n-\n- // TODO...
C++
Apache License 2.0
apache/mesos
Updated launchers to use subprocess's `whitelist_fds` parameter. Review: https://reviews.apache.org/r/68646
46,055
08.10.2018 16:06:31
-28,800
face988a52b0775f0c3e959d1f164212c1eba96c
Removed the child hook `UNSET_CLOEXEC`. We do not need this child hook since any file descripters need to unset the close-on-exec flag can be put in the `whitelist_fds` parameter of the `subprocess` method. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/subprocess.hpp", "new_path": "3rdparty/libprocess/include/process/subprocess.hpp", "diff": "@@ -205,12 +205,6 @@ public:\n* `ChildHook` for duplicating a file descriptor.\n*/\nstatic ChildHook DUP2(int oldFd, int newFd);\n-\...
C++
Apache License 2.0
apache/mesos
Removed the child hook `UNSET_CLOEXEC`. We do not need this child hook since any file descripters need to unset the close-on-exec flag can be put in the `whitelist_fds` parameter of the `subprocess` method. Review: https://reviews.apache.org/r/68995
46,055
26.10.2018 09:23:27
-28,800
be494213083b27bc768c919f3df1df2bca899955
Made nested container runs as its parent container's user by default. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/containerizer.cpp", "new_path": "src/slave/containerizer/mesos/containerizer.cpp", "diff": "@@ -1857,6 +1857,16 @@ Future<Containerizer::LaunchResult> MesosContainerizerProcess::_launch(\n}\n// Determine the user to launch the con...
C++
Apache License 2.0
apache/mesos
Made nested container runs as its parent container's user by default. Review: https://reviews.apache.org/r/69234
46,055
31.10.2018 17:18:18
25,200
4e00b663910ac3a37dd86e454acadb78dba1322a
Added a test `ROOT_UNPRIVILEGED_USER_DefaultExecutorCommandHealthCheck`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/health_check_tests.cpp", "new_path": "src/tests/health_check_tests.cpp", "diff": "@@ -1956,6 +1956,147 @@ TEST_F_TEMP_DISABLED_ON_WINDOWS(\n}\n+// This test verifies that the debug container launched by the command health\n+// check will be run as th...
C++
Apache License 2.0
apache/mesos
Added a test `ROOT_UNPRIVILEGED_USER_DefaultExecutorCommandHealthCheck`. Review: https://reviews.apache.org/r/69235
46,188
08.11.2018 09:26:50
28,800
2450b893218910a11b12a036ab17912bcd63a8c2
Pushed latest tag to Dockerhub for Mesos mini jenkins script.
[ { "change_type": "MODIFY", "old_path": "support/jenkins/mini.sh", "new_path": "support/jenkins/mini.sh", "diff": "@@ -24,8 +24,10 @@ DATE=$(date +%F)\nif [[ \"${MESOS_TAG_OR_SHA}\" != \"${MESOS_SHA}\" ]]; then\n# HEAD is also a tag.\nDOCKER_IMAGE_TAG=\"${MESOS_TAG_OR_SHA}\"\n+ DOCKER_IMAGE_LATEST_TA...
C++
Apache License 2.0
apache/mesos
Pushed latest tag to Dockerhub for Mesos mini jenkins script.
46,188
08.11.2018 11:30:35
28,800
78c2396e6af2ffe11d2f14309bb9f67c58d45c7a
Pushed latest tag to Dockerhub for CentOS jenkins script.
[ { "change_type": "MODIFY", "old_path": "support/jenkins/docker-centos.sh", "new_path": "support/jenkins/docker-centos.sh", "diff": "@@ -26,8 +26,10 @@ DATE=$(date +%F)\nif [[ \"${MESOS_TAG_OR_SHA}\" != \"${MESOS_SHA}\" ]]; then\n# HEAD is also a tag.\nDOCKER_IMAGE_TAG=\"${MESOS_TAG_OR_SHA}\"\n+ DOCK...
C++
Apache License 2.0
apache/mesos
Pushed latest tag to Dockerhub for CentOS jenkins script.
46,188
08.11.2018 11:32:34
28,800
ffe774e7fd62bc8f4be18fb29cfaf2ead690bdba
Fixed the Docker image cleanup in Mesos mini scripts.
[ { "change_type": "MODIFY", "old_path": "support/jenkins/mini.sh", "new_path": "support/jenkins/mini.sh", "diff": "@@ -35,8 +35,9 @@ echo \"RELEASE_BRANCH=${RELEASE_BRANCH}\"\necho \"DOCKER_IMAGE_TAG=${DOCKER_IMAGE_TAG}\"\nfunction cleanup {\n- docker rmi \"$(docker images -q \"${DOCKER_IMAGE}:${DOCK...
C++
Apache License 2.0
apache/mesos
Fixed the Docker image cleanup in Mesos mini scripts.
46,087
09.11.2018 11:47:01
28,800
9df27e3657aa44677668baaee70e46b7963b06e4
Fixed the ulimit validation in the parallel test runner. This patch fixes the following error: ``` $ support/mesos-gtest-runner.py build/bin/mesos-tests.sh Could not check compatibility of ulimit settings: \ [Errno 2] No such file or directory: 'ulimit': 'ulimit' ``` Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-gtest-runner.py", "new_path": "support/mesos-gtest-runner.py", "diff": "@@ -206,7 +206,7 @@ def validate_setup(options):\n# Check the number of processes/threads a user is allowed to execute.\ntry:\n- ulimit = int(subprocess.check_output(['ulimit...
C++
Apache License 2.0
apache/mesos
Fixed the ulimit validation in the parallel test runner. This patch fixes the following error: ``` $ support/mesos-gtest-runner.py build/bin/mesos-tests.sh Could not check compatibility of ulimit settings: \ [Errno 2] No such file or directory: 'ulimit': 'ulimit' ``` Review: https://reviews.apache.org/r/69301/
46,103
09.11.2018 21:50:42
-3,600
5367851e0e399d718df8f529ad977b6afd74bf99
Fixed parallel test runner ulimit check for setups without limits. This patch adds special handling for the case where no process rlimit is in effect. For that we explicitly handle an output `unlimited` which can be present in e.g., `C` locales. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-gtest-runner.py", "new_path": "support/mesos-gtest-runner.py", "diff": "@@ -34,6 +34,7 @@ import shlex\nimport signal\nimport subprocess\nimport sys\n+import resource\nclass Bcolors:\n@@ -92,6 +93,7 @@ def run_test(opts):\nsys.stdout.flush()\nret...
C++
Apache License 2.0
apache/mesos
Fixed parallel test runner ulimit check for setups without limits. This patch adds special handling for the case where no process rlimit is in effect. For that we explicitly handle an output `unlimited` which can be present in e.g., `C` locales. Review: https://reviews.apache.org/r/69306
46,103
24.10.2018 09:59:03
-7,200
a812a0ba88bbe50f567d10f36f7744506a197294
Renamed a function argument to not reuse member name. While a function argument shadowing a member variable is perfectly legal, it is still confusing. In this patch we rename the function argument to remove one case of such shadowing. Review:
[ { "change_type": "MODIFY", "old_path": "src/resource_provider/storage/provider.cpp", "new_path": "src/resource_provider/storage/provider.cpp", "diff": "@@ -414,7 +414,7 @@ private:\nvoid dropOperation(\nconst id::UUID& operationUuid,\nconst Option<FrameworkID>& frameworkId,\n- const Option<Offer::Op...
C++
Apache License 2.0
apache/mesos
Renamed a function argument to not reuse member name. While a function argument shadowing a member variable is perfectly legal, it is still confusing. In this patch we rename the function argument to remove one case of such shadowing. Review: https://reviews.apache.org/r/69161
46,103
11.11.2018 00:25:36
-3,600
ca470667c5522b8cf41ad65cb12adadca771eb47
Explicitly constructed command line args in parallel runner. This fixes issues with flag propagation into shards. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-gtest-runner.py", "new_path": "support/mesos-gtest-runner.py", "diff": "@@ -30,11 +30,11 @@ wrapper around that functionality and stream-lined output.\nimport argparse\nimport multiprocessing\nimport os\n+import resource\nimport shlex\nimport sig...
C++
Apache License 2.0
apache/mesos
Explicitly constructed command line args in parallel runner. This fixes issues with flag propagation into shards. Review: https://reviews.apache.org/r/69309
46,103
09.11.2018 22:06:57
-3,600
77b088b1975d4f5f4a8a217c65fc0af4dae6ed17
Always used absolute executable paths in parallel runner. This allows executing test which are just passed as file names, not as relative or absolute paths. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-gtest-runner.py", "new_path": "support/mesos-gtest-runner.py", "diff": "@@ -234,6 +234,8 @@ if __name__ == '__main__':\nEXECUTABLE, OPTIONS = parse_arguments()\nvalidate_setup(OPTIONS)\n+ EXECUTABLE = os.path.abspath(EXECUTABLE)\n+\ndef options_g...
C++
Apache License 2.0
apache/mesos
Always used absolute executable paths in parallel runner. This allows executing test which are just passed as file names, not as relative or absolute paths. Review: https://reviews.apache.org/r/69310
46,076
15.07.2018 09:54:30
25,200
975136403457f94b5890271f9d8b3f1bcf75a416
Added some new generic flag parsers. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/flags/parse.hpp", "new_path": "3rdparty/stout/include/stout/flags/parse.hpp", "diff": "@@ -218,6 +218,53 @@ inline Try<int_fd> parse(const std::string& value)\n}\n#endif // __WINDOWS__\n+\n+// TODO(klueska): Generalize this parser ...
C++
Apache License 2.0
apache/mesos
Added some new generic flag parsers. Review: https://reviews.apache.org/r/67955
46,076
15.07.2018 09:54:54
25,200
6ce9ad94b1ab32cdfc071b86dbca3d980817d991
Removed some generic flag parsers that are now in stout. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/parse.hpp", "new_path": "src/common/parse.hpp", "diff": "@@ -130,53 +130,6 @@ inline Try<hashmap<std::string, std::string>> parse(const std::string& value)\n}\n-// TODO(klueska): Generalize this parser to take any comma separated\n-// list and conve...
C++
Apache License 2.0
apache/mesos
Removed some generic flag parsers that are now in stout. Review: https://reviews.apache.org/r/67956
46,076
15.07.2018 18:54:48
25,200
01f596ab256e02a981985fc803508ae8d7f1efc0
Refactored TemporaryDirectoryTest to be a mixin. Currently you can't easily "mixin" the functionality of the TemporaryDirectoryTest which makes for tests that might have a weird inheritance structure. This refactor makes it easy for you to get the functionality of the TemporaryDirectoryTest while easily composing it wi...
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/tests/utils.hpp", "new_path": "3rdparty/stout/include/stout/tests/utils.hpp", "diff": "#include <stout/os/sysctl.hpp>\n#endif\n-class TemporaryDirectoryTest : public ::testing::Test\n+template <typename T>\n+class MixinTemporaryDir...
C++
Apache License 2.0
apache/mesos
Refactored TemporaryDirectoryTest to be a mixin. Currently you can't easily "mixin" the functionality of the TemporaryDirectoryTest which makes for tests that might have a weird inheritance structure. This refactor makes it easy for you to get the functionality of the TemporaryDirectoryTest while easily composing it w...
46,057
13.11.2018 14:10:07
-3,600
3446e0a43eb16151d0f467e7034b0ca6baefda4a
Added whitespace in libprocess README. The whitespace in a table in the libprocess README was squashed, making the table contents challenging to read. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/README.md", "new_path": "3rdparty/libprocess/README.md", "diff": "@@ -245,7 +245,7 @@ Future<Person> mother(const std::string& name)\nEach of `Future::then()`, `Future::repair()`, and `Future::recover()` takes a callback that will be invoke...
C++
Apache License 2.0
apache/mesos
Added whitespace in libprocess README. The whitespace in a table in the libprocess README was squashed, making the table contents challenging to read. Review: https://reviews.apache.org/r/69327/
46,053
14.11.2018 11:53:33
28,800
ad666b7fca93ee6c37eca00ab7224fec8e3c9033
Added `FetcherCacheTest.LocalCachedMissing` test. This test verifies that the fetcher retries downloading URI when the cache file is missing. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/fetcher_cache_tests.cpp", "new_path": "src/tests/fetcher_cache_tests.cpp", "diff": "@@ -697,6 +697,45 @@ TEST_F(FetcherCacheTest, LocalCached)\n}\n+// This test launches a task with enabled cache, then removes all cached files,\n+// then attempts to ...
C++
Apache License 2.0
apache/mesos
Added `FetcherCacheTest.LocalCachedMissing` test. This test verifies that the fetcher retries downloading URI when the cache file is missing. Review: https://reviews.apache.org/r/69172/
46,057
14.11.2018 12:15:58
28,800
025451dbd0b5fe15928cc008d3c1c6e844f1666b
Fixed flaky agent reconfiguration test. Removed some flakyness from the test SlaveRecoveryTest.AgentReconfigurationWithRunningTask by removing the `refuse_offers` filter and by pausing the clock during the test. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_recovery_tests.cpp", "new_path": "src/tests/slave_recovery_tests.cpp", "diff": "@@ -4719,8 +4719,11 @@ TYPED_TEST(SlaveRecoveryTest, RestartBeforeContainerizerLaunch)\n// offers.\nTYPED_TEST(SlaveRecoveryTest, AgentReconfigurationWithRunningTas...
C++
Apache License 2.0
apache/mesos
Fixed flaky agent reconfiguration test. Removed some flakyness from the test SlaveRecoveryTest.AgentReconfigurationWithRunningTask by removing the `refuse_offers` filter and by pausing the clock during the test. Review: https://reviews.apache.org/r/69273/
46,177
14.11.2018 13:17:39
28,800
e524652d05a352169652c34b610e084b89f13d0c
Added to 1.5.3, 1.6.2, and 1.7.1 CHANGELOGs.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -7,6 +7,7 @@ Release Notes - Mesos - Version 1.7.1 (WIP)\ncycle time in some benchmarks by 80%.\n** Bug\n+ * [MESOS-7474] - Mesos fetcher cache doesn't retry when missed.\n* [MESOS-8545] - AgentAPIStreamingTest....
C++
Apache License 2.0
apache/mesos
Added MESOS-7574 to 1.5.3, 1.6.2, and 1.7.1 CHANGELOGs.
46,143
15.11.2018 15:01:18
21,600
f3db5ad2ca4b01f000e9d204ea970434d585f38b
Improved log messages in master when adding/removing tasks/executors. Made the log messages and the calling sites consistent and also added one for adding an executor. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -4053,6 +4053,17 @@ void Master::addExecutor(\nCHECK(slave->connected) << \"Adding executor \" << executorInfo.executor_id()\n<< \" to disconnected agent \" << *slave;\n+ // Note that we ...
C++
Apache License 2.0
apache/mesos
Improved log messages in master when adding/removing tasks/executors. Made the log messages and the calling sites consistent and also added one for adding an executor. Review: https://reviews.apache.org/r/61128/
46,143
16.11.2018 13:54:17
21,600
6f3bfb4bd57d806538a2006949f569c21173017e
Fixed xml test report path.
[ { "change_type": "MODIFY", "old_path": "support/mesos-build/entrypoint.sh", "new_path": "support/mesos-build/entrypoint.sh", "diff": "@@ -26,7 +26,7 @@ git clone --depth 1 file:///SRC \"${SRCDIR}\"\ncd \"${SRCDIR}\"\n-export GTEST_OUTPUT=xml\n+export GTEST_OUTPUT=xml:report.xml\nexport DISTCHECK_CON...
C++
Apache License 2.0
apache/mesos
Fixed xml test report path.
46,195
18.11.2018 21:12:06
28,800
516c0bd70c50ae5aa6682b3b8675ef75d99dfc3f
Added Stout `path::normalize` function for POSIX paths. Added `path::normalize` to normalize a given pathname and remove redundant separators and up-level references. This function follows the rules described in `path_resolution(7)` for Linux. However, it only performs pure lexical processing without touching the actua...
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/path.hpp", "new_path": "3rdparty/stout/include/stout/path.hpp", "diff": "@@ -52,6 +52,63 @@ inline std::string from_uri(const std::string& uri)\n}\n+// Normalizes a given pathname and removes redundant separators and up-level\n+// ...
C++
Apache License 2.0
apache/mesos
Added Stout `path::normalize` function for POSIX paths. Added `path::normalize` to normalize a given pathname and remove redundant separators and up-level references. This function follows the rules described in `path_resolution(7)` for Linux. However, it only performs pure lexical processing without touching the act...
46,195
18.11.2018 21:12:28
28,800
b866fc3278dc4fd48d1a50493bcde1efdfa91cc7
Added unit tests for Stout `path::normalize` function in POSIX. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/tests/path_tests.cpp", "new_path": "3rdparty/stout/tests/path_tests.cpp", "diff": "@@ -200,6 +200,42 @@ TEST(PathTest, Extension)\n}\n+TEST(PathTest, Normalize)\n+{\n+ EXPECT_SOME_EQ(\".\", path::normalize(\"\"));\n+\n+#ifndef __WINDOWS__\n+ EXP...
C++
Apache License 2.0
apache/mesos
Added unit tests for Stout `path::normalize` function in POSIX. Review: https://reviews.apache.org/r/68832/
46,055
19.11.2018 11:49:17
-28,800
22fa5aeac19416fd0c7c2284a1e48a5ee15bdd24
Added a test `ROOT_UNPRIVILEGED_USER_SandboxOwnership`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/default_executor_tests.cpp", "new_path": "src/tests/default_executor_tests.cpp", "diff": "@@ -220,6 +220,118 @@ TEST_P(DefaultExecutorTest, TaskRunning)\n}\n+// This is a regression test for MESOS-9332. It launches a nested container as\n+// a non-ro...
C++
Apache License 2.0
apache/mesos
Added a test `ROOT_UNPRIVILEGED_USER_SandboxOwnership`. Review: https://reviews.apache.org/r/69389
46,172
19.11.2018 10:49:28
18,000
e7bd571e5c8bb3a3b91f589b9a03d07320070e3e
Added configuration docs describing how to use Python 3. For Autotools, this means how to use 'PYTHON_3' and 'PYTHON_3_VERSION'. For CMake, this means how to use '-DPYTHON_3'. Review:
[ { "change_type": "MODIFY", "old_path": "docs/configuration/autotools.md", "new_path": "docs/configuration/autotools.md", "diff": "@@ -569,7 +569,7 @@ it to find libraries and programs with nonstandard names/locations.\nPYTHON\n</td>\n<td>\n- Which Python interpreter to use.\n+ Which Python 2 interpr...
C++
Apache License 2.0
apache/mesos
Added configuration docs describing how to use Python 3. For Autotools, this means how to use 'PYTHON_3' and 'PYTHON_3_VERSION'. For CMake, this means how to use '-DPYTHON_3'. Review: https://reviews.apache.org/r/69380/
46,172
19.11.2018 10:50:47
18,000
2a899351641c8defb7d677bad25fe2b479d1f0b6
Updated configuration docs describing how to build the new CLI. Review:
[ { "change_type": "MODIFY", "old_path": "docs/configuration/autotools.md", "new_path": "docs/configuration/autotools.md", "diff": "@@ -199,6 +199,16 @@ layout: documentation\nWhether to attempt to run tests in parallel.\n</td>\n</tr>\n+ <tr>\n+ <td>\n+ --enable-new-cli\n+ </td>\n+ <td>\n+ Whether to ...
C++
Apache License 2.0
apache/mesos
Updated configuration docs describing how to build the new CLI. Review: https://reviews.apache.org/r/69381/
46,188
18.11.2018 21:44:50
28,800
05a7caf2de270eb01f7a13784f4b1e0ee333723f
Added blog post for Mesos Mini. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "site/source/blog/2018-11-19-mesos-mini.md", "diff": "+---\n+layout: post\n+title: Run Mesos Locally with Mesos Mini Docker Container\n+published: true\n+post_author:\n+ display_name: Jie Yu\n+ twitter: jie_yu\n+tags: Docker\n+---\n+\n+[Mesos Min...
C++
Apache License 2.0
apache/mesos
Added blog post for Mesos Mini. Review: https://reviews.apache.org/r/69377/
46,165
19.11.2018 12:43:04
28,800
60a85777d640d01967bd44224ca40f855d3b39f1
Added --min_allocatable_resources to the multi-scheduler documentation.
[ { "change_type": "MODIFY", "old_path": "docs/app-framework-development-guide.md", "new_path": "docs/app-framework-development-guide.md", "diff": "@@ -70,12 +70,18 @@ they need when co-existing with other schedulers:\na \"job\"/\"service\"/etc within a multi-tenant scheduler) needs a certain amount o...
C++
Apache License 2.0
apache/mesos
Added --min_allocatable_resources to the multi-scheduler documentation.
46,210
20.11.2018 14:46:00
-3,600
176f5c2fb998b2327059893e180501b32f9450e0
Introduced common/authorization and refactored collectAuthorizations. Adds a new collection of authorization specific helper/s to reduce code duplication and increase efficient test coverage. Moves the newly introduced 'collectAuthorizations' helper into this new authorization source unit. Review:
[ { "change_type": "MODIFY", "old_path": "src/CMakeLists.txt", "new_path": "src/CMakeLists.txt", "diff": "@@ -221,6 +221,7 @@ set(AUTHORIZER_SRC\nauthorizer/local/authorizer.cpp)\nset(COMMON_SRC\n+ common/authorization.cpp\ncommon/attributes.cpp\ncommon/build.cpp\ncommon/command_utils.cpp\n" }, { ...
C++
Apache License 2.0
apache/mesos
Introduced common/authorization and refactored collectAuthorizations. Adds a new collection of authorization specific helper/s to reduce code duplication and increase efficient test coverage. Moves the newly introduced 'collectAuthorizations' helper into this new authorization source unit. Review: https://reviews.ap...
46,210
20.11.2018 14:46:11
-3,600
00e0707e32735886f61ab4f9c03d4b06a295d1b5
Refactored createSubject and authorizeLogAccess to common/authorization. Moves 'createSubject' out of common/http into common/authorization. Removes duplicate 'authorizeLogAccess' out of master.cpp and slave.cpp. Introduces 'authorizeLogAccess' within common/authorization. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/authorization.cpp", "new_path": "src/common/authorization.cpp", "diff": "#include \"common/authorization.hpp\"\n#include <algorithm>\n+#include <string>\n+\n+#include <mesos/mesos.hpp>\n#include <process/collect.hpp>\n#include <stout/foreach.hpp>\n+...
C++
Apache License 2.0
apache/mesos
Refactored createSubject and authorizeLogAccess to common/authorization. Moves 'createSubject' out of common/http into common/authorization. Removes duplicate 'authorizeLogAccess' out of master.cpp and slave.cpp. Introduces 'authorizeLogAccess' within common/authorization. Review: https://reviews.apache.org/r/69385/
46,210
20.11.2018 14:46:25
-3,600
45bd70f02d9d3c9c5c9067169f020dafc4437f8b
Added test for ACCESS_MESOS_LOG authorization. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/authorization_tests.cpp", "new_path": "src/tests/authorization_tests.cpp", "diff": "@@ -6997,6 +6997,60 @@ TYPED_TEST(AuthorizationTest, DestroyMountDisk)\n}\n}\n+\n+// This tests the authorization to access Mesos logs.\n+TYPED_TEST(AuthorizationTest...
C++
Apache License 2.0
apache/mesos
Added test for ACCESS_MESOS_LOG authorization. Review: https://reviews.apache.org/r/69386/
46,056
18.11.2018 05:09:39
-3,600
40dc508d59d547e867746bc6b5b82ced849687f8
Added MasterActorResponsiveness_BENCHMARK_Test. See summary. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_benchmarks.cpp", "new_path": "src/tests/master_benchmarks.cpp", "diff": "// See the License for the specific language governing permissions and\n// limitations under the License.\n+#include <atomic>\n+#include <limits>\n+#include <memory>\n#in...
C++
Apache License 2.0
apache/mesos
Added MasterActorResponsiveness_BENCHMARK_Test. See summary. Review: https://reviews.apache.org/r/68131/
46,172
22.11.2018 10:33:28
18,000
c132007309d2291537f6dc0ac6424092f47532db
Added docs describing how to use the new CLI. The documentation describes the main commands of the new CLI, how to activate it, how to build Mesos including this component, and how to write a configuration file for it. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/cli.md", "diff": "+---\n+title: Apache Mesos - CLI\n+layout: documentation\n+---\n+\n+# The new CLI\n+\n+\n+The new Mesos Command Line Interface provides one executable Python 3\n+script to run all default commands and additional custom plu...
C++
Apache License 2.0
apache/mesos
Added docs describing how to use the new CLI. The documentation describes the main commands of the new CLI, how to activate it, how to build Mesos including this component, and how to write a configuration file for it. Review: https://reviews.apache.org/r/69390/
46,108
22.11.2018 11:14:00
18,000
d0c7c19e4e79f9b9df411d27b34d87b70bc562ce
Changed 'docs/cli.md' to include comments from the review request. Commit was accidentally pushed before applying these changes to the diff. We are adding on this patch commit to fix that.
[ { "change_type": "MODIFY", "old_path": "docs/cli.md", "new_path": "docs/cli.md", "diff": "@@ -5,7 +5,6 @@ layout: documentation\n# The new CLI\n-\nThe new Mesos Command Line Interface provides one executable Python 3\nscript to run all default commands and additional custom plugins.\n@@ -20,7 +19,7 ...
C++
Apache License 2.0
apache/mesos
Changed 'docs/cli.md' to include comments from the review request. Commit c132007 was accidentally pushed before applying these changes to the diff. We are adding on this patch commit to fix that.
46,172
22.11.2018 11:17:43
18,000
fcb8e2abeef52042a7f40312c461cab716c0bf3c
Updated 'mesos task list' to display a 'State' field. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/cli_new/lib/cli/plugins/task/main.py", "new_path": "src/python/cli_new/lib/cli/plugins/task/main.py", "diff": "@@ -120,9 +120,14 @@ class Task(PluginBase):\nreturn\ntry:\n- table = Table([\"Task ID\", \"Framework ID\", \"Executor ID\"])\n+ table = T...
C++
Apache License 2.0
apache/mesos
Updated 'mesos task list' to display a 'State' field. Review: https://reviews.apache.org/r/69393/
46,210
24.11.2018 01:33:49
-3,600
d278cb1393fc3f864a7c9caf5fb4994b5525f826
Added guards around convertStringToInt to prevent warning. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/posix/subprocess.hpp", "new_path": "3rdparty/libprocess/src/posix/subprocess.hpp", "diff": "@@ -56,6 +56,7 @@ static void close(\nconst Subprocess::IO::OutputFileDescriptors& stderrfds);\n+#if defined(__linux__) && defined(SYS_getdents6...
C++
Apache License 2.0
apache/mesos
Added guards around convertStringToInt to prevent warning. Review: https://reviews.apache.org/r/69439/
46,103
24.11.2018 02:18:35
-3,600
0db5e7feff9f4fe6b27c0a3baca2339266519068
Added a function to get rlimits. Review:
[ { "change_type": "MODIFY", "old_path": "src/posix/rlimits.cpp", "new_path": "src/posix/rlimits.cpp", "diff": "@@ -127,12 +127,37 @@ Try<Nothing> set(const RLimitInfo::RLimit& limit)\n}\nif (setrlimit(resource.get(), &resourceLimit) != 0) {\n- return Error(\"Failed to set rlimit: \" + os::strerror(er...
C++
Apache License 2.0
apache/mesos
Added a function to get rlimits. Review: https://reviews.apache.org/r/67136/
46,103
24.11.2018 02:18:45
-3,600
ee3cc43ae6d034645c6a8a627816d30fe3a16836
Skipped an rlimit test if the environment is incompatible. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/posix_rlimits_isolator_tests.cpp", "new_path": "src/tests/containerizer/posix_rlimits_isolator_tests.cpp", "diff": "#include <stout/hashmap.hpp>\n+#include \"posix/rlimits.hpp\"\n+\n#include \"slave/flags.hpp\"\n+\n#include \"tests/clus...
C++
Apache License 2.0
apache/mesos
Skipped an rlimit test if the environment is incompatible. Review: https://reviews.apache.org/r/69438/
46,172
24.11.2018 14:30:54
-3,600
e6b507b6469553725c98b953f9578ab3f1a40b93
Updated 'REPOSITORY_URL' in 'support/reviewboardrc' to use gitbox. The Apache Mesos repository was moved from the "git-wip" git server to the new "gitbox" server earlier in 2018. This change is now also made in 'support/reviewboardrc', a file used to generate the file '.reviewboardrc' at the root of the project directo...
[ { "change_type": "MODIFY", "old_path": "support/reviewboardrc", "new_path": "support/reviewboardrc", "diff": "REVIEWBOARD_URL = \"https://reviews.apache.org/\"\n-REPOSITORY_URL = \"git://git.apache.org/mesos.git\"\n+REPOSITORY_URL = \"https://gitbox.apache.org/repos/asf/mesos.git\"\nREPOSITORY = \"m...
C++
Apache License 2.0
apache/mesos
Updated 'REPOSITORY_URL' in 'support/reviewboardrc' to use gitbox. The Apache Mesos repository was moved from the "git-wip" git server to the new "gitbox" server earlier in 2018. This change is now also made in 'support/reviewboardrc', a file used to generate the file '.reviewboardrc' at the root of the project direct...
46,210
25.11.2018 20:52:32
-3,600
c1022562f94364737711f5deb142bd594fb11785
Allowed for unbundled leveldb in CMake builds. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -1483,6 +1483,7 @@ ExternalProject_Add(\n# https://github.com/google/leveldb\n############################################\nif (NOT WIN32)\n+ if (NOT UNBUNDLED_LEVELDB)\n# TODO(andsch...
C++
Apache License 2.0
apache/mesos
Allowed for unbundled leveldb in CMake builds. Review: https://reviews.apache.org/r/69444/
46,172
26.11.2018 08:14:42
18,000
2b03f942b5cf9375a75f08b36091c3b3e7f096ff
Updated 'mesos task list' to only display running tasks. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/cli_new/lib/cli/plugins/task/main.py", "new_path": "src/python/cli_new/lib/cli/plugins/task/main.py", "diff": "@@ -61,8 +61,8 @@ class Task(PluginBase):\n\"list\": {\n\"arguments\": [],\n\"flags\": {},\n- \"short_help\": \"List all active tasks in a...
C++
Apache License 2.0
apache/mesos
Updated 'mesos task list' to only display running tasks. Review: https://reviews.apache.org/r/69394/
46,172
26.11.2018 08:22:58
18,000
48cdd101c7a9730029471b8f881df46e136bfae4
Fixed name of task created when running mesos-cli-tests. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/cli_new/lib/cli/tests/base.py", "new_path": "src/python/cli_new/lib/cli/tests/base.py", "diff": "@@ -333,7 +333,7 @@ class Task(Executable):\nraise CLIException(\"No command supplied when creating task\")\nself.flags = flags\n- self.name = \"task\"\...
C++
Apache License 2.0
apache/mesos
Fixed name of task created when running mesos-cli-tests. Review: https://reviews.apache.org/r/69425/
46,172
26.11.2018 08:55:03
18,000
8c6e0e570e970a1fa6e1b3085373c6b84cb4a81d
Added '--all' flag to 'mesos task list'. With this option, the command is able to show all the tasks that have ever been run. This makes the command's behavior closer to the one of 'docker ps -a'. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/cli_new/lib/cli/plugins/task/main.py", "new_path": "src/python/cli_new/lib/cli/plugins/task/main.py", "diff": "@@ -60,7 +60,9 @@ class Task(PluginBase):\n},\n\"list\": {\n\"arguments\": [],\n- \"flags\": {},\n+ \"flags\": {\n+ \"-a --all\": \"list a...
C++
Apache License 2.0
apache/mesos
Added '--all' flag to 'mesos task list'. With this option, the command is able to show all the tasks that have ever been run. This makes the command's behavior closer to the one of 'docker ps -a'. Review: https://reviews.apache.org/r/69395/
46,165
26.11.2018 11:48:28
18,000
9b889a10927b13510a1d02e7328925dba3438a0b
Updated '--min_allocatable_resources' recommendation to 0.1 cpus.
[ { "change_type": "MODIFY", "old_path": "docs/app-framework-development-guide.md", "new_path": "docs/app-framework-development-guide.md", "diff": "@@ -72,7 +72,7 @@ they need when co-existing with other schedulers:\nto allocate to satisfy the guarantee.\n3. **Set the minimum allocatable resources**: ...
C++
Apache License 2.0
apache/mesos
Updated '--min_allocatable_resources' recommendation to 0.1 cpus.
46,118
27.11.2018 19:39:11
28,800
84a6eef111ea6ee86f02527527ae9b4ea06a74fb
Fixed some incorrect CentOS RPM build settings. Updated 'mesos-init-wrapper' execute permission, and specified the master and agent work directories correctly. This closes
[ { "change_type": "MODIFY", "old_path": "support/packaging/centos/mesos.spec", "new_path": "support/packaging/centos/mesos.spec", "diff": "@@ -113,11 +113,11 @@ mkdir -p -m0755 %{buildroot}/%{_var}/log/%{name}\nmkdir -p -m0755 %{buildroot}/%{_var}/lib/%{name}\necho zk://localhost:2181/mesos > %{build...
C++
Apache License 2.0
apache/mesos
Fixed some incorrect CentOS RPM build settings. Updated 'mesos-init-wrapper' execute permission, and specified the master and agent work directories correctly. This closes #319
46,068
01.12.2018 14:28:14
-3,600
9bba87b963aeaf3c0fbbe8ee10724d012e3a5283
Fixed thread safety issue in jwt signature validation. Fixes the implementation of the OpenSSL utilities which computed an HMAC 256 signature by making a non thread safe call to the OpenSSL library. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/ssl/utilities.cpp", "new_path": "3rdparty/libprocess/src/ssl/utilities.cpp", "diff": "@@ -355,6 +355,7 @@ Try<string> generate_hmac_sha256(\nconst string& key)\n{\nunsigned int md_len = 0;\n+ unsigned char buffer[EVP_MAX_MD_SIZE] = {0};...
C++
Apache License 2.0
apache/mesos
Fixed thread safety issue in jwt signature validation. Fixes the implementation of the OpenSSL utilities which computed an HMAC 256 signature by making a non thread safe call to the OpenSSL library. Review: https://reviews.apache.org/r/69412/
46,148
31.07.2018 12:55:34
25,200
ed02fb0ca406808db1b61ed3a3c821f1192e553e
Added tests to ensure correct quota accounting. Added two allocator tests to ensure reserving and unreserving allocated resources do not affect quota accounting. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/hierarchical_allocator_tests.cpp", "new_path": "src/tests/hierarchical_allocator_tests.cpp", "diff": "@@ -1699,6 +1699,147 @@ TEST_P(HierarchicalAllocatorTestWithReservations,\nEXPECT_TRUE(allocations.get().isPending());\n}\n+// This test ensures tha...
C++
Apache License 2.0
apache/mesos
Added tests to ensure correct quota accounting. Added two allocator tests to ensure reserving and unreserving allocated resources do not affect quota accounting. Review: https://reviews.apache.org/r/68138
46,143
16.11.2018 13:26:12
21,600
aee2e7e761b2bf564bce0dc1971aadd2b68e3224
Manually copy test reports to host fs. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-build/entrypoint.sh", "new_path": "support/mesos-build/entrypoint.sh", "diff": "@@ -26,7 +26,18 @@ git clone --depth 1 file:///SRC \"${SRCDIR}\"\ncd \"${SRCDIR}\"\n-export GTEST_OUTPUT=xml:report.xml\n+# NOTE: We have googletest write test report...
C++
Apache License 2.0
apache/mesos
Manually copy test reports to host fs. Review: https://reviews.apache.org/r/69513
46,103
05.12.2018 13:03:06
28,800
d5577c52587f9bad0bc98eba4b5cf0206022c42a
Added agent and resource provider IDs to operation status messages. This patch adds agent and resource provider IDs to `UpdateOperationStatus` and `UpdateOperationStatusMessage`. With that frameworks are able to reconcile enough information after failover to construct operation acknowledgements. We will add code to pop...
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -2431,6 +2431,18 @@ message OperationStatus {\n// include a `uuid`. The status is considered delivered once\n// it is acknowledged by the scheduler.\noptional UUID uuid = 5;\n+\n+...
C++
Apache License 2.0
apache/mesos
Added agent and resource provider IDs to operation status messages. This patch adds agent and resource provider IDs to `UpdateOperationStatus` and `UpdateOperationStatusMessage`. With that frameworks are able to reconcile enough information after failover to construct operation acknowledgements. We will add code to p...
46,148
12.10.2018 17:04:25
25,200
ed7557d71ff5bfb05b9726b714cca6a3de2f2273
Added default arguments to `FrameworkProfile` in allocator benchmark. For frameworks that do not want to configure task launches, we should provide some default task launch settings to simplify the benchmark settings. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/hierarchical_allocator_benchmarks.cpp", "new_path": "src/tests/hierarchical_allocator_benchmarks.cpp", "diff": "@@ -71,12 +71,16 @@ namespace tests {\n// offer acceptance/rejection.\nstruct FrameworkProfile\n{\n- FrameworkProfile(const string& _name,...
C++
Apache License 2.0
apache/mesos
Added default arguments to `FrameworkProfile` in allocator benchmark. For frameworks that do not want to configure task launches, we should provide some default task launch settings to simplify the benchmark settings. Review: https://reviews.apache.org/r/69092
46,148
18.10.2018 21:45:14
25,200
e6fa3e3efc39971fea6157cd8d3e3a3bebbac94d
Renamed one allocator benchmark to be more descriptive. Renamed `Allocations` to `MultiFrameworkAllocations`. Also removed `_TestBase` from the fixture name. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/hierarchical_allocator_benchmarks.cpp", "new_path": "src/tests/hierarchical_allocator_benchmarks.cpp", "diff": "@@ -316,11 +316,15 @@ private:\n};\n+class HierarchicalAllocations_BENCHMARK :\n+ public HierarchicalAllocations_BENCHMARK_TestBase {};\n+...
C++
Apache License 2.0
apache/mesos
Renamed one allocator benchmark to be more descriptive. Renamed `Allocations` to `MultiFrameworkAllocations`. Also removed `_TestBase` from the fixture name. Review: https://reviews.apache.org/r/69094
46,148
18.10.2018 10:49:38
25,200
80da1fca1a2b765e2868bd30fc6b306e164cce28
Moved a few allocator test helpers to `tests/allocator.hpp`. This helps to share the helpers between `hierarchical_allocator_tests.cpp` and `hierarchical_allocator_benchmarks.cpp`. Review:
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -2450,6 +2450,7 @@ mesos_tests_SOURCES = \\\ntests/active_user_test_helper.cpp \\\ntests/active_user_test_helper.hpp \\\ntests/agent_container_api_tests.cpp \\\n+ tests/allocator.cpp \\\ntests/alloca...
C++
Apache License 2.0
apache/mesos
Moved a few allocator test helpers to `tests/allocator.hpp`. This helps to share the helpers between `hierarchical_allocator_tests.cpp` and `hierarchical_allocator_benchmarks.cpp`. Review: https://reviews.apache.org/r/69096
46,188
09.12.2018 19:14:09
28,800
35cdfa2c0bcb75f5801ec60671a3f978b4aa645f
Used strings::format in os::shell. Previously, `strings::internal::format` was used. It causes issues when std::string is passed in as parameters. Switched to use `strings::format` instead in `os::shell` implementation. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/os/posix/shell.hpp", "new_path": "3rdparty/stout/include/stout/os/posix/shell.hpp", "diff": "@@ -72,7 +72,7 @@ constexpr const char* arg1 = \"-c\";\ntemplate <typename... T>\nTry<std::string> shell(const std::string& fmt, const T&....
C++
Apache License 2.0
apache/mesos
Used strings::format in os::shell. Previously, `strings::internal::format` was used. It causes issues when std::string is passed in as parameters. Switched to use `strings::format` instead in `os::shell` implementation. Review: https://reviews.apache.org/r/69537
46,188
09.12.2018 22:08:54
28,800
3c91e2ab79493b3c8bb262e744b3ab39d6d59816
Added UCR bridge network for Mesos Mini. This patch adds the UCR bridge network support for Mesos Mini using CNI bridge plugin and Mesos port mapper CNI plugin. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-mini/Dockerfile", "new_path": "support/mesos-mini/Dockerfile", "diff": "@@ -2,7 +2,7 @@ ARG BASE_IMAGE_NAME\nFROM $BASE_IMAGE_NAME\n-RUN yum install -y java-1.8.0-openjdk iptables\n+RUN yum install -y java-1.8.0-openjdk iptables iproute\n# Prepar...
C++
Apache License 2.0
apache/mesos
Added UCR bridge network for Mesos Mini. This patch adds the UCR bridge network support for Mesos Mini using CNI bridge plugin and Mesos port mapper CNI plugin. Review: https://reviews.apache.org/r/69538
46,165
10.12.2018 17:04:47
18,000
577c0a248f61164058c15ed735fcdd8568d264a4
Removed unnecessary '--all-cpus' option from perf documentation. This flag is the deafult when no target cpus are specified, so there is no need to include it.
[ { "change_type": "MODIFY", "old_path": "docs/performance-profiling.md", "new_path": "docs/performance-profiling.md", "diff": "@@ -9,10 +9,10 @@ This document over time will be home to various guides on how to use various pro\n## Flamescope\n-[Flamescope](https://github.com/Netflix/flamescope) is a v...
C++
Apache License 2.0
apache/mesos
Removed unnecessary '--all-cpus' option from perf documentation. This flag is the deafult when no target cpus are specified, so there is no need to include it.
46,053
10.12.2018 16:00:30
28,800
ab7edeb490e0fa6dab8b5d5ed700c59834455955
Added `ROOT_PseudoDevicesWithRootFilesystem` test. This test verifies that pseudo devices like /dev/random are properly mounted in the container's root filesystem. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/linux_filesystem_isolator_tests.cpp", "new_path": "src/tests/containerizer/linux_filesystem_isolator_tests.cpp", "diff": "@@ -123,6 +123,60 @@ TEST_F(LinuxFilesystemIsolatorTest, ROOT_ChangeRootFilesystem)\n}\n+// This test verifies tha...
C++
Apache License 2.0
apache/mesos
Added `ROOT_PseudoDevicesWithRootFilesystem` test. This test verifies that pseudo devices like /dev/random are properly mounted in the container's root filesystem. Review: https://reviews.apache.org/r/69540/
46,053
10.12.2018 16:00:32
28,800
4803af11bcb038193c238c049ea67c73b1bfd9a1
Refactored `LinuxFilesystemIsolator{Test,MesosTest}` tests. This patch factors out boilerplate code related to initialization of the agent flags. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/linux_filesystem_isolator_tests.cpp", "new_path": "src/tests/containerizer/linux_filesystem_isolator_tests.cpp", "diff": "@@ -69,21 +69,34 @@ namespace mesos {\nnamespace internal {\nnamespace tests {\n-class LinuxFilesystemIsolatorTest...
C++
Apache License 2.0
apache/mesos
Refactored `LinuxFilesystemIsolator{Test,MesosTest}` tests. This patch factors out boilerplate code related to initialization of the agent flags. Review: https://reviews.apache.org/r/69545/
46,057
13.12.2018 10:39:16
-3,600
221884c88447f280dfa61cbbb465d9342f155f61
Removed an unconditional .get() in DefaultExecutor. This would fail in some cases where the optional message is `None`, e.g. when the container is in killing state. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/default_executor.cpp", "new_path": "src/launcher/default_executor.cpp", "diff": "@@ -953,9 +953,9 @@ protected:\nforward(taskStatus);\nLOG(INFO)\n- << \"Child container \" << container->containerId << \" of task '\" << taskId\n- << \"' completed i...
C++
Apache License 2.0
apache/mesos
Removed an unconditional .get() in DefaultExecutor. This would fail in some cases where the optional message is `None`, e.g. when the container is in killing state. Review: https://reviews.apache.org/r/66815/