Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8130371

sun/management/jmxremote/startstop/JMXStatusPerfCountersTest.java fails intermittently

XMLWordPrintable

      sun/management/jmxremote/startstop/JMXStatusPerfCountersTest.java fails intermittently

      config JMXStatusPerfCountersTest.stopTestApp(): success
      [TestApp]:/scratch/aurora/sandbox_keepme/jdk/bin/java -XX:+UsePerfData -cp /scratch/aurora/sandbox_keepme/results/run_129/testoutput/tier2/JTwork/classes/6/sun/management/jmxremote/startstop:/scratch/aurora/sandbox_keepme/results/run_129/testoutput/tier2/JTwork/classes/6/lib/testlibrary TestApp
      [TestApp] main enter
      config JMXStatusPerfCountersTest.startTestApp(): success
      [jcmd]:/scratch/aurora/sandbox_keepme/jdk/bin/jcmd TestApp ManagementAgent.start jmxremote.port=53661 jmxremote.authenticate=false jmxremote.ssl=false
      [jcmd] 12825:
      [jcmd] Command executed successfully
      [jcmd]:/scratch/aurora/sandbox_keepme/jdk/bin/jcmd TestApp PerfCounter.print
      [jcmd] 12825:
      test JMXStatusPerfCountersTest.testRemoteEnabled(): failure
      java.lang.AssertionError: expected object to not be null
      at org.testng.Assert.fail(Assert.java:94)
      at org.testng.Assert.assertNotNull(Assert.java:404)
      at org.testng.Assert.assertNotNull(Assert.java:389)
      at JMXStatusPerfCountersTest.testRemoteEnabled(JMXStatusPerfCountersTest.java:117)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:502)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
      at org.testng.TestRunner.privateRun(TestRunner.java:767)
      at org.testng.TestRunner.run(TestRunner.java:617)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
      at org.testng.SuiteRunner.run(SuiteRunner.java:240)
      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
      at org.testng.TestNG.run(TestNG.java:1057)
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:163)
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:147)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:502)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:745)
      [TestApp] read: 1
      [TestApp] main exit
      ...
      ===============================================
      sun/management/jmxremote/startstop/JMXStatusPerfCountersTest.java
      Total tests run: 4, Failures: 1, Skips: 0
      ===============================================

      ----------System.err:(15/819)----------
      [jcmd] 12605 not found
      java.lang.Exception: failures: 1
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:166)
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:147)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:502)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:745)

            kevinw Kevin Walls
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: