JCmdTestStaticDump.java timed out in VirtualMachineImpl.read()

XMLWordPrintable

    • aarch64
    • os_x

      The following test timed out in the JDK21 CI:

      runtime/cds/appcds/jcmd/JCmdTestStaticDump.java

      Here's a snippet from the log file:

      8 Test static with -XX:+RecordDynamicDumpInfo will be OK to dump.

      Command line: ['/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-21+3-122/macosx-aarch64-debug.jdk/jdk-21/fastdebug/bin/java' '-XX:+RecordDynamicDumpInfo' '-cp' '/System/Volumes/Data/mesos/work_dir/slaves/91e16c40-06d4-468a-9fc3-7198a5bb7d5a-S51476/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b097653d-f632-42d0-8456-a6f8fad4cab7/runs/1e025850-e8c9-4329-82c5-fe2eed3cfba7/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_tier2_runtime/scratch/1/test:/System/Volumes/Data/mesos/work_dir/slaves/91e16c40-06d4-468a-9fc3-7198a5bb7d5a-S51476/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b097653d-f632-42d0-8456-a6f8fad4cab7/runs/1e025850-e8c9-4329-82c5-fe2eed3cfba7/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_tier2_runtime/scratch/1/boot' 'JCmdTestLingeredApp' '8ce1854a-bbb1-44b1-9051-5a024027c760.lck']
      LingeredApp startup took 1114ms
      Check for hs_err_pid/core/mdmp files:
      ./core.56963 4147mb (4349411328 bytes)
      Expected: SUCCESS
      Executing command '[/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-21+3-122/macosx-aarch64-debug.jdk/jdk-21/fastdebug/bin/jcmd, 57685, VM.cds static_dump java_pid57685_static.jsa]'
      [2022-12-21T17:24:09.711470Z] Gathering output for process 57686
      [2022-12-21T17:24:10.511861Z] Waiting for completion for process 57686
      [2022-12-21T17:24:10.511929Z] Waiting for completion finished for process 57686
      Output and diagnostic info for process 57686 was saved into 'pid-57686-output.log'
      [2022-12-21T17:24:10.512233Z] Waiting for completion for process 57686
      [2022-12-21T17:24:10.512254Z] Waiting for completion finished for process 57686
      Command returned with exit code 0
      [2022-12-21T17:24:10.512281Z] Waiting for completion for process 57686
      [2022-12-21T17:24:10.512292Z] Waiting for completion finished for process 57686
      Command line: ['/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-21+3-122/macosx-aarch64-debug.jdk/jdk-21/fastdebug/bin/java' '-cp' '/System/Volumes/Data/mesos/work_dir/slaves/91e16c40-06d4-468a-9fc3-7198a5bb7d5a-S51476/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b097653d-f632-42d0-8456-a6f8fad4cab7/runs/1e025850-e8c9-4329-82c5-fe2eed3cfba7/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_tier2_runtime/scratch/1/test:/System/Volumes/Data/mesos/work_dir/slaves/91e16c40-06d4-468a-9fc3-7198a5bb7d5a-S51476/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b097653d-f632-42d0-8456-a6f8fad4cab7/runs/1e025850-e8c9-4329-82c5-fe2eed3cfba7/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_tier2_runtime/scratch/1/boot' '-Xshare:on' '-XX:SharedArchiveFile=java_pid57685_static.jsa' '-Xlog:class+load' 'JCmdTestLingeredApp' '70b16641-5f9d-49af-b6e8-d2e3772a718d.lck']
      LingeredApp startup took 1031ms
      Check for hs_err_pid/core/mdmp files:
      ./core.56963 4147mb (4349411328 bytes)
       LingeredApp exitValue = 0
       LingeredApp output: JCmdTest-Run-Static.log13 (54042 chars)
       LingeredApp stdout: [The process was attached by jcmd and dumped a static archive /System/Volumes/Data/mesos/work_dir/slaves/91e16c40-06d4-468a-9fc3-7198a5bb7d5a-S51476/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b097653d-f632-42d0-8456-a6f8fad4cab7/runs/1e025850-e8c9-4329-82c5-fe2eed3cfba7/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_tier2_runtime/scratch/1/java_pid57685_static.jsa
      ];
       LingeredApp stderr: []
       LingeredApp exitValue = 0
      ----------System.err:(1/15)----------
      STATUS:Passed.
      ----------rerun:(39/10427)*----------

      <snip>

      result: Error. Program `/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-21+3-122/macosx-aarch64-debug.jdk/jdk-21/fastdebug/bin/java' timed out (timeout set to 1920000ms, elapsed time including timeout handling was 2012691ms).


      Please note that the test PASSED while the timeout handler was running.

            Assignee:
            Unassigned
            Reporter:
            Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: