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

Memory Docker tests fail on some Linux kernels w/o cgroupv1 swap limit capabilities

    Details

    • Subcomponent:
    • Resolved In Build:
      b18

      Backports

        Description

        Tests that fail:
            containers/docker/TestMemoryAwareness.java
            jdk/internal/platform/docker/TestDockerMemoryMetrics.java

        Failure description:
          stderr: [WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.]

        java.lang.RuntimeException: 'OperatingSystemMXBean.getFreeSwapSpaceSize: [1-9][0-9]+' missing from stdout/stderr

        Kernel: linux-5.4.0-1019-oracle

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  hseigel Harold Seigel
                  Reporter:
                  mseledtsov Mikhailo Seledtsov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: