Looking at https://builds.apache.org/job/Geode-nightly/747/testReport/org.apache.geode.management.internal.cli/NetstatDUnitTest/classMethod/
...it looks like NetstatFunction.executeLsof keeps executing infinitely once it gets triggered. I tried to run "netstat --with-lsof=true" on my Mac, but apparently NetstatFunction identifies my Mac as Windows and doesn't attempt to use lsof. I'll file a bug for this. I'll try to figure out why NetstatFunction seems to keep executing in a loop and file a bug for that as well. On Mon, Feb 13, 2017 at 9:31 AM, Kirk Lund <kl...@apache.org> wrote: > We've seen some netstat command tests fail with OutOfMemoryError else > where as well. I don't know why forking a netstat command and reading the > output back into the JVM would take up that much memory. It makes me wonder > if there's a memory leak bug in MiscellaneousCommands#netstat. > > Does anyone have any idea how forking a netstat command would cause > OutOfMemoryError? > > NetstatDUnitTest is executing the gfsh command "netstat --with-lsof=true > --member="? > > > On Mon, Feb 13, 2017 at 9:16 AM, Jinmei Liao <jil...@pivotal.io> wrote: > >> I have a fix for JMXMBeanDUnitTest, the code review is sent out. >> >> NetstatDUnitTest fails with OutofMemeoryError, probably the machine does >> not have enough memory to run this test? >> >> On Mon, Feb 13, 2017 at 8:40 AM, Kirk Lund <kl...@apache.org> wrote: >> >> > Some tests still seem to fail only on specific build machines (including >> > UniversalMembershipListenerAdapterDUnitTest after my fixes). Mostly >> > management dunits, but one Locator dunit failed. We may need to mark >> some >> > of these as Flaky but I'll try to fix anything obvious before resorting >> to >> > that. >> > >> > I'm looking at the management tests marked with * below. >> > >> > 1) https://builds.apache.org/job/Geode-nightly/747/ >> > >> > org.apache.geode.distributed.LocatorUDPSecurityDUnitTest. >> > testNonSSLLocatorDiesWhenConnectingToSSLLocator >> > *org.apache.geode.management.ClientHealthStatsDUnitTest. >> > testClientHealthStats_DurableClient >> > *org.apache.geode.management.JMXMBeanDUnitTest.testJMXOverNonSSL >> > *org.apache.geode.management.internal.cli.NetstatDUnitTest. >> > testConnectToJmxManagerOne >> > *org.apache.geode.management.internal.cli.NetstatDUnitTest. >> > testConnectToJmxManagerTwo >> > *org.apache.geode.management.internal.cli.NetstatDUnitTest. >> > testConnectToLocator >> > *org.apache.geode.management.internal.cli.NetstatDUnitTest.classMethod >> > >> > 2) https://builds.apache.org/job/Geode-nightly/746/ >> > >> > ALL TESTS PASSED >> > >> > 3) https://builds.apache.org/job/Geode-nightly/745/ >> > >> > *org.apache.geode.management.JMXMBeanDUnitTest.testJMXOverNonSSL >> > *org.apache.geode.management.UniversalMembershipListenerAdap >> terDUnitTest. >> > testSystemClientEventsInServer >> > >> >> >> >> -- >> Cheers >> >> Jinmei >> > >