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

TestJmapCoreMetaspace.java timed out

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b22
    • CPU:
      x86_64
    • OS:
      os_x

      Backports

        Description

        The following test timed out in the jdk/jdk CI:

        serviceability/sa/TestJmapCoreMetaspace.java

        Here's a snippet of the log file:

        #section:driver
        ----------messages:(8/260)----------
        command: driver TestJmapCore run metaspace
        reason: User specified action: run driver/timeout=240 TestJmapCore run metaspace
        Mode: agentvm
        Agent id: 6
        Timeout refired 960 times
        Timeout information:
        --- Timeout information end.
        elapsed time (seconds): 1294.349
        ----------configuration:(11/1480)----------
        Boot Layer
          class path: /scratch/mesos/jib-master/install/java/re/jtreg/4.2/promoted/all/b13/bundles/jtreg_bin-4.2.zip/jtreg/lib/javatest.jar
                      /scratch/mesos/jib-master/install/java/re/jtreg/4.2/promoted/all/b13/bundles/jtreg_bin-4.2.zip/jtreg/lib/jtreg.jar
          patch: java.base /scratch/mesos/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S17888/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3cc25363-7043-4ff2-8b71-364a6e907977/runs/c5fe3e2c-4a2a-43eb-8d8c-929eb27fe33b/testOutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_tier2_runtime/patches/java.base

        Test Layer
          class path: /scratch/mesos/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S17888/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3cc25363-7043-4ff2-8b71-364a6e907977/runs/c5fe3e2c-4a2a-43eb-8d8c-929eb27fe33b/testOutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_tier2_runtime/classes/1/serviceability/sa/TestJmapCoreMetaspace.d
                      /scratch/mesos/jib-master/install/jdk12-jdk.1015/src.full/open/test/hotspot/jtreg/serviceability/sa
                      /scratch/mesos/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S17888/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3cc25363-7043-4ff2-8b71-364a6e907977/runs/c5fe3e2c-4a2a-43eb-8d8c-929eb27fe33b/testOutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_tier2_runtime/classes/1/test/lib
                      /scratch/mesos/jib-master/install/jdk12-jdk.1015/src.full/open/test/lib

        ----------rerun:(25/4795)*----------
        cd /scratch/mesos/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S17888/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3cc25363-7043-4ff2-8b71-364a6e907977/runs/c5fe3e2c-4a2a-43eb-8d8c-929eb27fe33b/testOutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_tier2_runtime/scratch/3 && \\
        HOME=/var/folders/ph/ypsq99350ng4tf90y368jp2w0000mv/T/sparky-temp-home-5996191615045418354/user_home \\
        JDK8_HOME=/scratch/mesos/jib-master/install/jdk/11/28/bundles/osx-x64/jdk-11_osx-x64_bin.tar.gz/jdk-11.jdk/Contents/Home \\
        JIB_DATA_DIR=/scratch/mesos/jib-master \\
        JIB_HOME=/scratch/mesos/jib-master/install/com/oracle/java/jib/jib/3.0-SNAPSHOT/jib-3.0-SNAPSHOT-distribution.zip/jib-3.0-SNAPSHOT-distribution \\
        JTREG_KEYWORDS="!headful" \\
        JTREG_VERBOSE=fail,error,time \\
        PATH=/bin:/usr/bin \\
        TEST_IMAGE_GRAAL_DIR=/scratch/mesos/jib-master/install/jdk12-jdk.1015/macosx-x64-debug.test/hotspot/jtreg/graal \\
            /scratch/mesos/jib-master/install/jdk12-jdk.1015/macosx-x64-debug.jdk/jdk-12/fastdebug/bin/java \\
                -Dtest.class.path.prefix=/scratch/mesos/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S17888/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3cc25363-7043-4ff2-8b71-364a6e907977/runs/c5fe3e2c-4a2a-43eb-8d8c-929eb27fe33b/testOutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_tier2_runtime/classes/1/serviceability/sa/TestJmapCoreMetaspace.d:/scratch/mesos/jib-master/install/jdk12-jdk.1015/src.full/open/test/hotspot/jtreg/serviceability/sa:/scratch/mesos/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S17888/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3cc25363-7043-4ff2-8b71-364a6e907977/runs/c5fe3e2c-4a2a-43eb-8d8c-929eb27fe33b/testOutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_tier2_runtime/classes/1/test/lib \\
                -Dtest.src=/scratch/mesos/jib-master/install/jdk12-jdk.1015/src.full/open/test/hotspot/jtreg/serviceability/sa \\
                -Dtest.src.path=/scratch/mesos/jib-master/install/jdk12-jdk.1015/src.full/open/test/hotspot/jtreg/serviceability/sa:/scratch/mesos/jib-master/install/jdk12-jdk.1015/src.full/open/test/lib \\
                -Dtest.classes=/scratch/mesos/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S17888/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3cc25363-7043-4ff2-8b71-364a6e907977/runs/c5fe3e2c-4a2a-43eb-8d8c-929eb27fe33b/testOutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_tier2_runtime/classes/1/serviceability/sa/TestJmapCoreMetaspace.d \\
                -Dtest.class.path=/scratch/mesos/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S17888/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3cc25363-7043-4ff2-8b71-364a6e907977/runs/c5fe3e2c-4a2a-43eb-8d8c-929eb27fe33b/testOutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_tier2_runtime/classes/1/serviceability/sa/TestJmapCoreMetaspace.d:/scratch/mesos/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S17888/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3cc25363-7043-4ff2-8b71-364a6e907977/runs/c5fe3e2c-4a2a-43eb-8d8c-929eb27fe33b/testOutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_tier2_runtime/classes/1/test/lib \\
                -Dtest.vm.opts=-XX:MaxRAMPercentage=6 \\
                -Dtest.tool.vm.opts=-J-XX:MaxRAMPercentage=6 \\
                -Dtest.compiler.opts= \\
                -Dtest.java.opts= \\
                -Dtest.jdk=/scratch/mesos/jib-master/install/jdk12-jdk.1015/macosx-x64-debug.jdk/jdk-12/fastdebug \\
                -Dcompile.jdk=/scratch/mesos/jib-master/install/jdk12-jdk.1015/macosx-x64-debug.jdk/jdk-12/fastdebug \\
                -Dtest.timeout.factor=4.0 \\
                -Dtest.nativepath=/scratch/mesos/jib-master/install/jdk12-jdk.1015/macosx-x64-debug.test/hotspot/jtreg/native \\
                -classpath /scratch/mesos/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S17888/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3cc25363-7043-4ff2-8b71-364a6e907977/runs/c5fe3e2c-4a2a-43eb-8d8c-929eb27fe33b/testOutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_tier2_runtime/classes/1/serviceability/sa/TestJmapCoreMetaspace.d:/scratch/mesos/jib-master/install/jdk12-jdk.1015/src.full/open/test/hotspot/jtreg/serviceability/sa:/scratch/mesos/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S17888/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3cc25363-7043-4ff2-8b71-364a6e907977/runs/c5fe3e2c-4a2a-43eb-8d8c-929eb27fe33b/testOutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_tier2_runtime/classes/1/test/lib:/scratch/mesos/jib-master/install/jdk12-jdk.1015/src.full/open/test/lib:/scratch/mesos/jib-master/install/java/re/jtreg/4.2/promoted/all/b13/bundles/jtreg_bin-4.2.zip/jtreg/lib/javatest.jar:/scratch/mesos/jib-master/install/java/re/jtreg/4.2/promoted/all/b13/bundles/jtreg_bin-4.2.zip/jtreg/lib/jtreg.jar \\
                TestJmapCore run metaspace
        result: Error. Agent error: java.lang.Exception: Agent 6 timed out with a timeout of 960 seconds; check console log for any additional details


        test result: Error. Agent error: java.lang.Exception: Agent 6 timed out with a timeout of 960 seconds; check console log for any additional details


        The test has a default timeout of 240 seconds and a default
        timeout factor of 4 for a total timeout of 960 seconds/16 minutes.
        The test machine has 8GB of memory and 8 cores.

        The task's stdout shows:

            -concurrency:4

        for the test execution task.

        Update: The "Reasons" column for the failure shows:

        Crash: Internal Error ...debug.cpp...fatal error: OutOfMemory encountered: Metaspace

        but that's normal for this test. It crashes the VM with that failure and then
        tries to analyze the resulting core file.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                cjplummer Chris Plummer
                Reporter:
                dcubed Daniel Daugherty
                Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: