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

Multiple containers/docker tests OOM by -Xcomp with fastdebug build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 11, 17, 21, 25
    • hotspot
    • aarch64
    • linux

      Below containers/docker tests OOM by -Xcomp with fastdebug build on linux-aarch64.
      containers/docker/TestJFREvents.java
      containers/docker/TestMemoryWithCgroupV1.java
      containers/docker/TestMemoryAwareness.java
      jdk/internal/platform/docker/TestDockerMemoryMetrics.java

      Test output snippet:
      ========== NEW TEST CASE: Memory: --memory = 200m
      [COMMAND]
      docker run --tty=true --rm --volume /home/yansendao/git/jdk/tmp/classes/containers/docker/TestJFREvents.d:/test-classes/ --memory=200m jdk-internal:test-containers-docker-TestJFREvents-jfr-events /jdk/bin/java -XX:+ErrorFileToStderr -cp /test-classes/ -Xcomp JfrReporter jdk.PhysicalMemory
      [2025-01-08T12:47:31.397627612Z] Gathering output for process 2204620
      [ELAPSED: 31659 ms]
      [STDERR]

      [STDOUT]
      ===== EventType: jdk.PhysicalMemory

      Full child process STDOUT was saved to docker-stdout-2204620.log
      [2025-01-08T12:48:03.056197543Z] Waiting for completion for process 2204620
      [2025-01-08T12:48:03.056301080Z] Waiting for completion finished for process 2204620
      [COMMAND]
      docker rmi --force jdk-internal:test-containers-docker-TestJFREvents-jfr-events
      [2025-01-08T12:48:03.070755352Z] Gathering output for process 2204762
      [ELAPSED: 14 ms]
      [STDERR]

      [STDOUT]
      Untagged: jdk-internal:test-containers-docker-TestJFREvents-jfr-events
      Deleted: sha256:8b5e385615aa9ce5d50ffe0a05976e70c7e6a28ffbe6b895b3f6bc092aa373ad

      Full child process STDOUT was saved to docker-stdout-2204762.log
      STDERR:
       stdout: [===== EventType: jdk.PhysicalMemory
      ];
       stderr: []
       exitValue = 137

      java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [137]
              at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:522)
              at TestJFREvents.testMemory(TestJFREvents.java:224)
              at TestJFREvents.main(TestJFREvents.java:78)

            syan Sendao Yan
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: