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

containers/docker/TestJcmd.java failed with "RuntimeException: Could not find specified process"

    • x86_64, aarch64
    • linux

      The following test failed in the JDK18 CI:

      containers/docker/TestJcmd.java

      Here's a snippet from the log file:

      [COMMAND]
      podman rmi --force jdk-internal:test-jcmd
      [2021-12-01T21:50:21.362047322Z] Gathering output for process 684437
      [ELAPSED: 3 ms]
      [STDERR]

      [STDOUT]
      Untagged: localhost/jdk-internal:test-jcmd
      Deleted: d5b1ef0288686e7afce238c39c5d02d91083dcc49d055697f144cfe9dfe56725
      Deleted: d1002dd27957513e12bd689aef176c3a51ce5e656c7cb3629fa34d466f5fcd78
      Deleted: 3759ce8f34a2344e5091a49828f007c32cf542968bd435839218dc39454eafe8

      Child process STDOUT is trimmed to 100 lines
      Full child process STDOUT was saved to docker-stdout-684437.log
      ----------System.err:(11/570)----------
      java.lang.RuntimeException: Could not find specified process
      at TestJcmd.testJcmdGetPid(TestJcmd.java:109)
      at TestJcmd.main(TestJcmd.java:78)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:577)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
      at java.base/java.lang.Thread.run(Thread.java:833)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Could not find specified process

            kevinw Kevin Walls
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: