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

jdk/jfr/api/consumer/recordingstream/TestOnEvent.java times out

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 15
    • None
    • hotspot
    • jfr
    • b22

      The following test failed in the JDK15 CI:

      jdk/jfr/api/consumer/recordingstream/TestOnEvent.java

      snippets from the log file:

      #section:main
      ----------messages:(7/350)----------
      command: main jdk.jfr.api.consumer.recordingstream.TestOnEvent
      reason: User specified action: run main/othervm jdk.jfr.api.consumer.recordingstream.TestOnEvent
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules jdk.jfr,java.management
      Timeout information:
      --- Timeout information end.
      elapsed time (seconds): 525.211
      ----------configuration:(3/51)----------
      Boot Layer
        add modules: jdk.jfr java.management

      ----------System.out:(65/2448)----------
      Entering testOnEventNull()
      Leaving testOnEventNull()
      Entering testOnEvent()
      Leaving testOnEvent()
      Entering testNamedEvent()
      TestNamedEvent:A {
        startTime = 04:55:50.165
        eventThread = "MainThread" (javaThreadId = 13)
        stackTrace = [
          jdk.jfr.api.consumer.recordingstream.TestOnEvent.testNamedEvent() line: 129
          jdk.jfr.api.consumer.recordingstream.TestOnEvent.main(String[]) line: 59
          jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Method, Object, Object[])
          jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Object, Object[]) line: 64
          jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 43

      <snip>


      testTwoEventWithSameNameA {
        startTime = 04:55:52.292
        eventThread = "MainThread" (javaThreadId = 13)
        stackTrace = [
          jdk.jfr.api.consumer.recordingstream.TestOnEvent.testTwoEventWithSameName() line: 103
          jdk.jfr.api.consumer.recordingstream.TestOnEvent.main(String[]) line: 60
          jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Method, Object, Object[])
          jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Object, Object[]) line: 64
          jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 43
          ...
        ]
      }


      Leaving testTwoEventWithSameName()
      Timeout refired 480 times

      <snip>

       -Dtest.nativepath=/opt/mach5/mesos/work_dir/jib-master/install/jdk-15+21-960/linux-x64-debug.test/jdk/jtreg/native \\
              --add-modules jdk.jfr,java.management \\
              -Xmx512m \\
              -XX:MaxRAMPercentage=6 \\
              -ea \\
              -esa \\
              -ea \\
              -esa \\
              -XX:-UseNotificationThread \\
              -Djava.library.path=/opt/mach5/mesos/work_dir/jib-master/install/jdk-15+21-960/linux-x64-debug.test/jdk/jtreg/native \\
              com.sun.javatest.regtest.agent.MainWrapper /opt/mach5/mesos/work_dir/slaves/b0d836b1-c68c-4dbd-8b78-5085890ddd4c-S1321/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/9e89e748-354f-4a86-8c92-fb3fcf205635/runs/a412cb05-c1df-438f-aacd-42222e6b6586/testoutput/test-support/jtreg_open_test_jdk_jdk_svc/jdk/jfr/api/consumer/recordingstream/TestOnEvent.d/main.0.jta
      result: Error. Program `/opt/mach5/mesos/work_dir/jib-master/install/jdk-15+21-960/linux-x64-debug.jdk/jdk-15/fastdebug/bin/java' timed out (timeout set to 480000ms, elapsed time including timeout handling was 525207ms).

            egahlin Erik Gahlin
            mwthomps Marty Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: