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

platform/cgroup/TestSystemSettings.java fails on Alpine Linux

XMLWordPrintable

    • b06
    • generic
    • linux_alpine

      Since JDK-8261242 a new test got introduced:

      test/jdk/jdk/internal/platform/cgroup/TestSystemSettings.java

      This test fails on a bare Alpine Linux installation with:

       stdout: [];
       stderr: [Operating System Metrics:
          No metrics available for this platform
      openjdk version "24-internal" 2024-07-05
      OpenJDK Runtime Environment (fastdebug build 24-internal-adhoc.jenkinsi.jdk)
      OpenJDK 64-Bit Server VM (fastdebug build 24-internal-adhoc.jenkinsi.jdk, mixed mode, sharing)
      ]
       exitValue = 0

      java.lang.RuntimeException: 'System not containerized.' missing from stdout/stderr
      at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:252)
      at TestSystemSettings.main(TestSystemSettings.java:43)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1575)

            sgehwolf Severin Gehwolf
            sgehwolf Severin Gehwolf
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: