You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by al...@apache.org on 2018/03/21 16:21:57 UTC
[1/2] mesos git commit: Added comments around disabled tests.
Repository: mesos
Updated Branches:
refs/heads/master 72f8f105b -> 5d8a9c1b7
Added comments around disabled tests.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/79baa091
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/79baa091
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/79baa091
Branch: refs/heads/master
Commit: 79baa0917d21f7c34b26ed1295b36903d409a26d
Parents: 72f8f10
Author: Alexander Rukletsov <al...@apache.org>
Authored: Wed Mar 21 17:20:54 2018 +0100
Committer: Alexander Rukletsov <al...@apache.org>
Committed: Wed Mar 21 17:20:54 2018 +0100
----------------------------------------------------------------------
src/tests/containerizer/capabilities_tests.cpp | 1 +
src/tests/containerizer/docker_containerizer_tests.cpp | 2 ++
src/tests/containerizer/fs_tests.cpp | 1 +
src/tests/containerizer/io_switchboard_tests.cpp | 2 ++
src/tests/default_executor_tests.cpp | 3 +--
src/tests/master_tests.cpp | 2 ++
src/tests/slave_recovery_tests.cpp | 10 ++++++++++
src/tests/slave_tests.cpp | 7 ++++++-
8 files changed, 25 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/79baa091/src/tests/containerizer/capabilities_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/containerizer/capabilities_tests.cpp b/src/tests/containerizer/capabilities_tests.cpp
index 244d4e9..734aa21 100644
--- a/src/tests/containerizer/capabilities_tests.cpp
+++ b/src/tests/containerizer/capabilities_tests.cpp
@@ -152,6 +152,7 @@ TEST_F(CapabilitiesTest, ROOT_PingWithJustNetRawSysAdminCap)
}
+// TODO(alexr): Enable after MESOS-8707 is resolved.
TEST(AmbientCapabilities, DISABLED_Supported)
{
Try<Capabilities> manager = Capabilities::create();
http://git-wip-us.apache.org/repos/asf/mesos/blob/79baa091/src/tests/containerizer/docker_containerizer_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/containerizer/docker_containerizer_tests.cpp b/src/tests/containerizer/docker_containerizer_tests.cpp
index e4f405f..c198ecb 100644
--- a/src/tests/containerizer/docker_containerizer_tests.cpp
+++ b/src/tests/containerizer/docker_containerizer_tests.cpp
@@ -2815,6 +2815,8 @@ TEST_F(DockerContainerizerTest, ROOT_DOCKER_SlaveRecoveryTaskContainer)
// parse and can even properly use for sending other messages, but the
// current implementation of 'UPID::operator bool()' fails if the IP
// component of a PID is '0'.
+//
+// TODO(alexr): Enable after MESOS-8708 is resolved.
TEST_F(DockerContainerizerTest,
DISABLED_ROOT_DOCKER_SlaveRecoveryExecutorContainer)
{
http://git-wip-us.apache.org/repos/asf/mesos/blob/79baa091/src/tests/containerizer/fs_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/containerizer/fs_tests.cpp b/src/tests/containerizer/fs_tests.cpp
index 5c0598d..23cad35 100644
--- a/src/tests/containerizer/fs_tests.cpp
+++ b/src/tests/containerizer/fs_tests.cpp
@@ -153,6 +153,7 @@ TEST_F(FsTest, MountInfoTableParse)
}
+// TODO(alexr): Enable after MESOS-8709 is resolved.
TEST_F(FsTest, DISABLED_MountInfoTableRead)
{
// Examine the calling process's mountinfo table.
http://git-wip-us.apache.org/repos/asf/mesos/blob/79baa091/src/tests/containerizer/io_switchboard_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/containerizer/io_switchboard_tests.cpp b/src/tests/containerizer/io_switchboard_tests.cpp
index f217d02..8fdaa7f 100644
--- a/src/tests/containerizer/io_switchboard_tests.cpp
+++ b/src/tests/containerizer/io_switchboard_tests.cpp
@@ -918,6 +918,8 @@ TEST_F(IOSwitchboardTest, KillSwitchboardContainerDestroyed)
// This test verifies that the io switchboard isolator recovers properly.
+//
+// TODO(alexr): Enable after MESOS-7023 is resolved.
TEST_F(IOSwitchboardTest, DISABLED_RecoverThenKillSwitchboardContainerDestroyed)
{
Try<Owned<cluster::Master>> master = StartMaster();
http://git-wip-us.apache.org/repos/asf/mesos/blob/79baa091/src/tests/default_executor_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/default_executor_tests.cpp b/src/tests/default_executor_tests.cpp
index 316ec7e..293dd20 100644
--- a/src/tests/default_executor_tests.cpp
+++ b/src/tests/default_executor_tests.cpp
@@ -1878,8 +1878,7 @@ TEST_P(DefaultExecutorTest, ROOT_MultiTaskgroupSharePidNamespace)
// This test verifies that a resource limitation incurred on a nested
// container is propagated all the way up to the scheduler.
-TEST_P_TEMP_DISABLED_ON_WINDOWS(
- DefaultExecutorTest, ResourceLimitation)
+TEST_P_TEMP_DISABLED_ON_WINDOWS(DefaultExecutorTest, ResourceLimitation)
{
Try<Owned<cluster::Master>> master = StartMaster();
ASSERT_SOME(master);
http://git-wip-us.apache.org/repos/asf/mesos/blob/79baa091/src/tests/master_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/master_tests.cpp b/src/tests/master_tests.cpp
index 9095651..85a509a 100644
--- a/src/tests/master_tests.cpp
+++ b/src/tests/master_tests.cpp
@@ -6863,6 +6863,8 @@ TEST_F(MasterTest, RejectFrameworkWithInvalidFailoverTimeout)
// This test verifies that we recover resources when an orphaned task reaches
// a terminal state.
+//
+// TODO(alexr): Enable after MESOS-6623 is resolved.
TEST_F(MasterTest, DISABLED_RecoverResourcesOrphanedTask)
{
Try<Owned<cluster::Master>> master = StartMaster();
http://git-wip-us.apache.org/repos/asf/mesos/blob/79baa091/src/tests/slave_recovery_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/slave_recovery_tests.cpp b/src/tests/slave_recovery_tests.cpp
index c856752..4a5860c 100644
--- a/src/tests/slave_recovery_tests.cpp
+++ b/src/tests/slave_recovery_tests.cpp
@@ -438,6 +438,8 @@ TYPED_TEST(SlaveRecoveryTest, RecoverTaskStatusUpdateManager)
// The slave is stopped before the first update for a task is received from the
// HTTP based command executor. When it comes back up with recovery=reconnect,
// make sure the executor subscribes and the slave properly sends the update.
+//
+// TODO(alexr): Enable after MESOS-6623 is resolved.
TYPED_TEST(SlaveRecoveryTest, DISABLED_ReconnectHTTPExecutor)
{
Try<Owned<cluster::Master>> master = this->StartMaster();
@@ -533,6 +535,8 @@ TYPED_TEST(SlaveRecoveryTest, DISABLED_ReconnectHTTPExecutor)
//
// TODO(anand): Remove the `ROOT_CGROUPS` prefix once the posix isolator
// is nested aware.
+//
+// TODO(alexr): Enable after MESOS-6623 is resolved.
TYPED_TEST(SlaveRecoveryTest, DISABLED_ROOT_CGROUPS_ReconnectDefaultExecutor)
{
Try<Owned<cluster::Master>> master = this->StartMaster();
@@ -1083,6 +1087,8 @@ TYPED_TEST(SlaveRecoveryTest, PingTimeoutDuringRecovery)
// The slave is stopped before the HTTP based command executor is
// registered. When it comes back up with recovery=reconnect, make
// sure the executor is killed and the task is transitioned to LOST.
+//
+// TODO(alexr): Enable after MESOS-6623 is resolved.
TYPED_TEST(SlaveRecoveryTest, DISABLED_RecoverUnregisteredHTTPExecutor)
{
Try<Owned<cluster::Master>> master = this->StartMaster();
@@ -1930,6 +1936,8 @@ TYPED_TEST(SlaveRecoveryTest, RecoverCompletedExecutor)
// The slave is stopped before a terminal update is received from the HTTP
// based command executor. The slave is then restarted in recovery=cleanup mode.
// It kills the executor, and terminates. Master should then send TASK_LOST.
+//
+// TODO(alexr): Enable after MESOS-6623 is resolved.
TYPED_TEST(SlaveRecoveryTest, DISABLED_CleanupHTTPExecutor)
{
master::Flags masterFlags = this->CreateMasterFlags();
@@ -2390,6 +2398,8 @@ TYPED_TEST(SlaveRecoveryTest, NonCheckpointingFramework)
// command executor that has been running before the slave restarted.
// This test ensures that a restarted slave is able to communicate
// with all components (scheduler, master, executor).
+//
+// TODO(alexr): Enable after MESOS-6623 is resolved.
TYPED_TEST(SlaveRecoveryTest, DISABLED_KillTaskWithHTTPExecutor)
{
Try<Owned<cluster::Master>> master = this->StartMaster();
http://git-wip-us.apache.org/repos/asf/mesos/blob/79baa091/src/tests/slave_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/slave_tests.cpp b/src/tests/slave_tests.cpp
index 36c72db..028cd32 100644
--- a/src/tests/slave_tests.cpp
+++ b/src/tests/slave_tests.cpp
@@ -1119,6 +1119,8 @@ TEST_F_TEMP_DISABLED_ON_WINDOWS(
// specified user. We use (and assume the presence) of the
// unprivileged 'nobody' user which should be available on both Linux
// and Mac OS X.
+//
+// TODO(alexr): Enable after MESOS-2199 is resolved.
TEST_F(SlaveTest, DISABLED_ROOT_RunTaskWithCommandInfoWithUser)
{
// TODO(nnielsen): Introduce STOUT abstraction for user verification
@@ -2850,6 +2852,8 @@ TEST_F(SlaveTest, ContainersEndpoint)
// This test ensures that when a slave is shutting down, it will not
// try to reregister with the master.
+//
+// TODO(alexr): Enable after MESOS-3509 is resolved.
TEST_F(SlaveTest, DISABLED_TerminatingSlaveDoesNotReregister)
{
// Start a master.
@@ -9367,7 +9371,8 @@ TEST_F(SlaveTest, ExecutorReregistrationTimeoutFlag)
// all tasks) is necessary, because changing the agent's domain is an
// incompatible change to its SlaveInfo.
//
-// TODO(anand): Re-enable this test when fault domain upgrade is supported.
+// TODO(anand): Re-enable this test when fault domain upgrade is supported,
+// see MESOS-8711.
TEST_F(SlaveTest, DISABLED_ChangeDomain)
{
Clock::pause();
[2/2] mesos git commit: Libprocess: Added comment around a disabled
test.
Posted by al...@apache.org.
Libprocess: Added comment around a disabled test.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/5d8a9c1b
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/5d8a9c1b
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/5d8a9c1b
Branch: refs/heads/master
Commit: 5d8a9c1b77f96151da859b4c0c3607d22c36cd18
Parents: 79baa09
Author: Alexander Rukletsov <al...@apache.org>
Authored: Wed Mar 21 17:21:40 2018 +0100
Committer: Alexander Rukletsov <al...@apache.org>
Committed: Wed Mar 21 17:21:40 2018 +0100
----------------------------------------------------------------------
3rdparty/libprocess/src/tests/io_tests.cpp | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/5d8a9c1b/3rdparty/libprocess/src/tests/io_tests.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/src/tests/io_tests.cpp b/3rdparty/libprocess/src/tests/io_tests.cpp
index c091962..de7272b 100644
--- a/3rdparty/libprocess/src/tests/io_tests.cpp
+++ b/3rdparty/libprocess/src/tests/io_tests.cpp
@@ -213,6 +213,7 @@ TEST_F(IOTest, Write)
}
+// TODO(alexr): Enable after MESOS-973 is resolved.
TEST_F(IOTest, DISABLED_BlockingWrite)
{
int pipes[2];