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

test/hotspot/jtreg/serviceability/dcmd/framework/HelpTest.java timeout

    XMLWordPrintable

    Details

    • Subcomponent:
      svc

      Description

      ---------------- stdout ----------------
      The following commands are available:
      Compiler.CodeHeap_Analytics
      Compiler.codecache
      Compiler.codelist
      Compiler.directives_add
      Compiler.directives_clear
      Compiler.directives_print
      Compiler.directives_remove
      Compiler.queue
      GC.class_histogram
      GC.class_stats
      GC.finalizer_info
      GC.heap_info
      GC.run
      GC.run_finalization
      JFR.check
      JFR.configure
      JFR.dump
      JFR.start
      JFR.stop
      JVMTI.agent_load
      JVMTI.data_dump
      Thread.print
      VM.class_hierarchy
      VM.classloader_stats
      VM.classloaders
      VM.command_line
      VM.dynlibs
      VM.flags
      VM.info
      VM.log
      VM.metaspace
      VM.native_memory
      VM.print_touched_methods
      VM.set_flag
      VM.start_java_debugging
      VM.stringtable
      VM.symboltable
      VM.system_properties
      VM.systemdictionary
      VM.uptime
      VM.version
      help

      For more information about a specific command use 'help <command>'.

      ---------------- stderr ----------------

      ----------------------------------------

      test HelpTest.jmx(): success
      debugee.stdout> Test Java process started!
      debugee.stdout> Waiting for the quit command from the test ...
      Running DCMD 'help' through 'MainClassJcmdExecutor'
      Executing command '[/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-13-985/linux-x64-debug.jdk/jdk-13/fastdebug/bin/jcmd, HelpTest$Process, help]'
      Timeout refired 480 times
      Command returned with exit code 134
      ---------------- stdout ----------------

      ---------------- stderr ----------------

      ----------------------------------------

      debugee.stdout> 'quit' received
      test HelpTest.mainClass(): failure
      java.lang.RuntimeException: 'The following commands are available' missing from stdout/stderr

      at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:162)
      at HelpTest.run(HelpTest.java:47)
      at HelpTest.mainClass(HelpTest.java:62)
      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:830)
      Running DCMD 'help' through 'PidJcmdExecutor'
      Executing command '[/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-13-985/linux-x64-debug.jdk/jdk-13/fastdebug/bin/jcmd, 5325, help]'
      Command returned with exit code 0
      ---------------- stdout ----------------
      5325:
      The following commands are available:
      Compiler.CodeHeap_Analytics
      Compiler.codecache
      Compiler.codelist
      Compiler.directives_add
      Compiler.directives_clear
      Compiler.directives_print
      Compiler.directives_remove
      Compiler.queue
      GC.class_histogram
      GC.class_stats
      GC.finalizer_info
      GC.heap_dump
      GC.heap_info
      GC.run
      GC.run_finalization
      JFR.check
      JFR.configure
      JFR.dump
      JFR.start
      JFR.stop
      JVMTI.agent_load
      JVMTI.data_dump
      ManagementAgent.start
      ManagementAgent.start_local
      ManagementAgent.status
      ManagementAgent.stop
      Thread.print
      VM.class_hierarchy
      VM.classloader_stats
      VM.classloaders
      VM.command_line
      VM.dynlibs
      VM.flags
      VM.info
      VM.log
      VM.metaspace
      VM.native_memory
      VM.print_touched_methods
      VM.set_flag
      VM.start_java_debugging
      VM.stringtable
      VM.symboltable
      VM.system_properties
      VM.systemdictionary
      VM.uptime
      VM.version
      help

      For more information about a specific command use 'help <command>'.

      ---------------- stderr ----------------

      ----------------------------------------

      test HelpTest.pid(): success

      ===============================================
      serviceability/dcmd/framework/HelpTest.java
      Total tests run: 4, Failures: 1, Skips: 0
      ===============================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dtitov Daniil Titov (Inactive)
              Reporter:
              ljiang Leo Jiang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: