geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-3933) CI: ShowLogCommandDUnitTest.testShowLogNumLines@org.apache.geode.management.internal.cli.commands.CommandOverHttpDUnitTest FAILED
Date Wed, 01 Nov 2017 16:06:00 GMT

    [ https://issues.apache.org/jira/browse/GEODE-3933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16234282#comment-16234282
] 

ASF GitHub Bot commented on GEODE-3933:
---------------------------------------

jinmeiliao closed pull request #996: GEODE-3933: remove tests from the test suite and run
them individuall…
URL: https://github.com/apache/geode/pull/996
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ChangeLogLevelCommandDUnitTest.java
b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ChangeLogLevelCommandDUnitTest.java
index caed02cd99..d417995c2e 100644
--- a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ChangeLogLevelCommandDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ChangeLogLevelCommandDUnitTest.java
@@ -16,20 +16,18 @@
 
 import static org.apache.geode.distributed.ConfigurationProperties.GROUPS;
 import static org.apache.geode.distributed.ConfigurationProperties.NAME;
-import static org.apache.geode.management.internal.cli.commands.CliCommandTestBase.USE_HTTP_SYSTEM_PROPERTY;
 import static org.apache.geode.test.junit.rules.GfshShellConnectionRule.PortType.http;
 import static org.apache.geode.test.junit.rules.GfshShellConnectionRule.PortType.jmxManager;
-import static org.assertj.core.api.Assertions.assertThat;
 
 import java.util.Properties;
 
-import org.junit.Before;
-import org.junit.Rule;
+import org.junit.BeforeClass;
+import org.junit.ClassRule;
 import org.junit.Test;
 import org.junit.experimental.categories.Category;
+import org.junit.runner.RunWith;
+import org.junit.runners.Parameterized;
 
-import org.apache.geode.management.cli.Result;
-import org.apache.geode.management.internal.cli.result.CommandResult;
 import org.apache.geode.test.dunit.rules.LocatorServerStartupRule;
 import org.apache.geode.test.dunit.rules.MemberVM;
 import org.apache.geode.test.junit.categories.DistributedTest;
@@ -37,8 +35,8 @@
 
 
 @Category(DistributedTest.class)
+@RunWith(Parameterized.class)
 public class ChangeLogLevelCommandDUnitTest {
-  private static final boolean CONNECT_OVER_HTTP = Boolean.getBoolean(USE_HTTP_SYSTEM_PROPERTY);
   private static final String MANAGER_NAME = "Manager";
   private static final String SERVER1_NAME = "Server1";
   private static final String SERVER2_NAME = "Server2";
@@ -46,14 +44,23 @@
   private static final String GROUP1 = "Group1";
   private static final String GROUP2 = "Group2";
 
-  @Rule
-  public LocatorServerStartupRule locatorServerStartupRule = new LocatorServerStartupRule();
+  @ClassRule
+  public static LocatorServerStartupRule locatorServerStartupRule = new LocatorServerStartupRule();
 
-  @Rule
-  public GfshShellConnectionRule gfsh = new GfshShellConnectionRule();
+  @ClassRule
+  public static GfshShellConnectionRule gfsh = new GfshShellConnectionRule();
 
-  @Before
-  public void setup() throws Exception {
+
+  @Parameterized.Parameter
+  public static boolean useHttp;
+
+  @Parameterized.Parameters
+  public static Object[] data() {
+    return new Object[] {true, false};
+  }
+
+  @BeforeClass
+  public static void setup() throws Exception {
     Properties managerProps = new Properties();
     managerProps.setProperty(NAME, MANAGER_NAME);
     managerProps.setProperty(GROUPS, GROUP0);
@@ -69,7 +76,7 @@ public void setup() throws Exception {
     server2Props.setProperty(GROUPS, GROUP2);
     locatorServerStartupRule.startServerVM(2, server2Props, manager.getPort());
 
-    if (CONNECT_OVER_HTTP) {
+    if (useHttp) {
       gfsh.connectAndVerify(manager.getHttpPort(), http);
     } else {
       gfsh.connectAndVerify(manager.getJmxPort(), jmxManager);
@@ -81,26 +88,16 @@ public void setup() throws Exception {
   public void testChangeLogLevelForGroups() {
     String commandString = "change loglevel --loglevel=finer --groups=" + GROUP1 + "," +
GROUP2;
 
-    gfsh.executeAndAssertThat(commandString).statusIsSuccess();
-
-    String output = gfsh.getGfshOutput();
-
-    assertThat(output).contains(SERVER1_NAME);
-    assertThat(output).contains(SERVER2_NAME);
-    assertThat(output).doesNotContain(MANAGER_NAME);
+    gfsh.executeAndAssertThat(commandString).statusIsSuccess()
+        .containsOutput(SERVER1_NAME, SERVER2_NAME).doesNotContainOutput(MANAGER_NAME);
   }
 
   @Test
   public void testChangeLogLevelForGroup() {
     String commandString = "change loglevel --loglevel=finer --groups=" + GROUP1;
 
-    gfsh.executeAndAssertThat(commandString).statusIsSuccess();
-
-    String output = gfsh.getGfshOutput();
-
-    assertThat(output).contains(SERVER1_NAME);
-    assertThat(output).doesNotContain(SERVER2_NAME);
-    assertThat(output).doesNotContain(MANAGER_NAME);
+    gfsh.executeAndAssertThat(commandString).statusIsSuccess().containsOutput(SERVER1_NAME)
+        .doesNotContainOutput(SERVER2_NAME, MANAGER_NAME);
   }
 
   @Test
@@ -108,37 +105,23 @@ public void testChangeLogLevelForMembers() {
     String commandString =
         "change loglevel --loglevel=finer --members=" + SERVER1_NAME + "," + SERVER2_NAME;
 
-    gfsh.executeAndAssertThat(commandString).statusIsSuccess();
-
-    String output = gfsh.getGfshOutput();
-
-    assertThat(output).contains(SERVER1_NAME);
-    assertThat(output).contains(SERVER2_NAME);
-    assertThat(output).doesNotContain(MANAGER_NAME);
+    gfsh.executeAndAssertThat(commandString).statusIsSuccess()
+        .containsOutput(SERVER1_NAME, SERVER2_NAME).doesNotContainOutput(MANAGER_NAME);
   }
 
   @Test
   public void testChangeLogLevelForMember() {
     String commandString = "change loglevel --loglevel=finer --members=" + SERVER1_NAME;
 
-    gfsh.executeAndAssertThat(commandString).statusIsSuccess();
-
-    String output = gfsh.getGfshOutput();
-
-    assertThat(output).contains(SERVER1_NAME);
-    assertThat(output).doesNotContain(SERVER2_NAME);
-    assertThat(output).doesNotContain(MANAGER_NAME);
+    gfsh.executeAndAssertThat(commandString).statusIsSuccess().containsOutput(SERVER1_NAME)
+        .doesNotContainOutput(SERVER2_NAME, MANAGER_NAME);
   }
 
   @Test
   public void testChangeLogLevelForInvalidMember() {
     String commandString = "change loglevel --loglevel=finer --members=NotAValidMember";
 
-    CommandResult result = gfsh.executeCommand(commandString);
-
-    assertThat(result.getStatus()).isEqualTo(Result.Status.ERROR);
-    String output = gfsh.getGfshOutput();
-
-    assertThat(output).contains("No members were found matching the given member IDs or groups.");
+    gfsh.executeAndAssertThat(commandString).statusIsError()
+        .containsOutput("No members were found matching the given member IDs or groups.");
   }
 }
diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/GcCommandDUnitTest.java
b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/GcCommandDUnitTest.java
index 2cf5772c68..a3e2937a1a 100644
--- a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/GcCommandDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/GcCommandDUnitTest.java
@@ -17,17 +17,18 @@
 import static org.apache.geode.distributed.ConfigurationProperties.GROUPS;
 import static org.apache.geode.distributed.ConfigurationProperties.LOG_FILE;
 import static org.apache.geode.distributed.ConfigurationProperties.NAME;
-import static org.apache.geode.management.internal.cli.commands.CliCommandTestBase.USE_HTTP_SYSTEM_PROPERTY;
 import static org.apache.geode.test.junit.rules.GfshShellConnectionRule.PortType.http;
 import static org.apache.geode.test.junit.rules.GfshShellConnectionRule.PortType.jmxManager;
 import static org.assertj.core.api.Assertions.assertThat;
 
 import java.util.Properties;
 
-import org.junit.Before;
-import org.junit.Rule;
+import org.junit.BeforeClass;
+import org.junit.ClassRule;
 import org.junit.Test;
 import org.junit.experimental.categories.Category;
+import org.junit.runner.RunWith;
+import org.junit.runners.Parameterized;
 
 import org.apache.geode.management.cli.Result;
 import org.apache.geode.management.internal.cli.result.CommandResult;
@@ -38,8 +39,8 @@
 
 
 @Category(DistributedTest.class)
+@RunWith(Parameterized.class)
 public class GcCommandDUnitTest {
-  private static final boolean CONNECT_OVER_HTTP = Boolean.getBoolean(USE_HTTP_SYSTEM_PROPERTY);
   private static final String MANAGER_NAME = "Manager";
   private static final String SERVER1_NAME = "Server1";
   private static final String SERVER2_NAME = "Server2";
@@ -47,14 +48,23 @@
   private static final String GROUP1 = "Group1";
   private static final String GROUP2 = "Group2";
 
-  @Rule
-  public LocatorServerStartupRule locatorServerStartupRule = new LocatorServerStartupRule();
+  @Parameterized.Parameter
+  public static boolean useHttp;
 
-  @Rule
-  public GfshShellConnectionRule gfsh = new GfshShellConnectionRule();
+  @Parameterized.Parameters
+  public static Object[] data() {
+    return new Object[] {true, false};
+  }
+
+
+  @ClassRule
+  public static LocatorServerStartupRule locatorServerStartupRule = new LocatorServerStartupRule();
+
+  @ClassRule
+  public static GfshShellConnectionRule gfsh = new GfshShellConnectionRule();
 
-  @Before
-  public void setup() throws Exception {
+  @BeforeClass
+  public static void setup() throws Exception {
     Properties managerProps = new Properties();
     managerProps.setProperty(NAME, MANAGER_NAME);
     managerProps.setProperty(GROUPS, GROUP0);
@@ -72,7 +82,7 @@ public void setup() throws Exception {
     server2Props.setProperty(GROUPS, GROUP2);
     locatorServerStartupRule.startServerVM(2, server2Props, manager.getPort());
 
-    if (CONNECT_OVER_HTTP) {
+    if (useHttp) {
       gfsh.connectAndVerify(manager.getHttpPort(), http);
     } else {
       gfsh.connectAndVerify(manager.getJmxPort(), jmxManager);
diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ShowLogCommandDUnitTest.java
b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ShowLogCommandDUnitTest.java
index cf1cd52d16..6f9dd88e2e 100644
--- a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ShowLogCommandDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ShowLogCommandDUnitTest.java
@@ -16,8 +16,8 @@
 
 import static org.apache.geode.distributed.ConfigurationProperties.GROUPS;
 import static org.apache.geode.distributed.ConfigurationProperties.LOG_FILE;
+import static org.apache.geode.distributed.ConfigurationProperties.LOG_LEVEL;
 import static org.apache.geode.distributed.ConfigurationProperties.NAME;
-import static org.apache.geode.management.internal.cli.commands.CliCommandTestBase.USE_HTTP_SYSTEM_PROPERTY;
 import static org.apache.geode.test.junit.rules.GfshShellConnectionRule.PortType.http;
 import static org.apache.geode.test.junit.rules.GfshShellConnectionRule.PortType.jmxManager;
 import static org.assertj.core.api.Assertions.assertThat;
@@ -27,10 +27,12 @@
 import java.util.concurrent.TimeUnit;
 
 import org.awaitility.Awaitility;
-import org.junit.Before;
-import org.junit.Rule;
+import org.junit.BeforeClass;
+import org.junit.ClassRule;
 import org.junit.Test;
 import org.junit.experimental.categories.Category;
+import org.junit.runner.RunWith;
+import org.junit.runners.Parameterized;
 
 import org.apache.geode.cache.CacheFactory;
 import org.apache.geode.distributed.DistributedMember;
@@ -45,9 +47,8 @@
 import org.apache.geode.test.junit.rules.GfshShellConnectionRule;
 
 @Category(DistributedTest.class)
+@RunWith(Parameterized.class)
 public class ShowLogCommandDUnitTest implements Serializable {
-  private static final boolean CONNECT_OVER_HTTP = Boolean.getBoolean(USE_HTTP_SYSTEM_PROPERTY);
-
   private static final String MANAGER_NAME = "Manager";
   private static final String SERVER1_NAME = "Server1";
   private static final String SERVER2_NAME = "Server2";
@@ -57,22 +58,30 @@
   private static final String MESSAGE_ON_MANAGER = "someLogMessageOnManager";
   private static final String MESSAGE_ON_SERVER1 = "someLogMessageOnServer1";
   private static final String MESSAGE_ON_SERVER2 = "someLogMessageOnServer2";
-  private MemberVM manager;
-  private MemberVM server1;
-  private MemberVM server2;
-  @Rule
-  public LocatorServerStartupRule locatorServerStartupRule = new LocatorServerStartupRule();
+  private static MemberVM manager;
+  private static MemberVM server1;
+  private static MemberVM server2;
+  @ClassRule
+  public static LocatorServerStartupRule locatorServerStartupRule = new LocatorServerStartupRule();
+
+  @ClassRule
+  public static GfshShellConnectionRule gfsh = new GfshShellConnectionRule();
 
-  @Rule
-  public GfshShellConnectionRule gfsh = new GfshShellConnectionRule();
+  @Parameterized.Parameter
+  public static boolean useHttp;
 
+  @Parameterized.Parameters
+  public static Object[] data() {
+    return new Object[] {true, false};
+  }
 
-  @Before
-  public void setup() throws Exception {
+  @BeforeClass
+  public static void setup() throws Exception {
     Properties managerProps = new Properties();
     managerProps.setProperty(NAME, MANAGER_NAME);
     managerProps.setProperty(GROUPS, GROUP0);
     managerProps.setProperty(LOG_FILE, MANAGER_NAME + ".log");
+    managerProps.setProperty(LOG_LEVEL, "info");
 
     manager = locatorServerStartupRule.startLocatorVM(0, managerProps);
 
@@ -80,6 +89,7 @@ public void setup() throws Exception {
     server1Props.setProperty(NAME, SERVER1_NAME);
     server1Props.setProperty(GROUPS, GROUP1);
     server1Props.setProperty(LOG_FILE, SERVER1_NAME + ".log");
+    managerProps.setProperty(LOG_LEVEL, "info");
 
     server1 = locatorServerStartupRule.startServerVM(1, server1Props, manager.getPort());
 
@@ -87,16 +97,18 @@ public void setup() throws Exception {
     server2Props.setProperty(NAME, SERVER2_NAME);
     server2Props.setProperty(GROUPS, GROUP2);
     server2Props.setProperty(LOG_FILE, SERVER2_NAME + ".log");
+    managerProps.setProperty(LOG_LEVEL, "info");
 
     server2 = locatorServerStartupRule.startServerVM(2, server2Props, manager.getPort());
 
-    if (CONNECT_OVER_HTTP) {
+    if (useHttp) {
       gfsh.connectAndVerify(manager.getHttpPort(), http);
     } else {
       gfsh.connectAndVerify(manager.getJmxPort(), jmxManager);
     }
 
-    Awaitility.await().atMost(2, TimeUnit.MINUTES).until(this::allMembersAreConnected);
+    Awaitility.await().atMost(2, TimeUnit.MINUTES)
+        .until(ShowLogCommandDUnitTest::allMembersAreConnected);
   }
 
   private void writeLogMessages() {
@@ -147,7 +159,7 @@ public void testShowLogInvalidMember() throws Exception {
 
   }
 
-  private boolean allMembersAreConnected() {
+  private static boolean allMembersAreConnected() {
     return manager.getVM().invoke(() -> {
       InternalCache cache = (InternalCache) CacheFactory.getAnyInstance();
       DistributedMember server1 = CliUtil.getDistributedMemberByNameOrId(SERVER1_NAME);
diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ShutdownCommandDUnitTest.java
b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ShutdownCommandDUnitTest.java
index e60262cabf..84e280334d 100644
--- a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ShutdownCommandDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ShutdownCommandDUnitTest.java
@@ -17,7 +17,6 @@
 import static org.apache.geode.distributed.ConfigurationProperties.GROUPS;
 import static org.apache.geode.distributed.ConfigurationProperties.LOG_FILE;
 import static org.apache.geode.distributed.ConfigurationProperties.NAME;
-import static org.apache.geode.management.internal.cli.commands.CliCommandTestBase.USE_HTTP_SYSTEM_PROPERTY;
 import static org.apache.geode.test.junit.rules.GfshShellConnectionRule.PortType.http;
 import static org.apache.geode.test.junit.rules.GfshShellConnectionRule.PortType.jmxManager;
 import static org.assertj.core.api.Assertions.assertThat;
@@ -31,6 +30,8 @@
 import org.junit.Rule;
 import org.junit.Test;
 import org.junit.experimental.categories.Category;
+import org.junit.runner.RunWith;
+import org.junit.runners.Parameterized;
 
 import org.apache.geode.cache.Cache;
 import org.apache.geode.cache.CacheClosedException;
@@ -43,8 +44,8 @@
 
 
 @Category(DistributedTest.class)
+@RunWith(Parameterized.class)
 public class ShutdownCommandDUnitTest {
-  private static final boolean CONNECT_OVER_HTTP = Boolean.getBoolean(USE_HTTP_SYSTEM_PROPERTY);
   private static final String MANAGER_NAME = "Manager";
   private static final String SERVER1_NAME = "Server1";
   private static final String SERVER2_NAME = "Server2";
@@ -56,6 +57,15 @@
   private MemberVM server1;
   private MemberVM server2;
 
+
+  @Parameterized.Parameter
+  public static boolean useHttp;
+
+  @Parameterized.Parameters
+  public static Object[] data() {
+    return new Object[] {true, false};
+  }
+
   @Rule
   public LocatorServerStartupRule locatorServerStartupRule = new LocatorServerStartupRule();
 
@@ -82,7 +92,7 @@ public void setup() throws Exception {
     server2Props.setProperty(GROUPS, GROUP2);
     server2 = locatorServerStartupRule.startServerVM(2, server2Props, manager.getPort());
 
-    if (CONNECT_OVER_HTTP) {
+    if (useHttp) {
       gfsh.connectAndVerify(manager.getHttpPort(), http);
     } else {
       gfsh.connectAndVerify(manager.getJmxPort(), jmxManager);
diff --git a/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/CommandOverHttpDUnitTest.java
b/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/CommandOverHttpDUnitTest.java
index 97a5112a38..5334e10bf1 100644
--- a/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/CommandOverHttpDUnitTest.java
+++ b/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/CommandOverHttpDUnitTest.java
@@ -24,13 +24,14 @@
 import org.apache.geode.test.junit.categories.SecurityTest;
 import org.apache.geode.test.junit.runners.SuiteRunner;
 
+/**
+ * Only commands that extends CliCommandTestBase needs to be in this test suite
+ */
 @Category({DistributedTest.class, SecurityTest.class})
 @RunWith(SuiteRunner.class)
-@Suite.SuiteClasses({ChangeLogLevelCommandDUnitTest.class, DeployWithGroupsDUnitTest.class,
-    DiskStoreCommandsDUnitTest.class, GcCommandDUnitTest.class, GemfireDataCommandsDUnitTest.class,
-    ListAndDescribeDiskStoreCommandsDUnitTest.class, ShutdownCommandDUnitTest.class,
-    QueueCommandsDUnitTest.class, ShellCommandsDUnitTest.class, ShowDeadlockDUnitTest.class,
-    ShowLogCommandDUnitTest.class, ShowMetricsDUnitTest.class, ShowStackTraceDUnitTest.class})
+@Suite.SuiteClasses({DiskStoreCommandsDUnitTest.class, GemfireDataCommandsDUnitTest.class,
+    ListAndDescribeDiskStoreCommandsDUnitTest.class, QueueCommandsDUnitTest.class,
+    ShellCommandsDUnitTest.class, ShowStackTraceDUnitTest.class})
 public class CommandOverHttpDUnitTest {
   @ClassRule
   public static ProvideSystemProperty provideSystemProperty =


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> CI: ShowLogCommandDUnitTest.testShowLogNumLines@org.apache.geode.management.internal.cli.commands.CommandOverHttpDUnitTest
FAILED
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-3933
>                 URL: https://issues.apache.org/jira/browse/GEODE-3933
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Jinmei Liao
>            Priority: Major
>
> org.apache.geode.management.internal.cli.commands.CommandOverHttpDUnitTest > org.apache.geode.management.internal.cli.commands.ShowLogCommandDUnitTest.testShowLogNumLines@org.apache.geode.management.internal.cli.commands.CommandOverHttpDUnitTest
FAILED
>     java.lang.AssertionError: 
>     Expecting:
>      <"SystemLog:
>     [finest 2017/10/30 18:22:49.509 UTC Server1 <Thread-399 StatSampler> tid=0x756]
Monitor = MemberMXBeanMonitor descriptor = receivedBytes And value = 2954
>     [finest 2017/10/30 18:22:49.509 UTC Server1 <Thread-399 StatSampler> tid=0x756]
Monitor = MemberMXBeanMonitor descriptor = syncSocketWriteBytes And value = 24721
>     [finest 2017/10/30 18:22:49.509 UTC Server1 <Thread-399 StatSampler> tid=0x756]
Monitor = MemberMXBeanMonitor descriptor = functionExecutionThreadStarts And value = 2
>     [finest 2017/10/30 18:22:49.509 UTC Server1 <Thread-399 StatSampler> tid=0x756]
Monitor = MemberMXBeanMonitor descriptor = receivedMessages And value = 34
>     [finest 2017/10/30 18:22:49.509 UTC Server1 <Thread-399 StatSampler> tid=0x756]
Monitor = MemberMXBeanMonitor descriptor = ucastWriteBytes And value = 1132
>     [finest 2017/10/30 18:22:49.510 UTC Server1 <Thread-399 StatSampler> tid=0x756]
Monitor = MemberMXBeanMonitor descriptor = heartbeatsReceived And value = 3
>     [finest 2017/10/30 18:22:49.510 UTC Server1 <Thread-399 StatSampler> tid=0x756]
Monitor = MemberMXBeanMonitor descriptor = functionExecutionThreads And value = 2
>     [finest 2017/10/30 18:22:49.510 UTC Server1 <Thread-399 StatSampler> tid=0x756]
Monitor = MemberMXBeanMonitor descriptor = socketLocks And value = 39
>     [finest 2017/10/30 18:22:49.510 UTC Server1 <Thread-399 StatSampler> tid=0x756]
Monitor = MemberMXBeanMonitor descriptor = heartbeatsSent And value = 3
>     [finest 2017/10/30 18:22:49.510 UTC Server1 <Thread-399 StatSampler> tid=0x756]
Monitor = MemberMXBeanMonitor descriptor = functionExecutionCalls And value = 1
>     [finest 2017/10/30 18:22:49.510 UTC Server1 <Thread-399 StatSampler> tid=0x756]
Monitor = MemberMXBeanMonitor descriptor = heartbeatRequestsSent And value = 1
>     [finest 2017/10/30 18:22:49.510 UTC Server1 <Thread-399 StatSampler> tid=0x756]
Monitor = MemberMXBeanMonitor descriptor = syncSocketWrites And value = 39
>     [finest 2017/10/30 18:22:49.510 UTC Server1 <Thread-399 StatSampler> tid=0x756]
Monitor = MemberMXBeanMonitor descriptor = sentBytes And value = 24902
>     [finest 2017/10/30 18:22:49.510 UTC Server1 <Thread-399 StatSampler> tid=0x756]
Monitor = MemberMXBeanMonitor descriptor = ucastReads And value = 10
>     [finest 2017/10/30 18:22:49.510 UTC Server1 <Thread-399 StatSampler> tid=0x756]
Monitor = MemberMXBeanMonitor descriptor = processedMessages And value = 34
>     [finest 2017/10/30 18:22:49.510 UTC Server1 <Thread-399 StatSampler> tid=0x756]
Monitor = MemberMXBeanMonitor descriptor = functionExecutionsCompleted And value = 1
>     [finest 2017/10/30 18:22:49.510 UTC Server1 <Thread-399 StatSampler> tid=0x756]
Monitor = MemberMXBeanMonitor descriptor = resultsSentToResultCollector And value = 1
>     [finest 2017/10/30 18:22:49.510 UTC Server1 <Thread-399 StatSampler> tid=0x756]
Monitor = MemberMXBeanMonitor descriptor = sentMessages And value = 33
>     [finest 2017/10/30 18:22:49.510 UTC Server1 <Thread-399 StatSampler> tid=0x756]
Monitor = SystemStatsManager descriptor = sampleTime And value = 35
>     [finest 2017/10/30 18:22:49.510 UTC Server1 <Thread-399 StatSampler> tid=0x756]
Monitor = SystemStatsManager descriptor = sampleCount And value = 3
>     [finest 2017/10/30 18:22:49.510 UTC Server1 <Thread-399 StatSampler> tid=0x756]
Monitor = SystemStatsManager descriptor = delayDuration And value = 975
>     [finest 2017/10/30 18:22:49.510 UTC Server1 <Thread-399 StatSampler> tid=0x756]
Monitor = SystemStatsManager descriptor = imageSize And value = 9059
>     [finest 2017/10/30 18:22:49.668 UTC Server1 <P2P message reader for 172.17.0.2(Manager:172:locator)<ec><v0>:32770
shared unordered uid=86 port=43278> tid=0x753] /172.17.0.2:41070 received MemberFunctionStreamingMessage@5310eafb
processorId=468 sender=null from 172.17.0.2(Manager:172:locator)<ec><v0>:32770@86(GEODE
1.4.0)
>     [fine 2017/10/30 18:22:49.668 UTC Server1 <P2P message reader for 172.17.0.2(Manager:172:locator)<ec><v0>:32770
shared unordered uid=86 port=43278> tid=0x753] Received message 'MemberFunctionStreamingMessage@5310eafb
processorId=468 sender=172.17.0.2(Manager:172:locator)<ec><v0>:32770' from <172.17.0.2(Manager:172:locator)<ec><v0>:32770>
>     [fine 2017/10/30 18:22:49.668 UTC Server1 <Function Execution Processor1> tid=0x77c]
Executing Function: org.apache.geode.management.internal.ManagementFunction on remote member
with context: [FunctionContextImpl:functionId=org.apache.geode.management.internal.ManagementFunction;args=[Ljava.lang.Object;@5c5f1f5]
>     ">
>     to contain:
>      <"someLogMessageOnServer1"> 
>         at org.apache.geode.management.internal.cli.commands.ShowLogCommandDUnitTest.testShowLogNumLines(ShowLogCommandDUnitTest.java:129)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message