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

JMXStatusTest.java fails a test assertion intermittently in JDK CI

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 13
    • Fix Version/s: tbd
    • Component/s: core-svc

      Description

      The following test has been failing in the jdk/jdk CI:

      sun/management/jmxremote/startstop/JMXStatusTest.java

      Here's a snippet of the log file:

      [TestApp] main enter
      config JMXStatusTest.startTestApp(): success
      [jcmd]:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk13-jdk.655/linux-x64-debug.jdk/jdk-13/fastdebug/bin/jcmd TestApp ManagementAgent.start_local
      [jcmd] 18567:
      [jcmd] Command executed successfully
      [jcmd]:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk13-jdk.655/linux-x64-debug.jdk/jdk-13/fastdebug/bin/jcmd TestApp ManagementAgent.status
      Timeout refired 1200 times
      test JMXStatusTest.testAgentLocal(): failure
      java.lang.AssertionError: The management agent status must contain more then one line of text
      at org.testng.Assert.fail(Assert.java:94)
      at JMXStatusTest.assertStatusMatches(JMXStatusTest.java:157)
      at JMXStatusTest.assertStatusMatches(JMXStatusTest.java:148)
      at JMXStatusTest.testAgentLocal(JMXStatusTest.java:118)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
      at org.testng.TestRunner.privateRun(TestRunner.java:773)
      at org.testng.TestRunner.run(TestRunner.java:623)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
      at org.testng.SuiteRunner.run(SuiteRunner.java:259)
      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
      at org.testng.TestNG.run(TestNG.java:1018)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:835)
      [TestApp] read: 1
      [TestApp] main exit

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dcubed Daniel Daugherty
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: