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

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

XMLWordPrintable

    • b18

        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

              hseigel Harold Seigel (Inactive)
              mseledtsov Mikhailo Seledtsov
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: