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

serviceability/sa/ClhsdbJstackXcompStress.java timed out

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 20
    • 11, 11.0.18-oracle, 17, 19, 20
    • hotspot
    • b22
    • generic
    • generic

    Description

      The following test timed out in the JDK17 CI:

      serviceability/sa/ClhsdbJstackXcompStress.java

      Here's a snippet from the log file:

      #section:driver
      ----------messages:(8/243)----------
      command: driver ClhsdbJstackXcompStress
      reason: User specified action: run driver ClhsdbJstackXcompStress
      Mode: agentvm
      Agent id: 32
      Timeout refired 480 times
      Timeout information:
      --- Timeout information end.
      elapsed time (seconds): 1189.855
      ----------configuration:(16/2073)----------
      Boot Layer
        class path: /opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/javatest.jar
                    /opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jtreg.jar
                    /opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/junit.jar
                    /opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/hamcrest.jar
                    /opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/testng.jar
                    /opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jcommander.jar
                    /opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/guice.jar
        patch: java.base /opt/mach5/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S13247/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3c041654-3b4b-40e4-a31b-70b9690eae60/runs/a380b345-53cd-447e-ab5a-a0f6071ecfb0/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/patches/java.base

      Test Layer
        class path: /opt/mach5/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S13247/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3c041654-3b4b-40e4-a31b-70b9690eae60/runs/a380b345-53cd-447e-ab5a-a0f6071ecfb0/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/classes/1/serviceability/sa/ClhsdbJstackXcompStress.d
                    /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+28-2530/src.full/open/test/hotspot/jtreg/serviceability/sa
                    /opt/mach5/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S13247/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3c041654-3b4b-40e4-a31b-70b9690eae60/runs/a380b345-53cd-447e-ab5a-a0f6071ecfb0/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/classes/1/test/lib
                    /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+28-2530/src.full/open/test/lib

      ----------rerun:(30/6070)*----------

      <snip>

      ----------stderr:(4/483)----------
      WARNING: A terminally deprecated method in java.lang.System has been called
      WARNING: System::setSecurityManager has been called by com.sun.javatest.regtest.agent.RegressionSecurityManager (file:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jtreg.jar)
      WARNING: Please consider reporting this to the maintainers of com.sun.javatest.regtest.agent.RegressionSecurityManager
      WARNING: System::setSecurityManager will be removed in a future release
      ----------System.out:(31/3459)----------
      Command line: ['/opt/mach5/mesos/work_dir/jib-master/install/jdk-17+28-2530/linux-aarch64-debug.jdk/jdk-17/fastdebug/bin/java' '-XX:MaxRAMPercentage=6.25' '-Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S13247/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3c041654-3b4b-40e4-a31b-70b9690eae60/runs/a380b345-53cd-447e-ab5a-a0f6071ecfb0/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/tmp' '-XX:+CreateCoredumpOnCrash' '-XX:+UseZGC' '-Xcomp' '-XX:CompileCommand=dontinline,LingeredAppWithRecComputation.factorial' '-XX:CompileCommand=compileonly,LingeredAppWithRecComputation.testLoop' '-XX:CompileCommand=compileonly,LingeredAppWithRecComputation.factorial' '-cp' '/opt/mach5/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S13247/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3c041654-3b4b-40e4-a31b-70b9690eae60/runs/a380b345-53cd-447e-ab5a-a0f6071ecfb0/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/classes/1/serviceability/sa/ClhsdbJstackXcompStress.d:/opt/mach5/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S13247/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3c041654-3b4b-40e4-a31b-70b9690eae60/runs/a380b345-53cd-447e-ab5a-a0f6071ecfb0/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/classes/1/test/lib' 'LingeredAppWithRecComputation' 'd1b20ac5-7b76-4663-b045-28243118be44.lck']
      Started LingeredAppWithRecComputation with pid 109020
      [2021-06-23T11:39:33.894327497Z] Gathering output for process 109091
      DEBUG: [ - LingeredAppWithRecComputation.testLoop() @bci=30, line=48 (Compiled frame; information may be imprecise)]
      [2021-06-23T11:40:19.169010130Z] Gathering output for process 109304
      [2021-06-23T11:40:57.224949464Z] Gathering output for process 109511
      [2021-06-23T11:41:20.604855992Z] Gathering output for process 109682
      [2021-06-23T11:41:36.896392012Z] Gathering output for process 109780
      [2021-06-23T11:42:13.436321330Z] Gathering output for process 109936
      [2021-06-23T11:42:27.525046016Z] Gathering output for process 110066
      [2021-06-23T11:42:55.384878869Z] Gathering output for process 110239
      [2021-06-23T11:43:22.423861645Z] Gathering output for process 110322
      [2021-06-23T11:43:43.045167432Z] Gathering output for process 110541
      [2021-06-23T11:44:19.965053616Z] Gathering output for process 110730
      [2021-06-23T11:44:50.381110847Z] Gathering output for process 110930
      [2021-06-23T11:45:16.200984835Z] Gathering output for process 111122
      [2021-06-23T11:45:43.236852683Z] Gathering output for process 111275
      [2021-06-23T11:46:03.565399933Z] Gathering output for process 111444
      [2021-06-23T11:46:32.820724715Z] Gathering output for process 111604
      [2021-06-23T11:47:01.005050983Z] Gathering output for process 111741
      [2021-06-23T11:47:54.616496298Z] Gathering output for process 111982
      [2021-06-23T11:48:31.576407502Z] Gathering output for process 112237
      [2021-06-23T11:49:13.346476495Z] Gathering output for process 112490
      DEBUG: jhsdb jstack did not throw NPE, as expected.
      Test Completed
       LingeredApp stdout: [CompileCommand: dontinline LingeredAppWithRecComputation.factorial bool dontinline = true
      CompileCommand: compileonly LingeredAppWithRecComputation.testLoop bool compileonly = true
      CompileCommand: compileonly LingeredAppWithRecComputation.factorial bool compileonly = true
      ];
       LingeredApp stderr: []
       LingeredApp exitValue = 0
      ----------System.err:(3/35)----------

      JavaTest Message: Test complete.

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

      Although the test is flagged as timing out, this part of System.out:

      DEBUG: jhsdb jstack did not throw NPE, as expected.
      Test Completed

      Indicates that the test did complete while the timeout handler
      was running. It's not clear (to me anyway) whether not throwing
      NPE is a failing condition for the test.

      This test run's JVM args are: -XX:+CreateCoredumpOnCrash -XX:+UseZGC

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: