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

vmTestbase/nsk/jvmti/scenarios/sampling/SP03 and SP04 tests can timeout when JFR is used

    XMLWordPrintable

Details

    • x86_64
    • windows

    Description

      The following tests timed out in the JDK13 CI:

      vmTestbase/nsk/jvmti/scenarios/sampling/SP04/sp04t002/TestDescription.java
      vmTestbase/nsk/jvmti/scenarios/sampling/SP04/sp04t001/TestDescription.java
      vmTestbase/nsk/jvmti/scenarios/sampling/SP03/sp03t002/TestDescription.java

      Here's a snippet from the first .jtr file:

      ----------System.out:(9/1267)*----------
      Started recording 1. No limit specified, using maxsize=250MB as default.

      Use jcmd 22260 JFR.dump name=1 filename=FILEPATH to copy recording data to file.
      run [ExecDriver, --java, -agentlib:sp04t002=-waittime=5 threads=10, nsk.jvmti.scenarios.sampling.SP04.sp04t002]
      exec [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk13-jdk.417\\windows-x64-debug.jdk\\jdk-13\\fastdebug\\bin\\java, -XX:MaxRAMPercentage=8, -XX:StartFlightRecording=dumponexit=true, -cp, T:\\testOutput\\test-support\\jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti_quick\\classes\\1\\vmTestbase\\nsk\\jvmti\\scenarios\\sampling\\SP04\\sp04t002\\TestDescription.d;T:\\testOutput\\test-support\\jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti_quick\\classes\\1\\vmTestbase;T:\\testOutput\\test-support\\jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti_quick\\classes\\1\\test\\lib, -Djava.library.path=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk13-jdk.417\\windows-x64-debug.test\\hotspot\\jtreg\\native, -agentlib:sp04t002=-waittime=5 threads=10, nsk.jvmti.scenarios.sampling.SP04.sp04t002]
      Started recording 1. No limit specified, using maxsize=250MB as default.

      Use jcmd 20736 JFR.dump name=1 filename=FILEPATH to copy recording data to file.
      Timeout refired 480 times
      ----------System.err:(1/16)----------
      STATUS:Passed.
      ----------rerun:(34/5811)*----------
      <snip>
      result: Error. Program `c:\ade\mesos\work_dir\jib-master\install\jdk13-jdk.417\windows-x64-debug.jdk\jdk-13\fastdebug\bin\java' timed out (timeout set to 480000ms, elapsed time including timeout handling was 532717ms).


      test result: Error. Program `c:\ade\mesos\work_dir\jib-master\install\jdk13-jdk.417\windows-x64-debug.jdk\jdk-13\fastdebug\bin\java' timed out (timeout set to 480000ms, elapsed time including timeout handling was 532717ms).

      The test was executed with default timeout of 120 seconds/2 minutes
      and with the default timeout factor of '4' in the CI, the total timeout value
      is 480 seconds/8 minutes.

      Also notice "STATUS:Passed." was printed. This means that the
      test managed to finish executing while JTREG failure analysis
      was gathering artifacts.

      Attachments

        Issue Links

          Activity

            People

              sspitsyn Serguei Spitsyn
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: