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

error in test/hotspot/jtreg/containers/docker/TestMemoryAwareness.java

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 15
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      ppc
    • OS:
      linux

      Description

      On linux ppc64le (SLES 12.1) we get this error in test/hotspot/jtreg/containers/docker/TestMemoryAwareness.java:
      Error:
      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'OperatingSystemMXBean.getTotalSwapSpaceSize: 0'
      missing from stdout/stderr

      Test output reports:
      OperatingSystemMXBean.getTotalSwapSpaceSize: 16106061824
      OperatingSystemMXBean.getFreeSwapSpaceSize: 15958736896

      We also see this output in the logs:
      WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.

      looks like the issue started to appear after :
      8231111: Cgroups v2: Rework Metrics in java.base so as to recognize unified hierarchy

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sgehwolf Severin Gehwolf
              Reporter:
              mbaesken Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: