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

sa/TestJmapCoreMetaspace.java still fail with ZGC

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • None
    • hotspot
    • x86_64
    • linux

      The following test failed in the jdk/jdk CI:

      serviceability/sa/TestJmapCoreMetaspace.java

      Here's a snippet from the log file:

      ----------System.out:(8/2064)----------
      Command line: [/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk12-jdk.765/linux-x64-debug.jdk/jdk-12/fastdebug/bin/java -cp /scratch/opt/mach5/mesos/work_dir/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S1286/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/fe39d8f5-fc7e-45b6-b5e2-16c89abb4f7b/runs/51fc07b3-4431-4386-8a86-963ce8a43824/testOutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/classes/3/serviceability/sa/TestJmapCoreMetaspace.d:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk12-jdk.765/src.full/open/test/hotspot/jtreg/serviceability/sa:/scratch/opt/mach5/mesos/work_dir/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S1286/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/fe39d8f5-fc7e-45b6-b5e2-16c89abb4f7b/runs/51fc07b3-4431-4386-8a86-963ce8a43824/testOutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/classes/3/test/lib:/scratch/opt/mach5/mesos/work_dir/jib-master/install/java/re/jtreg/4.2/promoted/all/b13/bundles/jtreg_bin-4.2.zip/jtreg/lib/javatest.jar:/scratch/opt/mach5/mesos/work_dir/jib-master/install/java/re/jtreg/4.2/promoted/all/b13/bundles/jtreg_bin-4.2.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=6 -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:+IgnoreUnrecognizedVMOptions -XX:+CreateCoredumpOnCrash -Xmx512m -XX:MaxMetaspaceSize=64m -XX:+CrashOnOutOfMemoryError TestJmapCore metaspace ]
      Run test with ulimit: unlimited
      Found corefile: /scratch/opt/mach5/mesos/work_dir/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S1286/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/fe39d8f5-fc7e-45b6-b5e2-16c89abb4f7b/runs/51fc07b3-4431-4386-8a86-963ce8a43824/testOutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/scratch/2/./core.6246
      Attaching to core ./core.6246 from executable /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk12-jdk.765/linux-x64-debug.jdk/jdk-12/fastdebug/bin/java, please wait...
      Debugger attached successfully.
      Server compiler detected.
      JVM version is 12-internal+0-jdk12-jdk.765

      ----------System.err:(37/2537)----------
      Exception in thread "main" sun.jvm.hotspot.oops.UnknownOopException
      at jdk.hotspot.agent/sun.jvm.hotspot.oops.ObjectHeap.newOop(ObjectHeap.java:193)
      at jdk.hotspot.agent/sun.jvm.hotspot.oops.Klass.getJavaMirror(Klass.java:118)
      at jdk.hotspot.agent/sun.jvm.hotspot.utilities.HeapHprofBinWriter$4.visit(HeapHprofBinWriter.java:1107)
      at jdk.hotspot.agent/sun.jvm.hotspot.classfile.ClassLoaderData.classesDo(ClassLoaderData.java:108)
      at jdk.hotspot.agent/sun.jvm.hotspot.classfile.ClassLoaderDataGraph.classesDo(ClassLoaderDataGraph.java:82)
      at jdk.hotspot.agent/sun.jvm.hotspot.utilities.HeapHprofBinWriter.writeClasses(HeapHprofBinWriter.java:1104)
      at jdk.hotspot.agent/sun.jvm.hotspot.utilities.HeapHprofBinWriter.write(HeapHprofBinWriter.java:434)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.JMap.writeHeapHprofBin(JMap.java:182)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.JMap.run(JMap.java:97)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:260)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.start(Tool.java:223)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.execute(Tool.java:118)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.JMap.main(JMap.java:176)
      at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runJMAP(SALauncher.java:326)
      at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:455)

      java.io.EOFException
      at java.base/java.io.DataInputStream.readFully(DataInputStream.java:202)
      at java.base/java.io.DataInputStream.readLong(DataInputStream.java:421)
      at jdk.test.lib.hprof.parser.HprofReader.readID(HprofReader.java:542)
      at jdk.test.lib.hprof.parser.HprofReader.read(HprofReader.java:230)
      at jdk.test.lib.hprof.parser.Reader.readFile(Reader.java:91)
      at jdk.test.lib.hprof.HprofParser.parse(HprofParser.java:85)
      at jdk.test.lib.hprof.HprofParser.parse(HprofParser.java:54)
      at TestJmapCore.test(TestJmapCore.java:140)
      at TestJmapCore.main(TestJmapCore.java:72)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:246)
      at java.base/java.lang.Thread.run(Thread.java:835)

      JavaTest Message: Test threw exception: java.io.EOFException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.io.EOFException


      test result: Failed. Execution failed: `main' threw exception: java.io.EOFException

            jgeorge Jini George (Inactive)
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: