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,139
31.01.2018 12:59:38
28,800
84ce9fda3c2d5885f2b4b99e62e0a32e851cf4b8
Made `master::receive()` drop `ACKNOWLEDGE_OPERATION_STATUS` calls. `Master::receive()` handles scheduler API calls sent by v0 API clients. `ACKNOWLEDGE_OPERATION_STATUS` is a v1-only API call, so `Master::receive()` should drop it. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -2419,9 +2419,10 @@ void Master::receive(\n}\ncase scheduler::Call::ACKNOWLEDGE_OPERATION_STATUS: {\n- acknowledgeOperationStatus(\n- framework,\n- call.acknowledge_operation_status());\n...
C++
Apache License 2.0
apache/mesos
Made `master::receive()` drop `ACKNOWLEDGE_OPERATION_STATUS` calls. `Master::receive()` handles scheduler API calls sent by v0 API clients. `ACKNOWLEDGE_OPERATION_STATUS` is a v1-only API call, so `Master::receive()` should drop it. Review: https://reviews.apache.org/r/65360/
46,139
31.01.2018 12:59:43
28,800
0836715d1c29af8ad8ed8871eea741c93b390843
Improved task status acknowledgement logging messages. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -5710,8 +5710,8 @@ void Master::statusUpdateAcknowledgement(\nif (framework == nullptr) {\nLOG(WARNING)\n- << \"Ignoring status update acknowledgement \"\n- << uuid_.get() << \" for task ...
C++
Apache License 2.0
apache/mesos
Improved task status acknowledgement logging messages. Review: https://reviews.apache.org/r/65424/
46,139
31.01.2018 12:59:47
28,800
a14db195cbac67a9fa9a7f6c0a16f358b755eff1
Added special handling for devolving ACKNOWLEDGE_OPERATION_STATUS calls. Review:
[ { "change_type": "MODIFY", "old_path": "src/internal/devolve.cpp", "new_path": "src/internal/devolve.cpp", "diff": "@@ -207,6 +207,13 @@ scheduler::Call devolve(const v1::scheduler::Call& call)\ncall.subscribe().suppressed_roles();\n}\n+ if (call.type() == v1::scheduler::Call::ACKNOWLEDGE_OPERATION_...
C++
Apache License 2.0
apache/mesos
Added special handling for devolving ACKNOWLEDGE_OPERATION_STATUS calls. Review: https://reviews.apache.org/r/65361/
46,128
31.01.2018 22:15:53
28,800
52593a47eeebce0c17c5a557e9a982376c658fd5
Updated the docs for agent ping timeout flags. Review:
[ { "change_type": "MODIFY", "old_path": "docs/configuration/master.md", "new_path": "docs/configuration/master.md", "diff": "@@ -135,7 +135,7 @@ Example:\n<td>\nThe timeout within which an agent is expected to respond to a\nping from the master. Agents that do not respond within\n-max_agent_ping_time...
C++
Apache License 2.0
apache/mesos
Updated the docs for agent ping timeout flags. Review: https://reviews.apache.org/r/65344/
46,062
31.01.2018 20:47:51
28,800
329fe968e6dab216bfc42ef84acd37a78f40d9bf
Added `support/jenkins/cat.py` to control standard output in Jenkins.
[ { "change_type": "ADD", "old_path": null, "new_path": "support/jenkins/cat.py", "diff": "+#!/usr/bin/env python\n+#\n+# Licensed to the Apache Software Foundation (ASF) under one\n+# or more contributor license agreements. See the NOTICE file\n+# distributed with this work for additional information...
C++
Apache License 2.0
apache/mesos
Added `support/jenkins/cat.py` to control standard output in Jenkins.
46,111
01.02.2018 16:02:11
28,800
614556541a057f8a2a22bbdded765569b4c2d897
Added tests for `Resources.find` on revocable resources. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/resources_tests.cpp", "new_path": "src/tests/resources_tests.cpp", "diff": "@@ -2890,6 +2890,26 @@ TEST(RevocableResourceTest, Filter)\n}\n+// This test verifies that `Resources::find()` correctly distinguishes\n+// between revocable and non-revocabl...
C++
Apache License 2.0
apache/mesos
Added tests for `Resources.find` on revocable resources. Review: https://reviews.apache.org/r/65414/
46,111
01.02.2018 16:02:18
28,800
6e52d565087f51e6f0e3b6c2ae03fa163e0bf2de
Support `revocable_resources` capability in `mesos-execute`. Add revocable resources support to mesos-execute. Review:
[ { "change_type": "MODIFY", "old_path": "src/cli/execute.cpp", "new_path": "src/cli/execute.cpp", "diff": "@@ -1055,11 +1055,11 @@ int main(int argc, char** argv)\n<< \"Flags '--docker-image' and '--appc-image' are both set\";\n}\n- // Always enable the RESERVATION_REFINEMENT and TASK_KILLING_STATE\n...
C++
Apache License 2.0
apache/mesos
Support `revocable_resources` capability in `mesos-execute`. Add revocable resources support to mesos-execute. Review: https://reviews.apache.org/r/65294/
46,129
01.02.2018 16:33:15
28,800
1600ebc6901239ae86e4e133c82d3424c56c978e
Moved to 1.5.0's CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "-Release Notes - Mesos - Version 1.5.1 (WIP)\n--------------------------------------------\n-* This is a bug fix release.\n-\n-** Bug\n- * [MESOS-8480] - Mesos returns high resource usage when killing a Docker task...
C++
Apache License 2.0
apache/mesos
Moved MESOS-8480 to 1.5.0's CHANGELOG.
46,188
01.02.2018 15:37:35
28,800
25feb869e797b600cc6159d951fe70d4db685445
Added metrics for showing number of subscribed resource providers. Review:
[ { "change_type": "MODIFY", "old_path": "src/resource_provider/manager.cpp", "new_path": "src/resource_provider/manager.cpp", "diff": "#include <process/id.hpp>\n#include <process/process.hpp>\n+#include <process/metrics/gauge.hpp>\n+#include <process/metrics/metrics.hpp>\n+\n#include <stout/hashmap....
C++
Apache License 2.0
apache/mesos
Added metrics for showing number of subscribed resource providers. Review: https://reviews.apache.org/r/65470
46,057
02.02.2018 14:12:21
28,800
5a1433576eca20f15f1ea309fc202f4bbaf3b6c7
Added documentation for fault domains. Fault domains are a new feature in 1.5 which did not yet have a corresponding description in the documentation. Review:
[ { "change_type": "MODIFY", "old_path": "docs/configuration/master-and-agent.md", "new_path": "docs/configuration/master-and-agent.md", "diff": "@@ -95,6 +95,9 @@ different zones). Agents configured to use a different region than the\nmaster's region will not appear in resource offers to frameworks t...
C++
Apache License 2.0
apache/mesos
Added documentation for fault domains. Fault domains are a new feature in 1.5 which did not yet have a corresponding description in the documentation. Review: https://reviews.apache.org/r/65437/
46,062
02.02.2018 15:47:35
28,800
b002f0e5fba887105fb4bbf65d5ba72cf2cca840
Reduced the output from Maven during builds. Review:
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -1903,7 +1903,7 @@ if HAS_JAVA\n$(MESOS_JAR): $(MESOS_JAR_SOURCE) $(MESOS_JAR_GENERATED) java/mesos.pom\n@echo \"Building mesos-$(PACKAGE_VERSION).jar ...\"\n- @cd $(abs_top_builddir)/src/java && $(M...
C++
Apache License 2.0
apache/mesos
Reduced the output from Maven during builds. Review: https://reviews.apache.org/r/65428/
46,188
02.02.2018 14:38:00
28,800
38ab7cb0c11087bb042fb81b67923d7994581139
Added metrics for CSI plugin terminations. Review:
[ { "change_type": "MODIFY", "old_path": "src/resource_provider/storage/provider.cpp", "new_path": "src/resource_provider/storage/provider.cpp", "diff": "#include <process/sequence.hpp>\n#include <process/timeout.hpp>\n+#include <process/metrics/counter.hpp>\n+#include <process/metrics/metrics.hpp>\n+...
C++
Apache License 2.0
apache/mesos
Added metrics for CSI plugin terminations. Review: https://reviews.apache.org/r/65491
46,188
02.02.2018 16:07:35
28,800
196dad76c2648ae4cca34588773d96a705f0c4d3
Changed the SLRP test fixture. Used the `ContainerizerTest<MesosContainerizer>` fixture instead. This guarantees that the cgroup root is different for each test run, prevening interferences. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/storage_local_resource_provider_tests.cpp", "new_path": "src/tests/storage_local_resource_provider_tests.cpp", "diff": "@@ -63,7 +63,8 @@ constexpr char TEST_SLRP_TYPE[] = \"org.apache.mesos.rp.local.storage\";\nconstexpr char TEST_SLRP_NAME[] = \"te...
C++
Apache License 2.0
apache/mesos
Changed the SLRP test fixture. Used the `ContainerizerTest<MesosContainerizer>` fixture instead. This guarantees that the cgroup root is different for each test run, prevening interferences. Review: https://reviews.apache.org/r/65492
46,057
05.02.2018 12:06:09
-3,600
56100adc14a8acbcf2ee0aae967f758f592fcd31
Made cleanliness checks in post-reviews.py less strict. These checks generate a high amount of unnecessary work for developers who want to submit part of an ongoing refactoring for review, and since most developers are advanced git users anyways the amount of hand-holding seems unnecessary. Review:
[ { "change_type": "MODIFY", "old_path": "support/post-reviews.py", "new_path": "support/post-reviews.py", "diff": "@@ -108,19 +108,20 @@ def main():\nprint 'Please install RBTools before proceeding'\nsys.exit(1)\n- # Don't do anything if people have unstaged changes.\n+ # Warn if people have unstaged...
C++
Apache License 2.0
apache/mesos
Made cleanliness checks in post-reviews.py less strict. These checks generate a high amount of unnecessary work for developers who want to submit part of an ongoing refactoring for review, and since most developers are advanced git users anyways the amount of hand-holding seems unnecessary. Review: https://reviews.ap...
46,210
05.02.2018 23:53:37
-3,600
900ad678138b2cd3deb5869604c8f25b6bb29f8c
Updated socket shutdown to return SocketError. Socket::shutdown returns SocketError allowing for higher level functions to have more control over logging errors where needed. Also switches SocketManager::close's shutdown failure logging back to ERROR level as we are now able to filter out expected failures. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/socket.hpp", "new_path": "3rdparty/libprocess/include/process/socket.hpp", "diff": "#include <process/future.hpp>\n#include <stout/abort.hpp>\n+#include <stout/error.hpp>\n#include <stout/nothing.hpp>\n#include <stout/try.hp...
C++
Apache License 2.0
apache/mesos
Updated socket shutdown to return SocketError. Socket::shutdown returns SocketError allowing for higher level functions to have more control over logging errors where needed. Also switches SocketManager::close's shutdown failure logging back to ERROR level as we are now able to filter out expected failures. Review: h...
46,210
05.02.2018 23:53:54
-3,600
a79fe26ac84854f44e8d6a7a9bf0e9eba55bafef
Fixed SSL socket shutdown returned errno. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/libevent_ssl_socket.cpp", "new_path": "3rdparty/libprocess/src/libevent_ssl_socket.cpp", "diff": "@@ -165,7 +165,13 @@ Try<Nothing, SocketError> LibeventSSLSocketImpl::shutdown(int how)\nCHECK(recv_request.get() == nullptr);\nCHECK(send...
C++
Apache License 2.0
apache/mesos
Fixed SSL socket shutdown returned errno. Review: https://reviews.apache.org/r/65475/
46,114
06.02.2018 14:48:33
28,800
8e7afafb9056c04d2ff849011a9e8f79a2f9ce6a
Removed workaround in ZooKeeper test. Now that `fs::list` returns the full path, this code can be fixed. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/zookeeper.cpp", "new_path": "src/tests/zookeeper.cpp", "diff": "@@ -72,12 +72,11 @@ void ZooKeeperTest::SetUpTestCase()\nforeach (const string& jar, jars.get()) {\n#ifdef __WINDOWS__\n- // TODO(andschwa): `fs::list` on Windows only returns the file n...
C++
Apache License 2.0
apache/mesos
Removed workaround in ZooKeeper test. Now that `fs::list` returns the full path, this code can be fixed. Review: https://reviews.apache.org/r/65398/
46,103
07.02.2018 14:44:50
-3,600
f4cb6a4056168b0b8704a1e1cc01a6433e446f98
Skipped bundled elfio in linting. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-style.py", "new_path": "support/mesos-style.py", "diff": "@@ -228,6 +228,7 @@ class CppLinter(LinterBase):\nos.path.join('3rdparty', 'stout')]\nexclude_files = '(' \\\n+ r'elfio\\-3\\.2|' \\\nr'protobuf\\-2\\.4\\.1|' \\\nr'googletest\\-release\\-...
C++
Apache License 2.0
apache/mesos
Skipped bundled elfio in linting. Review: https://reviews.apache.org/r/64609/
46,208
07.02.2018 15:49:32
-3,600
6906310e568355724933503c85a7248ce8cf641d
Added extra python package requirements for the new python-based CLI. These extra python packages will be used by subsequent commits. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/cli_new/bootstrap", "new_path": "src/python/cli_new/bootstrap", "diff": "@@ -68,6 +68,8 @@ echo \"${CURRDIR}/lib\" > ${SITE_PACKAGES}/_virtualenv_path_extensions.pth\necho \"${CURRDIR}/../lib\" >> ${SITE_PACKAGES}/_virtualenv_path_extensions.pth\npi...
C++
Apache License 2.0
apache/mesos
Added extra python package requirements for the new python-based CLI. These extra python packages will be used by subsequent commits. Review: https://reviews.apache.org/r/61172/
46,208
07.02.2018 16:01:08
-3,600
dea1b31ec6ac466831095d82e280911365d2f174
Updated the python-based CLIs tox.ini file. This file has been updated to pull in its python dependencies directly from the relevant requirements.txt and requirements-test.txt files instead of duplicating the list of packages from these files. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/lib/tox.ini", "new_path": "src/python/lib/tox.ini", "diff": "@@ -10,7 +10,5 @@ skipsdist = true\n[testenv]\ncommands = py.test tests -vv --cov=mesos --cov-report=term-missing\ndeps =\n- coverage\n- mock\n- pytest\n- pytest-cov\n+ -rrequirements.in\n...
C++
Apache License 2.0
apache/mesos
Updated the python-based CLIs tox.ini file. This file has been updated to pull in its python dependencies directly from the relevant requirements.txt and requirements-test.txt files instead of duplicating the list of packages from these files. Review: https://reviews.apache.org/r/61172/
46,208
07.02.2018 16:02:17
-3,600
994213739b1afc473bbd9d15ded7c3fd26eaa924
Added 'mesos.http' and 'mesos.exceptions' for the python-based CLI. Part of this patch adds the mesos.http and mesos.exceptions modules, which provides a Resource class and its descendants for abstracting away common operations over http connections with JSON serialization. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "src/python/lib/mesos/exceptions.py", "diff": "+# Licensed to the Apache Software Foundation (ASF) under one\n+# or more contributor license agreements. See the NOTICE file\n+# distributed with this work for additional information\n+# regarding c...
C++
Apache License 2.0
apache/mesos
Added 'mesos.http' and 'mesos.exceptions' for the python-based CLI. Part of MESOS-7310, this patch adds the mesos.http and mesos.exceptions modules, which provides a Resource class and its descendants for abstracting away common operations over http connections with JSON serialization. Review: https://reviews.apache....
46,055
08.02.2018 10:05:00
-28,800
11236661135b48ab0fd353c3f8e0194bb8884a99
Removed WIP from 1.3.2.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -792,8 +792,8 @@ All Resolved Issues:\n* [MESOS-7879] - The kill nested container call should provide ability to specify a signal.\n-Release Notes - Mesos - Version 1.3.2 (WIP)\n---------------------------------...
C++
Apache License 2.0
apache/mesos
Removed WIP from 1.3.2.
46,139
07.02.2018 14:18:22
28,800
36aa75bd0abc7e7d18fd9ff55f26074e000716e0
Added a method to increment invalid scheduler API call counters. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -980,6 +980,7 @@ Future<Response> Master::Http::scheduler(\nOption<Error> error = validation::scheduler::call::validate(call, principal);\nif (error.isSome()) {\n+ master->metrics->incrementI...
C++
Apache License 2.0
apache/mesos
Added a method to increment invalid scheduler API call counters. Review: https://reviews.apache.org/r/65362/
46,139
07.02.2018 14:21:08
28,800
2776724b00f4f50d61704e6d503f7791ba1f6773
Improved the validation of `ACKNOWLEDGE_OPERATION_STATUS` calls. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/validation.cpp", "new_path": "src/master/validation.cpp", "diff": "@@ -596,11 +596,26 @@ Option<Error> validate(\nreturn Error(\"Expecting 'acknowledge_operation_status' to be present\");\n}\n- Try<id::UUID> uuid = id::UUID::fromBytes(\n- call.ackno...
C++
Apache License 2.0
apache/mesos
Improved the validation of `ACKNOWLEDGE_OPERATION_STATUS` calls. Review: https://reviews.apache.org/r/65363/
46,128
07.02.2018 14:51:02
28,800
e815417b235f9102f7740c55b700af6788bfcabb
Added test for delayed authorization during operator events. Until the fix for it was possible for the master operator event stream to drop events, if event-related state in the master changed in between asynchronous calls. This patch adds `MasterAPITest.EventAuthorizationDelayed` to verify the fix for that issue. Revi...
[ { "change_type": "MODIFY", "old_path": "src/tests/api_tests.cpp", "new_path": "src/tests/api_tests.cpp", "diff": "@@ -103,6 +103,7 @@ using testing::AtMost;\nusing testing::DoAll;\nusing testing::Eq;\nusing testing::Return;\n+using testing::Sequence;\nusing testing::WithParamInterface;\nnamespace me...
C++
Apache License 2.0
apache/mesos
Added test for delayed authorization during operator events. Until the fix for MESOS-8469, it was possible for the master operator event stream to drop events, if event-related state in the master changed in between asynchronous calls. This patch adds `MasterAPITest.EventAuthorizationDelayed` to verify the fix for th...
46,128
07.02.2018 14:53:41
28,800
93f48fd52074154074bfd4b4aa6ff7855034e609
Tested reconciliation when operation is dropped en route to agent. This patch adds 'StorageLocalResourceProviderTest.ROOT_ReconcileDroppedOperation' in order to verify that reconciliation is performed correctly when an operation is dropped on its way from the master to the agent. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/storage_local_resource_provider_tests.cpp", "new_path": "src/tests/storage_local_resource_provider_tests.cpp", "diff": "#include \"linux/fs.hpp\"\n+#include \"master/detector/standalone.hpp\"\n+\n#include \"module/manager.hpp\"\n#include \"slave/cont...
C++
Apache License 2.0
apache/mesos
Tested reconciliation when operation is dropped en route to agent. This patch adds 'StorageLocalResourceProviderTest.ROOT_ReconcileDroppedOperation' in order to verify that reconciliation is performed correctly when an operation is dropped on its way from the master to the agent. Review: https://reviews.apache.org/r/...
46,148
07.02.2018 18:19:39
28,800
2c31fdc7e094b697ae11c37c4eb8885a15e0c4aa
Added two additional mock methods in mock slave. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.hpp", "new_path": "src/slave/slave.hpp", "diff": "@@ -170,6 +170,20 @@ public:\nconst Option<TaskGroupInfo>& taskGroup,\nconst std::vector<ResourceVersionUUID>& resourceVersionUuids);\n+ // This is called when the resource limits of the contain...
C++
Apache License 2.0
apache/mesos
Added two additional mock methods in mock slave. Review: https://reviews.apache.org/r/65110/
46,148
07.02.2018 18:19:51
28,800
e32b3d6e7954c895e25af91587d333fe65d7789a
Added tests to verify v0 executor is shutdown if no task is delivered. This test verifies that the v0 executor is shutdown if all of its initial tasks could not be delivered, even after the executor has been registered. See Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/mesos.cpp", "new_path": "src/tests/mesos.cpp", "diff": "@@ -327,13 +327,23 @@ Try<Owned<cluster::Master>> MesosTest::StartMaster(\nTry<Owned<cluster::Slave>> MesosTest::StartSlave(\nMasterDetector* detector,\n- const Option<slave::Flags>& flags)\n+ c...
C++
Apache License 2.0
apache/mesos
Added tests to verify v0 executor is shutdown if no task is delivered. This test verifies that the v0 executor is shutdown if all of its initial tasks could not be delivered, even after the executor has been registered. See MESOS-8411. Review: https://reviews.apache.org/r/65111/
46,148
07.02.2018 18:20:33
28,800
7efea38f9d3a053edfdb2f1e5c5dbd8c9ebcf75c
Added test to ensure v1 executor is shutdown upon initial task all-kill. This test verifies that the v1 executor is shutdown if all of its initial tasks could not be delivered, even after the executor has been subscribed. See Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_tests.cpp", "new_path": "src/tests/slave_tests.cpp", "diff": "@@ -4753,6 +4753,175 @@ TEST_F_TEMP_DISABLED_ON_WINDOWS(SlaveTest,\n}\n+// This test verifies that the v1 executor is shutdown if all of its initial\n+// task group could not be deli...
C++
Apache License 2.0
apache/mesos
Added test to ensure v1 executor is shutdown upon initial task all-kill. This test verifies that the v1 executor is shutdown if all of its initial tasks could not be delivered, even after the executor has been subscribed. See MESOS-8411. Review: https://reviews.apache.org/r/65369/
46,062
06.02.2018 10:01:32
28,800
a6c17a2646c3b85a23af19def4e0f858a4e61a89
Updated Operator API Reservation documentation to use `reservations`. We updated this already in but it was mistakenly using the `reservation` field rather than the `reservations` field.
[ { "change_type": "MODIFY", "old_path": "docs/reservation.md", "new_path": "docs/reservation.md", "diff": "@@ -623,19 +623,25 @@ We send an HTTP POST request to the master's\n\"name\": \"cpus\",\n\"type\": \"SCALAR\",\n\"scalar\": { \"value\": 8 },\n- \"reservation\": {\n- \"principal\": <operator_pr...
C++
Apache License 2.0
apache/mesos
Updated Operator API Reservation documentation to use `reservations`. We updated this already in d831e27, but it was mistakenly using the `reservation` field rather than the `reservations` field.
46,062
07.02.2018 20:28:42
28,800
f7dbd29bd9809d1dd254041537ca875e7ea26613
Updated ReviewBot to use Ubuntu 16.04.
[ { "change_type": "MODIFY", "old_path": "support/jenkins/reviewbot.sh", "new_path": "support/jenkins/reviewbot.sh", "diff": "@@ -24,7 +24,7 @@ MESOS_DIR=$(git rev-parse --show-toplevel)\n: ${USERNAME:?\"Environment variable 'USERNAME' must be set to the username of the 'Mesos Reviewbot' Reviewboard a...
C++
Apache License 2.0
apache/mesos
Updated ReviewBot to use Ubuntu 16.04.
46,188
08.02.2018 10:51:43
28,800
c665dd6c22715fa941200020a8f7209f1f5b1ca1
Updated the website for the 1.5.0 release.
[ { "change_type": "MODIFY", "old_path": "site/data/releases.yml", "new_path": "site/data/releases.yml", "diff": "# `versions` below.\n# * When publishing a new blog post, we need to append an item to `news` below.\nlatest_stable:\n- version: 1.4.1\n- jira_version: 12341353\n+ version: 1.5.0\n+ jira_v...
C++
Apache License 2.0
apache/mesos
Updated the website for the 1.5.0 release.
46,083
08.02.2018 15:18:29
28,800
ae5a6966ac07aa57c8c6c57f96935e1cd26c4aac
Windows: Fixed path to `curl`. On Windows, `curl.exe` must be executed rather then `curl`. Review:
[ { "change_type": "MODIFY", "old_path": "src/uri/fetchers/curl.cpp", "new_path": "src/uri/fetchers/curl.cpp", "diff": "@@ -96,10 +96,16 @@ Future<Nothing> CurlFetcherPlugin::fetch(\n}\n// TODO(jieyu): Allow user to specify the name of the output file.\n- const string output = path::join(directory, Pa...
C++
Apache License 2.0
apache/mesos
Windows: Fixed path to `curl`. On Windows, `curl.exe` must be executed rather then `curl`. Review: https://reviews.apache.org/r/65508/
46,083
08.02.2018 15:19:25
28,800
2b80a7a9ea7db710b703b11e6d9daaafd4d7e1ea
Windows: Made `CURL` test filter also succeed. Since `curl.exe` is built as part of Windows (it's a build target which `mesos-agent` depends on), it will always exist in a known location for test purposes. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/environment.cpp", "new_path": "src/tests/environment.cpp", "diff": "@@ -216,7 +216,18 @@ class CurlFilter : public TestFilter\npublic:\nCurlFilter()\n{\n+#ifndef __WINDOWS__\ncurlError = os::which(\"curl\").isNone();\n+#else\n+ // NOTE: We cannot use...
C++
Apache License 2.0
apache/mesos
Windows: Made `CURL` test filter also succeed. Since `curl.exe` is built as part of Windows (it's a build target which `mesos-agent` depends on), it will always exist in a known location for test purposes. Review: https://reviews.apache.org/r/65509/
46,083
08.02.2018 15:21:35
28,800
d4bfd8b1ff9ccb1f92630a0873029501997ac0a1
Windows: Enabled `curl_uri_fetcher.cpp` tests. These work now that `curl` is available on Windows. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/uri_fetcher_tests.cpp", "new_path": "src/tests/uri_fetcher_tests.cpp", "diff": "@@ -93,7 +93,7 @@ protected:\n};\n-TEST_F_TEMP_DISABLED_ON_WINDOWS(CurlFetcherPluginTest, CURL_ValidUri)\n+TEST_F(CurlFetcherPluginTest, CURL_ValidUri)\n{\nURI uri = uri:...
C++
Apache License 2.0
apache/mesos
Windows: Enabled `curl_uri_fetcher.cpp` tests. These work now that `curl` is available on Windows. Review: https://reviews.apache.org/r/65510/
46,148
08.02.2018 17:19:48
28,800
97d505e5cc27a11b7538cc81fa57d9e4fd10aaf9
Fixed two slave recovery tests. These two tests are affected by the lingering executor fix We should wait to make sure tasks are actually launched on the executor before trigger the agent failover. Otherwise, the container will be shutdown upon re-registration because the executor has never received any task. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_recovery_tests.cpp", "new_path": "src/tests/slave_recovery_tests.cpp", "diff": "@@ -5156,7 +5156,11 @@ TEST_F(MesosContainerizerSlaveRecoveryTest, CGROUPS_ROOT_PidNamespaceForward)\n// Scheduler expectations.\nEXPECT_CALL(sched, registered(_, _...
C++
Apache License 2.0
apache/mesos
Fixed two slave recovery tests. These two tests are affected by the lingering executor fix (#65109). We should wait to make sure tasks are actually launched on the executor before trigger the agent failover. Otherwise, the container will be shutdown upon re-registration because the executor has never received any task...
46,114
08.11.2017 11:47:22
28,800
65df55a40245fea1a52744a2e3290b37f0cc5011
Windows: Moved "kill on close" job object flag to own function. Instead of setting this flag unconditionally when we create a job object, this patch abstracts it to the function `set_job_kill_on_close_limit(pid_t)` so that users can choose how to tie job object lifetimes together. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/windows/os.hpp", "new_path": "3rdparty/stout/include/stout/windows/os.hpp", "diff": "@@ -604,11 +604,6 @@ inline Try<SharedHandle> open_job(\n}\n// `create_job` function creates a named job object using `name`.\n-// This returns th...
C++
Apache License 2.0
apache/mesos
Windows: Moved "kill on close" job object flag to own function. Instead of setting this flag unconditionally when we create a job object, this patch abstracts it to the function `set_job_kill_on_close_limit(pid_t)` so that users can choose how to tie job object lifetimes together. Review: https://reviews.apache.org/r...
46,114
08.11.2017 11:50:09
28,800
bdfee0cbc174c0960c87f05e3572f1b78d66fe9c
Windows: Enabled `Flags::runtime_directory` for checkpointing. This had previously been compiled out on Windows, but we bring it back in order to support checkpointing. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/launch.cpp", "new_path": "src/slave/containerizer/mesos/launch.cpp", "diff": "#include <stout/path.hpp>\n#include <stout/unreachable.hpp>\n+#include <stout/os/int_fd.hpp>\n+#include <stout/os/open.hpp>\n#include <stout/os/realpath...
C++
Apache License 2.0
apache/mesos
Windows: Enabled `Flags::runtime_directory` for checkpointing. This had previously been compiled out on Windows, but we bring it back in order to support checkpointing. Review: https://reviews.apache.org/r/65401
46,114
29.01.2018 11:10:00
28,800
b7cfcd7a71652858ba005171e242b679b26dc4ee
Added `TYPED_TEST_TEMP_DISABLED_ON_WINDOWS` macro. This lets us temporarily disable `TYPED_TEST` unit tests on Windows. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/gtest.hpp", "new_path": "3rdparty/stout/include/stout/gtest.hpp", "diff": "@@ -217,6 +217,18 @@ template <typename T1, typename T2>\n#endif // __WINDOWS__\n+// Creates a gtest `TYPED_TEST` that is disabled on Windows.\n+// TODO(and...
C++
Apache License 2.0
apache/mesos
Added `TYPED_TEST_TEMP_DISABLED_ON_WINDOWS` macro. This lets us temporarily disable `TYPED_TEST` unit tests on Windows. Review: https://reviews.apache.org/r/65406
46,114
10.01.2018 15:10:53
28,800
5c8b1e7db88a098a9d3133012af461e5baba9b6b
Windows: Enabled tests that were blocked by This commit enables tests that were previously disabled on Windows due to Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/api_tests.cpp", "new_path": "src/tests/api_tests.cpp", "diff": "@@ -3777,9 +3777,7 @@ TEST_P(MasterAPITest, Teardown)\n// This test verifies that a registered agent can be marked as gone and\n// shutdown by the master subsequently. Upon restarting th...
C++
Apache License 2.0
apache/mesos
Windows: Enabled tests that were blocked by MESOS-7604. This commit enables tests that were previously disabled on Windows due to MESOS-7604. Review: https://reviews.apache.org/r/65407
46,114
29.01.2018 11:32:27
28,800
e4b3199110655c4a35755df047c3098cfaf35388
Windows: Ported `slave_recovery_tests.cpp`. This commit enables the unit tests found in `slave_recovery_tests.cpp` to test agent recovery on Windows. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/CMakeLists.txt", "new_path": "src/tests/CMakeLists.txt", "diff": "@@ -119,6 +119,7 @@ set(MESOS_TESTS_SRC\nslave_authorization_tests.cpp\nslave_compatibility_tests.cpp\nslave_tests.cpp\n+ slave_recovery_tests.cpp\nslave_validation_tests.cpp\nsorter_t...
C++
Apache License 2.0
apache/mesos
Windows: Ported `slave_recovery_tests.cpp`. This commit enables the unit tests found in `slave_recovery_tests.cpp` to test agent recovery on Windows. Review: https://reviews.apache.org/r/65408
46,188
05.10.2017 20:49:20
25,200
2ece53c39a3e791f6892c4a734b6d3187f184190
Added named cgroup hierarchy support. This patch add a helper to get the cgroup associated with the given pid for a named cgroup hierarchy. Review:
[ { "change_type": "MODIFY", "old_path": "src/linux/cgroups.cpp", "new_path": "src/linux/cgroups.cpp", "diff": "@@ -3131,4 +3131,14 @@ Try<Nothing> classid(\n} // namespace net_cls {\n+\n+namespace named {\n+\n+Result<string> cgroup(const string& hierarchyName, pid_t pid)\n+{\n+ return internal::cgrou...
C++
Apache License 2.0
apache/mesos
Added named cgroup hierarchy support. This patch add a helper to get the cgroup associated with the given pid for a named cgroup hierarchy. Review: https://reviews.apache.org/r/62798
46,188
05.10.2017 20:52:38
25,200
05a2909508df56253372b4fe36330339b5de00b1
Fixed an issue for the I/O switchboard process lifetime. We expect the I/O switchboard process to last across agent restarts (similar to log rotate process or executor processes). Therefore, we should put it into 'mesos_executor.slice' like others. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/io/switchboard.cpp", "new_path": "src/slave/containerizer/mesos/io/switchboard.cpp", "diff": "#include \"common/recordio.hpp\"\n#include \"common/status_utils.hpp\"\n+#ifdef __linux__\n+#include \"linux/systemd.hpp\"\n+#endif // _...
C++
Apache License 2.0
apache/mesos
Fixed an issue for the I/O switchboard process lifetime. We expect the I/O switchboard process to last across agent restarts (similar to log rotate process or executor processes). Therefore, we should put it into 'mesos_executor.slice' like others. Review: https://reviews.apache.org/r/62799
46,188
09.02.2018 17:03:17
28,800
420107161c6277830a0adbe34b93da2c277e2820
Updated the docker build script for building distro in Docker.
[ { "change_type": "MODIFY", "old_path": "support/packaging/centos/build-docker-image.sh", "new_path": "support/packaging/centos/build-docker-image.sh", "diff": "#!/usr/bin/env bash\n+set -o errexit -o nounset -o pipefail -o verbose\n+\n# This script builds a CentOS based docker image with Mesos insta...
C++
Apache License 2.0
apache/mesos
Updated the docker build script for building distro in Docker.
46,188
10.02.2018 10:47:58
28,800
d4b000ff8dfdf17b5681d9662d22e6d3993b1cc4
Added scripts to build Mesos mini Docker container.
[ { "change_type": "ADD", "old_path": null, "new_path": "support/jenkins/mini.sh", "diff": "+#!/usr/bin/env bash\n+\n+set -o errexit -o nounset -o pipefail -o verbose\n+\n+CURRENT_DIR=\"$(cd \"$(dirname \"$0\")\"; pwd -P)\"\n+SUPPORT_DIR=\"${CURRENT_DIR}/..\"\n+\n+: ${USERNAME:?\"Environment variable ...
C++
Apache License 2.0
apache/mesos
Added scripts to build Mesos mini Docker container.
46,188
11.02.2018 19:05:17
28,800
51c03b50adbf32a79132384cc3dfe412667f2870
Updated the Mesos-Mini Jenkins script to update latest tag.
[ { "change_type": "MODIFY", "old_path": "support/jenkins/mini.sh", "new_path": "support/jenkins/mini.sh", "diff": "@@ -27,5 +27,7 @@ DOCKER_IMAGE_DISTRO=${DOCKER_IMAGE_DISTRO} \\\nDOCKER_IMAGE_TAG=${DOCKER_IMAGE_TAG} \\\n\"${SUPPORT_DIR}/mesos-mini/build.sh\"\n+docker tag ${DOCKER_IMAGE_MINI}:${DOCKE...
C++
Apache License 2.0
apache/mesos
Updated the Mesos-Mini Jenkins script to update latest tag.
46,056
12.02.2018 11:06:24
-3,600
0a40243c6a35dc9dc41774d43ee3c19cdf9e54be
Temporarily disabled UriDiskProfileTest.FetchFromHTTP test.
[ { "change_type": "MODIFY", "old_path": "src/tests/disk_profile_tests.cpp", "new_path": "src/tests/disk_profile_tests.cpp", "diff": "@@ -411,7 +411,9 @@ TEST_F(UriDiskProfileTest, ParseInvalids)\n// This creates a UriDiskProfile module configured to read from a file\n// and tests the basic `watch` ->...
C++
Apache License 2.0
apache/mesos
Temporarily disabled UriDiskProfileTest.FetchFromHTTP test.
46,066
12.02.2018 14:01:04
-3,600
8ef59ed50a8ce19383c7b52ad1dd6c1d93218021
Fixed flakyness of MasterTest.UpdateSlaveMessageWithPendingOffers. Under rare circumstances, the clock would have to be advanced to trigger a new allocation cycle after 'UPDATE_SLAVE' has been handled in the master. We also wait for old offers to be rescinded before waiting for updated offers as sometimes the old offer...
[ { "change_type": "MODIFY", "old_path": "src/tests/master_tests.cpp", "new_path": "src/tests/master_tests.cpp", "diff": "@@ -8612,9 +8612,7 @@ TEST_F(MasterTest, RegistryGcByCount)\n// that isn't motivated by (re-)registration (e.g. when adding\n// resources) is correctly handled by agent and master:...
C++
Apache License 2.0
apache/mesos
Fixed flakyness of MasterTest.UpdateSlaveMessageWithPendingOffers. Under rare circumstances, the clock would have to be advanced to trigger a new allocation cycle after 'UPDATE_SLAVE' has been handled in the master. We also wait for old offers to be rescinded before waiting for updated offers as sometimes the old offe...
46,165
12.02.2018 15:27:35
28,800
9ec1823298ab4357e8a7f9a4c9d2f26705bff1dc
Updated the description of in the CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -7,7 +7,7 @@ Release Notes - Mesos - Version 1.5.1 (WIP)\n* [MESOS-8125] - Agent should properly handle recovering an executor when its pid is reused.\n* [MESOS-8411] - Killing a queued task can lead to the comm...
C++
Apache License 2.0
apache/mesos
Updated the description of MESOS-8552 in the CHANGELOG.
46,148
12.02.2018 22:07:27
28,800
9f2dc56f028a1835a05e40bdea4058ca7259c915
Fixed a bug where MockSlave `id` is not properly initialized. The `MockSlave` did not initialize the id field using the input argument. Also it is necessary to call its virtual base class `ProcessBase` constructor explicitly to avoid argument `id` being lost. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/mock_slave.cpp", "new_path": "src/tests/mock_slave.cpp", "diff": "@@ -104,8 +104,14 @@ MockSlave::MockSlave(\nQoSController* qosController,\nSecretGenerator* secretGenerator,\nconst Option<Authorizer*>& authorizer)\n- : slave::Slave(\n- process::ID::...
C++
Apache License 2.0
apache/mesos
Fixed a bug where MockSlave `id` is not properly initialized. The `MockSlave` did not initialize the id field using the input argument. Also it is necessary to call its virtual base class `ProcessBase` constructor explicitly to avoid argument `id` being lost. Review: https://reviews.apache.org/r/65613/
46,148
12.02.2018 22:29:53
28,800
bc6b61bca37752689cffa40a14c53ad89f24e8fc
Added test to verify task-less executor is shutdown when re-subscribing. This test verifies that the v1 executor is shutdown if all of its initial tasks could not be delivered when re-subscribing with a recovered agent. See Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/mesos.cpp", "new_path": "src/tests/mesos.cpp", "diff": "@@ -381,14 +381,23 @@ Try<Owned<cluster::Slave>> MesosTest::StartSlave(\nTry<Owned<cluster::Slave>> MesosTest::StartSlave(\nMasterDetector* detector,\nconst string& id,\n- const Option<slave::Fl...
C++
Apache License 2.0
apache/mesos
Added test to verify task-less executor is shutdown when re-subscribing. This test verifies that the v1 executor is shutdown if all of its initial tasks could not be delivered when re-subscribing with a recovered agent. See MESOS-8411. Review: https://reviews.apache.org/r/65497/
46,062
13.02.2018 18:13:31
28,800
709d7a138e1c64b2c30a9168f7c783efdd661e96
Added the version entry for Mesos 1.3.2 release.
[ { "change_type": "MODIFY", "old_path": "site/data/releases.yml", "new_path": "site/data/releases.yml", "diff": "@@ -160,6 +160,8 @@ versions:\n## At here, 12335359 is the jira_version of 0.28.1.\n- version: 1.5.0\njira_version: 12341286\n+ - version: 1.3.2\n+ jira_version: 12341260\n- version: 1.2.3...
C++
Apache License 2.0
apache/mesos
Added the version entry for Mesos 1.3.2 release.
46,055
14.02.2018 00:17:37
28,800
9d4c6d9576741cc480c75f8e59cc8d1adc9849fc
Attached/detached volume directory for task which has volume specified. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -1031,6 +1031,7 @@ void Slave::attachTaskVolumeDirectory(\nCHECK_EQ(task.executor_id(), executorInfo.executor_id());\n+ // This is the case that the task has disk resources specified.\nforeac...
C++
Apache License 2.0
apache/mesos
Attached/detached volume directory for task which has volume specified. Review: https://reviews.apache.org/r/65570/
46,148
13.02.2018 22:45:03
28,800
0321b85ce66f21e9cb6990a3032cb7f8f709c6e6
Added helper function for the agent to send `ExitedExecutorMessage`. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -6071,13 +6071,7 @@ void Slave::executorTerminated(\n// are generated by the slave.\n// TODO(vinod): Reliably forward this message to the master.\nif (!executor->isGeneratedForCommandTask()) ...
C++
Apache License 2.0
apache/mesos
Added helper function for the agent to send `ExitedExecutorMessage`. Review: https://reviews.apache.org/r/65446/
46,148
13.02.2018 22:45:16
28,800
a6c065060d94dc04dcdc81021035d846ad7040a0
Added a test to ensure master removes executors that never launched. This test ensures that the agent sends `ExitedExecutorMessage` when the executor is never launched so that the master's executor bookkeeping entry is removed. See Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_tests.cpp", "new_path": "src/tests/slave_tests.cpp", "diff": "@@ -4571,6 +4571,162 @@ TEST_F(SlaveTest, KillTaskUnregisteredHTTPExecutor)\n}\n+// This test ensures that the agent sends an `ExitedExecutorMessage` when the\n+// executor is never ...
C++
Apache License 2.0
apache/mesos
Added a test to ensure master removes executors that never launched. This test ensures that the agent sends `ExitedExecutorMessage` when the executor is never launched so that the master's executor bookkeeping entry is removed. See MESOS-1720. Review: https://reviews.apache.org/r/65448/
46,148
13.02.2018 22:45:21
28,800
a8e723b6ca5a268cc97e39919f7a6b4aedfc3222
Added a mock method for `__run()` to the mock slave. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.hpp", "new_path": "src/slave/slave.hpp", "diff": "@@ -179,6 +179,16 @@ public:\nconst std::vector<ResourceVersionUUID>& resourceVersionUuids,\nconst Option<bool>& launchExecutor);\n+ // Made 'virtual' for Slave mocking.\n+ virtual void __run(\n...
C++
Apache License 2.0
apache/mesos
Added a mock method for `__run()` to the mock slave. Review: https://reviews.apache.org/r/65626/
46,148
13.02.2018 22:45:23
28,800
3e3c582f10e8154e4a76c2b481cc33c8d4d0310c
Added tests to check that executors which fail to launch are removed. Theses tests ensure that the agent sends `ExitedExecutorMessage` when a task group fails to launch due to unschedule GC failure, or when a task fails to launch due to task authorization failure. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_tests.cpp", "new_path": "src/tests/slave_tests.cpp", "diff": "@@ -4727,6 +4727,311 @@ TEST_F(SlaveTest, RemoveExecutorUponFailedLaunch)\n}\n+// This test ensures that agent sends ExitedExecutorMessage when the task group\n+// fails to launch du...
C++
Apache License 2.0
apache/mesos
Added tests to check that executors which fail to launch are removed. Theses tests ensure that the agent sends `ExitedExecutorMessage` when a task group fails to launch due to unschedule GC failure, or when a task fails to launch due to task authorization failure. Review: https://reviews.apache.org/r/65593/
46,139
14.02.2018 14:34:50
-28,800
29d1e4e1a1b894da78c2033f1932b282ee794f4b
Added `Event::Update` and `v1::scheduler::TaskStatus` ostream operators. This operators make gtest print a human-readable representation of the protos on test failures. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/v1/mesos.hpp", "new_path": "include/mesos/v1/mesos.hpp", "diff": "@@ -395,6 +395,9 @@ std::ostream& operator<<(\nconst ResourceProviderInfo& resourceProviderInfo);\n+std::ostream& operator<<(std::ostream& stream, const TaskStatus& status);\n+\n+\...
C++
Apache License 2.0
apache/mesos
Added `Event::Update` and `v1::scheduler::TaskStatus` ostream operators. This operators make gtest print a human-readable representation of the protos on test failures. Review: https://reviews.apache.org/r/65548/
46,139
14.02.2018 14:34:56
-28,800
2e570b709dc7d15c73c8d728ef0b32e2416b0a08
Improved some default executor log messages. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/default_executor.cpp", "new_path": "src/launcher/default_executor.cpp", "diff": "@@ -357,7 +357,7 @@ protected:\nconst Future<Connection>& connection)\n{\nif (shuttingDown) {\n- LOG(WARNING) << \"Ignoring the launch operation as the \"\n+ LOG(WARN...
C++
Apache License 2.0
apache/mesos
Improved some default executor log messages. Review: https://reviews.apache.org/r/65549/
46,139
14.02.2018 14:35:01
-28,800
5c8852b244b09b4ae57e00abcd940482927d57e6
Made default executor not shutdown if unsubscribed during task launch. The default executor would unnecessarily shutdown if, while launching a task group, it gets unsubscribed after having successfully launched the task group's containers. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/default_executor.cpp", "new_path": "src/launcher/default_executor.cpp", "diff": "@@ -534,16 +534,6 @@ protected:\n}\n}\n- // This could happen if the agent process failed after the child\n- // containers were launched. Shutdown the executor if thi...
C++
Apache License 2.0
apache/mesos
Made default executor not shutdown if unsubscribed during task launch. The default executor would unnecessarily shutdown if, while launching a task group, it gets unsubscribed after having successfully launched the task group's containers. Review: https://reviews.apache.org/r/65550/
46,139
14.02.2018 14:35:11
-28,800
c3f3542e7ecce82cad8b75fdc2db14fe8c43a5da
Stopped shutting down the whole default executor on task launch failure. The default executor would be completely shutdown on a `LAUNCH_NESTED_CONTAINER` failure. This patch makes it kill the affected task group instead of shutting down and killing all task groups. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/default_executor.cpp", "new_path": "src/launcher/default_executor.cpp", "diff": "@@ -108,6 +108,9 @@ private:\n// `WAIT_NESTED_CONTAINER` call has not been established yet.\nOption<Connection> waiting;\n+ // Error returned by the agent while tryin...
C++
Apache License 2.0
apache/mesos
Stopped shutting down the whole default executor on task launch failure. The default executor would be completely shutdown on a `LAUNCH_NESTED_CONTAINER` failure. This patch makes it kill the affected task group instead of shutting down and killing all task groups. Review: https://reviews.apache.org/r/65551/
46,139
14.02.2018 14:35:17
-28,800
656196eeca4ab6449c4b9f329b5b9cac2f69a885
Added a regression test for Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/default_executor_tests.cpp", "new_path": "src/tests/default_executor_tests.cpp", "diff": "@@ -3209,6 +3209,258 @@ TEST_P_TEMP_DISABLED_ON_WINDOWS(\nEXPECT_SOME_EQ(\"abc\\n\", os::read(filePath));\n}\n+\n+// This is a regression test for MESOS-8468. I...
C++
Apache License 2.0
apache/mesos
Added a regression test for MESOS-8468. Review: https://reviews.apache.org/r/65552/
46,139
14.02.2018 14:35:22
-28,800
54b6c5b9c7cb059ebd87ee0f9927cfa6ff73129d
Made the default executor treat agent disconnections more gracefully. This patch makes the default executor not shutdown if there are active child containers, and it fails to connect or is not subscribed to the agent when starting to launch a task group. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/default_executor.cpp", "new_path": "src/launcher/default_executor.cpp", "diff": "@@ -366,19 +366,33 @@ protected:\n}\nif (!connection.isReady()) {\n- LOG(ERROR)\n- << \"Unable to establish connection with the agent: \"\n- << (connection.isFailed()...
C++
Apache License 2.0
apache/mesos
Made the default executor treat agent disconnections more gracefully. This patch makes the default executor not shutdown if there are active child containers, and it fails to connect or is not subscribed to the agent when starting to launch a task group. Review: https://reviews.apache.org/r/65556/
46,139
14.02.2018 14:35:34
-28,800
632ff7f7f8e32d3f9507e9199c8a253ff755224e
Removed outdated executor-wide launched flag from the default executor. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/default_executor.cpp", "new_path": "src/launcher/default_executor.cpp", "diff": "@@ -114,7 +114,7 @@ private:\n// TODO(bennoe): Create a real state machine instead of adding\n// more and more ad-hoc boolean values.\n- // Indicates whether a contai...
C++
Apache License 2.0
apache/mesos
Removed outdated executor-wide launched flag from the default executor. Review: https://reviews.apache.org/r/65616/
46,083
14.02.2018 12:33:20
28,800
1e71208338fc525d42cd8dd0ffad5a0841e40a92
Windows: Enabled `CurlFetcherPlugin` and `HadoopFetcherPlugin`. Replaced checking for `/` with `path::absolute`, and fixed `argv[0]` assumption when invoking `hadoop`. Ported the HDFS mock script from Shell to Batch to emulate the `hadoop` command. Enabled the plugins and associated tests. Review: Review: Review: Revie...
[ { "change_type": "MODIFY", "old_path": "src/CMakeLists.txt", "new_path": "src/CMakeLists.txt", "diff": "@@ -373,12 +373,12 @@ set(URI_SRC\nuri/fetcher.cpp\nuri/utils.cpp\nuri/fetchers/copy.cpp\n- uri/fetchers/curl.cpp)\n+ uri/fetchers/curl.cpp\n+ uri/fetchers/hadoop.cpp)\nif (NOT WIN32)\nlist(APPEND...
C++
Apache License 2.0
apache/mesos
Windows: Enabled `CurlFetcherPlugin` and `HadoopFetcherPlugin`. Replaced checking for `/` with `path::absolute`, and fixed `argv[0]` assumption when invoking `hadoop`. Ported the HDFS mock script from Shell to Batch to emulate the `hadoop` command. Enabled the plugins and associated tests. Review: https://reviews.a...
46,139
15.02.2018 16:36:33
28,800
1c937b323c4299e5049a4238d679333834a4b881
Removed redundant comment from the command executor. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/executor.cpp", "new_path": "src/launcher/executor.cpp", "diff": "@@ -805,11 +805,6 @@ private:\n// the previous one and gives the task _more_ time to clean up. Other\n// systems, e.g., docker, do not allow this.\n//\n- // The escalation grace peri...
C++
Apache License 2.0
apache/mesos
Removed redundant comment from the command executor. Review: https://reviews.apache.org/r/65575/
46,128
15.02.2018 17:48:52
28,800
9a42cf84f86181712958e35079168b0cf75eb96a
Removed a redundant authorization helper class from the tests. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/mesos.cpp", "new_path": "src/tests/mesos.cpp", "diff": "#include <stout/stringify.hpp>\n#include <stout/uuid.hpp>\n+#include \"common/http.hpp\"\n+\n#ifdef __linux__\n#include \"linux/cgroups.hpp\"\n#endif\n@@ -663,17 +665,6 @@ MockExecutor::~MockExe...
C++
Apache License 2.0
apache/mesos
Removed a redundant authorization helper class from the tests. Review: https://reviews.apache.org/r/65315/
46,172
16.02.2018 15:45:58
-3,600
550d3723210490a47c15b2cd7ba7a2a0322bffcf
Updated Mesos CLI test base to use shell to start masters and agents. We use the shell scripts in `build/src` to start masters and agents for the CLI tests. Instead of running them as executables, we now use the shell launch them using the new Executable attribute 'shell'. 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": "@@ -87,6 +87,7 @@ class Executable(object):\ndef __init__(self):\nself.name = \"\"\nself.executable = \"\"\n+ self.shell = False\nself.flags = {}\nself....
C++
Apache License 2.0
apache/mesos
Updated Mesos CLI test base to use shell to start masters and agents. We use the shell scripts in `build/src` to start masters and agents for the CLI tests. Instead of running them as executables, we now use the shell launch them using the new Executable attribute 'shell'. Review: https://reviews.apache.org/r/65655/
46,066
19.02.2018 15:15:40
-3,600
2aed1d6ca2c31546d700dd79484c193625fc8cc9
Added comparison operators for 'v1::UUID'. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/v1/mesos.hpp", "new_path": "include/mesos/v1/mesos.hpp", "diff": "@@ -124,6 +124,12 @@ inline bool operator==(\n}\n+inline bool operator==(const UUID& left, const UUID& right)\n+{\n+ return left.value() == right.value();\n+}\n+\n+\ninline bool op...
C++
Apache License 2.0
apache/mesos
Added comparison operators for 'v1::UUID'. Review: https://reviews.apache.org/r/65672/
46,066
19.02.2018 15:15:45
-3,600
c6de89e148bec735bb6fb975a1d6b17e3f6192c9
Added the v1 API 'GET_OPERATIONS' call for master and agent. The 'GET_OPERATIONS' call lists all operations known to master or agent. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/agent/agent.proto", "new_path": "include/mesos/agent/agent.proto", "diff": "@@ -60,6 +60,9 @@ message Call {\n// Retrieves the information about known executors.\nGET_EXECUTORS = 12;\n+ // Retrieves the information about known operations.\n+ GET_...
C++
Apache License 2.0
apache/mesos
Added the v1 API 'GET_OPERATIONS' call for master and agent. The 'GET_OPERATIONS' call lists all operations known to master or agent. Review: https://reviews.apache.org/r/65044/
46,066
19.02.2018 15:15:55
-3,600
8c9184a03fa6b6fe842eb3554220d3ed2c327cdc
Tested correct operation handling during master failover. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_tests.cpp", "new_path": "src/tests/master_tests.cpp", "diff": "@@ -8743,6 +8743,218 @@ TEST_F(MasterTest, UpdateSlaveMessageWithPendingOffers)\n}\n+// Tests that the master correctly handles resource provider operations\n+// that finished duri...
C++
Apache License 2.0
apache/mesos
Tested correct operation handling during master failover. Review: https://reviews.apache.org/r/65045/
46,103
19.02.2018 13:45:15
28,800
1d0e7e7a49a4bafede1e29a27fb9f76179dc48f8
Fixed build with CSI enabled. This patch adds two required includes to CSI-related tests compiled only when GRPC is enabled in an autotools build. The compilation of these files was broken when we cleaned up `src/tests/flags.hpp` in `f6eb3933798` since their includes were not exhaustive. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/agent_resource_provider_config_api_tests.cpp", "new_path": "src/tests/agent_resource_provider_config_api_tests.cpp", "diff": "#include <stout/protobuf.hpp>\n#include <stout/stringify.hpp>\n+#include <stout/os/realpath.hpp>\n+\n#include \"common/http....
C++
Apache License 2.0
apache/mesos
Fixed build with CSI enabled. This patch adds two required includes to CSI-related tests compiled only when GRPC is enabled in an autotools build. The compilation of these files was broken when we cleaned up `src/tests/flags.hpp` in `f6eb3933798` since their includes were not exhaustive. Review: https://reviews.apach...
46,210
20.02.2018 21:45:22
-3,600
143484edd0bc0ba890498c6a8dc7b0bdcccf0a1a
Updated Cluster::Slave::shutdown to support a paused clock. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/cluster.cpp", "new_path": "src/tests/cluster.cpp", "diff": "@@ -692,8 +692,18 @@ void Slave::shutdown()\n{\ncleanUpContainersInDestructor = false;\n+ bool paused = process::Clock::paused();\n+\n+ if (paused) {\n+ process::Clock::resume();\n+ }\n+\npr...
C++
Apache License 2.0
apache/mesos
Updated Cluster::Slave::shutdown to support a paused clock. Review: https://reviews.apache.org/r/65717/
46,178
16.02.2018 19:25:18
18,000
661ac5bebbdb6623e6e00f65a3d7e16492f6d9ae
Allowed base64-decoding with whitespaces. Most base64 decoders do not fail on encountering whitespace characters as several encoders embed newlines to enforce line-width in encoded data. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/base64.hpp", "new_path": "3rdparty/stout/include/stout/base64.hpp", "diff": "@@ -107,6 +107,17 @@ inline Try<std::string> decode(const std::string& s, const std::string& chars)\nbreak; // Reached the padding.\n}\n+ // The base RFC ...
C++
Apache License 2.0
apache/mesos
Allowed base64-decoding with whitespaces. Most base64 decoders do not fail on encountering whitespace characters as several encoders embed newlines to enforce line-width in encoded data. Review: https://reviews.apache.org/r/65696
46,090
01.02.2018 14:34:05
28,800
c422c97fb6af049bdaa4214c46aac5b4f37bbcac
Windows: Added `internal::windows::set_inherit(WindowsFD, bool)`. This function is used on Windows to explicitly enable or disable inheritance on a handle. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "3rdparty/stout/include/stout/internal/windows/inherit.hpp", "diff": "+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain a copy of the Li...
C++
Apache License 2.0
apache/mesos
Windows: Added `internal::windows::set_inherit(WindowsFD, bool)`. This function is used on Windows to explicitly enable or disable inheritance on a handle. Review: https://reviews.apache.org/r/65467
46,165
05.02.2018 13:32:37
28,800
05cf02c7472184f7e102b704c0609f0047685bd8
Introduced a CHECK_NOTERROR macro. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/check.hpp", "new_path": "3rdparty/stout/include/stout/check.hpp", "diff": "#include <stout/error.hpp>\n#include <stout/none.hpp>\n#include <stout/option.hpp>\n-#include <stout/result.hpp>\n#include <stout/some.hpp>\n-#include <stou...
C++
Apache License 2.0
apache/mesos
Introduced a CHECK_NOTERROR macro. Review: https://reviews.apache.org/r/65514
46,165
05.02.2018 13:35:51
28,800
538abbc21c9dcb675930aaaf61eb5df10ed62205
Added rvalue reference Try::get overloads. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/try.hpp", "new_path": "3rdparty/stout/include/stout/try.hpp", "diff": "@@ -70,19 +70,10 @@ public:\nbool isSome() const { return data.isSome(); }\nbool isError() const { return data.isNone(); }\n- const T& get() const\n- {\n- if (!...
C++
Apache License 2.0
apache/mesos
Added rvalue reference Try::get overloads. Review: https://reviews.apache.org/r/65515
46,128
23.02.2018 16:41:44
28,800
9a414ab2f9dcaa599afa2ef3d5dd38e66e0258c7
Prevented Docker library from terminating incorrect processes. Previously, the Docker library might call `os::killtree()` on a PID after the associated subprocess had already terminated, which could lead to an unknown process being incorrectly killed. Review:
[ { "change_type": "MODIFY", "old_path": "src/docker/docker.cpp", "new_path": "src/docker/docker.cpp", "diff": "@@ -148,9 +148,11 @@ Try<Owned<Docker>> Docker::create(\nvoid commandDiscarded(const Subprocess& s, const string& cmd)\n{\n+ if (s.status().isPending()) {\nVLOG(1) << \"'\" << cmd << \"' is ...
C++
Apache License 2.0
apache/mesos
Prevented Docker library from terminating incorrect processes. Previously, the Docker library might call `os::killtree()` on a PID after the associated subprocess had already terminated, which could lead to an unknown process being incorrectly killed. Review: https://reviews.apache.org/r/65786/
46,128
23.02.2018 16:41:46
28,800
a20a317765d4c577e3d7140e4d7a9b7c5bc85a56
Updated discard handling for Docker 'stop' and 'pull' commands. Review:
[ { "change_type": "MODIFY", "old_path": "src/docker/docker.cpp", "new_path": "src/docker/docker.cpp", "diff": "@@ -1194,7 +1194,8 @@ Future<Nothing> Docker::stop(\ncontainerName,\ncmd,\ns.get(),\n- remove));\n+ remove))\n+ .onDiscard(lambda::bind(&commandDiscarded, s.get(), cmd));\n}\n@@ -1612,7 +161...
C++
Apache License 2.0
apache/mesos
Updated discard handling for Docker 'stop' and 'pull' commands. Review: https://reviews.apache.org/r/65787/
46,128
23.02.2018 16:41:48
28,800
8c793a75bb59e59d4a2b8a63afea38b64b100a97
Added test fixture for a hung Docker daemon. The new 'HungDockerTest' class allows test authors to force certain Docker daemon calls to be delayed for a specified duration. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/docker_containerizer_tests.cpp", "new_path": "src/tests/containerizer/docker_containerizer_tests.cpp", "diff": "@@ -5116,6 +5116,83 @@ TEST_F(\nASSERT_FALSE(\nexists(docker, containerId.get(), ContainerState::RUNNING));\n}\n+\n+\n+class...
C++
Apache License 2.0
apache/mesos
Added test fixture for a hung Docker daemon. The new 'HungDockerTest' class allows test authors to force certain Docker daemon calls to be delayed for a specified duration. Review: https://reviews.apache.org/r/65751/
46,128
23.02.2018 16:41:51
28,800
28ab19b11ca369751f21e921cc4594e00ca667cb
Added test for hung 'docker inspect' call during container pull. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/docker_containerizer_tests.cpp", "new_path": "src/tests/containerizer/docker_containerizer_tests.cpp", "diff": "@@ -5193,6 +5193,107 @@ public:\n}\n};\n+\n+TEST_F_TEMP_DISABLED_ON_WINDOWS(\n+ HungDockerTest, ROOT_DOCKER_InspectHungDurin...
C++
Apache License 2.0
apache/mesos
Added test for hung 'docker inspect' call during container pull. Review: https://reviews.apache.org/r/65750/
46,114
21.02.2018 22:04:42
28,800
3f01bd85c7a3220ade13914f83f500c40a0e124b
Windows: Fixed `stout/os/windows/ls.hpp` header guard. There was a typo in the `#define`, the `L` was misplaced. Surprised this hasn't broken anything yet.
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/os/windows/ls.hpp", "new_path": "3rdparty/stout/include/stout/os/windows/ls.hpp", "diff": "// limitations under the License.\n#ifndef __STOUT_OS_WINDOWS_LS_HPP__\n-#define __STOUT_OS_LWINDOWS_S_HPP__\n+#define __STOUT_OS_WINDOWS_LS...
C++
Apache License 2.0
apache/mesos
Windows: Fixed `stout/os/windows/ls.hpp` header guard. There was a typo in the `#define`, the `L` was misplaced. Surprised this hasn't broken anything yet.
46,188
18.02.2018 22:29:07
28,800
931a702cbcbd8f90e22fe553cf5a28d57528e857
Added Docker daemon to the Mesos mini container. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-mini/Dockerfile", "new_path": "support/mesos-mini/Dockerfile", "diff": "FROM mesos/mesos-centos\n-RUN yum install -y java-1.8.0-openjdk\n+RUN yum install -y java-1.8.0-openjdk iptables\n# Prepare systemd environment.\nENV container docker\n@@ -31...
C++
Apache License 2.0
apache/mesos
Added Docker daemon to the Mesos mini container. Review: https://reviews.apache.org/r/65706
46,188
25.02.2018 19:35:23
28,800
88379b8eac349793e422f30816d8c81bc0de0497
Fixed some small issue in the Mesos mini script.
[ { "change_type": "MODIFY", "old_path": "support/mesos-mini/Dockerfile", "new_path": "support/mesos-mini/Dockerfile", "diff": "-#FROM mesos/mesos-centos\n-FROM jieyu/mesos\n+FROM mesos/mesos-centos\nRUN yum install -y java-1.8.0-openjdk iptables\n" }, { "change_type": "MODIFY", "old_path"...
C++
Apache License 2.0
apache/mesos
Fixed some small issue in the Mesos mini script.
46,188
25.02.2018 20:40:53
28,800
6781bce36ad99683d7ae342af35b7525f1932ad4
Used production settings for the agent in Mesos mini container.
[ { "change_type": "MODIFY", "old_path": "support/mesos-mini/mesos_agent_environment", "new_path": "support/mesos-mini/mesos_agent_environment", "diff": "@@ -3,6 +3,9 @@ MESOS_HOSTNAME_LOOKUP=false\nMESOS_WORK_DIR=/var/lib/mesos/agent\nMESOS_MASTER=127.0.0.1:5050\nMESOS_CONTAINERIZERS=mesos,docker\n-M...
C++
Apache License 2.0
apache/mesos
Used production settings for the agent in Mesos mini container.
46,090
24.02.2018 12:06:31
28,800
ee26313494279b9b9defc4618314f3fe151d41c3
Fixed Docker command health check to use the given socket. The original command health check was calling `docker exec` instead of `docker -H <docker_socket> exec`, so it was ignoring the socket value passed to the docker executor. Review:
[ { "change_type": "MODIFY", "old_path": "src/docker/docker.hpp", "new_path": "src/docker/docker.hpp", "diff": "@@ -313,6 +313,11 @@ public:\nreturn path;\n}\n+ virtual std::string getSocket()\n+ {\n+ return socket;\n+ }\n+\nprotected:\n// Uses the specified path to the Docker CLI tool.\nDocker(const ...
C++
Apache License 2.0
apache/mesos
Fixed Docker command health check to use the given socket. The original command health check was calling `docker exec` instead of `docker -H <docker_socket> exec`, so it was ignoring the socket value passed to the docker executor. Review: https://reviews.apache.org/r/65393/
46,090
24.02.2018 12:08:11
28,800
1731395d18978508511354df417497dbbf7c461a
Added separate structs for health check runtime and check types. This patch is in preparation of another patch that will refactor the health check code. Review:
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -1114,6 +1114,8 @@ libmesos_no_3rdparty_la_SOURCES += \\\nauthorizer/local/authorizer.hpp \\\nchecks/checker.hpp \\\nchecks/checker_process.hpp \\\n+ checks/checks_runtime.hpp \\\n+ checks/checks_typ...
C++
Apache License 2.0
apache/mesos
Added separate structs for health check runtime and check types. This patch is in preparation of another patch that will refactor the health check code. Review: https://reviews.apache.org/r/65394/
46,090
24.02.2018 12:10:00
28,800
ab73897161e809c5bdc165617cded853bc7e9d91
Moved Docker command check code inside health check library. Now with the health check library refactor, the wrapping of `docker exec` for the Docker command health checks can be easily moved inside the library. Review:
[ { "change_type": "MODIFY", "old_path": "src/checks/checker_process.cpp", "new_path": "src/checks/checker_process.cpp", "diff": "@@ -550,9 +550,38 @@ Future<int> CheckerProcess::dockerCommandCheck(\nconst check::Command& cmd,\nconst runtime::Docker& docker)\n{\n- // TODO(akagup): Stub this method for...
C++
Apache License 2.0
apache/mesos
Moved Docker command check code inside health check library. Now with the health check library refactor, the wrapping of `docker exec` for the Docker command health checks can be easily moved inside the library. Review: https://reviews.apache.org/r/65396/
46,090
24.02.2018 12:10:11
28,800
3b6d58cfb6e61766a4d1a55b2a6b2c475f5d1c57
Fixed quoting bug in Docker executor command checks. The docker executor was wrapping the `docker exec` command with `sh -c ""`, which was causing problems due to quoting, especially on Windows. Now, the command health check simply runs `docker exec` without any wrapping. Review:
[ { "change_type": "MODIFY", "old_path": "src/checks/checker_process.cpp", "new_path": "src/checks/checker_process.cpp", "diff": "@@ -563,21 +563,33 @@ Future<int> CheckerProcess::dockerCommandCheck(\nif (command.shell()) {\ncommandArguments.push_back(\"sh\");\ncommandArguments.push_back(\"-c\");\n- c...
C++
Apache License 2.0
apache/mesos
Fixed quoting bug in Docker executor command checks. The docker executor was wrapping the `docker exec` command with `sh -c ""`, which was causing problems due to quoting, especially on Windows. Now, the command health check simply runs `docker exec` without any wrapping. Review: https://reviews.apache.org/r/65419/
46,090
25.02.2018 13:34:55
28,800
94d4dcce3711ac64ed050d1c1e67181939aaeb6e
Added Docker constants and common functions file. This patch is in preparation of porting Docker tests to Windows. There were a few hard-coded values that were used throughout the codebase, such as the `alpine` image, that are defined as a constant in a single file. Review:
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -1273,6 +1273,7 @@ libmesos_no_3rdparty_la_SOURCES += \\\ntests/zookeeper_test_server.hpp \\\ntests/containerizer/capabilities_test_helper.hpp \\\ntests/containerizer/docker_archive.hpp \\\n+ tests/c...
C++
Apache License 2.0
apache/mesos
Added Docker constants and common functions file. This patch is in preparation of porting Docker tests to Windows. There were a few hard-coded values that were used throughout the codebase, such as the `alpine` image, that are defined as a constant in a single file. Review: https://reviews.apache.org/r/65615/
46,090
25.02.2018 13:36:26
28,800
501d1761ef18651c209715c6150b8f898da075c4
Windows: Ported Docker health check tests. The `HealthCheckTest.ROOT_DOCKER_*` and `DockerContainerizerHealthCheckTest.*` tests now work on Windows. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/docker_common.hpp", "new_path": "src/tests/containerizer/docker_common.hpp", "diff": "@@ -54,9 +54,29 @@ static constexpr char DOCKER_TEST_IMAGE[] = \"akagup/pwsh-nano-admin\";\n// The powershell image uses Powershell Core, which calls ...
C++
Apache License 2.0
apache/mesos
Windows: Ported Docker health check tests. The `HealthCheckTest.ROOT_DOCKER_*` and `DockerContainerizerHealthCheckTest.*` tests now work on Windows. Review: https://reviews.apache.org/r/64387/
46,090
25.02.2018 13:38:29
28,800
794d6f88dac4a9951e0d2b783d3059cdcbfcbcc1
Windows: Updated `heath-checks.md` documentation. Documented the details of the Windows health check implementations for the Mesos and Docker executors. Review:
[ { "change_type": "MODIFY", "old_path": "docs/health-checks.md", "new_path": "docs/health-checks.md", "diff": "@@ -381,9 +381,10 @@ task.mutable_health_check()->CopyFrom(healthCheck);\nHTTP(S) health checks are described by the `HealthCheck.HTTPCheckInfo` protobuf\nwith `scheme`, `port`, `path`, and ...
C++
Apache License 2.0
apache/mesos
Windows: Updated `heath-checks.md` documentation. Documented the details of the Windows health check implementations for the Mesos and Docker executors. Review: https://reviews.apache.org/r/64604/
46,090
25.02.2018 13:41:15
28,800
8098ac239563f5770b57d2db65514f4923738c76
Added test to check quotes in Docker executor health check. Added `ROOT_DOCKER_DockerHealthyTaskWithQuotedCommand` to make sure that the Docker executor properly deals with quotes in the command health check to ensure that is fixed. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/health_check_tests.cpp", "new_path": "src/tests/health_check_tests.cpp", "diff": "@@ -2651,6 +2651,138 @@ TEST_F(DockerContainerizerHealthCheckTest, ROOT_DOCKER_DockerHealthStatusChange)\n}\n}\n+\n+// This test verifies that tasks with quotes in the ...
C++
Apache License 2.0
apache/mesos
Added test to check quotes in Docker executor health check. Added `ROOT_DOCKER_DockerHealthyTaskWithQuotedCommand` to make sure that the Docker executor properly deals with quotes in the command health check to ensure that MESOS-4812 is fixed. Review: https://reviews.apache.org/r/65728/
46,056
26.02.2018 15:50:22
-3,600
4f5a2500a9e3e5e3ffb6e358e8a782d408cdb0bf
Disabled NsTest.SupportedNamespaces test.
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/ns_tests.cpp", "new_path": "src/tests/containerizer/ns_tests.cpp", "diff": "@@ -99,7 +99,9 @@ TEST(NsTest, ROOT_setns)\n// Test the ns::supported() API.\n-TEST(NsTest, SupportedNamespaces)\n+//\n+// TODO(alexr): Enable after MESOS-8610 ...
C++
Apache License 2.0
apache/mesos
Disabled NsTest.SupportedNamespaces test.
46,186
26.02.2018 18:59:28
28,800
c97ef907f90b77728579b5e59b756ad70a3c1a72
Updated copyright to 2018. This closes
[ { "change_type": "MODIFY", "old_path": "site/source/layouts/basic.erb", "new_path": "site/source/layouts/basic.erb", "diff": "</div>\n<div class=\"col-md-8 trademark\">\n- <p>&copy; 2012-2017 <a href=\"http://apache.org\">The Apache Software Foundation</a>.\n+ <p>&copy; 2012-2018 <a href=\"http://ap...
C++
Apache License 2.0
apache/mesos
Updated copyright to 2018. This closes #267
46,148
26.02.2018 19:42:45
28,800
a4df5d43e5e029dfe29072f6b59aed57a6176f10
Added an allocator test for quota with ancestor reservation. This test ensures that resources can be correctly allocated in the presence of quota when ancestor reservations are allocated to a descendent role. Specifically, it checks that ancestor reservations allocated to child are counted by the quota headroom calcula...
[ { "change_type": "MODIFY", "old_path": "src/tests/hierarchical_allocator_tests.cpp", "new_path": "src/tests/hierarchical_allocator_tests.cpp", "diff": "@@ -5515,6 +5515,107 @@ TEST_F(HierarchicalAllocatorTest, OfferAncestorReservationsToDescendantChild)\n}\n+// This test ensures that resources can b...
C++
Apache License 2.0
apache/mesos
Added an allocator test for quota with ancestor reservation. This test ensures that resources can be correctly allocated in the presence of quota when ancestor reservations are allocated to a descendent role. Specifically, it checks that ancestor reservations allocated to child are counted by the quota headroom calcul...
46,188
26.02.2018 20:55:34
28,800
7333865393896a74ea8fe1d2f720926c3a8c210e
Added Jenkins script for building Mesos distro Docker image. The script will be used to build and push Docker image that has Mesos distro installed (based on CentOS).
[ { "change_type": "ADD", "old_path": null, "new_path": "support/jenkins/docker-centos.sh", "diff": "+#!/usr/bin/env bash\n+\n+set -o errexit -o nounset -o pipefail -o verbose\n+\n+# This script build and push Docker image that has Mesos distro\n+# installed (based on CentOS).\n+\n+CURRENT_DIR=\"$(cd ...
C++
Apache License 2.0
apache/mesos
Added Jenkins script for building Mesos distro Docker image. The script will be used to build and push Docker image that has Mesos distro installed (based on CentOS).
46,188
26.02.2018 22:07:54
28,800
b7933c176d719766bdb6459048ede6e94f6a7763
Enabled CNI and Resource Providers in Mesos mini container.
[ { "change_type": "MODIFY", "old_path": "support/mesos-mini/Dockerfile", "new_path": "support/mesos-mini/Dockerfile", "diff": "@@ -45,10 +45,15 @@ COPY docker_daemon.json /etc/docker/daemon.json\n# Prepare Mesos environment.\nRUN chmod +x /usr/bin/mesos-init-wrapper && \\\nrm -f /etc/mesos-master/wor...
C++
Apache License 2.0
apache/mesos
Enabled CNI and Resource Providers in Mesos mini container.
46,165
27.02.2018 15:30:23
28,800
1a4d914cd66ded8c0126664fee3fd943cad718df
Avoid copies of task reconciliation status updates. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -8412,7 +8412,7 @@ void Master::_reconcileTasks(\n\" for framework \" << *framework;\nforeachvalue (const TaskInfo& task, framework->pendingTasks) {\n- const StatusUpdate& update = protob...
C++
Apache License 2.0
apache/mesos
Avoid copies of task reconciliation status updates. Review: https://reviews.apache.org/r/65823
46,057
28.02.2018 17:05:24
-3,600
a15eb712afd51048756148a5af9cd60e86c8e90b
Fixed flakyness in MasterTests.RegistryUpdateAfterReconfiguration. It could happen that an agent resends its `RegisterSlaveMessage` and with the correct timing, the master would assume that it comes from a new agent with the same pid and store its information in the registry. See Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_tests.cpp", "new_path": "src/tests/master_tests.cpp", "diff": "@@ -2657,10 +2657,10 @@ TEST_F(MasterTest, SlavesEndpointQuerySlave)\n// Tests that the master correctly updates the slave info on\n// slave re-registration.\n-//\n-// TODO(alexr):...
C++
Apache License 2.0
apache/mesos
Fixed flakyness in MasterTests.RegistryUpdateAfterReconfiguration. It could happen that an agent resends its `RegisterSlaveMessage` and with the correct timing, the master would assume that it comes from a new agent with the same pid and store its information in the registry. See MESOS-8336. Review: https://reviews.a...