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

(sctp) com/sun/nio/sctp/SctpChannel/CloseDescriptors.java test should be resilient to lsof warnings

XMLWordPrintable

    • b18

      I am seeing com/sun/nio/sctp/SctpChannel/CloseDescriptors.java failing like below. It reliably reproduces on my machine.

      $ CONF=linux-x86_64-server-fastdebug make run-test TEST=com/sun/nio/sctp/SctpChannel/CloseDescriptors.java
      ...

      99
        0
        1
        2
        3
        4
        5
        6
        7
        8
        9
      end
      lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
            Output information may be incomplete.
      lsof: WARNING: can't stat() fuse file system /run/user/1000/doc
            Output information may be incomplete.
      COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
      java 1941570 buildbot 6u unix 0x0000000000000000 0t0 153539367 type=STREAM
      STDERR:
      java.lang.RuntimeException: Failed: detected unclosed FD.
      at CloseDescriptors.main(CloseDescriptors.java:92)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:833)

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: