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

containers/docker/TestMemoryAwareness.java failed with "'memory_limit_in_bytes:.*512000 k' missing from stdout/stderr"

XMLWordPrintable

    • x86_64
    • linux

      The following test failed in the JDK21 CI:

      containers/docker/TestMemoryAwareness.java

      Here's a snippet from the log file:

      maximum number of tasks: unlimited
      [0.110s][trace][os,container] Path to /pids.current is /sys/fs/cgroup/pids/pids.current
      [0.110s][trace][os,container] Path to /memory.usage_in_bytes is /sys/fs/cgroup/memory/memory.usage_in_bytes
      [0.110s][trace][os,container] Current number of tasks is: 13
      current number of tasks: 13

      KVM virtualization detected
      [0.110s][trace][os,container] Memory Usage is: 27934720
      Steal ticks since vm start: 0
      Steal ticks percentage since vm start: 0.000
      ];
       stderr: []
       exitValue = 0

      java.lang.RuntimeException: 'memory_limit_in_bytes:.*512000 k' missing from stdout/stderr
      at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:340)
      at TestMemoryAwareness.testMemorySwapNotSupported(TestMemoryAwareness.java:175)
      at TestMemoryAwareness.main(TestMemoryAwareness.java:80)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
      at java.base/java.lang.Thread.run(Thread.java:1623)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: 'memory_limit_in_bytes:.*512000 k' missing from stdout/stderr
      JavaTest Message: shutting down test

            mseledtsov Mikhailo Seledtsov
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: