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

jdk/jfr/jmx/security/TestEnoughPermission.java failed due to "IOException: Unexpected error during I/O operation"

    XMLWordPrintable

Details

    • jfr
    • generic
    • generic

    Description

      The following test failed in the JDK14 CI:

      jdk/jfr/jmx/security/TestEnoughPermission.java

      Here's a snippet from the log file:

      </configuration>

      A
      B
      C
      D
      E
      ----------System.err:(33/2521)----------
      java.io.IOException: Unexpected error during I/O operation
      at jdk.jfr/jdk.jfr.internal.WriteableUserPath.doPriviligedIO(WriteableUserPath.java:136)
      at jdk.jfr/jdk.jfr.internal.PlatformRecording.dumpStopped(PlatformRecording.java:697)
      at jdk.jfr/jdk.jfr.internal.PlatformRecording.dump(PlatformRecording.java:690)
      at jdk.jfr/jdk.jfr.Recording.dump(Recording.java:376)
      at jdk.management.jfr/jdk.management.jfr.FlightRecorderMXBeanImpl.copyTo(FlightRecorderMXBeanImpl.java:258)
      at jdk.jfr.jmx.security.TestEnoughPermission.testRecording(TestEnoughPermission.java:89)
      at jdk.jfr.jmx.security.TestEnoughPermission.main(TestEnoughPermission.java:61)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)
      java.io.IOException: Unexpected error during I/O operation
      at jdk.jfr/jdk.jfr.internal.WriteableUserPath.doPriviligedIO(WriteableUserPath.java:136)
      at jdk.jfr/jdk.jfr.internal.PlatformRecording.dumpStopped(PlatformRecording.java:697)
      at jdk.jfr/jdk.jfr.internal.PlatformRecording.dump(PlatformRecording.java:690)
      at jdk.jfr/jdk.jfr.Recording.dump(Recording.java:376)
      at jdk.management.jfr/jdk.management.jfr.FlightRecorderMXBeanImpl.copyTo(FlightRecorderMXBeanImpl.java:258)
      at jdk.jfr.jmx.security.TestEnoughPermission.testRecording(TestEnoughPermission.java:89)
      at jdk.jfr.jmx.security.TestEnoughPermission.main(TestEnoughPermission.java:61)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.io.IOException: Unexpected error during I/O operation
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.io.IOException: Unexpected error during I/O operation
      ----------rerun:(40/6922)*----------

      So far the failure has been seen on Linux, macOSX and win* machines.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: