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

TestDockerMemoryMetricsSubgroup.java fails on ubuntu18

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 24, 25, 26
    • hotspot
    • 24
    • generic
    • linux

      Test test/jdk/jdk/internal/platform/docker/TestDockerMemoryMetricsSubgroup.java fails on ubuntu18, the test log snippet show as below:


      Full child process STDOUT was saved to docker-stdout-110647.log
      [2025-06-06T02:41:57.703496788Z] Waiting for completion for process 110647
      [2025-06-06T02:41:57.703666652Z] Waiting for completion finished for process 110647
      [2025-06-06T02:41:57.705851566Z] Gathering output for process 110663
      [2025-06-06T02:41:57.706226372Z] Waiting for completion for process 110663
      [2025-06-06T02:41:57.749253323Z] Waiting for completion finished for process 110663
      docker --version returning: Docker version 20.10.21, build 20.10.21-0ubuntu1~18.04.3
      STDERR:
      java.lang.RuntimeException: Failed to parse container runtime version: Docker version 20.10.21, build 20.10.21-0ubuntu1~18.04.3
              at jdk.test.lib.containers.docker.ContainerRuntimeVersionTestUtils.fromVersionString(ContainerRuntimeVersionTestUtils.java:87)
              at jdk.test.lib.containers.docker.ContainerRuntimeVersionTestUtils.getContainerRuntimeVersion(ContainerRuntimeVersionTestUtils.java:105)
              at jdk.test.lib.containers.docker.ContainerRuntimeVersionTestUtils.checkContainerVersionSupported(ContainerRuntimeVersionTestUtils.java:50)
              at TestDockerMemoryMetricsSubgroup.main(TestDockerMemoryMetricsSubgroup.java:78)
              at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
              at java.base/java.lang.reflect.Method.invoke(Method.java:565)
              at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
              at java.base/java.lang.Thread.run(Thread.java:1474)

            syan Sendao Yan
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: