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

make test TEST="jtreg:test/hotspot/jtreg/runtime/containers" failed on Ubuntu 18.04

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • 13
    • 13
    • hotspot
    • generic
    • linux

    Description

      The error log
      -----------------------------------------------
      [COMMAND]
      docker run --tty=true --rm --memory 100m jdk-internal:test-memory /jdk/bin/java -Xlog:os+container=trace -XX:MaxRAMPercentage=4 -version
      [ELAPSED: 1 ms]
      [STDERR]
      WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.

      [STDOUT]
      Error: dl failure on line 603
      Error: failed /jdk/lib/server/libjvm.so, because /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /jdk/lib/server/libjvm.so)


      ==============================
      Test summary
      ==============================
         TEST TOTAL PASS FAIL ERROR
      >> jtreg:test/hotspot/jtreg/runtime/containers 6 1 5 0 <<
      ==============================
      TEST FAILURE
      -----------------------------------------------


      The issue can be fixed by
      -----------------------------------------------
      diff -r ce78fac1f6d5 test/hotspot/jtreg/runtime/containers/docker/Dockerfile-BasicTest
      --- a/test/hotspot/jtreg/runtime/containers/docker/Dockerfile-BasicTest Thu Mar 21 01:49:27 2019 +0100
      +++ b/test/hotspot/jtreg/runtime/containers/docker/Dockerfile-BasicTest Thu Mar 21 15:44:39 2019 +0800
      @@ -1,4 +1,4 @@
      -FROM oraclelinux:7.6
      +FROM fedora:29
       MAINTAINER mikhailo.seledtsov@oracle.com

       COPY /jdk /jdk
      -----------------------------------------------

      Attachments

        Issue Links

          Activity

            People

              jiefu Jie Fu
              jiefu Jie Fu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: