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

[TESTBUG] containers/docker/TestJcmdWithSideCar.java: jcmd reports main class as 'Unknown'

    Details

    • Subcomponent:
    • Resolved In Build:
      b13

      Description

      Failure: java.lang.RuntimeException: 'EventGeneratorLoop' missing from stdout/stderr

      What happened: Test runs 'jcmd -l', and expects to see a "EventGeneratorLoop" class in JCMD's output, but instead the output shows 'Uknown'.
      See the output below.

      [COMMAND]
      docker run --tty=true --rm --cap-add=SYS_PTRACE --sig-proxy=true --pid=container:test-container-main --volumes-from test-container-main jdk-internal:test-jfr-jcmd /jdk/bin/jcmd -l
      [2019-07-31T17:41:21.700199Z] Gathering output for process 12953
      [ELAPSED: 3 ms]
      [STDERR]

      [STDOUT]
      1 Unknown
      21 jdk.jcmd/sun.tools.jcmd.JCmd -l

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mseledtsov Mikhailo Seledtsov
                Reporter:
                mseledtsov Mikhailo Seledtsov
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: