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

jdk/jfr/jcmd/TestJcmdDumpLimited.java failed with NoSuchFileException: testBeginEndRelative.jfr

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • 24
    • hotspot
    • jfr
    • aarch64
    • os_x

      The following test failed in the JDK24 CI:

      jdk/jfr/jcmd/TestJcmdDumpLimited.java

      Here's a snippet from the log file:

      Running DCMD 'JFR.dump filename=/System/Volumes/Data/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S165356/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4409cf2c-c63c-486d-b588-3a6840f1829d/runs/e9a11098-614f-4183-88eb-af11f78ec527/testoutput/test-support/jtreg_open_test_jdk_tier3/scratch/3/testBeginEndRelative.jfr begin=-3h end=-0s' through 'PidJcmdExecutor'
      Executing command '[/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+10-1069/macosx-aarch64.jdk/jdk-24.jdk/Contents/Home/bin/jcmd, 48007, JFR.dump filename=/System/Volumes/Data/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S165356/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4409cf2c-c63c-486d-b588-3a6840f1829d/runs/e9a11098-614f-4183-88eb-af11f78ec527/testoutput/test-support/jtreg_open_test_jdk_tier3/scratch/3/testBeginEndRelative.jfr begin=-3h end=-0s]'
      [2024-08-07T21:00:04.641990Z] Gathering output for process 48042
      [2024-08-07T21:00:04.642171Z] Waiting for completion for process 48042
      [2024-08-07T21:00:04.829333Z] Waiting for completion finished for process 48042
      Output and diagnostic info for process 48042 was saved into 'pid-48042-output.log'
      Command returned with exit code 0
      ---------------- stdout ----------------
      48007:
      Dump failed. No data found in the specified interval.

      ---------------- stderr ----------------

      ----------------------------------------

      ----------System.err:(19/1337)----------
      java.nio.file.NoSuchFileException: testBeginEndRelative.jfr
      at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
      at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
      at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
      at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:56)
      at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:163)
      at java.base/java.nio.file.Files.readAttributes(Files.java:1865)
      at java.base/java.nio.file.Files.size(Files.java:2474)
      at jdk.jfr.jcmd.TestJcmdDumpLimited.testDumpBeginEndRelative(TestJcmdDumpLimited.java:196)
      at jdk.jfr.jcmd.TestJcmdDumpLimited.main(TestJcmdDumpLimited.java:143)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:588)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1575)

      JavaTest Message: Test threw exception: java.nio.file.NoSuchFileException: testBeginEndRelative.jfr
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.nio.file.NoSuchFileException: testBeginEndRelative.jfr
      ----------rerun:(37/8241)*----------

            egahlin Erik Gahlin
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: